.packet-rule{padding:13px;background:#163b38;border-left:4px solid #93f3b8;font:600 14px/1.5 'IBM Plex Mono',monospace;color:#d9ffe4}
.packet-lanes{display:grid;gap:12px;margin:16px 0}.packet-lane{display:grid;grid-template-columns:55px minmax(0,1fr) 145px;align-items:center;gap:10px;background:#0a232a;padding:10px;border:1px solid #2d615d;border-radius:5px}.packet-lane-label{font:500 10px 'IBM Plex Mono',monospace;color:#95d5bd}.packet-track{height:64px;position:relative;overflow:hidden;background:repeating-linear-gradient(90deg,#102f34 0 38px,#183e40 38px 40px);border-inline:2px solid #6dbeab}.network-packet{position:absolute;top:9px;left:0;width:112px;min-height:44px;padding:7px 4px;border:1px solid #8fe9c7;border-radius:4px;background:#154a46;color:#e4fff1;font:600 11px/1.4 'IBM Plex Mono',monospace;text-align:center}.network-packet[hidden]{display:none}.packet-actions{display:flex;gap:6px}.packet-button,.cipher-letter-button{min-height:44px;padding:10px;background:#173c42;color:#e5fff3;border:1px solid #68b19f;border-radius:4px;cursor:pointer;font:600 12px 'IBM Plex Mono',monospace}.packet-button{flex:1;padding:8px 5px;font-size:10px}.packet-button:disabled{opacity:.4}.cipher-progress{color:#efd28c;font:600 12px 'IBM Plex Mono',monospace;margin:12px 0}.cipher-key{display:flex;flex-wrap:wrap;gap:8px;padding:13px;background:#112d33;border:1px solid #39726c}.cipher-pair{padding:7px 10px;color:#c7f7da;font:500 16px 'IBM Plex Mono',monospace}.cipher-code,.cipher-input{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:18px 0}.cipher-glyph,.cipher-letter{display:grid;place-items:center;min-width:40px;min-height:46px;padding:5px;font:600 25px 'IBM Plex Mono',monospace;color:#d6fff2;background:#133c40}.cipher-glyph.current{outline:2px solid #f2cc7d;outline-offset:2px}.cipher-letter{color:#8effb5;background:#0c292e}.cipher-keyboard{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;max-width:550px;margin:20px auto}.cipher-letter-button{font-size:19px;min-height:48px}
@media(max-width:700px){.packet-lane{grid-template-columns:1fr;gap:5px}.packet-lane-label{font-size:11px}.packet-actions{justify-content:end}.packet-button{max-width:none;font-size:12px}.packet-track{height:55px}.network-packet{top:5px}.cipher-keyboard{grid-template-columns:repeat(4,minmax(0,1fr))}.cipher-glyph,.cipher-letter{min-width:29px;min-height:40px;font-size:21px}.cipher-pair{font-size:15px;padding:5px}.packet-rule{font-size:12px}}
