:root{color:#dce8e1;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--bg:#0b0f0d;--panel:#101613;--panel-2:#141b17;--border:#27332d;--muted:#78877e;--allow:#4fd689;--deny:#ff6b6b;--nat:#e8b64f;background:#080c0a;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;overflow:hidden}button,textarea{font:inherit}button{color:inherit}.app-shell{background:var(--bg);flex-direction:column;height:100vh;min-height:620px;display:flex}.topbar{border-bottom:1px solid var(--border);background:#0d120f;flex:0 0 72px;align-items:center;gap:14px;height:72px;padding:0 24px;display:flex}.brand-mark{border:1px solid var(--allow);width:36px;height:36px;color:var(--allow);place-items:center;font-size:13px;font-weight:800;display:grid;box-shadow:inset 0 0 12px #4fd68919}.topbar h1{letter-spacing:.12em;margin:0 0 4px;font-size:15px;font-weight:700}.topbar h1 span{color:var(--muted);font-weight:400}.topbar p{color:var(--muted);letter-spacing:.06em;margin:0;font-size:10px}.legend{color:#89978f;letter-spacing:.08em;gap:22px;margin-left:auto;font-size:10px;display:flex}.legend span{align-items:center;gap:7px;display:flex}.legend i{background:currentColor;width:20px;height:2px;display:inline-block}.legend .allow{color:var(--allow)}.legend .deny{color:var(--deny);background:repeating-linear-gradient(90deg,currentColor 0 4px,#0000 4px 7px)}.legend .nat{color:var(--nat)}.workspace{flex:1;min-height:0;display:flex;position:relative}.app-footer{border-top:1px solid var(--border);color:var(--muted);background:#090d0b;flex:none;align-items:center;gap:0;padding:10px 24px;font-size:10px;line-height:1.55;display:flex}.app-footer p{border-left:1px solid #27332d;margin:0;padding:0 16px}.app-footer p:first-child{border-left:0;flex:620px;padding-left:0}.app-footer p:nth-child(2){flex:320px}.app-footer p:nth-child(3),.app-footer-version{white-space:nowrap;flex:none}.app-footer strong{color:#91a198;letter-spacing:.08em;margin-bottom:2px;font-size:9px;display:block}.app-footer a{color:var(--allow);text-decoration:none}.app-footer a:hover{text-decoration:underline}.app-footer-version{color:#526158;font-size:9px}.input-panel{border-right:1px solid var(--border);z-index:2;background:#0c110e;flex-direction:column;gap:14px;width:340px;min-width:280px;padding:20px;display:flex}.panel-heading,.rule-sidebar header,.unresolved-modal header{justify-content:space-between;align-items:flex-start;display:flex}.eyebrow{color:var(--allow);letter-spacing:.18em;margin-bottom:5px;font-size:9px;display:block}.panel-heading h2,.rule-sidebar h2,.unresolved-modal h2{margin:0;font-size:14px;font-weight:500}.parsed-count{color:var(--muted);text-transform:uppercase;font-size:9px}.input-panel textarea{resize:none;color:#a9b8af;tab-size:2;background:#090d0b;border:1px solid #26322c;outline:0;flex:1;min-height:220px;padding:14px;font-size:10px;line-height:1.65}.input-panel textarea:focus{border-color:#3c5a4b;box-shadow:0 0 0 1px #284335}.parse-button{color:var(--allow);cursor:pointer;letter-spacing:.05em;background:#183426;border:1px solid #4fd68980;padding:12px;font-size:11px;font-weight:700}.parse-button:hover{background:#204630}.parse-button:disabled{opacity:.4;cursor:default}.parse-button span{margin-right:5px;font-size:9px}.warning-badge{text-align:left;color:var(--nat);cursor:pointer;background:#e8b64f0d;border:1px solid #e8b64f55;grid-template-columns:22px 1fr;align-items:center;gap:2px 8px;padding:9px 10px;font-size:10px;display:grid}.warning-badge>span{border:1px solid var(--nat);border-radius:50%;grid-row:1/3;place-items:center;width:19px;height:19px;font-weight:800;display:grid}.warning-badge b{color:#94815a;font-size:8px;font-weight:400}.input-footnote{color:#526158;text-align:center;font-size:8px}.graph-panel{background-color:#0b100d;background-image:linear-gradient(#18201c66 1px,#0000 1px),linear-gradient(90deg,#18201c66 1px,#0000 1px);background-size:32px 32px;flex-direction:column;flex:1;min-width:0;display:flex}.graph-toolbar{color:#68776e;letter-spacing:.09em;background:#0d120fe8;border-bottom:1px solid #202a25;justify-content:space-between;align-items:center;height:38px;padding:0 14px;font-size:8px;display:flex}.status-dot{background:var(--allow);width:6px;height:6px;box-shadow:0 0 8px var(--allow);border-radius:50%;margin-right:7px;display:inline-block}.graph-canvas{flex:1;min-height:0;position:relative;overflow:hidden}.empty-state{text-align:center;color:#536159;place-content:center;display:grid;position:absolute;inset:0}.empty-state span{letter-spacing:.2em;font-size:13px}.empty-state p{margin-top:10px;font-size:10px}.graph-edge{cursor:pointer;outline:0}.graph-edge>line:not(.edge-hitbox){stroke-width:2px;opacity:.8;transition:stroke-width .15s,opacity .15s}.graph-edge:hover>line:not(.edge-hitbox),.graph-edge.selected>line:not(.edge-hitbox){stroke-width:4px;opacity:1}.edge-hitbox{stroke:#0000;stroke-width:18px}.edge-count circle{fill:#111914;stroke:#425047}.edge-count text{fill:#b6c4bb;pointer-events:none;font-size:9px}.subnet-area-label{fill:var(--muted);opacity:.8;pointer-events:none;font-size:8px}.graph-node{cursor:grab;touch-action:none}.graph-node:active{cursor:grabbing}.graph-node circle{fill:#131c17;stroke:#54665c;stroke-width:1.5px;filter:drop-shadow(0 5px 9px #0008)}.graph-node.interface circle{stroke:var(--allow)}.graph-node.internet circle{stroke:#6d7d74;stroke-dasharray:3 3}.graph-node text{fill:#aebbb3;pointer-events:none;font-size:9px}.graph-node .node-icon{fill:#6d8b79;font-size:11px;font-weight:700}.graph-node.interface .node-icon{fill:var(--allow)}.rule-sidebar{border-left:1px solid var(--border);z-index:3;background:#0e1411f5;flex:0 0 370px;width:370px;padding:20px;overflow-y:auto;box-shadow:-15px 0 35px #0005}.rule-sidebar h2{word-break:break-all;line-height:1.45}.icon-button{color:#8d9b93;cursor:pointer;background:0 0;border:1px solid #344239;width:28px;height:28px;font-size:18px}.sidebar-summary{color:#718078;border-top:1px solid #28332d;border-bottom:1px solid #28332d;justify-content:space-between;margin:16px 0;padding:14px 0;font-size:9px;display:flex}.rule-list{flex-direction:column;gap:10px;display:flex}.rule-card{border:1px solid #26312b;border-left:3px solid var(--allow);background:#121915;padding:12px}.rule-card.action-deny{border-left-color:var(--deny)}.rule-card.action-nat_dnat,.rule-card.action-nat_masq{border-left-color:var(--nat)}.rule-meta{color:#69776f;justify-content:space-between;font-size:8px;display:flex}.rule-meta span:first-child{color:var(--allow)}.action-deny .rule-meta span:first-child{color:var(--deny)}.action-nat_dnat .rule-meta span:first-child,.action-nat_masq .rule-meta span:first-child{color:var(--nat)}.rule-card p{color:#c0ccc5;margin:12px 0;font-size:11px;line-height:1.7}.rule-card code{color:#657269;word-break:break-all;border-top:1px solid #222c27;padding-top:9px;font-size:8px;line-height:1.55;display:block}.modal-backdrop{z-index:20;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#030504cc;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.unresolved-modal{background:#11150f;border:1px solid #67532d;width:min(620px,100%);max-height:80vh;padding:22px;overflow:auto;box-shadow:0 24px 70px #000}.eyebrow.warning{color:var(--nat)}.unresolved-modal h2{font-size:16px}.modal-description{color:#8b948d;margin:20px 0;font-size:10px;line-height:1.6}.unresolved-list{border-top:1px solid #332f22}.unresolved-list article{border-bottom:1px solid #292a22;grid-template-columns:34px 1fr;gap:10px;padding:13px 4px;display:grid}.unresolved-list article>span{color:#6e6245;font-size:9px}.unresolved-list strong{color:var(--nat);font-size:11px}.unresolved-list p{color:#79827b;margin:5px 0 0;font-size:9px}@media (width<=900px){body{overflow:auto}.app-shell{height:auto;min-height:100vh}.workspace{flex-direction:column}.input-panel{border-right:0;border-bottom:1px solid var(--border);width:100%;height:390px}.graph-panel{height:590px}.rule-sidebar{width:min(390px,92vw);position:fixed;inset:72px 0 0 auto}.legend{display:none}.app-footer{flex-wrap:wrap;align-items:stretch;gap:10px 0;padding:14px 20px}.app-footer p,.app-footer p:first-child,.app-footer p:nth-child(2),.app-footer p:nth-child(3),.app-footer-version{white-space:normal;border-left:0;flex:100%;padding:0}}
