/* Partner workspace: the existing event tools, with the daily work first. */
.event-link {border:0;background:none;padding:0;text-align:left;font:inherit;cursor:pointer}
.container {
  max-width: 1120px;
}
.header {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.header-logo {
  width: 76px;
  height: 76px;
}
.header-left {
  flex: 1;
  min-width: 170px;
}
.header-left h1 {
  font-size: clamp(24px, 4vw, 36px);
  overflow-wrap: anywhere;
}
.header-left .subtitle {
  color: #a9b0ab;
  line-height: 1.5;
}
.period-btns {
  margin: 12px 0;
}
.table-card,
.chart-card {
  border-radius: 10px;
}
.table-card h2,
.chart-card h2 {
  line-height: 1.5;
}
.partner-intro {
  padding: 18px 20px;
  border: 1px solid #34453f;
  border-radius: 10px;
  background: #101a16;
  margin-bottom: 20px;
  font-size: 13px;
  color: #b4c8bd;
}
.partner-intro strong {
  color: #fff;
  display: block;
  margin-bottom: 5px;
}
.partner-intro a {
  color: #7dd9c4;
}
.workspace-error {
  padding: 16px;
  border: 1px solid #794840;
  background: #241615;
  color: #ffb4a9;
  margin: 16px 0;
  border-radius: 8px;
  font-size: 13px;
}
.workspace-error button {
  min-height: 44px;
  padding: 8px 16px;
  color: #fff;
  background: transparent;
  border: 1px solid #996a62;
  cursor: pointer;
  margin-left: 10px;
}
.event-search {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.event-search input,
.event-search select {
  min-height: 44px;
  border: 1px solid #48504b;
  border-radius: 6px;
  background: #101313;
  color: #fff;
  padding: 10px;
  font:
    13px "IBM Plex Mono",
    monospace;
}
.event-search input {
  flex: 1;
  min-width: 160px;
}
.event-search button,
.event-page-more {
  min-height: 44px;
  border: 1px solid #48504b;
  border-radius: 6px;
  padding: 10px 16px;
  background: #141c19;
  color: #fff;
  font:
    13px "IBM Plex Mono",
    monospace;
  cursor: pointer;
}
.event-count {
  color: #a9b0ab;
  font-size: 12px;
  margin: 12px 0;
}
.crier-tab-panel:focus {
  outline: none;
}
.action-btn,
.boost-btn,
.add-event-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.action-btn {
  margin: 3px;
}
.event-more {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}
.event-more summary {
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  padding: 12px;
  color: #aaa;
}
.event-more[open] {
  background: #181818;
  border: 1px solid #444;
  border-radius: 5px;
}
.workspace-help {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12px;
  color: #aaa;
}
.workspace-help a {
  color: #7dd9c4;
}
.venue-photo-section {
  flex-wrap: wrap;
}
.venue-photo-section p {
  line-height: 1.65 !important;
  color: #aaa !important;
}
.venue-photo-section h4 {
  font-size: 16px !important;
}
.partner-request-heading {
  font-size: 20px !important;
  margin: 0 0 8px !important;
}
#upcoming-section {
  scroll-margin-top: 16px;
}
#promoter-inbox button,
#promoter-links button,
#promoter-links select {
  min-height: 44px !important;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #c4a1ff;
  outline-offset: 3px;
}
#dashboard .kpi-label,
#dashboard .kpi-sub {
  color: #aaa;
}
#dashboard .kpi-change {
  line-height: 1.6;
}
.event-cancelled {
  opacity: 0.75;
}
#event-mgmt-section {
  padding-bottom: 18px;
}
#event-mgmt-section .add-event-btn {
  min-height: 44px;
}
#promoter-section {
  padding: 0;
  border: 0;
  background: transparent;
}
#crier-panel-settings .venue-photo-section {
  padding: 22px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #141617;
  margin-bottom: 16px;
}
#crier-panel-requests {
  padding: 24px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #141617;
}
#crier-panel-settings > .partner-intro {
  margin-bottom: 20px;
}
#dashboard .tip-icon {
  color: #ddd;
}
#dashboard .period-btn {
  min-height: 40px;
}
#event-page-error:empty {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (max-width: 700px) {
  .container {
    padding: 18px 16px;
  }
  .header {
    gap: 12px;
  }
  .header-logo {
    width: 56px;
    height: 56px;
  }
  .header-left h1 {
    font-size: 24px;
  }
  .header-left .subtitle {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .table-card,
  .chart-card {
    padding: 16px;
  }
  #upcoming-section > div {
    overflow: visible !important;
  }
  #upcoming-section table,
  #upcoming-section tbody {
    display: block;
    width: 100%;
  }
  #upcoming-section thead {
    display: none;
  }
  #upcoming-tbody > tr:not(.editing) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 18px 0;
    border-bottom: 1px solid #333;
  }
  #upcoming-tbody > tr > td {
    border: 0;
    padding: 0 !important;
    white-space: normal !important;
    min-width: 0;
    font-size: 13px;
    text-align: left !important;
    overflow-wrap: anywhere;
  }
  #upcoming-tbody > tr > td:first-child {
    grid-column: 1/-1;
    font-size: 16px;
  }
  #upcoming-tbody > tr > td:nth-child(2) {
    grid-column: 1/-1;
    color: #ccc;
  }
  #upcoming-tbody > tr > td:last-child {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
  }
  #upcoming-tbody
    > tr:not(.editing)
    > td:nth-child(n + 3):not(:last-child)::before {
    content: attr(data-label);
    display: block;
    color: #999;
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  #upcoming-tbody > tr.editing {
    display: block;
  }
  #upcoming-tbody > tr.editing > td {
    display: block;
    width: 100%;
  }
  .action-btn,
  .boost-btn {
    min-height: 44px;
    font-size: 12px;
  }
  .event-search {
    gap: 8px;
  }
  .event-search input {
    flex-basis: 100%;
  }
  .event-search select,
  .event-search button {
    flex: 1;
  }
  .event-more summary {
    font-size: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
  }
  #promoter-links > div {
    flex-wrap: wrap;
  }
  #promoter-links > div > span {
    max-width: 100%;
    flex-wrap: wrap;
  }
  #crier-panel-requests {
    padding: 18px;
  }
  .sg-controls {
    min-width: 0 !important;
    width: 100%;
  }
  .sg-wrap {
    gap: 18px !important;
  }
  .sg-canvas-wrap {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .sg-preview {
    max-width: 100%;
  }
  .sg-ft {
    min-height: 44px;
  }
}
