.portal-app:has(.host-dashboard) .main-content {
  padding-top: 28px;
}
.host-dashboard {
  --host-line: #cec8ba;
  font-size: 15px;
}
.host-dashboard .back-link {
  margin-bottom: 18px;
}
.host-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
}
.host-heading h1 {
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0;
  max-width: 850px;
}
.host-heading p {
  font-size: 16px;
  margin: 0;
  color: var(--ink-soft);
}
.host-heading-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
}
.host-sample-label {
  padding: 3px 8px;
  background: var(--yellow);
  font-size: 11px;
}
.host-section-nav {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--host-line);
  margin-bottom: 24px;
}
.host-section-nav a {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 0 12px;
  text-decoration: none;
}
.host-section-nav a:hover {
  box-shadow: inset 0 -3px var(--yellow);
}
.host-dashboard :is(section, aside, div)[id] {
  scroll-margin-top: 112px;
}
.host-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 28px;
  border: 1px solid var(--host-line);
  background: var(--cream);
}
.host-stats > div {
  padding: 20px 24px;
  border-right: 1px solid var(--host-line);
}
.host-stats > div:last-child {
  border: 0;
}
.host-stats dt {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}
.host-stats dd {
  font-family: "AIRC Oswald", sans-serif;
  font-size: 34px;
  line-height: 1.2;
  margin: 8px 0 0;
}
.host-stats small {
  font:
    13px "AIRC Work Sans",
    sans-serif;
  margin-left: 8px;
  color: var(--ink-soft);
}
.host-stats dd.host-stat-label {
  font-size: 22px;
  line-height: 1.8;
}
.host-overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.host-panel {
  padding: 26px;
  background: var(--cream);
  border: 1px solid var(--host-line);
  min-width: 0;
}
.host-dashboard h2 {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 12px;
}
.host-dashboard h3 {
  font-size: 24px;
  margin: 18px 0 8px;
  line-height: 1.2;
}
.host-panel > p {
  margin: 0 0 20px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.host-panel .host-kicker {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.host-dashboard .button {
  font:
    600 14px / 1.4 "AIRC Work Sans",
    sans-serif;
  text-transform: none;
  letter-spacing: 0;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  white-space: normal;
}
.host-dashboard .button-primary {
  background: var(--ink);
  color: var(--cream);
}
.host-dashboard .button-secondary {
  background: transparent;
  color: var(--ink);
}
.host-dashboard .button:hover {
  background: var(--yellow);
  color: var(--ink);
}
.host-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.host-share-field {
  display: block;
  margin: 18px 0;
}
.host-share-field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}
.host-share-field input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #9b978c;
  border-radius: 0;
  background: #fffdf8;
  font-size: 15px;
}
.host-share-field input[readonly] {
  text-overflow: ellipsis;
  color: var(--ink-soft);
  font-size: 14px;
}
.host-inline-status {
  min-height: 20px;
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0 0;
  color: var(--ink-soft);
}
.host-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.host-section-heading h2 {
  margin: 0;
}
.host-section-heading > span {
  font-size: 12px;
  color: var(--ink-soft);
}
.host-section-heading p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}
.host-guest-preview {
  list-style: none;
  margin: 8px 0 18px;
  padding: 0;
}
.host-guest-preview li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--host-line);
  font-size: 14px;
}
.host-guest-preview small {
  display: inline-block;
  color: var(--ink-soft);
  font-size: 11px;
  margin-left: 8px;
}
.host-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--kraft);
  font-weight: 600;
  font-size: 12px;
}
.host-checked,
.host-registered {
  font-size: 11px;
  color: var(--ink-soft);
}
.host-checked {
  color: #35522c;
}
.host-text-link {
  font-size: 13px;
  font-weight: 600;
  text-underline-offset: 4px;
}
.host-empty {
  padding: 20px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}
.host-materials {
  margin: 34px 0;
}
.host-material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.host-material {
  min-width: 0;
}
.host-material-preview {
  height: 252px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9e3d6;
  border: 1px solid var(--host-line);
  padding: 18px;
  overflow: hidden;
}
.host-material-preview > img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 4px 12px #14121018;
}
.host-material-preview:hover {
  border-color: var(--ink);
}
.host-qr-preview {
  flex-direction: column;
  background: var(--cream);
  gap: 12px;
  text-decoration: none;
}
.host-qr-preview > img {
  height: 170px;
  width: 170px;
  box-shadow: none;
  background: #fff;
}
.host-qr-preview > span {
  font-family: "AIRC Oswald", sans-serif;
  font-size: 22px;
}
.host-material > p {
  font-size: 14px;
  color: var(--ink-soft);
  min-height: 44px;
  margin: 0 0 16px;
}
.host-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  align-items: start;
  gap: 24px;
}
.host-side-stack {
  display: grid;
  gap: 24px;
}
.host-footnote {
  font-size: 12px;
  margin: 16px 0 0;
  color: var(--ink-soft);
}
.host-photo-form .photo-drop-field {
  margin-top: 20px;
  min-height: 160px;
  border: 1px dashed #8d877a;
  background: #fffdf8;
  padding: 20px;
}
.host-photo-form .photo-drop-mark {
  font-size: 28px;
  height: 35px;
  line-height: 1;
}
.host-photo-form .photo-drop-field strong {
  font-size: 15px;
}
.host-photo-form .photo-drop-field small {
  font-size: 12px;
  margin-top: 6px;
}
.host-photo-form .check-row {
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0 20px;
  align-items: flex-start;
}
.host-photo-form .check-row input {
  margin-top: 4px;
  flex: 0 0 auto;
}
.host-photo-selection {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.host-photo-selection figure {
  margin: 12px 0 0;
  width: 76px;
}
.host-photo-selection img {
  width: 76px;
  height: 64px;
  object-fit: cover;
}
.host-photo-selection figcaption {
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.host-photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.host-photo-gallery > .host-empty {
  grid-column: 1 / -1;
  border-top: 1px solid var(--host-line);
  margin: 0;
}
.host-photo-gallery figure {
  margin: 0;
  min-width: 0;
}
.host-photo-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.host-photo-gallery figcaption {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.host-photo-page {
  max-width: 800px;
  margin: auto;
}
.host-photo-page .page-header {
  border: 0;
  margin-bottom: 24px;
  padding: 0;
}
.host-photo-page h1 {
  font-size: 38px;
}
.host-form-error {
  color: #a02c20;
  border-left: 3px solid currentColor;
  padding-left: 12px;
}
.host-dashboard :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .host-overview-grid,
  .host-bottom-grid {
    grid-template-columns: 1fr;
  }
  .host-material-grid {
    gap: 16px;
  }
  .host-stats > div {
    padding: 18px;
  }
  .host-stats small {
    display: block;
    margin: 6px 0 0;
    font-size: 12px;
  }
  .host-heading h1 {
    font-size: 36px;
  }
}
@media (max-width: 600px) {
  .portal-app:has(.host-dashboard) .main-content {
    padding-top: 20px;
  }
  .host-heading {
    display: block;
  }
  .host-heading h1 {
    font-size: 32px;
  }
  .host-heading p {
    font-size: 14px;
    line-height: 1.6;
  }
  .host-stats {
    grid-template-columns: 1fr 1fr;
  }
  .host-stats > div {
    border-bottom: 1px solid var(--host-line);
  }
  .host-stats > div:nth-child(2n) {
    border-right: 0;
  }
  .host-stats > div:nth-child(3) {
    border-bottom: 0;
  }
  .host-stats dd {
    font-size: 30px;
  }
  .host-stats dd.host-stat-label {
    font-size: 21px;
  }
  .host-panel {
    padding: 20px;
  }
  .host-dashboard h2 {
    font-size: 26px;
  }
  .host-section-nav {
    gap: 24px;
    overflow: auto;
  }
  .host-section-nav a {
    font-size: 13px;
  }
  .host-material-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .host-material-preview {
    height: 148px;
    padding: 8px;
    grid-row: 1 / 4;
  }
  .host-material {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    column-gap: 16px;
    align-content: start;
  }
  .host-material h3 {
    font-size: 22px;
    margin: 0 0 8px;
  }
  .host-material .host-actions {
    gap: 12px;
    align-items: flex-start;
  }
  .host-material .button {
    font-size: 12px;
    padding: 10px 12px;
  }
  .host-qr-preview > img {
    width: 90px;
    height: 90px;
  }
  .host-qr-preview > span {
    font-size: 15px;
  }
  .host-material > p {
    min-height: 0;
  }
  .host-section-heading {
    gap: 8px;
    flex-wrap: wrap;
  }
  .host-section-heading > .host-kicker {
    display: none;
  }
  .host-guest-preview li {
    gap: 8px;
  }
  .host-photo-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .host-share-field input {
    font-size: 16px;
  }
}
/* A single roster leads; every supporting tool uses the same card. */
.host-header-actions {
  margin-top: 18px;
}
.host-heading {
  margin-bottom: 20px;
}
.host-heading h1 {
  font-size: 36px;
}
.host-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
  align-items: stretch;
}
.host-tool-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 22px;
}
.host-tool-card h2 {
  font-size: 25px;
  margin-bottom: 10px;
}
.host-tool-card > p {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.host-tool-card > .button,
.host-tool-card > .host-actions,
.host-cohost-details {
  margin-top: auto;
  align-self: flex-start;
}
.host-tool-card .host-material-preview {
  height: 118px;
  width: 100%;
  padding: 6px;
  margin: 0 0 18px;
  background: #e9e3d6;
}
.host-tool-card .host-material-preview img {
  height: 106px;
  width: auto;
  box-shadow: none;
}
.host-tool-card .host-actions {
  gap: 12px;
}
.host-tool-card .button {
  padding: 10px 12px;
  font-size: 13px;
}
.host-tool-card .host-text-link {
  font-size: 12px;
}
.host-tool-card .host-tool-note {
  color: var(--ink-soft);
  font-size: 12px;
}
.host-card-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 22px;
  color: var(--ink-soft);
  font-size: 13px;
}
.host-card-count > [data-photo-count] {
  font:
    36px "AIRC Oswald",
    sans-serif;
  color: var(--ink);
}
.host-cohost-details {
  width: 100%;
}
.host-cohost-details summary {
  cursor: pointer;
  padding: 12px 0;
}
.host-roster-panel {
  padding: 24px;
}
.host-roster-panel .host-section-heading {
  margin-bottom: 8px;
}
.host-roster-count {
  font:
    500 13px "AIRC Work Sans",
    sans-serif;
  color: var(--ink-soft);
  margin-left: 12px;
  white-space: nowrap;
}
.host-roster-help {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.host-roster {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.host-roster th,
.host-roster td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--host-line);
  text-align: center;
}
.host-roster thead {
  background: #eae5d9;
}
.host-roster thead th {
  font-size: 12px;
  font-weight: 600;
}
.host-roster th:first-child {
  text-align: left;
  width: 32%;
}
.host-roster tbody th {
  font-size: 14px;
  font-weight: 500;
}
.host-roster tbody th small {
  display: block;
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.host-roster input[type="radio"] {
  appearance: auto;
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
  cursor: pointer;
}
.host-roster-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  cursor: pointer;
}
.host-roster-option > span {
  display: none;
}
.host-organizer-lock {
  font-size: 12px;
  color: var(--ink-soft);
}
.host-roster-scroll {
  max-height: 480px;
  overflow: auto;
}
.host-roster thead th {
  position: sticky;
  top: 0;
  background: #eae5d9;
  z-index: 1;
}
.host-roster-footer {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
}
.host-roster-footer > span {
  font-size: 12px;
  color: var(--ink-soft);
}
.host-roster-footer [role="status"] {
  width: 100%;
  margin: 0;
  min-height: 0;
}
.host-finalize {
  flex: 1;
  min-width: 220px;
  font-size: 13px;
}
.host-finalize summary {
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.host-finalize p {
  line-height: 1.5;
}
.host-finalize .check-row {
  font-size: 13px;
  margin: 12px 0;
}
.host-roster-search {
  display: block;
  font-size: 12px;
  margin: 12px 0;
}
.host-roster-search input {
  display: block;
  padding: 10px;
  border: 1px solid var(--host-line);
  margin-top: 6px;
}
.host-email-page {
  max-width: 820px;
  margin: auto;
}
.host-email-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}
.host-email-form legend {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}
.host-email-audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.host-email-audiences label {
  border: 1px solid var(--host-line);
  padding: 14px;
  display: flex;
  gap: 10px;
  font-size: 13px;
  align-items: flex-start;
  cursor: pointer;
}
.host-email-audiences label:has(:checked) {
  border-color: var(--ink);
  background: #f3edd9;
}
.host-email-audiences label:has(:disabled) {
  color: #746f63;
  cursor: default;
}
.host-email-audiences input {
  accent-color: var(--ink);
  margin-top: 3px;
}
.host-email-audiences small {
  display: block;
  font-size: 11px;
  margin-top: 6px;
  line-height: 1.5;
}
.host-email-form textarea {
  width: 100%;
  font:
    15px / 1.65 "AIRC Work Sans",
    sans-serif;
  padding: 14px;
  border: 1px solid #9b978c;
  background: #fffdf8;
  resize: vertical;
}
.host-email-preview {
  border: 1px solid var(--host-line);
  background: #fffdf8;
  margin: 24px 0;
}
.host-email-brand {
  background: var(--ink);
  padding: 20px;
  color: var(--cream);
  font:
    24px "AIRC Oswald",
    sans-serif;
}
.host-email-copy {
  padding: 24px;
}
.host-email-copy p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.host-email-copy h2 {
  overflow-wrap: anywhere;
}
.host-email-meta {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 1000px) {
  .host-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .host-heading h1 {
    font-size: 30px;
  }
  .host-tools-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .host-tool-card {
    min-height: 220px;
    display: flex;
  }
  .host-tool-card.host-material {
    display: flex;
  }
  .host-tool-card .host-material-preview {
    width: 100%;
    height: 118px;
  }
  .host-roster-panel {
    padding: 18px;
  }
  .host-roster-count {
    display: block;
    margin: 7px 0 0;
  }
  .host-roster thead {
    display: none;
  }
  .host-roster,
  .host-roster tbody {
    display: block;
  }
  .host-roster tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 14px 0;
    border-bottom: 1px solid var(--host-line);
    gap: 12px;
  }
  .host-roster th,
  .host-roster td {
    border: 0;
    padding: 0;
  }
  .host-roster tbody th:first-child {
    width: auto;
    grid-column: 1 / -1;
  }
  .host-roster td[colspan] {
    grid-column: 1 / -1;
    text-align: left;
  }
  .host-roster-option {
    justify-content: flex-start;
    gap: 8px;
    min-height: 32px;
  }
  .host-roster-option > span {
    display: inline;
    font-size: 12px;
  }
  .host-roster-scroll {
    max-height: 600px;
  }
  .host-email-audiences {
    grid-template-columns: 1fr;
  }
}
.host-email-history {
  list-style: none;
  padding: 0;
  margin: 0;
}
.host-email-history li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--host-line);
  font-size: 14px;
}
.host-email-history li span {
  font-size: 12px;
  color: var(--ink-soft);
}
.host-roster tr[hidden] {
  display: none;
}
.host-roster input[type="radio"],
.host-email-audiences input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  flex: 0 0 18px;
}
.host-roster tbody th {
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.host-roster tbody tr:last-child th,
.host-roster tbody tr:last-child td {
  border-bottom: 0;
}
.host-heading .host-inline-status {
  font-size: 12px;
  margin-top: 8px;
  min-height: 0;
}
.host-email-page .page-header {
  border: 0;
  padding: 0;
  margin: 24px 0;
}
.host-email-page .page-header h1 {
  font-size: 38px;
  line-height: 1.15;
}
.host-email-page .page-header p {
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .host-email-page .page-header h1 {
    font-size: 32px;
  }
}
