/* All selectors stay inside the shortcode root. No theme reset. */
.npl-root {
  --npl-ink: #172b45;
  --npl-muted: #63748b;
  --npl-line: #dce5ef;
  --npl-blue: #1763df;
  --npl-blue-soft: #edf4ff;
  --npl-navy: #101e33;
  --npl-green: #16865f;
  --npl-red: #bb4052;
  --npl-radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--npl-ink);
  margin: 28px 0;
  text-align: left;
  container-type: inline-size;
  min-width: 0;
  color-scheme: light;
}
.npl-root *, .npl-root *::before, .npl-root *::after { box-sizing: border-box; }
.npl-root .npl-shell { background: #fff; border: 1px solid var(--npl-line); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 36px #152b4510; }
.npl-root h2, .npl-root h3, .npl-root h4, .npl-root p { color: inherit; font-family: inherit; line-height: inherit; margin: 0; padding: 0; letter-spacing: normal; text-transform: none; }
.npl-root button, .npl-root input, .npl-root select { font-family: inherit; font-size: inherit; line-height: 1.4; letter-spacing: normal; text-transform: none; box-shadow: none; margin: 0; }
.npl-root button { cursor: pointer; min-width: 0; }
.npl-root button:disabled, .npl-root input:disabled { opacity: .5; cursor: not-allowed; }
.npl-root button:focus-visible, .npl-root input:focus-visible, .npl-root select:focus-visible, .npl-root summary:focus-visible, .npl-root [tabindex]:focus-visible { outline: 3px solid #6ba5ff; outline-offset: 3px; }
.npl-root .npl-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 23px 25px; background: linear-gradient(115deg, #102039, #203f66); color: #fff; }
.npl-root .npl-title-group { display: flex; align-items: center; gap: 14px; min-width: 0; }
.npl-root .npl-brand-symbol { flex: 0 0 auto; display: grid; place-items: center; background: #ffffff12; border: 1px solid #ffffff25; width: 47px; height: 47px; border-radius: 12px; font-family: ui-monospace, monospace; font-size: 26px; line-height: 1; color: #a8cbff; }
.npl-root .npl-eyebrow { font-size: 10px; letter-spacing: .15em; font-weight: 700; line-height: 1.5; }
.npl-root .npl-header .npl-eyebrow { color: #a8bdd7; }
.npl-root .npl-title { font-size: clamp(18px, 2vw, 24px); font-weight: 750; line-height: 1.5; color: #fff; overflow-wrap: anywhere; }
.npl-root .npl-header-actions, .npl-root .npl-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.npl-root .npl-button { appearance: none; border: 1px solid #ced9e7; background: #fff; border-radius: 8px; padding: 9px 12px; color: var(--npl-ink); min-height: 36px; font-size: 12px; font-weight: 650; line-height: 1.4; transition: background .14s, border-color .14s; white-space: nowrap; text-decoration: none; }
.npl-root .npl-button:hover { background: #f3f7fc; border-color: #92b0d7; color: #173c70; }
.npl-root .npl-button-primary { background: var(--npl-blue); border-color: var(--npl-blue); color: #fff; }
.npl-root .npl-button-primary:hover { background: #1254c0; border-color: #1254c0; color: #fff; }
.npl-root .npl-button-ghost { color: #e6eef9; background: #ffffff0a; border-color: #ffffff30; }
.npl-root .npl-button-ghost:hover { color: #fff; background: #ffffff18; border-color: #ffffff70; }
.npl-root .npl-button-quiet { background: transparent; border-color: transparent; color: var(--npl-muted); }
.npl-root .npl-button-quiet:hover { background: #eef3f9; border-color: transparent; }
.npl-root .npl-button-danger { color: #a72c3c; background: #fff3f4; border-color: #efc4ca; }
.npl-root .npl-button-danger:hover { color: #8b2330; background: #ffe7ea; border-color: #e7a3ae; }
.npl-root .npl-button-small { padding: 6px 9px; min-height: 30px; font-size: 11px; }
.npl-root .npl-button-text-danger { color: #b44b5b; border: 0; min-height: 28px; padding: 4px 7px; background: transparent; font-size: 11px; }
.npl-root .npl-button-text-danger:hover { color: #9e293b; background: #fff1f3; }
.npl-root .npl-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 15px 21px; border-bottom: 1px solid var(--npl-line); background: #fcfdff; }
.npl-root .npl-toolbar > .npl-field { flex: 1 1 220px; max-width: 330px; }
.npl-root .npl-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; margin: 0; color: #465a76; font-size: 11px; font-weight: 650; }
.npl-root .npl-select, .npl-root .npl-input { width: 100%; min-width: 0; min-height: 38px; height: auto; padding: 8px 10px; background: #fff; border: 1px solid #cfdae7; border-radius: 7px; color: var(--npl-ink); font-size: 13px; font-weight: 400; }
.npl-root .npl-select { padding-right: 26px; }
.npl-root .npl-status { display: flex; align-items: baseline; gap: 8px; padding: 9px 21px; background: #f2f6fb; color: #50647e; font-size: 11px; border-bottom: 1px solid #e2eaf3; }
.npl-root .npl-status > span:nth-child(2) { flex: 1; overflow-wrap: anywhere; }
.npl-root .npl-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #7194bd; flex: 0 0 auto; }
.npl-root .npl-status-error { background: #fff2f3; color: #a73445; }
.npl-root .npl-status-error .npl-status-dot { background: #c84c60; }
.npl-root .npl-status-success { background: #edf9f3; color: #1a7657; }
.npl-root .npl-status-success .npl-status-dot { background: #26926c; }
.npl-root .npl-save-indicator { flex-shrink: 0; opacity: .8; font-size: 10px; }
.npl-root .npl-palette { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 16px 21px; border-bottom: 1px solid var(--npl-line); background: #fff; }
.npl-root .npl-palette-group { display: flex; flex-direction: column; gap: 7px; }
.npl-root .npl-palette-label { font-weight: 700; font-size: 10px; color: #667a94; }
.npl-root .npl-device-choices, .npl-root .npl-cable-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.npl-root .npl-add-device { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; background: #f7faff; }
.npl-root .npl-plus { display: inline-block; color: #2460ae; margin-left: 4px; font-size: 16px; }
.npl-root .npl-cable-choice { font-size: 11px; padding: 9px 10px; }
.npl-root .npl-cable-choice.is-active { color: #1459bf; background: var(--npl-blue-soft); border-color: #77a7e9; }
.npl-root .npl-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: stretch; min-width: 0; }
.npl-root .npl-network-panel { min-width: 0; background: #f8fbff; }
.npl-root .npl-panel-heading { min-height: 55px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 17px; border-bottom: 1px solid var(--npl-line); background: #fff; }
.npl-root .npl-panel-heading h3 { font-size: 14px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.npl-root .npl-panel-meta { font-size: 10px; color: #71839a; font-weight: 450; }
.npl-root .npl-canvas-scroll { overflow: auto; max-height: 580px; overscroll-behavior: contain; }
.npl-root .npl-canvas { position: relative; background-color: #f8fbff; background-image: radial-gradient(#c8d8ec 1px, transparent 1px); background-size: 18px 18px; }
.npl-root .npl-links { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.npl-root .npl-link-line { fill: none; stroke: #8b9bb1; stroke-width: 3; }
.npl-root .npl-link-line.is-up { stroke: #4d82bf; }
.npl-root .npl-link-line.is-down { stroke: #c37a85; }
.npl-root .npl-link-line.is-console { stroke: #38a7c9; stroke-dasharray: 8 5; }
.npl-root .npl-link-line.is-selected { stroke-width: 6; stroke: #1763df; }
.npl-root .npl-link-line.is-trace { stroke: #11a579; stroke-width: 5; }
.npl-root .npl-link-hit { fill: none; stroke: transparent; stroke-width: 18; pointer-events: stroke; cursor: pointer; }
.npl-root .npl-device { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 110px; height: 96px; padding: 8px 6px; border: 1.5px solid transparent; border-radius: 12px; background: #f8fbffdf; color: var(--npl-ink); touch-action: none; user-select: none; appearance: none; box-shadow: none; }
.npl-root .npl-device:hover { border-color: #a7c5ed; background: #f0f6ff; }
.npl-root .npl-device.is-selected { border-color: #4185e9; background: #edf4ff; box-shadow: 0 0 0 3px #5b9cf019; }
.npl-root .npl-device.is-off .npl-hardware { filter: grayscale(1); opacity: .6; }
.npl-root .npl-device-name { font-weight: 750; font-size: 13px; line-height: 1.1; max-width: 98px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.npl-root .npl-device-type { display: flex; align-items: center; gap: 5px; font-size: 10px; line-height: 1.1; color: #6d7f96; }
.npl-root .npl-hardware { display: inline-flex; align-items: center; justify-content: space-between; position: relative; width: 74px; height: 30px; border: 1px solid #3c4d5f; border-radius: 4px; background: linear-gradient(#abb9c9 0%, #5a6e86 20%, #304153 25%, #263648 85%, #1d2a39 100%); padding: 7px 6px 3px; box-shadow: 0 4px 5px #19304720; flex-shrink: 0; }
.npl-root .npl-hardware-small { width: 36px; height: 20px; padding: 5px 3px 2px; }
.npl-root .npl-vents { display: block; width: 14px; height: 10px; background-image: radial-gradient(#101b29 1.2px, transparent 1.5px); background-size: 4px 4px; opacity: .9; flex-shrink: 0; }
.npl-root .npl-hardware-small .npl-vents { width: 5px; height: 7px; background-size: 3px 3px; }
.npl-root .npl-tiny-ports { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; align-items: center; }
.npl-root .npl-tiny-ports i { display: block; width: 6px; height: 5px; background: #101b27; border: 1px solid #8b9aaa; }
.npl-root .npl-hardware-router .npl-tiny-ports { grid-template-columns: repeat(3, 1fr); }
.npl-root .npl-hardware-small .npl-tiny-ports { gap: 1px; }
.npl-root .npl-hardware-small .npl-tiny-ports i { width: 3px; height: 3px; border-width: .5px; }
.npl-root .npl-hardware-led { height: 3px; width: 3px; border-radius: 50%; background: #83cf8b; }
.npl-root .npl-hardware-small .npl-hardware-led { width: 2px; height: 2px; }
.npl-root .npl-hardware-pc { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; height: 33px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; width: 54px; }
.npl-root .npl-monitor { display: block; width: 42px; height: 27px; padding: 3px; border: 1px solid #3a526a; border-radius: 3px; background: #4f657c; }
.npl-root .npl-monitor-glow { display: block; width: 100%; height: 100%; background: linear-gradient(145deg, #90d5f5, #338ac5); border-radius: 1px; }
.npl-root .npl-monitor-foot { display: block; width: 24px; height: 4px; margin-top: 2px; background: #526b84; border-radius: 3px 3px 1px 1px; }
.npl-root .npl-hardware-pc.npl-hardware-small { width: 30px; height: 23px; }
.npl-root .npl-hardware-small .npl-monitor { width: 26px; height: 18px; padding: 2px; }
.npl-root .npl-hardware-small .npl-monitor-foot { width: 16px; height: 3px; }
.npl-root .npl-led { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #8b98aa; flex: 0 0 auto; }
.npl-root .npl-led.is-on { background: #2aad7d; box-shadow: 0 0 4px #2aad7d40; }
.npl-root .npl-canvas-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 15px; padding: 10px 16px; font-size: 10px; color: #778aa3; border-top: 1px solid var(--npl-line); background: #fff; }
.npl-root .npl-link-legend { color: #627a9b; }
.npl-root .npl-link-list { display: flex; gap: 5px; flex-wrap: wrap; padding: 10px 13px; border-top: 1px solid var(--npl-line); background: #f9fbfe; max-height: 150px; overflow: auto; }
.npl-root .npl-link-pill { border-radius: 20px; min-height: 27px; padding: 5px 9px; font-size: 9px; font-weight: 500; color: #63778f; white-space: normal; }
.npl-root .npl-link-pill.is-active { color: #1a62bf; border-color: #6ca5e9; background: #edf5ff; }
.npl-root .npl-empty-canvas { position: absolute; width: 350px; left: 305px; top: 145px; text-align: center; color: #6f87a4; }
.npl-root .npl-empty-canvas strong { display: block; color: #455f7e; font-size: 16px; margin-bottom: 6px; }
.npl-root .npl-empty-canvas p { font-size: 12px; }
.npl-root .npl-empty-symbol { display: block; font-weight: 200; font-size: 45px; color: #9ebbdc; line-height: 1.2; margin-bottom: 10px; }
.npl-root .npl-connection-pending { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: #eaf3ff; color: #1c60b8; font-size: 11px; border-top: 1px solid #cbdef8; }
.npl-root .npl-inspector { min-width: 0; border-left: 1px solid var(--npl-line); background: #fff; }
.npl-root .npl-inspector-heading { padding: 12px 15px; }
.npl-root .npl-power-button { font-size: 10px; padding: 6px 8px; min-height: 28px; background: #f0f3f7; color: #7b8b9f; border-color: #d4dde8; }
.npl-root .npl-power-button.is-on { background: #eefaf4; border-color: #b7e0cc; color: #267c5c; }
.npl-root .npl-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--npl-line); background: #f8faff; }
.npl-root .npl-tab { flex: 1; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: #6c7c91; font-size: 11px; min-height: 42px; background: transparent; padding: 8px 4px; }
.npl-root .npl-tab.is-active { border-bottom-color: #2b75dc; color: #1c5ebb; background: #edf4fe; }
.npl-root .npl-device-panel { min-height: 370px; }
.npl-root .npl-inspector-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 13px; border-top: 1px solid var(--npl-line); font-size: 10px; color: #7b8aa0; }
.npl-root .npl-empty-panel { padding: 30px 22px; color: #70839c; font-size: 12px; }
.npl-root .npl-empty-panel strong { display: block; color: #3a5374; font-size: 14px; margin-bottom: 8px; }
.npl-root .npl-empty-panel p { margin-bottom: 12px; }
.npl-root .npl-link-detail { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 25px 20px; text-align: center; overflow-wrap: anywhere; }
.npl-root .npl-link-detail strong { font-size: 13px; }
.npl-root .npl-detail-arrow { font-size: 24px; color: #8ea8c7; line-height: 1; }
.npl-root .npl-chip { display: inline-block; align-self: center; border: 1px solid #d4e2f3; background: #f0f6fe; border-radius: 30px; padding: 3px 10px; color: #486e9b; font-size: 10px; }
.npl-root .npl-rear-view { padding: 16px 14px 5px; }
.npl-root .npl-rear-description { font-size: 11px; color: #6d819b; margin-bottom: 14px; }
.npl-root .npl-chassis { background: linear-gradient(#627387 0, #4a5b70 8%, #2b3a4d 9%, #29374a 90%, #1d2939 100%); border: 1px solid #223248; border-radius: 9px; padding: 13px 11px 12px; box-shadow: 0 5px 10px #20344a20; }
.npl-root .npl-chassis.is-off { opacity: .78; }
.npl-root .npl-chassis-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: #d6e2ee; }
.npl-root .npl-chassis-top .npl-vents { width: 38px; height: 12px; background-size: 4px 4px; }
.npl-root .npl-chassis-top strong { font-size: 10px; font-weight: 500; }
.npl-root .npl-rear-ports { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-start; gap: 8px 4px; }
.npl-root .npl-port { display: flex; flex-direction: column; align-items: center; min-height: 0; gap: 4px; padding: 5px 3px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #dbe5ef; font-size: 9px; width: 52px; }
.npl-root .npl-port:hover { background: #ffffff16; border-color: #6da2db; color: #fff; }
.npl-root .npl-port.is-selected { border-color: #72b7ff; box-shadow: 0 0 0 2px #5aa4ef4a; background: #397bc546; }
.npl-root .npl-port-label { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 9px; line-height: 1.2; }
.npl-root .npl-socket { display: flex; align-items: flex-end; justify-content: center; position: relative; width: 35px; height: 29px; background: #0b1523; border: 2px solid #afbbc9; border-bottom-width: 3px; border-radius: 2px; box-shadow: inset 0 0 0 2px #203247; }
.npl-root .npl-socket::before { content: ''; position: absolute; left: 8px; right: 8px; top: -2px; height: 4px; background: #304257; border-bottom: 2px solid #a8b7c6; }
.npl-root .npl-socket::after { content: ''; position: absolute; left: 5px; right: 5px; bottom: 4px; height: 5px; background: repeating-linear-gradient(90deg, #c8ad68 0, #c8ad68 1px, transparent 1px, transparent 3px); }
.npl-root .npl-socket-console { border-color: #73b4cf; }
.npl-root .npl-plug { display: block; width: 25px; height: 21px; position: absolute; z-index: 1; left: 3px; bottom: -1px; border: 1px solid #429fff; border-radius: 3px; background: linear-gradient(90deg, #1766c7, #3997f2, #1a6fce); box-shadow: 0 4px 5px #07142677; }
.npl-root .npl-plug::after { content: ''; position: absolute; width: 8px; height: 9px; border-radius: 0 0 4px 4px; bottom: -7px; left: 7px; background: #3189e6; }
.npl-root .npl-plug.is-console { background: #43b8d6; border-color: #7ed3e9; }
.npl-root .npl-plug.is-console::after { background: #43b8d6; }
.npl-root .npl-port-status { display: flex; align-items: center; gap: 3px; color: #afbecf; font-size: 8px; margin-top: 6px; }
.npl-root .npl-port-status .npl-led { width: 4px; height: 4px; }
.npl-root .npl-table-scroll { overflow: auto; margin-top: 16px; }
.npl-root .npl-port-table { border-collapse: collapse; border: 0; margin: 0; width: 100%; font-size: 10px; table-layout: auto; background: transparent; }
.npl-root .npl-port-table th, .npl-root .npl-port-table td { padding: 7px 4px; border: 0; border-bottom: 1px solid #e9eff6; text-align: left; color: #637791; background: transparent; font-size: 10px; white-space: nowrap; }
.npl-root .npl-port-table th { font-weight: 600; color: #96a5b8; font-size: 9px; }
.npl-root .npl-port-state { font-family: ui-monospace, monospace; font-size: 9px; }
.npl-root .npl-port-state.is-up { color: #16865f; }
.npl-root .npl-port-state.is-down { color: #b2626e; }
.npl-root .npl-wiring-form { margin: 12px 14px 16px; border: 1px solid #dce6f2; border-radius: 8px; background: #f9fbfe; }
.npl-root .npl-wiring-form > summary { padding: 11px 12px; cursor: pointer; color: #456486; font-weight: 650; font-size: 11px; }
.npl-root .npl-wiring-form form { padding: 0 12px 13px; }
.npl-root .npl-wiring-form > p { padding: 0 12px 13px; }
.npl-root .npl-wiring-form .npl-field-pair { margin: 11px 0; }
.npl-root .npl-wiring-form .npl-select { font-size: 11px; padding: 7px 6px; min-height: 34px; }
.npl-root .npl-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.npl-root .npl-tip { font-size: 11px; font-weight: 400; color: #788ba4; }
.npl-root .npl-pc-form { padding: 18px 16px; display: flex; flex-direction: column; gap: 16px; }
.npl-root .npl-pc-form > .npl-button { align-self: flex-start; }
.npl-root .npl-terminal { color: #dae8fb; background: var(--npl-navy); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.npl-root .npl-terminal-heading { display: flex; gap: 8px; align-items: center; justify-content: space-between; min-height: 43px; padding: 8px 12px; background: #1c2e49; color: #ccdaef; font-size: 11px; font-weight: 600; border-bottom: 1px solid #ffffff0d; }
.npl-root .npl-terminal-heading > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.npl-root .npl-terminal-button { padding: 3px 7px; border: 1px solid #ffffff26; min-height: 25px; border-radius: 5px; background: transparent; color: #a6bddb; font-size: 9px; }
.npl-root .npl-terminal-button:hover { color: #fff; background: #ffffff12; border-color: #ffffff50; }
.npl-root .npl-terminal-output { display: block; width: 100%; min-height: 292px; max-height: 410px; overflow: auto; background: #101e33; color: #d7e6f9; font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; font-size: 11px; line-height: 1.8; padding: 17px 14px; border: 0; border-radius: 0; margin: 0; white-space: pre; word-wrap: normal; tab-size: 4; }
.npl-root .npl-command-form { display: flex; gap: 6px; align-items: center; min-width: 0; padding: 11px 12px; border-top: 1px solid #ffffff14; background: #14243c; }
.npl-root .npl-prompt { color: #9bc2fb; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; flex: 0 1 auto; max-width: 55%; overflow-wrap: anywhere; }
.npl-root .npl-command-input { flex: 1 1 0; width: 0; min-width: 40px; min-height: 28px; border: 0; border-radius: 2px; outline: 0; padding: 4px 2px; background: transparent; color: #fff; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; line-height: 1.5; caret-color: #b2d2ff; box-shadow: none; }
.npl-root .npl-command-input:focus { color: #fff; background: #ffffff04; border: 0; box-shadow: none; }
.npl-root .npl-command-input:focus-visible { outline: 1px solid #3b628e; outline-offset: 2px; }
.npl-root .npl-command-submit { flex: 0 0 29px; width: 29px; height: 28px; min-height: 0; border: 1px solid #416084; border-radius: 5px; background: #203e65; color: #d4e7ff; padding: 0; font-size: 17px; }
.npl-root .npl-command-submit:hover { background: #2b5488; }
.npl-root .npl-terminal-tip { padding: 5px 12px 8px; background: #14243c; color: #7e96b5; font-size: 9px; }
.npl-root .npl-trace { border-top: 1px solid #cbe5d8; padding: 12px 20px; background: #f2fbf7; color: #2a7256; font-size: 12px; }
.npl-root .npl-trace.is-failed { background: #fff5f6; border-color: #f0d6dc; color: #a14b5a; }
.npl-root .npl-trace summary { cursor: pointer; font-weight: 650; }
.npl-root .npl-trace-path { font-family: ui-monospace, monospace; margin-top: 10px; }
.npl-root .npl-trace-steps { padding-left: 20px; margin: 8px 0 0; font-size: 11px; }
.npl-root .npl-lesson { padding: 23px; border-top: 1px solid var(--npl-line); background: #fbfcfe; min-width: 0; }
.npl-root .npl-lesson-heading { padding-left: 12px; border-left: 3px solid #3d82df; margin-bottom: 13px; }
.npl-root .npl-lesson .npl-eyebrow { color: #7791b0; font-size: 9px; }
.npl-root .npl-lesson h3 { font-size: 17px; font-weight: 700; line-height: 1.6; margin-top: 3px; }
.npl-root .npl-lesson-description { font-size: 12px; color: #61758f; }
.npl-root .npl-lesson-steps { margin: 16px 0 19px; padding-left: 22px; color: #425c7d; font-size: 12px; }
.npl-root .npl-lesson-steps > li { margin: 12px 0; padding-left: 3px; }
.npl-root .npl-lesson-steps > li::marker { color: #8ca6c6; font-weight: 700; }
.npl-root .npl-hint { margin-top: 5px; }
.npl-root .npl-hint summary { cursor: pointer; color: #5983b3; font-size: 10px; }
.npl-root .npl-hint pre { background: #edf3fb; color: #48658a; border: 0; border-radius: 7px; padding: 11px 12px; margin: 6px 0 10px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.npl-root .npl-checks { list-style: none; padding: 0; margin: 17px 0 0; font-size: 11px; }
.npl-root .npl-checks li { display: flex; gap: 8px; padding: 6px 0; color: #8896a9; }
.npl-root .npl-checks li.is-done { color: #208365; }
.npl-root .npl-checks li > span:first-child { font-weight: 800; }
.npl-root .npl-cli-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); }
.npl-root .npl-cli-main { padding: 22px; min-width: 0; background: #fff; }
.npl-root .npl-cli-devicebar { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
.npl-root .npl-cli-devicebar .npl-field { width: 200px; max-width: 100%; }
.npl-root .npl-cli-devicebar .npl-tip { font-size: 9px; }
.npl-root .npl-cli-main > .npl-terminal { border-radius: 10px; box-shadow: 0 5px 14px #10203915; }
.npl-root .npl-cli-main .npl-terminal-output { min-height: 350px; max-height: 550px; font-size: 12px; padding: 20px; }
.npl-root .npl-cli-main .npl-terminal-heading { padding: 10px 17px; font-size: 12px; }
.npl-root .npl-cli-main .npl-command-form { padding: 12px 17px; }
.npl-root .npl-cli-main .npl-command-input, .npl-root .npl-cli-main .npl-prompt { font-size: 12px; }
.npl-root .npl-cli-layout > .npl-lesson { border-top: 0; border-left: 1px solid var(--npl-line); }
.npl-root .npl-help { padding: 22px 25px; background: #f1f6fe; border-bottom: 1px solid #d3e2f6; font-size: 12px; color: #4b6382; }
.npl-root .npl-help h3 { color: #315681; font-size: 16px; margin-bottom: 10px; }
.npl-root .npl-help h4 { margin: 16px 0 8px; font-size: 13px; color: #315681; }
.npl-root .npl-help ol { margin: 0; padding-left: 20px; }
.npl-root .npl-help li { margin: 7px 0; }
.npl-root .npl-help p { margin: 10px 0; }
.npl-root .npl-help-code { display: block; padding: 12px 16px; background: #e6eefb; color: #355984; border: 0; border-radius: 8px; font-size: 11px; line-height: 1.9; font-family: ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.npl-root .npl-footer { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 11px 21px; border-top: 1px solid var(--npl-line); background: #fff; color: #93a2b6; font-size: 9px; }
.npl-root .npl-footer > span:first-child { font-weight: 650; color: #7388a3; }
.npl-root .npl-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.npl-root .npl-load-error { padding: 20px; border: 1px solid #edc8ce; border-radius: 8px; color: #a33545; background: #fff4f6; }
.npl-root:fullscreen { background: #edf2f8; overflow: auto; margin: 0; padding: 16px; }
.npl-root:fullscreen .npl-shell { max-width: 1800px; margin: 0 auto; }
.npl-root:fullscreen .npl-canvas-scroll { max-height: 70vh; }
@container (max-width: 950px) {
  .npl-root .npl-workspace { grid-template-columns: minmax(0, 1fr); }
  .npl-root .npl-inspector { border-left: 0; border-top: 1px solid var(--npl-line); }
  .npl-root .npl-device-panel { min-height: 0; }
  .npl-root .npl-inspector .npl-terminal-output { min-height: 210px; max-height: 360px; font-size: 12px; }
  .npl-root .npl-inspector .npl-command-input, .npl-root .npl-inspector .npl-prompt { font-size: 12px; }
  .npl-root .npl-rear-view { max-width: 650px; }
  .npl-root .npl-chassis { padding: 18px; }
  .npl-root .npl-rear-ports { gap: 8px 10px; }
  .npl-root .npl-wiring-form { max-width: 620px; }
  .npl-root .npl-pc-form { max-width: 500px; }
  .npl-root .npl-cli-layout { grid-template-columns: minmax(0, 1fr); }
  .npl-root .npl-cli-layout > .npl-lesson { border-left: 0; border-top: 1px solid var(--npl-line); }
}
@container (max-width: 550px) {
  .npl-root .npl-header { padding: 18px 14px; gap: 9px; }
  .npl-root .npl-title-group { gap: 9px; }
  .npl-root .npl-brand-symbol { width: 35px; height: 35px; font-size: 20px; }
  .npl-root .npl-title { font-size: 17px; }
  .npl-root .npl-eyebrow { font-size: 8px; }
  .npl-root .npl-header-actions { gap: 4px; }
  .npl-root .npl-header-actions .npl-button { font-size: 10px; padding: 7px; }
  .npl-root .npl-toolbar, .npl-root .npl-palette { padding: 13px; gap: 12px; }
  .npl-root .npl-toolbar > .npl-field { max-width: none; width: 100%; }
  .npl-root .npl-toolbar-actions { gap: 5px; }
  .npl-root .npl-toolbar-actions .npl-button { font-size: 10px; padding: 8px; min-height: 34px; }
  .npl-root .npl-status { padding: 9px 13px; font-size: 10px; }
  .npl-root .npl-save-indicator { display: none; }
  .npl-root .npl-add-device { padding: 6px 8px; font-size: 11px; }
  .npl-root .npl-canvas-scroll { max-height: 390px; }
  .npl-root .npl-lesson, .npl-root .npl-cli-main { padding: 18px 14px; }
  .npl-root .npl-cli-main .npl-terminal-output { font-size: 11px; min-height: 290px; padding: 15px 12px; }
  .npl-root .npl-help { padding: 17px; }
  .npl-root .npl-cli-main .npl-command-form { padding: 10px; }
}
@media (max-width: 650px) {
  .npl-root .npl-workspace, .npl-root .npl-cli-layout { grid-template-columns: minmax(0, 1fr); }
  .npl-root .npl-inspector, .npl-root .npl-cli-layout > .npl-lesson { border-left: 0; border-top: 1px solid var(--npl-line); }
  .npl-root .npl-toolbar { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .npl-root .npl-button { transition: none; }
}
