:root{font-family:Segoe UI,Noto Sans KR,sans-serif;color:#27342e;background:#f3f5f2;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-optical-sizing:auto;font-size:14px;font-weight:400;--ink:#27342e;--muted:#88928d;--line:#e7ebe7;--green:#476957;--mint:#dce9df;--paper:#fff}*{box-sizing:border-box}body{margin:0;min-width:360px;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}.shell{min-height:100vh}.rail{position:fixed;inset:0 auto 0 0;width:68px;background:#273b32;display:flex;align-items:center;flex-direction:column;padding:18px 0;z-index:2;color:#c5d0c9}.brand-mark{height:34px;width:34px;border:1px solid #829488;border-radius:11px;display:grid;place-items:center;font-family:Georgia,serif;font-size:20px;color:#e1ece3}.rail-spacer{height:62px}.rail-icon{width:36px;height:36px;display:grid;place-items:center;margin-bottom:10px;color:#91a397;border-radius:10px;font-size:18px}.rail-icon.active{background:#40584a;color:#f2f6f1}.rail-bottom{margin-top:auto;color:#98aa9c;letter-spacing:.11em;font-size:8px;line-height:1.65;text-align:center}.workspace{max-width:1512px;margin-left:68px;padding:0 44px}.topbar{height:62px;border-bottom:1px solid #e5e9e4;display:flex;align-items:center;justify-content:space-between}.crumb{font-size:12px;color:#8b958e}.crumb span{margin:0 8px;color:#c1c9c3}.local-pill{color:#64756a;background:#e9eee9;border-radius:30px;padding:7px 11px;font-size:10px;letter-spacing:.03em}.local-pill i,.status-badge i,.live-badge i,.connection-led,.chart-state i,.finger-state i{display:inline-block;width:6px;height:6px;background:#68a17c;border-radius:50%;margin-right:6px;vertical-align:1px}.page-heading{display:flex;justify-content:space-between;align-items:center;padding:29px 0 25px}.eyebrow,.section-kicker{font-family:DM Mono,monospace;font-size:9px;letter-spacing:.12em;color:#84928a}.page-heading h1{font-size:27px;letter-spacing:-.04em;margin:6px 0 4px;font-weight:600}.page-heading p{margin:0;color:#8a938e;font-size:12px}.date-tag{font-family:DM Mono,monospace;font-size:9px;letter-spacing:.08em;color:#77867c;border:1px solid #e1e7e1;background:#f7f8f6;padding:8px 10px;border-radius:5px}.date-dot{display:inline-block;width:6px;height:6px;background:#86a68e;border-radius:50%;margin-right:6px}.layout{display:grid;grid-template-columns:minmax(360px,.92fr) minmax(430px,1.08fr);gap:18px;align-items:start}.left-column,.right-column{display:grid;gap:16px}.card{background:var(--paper);border:1px solid #e8ece8;border-radius:8px;box-shadow:0 2px 8px #28392d05}.device-card,.form-card,.monitor-card,.records-card{padding:20px 21px}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.card-heading h2{font-size:16px;font-weight:600;letter-spacing:-.025em;margin:4px 0 0}.status-badge,.live-badge{font-size:10px;color:#89938c;background:#f2f4f1;border-radius:20px;padding:6px 9px}.status-badge.is-connected{color:#55785e;background:#eef5ef}.status-badge.is-recording,.live-badge.is-recording{color:#9e6254;background:#fcf0ec}.status-badge.is-recording i,.live-badge.is-recording i{background:#d98a73;animation:pulse 1.5s infinite}.field-label{display:block;margin-bottom:7px;font-size:11px;color:#717c74}.device-select-wrap{height:39px;border:1px solid #e2e7e2;border-radius:5px;display:flex;align-items:center;padding:0 10px;position:relative}.device-glyph{font-size:18px;color:#73907b;margin-right:8px}.device-select-wrap select,.input-select select{border:0;background:transparent;color:#354339;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:1;height:100%;font-size:12px}.select-chevron{font-size:16px;color:#98a29b}.device-detail{margin-top:18px;display:flex;align-items:center;gap:11px}.device-orb{height:36px;width:36px;border-radius:50%;display:grid;place-items:center;color:#5d8066;background:#edf3ed;font-size:17px}.device-copy{display:grid;gap:3px;flex:1}.device-copy strong{font-size:11px;font-weight:600}.device-copy span{font-size:9px;color:#9aa39d}.button{border:0;border-radius:5px;padding:9px 12px;font-size:10px;font-weight:500;transition:transform .12s,background .12s}.button:active{transform:translateY(1px)}.button-dark{background:#334a3c;color:#f4f6f2}.button-dark:hover{background:#405a49}.button-light{background:#f0f3f0;color:#69776e;border:1px solid #e5eae5}.usb-icon{font-size:13px;margin-right:4px}.divider{height:1px;background:#edf0ed;margin:17px 0 12px}.connection-foot{display:flex;align-items:center;color:#929c95;font-size:9px}.connection-led{width:5px;height:5px;margin-right:7px;background:#b2bdb5}.protocol-tag{margin-left:auto;background:#f5f3eb;color:#988b61;padding:4px 6px;border-radius:3px;font-size:8px}.required-note{color:#a0a9a2;font-size:9px}.required-note b,.field label b{color:#c67d68}.form-card .card-heading{margin-bottom:17px}.form-grid{display:grid;grid-template-columns:1fr 138px;gap:12px}.field{display:grid;gap:7px;margin-bottom:13px}.field label{font-size:10px;color:#69756d}.field input,.field textarea,.input-select{width:100%;border:1px solid #e3e8e3;border-radius:5px;background:#fff;color:#344238;outline:none;padding:10px 11px;font-size:11px;resize:vertical;transition:border-color .15s}.field input:focus,.field textarea:focus,.input-select:focus-within{border-color:#9eb5a2}.field input::placeholder,.field textarea::placeholder{color:#b6beb8}.input-select{height:36px;padding:0 10px;display:flex;align-items:center}.input-select span{color:#a0aaa2;font-size:10px}.optional{margin-left:5px;color:#adb5ae;font-size:9px}.privacy-note{display:flex;gap:9px;padding:11px;background:#f3f7f3;border:1px solid #e8efe8;border-radius:5px;color:#718174}.privacy-note>span{font-size:15px;color:#7b9a7f}.privacy-note strong{font-size:10px;font-weight:600}.privacy-note p{font-size:9px;color:#8e9990;margin:4px 0 0;line-height:1.6}.actions{display:flex;align-items:center;gap:8px;margin-top:15px}.button-primary{background:#50745c;color:#fff;padding:10px 18px;min-width:125px}.button-primary:hover:not(:disabled){background:#40624b}.button-primary:disabled,.button:disabled{opacity:.48;cursor:not-allowed}.button-primary>span{margin-right:5px;font-size:9px}.button-stop{background:#b66a58;color:#fff;padding:10px 16px}.remaining{font-size:9px;color:#819086;margin-left:auto}.monitor-card .card-heading{margin-bottom:15px}.live-badge{font-size:9px;background:#f3f5f2}.monitor-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #edf0ed;border-radius:6px;padding:11px 4px;margin-bottom:17px}.monitor-stats>div{padding:0 11px;border-right:1px solid #edf0ed}.monitor-stats>div:last-child{border:0}.monitor-stats span{display:block;color:#9aa39d;font-size:9px;margin-bottom:6px}.monitor-stats strong{font:500 19px DM Mono,monospace;color:#3d5545}.monitor-stats>div:last-child strong{font-size:15px}.monitor-chart{border:1px solid #edf0ed;border-radius:5px;overflow:hidden}.chart-head{height:45px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid #eff2ef}.chart-head>div{display:flex;align-items:baseline;gap:9px}.chart-head b{font-size:10px;font-weight:600}.chart-head>div>span{font:9px DM Mono,monospace;color:#9ba69e}.chart-state{font-size:8px;color:#9da69f}.chart-state i{width:5px;height:5px;background:#b5beb7}.chart-area{height:176px;background:linear-gradient(#fbfcfb,#fff);position:relative;display:flex;padding:8px 8px 8px 31px}.chart-area:before{content:"";position:absolute;left:31px;right:7px;top:0;bottom:0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#eef1ee 44px,#eef1ee 45px)}.chart-y{position:absolute;left:6px;top:8px;bottom:8px;display:flex;flex-direction:column;justify-content:space-between;color:#b0b9b2;font:7px DM Mono,monospace}.chart-area canvas{position:relative;width:100%;height:100%;z-index:1}.chart-empty{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#aab3ac;pointer-events:none}.chart-empty-icon{font-size:23px;color:#c3d0c5;margin-bottom:4px}.chart-empty strong{font-size:10px;font-weight:500;color:#89958b}.chart-empty span{font-size:8px;margin-top:3px}.channel-legend{height:33px;display:flex;align-items:center;gap:17px;padding:0 10px;border-top:1px solid #f0f2f0}.channel-legend>span{font:8px DM Mono,monospace;color:#77837a}.channel-legend i{display:inline-block;width:6px;height:2px;margin-right:4px;vertical-align:middle}.channel-legend small{font:7px Noto Sans KR,sans-serif;color:#aeb7af;margin-left:2px}.legend-a{background:#75a78a}.legend-b{background:#86a1b1}.legend-c{background:#c5a475}.monitor-bottom{display:grid;grid-template-columns:1fr 1fr;margin:13px 1px 12px}.monitor-bottom>div{display:grid;gap:5px}.bottom-label{font-size:9px;color:#9aa39d}.bottom-label small,.muted-value small{font-size:8px;color:#afb8b0}.monitor-bottom strong{font-size:11px;font-weight:500;color:#75877a}.monitor-bottom strong i{display:inline-block;height:5px;width:5px;background:#b4c0b6;border-radius:50%;margin-right:5px}.muted-value{font:500 15px DM Mono,monospace;color:#aeb8b0!important}.warning-box{display:flex;gap:7px;padding:9px 10px;border-radius:4px;background:#faf8f1;border:1px solid #f0eddf;color:#9a8c60}.warning-box>span{font-size:12px}.warning-box p{font-size:8px;line-height:1.55;margin:0;color:#8e876d}.error-box{margin-top:10px;padding:10px;border:1px solid #f0d7d0;border-radius:5px;background:#fcf2ef;color:#9d5847;font-size:10px}.records-card{padding-bottom:8px}.records-card .card-heading{margin-bottom:9px}.icon-button{border:0;background:transparent;color:#829087;font-size:16px}.records-empty{padding:22px 0;text-align:center;color:#aab3ac;font-size:10px}.record-row{display:flex;align-items:center;gap:9px;border-top:1px solid #eff1ef;padding:10px 0}.record-avatar{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#edf2ed;color:#6e8a73;font:11px DM Mono,monospace}.record-info{display:grid;gap:3px;flex:1;min-width:0}.record-info strong{font-size:10px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-info span{font-size:8px;color:#9ca69e}.record-state{font-size:8px;padding:4px 6px;border-radius:3px;color:#728677;background:#f0f4f0}.state-stopped,.state-interrupted{background:#f7f2e9;color:#9c8b60}.download-button{border:0;background:transparent;color:#78917c;font-size:16px;padding:3px}.delete-button{color:#b8aaa3;font-size:15px}footer{display:flex;justify-content:space-between;padding:21px 0 18px;color:#a0aaa2;font:8px DM Mono,monospace;letter-spacing:.05em}footer i{font-style:normal;color:#c5cec6}footer b{color:#bd8b7f;font-weight:400}.hidden{display:none!important}.finger-on{color:#5b8a65!important}@keyframes pulse{50%{opacity:.35}}.wave-area{position:relative;padding:7px 10px;background:linear-gradient(#fbfcfb,#fff)}.wave-row{height:76px;display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;border-bottom:1px solid #eef1ee}.wave-row:last-of-type{border-bottom:0}.wave-row>span{font-size:9px;color:#7b887f}.wave-row>span small{display:block;margin-top:3px;color:#a7b0a9;font:8px DM Mono,monospace}.wave-row canvas{width:100%;height:64px;display:block}.wave-area .chart-empty{top:0;right:0;bottom:0;left:0;background:#ffffffd9}.wave-area:before{content:"";position:absolute;left:98px;right:10px;top:0;bottom:0;pointer-events:none;background:repeating-linear-gradient(to bottom,transparent 0,transparent 36px,#eef1ee 37px,#eef1ee 38px);opacity:.7}.channel-legend{gap:12px}.channel-legend>span{font-family:Segoe UI,Noto Sans KR,sans-serif}@media(max-width:1020px){.workspace{padding:0 26px}.layout{grid-template-columns:1fr 1fr;gap:12px}.device-card,.form-card,.monitor-card,.records-card{padding:17px}.chart-area{height:153px}.monitor-stats strong{font-size:16px}}@media(max-width:760px){.rail{width:52px}.workspace{margin-left:52px;padding:0 16px}.layout{grid-template-columns:1fr}.page-heading{padding:22px 0 18px}.page-heading h1{font-size:23px}.date-tag{font-size:7px}.right-column{grid-row:1}.left-column{grid-row:2}.monitor-card{order:0}.records-card{order:1}footer{gap:10px;flex-wrap:wrap;font-size:7px}}
