/* Keyroom — quiet surfaces for the catalog; deep enamel for access controls. */
:root {
  color-scheme: light;
  --ink: #142d32;
  --sub: #52676a;
  --line: #d9e3e2;
  --canvas: #f3f7f6;
  --enamel: #16383e;
  --accent: #11686c;
  --hover: #0d5156;
  --tint: #e4f2ef;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  font:
    15px/1.55 -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.32;
  text-wrap: balance;
}
button,
input,
select {
  font: inherit;
  color: inherit;
  min-width: 0;
}
button,
a {
  touch-action: manipulation;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
[hidden] {
  display: none !important;
}
a {
  text-decoration: none;
  color: inherit;
}
:focus-visible {
  outline: 3px solid #308998;
  outline-offset: 2px;
}
.ico {
  display: block;
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}
.brand svg {
  width: 32px;
  height: 32px;
}
.brand b {
  font:
    700 25px/1 "Helvetica Neue",
    Arial,
    sans-serif;
  letter-spacing: -1.1px;
}
.primary,
.secondary,
.muted,
.danger,
.quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid transparent;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.primary {
  background: var(--accent);
  color: white;
}
.primary:hover {
  background: var(--hover);
}
.secondary,
.muted,
.quiet {
  background: white;
  border-color: #ccd9d8;
}
.secondary:hover,
.muted:hover,
.quiet:hover {
  background: #eef5f3;
}
.danger {
  color: #992f2c;
  border-color: #e5cfcd;
  background: #fff9f8;
}
.quiet {
  font-size: 13px;
  min-height: 32px;
  padding: 5px 10px;
}
.quiet .ico {
  width: 15px;
  height: 15px;
}
.dim,
.stat,
.dialog-help,
.blocklabel {
  color: var(--sub);
}
.mono,
.pin-input,
.code-strip,
.consent-code {
  font-family: var(--mono);
}
/* A full-viewport entrance. The combination dial is the only illustration. */
.welcome {
  height: 100svh;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  background: #f7faf9;
  padding: clamp(14px, 2.4vw, 38px);
  column-gap: 3vw;
}
.welcome-left {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  padding: clamp(14px, 3vw, 60px);
}
.welcome-center {
  align-self: center;
  padding: 20px 0;
  max-width: 32em;
}
.welcome-center h1 {
  font-size: clamp(42px, 4.4vw, 74px);
  line-height: 1.16;
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}
.welcome-step {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}
.lead {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.8;
  color: var(--sub);
  max-width: 24em;
}
.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 30px;
}
.mcp-guide {
  max-width: 65ch;
  overflow-wrap: anywhere;
}
.mcp-guide h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.mcp-guide p {
  font-size: 14px;
  color: var(--sub);
  margin-block: 7px;
}
.mcp-address {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.mcp-address .mcp-url {
  flex: 1;
  width: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px;
  background: var(--canvas);
  font: 13px var(--mono);
}
.mcp-address button {
  flex: none;
}
.mcp-guide .mcp-feedback {
  color: var(--accent);
}
.mcp-feedback:empty {
  display: none;
}
.mcp-guide .mcp-hint {
  margin: 8px 0 18px;
  font-size: 13px;
}
.mcp-guide details {
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.mcp-guide summary {
  cursor: pointer;
  font-size: 14px;
  padding-top: 10px;
  font-weight: 600;
}
.login-btn {
  gap: 40px;
  min-height: 45px;
  padding-inline: 18px;
}
.login-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sub);
  font-size: 13px;
}
.login-foot .ico {
  width: 16px;
}
.welcome-art {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 12px;
  background: radial-gradient(
    ellipse at 45% 36%,
    #476e73,
    #22464c 45%,
    #112e35 86%
  );
  color: #f7fbfa;
}
.welcome-art:before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid #9bbdbb55;
  border-radius: 5px;
  background:
    radial-gradient(circle, #b6ccca99 1.2px, transparent 2px) left 8px top 8px /
      8px 8px no-repeat,
    radial-gradient(circle, #b6ccca99 1.2px, transparent 2px) right 8px top
      8px / 8px 8px no-repeat;
}
.dial {
  position: absolute;
  inset: 2% -11% 12%;
  display: grid;
  place-items: center;
}
.dial svg {
  width: 100%;
  max-height: 100%;
}
.plate-caption {
  position: absolute;
  bottom: 7%;
  left: 8%;
  right: 8%;
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid #99bab855;
  padding-top: 17px;
}
.plate-caption > .ico {
  width: 30px;
  height: 30px;
  color: #bddad6;
}
.plate-caption b {
  font-size: 19px;
}
.plate-caption p {
  font-size: 13px;
  color: #d5e5e3;
}
/* Workspace */
.shell {
  display: grid;
  grid-template-columns: clamp(188px, 16vw, 238px) minmax(0, 1fr);
  min-height: 100svh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 23px 14px 17px;
  min-width: 0;
  background: var(--enamel);
  color: #f5fbfa;
}
.sidebar > .brand {
  margin: 0 10px 40px;
}
.navlabel {
  margin: 0 12px 10px;
  font-size: 12px;
  color: #adcbc9;
}
.sidebar nav {
  display: grid;
  gap: 4px;
}
.navitem {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 6px;
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  color: #d6e6e4;
}
.navitem:hover,
.sidebar .icon-only:hover {
  background: #265158;
}
.navitem[aria-current="page"] {
  color: #fff;
  background: #315b60;
  font-weight: 650;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #456068;
  padding-top: 15px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: #d1e2dc;
  color: var(--enamel);
  font-weight: 650;
}
.account {
  min-width: 0;
  flex: 1;
  display: grid;
}
.account b {
  font-size: 13px;
}
.account small {
  color: #bfcece;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.icon-only {
  color: #d2e3e2;
  padding: 8px;
  border-radius: 5px;
}
.icon-only span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.work-body,
.heading,
.rail {
  min-width: 0;
}
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  min-height: 59px;
  padding: 8px clamp(20px, 3.2vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.crumb,
.top-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--sub);
}
.crumb i {
  font-style: normal;
  color: #9aabab;
}
.crumb .ico {
  width: 15px;
  height: 15px;
}
.crumb b {
  font-weight: 550;
  color: var(--ink);
}
.environment {
  border: 1px solid #c8d8d4;
  padding: 2px 7px;
  border-radius: 4px;
  color: #4d6865;
  font-size: 11px;
  white-space: nowrap;
}
.content {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(24px, 3.1vw, 52px) clamp(20px, 3.2vw, 56px) 45px;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 27px;
}
.heading h1 {
  font-size: clamp(30px, 2.7vw, 41px);
  letter-spacing: -0.045em;
  font-weight: 680;
}
.heading p {
  font-size: 14px;
  color: var(--sub);
  margin-top: 6px;
}
.page-title .primary {
  flex: none;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(227px, 21vw, 306px);
  gap: clamp(16px, 2vw, 30px);
  align-items: start;
}
.library,
.auth-panel,
.page-area > section {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.library {
  overflow: hidden;
}
.list-title {
  padding: 19px 20px 12px;
}
.list-title h2,
.auth-head h2,
.page-area > section h2 {
  font-size: 18px;
  font-weight: 650;
}
.list-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px 17px;
}
.tabs {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px;
  background: #f3f6f5;
}
.tabs button {
  font-size: 13px;
  padding: 4px 12px;
  color: var(--sub);
  border-radius: 4px;
  font-weight: 540;
  min-height: 28px;
}
.tabs button[aria-pressed="true"] {
  background: white;
  box-shadow:
    0 0 0 1px #c9d7d5,
    0 1px 2px #18372e12;
  color: var(--accent);
  font-weight: 660;
}
.searchbox {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cdd9d8;
  border-radius: 5px;
  padding: 0 9px;
  color: var(--sub);
  width: clamp(145px, 15vw, 240px);
  max-width: 100%;
}
.searchbox:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.searchbox .ico {
  width: 16px;
}
.searchbox input {
  appearance: none;
  border: 0;
  background: transparent;
  outline: none;
  flex: 1;
  height: 34px;
  font-size: 13px;
  color: var(--ink);
}
.table-head,
.entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(52px, 0.22fr) 68px 14px;
  gap: 10px;
  align-items: center;
  padding: 0 20px;
}
.table-head {
  border-block: 1px solid var(--line);
  height: 34px;
  background: #f6f9f8;
  color: var(--sub);
  font-size: 12px;
}
.entry {
  width: 100%;
  min-height: 62px;
  text-align: left;
  border-bottom: 1px solid #e6ecea;
}
.entry:last-child {
  border-bottom: 0;
}
.entry:hover,
.entry:focus-visible {
  background: #f0f7f5;
}
.entry:focus-visible {
  outline-offset: -3px;
}
.entry > .ico {
  width: 14px;
  color: #718783;
}
.item-main {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.item-icon,
.dlg-icon,
.dot-ico {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex: none;
  color: #3e6768;
  background: #edf4f2;
}
.item-name,
.recent-text {
  display: grid;
  min-width: 0;
}
.item-name strong,
.recent-text strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 600;
}
.mobile-owner {
  display: none;
}
.entry .creator {
  font-size: 13px;
  color: var(--sub);
}
.scope {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 12px;
  white-space: nowrap;
}
.scope .ico {
  width: 13px;
  height: 13px;
}
.scope.private {
  background: #eceff3;
  color: #475a6c;
}
.scope.team {
  background: var(--tint);
  color: #2d6057;
}
.list-total {
  font-size: 12px;
  color: var(--sub);
  padding: 10px 20px;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.empty {
  min-height: 180px;
  padding: 24px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  text-align: center;
}
.empty .ico {
  color: var(--accent);
  width: 27px;
  height: 27px;
}
.empty p,
.dim {
  font-size: 13px;
  color: var(--sub);
}
/* Verification is distinct from navigation; the code never implies approval. */
.rail {
  display: grid;
  gap: 24px;
}
.auth-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 0 10px;
  padding: 18px 18px 13px;
  border-bottom: 1px solid var(--line);
  background: #e9f2ef;
  border-radius: 8px 8px 0 0;
}
.auth-head > .ico {
  grid-row: 1;
  color: var(--accent);
  width: 32px;
  height: 32px;
  padding: 5px;
  border: 1px solid #b3ceca;
  border-radius: 7px;
}
.auth-head small {
  grid-column: 1/-1;
  color: #4b6764;
  font-size: 12px;
  margin-top: 7px;
}
.auth-body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 8px;
}
.auth-body label,
.blocklabel {
  font-size: 13px;
  font-weight: 580;
}
.pin-input {
  width: 100%;
  height: 42px;
  border: 1px solid #b9cbca;
  border-radius: 5px;
  letter-spacing: 0.28em;
  text-align: center;
  font-size: 21px;
}
.pin-input::placeholder {
  font:
    14px/1.5 -apple-system,
    sans-serif;
  letter-spacing: 0.08em;
  color: #6a7b7b;
}
.full {
  margin-top: 2px;
  width: 100%;
  justify-content: space-between;
}
.recent {
  padding: 0 2px;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.section-top h2 {
  font-size: 16px;
}
.text-action {
  font-size: 12px;
  color: var(--accent);
  padding: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.recent-line {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.dot-ico {
  background: transparent;
  border: 1px solid #d3e0dc;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.dot-ico .ico {
  width: 14px;
  height: 14px;
}
.recent-text strong {
  font-size: 13px;
}
.recent-text small,
.record small {
  font-size: 12px;
  color: var(--sub);
}
.auth-page {
  max-width: 465px;
}
.page-area > section {
  padding: 20px 23px;
  max-width: 1040px;
  margin-bottom: 15px;
  overflow-wrap: anywhere;
}
.stat {
  font-size: 14px;
  margin: 8px 0 14px;
}
.row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.page-area section .row {
  justify-content: space-between;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.page-area section .row button,
.page-area section > button {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.record {
  display: grid;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.record strong {
  font-weight: 600;
  font-size: 14px;
}
.log-action {
  font-size: 13px;
  color: var(--sub);
}
.page-area > section .list-total {
  padding-inline: 0;
}
.page-area summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 0;
}
/* Forms, credentials and consent. */
dialog,
.consent-sheet {
  color: var(--ink);
  border: 1px solid #bdcecb;
  background: #fff;
  border-radius: 11px;
  width: min(460px, calc(100% - 28px));
  overflow-wrap: anywhere;
}
dialog {
  padding: 0;
  max-height: 90svh;
  overflow: auto;
  box-shadow: 0 18px 80px #0b282c38;
}
dialog::backdrop {
  background: #0e282d66;
  backdrop-filter: blur(3px);
}
#dialog {
  padding: 25px;
}
.dlg-icon {
  width: 36px;
  height: 36px;
  background: var(--tint);
  color: var(--accent);
  margin-bottom: 13px;
}
dialog h2,
.consent-sheet h1 {
  font-size: 23px;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
}
.dialog-help {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
#fields > label {
  display: grid;
  gap: 5px;
  margin: 13px 0;
  font-size: 13px;
  font-weight: 600;
}
#fields input,
#fields select,
.consent-sheet input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #bdcdcb;
  border-radius: 5px;
  background: white;
  min-height: 39px;
  font-weight: 450;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.verification {
  background: #eef5f2;
  border: 1px solid #d1e1da;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 13px;
}
.code-strip {
  display: flex;
  gap: 6px;
  margin-top: 7px;
}
.code-strip span {
  width: 31px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #bdcfca;
  border-radius: 4px;
  font-size: 21px;
  background: white;
  color: var(--enamel);
}
.facts {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  font-size: 13px;
  gap: 7px 12px;
  margin: 0 0 14px;
}
.facts dt {
  color: var(--sub);
}
.facts dd,
.item-id {
  overflow-wrap: anywhere;
}
.facts dd {
  font-weight: 560;
}
.facts .mono,
.item-id {
  font-size: 12px;
  color: #47615e;
}
.item-id {
  padding: 8px;
  background: var(--canvas);
  border-radius: 4px;
  margin: 4px 0 16px;
}
#note {
  position: fixed;
  z-index: 2;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 28px);
  padding: 9px 16px;
  background: #193b3d;
  color: white;
  box-shadow: 0 4px 18px #183a3324;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}
#note.error {
  background: #8f352e;
}
#note:empty {
  display: none;
}
.consent-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--canvas);
}
.consent-sheet {
  width: min(100%, 460px);
  padding: clamp(20px, 4vw, 35px);
}
.consent-brand {
  color: var(--accent);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 19px;
}
.consent-sheet p {
  color: var(--sub);
  margin: 10px 0;
}
.consent-sheet input[type="text"] {
  display: block;
  margin-block: 12px;
  font: 20px var(--mono);
}
.consent-sheet .primary,
.consent-sheet .secondary {
  margin-top: 12px;
}
.consent-sheet .consent-code {
  font-size: 25px;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 650;
}
@media (max-width: 1140px) and (min-width: 761px) {
  .shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .content {
    padding-inline: 20px;
  }
  .columns {
    grid-template-columns: minmax(0, 1fr) 222px;
    gap: 16px;
  }
  .table-head,
  .entry {
    grid-template-columns: minmax(0, 1fr) 60px 12px;
    padding-inline: 14px;
  }
  .creator {
    display: none;
  }
  .mobile-owner {
    display: block;
    font-size: 11px;
    color: var(--sub);
  }
}
@media (max-width: 920px) {
  .columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 12px 15px 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .sidebar > .brand {
    margin: 0;
  }
  .sidebar .brand b {
    font-size: 22px;
  }
  .sidebar .brand svg {
    width: 28px;
    height: 28px;
  }
  .navlabel {
    display: none;
  }
  .sidebar-bottom {
    grid-column: 2;
    grid-row: 1;
    border: 0;
    padding: 0;
    align-self: center;
    margin: 0;
  }
  .sidebar-bottom .account,
  .sidebar-bottom .avatar {
    display: none;
  }
  .sidebar nav {
    grid-column: 1/-1;
    display: flex;
    gap: 3px;
    overflow: auto;
    padding: 2px;
  }
  .navitem {
    flex: none;
    padding: 7px 8px;
    gap: 5px;
    font-size: 13px;
  }
  .navitem .ico {
    width: 15px;
    height: 15px;
  }
  .topbar {
    min-height: 45px;
    padding: 5px 16px;
  }
  .content {
    padding: 23px 15px 35px;
  }
  .page-title {
    margin-bottom: 20px;
  }
  .welcome {
    padding: 13px;
    gap: 8px;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(0, 0.88fr);
    min-height: 465px;
  }
  .welcome-left {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    padding: 10px;
  }
  .welcome-center {
    grid-column: 1/-1;
    grid-row: 2;
    padding: 5px 0;
  }
  .welcome-center h1 {
    font-size: 38px;
    margin-bottom: 9px;
  }
  .welcome .brand b {
    font-size: 22px;
  }
  .lead {
    font-size: 15px;
    line-height: 1.65;
  }
  .login-foot {
    grid-column: 2;
    grid-row: 1;
    font-size: 11px;
    gap: 5px;
  }
  .welcome-actions {
    margin-top: 17px;
  }
  .login-btn {
    min-height: 38px;
  }
  .welcome-art:before {
    inset: 10px;
  }
  .dial {
    inset: -12% -20% 4% 14%;
  }
  .plate-caption {
    bottom: 20px;
    left: 21px;
    right: auto;
    border: 0;
    gap: 6px;
    max-width: 140px;
    padding: 5px;
    background: #16383ee6;
    border-radius: 5px;
  }
  .plate-caption > .ico {
    width: 19px;
  }
  .plate-caption b {
    font-size: 15px;
  }
  .plate-caption p {
    font-size: 11px;
  }
}
@media (max-width: 590px) {
  .sidebar nav {
    flex-wrap: wrap;
  }
  .navitem {
    flex: 1 0 auto;
    justify-content: center;
    min-height: 36px;
    font-size: 12px;
    padding-inline: 6px;
  }
  .navitem .ico {
    display: none;
  }
  .rail {
    grid-template-columns: minmax(0, 1fr);
  }
  .creator {
    display: none;
  }
  .mobile-owner {
    display: block;
    font-size: 11px;
    color: var(--sub);
  }
  .table-head,
  .entry {
    grid-template-columns: minmax(0, 1fr) 60px 10px;
    padding-inline: 13px;
    gap: 6px;
  }
  .list-title {
    padding: 15px 13px 10px;
  }
  .list-controls {
    padding: 0 13px 13px;
    gap: 8px;
  }
  .tabs button {
    padding-inline: 9px;
  }
  .searchbox {
    flex: 1 1 112px;
    width: auto;
  }
  .item-main {
    gap: 8px;
  }
  .list-total {
    padding-inline: 13px;
  }
  .page-title {
    align-items: start;
  }
  .heading h1 {
    font-size: 29px;
  }
  .heading p {
    font-size: 13px;
  }
  .page-title .primary {
    font-size: 13px;
    padding-inline: 10px;
  }
  .environment {
    font-size: 10px;
  }
  .crumb,
  .top-tools {
    gap: 6px;
  }
  .crumb .ico {
    display: none;
  }
  .page-area > section {
    padding: 17px;
  }
  #dialog {
    padding: 19px;
  }
}
@media (max-height: 540px) and (orientation: landscape) {
  .welcome {
    height: auto;
    min-height: 100svh;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .welcome-left {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  .welcome-center {
    margin-block: auto;
  }
  .welcome-center h1 {
    font-size: 32px;
  }
}
