@font-face {
  font-family: HubInter;
  src: url('/assets/hub-font.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #29232a;
  --muted: #645c61;
  --wine: #8c1838;
  --wine-deep: #521326;
  --line: #ddd5cb;
  --paper: #faf7f2;
  --cream: #fffdfa;
  --blush: #f7e9e8;
  --serif: Georgia, 'Times New Roman', serif;
  font:
    15px/1.46 HubInter,
    Inter,
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
input,
select,
textarea {
  max-width: 100%;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.52;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: var(--wine);
}
:focus-visible {
  outline: 3px solid #aa294e;
  outline-offset: 3px;
}
.initial {
  padding: 2rem;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 0.7rem;
}
.skip:focus {
  top: 0.5rem;
}
.app {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100dvh;
}
.rail {
  background: linear-gradient(148deg, #471f2b, #371a24 72%);
  color: #fff2e8;
  padding: 34px 18px 18px;
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  z-index: 4;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  width: fit-content;
  padding: 0 10px;
}
.brand img {
  width: 39px;
  height: 39px;
}
.brand strong,
.brand span {
  display: block;
  line-height: 1.12;
}
.brand strong {
  font-size: 23px;
  letter-spacing: -1px;
}
.brand span {
  font-size: 14px;
  color: #ead2ca;
  margin-top: 3px;
  font-weight: 520;
}
.rail nav {
  margin: 42px 0 18px;
  overflow: auto;
}
.rail nav a,
.rail-foot a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #f4e6df;
  min-height: 45px;
  font-size: 14px;
  font-weight: 540;
  border-radius: 8px;
  padding: 9px 14px;
  margin: 3px 0;
}
.rail a:hover,
.rail-foot a:hover {
  background: #fff1e811;
}
.rail a[aria-current='page'] {
  background: #fff5e6;
  color: #512031;
  font-weight: 650;
  box-shadow: 0 2px 5px #200d171c;
}
.rail nav p {
  margin: 29px 14px 8px;
  color: #d9b5ad;
  font-size: 12px;
  font-weight: 630;
}
.rail-foot {
  margin-top: auto;
  border-top: 1px solid #ffffff22;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rail-foot button {
  background: transparent;
  color: inherit;
  border: 0;
  padding: 9px;
  border-radius: 7px;
}
.rail :focus-visible {
  outline-color: #fff2c5;
}
.surface {
  min-width: 0;
}
.top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 clamp(18px, 4.6vw, 80px);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  background: var(--cream);
}
.top strong {
  color: var(--ink);
  font-weight: 600;
}
.mobile-menu.icon-btn {
  display: none;
}
.main {
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(22px, 3.1vw, 52px) clamp(18px, 4.6vw, 80px) 55px;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ico {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.tiny {
  width: 15px;
  height: 15px;
}
h1,
h2.section-title,
.login h1,
.hero h1 {
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(35px, 4vw, 58px);
}
h2 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.035em;
}
h2.section-title {
  font-size: clamp(26px, 2.3vw, 36px);
}
h3 {
  font-size: 16px;
  letter-spacing: -0.025em;
  font-weight: 630;
}
.lede {
  max-width: 65ch;
  color: var(--muted);
  margin-top: 9px;
}
.page-heading,
.block-head,
.toolbar,
.actions,
.row-head,
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.page-heading {
  align-items: flex-end;
  margin-bottom: 28px;
}
.actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.section {
  margin-top: 32px;
}
.block-head {
  margin-bottom: 13px;
}
.hero {
  position: relative;
  min-height: clamp(168px, 15vw, 235px);
  background: #f2e5d6 url('/assets/hub-cover.webp') center right/cover no-repeat;
  border: 1px solid #dfd2c2;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(25px, 3vw, 46px);
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f8eadbcc 0%, #f9eede80 39%, transparent 67%);
}
.hero > div {
  position: relative;
}
.hero h1 {
  font-size: clamp(44px, 5vw, 70px);
}
.hero p {
  max-width: 38ch;
  color: #514248;
  margin-top: 7px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.tile,
.panel,
.album,
.list {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--cream);
}
.tile {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
}
.tile:hover,
.album:hover {
  border-color: #ae8890;
}
.tile .tile-icon,
.art-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  background: #f2e1df;
  color: var(--wine);
}
.tile strong {
  font-size: 25px;
  line-height: 1;
  font-weight: 630;
  letter-spacing: -0.04em;
  display: block;
}
.tile small {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.tile > .ico:last-child {
  margin-left: auto;
  color: #8b7a80;
}
.panel {
  padding: clamp(18px, 2vw, 29px);
}
.panel + .panel {
  margin-top: 15px;
}
.list {
  overflow: hidden;
}
.row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  min-width: 0;
}
.row + .row {
  border-top: 1px solid var(--line);
}
.row-body {
  flex: 1;
  min-width: 0;
}
.row-body strong {
  font-size: 15px;
}
.row-body p,
.sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.row-body,
.name-cell,
.dialog-body {
  overflow-wrap: anywhere;
}
.row .status,
.align-end {
  margin-left: auto;
}
.eyebrow,
.label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 570;
}
.status {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 20px;
  background: #f0ebe5;
  color: #554c51;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.status.good {
  background: #e6eee5;
  color: #345341;
}
.status.attention {
  background: #f5e5ce;
  color: #795120;
}
.status.off {
  background: #f3dedf;
  color: #792b39;
}
.muted {
  color: var(--muted);
}
.panel .prose {
  margin: 9px 0;
}
.empty {
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
}
.empty h3 {
  color: var(--ink);
  margin-bottom: 5px;
}
.quiet {
  font-size: 13px;
}
.button,
button.ghost,
button.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #d6c8bd;
  border-radius: 7px;
  padding: 9px 13px;
  background: var(--cream);
  color: var(--ink);
  min-height: 39px;
  text-decoration: none;
}
.button:hover,
.ghost:hover {
  background: #f6eee7;
}
.button.primary {
  background: var(--wine);
  border-color: var(--wine);
  color: white;
}
.button.primary:hover {
  background: #70112b;
}
.button.danger {
  border-color: #dcacaf;
  color: #8b2236;
  background: #fffafa;
}
.text-btn,
button.text-btn {
  border: 0;
  padding: 6px;
  background: transparent;
  color: var(--wine);
}
.icon-btn {
  border: 1px solid var(--line);
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  background: var(--cream);
  min-width: 36px;
  min-height: 36px;
  color: var(--ink);
}
.toolbar {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.toolbar .filter {
  max-width: 350px;
  flex: 1;
}
.tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #efeae3;
  border-radius: 8px;
  width: fit-content;
  flex-wrap: wrap;
}
.tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 570;
  font-size: 13px;
  border-radius: 6px;
  padding: 8px 12px;
}
.tabs button[aria-pressed='true'] {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 1px 3px #291b201c;
}
input:not([type='checkbox']),
select,
textarea {
  background: #fffefc;
  border: 1px solid #cfc4ba;
  color: var(--ink);
  padding: 9px 11px;
  border-radius: 6px;
  min-height: 40px;
  width: 100%;
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 78px;
}
.field {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.field small,
.help {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}
.stack {
  display: grid;
  gap: 15px;
}
.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.facts {
  display: grid;
  grid-template-columns: minmax(105px, 0.6fr) minmax(0, 1.7fr);
  gap: 9px 17px;
  margin: 15px 0;
  font-size: 14px;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  padding: 4px;
}
.check input {
  width: 17px;
  height: 17px;
  accent-color: var(--wine);
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: 15px;
}
.cards .panel {
  margin: 0;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 18px;
  align-items: start;
}
.split .panel {
  margin: 0;
}
.edition {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.edition:first-of-type {
  margin-top: 15px;
}
.list-editor {
  display: grid;
  gap: 7px;
}
.edit-item {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.edit-item > span:first-child {
  flex: 1;
  min-width: 0;
}
.edit-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.linkbox {
  display: grid;
  gap: 5px;
}
.linkbox .copy-line {
  display: flex;
  gap: 6px;
}
.form-error,
.banner-warning {
  background: #f9e8e6;
  color: #7c2634;
  border-radius: 7px;
  font-size: 14px;
  padding: 10px 14px;
}
.form-error:empty {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 90px #25101840;
  padding: 0;
  color: var(--ink);
  background: var(--cream);
  width: min(600px, calc(100% - 26px));
  max-height: 86dvh;
}
dialog::backdrop {
  background: #24141a75;
}
.dialog-top {
  padding: 20px 23px 14px;
  position: sticky;
  top: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.dialog-top h2 {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.04em;
}
.dialog-body {
  padding: 20px 23px;
}
.dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 16px;
}
.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: #392029;
  color: white;
  max-width: calc(100vw - 24px);
  padding: 11px 17px;
  border-radius: 8px;
  box-shadow: 0 3px 18px #28191a30;
}
.notice[hidden] {
  display: none;
}
.login {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 25px;
  background: linear-gradient(135deg, #f7ede1, #fbf8f4 57%, #eaded3);
}
.login-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(910px, 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 65px #4c233518;
  border: 1px solid var(--line);
  background: var(--cream);
}
.login-art {
  background: #f1e1cd url('/assets/hub-cover.webp') 84% center/cover no-repeat;
  min-height: 370px;
}
.login-form {
  padding: clamp(26px, 4.8vw, 54px);
  align-self: center;
}
.login-form .brand {
  padding: 0;
  margin-bottom: 23px;
}
.login-form .brand span {
  color: var(--muted);
}
.login h1 {
  font-size: 31px;
  margin-bottom: 21px;
}
.login-form .button {
  margin-top: 3px;
}
.tag-select {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tag-select select {
  flex: 1;
}
.editor-group + .editor-group {
  margin-top: 16px;
}
.editor-card summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 650;
  min-height: 36px;
}
.editor-card summary .status {
  margin-left: auto;
}
.editor-card[open] > summary {
  margin-bottom: 13px;
}
.old {
  color: var(--muted);
  text-decoration: line-through;
}
@media (max-width: 920px) {
  .app {
    grid-template-columns: 207px minmax(0, 1fr);
  }
  .rail {
    padding: 25px 10px 15px;
  }
  .main {
    padding-inline: 24px;
  }
  .top {
    padding-inline: 24px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .tiles {
    gap: 8px;
  }
  .tile {
    padding: 13px 10px;
    gap: 9px;
  }
  .tile-icon,
  .tile > .ico:last-child {
    display: none;
  }
  .row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .row .actions {
    margin-left: auto;
  }
}
@media (max-width: 720px) {
  .app {
    display: block;
  }
  .rail {
    display: none;
    position: fixed;
    left: 0;
    top: 52px;
    height: calc(100dvh - 52px);
    width: min(300px, 90vw);
    box-shadow: 14px 8px 35px #24121940;
  }
  .app.menu-open .rail {
    display: flex;
  }
  .rail nav {
    margin-top: 20px;
  }
  .mobile-menu.icon-btn {
    display: grid;
  }
  .top {
    height: 52px;
    padding-inline: 13px;
  }
  .main {
    padding: 21px 15px 48px;
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .page-heading .actions {
    justify-content: flex-start;
  }
  .row {
    padding: 14px;
  }
  .row-body {
    flex-basis: 40%;
  }
  .row .actions {
    justify-content: flex-start;
    gap: 5px;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 19px;
    min-height: 145px;
  }
  .hero:before {
    background: linear-gradient(90deg, #faf0e3ee, #f8edddb8 46%, #f6e9dc33);
  }
  .hero p {
    max-width: 23ch;
    font-size: 14px;
  }
  .tiles {
    grid-template-columns: 1fr;
  }
  .tile {
    padding: 12px;
  }
  .tile strong {
    font-size: 21px;
    display: inline;
  }
  .tile small {
    margin-left: 6px;
    display: inline;
  }
  .tile > .ico:last-child {
    display: block;
  }
  .login-card {
    display: flex;
    flex-direction: column;
  }
  .login-art {
    min-height: 125px;
    height: 125px;
    background-position: 82% 56%;
  }
  .login-form {
    width: 100%;
  }
  .facts {
    grid-template-columns: minmax(80px, 0.6fr) minmax(0, 1.4fr);
  }
  .dialog-top,
  .dialog-body {
    padding-inline: 16px;
  }
  .edit-bar,
  .row-head {
    flex-wrap: wrap;
  }
  .section {
    margin-top: 23px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button,
  .tile {
    transition:
      background 0.14s,
      border-color 0.14s;
  }
}

.stack > .status {
  justify-self: start;
}
.traffic-ranges {
  margin: 0 0 20px;
  width: fit-content;
  max-width: 100%;
}
.traffic-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.traffic-summary > .panel + .panel {
  margin-top: 0;
}
.traffic-metric {
  display: grid;
  gap: 6px;
}
.traffic-metric span,
.traffic-chart figcaption,
.traffic-table summary,
.block-head small {
  color: var(--muted);
  font-size: 13px;
}
.traffic-metric strong {
  font-size: clamp(23px, 3vw, 35px);
  line-height: 1;
  font-weight: 580;
}
.traffic-chart {
  margin: 16px 0;
}
.traffic-chart svg {
  display: block;
  width: 100%;
  height: 135px;
  overflow: visible;
}
.traffic-chart path {
  stroke: var(--line);
  stroke-width: 0.5;
  fill: none;
}
.traffic-chart rect {
  fill: var(--wine);
}
.traffic-chart figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.traffic-table > div {
  overflow-x: auto;
}
.traffic-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 10px;
}
.traffic-table td,
.traffic-table th {
  padding: 8px;
  text-align: right;
  border-bottom: 1px solid var(--line);
}
.traffic-table th:first-child {
  text-align: left;
}
@media (max-width: 720px) {
  .traffic-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .traffic-metric {
    padding: 12px;
  }
  .traffic-ranges {
    flex-wrap: wrap;
  }
  .traffic-chart svg {
    height: 95px;
  }
}
.traffic-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.traffic-controls .traffic-ranges {
  margin: 0;
}
.traffic-controls .check {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 36px;
}
.traffic-pager {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.journey-events {
  list-style: none;
  padding: 0;
  margin: 0;
}
.journey-events li {
  padding: 11px 0 11px 14px;
  border-left: 2px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.journey-events li > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
}
.journey-events li > p,
.visitor-context {
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.visitor-context {
  padding-block: 8px;
  display: grid;
  gap: 4px;
}
.visitor-list .row-body {
  overflow-wrap: anywhere;
}
