@charset "UTF-8";
:root {
  --forest: #173f36;
  --forest-deep: #10382f;
  --lime: #d7ef9b;
  --ink: #203c33;
  --muted: #6c7972;
  --line: #e3e8e1;
  --canvas: #f5f6f1;
  --white: #fff;
  --radius: 14px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  font-size: 14px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #619321;
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 20;
  left: 12px;
  top: -60px;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.app-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--forest-deep);
  color: #e9f0e9;
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  font-size: 27px;
  letter-spacing: 1.3px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.65px;
  font-weight: 500;
  color: #b2c9bd;
  margin-top: 1px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid #8bac78;
  border-radius: 13px;
  display: grid;
  place-content: center;
  color: var(--lime);
  position: relative;
  font-family: Georgia, serif;
  font-size: 31px;
}
.brand-mark span {
  position: absolute;
  font-family: Arial, sans-serif;
  font-size: 20px;
  right: -4px;
  top: -10px;
  background: var(--forest-deep);
}
.institution-label {
  font-size: 11px;
  line-height: 1.7;
  color: #b7cdc0;
  margin: 23px 0 38px;
  padding-bottom: 24px;
  border-bottom: 1px solid #35564b;
}
.nav-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #adc2b6;
  margin: 0 12px 13px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}
.nav-item > span:first-child {
  font-size: 20px;
  line-height: 20px;
}
.selected {
  background: var(--lime);
  color: #173c2a;
  box-shadow: 0 4px 12px #00160f10;
}
.nav-dot {
  width: 6px;
  height: 6px;
  background: #315a32;
  border-radius: 50%;
  margin-left: auto;
}
.future-nav {
  margin-top: 31px;
  color: #a2b7aa;
}
.future-nav .nav-item {
  font-weight: 400;
}
.future-note {
  font-size: 10px;
  color: #a2b7aa;
  margin: 12px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 26px 12px 0;
}
.version-tag {
  font-size: 8px;
  letter-spacing: 1.5px;
  border: 1px solid #66806c;
  border-radius: 4px;
  padding: 5px 7px;
  color: #c4d7c7;
}
.sidebar-bottom p {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.45;
  color: #deead8;
  margin: 18px 0 28px;
}
.signature {
  font-size: 10px;
  color: #b0c6b9;
}
.signature strong {
  color: var(--lime);
  margin-left: 4px;
  letter-spacing: 0.5px;
}
.workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 80px;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffffa8;
  gap: 20px;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
}
.breadcrumb span {
  margin: 0 13px;
  color: #a4afa6;
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}
.topbar-right {
  display: flex;
  gap: 12px;
  align-items: center;
}
.demo-badge {
  font-size: 10px;
  color: #57694b;
  background: #eef2e5;
  border: 1px solid #dde4cf;
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.demo-badge span {
  font-size: 8px;
  color: #64854b;
  margin-right: 4px;
}
.user-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-content: center;
  background: #e5eade;
  color: #36563e;
  border: 3px solid white;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
}
.user-name {
  font-size: 11px;
}
.logout {
  background: none;
  border: 0;
  font-size: 11px;
  color: var(--muted);
  padding: 7px;
}
.logout:hover {
  text-decoration: underline;
}
main {
  padding: 37px 42px 24px;
  flex: 1;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 29px;
  gap: 20px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: #6b805b;
  font-weight: 700;
  margin: 0 0 10px;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 43px;
  letter-spacing: -1.3px;
  line-height: 1.15;
  margin: 0 0 12px;
}
.heading-dot {
  color: #82a94b;
}
.subtitle {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  line-height: 1.7;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 11px 17px;
  min-height: 42px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.primary {
  background: var(--forest);
  color: white;
  border: 1px solid var(--forest);
}
.primary:hover {
  background: #285748;
}
.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid #d9e0d5;
}
.secondary:hover {
  background: #eff3e9;
}
.print-link {
  margin-top: 14px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 29px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px 15px;
  transition: border-color 0.15s;
}
.stat-card:hover {
  border-color: #9eaf93;
}
.stat-card > span {
  font-size: 11px;
  color: #637167;
  display: flex;
  align-items: center;
  gap: 7px;
}
.stat-card strong {
  font-size: 33px;
  font-weight: 500;
  letter-spacing: -1.1px;
  display: block;
  margin: 9px 0;
}
.stat-card small {
  border-top: 1px solid #eef0ea;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #75816e;
  font-size: 10px;
  gap: 5px;
}
.stat-card small span {
  font-size: 16px;
  color: #92a183;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.active {
  background: #398967;
}
.dot.pending {
  background: #ad873b;
}
.dot.inactive {
  background: #849087;
}
.registry-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 23px 25px 20px;
}
h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.2px;
}
.panel-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.readonly-label {
  font-size: 9px;
  border: 1px solid var(--line);
  color: #68776b;
  border-radius: 20px;
  padding: 4px 10px;
}
.filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 155px 175px 82px auto;
  gap: 12px;
  padding: 0 25px 23px;
  align-items: end;
}
.filters label {
  font-size: 10px;
  color: #67746a;
  display: block;
  margin-bottom: 6px;
}
.filters input,
.filters select {
  height: 40px;
  width: 100%;
  background: #fcfdfb;
  border: 1px solid #dde3d9;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 11px;
  color: var(--ink);
}
.input-icon {
  position: relative;
}
.input-icon span {
  position: absolute;
  left: 12px;
  top: 5px;
  font-size: 22px;
  color: #869680;
}
.input-icon input {
  padding-left: 37px;
}
.filters .button {
  min-height: 40px;
  height: 40px;
}
.filter-summary {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 0 25px 15px;
  color: var(--muted);
}
.filter-summary a {
  text-decoration: underline;
  color: var(--forest);
}
.table-scroll {
  position: relative;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
thead {
  background: #f6f8f2;
}
th {
  padding: 13px 22px;
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 600;
  color: #73806a;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
th:first-child,
td:first-child {
  padding-left: 25px;
}
td {
  padding: 15px 22px;
  border-bottom: 1px solid #eef1eb;
  font-size: 11px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fbfcf7;
}
.professional {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
}
.tone-a {
  background: #eaf0df;
  color: #627440;
}
.tone-b {
  background: #e7edeb;
  color: #587267;
}
.tone-c {
  background: #f4ece0;
  color: #91774d;
}
.tone-d {
  background: #e8eaf0;
  color: #6d7590;
}
.member-name {
  font-size: 12px;
  font-weight: 600;
}
.member-name:hover {
  text-decoration: underline;
}
.qualification {
  display: block;
  font-size: 10px;
  color: #859080;
  margin-top: 3px;
}
.registration {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  background: #f4f6f0;
  border: 1px solid #e5e9df;
  border-radius: 4px;
  padding: 4px 7px;
  color: #657451;
}
.city {
  color: #72806d;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.status.active {
  background: #edf6ee;
  color: #3b7455;
}
.status.pending {
  background: #faf3e5;
  color: #8b6c30;
}
.status.inactive {
  background: #f0f2ef;
  color: #6e786b;
}
.record-link {
  font-size: 10px;
  color: #486c4d;
  display: inline-flex;
  gap: 13px;
  align-items: center;
  min-height: 30px;
}
.record-link:hover {
  text-decoration: underline;
}
.record-link span {
  font-size: 16px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 25px;
  border-top: 1px solid var(--line);
  gap: 15px;
}
.pagination p {
  font-size: 10px;
  color: #829078;
  margin: 0;
}
.pagination strong {
  color: #4f6547;
  font-weight: 500;
}
.pagination nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pagination nav > a,
.pagination .disabled,
.page-number {
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: grid;
  place-content: center;
  font-size: 12px;
}
.pagination nav > a:hover {
  background: #eaf1df;
}
.pagination .disabled {
  color: #bbc3b5;
}
.page-number {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.page-total {
  font-size: 10px;
  color: #85907c;
  margin: 0 5px;
}
.scope-note {
  font-size: 10px;
  color: #7e8978;
  line-height: 1.7;
  margin: 18px 0 0;
  display: flex;
  gap: 8px;
}
.page-footer {
  padding: 14px 42px 22px;
  font-size: 9px;
  color: #88917f;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.empty-state {
  text-align: center;
  white-space: normal;
  padding: 40px 20px;
}
.empty-state > span {
  font-size: 35px;
  color: #8da379;
}
.empty-state h3 {
  font-size: 17px;
  font-weight: 500;
}
.empty-state p {
  color: var(--muted);
  margin-bottom: 20px;
}
.back-link {
  display: inline-block;
  font-size: 12px;
  color: #647955;
  margin-bottom: 28px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.detail-card,
.login-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.detail-card h2 {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
dl {
  margin: 24px 0 0;
}
dt {
  font-size: 11px;
  color: var(--muted);
  margin: 18px 0 5px;
}
dd {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.detail-notice {
  padding-top: 25px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  color: #708167;
  font-size: 12px;
}
.detail-notice strong {
  font-weight: 500;
  color: var(--ink);
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  max-width: 900px;
  margin: 10vh auto;
}
.login-layout h1 {
  font-size: 60px;
}
.login-card {
  max-width: 410px;
}
.login-card > p {
  font-size: 12px;
  color: var(--muted);
}
.login-card label {
  display: block;
  font-size: 12px;
  margin: 20px 0 7px;
}
.login-card input {
  width: 100%;
  border: 1px solid #d6dfd0;
  padding: 12px;
  border-radius: 6px;
}
.login-card .button {
  width: 100%;
  margin-top: 24px;
}
.login-note {
  margin-top: 22px !important;
  font-size: 10px !important;
}
.form-errors {
  color: #99402f;
  background: #fcf1eb;
  padding: 15px 25px;
  font-size: 12px;
}
.form-errors ul {
  padding-left: 18px;
}
.form-errors a {
  text-decoration: underline;
}
@media (min-width: 1600px) {
  main {
    padding-top: 46px;
  }
  .stats-grid {
    gap: 20px;
  }
  .stat-card {
    padding: 23px 26px 17px;
  }
  td {
    padding-top: 17px;
    padding-bottom: 17px;
  }
  .filters {
    grid-template-columns: minmax(220px, 1fr) 180px 200px 90px auto;
  }
  h1 {
    font-size: 48px;
  }
}
@media (max-width: 1200px) {
  .app-shell {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 15px;
  }
  .brand {
    font-size: 24px;
  }
  .brand small {
    font-size: 8px;
  }
  .nav-item {
    font-size: 12px;
  }
  .topbar {
    padding: 0 25px;
  }
  .user-name {
    display: none;
  }
  main {
    padding: 30px 25px;
  }
  .filters {
    grid-template-columns: minmax(160px, 1fr) 145px 170px;
  }
  .size-field {
    max-width: 90px;
  }
  .filters .button {
    justify-self: end;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-card small {
    font-size: 9px;
  }
  .page-footer {
    padding-left: 25px;
    padding-right: 25px;
  }
}
@media (max-width: 800px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 17px 22px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }
  .brand small {
    font-size: 7px;
  }
  .institution-label,
  .sidebar .nav-label,
  .future-nav,
  .sidebar-bottom {
    display: none;
  }
  .nav-item {
    padding: 9px 13px;
  }
  .nav-dot {
    display: none;
  }
  .topbar {
    height: 62px;
    padding: 0 22px;
  }
  .breadcrumb {
    display: none;
  }
  .topbar-right {
    justify-content: space-between;
    width: 100%;
  }
  .user-avatar {
    margin-left: auto;
  }
  .demo-badge {
    font-size: 9px;
  }
  main {
    padding: 28px 20px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 36px;
  }
  .print-link {
    padding: 9px 12px;
    font-size: 10px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .stat-card {
    padding: 16px 18px;
  }
  .stat-card strong {
    font-size: 30px;
  }
  .stat-card small {
    font-size: 10px;
  }
  .panel-heading {
    padding: 20px;
  }
  .filters {
    padding: 0 20px 20px;
    grid-template-columns: 1fr 1fr;
  }
  .search-field {
    grid-column: 1/-1;
  }
  .size-field {
    max-width: none;
  }
  .filters .button {
    width: 100%;
    grid-column: 1/-1;
  }
  .table-scroll {
    position: relative;
    max-width: 100%;
  }
  .pagination {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-footer {
    padding: 15px 20px;
    flex-direction: column;
    gap: 4px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .login-layout {
    grid-template-columns: 1fr;
    margin: 15px auto;
    gap: 30px;
    max-width: 450px;
  }
  .login-layout h1 {
    font-size: 45px;
  }
  .login-card {
    max-width: none;
  }
  .scope-note {
    font-size: 10px;
  }
}
@media (max-width: 420px) {
  .print-link {
    display: none;
  }
  .page-heading {
    gap: 10px;
  }
  .subtitle {
    font-size: 11px;
  }
  .stat-card > span {
    font-size: 10px;
  }
  .stat-card small {
    font-size: 9px;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  .readonly-label {
    font-size: 8px;
  }
  .brand small {
    letter-spacing: 1px;
  }
  .nav-item {
    font-size: 11px;
  }
}
@media print {
  .sidebar,
  .topbar,
  .filters,
  .print-link,
  .scope-note,
  .pagination nav,
  .record-link,
  .back-link {
    display: none !important;
  }
  .app-shell {
    display: block;
  }
  .workspace {
    display: block;
  }
  main {
    padding: 0;
    max-width: none;
  }
  .page-footer {
    padding: 15px 0;
  }
  .table-scroll {
    position: relative;
    overflow: visible;
  }
  body {
    background: white;
    font-size: 10pt;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 10px;
  }
  .stat-card strong {
    font-size: 20px;
  }
  .registry-panel {
    border: 0;
  }
  .panel-heading {
    padding: 15px 0;
  }
  td,
  th {
    padding: 9px 10px;
  }
  thead {
    display: table-header-group;
  }
  tr {
    break-inside: avoid;
  }
  h1 {
    font-size: 28px;
  }
  .qualification {
    white-space: normal;
  }
  .status {
    color: #203c33 !important;
  }
  .page-heading {
    margin-bottom: 16px;
  }
  .pagination {
    padding: 10px;
  }
  .registry-panel {
    overflow: visible;
  }
}

/* Public professional account forms share the existing authentication shell. */
.portal-auth-card {
  margin: 12px auto;
  max-width: 520px;
}
.portal-auth-card input[type="checkbox"] {
  width: auto;
  padding: 0;
  margin-right: 8px;
}
.portal-auth-card input[type="checkbox"] + label {
  display: inline;
}
.portal-auth-card .errorlist {
  color: #99402f;
  font-size: 12px;
  padding-left: 20px;
}
.portal-auth-card > a {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
}

/* Shell appearances share the same authorized navigation links. */
.nav-category > summary {
  display: none;
}
.appearance-control {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.appearance-control select {
  max-width: 235px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
}
.sidebar {
  overflow-y: auto;
}
html[data-skin="right"] {
  --forest: #284861;
  --forest-deep: #192e42;
  --lime: #c9e4f5;
  --ink: #253e50;
  --canvas: #f1f5f8;
  --line: #dce5eb;
}
html[data-skin="dropdown"] {
  --forest: #654832;
  --forest-deep: #443528;
  --lime: #f0d9ae;
  --ink: #433b33;
  --canvas: #faf7f1;
  --line: #e8dfd2;
}
html[data-skin="dropdown"] .app-shell {
  grid-template-columns: minmax(0, 1fr);
}
html[data-skin="dropdown"] .sidebar {
  position: relative;
  height: auto;
  overflow: visible;
  padding: 20px 42px;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  z-index: 10;
}
html[data-skin="dropdown"] .institution-label {
  margin: 0;
  padding: 0 24px 0 0;
  border-bottom: 0;
  border-right: 1px solid #ffffff40;
}
html[data-skin="dropdown"] .category-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
html[data-skin="dropdown"] .nav-category {
  position: relative;
}
html[data-skin="dropdown"] .nav-category > summary {
  display: list-item;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
html[data-skin="dropdown"] .nav-category[open] > summary,
html[data-skin="dropdown"] .nav-category > summary:hover {
  background: #ffffff18;
}
.nav-category > summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}
html[data-skin="dropdown"] .category-links {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  background: var(--forest-deep);
  border: 1px solid #ffffff30;
  border-radius: 10px;
  box-shadow: 0 12px 28px #21170c30;
}
html[data-skin="right"] .selected,
html[data-skin="dropdown"] .selected {
  color: var(--forest-deep);
}
@media (min-width: 801px) {
  html[data-skin="right"] .app-shell {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  html[data-skin="right"] .sidebar {
    grid-column: 2;
    grid-row: 1;
  }
  html[data-skin="right"] .workspace {
    grid-column: 1;
    grid-row: 1;
  }
}
@media (min-width: 801px) and (max-width: 1200px) {
  html[data-skin="right"] .app-shell {
    grid-template-columns: minmax(0, 1fr) 215px;
  }
}
@media (max-width: 1100px) {
  .topbar {
    height: auto;
    min-height: 80px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  html[data-skin="dropdown"] .institution-label {
    display: none;
  }
}
@media (max-width: 800px) {
  .sidebar,
  html[data-skin="dropdown"] .sidebar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
  }
  .category-links {
    display: flex;
    flex-wrap: wrap;
  }
  .topbar-right {
    flex-wrap: wrap;
    gap: 12px;
  }
  .appearance-control {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .appearance-control select {
    max-width: 100%;
    min-width: 0;
  }
  html[data-skin="dropdown"] .category-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-skin="dropdown"] .category-links {
    position: static;
    min-width: 0;
    flex-direction: column;
    box-shadow: none;
    margin-top: 8px;
  }
}
@media print {
  .appearance-control {
    display: none;
  }
  html[data-skin="right"] .app-shell,
  html[data-skin="dropdown"] .app-shell {
    display: block;
  }
  html[data-skin="dropdown"] .sidebar {
    display: none;
  }
}

.sidebar-pin {
  align-self: flex-end;
  width: 36px;
  min-height: 36px;
  margin: -12px 0 16px;
  border: 1px solid #ffffff50;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 20px;
}
html[data-skin="dropdown"] .sidebar-pin {
  display: none;
}
@media (min-width: 801px) {
  html[data-sidebar-pinned="false"]:not([data-skin="dropdown"])
    .app-shell:not(:has(.sidebar:hover, .sidebar:focus-within)) {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  html[data-sidebar-pinned="false"][data-skin="right"]
    .app-shell:not(:has(.sidebar:hover, .sidebar:focus-within)) {
    grid-template-columns: minmax(0, 1fr) 64px;
  }
  html[data-sidebar-pinned="false"]:not([data-skin="dropdown"])
    .sidebar:not(:hover):not(:focus-within) {
    padding: 24px 14px;
  }
  html[data-sidebar-pinned="false"]:not([data-skin="dropdown"])
    .sidebar:not(:hover):not(:focus-within)
    > :not(.sidebar-pin) {
    display: none;
  }
  html[data-sidebar-pinned="false"]:not([data-skin="dropdown"])
    .sidebar:not(:hover):not(:focus-within)
    .sidebar-pin {
    align-self: center;
    margin: 0;
  }
}
@media (max-width: 800px), print {
  .sidebar-pin {
    display: none;
  }
}
