:root {
  --blue: #1872d2;
  --blue-dark: #105eaf;
  --blue-deep: #102f5a;
  --teal: #28aaaf;
  --teal-dark: #218e93;
  --navy: #102f5a;
  --navy-dark: #0b274b;
  --ink: #15354b;
  --muted: #60788a;
  --canvas: #f4f9fc;
  --soft-blue: #cfdef6;
  --soft-teal: #d9efef;
  --aqua: #d9efef;
  --sand: #e3edf9;
  --cream: #eef4fa;
  --gold: #28aaaf;
  --line: #d8e7ef;
  --white: #fff;
  --danger: #b33f4a;
  --shadow-sm: 0 6px 20px rgba(16, 47, 90, .07);
  --shadow: 0 20px 50px rgba(16, 47, 90, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: var(--blue); }
[hidden] { display: none !important; }

.toast {
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 1000;
  max-width: 430px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--blue-deep);
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: .2s;
}
.toast.show { opacity: 1; transform: none; }
.toast.error { background: #9f3440; }
.toast.warning { background: #8a641e; }

/* Access screen */
.login-page {
  min-height: 100vh;
  padding: 42px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    linear-gradient(90deg, var(--blue) 0 64%, var(--teal) 64% 100%) top / 100% 7px no-repeat,
    radial-gradient(circle at 88% 12%, rgba(40, 170, 175, .13), transparent 27%),
    radial-gradient(circle at 8% 82%, rgba(24, 114, 210, .11), transparent 31%),
    #f8fbfd;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(560px, 100%);
  margin-bottom: 34px;
}
.main-logo { width: 255px; height: auto; }
.brand-divider { height: 34px; width: 1px; background: var(--line); }
.brand-label {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue-deep);
}
.login-card {
  position: relative;
  width: min(560px, 100%);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 46px 48px 42px;
  box-shadow: var(--shadow);
}
.login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.login-card h1 {
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.14;
  letter-spacing: -.035em;
  color: var(--blue-deep);
  margin: 8px 0 17px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 800;
  color: var(--teal-dark);
  margin: 0 0 8px;
}
.eyebrow.light { color: #bfe9eb; }
.lead, .section-lead { font-size: 17px; color: var(--muted); line-height: 1.72; }
.stack-form { display: grid; gap: 10px; margin-top: 27px; }
.stack-form label, .upload-panel > label { font-size: 13px; font-weight: 800; color: var(--blue-deep); }
input, textarea, select {
  width: 100%;
  border: 1px solid #c9dce7;
  border-radius: 8px;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 114, 210, .12);
}
.code-input { text-align: center; font-size: 30px; letter-spacing: 10px; font-weight: 800; }
.primary-button, .secondary-button {
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 800;
  transition: transform .18s, background .18s, box-shadow .18s;
}
.primary-button {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 18px rgba(24, 114, 210, .2);
}
.primary-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.secondary-button { background: var(--soft-teal); color: var(--blue-deep); }
.secondary-button:hover { background: #d7f0f0; }
.full-width { width: 100%; margin-top: 12px; }
.text-button { border: 0; background: none; color: var(--blue); padding: 0; font-weight: 800; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin: 18px 0 0; }
.admin-login-access { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.admin-login-access a { color: var(--blue-deep); font-weight: 800; text-decoration: none; }
.admin-login-access a:hover { color: var(--blue); text-decoration: underline; }
.login-footer { font-size: 12px; color: var(--muted); margin-top: 28px; }

/* Casino portal shell */
.portal { min-height: 100vh; background: var(--white); }
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 292px;
  background: white;
  color: var(--ink);
  padding: 26px 20px 22px;
  display: flex;
  flex-direction: column;
  z-index: 50;
  border-right: 1px solid var(--line);
  box-shadow: 5px 0 22px rgba(16, 47, 90, .04);
}
.sidebar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 0 68%, var(--teal) 68%);
}
.sidebar-brand {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 7px 8px 23px;
  border-bottom: 1px solid var(--line);
}
.sidebar-logo {
  display: block;
  width: 190px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
  filter: none;
  opacity: 1;
}
.sidebar-brand span {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
  font-weight: 800;
  color: var(--teal-dark);
}
.casino-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 2px 16px;
  padding: 14px;
  border-radius: 10px;
  background: var(--soft-blue);
  border: 1px solid #dbeaf4;
}
.casino-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: white;
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  font-weight: 800;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid var(--line);
}
.casino-logo-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.casino-identity strong { display: block; line-height: 1.25; color: var(--blue-deep); }
.casino-identity small { color: var(--muted); }
.portal-nav { display: grid; gap: 4px; }
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  color: #536d80;
  padding: 11px 12px;
  border-radius: 8px;
  text-align: left;
  font-weight: 700;
}
.nav-item span {
  width: 22px;
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--teal-dark);
  font-weight: 800;
}
.nav-item:hover { background: var(--soft-blue); color: var(--blue-deep); }
.nav-item.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 18px rgba(24, 114, 210, .17);
}
.nav-item.active span { color: #c8f1f2; }
.sidebar-bottom { margin-top: auto; padding: 18px 8px 0; border-top: 1px solid var(--line); }
.super-admin-button {
  display: block;
  width: 100%;
  margin-bottom: 13px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--blue-deep);
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.super-admin-button:hover { background: var(--blue); color: white; }
.signed-in-as { font-size: 11px; color: var(--muted); line-height: 1.5; overflow-wrap: anywhere; }
.signed-in-as strong { color: var(--blue-deep); }
.signout-button {
  margin-top: 12px;
  border: 1px solid #cbdde8;
  background: white;
  color: var(--blue-deep);
  border-radius: 7px;
  padding: 8px 12px;
  width: 100%;
  font-weight: 700;
}
.signout-button:hover { border-color: var(--blue); color: var(--blue); }
.portal-main { margin-left: 292px; min-height: 100vh; background: var(--white); }
.content-wrap { padding: 52px clamp(30px, 5.5vw, 86px) 90px; max-width: 1500px; margin: auto; background: var(--white); }
.content-section { display: none; }
.content-section.active { display: block; animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.content-section > h1, .materials-heading h1 {
  color: var(--blue-deep);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 5px 0 14px;
}
.section-lead { max-width: 790px; margin-bottom: 34px; }
.content-section[data-page="process"] > .section-lead { max-width: none; }

.admin-preview-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 13px 16px;
  border: 1px solid #9dc3df;
  border-radius: 10px;
  background: var(--soft-blue);
  color: var(--blue-deep);
}
.admin-preview-banner div { display: grid; gap: 1px; }
.admin-preview-banner strong { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); }
.admin-preview-banner span { font-size: 13px; }
.admin-preview-banner a { white-space: nowrap; border-radius: 7px; padding: 8px 11px; background: var(--blue-deep); color: white; text-decoration: none; font-size: 12px; font-weight: 800; }
.admin-preview-banner a:hover { background: var(--blue); }

.program-mode-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}
.program-mode-switcher > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.program-mode-options {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5f8fb;
}
.program-mode-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 8px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.program-mode-button.active {
  background: var(--blue-deep);
  color: white;
}
.portal[data-program-mode="host-sponsor"] .sponsor-only-content,
.portal[data-program-mode="sponsor-only"] .host-sponsor-content { display: none !important; }
.portal[data-program-mode="sponsor-only"] .intro-grid,
.portal[data-program-mode="sponsor-only"] .two-column-cards { grid-template-columns: 1fr; }
.portal[data-program-mode="sponsor-only"] .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Content components */
.welcome-hero {
  background: var(--soft-blue);
  color: var(--ink);
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.welcome-copy {
  max-width: 760px;
  align-self: center;
}
.welcome-hero h1 {
  color: var(--blue-deep);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.14;
  letter-spacing: -.035em;
  margin: 5px 0 10px;
}
.welcome-hero p {
  max-width: 700px;
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}
.hero-casino-logo {
  width: 235px;
  min-height: 116px;
  margin: -32px -36px -32px 0;
  padding: 32px 36px;
  background: var(--white);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 800;
  border-left: 1px solid var(--line);
  flex: 0 0 auto;
}
.hero-casino-logo img {
  display: block;
  width: 100%;
  max-width: 174px;
  height: 88px;
  object-fit: contain;
}
.intro-grid, .two-column-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.feature-card { padding: 21px 27px 23px; }
.feature-card h2 { margin: 0 0 8px; }
.feature-card p { margin: 0; }
.feature-card, .large-card, .area-card, .next-grid article {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 27px;
  box-shadow: var(--shadow-sm);
}
.feature-card:nth-child(odd) { background: var(--soft-blue); }
.feature-card:nth-child(even) { background: var(--soft-teal); }
.feature-card::before, .large-card::before, .area-card::before, .next-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 12px 0 0 12px;
  background: var(--blue);
}
.feature-card:nth-child(even)::before, .large-card:nth-child(even)::before, .area-card:nth-child(even)::before, .next-grid article:nth-child(even)::before { background: var(--teal); }
.feature-number, .next-grid article > span { font-size: 10px; letter-spacing: .15em; font-weight: 800; color: var(--teal-dark); }
.feature-card h2, .large-card h2, .area-card h2, .next-grid h2 { color: var(--blue-deep); line-height: 1.25; letter-spacing: -.015em; }
.callout {
  margin-top: 22px;
  background: var(--soft-teal);
  border: 1px solid #d9ebef;
  border-radius: 11px;
  padding: 22px 25px;
  display: flex;
  gap: 17px;
  align-items: flex-start;
}
.callout-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: white; display: grid; place-items: center; flex: 0 0 auto; }
.callout h3, .callout p { margin: 0; }
.getting-started-heading { margin-top: 38px; max-width: 850px; }
.getting-started-heading h2 { margin: 4px 0 8px; color: var(--blue-deep); font-size: 30px; letter-spacing: -.025em; }
.getting-started-heading p:last-child { margin: 0; color: var(--muted); }
.getting-started-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; align-items: stretch; }
.start-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px 27px;
  box-shadow: var(--shadow-sm);
}
.meeting-start-card { background: var(--soft-blue); }
.team-start-card { background: var(--soft-teal); }
.materials-start-card { background: var(--soft-blue); }
.start-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: 12px 0 0 12px; background: var(--blue); }
.team-start-card::before { background: var(--teal); }
.start-label { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.team-start-card .start-label { color: var(--teal-dark); }
.start-card h2 { margin: 6px 0 8px; color: var(--blue-deep); }
.start-card p { margin: 0 0 16px; color: var(--muted); }
.materials-start-card .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  box-shadow: 0 8px 18px rgba(24, 114, 210, .2);
}
.materials-start-card .secondary-button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
}
.materials-start-card .secondary-button:focus-visible {
  outline: 3px solid rgba(24, 114, 210, .22);
  outline-offset: 3px;
}
.start-card-status { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.start-card-status strong { color: var(--blue-deep); font-size: 30px; line-height: 1; }
.start-card-status span { color: var(--muted); font-size: 12px; font-weight: 700; }
.team-panel {
  margin-top: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow-sm);
}
.team-panel-heading { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.team-panel-heading h2 { margin: 4px 0 0; color: var(--blue-deep); font-size: 28px; }
.team-panel-heading > p { max-width: 620px; margin: 0; color: var(--muted); }
.team-member-form { margin-top: 24px; padding: 22px; border-radius: 10px; background: var(--soft-blue); border: 1px solid #d5e5f0; }
.team-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.team-member-form label { display: grid; gap: 6px; color: var(--blue-deep); font-size: 12px; font-weight: 800; }
.team-member-form input, .team-member-form select { width: 100%; border: 1px solid #c9dce7; border-radius: 8px; padding: 12px 13px; background: white; color: var(--ink); font: inherit; }
.phone-input-wrap { display: flex; align-items: center; overflow: hidden; border: 1px solid #c9dce7; border-radius: 8px; background: white; transition: border-color .2s, box-shadow .2s; }
.phone-input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 114, 210, .12); }
.phone-input-wrap > span { flex: 0 0 auto; padding: 0 0 0 13px; color: var(--blue-deep); font-weight: 800; }
.team-member-form .phone-input-wrap input { border: 0; border-radius: 0; box-shadow: none; padding-left: 8px; }
.primary-program-toggle { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px !important; margin-top: 16px; padding: 13px 14px; border-radius: 9px; background: white; border: 1px solid #c9dce7; }
.primary-program-toggle input { width: auto; margin-top: 3px; }
.primary-program-toggle span { display: grid; gap: 2px; }
.primary-program-toggle small { color: var(--muted); font-weight: 500; }
.team-form-actions { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.team-members-list { margin-top: 22px; }
.team-copy-hint { margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 700; }
.team-roster-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: white; }
.team-roster { min-width: 1080px; }
.team-roster-row {
  display: grid;
  grid-template-columns: minmax(165px, 1.35fr) minmax(135px, 1fr) minmax(155px, 1.15fr) minmax(210px, 1.55fr) minmax(130px, .95fr) minmax(105px, .75fr) 112px;
  align-items: stretch;
  border-top: 1px solid var(--line);
}
.team-roster-row:first-child { border-top: 0; }
.team-roster-row.primary-contact { background: var(--soft-teal); }
.team-roster-header { background: #f4f8fb; color: var(--blue-deep); }
.team-roster-header span { padding: 10px 11px; border-right: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.team-roster-header span:last-child { border-right: 0; }
.copy-cell, .team-role-cell, .team-member-actions {
  min-width: 0;
  min-height: 47px;
  border-right: 1px solid var(--line);
}
.copy-cell {
  position: relative;
  width: 100%;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  padding: 10px 11px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  cursor: copy;
  overflow-wrap: anywhere;
}
.copy-cell:hover, .copy-cell:focus-visible { background: rgba(217,229,248,.55); outline: none; box-shadow: inset 0 0 0 1px #a9c9df; }
.copy-cell.copied { background: var(--soft-teal); box-shadow: inset 0 0 0 1px #82c5c8; }
.copy-cell.copied::after {
  content: "Copied";
  position: absolute;
  top: 4px;
  right: 5px;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--teal-dark);
  color: white;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.empty-copy-cell { display: flex; align-items: center; cursor: default; color: var(--muted); }
.team-role-cell { display: flex; align-items: center; padding: 7px; }
.team-role-cell .copy-cell { min-height: 32px; border-right: 0; padding: 4px; text-align: center; }
.primary-contact-badge { display: inline-block; padding: 5px 8px; border-radius: 999px; background: white; color: var(--teal-dark); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.not-primary { width: 100%; color: var(--muted); text-align: center; }
.team-member-actions { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 7px; border-right: 0; }
.mini-action { border: 0; border-radius: 7px; padding: 7px 9px; background: var(--soft-blue); color: var(--blue-deep); font-size: 10px; font-weight: 800; }
.mini-action.danger { background: #f8e8ea; color: var(--danger); }
.large-card { padding: 32px; }
.pill {
  display: inline-block;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  padding: 5px 11px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
}
.area-label {
  display: inline-block;
  width: fit-content;
  color: var(--blue);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}
.area-card-host .area-label { color: var(--teal-dark); }
.area-card-sponsor .area-label { color: var(--blue); }
.sponsor-card .pill { background: var(--soft-teal); color: var(--teal-dark); }
.clean-list { padding-left: 20px; }
.small-copy { font-size: 13px; color: var(--muted); }
.program-benefits-intro { max-width: 920px; }
.program-benefit-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; align-items: stretch; }
.portal[data-program-mode="sponsor-only"] .program-benefit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.benefit-card { display: flex; flex-direction: column; }
.benefit-card.host-card { background: var(--soft-blue); }
.benefit-card.sponsor-card { background: var(--soft-teal); }
.benefit-card.host-card .area-label { color: var(--blue); }
.benefit-card.sponsor-card .area-label { color: var(--teal-dark); }
.benefit-card.host-card::before { background: var(--blue); }
.benefit-card.sponsor-card::before { background: var(--teal); }
.portal[data-program-mode="sponsor-only"] .benefit-card.sponsor-card { background: var(--soft-blue); }
.portal[data-program-mode="sponsor-only"] .benefit-card.sponsor-card::before { background: var(--blue); }
.portal[data-program-mode="sponsor-only"] .benefit-card.sponsor-card .area-label { color: var(--blue); }
.benefit-card h2 { margin: 13px 0 12px; font-size: 25px; }
.benefit-card p { margin: 0 0 13px; color: #425b6d; line-height: 1.65; }
.benefit-card p:last-child { margin-bottom: 0; }
.program-connection-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 0;
  padding: 29px 32px;
  border: 1px solid #cbdfea;
  border-radius: 12px;
  background: var(--soft-blue);
  box-shadow: var(--shadow-sm);
}
.program-connection-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--blue); }
.portal[data-program-mode="sponsor-only"] .program-connection-card { background: var(--soft-teal); border-color: #c8e2e2; }
.portal[data-program-mode="sponsor-only"] .program-connection-card::before { background: var(--teal); }
.portal[data-program-mode="sponsor-only"] .program-connection-card .area-label { color: var(--teal-dark); }
.program-connection-card h2 { margin: 7px 0 9px; color: var(--blue-deep); font-size: 25px; line-height: 1.28; letter-spacing: -.015em; }
.program-connection-card p { max-width: 980px; margin: 0; color: #425b6d; line-height: 1.7; }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.area-card { display: flex; flex-direction: column; min-width: 0; }
.area-card-admin { background: var(--soft-blue); }
.area-card-host { background: var(--soft-teal); }
.area-card-sponsor { background: var(--soft-blue); }
.area-card-admin::before { background: var(--blue); }
.area-card-host::before { background: var(--teal); }
.area-card-sponsor::before { background: var(--blue); }
.portal[data-program-mode="sponsor-only"] .area-card-sponsor { background: var(--soft-teal); }
.portal[data-program-mode="sponsor-only"] .area-card-sponsor::before { background: var(--teal); }
.portal[data-program-mode="sponsor-only"] .area-card-sponsor .area-label { color: var(--teal-dark); }
.area-card h2 { margin: 14px 0 10px; }
.area-card p { margin: 0; color: var(--muted); }
.area-card .area-focus-intro { margin-top: 17px; color: var(--blue-deep); font-weight: 800; }
.area-card ul { margin: 11px 0 0; padding-left: 20px; color: var(--muted); }
.area-card li + li { margin-top: 5px; }
.sequence-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 25px;
  padding: 17px;
  background: var(--blue-deep);
  color: white;
  border-radius: 10px;
  font-size: 12px;
}
.sequence-strip b { color: #7ed9dd; }
.process-phases { display: grid; gap: 34px; }
.process-phase-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 14px;
}
.process-phase-heading > span {
  flex: 0 0 auto;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.process-phase:nth-child(2) .process-phase-heading > span {
  background: var(--soft-teal);
  color: var(--teal-dark);
}
.process-phase-heading h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.process-phase-ongoing {
  padding-top: 2px;
}
.process-phase-ongoing .process-phase-heading > span {
  background: var(--soft-blue);
  color: var(--blue);
}
.process-list { display: grid; gap: 13px; }
.process-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 21px 23px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}
.process-item > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 6px 12px rgba(24, 114, 210, .18);
}
.process-item:nth-child(even) > span { background: var(--teal); }
.process-item-ongoing {
  background: var(--soft-blue);
  border-color: #bdd2ef;
}
.process-item-ongoing > span,
.process-item-ongoing:nth-child(even) > span {
  background: var(--blue);
}
.process-item h2, .process-item p { margin: 0; }
.process-item h2 { color: var(--blue-deep); font-size: 19px; }
.process-item p { color: var(--muted); margin-top: 5px; }
.process-item ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.process-item li + li { margin-top: 3px; }
.training-panel {
  margin-top: 32px;
  background: linear-gradient(115deg, var(--blue-deep), #144b78);
  color: white;
  border-radius: 14px;
  padding: 32px;
  border-bottom: 5px solid var(--teal);
}
.training-panel h2 { margin-top: 0; }
.training-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.training-grid div { background: rgba(255, 255, 255, .09); padding: 17px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); }
.training-grid p { font-size: 12px; color: #d4e5f0; margin-bottom: 0; }
.materials-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.upload-count {
  min-width: 150px;
  background: linear-gradient(120deg, var(--blue), var(--teal));
  color: white;
  border-radius: 11px;
  padding: 17px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.upload-count strong { display: block; font-size: 31px; }
.upload-count span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.upload-panel, .link-panel, .submitted-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 27px;
  margin-top: 22px;
  box-shadow: var(--shadow-sm);
}
.upload-panel h2, .link-panel h2, .submitted-section h2 { color: var(--blue-deep); margin-top: 0; }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin: 17px 0; }
.category-option { position: relative; }
.category-option input { position: absolute; opacity: 0; }
.category-option span { display: block; border: 1px solid var(--line); border-radius: 9px; padding: 15px; height: 100%; cursor: pointer; }
.category-option strong, .category-option small { display: block; }
.category-option small { color: var(--muted); margin-top: 4px; }
.category-option input:checked + span { border-color: var(--blue); background: var(--soft-blue); box-shadow: 0 0 0 2px rgba(24,114,210,.1); }
.file-drop { display: grid; place-items: center; text-align: center; border: 2px dashed #b6d1df; border-radius: 10px; padding: 32px; margin-bottom: 17px; background: #f8fcfe; cursor: pointer; }
.file-drop:hover { border-color: var(--teal); background: var(--soft-teal); }
.file-drop input { display: none; }
.file-drop small { color: var(--muted); }
.drop-icon { font-size: 28px; color: var(--teal); }
.selected-files-review {
  margin: -2px 0 18px;
  padding: 17px;
  border: 1px solid #cfe2ec;
  border-radius: 10px;
  background: var(--soft-blue);
}
.selected-files-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.selected-files-heading div { display: grid; gap: 2px; }
.selected-files-heading span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.selected-files-heading strong { color: var(--blue-deep); }
.selected-files-list { display: grid; gap: 9px; }
.selected-file-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(16,47,90,.1);
  border-radius: 8px;
  background: white;
}
.selected-file-item img, .selected-file-icon { width: 58px; height: 46px; border-radius: 6px; background: #f2f7fa; object-fit: cover; display: grid; place-items: center; color: var(--blue); font-size: 10px; font-weight: 800; }
.selected-file-item div:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.selected-file-item strong { color: var(--blue-deep); overflow-wrap: anywhere; }
.selected-file-item span { color: var(--muted); font-size: 11px; }
.selected-file-item button { border: 0; border-radius: 7px; padding: 8px 10px; background: #f8e8ea; color: var(--danger); font-size: 10px; font-weight: 800; }
.upload-panel textarea { margin: 6px 0 14px; }
.link-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.link-panel p { margin-bottom: 0; color: var(--muted); }
.link-fields { display: grid; grid-template-columns: minmax(200px, 1.5fr) minmax(150px, 1fr) auto; gap: 9px; flex: 1; }
.section-title-row { display: flex; justify-content: space-between; align-items: center; }
#uploadsList { display: grid; gap: 18px; }
.upload-category-section { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fbfdfe; }
.upload-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; border-bottom: 1px solid var(--line); background: var(--soft-blue); }
.upload-category-section[data-upload-category="rooms"] .upload-category-heading { background: var(--soft-teal); }
.upload-category-section[data-upload-category="features"] .upload-category-heading { background: var(--soft-blue); }
.upload-category-section[data-upload-category="logos"] .upload-category-heading { background: var(--soft-teal); }
.upload-category-heading h3 { margin: 0; color: var(--blue-deep); font-size: 16px; }
.upload-category-heading span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.upload-category-section > .submission-list { padding: 0 15px 5px; }
.upload-category-section > .submission-list > .empty-state { margin: 14px 0; }
.submission-list { display: grid; gap: 10px; }
.submission-item { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding: 15px 0; }
.file-icon { width: 46px; height: 46px; border-radius: 8px; background: var(--soft-blue); display: grid; place-items: center; color: var(--blue); font-size: 10px; font-weight: 800; flex: 0 0 auto; }
.submission-copy { display: grid; min-width: 0; }
.submission-copy a { overflow-wrap: anywhere; }
.submission-copy span, .submission-copy small { color: var(--muted); font-size: 12px; }
.remove-button { margin-left: auto; border: 0; background: #f8e8ea; color: var(--danger); border-radius: 7px; padding: 7px 10px; }
.empty-state { color: var(--muted); font-style: italic; }

.materials-summary { display: grid; justify-items: center; gap: 8px; }
.material-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; align-items: start; }
.portal[data-program-mode="sponsor-only"] .material-category-grid { grid-template-columns: minmax(0, 720px); }
.material-category-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow-sm);
}
.material-category-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 20px 21px; border-bottom: 1px solid var(--line); background: var(--soft-blue); }
.material-category-card[data-material-category="rooms"] .material-category-heading { background: var(--soft-teal); }
.material-category-card[data-material-category="features"] .material-category-heading { background: var(--soft-blue); }
.material-category-card[data-material-category="logos"] .material-category-heading { background: var(--soft-teal); }
.portal[data-program-mode="sponsor-only"] .material-category-card[data-material-category="logos"] .material-category-heading { background: var(--soft-blue); }
.material-category-heading h2 { margin: 0; color: var(--blue-deep); font-size: 20px; }
.material-category-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.material-category-heading > span { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.8); color: var(--blue-deep); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.material-add-button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; margin: 17px 20px 8px; padding: 10px 15px; border-radius: 8px; background: var(--blue); color: white; font-size: 12px; font-weight: 800; cursor: pointer; box-shadow: 0 7px 15px rgba(24,114,210,.16); }
.material-add-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.material-add-button input { position: absolute; opacity: 0; pointer-events: none; }
.material-pending { margin: 10px 20px 4px; padding: 14px; border: 1px dashed #a9cadc; border-radius: 9px; background: #f7fbfd; }
.material-pending-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--blue-deep); }
.material-pending-heading span { color: var(--muted); font-size: 11px; font-weight: 700; }
.material-pending-list { display: grid; gap: 8px; }
.material-pending-file { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.material-pending-file img, .material-pending-icon { width: 50px; height: 42px; border-radius: 6px; object-fit: cover; background: var(--soft-blue); display: grid; place-items: center; color: var(--blue); font-size: 9px; font-weight: 800; }
.material-pending-file > div:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.material-pending-file strong { color: var(--blue-deep); overflow-wrap: anywhere; }
.material-pending-file span { color: var(--muted); font-size: 10px; }
.material-pending-file button { border: 0; background: #f8e8ea; color: var(--danger); border-radius: 6px; padding: 7px 8px; font-size: 9px; font-weight: 800; }
.material-pending-note { width: 100%; margin-top: 10px; border: 1px solid #c9dce7; border-radius: 7px; padding: 10px 11px; }
.material-pending-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 10px; }
.material-pending-actions .primary-button { padding: 10px 14px; }
.material-files { display: grid; gap: 0; padding: 4px 20px 18px; }
.material-files > .empty-state { margin: 13px 0 3px; }
.material-file-item { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.material-file-item:first-child { border-top: 0; }
.material-file-preview { width: 66px; height: 56px; border: 1px solid var(--line); border-radius: 7px; background: #f5f8fa; display: grid; place-items: center; overflow: hidden; text-decoration: none; }
.material-file-preview img { width: 100%; height: 100%; object-fit: cover; }
.material-file-preview span { color: var(--blue); font-size: 10px; font-weight: 800; }
.material-file-copy { display: grid; gap: 3px; min-width: 0; }
.material-file-copy > a { color: var(--blue-deep); overflow-wrap: anywhere; }
.material-file-copy span, .material-file-copy small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.material-file-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 5px; }
.material-file-actions button, .material-file-actions a, .library-link-actions button { border: 0; border-radius: 6px; padding: 6px 8px; background: var(--soft-blue); color: var(--blue); font-size: 9px; font-weight: 800; text-decoration: none; }
.material-file-actions .material-download-button { background: var(--blue); color: white; }
.material-file-actions button.danger, .library-link-actions button.danger { background: #f8e8ea; color: var(--danger); }
.material-note-editor { display: grid; gap: 7px; margin-top: 8px; padding: 10px; border: 1px solid #cfe2ec; border-radius: 8px; background: var(--soft-blue); }
.material-note-editor[hidden] { display: none; }
.material-note-editor label { color: var(--blue-deep); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.material-note-editor textarea { width: 100%; min-height: 58px; padding: 9px 10px; resize: vertical; }
.material-note-editor > div { display: flex; justify-content: flex-end; gap: 7px; }
.material-note-editor button { border: 0; border-radius: 6px; padding: 7px 9px; background: white; color: var(--blue); font-size: 9px; font-weight: 800; }
.material-note-editor .primary-button { background: var(--blue); color: white; }
.library-workspace { margin-top: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow-sm); }
.library-link-form { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr); align-items: center; gap: 28px; }
.library-link-form h2 { margin: 0; color: var(--blue-deep); }
.library-link-form p { margin: 6px 0 0; color: var(--muted); }
.library-links-list { display: grid; margin-top: 18px; border-top: 1px solid var(--line); }
.library-links-list > .empty-state { margin: 17px 0 0; }
.library-link-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.library-link-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; background: var(--soft-teal); color: var(--teal-dark); font-weight: 800; }
.library-link-copy { display: grid; gap: 2px; min-width: 0; }
.library-link-copy a { overflow-wrap: anywhere; }
.library-link-copy span, .library-link-copy small { color: var(--muted); font-size: 10px; }
.library-link-actions { display: flex; gap: 6px; }

.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.next-grid article { min-height: 185px; }
.next-grid p { color: var(--muted); }
.schedule-step { background: var(--soft-blue) !important; }
.onboarding-schedule-status { margin-top: 13px; }
.schedule-empty {
  margin: 0;
  padding: 13px 14px;
  border: 1px dashed #b8d3e1;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-weight: 700;
}
.scheduled-meeting { display: grid; gap: 4px; }
.scheduled-meeting strong { color: var(--teal-dark); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.scheduled-meeting span { display: block; color: var(--blue-deep); font-weight: 700; }
.scheduled-meeting span em { font-size: 11px; color: var(--muted); font-style: normal; font-weight: 600; }
.schedule-source-time { color: var(--muted); font-size: 11px; }
.meeting-notes {
  margin: 9px 0 2px !important;
  padding-top: 9px;
  border-top: 1px solid rgba(16,47,90,.12);
  color: var(--ink) !important;
  font-size: 12px;
  line-height: 1.55;
}
.schedule-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 7px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.schedule-link:hover { background: var(--blue-dark); }
.mobile-header { display: none; }
.mobile-header-main { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.mobile-header-actions { display: flex; align-items: center; gap: 7px; }
.mobile-admin-link, .mobile-signout-button {
  border: 1px solid #cbdde8;
  border-radius: 7px;
  padding: 7px 9px;
  background: white;
  color: var(--blue-deep);
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.mobile-admin-link { background: var(--blue-deep); border-color: var(--blue-deep); color: white; }
.mobile-portal-nav { display: flex; gap: 5px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.mobile-portal-nav::-webkit-scrollbar { display: none; }

@media (max-width: 1180px) {
  .program-benefit-cards,
  .portal[data-program-mode="sponsor-only"] .program-benefit-cards { grid-template-columns: 1fr; }
}

@media (max-width: 1050px) {
  .area-grid,
  .portal[data-program-mode="sponsor-only"] .area-grid { grid-template-columns: 1fr; }
  .getting-started-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meeting-start-card { grid-column: 1 / -1; }
  .training-grid { grid-template-columns: repeat(2, 1fr); }
  .team-form-grid { grid-template-columns: repeat(2, 1fr); }
  .link-panel { display: block; }
  .link-fields { margin-top: 18px; }
  .next-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .sidebar { display: none; }
  .portal-main { margin-left: 0; }
  .mobile-header {
    display: block;
    background: white;
    border-top: 4px solid var(--blue);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 4px 16px rgba(16, 47, 90, .06);
  }
  .mobile-header-main { min-height: 62px; padding: 9px 14px 8px; }
  .mobile-header-main img { width: 150px; height: auto; }
  .mobile-portal-nav { padding: 7px 10px 9px; border-top: 1px solid var(--line); }
  .mobile-portal-nav .nav-item {
    flex: 0 0 auto;
    width: auto;
    min-height: 36px;
    padding: 8px 11px;
    border-radius: 7px;
    white-space: nowrap;
    font-size: 11px;
  }
  .content-wrap { padding: 30px 20px 70px; }
  .welcome-hero { padding: 28px; gap: 24px; }
  .hero-casino-logo { width: 205px; margin: -28px -28px -28px 0; padding: 28px; }
  .intro-grid, .two-column-cards, .getting-started-grid, .material-category-grid { grid-template-columns: 1fr; }
  .portal[data-program-mode="sponsor-only"] .material-category-grid { grid-template-columns: 1fr; }
  .library-link-form { grid-template-columns: 1fr; gap: 18px; }
  .meeting-start-card { grid-column: auto; }
  .team-panel-heading { display: grid; }
  .team-form-grid { grid-template-columns: 1fr; }
  .materials-heading { align-items: flex-start; }
  .link-fields { grid-template-columns: 1fr; }
  .next-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .login-page { padding: 28px 16px; }
  .login-brand { display: block; text-align: center; margin-bottom: 24px; }
  .main-logo { width: 220px; }
  .brand-divider { display: none; }
  .brand-label { display: block; margin-top: 8px; }
  .login-card { padding: 32px 22px 29px; }
  .login-card h1 { font-size: 31px; }
  .category-grid, .training-grid { grid-template-columns: 1fr; }
  .team-panel, .team-member-form { padding: 18px; }
  .team-roster-scroll { margin-inline: -18px; width: calc(100% + 36px); border-radius: 0; border-left: 0; border-right: 0; }
  .process-item { grid-template-columns: 38px 1fr; padding: 18px 16px; }
  .process-item > span { width: 34px; height: 34px; }
  .materials-heading { display: block; }
  .mobile-header-main { padding-inline: 12px; }
  .mobile-header-main img { width: 142px; }
  .mobile-admin-link, .mobile-signout-button { padding: 7px 8px; }
  .welcome-hero {
    padding: 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }
  .welcome-hero h1 { font-size: 32px; }
  .hero-casino-logo {
    width: calc(100% + 48px);
    min-height: 102px;
    margin: 0 -24px -24px;
    padding: 20px 24px 24px;
    border-left: 0;
    border-top: 1px solid var(--line);
    place-items: start;
  }
  .hero-casino-logo img { width: auto; max-width: 170px; height: 72px; }
  .content-section > h1, .materials-heading h1 { font-size: 36px; }
  .benefit-card, .program-connection-card { padding: 23px 21px; }
  .benefit-card h2, .program-connection-card h2 { font-size: 22px; }
  .submission-item { align-items: flex-start; }
  .selected-files-heading { align-items: flex-start; }
  .selected-file-item { grid-template-columns: 48px minmax(0, 1fr); }
  .selected-file-item img, .selected-file-icon { width: 48px; height: 42px; }
  .selected-file-item button { grid-column: 1 / -1; width: 100%; }
  .remove-button { font-size: 11px; }
  .materials-summary { justify-items: start; margin-top: 16px; }
  .upload-count { margin-top: 0; }
  .material-category-heading { display: grid; }
  .material-category-heading > span { width: fit-content; }
  .material-pending-file { grid-template-columns: 44px minmax(0, 1fr); }
  .material-pending-file img, .material-pending-icon { width: 44px; height: 38px; }
  .material-pending-file button { grid-column: 2; justify-self: start; }
  .material-pending-actions { align-items: stretch; flex-direction: column-reverse; }
  .material-pending-actions .primary-button { width: 100%; }
  .library-link-item { grid-template-columns: 38px minmax(0, 1fr); align-items: start; }
  .library-link-icon { width: 38px; height: 38px; }
  .library-link-actions { grid-column: 2; }
  .sequence-strip { justify-content: flex-start; }
  .sequence-strip b { display: none; }
}