@charset "UTF-8";
:root {
  color-scheme:dark;
  --bg:#101310;
  --panel:#171b17;
  --line:#2a302a;
  --text:#edf0eb;
  --muted:#969f94;
  --subtle:#707b6f;
  --accent:#caf78c;
  --accent-ink:#1d2c13;
  --sidebar:218px;
  font-family:Inter,"Segoe UI",-apple-system,BlinkMacSystemFont,"Malgun Gothic",sans-serif;
  font-synthesis:none
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-size:13px;
  line-height:1.5
}

button,input,select {
  font:inherit
}

button,a,input,select {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer
}

button:disabled {
  cursor:not-allowed
}

button {
  color:inherit
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[contenteditable]:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:4px
}

button {
  border:0;
  background:none
}

svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}

a {
  color:inherit;
  text-decoration:none
}

[hidden] {
  display:none!important
}

.icon-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}

.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:var(--sidebar);
  border-right:1px solid var(--line);
  padding:31px 18px 18px;
  display:flex;
  flex-direction:column;
  background:#131713;
  z-index:5
}

.brand {
  display:flex;
  gap:11px;
  align-items:center;
  padding-left:11px;
  font-size:35px;
  font-weight:750;
  letter-spacing:-1.8px;
  line-height:1
}

.brand img {
  border-radius:10px
}

.brand-dot {
  color:var(--accent)
}

.workspace-label {
  margin:52px 14px 14px;
  color:var(--subtle);
  font-size:9px;
  letter-spacing:1.5px;
  font-weight:600
}

nav {
  display:grid;
  gap:7px
}

.nav-item {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  padding:13px 14px;
  border-radius:7px;
  color:#a1ab9f;
  text-align:left;
  font-weight:550;
  font-size:12px;
  transition:background .18s,color .18s
}

.nav-item:hover {
  background:#20271e;
  color:var(--text)
}

.nav-item.active {
  color:var(--accent);
  background:#26321f
}

.nav-item svg {
  width:18px;
  height:18px
}

.nav-dot {
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--accent);
  margin-left:auto
}

.nav-item:not(.active) .nav-dot {
  display:none
}

.nav-count {
  font-size:10px;
  background:#252c24;
  padding:1px 6px;
  border-radius:4px;
  margin-left:auto
}

.external-arrow {
  margin-left:auto;
  transform:rotate(-45deg);
  opacity:.6;
  width:14px!important
}

.sidebar-bottom {
  margin-top:auto
}

.private-note {
  margin:18px 10px 30px;
  border-top:1px solid var(--line);
  padding-top:23px
}

.private-note svg {
  width:21px;
  height:21px;
  color:var(--accent);
  display:block;
  margin-bottom:12px
}

.private-note strong {
  font-size:12px;
  font-weight:500
}

.private-note p {
  font-size:11px;
  line-height:1.8;
  color:var(--muted);
  margin:7px 0 12px
}

.private-note>span {
  font-size:9px;
  color:var(--accent);
  border:1px solid #394c2b;
  border-radius:4px;
  padding:4px 7px
}

.version {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:10px;
  color:var(--muted);
  padding:0 8px
}

.version>span:last-child {
  margin-left:auto;
  font-size:7px;
  letter-spacing:.8px;
  color:var(--subtle)
}

.tiny-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
  flex-shrink:0
}

.tiny-dot.muted {
  background:#657060
}

.app-shell {
  margin-left:var(--sidebar)
}

.topbar {
  height:72px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 38px;
  font-size:11px
}

.crumb {
  color:var(--subtle)
}

.crumb-slash {
  color:#485244;
  margin:0 16px
}

.topbar-right {
  display:flex;
  align-items:center;
  gap:17px
}

.local-label {
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:10px
}

.top-divider {
  height:13px;
  border-left:1px solid var(--line)
}

#clock {
  font-family:"Cascadia Code",Consolas,monospace;
  color:#acb4a8;
  font-size:11px;
  letter-spacing:1px
}

main {
  max-width:1550px;
  margin:auto;
  padding:35px 38px 0
}

.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:29px
}

.eyebrow {
  font-size:9px;
  letter-spacing:1.8px;
  color:var(--accent);
  font-weight:600;
  margin-bottom:8px
}

h1 {
  font-size:29px;
  line-height:1.3;
  font-weight:650;
  letter-spacing:-1.3px;
  margin:0 0 10px
}

.heading-dot {
  color:var(--accent);
  margin-left:3px
}

.page-heading p {
  color:var(--muted);
  font-size:12px;
  margin:0;
  letter-spacing:-.15px
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:6px;
  font-size:12px;
  font-weight:600;
  min-height:39px;
  padding:10px 16px;
  white-space:nowrap;
  transition:background .18s,transform .18s
}

.button svg {
  width:17px;
  height:17px
}

.primary {
  background:var(--accent);
  color:var(--accent-ink)
}

.primary:hover {
  background:#d8ffa6;
  transform:translateY(-1px)
}

.secondary {
  border:1px solid #353d32;
  background:#1a2019;
  color:#c7cec1
}

.secondary:hover {
  background:#262f22;
  border-color:#536448
}

.button:disabled {
  background:#273022;
  color:#839276;
  transform:none
}

.button.small {
  min-height:30px;
  padding:5px 12px;
  font-size:11px
}

.text-button {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:11px;
  padding:4px 0
}

.text-button:hover {
  color:var(--accent)
}

.text-button svg {
  width:14px;
  height:14px
}

.icon-button {
  width:29px;
  height:29px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  border-radius:4px;
  color:var(--muted)
}

.icon-button svg {
  width:15px;
  height:15px
}

.icon-button:hover {
  background:#2a3326;
  color:var(--accent)
}

.icon-button:disabled {
  opacity:.25
}

.monitor-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 298px;
  gap:26px;
  align-items:start
}

.main-column {
  min-width:0
}

.camera-panel {
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
  background:var(--panel)
}

.panel-top {
  height:51px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 17px;
  border-bottom:1px solid var(--line)
}

.camera-title {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:11px;
  font-weight:500;
  min-width:0
}

.camera-title>svg {
  color:var(--muted);
  width:16px;
  height:16px
}

.camera-title>span:first-of-type {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:220px
}

.small-badge {
  font-size:8px;
  padding:2px 6px;
  border-radius:4px;
  border:1px solid #374031;
  color:var(--muted);
  font-weight:400
}

.small-badge.live {
  color:var(--accent);
  background:#26331e;
  border-color:#35492a
}

.small-badge.demo {
  color:#eacb87;
  border-color:#5b4c2c;
  background:#30291c
}

.panel-tools {
  display:flex;
  gap:6px
}

.camera-stage {
  aspect-ratio:16/9;
  background-color:#111710;
  background-image:radial-gradient(#30382c 1px,transparent 1px);
  background-size:19px 19px;
  position:relative;
  overflow:hidden
}

.camera-stage::before {
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at 50% 42%,transparent 0,#10150f55 70%);
  pointer-events:none
}

.camera-stage video,.camera-stage>#demo-canvas {
  width:100%;
  height:100%;
  object-fit:contain;
  background:#0b0e0b;
  position:absolute;
  inset:0
}

.camera-stage>#overlay {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:2;
  pointer-events:none
}

.camera-stage.selecting>#overlay {
  pointer-events:auto;
  cursor:crosshair;
  touch-action:none
}

.camera-empty {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  flex-direction:column;
  justify-content:center;
  text-align:center;
  z-index:3
}

.radar-art {
  width:185px;
  height:135px;
  position:relative;
  margin-top:-18px;
  margin-bottom:15px
}

.radar-circle {
  position:absolute;
  border:1px solid #3b4b303f;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border-radius:50%
}

.circle-outer {
  width:172px;
  height:172px
}

.circle-middle {
  width:127px;
  height:127px
}

.circle-inner {
  width:82px;
  height:82px
}

.radar-horizontal {
  height:1px;
  width:185px;
  position:absolute;
  top:50%;
  background:#3b4b3030
}

.radar-vertical {
  width:1px;
  height:175px;
  position:absolute;
  left:50%;
  top:-20px;
  background:#3b4b3030
}

.radar-camera {
  width:63px;
  height:53px;
  border-radius:12px;
  background:#26341d;
  border:1px solid #415733;
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:flex;
  justify-content:center;
  align-items:center;
  box-shadow:0 0 55px #9dd4690c
}

.radar-camera svg {
  width:26px;
  height:26px;
  color:var(--accent);
  stroke-width:1.2
}

.radar-point {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--accent);
  position:absolute;
  top:20px;
  right:30px;
  box-shadow:0 0 14px #caf78c55;
  animation:beacon 3s ease-in-out infinite
}

.camera-empty h2 {
  font-size:17px;
  letter-spacing:-.5px;
  font-weight:550;
  margin:0 0 7px
}

.camera-empty p {
  font-size:10px;
  color:var(--muted);
  margin:0 0 21px
}

.camera-empty .button {
  padding:9px 16px;
  min-height:36px;
  font-size:11px
}

.camera-empty>.text-button {
  margin-top:12px;
  font-size:10px;
  color:#8b9981
}

.stage-corner {
  position:absolute;
  width:15px;
  height:15px;
  border-color:#586a484f;
  z-index:3;
  pointer-events:none
}

.corner-tl {
  top:18px;
  left:18px;
  border-top:1px solid;
  border-left:1px solid
}

.corner-tr {
  top:18px;
  right:18px;
  border-top:1px solid;
  border-right:1px solid
}

.corner-bl {
  bottom:42px;
  left:18px;
  border-bottom:1px solid;
  border-left:1px solid
}

.corner-br {
  bottom:42px;
  right:18px;
  border-bottom:1px solid;
  border-right:1px solid
}

.stage-meta {
  position:absolute;
  left:18px;
  right:18px;
  bottom:14px;
  display:flex;
  justify-content:space-between;
  color:#899b7b;
  font-family:Consolas,monospace;
  font-size:8px;
  letter-spacing:1px;
  z-index:3;
  pointer-events:none
}

.stage-meta b {
  margin:0 6px;
  color:#536349
}

.camera-stage.has-source .stage-meta {
  color:#e0ecd5;
  text-shadow:0 1px 5px #000;
  background:#0b100ba6;
  left:12px;
  right:12px;
  bottom:9px;
  padding:4px 7px;
  border-radius:3px
}

.camera-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:39px;
  padding:0 15px;
  color:var(--subtle);
  font-size:9px;
  border-top:1px solid var(--line)
}

.privacy-caption {
  display:flex;
  align-items:center;
  gap:6px
}

.privacy-caption svg {
  width:12px;
  height:12px;
  color:#8d9e7f
}

#fps-value {
  font-family:Consolas,monospace;
  font-size:9px
}

.stage-message {
  position:absolute;
  inset:0;
  background:#111810ed;
  z-index:4;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column
}

.stage-message strong {
  font-size:15px;
  font-weight:500
}

.stage-message p {
  font-size:11px;
  color:var(--muted)
}

.stage-message .button {
  margin-top:10px
}

.spinner {
  width:25px;
  height:25px;
  border:2px solid #34422a;
  border-top-color:var(--accent);
  border-radius:50%;
  animation:spin 1s linear infinite;
  margin-bottom:15px
}

.detection-banner {
  display:flex;
  align-items:center;
  gap:8px;
  position:absolute;
  left:50%;
  top:15px;
  transform:translateX(-50%);
  background:#172511ed;
  color:var(--accent);
  border:1px solid #658348;
  padding:7px 13px;
  border-radius:5px;
  font-size:11px;
  z-index:4;
  white-space:nowrap
}

.monitor-stats {
  display:grid;
  grid-template-columns:1.05fr 1fr 1fr;
  margin:23px 0 29px;
  padding-bottom:25px;
  border-bottom:1px solid var(--line);
  gap:20px
}

.stat {
  min-width:0
}

.stat+.stat {
  padding-left:23px;
  border-left:1px solid var(--line)
}

.stat-label {
  display:flex;
  gap:9px;
  align-items:center;
  color:#a3ae9b;
  font-size:10px;
  margin-bottom:11px;
  white-space:nowrap
}

.stat>strong {
  display:block;
  font-size:22px;
  font-weight:550;
  letter-spacing:-.5px;
  line-height:1.3;
  margin:0 0 7px
}

.stat>strong small {
  font-size:12px;
  color:var(--muted);
  font-weight:400;
  margin-left:6px
}

.stat>span:last-child {
  color:var(--subtle);
  font-size:9px;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.motion-stat .stat-label {
  justify-content:space-between
}

.motion-stat .stat-label span {
  color:#a9b99b;
  font-family:Consolas,monospace
}

.motion-meter {
  height:5px;
  background:#2a3325;
  border-radius:5px;
  margin:23px 0 15px;
  overflow:hidden
}

.motion-meter i {
  display:block;
  height:100%;
  background:var(--accent);
  width:0;
  transition:width .15s linear
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px
}

.section-heading h2 {
  font-size:13px;
  font-weight:550;
  margin:0
}

.section-heading h2>span {
  font-size:9px;
  font-family:Consolas,monospace;
  color:var(--muted);
  background:#242c21;
  padding:2px 5px;
  border-radius:3px;
  margin-left:6px
}

.section-heading .text-button {
  font-size:10px
}

.empty-events {
  display:flex;
  gap:13px;
  align-items:center;
  padding:22px 16px;
  border:1px dashed #2c3528;
  border-radius:7px
}

.empty-event-icon {
  width:35px;
  height:35px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #303a2a;
  border-radius:50%;
  color:#7b8b6e
}

.empty-event-icon svg {
  width:16px;
  height:16px
}

.empty-events strong {
  font-size:11px;
  font-weight:450;
  color:#b7c0af
}

.empty-events p {
  font-size:9px;
  color:var(--subtle);
  margin:4px 0 0
}

.empty-events>span {
  margin-left:auto;
  color:#55614e;
  font-size:8px;
  letter-spacing:.7px;
  font-family:Consolas,monospace
}

.bottom-hint {
  display:flex;
  gap:7px;
  align-items:flex-start;
  color:var(--subtle);
  font-size:9px;
  margin-top:17px;
  line-height:1.7
}

.bottom-hint svg {
  width:12px;
  height:12px;
  margin-top:2px
}

.settings-panel {
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--panel);
  padding:20px 20px 14px
}

.settings-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:26px
}

.settings-heading h2 {
  font-size:14px;
  font-weight:600;
  margin:0
}

.settings-heading svg {
  width:17px;
  height:17px;
  color:var(--muted)
}

fieldset {
  border:0;
  padding:0;
  margin:0;
  min-width:0
}

legend {
  font-size:11px;
  font-weight:550;
  padding:0;
  margin:0 0 19px;
  display:flex;
  align-items:center;
  gap:8px
}

legend>span {
  font-family:Consolas,monospace;
  font-size:9px;
  color:#7e9768;
  letter-spacing:.5px
}

.field-label {
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#b8c1b0;
  font-size:10px;
  margin:19px 0 8px
}

.field-label:first-of-type {
  margin-top:0
}

.field-label>span {
  font-size:8px;
  color:var(--subtle);
  font-weight:400
}

select {
  background-color:#1f261d;
  color:#c5cebc;
  border:1px solid #333f2e;
  border-radius:5px;
  padding:9px 28px 9px 10px;
  font-size:10px;
  max-width:100%;
  width:100%;
  min-height:34px;
  cursor:pointer;
  color-scheme:dark
}

.label-line {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:21px 0 7px;
  font-size:10px;
  color:#b8c1b0
}

.label-line output {
  font-family:Consolas,monospace;
  color:var(--accent);
  font-size:11px;
  background:#26321f;
  padding:1px 6px;
  border-radius:3px
}

.label-line output span {
  color:#8ba870;
  font-size:9px;
  margin-left:1px
}

input[type=range] {
  width:100%;
  height:4px;
  margin:8px 0 0;
  border-radius:10px;
  appearance:none;
  background:linear-gradient(to right,var(--accent) 0%,var(--accent) 56%,#36402f 56%,#36402f 100%);
  cursor:pointer
}

input[type=range]::-webkit-slider-thumb {
  appearance:none;
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--accent);
  border:2px solid #20291a;
  box-shadow:0 0 0 1px var(--accent)
}

input[type=range]::-moz-range-thumb {
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--accent);
  border:2px solid #20291a
}

.range-labels {
  display:flex;
  justify-content:space-between;
  font-size:8px;
  color:var(--subtle);
  margin-top:7px
}

.direction-options {
  display:grid;
  grid-template-columns:2.35fr repeat(4,1fr);
  border:1px solid #333f2e;
  border-radius:5px;
  padding:3px;
  gap:3px;
  background:#1a2118
}

.direction-options button {
  min-width:0;
  padding:5px 0;
  font-size:14px;
  color:#9aa78e;
  border-radius:3px;
  min-height:28px
}

.direction-options button:first-child {
  font-size:9px
}

.direction-options button.selected {
  background:#c9f58e;
  color:#223415;
  font-weight:600
}

.direction-options button:hover:not(.selected) {
  background:#303e27
}

.actions-fieldset {
  border-top:1px solid var(--line);
  margin-top:25px;
  padding-top:22px
}

.actions-fieldset legend {
  float:left;
  width:100%;
  margin-bottom:14px
}

.action-row {
  position:relative;
  display:flex;
  gap:10px;
  align-items:center;
  padding:9px 0;
  cursor:pointer;
  clear:both
}

.action-icon {
  width:18px;
  color:#91a280;
  display:flex;
  align-items:center
}

.action-icon svg {
  width:16px;
  height:16px
}

.action-copy {
  display:flex;
  flex-direction:column;
  gap:3px
}

.action-copy strong {
  font-size:10px;
  font-weight:500;
  color:#c9d1c3
}

.action-copy small {
  font-size:8px;
  color:var(--subtle)
}

.action-row input {
  position:absolute;
  right:0;
  width:29px;
  height:17px;
  opacity:0;
  margin:0;
  cursor:pointer
}

.switch-track {
  width:29px;
  height:17px;
  background:#3a4433;
  border-radius:15px;
  position:relative;
  margin-left:auto;
  flex-shrink:0;
  pointer-events:none;
  transition:background .2s
}

.switch-track::after {
  content:"";
  position:absolute;
  width:11px;
  height:11px;
  top:3px;
  left:3px;
  background:#8c9a80;
  border-radius:50%;
  transition:transform .2s,background .2s
}

.action-row input:checked+.switch-track {
  background:var(--accent)
}

.action-row input:checked+.switch-track::after {
  transform:translateX(12px);
  background:#293c19
}

.action-row input:focus-visible+.switch-track {
  outline:2px solid var(--accent);
  outline-offset:4px
}

.work-options {
  display:flex;
  gap:10px;
  align-items:center;
  margin:4px 0 16px 28px
}

.work-options select {
  flex:1;
  min-width:0;
  padding:5px 15px 5px 7px;
  min-height:29px;
  font-size:9px
}

.work-options button {
  font-size:8px;
  gap:4px;
  flex-shrink:0
}

.work-options button svg {
  width:11px;
  height:11px
}

.cooldown-field {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:13px;
  font-size:10px;
  color:#b8c1b0
}

.cooldown-field select {
  width:82px;
  padding:5px 10px;
  min-height:29px;
  font-size:9px
}

.start-area {
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:22px
}

.start-button {
  width:100%;
  height:43px;
  position:relative;
  font-size:12px
}

.start-button kbd {
  position:absolute;
  right:10px;
  font-family:inherit;
  font-size:8px;
  font-weight:400;
  border:1px solid #547b32;
  border-radius:3px;
  padding:1px 4px;
  opacity:.6
}

.start-button:disabled kbd {
  display:none
}

.start-button.monitoring {
  background:#2c3c22;
  color:#d2f9ad;
  border:1px solid #526d3b
}

.start-area p {
  color:var(--subtle);
  text-align:center;
  font-size:8px;
  margin:10px 0 0
}

.page-footer {
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  margin-top:30px;
  padding:17px 0;
  color:#6d7b63;
  font-size:9px
}

.page-footer span:last-child {
  font-family:Consolas,monospace;
  letter-spacing:.7px;
  font-size:8px
}

.field-help {
  font-size:9px;
  color:var(--accent);
  line-height:1.7
}

.region-fields {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:5px;
  margin-top:8px
}

.region-fields label {
  font-size:8px;
  color:var(--muted)
}

.region-fields input {
  width:100%;
  margin-top:4px;
  padding:5px;
  color:var(--text);
  background:#20281c;
  border:1px solid #3c4a32;
  border-radius:3px;
  font-size:10px
}

.event-row {
  display:flex;
  gap:12px;
  align-items:center;
  padding:13px 2px;
  border-bottom:1px solid var(--line);
  animation:enter .25s ease-out
}

.event-time {
  color:var(--subtle);
  font-family:Consolas,monospace;
  font-size:10px
}

.event-symbol {
  width:29px;
  height:29px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#24331b;
  border-radius:6px;
  color:var(--accent);
  font-size:17px
}

.event-info {
  display:flex;
  flex:1;
  flex-direction:column;
  gap:3px;
  min-width:0
}

.event-info strong {
  font-size:11px;
  font-weight:500
}

.event-info small {
  color:var(--subtle);
  font-size:9px
}

.event-type {
  border:1px solid #3b4932;
  color:#a3b594;
  border-radius:4px;
  padding:2px 6px;
  font-size:8px;
  white-space:nowrap
}

.history-toolbar {
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:11px;
  padding:15px 0;
  border-bottom:1px solid var(--line)
}

.large-empty {
  text-align:center;
  padding:100px 10px
}

.large-empty>svg {
  width:38px;
  height:38px;
  color:#849e71;
  margin-bottom:15px
}

.large-empty h2 {
  font-size:18px;
  font-weight:500
}

.large-empty p {
  color:var(--muted);
  font-size:12px;
  margin-bottom:25px
}

.guide-layout {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:80px;
  margin-top:48px
}

.guide-step {
  display:flex;
  gap:24px;
  margin-bottom:40px
}

.guide-step>span {
  font-family:Consolas,monospace;
  color:var(--accent);
  font-size:13px;
  margin-top:2px
}

.guide-step h2 {
  font-size:17px;
  font-weight:550;
  margin:0 0 10px
}

.guide-step p {
  color:var(--muted);
  font-size:12px;
  line-height:2;
  margin:0
}

.guide-notes {
  border-left:1px solid var(--line);
  padding-left:35px
}

.guide-notes h2 {
  font-size:16px;
  margin-top:0;
  font-weight:550
}

.guide-notes p {
  font-size:11px;
  line-height:2;
  color:var(--muted);
  margin:20px 0
}

.guide-notes strong {
  display:block;
  color:#c4d0bb;
  font-weight:500
}

.toast {
  position:fixed;
  bottom:24px;
  left:calc(50% + 85px);
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:12px;
  max-width:min(650px,calc(100vw - 32px));
  padding:14px 15px 14px 18px;
  border:1px solid #536646;
  background:#26331ff5;
  color:#d9f6c0;
  border-radius:8px;
  box-shadow:0 10px 35px #0005;
  z-index:100;
  font-size:12px;
  animation:enter .18s ease-out
}

.toast>svg {
  width:18px;
  height:18px
}

.toast button {
  display:flex;
  color:#9eb78b;
  padding:0;
  margin-left:5px
}

.toast button svg {
  width:15px;
  height:15px
}

.work-screen {
  position:fixed;
  inset:0;
  z-index:50;
  background:#f4f5f7;
  color:#34383d;
  color-scheme:light;
  overflow:auto;
  display:flex;
  flex-direction:column;
  font-family:Arial,"Malgun Gothic",sans-serif
}

.work-header {
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 24px 12px;
  background:white;
  border-bottom:1px solid #e5e7eb
}

.work-file-icon {
  background:#21884d;
  color:white;
  padding:8px;
  border-radius:4px
}

.work-file-icon svg {
  width:25px;
  height:25px
}

.work-header h2 {
  font-size:19px;
  font-weight:400;
  margin:0 0 7px
}

.work-header p {
  font-size:12px;
  color:#73767b;
  margin:0
}

.work-close {
  margin-left:auto;
  color:#4b5750;
  background:#f1f4f1;
  border:1px solid #dce4dc;
  border-radius:5px;
  font-size:11px;
  padding:9px 13px
}

.work-close kbd {
  font-size:10px;
  color:#7c8a7c;
  margin-left:8px
}

.work-toolbar {
  display:flex;
  align-items:center;
  gap:20px;
  padding:13px 24px;
  background:#f7f9fb;
  border-bottom:1px solid #dce2e6;
  font-size:12px;
  color:#53616c;
  white-space:nowrap
}

.work-toolbar>span {
  border-right:1px solid #dde3e5;
  padding-right:20px
}

.work-autosave {
  margin-left:auto;
  font-size:10px;
  color:#86908a;
  border:0!important
}

.work-footer {
  background:white;
  border-top:1px solid #dfe4df;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  padding:12px 40px;
  font-size:11px;
  flex-shrink:0
}

.work-footer>span:first-child {
  color:#1e7942;
  font-weight:600
}

.work-footer>span:last-child {
  color:#85928a;
  font-size:10px
}

#work-content {
  flex:1;
  overflow:auto
}

.sheet-formula {
  display:flex;
  gap:24px;
  padding:10px 17px;
  background:white;
  border-bottom:1px solid #dce2e6;
  color:#6f7d73;
  font-size:12px
}

.sheet-formula span:first-child {
  border-right:1px solid #ddd;
  padding-right:25px
}

.spreadsheet {
  width:100%;
  border-collapse:collapse;
  background:white;
  font-size:12px;
  table-layout:fixed
}

.spreadsheet th,.spreadsheet td {
  border:1px solid #e0e5e2;
  height:34px;
  padding:7px 13px;
  text-align:left;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.spreadsheet thead th {
  background:#f0f3f1;
  text-align:center;
  color:#738277;
  font-size:10px;
  font-weight:400;
  height:28px
}

.spreadsheet th:first-child {
  width:40px;
  text-align:center;
  font-weight:400;
  color:#8d9990;
  background:#f3f5f4;
  font-size:10px
}

.spreadsheet td.sheet-title {
  font-weight:600;
  font-size:20px;
  height:65px;
  color:#244f34;
  background:#fff
}

.spreadsheet td.sheet-subtitle {
  height:40px;
  color:#8a968f;
  font-size:11px
}

.spreadsheet td.sheet-heading {
  background:#eaf1ed;
  color:#3e634b;
  font-weight:600
}

.spreadsheet td.sheet-status {
  color:#39724c;
  background:#f5faf6
}

.spreadsheet td[contenteditable]:focus {
  outline:2px solid #3e9964;
  outline-offset:-2px
}

.document-paper {
  max-width:820px;
  margin:35px auto;
  padding:70px 75px 100px;
  background:white;
  min-height:1000px;
  box-shadow:0 1px 4px #0002;
  font-size:13px;
  line-height:2;
  color:#414a46
}

.document-paper h1 {
  font-size:28px;
  letter-spacing:-1px;
  font-weight:600;
  margin:0 0 10px;
  color:#263d30
}

.document-meta {
  font-size:11px;
  color:#89918c;
  border-bottom:1px solid #e3e8e4;
  padding-bottom:25px;
  margin-bottom:35px
}

.document-paper h2 {
  font-size:17px;
  margin:28px 0 10px;
  color:#37553f
}

.document-paper p {
  line-height:2;
  color:#5f6b63
}

.document-paper table {
  width:100%;
  border-collapse:collapse;
  font-size:12px;
  margin-top:20px
}

.document-paper td,.document-paper th {
  border:1px solid #dfe6e0;
  padding:9px 13px;
  text-align:left
}

.document-paper th {
  background:#eff4f0;
  color:#49654f;
  font-weight:500
}

.app-shell.inert-view {
  pointer-events:none
}

body.work-open {
  overflow:hidden
}

.view {
  animation:enter .3s ease-out
}

.camera-stage.alerting {
  box-shadow:inset 0 0 0 2px var(--accent)
}

@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}

@keyframes beacon {
  0%,100% {
    opacity:.5;
    box-shadow:0 0 0 0 #caf78c18
  }
  50% {
    opacity:1;
    box-shadow:0 0 0 7px #caf78c08
  }
}

@keyframes enter {
  from {
    opacity:0;
    translate:0 7px
  }
  to {
    opacity:1;
    translate:0 0
  }
}

@media(min-width:1600px) {
  main {
    padding-top:42px
  }
  .monitor-layout {
    grid-template-columns:minmax(0,1fr) 320px;
    gap:30px
  }
  .settings-panel {
    padding:23px
  }
  .camera-empty .radar-art {
    margin-bottom:24px
  }
  .camera-empty h2 {
    font-size:20px
  }
  .camera-empty p {
    font-size:12px
  }
  .camera-empty .button {
    font-size:12px
  }
  .camera-empty>.text-button {
    font-size:11px
  }
}

@media(max-width:1230px) {
  :root {
    --sidebar:185px
  }
  .sidebar {
    padding-left:10px;
    padding-right:10px
  }
  .brand {
    font-size:32px
  }
  .workspace-label {
    font-size:8px;
    letter-spacing:1px
  }
  .topbar {
    padding:0 25px
  }
  main {
    padding:28px 25px 0
  }
  .monitor-layout {
    grid-template-columns:minmax(0,1fr) 280px;
    gap:20px
  }
  .settings-panel {
    padding:18px 16px
  }
  .camera-empty .radar-art {
    width:150px;
    height:95px;
    margin-top:-10px;
    margin-bottom:12px
  }
  .circle-outer {
    width:127px;
    height:127px
  }
  .circle-middle {
    width:98px;
    height:98px
  }
  .circle-inner {
    width:65px;
    height:65px
  }
  .radar-vertical {
    height:130px;
    top:-17px
  }
  .radar-horizontal {
    width:150px
  }
  .radar-point {
    top:5px;
    right:24px
  }
  .radar-camera {
    width:50px;
    height:45px
  }
  .camera-empty h2 {
    font-size:15px
  }
  .camera-empty p {
    font-size:9px;
    margin-bottom:14px
  }
  .camera-empty .button {
    font-size:10px;
    min-height:32px
  }
  .camera-empty>.text-button {
    font-size:9px;
    margin-top:9px
  }
  .monitor-stats {
    gap:13px
  }
  .stat+.stat {
    padding-left:15px
  }
  .stat>strong {
    font-size:20px
  }
  .stat>span:last-child {
    font-size:8px
  }
  .stat-label {
    font-size:9px
  }
  .empty-events>span {
    display:none
  }
  .camera-footer {
    font-size:8px
  }
  .privacy-caption {
    gap:4px
  }
  .guide-layout {
    gap:35px
  }
  .camera-title>span:first-of-type {
    max-width:140px
  }
}

@media(max-width:1050px) {
  :root {
    --sidebar:70px
  }
  .sidebar {
    padding:26px 10px 18px
  }
  .brand {
    padding:0;
    justify-content:center
  }
  .brand>span,.workspace-label,.nav-item>span,.external-arrow,.sidebar-bottom {
    display:none
  }
  .brand img {
    width:33px;
    height:33px
  }
  .sidebar nav {
    margin-top:45px;
    gap:15px
  }
  .nav-item {
    font-size:0;
    justify-content:center;
    padding:13px 0
  }
  .nav-item svg {
    width:20px;
    height:20px
  }
  .nav-item.active {
    background:#293720
  }
  .monitor-layout {
    grid-template-columns:minmax(0,1fr) 285px
  }
  .toast {
    left:calc(50% + 35px)
  }
}

@media(max-width:780px) {
  :root {
    --sidebar:0px
  }
  .sidebar {
    position:relative;
    inset:auto;
    width:100%;
    height:64px;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    padding:0 20px;
    border-right:0;
    border-bottom:1px solid var(--line)
  }
  .brand {
    gap:8px
  }
  .brand>span {
    display:block;
    font-size:28px
  }
  .brand img {
    width:28px;
    height:28px
  }
  .sidebar nav {
    margin:0;
    display:flex;
    gap:7px
  }
  .nav-item {
    padding:10px;
    width:37px
  }
  .nav-item svg {
    width:17px;
    height:17px
  }
  .topbar {
    height:48px;
    padding:0 20px;
    font-size:10px
  }
  .topbar-right {
    gap:12px
  }
  .topbar .top-divider {
    display:none
  }
  main {
    padding:26px 20px 0
  }
  .page-heading {
    margin-bottom:22px;
    gap:12px
  }
  .eyebrow {
    font-size:8px;
    letter-spacing:1.2px
  }
  h1 {
    font-size:25px
  }
  .page-heading p {
    font-size:10px
  }
  .page-heading>.button {
    font-size:10px;
    min-height:34px;
    padding:7px 10px
  }
  .page-heading>.button svg {
    width:14px;
    height:14px
  }
  .monitor-layout {
    grid-template-columns:1fr;
    gap:25px
  }
  .camera-stage {
    min-height:275px;
    aspect-ratio:16/9
  }
  .camera-empty .radar-art {
    height:95px
  }
  .camera-title>span:first-of-type {
    max-width:220px
  }
  .camera-empty h2 {
    font-size:17px
  }
  .camera-empty p {
    font-size:10px
  }
  .camera-empty .button {
    font-size:11px;
    min-height:35px
  }
  .camera-empty>.text-button {
    font-size:10px
  }
  .monitor-stats {
    margin:22px 0;
    padding-bottom:22px;
    gap:15px
  }
  .stat+.stat {
    padding-left:15px
  }
  .stat>strong {
    font-size:22px
  }
  .stat>span:last-child {
    font-size:8px
  }
  .stat-label {
    font-size:9px
  }
  .settings-panel {
    padding:22px
  }
  .settings-heading {
    margin-bottom:24px
  }
  .settings-heading h2 {
    font-size:15px
  }
  legend {
    font-size:12px
  }
  .field-label,.label-line {
    font-size:12px
  }
  .field-label>span {
    font-size:10px
  }
  select {
    font-size:12px;
    padding:10px;
    min-height:39px
  }
  .range-labels {
    font-size:10px
  }
  .direction-options button:first-child {
    font-size:11px
  }
  .direction-options button {
    min-height:34px
  }
  .action-copy strong {
    font-size:12px
  }
  .action-copy small {
    font-size:10px
  }
  .action-row {
    padding:12px 0
  }
  .action-icon svg {
    width:18px;
    height:18px
  }
  .work-options {
    margin-left:28px
  }
  .work-options select {
    min-height:35px;
    font-size:11px
  }
  .work-options button {
    font-size:10px
  }
  .cooldown-field {
    font-size:12px
  }
  .cooldown-field select {
    font-size:11px;
    min-height:34px
  }
  .start-area p {
    font-size:10px
  }
  .start-button {
    height:46px;
    font-size:13px
  }
  .page-footer {
    margin-top:25px;
    font-size:8px;
    gap:10px
  }
  .page-footer span:last-child {
    font-size:7px;
    text-align:right;
    max-width:145px
  }
  .guide-layout {
    grid-template-columns:1fr;
    gap:35px;
    margin-top:35px
  }
  .guide-notes {
    border-left:0;
    border-top:1px solid var(--line);
    padding:25px 0
  }
  .guide-step {
    gap:18px;
    margin-bottom:30px
  }
  .guide-step h2 {
    font-size:16px
  }
  .guide-step p {
    font-size:12px
  }
  .toast {
    left:50%;
    bottom:16px;
    font-size:11px
  }
  .work-header {
    padding:14px 12px;
    gap:9px
  }
  .work-header h2 {
    font-size:15px
  }
  .work-header p {
    font-size:10px
  }
  .work-file-icon {
    padding:6px
  }
  .work-file-icon svg {
    width:20px;
    height:20px
  }
  .work-close {
    font-size:9px;
    padding:7px;
    max-width:110px
  }
  .work-close kbd {
    display:none
  }
  .work-toolbar {
    gap:12px;
    padding:12px;
    font-size:10px;
    overflow:auto
  }
  .work-toolbar>span {
    padding-right:12px
  }
  .work-autosave {
    display:none
  }
  .spreadsheet {
    min-width:900px
  }
  .work-footer {
    padding:12px 16px;
    gap:15px;
    font-size:10px
  }
  .work-footer>span:last-child {
    font-size:8px
  }
  .document-paper {
    margin:15px;
    padding:30px 25px;
    min-width:320px
  }
  .document-paper h1 {
    font-size:23px
  }
  .history-toolbar {
    font-size:9px;
    gap:12px
  }
  .event-row {
    gap:10px
  }
  .event-time {
    font-size:9px
  }
  .event-info strong {
    font-size:10px
  }
  .event-info small {
    font-size:8px
  }
}

.camera-stage {
  width:100%
}

.camera-stage video {
  object-fit:cover
}

.camera-stage.has-source {
  min-height:0
}

.toast {
  width:max-content
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}

