.adm {
  --adm-ink: #152b45;
  --adm-muted: #536475;
  --adm-line: #d9e0df;
  --adm-panel: #fff;
  --adm-radius: 16px;
  color: var(--adm-ink);
  width: min(1220px, 100% - 3rem);
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 8vw, 7rem);
  line-height: 1.5;
}
.adm *, .adm *::before, .adm *::after { box-sizing: border-box; }
.adm [hidden] { display: none !important; }
.adm :is(h1, h2, h3, p, ul) { margin: 0; }
.adm h1, .adm h2, .adm h3 { color: var(--adm-ink); font-family: inherit; }
.adm h1 { font-size: clamp(2.55rem, 5vw, 4.15rem); letter-spacing: -.065em; line-height: 1.05; }
.adm h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); letter-spacing: -.045em; line-height: 1.16; }
.adm h3 { font-size: 1.1rem; letter-spacing: -.02em; line-height: 1.3; }
.adm :is(button, select, input) { font: inherit; letter-spacing: normal; }
.adm button { color: var(--adm-ink); cursor: pointer; }
.adm button:disabled { cursor: default; opacity: .55; }
.adm :is(button, input, select, summary, a, [tabindex]):focus-visible {
  outline: 3px solid #2a6da2;
  outline-offset: 3px;
}
.adm :is(input, select) {
  display: block; min-width: 0; width: 100%; min-height: 44px;
  border: 1px solid #b6c3c6; border-radius: 8px; color: var(--adm-ink);
  background: var(--adm-panel); padding: .55rem .7rem; line-height: 1.4;
  font-weight: 450; font-size: 1rem;
}
.adm label { display: block; color: var(--adm-ink); font-size: .875rem; font-weight: 660; }
.adm label :is(input, select) { margin-top: .35rem; }
.adm .adm-visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; padding: 0; border: 0;
}
.adm-head, .adm-title, .adm-results-bar, .adm-pager, .adm-editor-actions {
  display: flex; align-items: center; gap: .875rem;
}
.adm-head { justify-content: space-between; }
.adm-head p, .adm-box p, .adm-subline, .adm-pager, .adm-table small { color: var(--adm-muted); }
.adm-head p { margin-top: .55rem; }
.adm-role, .adm-total, .adm-kind {
  display: inline-block; border-radius: 999px; white-space: nowrap;
  font-size: .83rem; font-weight: 650; line-height: 1.3;
}
.adm-role { padding: .45rem .85rem; background: #f7deb0; color: #493714; }
.adm-tabs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
  border-block: 1px solid var(--adm-line); padding-block: .6rem; margin-block: 1.75rem 2.35rem;
}
.adm-tabs :is(button, a) {
  display: inline-flex; justify-content: center; align-items: center; gap: .45rem;
  min-height: 43px; padding: .55rem 1rem; border: 0; border-radius: 9px;
  background: transparent; color: var(--adm-ink); font-weight: 620;
  font-size: .95rem; line-height: 1.35; text-decoration: none;
}
.adm-tabs :is(button, a):hover, .adm-subtle:hover:enabled { background: #ecf1ef; }
.adm-tabs button[aria-current="page"] { background: var(--adm-ink); color: white; }
.adm-draft-dot { width: 8px; height: 8px; background: #d79b1e; border-radius: 100%; }
.adm-title { margin-bottom: 1.25rem; }
.adm-total { color: var(--adm-muted); padding: .28rem .6rem; background: #edf1ef; }
.adm-columns { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(190px, .26fr); gap: 1.5rem; }
.adm-columns > * { min-width: 0; }
.adm-box, .adm-filters, .adm-table-wrap, .adm-empty, .adm-inbox-item {
  border: 1px solid var(--adm-line); border-radius: var(--adm-radius); background: var(--adm-panel);
}
.adm-box { padding: clamp(1rem, 2.2vw, 1.55rem); }
.adm-filters { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); gap: .8rem; padding: 1rem; }
.adm-results-bar { min-height: 3.3rem; justify-content: space-between; font-size: .9rem; }
.adm-results-bar p { color: var(--adm-muted); }
.adm-loading { color: var(--adm-muted); padding: 1.25rem .15rem; }
.adm-regions ul[aria-busy="true"] { opacity: .65; }
.adm-empty button { margin-top: .8rem; }
.adm-text-btn, .adm-remove {
  background: transparent; border: 0; padding: .35rem .15rem; min-height: 36px;
  font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.adm-text-btn:hover:enabled, .adm-email:hover { color: #225e87; }
.adm-table-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; text-align: left; color: var(--adm-ink); }
.adm-table th { background: #f1f4f2; color: #435567; font-size: .81rem; font-weight: 650; }
.adm-table td, .adm-table th { padding: .85rem .8rem; vertical-align: top; }
.adm-table tr + tr td, .adm-table tbody tr:first-child td { border-top: 1px solid var(--adm-line); }
.adm-table td { font-size: .92rem; overflow-wrap: anywhere; }
.adm-table td:first-child { min-width: 9.5rem; }
.adm-table small, .adm-table strong { display: block; }
.adm-email { color: #285d7a; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.adm-table .adm-email, .adm-table small, .adm-date { font-size: .83rem; }
.adm-tags { min-width: 8rem; }
.adm-tags span {
  display: inline-block; max-width: 100%; margin-bottom: .2rem; padding: .14rem .48rem;
  border-radius: 5px; background: #eef1f5; color: #394e66; font-size: .78rem;
}
.adm-date { white-space: nowrap; color: var(--adm-muted); }
.adm-regions p { margin-block: .2rem .7rem; font-size: .86rem; }
.adm-regions ul, .adm-interest-list { list-style: none; padding: 0; }
.adm-province {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: .4rem;
  border: 0; border-radius: 6px; background: transparent; padding: .4rem .3rem; text-align: left;
  min-height: 36px; font-size: .88rem;
}
.adm-province:hover, .adm-province[aria-pressed="true"] { background: #f6eed9; }
.adm-province[aria-pressed="true"] { font-weight: 700; }
.adm-num { color: #536475; font-variant-numeric: tabular-nums; }
.adm-pager { justify-content: flex-end; margin-top: 1rem; font-size: .86rem; }
.adm-empty { padding: clamp(2.25rem, 5vw, 4rem) 1rem; text-align: center; }
.adm-empty p { color: var(--adm-muted); margin: .4rem auto 0; max-width: 45ch; }
.adm-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: .58rem 1rem; border-radius: 9px; border: 1px solid transparent; font-weight: 640;
  text-decoration: none; line-height: 1.35;
}
.adm .adm-primary { color: #fff; background: var(--adm-ink); }
.adm .adm-primary:hover:enabled, .adm a.adm-primary:hover { background: #274660; }
.adm .adm-subtle { border-color: #b6c3c6; color: var(--adm-ink); background: #fff; }
.adm-editor, .adm-inbox { max-width: 810px; }
.adm-editor-intro { max-width: 64ch; margin-bottom: 1.3rem !important; }
.adm-editor fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.adm-interest-list { display: grid; gap: .55rem; }
.adm-interest-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .9rem; align-items: center; }
.adm .adm-remove { color: #944839; }
.adm .adm-remove:hover { color: #713124; }
.adm-add { border-block-start: 1px solid var(--adm-line); margin-top: 1.2rem; padding-top: 1rem; }
.adm-add > div { margin-top: .35rem; display: flex; gap: .5rem; }
.adm-add input { flex: 1; }
.adm-editor-actions { flex-wrap: wrap; margin-top: 1.25rem; }
.adm-editor-actions span { color: var(--adm-muted); font-size: .875rem; }
.adm-notice { padding: .65rem .8rem; margin-block: 1rem .35rem !important; border-inline-start: 3px solid #d5a332; background: #fbf5e6; }
.adm .adm-notice-error { border-color: #d57961; background: #fcf0eb; color: #713727; }
.adm-inbox-filter { max-width: 19rem; margin-bottom: 1rem; }
.adm-inbox { display: grid; gap: .7rem; }
.adm-inbox-item { overflow-wrap: anywhere; }
.adm-inbox-item summary { display: flex; align-items: center; justify-content: space-between; gap: .85rem; cursor: pointer; list-style: none; padding: 1.05rem 1.15rem; }
.adm-inbox-item summary::-webkit-details-marker { display: none; }
.adm-inbox-item summary strong { display: block; margin-bottom: .2rem; font-size: 1.04rem; }
.adm-subline { display: block; font-size: .85rem; }
.adm-kind { background: #ffebe3; color: #734b3e; margin-bottom: .4rem; padding: .2rem .5rem; font-size: .76rem; }
.adm-chevron { width: 9px; height: 9px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); flex-shrink: 0; margin-inline-end: .2rem; }
.adm-inbox-item[open] .adm-chevron { transform: rotate(225deg); }
.adm-message { padding: .9rem 1.15rem 1.1rem; border-top: 1px solid var(--adm-line); }
.adm-message p { white-space: pre-line; margin-bottom: .55rem; }
.adm-gate { min-height: 55vh; display: grid; align-items: center; }
.adm-gate .adm-box { max-width: 42rem; width: 100%; margin-inline: auto; padding: clamp(1.5rem, 4vw, 3rem); }
.adm-gate p { margin-block: .9rem 1.3rem; }
@media (max-width: 850px) {
  .adm-columns { grid-template-columns: minmax(0, 1fr); }
  .adm-regions ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1rem; }
}
@media (max-width: 640px) {
  .adm { width: calc(100% - 2rem); }
  .adm-tabs { gap: .2rem; margin-block: 1.25rem 1.75rem; }
  .adm-tabs :is(button, a) { min-height: 42px; padding: .45rem .62rem; font-size: .88rem; }
  .adm-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .8rem; }
  .adm-filters label:first-child { grid-column: 1 / -1; }
  .adm-regions ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-table-wrap { max-width: 100%; }
  .adm-table td, .adm-table th { padding: .7rem .65rem; }
  .adm-table td:first-child { min-width: 10rem; }
  .adm-pager { justify-content: space-between; }
  .adm-interest-row { gap: .55rem; }
}
