:root {
  --bg: #1c1c1c;
  --sidebar-bg: #181818;
  --text: #e6e6e6;
  --dim: #8a8a8a;
  --line: #3a3a3a;
  --accent: #b8b8b8;
  --accent-dim: #6b6b6b;
  --body: #c9c9c9;
  --code-bg: rgba(255, 255, 255, 0.05);
  --quote-bg: rgba(184, 184, 184, 0.06);
  --nav-h: 46px;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --sidebar-bg: #f8f8f8;
  --text: #505050;
  --dim: #858585;
  --line: #dedede;
  --accent: #5a5a5a;
  --accent-dim: #969696;
  --body: #626262;
  --code-bg: #e4e4e4;
  --quote-bg: #f5f5f5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--nav-h) + 8px);
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 280;
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overscroll-behavior: none;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3 {
  font-family: inherit;
  font-weight: 280;
  line-height: 1.35;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-dim);
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

:root[data-theme="light"] a:hover {
  color: #444444;
  text-decoration-color: #444444;
}

a:focus-visible, button:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

strong, b {
  font-weight: 450;
  color: var(--text);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
  padding: 2px 5px;
  border-radius: 0;
  background: var(--code-bg);
  color: var(--text);
}

mark {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: inherit;
  border-radius: 0;
  padding: 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 0 20px;
  padding-left: calc(20px + env(safe-area-inset-left, 0px));
  padding-right: calc(20px + env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

@media (min-width: 881px) {
  html.sidebar-collapsed .sidebar {
    display: none;
  }
}

.nav-title {
  font-size: 14px;
}

.nav-title a {
  color: inherit;
  text-decoration: none;
}

.nav-title span {
  color: var(--dim);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-btn {
  background: none;
  border: none;
  padding: 4px;
  color: var(--dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-btn:hover,
.nav-btn.active {
  color: var(--text);
}

.nav-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
}

.nav .nav-link {
  display: none;
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
}

.layout {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
}

.sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  height: calc(100dvh - var(--nav-h));
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  background: var(--sidebar-bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--dim) transparent;
}

.sidebar::-webkit-scrollbar,
.aside::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track,
.aside::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb,
.aside::-webkit-scrollbar-thumb {
  background: var(--dim);
  border-radius: 0;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.aside::-webkit-scrollbar-thumb:hover {
  background: var(--text);
}

.sidebar-search {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 28px;
  margin-bottom: 12px;
}

.search-count {
  position: absolute;
  top: 50%;
  right: 57px;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--dim);
  white-space: nowrap;
  pointer-events: none;
}

.search-nav {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: -1px;
  padding: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--dim);
  cursor: pointer;
  border-radius: 0;
}

.search-nav svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
}

.search-nav:hover:not(:disabled) {
  position: relative;
  color: var(--text);
  border-color: var(--accent);
}

.search-nav:disabled {
  opacity: 0.4;
  cursor: default;
}

mark {
  scroll-margin-top: calc(var(--nav-h) + 90px);
}

mark.current {
  background: color-mix(in srgb, var(--accent) 55%, transparent);
}

.sidebar-search input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 280;
  height: 28px;
  padding: 0 40px 0 8px;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
}

.sidebar-search input:focus {
  position: relative;
  z-index: 1;
  border-color: var(--accent);
}

.sidebar-search input::placeholder {
  color: var(--dim);
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}

.sidebar a,
.sidebar summary {
  color: var(--dim);
  text-decoration: none;
  padding: 2px 0;
  line-height: 1.4;
  cursor: pointer;
}

.sidebar a:hover,
.sidebar summary:hover {
  color: var(--text);
}

.sidebar a.active,
.sidebar details[open] > summary {
  color: var(--text);
}

.sidebar a.active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sidebar .nav-link {
  margin-top: 8px;
}

.sidebar .nav-link:first-child {
  margin-top: 0;
}

.sidebar details {
  margin-top: 6px;
}

.sidebar summary {
  list-style: none;
  user-select: none;
}

.sidebar summary::-webkit-details-marker {
  display: none;
}

.sidebar details[open] summary::before {
  content: "- ";
  color: var(--dim);
}

.sidebar .sub {
  margin-left: 12px;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.content {
  flex: 1;
  min-width: 0;
  padding: 36px 48px 32px;
  overflow-wrap: break-word;
  background: var(--bg);
}

.content section,
.content article {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.content h2 {
  font-size: 16px;
  margin: 40px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

section#scope h2,
section#enforcement h2 {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

#scope p,
#scope ul,
#enforcement p,
#enforcement ul {
  line-height: 1.6;
}

.content article {
  margin: 16px 0;
}

.content h3 {
  font-size: 14.5px;
  margin-bottom: 6px;
  color: var(--text);
}

.content h3 .num {
  color: var(--accent);
  margin-right: 6px;
}

.anchor {
  display: inline-block;
  margin-left: 6px;
  color: var(--dim);
  text-decoration: none;
  font-size: 0.8em;
  opacity: 0;
  user-select: none;
  cursor: pointer;
}

h2:hover .anchor,
h3:hover .anchor,
.anchor:focus {
  opacity: 1;
}

.anchor:hover,
.anchor.copied {
  color: var(--text);
  text-decoration: none;
  opacity: 1;
}

.content article > *:not(h3):not(blockquote) {
  border-left: 1.5px solid var(--line);
  padding-left: 12px;
  color: var(--body);
}

.content article > p {
  margin: 0;
  padding-bottom: 8px;
}

.content article > p:last-child {
  padding-bottom: 0;
}

.content article > ul,
.content article > ol {
  margin: 0;
  padding-left: 12px;
}

.content pre {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: var(--code-bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  overflow-x: auto;
}

.content pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}

.content article > pre {
  margin: 0 0 8px;
}

.content p {
  margin: 0 0 12px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.6;
}

.content p:last-child {
  margin-bottom: 0;
}

.content ul,
.content ol {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.6;
}

.content li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
  color: var(--body);
}

.content li:last-child {
  margin-bottom: 0;
}

.content ul li::before {
  content: "-";
  color: var(--accent);
  position: absolute;
  left: 0;
}

.content ol {
  counter-reset: item;
}

.content ol li {
  counter-increment: item;
}

.content ol li::before {
  content: counter(item) ".";
  color: var(--accent);
  position: absolute;
  left: 0;
}

blockquote {
  margin: 14px 0;
  padding: 10px 14px;
  border-left: 2px solid var(--accent-dim);
  background: var(--quote-bg);
  color: var(--dim);
}

blockquote p {
  margin: 0 0 6px;
  font-size: 13.5px;
}

blockquote p:last-child {
  margin-bottom: 0;
}

.content-foot {
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}

.foot-links {
  display: none;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
}

.foot-links a {
  color: var(--dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot-links a:hover {
  color: var(--text);
}

.aside {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  height: calc(100dvh - var(--nav-h));
  padding: 28px 22px;
  border-left: 1px solid var(--line);
  background: var(--sidebar-bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--dim) transparent;
  display: none;
}

body.aside-open .aside {
  display: block;
}

.aside-sec {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aside-sec:last-child {
  margin-bottom: 0;
}

.aside-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dim);
  margin: 0 0 4px;
  font-weight: 400;
}

.aside a {
  color: var(--body);
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
  font-size: 13px;
}

.aside a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aside a span {
  display: inline-block;
  margin-left: 4px;
  color: var(--dim);
  font-size: 11px;
}

.aside-detail summary {
  cursor: pointer;
  list-style: none;
  color: var(--body);
  font-size: 13px;
  line-height: 1.4;
}

.aside-detail summary::-webkit-details-marker {
  display: none;
}

.aside-detail summary:hover {
  color: var(--text);
}

.aside-detail[open] summary::before {
  content: "- ";
  color: var(--dim);
}

.aside-detail-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.aside-detail-body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--dim);
}

.aside-facts {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  font-size: 12px;
  line-height: 1.5;
}

.aside-facts dt {
  color: var(--dim);
}

.aside-facts dd {
  margin: 0 0 8px;
  color: var(--body);
  overflow-wrap: anywhere;
}

.aside-facts dd:last-child {
  margin-bottom: 0;
}

.aside-facts a {
  font-size: 12px;
}

@media (max-width: 1120px) {
  .aside {
    width: 200px;
    padding: 20px 16px;
  }
}

@media (max-width: 880px) {
  .nav .nav-link {
    display: block;
  }

  .anchor {
    opacity: 0.35;
  }

  .sidebar {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    z-index: 50;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .sidebar.open {
    display: block;
  }

  .aside {
    display: none !important;
  }

  #asideToggle,
  #sidebarToggle {
    display: none;
  }

  .foot-links {
    display: flex;
  }

  .content {
    padding: 24px 20px 24px;
  }
}

.aside-stats {
  display: grid;
  margin: 2px 0 6px;
  border: 1px solid var(--line);
}

.aside .aside-stats a.stat {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 2px 12px;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
}

.aside .aside-stats a.stat + a.stat {
  border-top: 1px solid var(--line);
}

.stat-icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--dim);
}

.aside .stat-num {
  margin: 0;
  justify-self: end;
  text-align: right;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.aside .stat-sub {
  grid-column: 2;
  justify-self: end;
  margin: 0;
}

.aside .aside-sec:has(> a) {
  gap: 0;
}

.aside .aside-sec:has(> a) > .aside-title {
  margin-bottom: 8px;
}

.aside .aside-sec > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.2;
  color: var(--dim);
  overflow-wrap: anywhere;
}

.aside .aside-sec > a + a {
  border-top: 0;
}

.aside .aside-sec > a > span {
  margin: 0;
  font-size: inherit;
  color: inherit;
}

.aside .aside-stats a.stat:hover,
.aside .aside-sec > a:hover {
  background: rgba(128, 128, 128, 0.08);
  text-decoration: none;
}

.aside .aside-sec > a:hover {
  color: var(--text);
}

.aside a:hover .stat-icon {
  color: var(--text);
}

.aside img.stat-icon {
  border-radius: 50%;
  filter: grayscale(1);
  opacity: 0.8;
}

.aside a:hover img.stat-icon {
  opacity: 1;
}

.aside img.stat-icon.sapph {
  border-radius: 0;
  object-fit: contain;
}

#noticeMount .notice-status {
  position: relative;
  margin: 42px 0 24px;
}

#noticeMount article {
  position: relative;
  margin: 56px 0 0;
}

#noticeMount article:first-child {
  margin-top: 42px;
}

#noticeMount article:last-child {
  margin-bottom: 24px;
}

#noticeMount .notice-status::before,
#noticeMount article::before {
  content: "";
  position: absolute;
  top: -28px;
  left: -48px;
  right: -48px;
  border-top: 1px solid var(--line);
}

@media (max-width: 880px) {
  #noticeMount .notice-status::before,
  #noticeMount article::before {
    left: -20px;
    right: -20px;
  }
}

body.boxed .content .notice-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 14px;
  font-weight: 280;
}

.notice-type {
  margin-right: 4px;
  font-weight: 280;
  color: var(--dim);
}

.notice-head time {
  flex: none;
  font-size: 12px;
  font-weight: 300;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.boxed .content .notice-body {
  padding: 16px 16px 18px;
}

.notice-body > :first-child {
  margin-top: 0;
}

.notice-body > :last-child {
  margin-bottom: 0;
}

.notice-body p {
  max-width: 78ch;
  margin: 0 0 10px;
}

.notice-body .notice-group {
  margin-top: 24px;
}

.notice-body .notice-group .notice-label {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 280;
  line-height: 1.4;
  color: var(--text);
}

.notice-quote {
  margin: 0;
  padding: 0 0 0 12px;
  border-left: 3px solid color-mix(in srgb, var(--accent-dim) 55%, var(--bg));
  background: none;
  font-size: 14px;
  line-height: 1.55;
}

.notice-quote,
.notice-quote p,
.notice-quote li,
.notice-quote dt,
.notice-quote dd {
  color: color-mix(in srgb, var(--body) 12%, var(--dim));
}

.notice-body .notice-quote p {
  margin: 0 0 4px;
  font-size: inherit;
}

.notice-body .notice-quote > :last-child {
  margin-bottom: 0;
}

.notice-quote ol,
.notice-quote ul {
  margin: 0;
  padding-left: 0;
  font-size: inherit;
}

.notice-quote li {
  margin-bottom: 3px;
}

.notice-quote li::before {
  color: inherit;
}

.notice-body .notice-source {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}

.notice-body .notice-quote a {
  color: inherit;
}

.notice-body .notice-quote .notice-line {
  margin: 0 0 3px;
  overflow-wrap: anywhere;
}

.notice-deadlines {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 3px 20px;
  margin: 0;
}

.notice-deadlines dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

body.boxed .content .notice-foot {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 0;
  border-top: 1px solid var(--box-line);
  font-size: 11px;
  color: var(--dim);
}

.foot-date,
.verified,
.notice-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  border-left: 1px solid var(--box-line);
}

.foot-date {
  padding: 0 12px;
  font-variant-numeric: tabular-nums;
}

.notice-copy {
  width: 28px;
  padding: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  background: none;
  color: var(--dim);
  cursor: pointer;
}

.notice-copy svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.notice-copy:hover,
.notice-copy:focus-visible {
  background: rgba(128, 128, 128, 0.12);
  color: var(--text);
  outline: none;
}

.verified {
  width: 28px;
  color: var(--dim);
  cursor: default;
  outline: none;
}

.verified:hover,
.verified:focus-visible {
  background: rgba(128, 128, 128, 0.12);
  color: var(--text);
}

.verified::after {
  content: attr(data-tip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: var(--sidebar-bg);
  color: var(--text);
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.verified:hover::after,
.verified:focus-visible::after {
  opacity: 1;
}

.notice-status {
  color: var(--dim);
}

.aside #recentNotices > a {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  border: 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--dim);
}

.aside #recentNotices > a:hover {
  background: none;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--dim);
}

.admin input,
.admin textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.admin textarea {
  resize: vertical;
}

.admin .admin-check {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  cursor: pointer;
}

.admin input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--accent-dim);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.admin input[type="checkbox"]:checked {
  background: var(--accent-dim);
}

.admin input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--bg);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.admin-group {
  margin-bottom: 14px;
}

.admin-label {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--dim);
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-btn {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.admin-btn:hover {
  background: rgba(128, 128, 128, 0.08);
}

.admin-primary {
  border-color: var(--accent);
}

.admin-danger {
  color: #d66;
}

.admin-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: -1px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: none;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-item:hover {
  background: rgba(128, 128, 128, 0.08);
}

.admin-note {
  font-size: 12px;
  font-weight: 300;
  color: var(--dim);
}

.admin-bad {
  color: #d66;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.admin .admin-actions .admin-check {
  margin: 0;
}

.admin-field {
  position: relative;
  display: block;
}

.md-tag {
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1;
  color: var(--dim);
  pointer-events: none;
  user-select: none;
}

.admin-item {
  user-select: none;
}

.admin input:focus,
.admin textarea:focus,
.cselect-button:focus-visible {
  outline: none;
  border-color: var(--accent-dim);
}

.admin-btn:focus-visible {
  outline: 1px solid var(--accent-dim);
}

.cselect-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cselect {
  position: relative;
}

.cselect-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.cselect-button::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 2px;
  border-right: 1px solid var(--dim);
  border-bottom: 1px solid var(--dim);
  transform: translateY(-2px) rotate(45deg);
}

.admin .cselect-menu {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  right: 0;
  margin: -1px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 13px;
  line-height: 1.3;
  list-style: none;
}

.admin .cselect-menu li {
  margin: 0;
  padding: 6px 10px;
  color: var(--dim);
  cursor: pointer;
}

.admin .cselect-menu li::before {
  content: none;
}

.admin .cselect-menu li:hover,
.admin .cselect-menu li[aria-selected="true"] {
  color: var(--text);
}

.admin .cselect-menu li:hover {
  background: rgba(128, 128, 128, 0.12);
}
