@font-face {
  font-family: Satoshi;
  src: url('/assets/Satoshi-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Satoshi,Arial,sans-serif;
  color: #1f2333;
  background: #fafafa;
  font-synthesis: none;
  --ink: #1f2333;
  --muted: #6e7687;
  --line: #dcdfe4;
  --purple: #a952fa;
  --sidebar: 210px;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: .5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: middle;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #ae77ee;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 42px;
}
h2 {
  font-size: 19px;
  line-height: 1.4;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
[hidden] {
  display: none!important;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.boot {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  background: #fff;
  z-index: 100;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.sidebar {
  width: var(--sidebar);
  height: 100dvh;
  position: fixed;
  inset: 0 auto 0 0;
  background: #f5f4f6;
  border-right: 1px solid #dbdae1;
  z-index: 50;
  display: flex;
  flex-direction: column;
}
.sidebar-brand {
  height: 45.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid #dbdae1;
  flex-shrink: 0;
}
.brand {
  position: relative;
  display: block;
  width: 140px;
  height: 30px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand img {
  position: absolute;
  left: -30.9px;
  top: -18.7px;
  width: 201.25px;
  height: 67.1px;
  max-width: none;
  object-fit: fill;
  filter: brightness(0);
}
.topbar .topbar-brand {
  display: none;
}
.sidebar-close {
  display: none;
}
.sidebar-nav {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
}
.nav-link {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 6px;
  color: #6e7587;
  white-space: nowrap;
  text-align: left;
}
.nav-link:hover {
  background: #eae8ee;
  color: var(--ink);
}
.nav-link.active {
  background: #dbdae1;
}
.sidebar-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.sidebar-rule {
  height: 1px;
  background: #dbdae1;
  margin: 0 -12px 0;
}
.credits {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 4px;
}
.credits b {
  color: var(--ink);
  font-weight: 600;
}
.sidebar-scrim {
  display: none;
}
.shell {
  margin-left: var(--sidebar);
  min-height: 100dvh;
}
.topbar {
  height: 45.5px;
  border-bottom: 1px solid #dbdae1;
  background: #fafafaf2;
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px;
  backdrop-filter: blur(10px);
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.topbar .menu {
  display: none;
}
.icon-btn {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:hover {
  background: #ecebf0;
}
.mobile-back {
  display: none;
}
.page {
  max-width: min(1000px,calc(100% - 10vw));
  margin: auto;
  padding: 14px clamp(3.5px,3vw,18.2px) 40px;
  display: flex;
  flex-direction: column;
  gap: 17.5px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #686576;
  width: max-content;
  font-size: 13px;
  min-height: 24px;
}
.back:hover {
  color: #8f39de;
}
.listing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.heading-line {
  display: flex;
  align-items: center;
  gap: 17.5px;
  flex-wrap: wrap;
}
.listing-code {
  margin-top: 11px;
  color: var(--muted);
  line-height: 14px;
}
.listing-code strong {
  color: var(--ink);
  font-weight: 600;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 99px;
  padding: 4px 9px;
  background: #9b52facc;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.pill svg {
  width: 13px;
  height: 13px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 9px 14px;
  min-height: 38px;
  line-height: 20px;
  font-weight: 600;
  transition: background .15s,border-color .15s;
  white-space: nowrap;
}
.btn:hover {
  background: #f3edfc;
  border-color: #cbb5e1;
}
.btn.primary {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.btn.primary:hover {
  background: #963deb;
}
.btn.secondary {
  background: #eee6ff;
  color: #502799;
  border-color: transparent;
}
.btn.secondary:hover {
  background: #e6d8ff;
}
.btn.danger:hover {
  color: #b93245;
  background: #fff0f2;
  border-color: #e1acb3;
}
.btn.full {
  width: 100%;
}
.btn.share {
  height: 44px;
  background: #f0e8ff;
  border-color: transparent;
  color: #642cac;
  padding: 10px 19px;
}
.btn.subtle {
  background: transparent;
}
.tabs {
  display: flex;
  gap: 32px;
  border-bottom: 2px solid #d9d9d9;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.tab {
  position: relative;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 12px 0;
  color: #201e4ea6;
  white-space: nowrap;
  line-height: 21px;
}
.tab.active {
  font-weight: 600;
  color: var(--ink);
}
.tab.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 352px;
  gap: 24px;
  align-items: start;
}
.preview-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.space-preview {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  background: #fff;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.space-preview > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.space-preview:after {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  transition: opacity .2s;
}
.space-preview:hover:after {
  opacity: .22;
}
.ready-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px 4px 8px;
  height: 28px;
  border-radius: 99px;
  background: #1a9e4ccc;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.view-space {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
}
.view-space span {
  padding: 10px 20px;
  border-radius: 8px;
  background: #0009;
  color: #fff;
  font-weight: 600;
  letter-spacing: .01em;
}
.right-rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.ai-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.ai-title svg {
  color: #502799;
}
.ai-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.ai-card .btn {
  margin-top: 8px;
  min-height: 36px;
  padding: 7px 12px;
}
.rail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.resources-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}
.resources-row strong {
  font-weight: 600;
}
.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #737184;
  font-weight: 500;
  padding: 0;
  text-align: left;
}
.resource-link svg {
  color: #7b36f2;
}
.resource-link:hover {
  color: #7b36f2;
}
.archive-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #fff8e8;
  border: 1px solid #f1dba3;
  padding: 14px 18px;
  border-radius: 10px;
}
.description {
  white-space: pre-line;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 600;
}
.field input,
.field textarea,
.field select,
.search-input {
  border: 1px solid #d7d7df;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  padding: 10px 12px;
  min-width: 0;
  width: 100%;
  font-weight: 400;
}
.field textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 160px;
}
.field .hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  padding: 0;
  border-radius: 9px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #ecebef;
}
.gallery-item > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform .2s;
}
.gallery-item:hover > img {
  transform: scale(1.035);
}
.gallery-item .image-caption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: #000a;
  color: white;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 11px;
}
.floorplan {
  max-width: 360px;
  aspect-ratio: 16/10;
}
.floorplan > img {
  object-fit: contain;
  background: white;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}
.setting-row:first-child {
  padding-top: 0;
}
.setting-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.setting-copy p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}
.switch {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  cursor: pointer;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.switch-track {
  display: block;
  width: 42px;
  height: 24px;
  background: #cccad3;
  border-radius: 30px;
  pointer-events: none;
  transition: background .2s;
}
.switch-track:after {
  content: '';
  display: block;
  position: absolute;
  top: 3px;
  left: 3px;
  background: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transition: transform .2s;
}
.switch input:checked + .switch-track {
  background: var(--purple);
}
.switch input:checked + .switch-track:after {
  transform: translateX(18px);
}
.switch input:focus-visible + .switch-track {
  outline: 3px solid #b78adf;
  outline-offset: 3px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.stat {
  padding: 24px;
}
.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 600;
  margin-top: 12px;
}
.empty {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}
.empty > svg {
  height: 32px;
  width: 32px;
  color: #9d92ad;
}
.empty p {
  max-width: 470px;
  color: var(--muted);
}
.avatar {
  background: #ede2fd;
  color: #7349a0;
  border-radius: 50%;
  height: 36px;
  width: 36px;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.user-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.user-row .role {
  margin-left: auto;
  background: #f0eef5;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 12px;
}
.project-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.search {
  position: relative;
  width: min(340px,100%);
}
.search svg {
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--muted);
}
.search-input {
  padding-left: 38px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: white;
  transition: box-shadow .2s,transform .2s;
}
.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px #292d4210;
}
.project-cover {
  position: relative;
  aspect-ratio: 16/10;
}
.project-cover > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.project-meta {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-meta .meta-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
.project-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.project-tab {
  position: relative;
  padding: 12px 0;
  color: var(--muted);
}
.project-tab.active {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 2px solid var(--ink);
}
.count {
  font-size: 11px;
  border-radius: 10px;
  padding: 1px 7px;
  background: #eae7ef;
  margin-left: 5px;
}
.list-layout {
  grid-template-columns: 1fr;
}
.list-layout .project-card {
  display: flex;
  align-items: center;
}
.list-layout .project-cover {
  width: 190px;
  flex-shrink: 0;
}
.list-layout .project-meta {
  flex: 1;
}
.view-toggle {
  display: flex;
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: 8px;
  flex-shrink: 0;
}
.view-toggle button {
  border-radius: 4px;
  height: 30px;
  width: 32px;
}
.view-toggle .selected {
  background: #e9e6ed;
}
.workspace-banner {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.help-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.help-card .btn {
  align-self: flex-start;
}
.guide-steps {
  padding-left: 22px;
  margin: 0;
  line-height: 1.7;
}
.guide-steps li {
  padding: 6px 0;
}
.viewer-shell {
  height: calc(100dvh - 45.5px);
  display: flex;
  flex-direction: column;
}
.viewer-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border-bottom: 1px solid var(--line);
  gap: 10px;
  flex-wrap: wrap;
}
.viewer-title {
  display: flex;
  align-items: center;
  gap: 20px;
}
.viewer-title strong {
  font-size: 15px;
}
.viewer-actions {
  display: flex;
  gap: 8px;
}
.viewer-host {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #edf0f2;
}
.viewer-host iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.viewer-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: #fafafa;
}
.spinner {
  border: 3px solid #e7dbf3;
  border-top-color: var(--purple);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.viewer-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  border: 1px solid #d7c7e7;
  background: #fffefc;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 3px 15px #0001;
  max-width: 90%;
  width: max-content;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.viewer-host:fullscreen {
  background: white;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  width: min(540px,calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  color: var(--ink);
  box-shadow: 0 25px 60px #1612272b;
}
dialog::backdrop {
  background: #17122466;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px 12px;
}
.dialog-header h2 {
  font-size: 20px;
}
.dialog-body {
  padding: 8px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dialog-body p {
  color: var(--muted);
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.copy-row {
  display: flex;
  gap: 8px;
}
.copy-row input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  border: 1px solid var(--line);
  background: #f7f6fa;
  border-radius: 7px;
  padding: 10px;
}
.share-options {
  display: flex;
  gap: 7px;
  background: #f2f0f5;
  padding: 4px;
  border-radius: 8px;
}
.share-options button {
  padding: 8px 12px;
  border-radius: 6px;
  flex: 1;
}
.share-options button.active {
  background: #fff;
  box-shadow: 0 1px 5px #0001;
}
.lightbox {
  width: min(1100px,calc(100vw - 32px));
  background: #15151b;
  color: #fff;
}
.lightbox .dialog-header {
  padding: 12px 18px;
}
.lightbox .dialog-header h2 {
  font-size: 14px;
}
.lightbox .dialog-body {
  padding: 0 16px 16px;
}
.lightbox-image {
  max-height: 72vh;
  width: 100%;
  object-fit: contain;
}
.lightbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lightbox .icon-btn:hover {
  background: #ffffff18;
}
.lightbox .btn {
  color: white;
  background: #29282f;
  border-color: #494750;
}
.lightbox .dialog-body p {
  color: #ccc;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 105px);
  transform: translate(-50%,15px);
  z-index: 100;
  background: #282333;
  color: white;
  box-shadow: 0 8px 25px #0002;
  border-radius: 10px;
  padding: 12px 18px;
  max-width: calc(100vw - 40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s,transform .2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%,0);
}
.sidebar .sidebar-close,
.topbar .mobile-back {
  display: none;
}
.right-rail > .ai-card,
.right-rail > .rail-actions {
  width: 100%;
}
@media (min-width:1600px) {
  .page {
    padding-top: 21px;
  }
}
@media (max-width:1199px) {
  .home-grid {
    grid-template-columns: minmax(0,1fr) 300px;
  }
  .resources-row {
    gap: 12px;
  }
  .project-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width:1023px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform .2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-close {
    display: inline-flex;
  }
  .sidebar-scrim.open {
    display: block;
    position: fixed;
    inset: 0;
    background: #14102066;
    backdrop-filter: blur(2px);
    z-index: 45;
  }
  .shell {
    margin-left: 0;
  }
  .topbar .menu {
    display: inline-flex;
  }
  .page {
    max-width: calc(100% - 6vw);
  }
  .home-grid {
    grid-template-columns: 1fr;
  }
  .right-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .space-preview {
    aspect-ratio: 16/9;
  }
  .rail-actions {
    padding-top: 0;
  }
  #toast {
    left: 50%;
  }
}
@media (max-width:599px) {
  .topbar {
    padding: 0 12px;
  }
  .mobile-back {
    display: inline-flex;
  }
  .page {
    max-width: 100%;
    padding: 18px 18px 32px;
    gap: 17px;
  }
  .page > .back {
    display: none;
  }
  .heading-line {
    gap: 8px;
  }
  .listing-header {
    gap: 12px;
    align-items: flex-start;
  }
  .header-actions {
    margin-top: 4px;
  }
  .header-actions .share {
    min-height: 36px;
    height: 36px;
    padding: 7px 12px;
  }
  .listing-code {
    margin-top: 4px;
    font-size: 12px;
  }
  .pill {
    font-size: 10px;
    padding: 3px 7px;
  }
  .heading-line h1 {
    font-size: 23px;
    line-height: 32px;
  }
  .tabs {
    gap: 24px;
    margin-top: 4px;
  }
  .tab {
    padding: 10px 0;
    font-size: 13px;
  }
  .home-grid {
    gap: 20px;
  }
  .space-preview {
    border-radius: 12px;
    aspect-ratio: 16/10;
  }
  .right-rail {
    display: flex;
  }
  .card {
    padding: 18px;
    border-radius: 12px;
  }
  .resources-row {
    font-size: 12px;
    gap: 12px;
  }
  .resources-row strong {
    width: 100%;
  }
  .gallery {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }
  .form-grid {
    gap: 10px;
  }
  .form-grid .field {
    font-size: 12px;
  }
  .form-grid input {
    padding: 10px;
  }
  .stats {
    gap: 9px;
  }
  .stat {
    padding: 14px 10px;
  }
  .stat strong {
    font-size: 25px;
  }
  .stat p {
    font-size: 11px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-toolbar {
    gap: 8px;
  }
  .help-grid {
    grid-template-columns: 1fr;
  }
  .viewer-toolbar {
    padding: 10px 12px;
    min-height: 55px;
  }
  .viewer-title {
    gap: 8px;
  }
  .viewer-title strong {
    font-size: 13px;
  }
  .viewer-actions .btn {
    font-size: 12px;
    padding: 6px 9px;
    min-height: 32px;
  }
  .viewer-title .back {
    font-size: 12px;
  }
  .viewer-toolbar .viewer-code {
    display: none;
  }
  .list-layout .project-cover {
    width: 110px;
  }
  .dialog-header {
    padding: 17px 18px 8px;
  }
  .dialog-body {
    padding: 8px 18px 20px;
  }
  .copy-row {
    flex-wrap: wrap;
  }
  .copy-row input {
    flex-basis: 100%;
  }
  .copy-row .btn {
    width: 100%;
  }
}
@media (max-width:1023px) {
  .sidebar .sidebar-close {
    display: inline-flex;
  }
  .topbar .topbar-brand {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(.75);
  }
}
@media (max-width:599px) {
  .topbar .mobile-back {
    display: inline-flex;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,
  *:before,
  *:after {
    transition: none!important;
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    scroll-behavior: auto!important;
  }
}
