.pn-nav {
  --pn-blue: #1558e7;
  --pn-line: #e2e7ef;
  min-width: 0;
  height: 100%;
  background: #fff;
  color: #26384e;
  font-size: 13px;
}
.pn-nav [hidden] { display: none !important; }
.pn-nav :is(a, button, input, summary):focus-visible { outline-offset: -2px; }
.pn-nav summary { list-style: none; cursor: pointer; }
.pn-nav summary::-webkit-details-marker { display: none; }
.pn-shell, .pn-shell::details-content { height: 100%; min-height: 0; }
.pn-mobile-toggle { display: none; }
.pn-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 20px 10px 12px;
}
.pn-search { position: relative; margin: 0 0 10px; flex: none; }
.pn-search input {
  width: 100%;
  height: 36px;
  padding: 0 28px 0 30px;
  background: #fff;
  color: #253751;
  border: 1px solid #cdd6e3;
  border-radius: 0;
  font-size: 12px;
  outline-color: var(--pn-blue);
}
.pn-search input::placeholder { color: #6b7787; }
.pn-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.pn-search > i {
  position: absolute;
  left: 11px;
  top: 11px;
  width: 10px;
  height: 10px;
  border: 1.5px solid #7a899d;
  border-radius: 50%;
  pointer-events: none;
}
.pn-search > i::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 7px;
  width: 5px;
  height: 1.5px;
  background: #7a899d;
  transform: rotate(45deg);
  transform-origin: left;
}
.pn-search button {
  position: absolute;
  right: 1px;
  top: 1px;
  width: 27px;
  height: 33px;
  border: 0;
  background: transparent;
  color: #5c6d85;
  font-size: 17px;
}
.pn-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c4cedd transparent;
}
.pn-region { background: var(--shell-soft, #f7f8fa); }
.pn-region > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 16px 13px 19px;
  min-height: 46px;
  background: transparent;
  color: #2f435c;
  font-weight: 500;
}
.pn-chevron {
  display: block;
  width: 6px;
  height: 6px;
  flex: none;
  margin-right: 2px;
  border-inline-end: 1.5px solid currentColor;
  border-block-end: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.pn-region[open] > summary .pn-chevron, .pn-shell[open] > .pn-mobile-toggle .pn-chevron {
  transform: rotate(225deg);
}
.pn-region > summary:hover { background: #eaf0f9; }
.pn-series, .pn-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  width: 100%;
  min-height: 42px;
  padding: 10px 18px 10px 27px;
  background: transparent;
  border: 0;
  border-inline-start: 3px solid transparent;
  color: #435268;
  text-decoration: none;
  text-align: start;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.pn-series .pn-badge { background: #176a53; color: white; padding: 1px 4px; }
.pn-series .pn-hot { background: #c73d42; }
.pn-series .pn-sold { white-space: nowrap; }
.pn-series small { color: #69788e; font-size: 11px; font-variant-numeric: tabular-nums; }
.pn-nav :is(.pn-series, .pn-result):hover { background: #f2f6ff; color: var(--pn-blue); }
.pn-nav :is(.pn-series, .pn-result)[aria-current] {
  color: #164dc3;
  border-inline-start-color: var(--pn-blue);
  background: #e1ebff;
  font-weight: 500;
}
.pn-nav [aria-current] small:not(.pn-badge) { color: #476bb7; }
.pn-results > p { margin: 0 3px 10px; color: #68768b; font-size: 12px; }
.pn-result {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  padding-inline-start: 10px;
}
.pn-result small { color: #64758b; font-size: 11px; font-weight: 400; }
@media (max-width: 800px) {
  .pn-nav, .pn-shell, .pn-shell::details-content, .pn-body { height: auto; }
  .pn-mobile-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    min-height: 45px;
  }
  .pn-mobile-toggle span { white-space: nowrap; font-weight: 500; }
  .pn-mobile-toggle span i { color: var(--pn-blue); margin-inline-end: 2px; }
  .pn-current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-inline-start: auto;
    color: #61728a;
    font-size: 12px;
  }
  .pn-chevron { width: 7px; height: 7px; }
  
  .pn-body { border-top: 1px solid var(--pn-line); padding: 12px; }
  .pn-search { margin-bottom: 10px; }
  .pn-scroll { max-height: min(46vh, 320px); }
  .pn-series, .pn-region > summary, .pn-result { min-height: 42px; }
}

[data-theme='dark'] .pn-series, [data-theme='dark'] .pn-result { color: var(--shell-ink); }
[data-theme='dark'] .pn-nav :is(.pn-series,.pn-result):hover { background: var(--shell-soft); color: var(--shell-link); }
