:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e2924;
  background: #f6f5f1;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --green: #305c48;
  --green-dark: #244735;
  --muted: #6c7770;
  --line: #e5e7df;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 15% 12%, rgba(224, 234, 216, 0.62), transparent 38%),
    #f6f5f1;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

textarea,
select {
  font: inherit;
}

.auth-layout {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.auth-card,
.panel {
  border: 1px solid rgba(229, 231, 223, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 253, 0.94);
  box-shadow: 0 18px 50px rgba(42, 58, 46, 0.06);
}

.auth-card {
  width: min(100%, 440px);
  padding: 44px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.2px;
  text-decoration: none;
}

.wordmark > span {
  color: #ba7c4f;
}

.wordmark small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.4px;
}

.eyebrow {
  margin: 34px 0 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -1px;
}

h1 {
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.15;
}

h2 {
  font-size: 21px;
}

.intro {
  margin: 13px 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

form {
  display: grid;
}

label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
}

input:not([type="hidden"]) {
  width: 100%;
  height: 48px;
  margin-bottom: 21px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  background: #fff;
}

input:focus {
  border-color: #6f977c;
  box-shadow: 0 0 0 3px rgba(48, 92, 72, 0.11);
}

button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

button:hover {
  background: var(--green-dark);
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #9bbda5;
  outline-offset: 3px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 253, 0.8);
}

.topbar .wordmark {
  font-size: 21px;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar nav > a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.topbar form {
  display: block;
}

.button-secondary {
  min-height: 38px;
  padding: 0 13px;
  background: transparent;
  color: var(--green);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  background: #f0f3ed;
}

.page-shell {
  width: min(100% - 40px, 1120px);
  margin: 52px auto;
}

.page-heading {
  margin-bottom: 30px;
}

.page-heading .eyebrow {
  margin-top: 0;
}

.page-heading .intro {
  margin-bottom: 0;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.summary-card,
.next-steps {
  padding: 26px;
}

.summary-card .eyebrow {
  margin: 0 0 16px;
}

.summary-value {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1px;
}

.muted {
  color: var(--muted);
  line-height: 1.6;
}

.status-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f5eee4;
  color: #785b37;
  font-size: 12px;
  font-weight: 600;
}

.next-steps {
  margin-top: 18px;
}

.next-steps .muted {
  max-width: 720px;
}

.text-link {
  color: var(--green);
  font-weight: 600;
}

.page-heading--row,
.section-title,
.record-editor-heading,
.form-actions,
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-heading--row {
  margin-bottom: 30px;
}

.page-heading--row .eyebrow {
  margin-top: 0;
}

.page-heading--row .intro {
  margin-bottom: 0;
}

.page-shell--narrow {
  max-width: 760px;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
}

.editor-section,
.danger-zone {
  margin-top: 18px;
  padding: 26px;
}

.editor-section > h2,
.danger-zone > h2 {
  margin-bottom: 12px;
}

.editor-form,
.record-editor {
  display: grid;
  gap: 10px;
}

.editor-section > .editor-form {
  margin-top: 20px;
}

.editor-form label,
.record-editor label {
  margin: 0 0 2px;
}

.editor-form input:not([type="hidden"]),
.record-editor input:not([type="hidden"]),
.editor-form select,
.record-editor select,
.editor-form textarea,
.record-editor textarea {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #1e2924;
}

.editor-form textarea,
.record-editor textarea {
  resize: vertical;
}

.form-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 8px;
}

.button-secondary,
.button-link,
.button-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button-link {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.button-link:hover {
  background: var(--green-dark);
}

.button-danger {
  border-color: #efc8bf;
  background: #fff8f6;
  color: #883a2a;
}

.button-danger:hover {
  background: #fff0eb;
}

.status-badge--active {
  background: #e7f2e9;
  color: #2f6842;
}

.status-badge--inactive {
  background: #f5e8e4;
  color: #883a2a;
}

.editor-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.record-editor {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.record-editor h3 {
  margin: 0;
  font-size: 16px;
}

.record-editor-heading {
  margin-bottom: 6px;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.editor-grid > div {
  display: grid;
  gap: 7px;
}

.editor-section > h3 {
  margin: 28px 0 16px;
}

.editor-section > .section-title + .editor-list {
  margin-top: 20px;
}

.bundle-form {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.history-details {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.history-details summary {
  cursor: pointer;
  font-weight: 600;
}

.history-details ul {
  display: grid;
  gap: 5px;
  padding-left: 20px;
}

.image-record-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-wrap: anywhere;
}

.image-record-heading img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: #f0f3ed;
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .topbar nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .editor-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.editor-field-wide {
  grid-column: 1 / -1;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}

.editor-form .checkbox-label input[type="checkbox"],
.record-editor .checkbox-label input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
}

.muted {
  color: var(--muted);
}

.status-badge--active {
  background: #e8f2e9;
  color: #305c48;
}

.status-badge--inactive {
  background: #f0efeb;
  color: #6c7770;
}

.table-panel {
  overflow: auto;
  padding: 6px 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 16px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.table-subtitle {
  display: block;
  max-width: 460px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.pagination {
  justify-content: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.pagination .button-secondary {
  min-height: 36px;
}

.empty-state {
  padding: 34px;
}

.empty-state h2 {
  margin-bottom: 8px;
}

.empty-note {
  color: var(--muted);
  font-size: 14px;
}

.property-preview {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9faf7;
}

.property-preview h3 {
  margin: 0;
  font-size: 16px;
}

.preview-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.preview-field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.preview-field > span {
  font-size: 13px;
  font-weight: 600;
}

.preview-field input:not([type="checkbox"]),
.preview-field select,
.preview-field textarea {
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.preview-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.preview-field--draft {
  padding: 10px;
  border: 1px dashed #9bbda5;
  border-radius: 8px;
  background: #fff;
}

.danger-zone {
  border-color: #efc8bf;
}

.danger-zone .editor-form {
  max-width: 520px;
  margin-top: 18px;
}

.alert {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid #f1c9bf;
  border-radius: 8px;
  background: #fff4f0;
  color: #883a2a;
  font-size: 13px;
  line-height: 1.5;
}

.alert--success {
  border-color: #b7d5be;
  background: #edf7ee;
  color: #305c48;
}

@media (max-width: 640px) {
  .auth-card {
    padding: 32px 24px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 0 18px;
  }

  .topbar nav {
    gap: 12px;
  }

  .page-heading--row,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .editor-grid {
    grid-template-columns: 1fr;
  }

  .editor-field-wide {
    grid-column: auto;
  }

  .preview-fields {
    grid-template-columns: 1fr;
  }

  .table-panel {
    padding: 4px 10px;
  }

  th,
  td {
    padding: 12px 7px;
  }
}

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #1b1c1a;
  background: #fbf9f6;
  --green: #033026;
  --green-dark: #1e473b;
  --muted: #656d69;
  --line: #e4e5e0;
  --surface: #fbf9f6;
  --surface-low: #f5f3f0;
  --surface-card: #fff;
}

body {
  background: var(--surface);
  color: #1b1c1a;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}

h1,
h2,
h3,
.wordmark,
.eyebrow,
.sidebar-link,
button,
label {
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}

h1 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3 {
  letter-spacing: -0.015em;
}

.admin-sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  display: flex;
  width: 256px;
  flex-direction: column;
  padding: 28px 16px 18px;
  border-right: 1px solid #e8e7e2;
  background: var(--surface-low);
  box-shadow: 1px 0 10px rgba(27, 28, 26, 0.035);
}

.admin-sidebar .wordmark {
  display: flex;
  width: fit-content;
  align-items: baseline;
  gap: 10px;
  padding: 0 10px;
  color: #1b1c1a;
  text-decoration: none;
}

.admin-sidebar .wordmark > .wordmark-name,
.auth-card .wordmark > .wordmark-name {
  color: #1b1c1a;
}

.wordmark-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.wordmark-period {
  color: var(--green);
}

.wordmark-label {
  color: #557267;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.sidebar-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 11px 10px 34px;
  color: #68726d;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.sidebar-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4b806c;
}

.sidebar-section-label {
  margin: 0 10px 9px;
  color: #747b77;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-navigation {
  display: grid;
  gap: 4px;
}

.sidebar-navigation .sidebar-section-label {
  margin-top: 0;
}

.sidebar-link {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: 8px;
  color: #545d58;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.sidebar-link .material-symbols-outlined,
.signout-button .material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}

.sidebar-link:hover {
  background: #eae8e5;
  color: #1b1c1a;
}

.sidebar-link.is-active {
  background: #1e473b;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  color: #fff;
  font-weight: 600;
}

.sidebar-account {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 10px;
  border: 1px solid #e8e7e2;
  border-radius: 12px;
  background: #efeeeb;
}

.account-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: #033026;
  color: white;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.account-identity {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

.account-identity strong,
.account-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-identity strong {
  font-size: 12px;
  font-weight: 600;
}

.account-identity span {
  color: var(--muted);
  font-size: 10px;
}

.sidebar-account form {
  display: block;
}

.signout-button {
  display: grid;
  width: 34px;
  min-height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #626b66;
}

.signout-button:hover {
  background: #e2e0dc;
  color: #1b1c1a;
}

.page-shell {
  width: min(1120px, calc(100vw - 304px));
  margin: 42px auto 56px calc(256px + max(24px, (100vw - 256px - 1120px) / 2));
}

.page-shell--narrow {
  max-width: 760px;
}

.page-heading {
  margin-bottom: 28px;
}

.page-heading--row {
  align-items: flex-end;
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #376757;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.intro {
  margin: 10px 0 0;
  color: #5c6560;
  font-size: 14px;
  line-height: 1.65;
}

.panel,
.auth-card {
  border: 1px solid #ecebe7;
  border-radius: 12px;
  background: var(--surface-card);
  box-shadow: 0 2px 8px rgba(30, 71, 59, 0.035);
}

.editor-section,
.danger-zone {
  margin-top: 16px;
  padding: 24px;
}

.summary-grid {
  gap: 16px;
}

.summary-card,
.next-steps {
  padding: 23px;
}

.summary-card .eyebrow {
  color: #65706a;
}

.summary-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-card-heading .eyebrow {
  margin: 0;
}

.summary-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  background: #e7f0eb;
  color: #376757;
  font-family: "Material Symbols Outlined";
  font-size: 19px;
}

.summary-value {
  color: #033026;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 36px;
}

.text-link {
  color: #1e473b;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.button-link,
button:not(.signout-button) {
  border-radius: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
}

.button-link,
button:not(.button-secondary):not(.button-danger):not(.signout-button) {
  background: #033026;
}

.button-link:hover,
button:not(.button-secondary):not(.button-danger):not(.signout-button):hover {
  background: #1e473b;
}

.button-secondary {
  border-color: #dedfda;
  background: #fff;
  color: #264f42;
}

.button-secondary:hover {
  background: #f1f3ef;
}

.button-danger {
  border-color: #f0c9c4;
  background: #fff;
  color: #9b302a;
}

.button-danger:hover {
  background: #fff0ee;
}

.status-badge {
  margin-top: 0;
  padding: 5px 9px;
  background: #f1f0ec;
  color: #58625d;
  font-size: 11px;
}

.status-badge--active {
  background: #e5f1eb;
  color: #245c47;
}

.status-badge--inactive {
  background: #f0efeb;
  color: #646d68;
}

.editor-form,
.record-editor {
  gap: 9px;
}

.editor-form input:not([type="hidden"]),
.record-editor input:not([type="hidden"]),
.editor-form select,
.record-editor select,
.editor-form textarea,
.record-editor textarea,
.preview-field input:not([type="checkbox"]),
.preview-field select,
.preview-field textarea {
  border-color: #dcdfda;
  border-radius: 7px;
  background: #fff;
  color: #1b1c1a;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
}

.editor-form input:not([type="hidden"]),
.record-editor input:not([type="hidden"]),
.editor-form select,
.record-editor select {
  min-height: 42px;
}

.editor-form input:focus,
.record-editor input:focus,
.editor-form select:focus,
.record-editor select:focus,
.editor-form textarea:focus,
.record-editor textarea:focus {
  border-color: #5f8d78;
  box-shadow: 0 0 0 3px rgba(55, 103, 87, 0.12);
  outline: 0;
}

.editor-form label,
.record-editor label {
  color: #343c37;
  font-size: 12px;
}

.record-editor {
  border-color: #e5e6e1;
  border-radius: 10px;
  background: #fff;
}

.editor-list {
  gap: 10px;
}

.table-panel {
  padding: 0 18px;
  border-radius: 12px;
}

table {
  font-size: 13px;
}

th,
td {
  padding: 14px 10px;
  border-bottom-color: #ecece8;
}

th {
  background: #f5f3f0;
  color: #626c67;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

tbody tr {
  transition: background-color 120ms ease;
}

tbody tr:hover {
  background: #f8f7f4;
}

.table-subtitle,
.muted,
.field-help {
  color: #66716b;
}

.empty-state {
  padding: 30px;
}

.property-preview {
  border-color: #e6e7e2;
  border-radius: 10px;
  background: #f7f7f4;
}

.alert {
  border-color: #efd0c9;
  border-radius: 8px;
  background: #fff5f2;
  color: #8e3d31;
}

.alert--success {
  border-color: #c5dfd0;
  background: #edf6f0;
  color: #245c47;
}

.danger-zone {
  border-color: #efceca;
  background: #fffdfc;
}

.danger-zone > h2 {
  color: #8e3d31;
}

.auth-layout {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(192, 236, 219, 0.22), transparent 42%),
    #fbf9f6;
}

.auth-error {
  display: grid;
  min-height: 100vh;
  align-items: center;
}

.auth-error .page-shell {
  width: min(560px, calc(100% - 40px));
  margin: 24px auto;
  padding: 28px;
}

.auth-error .panel {
  padding: 32px;
}

.auth-card {
  padding: 38px;
}

.auth-card .eyebrow {
  margin-top: 28px;
}

.auth-card input:not([type="hidden"]) {
  border-color: #dcdfda;
  border-radius: 7px;
}

.auth-card input:focus {
  border-color: #5f8d78;
  box-shadow: 0 0 0 3px rgba(55, 103, 87, 0.12);
}

.auth-card button {
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.image-record-heading img {
  flex-shrink: 0;
  border: 1px solid #e7e8e3;
  background: #f5f3f0;
  object-fit: contain;
}

code {
  border-radius: 4px;
  background: #f0efeb;
  color: #214e40;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(55, 103, 87, 0.4);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .admin-sidebar {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    padding: 14px 20px;
    border-right: 0;
    border-bottom: 1px solid #e8e7e2;
  }

  .sidebar-caption {
    margin: 0 auto 0 0;
  }

  .sidebar-navigation {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 4px;
    order: 2;
  }

  .sidebar-navigation .sidebar-section-label {
    display: none;
  }

  .sidebar-link {
    min-height: 38px;
    padding: 0 10px;
  }

  .sidebar-account {
    width: auto;
    margin: 0;
    padding: 4px;
    border: 0;
    background: transparent;
  }

  .account-identity {
    display: none;
  }

  .page-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 32px auto 48px;
  }
}

@media (max-width: 640px) {
  .admin-sidebar {
    gap: 10px;
    padding: 12px 14px;
  }

  .wordmark-name {
    font-size: 19px;
  }

  .sidebar-caption {
    display: none;
  }

  .sidebar-navigation {
    gap: 3px;
  }

  .sidebar-link {
    gap: 6px;
    padding: 0 8px;
    font-size: 11px;
  }

  .sidebar-link .material-symbols-outlined {
    font-size: 17px;
  }

  .page-shell {
    width: calc(100% - 28px);
    margin: 24px auto 36px;
  }

  .page-heading--row {
    align-items: flex-start;
  }

  .editor-section,
  .danger-zone {
    padding: 18px;
  }

  .summary-card,
  .next-steps {
    padding: 20px;
  }

  .table-panel {
    padding: 0 8px;
  }

  .auth-card {
    padding: 30px 22px;
  }
}
