:root {
  color-scheme: light;
  --page-max: 1180px;
  --mail-max: 1320px;
  --bg: #f3f6f8;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --surface-soft: #edf4f2;
  --border: #d8e0e8;
  --border-strong: #c5d0dc;
  --text: #1b2632;
  --muted: #647384;
  --accent: #0f766e;
  --accent-dark: #0b5c56;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --amber-soft: rgba(217, 119, 6, 0.1);
  --danger: #b42318;
  --shadow: 0 18px 45px rgba(31, 42, 55, 0.1);
  --shadow-soft: 0 10px 28px rgba(31, 42, 55, 0.08);
  --shadow-hover: 0 22px 52px rgba(31, 42, 55, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.11) 0, rgba(217, 119, 6, 0.08) 38%, rgba(247, 248, 251, 0) 72%),
    linear-gradient(180deg, #edf6f3 0, #f7f8fb 360px, var(--bg) 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

::selection {
  background: var(--accent-soft);
}

button,
input,
select {
  font: inherit;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--page-max), calc(100vw - 32px));
  margin: 14px auto 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(216, 224, 232, 0.86);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 42, 55, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.nav-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-pill {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: transparent;
}

.shell {
  width: min(var(--page-max), calc(100vw - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
}

.public-page:not(.inbox-open) .shell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(980px, calc(100vw - 24px));
  min-height: 100svh;
  padding: 18px 0;
}

.topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  animation: rise-in 360ms ease both;
}

.public-page:not(.inbox-open) .topbar {
  justify-content: center;
  text-align: center;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
}

h2 {
  margin-bottom: 0;
  font-size: 18px;
}

.tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  min-width: 210px;
  padding: 4px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.tab {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  min-height: 38px;
  cursor: pointer;
}

.tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(31, 42, 55, 0.08);
}

.panel {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 20px;
  backdrop-filter: blur(14px);
  animation: rise-in 300ms ease both;
}

.public-view {
  display: grid;
  gap: 22px;
}

.public-page {
  background:
    radial-gradient(circle at 18% 10%, rgba(20, 184, 166, 0.14), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(217, 119, 6, 0.08), transparent 30%),
    #071412;
  color: #d8fbe8;
}

.public-page .navbar,
.public-page .topbar {
  display: none;
}

.public-page .navbar {
  background: rgba(6, 20, 18, 0.88);
  border-color: rgba(45, 212, 191, 0.22);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.public-page .brand,
.public-page .brand small {
  color: #d8fbe8;
}

.public-page .nav-pill {
  color: #61f3cd;
  background: rgba(45, 212, 191, 0.12);
}

.public-page .eyebrow {
  color: #61f3cd;
}

.public-page h1 {
  color: #f3fff9;
}

.public-page:not(.inbox-open) .public-view {
  justify-items: center;
  width: 100%;
}

.terminal-public {
  justify-items: center;
}

.terminal-card {
  width: min(980px, 100%);
  overflow: hidden;
  background: rgba(3, 12, 11, 0.94);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  animation: rise-in 360ms ease both;
}

.public-page.inbox-open .terminal-card {
  width: 100%;
}

.terminal-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  background: linear-gradient(180deg, #10201d, #0b1715);
  border-bottom: 1px solid rgba(45, 212, 191, 0.18);
  color: #b7f7dd;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2dd4bf;
}

.terminal-dots span:nth-child(2) {
  background: #d97706;
}

.terminal-dots span:nth-child(3) {
  background: #64748b;
}

.terminal-refresh,
.terminal-enter,
.terminal-paste {
  min-height: 34px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 6px;
  background: rgba(45, 212, 191, 0.1);
  color: #99f6e4;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
}

.terminal-refresh {
  visibility: hidden;
}

.public-page.inbox-open .terminal-refresh {
  visibility: visible;
}

.terminal-screen {
  min-height: 360px;
  max-height: 58vh;
  overflow: auto;
  padding: 18px;
  background:
    linear-gradient(rgba(45, 212, 191, 0.035) 1px, transparent 1px),
    #06110f;
  background-size: 100% 28px;
}

.public-page.inbox-open .terminal-screen {
  min-height: 540px;
  max-height: calc(100svh - 150px);
}

.terminal-output {
  display: grid;
  gap: 12px;
  color: #d8fbe8;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.55;
}

.terminal-output p {
  margin: 0;
}

.terminal-output a {
  color: #5eead4;
  font-weight: 700;
  text-decoration: none;
}

.terminal-output a:hover {
  color: #99f6e4;
  text-decoration: underline;
}

.terminal-muted {
  color: #5eead4;
}

.terminal-error {
  color: #fca5a5;
}

.terminal-index {
  color: #fbbf24;
}

.terminal-message {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(45, 212, 191, 0.16);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.34);
  overflow-wrap: anywhere;
}

.terminal-message strong {
  color: #f3fff9;
}

.terminal-message pre {
  margin: 4px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #b6c9c1;
  font-family: inherit;
}

.terminal-code {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  min-width: min(100%, 220px);
  min-height: 76px;
  margin-top: 6px;
  padding: 12px 18px;
  border: 1px solid rgba(251, 191, 36, 0.38);
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
  font-family: Consolas, "Courier New", monospace;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.terminal-prompt {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 16px;
  background: #071412;
  border-top: 1px solid rgba(45, 212, 191, 0.18);
}

.prompt-label {
  color: #5eead4;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
  white-space: nowrap;
}

.terminal-key-field {
  position: relative;
  min-width: 0;
}

.terminal-prompt input {
  min-height: 38px;
  padding-right: 82px;
  border-color: rgba(45, 212, 191, 0.24);
  background: rgba(2, 8, 7, 0.9);
  color: #d8fbe8;
  font-family: Consolas, "Courier New", monospace;
}

.terminal-paste {
  position: absolute;
  top: 5px;
  right: 5px;
  min-height: 28px;
  padding: 0 12px;
  background: rgba(45, 212, 191, 0.16);
  color: #ccfbf1;
  font-size: 12px;
}

.terminal-paste:hover,
.terminal-enter:hover,
.terminal-refresh:hover {
  border-color: rgba(94, 234, 212, 0.62);
  background: rgba(45, 212, 191, 0.18);
}

.terminal-status {
  min-height: 0;
  margin: 0;
  padding: 0 18px 14px;
  color: #5eead4;
  font-family: Consolas, "Courier New", monospace;
}

.access-card {
  max-width: 620px;
  position: relative;
  overflow: hidden;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 20px;
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
  animation: rise-in 420ms ease both;
}

.access-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #d97706);
}

.access-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.public-page:not(.inbox-open) .access-card {
  width: 100%;
  max-width: 640px;
  padding: 24px;
}

.key-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.hidden {
  display: none !important;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.7fr) auto;
  gap: 14px;
  align-items: end;
}

.form-grid.compact {
  grid-template-columns: minmax(220px, 420px) auto;
  justify-content: start;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 11px;
  color: var(--text);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 11px;
  color: var(--text);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

input:focus,
select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  transform: translateY(-1px);
}

input:hover,
select:hover {
  border-color: var(--border-strong);
}

button {
  min-height: 42px;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}

.primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.28);
  transform: translateY(-1px);
}

.primary:active,
.ghost:active {
  transform: translateY(0);
}

.ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(31, 42, 55, 0.04);
}

.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.ghost.danger {
  color: var(--danger);
}

.status {
  min-height: 24px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.public-page:not(.inbox-open) .status {
  text-align: center;
}

.status.error {
  color: var(--danger);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.3fr);
  gap: 18px;
  margin-top: 0;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(14px);
  animation: rise-in 260ms ease both;
}

.list-panel,
.detail-panel,
.admin-panel {
  border-top: 0;
  padding-top: 0;
}

.admin-panel {
  margin-top: 14px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-form {
  grid-template-columns: minmax(210px, 0.8fr) minmax(210px, 0.8fr) minmax(180px, 0.7fr) auto;
}

.alias-form {
  margin-top: 18px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.alias-form label:has(#aliasEmail),
.alias-form label:has(#aliasKey) {
  grid-column: span 2;
}

.alias-form button {
  padding-inline: 12px;
  white-space: nowrap;
}

.table-card {
  margin-top: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(31, 42, 55, 0.04);
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  background: linear-gradient(180deg, #fbfefd, #f7faf9);
  border-bottom: 1px solid var(--border);
}

.table-toolbar h3,
.table-toolbar p {
  margin: 0;
}

.table-toolbar h3 {
  font-size: 15px;
}

.table-toolbar p {
  color: var(--muted);
  font-size: 13px;
}

.table-controls {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(190px, 240px) minmax(130px, 160px);
  gap: 8px;
  align-items: center;
}

.table-controls input,
.table-controls select {
  min-height: 38px;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  background: #fbfefd;
  border-top: 1px solid var(--border);
}

.message-list {
  display: grid;
  gap: 8px;
}

.message-row {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 88px;
  padding: 12px;
  text-align: left;
  font-weight: 400;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(31, 42, 55, 0.03);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.message-row:hover,
.message-row.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
  background: #fbfefd;
}

.message-row strong {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.message-meta {
  color: var(--muted);
  font-size: 13px;
}

.message-snippet {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.message-row strong,
.message-meta,
.message-snippet {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.message-row strong,
.message-meta {
  -webkit-line-clamp: 1;
}

.message-snippet {
  -webkit-line-clamp: 3;
}

.message-detail {
  min-height: 360px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  overflow: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.message-detail.empty,
.message-list.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  min-height: 180px;
  border: 1px dashed var(--border);
  border-radius: 8px;
}

.detail-head {
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.detail-head h2 {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.email-body {
  overflow-wrap: anywhere;
}

.email-body img,
.email-body table {
  max-width: 100%;
}

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 42, 55, 0.04);
}

.table-card .table-wrap {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.public-page.inbox-open .shell {
  width: min(var(--mail-max), calc(100vw - 32px));
  min-height: 100svh;
  padding-top: 18px;
  padding-bottom: 18px;
}

.public-page.inbox-open .navbar {
  width: min(var(--mail-max), calc(100vw - 32px));
}

.public-page.inbox-open .topbar {
  margin-bottom: 14px;
}

.public-page.inbox-open h1 {
  font-size: clamp(26px, 2.5vw, 34px);
}

.public-page.inbox-open .public-view {
  gap: 14px;
}

.public-page.inbox-open .access-card {
  display: grid;
  grid-template-columns: minmax(320px, 620px) minmax(160px, 1fr);
  align-items: end;
  gap: 14px;
  max-width: none;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}

.public-page.inbox-open .access-card:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

.public-page.inbox-open .key-form {
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
}

.public-page.inbox-open .access-card label {
  gap: 5px;
}

.public-page.inbox-open .access-card input,
.public-page.inbox-open .access-card button {
  min-height: 38px;
}

.public-page.inbox-open .access-card .status {
  align-self: end;
  margin: 0 0 7px;
  text-align: right;
}

.public-page.inbox-open .workspace {
  grid-template-columns: minmax(320px, 430px) minmax(520px, 1fr);
  gap: 0;
  min-height: 560px;
  padding: 0;
  overflow: hidden;
}

.public-page.inbox-open .access-card,
.public-page.inbox-open .workspace {
  width: 100%;
}

.public-page.inbox-open .list-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  background: rgba(251, 254, 253, 0.72);
  border-right: 1px solid var(--border);
}

.public-page.inbox-open .detail-panel {
  min-width: 0;
  padding: 18px;
  background: #fff;
}

.public-page.inbox-open .section-head {
  margin-bottom: 14px;
}

.public-page.inbox-open .message-list {
  align-content: start;
  max-height: 488px;
  overflow: auto;
  padding-right: 3px;
}

.public-page.inbox-open .message-row {
  min-height: 112px;
  padding: 14px;
}

.public-page.inbox-open .message-detail {
  min-height: 100%;
  border-color: var(--border);
}

.public-page.inbox-open .message-detail.empty {
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.05), rgba(217, 119, 6, 0.04)),
    #fff;
  color: var(--muted);
  font-size: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 13px;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr {
  transition: background 140ms ease;
}

tbody tr:hover {
  background: #fbfefd;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100vw - 20px, 1180px);
    padding: 14px 0;
  }

  .navbar {
    width: min(100vw - 20px, 1180px);
    margin-top: 10px;
  }

  .public-page:not(.inbox-open) .shell {
    width: min(100vw - 20px, 980px);
    min-height: 100svh;
    padding: 10px 0;
  }

  .terminal-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .terminal-bar strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .terminal-refresh {
    justify-self: end;
  }

  .terminal-screen {
    min-height: 340px;
    max-height: 60vh;
    padding: 14px;
  }

  .public-page.inbox-open .terminal-screen {
    min-height: 420px;
    max-height: calc(100svh - 150px);
  }

  .terminal-prompt {
    grid-template-columns: 1fr;
    padding: 12px 14px 14px;
  }

  .terminal-key-field {
    width: 100%;
  }

  .prompt-label {
    white-space: normal;
  }

  .terminal-code {
    width: 100%;
    font-size: 34px;
  }

  .topbar,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .tabs,
  .form-grid,
  .key-form,
  .account-form,
  .alias-form,
  .table-controls,
  .form-grid.compact,
  .workspace {
    grid-template-columns: 1fr;
  }

  .table-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .table-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .panel {
    padding: 14px;
  }

  .public-page.inbox-open .shell {
    width: min(100vw - 20px, 1180px);
    padding-top: 14px;
  }

  .public-page.inbox-open .access-card,
  .public-page.inbox-open .workspace,
  .public-page.inbox-open .key-form {
    grid-template-columns: 1fr;
  }

  .public-page.inbox-open .access-card .status {
    text-align: left;
    margin: 0;
  }

  .public-page.inbox-open .list-panel {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .public-page.inbox-open .message-list {
    max-height: 360px;
  }
}
