:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #1d1d1b;
  background: #f7f7f5;
  font-synthesis: none;
  --pink: #e82f85;
  --line: #e5e5e0;
  --muted: #6a6a66;
  --dark: #1d1d1b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
}
h2 {
  font-size: 28px;
}
h3 {
  font-size: 20px;
}
p {
  line-height: 1.6;
}
img {
  max-width: 100%;
}
.logo {
  display: block;
  width: 160px;
  height: auto;
}
.eyebrow {
  font-size: 10px !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.lead {
  font-size: 19px;
  max-width: 620px;
  line-height: 1.6;
  color: #5f5f5a;
}
.button {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 13px 19px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
}
.button.dark {
  background: var(--dark);
  color: white;
}
.button.dark:hover {
  background: #3b3b37;
}
.button.light {
  background: #f3f3ef;
  border-color: var(--line);
}
.button.light:hover {
  background: #eaeae5;
}
.button.white {
  background: white;
  color: var(--dark);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.skip {
  position: fixed;
  left: 10px;
  top: -100px;
  padding: 12px;
  background: white;
  z-index: 99;
}
.skip:focus {
  top: 10px;
}
.loading {
  padding: 60px;
  color: var(--muted);
}
.notice {
  position: fixed;
  z-index: 100;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1d1d1b;
  color: white;
  border-radius: 8px;
  padding: 14px 24px;
  max-width: 90vw;
  box-shadow: 0 6px 30px #0002;
}
.form-error {
  color: #a20043;
  font-size: 13px;
  min-height: 22px;
  margin: 12px 0;
}
.success {
  padding: 12px;
  background: #e7f2e9;
  color: #2b6641;
  margin: 16px 0;
  font-size: 13px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}
input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  background: white;
  border: 1px solid #d8d8d2;
  border-radius: 5px;
  font-size: 14px;
  color: var(--dark);
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge.published {
  background: #e8f1e9;
  color: #356044;
}
.badge.draft {
  background: #fae8f0;
  color: #a82260;
}
.badge.archived {
  background: #eee;
  color: #696965;
}
.empty {
  text-align: center;
  padding: 64px 24px;
  grid-column: 1/-1;
}
.empty h2 {
  font-size: 26px;
  margin: 14px 0;
}
.empty p {
  margin: 14px auto 24px;
  max-width: 530px;
}
.empty-mark {
  display: block;
  color: var(--pink);
  font-size: 46px;
}
.text-link {
  font-size: 13px;
}
.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 5vw;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.public-header .logo {
  width: 125px;
}
.public-header nav {
  display: flex;
  gap: 34px;
  font-size: 12px;
}
.public-header a {
  text-decoration: none;
}
.public-header nav a[aria-current="page"] {
  color: var(--pink);
}
.back-showcase {
  font-size: 11px;
}
.public-main {
  margin: 0 5vw;
}
.public-hero {
  padding: 90px 0 100px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}
.public-hero > .eyebrow {
  grid-column: 1/-1;
  margin: 0;
}
.public-hero h1 {
  font-size: clamp(64px, 8.5vw, 132px);
  letter-spacing: -0.075em;
  font-weight: 500;
  line-height: 0.97;
}
.public-hero h1 em {
  font-style: normal;
  color: var(--pink);
}
.hero-aside {
  align-self: end;
  max-width: 365px;
  justify-self: end;
}
.hero-aside > p {
  font-size: 17px;
  color: var(--muted);
}
.hero-aside .button {
  margin: 28px 0 20px;
}
.hero-aside .muted {
  font-size: 12px;
}
.ecosystem-public {
  border-top: 1px solid var(--line);
  padding: 70px 0;
}
.ecosystem-public h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.1;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.brand-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  background: #fff;
}
.brand-card h3 {
  font-size: 36px;
  margin: 26px 0 14px;
}
.card-number {
  font-size: 11px;
  color: var(--pink);
}
.brand-card strong {
  font-size: 13px;
}
.brand-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 34px;
  max-width: 250px;
}
.brand-card a {
  margin-top: auto;
  font-size: 12px;
}
.reveal-strip {
  background: var(--dark);
  color: white;
  border-radius: 10px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 70px;
}
.reveal-strip .eyebrow {
  margin: 0;
}
.reveal-strip strong {
  font-size: clamp(28px, 4.6vw, 70px);
  font-weight: 400;
  letter-spacing: -0.06em;
}
.reveal-strip a {
  font-size: 12px;
}
.public-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 5vw;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.page-heading {
  padding: 80px 0 48px;
}
.page-heading h1 {
  font-size: clamp(48px, 6.5vw, 94px);
  letter-spacing: -0.06em;
}
.page-heading .lead {
  margin-top: 25px;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 80px;
  min-height: 40vh;
}
.content-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}
.content-card h2 {
  margin: 24px 0 18px;
}
.content-card p {
  color: var(--muted);
}
.content-card a {
  display: inline-block;
  margin-top: 30px;
  font-size: 13px;
}
.reading {
  max-width: 780px;
  margin: 80px auto 120px;
}
.reading h1 {
  margin: 30px 0;
}
.reading .prose {
  border-top: 1px solid var(--line);
  padding-top: 35px;
  margin-top: 35px;
}
.prose p {
  font-size: 17px;
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin-bottom: 24px;
}
.login-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-visual {
  background: var(--dark);
  color: white;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
}
.login-visual .logo {
  filter: brightness(0) invert(1);
  width: 170px;
}
.login-visual h1 {
  font-size: clamp(70px, 8.3vw, 130px);
  letter-spacing: -0.07em;
  line-height: 0.95;
}
.login-visual h1:after {
  content: ".";
  color: var(--pink);
}
.login-visual > div > p:last-child {
  font-size: 17px;
  color: #aaa9a3;
  margin-top: 25px;
}
.login-panel {
  padding: 48px;
  display: flex;
  flex-direction: column;
}
.login-panel > a {
  align-self: flex-start;
}
.login-box {
  max-width: 370px;
  width: 100%;
  margin: auto;
}
.login-box h2 {
  font-size: 43px;
}
.login-box > p.muted {
  font-size: 14px;
  margin: 14px 0 35px;
}
.login-box form .button {
  width: 100%;
  margin-top: 4px;
}
.login-box form + p {
  margin-top: 25px;
  font-size: 11px;
}
.runtime-label {
  font-size: 9px;
  letter-spacing: 0.13em;
  color: #8b8b84;
  display: flex;
  gap: 7px;
  align-items: center;
}
.runtime-label i {
  width: 5px;
  height: 5px;
  background: #86a888;
  border-radius: 50%;
}
.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 100svh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  background: #efefeb;
  border-right: 1px solid var(--line);
  padding: 32px 18px 20px;
  display: flex;
  flex-direction: column;
}
.admin-logo {
  padding: 0 14px;
}
.admin-logo .logo {
  width: 143px;
}
.workspace-label {
  font-size: 8px;
  letter-spacing: 0.18em;
  color: #7c7c75;
  margin: 20px 14px 40px;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.admin-nav button {
  border: 0;
  background: none;
  border-radius: 6px;
  padding: 13px 15px;
  display: flex;
  gap: 14px;
  text-align: left;
  align-items: center;
  font-size: 12px;
  color: #696963;
  min-height: 44px;
}
.admin-nav button > span {
  width: 16px;
  font-size: 18px;
  line-height: 1;
}
.admin-nav button:hover {
  background: #e6e6e0;
}
.admin-nav button[aria-current="page"] {
  background: white;
  color: var(--dark);
  box-shadow: 0 1px 4px #00000005;
}
.admin-nav button[aria-current="page"] > span {
  color: var(--pink);
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 20px 14px 0;
}
.sidebar-bottom > a {
  font-size: 11px;
  text-decoration: none;
}
.admin-workspace {
  min-width: 0;
}
.admin-top {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  font-size: 11px;
}
.top-divider {
  display: inline-block;
  color: #b0b0a8;
  margin: 0 16px;
}
.admin-top strong {
  font-weight: 500;
  color: var(--muted);
}
.user-area {
  display: flex;
  align-items: center;
  gap: 20px;
}
.quiet {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  padding: 10px;
}
.admin-main {
  padding: 42px 36px 70px;
  max-width: 1600px;
  margin: auto;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.section-heading h1 {
  font-size: clamp(32px, 3.5vw, 48px);
}
.section-heading .muted {
  font-size: 13px;
  margin-top: 17px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.stat > span {
  font-size: 11px;
  color: var(--muted);
}
.stat > strong {
  display: block;
  font-weight: 400;
  font-size: 44px;
  letter-spacing: -0.06em;
  margin-top: 20px;
}
.dashboard-spotlight {
  position: relative;
  background: #e82f85;
  color: white;
  border-radius: 9px;
  min-height: 310px;
  padding: 34px;
  margin-bottom: 24px;
  overflow: hidden;
}
.dashboard-spotlight > div:first-child {
  position: relative;
  z-index: 1;
}
.dashboard-spotlight h2 {
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.dashboard-spotlight p:not(.eyebrow) {
  font-size: 11px;
  margin: 20px 0;
}
.dashboard-spotlight .button {
  font-size: 10px;
  padding: 11px 14px;
  min-height: 36px;
}
.spotlight-mark {
  position: absolute;
  right: -10px;
  bottom: -45px;
  font-size: clamp(130px, 24vw, 350px);
  font-weight: 600;
  letter-spacing: -0.1em;
  color: #fff2;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  margin-bottom: 24px;
  min-width: 0;
}
.panel h2 {
  font-size: 22px;
}
.panel > p {
  font-size: 13px;
  margin-top: 16px;
  max-width: 850px;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.module {
  padding: 10px 0;
}
.module-icon {
  font-size: 26px;
  color: var(--pink);
}
.module h3 {
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 500;
  margin: 13px 0 5px;
}
.module p {
  font-size: 10px;
}
.search {
  max-width: 360px;
  background: #fafaf8;
  font-size: 12px;
  margin-bottom: 15px;
}
.record {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.record h3 {
  margin: 10px 0;
}
.record > div {
  min-width: 0;
}
.record p {
  overflow-wrap: anywhere;
}
.record .button {
  font-size: 11px;
}
.ecosystem-admin {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ecosystem-admin h2 {
  margin: 30px 0 22px;
}
.ecosystem-admin a {
  font-size: 12px;
}
.audit-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.audit-row:last-child {
  border: 0;
}
.audit-row p {
  overflow-wrap: anywhere;
}
.audit-row strong {
  font-size: 13px;
  font-weight: 500;
}
.audit-row time {
  font-size: 11px;
  color: var(--muted);
}
.audit-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  margin-top: 6px;
}
.account-form {
  max-width: 440px;
  margin-top: 30px;
}
.editor-dialog {
  width: min(760px, 94vw);
  max-height: 90svh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--dark);
  box-shadow: 0 20px 100px #0003;
}
.editor-dialog::backdrop {
  background: #1d1d1b70;
  backdrop-filter: blur(3px);
}
.editor-form {
  padding: 30px;
}
.editor-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.editor-heading h2 {
  font-size: 28px;
  overflow-wrap: anywhere;
}
.icon-button {
  flex: none;
  background: #f2f2ee;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 24px;
  line-height: 1;
}
.editor-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
@media (min-width: 1600px) {
  .public-main,
  .public-header {
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
  }
  .public-footer {
    padding-left: max(5vw, calc((100vw - 1480px) / 2));
    padding-right: max(5vw, calc((100vw - 1480px) / 2));
  }
}
@media (max-width: 1100px) {
  .admin-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .admin-main {
    padding: 30px 24px;
  }
  .admin-top {
    padding: 0 24px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat {
    padding: 18px;
  }
  .module-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .section-heading {
    align-items: flex-start;
  }
  .ecosystem-admin {
    grid-template-columns: 1fr;
  }
  .ecosystem-admin .panel {
    margin-bottom: 0;
  }
  .ecosystem-admin {
    margin-bottom: 24px;
  }
  .ecosystem-admin h2 {
    margin: 20px 0;
  }
  .public-hero {
    gap: 25px;
  }
  .hero-aside {
    max-width: 300px;
  }
  .brand-card {
    padding: 22px;
  }
  .reveal-strip {
    padding: 30px;
    flex-wrap: wrap;
  }
  .reveal-strip .eyebrow {
    width: 100%;
  }
}
@media (max-width: 760px) {
  .public-header {
    flex-wrap: wrap;
    padding: 18px 0;
    gap: 22px;
  }
  .public-header .logo {
    width: 100px;
  }
  .public-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    padding-top: 10px;
  }
  .public-header nav a {
    min-height: 30px;
  }
  .public-hero {
    padding: 55px 0 65px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .public-hero h1 {
    font-size: clamp(58px, 13vw, 92px);
  }
  .hero-aside {
    justify-self: start;
    max-width: 100%;
    margin-top: 16px;
  }
  .hero-aside > p {
    font-size: 15px;
    max-width: 410px;
  }
  .brand-grid {
    grid-template-columns: 1fr;
  }
  .brand-card {
    min-height: 0;
    padding: 28px;
  }
  .brand-card h3 {
    margin: 18px 0 12px;
  }
  .brand-card p {
    max-width: none;
    margin-bottom: 24px;
  }
  .ecosystem-public {
    padding: 45px 0;
  }
  .reveal-strip {
    padding: 26px;
    gap: 20px;
    margin-bottom: 45px;
  }
  .reveal-strip strong {
    font-size: 43px;
  }
  .public-footer {
    gap: 20px;
    align-items: flex-start;
    font-size: 10px;
  }
  .public-footer > span {
    max-width: 180px;
  }
  .page-heading {
    padding-top: 52px;
  }
  .page-heading h1 {
    font-size: 54px;
  }
  .lead {
    font-size: 16px;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .reading {
    margin-top: 50px;
  }
  .reading h1 {
    font-size: 44px;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-visual {
    min-height: 280px;
    padding: 28px;
  }
  .login-logo .logo {
    width: 105px;
  }
  .login-visual h1 {
    font-size: 60px;
    margin-top: 40px;
  }
  .login-visual .eyebrow {
    display: none;
  }
  .login-visual > div > p:last-child {
    font-size: 13px;
    margin-top: 15px;
  }
  .login-visual .runtime-label {
    display: none;
  }
  .login-panel {
    padding: 26px 28px 45px;
    gap: 42px;
  }
  .login-box {
    margin: 0 auto;
  }
  .login-box h2 {
    font-size: 36px;
  }
  .admin-shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 20px 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-logo .logo {
    width: 110px;
  }
  .admin-logo {
    padding: 0 4px;
  }
  .workspace-label {
    position: absolute;
    right: 22px;
    top: 35px;
    margin: 0;
    font-size: 8px;
  }
  .admin-nav {
    margin-top: 20px;
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 12px;
  }
  .admin-nav button {
    white-space: nowrap;
    padding: 11px;
    font-size: 11px;
  }
  .admin-nav button > span {
    font-size: 16px;
  }
  .sidebar-bottom {
    display: none;
  }
  .admin-top {
    height: 56px;
    padding: 0 20px;
    font-size: 10px;
  }
  .admin-top > span > strong,
  .top-divider {
    display: none;
  }
  .user-area {
    gap: 8px;
  }
  .admin-main {
    padding: 28px 18px;
  }
  .section-heading {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
  }
  .section-heading h1 {
    font-size: 36px;
  }
  .section-heading .muted {
    font-size: 12px;
    line-height: 1.6;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat {
    padding: 18px;
  }
  .stat > strong {
    font-size: 35px;
    margin-top: 13px;
  }
  .stat > span {
    font-size: 10px;
  }
  .dashboard-spotlight {
    padding: 26px;
    min-height: 300px;
  }
  .dashboard-spotlight h2 {
    font-size: 55px;
  }
  .spotlight-mark {
    font-size: 190px;
    bottom: -15px;
    right: 5px;
  }
  .panel {
    padding: 20px;
  }
  .panel-title h2 {
    font-size: 20px;
  }
  .panel-title .badge {
    font-size: 8px;
  }
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .record {
    align-items: flex-start;
    gap: 10px;
  }
  .record h3 {
    font-size: 18px;
  }
  .record .button {
    padding: 11px;
    font-size: 10px;
    gap: 0;
  }
  .record .small {
    font-size: 10px;
  }
  .audit-row {
    grid-template-columns: 6px minmax(0, 1fr);
    gap: 10px;
  }
  .audit-row time {
    grid-column: 2;
  }
  .editor-form {
    padding: 22px;
  }
  .editor-heading h2 {
    font-size: 24px;
  }
  .form-row {
    gap: 12px;
  }
  .editor-actions .button {
    font-size: 11px;
    padding: 12px;
  }
  .editor-dialog {
    max-height: 94svh;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button,
  .admin-nav button {
    transition:
      background 0.15s,
      color 0.15s;
  }
  .content-card {
    transition: transform 0.2s;
  }
  .content-card:hover {
    transform: translateY(-3px);
  }
}

.record-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
/* The supplied vector has a white signature. Preserve every original color/path
   and give the complete mark a contrasting surface on the new light UI. */
.public-header .brand {
  display: inline-flex;
  background: #1d1d1b;
  padding: 9px 11px;
  border-radius: 6px;
}
.admin-logo {
  width: max-content;
  margin: 0 10px;
  padding: 10px 12px;
  background: #1d1d1b;
  border-radius: 6px;
}
.login-visual .logo {
  filter: none;
}
@media (max-width: 760px) {
  .admin-logo {
    margin: 0;
    padding: 8px 10px;
  }
  .public-header .brand {
    padding: 8px 10px;
  }
}

/* Private previews and revision comparisons remain usable on narrow screens. */
.editor-aux-dialog {
  padding: 24px;
}
.editor-dialog pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}
.editor-dialog .reading {
  padding: 0;
}

/* Author display rules must not override the native hidden attribute. */
[hidden] {
  display: none !important;
}

.catalog-group {
  border: 1px solid var(--line, #e6e3df);
  border-radius: 0.75rem;
  min-inline-size: 0;
  margin: 0;
  padding: 0.8rem;
}
.catalog-group legend {
  font-weight: 600;
  padding-inline: 0.4rem;
}
.catalog-rows, .catalog-row {
  display: grid;
  gap: 0.6rem;
}
.catalog-row {
  border-bottom: 1px solid var(--line, #e6e3df);
  padding-block: 0.4rem 0.8rem;
  margin-bottom: 0.5rem;
}
.catalog-row > button, .catalog-group > button { justify-self: start; }
.catalog-details { margin-block: 2.5rem; overflow-wrap: anywhere; }
.catalog-details dd { margin-inline-start: 0; margin-block-end: 0.65rem; }
.catalog-details dt { font-weight: 600; }
.catalog-media { display: grid; gap: 1rem; }
.catalog-media img { width: 100%; height: auto; border-radius: 0.75rem; }
