/* cinzel-latin-500-normal */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/cinzel-latin-500-normal.890bc66a.woff2) format('woff2'), url(/assets/cinzel-latin-500-normal.34826004.woff) format('woff');
}
/* inter-latin-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-latin-400-normal.eca1e215.woff2) format('woff2'), url(/assets/inter-latin-400-normal.2ea1079c.woff) format('woff');
}
/* inter-latin-500-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/inter-latin-500-normal.b7c27c60.woff2) format('woff2'), url(/assets/inter-latin-500-normal.5014db63.woff) format('woff');
}
/* inter-latin-600-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/inter-latin-600-normal.69a8d1d4.woff2) format('woff2'), url(/assets/inter-latin-600-normal.f10265da.woff) format('woff');
}
:root {
  --cover:#242b25;
  --cover-edge:#262d27;
  --paper:#f2ecdf;
  --surface:#fcf9f1;
  --ink:#292e28;
  --muted:#6e7063;
  --brass:#baa47b;
  --line:#d9d3c4;
  --forest:#45644e;
  --soft-green:#e8eddf;
  --clay:#895d44;
  color-scheme:light;
  font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--ink);
  background:var(--cover-edge);
  font-synthesis:none;
}

:root[data-app="conspire"] {
  --cover-edge:var(--cover);
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  min-height:100svh;
  background:var(--cover-edge);
}

.space-app {
  min-height:100svh;
  background:var(--paper);
  color:var(--ink);
}

button,input,select {
  font:inherit;
}

button,a,input,select {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:default;
  opacity:.45;
}

button {
  color:inherit;
}

button,select,input {
  min-height:44px;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:2px solid #8d703e;
  outline-offset:4px;
}

button svg,a svg {
  flex-shrink:0;
}

a {
  color:inherit;
  text-underline-offset:4px;
}

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

::selection {
  background:#dac69e;
  color:var(--cover);
}

.eyebrow {
  font-size:10px;
  font-weight:600;
  letter-spacing:.15em;
  line-height:1.7;
}

.pakoma-mark {
  display:grid;
  place-items:center;
  width:35px;
  height:42px;
  border:1px solid #baa47b88;
  color:var(--brass);
  font:500 26px Cinzel,Georgia,serif;
}

.brass-rule {
  width:38px;
  height:1px;
  background:var(--brass);
}

.space-welcome {
  display:grid;
  min-height:100svh;
  padding:calc(20px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) calc(20px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));
  background:var(--cover-edge);
  color:var(--paper);
}

.welcome-cover {
  position:relative;
  min-width:0;
  border:1px solid #baa47b66;
  box-shadow:inset 0 0 0 5px var(--cover),inset 0 0 0 6px #baa47b22;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-content:center;
  gap:30px 72px;
  padding:64px max(6vw,40px);
  background-color:var(--cover);
  background-image:url(/assets/grain.8ff36496.svg);
}

.welcome-brand {
  position:absolute;
  left:max(6vw,40px);
  top:36px;
  display:flex;
  align-items:center;
  gap:14px;
  font-size:11px;
  letter-spacing:.2em;
}

.welcome-intro {
  align-self:center;
}

.welcome-intro h1 {
  font:500 clamp(44px,5.7vw,84px)/1.1 Cinzel,Georgia,serif;
  letter-spacing:-.05em;
  margin:12px 0 28px;
}

.welcome-intro .brass-rule {
  margin-bottom:28px;
}

.welcome-intro h2 {
  font:500 25px/1.4 Cinzel,Georgia,serif;
}

.welcome-intro p {
  font-size:15px;
  line-height:1.8;
  color:#c9c9b9;
  margin-top:12px;
}

.welcome-paper {
  background:var(--paper);
  color:var(--ink);
  padding:40px;
  max-width:430px;
  border:1px solid #a99166;
  box-shadow:5px 5px 0 #1b201b,6px 6px 0 #baa47b66;
}

.welcome-form {
  display:grid;
  gap:12px;
}
.browser-note { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.welcome-form label {
  font-size:13px;
  font-weight:600;
}

.welcome-form input {
  border:1px solid #bdb59f;
  border-radius:3px;
  background:var(--surface);
  font-size:18px;
  width:100%;
  padding:13px 14px;
}

.welcome-days {
  border:0;
  padding:0;
  margin:8px 0;
  min-width:0;
}

.welcome-days legend {
  font-size:13px;
  font-weight:600;
  padding:0;
  margin-bottom:12px;
}

.welcome-days>div {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
}

.welcome-days button {
  display:grid;
  gap:5px;
  padding:12px 4px;
  border:1px solid #bdb59f;
  border-radius:3px;
  background:var(--surface);
  font-size:14px;
}

.welcome-days button small {
  font-size:10px;
  font-weight:400;
}

.welcome-days button[aria-pressed=true] {
  background:var(--forest);
  border-color:var(--forest);
  color:#fffdf4;
}

.welcome-days.saved-days button:disabled { opacity:.35; }
.welcome-days.saved-days button[aria-pressed=true]:disabled { opacity:1; }

.welcome-mode { border: 0; padding: 0; margin: 4px 0 20px; min-width: 0; }
.welcome-mode legend { margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.welcome-mode > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.welcome-mode button { display: grid; text-align: left; gap: 3px; min-height: 44px; padding: 12px 14px; border: 1px solid var(--line, #d7d2c8); border-radius: 6px; background: transparent; color: inherit; }
.welcome-mode button[aria-pressed="true"] { background: #e7ebe3; border-color: #52624d; }
.welcome-mode button span { font-size: 11px; line-height: 1.3; color: #64685f; }

.primary-button {
  background:var(--cover);
  color:var(--paper);
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  padding:14px 20px;
  border:1px solid var(--cover);
  border-radius:3px;
  font-size:14px;
  font-weight:500;
  min-height:50px;
}

.primary-button:hover {
  background:#354536;
}

.text-button {
  border:0;
  background:none;
  text-decoration:underline;
  font-size:13px;
}

.space-header {
  min-height:calc(90px + env(safe-area-inset-top,0px));
  padding:calc(18px + env(safe-area-inset-top,0px)) max(calc((100vw - 1140px)/2),32px) 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:var(--cover) url(/assets/grain.8ff36496.svg);
  color:var(--paper);
  border-bottom:3px double #baa47b66;
}

.space-brand {
  display:flex;
  align-items:center;
  gap:13px;
  text-decoration:none;
}

.space-brand small {
  display:block;
  font-size:8px;
  letter-spacing:.22em;
  color:var(--brass);
  margin-bottom:3px;
}

.space-brand strong {
  font:500 27px/1 Cinzel,Georgia,serif;
}

.header-actions {
  display:flex;
  align-items:center;
  gap:24px;
}

.share-button,.name-button {
  display:flex;
  align-items:center;
  gap:10px;
  background:none;
  border:0;
  color:inherit;
  font-size:12px;
}

.name-button {
  max-width:200px;
  overflow-wrap:anywhere;
}

.name-button>span {
  border:1px solid #baa47b66;
  border-radius:50%;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  color:var(--brass);
  flex-shrink:0;
  font-family:Georgia,serif;
  font-size:16px;
}

.space-main {
  max-width:1140px;
  margin:auto;
  padding:40px 0 0;
}

.space-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:28px;
}

.space-title .eyebrow {
  color:var(--muted);
}

.space-title h1 {
  font:500 clamp(27px,3vw,37px)/1.3 Cinzel,Georgia,serif;
  letter-spacing:-.035em;
  margin:10px 0;
}

.space-views {
  display:flex;
  border-bottom:1px solid #b6b3a1;
  gap:26px;
}

.space-views button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:0;
  border-bottom:3px solid transparent;
  background:none;
  padding:14px 7px 15px;
  font-size:14px;
  color:var(--muted);
}

.space-views button[aria-current] {
  color:var(--ink);
  border-color:var(--forest);
  font-weight:600;
}

.space-views b {
  font-size:10px;
  background:#e1dfd2;
  border-radius:4px;
  padding:2px 5px;
  min-width:19px;
}

.space-toolbar {
  padding-top:24px;
  scroll-margin-top:15px;
}

.list-tabs {
  display:flex;
  gap:8px;
  margin-bottom:18px;
  overflow-x:auto;
}

.list-tabs button {
  display:flex;
  align-items:center;
  gap:9px;
  white-space:nowrap;
  border:1px solid transparent;
  background:none;
  border-radius:3px;
  padding:8px 16px;
  font-size:13px;
}

.list-tabs button[aria-pressed=true] {
  border-color:#aaa58e;
  background:var(--surface);
}

.list-tabs button span {
  font-size:10px;
  color:var(--muted);
}

.list-tabs button span:empty {
  display:none;
}

.search-filters {
  display:flex;
  gap:10px;
}

.space-search {
  display:flex;
  align-items:center;
  gap:12px;
  flex:1;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:3px;
  padding:0 14px;
  color:#797b6d;
}

.space-search input {
  background:none;
  border:0;
  padding:12px 8px;
  width:100%;
  font-size:13px;
  min-width:0;
  color:var(--ink);
}

.space-search input:focus-visible {
  outline:none;
}

.space-search:focus-within {
  border-color:var(--brass);
}

.search-filters select {
  font-size:14px;
  background:var(--surface);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2710%27 height=%276%27 viewBox=%270 0 10 6%27%3E%3Cpath d=%27m1 1 4 4 4-4%27 fill=%27none%27 stroke=%27%23383e34%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px 6px;
  border:1px solid var(--line);
  border-radius:3px;
  padding:0 52px 0 12px;
  max-width:190px;
}

@media (forced-colors: active) {
  .search-filters select {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
  }
}

.results-heading {
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  font-size:11px;
  color:var(--muted);
  padding:24px 0 12px;
  line-height:1.5;
}

.map-page .space-title {
  margin-bottom:12px;
}

.map-page .results-heading {
  padding:12px 0 10px;
}

.sync-status {
  display:flex;
  align-items:center;
  gap:5px;
  font-size:10px;
  text-align:right;
}

.people-filter {
  display:flex;
  gap:8px;
  overflow-x:auto;
  margin-top:18px;
  padding-bottom:3px;
}

.people-filter button {
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  border:1px solid var(--line);
  border-radius:30px;
  padding:5px 15px;
  background:none;
  font-size:12px;
}

.people-filter button[aria-pressed=true] {
  background:var(--cover);
  border-color:var(--cover);
  color:var(--paper);
}

.people-filter b {
  font-size:10px;
  font-weight:400;
  opacity:.7;
}

.space-notice {
  display:flex;
  align-items:center;
  gap:14px;
  background:#f2e8d4;
  color:#634c28;
  border:1px solid #d9c7a5;
  padding:8px 14px;
  margin-top:16px;
  font-size:12px;
  line-height:1.6;
}

.space-notice button {
  background:none;
  border:0;
  text-decoration:underline;
  flex-shrink:0;
  font-size:12px;
}

.space-entries {
  display:grid;
  gap:12px;
}

.list-heading {
  font:500 20px/1.4 Cinzel,Georgia,serif;
  margin:18px 0 4px;
}

.list-heading:first-child {
  margin-top:0;
}

.space-entry {
  display:flex;
  gap:24px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:4px;
  padding:24px;
  transition:border-color .15s,background .15s;
}

.space-entry.picked {
  border-color:#859a7b;
  background:#f3f6ed;
  box-shadow:inset 3px 0 0 #718865;
}

.space-entry.maybe {
  border-color:#b6a476;
  box-shadow:inset 3px 0 0 #b6a476;
}

.entry-time {
  flex:0 0 108px;
  padding:3px 22px 0 0;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:6px;
}

.entry-time>span {
  font-size:10px;
  color:var(--muted);
}

.entry-time strong {
  font-size:14px;
  font-weight:500;
  white-space:nowrap;
}

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

.entry-main {
  flex:1;
  min-width:0;
}

.entry-meta {
  font-size:10px;
  letter-spacing:.04em;
  color:var(--muted);
  margin:0 0 7px;
}

.space-entry h3 {
  font-family:Georgia,serif;
  font-size:22px;
  line-height:1.32;
  font-weight:400;
  overflow-wrap:anywhere;
}

.entry-description {
  font-size:12px;
  line-height:1.7;
  color:#6c6f62;
  margin-top:10px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.entry-description.expanded {
  -webkit-line-clamp:unset;
}

.entry-days {
  font-size:10px;
  line-height:1.7;
  color:var(--muted);
  margin-top:8px;
}

.entry-actions {
  display:flex;
  gap:8px;
  align-items:center;
  margin-top:17px;
}

.pick-button,.maybe-button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid #c5c7b7;
  background:transparent;
  border-radius:3px;
  font-size:12px;
  padding:8px 14px;
  min-width:83px;
}

.pick-button:hover,.maybe-button:hover {
  background:#e9eddf;
}

.pick-button.active {
  background:var(--forest);
  border-color:var(--forest);
  color:#fffdf4;
}

.maybe-button {
  border-color:transparent;
  color:var(--muted);
  min-width:70px;
}

.maybe-button.active {
  background:#eee4c8;
  border-color:#c3af7d;
  color:#65532e;
}

.details-button {
  display:flex;
  align-items:center;
  gap:5px;
  margin-left:auto;
  background:none;
  border:0;
  padding:8px 0 8px 10px;
  font-size:11px;
  color:var(--muted);
}

.turned {
  transform:rotate(180deg);
}

.entry-details {
  margin-top:15px;
  padding-top:15px;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
  line-height:1.7;
}

.entry-details p+p {
  margin-top:8px;
}

.source-links {
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:8px;
}

.source-links a {
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:40px;
}

.entry-people {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:12px;
}

.entry-people:empty {
  display:none;
}

.entry-people span {
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px 7px;
  border-radius:3px;
  font-size:10px;
  background:#e3eada;
  color:#466044;
  overflow-wrap:anywhere;
}

.entry-people span.maybe {
  background:#eee5ce;
  color:#75613b;
}

.overlap {
  display:flex;
  align-items:flex-start;
  gap:6px;
  color:var(--clay);
  font-size:11px;
  line-height:1.6;
  margin-top:12px;
}

.overlap svg {
  flex-shrink:0;
  margin-top:2px;
}

.image-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
}

.image-grid .space-entry {
  display:flex;
  flex-direction:column;
  gap:0;
  padding:0;
  overflow:hidden;
}

.entry-image {
  position:relative;
  height:175px;
  flex-shrink:0;
  background:#e5e3d8;
  display:grid;
  place-items:center;
  isolation:isolate;
  overflow:hidden;
}

.entry-image img {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  z-index:1;
  background:#e5e3d8;
}

.entry-image img[data-loaded="false"] {
  opacity:0;
}

.entry-image img[hidden] {
  display:none;
}

.entry-image span {
  position:absolute;
  z-index:0;
  font:500 64px Cinzel,Georgia,serif;
  color:#acb09d;
}

.image-grid .entry-main {
  padding:20px;
  width:100%;
}

.image-grid h3 {
  font-size:22px;
}

.image-grid .entry-description {
  min-height:41px;
}

.image-grid .entry-actions {
  gap:3px;
}

.space-entry.compact .entry-image {
  width:90px;
  height:90px;
  border-radius:2px;
}

.space-pagination {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  padding:30px 0 15px;
  font-size:12px;
  color:var(--muted);
}

.space-pagination button {
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:3px;
  font-size:12px;
}

.space-empty {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:64px 24px;
  background:#eee9dc;
  border:1px dashed #bcb8a2;
  border-radius:4px;
  color:var(--muted);
}

.space-empty h2 {
  font:400 25px Georgia,serif;
  margin:18px 0 12px;
  color:var(--ink);
}

.space-empty p {
  font-size:13px;
  max-width:350px;
  line-height:1.8;
  margin-bottom:22px;
}

.space-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:32px 0 24px;
  margin-top:22px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:10px;
  line-height:1.6;
}

.space-footer>span:first-child {
  letter-spacing:.15em;
  font-size:9px;
}

.space-footer button {
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 0 8px 12px;
  border:0;
  background:none;
  font-size:11px;
}

.space-sheet {
  width:min(520px,calc(100% - 32px));
  max-height:calc(100dvh - 40px);
  margin:auto;
  padding:28px;
  background:var(--paper);
  color:var(--ink);
  border:1px solid #a2987d;
  border-radius:6px;
  box-shadow:0 24px 100px #0005;
}

.space-sheet::backdrop {
  background:#172018aa;
}

.sheet-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:22px;
}

.sheet-heading h2 {
  font:500 24px/1.4 Cinzel,Georgia,serif;
}

.icon-button {
  display:grid;
  place-items:center;
  min-width:44px;
  border:0;
  background:none;
}

.space-sheet>p {
  font-size:14px;
  line-height:1.8;
  margin:14px 0;
}

.space-sheet>.primary-button {
  width:100%;
  margin-top:12px;
}

.share-link {
  display:grid;
  gap:8px;
  font-size:12px;
  margin:24px 0 10px;
}

.share-link input {
  width:100%;
  padding:10px;
  background:var(--surface);
  border:1px solid var(--line);
  font-size:16px;
}

.event-links a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:14px;
  min-height:52px;
  border-bottom:1px solid var(--line);
}

@media(min-width:701px) and (max-width:1200px) {
  .space-main {
    padding-left:32px;
    padding-right:32px;
  }

  .welcome-cover {
    gap:40px;
    padding-left:40px;
    padding-right:40px;
  }

  .welcome-paper {
    padding:30px;
  }

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

}

@media(max-width:700px) {
  .space-welcome {
    padding:calc(12px + env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));
  }

  .welcome-cover {
    grid-template-columns:minmax(0,1fr);
    padding:18px 16px;
    gap:0;
    align-content:start;
  }

  .welcome-brand {
    position:static;
    font-size:9px;
    gap:12px;
  }

  .welcome-brand .pakoma-mark {
    width:26px;
    height:30px;
    font-size:20px;
  }

  .welcome-intro {
    text-align:center;
    margin:20px 0 18px;
  }

  .welcome-intro h1 {
    font-size:clamp(36px,10.5vw,56px);
    margin:4px 0 12px;
  }

  .welcome-intro .brass-rule {
    margin:0 auto 12px;
    width:28px;
  }

  .welcome-intro h2 {
    font-size:18px;
  }

  .welcome-intro p {
    font-size:12px;
    margin-top:6px;
    line-height:1.6;
  }

  .welcome-paper {
    padding:18px 16px;
    max-width:440px;
    width:100%;
    margin:auto;
  }

  .welcome-form input {
    font-size:16px;
    padding:11px 12px;
  }

  .welcome-form {
    gap:10px;
  }

  .welcome-days {
    margin:4px 0;
  }

  .welcome-days legend {
    margin-bottom:8px;
  }

  .welcome-days button {
    padding:8px 4px;
    gap:4px;
  }

  .welcome-mode {
    margin:2px 0 6px;
  }

  .welcome-mode legend {
    margin-bottom:8px;
  }

  .welcome-mode button {
    padding:8px 10px;
    gap:3px;
    font-size:14px;
  }

  .welcome-form .primary-button {
    min-height:46px;
    padding:12px 16px;
  }

  .space-header {
    min-height:calc(75px + env(safe-area-inset-top,0px));
    padding:calc(14px + env(safe-area-inset-top,0px)) 18px 14px;
    gap:8px;
  }

  .space-brand {
    gap:9px;
  }

  .space-brand .pakoma-mark {
    width:29px;
    height:36px;
    font-size:24px;
  }

  .space-brand strong {
    font-size:23px;
  }

  .space-brand small {
    font-size:7px;
  }

  .header-actions {
    gap:8px;
  }

  .share-button span {
    display:none;
  }

  .share-button {
    padding:8px;
    min-width:38px;
    justify-content:center;
  }

  .name-button {
    font-size:11px;
    gap:7px;
    padding:0;
    max-width:135px;
  }

  .name-button>span {
    width:25px;
    height:25px;
    font-size:14px;
  }

  .space-main {
    padding:26px 16px 82px;
  }

  .space-title {
    margin-bottom:19px;
    align-items:start;
  }

  .map-page .space-title {
    margin-bottom:8px;
  }

  .map-page .results-heading {
    padding:0 0 8px;
  }

  .space-title .eyebrow {
    font-size:8px;
    letter-spacing:.09em;
  }

  .space-title h1 {
    font-size:27px;
    line-height:1.2;
    max-width:290px;
    margin:10px 0;
  }

  .space-views {
    position:fixed;
    z-index:10;
    bottom:0;
    left:0;
    right:0;
    gap:0;
    justify-content:space-around;
    background:var(--cover-edge);
    color:var(--paper);
    border-bottom:0;
    border-top:1px solid #baa47b66;
    padding:4px 8px max(8px,env(safe-area-inset-bottom));
    box-shadow:0 -5px 20px #242b2510;
  }

  .space-views button {
    position:relative;
    flex:1;
    flex-direction:column;
    gap:4px;
    padding:10px 6px 5px;
    font-size:10px;
    color:#b4bbad;
    border:0;
    min-height:53px;
  }

  .space-views button[aria-current] {
    color:#f5e6c3;
    font-weight:500;
  }

  .space-views button[aria-current]::before {
    content:'';
    position:absolute;
    top:-5px;
    width:34px;
    height:2px;
    background:var(--brass);
  }

  .space-views b {
    position:absolute;
    top:5px;
    left:calc(50% + 9px);
    background:var(--brass);
    color:var(--cover);
    font-size:9px;
    padding:1px 4px;
    min-width:16px;
  }

  .keyboard-open .space-views {
    display:none;
  }

  .space-toolbar {
    padding-top:0;
  }

  .list-tabs {
    gap:4px;
    margin-bottom:14px;
    padding:3px 0;
  }

  .list-tabs button {
    padding:8px 10px;
    gap:5px;
    min-height:42px;
    font-size:12px;
    flex-shrink:0;
  }

  .list-tabs button span {
    font-size:9px;
  }

  .search-filters {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
  }

  .space-search {
    grid-column:1/-1;
    padding:0 12px;
    gap:9px;
  }

  .space-search input {
    font-size:16px;
  }

  .space-search input::placeholder {
    font-size:12px;
  }

  .search-filters select {
    width:100%;
    max-width:none;
    font-size:12px;
    min-height:42px;
    padding-left:10px;
    padding-right:20px;
  }

  .results-heading {
    padding-top:18px;
    padding-bottom:11px;
    font-size:10px;
    align-items:start;
  }

  .sync-status {
    font-size:9px;
    max-width:128px;
    flex-shrink:0;
    line-height:1.6;
  }

  .space-entries {
    gap:10px;
  }

  .space-entry {
    padding:18px 16px;
    gap:14px;
    flex-direction:column;
  }

  .entry-time {
    flex:initial;
    flex-direction:row;
    border:0;
    padding:0;
    gap:7px;
    align-items:center;
    flex-wrap:wrap;
  }

  .entry-time>span {
    font-size:9px;
    border-right:1px solid var(--line);
    padding-right:8px;
  }

  .entry-time strong {
    font-size:11px;
  }

  .entry-time small {
    font-size:9px;
  }

  .entry-meta {
    font-size:9px;
    margin-bottom:6px;
  }

  .space-entry h3 {
    font-size:21px;
  }

  .entry-description {
    font-size:11px;
    line-height:1.8;
    margin-top:8px;
  }

  .entry-actions {
    margin-top:14px;
  }

  .pick-button,.maybe-button {
    font-size:12px;
  }

  .details-button {
    font-size:10px;
  }

  .entry-people {
    margin-top:10px;
  }

  .entry-people span {
    font-size:9px;
  }

  .overlap {
    font-size:10px;
  }

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

  .image-grid .space-entry {
    flex-direction:row;
    padding:16px;
    gap:14px;
  }

  .image-grid .entry-image {
    width:82px;
    height:102px;
    border-radius:2px;
    margin-top:3px;
  }

  .image-grid .entry-main {
    padding:0;
    width:auto;
  }

  .image-grid .entry-description {
    min-height:0;
    -webkit-line-clamp:2;
  }

  .image-grid h3 {
    font-size:22px;
  }

  .image-grid .entry-actions {
    gap:0;
    flex-wrap:wrap;
  }

  .image-grid .pick-button {
    min-width:74px;
    padding:8px 9px;
  }

  .image-grid .maybe-button {
    min-width:62px;
    padding:8px;
  }

  .image-grid .details-button {
    padding-left:5px;
  }

  .image-grid .entry-details {
    margin-left:-96px;
  }

  .image-grid .entry-description.expanded {
    -webkit-line-clamp:unset;
  }

  .entry-days {
    font-size:9px;
  }

  .space-entry.compact {
    display:grid;
    grid-template-columns:auto 1fr;
    gap:12px;
  }

  .space-entry.compact .entry-time {
    grid-column:1/-1;
  }

  .space-entry.compact.panels .entry-main {
    grid-column:1/-1;
  }

  .space-entry.compact .entry-image {
    width:64px;
    height:80px;
  }

  .space-entry.compact .entry-actions {
    gap:0;
    flex-wrap:wrap;
  }

  .space-entry.compact .pick-button {
    min-width:74px;
    padding:8px;
  }

  .space-entry.compact .maybe-button {
    min-width:60px;
    padding:8px;
  }

  .space-entry.compact .details-button {
    padding-left:5px;
  }

  .space-empty {
    padding:42px 22px;
  }

  .space-empty h2 {
    font-size:24px;
  }

  .space-empty p {
    font-size:12px;
  }

  .space-footer {
    gap:8px;
    padding-top:16px;
    font-size:9px;
  }

  .space-pagination {
    gap:17px;
    padding-top:22px;
  }

  .space-sheet {
    padding:22px 20px;
    width:calc(100% - 24px);
    max-height:calc(100dvh - 24px);
  }

  .sheet-heading h2 {
    font-size:22px;
  }

  .people-filter {
    margin-top:14px;
  }

  .space-notice {
    font-size:11px;
    padding:8px 10px;
  }

}

@media(max-width:360px) {
  .space-main {
    padding-left:12px;
    padding-right:12px;
  }

  .space-title h1 {
    font-size:25px;
  }

  .image-grid .space-entry {
    padding:14px 12px;
    gap:10px;
  }

  .image-grid .entry-image {
    width:60px;
    height:80px;
  }

  .image-grid .entry-details {
    margin-left:-70px;
  }

  .welcome-cover {
    padding-left:14px;
    padding-right:14px;
  }

  .list-tabs button {
    padding-left:8px;
    padding-right:8px;
  }

}

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

}


.invite-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.invite-note svg { flex-shrink: 0; margin-top: 2px; }
.space-views .solo-tab:not([aria-current="page"]) { color: #85847e; }
.group-panel { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:16px 0; margin-bottom:16px; border-bottom:1px solid var(--line); }
.group-panel-heading { display:flex; flex:1; min-width:0; align-items:center; gap:10px; }
.group-panel-heading>svg { flex-shrink:0; color:var(--muted); }
.group-panel-heading>div { min-width:0; }
.group-panel h2 { margin:0 0 3px; font-size:15px; line-height:1.4; font-weight:500; }
.group-panel p { margin:0; font-size:12px; line-height:1.5; color:var(--muted); }
.group-panel .group-invite { flex-shrink:0; width:auto; min-height:44px; margin:0; padding:8px 12px; gap:7px; font-size:14px; }
.group-panel.solo .group-panel-heading { flex-basis:250px; }
.solo-preview { padding: 28px; margin: 12px 0 48px; border: 1px dashed #cfcec6; border-radius: 7px; color: #848780; background: #eeede8; }
.solo-preview > div { display: flex; align-items: center; justify-content: space-between; font-size: 18px; }
.solo-preview p { font-size: 14px; line-height: 1.5; margin-bottom: 0; }
.group-share-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.group-share-actions button { flex: 1; min-width: 120px; }
.secondary-button { display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #bbbcae; border-radius: 5px; padding: 12px 18px; color: #354634; background: transparent; min-height: 46px; }
.leave-group { margin-top: 20px; }
@media (max-width:700px) {
  .group-page .space-title { margin-bottom:16px; }
  .group-page .space-title h1 { margin-bottom:0; }
  .group-panel { padding-top:0; }
}


.restore-form { display:grid; gap:14px; }
.restore-form h2 { font:500 24px/1.35 Cinzel,Georgia,serif; }
.restore-form p { font-size:13px; line-height:1.65; color:var(--muted); }
.welcome-error { margin-top:16px; color:var(--clay); font-size:13px; line-height:1.5; }
.welcome-paper,.welcome-intro { min-width:0; }

.space-app select,.space-app option,.space-app optgroup {
  font-weight:400;
  letter-spacing:normal;
  text-transform:none;
  color:#53594e;
}

.restore-feedback { margin:-3px 0 0; font-size:12px; line-height:1.55; color:var(--muted); }
.restore-feedback:empty { display:none; }
.restore-feedback.unmatched { color:var(--clay); }
.welcome-mode-fixed { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 12px; margin:2px 0 6px; font-size:12px; }
.welcome-mode-fixed>span:first-child { color:var(--muted); }
.welcome-mode-fixed>span:last-child { display:flex; align-items:center; gap:7px; padding:8px 10px; border:1px solid #bcc6b6; border-radius:4px; background:var(--soft-green); color:var(--forest); font-size:13px; }
.restore-retry { justify-self:start; padding:4px 0; color:var(--muted); margin-top:-8px; }
.private-signout { display:flex; align-items:center; gap:8px; margin-top:12px; color:var(--muted); }
.private-profile-actions { display:grid; gap:10px; margin-top:20px; padding-top:20px; border-top:1px solid var(--line); }
.private-profile-actions p { font-size:12px; line-height:1.5; color:var(--muted); }

.artist-plan {
  margin:16px 0;
  padding-top:16px;
  border-top:1px solid var(--line);
}

.artist-plan-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  font-weight:500;
}

.visit-button {
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid var(--line);
  border-radius:3px;
  background:transparent;
  padding:8px 12px;
  font-size:12px;
}

.visit-button.active {
  color:var(--forest);
  border-color:#91a488;
  background:var(--soft-green);
}

.signing-add {
  margin-top:14px;
}

.signing-add label {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-bottom:7px;
}

.signing-add>div {
  display:flex;
  min-width:0;
}

.signing-add input {
  min-width:0;
  width:100%;
  border:1px solid var(--line);
  border-radius:3px 0 0 3px;
  background:var(--surface);
  padding:10px;
  font-size:16px;
}

.signing-add button {
  display:grid;
  place-items:center;
  flex:0 0 44px;
  background:var(--forest);
  color:var(--surface);
  border:1px solid var(--forest);
  border-radius:0 3px 3px 0;
}

.signing-book {
  display:flex;
  align-items:center;
  min-width:0;
  border-bottom:1px solid var(--line);
}

.signing-book:last-child {
  border-bottom:0;
}

.signing-check {
  display:flex;
  align-items:center;
  gap:11px;
  flex:1;
  min-width:0;
  text-align:left;
  padding:12px 0;
  border:0;
  background:none;
  font-size:13px;
  line-height:1.6;
}

.signing-check>span:first-child {
  display:grid;
  place-items:center;
  flex:0 0 20px;
  height:20px;
  border:1px solid #a9af9b;
  border-radius:3px;
}

.signing-check>span:nth-child(2) {
  overflow-wrap:anywhere;
}

.signing-check small {
  margin-left:auto;
  color:var(--forest);
  font-size:10px;
}

.signing-book.done .signing-check>span:first-child {
  color:var(--surface);
  background:var(--forest);
  border-color:var(--forest);
}

.signing-book.done .signing-check>span:nth-child(2) {
  color:var(--muted);
  text-decoration:line-through;
}

.signing-remove {
  display:grid;
  place-items:center;
  flex:0 0 44px;
  border:0;
  background:none;
  color:var(--muted);
}

.entry-details .signing-message {
  font-size:11px;
  color:var(--forest);
}

.signings {
  max-width:760px;
}

.signings-intro {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:12px 0 25px;
}

.signings-intro h2 {
  font:400 25px/1.4 Georgia,serif;
}

.signings-intro p {
  margin-top:8px;
  font-size:12px;
  line-height:1.7;
  color:var(--muted);
}

.signings-intro>svg {
  flex-shrink:0;
  color:var(--brass);
}

.signing-groups {
  display:grid;
  gap:14px;
}

.signing-group {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:4px;
  padding:16px 22px;
  min-width:0;
}

.signing-group.favorite {
  border-color:var(--brass);
}

.signing-group-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border-bottom:1px solid var(--line);
  padding-bottom:12px;
}

.signing-group-heading>div {
  min-width:0;
}

.signing-group-heading h3 {
  display:flex;
  align-items:center;
  gap:8px;
  overflow-wrap:anywhere;
  font:400 21px/1.4 Georgia,serif;
}

.signing-group-heading h3 svg {
  flex-shrink:0;
  color:#8d703e;
}

.signing-group-heading span {
  display:block;
  margin-bottom:5px;
  color:var(--muted);
  font-size:10px;
}

.signing-group-heading button {
  flex:0 0 44px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:3px;
  background:none;
}

.signings-completed {
  margin-top:26px;
}

.signings-completed>button {
  display:flex;
  align-items:center;
  width:100%;
  gap:8px;
  border:0;
  border-top:1px solid var(--line);
  background:none;
  padding:12px 0;
  margin-bottom:8px;
  color:var(--muted);
  font-size:12px;
}

.signings-completed>button>span:last-child {
  margin-left:auto;
}

.signing-compose {
  margin:0 0 24px;
}

.signing-compose-fields {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
  align-items:end;
  gap:10px;
}

.signing-compose label {
  display:grid;
  gap:7px;
  min-width:0;
  color:var(--muted);
  font-size:14px;
  font-weight:400;
}

.signing-compose input {
  width:100%;
  min-width:0;
  min-height:46px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:4px;
  color:#53594e;
  background:var(--surface);
  font-size:16px;
  font-weight:400;
  letter-spacing:normal;
}

.signing-compose .primary-button {
  min-height:46px;
  padding:10px 14px;
  gap:7px;
  font-weight:400;
  background:var(--forest);
  border-color:var(--forest);
}

.signing-compose-hint,.signing-compose .signing-message {
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.signing-compose .signing-message {
  color:var(--forest);
}

.signing-browse {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  padding:8px 0;
  font-size:14px;
}

@media (max-width:600px) {
  .signing-compose-fields {
    grid-template-columns:minmax(0,1fr);
  }

  .signing-compose .primary-button {
    justify-self:start;
    margin-top:2px;
  }

  .signing-group {
    padding:14px 16px;
  }
}

.signing-artist-choice { display:grid; gap:7px; min-width:0; }
.signing-artist-field { position:relative; min-width:0; }
.signing-artist-field>svg { position:absolute; left:12px; top:15px; color:var(--muted); pointer-events:none; }
.signing-artist-field input { padding-left:38px; padding-right:44px; }
.signing-artist-clear { position:absolute; right:1px; top:1px; display:grid; place-items:center; width:44px; min-height:44px; padding:0; border:0; border-radius:0 4px 4px 0; background:none; color:var(--muted); }
.signing-artist-menu { position:absolute; top:calc(100% + 5px); left:0; right:0; z-index:12; min-width:0; overflow:hidden; border:1px solid #c3bdac; border-radius:5px; background:var(--surface); box-shadow:0 5px 16px #211e1a14; }
.signing-artist-menu [role="listbox"] { max-height:min(320px,40svh); overflow-y:auto; overscroll-behavior:contain; }
.signing-artist-menu [role="option"] { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-width:0; min-height:48px; padding:10px 12px; border:0; border-bottom:1px solid var(--line); background:none; text-align:left; font-size:14px; line-height:1.4; }
.signing-artist-menu [role="option"]>span { min-width:0; overflow-wrap:anywhere; }
.signing-artist-menu [role="option"] small { display:block; margin-top:3px; color:var(--muted); font-size:12px; }
.signing-artist-menu [role="option"]>svg { flex-shrink:0; color:var(--forest); }
.signing-artist-menu [role="option"][aria-selected="true"] { background:var(--soft-green); }
.signing-artist-menu [role="option"]:hover { background:var(--paper); }
.signing-artist-menu>p { padding:9px 12px; color:var(--muted); font-size:12px; line-height:1.5; }
.signing-compose-selection { display:flex; align-items:center; gap:5px; margin-top:9px; font-size:12px; line-height:1.5; color:var(--forest); }

.entry-favorite {
  float:right;
  display:grid;
  place-items:center;
  width:44px;
  margin:-10px -10px 0 6px;
  border:0;
  border-radius:3px;
  color:var(--muted);
  background:none;
}

.entry-favorite.active {
  color:#94753c;
}

.space-entry.favorite {
  border-color:#b6a476;
  box-shadow:inset 3px 0 0 var(--brass);
}

.artist-visited {
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:var(--forest);
  font-size:10px;
  margin-top:7px;
}

.artist-works {
  border-top:1px solid var(--line);
  padding-top:12px;
  margin-top:16px;
}

.artist-works>span {
  display:block;
  color:var(--muted);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.1em;
}

.artist-works p {
  font-size:11px;
  line-height:1.75;
  margin-top:5px;
  overflow-wrap:anywhere;
}

.artist-works a {
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:44px;
  font-size:10px;
  color:var(--muted);
}

.space-entry.art.details-open {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
}

.space-entry.art.details-open>.entry-details {
  grid-column:1/-1;
  min-width:0;
  margin:0;
}

.image-grid .space-entry.art.details-open {
  grid-template-columns:minmax(0,1fr);
}

.image-grid .space-entry.art.details-open>.entry-details {
  margin:0 20px 20px;
}

.entry-details>.artist-works {
  margin-top:0;
  padding-top:0;
  border-top:0;
}

.space-search {
  min-width:0;
}

.favorites-filter {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:8px 12px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:3px;
  font-size:12px;
}

.favorites-filter.active {
  background:#eee4ce;
  border-color:var(--brass);
  color:#755a2b;
}

@media (max-width:700px) {
  .image-grid .space-entry.art.details-open {
    grid-template-columns:auto minmax(0,1fr);
  }

  .image-grid .space-entry.art.details-open>.entry-details {
    margin:0;
  }

  .search-filters {
    display:flex;
    flex-wrap:wrap;
  }

  .space-search {
    flex-basis:100%;
    min-width:0;
  }

  .search-filters select {
    flex:1;
    min-width:0;
    max-width:none;
    font-size:16px;
    padding-left:8px;
    padding-right:22px;
  }

  .favorites-filter {
    flex-shrink:0;
  }

  .favorites-filter span {
    display:none;
  }
}

.calendar-detail .space-entry.art {
  display:block;
  padding:0;
  box-shadow:none;
}

.calendar-detail .art .entry-image {
  width:96px;
  height:112px;
  border-radius:3px;
  float:left;
  margin:0 16px 16px 0;
}

.calendar-detail .art .entry-actions {
  clear:both;
}

.calendar-detail .space-entry.art>.entry-details {
  clear:both;
  margin-top:16px;
}

.entry-details>.artist-plan:first-child {
  margin-top:0;
  padding-top:0;
  border-top:0;
}

.books-to-find { min-width:0; max-width:760px; }
.books-to-find-intro { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:12px 0 25px; }
.books-to-find-intro h2 { font:400 25px/1.4 Georgia,serif; }
.books-to-find-intro p { margin-top:8px; color:var(--muted); font-size:14px; line-height:1.7; }
.books-to-find-intro>svg { flex-shrink:0; color:var(--brass); }
.find-book-add { margin:0 0 20px; }
.find-book-add label { display:block; margin-bottom:7px; color:var(--muted); font-size:14px; font-weight:400; }
.find-book-add>div { display:flex; min-width:0; gap:8px; }
.find-book-add input { flex:1; min-width:0; width:0; min-height:46px; padding:10px 12px; border:1px solid var(--line); border-radius:4px; background:var(--surface); color:var(--ink); font-size:16px; font-weight:400; }
.find-book-add button { display:flex; align-items:center; justify-content:center; gap:7px; flex-shrink:0; padding:10px 14px; border:1px solid var(--forest); border-radius:4px; background:var(--forest); color:var(--surface); font-size:14px; font-weight:400; }
.find-book-add button:disabled { opacity:.45; }
.find-book-empty { margin:12px 0; color:var(--muted); font-size:14px; line-height:1.6; }
.find-book { display:flex; align-items:center; min-width:0; border-bottom:1px solid var(--line); }
.find-book:last-child { border-bottom:0; }
.find-book-check { display:flex; align-items:center; gap:9px; flex:1; min-width:0; padding:10px 0; border:0; background:none; text-align:left; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.find-book-box { display:grid; place-items:center; flex:0 0 19px; height:19px; border:1px solid #a6a99b; border-radius:3px; color:var(--surface); }
.find-book.found .find-book-box { background:var(--forest); border-color:var(--forest); }
.find-book.found .find-book-check>span:last-child { text-decoration:line-through; color:var(--muted); }
.find-book-remove { display:grid; place-items:center; flex:0 0 44px; padding:0; border:0; background:none; color:var(--muted); }
.find-book-message { margin:8px 0; color:var(--forest); font-size:13px; line-height:1.5; }
.find-books-found { margin-top:4px; border-top:1px solid var(--line); }
.find-books-found-toggle { display:flex; align-items:center; gap:7px; width:100%; padding:8px 0; border:0; background:none; color:var(--muted); font-size:13px; }
.find-books-found-toggle span { margin-left:auto; }

@media (max-width:400px) {
  .find-book-add button { padding:10px; }
  .find-book-add button span { display:none; }
  .find-book-add button { min-width:46px; }
}

.contact-content>p { color:var(--muted); font-size:14px; line-height:1.65; }
.contact-topics { display:grid; margin:20px 0 12px; }
.contact-topics>a { display:flex; align-items:center; gap:14px; min-height:82px; padding:16px 0; border-bottom:1px solid var(--line); text-decoration:none; }
.contact-topics>a:first-child { border-top:1px solid var(--line); }
.contact-topics>a:hover strong { text-decoration:underline; text-underline-offset:4px; }
.contact-topic-icon { display:grid; place-items:center; width:40px; height:40px; flex-shrink:0; border:1px solid #bcc6b6; border-radius:5px; color:var(--forest); background:var(--soft-green); }
.contact-topics>a>span:nth-child(2) { flex:1; min-width:0; }
.contact-topics strong { display:block; font-size:14px; font-weight:500; line-height:1.5; }
.contact-topics small { display:block; margin-top:3px; color:var(--muted); font-size:12px; line-height:1.5; }
.contact-topics>a>svg { color:var(--muted); }
.contact-address { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:8px; color:var(--forest); font-size:14px; }
.contact-address>a { overflow-wrap:anywhere; }
.contact-content .contact-note { font-size:12px; min-height:1.65em; }
.space-footer-links { display:flex; align-items:center; gap:20px; }
@media (max-width:360px) {
  .contact-topics>a { gap:10px; }
  .space-footer-links { gap:12px; }
}

.personal-link { display:grid; gap:12px; margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.personal-link h3 { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:500; }
.personal-link p,.personal-link-hint { color:var(--muted); font-size:12px; line-height:1.65; }
.personal-link .share-link { min-width:0; margin:0; }
.personal-link .share-link input { min-width:0; }
.personal-link-actions,.personal-link-replace>div { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.personal-link-actions .text-button { color:var(--muted); }
.personal-link-replace { display:grid; gap:12px; padding:12px; border:1px solid var(--line); border-radius:5px; }
.personal-link .personal-link-error { color:var(--clay); }
.space-sheet .personal-link-hint { margin:20px 0 0; padding-top:16px; border-top:1px solid var(--line); }
.personal-link-hint button { display:inline; min-height:44px; padding:0 3px; color:var(--forest); font-size:inherit; }
.personal-link .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.artist-map { min-width:0; }
.artist-map-summary { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.artist-map-summary p { font-size:12px; color:var(--muted); }
.artist-map-count { font-size:12px; color:var(--forest); }
.artist-map-legend { display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin-bottom:14px; font-size:12px; color:var(--muted); }
.artist-map-legend span { display:flex; align-items:center; gap:6px; }
.artist-map-legend i { width:12px; height:12px; border-radius:2px; border:1px solid var(--forest); background:var(--forest); }
.artist-map-legend i.maybe { background:#dbc18a; border:1px dashed #8b6c35; }
.artist-map-legend svg { color:#8b6c35; }
.artist-map-viewport { position:relative; height:clamp(440px,68svh,700px); max-height:calc(100svh - 160px); min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:7px; background:#e9e5da; isolation:isolate; }
.artist-map-canvas { display:block; touch-action:none; user-select:none; cursor:grab; }
.artist-map-canvas:active { cursor:grabbing; }
.artist-map-canvas:focus-visible { outline-offset:-4px; outline:2px solid #8d703e; }
.artist-map-image { filter:grayscale(1) sepia(.1); opacity:.72; pointer-events:none; }
.artist-map-stall { cursor:pointer; outline:none; }
.artist-map-stall rect { fill:var(--forest); stroke:#26482d; stroke-width:1.5; }
.artist-map-stall.maybe rect { fill:#dac087; stroke:#806530; stroke-dasharray:3 2; }
.artist-map-stall text { fill:#fffdf8; font:600 7px Inter,sans-serif; pointer-events:none; }
.artist-map-stall.maybe text { fill:#332b1e; }
.artist-map-stall.favorite rect { stroke:#b28221; stroke-width:2.5; }
.artist-map-stall.visited rect { fill:#82907d; }
.artist-map-stall.active rect,.artist-map-stall:focus-visible rect { stroke:var(--ink); stroke-width:3; }
.artist-map-star { fill:#d6a944; stroke:#fffdf8; stroke-width:.9; pointer-events:none; }
.artist-map-check { fill:none; stroke:#294c32; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
.artist-map-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
.artist-map-controls { display:flex; background:var(--surface); border:1px solid var(--line); border-radius:5px; }
.artist-map-controls button { display:grid; place-items:center; width:44px; min-height:44px; padding:0; border:0; border-right:1px solid var(--line); background:transparent; }
.artist-map-controls button:last-child { border:0; }
.artist-map-controls button:hover:not(:disabled) { background:var(--paper); }
.artist-map-zoom { font-size:12px; color:var(--muted); font-variant-numeric:tabular-nums; }
.artist-map-popover { position:absolute; left:12px; right:12px; bottom:12px; max-height:64%; overflow:auto; background:var(--surface); border:1px solid #b7b09e; border-radius:6px; box-shadow:0 5px 24px #211e1a20; overscroll-behavior:contain; scroll-padding:52px 0 12px; }
.artist-map-popover-heading { position:sticky; top:0; z-index:1; display:flex; align-items:center; justify-content:space-between; padding-left:14px; border-bottom:1px solid var(--line); background:var(--surface); font-size:12px; font-weight:600; letter-spacing:.04em; }
.artist-map-popover-heading button { width:44px; display:grid; place-items:center; border:0; background:none; }
.artist-map-person { min-width:0; }
.artist-map-person-heading { display:flex; align-items:center; min-width:0; padding-right:6px; }
.artist-map-person + .artist-map-person { border-top:1px solid var(--line); }
.artist-map-open { display:flex; align-items:center; justify-content:space-between; gap:8px; flex:1; min-width:0; text-align:left; background:none; border:0; padding:14px; }
.artist-map-open span { display:grid; gap:5px; min-width:0; }
.artist-map-open strong { font-size:14px; font-weight:500; overflow-wrap:anywhere; }
.artist-map-open small { font-size:11px; color:var(--muted); }
.artist-map-open:hover { background:var(--paper); }
.artist-map-favorite { display:grid; place-items:center; flex:0 0 44px; padding:0; border:0; background:none; color:#8b6c35; }
.artist-map-books { padding:0 14px 12px; min-width:0; }
.artist-map-books>p { padding-top:8px; border-top:1px solid var(--line); font-size:11px; color:var(--muted); }
.artist-map-books .signing-check { gap:8px; padding:8px 0; font-size:12px; }
.artist-map-books .signing-check>span:first-child { flex-basis:16px; height:16px; }
.artist-map-add-signing { display:flex; align-items:center; gap:6px; width:100%; padding:8px 0; border:0; background:none; color:var(--forest); font-size:12px; text-align:left; }
.artist-map-add-signing svg:last-child { margin-left:auto; }
.artist-map-books .signing-add { margin-top:4px; }
.artist-map-books .signing-message { margin-top:8px; font-size:11px; line-height:1.5; color:var(--forest); }
.artist-map-caption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; margin:10px 0 24px; color:var(--muted); font-size:11px; line-height:1.6; }
.artist-map-caption a { flex-shrink:0; }
.artist-map-stops h3,.artist-map-missing h3 { margin:0 0 10px; font-size:14px; font-weight:500; }
.artist-map-stops > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.artist-map-stops button { display:flex; align-items:center; gap:10px; min-width:0; padding:10px 12px; text-align:left; background:var(--surface); border:1px solid var(--line); border-radius:5px; }
.artist-map-stops button[aria-pressed=true] { border-color:var(--forest); background:var(--soft-green); }
.artist-map-stops button.favorite { border-left:3px solid #b28221; }
.artist-map-stops button.visited .artist-map-names { color:var(--muted); }
.artist-map-table { min-width:31px; font-size:12px; font-weight:600; color:var(--forest); font-variant-numeric:tabular-nums; }
.artist-map-names { flex:1; min-width:0; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.artist-map-stops svg { color:#8b6c35; }
.artist-map-missing { margin-top:20px; }
.artist-map-missing button { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:12px; border:1px solid var(--line); background:var(--surface); border-radius:5px; font-size:13px; }
.artist-map-popover.floating { right:auto; bottom:auto; width:280px; max-height:calc(100% - 24px); }
@media (max-width: 500px) {
  .artist-map-stops > div { grid-template-columns:minmax(0,1fr); }
  .artist-map-legend { gap:12px; }
}
@media (prefers-reduced-motion: reduce) {
  .artist-map * { scroll-behavior:auto; }
}

.space-calendar { padding-top:24px; min-width:0; max-width:100%; }
.calendar-days { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; max-width:600px; }
.calendar-days button { display:flex; flex-direction:column; align-items:center; gap:5px; padding:12px 8px; border:1px solid var(--line); border-radius:6px; background:var(--surface); }
.calendar-days button[aria-pressed=true] { background:var(--cover); border-color:var(--cover); color:var(--paper); }
.calendar-days button span { font-size:12px; }
.calendar-days button strong { font-size:16px; font-weight:500; }
.calendar-days button small { font-size:11px; opacity:.8; }
.calendar-controls { margin-top:16px; padding:8px 0; background:var(--paper); border-bottom:1px solid var(--line); }
.calendar-controls.sticky { position:sticky; top:0; z-index:4; padding-top:max(8px,env(safe-area-inset-top)); }
.calendar-controls-main { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.calendar-scope { display:flex; gap:2px; padding:3px; background:#e7e2d7; border-radius:6px; }
.calendar-scope button { display:flex; align-items:center; justify-content:center; gap:6px; min-width:76px; border:1px solid transparent; border-radius:4px; background:none; font-size:13px; }
.calendar-scope button[aria-pressed=true] { border-color:var(--line); background:var(--surface); color:var(--forest); font-weight:600; }
.calendar-settings-button { display:flex; align-items:center; justify-content:center; gap:7px; background:none; border:0; padding:8px; font-size:12px; }
.calendar-settings-button[aria-expanded=true] { color:var(--forest); }
.calendar-settings { display:flex; flex-wrap:wrap; align-items:center; gap:8px 24px; padding:12px 4px 4px; }
.calendar-filter { display:flex; align-items:center; gap:8px; font-size:12px; }
.calendar-filter select { border:1px solid var(--line); border-radius:5px; background:var(--surface); color:var(--ink); padding:8px; font-size:14px; }
.calendar-option { display:flex; align-items:center; gap:7px; min-height:44px; font-size:12px; cursor:pointer; }
.calendar-option input { min-height:0; width:16px; height:16px; margin:0 2px 0 0; accent-color:var(--forest); }
.calendar-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px; margin:24px 0 16px; }
.calendar-heading h2 { font-size:18px; font-weight:500; }
.calendar-heading p,.calendar-note { font-size:12px; line-height:1.6; color:var(--muted); }
.calendar-heading p { margin-top:5px; }
.calendar-legend { display:flex; flex-wrap:wrap; align-items:center; gap:12px; font-size:12px; margin:16px 0; }
.calendar-legend span { display:flex; align-items:center; gap:6px; }
.calendar-legend .calendar-conflicts { margin-left:auto; color:var(--muted); }
.calendar-legend i { width:12px; height:12px; border:1px solid var(--forest); border-radius:3px; background:var(--soft-green); }
.calendar-legend i.maybe { border:1px dashed var(--clay); background:#f5ead3; }
.calendar-legend svg { color:var(--clay); }
.calendar-note { margin-bottom:12px; }
.calendar-scroll { width:100%; max-width:100%; min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:6px; background:var(--surface); }
.calendar-grid { position:relative; min-width:0; margin:8px; }
.calendar-times { position:absolute; left:0; z-index:3; width:58px; height:100%; background:var(--surface); }
.calendar-times>span { position:absolute; right:7px; transform:translateY(-50%); font-size:10px; color:var(--muted); text-align:right; font-variant-numeric:tabular-nums; }
.calendar-hour { position:absolute; left:0; right:0; border-top:1px solid var(--line); margin-left:58px; }
.calendar-events { position:absolute; top:0; bottom:0; left:66px; right:0; }
.calendar-event { position:absolute; display:flex; flex-direction:column; align-items:stretch; gap:5px; min-width:0; min-height:0; overflow:hidden; overflow-wrap:anywhere; text-align:left; padding:10px; background:var(--soft-green); border:1px solid #9daf98; border-left:3px solid var(--forest); border-radius:5px; }
.calendar-event.maybe { background:#f5ead3; border-color:#b59a71; border-style:dashed; border-left:3px solid #a3814a; }
.calendar-event.favorite { box-shadow:inset 0 0 0 1px #a3814a; }
.calendar-event.group-only { border-left-width:1px; }
.calendar-event:hover { filter:brightness(.97); }
.calendar-event:focus-visible { z-index:2; outline-offset:-3px; }
.calendar-event-time { display:flex; flex-shrink:0; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:3px; font-size:10px; font-variant-numeric:tabular-nums; }
.calendar-event-icons { display:flex; flex-wrap:wrap; align-items:center; gap:4px; }
.calendar-event-icons .lucide-star { color:#895d44; }
.calendar-event strong { display:-webkit-box; flex-shrink:0; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; font-size:13px; line-height:1.4; font-weight:600; }
.calendar-event-place { font-size:11px; }
.calendar-event-choice { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px; font-size:10px; color:var(--forest); }
.calendar-event.maybe .calendar-event-choice { color:#715337; }
.calendar-event-people { display:flex; align-items:start; gap:4px; font-size:10px; line-height:1.4; color:var(--muted); }
.calendar-event-people svg { flex:none; margin-top:1px; }
.calendar-more { position:absolute; display:flex; flex-direction:column; align-items:start; gap:8px; min-width:0; min-height:0; overflow:hidden; overflow-wrap:anywhere; padding:10px; border:1px dashed var(--brass); border-radius:5px; background:#f1ebdf; text-align:left; }
.calendar-more strong { font-size:13px; line-height:1.4; font-weight:600; }
.calendar-more>span { font-size:11px; line-height:1.5; }
.calendar-more>span:last-child { margin-top:auto; text-decoration:underline; }
.calendar-more-favorite { display:flex; align-items:center; gap:4px; color:#895d44; }
.calendar-more:focus-visible { outline-offset:-3px; }
.calendar-overlap-time { color:var(--muted); font-size:13px; line-height:1.6; }
.calendar-overlap-options { display:grid; gap:10px; margin-top:18px; min-width:0; }
.calendar-event.calendar-choice { position:static; width:100%; padding:12px; min-height:44px; }
.calendar-choice strong { -webkit-line-clamp:unset; font-size:14px; }
.calendar-choice .calendar-event-time,.calendar-choice .calendar-event-place,.calendar-choice .calendar-event-choice,.calendar-choice .calendar-event-people { font-size:12px; }
.calendar-empty { margin-top:12px; }
.calendar-unscheduled { display:grid; gap:8px; margin-top:24px; }
.calendar-unscheduled h3 { font-size:16px; font-weight:500; }
.calendar-unscheduled button { display:flex; flex-direction:column; min-width:0; overflow-wrap:anywhere; align-items:start; gap:6px; text-align:left; padding:14px; border:1px solid var(--line); border-radius:5px; background:var(--surface); }
.calendar-unscheduled strong { display:flex; align-items:center; gap:6px; font-size:14px; font-weight:500; }
.calendar-unscheduled span { font-size:12px; color:var(--muted); }
.calendar-detail .space-entry { margin:0; border:0; background:none; }
.calendar-detail .entry-time { padding-left:0; }
.calendar-detail .entry-actions { flex-wrap:wrap; }
.calendar-heading .calendar-current-time { color:#a23c2f; font-weight:600; font-variant-numeric:tabular-nums; }
.calendar-now { position:absolute; left:58px; right:0; z-index:2; border-top:2px solid #a23c2f; pointer-events:none; }
.calendar-now::before { content:''; position:absolute; left:-4px; top:-5px; width:8px; height:8px; border-radius:50%; background:#a23c2f; }
.calendar-times>.calendar-now-label { z-index:1; padding:3px 5px; border-radius:3px; background:#a23c2f; color:#fffdf8; font-weight:600; }
@media(max-width:700px) {
  .space-calendar { padding-top:0; }
  .calendar-controls { margin-top:12px; }
  .calendar-settings { gap:4px 20px; }
  .calendar-filter { width:100%; justify-content:space-between; }
  .calendar-filter select { flex:1; max-width:220px; font-size:16px; }
  .calendar-heading { gap:8px; margin-top:20px; }
  .calendar-heading h2 { font-size:16px; }
  .calendar-legend { gap:10px; font-size:11px; }
  .calendar-event,.calendar-more { padding:6px; }
}

