:root {
  --brand: #e34d1e;
  --brand-soft: rgba(227, 77, 30, 0.06);
  --ink: #1a1d21;
  --muted: #606977;
  --quiet: #9da4b0;
  --line: #ebedef;
  --soft: #f4f5f6;
  --icon: #88909f;
  --sidebar: 248px;
  --topbar: 72px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.2px;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
input {
  font: inherit;
}

button {
  cursor: default;
}

.app-shell {
  min-height: 100vh;
  min-width: 1180px;
}

.asset-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: var(--sidebar);
  height: var(--topbar);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px 16px 6px;
  background: #fff;
}

.top-search {
  height: 40px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #e1e7ef;
  border-radius: 10px;
  color: #afbaca;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}

.top-search .asset-icon,
.filter-search .asset-icon {
  width: 20px;
  height: 20px;
}

.button {
  height: 40px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.button .asset-icon {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: #fff;
  background: var(--brand);
}

.button-soft {
  color: var(--brand);
  background: var(--brand-soft);
}

.button-add {
  width: 112px;
}

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

.icon-button {
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  color: #606977;
  background: rgba(26, 29, 33, 0.04);
  display: grid;
  place-items: center;
}

.icon-button img {
  width: 20px;
  height: 20px;
  display: block;
}

.has-alert span {
  position: absolute;
  top: -10px;
  right: -9px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.profile-button {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px 4px 4px;
  border: 1px solid #c9cdd3;
  border-radius: 8px;
  background: rgba(26, 29, 33, 0.04);
  color: #606977;
  font-size: 14px;
  font-weight: 600;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  background: #afbaca;
}

.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.status-dot {
  position: absolute;
  left: 30px;
  bottom: 4px;
  width: 12px;
  height: 12px;
}

.sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 12px;
  background: #fff;
}

.brand {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  text-decoration: none;
}

.brand-logo {
  position: relative;
  width: 140px;
  height: 32px;
  display: block;
}

.brand-logo img {
  position: absolute;
  display: block;
}

.logo-word {
  inset: 19.12% 1.54% 4.31% 37.88%;
  width: 60.58%;
  height: 76.57%;
}

.logo-mark-a {
  inset: 7.87% 79.55% 9.88% 1.56%;
  width: 18.89%;
  height: 82.25%;
}

.logo-mark-b {
  inset: 21.03% 62.5% 20.24% 28.19%;
  width: 9.31%;
  height: 58.73%;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px 0 0;
}

.side-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  color: #606977;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.side-nav img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.side-nav a.active {
  color: var(--ink);
  background: var(--soft);
}

.side-nav b,
.section-title b {
  margin-left: auto;
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.upcoming {
  margin-top: 16px;
  padding: 20px 12px;
  border-top: 1px solid #f0f1f2;
}

.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
}

.mini-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-events article {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-events time {
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--soft);
  font-style: normal;
}

.mini-events time strong {
  font-size: 14px;
  line-height: 20px;
}

.mini-events time span {
  color: #88909f;
  font-size: 10px;
  line-height: 14px;
}

.mini-events p {
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}

.mini-events p strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-events p span {
  color: #606977;
}

.ghost-full {
  width: 100%;
  height: 24px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  background: rgba(26, 29, 33, 0.04);
  color: #606977;
  font-size: 12px;
  font-weight: 600;
}

.footer-nav {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid #f0f1f2;
}

.workspace {
  margin-left: var(--sidebar);
  padding-top: var(--topbar);
}

.event-card-shell {
  min-height: calc(100vh - var(--topbar));
  padding: 24px;
  background: var(--soft);
  border-radius: 22px 0 0 0;
}

.page-heading {
  height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 20px;
}

.page-heading h1 {
  margin: 0;
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.events-panel {
  position: relative;
  margin-top: 24px;
  min-height: 820px;
  padding: 20px 0 0;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}

.tabs {
  height: 48px;
  margin: 0 20px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  padding: 6px;
  border-radius: 16px;
  background: var(--soft);
}

.tabs button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #606977;
  font-size: 16px;
  font-weight: 600;
}

.tabs .selected {
  color: var(--brand);
  background: #fff;
  box-shadow: 0 2px 4px rgba(18, 18, 23, 0.06), 0 4px 6px rgba(18, 18, 23, 0.08);
}

.filters {
  position: relative;
  z-index: 5;
  height: 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 106px;
  align-items: stretch;
  gap: 0;
  margin: 0 20px;
}

.filter-search,
.filter-field {
  min-width: 0;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: var(--soft);
  color: #1a1d21;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.filter-search {
  border-radius: 10px 0 0 10px;
  color: #afbaca;
}

.filter-field {
  position: relative;
}

.filter-field::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 1px;
  background: #d9dde3;
}

.filter-field .asset-icon {
  width: 24px;
  height: 24px;
}

.filter-field span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-field .caret-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
}

.city-wrap {
  position: relative;
  min-width: 0;
}

.city-field {
  width: 100%;
  border: 1px solid #606977;
  border-radius: 10px;
  background: var(--soft);
  color: #606977;
  box-shadow: 0 0 0 3px #c9cdd3;
}

.city-field::before {
  display: none;
}

.search-submit {
  height: 48px;
  margin-left: 8px;
  border-radius: 10px;
  font-size: 16px;
}

.dropdown {
  position: absolute;
  top: 60px;
  right: -112px;
  width: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 20px -5px rgba(18, 18, 23, 0.04), 0 20px 65px -5px rgba(18, 18, 23, 0.04);
}

.dropdown-current,
.dropdown button {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #1a1d21;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
}

.dropdown-current .asset-icon {
  width: 24px;
  height: 24px;
}

.dropdown button {
  color: #606977;
  font-weight: 600;
}

.dropdown button:last-child {
  border-bottom: 0;
}

.dropdown .hovered {
  background: var(--soft);
}

.chips {
  height: 92px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 20px 28px;
}

.chips button {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}

.event-list {
  border-top: 1px solid var(--line);
}

.event-row {
  position: relative;
  min-height: 165px;
  display: grid;
  grid-template-columns: 174px minmax(300px, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 38px 20px 23px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.event-cover {
  width: 174px;
  height: 120px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.event-info {
  min-width: 0;
  padding-top: 3px;
}

.event-info h2 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.event-info p {
  margin: 0 0 8px;
  color: #455468;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.event-info .muted {
  color: #9da4b0;
  font-weight: 500;
}

.event-info .details {
  margin-top: 9px;
  color: #1a1d21;
  font-weight: 600;
}

.event-info .details span {
  display: inline-block;
  width: 1px;
  height: 20px;
  margin: 0 18px;
  vertical-align: middle;
  background: #ebedef;
}

.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 320px;
  padding-top: 0;
}

.row-actions button {
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #c9cdd3;
  border-radius: 8px;
  background: #fff;
  color: #606977;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.button-icon {
  width: 14px;
  height: 14px;
  display: block;
  margin-right: 2px;
}

.row-actions .dark {
  border-color: #1a1d21;
  background: #1a1d21;
  color: #fff;
}

.row-actions .dots {
  width: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9da4b0;
}

.row-actions .dots img {
  width: 16px;
  height: 16px;
  display: block;
}

@media (max-width: 1260px) {
  .app-shell {
    min-width: 0;
  }

  .sidebar {
    width: 84px;
  }

  :root {
    --sidebar: 84px;
  }

  .brand span:last-child,
  .side-nav a,
  .upcoming,
  .footer-nav {
    font-size: 0;
  }

  .brand {
    justify-content: center;
    padding: 0;
  }

  .side-nav a {
    justify-content: center;
  }

  .side-nav b {
    position: absolute;
    margin: 0 0 0 28px;
  }
}
