@font-face {
  font-family:system;
  src:local("Inter"),local("Segoe UI"),local("Arial");
}
:root {
  font-family:system,ui-sans-serif,sans-serif;
  color:#f2eaf9;
  background:#0b080f;
  font-synthesis:none;
  --accent:#bd8dff;
  --ink:#100a16;
  --text:#f2eaf9;
  --surface:#17111f;
  --button:#6426a2;
  color-scheme:dark;
  --highlight:#c59aff;
  --muted:#b3a2c3;
  --line:#35263f;
  --white:#f7f0ff;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
button,input,select,textarea {
  font:inherit;
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
button:disabled {
  opacity:.55;
  cursor:wait;
}
button:focus-visible,a:focus-visible {
  outline:3px solid #b68aff;
  outline-offset:3px;
}
button svg,svg.icon {
  width:18px;
  height:18px;
  flex-shrink:0;
}
svg {
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.svg-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}
[hidden] {
  display:none!important;
}
a {
  color:inherit;
}
h1,h2,h3,p {
  margin:0;
}
h1 {
  font-size:36px;
  letter-spacing:-1.6px;
  line-height:1.15;
}
h1 span {
  color:var(--accent);
}
h2 {
  font-size:27px;
  letter-spacing:-.8px;
  line-height:1.2;
}
h3 {
  font-size:18px;
  letter-spacing:-.3px;
}
.small {
  font-size:12px;
  line-height:1.65;
}
.muted {
  color:var(--muted);
  line-height:1.6;
}
.eyebrow,.modal-eyebrow {
  font-size:10px;
  letter-spacing:2px;
  font-weight:800;
  color:var(--accent);
  margin-bottom:10px;
}
.modal-eyebrow {
  margin-bottom:12px;
}
.topbar {
  height:82px;
  padding:0 32px;
  display:flex;
  align-items:center;
  gap:36px;
  background:var(--ink);
  color:white;
}
.brand {
  font-size:27px;
  font-weight:850;
  text-decoration:none;
  letter-spacing:-1.2px;
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}
.brand-symbol {
  display:grid;
  place-items:center;
  background:var(--highlight);
  border-radius:10px;
  width:35px;
  height:35px;
  color:var(--text);
  font-size:30px;
  line-height:1;
}
.brand-dot {
  color:var(--highlight);
}
.main-nav {
  display:flex;
  gap:6px;
  align-self:stretch;
}
.nav-item {
  display:flex;
  align-items:center;
  gap:8px;
  border:0;
  background:transparent;
  color:#bbaacb;
  padding:0 16px;
  font-size:13px;
  font-weight:600;
  position:relative;
  white-space:nowrap;
}
.nav-item svg {
  width:17px;
  height:17px;
}
.nav-item:hover {
  color:white;
}
.nav-item.active {
  color:var(--highlight);
}
.nav-item.active:after {
  position:absolute;
  content:"";
  height:3px;
  bottom:0;
  left:15px;
  right:15px;
  background:var(--highlight);
  border-radius:4px 4px 0 0;
}
.nav-count {
  font-size:10px;
  min-width:17px;
  height:17px;
  display:grid;
  place-items:center;
  border-radius:20px;
  background:var(--highlight);
  color:var(--text);
}
.header-actions {
  margin-left:auto;
  display:flex;
  gap:14px;
  align-items:center;
}
.connection {
  font-size:11px;
  color:#bbaacb;
  display:flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}
.connection i {
  height:6px;
  width:6px;
  background:#b68aff;
  border-radius:50%;
}
.connection.offline i {
  background:#24182f;
}
.account-button {
  border:1px solid #493258;
  background:transparent;
  color:white;
  display:flex;
  gap:8px;
  align-items:center;
  padding:10px 13px;
  border-radius:9px;
  font-size:12px;
  max-width:180px;
}
.account-button span {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid transparent;
  border-radius:9px;
  min-height:40px;
  padding:10px 16px;
  font-size:12px;
  font-weight:750;
  text-decoration:none;
  transition:background .15s,box-shadow .15s;
}
.button.primary {
  background:var(--button);
  color:white;
}
.button.primary:hover {
  background:#7536bd;
  box-shadow:0 3px 10px #00000055;
}
.topbar .button.primary {
  background:var(--highlight);
  color:var(--text);
}
.button.secondary {
  border-color:#493258;
  background:var(--surface);
  color:var(--text);
}
.button.ghost {
  background:transparent;
  border-color:var(--line);
  color:#bbaacb;
}
.button.danger {
  background:#361922;
  color:#f3a6b3;
  border-color:#493258;
}
.button.small-button {
  min-height:34px;
  padding:7px 11px;
  font-size:11px;
}
.full {
  width:100%;
}
.text-button {
  border:0;
  background:none;
  color:var(--accent);
  padding:16px 0 0;
  font-size:12px;
  font-weight:650;
}
.view {
  max-width:1800px;
  margin:auto;
  padding:32px;
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:25px;
}
.page-heading p {
  font-size:13px;
  color:var(--muted);
  margin-top:9px;
  line-height:1.6;
}
.discovery-toolbar {
  display:flex;
  gap:12px;
}
.search-field {
  display:flex;
  align-items:center;
  gap:11px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:10px;
  padding:0 15px;
  flex:1;
  min-width:0;
}
.search-field svg {
  width:19px;
  height:19px;
  color:#bbaacb;
  flex-shrink:0;
}
.search-field input {
  border:0!important;
  box-shadow:none!important;
  padding:14px 0!important;
  font-size:13px!important;
}
.select-field {
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:10px;
  font-size:11px;
  color:#bbaacb;
  white-space:nowrap;
}
.select-field select {
  border:0;
  padding:12px 0;
  background:transparent;
  font-size:12px;
  color:var(--text);
  max-width:160px;
}
.category-row {
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:15px 0 20px;
  scrollbar-width:thin;
}
.category-chip {
  white-space:nowrap;
  border:1px solid var(--line);
  border-radius:30px;
  background:var(--surface);
  color:#bbaacb;
  padding:8px 13px;
  font-size:11px;
}
.category-chip.active {
  background:var(--ink);
  border-color:var(--text);
  color:white;
}
.explore-workspace {
  display:grid;
  grid-template-columns:350px minmax(0,1fr);
  gap:20px;
  min-height:480px;
  height:calc(100dvh - 350px);
  max-height:850px;
}
.catalog-panel {
  display:flex;
  flex-direction:column;
  min-height:0;
}
.catalog-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
  padding:2px;
}
.catalog-heading strong {
  font-size:13px;
}
.catalog-heading span {
  font-size:10px;
  color:#bbaacb;
}
.catalog {
  overflow:auto;
  padding-right:6px;
  scrollbar-width:thin;
  scrollbar-color:#594267 transparent;
  display:flex;
  flex-direction:column;
  gap:11px;
}
.drop-card {
  position:relative;
  padding:17px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:13px;
  text-align:left;
  width:100%;
  color:inherit;
  transition:border .15s,box-shadow .15s;
  flex-shrink:0;
}
.drop-card:hover,.drop-card.selected {
  border-color:#b68aff;
  box-shadow:0 3px 14px #00000055;
}
.card-top {
  display:flex;
  gap:13px;
  align-items:center;
}
.category-art {
  width:51px;
  height:51px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#24182f;
  color:#bbaacb;
  font-size:25px;
  flex-shrink:0;
}
.category-art.c1 {
  background:#24182f;
  color:#bbaacb;
}
.category-art.c2 {
  background:#24182f;
  color:#bbaacb;
}
.category-art.c3 {
  background:#24182f;
  color:#bbaacb;
}
.category-art.c4 {
  background:#24182f;
  color:#bbaacb;
}
.category-art.c5 {
  background:#24182f;
  color:#bbaacb;
}
.card-copy {
  min-width:0;
  flex:1;
}
.card-copy h3 {
  font-size:14px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.card-copy .category {
  font-size:10px;
  color:#bbaacb;
  display:block;
  margin-bottom:4px;
}
.price {
  font-weight:800;
  color:var(--text);
  white-space:nowrap;
  font-size:17px;
}
.card-meta {
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin-top:17px;
  font-size:11px;
  color:#bbaacb;
}
.card-meta span {
  display:flex;
  gap:4px;
  align-items:center;
  min-width:0;
}
.card-meta svg {
  height:12px;
  width:12px;
  flex-shrink:0;
}
.card-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid #493258;
  margin-top:13px;
  padding-top:11px;
  font-size:10px;
  color:#bbaacb;
}
.card-footer b {
  color:var(--accent);
  font-size:11px;
}
.map-panel {
  position:relative;
  border-radius:16px;
  overflow:hidden;
  min-width:0;
  border:1px solid #493258;
  background:#24182f;
  isolation:isolate;
}
.map {
  width:100%;
  height:100%;
  min-height:400px;
  background:#24182f;
}
.map-actions {
  position:absolute;
  top:16px;
  left:16px;
  z-index:500;
  display:flex;
  gap:8px;
}
.map-button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:var(--surface);
  border:1px solid #493258;
  box-shadow:0 2px 7px #00000055;
  padding:10px 13px;
  border-radius:8px;
  font-size:11px;
  color:#bbaacb;
  font-weight:700;
}
.map-button.icon-only {
  padding:9px;
}
.map-key {
  position:absolute;
  left:16px;
  bottom:22px;
  display:flex;
  align-items:center;
  gap:7px;
  z-index:500;
  padding:10px 13px;
  border-radius:7px;
  background:#17101fed;
  color:#bbaacb;
  font-size:10px;
  max-width:calc(100% - 75px);
}
.map-key svg {
  height:12px;
  width:12px;
  flex-shrink:0;
}
.zone-dot {
  width:8px;
  height:8px;
  background:#b68aff;
  border-radius:50%;
  flex-shrink:0;
}
.map-key-divider {
  height:13px;
  width:1px;
  background:#24182f;
  margin:0 4px;
}
.map-notice {
  position:absolute;
  z-index:500;
  top:65px;
  left:16px;
  right:16px;
  background:#302317;
  padding:10px;
  border-radius:8px;
  font-size:12px;
  color:#f0c58d;
}
.price-pin {
  font:800 12px system-ui;
  background:#17111f;
  color:#b68aff;
  border:1px solid #493258;
  border-radius:20px;
  padding:6px 9px;
  box-shadow:0 3px 8px #00000055;
  white-space:nowrap;
  min-width:49px;
  text-align:center;
}
.exact-marker {
  height:20px;
  width:20px;
  border:4px solid white;
  background:#b68aff;
  border-radius:50%;
  box-shadow:0 0 0 5px #00000055,0 3px 12px #00000055;
}
.leaflet-container {
  font-family:inherit;
}
.leaflet-control-zoom {
  border:1px solid #493258!important;
  border-radius:8px!important;
  overflow:hidden;
}
.leaflet-control-zoom a {
  color:#bbaacb!important;
}
.leaflet-control-attribution {
  font-size:9px!important;
}
.leaflet-container img.leaflet-tile {
  max-width:none!important;
  max-height:none!important;
}
.empty-state {
  background:var(--surface);
  border:1px dashed #493258;
  border-radius:13px;
  padding:35px 24px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.empty-icon {
  width:60px;
  height:60px;
  border-radius:18px;
  background:#24182f;
  display:grid;
  place-items:center;
  font-size:30px;
  color:#bbaacb;
}
.empty-state h3 {
  font-size:16px;
}
.empty-state p {
  font-size:12px;
  color:#bbaacb;
  line-height:1.7;
  max-width:340px;
}
.loading-card {
  background:var(--surface);
  border-radius:13px;
  padding:35px;
  color:#bbaacb;
  font-size:13px;
}
.app-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:14px 32px 20px;
  color:#bbaacb;
  font-size:10px;
}
.app-footer span {
  display:flex;
  gap:6px;
  align-items:center;
}
.app-footer svg {
  height:12px;
  width:12px;
}
.app-footer button {
  background:transparent;
  color:#f3a6b3;
  border:0;
  font-size:10px;
}
.offline-banner {
  padding:11px 30px;
  font-size:12px;
  background:#302317;
  color:#f0c58d;
  text-align:center;
}
.toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  max-width:min(600px,calc(100% - 32px));
  z-index:3000;
  background:var(--ink);
  color:white;
  padding:15px 22px;
  border-radius:11px;
  box-shadow:0 6px 25px #00000055;
  font-size:13px;
  line-height:1.5;
}
.toast.error {
  background:#361922;
}
.dashboard-view {
  min-height:calc(100dvh - 140px);
}
.stats-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin:28px 0;
}
.stat-card {
  background:var(--surface);
  border:1px solid var(--line);
  padding:22px;
  border-radius:12px;
  display:flex;
  flex-direction:column;
  gap:11px;
}
.stat-card strong {
  font-size:32px;
  letter-spacing:-1px;
}
.stat-card span {
  font-size:12px;
  color:#bbaacb;
}
.section-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:27px 0 16px;
}
.section-title h2 {
  font-size:20px;
}
.section-title span {
  font-size:12px;
  color:#bbaacb;
}
.orders-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(310px,1fr));
  gap:16px;
}
.order-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:13px;
  padding:22px;
}
.order-card h3 {
  font-size:17px;
  margin:13px 0 8px;
}
.order-meta {
  font-size:12px;
  color:#bbaacb;
  line-height:1.8;
}
.order-actions {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:19px;
}
.status {
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:20px;
  font-size:10px;
  font-weight:750;
  background:#24182f;
  color:#bbaacb;
}
.status.pending,.status.reserved {
  background:#302317;
  color:#f0c58d;
}
.status.ready {
  background:#24182f;
  color:#b68aff;
}
.status.completed {
  background:#24182f;
  color:#bbaacb;
}
.status.cancelled,.status.withdrawn {
  background:#24182f;
  color:#bbaacb;
}
.table-wrap {
  overflow:auto;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:13px;
}
.listing-table {
  width:100%;
  border-collapse:collapse;
  font-size:12px;
}
.listing-table th {
  text-align:left;
  font-weight:600;
  color:#bbaacb;
  background:#24182f;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:1px;
  padding:16px 20px;
}
.listing-table td {
  padding:17px 20px;
  border-top:1px solid #493258;
}
.listing-table td strong {
  display:block;
  font-size:13px;
  margin-bottom:4px;
}
.listing-table td span.sub {
  font-size:11px;
  color:#bbaacb;
}
.table-actions {
  display:flex;
  gap:8px;
  white-space:nowrap;
}
.onboarding {
  padding:70px 25px;
  background:var(--surface);
  border-radius:15px;
  border:1px solid var(--line);
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
}
.onboarding p {
  max-width:480px;
  font-size:14px;
  line-height:1.8;
  color:#bbaacb;
}
.modal {
  border:0;
  border-radius:18px;
  padding:34px;
  color:var(--text);
  width:min(480px,calc(100% - 30px));
  max-height:calc(100dvh - 40px);
  overflow:auto;
  box-shadow:0 24px 90px #00000055;
}
.modal::backdrop {
  background:#050308cc;
  backdrop-filter:blur(4px);
}
.modal .muted {
  margin:12px 0 22px;
  font-size:13px;
}
.close-button {
  position:absolute;
  top:16px;
  right:16px;
  border:0;
  border-radius:50%;
  height:32px;
  width:32px;
  background:#24182f;
  color:#bbaacb;
  display:grid;
  place-items:center;
  z-index:2;
}
.close-button svg {
  width:16px;
  height:16px;
}
label:not(.search-field):not(.select-field) {
  display:block;
  font-size:12px;
  font-weight:600;
  color:#bbaacb;
  margin-bottom:16px;
}
input:not([type=checkbox]),textarea,select {
  display:block;
  width:100%;
  border:1px solid #493258;
  border-radius:8px;
  background:var(--surface);
  color:var(--text);
  padding:11px 12px;
  outline:none;
  font-size:13px;
  margin-top:7px;
  line-height:1.4;
}
input:not([type=checkbox]):focus,textarea:focus,select:focus {
  border-color:#493258;
  box-shadow:0 0 0 3px #9d62e833;
}
.search-field input,.select-field select {
  margin:0;
}
input::placeholder,textarea::placeholder {
  color:#bbaacb;
}
textarea {
  resize:vertical;
  min-height:65px;
}
.form-error {
  padding:12px 14px;
  background:#361922;
  border:1px solid #493258;
  color:#f3a6b3;
  border-radius:8px;
  font-size:12px;
  margin:12px 0;
  line-height:1.6;
}
.auth-modal form {
  margin-top:24px;
}
.publish-modal {
  width:min(1050px,calc(100% - 32px));
  padding:28px;
}
.modal-top {
  display:flex;
  justify-content:space-between;
  padding-right:25px;
  margin-bottom:25px;
}
.modal-top .close-button {
  position:static;
  flex-shrink:0;
}
.publish-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}
.publish-location {
  padding-left:28px;
  border-left:1px solid var(--line);
}
.form-section-title {
  font-size:14px;
  font-weight:750;
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:21px;
}
.form-section-title span {
  color:var(--accent);
  background:#24182f;
  border-radius:5px;
  padding:4px 6px;
  font-size:10px;
}
.field-pair {
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:14px;
}
.publish-map {
  height:265px;
  position:relative;
  border-radius:10px;
  overflow:hidden;
  border:1px solid #493258;
  background:#24182f;
}
.location-row {
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:space-between;
  margin:12px 0;
}
.location-row p {
  font-size:11px;
  color:#bbaacb;
  line-height:1.7;
}
.location-row button {
  flex-shrink:0;
  font-size:10px;
  padding:8px;
}
.privacy-note {
  display:flex;
  gap:10px;
  padding:16px;
  background:#24182f;
  border-radius:9px;
  color:#bbaacb;
  margin:19px 0;
}
.privacy-note svg {
  width:19px;
  height:19px;
  flex-shrink:0;
  margin-top:2px;
}
.privacy-note p {
  font-size:11px;
  line-height:1.8;
}
.privacy-note strong {
  display:block;
  font-weight:750;
}
.check-label {
  display:flex!important;
  gap:9px;
  line-height:1.7;
  font-weight:400!important;
  font-size:11px!important;
  align-items:flex-start;
}
.check-label input {
  accent-color:var(--accent);
  margin-top:3px;
}
.modal-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding-top:20px;
  margin-top:15px;
  border-top:1px solid var(--line);
}
.modal-bottom .small {
  max-width:320px;
}
.field-hint {
  font-size:10px;
  line-height:1.7;
  color:#bbaacb;
  margin:-5px 0 17px;
}
input[type=file] {
  font-size:11px;
  padding:7px;
}
.photo-preview {
  position:relative;
  margin:10px 0 17px;
  height:135px;
  border-radius:8px;
  overflow:hidden;
  background:#24182f;
}
.photo-preview img {
  height:100%;
  width:100%;
  object-fit:cover;
}
.photo-preview span {
  position:absolute;
  bottom:8px;
  left:8px;
  font-size:10px;
  background:#17111f;
  padding:5px 8px;
  border-radius:5px;
}
.account-info {
  display:flex;
  gap:13px;
  background:#24182f;
  padding:18px;
  margin:20px 0;
  border-radius:10px;
}
.account-info svg {
  height:22px;
  width:22px;
  flex-shrink:0;
  color:#bbaacb;
}
.account-info strong {
  font-size:12px;
}
.account-info p {
  font-size:12px;
  line-height:1.7;
  color:#bbaacb;
  margin-top:7px;
}
.detail-modal {
  width:min(590px,calc(100% - 24px));
}
.detail-art {
  display:flex;
  gap:16px;
  align-items:center;
  margin:10px 0 22px;
}
.detail-art .category-art {
  height:67px;
  width:67px;
  font-size:33px;
}
.detail-title {
  font-size:25px;
  overflow-wrap:anywhere;
}
.detail-price {
  font-size:27px;
  font-weight:800;
  margin:20px 0;
}
.detail-description {
  white-space:pre-wrap;
  font-size:13px;
  color:#bbaacb;
  line-height:1.8;
}
.detail-data {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:20px 0;
  margin:23px 0;
}
.detail-data dt {
  font-size:10px;
  color:#bbaacb;
  margin-bottom:7px;
}
.detail-data dd {
  font-size:13px;
  font-weight:650;
  margin:0;
}
.detail-tip {
  display:flex;
  align-items:flex-start;
  gap:10px;
  background:#24182f;
  padding:15px;
  border-radius:8px;
  margin:20px 0;
  font-size:12px;
  color:#bbaacb;
  line-height:1.7;
}
.detail-tip svg {
  width:18px;
  height:18px;
  flex-shrink:0;
}
.detail-image {
  width:100%;
  max-height:380px;
  object-fit:contain;
  border-radius:10px;
  background:#24182f;
  margin:18px 0;
}
.secret-map {
  height:250px;
  border-radius:10px;
  background:#24182f;
  overflow:hidden;
}
.coordinates {
  font-family:ui-monospace,monospace;
  font-size:13px;
  padding:14px;
  background:#24182f;
  border-radius:8px;
  color:#b68aff;
  margin:12px 0;
}
.dialog-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:26px;
}
.order-note {
  font-size:11px;
  color:#bbaacb;
  margin-top:12px;
  line-height:1.6;
}
.connection-warning {
  padding:17px;
  background:#302317;
  border:1px solid #493258;
  border-radius:10px;
  font-size:13px;
  color:#f0c58d;
}
.secret-note {
  white-space:pre-wrap;
  font-size:13px;
  line-height:1.7;
  color:#bbaacb;
  margin:17px 0;
}
@media(min-width:1600px) {
  .explore-workspace {
    grid-template-columns:400px minmax(0,1fr);
  }
  .view {
    padding:40px;
  }
  .topbar {
    padding:0 40px;
  }
}
@media(max-width:1100px) {
  .topbar {
    gap:20px;
    padding:0 20px;
  }
  .nav-item {
    padding:0 10px;
  }
  .connection {
    display:none;
  }
  .header-actions {
    gap:8px;
  }
  .view {
    padding:24px 20px;
  }
  .explore-workspace {
    grid-template-columns:315px minmax(0,1fr);
  }
  .account-button span {
    max-width:75px;
  }
  .app-footer {
    padding:14px 20px;
  }
  .topbar .button {
    padding:9px 11px;
  }
}
@media(max-width:780px) {
  .topbar {
    height:auto;
    min-height:72px;
    flex-wrap:wrap;
    padding:16px 16px 0;
    gap:14px;
  }
  .brand {
    font-size:24px;
  }
  .brand-symbol {
    height:30px;
    width:30px;
    font-size:26px;
  }
  .header-actions {
    margin-left:auto;
  }
  .main-nav {
    order:3;
    width:100%;
    justify-content:space-around;
    height:49px;
    gap:0;
  }
  .nav-item {
    font-size:12px;
    flex:1;
    justify-content:center;
    padding:0 7px;
  }
  .nav-item:after {
    left:5px!important;
    right:5px!important;
  }
  .topbar .button span {
    display:none;
  }
  .topbar .button {
    min-height:35px;
    padding:7px 9px;
  }
  .account-button {
    padding:8px;
  }
  .account-button span {
    max-width:68px;
    font-size:11px;
  }
  .account-button svg {
    height:15px;
    width:15px;
  }
  .view {
    padding:24px 16px;
  }
  .page-heading {
    margin-bottom:21px;
  }
  .page-heading h1 {
    font-size:29px;
    letter-spacing:-1px;
  }
  .page-heading p {
    font-size:12px;
    max-width:320px;
  }
  .page-heading>.button {
    font-size:10px;
    padding:9px;
  }
  .eyebrow {
    font-size:8px;
    letter-spacing:1.4px;
  }
  .discovery-toolbar {
    flex-wrap:wrap;
    gap:8px;
  }
  .search-field {
    flex:1 1 100%;
  }
  .select-field {
    flex:1;
    font-size:10px;
    padding:0 10px;
  }
  .select-field select {
    font-size:11px;
  }
  .category-row {
    padding-bottom:15px;
  }
  .explore-workspace {
    height:auto;
    max-height:none;
    grid-template-columns:1fr;
    gap:20px;
    display:flex;
    flex-direction:column-reverse;
  }
  .map-panel {
    height:350px;
    width:100%;
  }
  .map {
    min-height:300px;
  }
  .map-key {
    font-size:8px;
    bottom:22px;
    left:10px;
    gap:5px;
    padding:8px;
  }
  .map-key svg {
    height:10px;
    width:10px;
  }
  .catalog {
    overflow:visible;
    padding:0;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .drop-card {
    padding:13px;
  }
  .card-top {
    flex-wrap:wrap;
    gap:9px;
  }
  .card-copy {
    min-width:95px;
  }
  .category-art {
    width:40px;
    height:40px;
    font-size:21px;
  }
  .card-copy h3 {
    font-size:12px;
  }
  .price {
    font-size:16px;
  }
  .card-meta {
    flex-wrap:wrap;
    font-size:10px;
  }
  .card-footer {
    font-size:9px;
  }
  .catalog>.empty-state,.catalog>.loading-card {
    grid-column:1/-1;
  }
  .app-footer {
    padding:12px 16px;
    font-size:9px;
    align-items:flex-start;
  }
  .app-footer span {
    max-width:240px;
    line-height:1.7;
  }
  .app-footer svg {
    flex-shrink:0;
    margin-top:2px;
  }
  .app-footer button {
    font-size:9px;
    white-space:nowrap;
  }
  .stats-grid {
    gap:10px;
    grid-template-columns:repeat(2,1fr);
  }
  .stat-card {
    padding:17px;
  }
  .stat-card strong {
    font-size:27px;
  }
  .stats-grid span {
    font-size:11px;
  }
  .orders-grid {
    grid-template-columns:1fr;
  }
  .publish-grid {
    grid-template-columns:1fr;
    gap:22px;
  }
  .publish-location {
    border-left:0;
    padding-left:0;
    border-top:1px solid var(--line);
    padding-top:23px;
  }
  .modal {
    padding:27px 22px;
    max-height:calc(100dvh - 22px);
    border-radius:13px;
  }
  .publish-modal {
    padding:23px 18px;
  }
  .modal h2 {
    font-size:23px;
  }
  .modal-bottom {
    flex-direction:column;
    align-items:stretch;
    gap:14px;
  }
  .modal-bottom .small {
    max-width:none;
  }
  .listing-table th,.listing-table td {
    padding:13px 15px;
  }
  .table-actions {
    flex-direction:column;
  }
  .section-title h2 {
    font-size:18px;
  }
  .toast {
    font-size:12px;
    padding:12px 15px;
  }
  .detail-modal {
    padding-top:35px;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important;
  }
}

/* Dark purple theme: tile filtering is limited to imagery, never map overlays. */
.modal {
  background:var(--surface);
  border:1px solid var(--line);
}
.topbar .button.primary,.brand-symbol,.nav-count {
  background:var(--button);
  color:var(--white);
}
.category-chip.active {
  background:#38194f;
  border-color:#8352ad;
}
.leaflet-tile-pane {
  filter:none;
}
.leaflet-container {
  background:#141019;
}
.leaflet-control-zoom a,.leaflet-control-attribution {
  background:#1a1223!important;
  color:#e1cdef!important;
}
.leaflet-control-zoom a:hover {
  background:#382047!important;
}
.leaflet-control-attribution a {
  color:#cfadff;
}
.leaflet-bar a {
  border-bottom-color:var(--line);
}
.price-pin {
  color:#f3e8ff;
  border-color:#a366e1;
  background:#311547;
}
.exact-marker {
  background:#bb82ff;
  border-color:#f6eaff;
  box-shadow:0 0 0 5px #a765ed44,0 3px 12px #0006;
}

.billing-summary,.billing-plan,.billing-invoice {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:13px;
  padding:17px;
}
.billing-summary,.billing-plan,.billing-invoice-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.billing-summary { margin-bottom:22px; }
.billing-summary p,.billing-plan p,.billing-invoice p { color:var(--muted);font-size:12px;line-height:1.65;margin-top:6px; }
.billing-modal { width:min(630px,calc(100% - 30px)); }
.billing-current { padding:14px;background:#261733;border:1px solid #594071;border-radius:10px;margin:20px 0 12px;line-height:1.6; }
.billing-plans { display:grid;gap:10px;margin:18px 0 22px; }
.billing-plan > div:last-child { display:flex;align-items:center;gap:14px; }
.billing-plan strong { font-size:16px; }
.billing-plan small { color:var(--muted);font-size:11px; }
.billing-invoice { margin:12px 0; }
.billing-invoice-head span { color:var(--highlight);font-weight:700; }
.billing-payment { margin:16px 0;display:grid;gap:13px; }
.billing-payment label { color:var(--muted);font-size:12px;margin:0!important; }
.billing-payment code { display:block;background:#0f0a15;border:1px solid var(--line);border-radius:8px;padding:11px;color:var(--text);font-size:13px;margin-top:5px; }
.billing-address { overflow-wrap:anywhere;user-select:all; }
.billing-copy { display:flex;flex-wrap:wrap;gap:7px; }
.billing-copy a { display:inline-flex;align-items:center; }
.billing-review { padding:12px;border:1px solid #7e5044;border-radius:8px;color:#ffccab!important;background:#251619; }
.map-tile-consent { border:1px solid #9e6dce;background:#21142b;color:#f1e4ff;border-radius:7px;padding:9px 11px;cursor:pointer;font-size:12px;box-shadow:0 3px 12px #0008; }
.map-tile-consent:hover { background:#3a2150; }
@media(max-width:520px) {
  .billing-summary,.billing-plan { align-items:flex-start;flex-direction:column; }
  .billing-plan > div:last-child { width:100%;justify-content:space-between; }
}
