/* Nanshure workspace uses the typography and monochrome palette of the public hero. */
:root {
  --surface: #000;
  --raised: #101010;
  --line: #393939;
  --white: #f4f4f4;
  --secondary: #a8a8a8;
  --muted: #8d8d8d;
}
body {
  font-family: "IBM Plex Sans", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
button {
  border: 0;
}
button:disabled {
  cursor: wait;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.muted,
small {
  color: var(--secondary);
}
.eyebrow {
  font:
    11px "IBM Plex Mono",
    monospace;
  color: var(--secondary);
  letter-spacing: 0.025em;
  margin: 0 0 24px;
}
.text-button {
  background: transparent;
  padding: 0;
  font: inherit;
}
.login-menu {
  position: relative;
  font-size: 12px;
}
.login-menu summary {
  list-style: none;
  display: flex;
  gap: 32px;
  padding: 10px 0 10px 16px;
}
.login-menu summary::-webkit-details-marker {
  display: none;
}
.login-menu nav {
  position: absolute;
  right: 0;
  top: 44px;
  width: min(252px, 86vw);
  padding: 8px 20px;
  background: #000;
  border: 1px solid var(--line);
}
.login-menu a {
  display: block;
  padding: 16px 0;
}
.login-menu a + a {
  border-top: 1px solid var(--line);
}
.login-menu a span {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}
.login-menu small {
  font-size: 11px;
}
.login-menu a:hover {
  color: #fff;
}
dialog {
  background: var(--surface);
  color: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
  width: min(560px, calc(100% - 32px));
  max-height: 90svh;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #000b;
}
.dialog-close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: transparent;
  color: inherit;
  font-size: 26px;
  font-weight: 300;
}
dialog h2 {
  margin: 0 0 32px;
  font-size: 32px;
  font-weight: 300;
}
label {
  display: block;
  font-size: 12px;
  color: var(--secondary);
  margin: 0 0 24px;
}
input,
select,
textarea {
  display: block;
  color: var(--white);
  background: var(--raised);
  border: 0;
  border-bottom: 1px solid #6f6f6f;
  border-radius: 0;
  width: 100%;
  padding: 13px 16px;
  margin-top: 8px;
  min-height: 44px;
}
input[type="checkbox"] {
  width: 16px;
  min-height: auto;
  accent-color: #fff;
}
input[type="range"] {
  padding: 12px 0;
  accent-color: var(--white);
  background: transparent;
  border: 0;
}
textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}
.check {
  display: flex;
  align-items: start;
  gap: 12px;
  line-height: 1.5;
}
.check input {
  margin-top: 2px;
}
label small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 8px;
}
.primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  width: 100%;
  background: var(--white);
  color: var(--surface);
  padding: 16px;
  min-height: 48px;
  font-size: 13px;
  text-align: left;
}
.primary:hover {
  background: #c6c6c6;
}
.form-status {
  font-size: 12px;
  line-height: 1.5;
  min-height: 18px;
}
.public-section {
  padding: 96px 8%;
  border-top: 1px solid var(--line);
  max-width: 1440px;
  margin: auto;
}
.public-section h2 {
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 300;
  margin: 0 0 24px;
}
.public-section p {
  color: var(--secondary);
  max-width: 65ch;
  line-height: 1.7;
}
.public-section a {
  display: inline-block;
  margin-top: 24px;
  border-bottom: 1px solid;
  padding-bottom: 4px;
}
.align-center {
  text-align: center;
}
.align-center p {
  margin-inline: auto;
}
.spacing-compact {
  padding-block: 48px;
}
.spacing-wide {
  padding-block: 144px;
}
.auth-body {
  min-height: 100svh;
}
.auth-header {
  position: static;
  display: flex;
  justify-content: space-between;
  padding: 32px 5%;
  font-size: 12px;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(330px, 420px) 1fr;
  gap: 10vw;
  margin: 5vh 8% 10vh;
}
.auth-panel h1 {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 300;
  line-height: 1;
  margin: 0 0 28px;
}
.auth-panel > .muted {
  font-size: 13px;
  margin-bottom: 40px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  margin-top: 24px;
  color: var(--secondary);
}
.auth-visual {
  position: relative;
  min-height: 500px;
}
.auth-visual iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 500px;
}
.auth-visual p {
  position: absolute;
  bottom: 0;
  left: 0;
  font:
    12px/1.7 "IBM Plex Mono",
    monospace;
  color: var(--secondary);
}
.auth-footer {
  position: static;
  display: flex;
  justify-content: space-between;
  padding: 24px 5%;
  font:
    10px "IBM Plex Mono",
    monospace;
  color: var(--muted);
}
.workspace {
  background: var(--surface);
  color: var(--white);
}
.workspace.light {
  --surface: #fff;
  --raised: #f4f4f4;
  --white: #161616;
  --secondary: #525252;
  --muted: #6f6f6f;
  --line: #c6c6c6;
}
.public-light {
  background: #fff;
  --surface: #fff;
  --raised: #f4f4f4;
  --white: #161616;
  --secondary: #525252;
  --muted: #6f6f6f;
  --line: #c6c6c6;
  color-scheme: light;
}
.public-light .logo-crop img {
  filter: invert(1);
}
.public-light .login-menu nav {
  background: #fff;
  color: #161616;
}
.public-light .login-menu a:hover {
  color: #000;
}
.app-layout {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100svh;
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100svh;
  overflow-y: auto;
}
.sidebar .brand {
  line-height: 1.5;
  margin-bottom: 48px;
}
.nav-group {
  margin: 0 0 28px;
}
.nav-group h2 {
  font:
    9px "IBM Plex Mono",
    monospace;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.nav-group a {
  display: block;
  padding: 8px 0;
  font-size: 12px;
  color: var(--secondary);
}
.nav-group a[aria-current="page"],
.nav-group a:hover {
  color: var(--white);
}
.sidebar-motto {
  font:
    11px/1.6 "IBM Plex Mono",
    monospace;
  color: var(--muted);
  margin-top: auto;
  padding-top: 32px;
}
.app-top {
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.quiet {
  padding: 8px 0;
  background: transparent;
  color: var(--secondary);
  font-size: 12px;
}
.quiet:hover {
  color: var(--white);
}
kbd {
  font:
    10px "IBM Plex Mono",
    monospace;
  color: var(--muted);
  margin-left: 12px;
}
.app-content {
  padding: 44px 4%;
}
.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}
.heading-row h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.025em;
}
.heading-row .muted {
  font-size: 11px;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
.toolbar input,
.toolbar select {
  width: auto;
  max-width: 250px;
  margin: 0;
}
.toolbar .primary {
  width: auto;
  min-height: 40px;
  padding: 12px 16px;
  gap: 32px;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
.table-wrap table {
  min-width: 720px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  color: var(--secondary);
  font-weight: 400;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--raised);
  white-space: nowrap;
}
td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  max-width: 330px;
  min-width: 100px;
  overflow-wrap: break-word;
  line-height: 1.5;
}
td button {
  color: var(--white);
  background: transparent;
  padding: 4px 12px 4px 0;
  text-align: left;
}
.empty {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  font-size: 14px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 64px;
  gap: 32px;
}
.metric {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.metric p {
  font-size: 12px;
  color: var(--secondary);
  margin: 0 0 24px;
}
.metric strong {
  font:
    300 56px "IBM Plex Sans Condensed",
    sans-serif;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 1.8fr;
  gap: 40px;
}
.editor-layout iframe {
  width: 100%;
  height: 680px;
  border: 1px solid var(--line);
  background: #000;
}
.editor-form {
  max-width: 640px;
}
.inline-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.section-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.section-row .inline-actions {
  margin: 12px 0 0;
}
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  padding: 16px 24px;
  border-left: 2px solid var(--white);
  background: var(--raised);
  color: var(--white);
  max-width: 400px;
  z-index: 20;
  font-size: 12px;
  display: none;
}
.toast.visible {
  display: block;
}
.command-link {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.pagination {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  font:
    11px "IBM Plex Mono",
    monospace;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(9, 220px);
  overflow-x: auto;
  gap: 24px;
}
.kanban h3 {
  font:
    11px "IBM Plex Mono",
    monospace;
}
.kanban article {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
}
.mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}
@media (max-width: 1000px) {
  .app-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 20px;
  }
  .top-actions {
    gap: 12px;
  }
  .top-actions kbd {
    display: none;
  }
  .app-top {
    padding-inline: 24px;
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .editor-layout iframe {
    height: 480px;
  }
}
@media (max-width: 700px) {
  .auth-layout {
    display: block;
    margin: 6vh 7%;
  }
  .auth-panel {
    max-width: 420px;
  }
  .auth-visual {
    display: none;
  }
  .auth-header {
    padding: 24px 7%;
  }
  .auth-footer {
    display: block;
    padding: 24px 7%;
  }
  .auth-footer span {
    display: block;
    margin-bottom: 12px;
  }
  .app-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    display: none;
  }
  .workspace.nav-open .sidebar {
    display: flex;
    height: auto;
    position: static;
  }
  .app-top {
    flex-wrap: wrap;
    padding: 12px 7%;
  }
  .top-actions {
    gap: 16px;
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
  .app-content {
    padding: 32px 7%;
  }
  .heading-row {
    display: block;
  }
  .heading-row .muted {
    display: block;
    margin-top: 16px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .metric strong {
    font-size: 44px;
  }
  dialog {
    padding: 32px 24px;
  }
  .toast {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.logo-crop {
  display: block;
  position: relative;
  width: 210px;
  height: 36px;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-crop img {
  position: absolute;
  width: 280px;
  max-width: none;
  height: 140px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
}
.sidebar .logo-crop {
  width: 180px;
  margin-left: -4px;
}
.sidebar .logo-crop img {
  width: 250px;
  height: 125px;
}
.light .logo-crop img {
  filter: invert(1);
}
@media (max-width: 700px) {
  header .logo-crop {
    width: 165px;
  }
  header .logo-crop img {
    width: 240px;
    height: 120px;
  }
}

.public-nav {
  display: flex;
  gap: 24px;
  min-width: 0;
  overflow-x: auto;
  padding: 6px;
  white-space: nowrap;
  margin-left: auto;
  margin-right: clamp(12px, 3vw, 40px);
  font-size: 12px;
  color: var(--secondary);
}
.public-nav:empty {
  display: none;
}
@media (max-width: 700px) {
  .page > header {
    flex-wrap: wrap;
  }
  .page .public-nav:not(:empty) {
    display: flex;
    flex: 0 0 100%;
    order: 3;
    margin: 20px 0 0;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
  }
}
.app-main {
  min-width: 0;
}
.credit-top::after {
  content: none;
}
.section-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
}
.poster-preview {
  position: relative;
  min-width: 0;
}
.poster-preview {
  aspect-ratio: 16/9;
  align-self: start;
}
.poster-preview iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.site-editor {
  grid-template-columns: minmax(130px, 0.5fr) minmax(260px, 1.5fr) minmax(
      210px,
      1fr
    );
  gap: 24px;
}
.page-tree {
  border-right: 1px solid var(--line);
  padding-right: 16px;
}
.page-tree h2 {
  font:
    11px "IBM Plex Mono",
    monospace;
  color: var(--secondary);
  margin: 0 0 20px;
}
.page-tree h2:not(:first-child) {
  margin-top: 32px;
}
.page-tree button {
  display: block;
  text-align: left;
  line-height: 1.5;
}
.editor-properties {
  max-height: 680px;
  overflow-y: auto;
  padding-right: 12px;
}
.preview-viewport {
  min-width: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  align-self: start;
  background: #000;
}
.preview-viewport iframe {
  border: 0;
  display: block;
  max-width: none;
}
.heading-row h1 {
  font-family: "IBM Plex Sans Condensed", sans-serif;
}
@media (max-width: 1200px) {
  .site-editor {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .site-editor .editor-properties {
    grid-column: 1 / -1;
    max-height: none;
  }
}
@media (max-width: 700px) {
  .site-editor {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-tree {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }
}
.product-logo {
  display: block;
  width: 132px;
  height: 50px;
  object-fit: cover;
  background: #000;
}
.portal-welcome {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.portal-welcome h2 {
  font:
    300 clamp(36px, 4vw, 56px)/1.05 "IBM Plex Sans Condensed",
    sans-serif;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.portal-welcome p {
  font-size: 12px;
}
.portal-welcome iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  background: #000;
}
.section-heading {
  font:
    300 32px "IBM Plex Sans Condensed",
    sans-serif;
  margin: 48px 0 24px;
}
@media (max-width: 700px) {
  .portal-welcome {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .portal-welcome iframe {
    height: 240px;
  }
}
.poster-overlay {
  pointer-events: none;
  position: absolute;
  inset: 20% 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.poster-overlay h2 {
  white-space: pre-line;
  font:
    300 clamp(32px, 4vw, 64px)/1 "IBM Plex Sans Condensed",
    sans-serif;
  margin: 0;
}
.poster-overlay p {
  font-size: 12px;
  color: #a8a8a8;
  max-width: 26ch;
}
@media (max-width: 700px) {
  .public-nav {
    display: none;
  }
}
.workspace.nav-collapsed .app-layout {
  grid-template-columns: minmax(0, 1fr);
}
.workspace.nav-collapsed .sidebar {
  display: none;
}
.public-section.height-compact {
  min-height: 30svh;
}
.public-section.height-screen {
  min-height: 100svh;
}
.public-section.background-gray {
  background: #161616;
  color: #f4f4f4;
}
.public-section.background-white {
  background: #f4f4f4;
  color: #161616;
}
.public-section.typography-large p {
  font-size: clamp(20px, 2.4vw, 36px);
}
.public-section.typography-mono {
  font-family: "IBM Plex Mono", monospace;
}
.public-section.animation-fade {
  animation: section-enter 400ms ease-out both;
}
@keyframes section-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 701px) {
  .public-section.devices-mobile {
    display: none;
  }
}
@media (max-width: 700px) {
  .public-section.devices-desktop {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .public-section.animation-fade {
    animation: none;
  }
}
