/* [project]/app/globals.css [app-client] (css) */
:root {
  --bg: #faf9fd;
  --panel: #fff;
  --panel-soft: #f5f2fb;
  --ink: #201b2b;
  --muted: #70677e;
  --line: #e9e4ef;
  --purple: #7c3aed;
  --purple-soft: #efe7ff;
  --green: #16704b;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK",
    "Noto Sans TC", sans-serif;
  --sidebar: 238px;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.65 var(--font);
  margin: 0;
}

button, input, select {
  font: inherit;
}

button, a, input, select {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

input, select {
  color: var(--ink);
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #ac82ff;
}

img {
  max-width: 100%;
}

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

h1, h2, h3 {
  letter-spacing: -.035em;
  line-height: 1.3;
}

h1 {
  margin-bottom: 0;
  font-size: 27px;
  font-weight: 650;
}

h2 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 650;
}

h3 {
  letter-spacing: -.015em;
  font-size: 16px;
}

p {
  color: var(--muted);
}

.sidebar {
  width: var(--sidebar);
  background: var(--panel);
  border-right: 1px solid var(--line);
  z-index: 30;
  flex-direction: column;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}

.wordmark {
  letter-spacing: -1.25px;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  height: 86px;
  padding: 22px;
  font-size: 25px;
  font-weight: 800;
  display: flex;
}

.wordmark img {
  margin-right: 7px;
}

.wordmark span {
  color: var(--purple);
}

.wordmark small {
  letter-spacing: 2px;
  width: 100%;
  color: var(--muted);
  margin-top: -7px;
  margin-left: 37px;
  font-size: 9px;
  font-weight: 500;
  display: block;
}

.sidebar nav {
  scrollbar-width: thin;
  flex: 1;
  padding: 5px 12px 16px;
  overflow-y: auto;
}

.nav-group {
  margin-bottom: 18px;
}

.nav-group > p {
  letter-spacing: 1.8px;
  color: var(--muted);
  margin: 10px 12px;
  font-size: 9px;
}

.nav-item {
  border-radius: 8px;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  padding: 9px 12px;
  font-size: 12px;
  display: flex;
  position: relative;
}

.nav-item > svg {
  flex-shrink: 0;
}

.nav-item span {
  flex: 1;
  min-width: 0;
}

.nav-item small {
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.4;
  display: block;
}

.nav-item:hover {
  background: var(--panel-soft);
}

.nav-item.active {
  background: var(--purple-soft);
  color: #6630c7;
  font-weight: 650;
}

.nav-item.wip {
  color: var(--muted);
}

.nav-item.wip.active {
  color: var(--ink);
  background: var(--panel-soft);
}

.lock {
  color: var(--muted);
}

.sidebar-bottom {
  border-top: 1px solid var(--line);
  align-items: center;
  gap: 10px;
  padding: 17px 18px;
  display: flex;
}

.sidebar-bottom div:last-child {
  min-width: 0;
}

.sidebar-bottom strong {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  display: block;
  overflow: hidden;
}

.sidebar-bottom small {
  color: var(--muted);
  font-size: 10px;
}

.avatar {
  background: var(--purple-soft);
  width: 34px;
  height: 34px;
  color: var(--purple);
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  font-size: 12px;
  display: grid;
}

.avatar.mini {
  width: 30px;
  height: 30px;
}

.workspace {
  margin-left: var(--sidebar);
  min-width: 0;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  height: 70px;
  padding: 0 38px;
  display: flex;
}

.topbar > div {
  align-items: center;
  gap: 16px;
  min-width: 0;
  display: flex;
}

.crumb {
  color: var(--muted);
  white-space: nowrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  display: flex;
}

.crumb strong {
  color: var(--ink);
  font-weight: 500;
}

.connection-chip {
  white-space: nowrap;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 20px;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  font-size: 10px;
  display: inline-flex;
}

.connection-chip > span {
  background: #9b95a5;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

.connection-chip.live {
  color: var(--green);
}

.connection-chip.live > span {
  background: var(--green);
}

.connection-chip.demo {
  color: #976113;
  background: #fff5df;
}

.connection-chip.demo > span {
  background: #ae741e;
}

.main {
  max-width: 1320px;
  margin: auto;
  padding: 29px 38px 0;
}

.page-heading {
  margin: 0 0 25px;
}

.page-heading > p {
  letter-spacing: 1.7px;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 600;
}

.welcome {
  background: linear-gradient(112deg, #f0e7ff 0%, #f6f1ff 45%, #faf7ff 100%);
  border: 1px solid #e7dbfb;
  border-radius: 18px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  min-height: 315px;
  margin-bottom: 22px;
  padding: 34px 40px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.welcome h2 {
  margin: 17px 0 12px;
  font-size: 32px;
  font-weight: 650;
  line-height: 1.35;
}

.welcome p {
  max-width: 420px;
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.85;
}

.mascot {
  object-fit: contain;
  filter: drop-shadow(0 15px 14px #7444a611);
  justify-self: center;
  width: 270px;
  height: 270px;
}

.tag {
  letter-spacing: .7px;
  color: #6934be;
  background: #fff9;
  border: 1px solid #dac7f3;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 10px;
  display: inline-block;
}

.tag.neutral {
  background: var(--panel-soft);
  color: var(--muted);
  border-color: var(--line);
}

.button, .quiet {
  white-space: nowrap;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  transition: background .15s, color .15s;
  display: inline-flex;
}

.button {
  background: var(--purple);
  color: #fff;
  border: 1px solid #0000;
  box-shadow: 0 3px 9px #7c3aed18;
}

.button:hover {
  background: #6929d2;
}

.quiet {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink);
}

.quiet:hover {
  background: var(--panel-soft);
}

.text-link {
  color: var(--muted);
  text-underline-offset: 4px;
  margin: 12px 0 0 14px;
  font-size: 11px;
  text-decoration: underline;
  display: inline-flex;
}

.status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
  display: grid;
}

.status-grid > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 19px 22px;
  position: relative;
}

.status-grid svg {
  color: #9975cc;
  width: 19px;
  position: absolute;
  top: 20px;
  right: 20px;
}

.status-grid span {
  color: var(--muted);
  margin-bottom: 9px;
  font-size: 11px;
  display: block;
}

.status-grid strong {
  letter-spacing: -.02em;
  font-size: 18px;
  font-weight: 600;
  display: block;
}

.status-grid small {
  color: var(--muted);
  margin-top: 6px;
  font-size: 10px;
  display: block;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  min-width: 0;
  margin-bottom: 24px;
  padding: 25px;
}

.section-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 23px;
  display: flex;
}

.section-heading h2 {
  margin-bottom: 5px;
  font-size: 18px;
}

.section-heading p {
  margin-bottom: 0;
  font-size: 11px;
}

.section-heading > svg {
  color: var(--purple);
}

.empty {
  text-align: center;
  background: var(--panel-soft);
  border: 1px dashed var(--line);
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 240px;
  padding: 30px 20px;
  display: flex;
}

.empty > svg {
  color: #9d8bb7;
  margin-bottom: 14px;
}

.empty h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.empty p {
  max-width: 400px;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.8;
}

.empty.small {
  min-height: 180px;
}

.next-lesson {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 3px 28px;
  display: flex;
}

.next-lesson .tag {
  background: none;
  border: 0;
  padding: 0;
  font-size: 9px;
}

.next-lesson h2 {
  margin: 12px 0 9px;
  font-size: 24px;
}

.next-lesson p {
  margin: 0;
  font-size: 12px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  padding: 20px 0;
  font-size: 9px;
  display: flex;
}

.icon-button {
  width: 31px;
  height: 31px;
  color: var(--muted);
  background: none;
  border: 1px solid #0000;
  border-radius: 7px;
  flex-shrink: 0;
  place-items: center;
  display: inline-grid;
}

.icon-button:hover {
  background: var(--panel-soft);
}

.mobile-only {
  display: none;
}

.subnav {
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  display: flex;
}

.subnav a {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 7px;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  font-size: 11px;
  display: flex;
}

.subnav a:hover {
  border-color: #b8a1d5;
}

.locked-page {
  background: var(--panel);
  border: 1px solid var(--line);
  text-align: center;
  border-radius: 18px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 580px;
  padding: 42px 25px;
  display: flex;
}

.locked-art {
  color: #ad9cbf;
  background: radial-gradient(#eee6f9, #f9f6fc 70%);
  border-radius: 30px;
  place-items: center;
  width: 130px;
  height: 130px;
  margin-bottom: 26px;
  display: grid;
  position: relative;
}

.locked-art > span {
  border: 4px solid var(--panel);
  color: #72588f;
  background: #ddd2ed;
  border-radius: 50%;
  place-items: center;
  width: 35px;
  height: 35px;
  display: grid;
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.locked-page h2 {
  margin: 22px 0 13px;
  font-size: 31px;
}

.locked-page h2 span {
  color: var(--muted);
  margin-top: 13px;
  font-size: 19px;
  font-weight: 400;
  display: block;
}

.locked-page > p {
  max-width: 460px;
  margin-bottom: 22px;
  font-size: 13px;
}

.unlock-note {
  background: var(--panel-soft);
  max-width: 430px;
  color: var(--muted);
  text-align: left;
  border-radius: 9px;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 14px 18px;
  font-size: 11px;
  display: flex;
}

.unlock-note svg {
  flex-shrink: 0;
}

.locked-page .text-link {
  margin: 18px 0 0;
}

.journey-hero {
  padding: 23px 0 30px;
}

.journey-hero h2 {
  margin: 20px 0 12px;
  font-size: 32px;
}

.journey-hero p {
  max-width: 630px;
  font-size: 13px;
}

.lesson-track {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 27px;
  display: grid;
}

.lesson-track > div {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 10px;
  gap: 7px;
  padding: 18px;
  display: grid;
}

.lesson-track .present {
  color: #6b31c5;
  background: var(--purple-soft);
  border-color: #d6c1f9;
}

.lesson-track strong {
  font-size: 14px;
  font-weight: 600;
}

.lesson-track span {
  font-size: 11px;
}

.outcomes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  display: grid;
}

.outcome {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: flex-start;
  gap: 17px;
  padding: 24px 20px;
  display: flex;
  position: relative;
}

.outcome > svg {
  color: var(--purple);
  flex-shrink: 0;
  margin-top: 2px;
}

.outcome > svg:last-child {
  color: var(--muted);
  width: 15px;
  margin-left: auto;
}

.outcome h3 {
  margin-bottom: 9px;
  font-size: 15px;
}

.outcome p {
  max-width: 340px;
  margin-bottom: 12px;
  font-size: 12px;
}

.outcome small {
  color: var(--muted);
  font-size: 10px;
}

.outcome-number {
  color: var(--muted);
  margin-top: 5px;
  font: 11px monospace;
}

.outcome:hover {
  border-color: #c6abea;
}

.connection-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  display: grid;
}

.project-id {
  background: var(--panel-soft);
  overflow-wrap: anywhere;
  border-radius: 9px;
  margin-bottom: 17px;
  padding: 16px;
}

.project-id small {
  color: var(--muted);
  margin-bottom: 6px;
  font-size: 10px;
  display: block;
}

.project-id code {
  font-size: 12px;
}

.notice, .error, .success, .demo-banner {
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 13px 16px;
  font-size: 12px;
}

.notice {
  color: #655379;
  background: #f5f1fc;
  border: 1px solid #e4d9f2;
}

.success {
  color: #16704b;
  background: #eff8f3;
}

.error {
  color: #a32934;
  background: #fff1f0;
  align-items: center;
  gap: 10px;
  display: flex;
}

.error svg {
  flex-shrink: 0;
}

.demo-banner {
  color: #856019;
  background: #fff7e8;
}

.instructions {
  color: var(--muted);
  margin: 20px 0 25px;
  padding-left: 19px;
  font-size: 12px;
  line-height: 1.9;
}

.instructions li {
  margin-bottom: 12px;
}

.small-copy {
  color: var(--muted);
  margin: 17px 0;
  font-size: 11px;
  line-height: 1.8;
}

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

.login, label {
  gap: 7px;
  font-size: 12px;
  display: grid;
}

label {
  color: var(--ink);
  margin-bottom: 14px;
}

input, select {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 7px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
}

input::placeholder {
  color: var(--muted);
}

.demo-choice {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  display: flex;
}

.demo-choice h2 {
  font-size: 18px;
}

.demo-choice p {
  margin: 0;
  font-size: 12px;
}

.settings {
  max-width: 750px;
  padding: 32px;
}

.settings form {
  max-width: 450px;
  margin-top: 25px;
}

.settings hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}

.data-toolbar {
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 20px;
  display: flex;
}

.data-toolbar label {
  min-width: 0;
  margin: 0;
  font-size: 10px;
}

.data-toolbar select {
  max-width: 220px;
  padding: 8px 10px;
  font-size: 12px;
}

.data-toolbar form {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.data-toolbar .search {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  display: flex;
}

.search input {
  border: 0;
  width: 180px;
  padding: 9px 0;
  font-size: 12px;
}

.search svg {
  color: var(--muted);
}

.table-scroll {
  max-width: 100%;
  overflow: auto;
}

table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  min-width: 600px;
  font-size: 12px;
}

th {
  text-align: left;
  background: var(--panel-soft);
  color: var(--muted);
  overflow-wrap: anywhere;
  padding: 12px 13px;
  font-weight: 500;
}

td {
  border-bottom: 1px solid var(--line);
  padding: 15px 13px;
}

td > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

th:last-child, td:last-child {
  width: 65px;
}

.table-footer {
  color: var(--muted);
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  font-size: 11px;
  display: flex;
}

.table-footer > div {
  align-items: center;
  gap: 6px;
  display: flex;
}

.table-footer small {
  margin-top: 4px;
  font-size: 10px;
  display: block;
}

.loading {
  min-height: 240px;
  color: var(--muted);
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  display: flex;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.record-dialog {
  border: 1px solid var(--line);
  background: var(--panel);
  width: calc(100% - 32px);
  max-width: 800px;
  max-height: 85dvh;
  color: var(--ink);
  border-radius: 15px;
  padding: 28px;
}

.record-dialog::backdrop {
  background: #160b2e66;
}

.record-dialog pre {
  background: var(--panel-soft);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-radius: 9px;
  max-height: 50dvh;
  padding: 20px;
  font-size: 12px;
  overflow: auto;
}

.skip {
  z-index: 90;
  background: var(--panel);
  padding: 12px;
  position: fixed;
  top: -60px;
  left: 20px;
}

.skip:focus {
  top: 10px;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.standalone {
  max-width: 800px;
  margin: auto;
  padding: 60px;
}

.scrim {
  display: none;
}

[data-theme="dark"] {
  --bg: #15121d;
  --panel: #1c1827;
  --panel-soft: #262032;
  --ink: #eee9f6;
  --muted: #b9aec9;
  --line: #383043;
  --purple: #9257fa;
  --purple-soft: #34204f;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

[data-theme="dark"] .welcome {
  background: linear-gradient(112deg, #302044, #241c32);
  border-color: #4b3263;
}

[data-theme="dark"] .tag {
  color: #d7b8ff;
  background: #34234e;
  border-color: #5f4382;
}

[data-theme="dark"] .nav-item.active {
  color: #e0c9ff;
}

[data-theme="dark"] .button {
  background: #7534de;
}

[data-theme="dark"] .locked-art {
  color: #c4acd9;
  background: #31253f;
}

[data-theme="dark"] .notice {
  color: #d7c4ec;
  background: #30233e;
  border-color: #524063;
}

[data-theme="dark"] .connection-chip.live {
  color: #6ee7b7;
}

[data-theme="dark"] .lesson-track .present {
  color: #dfc6ff;
  border-color: #634185;
}

[data-theme="dark"] .demo-banner {
  color: #f1cf94;
  background: #352b1b;
}

@media (max-width: 1100px) {
  :root {
    --sidebar: 218px;
  }

  .main {
    padding-left: 25px;
    padding-right: 25px;
  }

  .welcome {
    padding: 30px;
  }

  .welcome h2 {
    font-size: 28px;
  }

  .mascot {
    width: 230px;
    height: 250px;
  }

  .topbar {
    padding: 0 25px;
  }

  .data-toolbar {
    flex-wrap: wrap;
  }

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

@media (max-width: 760px) {
  :root {
    --sidebar: 240px;
  }

  .sidebar {
    transition: transform .2s;
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .workspace {
    margin-left: 0;
  }

  .scrim {
    z-index: 29;
    background: #10051e70;
    border: 0;
    display: block;
    position: fixed;
    inset: 0;
  }

  .mobile-only {
    display: inline-grid;
  }

  .topbar {
    height: 62px;
    padding: 0 16px;
  }

  .topbar > div {
    gap: 9px;
  }

  .crumb {
    gap: 6px;
    font-size: 11px;
  }

  .connection-chip {
    padding: 4px 7px;
    font-size: 9px;
  }

  .topbar .avatar {
    display: none;
  }

  .main {
    padding: 24px 18px 0;
  }

  .page-heading > p {
    font-size: 8px;
  }

  h1 {
    font-size: 24px;
  }

  .welcome {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 26px;
  }

  .welcome h2 {
    font-size: 29px;
  }

  .welcome .mascot {
    opacity: .4;
    pointer-events: none;
    width: 135px;
    height: 160px;
    position: absolute;
    top: 72px;
    right: -9px;
  }

  .welcome > div {
    z-index: 1;
    position: relative;
  }

  .welcome p {
    max-width: 75%;
    font-size: 12px;
  }

  .welcome .text-link {
    margin: 15px 0 0;
    display: flex;
  }

  .status-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .status-grid > div {
    padding: 15px 18px;
  }

  .status-grid span {
    margin-bottom: 5px;
  }

  .status-grid strong {
    font-size: 17px;
  }

  .panel {
    padding: 20px 17px;
  }

  .section-heading {
    gap: 10px;
  }

  .section-heading .quiet {
    padding: 8px;
    font-size: 10px;
  }

  .section-heading h2 {
    font-size: 16px;
  }

  .next-lesson, .demo-choice {
    flex-direction: column;
    align-items: flex-start;
  }

  .next-lesson h2 {
    font-size: 22px;
  }

  .connection-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .lesson-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-hero h2 {
    font-size: 27px;
  }

  .outcome {
    gap: 12px;
    padding: 21px 15px;
  }

  .outcome-number {
    display: none;
  }

  .locked-page {
    min-height: 510px;
    padding: 28px 20px;
  }

  .locked-page h2 {
    font-size: 27px;
  }

  .locked-page h2 span {
    font-size: 17px;
  }

  .footer {
    flex-direction: column;
    gap: 5px;
    font-size: 9px;
  }

  .data-toolbar {
    align-items: stretch;
  }

  .data-toolbar > label {
    width: 100%;
  }

  .data-toolbar select {
    width: 100%;
    max-width: 100%;
  }

  .data-toolbar form {
    flex-wrap: wrap;
    width: 100%;
  }

  .data-toolbar form > select {
    width: 100%;
  }

  .data-toolbar .search {
    flex: 1;
  }

  .search input {
    width: 100%;
  }

  .table-footer {
    flex-wrap: wrap;
  }

  .empty {
    min-height: 260px;
  }

  .welcome .tag {
    font-size: 9px;
  }

  .subnav {
    gap: 6px;
  }

  .subnav a {
    font-size: 10px;
  }

  .record-dialog {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 760px) {
  .sidebar {
    visibility: hidden;
  }

  .sidebar.open {
    visibility: visible;
  }
}

.brain-tabs {
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
  display: flex;
}

.brand-copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 16px 0;
  line-height: 1.8;
}

.brain details {
  margin: 16px 0;
}

.brain code {
  overflow-wrap: anywhere;
}

.brand-assets {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
  display: grid;
}

.brand-assets figure {
  min-width: 0;
  margin: 0;
}

.brand-assets img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}

.brand-assets figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
}

.brand-copy {
  white-space: normal;
}

.brand-copy p {
  margin: 8px 0;
}

.brand-copy h4 {
  margin: 22px 0 10px;
}

.brand-table {
  max-width: 100%;
  overflow-x: auto;
}

.brand-table table {
  table-layout: fixed;
  width: 100%;
}

.brand-table th, .brand-table td {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
  padding: 10px;
}

.brand-bullet {
  padding-left: 12px;
}

.brain {
  min-width: 0;
}

.home-greeting {
  background: var(--surface, #fff);
  border: 1px solid #e9e7ee;
  border-radius: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 24px;
  display: flex;
}

.home-greeting small {
  letter-spacing: .15em;
  color: #7542d8;
}

.home-greeting h2 {
  margin: 8px 0;
}

.flow-map {
  background: #fff;
  border: 1px solid #e6e1ee;
  border-radius: 18px;
  margin: 0 0 24px;
  padding: 20px;
}

.flow-top {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}

.flow-top span {
  color: #777;
  font-size: 12px;
}

.flow-nodes {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}

.flow-node {
  min-width: 0;
  color: inherit;
  background: #fafafa;
  border: 1px solid #e8e5ed;
  border-radius: 12px;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  text-decoration: none;
  display: flex;
}

.flow-node small {
  color: #777;
  font-size: 10px;
}

.flow-node strong {
  font-size: 13px;
}

.flow-node span {
  color: #777;
  font-size: 11px;
}

.flow-node.current {
  background: #f4efff;
  border-color: #8a61e4;
}

.flow-map details {
  margin-top: 14px;
  font-size: 12px;
}

.contract-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  display: grid;
}

.work-tabs {
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  padding-bottom: 16px;
  display: flex;
}

.work-tabs span {
  font-weight: 600;
}

.work-tabs a {
  color: #7542d8;
}

.disabled-tools {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.disabled-tools input {
  flex: 1;
}

.source-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 20px;
  margin-top: 24px;
  display: grid;
}

.source-cards article {
  background: #fff;
  border: 1px solid #e9e7ee;
  border-radius: 16px;
  min-width: 0;
  padding: 16px;
  overflow: hidden;
}

.source-excerpt {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 7;
  background: #fafafa;
  border-radius: 12px;
  -webkit-box-orient: vertical;
  min-height: 170px;
  padding: 16px;
  line-height: 1.8;
  display: -webkit-box;
  overflow: hidden;
}

.source-cards h3 {
  margin-top: 18px;
  font-size: 16px;
}

.card-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  display: flex;
}

.source-cards .small-copy {
  overflow-wrap: anywhere;
}

.composer textarea {
  resize: vertical;
  width: 100%;
  min-height: 180px;
  font: inherit;
  background: #fcfcfc;
  border: 1px solid #e6e1ee;
  border-radius: 14px;
  padding: 20px;
  line-height: 1.7;
  display: block;
}

.platform-choices {
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  display: flex;
}

.platform-choices button {
  color: #666;
  background: #fff;
  border: 1px solid #e4e0eb;
  border-radius: 20px;
  padding: 9px 14px;
}

.platform-choices .chosen {
  color: #7039d3;
  background: #f0e9ff;
  border-color: #8a61e4;
}

.composer-context, .draft-stages {
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0;
  font-size: 13px;
  display: flex;
}

.composer-context a {
  color: #7542d8;
}

.source-reference {
  background: #f5f0ff;
  border-radius: 12px;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  display: flex;
}

.source-reference code {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.panel button:disabled, .work-tabs button:disabled, .disabled-tools input:disabled {
  cursor: not-allowed;
  opacity: .55;
  color: #777;
  background: #eee;
  border: 1px solid #ddd;
  border-radius: 9px;
  padding: 10px;
}

.brain-entry-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
  display: grid;
}

.brain-entry-cards > div {
  border: 1px solid #e9e7ee;
  border-radius: 14px;
  padding: 20px;
}

.brand-table table {
  min-width: 0;
}

.flow-node:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #8a61e4;
}

.creator-home {
  min-width: 0;
  max-width: 1160px;
  margin: 0 auto 72px;
}

.creator-home-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 10px 0 24px;
  display: flex;
}

.creator-home-head > div > span {
  color: var(--purple);
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 700;
}

.creator-home-head h1 {
  margin: 8px 0 5px;
  font-size: 36px;
}

.creator-home-head p {
  margin: 0;
}

.creator-home-head > a, .creator-drafts header > a {
  color: var(--purple);
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  font-size: 12px;
  font-weight: 650;
  display: flex;
}

.creator-command, .creator-drafts {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 24px #2d254e0a;
}

.creator-command {
  padding: 20px;
  overflow: hidden;
}

.creator-command > header {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  display: flex;
}

.creator-command > header > div {
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.creator-command > header svg {
  color: var(--purple);
  margin-top: 3px;
}

.creator-command h2 {
  margin: 0;
  font-size: 20px;
}

.creator-command header p {
  margin: 3px 0 0;
  font-size: 12px;
}

.creator-settings-toggle {
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 9px;
  align-items: center;
  gap: 7px;
  padding: 9px;
  display: flex;
}

.creator-settings-toggle:hover {
  background: var(--panel-soft);
}

.creator-source {
  background: #f6f1ff;
  border: 1px solid #e4d8ff;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 11px 13px;
  display: flex;
}

.creator-source > div {
  flex: 1;
  min-width: 0;
}

.creator-source small, .creator-source strong, .creator-source span {
  display: block;
}

.creator-source small {
  color: var(--purple);
  letter-spacing: 1px;
  font-size: 9px;
}

.creator-source span {
  color: var(--muted);
  overflow-wrap: anywhere;
  font-size: 10px;
}

.creator-source > button {
  color: var(--muted);
  background: none;
  border: 0;
  padding: 8px;
}

.creator-input-card {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  border-radius: 14px;
  margin-top: 14px;
  overflow: hidden;
}

.creator-input-tabs {
  gap: 4px;
  padding: 8px 10px 2px;
  display: flex;
}

.creator-input-tabs button {
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 10px;
  font-size: 11px;
  display: flex;
}

.creator-input-tabs button.active {
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 1px 2px #0000000d;
}

.creator-textarea {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
  padding: 5px 14px;
  display: grid;
}

.creator-textarea > span {
  color: var(--purple);
  padding-top: 12px;
}

.creator-textarea textarea {
  resize: vertical;
  width: 100%;
  min-width: 0;
  min-height: 105px;
  font: inherit;
  background: none;
  border: 0;
  outline: 0;
  padding: 10px 0;
  line-height: 1.6;
}

.creator-textarea > button {
  color: var(--muted);
  background: none;
  border: 0;
  padding: 10px;
}

.creator-input-card > p {
  margin: 0;
  padding: 0 44px 12px;
  font-size: 10px;
}

.creator-output-settings {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 0 0;
  display: flex;
}

.creator-output-settings > div:first-child {
  min-width: 185px;
}

.creator-output-settings strong, .creator-output-settings > div:first-child span {
  display: block;
}

.creator-output-settings > div:first-child span {
  color: var(--muted);
  margin-top: 3px;
  font-size: 10px;
}

.creator-output-settings .platform-choices {
  justify-content: flex-end;
}

.creator-command-footer {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  display: flex;
}

.creator-command-footer > div {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.creator-command-footer > div:first-child {
  color: var(--muted);
  font-size: 11px;
}

.creator-command-footer .button {
  align-items: center;
  gap: 7px;
  display: flex;
}

.creator-ready, .creator-pending {
  background: #20a46c;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.creator-pending {
  background: #d59b35;
}

.creator-entry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
  display: grid;
}

.creator-entry-grid > a {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  align-items: center;
  gap: 13px;
  padding: 16px;
  display: flex;
}

.creator-entry-grid > a > svg:first-child {
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: 10px;
  width: 36px;
  height: 36px;
  padding: 8px;
}

.creator-entry-grid > a > div {
  flex: 1;
  min-width: 0;
}

.creator-entry-grid strong, .creator-entry-grid span {
  display: block;
}

.creator-entry-grid span {
  color: var(--muted);
  font-size: 11px;
}

.creator-entry-grid > a > svg:last-child {
  width: 15px;
  color: var(--muted);
}

.creator-drafts {
  padding: 18px 20px;
}

.creator-drafts header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.creator-drafts h2 {
  margin: 0;
  font-size: 17px;
}

.creator-drafts header p {
  margin: 3px 0 0;
  font-size: 11px;
}

.creator-drafts > div {
  border-top: 1px solid var(--line);
  color: var(--muted);
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  font-size: 11px;
  display: flex;
}

.creator-course-map {
  color: var(--muted);
  margin-top: 14px;
  font-size: 11px;
}

.creator-course-map > summary {
  cursor: pointer;
  padding: 10px;
}

.creator-course-map .flow-map {
  margin-top: 4px;
}

.creator-home > details + details {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .creator-home {
    margin-bottom: 40px;
  }

  .creator-home-head h1 {
    font-size: 29px;
  }

  .creator-home-head > a {
    display: none;
  }

  .creator-command {
    padding: 15px;
  }

  .creator-command > header {
    align-items: flex-start;
  }

  .creator-command > header p {
    display: none;
  }

  .creator-settings-toggle {
    font-size: 0;
  }

  .creator-output-settings {
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .creator-output-settings.open {
    display: flex;
  }

  .creator-output-settings .platform-choices {
    justify-content: flex-start;
    margin: 8px 0 15px;
  }

  .creator-command-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .creator-command-footer > div:last-child {
    width: 100%;
  }

  .creator-command-footer > div:last-child button {
    flex: 1;
    justify-content: center;
  }

  .creator-entry-grid {
    grid-template-columns: 1fr;
  }

  .creator-drafts > div {
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 1100px) {
  .flow-nodes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .flow-nodes, .contract-grid, .brain-entry-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-greeting {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

[data-theme="dark"] .flow-map, [data-theme="dark"] .source-cards article, [data-theme="dark"] .home-greeting {
  background: #1b1922;
  border-color: #393340;
}

[data-theme="dark"] .flow-node, [data-theme="dark"] .source-excerpt, [data-theme="dark"] .composer textarea {
  color: #eee;
  background: #24202d;
  border-color: #393340;
}

[data-theme="dark"] .flow-node.current, [data-theme="dark"] .source-reference {
  background: #352649;
}

.card-search {
  color: #777;
  margin: 16px 0;
  font-size: 12px;
  display: block;
}

.card-search input {
  width: 100%;
  color: inherit;
  background: none;
  border: 1px solid #e6e1ee;
  border-radius: 10px;
  margin-top: 6px;
  padding: 12px;
  display: block;
}

.creator-teacher-tools {
  color: var(--muted);
  margin-top: 14px;
  font-size: 11px;
}

.creator-teacher-tools > summary {
  cursor: pointer;
  padding: 10px;
}

.creator-teacher-tools[open] > summary {
  margin-bottom: 8px;
}

.creator-image-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 14px 0;
  padding: 20px;
  box-shadow: 0 8px 24px #2d254e0a;
}

.creator-image-panel > header {
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.creator-image-panel > header > span {
  background: var(--purple-soft);
  width: 38px;
  height: 38px;
  color: var(--purple);
  border-radius: 11px;
  flex: none;
  place-items: center;
  display: grid;
}

.creator-image-panel > header > div {
  flex: 1;
  min-width: 0;
}

.creator-image-panel h2 {
  margin: 0;
  font-size: 18px;
}

.creator-image-panel header p {
  margin: 3px 0 0;
  font-size: 11px;
}

.creator-image-panel > header > button {
  align-items: center;
  display: flex;
}

.creator-image-controls {
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr);
  gap: 18px;
  margin-top: 18px;
  display: grid;
}

.creator-image-controls label, .creator-image-controls legend {
  font-size: 11px;
  font-weight: 650;
}

.creator-image-controls textarea {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  width: 100%;
  min-height: 116px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
  border-radius: 12px;
  margin-top: 7px;
  padding: 12px;
  display: block;
}

.creator-image-controls fieldset {
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.creator-image-controls fieldset > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 7px;
  display: grid;
}

.creator-image-controls fieldset button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 11px;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px;
  display: flex;
}

.creator-image-controls fieldset button.selected {
  background: var(--purple-soft);
  color: #6830c4;
  border-color: #a779f5;
}

.creator-image-controls fieldset button span {
  font-size: 9px;
}

.creator-image-contract {
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  display: flex;
}

.creator-image-contract span {
  background: var(--panel-soft);
  color: var(--muted);
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 10px;
}

.creator-image-action {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 14px;
  display: flex;
}

.creator-image-action p {
  max-width: 720px;
  margin: 0;
  font-size: 10px;
}

.creator-image-action .button {
  flex: none;
  align-items: center;
  gap: 7px;
  display: flex;
}

.creator-image-status {
  overflow-wrap: anywhere;
  background: #f6f1ff;
  border: 1px solid #e3d6ff;
  border-radius: 11px;
  margin: 14px 0 0;
  padding: 10px 12px;
  font-size: 11px;
}

.creator-image-results {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  display: grid;
}

.creator-image-results article {
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
  overflow: hidden;
}

.creator-image-results img {
  object-fit: contain;
  background: #f4f1f7;
  width: 100%;
  height: 230px;
  display: block;
}

.creator-image-results article > div {
  padding: 11px 12px;
}

.creator-image-results strong, .creator-image-results span, .creator-image-results small {
  display: block;
}

.creator-image-results span, .creator-image-results small {
  color: var(--muted);
  margin-top: 3px;
  font-size: 10px;
}

.creator-image-results details {
  border-top: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 10px;
}

.creator-image-results details p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 10px;
}

.spin {
  animation: 1s linear infinite spin;
}

@media (max-width: 760px) {
  .creator-image-panel {
    padding: 15px;
  }

  .creator-image-controls {
    grid-template-columns: 1fr;
  }

  .creator-image-action {
    flex-direction: column;
    align-items: flex-start;
  }

  .creator-image-action .button, .creator-image-action > a {
    justify-content: center;
    width: 100%;
  }

  .creator-image-results {
    grid-template-columns: 1fr;
  }

  .creator-image-results img {
    height: auto;
    max-height: 480px;
  }
}

.teacher-workbench {
  margin-top: 24px;
}

.teacher-workbench label {
  margin: 14px 0;
  display: block;
}

.teacher-workbench label > input:not([type="checkbox"]), .teacher-workbench select, .teacher-workbench textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  background: none;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  display: block;
}

.teacher-workbench fieldset {
  border: 1px solid #ddd;
  border-radius: 12px;
  min-width: 0;
  margin: 16px 0;
}

.request-json {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 360px;
  font-size: 12px;
  overflow: auto;
}

.teacher-workbench button {
  margin: 5px;
}

.teacher-workbench details {
  margin: 12px 0;
}

.news-cover {
  object-fit: cover;
  background: #f5f5f5;
  border-radius: 10px;
  width: 100%;
  height: 170px;
}

.inspiration-hub {
  max-width: 1180px;
  margin: 0 auto;
}

.hub-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  display: flex;
}

.hub-heading h1 {
  letter-spacing: -.04em;
  margin: 0 0 6px;
  font-size: 25px;
}

.hub-heading p {
  color: #888;
  margin: 0;
  font-size: 13px;
}

.hub-heading button:disabled {
  color: #999;
  background: none;
  border: 1px solid #e8e8ed;
  border-radius: 10px;
  padding: 10px;
}

.hub-stats {
  background: #f7f7fa;
  border-radius: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 20px 0;
  padding: 18px;
  display: grid;
}

.hub-stats > div {
  min-width: 0;
}

.hub-stats span, .hub-stats small {
  color: #888;
  font-size: 12px;
  line-height: 1.6;
  display: block;
}

.hub-stats strong {
  margin: 4px 0;
  font-size: 23px;
  font-weight: 600;
  display: block;
}

.hub-directory, .hub-future {
  background: #fff;
  border: 1px solid #e9e9ef;
  border-radius: 20px;
  margin-top: 22px;
  overflow: hidden;
}

.hub-directory header {
  border-bottom: 1px solid #eee;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  display: flex;
}

.hub-directory h2 {
  margin: 0;
  font-size: 16px;
}

.hub-directory header span {
  color: #999;
  font-size: 11px;
}

.hub-table-scroll {
  overflow: auto;
}

.hub-directory table {
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
  min-width: 680px;
}

.hub-directory th {
  color: #999;
  background: #fafafd;
  font-size: 11px;
  font-weight: 400;
}

.hub-directory th:first-child {
  width: 40%;
}

.hub-directory th, .hub-directory td {
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  border-bottom: 1px solid #f0f0f3;
  padding: 14px 18px;
  font-size: 12px;
}

.hub-directory small {
  color: #999;
  margin-top: 4px;
  font-size: 11px;
  display: block;
}

.hub-platform {
  color: inherit;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  display: flex;
}

.hub-platform > span {
  border-radius: 12px;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.hub-platform strong {
  font-size: 14px;
}

.hub-platform:hover {
  color: #7542d8;
}

.hub-footnote {
  color: #999;
  margin: 0;
  padding: 10px 18px;
  font-size: 10px;
}

.hub-disabled {
  color: #aaa;
  background: #fcfcfd;
}

.hub-future {
  padding: 24px;
}

.hub-future h2 {
  margin: 0 0 8px;
  font-size: 19px;
}

.hub-future p, .hub-future > small {
  color: #999;
  font-size: 12px;
}

.hub-future button:disabled {
  color: #aaa;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px 12px;
}

.hub-analysis {
  border-top: 1px solid #eee;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 18px;
  padding-top: 18px;
  display: grid;
}

.hub-analysis h3 {
  font-size: 16px;
}

.hub-subnav {
  border-left: 1px solid #e4dfed;
  margin: 0 0 7px 27px;
  padding-left: 10px;
}

.hub-subnav a {
  color: #85818c;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px;
  text-decoration: none;
  display: block;
}

.hub-subnav a[aria-current="page"] {
  color: #7542d8;
  background: #f2ecff;
}

.hub-subnav a:hover {
  color: #7542d8;
  background: #faf8ff;
}

@media (max-width: 700px) {
  .hub-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-heading {
    flex-direction: column;
  }

  .hub-analysis {
    grid-template-columns: 1fr;
  }

  .hub-directory header {
    flex-direction: column;
    align-items: flex-start;
  }
}

[data-theme="dark"] .hub-directory, [data-theme="dark"] .hub-future {
  background: #1c1923;
  border-color: #38313f;
}

[data-theme="dark"] .hub-stats, [data-theme="dark"] .hub-directory th, [data-theme="dark"] .hub-disabled {
  background: #24212b;
}

.hub-cost {
  background: #fff;
  border: 1px solid #e6dcff;
  border-left: 4px solid #8745fa;
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 20px 0;
  padding: 14px 18px;
  display: flex;
}

.hub-cost > div {
  gap: 3px;
  min-width: 130px;
  display: grid;
}

.hub-cost span, .hub-cost p {
  color: #777;
  margin: 0;
  font-size: 11px;
}

.hub-cost p {
  max-width: 580px;
}

.hub-cost strong {
  font-size: 13px;
}

@media (max-width: 700px) {
  .hub-cost {
    flex-direction: column;
    align-items: flex-start;
  }
}

[data-theme="dark"] .hub-cost {
  background: #1c1923;
  border-color: #6f4ec1;
}

.hub-cost {
  min-width: 0;
}

.newsroom {
  max-width: 1600px;
  margin: auto;
}

.newsroom-header {
  border-bottom: 1px solid var(--border, #e7e7ec);
  justify-content: space-between;
  align-items: center;
  padding: 0 0 24px;
  display: flex;
}

.newsroom-header h1 {
  letter-spacing: -1.5px;
  margin: 6px 0;
  font-size: 42px;
}

.newsroom-header p {
  color: #777;
}

.newsroom-header button, .newsroom-toolbar summary {
  align-items: center;
  gap: 8px;
  display: flex;
}

.newsroom-guide {
  border: 1px solid #e6dcff;
  border-left: 4px solid #8745fa;
  border-radius: 14px;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  padding: 18px 22px;
  display: flex;
  box-shadow: 0 2px 4px #00000006;
}

.newsroom-guide div {
  flex: 1;
}

.newsroom-guide small, .newsroom-guide strong {
  display: block;
}

.newsroom-guide small {
  color: #8845ed;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  font-size: 10px;
}

.newsroom-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  display: flex;
}

.newsroom-toolbar details {
  position: relative;
}

.rss-settings {
  z-index: 5;
  background: var(--panel, #fff);
  border: 1px solid #ddd;
  border-radius: 14px;
  gap: 14px;
  width: min(420px, 80vw);
  padding: 20px;
  display: grid;
  position: absolute;
  top: 30px;
  right: 0;
  box-shadow: 0 10px 30px #0001;
}

.newsroom-search {
  background: var(--panel, #fff);
  border: 1px solid #e8e8ee;
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  display: flex;
}

.newsroom-search input {
  box-shadow: none;
  background: none;
  border: 0;
  margin: 0;
}

.newsroom-topics {
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  display: flex;
}

.newsroom-topics strong {
  margin-right: 8px;
  font-size: 13px;
}

.newsroom-topics button {
  border-radius: 30px;
  padding: 8px 16px;
}

.newsroom-topics .selected {
  color: #fff;
  background: #8439ed;
}

.newsroom-count {
  color: #888;
  border-top: 1px solid #e6e6ed;
  justify-content: space-between;
  padding: 16px 0 24px;
  font-size: 12px;
  display: flex;
}

.newsroom-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  display: grid;
}

.story-card {
  background: var(--panel, #fff);
  border: 1px solid #e9e9ef;
  border-radius: 18px;
  min-width: 0;
  padding: 18px;
  box-shadow: 0 2px 3px #00000004;
}

.story-card header {
  align-items: center;
  gap: 10px;
  display: flex;
}

.story-avatar {
  color: #666;
  background: #f2f2f5;
  border-radius: 50%;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}

.story-card header div {
  flex: 1;
  min-width: 0;
}

.story-card header small {
  color: #888;
  margin-top: 4px;
  display: block;
}

.story-card h2 {
  overflow-wrap: anywhere;
  margin: 20px 0 10px;
  font-size: 19px;
  line-height: 1.45;
}

.story-summary {
  color: #777;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  font-size: 14px;
  line-height: 1.8;
  display: -webkit-box;
  overflow: hidden;
}

.story-evidence {
  background: #faf7ff;
  border: 1px solid #eee5ff;
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.7;
}

.story-evidence strong {
  color: #8640e8;
  display: block;
}

.story-evidence span {
  color: #777;
}

.story-card footer {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  display: flex;
}

.story-card footer button {
  padding: 10px;
  font-size: 12px;
}

.story-body {
  border-top: 1px solid #eee;
  max-height: 650px;
  margin-top: 20px;
  padding-top: 16px;
  overflow: auto;
}

.story-body p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.8;
}

.story-body small {
  color: #888;
}

.story-card .news-cover {
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
  max-height: 180px;
  margin-top: 14px;
}

@media (max-width: 1100px) {
  .newsroom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .newsroom-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsroom-header h1 {
    font-size: 32px;
  }

  .newsroom-guide {
    padding: 14px;
  }

  .newsroom-guide > a {
    display: none;
  }

  .newsroom-count {
    gap: 12px;
  }

  .newsroom-toolbar {
    flex-wrap: wrap;
    align-items: start;
  }
}

.ommi-page {
  min-width: 0;
  max-width: 1050px;
  margin: 0 auto 110px;
}

.ommi-hero {
  padding: 4px 0 26px;
}

.ommi-hero p {
  letter-spacing: 3px;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
}

.ommi-hero h1 {
  letter-spacing: -.045em;
  margin: 0 0 8px;
  font-size: 38px;
}

.ommi-hero span {
  color: var(--muted);
  font-size: 15px;
}

.ommi-guide, .ommi-setup, .ommi-action-card, .ommi-section, .ommi-fold, .ommi-sync, .ommi-locked {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 2px 5px #20112f0a;
}

.ommi-guide {
  border-left: 4px solid var(--purple);
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px 18px;
  display: flex;
}

.ommi-guide > svg {
  color: var(--purple);
}

.ommi-guide > div {
  flex: 1;
  min-width: 0;
}

.ommi-guide small, .ommi-guide strong {
  display: block;
}

.ommi-guide small {
  color: var(--purple);
  letter-spacing: 1.5px;
  font-size: 9px;
}

.ommi-guide strong {
  font-size: 13px;
}

.ommi-guide button, .ommi-sync button {
  align-items: center;
  gap: 7px;
  display: flex;
}

.ommi-setup {
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 12px 18px;
  display: flex;
}

.ommi-setup > svg {
  color: #9e8aac;
}

.ommi-setup > div {
  flex: 1;
}

.ommi-setup > div > span {
  align-items: center;
  gap: 8px;
  display: flex;
}

.ommi-setup b {
  color: #d97706;
  font-size: 11px;
}

.ommi-progress {
  background: #f0e8ff;
  border-radius: 8px;
  width: 170px;
  max-width: 100%;
  height: 6px;
  margin-top: 7px;
  overflow: hidden;
}

.ommi-progress i {
  background: var(--purple);
  border-radius: inherit;
  height: 100%;
  display: block;
}

.ommi-setup .button {
  align-items: center;
  gap: 6px;
  display: flex;
}

.ommi-fold {
  margin-bottom: 16px;
  overflow: hidden;
}

.ommi-fold summary {
  cursor: pointer;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 17px 18px;
  list-style: none;
  display: flex;
}

.ommi-fold summary::-webkit-details-marker {
  display: none;
}

.ommi-fold summary strong {
  flex: 1;
}

.ommi-fold summary small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.ommi-fold[open] summary > svg {
  transform: rotate(180deg);
}

.ommi-fold-body {
  border-top: 1px solid var(--line);
  padding: 16px 18px;
}

.ommi-fold-body p {
  margin: 0;
}

.ommi-icon {
  width: 34px;
  height: 34px;
  color: var(--purple);
  background: #f4efff;
  border-radius: 10px;
  flex: none;
  place-items: center;
  display: grid;
}

.ommi-icon.purple {
  background: #f0e8ff;
}

.ommi-impact {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.ommi-impact span {
  background: var(--panel-soft);
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 11px;
}

.ommi-impact svg {
  width: 14px;
  color: var(--muted);
}

.ommi-tabs {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 22px 0 14px;
  padding: 3px;
  display: grid;
}

.ommi-tabs a {
  color: var(--muted);
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 10px;
  display: flex;
}

.ommi-tabs a[aria-current="page"] {
  background: var(--panel-soft);
  color: var(--ink);
  box-shadow: 0 1px 2px #0000000d;
}

.ommi-tabs small {
  color: #a48eae;
  font-size: 8px;
}

.ommi-sync {
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 11px 14px;
  font-size: 11px;
  display: flex;
}

.ommi-sync > span:not(.live-dot):not(.draft-dot) {
  color: var(--muted);
}

.ommi-sync button {
  margin-left: auto;
}

.live-dot, .draft-dot {
  background: #22a06b;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.draft-dot {
  background: #d19a37;
}

.ommi-stack {
  gap: 16px;
  display: grid;
}

.ommi-action-card {
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  display: flex;
}

.ommi-action-card > div {
  flex: 1;
  min-width: 0;
}

.ommi-action-card h3, .ommi-action-card p, .ommi-section-title h3, .ommi-section-title p {
  margin: 0;
}

.ommi-action-card p, .ommi-section-title p {
  margin-top: 4px;
  font-size: 12px;
}

.ommi-section {
  min-width: 0;
  padding: 22px;
}

.ommi-section-title {
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  display: flex;
}

.ommi-section-title > div {
  flex: 1;
}

.ommi-section-title > small {
  color: var(--muted);
  font-size: 10px;
}

.ommi-scan-list {
  gap: 5px;
  margin: 12px 0;
  display: grid;
}

.ommi-scan-list label {
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 8px 2px;
  display: flex;
}

.ommi-scan-list label span {
  font-weight: 600;
}

.ommi-scan-list label small {
  color: var(--muted);
  margin-left: auto;
}

.ommi-wide {
  justify-content: center;
  width: 100%;
}

.ommi-form-grid, .ommi-look-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  display: grid;
}

.ommi-section label {
  font-size: 12px;
}

.ommi-section input:not([type="checkbox"]):not([type="color"]), .ommi-section textarea, .ommi-section select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
}

.ommi-section textarea {
  resize: vertical;
  font: inherit;
  line-height: 1.65;
}

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

.topic-chips button {
  color: #6430bd;
  background: #f4efff;
  border: 1px solid #d9caf7;
  border-radius: 20px;
  padding: 7px 11px;
}

.topic-add {
  gap: 8px;
  margin-top: 12px;
  display: flex;
}

.topic-add input {
  margin: 0 !important;
}

.platform-settings {
  gap: 8px;
  display: grid;
}

.platform-settings > div {
  border-radius: 12px;
  grid-template-columns: minmax(120px, .7fr) repeat(3, minmax(145px, 1fr));
  align-items: center;
  gap: 10px;
  padding: 9px;
  display: grid;
}

.platform-settings > div:nth-child(odd) {
  background: var(--panel-soft);
}

.platform-settings select {
  margin: 0 !important;
}

.platform-name {
  align-items: center;
  gap: 9px;
  margin: 0;
  display: flex !important;
}

.disabled-row {
  opacity: .55;
}

.color-field {
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  display: flex;
}

.color-field input {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  width: 48px;
  height: 40px;
  padding: 3px;
}

.color-field code {
  font-size: 11px;
}

.ommi-section h4 {
  margin: 22px 0 6px;
}

.ommi-section h4 small {
  color: var(--muted);
  font-weight: 400;
}

.ommi-reference-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 20px;
  display: grid;
}

.ommi-reference-grid figure {
  min-width: 0;
  margin: 0;
}

.ommi-reference-grid img {
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 100%;
}

.ommi-reference-grid figcaption {
  overflow-wrap: anywhere;
  font-size: 10px;
}

.ommi-reference-grid figcaption small {
  color: var(--muted);
  display: block;
}

.ommi-test {
  border-top: 1px solid var(--line);
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding-top: 18px;
  display: flex;
}

.ommi-test > div {
  flex: 1;
}

.ommi-test p {
  margin: 4px 0 0;
  font-size: 11px;
}

.ommi-locked {
  text-align: center;
  padding: 65px 24px;
}

.ommi-locked > .ommi-icon {
  margin: auto;
}

.ommi-locked h2 {
  margin: 18px 0 8px;
}

.ommi-locked p {
  max-width: 520px;
  margin: 0 auto 20px;
}

.ommi-locked > span:last-child {
  background: var(--panel-soft);
  color: var(--muted);
  border-radius: 20px;
  padding: 7px 12px;
  font-size: 11px;
  display: inline-block;
}

.ommi-save {
  z-index: 12;
  bottom: 0;
  right: 0;
  left: var(--sidebar);
  background: color-mix(in srgb,var(--panel) 94%,transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 13px max(38px,calc((100vw - var(--sidebar) - 1050px)/2));
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  display: flex;
  position: fixed;
}

.ommi-save > div {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  font-size: 12px;
  display: flex;
}

.ommi-save i {
  background: #d97706;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.ommi-save .button {
  align-items: center;
  gap: 7px;
  display: flex;
}

.ommi-loading {
  min-height: 420px;
  color: var(--muted);
  place-items: center;
  display: grid;
}

@media (max-width: 1050px) {
  .platform-settings > div {
    grid-template-columns: minmax(120px, .7fr) 1fr 1fr;
  }

  .platform-settings > div select:last-child {
    grid-column: 2 / 4;
  }

  .ommi-reference-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ommi-save {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media (max-width: 760px) {
  .ommi-page {
    margin-bottom: 95px;
  }

  .ommi-hero h1 {
    font-size: 31px;
  }

  .ommi-guide button, .ommi-setup > .quiet {
    display: none;
  }

  .ommi-setup {
    flex-wrap: wrap;
  }

  .ommi-setup .button {
    margin-left: auto;
  }

  .ommi-tabs a {
    font-size: 12px;
  }

  .ommi-tabs small {
    display: none;
  }

  .ommi-form-grid, .ommi-look-grid {
    grid-template-columns: 1fr;
  }

  .platform-settings > div {
    grid-template-columns: 1fr 1fr;
  }

  .platform-settings > div .platform-name, .platform-settings > div select:last-child {
    grid-column: 1 / 3;
  }

  .ommi-reference-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ommi-save {
    padding: 12px 18px;
    left: 0;
  }

  .ommi-sync {
    flex-wrap: wrap;
  }

  .ommi-sync button {
    margin-left: 0;
  }

  .ommi-action-card {
    flex-wrap: wrap;
  }

  .ommi-action-card button {
    margin-left: 48px;
  }
}

@media (max-width: 460px) {
  .ommi-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-settings > div {
    grid-template-columns: 1fr;
  }

  .platform-settings > div .platform-name, .platform-settings > div select:last-child {
    grid-column: auto;
  }

  .ommi-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-add {
    flex-direction: column;
  }

  .ommi-save > div {
    display: none;
  }
}

[data-theme="dark"] .ommi-icon, [data-theme="dark"] .topic-chips button {
  color: #dfc5ff;
  background: #352649;
}

[data-theme="dark"] .platform-settings > div:nth-child(odd), [data-theme="dark"] .ommi-impact span {
  background: #25212c;
}

.voice-topbar {
  display: none;
}

.ommi-blurb {
  margin: 0;
  font-size: 13px;
}

.ommi-blurb-row {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 4px 22px;
  display: flex;
}

.ommi-blurb-row > span {
  color: var(--muted);
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  display: flex;
}

.ommi-blurb-row > span i {
  display: inline-block;
}

.ommi-blurb-row button {
  color: var(--muted);
  background: none;
  border: 0;
  place-items: center;
  padding: 3px;
  display: grid;
}

.ommi-reference-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  align-items: start;
}

.ommi-reference-grid img {
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--panel-soft);
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 760px) {
  .voice-topbar {
    display: flex;
  }

  .ommi-blurb-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.inspo-topline {
  color: #8a7b9e;
  letter-spacing: 1px;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  display: flex;
}

.inspo-topline a {
  letter-spacing: 0;
  align-items: center;
  gap: 7px;
  display: flex;
}

.inspo-heading {
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  display: flex;
}

.inspo-heading h1 {
  letter-spacing: -1px;
  margin: 0 0 8px;
  font-size: 34px;
}

.inspo-heading p {
  color: #85808f;
  margin: 0;
}

.inspo-heading button {
  align-items: center;
  gap: 8px;
  display: flex;
}

.inspo-platforms {
  border-bottom: 1px solid #e9e5ef;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0 22px;
  display: flex;
}

.inspo-platforms a {
  color: #77717f;
  border-radius: 24px;
  padding: 9px 16px;
  font-size: 13px;
  text-decoration: none;
}

.inspo-platforms a.active {
  color: #fff;
  background: #8038f5;
}

.inspo-viewbar {
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  display: flex;
}

.inspo-viewbar > div {
  gap: 18px;
  display: flex;
}

.inspo-viewbar button {
  box-shadow: none;
  color: #8a8494;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 8px 0;
}

.inspo-viewbar button.active {
  color: #7532d7;
  border-bottom: 2px solid #8038f5;
}

.inspo-viewbar button span {
  background: #eee8f8;
  border-radius: 7px;
  margin-left: 4px;
  padding: 3px 7px;
}

.inspo-viewbar small {
  color: #8b8592;
}

.inspo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
  display: grid;
}

.inspo-post {
  background: var(--panel, #fff);
  border: 1px solid #e8e5ed;
  border-radius: 18px;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 2px 4px #20103504;
}

.inspo-author {
  align-items: center;
  gap: 10px;
  padding: 17px;
  display: flex;
}

.inspo-avatar {
  color: #82659f;
  background: #f1edf7;
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  width: 36px;
  height: 36px;
  font-weight: 600;
  display: grid;
}

.inspo-author > div {
  flex: 1;
  min-width: 0;
}

.inspo-author strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  display: block;
}

.inspo-author span:not(.inspo-avatar) {
  color: #8b8494;
  margin-top: 4px;
  font-size: 11px;
  display: block;
}

.inspo-author > a {
  color: #8b8494;
}

.inspo-media {
  aspect-ratio: 4 / 5;
  background: #f3f1f6;
  max-height: 430px;
  position: relative;
  overflow: hidden;
}

.inspo-media img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
}

.inspo-media-badge {
  color: #fff;
  background: #19131dcf;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  font-size: 11px;
  display: flex;
  position: absolute;
  bottom: 12px;
  left: 12px;
}

.inspo-media-error {
  color: #8c8594;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: 100%;
  font-size: 12px;
  display: flex;
}

.inspo-text-type {
  color: #8a8293;
  background: #f8f6fb;
  padding: 8px 18px;
  font-size: 11px;
}

.inspo-content {
  padding: 18px 18px 12px;
}

.inspo-content time {
  color: #99919f;
  font-size: 11px;
}

.inspo-caption {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
  display: -webkit-box;
  overflow: hidden;
}

.inspo-caption.expanded {
  display: block;
  overflow: visible;
}

.inspo-expand {
  box-shadow: none !important;
  color: #783acb !important;
  background: none !important;
  border: 0 !important;
  padding: 8px 0 !important;
  font-size: 12px !important;
}

.inspo-preview-note {
  color: #999;
  font-size: 11px;
}

.inspo-metrics {
  color: #807886;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  font-size: 12px;
  display: flex;
}

.inspo-metrics > span {
  align-items: center;
  gap: 5px;
  display: flex;
}

.inspo-metrics small {
  color: #aaa;
  font-size: 10px;
}

.inspo-actions {
  border-top: 1px solid #f0ecf4;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  display: flex;
}

.inspo-actions > a {
  color: #807786;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  display: flex;
}

.inspo-actions > .button {
  color: #fff;
  padding: 11px 13px;
  font-size: 12px;
}

.inspo-provenance {
  color: #a39aa9;
  border-top: 1px solid #f0ecf4;
  padding: 10px 18px;
  font-size: 10px;
}

.inspo-provenance dd {
  overflow-wrap: anywhere;
  margin: 4px 0 10px;
}

.inspo-provenance dt {
  font-weight: 600;
}

@media (max-width: 1150px) {
  .inspo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .inspo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .inspo-viewbar {
    flex-direction: column;
    align-items: start;
  }

  .inspo-heading h1 {
    font-size: 28px;
  }

  .inspo-topline > span {
    display: none;
  }

  .inspo-heading {
    gap: 15px;
  }

  .inspo-heading button {
    font-size: 11px;
  }

  .inspo-platforms a {
    padding: 8px 11px;
  }

  .inspo-media {
    max-height: 500px;
  }
}

/*# sourceMappingURL=app_globals_0yg4wg8.css.map*/