/* VAEL 1.7 / PERSISTENT ENTITY. Surgical home-only styling. */
#threshold .ve17-field{width:min(73vw,730px);filter:none;isolation:isolate}
#threshold .ve17-field>.core,#threshold .ve17-field>.orbit,#threshold .ve17-field>.axis{opacity:0;animation:none}
#threshold .ve17{position:absolute;inset:2%;z-index:3;color:#a4bdb0;pointer-events:none;font-family:ui-monospace,SFMono-Regular,Consolas,'Courier New',monospace;letter-spacing:.12em;text-shadow:0 1px 10px #000;--ve-line:rgba(150,188,163,.17)}
#threshold .ve17-surround{position:absolute;inset:0;border:1px solid rgba(142,178,151,.038);border-radius:50%}
#threshold .ve17-surround:before,#threshold .ve17-surround:after{content:"";position:absolute;border-radius:50%;inset:10%;border:1px solid rgba(135,173,147,.065)}
#threshold .ve17-surround:after{inset:19%;border-style:dotted;opacity:.5}
#threshold .ve17-surround>i{position:absolute;width:15px;height:15px;border-color:rgba(173,213,183,.26);border-style:solid}
#threshold .ve17-surround>i:nth-child(1){top:17%;left:17%;border-width:1px 0 0 1px}
#threshold .ve17-surround>i:nth-child(2){top:17%;right:17%;border-width:1px 1px 0 0}
#threshold .ve17-surround>i:nth-child(3){bottom:17%;left:17%;border-width:0 0 1px 1px}
#threshold .ve17-surround>i:nth-child(4){bottom:17%;right:17%;border-width:0 1px 1px 0}
#threshold .ve17-upper{position:absolute;left:12%;right:12%;top:12.5%;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:9px;z-index:3;color:#91a79b}
#threshold .ve17-id em{font-style:normal;color:#4d6659}
#threshold .ve17-signal{color:#a8c8b3;font-size:8px;white-space:nowrap}
#threshold .ve17-signal i{display:inline-block;width:4px;height:4px;vertical-align:2px;background:#9fbda8;box-shadow:0 0 8px #7dba8b;border-radius:50%;margin-right:6px;animation:ve17-dot 4s ease-in-out infinite}
#threshold .ve17-visual{position:absolute;inset:13% 10% 23%;overflow:hidden;mask-image:radial-gradient(ellipse at center,#000 35%,rgba(0,0,0,.85) 64%,transparent 89%)}
#threshold .ve17-canvas{display:block;width:100%;height:100%}
#threshold .ve17-visualgrain{position:absolute;inset:0;opacity:.14;background:repeating-linear-gradient(0deg,transparent 0 5px,rgba(153,192,165,.065) 6px);pointer-events:none}
#threshold .ve17-cross{position:absolute;font-size:11px;font-weight:400;line-height:1;color:rgba(183,217,190,.25)}
#threshold .ve17-cross.c1{left:16%;top:12%}#threshold .ve17-cross.c2{right:16%;top:12%}#threshold .ve17-cross.c3{left:16%;bottom:10%}#threshold .ve17-cross.c4{right:16%;bottom:10%}
#threshold .ve17-focus{position:absolute;bottom:17%;left:23%;right:23%;padding:10px 0;background:linear-gradient(90deg,transparent,rgba(4,9,6,.92) 13%,rgba(4,9,6,.92) 87%,transparent);z-index:3}
#threshold .ve17-focus-head,#threshold .ve17-subline{display:flex;justify-content:space-between;gap:5px;font-size:8px;color:#5b7665}
#threshold .ve17-focus-mode{color:#93b79f}
#threshold .ve17-operation{padding:9px 0 7px;font-size:11px;color:#c8ddce;text-align:center;letter-spacing:.16em;white-space:nowrap}
#threshold .ve17-subline{font-size:8px;color:#74917d}
#threshold .ve17-track{margin-top:8px;height:1px;background:rgba(139,173,149,.23);overflow:hidden}
#threshold .ve17-track span{display:block;height:100%;background:#a8c9b0;box-shadow:0 0 6px #a8c9b0;transform-origin:left;transform:scaleX(0);transition:transform 3s linear}
#threshold .ve17-bottom{position:absolute;left:16%;right:16%;bottom:11%;display:flex;justify-content:space-between;gap:12px}
#threshold .ve17-mini{display:flex;flex-direction:column;gap:5px;font-size:8px;color:#607968}
#threshold .ve17-mini strong{font-size:10px;color:#acc8b4;font-weight:normal;white-space:nowrap;letter-spacing:.09em}
#threshold .ve17-mini-right{text-align:right;max-width:60%}
#threshold .ve17-mini-right strong{overflow:hidden;text-overflow:ellipsis;display:block;max-width:220px;font-size:8px}
#threshold .ve17-footer{position:absolute;bottom:5%;left:12%;right:12%;display:flex;justify-content:space-between;gap:10px;font-size:7px;color:#4f6b59;letter-spacing:.1em}
#threshold .ve17-footer span{color:#557660}
#threshold .ve17[data-mode="unstable"] .ve17-signal i{background:#c5a795;box-shadow:0 0 9px #ac7866}
#threshold .ve17[data-mode="dormant"] .ve17-canvas{opacity:.55}
@keyframes ve17-dot{50%{opacity:.25;box-shadow:0 0 2px #7dba8b}}
/* Keep original navigation button and side telemetry free of the new instrument. */
#threshold #enter{z-index:6}
@media(max-width:700px){
 #threshold .ve17-field{width:min(96vw,510px)}
 #threshold .ve17-upper{top:12%;left:11%;right:11%;font-size:7px}
 #threshold .ve17-signal{font-size:7px}
 #threshold .ve17-focus{left:18%;right:18%;bottom:16%}
 #threshold .ve17-operation{font-size:9px;letter-spacing:.08em}
 #threshold .ve17-bottom{left:14%;right:14%;bottom:9%;gap:6px}
 #threshold .ve17-footer{left:12%;right:12%;bottom:3%;font-size:6px}
 #threshold .ve17-visual{inset:13% 7% 22%}
 #threshold .ve17-mini-right strong{max-width:150px}
}
@media(max-width:390px){#threshold .ve17-footer span{display:none}#threshold .ve17-upper{font-size:6px}#threshold .ve17-focus-head,#threshold .ve17-subline{font-size:7px}}
@media(prefers-reduced-motion:reduce){#threshold .ve17 *,#threshold .ve17 *::before,#threshold .ve17 *::after{animation:none!important;transition:none!important}}

/* V2.1.1 — Breathing presence, without extra UI clutter. */
#threshold .ve17-visual{filter:brightness(1.18) contrast(1.06);transition:filter .7s ease}
#threshold .ve17-signal i{animation-duration:2.1s}
#threshold .ve17-visualgrain{opacity:.09}
@media (prefers-reduced-motion:reduce){#threshold .ve17-visual{filter:none}}
