/* [project]/src/app/globals.css [app-client] (css) */
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

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

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .block {
    display: block;
  }

  .hidden {
    display: none;
  }
}

:root {
  --bg-canvas: #f6f7f9;
  --bg-surface: #fff;
  --bg-subtle: #eef1f6;
  --border-hairline: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent-brand: #4f46e5;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg-canvas);
  color: var(--text-primary);
  margin: 0;
  font-family: Inter, Arial, PingFang SC, Microsoft YaHei, sans-serif;
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea {
  outline-offset: 3px;
}

button {
  cursor: pointer;
}

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

button {
  color: inherit;
  background: none;
  border: 0;
}

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

button, a, input, select, textarea {
  transition: background .16s, border-color .16s, box-shadow .16s, color .16s;
}

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent-brand);
}

input, select, textarea {
  color: var(--text-primary);
  background: #fff;
  border: 1px solid #dfe4eb;
  border-radius: 7px;
  min-width: 0;
  padding: 10px 12px;
}

input:focus, select:focus, textarea:focus {
  border-color: #818cf8;
  outline: 2px solid #c7d2fe;
}

input::placeholder, textarea::placeholder {
  color: #9ba4b3;
}

select {
  cursor: pointer;
}

small {
  font-size: 11px;
}

.mono, code, pre, kbd {
  font-family: SFMono-Regular, Consolas, Liberation Mono, monospace;
}

.muted {
  color: #8590a2;
}

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

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

.button {
  white-space: nowrap;
  background: #fff;
  border: 1px solid #dfe3e9;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
  display: inline-flex;
}

.button:hover {
  background: #f7f8fb;
  border-color: #bfc7d4;
}

.button.primary {
  color: #fff;
  background: #202329;
  border-color: #202329;
}

.button.primary:hover {
  background: #373b43;
}

.button.small {
  padding: 8px 12px;
  font-size: 11px;
}

.button.full {
  width: 100%;
}

.button.danger, .danger {
  color: #be4545;
}

.button-tag {
  letter-spacing: 1px;
  opacity: .6;
  margin-left: auto;
  font-size: 8px;
}

.icon-button {
  color: #6c7788;
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  display: inline-flex;
}

.icon-button:hover, .icon-button.active {
  color: #232936;
  background: #eef1f6;
}

.text-button {
  color: #606b7e;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  display: inline-flex;
}

.text-button:hover {
  color: #4f46e5;
}

.button-row {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.eyebrow {
  letter-spacing: 1.7px;
  color: #949cab;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  font-weight: 600;
  display: flex;
}

.eyebrow-line {
  background: #8b95a7;
  width: 23px;
  height: 1px;
}

.subtle-label {
  color: #97a0af;
  letter-spacing: .7px;
  font-size: 10px;
}

.site-header {
  z-index: 25;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #f6f7f9eb;
  border-bottom: 1px solid #e6e9ee;
  align-items: center;
  gap: 32px;
  height: 66px;
  padding: 0 3.2%;
  display: flex;
  position: sticky;
  top: 0;
}

.brand-link {
  flex-shrink: 0;
}

.logo {
  letter-spacing: -.8px;
  color: #252a35;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 720;
  display: inline-flex;
}

.logo-dot {
  color: #8f99a9;
  margin-left: -8px;
}

.logo-mark {
  justify-content: center;
  align-items: center;
  width: 27px;
  height: 31px;
  display: inline-flex;
  position: relative;
}

.logo-mark svg {
  transform: rotate(-15deg);
}

.logo-mark i {
  background: #697892;
  width: 1px;
  height: 17px;
  position: absolute;
  top: 7px;
  left: 14px;
  transform: rotate(-15deg);
}

.global-search {
  color: #9ca5b4;
  background: #eceff3;
  border: 1px solid #e3e7ed;
  border-radius: 7px;
  align-items: center;
  gap: 8px;
  width: 330px;
  height: 34px;
  padding: 0 10px;
  display: flex;
}

.global-search input {
  background: none;
  border: 0;
  outline: none;
  flex: 1;
  min-width: 0;
  padding: 0;
  font-size: 11px;
}

.global-search:focus-within {
  border-color: #9ea8bf;
}

.global-search kbd {
  white-space: nowrap;
  border: 1px solid #d8dde5;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 9px;
}

.clear-search {
  padding: 0;
  display: flex;
}

.primary-nav {
  align-items: center;
  gap: 23px;
  height: 100%;
  margin-left: auto;
  display: flex;
}

.primary-nav a {
  color: #8c95a4;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  height: 100%;
  font-size: 12px;
  display: flex;
  position: relative;
}

.primary-nav a.active {
  color: #242a37;
}

.primary-nav a.active:after {
  content: "";
  background: #333d50;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.account-actions {
  align-items: center;
  gap: 15px;
  margin-left: 10px;
  display: flex;
}

.guest-label {
  color: #919aaa;
  white-space: nowrap;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  display: flex;
}

.guest-label > span {
  background: #a3aab7;
  border-radius: 50%;
  width: 4px;
  height: 4px;
}

.avatar {
  color: #5a627a;
  background: #e2e5ee;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 29px;
  height: 29px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.account-menu {
  position: relative;
}

.menu-dismiss {
  z-index: 29;
  cursor: default;
  position: fixed;
  inset: 0;
}

.dropdown {
  z-index: 30;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  flex-direction: column;
  gap: 12px;
  width: 202px;
  padding: 15px;
  display: flex;
  position: absolute;
  top: 40px;
  right: 0;
  box-shadow: 0 10px 30px #0f172a12;
}

.dropdown > strong {
  font-size: 13px;
}

.dropdown > a, .dropdown > button {
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  font-size: 12px;
  display: flex;
}

.density-controls {
  gap: 4px;
  display: flex;
}

.density-controls button {
  border: 1px solid #e5e7ed;
  border-radius: 4px;
  padding: 5px 9px;
  font-size: 10px;
}

.density-controls .active {
  color: #4f46e5;
  background: #eef0f5;
  border-color: #c7cdeb;
}

.main-container {
  max-width: 1760px;
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: 0 3.2%;
}

.gallery-intro {
  justify-content: space-between;
  align-items: center;
  padding: 39px 0 32px;
  display: flex;
}

.gallery-intro h1 {
  letter-spacing: -1.1px;
  margin: 15px 0 12px;
  font-size: 30px;
  font-weight: 550;
  line-height: 1.35;
}

.gallery-intro h1 > span:not(.intro-spark) {
  color: #6d7789;
  font-weight: 400;
}

.intro-spark {
  color: #a5aec0;
  vertical-align: middle;
  margin-left: 14px;
  display: inline-flex;
  transform: rotate(-10deg);
}

.gallery-intro p {
  color: #939cab;
  letter-spacing: .2px;
  margin: 0;
  font-size: 11px;
}

.library-stats {
  align-items: center;
  gap: 30px;
  margin-top: 12px;
  padding: 0 12px 23px 0;
  display: flex;
  position: relative;
}

.library-stats > div:not(.library-caption) {
  flex-direction: column;
  gap: 7px;
  display: flex;
}

.library-stats strong {
  letter-spacing: -.8px;
  font-variant-numeric: tabular-nums;
  font-size: 25px;
  font-weight: 500;
}

.library-stats span {
  color: #8d97a7;
  letter-spacing: .7px;
  font-size: 9px;
}

.library-stats > i {
  background: #dfe4ec;
  width: 1px;
  height: 30px;
}

.library-caption {
  color: #9ca4b2;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  display: flex;
  position: absolute;
  bottom: 0;
  right: 12px;
}

.library-caption span {
  background: #89aa96;
  border-radius: 50%;
  width: 4px;
  height: 4px;
}

.filter-panel {
  background: #fff9;
  border: 1px solid #e1e6ed;
  border-radius: 10px;
  padding: 0 20px;
}

.domain-filter, .secondary-filters, .color-filter-row, .subtag-filter {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: 51px;
  display: flex;
}

.filter-label {
  color: #9ba4b1;
  letter-spacing: .6px;
  flex-shrink: 0;
  width: 53px;
  font-size: 10px;
}

.domain-chips {
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 0;
  display: flex;
}

.chip {
  white-space: nowrap;
  color: #798293;
  background: #f0f2f6;
  border-radius: 5px;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  font-size: 10px;
  display: inline-flex;
}

.chip i {
  border-radius: 50%;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
}

.chip:hover {
  background: #e7eaf1;
}

.chip.active {
  color: #fff;
  background: #303641;
}

.chip.tiny {
  font-size: 9px;
}

.chip.selected {
  color: #6960b1;
  background: #e9eaf8;
}

.filter-toggle {
  margin-left: auto;
}

.secondary-filters, .color-filter-row {
  border-top: 1px solid #edf0f4;
}

.subtag-filter {
  border-top: 1px solid #edf0f4;
  gap: 7px;
  padding: 8px 0;
}

.subtag-filter > .filter-label {
  margin-right: 5px;
}

.venue-chips {
  align-items: center;
  gap: 16px;
  display: flex;
}

.venue-chips button {
  color: #7c8695;
  padding: 5px 0;
  font-size: 10px;
}

.venue-chips button.selected {
  color: #303949;
  box-shadow: 0 1px #303949;
}

.filter-divider {
  background: #dfe4ec;
  flex-shrink: 0;
  width: 1px;
  height: 14px;
  margin: 0 4px;
}

.honor-filter {
  color: #9c8c6c;
  border-radius: 4px;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  font-size: 10px;
  display: flex;
}

.honor-filter.selected {
  color: #a87728;
  background: #fbf0d3;
}

.layout-selects {
  gap: 9px;
  margin-left: auto;
  display: flex;
}

.layout-selects select {
  color: #8a93a2;
  background: none;
  border: 0;
  padding: 4px 2px;
  font-size: 10px;
}

.hue-filter {
  align-items: center;
  gap: 9px;
  display: flex;
}

.hue-filter button {
  border: 2px solid #0000;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  position: relative;
}

.hue-filter button:hover {
  transform: scale(1.15);
}

.hue-filter button.selected:after {
  content: "";
  border: 1px solid #77839a;
  border-radius: 50%;
  position: absolute;
  inset: -5px;
}

.muted-hue {
  background: linear-gradient(135deg, #b3b7bd 50%, #b2a7a0 50%);
  margin-left: 5px;
}

.contrast-hue {
  background: linear-gradient(135deg, #7e9fc2 50%, #d79d7a 50%);
}

.color-hint {
  color: #aab1be;
  margin-left: 8px;
  font-size: 9px;
}

.reset-filter {
  color: #8993a3;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  font-size: 10px;
  display: flex;
}

.gallery-toolbar {
  border-bottom: 1px solid #e0e5ed;
  justify-content: space-between;
  align-items: center;
  margin-top: 27px;
  display: flex;
}

.view-tabs {
  gap: 27px;
  display: flex;
}

.view-tabs button {
  color: #8893a3;
  align-items: center;
  gap: 7px;
  padding: 0 0 13px;
  font-size: 11px;
  display: flex;
  position: relative;
}

.view-tabs button.active {
  color: #263142;
  font-weight: 550;
}

.view-tabs button.active:after {
  content: "";
  background: #364052;
  height: 2px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}

.view-tabs button > span {
  color: #6f7b8e;
  background: #e8ecf1;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
}

.gallery-options {
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  display: flex;
}

.gallery-options select {
  color: #7d8797;
  background: none;
  border: 0;
  padding: 0;
  font-size: 10px;
}

.case-toggle {
  color: #99a2b0;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  display: flex;
}

.case-toggle input {
  opacity: 0;
  width: 1px;
  position: absolute;
}

.toggle {
  background: #dce1e9;
  border-radius: 20px;
  width: 22px;
  height: 12px;
  position: relative;
}

.toggle:before {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  transition: transform .2s;
  position: absolute;
  top: 2px;
  left: 2px;
}

.case-toggle input:checked + .toggle {
  background: #828ba5;
}

.case-toggle input:checked + .toggle:before {
  transform: translateX(10px);
}

.case-toggle input:focus-visible + .toggle {
  outline-offset: 3px;
  outline: 2px solid #6366f1;
}

.archetype-row {
  flex-wrap: wrap;
  gap: 6px;
  padding: 15px 0 20px;
  display: flex;
}

.archetype-row button {
  color: #97a0ae;
  border-radius: 5px;
  padding: 5px 9px;
  font-size: 9px;
}

.archetype-row button.active {
  color: #586477;
  background: #e8ecf2;
}

.archetype-row button:hover {
  background: #edf0f5;
}

.search-suggestion {
  color: #6f75a2;
  background: #eef0fb;
  border-radius: 7px;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding: 12px;
  font-size: 12px;
  display: flex;
}

.search-suggestion button {
  margin-left: auto;
}

.new-figures {
  color: #6b6aab;
  background: #eeeffb;
  border: 1px solid #d9def4;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto 20px;
  padding: 9px 16px;
  font-size: 11px;
  display: flex;
}

.masonry {
  column-count: 4;
  column-gap: 20px;
}

.figure-card {
  break-inside: avoid;
  vertical-align: top;
  background: #fff;
  border: 1px solid #e0e5ec;
  border-radius: 10px;
  width: 100%;
  margin-bottom: 20px;
  transition: transform .16s, border-color .16s, box-shadow .16s;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.figure-card:hover {
  border-color: #bdc7d6;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px #0f172a14;
}

.figure-frame {
  background: #fff;
  min-height: 85px;
  padding: 17px 13px 13px;
  position: relative;
}

.figure-open {
  text-align: left;
  width: 100%;
  padding: 0;
  display: block;
}

.figure-image {
  background: #fafbfc;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.figure-image img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  transition: opacity .2s;
  display: block;
}

.figure-image canvas {
  width: 100%;
  height: 100%;
  transition: opacity .2s;
  position: absolute;
  inset: 0;
}

.image-error {
  color: #aaa;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  display: flex;
  position: absolute;
  inset: 0;
}

.sub-badge {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: #8e97a5;
  pointer-events: none;
  background: #ffffffde;
  border: 1px solid #e5e9f0;
  border-radius: 4px;
  align-items: center;
  gap: 4px;
  padding: 3px 5px;
  font-size: 8px;
  display: flex;
  position: absolute;
  top: 10px;
  left: 12px;
}

.card-actions {
  opacity: 0;
  gap: 5px;
  transition: opacity .16s;
  display: flex;
  position: absolute;
  top: 9px;
  right: 9px;
}

.figure-card:hover .card-actions, .figure-card:focus-within .card-actions {
  opacity: 1;
}

.card-actions .icon-button {
  background: #ffffffed;
  border: 1px solid #e8ebf1;
  width: 28px;
  height: 28px;
  box-shadow: 0 2px 7px #0f172a0c;
}

.hover-caption {
  pointer-events: none;
  color: #68758c;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0;
  background: linear-gradient(#0000, #fffffff5);
  padding: 27px 13px 9px;
  font-size: 9px;
  transition: opacity .16s;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

.hover-caption span {
  color: #7d8796;
}

.figure-card:hover .hover-caption {
  opacity: 1;
}

.figure-meta {
  border-top: 1px solid #f0f2f5;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  height: 37px;
  padding: 0 11px;
  display: flex;
}

.figure-meta > div:first-child {
  align-items: center;
  gap: 6px;
  min-width: 0;
  display: flex;
  overflow: hidden;
}

.venue-badge {
  letter-spacing: .1px;
  color: #65718a;
  white-space: nowrap;
  background: #f1f3f7;
  border-radius: 3px;
  align-items: center;
  padding: 3px 5px;
  font-size: 9px;
  font-weight: 550;
  display: inline-flex;
}

.layout-label {
  color: #a1a9b6;
  white-space: nowrap;
  font-size: 8px;
}

.honor-dot {
  background: #d1ab61;
  border-radius: 50%;
  width: 4px;
  height: 4px;
}

.swatches {
  flex-shrink: 0;
  gap: 4px;
  display: flex;
}

.swatches button {
  border: 1px solid #00000006;
  border-radius: 3px;
  width: 18px;
  height: 18px;
  padding: 0;
}

.swatches.small button {
  border-radius: 2px;
  width: 11px;
  height: 11px;
}

.swatches button:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #cbd5e1;
}

.skeleton-card {
  break-inside: avoid;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 15px;
}

.skeleton-card > div {
  background: linear-gradient(110deg, #f0f2f7 20%, #f8f9fb 40%, #f0f2f7 60%) 0 0 / 200% 100%;
  border-radius: 6px;
  animation: 1.5s linear infinite shimmer;
}

.skeleton-card > span {
  background: #eff2f6;
  border-radius: 4px;
  width: 60%;
  height: 8px;
  margin-top: 15px;
  display: block;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.load-more {
  color: #a6aebd;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 90px;
  padding: 30px 0 50px;
  font-size: 9px;
  display: flex;
}

.load-more > span {
  background: #e1e5ed;
  width: 40px;
  height: 1px;
}

.site-footer {
  color: #a4adba;
  border-top: 1px solid #e4e8ee;
  align-items: center;
  gap: 16px;
  max-width: 1760px;
  margin: auto;
  padding: 21px 3.2%;
  font-size: 9px;
  display: flex;
}

.site-footer .logo {
  opacity: .6;
  gap: 5px;
  font-size: 14px;
}

.site-footer .logo-mark {
  width: 20px;
  height: 22px;
}

.site-footer .logo-mark svg {
  width: 17px;
}

.site-footer .logo-mark i {
  height: 12px;
  top: 5px;
  left: 10px;
}

.site-footer .logo-dot {
  margin-left: -5px;
}

.footer-meta {
  letter-spacing: 1px;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  font-size: 8px;
  display: flex;
}

.footer-meta i {
  background: #afb7c5;
  border-radius: 50%;
  width: 2px;
  height: 2px;
}

.empty {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  padding: 45px 20px;
  display: flex;
}

.empty-symbol {
  color: #96a3bb;
  background: #fff;
  border: 1px solid #e0e5ed;
  border-radius: 15px;
  justify-content: center;
  align-items: center;
  width: 69px;
  height: 69px;
  margin-bottom: 13px;
  display: flex;
  transform: rotate(-8deg);
}

.empty h3 {
  margin: 10px 0;
  font-size: 18px;
  font-weight: 500;
}

.empty p {
  color: #929dad;
  max-width: 400px;
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1.9;
}

.error-box {
  color: #a84b48;
  background: #fff1f0;
  border: 1px solid #f2d1cd;
  border-radius: 6px;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
  padding: 12px;
  font-size: 12px;
  display: flex;
}

.error-box button {
  text-decoration: underline;
}

.modal-overlay {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 60;
  background: #0f172a59;
  animation: .16s ease-out fade-in;
  position: fixed;
  inset: 0;
}

.modal {
  z-index: 61;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 13px;
  width: min(520px, 100vw - 30px);
  max-height: 92dvh;
  animation: .16s ease-out fade-in;
  position: fixed;
  top: 50%;
  left: 50%;
  overflow-y: auto;
  transform: translate(-50%, -50%);
  box-shadow: 0 25px 90px #0f172a33;
}

.modal-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 26px 20px;
  display: flex;
}

.modal-heading h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 550;
}

.modal-heading p {
  color: #96a0af;
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.8;
}

.modal-heading > .icon-button {
  margin-top: -5px;
  margin-right: -8px;
}

.form {
  flex-direction: column;
  gap: 18px;
  padding: 0 26px 26px;
  display: flex;
}

.form label {
  color: #67748a;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  display: flex;
}

.form label input, .form label select {
  width: 100%;
  font-size: 12px;
  font-weight: 400;
}

.form label small {
  color: #a4adba;
  font-size: 9px;
  font-weight: 400;
}

.form-footnote {
  color: #a0a9b6;
  text-align: center;
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
}

.form-two {
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  display: grid;
}

.tab-row {
  border-bottom: 1px solid #e5eaf1;
  gap: 23px;
  margin: 0 26px 22px;
  display: flex;
}

.tab-row > button {
  color: #a0a9b6;
  align-items: center;
  gap: 7px;
  padding: 0 0 12px;
  font-size: 12px;
  display: flex;
  position: relative;
}

.tab-row > button.active {
  color: #343e51;
}

.tab-row > button.active:after {
  content: "";
  background: #475569;
  height: 2px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}

.dropzone {
  color: #9aa5b8;
  text-align: center;
  background: #f8f9fc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 170px;
  padding: 20px;
  display: flex;
}

.dropzone.dragging {
  background: #eef2ff;
  border-color: #818cf8;
}

.dropzone strong {
  color: #68758c;
  word-break: break-all;
  font-size: 12px;
  font-weight: 450;
}

.dropzone > span {
  font-size: 10px;
}

.preview-note {
  color: #738b83;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  display: flex;
}

.toast {
  z-index: 100;
  color: #fff;
  background: #2a303b;
  border: 1px solid #3d4552;
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  max-width: 90vw;
  padding: 12px 18px;
  font-size: 12px;
  display: flex;
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 5px 25px #0f172a22;
}

.job-toast {
  z-index: 35;
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  width: 295px;
  padding: 14px 16px;
  position: fixed;
  bottom: 24px;
  right: 24px;
  box-shadow: 0 8px 30px #0f172a10;
}

.job-toast > div:first-child {
  align-items: center;
  gap: 8px;
  display: flex;
}

.job-toast strong {
  font-size: 11px;
  font-weight: 550;
}

.job-toast .icon-button {
  width: 18px;
  height: 18px;
  margin-left: auto;
}

.job-toast p {
  color: #96a0b0;
  margin: 9px 0 0;
  font-size: 10px;
  line-height: 1.6;
}

.pulse-dot {
  background: #7aab94;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  animation: 1.5s infinite pulse;
}

.progress-track {
  background: #edf1f6;
  border-radius: 9px;
  height: 3px;
  margin-top: 12px;
}

.progress-track > i {
  background: #8b98b2;
  border-radius: 9px;
  height: 100%;
  transition: width .5s;
  display: block;
}

@keyframes pulse {
  50% {
    opacity: .5;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.inspector-modal {
  border-radius: 15px;
  flex-direction: column;
  width: 94vw;
  max-width: 1680px;
  height: 92dvh;
  display: flex;
  overflow: hidden;
}

.inspector-modal > .modal-heading {
  background: #fff;
  border-bottom: 1px solid #e4e8ee;
  flex-shrink: 0;
  align-items: center;
  min-height: 44px;
  padding: 11px 19px;
}

.inspector-modal > .modal-heading h2 {
  color: #7b879a;
  font-size: 11px;
  font-weight: 450;
}

.inspector-modal > .modal-heading > .icon-button {
  width: 25px;
  height: 25px;
  margin: 0;
}

.inspector-body {
  flex: 1;
  grid-template-columns: minmax(0, 1fr) 370px;
  min-height: 0;
  display: grid;
}

.inspector-loading {
  color: #93a0b5;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  display: flex;
}

.inspector-canvas {
  background-color: #f1f4f8;
  background-image: radial-gradient(#ccd5e3 .7px, #0000 .7px);
  background-size: 16px 16px;
  flex-direction: column;
  min-width: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.inspector-canvas.white {
  background: #fff;
}

.canvas-top {
  z-index: 2;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  display: flex;
}

.capsule {
  background: #fffffff2;
  border: 1px solid #e0e5ed;
  border-radius: 7px;
  align-items: center;
  gap: 4px;
  padding: 3px;
  display: flex;
  box-shadow: 0 3px 9px #0f172a05;
}

.capsule button {
  color: #8591a4;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  min-width: 26px;
  height: 27px;
  padding: 0 6px;
  font-size: 10px;
  display: flex;
}

.capsule button.active {
  color: #595f93;
  background: #e8ebf5;
}

.capsule button:hover {
  background: #f1f3f8;
}

.capsule > span {
  color: #93a0b3;
  text-align: center;
  min-width: 38px;
  padding: 0 4px;
  font-size: 10px;
}

.capsule > i {
  background: #e1e6ee;
  width: 1px;
  height: 12px;
  margin: 0 4px;
}

.canvas-scroll {
  flex: 1;
  align-items: safe center;
  min-height: 0;
  padding: 30px;
  display: flex;
  overflow: auto;
}

.image-stage {
  flex-shrink: 0;
  margin: auto;
  position: relative;
}

.image-stage.picking {
  cursor: crosshair;
}

.image-wrap {
  background: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 25px #0f172a0d;
}

.image-wrap > img {
  width: 100%;
  height: auto;
  display: block;
}

.spotlight {
  pointer-events: none;
  border: 2px solid #6d70bb;
  transition: all .14s;
  position: absolute;
  box-shadow: 0 0 0 99999px #0f172a73;
}

.loupe {
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 4px 10px #1114);
  position: absolute;
}

.loupe canvas {
  border: 3px solid #fff;
  border-radius: 50%;
  display: block;
}

.loupe span {
  color: #fff;
  text-align: center;
  background: #273044;
  border-radius: 4px;
  width: max-content;
  margin: 7px auto 0;
  padding: 4px 7px;
  font-family: monospace;
  font-size: 11px;
  display: block;
}

.sub-controls {
  justify-content: center;
  padding: 0 0 20px;
  display: flex;
}

.sub-controls .capsule {
  padding: 4px;
}

.sub-controls .capsule button {
  min-width: 33px;
}

.canvas-bottom {
  color: #99a6ba;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 9px;
  display: flex;
}

.canvas-bottom > div {
  gap: 7px;
  display: flex;
}

.canvas-bottom .button {
  padding: 6px 8px;
  font-size: 9px;
}

.keycap {
  background: #f6f8fb;
  border: 1px solid #d4dce7;
  border-radius: 3px;
  margin: 0 3px;
  padding: 1px 3px;
  font-size: 8px;
  display: inline-block;
}

.inspector-sidebar {
  background: #fff;
  border-left: 1px solid #e3e8ef;
  min-width: 0;
  overflow-y: auto;
}

.paper-heading {
  padding: 24px 23px 20px;
}

.paper-heading .eyebrow {
  letter-spacing: 1px;
  flex-wrap: wrap;
  font-size: 8px;
}

.paper-heading h2 {
  letter-spacing: -.3px;
  margin: 15px 0 10px;
  font-size: 18px;
  font-weight: 550;
  line-height: 1.5;
}

.authors {
  color: #99a2b1;
  font-size: 10px;
  line-height: 1.7;
}

.honor-badge {
  color: #b28c46;
  letter-spacing: 0;
  text-transform: capitalize;
  background: #fdf1d5;
  border-radius: 4px;
  padding: 3px 5px;
  font-size: 9px;
}

.paper-links {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  display: flex;
}

.paper-links a {
  color: #7e8ba0;
  border: 1px solid #e3e8f0;
  border-radius: 5px;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  font-size: 9px;
  display: inline-flex;
}

.paper-links a:hover {
  color: #6366a2;
  background: #f4f6fa;
}

.panel-section {
  border-top: 1px solid #edf0f5;
  padding: 20px 23px;
}

.section-label {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  display: flex;
}

.section-label h3, .save-panel h3 {
  color: #5b6880;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  font-weight: 550;
  display: flex;
}

.section-label h3 span {
  letter-spacing: 1px;
  color: #b0b7c3;
  font-size: 8px;
  font-weight: 400;
}

.caption-text {
  color: #8290a4;
  margin: 0;
  font-size: 11px;
  line-height: 1.9;
}

.caption-text.serif {
  font-family: Georgia, Times New Roman, serif;
  font-size: 13px;
}

.caption-anchor {
  font: inherit;
  color: #7975b0;
  background: #f0f0fa;
  border-radius: 3px;
  padding: 0 2px;
}

.review-note {
  color: #b2a064;
  background: #fdf9e9;
  border-radius: 4px;
  align-items: center;
  gap: 5px;
  margin: 12px 0 0;
  padding: 6px 8px;
  font-size: 9px;
  display: flex;
}

.review-note > span {
  background: #d7bd75;
  border-radius: 50%;
  width: 4px;
  height: 4px;
}

.palette-strip {
  border-radius: 5px;
  height: 55px;
  margin: 0 0 12px;
  display: flex;
  overflow: hidden;
}

.palette-strip > button {
  flex: 1;
  min-width: 0;
  padding: 0;
  position: relative;
}

.palette-strip span {
  text-align: center;
  opacity: .9;
  font-family: monospace;
  font-size: 7px;
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
}

.palette-strip button:hover {
  filter: brightness(.97);
}

.color-pairs {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 10px 0;
  display: grid;
}

.color-pair {
  border: 1.5px solid;
  border-radius: 6px;
  justify-content: space-between;
  gap: 5px;
  padding: 6px;
  display: flex;
}

.color-pair button {
  text-align: left;
  color: #57657b;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  display: flex;
}

.color-pair small {
  opacity: .7;
  letter-spacing: .8px;
  font-size: 7px;
}

.color-pair code {
  font-size: 8px;
}

.neutral-row {
  color: #a0abba;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  font-size: 8px;
  display: flex;
}

.neutral-row > span {
  margin-right: auto;
}

.neutral-row button {
  align-items: center;
  gap: 4px;
  padding: 0;
  display: flex;
}

.neutral-row i {
  border-radius: 2px;
  width: 9px;
  height: 9px;
}

.format-tabs {
  gap: 2px;
  margin: 15px 0 7px;
  display: flex;
}

.format-tabs button {
  color: #99a4b5;
  border-radius: 4px;
  padding: 5px 7px;
  font-size: 9px;
}

.format-tabs button.active {
  color: #69738e;
  background: #edf0f7;
}

.code-box {
  background: #f4f6fa;
  border: 1px solid #e8ecf3;
  border-radius: 6px;
  align-items: flex-start;
  gap: 4px;
  padding: 10px;
  display: flex;
}

.code-box pre {
  color: #8d99ac;
  white-space: pre-wrap;
  word-break: break-word;
  flex: 1;
  max-height: 280px;
  margin: 0;
  font-size: 9px;
  line-height: 1.8;
  overflow: auto;
}

.code-box .icon-button {
  width: 23px;
  height: 23px;
}

.spec-grid {
  grid-template-columns: 1fr 1fr;
  gap: 18px 10px;
  margin: 18px 0 22px;
  display: grid;
}

.spec-grid > div {
  flex-direction: column;
  gap: 7px;
  display: flex;
}

.spec-grid span {
  color: #a9b1be;
  font-size: 9px;
}

.spec-grid strong {
  color: #6f7b91;
  overflow-wrap: anywhere;
  font-size: 10px;
  font-weight: 450;
}

.download-secondary {
  color: #9aa5b6;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 13px 0 3px;
  font-size: 9px;
  display: flex;
}

.type-editor {
  color: #9da6b7;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 9px;
  display: flex;
}

.type-editor select {
  color: #8c98ac;
  padding: 5px 7px;
  font-size: 10px;
}

.save-panel h3 {
  margin-bottom: 15px;
}

.save-panel select, .save-panel textarea {
  color: #8d99aa;
  width: 100%;
  margin-bottom: 8px;
  font-size: 10px;
  line-height: 1.7;
}

.save-panel small {
  color: #949cc0;
  margin: 2px 0 10px;
  font-size: 9px;
  display: block;
}

.save-panel p {
  font-size: 11px;
  line-height: 1.8;
}

.crop-editor {
  flex-direction: column;
  flex: 1;
  gap: 8px;
  min-height: 0;
  padding: 0 20px 15px;
  display: flex;
}

.crop-toolbar {
  color: #8b96a8;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  display: flex;
}

.crop-toolbar label {
  align-items: center;
  gap: 5px;
  margin-left: 15px;
  font-size: 9px;
  display: flex;
}

.crop-toolbar input {
  accent-color: #8186b7;
  margin: 0;
}

.crop-scroll {
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  padding: 10px;
  display: flex;
  overflow: auto;
}

.crop-page {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: crosshair;
  width: 100%;
  max-width: 550px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 25px #0f172a10;
}

.crop-page > img {
  pointer-events: none;
  width: 100%;
  display: block;
}

.crop-box {
  cursor: move;
  background: #818cf812;
  border: 2px solid #818cf8;
  position: absolute;
  box-shadow: 0 0 0 2000px #0f172a55;
}

.crop-handle {
  background: #fff;
  border: 1.5px solid #818cf8;
  width: 9px;
  height: 9px;
  position: absolute;
  transform: translate(-50%, -50%);
}

.crop-handle.nw {
  cursor: nwse-resize;
  top: 0;
  left: 0;
}

.crop-handle.n {
  cursor: ns-resize;
  top: 0;
  left: 50%;
}

.crop-handle.ne {
  cursor: nesw-resize;
  top: 0;
  left: 100%;
}

.crop-handle.e {
  cursor: ew-resize;
  top: 50%;
  left: 100%;
}

.crop-handle.se {
  cursor: nwse-resize;
  top: 100%;
  left: 100%;
}

.crop-handle.s {
  cursor: ns-resize;
  top: 100%;
  left: 50%;
}

.crop-handle.sw {
  cursor: nesw-resize;
  top: 100%;
  left: 0;
}

.crop-handle.w {
  cursor: ew-resize;
  top: 50%;
  left: 0;
}

.crop-footer {
  justify-content: flex-end;
  gap: 8px;
  display: flex;
}

.crop-footer .button {
  font-size: 10px;
}

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

.workspace-heading h1 {
  letter-spacing: -.8px;
  margin: 13px 0 11px;
  font-size: 29px;
  font-weight: 500;
}

.workspace-heading h1 span {
  color: #a4aabd;
}

.workspace-heading p {
  color: #9aa5b5;
  margin: 0;
  font-size: 11px;
}

.boards-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  min-height: 65vh;
  display: grid;
}

.board-nav {
  border-right: 1px solid #e3e8f0;
  padding: 15px 20px 15px 0;
}

.board-nav > .subtle-label {
  padding: 0 10px 15px;
  display: block;
}

.board-nav > button {
  text-align: left;
  color: #939eb0;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 4px;
  padding: 13px 10px;
  font-size: 11px;
  display: flex;
}

.board-nav > button.active {
  color: #5f6b84;
  background: #e9edf5;
}

.board-nav > button > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  overflow: hidden;
}

.board-nav > button small {
  color: #a0aabe;
  font-size: 9px;
}

.board-title {
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 6px 0 21px;
  display: flex;
}

.board-title h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

.board-title > div {
  align-items: center;
  gap: 8px;
  display: flex;
}

.board-masonry {
  column-count: 3;
}

.sticky-note {
  color: #a79d7d;
  background: #fffbed;
  border-top: 1px solid #f4edd3;
  padding: 12px;
}

.sticky-note > small {
  font-size: 9px;
}

.sticky-note p {
  white-space: pre-wrap;
  margin: 0 0 5px;
  font-size: 11px;
  line-height: 1.8;
}

.sticky-note > div {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.sticky-note .text-button {
  color: #b8ad8c;
  font-size: 9px;
}

.sticky-note textarea {
  background: #fffef8;
  border-color: #e9e0c4;
  width: 100%;
  padding: 6px;
  font-size: 11px;
}

.history-tabs {
  margin: 0 0 24px;
}

.history-group {
  margin-bottom: 30px;
}

.history-group h3 {
  color: #929eb2;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 500;
  display: flex;
}

.history-group h3 span {
  color: #a6b0bf;
  font-size: 9px;
}

.color-history {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  display: grid;
}

.color-history article {
  background: #fff;
  border: 1px solid #e1e7ee;
  border-radius: 9px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  display: flex;
}

.history-color {
  color: #fff;
  border-radius: 5px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 70px;
  display: flex;
}

.history-color svg {
  opacity: 0;
}

.history-color:hover svg {
  opacity: .8;
}

.color-history article > div {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.color-history article code {
  color: #718099;
  font-size: 12px;
}

.color-history article small, .color-history article span {
  color: #a0acbd;
  font-size: 9px;
}

.color-source {
  flex-shrink: 0;
  width: 70px;
  height: 50px;
  margin-left: auto;
  padding: 0;
}

.color-source img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.status-pill {
  color: #7a88a1;
  background: #eef1f6;
  border: 1px solid #dfe6f0;
  border-radius: 20px;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  font-size: 11px;
  display: flex;
}

.admin-grid {
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 35px;
  display: grid;
}

.admin-card {
  background: #fff;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  padding: 25px;
}

.admin-card h2 {
  color: #63718a;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
}

.admin-card > p {
  color: #a0a9b8;
  font-size: 11px;
  line-height: 1.9;
}

.admin-card .form {
  padding: 10px 0 0;
}

.domain-list {
  margin: 18px 0;
}

.domain-list > div {
  color: #8995a8;
  border-bottom: 1px solid #f0f3f7;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 11px;
  display: flex;
}

.domain-list i {
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.domain-list strong {
  font-weight: 400;
}

.domain-list span {
  color: #acb4c2;
  margin-left: auto;
  font-size: 9px;
}

.domain-list small {
  color: #8fa897;
  font-size: 9px;
}

.admin-detail {
  color: #a3adbc;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  margin-top: 22px;
  font-size: 10px;
  display: grid;
}

.admin-detail code, .admin-detail strong {
  color: #7b89a2;
  font-weight: 400;
}

.invite-box {
  gap: 5px;
  margin-top: 15px;
  display: flex;
}

.invite-box input {
  color: #919db3;
  flex: 1;
  font-size: 10px;
}

.user-list {
  margin-top: 20px;
}

.user-list > div {
  color: #8a96aa;
  border-top: 1px solid #edf1f6;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 11px;
  display: flex;
}

.user-list strong {
  font-weight: 450;
}

.user-list small {
  color: #adb5c2;
  font-size: 9px;
}

.user-list .text-button {
  margin-left: auto;
  font-size: 9px;
}

.admin-empty {
  color: #b0b8c5;
  background: #f9fafc;
  border: 1px dashed #e6ebf3;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  height: 140px;
  font-size: 11px;
  display: flex;
}

.repair-row {
  color: #8c98ad;
  border-bottom: 1px solid #edf0f5;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 0;
  font-size: 11px;
  display: flex;
}

.repair-row > span:first-child {
  margin-right: auto;
}

.config-modal {
  width: 760px;
}

.config-editor {
  resize: vertical;
  width: 100%;
  height: 55vh;
  font-family: monospace;
  font-size: 11px;
  line-height: 1.6;
}

@media (min-width: 1536px) {
  .masonry.density-3 {
    column-count: 3;
  }

  .masonry.density-5 {
    column-count: 5;
  }

  .gallery-intro {
    padding: 45px 0 37px;
  }

  .gallery-intro h1 {
    font-size: 34px;
  }

  .inspector-body {
    grid-template-columns: minmax(0, 1fr) 410px;
  }
}

@media (max-width: 1535px) {
  .masonry {
    column-count: 3;
  }

  .site-header {
    gap: 22px;
  }

  .global-search {
    width: 290px;
  }

  .board-masonry {
    column-count: 2;
  }

  .primary-nav {
    gap: 19px;
  }

  .layout-label {
    font-size: 9px;
  }
}

@media (max-width: 1200px) {
  .site-header {
    gap: 18px;
    padding: 0 3%;
  }

  .global-search {
    width: 240px;
  }

  .primary-nav {
    gap: 15px;
  }

  .account-actions {
    gap: 10px;
    margin-left: 0;
  }

  .guest-label {
    display: none;
  }

  .gallery-intro h1 {
    font-size: 27px;
  }

  .library-stats {
    gap: 20px;
  }

  .venue-chips {
    gap: 12px;
  }

  .color-history {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-selects {
    gap: 3px;
  }

  .filter-panel {
    padding: 0 15px;
  }

  .secondary-filters {
    gap: 8px;
  }

  .inspector-body {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .canvas-scroll {
    padding: 20px;
  }

  .canvas-bottom > span {
    display: none;
  }
}

@media (max-width: 1099px) {
  .masonry {
    column-count: 2;
  }

  .global-search {
    width: 210px;
  }

  .primary-nav a {
    font-size: 11px;
  }

  .primary-nav a svg {
    display: none;
  }

  .site-header {
    gap: 17px;
  }

  .logo {
    font-size: 19px;
  }

  .layout-selects {
    margin-left: 65px;
    padding-bottom: 10px;
  }

  .secondary-filters {
    padding-top: 8px;
  }

  .library-stats {
    gap: 18px;
  }

  .gallery-intro p {
    max-width: 400px;
    line-height: 1.8;
  }

  .gallery-options {
    gap: 7px;
  }

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

  .board-nav {
    padding-right: 10px;
  }

  .board-masonry {
    column-count: 2;
  }

  .inspector-modal {
    width: 97vw;
    height: 95dvh;
  }

  .canvas-top {
    gap: 5px;
    padding: 10px;
  }

  .capsule {
    gap: 1px;
  }

  .capsule > span {
    min-width: 30px;
    font-size: 9px;
  }

  .capsule button {
    min-width: 23px;
    padding: 0 4px;
  }

  .canvas-scroll {
    padding: 15px;
  }

  .canvas-bottom {
    padding: 12px;
  }

  .panel-section, .paper-heading {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 767px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
    height: auto;
    min-height: 58px;
    padding: 12px 5%;
  }

  .brand-link {
    order: 0;
  }

  .account-actions {
    order: 1;
    margin-left: auto;
  }

  .global-search {
    order: 3;
    width: 100%;
    height: 34px;
  }

  .primary-nav {
    order: 2;
    gap: 15px;
    height: 28px;
    margin-left: 0;
  }

  .primary-nav a {
    font-size: 10px;
  }

  .primary-nav a.active:after {
    bottom: -3px;
  }

  .account-actions .button {
    padding: 6px 9px;
    font-size: 10px;
  }

  .main-container {
    padding: 0 5%;
  }

  .gallery-intro {
    align-items: flex-start;
    padding: 29px 0 25px;
  }

  .gallery-intro h1 {
    letter-spacing: -.8px;
    margin: 13px 0 11px;
    font-size: 23px;
    line-height: 1.6;
  }

  .gallery-intro h1 > span:not(.intro-spark) {
    display: block;
  }

  .intro-spark {
    display: none;
  }

  .gallery-intro p {
    max-width: 250px;
    font-size: 10px;
    line-height: 1.9;
  }

  .gallery-intro .eyebrow {
    letter-spacing: 1px;
    gap: 5px;
    font-size: 7px;
  }

  .eyebrow-line {
    width: 12px;
  }

  .library-stats {
    flex-direction: column;
    align-items: flex-end;
    gap: 13px;
    margin-top: 25px;
    padding: 0;
  }

  .library-stats > div:not(.library-caption) {
    align-items: flex-end;
    gap: 2px;
  }

  .library-stats strong {
    font-size: 22px;
  }

  .library-stats > i, .library-caption {
    display: none;
  }

  .library-stats span {
    font-size: 8px;
  }

  .filter-panel {
    padding: 0 12px;
  }

  .domain-filter {
    align-items: flex-start;
    gap: 8px;
  }

  .filter-label {
    display: none;
  }

  .domain-chips {
    flex: 1;
    gap: 6px;
    padding: 11px 0;
  }

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

  .filter-toggle {
    width: 25px;
    margin-top: 10px;
  }

  .secondary-filters {
    gap: 8px;
    padding: 11px 0;
  }

  .venue-chips {
    flex-wrap: wrap;
    gap: 9px;
  }

  .venue-chips button, .honor-filter {
    font-size: 9px;
  }

  .secondary-filters > .filter-divider {
    display: none;
  }

  .layout-selects {
    gap: 10px;
    margin-left: 0;
    padding: 0;
  }

  .layout-selects select {
    font-size: 9px;
  }

  .color-filter-row {
    gap: 8px;
    min-height: 45px;
  }

  .hue-filter {
    gap: 7px;
  }

  .hue-filter button {
    width: 13px;
    height: 13px;
  }

  .color-hint {
    display: none;
  }

  .reset-filter {
    font-size: 9px;
  }

  .gallery-toolbar {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    margin-top: 23px;
  }

  .view-tabs {
    gap: 18px;
  }

  .view-tabs button {
    gap: 5px;
    padding-bottom: 12px;
    font-size: 10px;
  }

  .view-tabs button > span {
    padding: 3px 4px;
    font-size: 8px;
  }

  .gallery-options {
    gap: 9px;
    margin: 0 0 10px;
  }

  .case-toggle {
    font-size: 8px;
  }

  .gallery-options select {
    font-size: 9px;
  }

  .gallery-options > .filter-divider {
    display: none;
  }

  .archetype-row {
    gap: 2px;
    padding: 13px 0 17px;
  }

  .archetype-row button {
    padding: 5px 7px;
    font-size: 8px;
  }

  .masonry {
    column-count: 1;
    column-gap: 15px;
  }

  .figure-card {
    border-radius: 9px;
    margin-bottom: 17px;
  }

  .figure-frame {
    padding: 20px 16px 16px;
  }

  .figure-meta {
    height: 40px;
    padding: 0 13px;
  }

  .venue-badge {
    font-size: 10px;
  }

  .layout-label {
    font-size: 9px;
  }

  .swatches.small button {
    width: 13px;
    height: 13px;
  }

  .card-actions {
    opacity: 1;
  }

  .card-actions .icon-button {
    width: 25px;
    height: 25px;
  }

  .hover-caption {
    display: none;
  }

  .load-more {
    padding: 22px 0 35px;
    font-size: 8px;
  }

  .load-more > span {
    width: 10px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 5%;
    font-size: 8px;
  }

  .footer-meta {
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding-top: 4px;
    font-size: 7px;
  }

  .modal {
    border-radius: 10px;
    max-height: 92dvh;
  }

  .modal-heading {
    padding: 22px;
  }

  .modal-heading h2 {
    font-size: 17px;
  }

  .form {
    padding: 0 22px 22px;
  }

  .tab-row {
    margin-left: 22px;
    margin-right: 22px;
  }

  .form-two {
    gap: 10px;
  }

  .job-toast {
    width: 270px;
    bottom: 15px;
    right: 15px;
  }

  .toast {
    white-space: normal;
    width: max-content;
    padding: 10px 14px;
    font-size: 11px;
    bottom: 20px;
  }

  .inspector-modal {
    border-radius: 0;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    top: 0;
    left: 0;
    transform: none;
  }

  .inspector-body {
    flex-direction: column;
    flex: 1;
    display: flex;
    overflow-y: auto;
  }

  .inspector-canvas {
    flex-shrink: 0;
    min-height: 48dvh;
    max-height: 70dvh;
  }

  .canvas-top {
    flex-wrap: wrap;
    padding: 10px;
  }

  .canvas-scroll {
    min-height: 200px;
    max-height: 50vh;
    padding: 22px 14px;
  }

  .image-stage {
    align-self: center;
  }

  .inspector-sidebar {
    border-left: 0;
    flex-shrink: 0;
    overflow: visible;
  }

  .canvas-bottom {
    justify-content: flex-end;
    padding: 0 12px 12px;
  }

  .sub-controls {
    padding-bottom: 12px;
  }

  .canvas-bottom .button {
    font-size: 9px;
  }

  .paper-heading {
    padding: 23px;
  }

  .paper-heading h2 {
    font-size: 19px;
  }

  .paper-heading .eyebrow {
    font-size: 9px;
  }

  .panel-section {
    padding: 20px 23px;
  }

  .caption-text {
    font-size: 12px;
  }

  .palette-strip {
    height: 67px;
  }

  .palette-strip span {
    font-size: 9px;
  }

  .color-pair {
    padding: 10px;
  }

  .color-pair code {
    font-size: 10px;
  }

  .color-pair small {
    font-size: 8px;
  }

  .code-box pre {
    font-size: 10px;
  }

  .spec-grid strong {
    font-size: 12px;
  }

  .spec-grid span {
    font-size: 10px;
  }

  .save-panel select, .save-panel textarea {
    font-size: 12px;
  }

  .crop-editor {
    min-height: 55vh;
    padding: 0 10px 12px;
  }

  .crop-toolbar {
    flex-wrap: wrap;
    gap: 5px;
    font-size: 9px;
  }

  .crop-toolbar label {
    margin-left: 0;
  }

  .crop-scroll {
    min-height: 250px;
  }

  .workspace-heading {
    align-items: flex-start;
    padding: 30px 0 25px;
  }

  .workspace-heading h1 {
    font-size: 27px;
  }

  .workspace-heading p {
    max-width: 220px;
    line-height: 1.8;
  }

  .workspace-heading > .button {
    margin-top: 28px;
    padding: 8px 10px;
    font-size: 10px;
  }

  .boards-layout {
    flex-direction: column;
    gap: 20px;
    display: flex;
  }

  .board-nav {
    border-bottom: 1px solid #e1e7f0;
    border-right: 0;
    gap: 6px;
    padding: 0 0 12px;
    display: flex;
    overflow: auto;
  }

  .board-nav > .subtle-label {
    display: none;
  }

  .board-nav > button {
    white-space: nowrap;
    flex-shrink: 0;
    width: auto;
    padding: 9px 10px;
    font-size: 10px;
  }

  .board-title {
    margin-top: 0;
  }

  .board-title h2 {
    font-size: 16px;
  }

  .board-title .button {
    padding: 7px 9px;
    font-size: 9px;
  }

  .board-masonry {
    column-count: 1;
  }

  .color-history {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .admin-card {
    padding: 20px;
  }

  .admin-card h2 {
    font-size: 14px;
  }

  .status-pill {
    margin-top: 20px;
    padding: 6px 9px;
    font-size: 9px;
  }

  .config-editor, .history-group h3 {
    font-size: 10px;
  }

  .form select, .form input {
    min-height: 39px;
  }
}

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

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