/* src/styles.css */
:root {
  --hig-font: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ink: #000;
  --paper: #fff;
  --dim: gray;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
}

body {
  font-family: var(--hig-font);
  color: var(--ink);
  background-color: #9a9a9a;
  background-image: linear-gradient(45deg, #8a8a8a 25%, #0000 25% 75%, #8a8a8a 75%), linear-gradient(45deg, #8a8a8a 25%, #0000 25% 75%, #8a8a8a 75%);
  background-position: 0 0, 2px 2px;
  background-size: 4px 4px;
  font-size: 12px;
  line-height: 1.25;
}

.menubar {
  position: sticky;
  z-index: 50;
  display: flex;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  user-select: none;
  align-items: stretch;
  gap: 0;
  height: 20px;
  padding-left: 8px;
  top: 0;
}

.menu-title {
  display: flex;
  align-items:  center;
  padding: 0 10px;
  font-size: 12px;
}

.menu-title.apple {
  font-weight: bold;
}

.desktop {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}

.window {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 2px 2px #00000073;
}

.titlebar {
  position: relative;
  display: flex;
  border-bottom: 1px solid var(--ink);
  align-items:  center;
  height: 20px;
  padding: 0 6px;
}

.titlebar .stripes {
  position: absolute;
  pointer-events: none;
  background-image: repeating-linear-gradient(#000 0 1px, #0000 1px 3px);
  inset: 0;
}

.titlebar.inactive .title {
  color: var(--dim);
}

.closebox {
  position: relative;
  z-index: 2;
  border: 1px solid var(--ink);
  background: var(--paper);
  width: 11px;
  height: 11px;
  margin-right: 8px;
}

.titlebar .title {
  position: relative;
  z-index: 2;
  background: var(--paper);
  margin: 0 auto;
  padding: 0 8px;
  font-weight: bold;
}

.window-body {
  padding: 14px 16px;
}

.window-body h2 {
  margin: 0 0 4px;
  font-size: 13px;
}

.window-body p.note {
  color: #333;
  max-width: 70ch;
  margin: 0 0 12px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 24px;
}

.panel-label {
  border-bottom: 1px dotted #aaa;
  margin: 0 0 8px;
  padding-bottom: 3px;
  font-weight: bold;
}

.cite {
  color: var(--dim);
  margin-top: 6px;
  font-size: 10px;
}

.btn {
  font-family: var(--hig-font);
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: default;
  border-radius: 8px;
  height: 20px;
  padding: 0 12px;
  font-size: 12px;
}

.btn:active {
  background: var(--ink);
  color: var(--paper);
}

.btn.default {
  box-shadow: 0 0 0 1px #fff, 0 0 0 4px #000;
}

.btn.okcancel {
  width: 59px;
  padding: 0;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 16px;
}

.control-row {
  display: flex;
  cursor: default;
  align-items:  center;
  gap: 7px;
  padding: 3px 0;
}

.glyph {
  display: inline-block;
  border: 1px solid var(--ink);
  background: var(--paper);
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
}

.glyph.radio {
  border-radius: 50%;
}

.glyph.radio[aria-checked="true"]:after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 50%;
  inset: 3px;
}

.glyph.check[aria-checked="true"]:after {
  content: "✓";
  position: absolute;
  font-size: 13px;
  line-height: 12px;
  inset: -3px 0 0 1px;
}

fieldset {
  border: 1px solid #bbb;
  margin: 0;
  padding: 8px 12px;
}

legend {
  color: #333;
  padding: 0 4px;
}

.menu-open {
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--ink);
  min-width: 180px;
  box-shadow: 2px 2px #00000073;
}

.menu-open .mtitle {
  background: #eee;
  border-bottom: 1px solid #000;
  padding: 2px 10px;
  font-weight: bold;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 2px 10px;
}

.menu-item .keq {
  color: #333;
}

.menu-item:not([aria-disabled="true"]):hover {
  background: var(--ink);
  color: var(--paper);
}

.menu-item:not([aria-disabled="true"]):hover .keq {
  color: var(--paper);
}

.menu-item[aria-disabled="true"] {
  opacity: .4;
}

.menu-sep {
  border-top: 1px dotted #999;
  height: 0;
  margin: 2px 0;
}

.popup {
  display: inline-flex;
  border: 1px solid var(--ink);
  background: var(--paper);
  align-items:  center;
  gap: 18px;
  height: 20px;
  padding: 0 8px;
  box-shadow: 1px 1px #000;
}

.popup .tri {
  font-size: 9px;
}

.alert {
  border: 2px solid var(--ink);
  background: var(--paper);
  display: flex;
  gap: 16px;
  padding: 16px;
  box-shadow: 2px 2px #00000073;
}

.alert-icon {
  border: 2px solid var(--ink);
  display: flex;
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items:  center;
  width: 40px;
  height: 40px;
  font-size: 26px;
  font-weight: bold;
}

.alert-body {
  flex: 1;
}

.alert-body .btn-row {
  justify-content: flex-end;
  margin-top: 14px;
}

.scroll {
  border: 1px solid var(--ink);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  width: 16px;
  height: 120px;
}

.scroll .arrow {
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: center;
  align-items:  center;
  height: 16px;
  font-size: 9px;
}

.scroll .arrow:last-child {
  border-bottom: 0;
  border-top: 1px solid var(--ink);
}

.scroll .track {
  position: relative;
  background: repeating-linear-gradient(45deg, #ccc 0 1px, #0000 1px 2px);
  flex: 1;
}

.scroll .thumb {
  position: absolute;
  border: 1px solid var(--ink);
  background: #ddd;
  height: 40px;
  top: 8px;
  left: 1px;
  right: 1px;
}

.scroll[data-inactive] {
  color: var(--dim);
}

.scroll[data-inactive] .track {
  background: var(--paper);
}

.field {
  display: flex;
  align-items:  center;
  gap: 8px;
  margin: 6px 0;
}

.field input {
  font-family: var(--hig-font);
  border: 1px solid var(--ink);
  height: 20px;
  padding: 2px 4px;
  font-size: 12px;
}

.probes {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 14px;
  font-size: 11px;
}

.probe-reset {
  border: 1px solid var(--ink);
  display: inline-flex;
  cursor: pointer;
  background: #eee;
  align-items:  center;
  height: 20px;
  padding: 2px 10px;
}

.mouse-target {
  border: 1px solid var(--ink);
  background: var(--paper);
  display: inline-flex;
  align-items:  center;
  height: 28px;
  padding: 4px 14px;
}

.mouse-target[data-pressing="1"] {
  background: var(--ink);
  color: var(--paper);
}

.mouse-target[data-activated="1"] {
  background: #cfc;
}

code.kbd {
  background: #f3f3f3;
  border: 1px solid #999;
  border-radius: 3px;
  padding: 0 4px;
}

.il-row {
  display: flex;
  align-items:  center;
  gap: 10px;
}

.scroll-arrow {
  border: 1px solid var(--ink);
  background: var(--paper);
  display: inline-flex;
  cursor: default;
  user-select: none;
  justify-content: center;
  align-items:  center;
  width: 16px;
  height: 16px;
  font-size: 9px;
}

.scroll-arrow:active {
  background: var(--ink);
  color: var(--paper);
}

.snap-track {
  position: relative;
  border: 1px solid var(--ink);
  background: repeating-linear-gradient(45deg, #ccc 0 1px, #0000 1px 2px);
  width: 16px;
  height: 120px;
}

.snap-thumb {
  position: absolute;
  border: 1px solid var(--ink);
  cursor: grab;
  background: #ddd;
  height: 28px;
  left: 1px;
  right: 1px;
}

.probe-cat {
  margin-bottom: 14px;
}

.probe-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.probe-chip {
  display: flex;
  background: #fafafa;
  border: 1px solid #ccc;
  flex-direction: column;
  align-items:  center;
  gap: 3px;
  min-width: 64px;
  max-width: 150px;
  padding: 6px;
}

.probe-el {
  display: inline-flex;
  overflow: hidden;
  justify-content: center;
  align-items:  center;
  font-size: 11px;
}

.probe-el.text {
  white-space: nowrap;
  padding: 1px 4px;
  font-size: 11px;
}

.geo-box {
  border: 1px solid var(--ink);
  background: var(--paper);
  display: inline-flex;
  justify-content: center;
  align-items:  center;
  min-width: 14px;
  height: 14px;
  font-size: 9px;
}

.probe-id {
  color: #555;
  word-break: break-all;
  text-align: center;
  font-size: 9px;
  line-height: 1.1;
}

.cat-block {
  border: 1px solid #ddd;
  margin-bottom: 6px;
}

.cat-head {
  display: flex;
  cursor: pointer;
  user-select: none;
  background: #f0f0f0;
  align-items:  center;
  gap: 10px;
  padding: 5px 8px;
}

.cat-toggle {
  width: 10px;
  font-size: 9px;
}

.cat-list {
  padding: 4px 8px;
}

.rule-row {
  display: flex;
  border-top: 1px dotted #eee;
  align-items:  flex-start;
  gap: 10px;
  padding: 7px 0;
}

.rule-meta {
  display: flex;
  flex-direction: column;
  flex: 0 0 132px;
  gap: 3px;
}

.rule-id {
  color: #444;
  white-space: normal;
  word-break: break-all;
  font-size: 9px;
  line-height: 1.15;
}

.rule-text {
  flex: 1;
  min-width: 150px;
  font-size: 11px;
}

.rule-why {
  display: flex;
  color: #555;
  flex-direction: column;
  flex: 0 0 165px;
  gap: 2px;
  font-size: 10px;
}

.reason {
  line-height: 1.25;
}

.rtag {
  display: inline-block;
  text-transform: uppercase;
  color: #333;
  background: #eee;
  border: 1px solid #bbb;
  border-radius: 3px;
  padding: 0 4px;
  font-size: 8px;
  font-weight: bold;
}

.rtag-judgment {
  background: #f3e0e0;
}

.rtag-content {
  background: #f3ecd9;
}

.rtag-dynamic {
  background: #d9e6f3;
}

.rtag-context {
  background: #e6dff3;
}

.rtag-global {
  background: #dff3ec;
}

.rtag-environment {
  background: #e9e9e9;
}

.rtag-aesthetic {
  background: #f3dfee;
}

.rtag-process {
  background: #e0eedd;
}

.rule-react {
  color: #555;
  margin-top: 2px;
  font-size: 10px;
}

.rule-ex {
  display: flex;
  background: #fbfbfb;
  border: 1px solid #e6e6e6;
  flex-direction: column;
  flex: 0 0 230px;
  gap: 3px;
  padding: 5px;
}

.ex-label {
  color: #999;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 8px;
  font-weight: bold;
}

.ex-ok {
  color: #1a7f1a;
}

.exc {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 6px;
}

.exhtml {
  display: block;
  overflow: hidden;
  max-width: 218px;
  font-size: 11px;
  line-height: 1.3;
}

.exhtml * {
  max-width: 100%;
}

.ex-box {
  display: inline-flex;
  background: #fff;
  justify-content: center;
  align-items:  center;
  min-width: 14px;
  min-height: 14px;
  font-size: 10px;
}

.ex-chip {
  background: #fff;
  border: 1px solid #ccc;
  padding: 1px 5px;
  font-size: 11px;
}

.ex-mini {
  border: 1px solid var(--ink);
  display: inline-flex;
  box-sizing: border-box;
  background: #fff;
  justify-content: center;
  align-items:  center;
  min-width: 13px;
  height: 13px;
  padding: 0 2px;
  font-size: 8px;
}

.ex-note {
  color: #777;
  font-size: 10px;
  font-style: italic;
}

.ex-loading {
  color: #ccc;
  font-size: 11px;
}

.ex-none {
  color: #bbb;
}

.badge {
  border: 1px solid var(--ink);
  text-align: center;
  border-radius: 3px;
  flex: none;
  min-width: 48px;
  padding: 1px 5px;
  font-size: 9px;
  font-weight: bold;
}

.badge-auto {
  background: #d6f5d6;
}

.badge-spec {
  background: #d6ecf5;
}

.badge-manual {
  color: #555;
  background: #eee;
}

ul.principles {
  margin: 0;
  padding-left: 18px;
}

ul.principles li {
  margin: 4px 0;
}

ul.principles b {
  font-weight: bold;
}

body {
  -webkit-font-smoothing: antialiased;
  background-color: #9b9b9b;
  background-image: linear-gradient(45deg, #909090 25%, #0000 25% 75%, #909090 75%), linear-gradient(45deg, #909090 25%, #0000 25% 75%, #909090 75%);
  background-position: 0 0, 2px 2px;
  background-repeat: repeat;
  background-size: 4px 4px;
  background-attachment: scroll;
  background-origin: padding-box;
  background-clip: border-box;
}

.menubar {
  height: 22px;
  box-shadow: 0 1px #00000040;
}

.menu-title {
  font-weight: 500;
}

.desktop {
  gap: 26px;
  max-width: 1020px;
  padding: 32px 26px 90px;
}

.window {
  border: 1px solid #000;
  box-shadow: 1px 1px #000, 5px 5px #00000047;
}

.titlebar {
  height: 22px;
}

.titlebar .title {
  letter-spacing: .02em;
  font-weight: bold;
}

.window-body {
  padding: 20px 24px;
}

.window-body h2 {
  margin: 0 0 8px;
  font-size: 15px;
}

.note {
  color: #2a2a2a;
  max-width: 74ch;
  font-size: 12px;
  line-height: 1.5;
}

.hero {
  position: relative;
}

.rainbow {
  background: linear-gradient(90deg, #61bb46 0 16.66%, #fdb827 0 33.33%, #f5821f 0 50%, #e03a3e 0 66.66%, #963d97 0 83.33%, #009ddc 0 100%);
  border-radius: 2px;
  height: 9px;
  margin: 0 0 16px;
  box-shadow: inset 0 0 0 1px #00000026;
}

.hero-logo {
  display: none;
}

.hero-title {
  letter-spacing: -.015em;
  color: #111;
  margin: 0 0 6px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.04;
}

.hero-sub {
  color: #444;
  margin-bottom: 16px;
  font-size: 16px;
  font-style: italic;
}

.hero-lede {
  color: #1c1c1c;
  max-width: 76ch;
  font-size: 13px;
  line-height: 1.55;
}

.statstrip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 8px;
}

.statstrip > div {
  text-align: center;
  background: #fff;
  border: 1px solid #000;
  flex: 130px;
  padding: 12px;
  box-shadow: 1px 1px #000;
}

.statstrip b {
  display: block;
  margin-bottom: 4px;
  font-size: 26px;
  line-height: 1;
}

.statstrip span {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #666;
  font-size: 9px;
}

.stat-auto {
  background: #e3f6e3;
}

.stat-spec {
  background: #e3eff8;
}

.stat-manual {
  background: #f0f0f0;
}

.hero-how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 16px 0 14px;
}

.hero-how > div {
  color: #222;
  border-left: 3px solid #000;
  padding: 4px 0 4px 12px;
  font-size: 12px;
}

.hero-how b {
  font-size: 12px;
}

.cat-head {
  display: flex;
  cursor: pointer;
  user-select: none;
  border-radius: 2px;
  align-items:  center;
  gap: 12px;
  padding: 6px;
  font-size: 13px;
}

.cat-head:hover {
  background: #f0f0f0;
}

.cat-toggle {
  color: #555;
  width: 12px;
  font-size: 10px;
}

.cat-list {
  padding: 2px 0;
}

.rule-row {
  display: flex;
  border-top: 1px solid #ededed;
  align-items:  flex-start;
  gap: 18px;
  padding: 13px 6px;
}

.rule-row:first-child {
  border-top: 0;
}

.rule-row:hover {
  background: #fafafa;
}

.rule-meta {
  flex: 0 0 138px;
  gap: 5px;
}

.rule-id {
  color: #555;
  font-size: 9px;
  line-height: 1.2;
}

.rule-text {
  flex: 1;
  min-width: 200px;
  font-size: 12px;
  line-height: 1.5;
}

.rule-react {
  color: #555;
  margin-top: 5px;
  font-size: 10.5px;
}

.rule-why {
  flex: 0 0 172px;
  font-size: 10.5px;
}

.rule-ex {
  background: #fcfcfc;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  flex: 0 0 208px;
  gap: 7px;
  padding: 10px;
  box-shadow: inset 0 0 0 1px #fff;
}

.badge {
  border-radius: 3px;
  min-width: 54px;
  padding: 2px 6px;
  font-size: 9px;
  box-shadow: 1px 1px #0000001f;
}

.rtag {
  padding: 1px 5px;
  font-size: 8px;
}

.rule-row {
  display: flex;
  border-top: 1px solid #ededed;
  flex-wrap: wrap;
  align-items:  flex-start;
  gap: 14px 22px;
  padding: 14px 6px;
}

.rule-row:first-child {
  border-top: 0;
}

.rule-row:hover {
  background: #fafafa;
}

.rule-main {
  display: flex;
  flex-direction: column;
  flex: 380px;
  gap: 6px;
  min-width: 260px;
}

.rule-head {
  display: flex;
  align-items:  center;
  gap: 10px;
}

.rule-id {
  color: #666;
  word-break: break-all;
  font-size: 9px;
  line-height: 1.2;
}

.rule-text {
  flex: none;
  font-size: 12px;
  line-height: 1.5;
}

.rule-react, .rule-why {
  color: #555;
  margin-top: 2px;
  font-size: 10.5px;
}

.rule-ex {
  display: flex;
  background: #fcfcfc;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  flex-direction: column;
  flex: 300px;
  gap: 8px;
  min-width: 240px;
  max-width: 100%;
  padding: 12px;
  box-shadow: inset 0 0 0 1px #fff;
}

.exhtml {
  display: block;
  overflow: auto;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.35;
}

.exhtml * {
  max-width: 100%;
}

.exhtml {
  display: block;
  overflow: visible;
  max-width: 100%;
  padding: 0;
}

.ex-frame {
  display: block;
  background: #fff;
  border: 0;
  border-radius: 2px;
  width: 100%;
  box-shadow: inset 0 0 0 1px #ededed;
}

.np-screen {
  position: relative;
  overflow: hidden;
  background: #8f97a6 radial-gradient(#ffffff1a 1px, #0000 1px) 0 0 / 4px 4px;
  border: 1px solid #000;
  border-radius: 2px;
  min-height: 440px;
  font-size: 12px;
}

.np-menubar {
  position: relative;
  z-index: 5;
  display: flex;
  background: #fff;
  border-bottom: 1px solid #000;
  align-items:  center;
  height: 21px;
  padding: 0 6px;
  font-size: 12px;
}

.np-menubar > span {
  cursor: default;
  padding: 0 12px;
}

.np-menubar .np-apple {
  text-align: center;
  width: 16px;
  padding: 0;
}

.np-menubar .np-apple:before {
  content: "";
}

.np-menubar .np-hot {
  color: #fff;
  background: #000;
}

.np-menubar .np-clock {
  margin-left: auto;
}

.np-menu {
  display: none;
  position: absolute;
  z-index: 50;
  min-width: 168px;
  top: 21px;
  left: 56px;
  box-shadow: 3px 3px #00000073;
}

.np-menu .menu-item {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

.np-menubar [data-menu] {
  cursor: default;
}

.np-menubar [data-menu].np-on {
  color: #fff;
  background: #000;
}

.np-workspace {
  position: relative;
  min-height: 430px;
}

.np-doc {
  position: absolute;
  background: #fff;
  width: 322px;
  box-shadow: 3px 3px #00000052;
}

.np-insp {
  position: absolute;
}

.np-handle {
  cursor: move;
}

.np-sizebox {
  cursor: nwse-resize;
}

.np-tb {
  position: relative;
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid #000;
  align-items:  center;
  gap: 6px;
  padding: 0 5px;
}

.np-tb .stripes {
  position: absolute;
  opacity: .9;
  inset: 0;
}

.np-tbrow {
  position: relative;
  z-index: 2;
  display: flex;
  align-items:  center;
  gap: 6px;
}

.np-tb .closebox {
  background: #fff;
  border: 1px solid #000;
  width: 11px;
  height: 11px;
}

.np-tb .title {
  background: #fff;
  padding: 0 6px;
  font-size: 11px;
}

.np-tb .np-zoom {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid #000;
  width: 11px;
  height: 11px;
  margin-left: auto;
}

.np-tb.mini {
  height: 15px;
}

.np-toolbar {
  display: flex;
  background: #e9e9e9;
  border-bottom: 1px solid #000;
  align-items:  center;
  gap: 8px;
  padding: 6px 8px;
}

.np-tool {
  min-width: 24px;
  height: 20px;
}

.np-popup {
  display: inline-flex;
  background: #fff;
  border: 1px solid #000;
  align-items:  center;
  height: 19px;
  padding: 0 6px;
  box-shadow: 1px 1px #000;
}

.np-stepper {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
}

.np-arrows {
  display: inline-flex;
  flex-direction: column;
  margin-left: -1px;
}

.np-arrow {
  text-align: center;
  background: #fff;
  border: 1px solid #000;
  width: 13px;
  height: 9px;
  font-size: 7px;
  line-height: 9px;
}

.np-docrow {
  display: flex;
  align-items: stretch;
}

.np-content {
  background: #fff;
  flex: 1;
}

.np-text {
  display: block;
  box-sizing: border-box;
  resize: none;
  border: 0;
  width: 100%;
  height: 96px;
  padding: 8px;
  font: 12px / 1.45 Geneva, Arial, sans-serif;
}

.np-scroll {
  display: flex;
  background: #fff;
  border-left: 1px solid #000;
  flex-direction: column;
  align-items:  center;
  width: 15px;
}

.np-scroll .np-sa {
  text-align: center;
  border-bottom: 1px solid #000;
  width: 100%;
  height: 15px;
  font-size: 8px;
  line-height: 15px;
}

.np-scroll .np-sa:last-child {
  border-top: 1px solid #000;
  border-bottom: 0;
  margin-top: auto;
}

.np-thumb {
  background: repeating-linear-gradient(#bbb 0 1px, #fff 1px 2px);
  border: 1px solid #000;
  width: 13px;
  height: 26px;
  margin: 2px 0;
}

.np-foot {
  position: relative;
  background: #fff;
  border-top: 1px solid #000;
  height: 15px;
}

.np-sizebox {
  background: repeating-linear-gradient(135deg, #000 0 1px, #fff 1px 2px);
  border-left: 1px solid #000;
  width: 15px;
  height: 15px;
}

.np-insp {
  background: #fff;
  width: 188px;
  box-shadow: 3px 3px #00000052;
}

.np-inspbody {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 12px 12px;
}

.np-fs {
  border: 1px solid #b0b0b0;
  border-radius: 3px;
  margin: 0 0 4px;
  padding: 4px 8px 7px;
}

.np-leg {
  padding: 0 4px;
  font-size: 11px;
}

.np-row {
  display: flex;
  cursor: default;
  align-items:  center;
  gap: 6px;
  font-size: 11px;
}

.np-modal {
  position: absolute;
  z-index: 40;
  display: flex;
  background: #0000000f;
  justify-content: center;
  align-items:  center;
  inset: 0;
}

.np-alert {
  display: flex;
  background: #fff;
  border: 2px solid #000;
  align-items:  flex-start;
  gap: 11px;
  max-width: 320px;
  padding: 16px;
  box-shadow: 4px 4px #0006;
}

.np-caution {
  display: flex;
  border: 2px solid #000;
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items:  center;
  width: 30px;
  height: 30px;
  font-size: 18px;
  font-weight: bold;
}

.np-alertbody {
  font-size: 12px;
  line-height: 1.4;
}

.np-btnrow {
  display: flex;
  align-items:  center;
  gap: 8px;
  margin-top: 12px;
}

.np-btnrow .np-spacer {
  flex: 1;
}

.np-btnrow .btn {
  min-width: 62px;
  height: 20px;
}
