:root {
  --nav: #101418;
  --gold: #d4b24f;
  --line: #dfe3e8;
  --bg: #f4f6f8;
}

.brPlanningPdfDownloads{margin-top:22px;padding:24px;border:1px solid #e1e5e9;border-radius:18px;background:#fff;box-shadow:0 16px 42px rgba(20,31,43,.06)}
.brPlanningPdfDownloadsTitle{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.brPlanningPdfDownloadsTitle small{display:block;color:#b18741;font-size:11px;font-weight:900;letter-spacing:.1em}
.brPlanningPdfDownloadsTitle h2{margin:4px 0 5px;color:#17283d;font-size:24px;line-height:1.05;text-transform:uppercase}
.brPlanningPdfDownloadsTitle p{margin:0;color:#657184;font-size:13px}
.brPlanningPdfDownloadsTitle>span{flex:0 0 auto;padding:8px 12px;border:1px solid #d8caa9;border-radius:999px;color:#80672f;background:#fffaf0;font-size:11px;font-weight:900}
.brPlanningPdfDownloadGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.brPlanningPdfDownloadGrid a{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;padding:15px 16px;border:1px solid #dfe4e9;border-radius:12px;color:#17283d;background:#f8fafc;text-decoration:none;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.brPlanningPdfDownloadGrid a:hover{transform:translateY(-1px);border-color:#b18741;box-shadow:0 8px 22px rgba(23,40,61,.08)}
.brPlanningPdfDownloadGrid b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.brPlanningPdfDownloadGrid span{grid-column:1;color:#657184;font-size:11px}
.brPlanningPdfDownloadGrid em{grid-column:2;grid-row:1 / span 2;color:#8d6d31;font-size:10px;font-style:normal;font-weight:900;letter-spacing:.05em}
@media(max-width:680px){.brPlanningPdfDownloads{padding:18px}.brPlanningPdfDownloadsTitle{align-items:flex-start}.brPlanningPdfDownloadsTitle h2{font-size:20px}.brPlanningPdfDownloadGrid{grid-template-columns:1fr}}

/* Facturation DJ is an internal fee ledger, deliberately not a legal invoice editor. */
.portalBillingLink {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid #c9aa50;
  border-radius: 12px;
  background: #fffdf6;
  color: #171717;
  text-decoration: none;
}
.portalBillingLink > span { font-size: 26px; }
.portalBillingLink b,.portalBillingLink small { display: block; }
.portalBillingLink small { margin-top: 3px; color: #687078; }
.portalBillingLink em { color: #866e2d; font-size: 11px; font-style: normal; font-weight: 900; letter-spacing: .8px; }
.portalBackToPlanning { display: inline-flex; margin: 0 0 14px; color: #4f5962; font-size: 11px; font-weight: 900; text-decoration: none; }
.djFeeHero {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr);
  gap: 22px;
  margin-bottom: 14px;
  padding: 26px;
  border-radius: 14px;
  background: #11161b;
  color: #fff;
}
.djFeeHero span,.djFeeHero aside b { color: #d7b85f; font-size: 10px; font-weight: 900; letter-spacing: 1.6px; }
.djFeeHero h1 { margin: 7px 0 5px; font-size: clamp(30px,5vw,58px); line-height: .95; letter-spacing: -2px; }
.djFeeHero p { margin: 0; color: #b9c0c7; }
.djFeeHero aside { align-self: center; padding: 16px; border: 1px solid #ffffff24; border-radius: 10px; background: #ffffff0a; }
.djFeeHero aside p { margin-top: 7px; font-size: 12px; line-height: 1.5; }
.djFeePeriod { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.djFeePeriod a { color: #333c44; font-size: 11px; font-weight: 900; text-decoration: none; }
.djFeePeriod form { display: flex; align-items: end; gap: 8px; }
.djFeePeriod label { color: #687078; font-size: 9px; font-weight: 900; letter-spacing: .8px; }
.djFeePeriod input { display: block; margin-top: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; }
.djFeePeriod button { min-height: 34px; }
.djFeeTotals { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.djFeeTotals article { padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.djFeeTotals span { display: block; color: #717981; font-size: 9px; font-weight: 900; letter-spacing: 1px; }
.djFeeTotals b { display: block; margin-top: 8px; font-size: 22px; }
.djFeeTotals .hasWarning { border-color: #db9d52; background: #fff8ed; }
.djFeeEntries { overflow: hidden; padding: 0; }
.djFeeEntries .panelhead,.djFeeSummaries > .panelhead { padding: 17px 20px; }
.djFeeRow { display: grid; grid-template-columns: 150px minmax(150px,.7fr) minmax(360px,1.7fr) 130px; align-items: center; gap: 14px; padding: 15px 20px; border-top: 1px solid var(--line); background: #fff; }
.djFeeWhen time,.djFeeWho b { display: block; font-weight: 900; }
.djFeeWhen small,.djFeeWho span { display: block; margin-top: 4px; color: #747c84; font-size: 11px; }
.djFeeEdit { display: grid; grid-template-columns: minmax(130px,.55fr) minmax(180px,1fr) auto; align-items: end; gap: 8px; }
.djFeeEdit label,.djFeeProfile label { color: #6c747b; font-size: 9px; font-weight: 900; letter-spacing: .5px; }
.djFeeEdit input,.djFeeProfile input,.djFeeProfile select { width: 100%; min-height: 38px; margin-top: 4px; border: 1px solid #cfd5da; border-radius: 7px; background: #fff; }
.djFeeEdit label > div { display: grid; grid-template-columns: minmax(0,1fr) 30px; align-items: center; margin-top: 4px; border: 1px solid #cfd5da; border-radius: 7px; overflow: hidden; }
.djFeeEdit label > div input { margin: 0; border: 0; border-radius: 0; }
.djFeeEdit label > div span { text-align: center; color: #697078; font-size: 12px; font-weight: 900; }
.djFeeState { display: grid; justify-items: stretch; gap: 6px; }
.djFeeState form,.djFeeState button { width: 100%; }
.djFeeState button { padding: 7px 5px; border: 0; background: transparent; color: #58616a; font-size: 9px; text-decoration: underline; }
.djFeeBadge { display: block; padding: 7px; border-radius: 999px; text-align: center; font-size: 8px; font-weight: 900; letter-spacing: .7px; }
.djFeeBadge.isPaid { background: #dff5e9; color: #16603a; }
.djFeeBadge.isDue { background: #fff0ce; color: #76530c; }
.djFeeBadge.isMissing { background: #fee7e2; color: #8a2c20; }
.djFeeRow.isCancelled { grid-template-columns: 150px minmax(170px,1fr) minmax(260px,2fr); opacity: .66; }
.djFeeCancelled { padding: 12px; border-radius: 8px; background: #f2f3f4; }
.djFeeCancelled b,.djFeeCancelled span { display: block; }
.djFeeCancelled span { margin-top: 3px; color: #757d84; font-size: 11px; }
.djFeeSummaries { margin-top: 14px; }
.djFeeSummaries { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.djFeeSummaries > .panelhead { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.djFeeSummaryCard { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.djFeeSummaryCard header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.djFeeSummaryCard header small,.djFeeSummaryCard header span { display: block; color: #747c84; font-size: 9px; }
.djFeeSummaryCard h3 { margin: 5px 0; font-size: 21px; }
.djFeeSummaryCard header strong { font-size: 24px; }
.djFeeSummaryCard dl { display: grid; grid-template-columns: repeat(3,1fr); margin: 16px 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.djFeeSummaryCard dl div { padding: 10px; border-right: 1px solid var(--line); }
.djFeeSummaryCard dl div:last-child { border: 0; }
.djFeeSummaryCard dt { color: #7a8289; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.djFeeSummaryCard dd { margin: 5px 0 0; font-size: 14px; font-weight: 900; }
.djFeeProfile { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr) auto; align-items: end; gap: 8px; }
.djFeeProfile button { min-height: 38px; }
.djFeeEmpty { margin: 0; padding: 28px; color: #6f777e; text-align: center; }

@media (max-width: 980px) {
  .djFeeHero { grid-template-columns: 1fr; }
  .djFeeTotals { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .djFeeRow { grid-template-columns: 110px minmax(120px,.6fr) minmax(310px,1.5fr); overflow-x: auto; }
  .djFeeState { grid-column: 3; }
  .djFeeSummaries { grid-template-columns: 1fr; }
  .djFeeProfile { grid-template-columns: 1fr 1fr; }
  .djFeeProfile button { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .portalBillingLink { grid-template-columns: auto minmax(0,1fr); }
  .portalBillingLink em { grid-column: 2; }
  .djFeeHero { padding: 20px; }
  .djFeePeriod { align-items: stretch; flex-direction: column; }
  .djFeePeriod form { justify-content: center; }
  .djFeeTotals { grid-template-columns: 1fr 1fr; }
  .djFeeTotals b { font-size: 18px; }
  .djFeeRow,.djFeeRow.isCancelled { grid-template-columns: 1fr; align-items: stretch; }
  .djFeeEdit { grid-template-columns: 1fr; }
  .djFeeState { grid-column: auto; }
  .djFeeSummaryCard header { flex-direction: column; }
  .djFeeSummaryCard dl { grid-template-columns: 1fr; }
  .djFeeSummaryCard dl div { border-right: 0; border-bottom: 1px solid var(--line); }
  .djFeeProfile { grid-template-columns: 1fr; }
  .djFeeProfile button { grid-column: auto; }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: #222;
  font-family: Inter, Arial, sans-serif;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 230px;
  padding: 25px 16px;
  background: var(--nav);
  color: #fff;
}

.sidebarClose,
.sidebarBackdrop { display: none; }

.mainbrand {
  padding: 0 10px 26px;
  font-size: 20px;
  font-weight: 900;
}

.mainbrand small {
  display: block;
  margin-top: 5px;
  color: #868e96;
  font-size: 8px;
  letter-spacing: 1.5px;
}

.viewerRoleBadge {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 7px;
  border: 1px solid #d4b24f66;
  border-radius: 999px;
  color: #e4cb80;
  font-size: 7px;
  font-style: normal;
  letter-spacing: 1.2px;
}

.viewer-tenant .sidebar { background: #0b2e27; }
.viewer-tenant .sidebar a:hover,
.viewer-tenant .sidebar a.active { background: #15483d; }
.viewer-tenant .pilot { background: #0b6953; }
.viewer-tenant.tenant-read-only .pilot { background: #725b18; }

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar nav > span {
  margin: 16px 10px 8px;
  color: #68717a;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.sidebar a {
  padding: 11px 12px;
  border-radius: 7px;
  color: #aeb5bc;
  font-size: 13px;
  text-decoration: none;
}

.sidebar a:hover,
.sidebar a.active {
  background: #242b32;
  color: #fff;
}

.sidebar form { margin-top: auto; }

.sidebar button {
  padding: 10px;
  border: 0;
  background: transparent;
  color: #818991;
  cursor: pointer;
}

main {
  min-height: 100vh;
  margin-left: 230px;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.hamb { display: none; }

.pilot {
  margin-left: auto;
  padding: 7px 11px;
  border-radius: 20px;
  background: #0d513e;
  color: #fff;
  font-size: 9px;
  letter-spacing: 1px;
}

.tenantModeNotice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid #d7c274;
  border-left: 5px solid var(--gold);
  border-radius: 9px;
  background: #fffaf0;
}
.tenantModeNotice b { color: #40330e; font-size: 11px; white-space: nowrap; }
.tenantModeNotice span { color: #71643f; font-size: 9px; line-height: 1.45; }

.page {
  max-width: 1500px;
  margin: auto;
  padding: 28px;
}

.afnav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 30px;
  padding: 11px 14px;
  border-radius: 9px;
  background: #171c21;
  color: #fff;
}

.afnav > div {
  display: flex;
  flex-direction: column;
  margin-right: auto;
}

.afnav b { font-size: 14px; }

.afnav small {
  margin-top: 2px;
  color: #8c949c;
  font-size: 8px;
}

.afnav a {
  padding: 9px 12px;
  border-radius: 5px;
  color: #aeb5bc;
  font-size: 11px;
  text-decoration: none;
}

.afnav a.active,
.afnav a:hover {
  background: #303840;
  color: #fff;
}

.title h1 {
  margin: 0;
  font-size: 28px;
}

.title p {
  margin: 7px 0 24px;
  color: #737a82;
  font-size: 13px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.flow > div,
.panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.flow i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #f1e7c8;
  color: #866b20;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.flow h2 {
  margin: 13px 0 6px;
  font-size: 15px;
}

.flow p {
  min-height: 28px;
  color: #747b82;
  font-size: 11px;
}

.flow form {
  display: flex;
  gap: 7px;
}

.flow input,
.flow button {
  padding: 9px;
  border: 1px solid #d5d9de;
  border-radius: 5px;
  background: #fff;
  font-size: 10px;
}

.flow button {
  background: #171c21;
  color: #fff;
  cursor: pointer;
}

.panel { margin-bottom: 20px; }

.clientListTitle { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.clientListTitle h1,.clientConfigurationTitle h1 { text-transform: uppercase; }
.clientListTitle .primary { width: auto; margin-top: 2px; padding: 12px 17px; }
.clientListActions { display: flex; align-items: center; gap: 9px; }
.clientListActions > a { padding: 11px 15px; border: 1px solid #171c21; border-radius: 6px; color: #171c21; font-size: 9px; font-weight: 850; text-decoration: none; }
.clientOverview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0 0 20px; }
.clientOverview > div { display: flex; align-items: baseline; gap: 8px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.clientOverview b { font-size: 24px; }
.clientOverview span { color: #757d85; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.clientGrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.clientCard { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.clientCard > header { position: static; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; height: auto; padding: 18px; border: 0; background: #fff; }
.clientCard header h2 { margin: 2px 0 3px; font-size: 18px; text-transform: uppercase; }
.clientCard header span,.clientCard header small { color: #7b8289; font-size: 8px; letter-spacing: .08em; }
.clientMonogram { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #11161a; color: #e6c45d; font-size: 12px; font-weight: 900; }
.clientStatus { padding: 5px 7px; border-radius: 999px; background: #e8f5ec; color: #25643b; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .08em; }
.clientStatus-draft { background: #eef1f3; color: #5d6770; }
.clientStatus-paused,.clientStatus-inactive { background: #f2ece1; color: #76591c; }
.clientStatus-archived { background: #f2e9e9; color: #754343; }
.clientCardMeta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.clientCardMeta p { display: flex; flex-direction: column; gap: 5px; min-height: 72px; margin: 0; padding: 15px 18px; background: #fafbfc; }
.clientCardMeta b { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.clientCardMeta span { color: #6f777e; font-size: 10px; line-height: 1.45; }
.clientCardActions { display: grid; grid-template-columns: auto 1fr; align-items: center; min-height: 44px; background: #171c21; }
.clientCardActions > span { padding: 12px 16px; color: #8f989f; font-size: 8px; text-align: right; }
.clientOpen { display: block; padding: 14px 18px; background: #171c21; color: #fff; font-size: 10px; font-weight: 800; text-align: right; text-decoration: none; }
.clientConfigure { color: #e5c763; text-align: left; }
.clientCreateDialog { width: min(520px,calc(100vw - 30px)); padding: 0; border: 0; border-radius: 12px; box-shadow: 0 24px 80px #0007; }
.clientCreateDialog::backdrop { background: #07100dcc; }
.clientCreateDialog form { display: grid; gap: 14px; padding: 24px; }
.clientCreateDialog header { position: static; height: auto; padding: 0 0 8px; border: 0; }
.clientCreateDialog header div { flex: 1; }
.clientCreateDialog header span { color: #92731e; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.clientCreateDialog header h2 { margin: 4px 0 0; }
.clientCreateDialog header button { border: 0; background: transparent; font-size: 24px; cursor: pointer; }
.clientCreateDialog label { display: grid; gap: 6px; color: #555d64; font-size: 10px; font-weight: 700; }
.clientCreateDialog input,.clientCreateDialog select { width: 100%; padding: 11px; border: 1px solid #d4d9de; border-radius: 6px; background: #fff; }
.clientCreateSource { display: grid; gap: 4px; margin: 0; padding: 11px 12px; border-radius: 7px; background: #f4f1e7; }
.clientCreateSource b { color: #715819; font-size: 9px; letter-spacing: .07em; }
.clientCreateSource span { color: #6f716d; font-size: 8px; line-height: 1.45; }
.clientConfigurationTitle > a { display: inline-flex; margin-bottom: 14px; color: #856818; font-size: 10px; font-weight: 800; text-decoration: none; }
.clientManageContent { display: inline-flex; margin: 0 0 20px; padding: 11px 14px; border-radius: 7px; background: #171c21; color: #fff; font-size: 10px; font-weight: 850; text-decoration: none; }
.clientSourcePending { display: inline-flex; margin: 0 0 20px; padding: 10px 12px; border: 1px solid #e2d29e; border-radius: 7px; background: #fffaf0; color: #735d1d; font-size: 9px; }
.clientIdentityGrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 18px; }
.clientIdentityGrid label { display: grid; gap: 6px; color: #555d64; font-size: 10px; font-weight: 800; }
.clientIdentityGrid input,.clientIdentityGrid select { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #d4d9de; border-radius: 7px; background: #fff; color: #20262b; }
.clientIdentityGrid label small { color: #7a8289; font-size: 8px; font-weight: 500; line-height: 1.4; }
.clientIdentityGrid p { display: grid; grid-column: 1 / -1; gap: 5px; margin: 0; padding: 13px 14px; border-radius: 8px; background: #f4f6f7; }
.clientIdentityGrid p b { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.clientIdentityGrid p span { font-size: 12px; font-weight: 850; }
.clientIdentityGrid p small { color: #727a81; font-size: 8px; }
.clientSourceNotice { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid #a8d2bd; border-left: 5px solid #1b7653; border-radius: 9px; background: #f2fbf7; }
.clientSourceNotice b { color: #185a42; font-size: 10px; letter-spacing: .08em; }
.clientSourceNotice span { color: #587268; font-size: 9px; }
.clientSourceColumns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.clientSourcePanel { margin: 0; padding: 0; overflow: hidden; }
.clientSourcePanel > .panelhead { padding: 17px 18px; border-bottom: 1px solid var(--line); }
.clientSourceMatches { grid-column: 1 / -1; }
.clientSourceRows { display: grid; }
.clientSourceRows article { display: grid; grid-template-columns: 82px minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 68px; padding: 12px 17px; border-bottom: 1px solid #edf0f2; }
.clientSourceRows article:last-child { border-bottom: 0; }
.clientSourceRows time { color: #8b6d18; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.clientSourceRows article > div { display: grid; gap: 4px; min-width: 0; }
.clientSourceRows article b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.clientSourceRows article span { color: #737b82; font-size: 8px; }
.clientSourceRows article em { padding: 5px 7px; border-radius: 999px; background: #eef1f3; color: #5f6870; font-size: 7px; font-style: normal; font-weight: 900; }
.clientSourceEmpty { margin: 0; padding: 28px 18px; color: #7b838a; font-size: 9px; text-align: center; }
.clientImportSearch { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; margin-bottom: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.clientImportSearch label { display: grid; gap: 6px; color: #555d64; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.clientImportSearch input { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #d4d9de; border-radius: 7px; background: #fff; color: #20262b; }
.clientImportSearch .primary { width: auto; min-height: 42px; }
.clientImportPanel { padding: 0; overflow: hidden; }
.clientImportRows { display: grid; }
.clientImportRow { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 13px; min-height: 76px; padding: 14px 18px; border-bottom: 1px solid #edf0f2; }
.clientImportRow:last-child { border-bottom: 0; }
.clientImportRow > div:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.clientImportRow > div:nth-child(2) b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.clientImportRow > div:nth-child(2) span { color: #737b82; font-size: 8px; }
.clientImportRow form { margin: 0; }
.clientImportRow form .primary,.clientImportRow > .clientOpen { width: auto; min-width: 145px; border: 0; border-radius: 6px; text-align: center; }

.clientOverviewFour { grid-template-columns: repeat(4,minmax(0,1fr)); }
.clientCardMetaOperational { grid-template-columns: repeat(3,minmax(0,1fr)); }
.clientCardMetaOperational p { min-height: 84px; }
.clientCardMetaOperational span small { display: block; overflow: hidden; margin-top: 4px; color: #90979d; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.clientSyncState { color: #5d6770; font-size: 8px; font-weight: 950; letter-spacing: .06em; }
.clientSyncState-success,.clientSyncState-succeeded { color: #18734e; }
.clientSyncState-running { color: #8a6812; }
.clientSyncState-failed { color: #9c2d34; }
.clientCardActions form { margin: 0; }
.clientCardActions form .clientOpen { width: 100%; min-height: 44px; border: 0; cursor: pointer; font-family: inherit; }

.clientImportHero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid #171c21;
  border-left: 7px solid var(--gold);
  border-radius: 10px;
  background: #171c21;
  color: #fff;
}
.clientImportHero > div { display: grid; gap: 5px; }
.clientImportHero span { color: #e5c763; font-size: 8px; font-weight: 950; letter-spacing: .16em; }
.clientImportHero h2 { margin: 0; font-size: 19px; }
.clientImportHero p { max-width: 650px; margin: 0; color: #aeb5bc; font-size: 9px; line-height: 1.5; }
.clientImportHero form { flex: 0 0 auto; margin: 0; }
.clientImportHero .primary { width: auto; min-height: 48px; padding: 12px 18px; background: var(--gold); color: #17130a; font-weight: 950; }
.clientImportActions { display: flex !important; align-items: stretch; gap: 6px !important; }
.clientImportActions .clientOpen,.clientImportActions .primary { min-width: 112px !important; height: 40px; padding: 11px 12px; }

.visuallyHidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.brPlanningTitle { align-items: center; }
.brPlanningCounters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.brPlanningCounters span { display: inline-flex; align-items: baseline; gap: 5px; padding: 9px 12px; border: 1px solid #d7dce0; border-radius: 999px; background: #fff; color: #697178; font-size: 8px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.brPlanningCounters b { color: #171c21; font-size: 15px; }
.brPlanningShell { overflow: hidden; margin-bottom: 24px; border: 1px solid #dfe3e8; border-radius: 12px; background: #fff; box-shadow: 0 12px 34px rgba(24,31,36,.08); color: #20262b; }
.brPlanningViewSwitch { display: grid; grid-template-columns: repeat(2,minmax(120px,180px)); justify-content: center; gap: 6px; padding: 12px 18px 0; background: #fff; }
.brPlanningViewSwitch a { padding: 10px 16px; border: 1px solid #d8dde1; border-radius: 7px; color: #606870; font-size: 9px; font-weight: 950; letter-spacing: .09em; text-align: center; text-decoration: none; }
.brPlanningViewSwitch a:hover { border-color: #b99735; background: #fffaf0; color: #29210d; }
.brPlanningViewSwitch a[aria-current="page"] { border-color: #171c21; background: #171c21; color: #fff; }
.brPlanningToolbar { display: grid; grid-template-columns: minmax(135px,auto) minmax(250px,1fr) minmax(135px,auto) minmax(255px,auto); align-items: center; gap: 12px; min-height: 82px; padding: 14px 18px; border-bottom: 1px solid #e3e7ea; background: #fff; }
.brPlanningToolbar > a { padding: 10px; border: 1px solid #d8dde1; border-radius: 7px; color: #5d4a17; font-size: 8px; font-weight: 900; letter-spacing: .06em; text-align: center; text-decoration: none; }
.brPlanningToolbar > a:hover { border-color: #b99735; background: #fffaf0; color: #29210d; }
.brPlanningToolbar > div { display: grid; gap: 3px; min-width: 0; text-align: center; }
.brPlanningToolbar small { color: #8a9197; font-size: 7px; font-weight: 900; letter-spacing: .15em; }
.brPlanningToolbar strong { overflow: hidden; color: #20262b; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.brPlanningToolbar form { display: flex; align-items: end; gap: 7px; margin: 0; }
.brPlanningToolbar label { display: grid; gap: 4px; color: #697178; font-size: 7px; font-weight: 900; letter-spacing: .08em; }
.brPlanningToolbar input,.brPlanningToolbar button { min-height: 38px; padding: 8px 10px; border: 1px solid #d8dde1; border-radius: 6px; background: #fff; color: #20262b; font: inherit; }
.brPlanningToolbar button { border-color: #171c21; background: #171c21; color: #fff; cursor: pointer; font-size: 8px; font-weight: 950; }
.brPlanningToolbar a:focus-visible,.brPlanningToolbar input:focus-visible,.brPlanningToolbar button:focus-visible,.brPlanningScroll:focus-visible,.brPlanningColumnHandle:focus-visible,.brPlanningAdd:focus-visible,.brPlanningEdit:focus-visible { outline: 3px solid #d4b24f; outline-offset: 2px; }
.brPlanningDefaultHours { border-bottom: 1px solid #e3e7ea; background: #fff; }
.brPlanningDefaultHours > summary { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; cursor: pointer; list-style: none; }
.brPlanningDefaultHours > summary::-webkit-details-marker { display: none; }
.brPlanningDefaultHours > summary > span { display: grid; min-width: 0; gap: 2px; }
.brPlanningDefaultHours > summary small { color: #9a781b; font-size: 7px; font-weight: 950; letter-spacing: .14em; }
.brPlanningDefaultHours > summary b { color: #20262b; font-size: 12px; letter-spacing: .03em; }
.brPlanningDefaultHours > summary em { color: #747c83; font-size: 8px; font-style: normal; line-height: 1.4; }
.brPlanningDefaultHours > summary > strong { flex: 0 0 auto; padding: 7px 9px; border: 1px solid #dfd2ab; border-radius: 999px; background: #fffaf0; color: #715817; font-size: 7px; font-weight: 950; letter-spacing: .04em; text-transform: uppercase; }
.brPlanningDefaultHours[open] > summary { border-bottom: 1px solid #e8ecee; }
.brPlanningDefaultHoursGrid { display: grid; grid-template-columns: repeat(auto-fit,minmax(265px,1fr)); gap: 10px; padding: 14px 18px 10px; background: #f8f9fa; }
.brPlanningDefaultHoursGrid form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) auto; align-items: end; gap: 8px; margin: 0; padding: 11px; border: 1px solid #dde2e5; border-radius: 8px; background: #fff; }
.brPlanningDefaultHoursGrid form.isMissing { border-left: 4px solid #c69c24; background: #fffdf7; }
.brPlanningDefaultHoursIdentity { display: grid; grid-column: 1 / -1; min-width: 0; gap: 3px; align-self: center; }
.brPlanningDefaultHoursIdentity b { overflow: hidden; color: #20262b; font-size: 9px; font-weight: 950; text-overflow: ellipsis; white-space: nowrap; }
.brPlanningDefaultHoursIdentity small { color: #8a9197; font-size: 7px; font-weight: 850; }
.brPlanningDefaultHoursGrid label { display: grid; min-width: 0; gap: 4px; color: #697178; font-size: 7px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.brPlanningDefaultHoursGrid input,.brPlanningDefaultHoursGrid button { min-height: 42px; padding: 7px 8px; border: 1px solid #d8dde1; border-radius: 6px; background: #fff; color: #20262b; font: inherit; }
.brPlanningDefaultHoursGrid input { position: relative; z-index: 1; width: 100%; min-width: 0; }
.brPlanningDefaultHoursGrid button { border-color: #171c21; background: #171c21; color: #fff; cursor: pointer; font-size: 7px; font-weight: 950; }
.brPlanningDefaultHoursGrid input:focus-visible,.brPlanningDefaultHoursGrid button:focus-visible,.brPlanningDefaultHours > summary:focus-visible { outline: 3px solid #d4b24f; outline-offset: 2px; }
.brPlanningDefaultHours > p { margin: 0; padding: 0 18px 13px; background: #f8f9fa; color: #747c83; font-size: 8px; line-height: 1.45; }
.brPlanningDragHint { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 18px; border-bottom: 1px solid #e5e8eb; background: #f8f9fa; color: #747c83; font-size: 8px; }
.brPlanningDragHint span { color: #9a781b; font-size: 17px; }
.brPlanningDragHint strong { color: #3d444a; font-size: inherit; }
.brPlanningOrderStatus { min-height: 0; padding: 0 18px; background: #fff; color: #317054; font-size: 8px; font-weight: 850; text-align: right; transition: min-height .18s,padding .18s; }
.brPlanningOrderStatus:not(:empty) { min-height: 30px; padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid #e5e8eb; }
.brPlanningOrderStatus.isError { color: #9b2d35; }
.brPlanningScroll,.brBookingPlanningScroll { position: relative; width: 100%; height: clamp(280px,68vh,820px); height: clamp(280px,68dvh,820px); max-width: 100%; overflow: auto; overflow-x: auto; overflow-y: auto; cursor: grab; touch-action: pan-x pan-y; overscroll-behavior: contain; scrollbar-color: #b8bec3 #edf0f2; scrollbar-gutter: stable; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.brPlanningScroll::-webkit-scrollbar { width: 12px; height: 12px; }
.brPlanningScroll::-webkit-scrollbar-track { background: #edf0f2; }
.brPlanningScroll::-webkit-scrollbar-thumb { border: 3px solid #edf0f2; border-radius: 999px; background: #aeb5bb; }
.brPlanningScroll.isDragging,.brPlanningScroll.is-dragging,.brBookingPlanningScroll.isDragging { cursor: grabbing; user-select: none; }
.brPlanningGrid,.brBookingPlanningGrid { width: max-content; min-width: 100%; border-spacing: 0; border-collapse: separate; table-layout: fixed; background: #fff; color: #20262b; }
.brBookingPlanningGrid thead,.brPlanningGrid thead { position: static; }
.brPlanningGrid th,.brPlanningGrid td { height: 144px; padding: 11px; border-right: 1px solid #e0e4e7; border-bottom: 1px solid #e0e4e7; vertical-align: top; }
.brPlanningGrid thead th { position: sticky; z-index: 7; top: 0; height: 76px; padding: 10px; background: #f3f5f6; vertical-align: middle; box-shadow: 0 5px 10px -9px rgba(20,25,29,.8); }
.brPlanningGrid tr:last-child > * { border-bottom: 0; }
.brPlanningGrid tr > *:last-child { border-right: 0; }
.brPlanningGrid-month th,.brPlanningGrid-month td { height: 122px; }
.brPlanningDate,.brBookingPlanningDate { position: sticky; left: 0; z-index: 4; width: 88px; min-width: 88px; max-width: 88px; background: #fff; color: #8e6f1a; font-size: 12px; text-align: center; vertical-align: middle !important; }
.brPlanningDay { position: sticky; left: 88px; z-index: 4; width: 116px; min-width: 116px; max-width: 116px; background: #f8f9fa; color: #30363b; font-size: 10px; font-weight: 900; text-align: center; vertical-align: middle !important; box-shadow: 8px 0 12px -12px rgba(20,25,29,.6); }
.brPlanningGrid thead .brPlanningDate,.brPlanningGrid thead .brPlanningDay { z-index: 8; background: #eef1f3; color: #695415; font-size: 9px; letter-spacing: .1em; }
.brPlanningVenue,.brPlanningCell { width: 244px; min-width: 244px; max-width: 244px; }
.brPlanningVenue { text-align: center; transition: opacity .16s,background .16s; }
.brPlanningVenueHead { display: grid; grid-template-columns: 36px minmax(0,1fr) 36px; align-items: center; gap: 3px; }
.brPlanningVenueHead::after { content: ''; width: 36px; }
.brPlanningVenue a { display: block; overflow: hidden; color: #20262b; font-size: 10px; font-weight: 950; letter-spacing: .04em; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.brPlanningVenue a:hover { color: #8a6b18; }
.brPlanningColumnHandle { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid #d7dce0; border-radius: 7px; background: #fff; color: #7c848b; cursor: grab; touch-action: none; }
.brPlanningColumnHandle:hover { border-color: #b99a43; background: #fffaf0; color: #6c5515; }
.brPlanningColumnHandle[aria-pressed="true"] { border-color: #b38b1f; background: #f7ebc9; color: #513f0f; cursor: grabbing; }
.brPlanningSync { display: block; margin-top: 5px; color: #858d93; font-size: 7px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.brPlanningSync-succeeded,.brPlanningSync-success { color: #317054; }
.brPlanningSync-running { color: #927018; }
.brPlanningSync-failed { color: #9b2d35; }
.brPlanningCell { background: #fff; transition: opacity .16s,background .16s; }
.brPlanningCell-canCreate { cursor: pointer; }
.brPlanningCell-canCreate:hover { background: #fffdf7; }
.brPlanningCell-canCreate:focus-visible { position: relative; z-index: 2; outline: 3px solid #d4b24f; outline-offset: -4px; }
.brPlanningCellState { display: block; margin-bottom: 7px; padding: 5px 7px; border-radius: 5px; background: #f1f3f4; color: #788087; font-size: 7px; font-weight: 850; text-align: center; text-transform: uppercase; }
.brPlanningCellState.isHolidayEve { background: #fff3ce; color: #765600; }
.brPlanningBooking { display: grid; gap: 6px; min-height: 90px; padding: 10px; border: 1px solid #dde2e5; border-left: 4px solid #d4b24f; border-radius: 7px; background: #fafbfc; box-shadow: 0 3px 9px rgba(24,31,36,.04); }
.brPlanningBooking + .brPlanningBooking { margin-top: 8px; }
.brPlanningBookingTop { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.brPlanningBooking time { color: #6c5514; font-size: 11px; font-weight: 950; }
.brPlanningBookingTop span { padding: 4px 5px; border-radius: 999px; background: #eee8d6; color: #6b5517; font-size: 6px; font-weight: 900; text-transform: uppercase; }
.brPlanningBooking b { overflow: hidden; color: #20262b; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; }
.brPlanningBooking p { display: -webkit-box; overflow: hidden; margin: 0; color: #737b82; font-size: 8px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.brPlanningBooking > footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.brPlanningBooking > footer small { color: #92999e; font-size: 6px; font-weight: 850; letter-spacing: .05em; }
.brPlanningBooking-pending { border-left-color: #dc8745; }
.brPlanningBooking-pending .brPlanningBookingTop span { background: #fff0de; color: #7e4b16; }
.brPlanningBooking-completed { border-left-color: #4c9670; background: #f7fbf9; }
.brPlanningBooking-cancelled { border-left-color: #b84a52; background: #fff8f8; }
.brPlanningEdit { padding: 5px 7px; border: 1px solid #cfd5d9; border-radius: 5px; background: #fff; color: #343b40; cursor: pointer; font-size: 7px; font-weight: 850; }
.brPlanningCellEmpty { display: grid; min-height: 58px; place-items: center; color: #a0a6ab; font-size: 7px; font-weight: 850; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.brPlanningAdd { display: flex; width: 100%; min-height: 38px; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding: 8px; border: 1px dashed #bca65f; border-radius: 7px; background: #fffdf7; color: #674f12; cursor: pointer; font-size: 8px; font-weight: 900; }
.brPlanningAdd span { font-size: 15px; line-height: 1; }
.brPlanningAdd:hover { border-style: solid; background: #fff7df; }
.brPlanningAdd:disabled { border-color: #d8dcdf; background: #f4f5f6; color: #9aa1a6; cursor: not-allowed; }
.brPlanningColumnSource { background: #fff9e8 !important; opacity: .42; }
.brPlanningDropIndicator { position: absolute; z-index: 12; top: 0; width: 3px; border-radius: 999px; background: #c69c24; box-shadow: 0 0 0 3px rgba(198,156,36,.13); pointer-events: none; }
.brPlanningDropIndicator::before { position: absolute; top: 0; left: 50%; content: ''; border: 7px solid transparent; border-top-color: #c69c24; transform: translateX(-50%); }
.brPlanningColumnGhost { position: fixed; z-index: 1000; display: grid; min-width: 210px; min-height: 62px; place-items: center; padding: 12px 16px; border: 2px solid #c69c24; border-radius: 9px; background: rgba(255,255,255,.97); box-shadow: 0 18px 45px rgba(22,27,31,.24); color: #20262b; font-size: 11px; font-weight: 950; pointer-events: none; transform: translate(-50%,-50%); }
.brPlanningDialog { width: min(680px,calc(100vw - 26px)); max-height: calc(100vh - 28px); padding: 0; overflow: auto; border: 0; border-radius: 14px; background: transparent; box-shadow: 0 28px 90px rgba(10,14,17,.35); }
.brPlanningDialog::backdrop { background: rgba(14,19,22,.7); backdrop-filter: blur(2px); }
.brPlanningDialogCard { overflow: hidden; border-radius: 14px; background: #fff; }
.brPlanningDialogCard > header { position: static; display: flex; height: auto; align-items: flex-start; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid #e1e5e8; background: #f7f8f9; }
.brPlanningDialogCard > header div { display: grid; gap: 4px; }
.brPlanningDialogCard > header span { color: #8a6b18; font-size: 7px; font-weight: 950; letter-spacing: .14em; }
.brPlanningDialogCard > header h2 { margin: 0; font-size: 18px; }
.brPlanningDialogCard > header button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #d5dade; border-radius: 50%; background: #fff; color: #4e565d; cursor: pointer; font-size: 20px; }
.brPlanningBookingForm { display: grid; gap: 16px; padding: 20px 22px 16px; }
.brPlanningFormGrid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.brPlanningFormGrid label,.brPlanningDjPicker { min-width: 0; margin: 0; color: #50585f; font-size: 9px; font-weight: 850; }
.brPlanningFormGrid input,.brPlanningFormGrid select,.brPlanningFormGrid textarea { display: block; width: 100%; min-height: 42px; margin-top: 6px; padding: 9px 10px; border: 1px solid #d5dade; border-radius: 7px; background: #fff; color: #20262b; font: inherit; font-weight: 500; }
.brPlanningFormGrid input:disabled { background: #f3f5f6; color: #7c848a; }
.brPlanningNotes { grid-column: 1 / -1; }
.brPlanningFormGrid textarea { min-height: 78px; resize: vertical; }
.brPlanningDjPicker { padding: 13px; border: 1px solid #dce1e4; border-radius: 9px; }
.brPlanningDjPicker legend { padding: 0 6px; color: #20262b; font-size: 10px; font-weight: 950; }
.brPlanningDjChoice input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; accent-color: #9a7718; }
.brPlanningDjChoices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-top: 10px; }
.brPlanningDjChoices > p { grid-column: 1 / -1; margin: 0; padding: 12px; color: #858d93; font-size: 8px; text-align: center; }
.brPlanningDjChoice { display: flex; min-width: 0; align-items: center; gap: 7px; padding: 8px; border: 1px solid #dfe3e6; border-radius: 7px; background: #fff; cursor: pointer; }
.brPlanningDjChoice:has(input:checked) { border-color: #b79532; background: #fff8e4; }
.brPlanningDjChoice:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.brPlanningDjChoice span { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.brPlanningFormHint { color: #81898f; font-size: 8px; }
.brPlanningBookingForm > footer { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.brPlanningBookingForm > footer button { min-height: 42px; padding: 10px 15px; }
.brPlanningCancel { border: 1px solid #d3d8dc; border-radius: 6px; background: #fff; color: #4e565d; cursor: pointer; font-size: 9px; font-weight: 850; }
.brPlanningDeleteForm { padding: 0 22px 20px; }
.brPlanningDeleteForm button { border: 0; background: transparent; color: #a12d35; cursor: pointer; font-size: 8px; font-weight: 850; }
.brPlanningEmpty { display: grid; gap: 6px; min-height: 260px; place-content: center; padding: 30px; background: #fff; text-align: center; }
.brPlanningEmpty b { color: #20262b; font-size: 14px; }
.brPlanningEmpty span { color: #828a90; font-size: 9px; }

.brAutoVideoHub { display: grid; gap: 14px; margin: 26px 0 36px; color: #20262b; }
.brAutoVideoHubTitle { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 4px 2px; }
.brAutoVideoHubTitle > div { display: grid; gap: 5px; }
.brAutoVideoHubTitle small,.brAutoVideoModuleHead small,.brAutoVideoBatch small { color: #927017; font-size: 8px; font-weight: 950; letter-spacing: .16em; }
.brAutoVideoHubTitle h2,.brAutoVideoBatch h2 { margin: 0; color: #171c21; font-size: clamp(21px,2.2vw,31px); letter-spacing: -.04em; text-transform: uppercase; }
.brAutoVideoHubTitle p,.brAutoVideoBatch p { max-width: 760px; margin: 0; color: #717981; font-size: 10px; line-height: 1.5; }
.brAutoVideoHubTitle > span { flex: 0 0 auto; padding: 8px 11px; border: 1px solid #d7dce0; border-radius: 999px; background: #fff; color: #3f474d; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.brAutoVideoVenueList { display: grid; gap: 9px; }
.brAutoVideoVenue { overflow: hidden; border: 1px solid #dce1e4; border-radius: 11px; background: #fff; box-shadow: 0 8px 24px rgba(24,31,36,.05); }
.brAutoVideoVenue > summary { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 70px; padding: 12px 16px; cursor: pointer; list-style: none; }
.brAutoVideoVenue > summary::-webkit-details-marker { display: none; }
.brAutoVideoVenue > summary:hover { background: #fffdf7; }
.brAutoVideoVenue[open] > summary { border-bottom: 1px solid #e1e5e8; background: #f8f9fa; }
.brAutoVideoVenue > summary > div { display: grid; min-width: 0; gap: 4px; }
.brAutoVideoVenue > summary b { overflow: hidden; font-size: 13px; font-weight: 950; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.brAutoVideoVenue > summary small { color: #757d84; font-size: 8px; }
.brAutoVideoVenue > summary em { padding: 7px 9px; border: 1px solid #d5dade; border-radius: 6px; color: #715815; font-size: 7px; font-style: normal; font-weight: 950; letter-spacing: .08em; }
.brAutoVideoRank { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #171c21; color: #e6c765; font-size: 11px; font-weight: 950; }
.brAutoVideoVenue.isDisabled { box-shadow: none; opacity: .68; }
.brAutoVideoVenue.isDisabled > summary { cursor: default; }
.brAutoVideoVenue.isDisabled .brAutoVideoRank { background: #d7dce0; color: #70787f; }
.brAutoVideoLoader { padding: 18px; background: #f4f6f7; }
.brAutoVideoLoading,.brAutoVideoDisabled,.brAutoVideoError { margin: 0; padding: 20px; border: 1px solid #dfe3e6; border-radius: 8px; background: #fff; color: #747c83; font-size: 9px; font-weight: 750; text-align: center; }
.brAutoVideoError { border-color: #e1b4b7; background: #fff8f8; color: #8d252d; }
.brAutoVideoModule { display: grid; gap: 14px; }
.brAutoVideoModuleHead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 15px; border-radius: 8px; background: #171c21; color: #fff; }
.brAutoVideoModuleHead > div { display: grid; gap: 3px; }
.brAutoVideoModuleHead h3 { margin: 0; font-size: 17px; text-transform: uppercase; }
.brAutoVideoModuleHead > span { padding: 6px 8px; border-radius: 999px; background: #30363b; color: #e5c763; font-size: 8px; font-weight: 900; }
.brAutoVideoVenueLogo { grid-column: auto; grid-template-columns: 110px minmax(190px,.8fr) minmax(320px,1.2fr); align-items: center; gap: 16px; padding: 15px; background: #fff; box-shadow: 0 8px 24px rgba(24,31,36,.05); }
.brAutoVideoVenueLogo .venueLogoPreview { grid-row: auto; width: 110px; min-height: 92px; }
.brAutoVideoVenueLogo .venueLogoPreview img { height: 92px; }
.brAutoVideoVenueLogo .venueLogoUpload { grid-template-columns: minmax(0,1fr) auto; align-items: end; }
.brAutoVideoVenueLogo .venueLogoUpload .primary { width: auto; min-width: 145px; }
.brAutoVideoModule > .panel { margin: 0; }
.brAutoVideoModule .grid { grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); }
.brAutoVideoBatch { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.8fr); align-items: center; gap: 30px; margin-top: 10px; padding: 24px; border: 1px solid #d3d8dc; border-top: 5px solid #d4b24f; border-radius: 11px; background: #fff; box-shadow: 0 12px 34px rgba(24,31,36,.08); }
.brAutoVideoBatch > div:first-child { display: grid; gap: 5px; }
.brAutoVideoBatchActions { display: grid; grid-template-columns: 1fr; gap: 9px; }
.brAutoVideoBatchActions a,.brAutoVideoBatchActions button { display: flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 16px; border: 2px solid #171c21; border-radius: 7px; background: #171c21; color: #fff; cursor: pointer; font-size: 9px; font-weight: 950; text-align: center; text-decoration: none; text-transform: uppercase; }
.brAutoVideoBatchActions a + a,.brAutoVideoBatchActions button + button { border-color: #b38c20; background: #fff; color: #5e4912; }
.brAutoVideoBatchActions a:hover { transform: translateY(-1px); }
.brAutoVideoBatchActions button:disabled { border-color: #d7dce0; background: #eef0f2; color: #9aa1a6; cursor: not-allowed; }

.clientOperationsGrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.clientOperationsGrid > .panel { margin: 0; padding: 0; overflow: hidden; }
.clientAccountBody { display: grid; gap: 16px; padding: 18px; }
.clientAccountBody dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0; }
.clientAccountBody dl div { min-width: 0; padding: 12px; border-radius: 7px; background: #f4f6f7; }
.clientAccountBody dt { color: #7b838a; font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.clientAccountBody dd { overflow: hidden; margin: 6px 0 0; font-size: 10px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.clientAccountActions { display: flex; flex-wrap: wrap; gap: 8px; }
.clientAccountActions form { margin: 0; }
.clientAccountActions button,.clientAccountCreate button,.clientAccountPassword button { min-height: 42px; padding: 10px 13px; border-radius: 6px; cursor: pointer; font-size: 8px; font-weight: 900; }
.dangerButton { border: 1px solid #c7a0a3; background: #fff; color: #8f252d; }
.clientAccountCreate { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; align-items: end; gap: 12px; padding: 18px; }
.clientAccountCreate label,.clientAccountPassword label { display: grid; gap: 6px; color: #555d64; font-size: 9px; font-weight: 850; }
.clientAccountCreate input,.clientAccountPassword input { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #d4d9de; border-radius: 7px; }
.clientAccountCreate small { color: #7a8289; font-size: 8px; font-weight: 500; }
.clientAccountPassword { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) auto; align-items: end; gap: 12px; width: 100%; padding-top: 14px; }
.clientAccountUnavailable { display: grid; gap: 7px; padding: 18px; }
.clientAccountUnavailable b { color: #76591c; font-size: 9px; letter-spacing: .08em; }
.clientAccountUnavailable span { color: #747c83; font-size: 9px; line-height: 1.45; }
.clientAccountUnavailable button { justify-self: start; min-height: 40px; margin-top: 5px; padding: 9px 12px; border: 1px solid #d7dadd; border-radius: 6px; background: #eef0f2; color: #9ba1a6; font-size: 8px; font-weight: 900; cursor: not-allowed; }
.clientSyncBody { display: grid; grid-template-columns: .7fr .7fr 1.2fr; gap: 1px; padding: 18px; background: #e0e4e7; }
.clientSyncBody > div { display: grid; gap: 5px; min-width: 0; padding: 13px; background: #f7f8f9; }
.clientSyncBody b { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.clientSyncBody span { color: #747c83; font-size: 7px; font-weight: 850; letter-spacing: .08em; }
.clientSyncBody form { grid-column: 1 / -1; margin: 13px 0 0; background: #fff; }
.clientSyncBody form .primary { width: 100%; min-height: 44px; }
.tenantAccessChoice.isDisabled { opacity: .52; cursor: not-allowed; }

.credentialsReveal { max-width: 780px; margin: 30px auto; padding: 32px; border: 1px solid #2b3035; border-top: 8px solid var(--gold); border-radius: 10px; background: #171c21; color: #fff; box-shadow: 0 20px 55px #1113; }
.credentialsReveal > span { color: #e5c763; font-size: 8px; font-weight: 950; letter-spacing: .17em; }
.credentialsReveal h2 { margin: 8px 0 6px; font-size: 25px; }
.credentialsReveal > p { margin: 0; color: #aeb5bc; font-size: 10px; }
.credentialsReveal dl { display: grid; gap: 10px; margin: 24px 0; }
.credentialsReveal dl div { display: grid; gap: 7px; padding: 16px; border: 1px solid #3d444b; border-radius: 7px; background: #101418; }
.credentialsReveal dt { color: #929ba3; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.credentialsReveal dd { margin: 0; }
.credentialsReveal code { display: block; overflow-wrap: anywhere; color: #fff; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 16px; }
.credentialsReveal .primary { display: inline-flex; padding: 13px 16px; background: var(--gold); color: #16130b; text-decoration: none; }

.portalLogin main { min-height: auto; margin: 0; }
.portalLogin form { border-top: 7px solid var(--gold); }
.portalLogin h1 { font-family: Inter,Arial,sans-serif; font-weight: 950; letter-spacing: -.06em; }
.portalLogin h1 em { font-style: normal; }
.loginError { padding: 10px 11px; border-left: 4px solid #a92f38; border-radius: 4px; background: #fff0f1; color: #8b2028 !important; font-weight: 800; }

.portalReadOnly { min-width: 320px; background: #f1f3f4; color: #151a1e; }
.portalHeader {
  position: static;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 25px;
  height: auto;
  min-height: 86px;
  padding: 17px clamp(18px,4vw,58px);
  border: 0;
  border-bottom: 1px solid #2c3237;
  background: #101418;
  color: #fff;
}
.portalBrand { color: #fff; font-size: 17px; font-weight: 950; letter-spacing: -.04em; text-decoration: none; }
.portalBrand em { color: var(--gold); font-style: normal; }
.portalHeader > div { display: grid; gap: 4px; padding-left: 24px; border-left: 1px solid #3a4147; }
.portalHeader > div span { color: #aaa; font-size: 7px; font-weight: 850; letter-spacing: .13em; }
.portalHeader h1 { overflow: hidden; margin: 0; font-size: 18px; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.portalHeader form { margin: 0; }
.portalHeader button,.portalBack { padding: 10px 12px; border: 1px solid #666d73; border-radius: 5px; background: transparent; color: #fff; cursor: pointer; font-size: 8px; font-weight: 850; text-decoration: none; }
.portalMain { max-width: 1440px; min-height: calc(100vh - 86px); margin: 0 auto; padding: clamp(18px,3vw,42px); }
.portalIntro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.portalIntro > div:first-child { display: grid; gap: 4px; }
.portalIntro > div:first-child span { color: #8a6c18; font-size: 8px; font-weight: 950; letter-spacing: .13em; }
.portalIntro h2 { margin: 0; font-size: clamp(23px,3vw,36px); text-transform: uppercase; }
.portalIntro p { margin: 0; color: #747c83; font-size: 10px; }
.portalModules { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.portalModules span,.portalModules a { padding: 7px 9px; border: 1px solid #d2d6da; border-radius: 999px; background: #fff; color: #545d64; font-size: 8px; font-weight: 900; text-decoration: none; }
.portalModules a { border-color: #b9983e; background: #171c21; color: #fff; }
.portalModules a:hover,.portalModules a:focus-visible { border-color: var(--gold); background: #2a3137; outline: 2px solid #d4b24f55; outline-offset: 2px; }
.portalPeriod { display: grid; grid-template-columns: 40px 1fr 40px; gap: 8px; margin-bottom: 12px; }
.portalPeriod > a { display: grid; place-items: center; border: 1px solid #d6dade; border-radius: 6px; background: #fff; color: #161b1f; text-decoration: none; }
.portalPeriod > div { display: grid; grid-template-columns: repeat(2,1fr); padding: 4px; border-radius: 7px; background: #dfe3e6; }
.portalPeriod > div a { padding: 9px; border-radius: 5px; color: #6d757c; font-size: 8px; font-weight: 900; text-align: center; text-decoration: none; }
.portalPeriod > div a.active { background: #101418; color: #fff; }
.portalModuleEmpty { display: grid; place-items: center; min-height: 260px; padding: 36px; border: 1px solid #d7dbde; border-radius: 10px; background: #fff; text-align: center; }
.portalModuleEmpty b { color: #171b1f; font-size: 16px; letter-spacing: .08em; }
.portalModuleEmpty p { max-width: 430px; margin: -22px 0 0; color: #747c83; font-size: 10px; }
.portalWeek { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 10px; }
.portalWeekDay { overflow: hidden; min-height: 180px; border: 1px solid #dce0e3; border-radius: 8px; background: #fff; }
.portalWeekDay > header { position: static; display: flex; justify-content: space-between; height: auto; padding: 12px 14px; border-bottom: 1px solid #e5e8ea; background: #171c21; color: #fff; }
.portalWeekDay > header span { font-size: 9px; font-weight: 900; text-transform: uppercase; }
.portalWeekDay > header b { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--gold); color: #1b180f; font-size: 8px; }
.portalWeekDay > div { display: grid; gap: 7px; padding: 9px; }
.portalWeekDay > div > p { margin: 45px 0; color: #a1a7ac; font-size: 8px; text-align: center; }
.portalBooking { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border: 1px solid #e1e5e8; border-left: 4px solid var(--gold); border-radius: 5px; background: #fafbfc; }
.portalBooking > div { display: grid; min-width: 0; gap: 4px; }
.portalBooking b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.portalBooking span { color: #727a81; font-size: 7px; }
.portalBookingStatus { flex: 0 0 auto; padding: 4px 5px; border-radius: 999px; background: #e8f5ec; color: #25643b; font-size: 6px; font-style: normal; font-weight: 900; }
.portalBookingStatus-pending,.portalBookingStatus-unknown { background: #f4eddb; color: #775a13; }
.portalMonth { overflow: hidden; border: 1px solid #d9dde1; border-radius: 9px; background: #d9dde1; }
.portalMonthHead { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 1px; }
.portalMonthHead b { padding: 10px; background: #171c21; color: #fff; font-size: 7px; text-align: center; }
.portalMonthGrid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 1px; }
.portalMonthBlank { min-height: 130px; background: #e9ecee; }
.portalMonthDay { min-width: 0; min-height: 130px; padding: 7px; background: #fff; }
.portalMonthDay > time { display: grid; place-items: center; width: 23px; height: 23px; margin-bottom: 6px; border-radius: 50%; color: #576067; font-size: 8px; font-weight: 900; }
.portalMonthDay > div { display: grid; gap: 5px; }
.portalBookingCompact { display: grid; gap: 5px; padding: 7px; }
.portalBookingCompact .portalBookingStatus { justify-self: start; }
.portalFooter { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 14px; border-top: 1px solid #d7dbde; }
.portalFooter span { font-size: 9px; font-weight: 950; }
.portalFooter p { margin: 0; color: #777f86; font-size: 8px; text-align: right; }

.weeklyDownloads { margin-bottom: 0; }

.weeklyBatchTools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid #e3e6e9;
  border-radius: 8px;
  background: #fafbfc;
}

.weeklyGenerateVideos {
  min-height: 50px;
  padding: 11px 18px;
  border-radius: 7px;
  border: 2px solid var(--gold);
  background: #fff;
  color: #17130a;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}
.weeklyGenerateVideos:disabled { opacity: .42; cursor: not-allowed; }
.weeklyGenerateVideos small { display: block; margin-top: 4px; font-size: 8px; font-weight: 700; opacity: .78; }

.weeklyDownloadSummary,
.weeklyDownloadState {
  margin: 0;
  color: #727a81;
  font-size: 9px;
  line-height: 1.45;
}

.weeklyDownloadState { min-height: 14px; margin: 8px 0; color: #187d56; font-weight: 800; }
.weeklyGenerationProgress {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid #dcc778;
  border-radius: 7px;
  background: #fffaf0;
}
.weeklyGenerationProgress[hidden] { display: none; }
.weeklyGenerationProgress>div { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #332d1d; font-size: 10px; }
.weeklyGenerationProgress strong { font-size: 11px; }
.weeklyGenerationProgress span { min-width: 48px; color: #725d1f; font-weight: 900; text-align: right; }
.weeklyGenerationProgress progress { width: 100%; height: 12px; margin-top: 8px; accent-color: var(--gold); }
.weeklyGenerationProgress.isComplete { border-color: #95ceb5; background: #f1fbf6; }
.batchDownloadLocked { pointer-events: none !important; opacity: .42 !important; cursor: not-allowed !important; }

.weeklyDownloadList { display: grid; gap: 9px; }
.weeklyDownloadRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  align-items: center;
  gap: 16px;
  padding: 12px 13px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #fff;
}
.weeklyDownloadIdentity { min-width: 0; }
.weeklyDownloadIdentity strong,
.weeklyDownloadIdentity span { display: block; }
.weeklyDownloadIdentity strong { color: #20252a; font-size: 12px; text-transform: capitalize; }
.weeklyDownloadIdentity span { overflow: hidden; margin-top: 4px; color: #737b82; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.weeklyRowActions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.weeklyFileAction {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.weeklyFlyerAction { background: #171c21; color: #fff; }
.weeklyVideoAction { background: var(--gold); color: #17130a; }
.weeklyFileAction.isDisabled,
.weeklyFileAction:disabled { background: #e4e7ea; color: #92999f; cursor: not-allowed; }

.panelhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.panelhead h2 {
  margin: 0;
  font-size: 17px;
}

.panelhead p {
  margin: 4px 0 0;
  color: #7d848b;
  font-size: 10px;
}

.panelhead > span,
.status {
  padding: 5px 8px;
  border-radius: 12px;
  background: #e8f5ee;
  color: #187d56;
  font-size: 8px;
  font-weight: 800;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.flyerCard {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  scroll-margin-top: 76px;
  background: #07152d;
  isolation: isolate;
}

.youtubeFormatBadge { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:0 0 18px; padding:14px 18px; border-radius:12px; background:#0d1117; color:#fff; }
.youtubeFormatBadge b { color:var(--gold); font-size:12px; letter-spacing:.12em; }
.youtubeFormatBadge span { font-size:11px; font-weight:800; }
.youtubeGrid { grid-template-columns:repeat(auto-fill,minmax(420px,1fr)); }
.flyerCardLandscape { grid-column:auto; }
.posterLandscape { aspect-ratio:16 / 9; }
.posterLandscape .referenceFlyer,.posterLandscape .exactLayer,.posterLandscape .backgroundContour,.posterLandscape .finalReference { object-fit:contain; }
.brYoutubeModule { border-top:4px solid #c9a83f; }

.referenceFlyer,
.exactLayer,
.backgroundContour,
.finalReference {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
}

.exactLayer {
  pointer-events: none;
  user-select: none;
}

.exactLayer.accessGuard,
.poster.playing .exactLayer.accessGuard {
  z-index: 101 !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

.exactStack,
.backgroundFxStack,
.visualLayerPlacement,
.backgroundContourWindow,
.whiteLightFx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-origin: center;
}

.exactStack { isolation: isolate; }

.visualLayerPlacement {
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}

.visualLayerPlacement .exactLayer { z-index: 1 !important; }

.backgroundFxStack {
  z-index: 1;
  will-change: transform;
}

.backgroundContourWindow {
  z-index: 2;
  pointer-events: none;
}

.backgroundContour {
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.finalReference {
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.poster.playing .backgroundFxStack:not(.zoomDisabled) {
  animation: backgroundBreath var(--background-zoom-period, 7s) ease-in-out infinite both;
}

.poster.playing .backgroundContourWindow:not(.effectDisabled) {
  animation: contourActiveWindow var(--active-duration, 7s) linear 1 both;
}

.poster.playing .backgroundContourWindow:not(.effectDisabled) .backgroundContour {
  animation: contourLightPattern var(--light-pattern-duration, 7s) linear infinite;
}

.poster.playing .finalReference {
  animation: finalReferenceReveal 1ms steps(1, end) var(--final-still-delay, 7s) 1 forwards;
}

.backgroundContourWindow.effectDisabled { display: none; }

.whiteLightFx {
  z-index: 100;
  pointer-events: none;
  isolation: isolate;
}

.whiteLightSweep {
  position: absolute;
  display: block;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: opacity, transform;
}

.whiteLightSweepA {
  top: -8%;
  left: -76%;
  width: 76%;
  height: 116%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.06) 21%, rgba(255,255,255,.45) 43%, rgba(255,255,255,.78) 52%, rgba(255,255,255,.16) 70%, transparent 100%);
  filter: blur(9px);
  transform: rotate(-13deg);
}

.whiteLightSweepB {
  top: 7%;
  left: 100%;
  width: 122%;
  height: 86%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.52) 0%, rgba(255,255,255,.31) 20%, rgba(255,255,255,.12) 49%, rgba(255,255,255,.035) 69%, transparent 82%);
  filter: blur(13px);
}

.poster.playing .whiteLightFx:not(.effectDisabled) .whiteLightSweepA {
  animation: whiteLightPassA var(--white-light-first-duration, 1.2s) linear calc(var(--final-still-delay, 7s) + var(--white-light-first-offset, .05s)) 1 both;
}

.poster.playing .whiteLightFx:not(.effectDisabled) .whiteLightSweepB {
  animation: whiteLightPassB var(--white-light-second-duration, 1.15s) linear calc(var(--final-still-delay, 7s) + var(--white-light-second-offset, 1.35s)) 1 both;
}

.whiteLightFx.effectDisabled { display: none; }

.exactFlyerMissing {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
}

.poster[aria-busy="true"]::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 100;
  padding: 6px 9px;
  border: 1px solid #ffffff55;
  border-radius: 20px;
  background: #101418cc;
  color: #fff;
  content: "Chargement des calques…";
  font-size: 8px;
}

.poster.playing .exactLayer.motion-fade,
.poster.playing .exactLayer.motion-zoom,
.poster.playing .exactLayer.motion-rise,
.poster.playing .exactLayer.motion-slide,
.poster.playing .exactLayer.motion-pulse {
  animation-delay: var(--motion-delay, 0s);
  animation-duration: var(--motion-duration, 1s);
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

.poster.playing .exactLayer.motion-fade {
  animation-name: layerFade;
  animation-timing-function: ease-out;
}

.poster.playing .exactLayer.motion-zoom {
  animation-name: layerZoom;
  animation-timing-function: ease-in-out;
}

.poster.playing .exactLayer.motion-rise {
  animation-name: layerRise;
  animation-timing-function: cubic-bezier(.2, .8, .2, 1);
}

.poster.playing .exactLayer.motion-slide {
  animation-name: layerSlidePosition, layerSlideOpacity;
  animation-timing-function: cubic-bezier(.333333, 0, .666667, 1), linear;
}

.poster.playing .exactLayer.motion-pulse {
  animation-name: layerPulse;
  animation-timing-function: ease-in-out;
}

@keyframes layerFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes layerZoom {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes layerRise {
  from { opacity: 0; transform: translateY(12%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes layerSlidePosition {
  from { transform: translateX(-18%); }
  to { transform: translateX(0); }
}

@keyframes layerSlideOpacity {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes layerPulse {
  0% { opacity: 0; transform: scale(.92); }
  65% { opacity: 1; transform: scale(1.045); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes backgroundBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(var(--background-zoom-scale, 1.15)); }
}

/* Motif V6 validé : un passage plein puis un passage à demi-intensité en 7 s. */
@keyframes contourLightPattern {
  0%, 4.285% { opacity: 0; }
  21.429%, 32.857% { opacity: 1; }
  50%, 55.714% { opacity: 0; }
  72.857%, 78.571% { opacity: .5; }
  97.143%, 100% { opacity: 0; }
}

@keyframes contourActiveWindow {
  0%, 99.9% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes finalReferenceReveal {
  from, to { opacity: 1; }
}

/* V4 validé : large passage blanc, second voile plus doux, puis fin propre. */
@keyframes whiteLightPassA {
  0% { opacity: 0; transform: translate3d(0,0,0) rotate(-13deg); }
  10% { opacity: var(--white-light-first-opacity, 1); }
  85.833% { opacity: var(--white-light-first-opacity, 1); }
  100% { opacity: 0; transform: translate3d(232%,0,0) rotate(-13deg); }
}

@keyframes whiteLightPassB {
  0% { opacity: 0; transform: translate3d(0,0,0) rotate(8deg); }
  13.913% { opacity: var(--white-light-second-opacity, 1); }
  75.652% { opacity: var(--white-light-second-opacity, 1); }
  100% { opacity: 0; transform: translate3d(-182%,5%,0) rotate(8deg); }
}

.cardbody { padding: 14px; }

.cardbody h3 {
  margin: 10px 0 4px;
  font-size: 13px;
}

.cardbody > p {
  color: #788087;
  font-size: 10px;
}

.openEditor,
.exportBtn {
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 5px;
  background: #171c21;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
}

.openEditor:disabled,
.exportBtn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.layers {
  margin-top: 13px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.editorTabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 10px;
  padding: 4px;
  border-radius: 7px;
  background: #edf0f2;
}

.editorTabsThree { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.editorTab {
  padding: 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #70777e;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.editorTab.isActive {
  background: #171c21;
  color: #fff;
  box-shadow: 0 2px 8px #10141820;
}

.editorTab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.editorTabPanel[hidden] { display: none; }

.visualLayoutPanel { display: grid; gap: 10px; }

.visualLayoutChoices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.visualLayoutChoices button,
.visualLayoutActions button,
.visualLayoutFooter button {
  min-height: 34px;
  border: 1px solid #d7dbdf;
  border-radius: 6px;
  background: #fff;
  color: #30363b;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
}

.visualLayoutChoices button {
  flex: 1 1 86px;
  padding: 7px 9px;
}

.visualLayoutChoices button[aria-pressed="true"] {
  border-color: #9c7b1d;
  background: #171c21;
  color: #f3d77a;
}

.visualLayoutTools {
  display: grid;
  gap: 9px;
  padding: 11px;
  border: 1px solid #e0e3e5;
  border-radius: 7px;
  background: #f8f9fa;
}

.visualLayoutTools[hidden] { display: none; }

.visualLayoutTools > label {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) 42px;
  align-items: center;
  gap: 8px;
  color: #353a3f;
  font-size: 8px;
  font-weight: 900;
}

.visualLayoutTools output,
.visualLayoutTools small,
.visualLayoutState {
  color: #747b81;
  font-size: 8px;
  font-weight: 800;
}

.visualLayoutActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.visualLayoutActions button { padding: 7px; }
.visualLayoutActions button:disabled { opacity: .38; cursor: not-allowed; }

.visualLayoutFooter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 7px;
}

.visualLayoutFooter button { padding: 8px; }
.visualLayoutFooter button.primary { border-color: #171c21; background: #171c21; color: #fff; }
.visualLayoutState { min-height: 18px; margin: 0; line-height: 1.4; }

.visualLayoutSelection {
  position: absolute;
  z-index: 300;
  display: none;
  border: 2px solid #f3d77a;
  border-radius: 3px;
  outline: 1px solid #15191dbd;
  background: #f3d77a0d;
  box-shadow: 0 0 0 1px #fff9 inset, 0 0 18px #0006;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
}

.poster.visualLayoutEditing .visualLayoutSelection { display: block; }
.poster.visualLayoutEditing .visualLayoutSelection:active { cursor: grabbing; }
.poster.visualLayoutEditing { outline: 3px solid #d2ad43; outline-offset: 2px; }
.poster.visualLayoutEditing:focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px #9c7b1d; }

.whiteLightSetting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 8px;
  border-bottom: 1px solid #edf0f2;
}

.whiteLightCopy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.whiteLightCopy b {
  color: #252a2e;
  font-size: 9px;
}

.whiteLightCopy span,
.whiteLightCopy small {
  color: #737b82;
  font-size: 7px;
  line-height: 1.4;
}

.whiteLightCopy small { color: #969ca1; }

.toggleSwitch {
  position: relative;
  display: block;
  width: 36px;
  height: 21px;
  flex: 0 0 auto;
  cursor: pointer;
}

.toggleSwitch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.toggleSwitch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c9ced3;
  transition: background .18s ease;
}

.toggleSwitch span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px #0003;
  content: "";
  transition: transform .18s ease;
}

.toggleSwitch input:checked + span { background: var(--gold); }
.toggleSwitch input:checked + span::after { transform: translateX(15px); }
.toggleSwitch input:focus-visible + span { outline: 2px solid #7e661f; outline-offset: 2px; }

.whiteLightSample {
  position: relative;
  overflow: hidden;
  height: 52px;
  margin: 9px 8px 2px;
  border-radius: 6px;
  background: linear-gradient(135deg,#09101a,#26323b);
  isolation: isolate;
}

.whiteLightSample i {
  position: absolute;
  top: -55%;
  width: 34%;
  height: 210%;
  background: linear-gradient(90deg,transparent,#ffffffc9,transparent);
  filter: blur(5px);
  opacity: .72;
  transform: rotate(-13deg);
}

.whiteLightSample i:first-child { left: 8%; }
.whiteLightSample i:nth-child(2) { right: 3%; opacity: .36; }
.whiteLightSample span {
  position: absolute;
  right: 8px;
  bottom: 6px;
  z-index: 2;
  color: #ffffffbd;
  font-size: 6px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .7px;
}

.layerControl {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 90px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #edf0f2;
}

.layerControl input { accent-color: var(--gold); }

.layerControl > label {
  min-width: 0;
  font-size: 9px;
  font-weight: 800;
}

.layerControl small {
  display: block;
  margin-top: 2px;
  color: #92989e;
  font-size: 7px;
  font-weight: 400;
}

.layerControl select {
  min-width: 0;
  padding: 5px;
  border: 1px solid #dde1e5;
  background: #fff;
  font-size: 8px;
}

.exactNotice {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 2px 0 7px !important;
  padding: 8px;
  border-left: 3px solid var(--gold);
  background: #fbf8ef;
  color: #555 !important;
  line-height: 1.35;
}

.exactNotice b { color: #28220f; }
.exactNotice span { font-size: 8px; }

.videoDuration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  align-items: center;
  gap: 4px 10px;
  margin-top: 11px;
  color: #353b40;
  font-size: 9px;
  font-weight: 800;
}

.videoDuration select {
  width: 100%;
  padding: 7px;
  border: 1px solid #d8dde2;
  border-radius: 5px;
  background: #fff;
  color: #24292e;
  font-size: 9px;
}

.videoDuration small {
  grid-column: 1 / -1;
  color: #858c92;
  font-size: 7px;
  font-weight: 400;
}

.layerLoadState {
  min-height: 14px;
  margin: 7px 0 !important;
  color: #697178 !important;
  font-size: 8px !important;
}

.videoActions {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.videoActions .exportBtn {
  margin: 0;
  background: var(--gold);
  color: #17130a;
  font-weight: 900;
}

.videoDownload,
.videoPhotos {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 5px;
  background: #171c21;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.videoPhotos { border: 2px solid var(--gold); background: #fff; color: #17130a; }
.videoDownload.isDisabled,
.videoPhotos.isDisabled {
  opacity: .42;
  cursor: not-allowed;
}
.videoPhotosHint { color: #697178; font-size: 8px; line-height: 1.4; text-align: center; }

.exportState {
  min-height: 15px;
  color: #5f686f !important;
  font-size: 8px !important;
  text-align: center;
}

.staticDownload,
.staticUnavailable {
  display: block;
  width: 100%;
  margin-bottom: 7px;
  padding: 10px;
  border: 1px solid #d8dde2;
  border-radius: 5px;
  background: #fff;
  color: #222;
  font-size: 10px;
  text-align: center;
  text-decoration: none;
}

.staticDownload:hover {
  border-color: var(--gold);
  background: #fffaf0;
}

.staticUnavailable { color: #8a9198; }

.flyerGenerateForm { margin: 0 0 7px; }
.generateFlyer {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--gold);
  border-radius: 5px;
  background: #fffaf0;
  color: #5a4815;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.generateFlyer:hover { background: #f6e9bd; }

.flyerQuickSettings {
  margin: 0 0 7px;
  border: 1px solid #d8dde2;
  border-radius: 5px;
  background: #fff;
}
.flyerQuickSettings>summary {
  padding: 10px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  list-style-position: inside;
}
.flyerQuickBody {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
  border-top: 1px solid #edf0f2;
}
.flyerQuickBody p { display: flex; flex-direction: column; margin: 8px 0 0 !important; }
.flyerQuickBody p b { color: #252a2e; font-size: 10px; }
.flyerQuickBody p span { margin-top: 2px; color: #858c92; font-size: 7px; }
.flyerQuickBody form { display: grid; gap: 6px; }
.flyerQuickBody label { color: #555; font-size: 8px; font-weight: 800; }
.flyerQuickBody select,.flyerQuickBody input {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 7px;
  border: 1px solid #d8dde2;
  border-radius: 4px;
  background: #fff;
  font-size: 8px;
}
.partyQuickForm { padding-bottom: 8px; border-bottom: 1px solid #edf0f2; }
.promoStampFields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 8px;
  min-width: 0;
  margin: 2px 0;
  padding: 10px;
  border: 1px solid #e1d5ad;
  border-radius: 6px;
  background: #fffdf6;
}
.promoStampFields legend { padding: 0 5px; color: #5a4815; font-size: 9px; font-weight: 900; }
.promoStampLines { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.promoStampHelp { grid-column: 1 / -1; margin: 0 !important; color: #7d7151 !important; }
.promoStampFields input:disabled { background: #f0f1f2; color: #92989e; }
.promoStampFields input[aria-invalid="true"] { border-color: #b32323; }
.tenantPromoStampForm {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
  padding: 10px;
  border: 1px solid #d7c274;
  border-radius: 7px;
  background: #fffaf0;
}
.tenantPromoStampIntro { display: grid; gap: 3px; }
.tenantPromoStampIntro b { color: #3d3212; font-size: 10px; }
.tenantPromoStampIntro small { color: #776b49; font-size: 8px; line-height: 1.4; }
.tenantPromoStampForm .promoStampFields { margin: 0; background: #fff; }
.tenantPromoStampForm label { color: #555; font-size: 8px; font-weight: 800; }
.tenantPromoStampForm select,
.tenantPromoStampForm input:not([type="hidden"]) {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 7px;
  border: 1px solid #d8dde2;
  border-radius: 4px;
  background: #fff;
  font-size: 8px;
}
.tenantPromoStampForm > button { min-height: 38px; }
.flyerQuickBody button,.quickSettingsLink {
  display: block;
  padding: 8px;
  border: 0;
  border-radius: 4px;
  background: #f3f4f5;
  color: #333;
  cursor: pointer;
  font-size: 8px;
  text-align: center;
  text-decoration: none;
}
.flyerQuickBody button { background: #171c21; color: #fff; }

.assetgrid,
.djgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.assetgrid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.assetgrid img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.assetgrid figcaption {
  padding: 8px;
  font-size: 9px;
}

.fondsCreateForm,
.seriesSettings,
.backgroundUpload,
.backgroundFields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fondsCreateForm { align-items: end; }
.fondsCreateForm label,
.seriesSettings label,
.backgroundUpload label,
.backgroundFields label,
.replaceBackground label {
  color: #555;
  font-size: 9px;
  font-weight: 800;
}
.fondsCreateForm input,.fondsCreateForm select,
.seriesSettings input,.seriesSettings select,
.backgroundUpload input,.backgroundFields input,.backgroundFields select,
.replaceBackground input {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 9px;
  border: 1px solid #d8dde2;
  border-radius: 5px;
  background: #fff;
  font: inherit;
  font-weight: 400;
}
.fondsCreateForm button,.backgroundUpload button,.replaceBackground button {
  align-self: end;
  padding: 10px;
  border: 0;
  border-radius: 5px;
  background: #171c21;
  color: #fff;
  cursor: pointer;
  font-size: 9px;
}
.fondsCreateForm button:disabled,.backgroundUpload button:disabled,.backgroundOrder button:disabled { opacity: .4; cursor: not-allowed; }
.fondsComplete,.fondsEmpty { margin: 0; padding: 18px; border-radius: 7px; background: #f7f8f9; color: #767d84; font-size: 10px; }
.fondZeroPanel { padding: 0; }
.fondZeroPanel>summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; cursor: pointer; list-style: none; }
.fondZeroPanel>summary span { display: flex; flex-direction: column; }
.fondZeroPanel>summary b { font-size: 14px; }
.fondZeroPanel>summary small { margin-top: 4px; color: #7b838a; font-size: 9px; }
.fondZeroPanel>summary em { padding: 5px 8px; border-radius: 12px; background: #f1e7c8; color: #725d1f; font-size: 8px; font-style: normal; font-weight: 800; }
.fondZeroBody { display: grid; grid-template-columns: minmax(300px,1fr) minmax(260px,.8fr); gap: 15px; padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.fondZeroPreview { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 15px; align-items: center; }
.fondZeroPreview img { display: block; width: 120px; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 6px; background: #101418; }
.fondZeroPreview div { display: flex; flex-direction: column; gap: 5px; }
.fondZeroPreview b { font-size: 13px; }
.fondZeroPreview span,.fondZeroPreview p { margin: 0; color: #7b838a; font-size: 9px; line-height: 1.45; }
.fondZeroUpload { display: grid; align-content: center; gap: 8px; padding: 13px; border: 1px solid #e1e5e8; border-radius: 7px; background: #fafbfb; }
.fondZeroUpload label { color: #555; font-size: 9px; font-weight: 800; }
.fondZeroUpload input { display: block; width: 100%; margin-top: 7px; font-size: 8px; }
.fondZeroUpload small { color: #7b838a; font-size: 8px; }
.fondZeroReset { grid-column: 1 / -1; padding: 0; }
.globalBackgroundBank { padding: 0; }
.backgroundBankAdminAlert { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 18px; padding: 14px 16px; border: 2px solid #a62b2b; border-radius: 7px; background: #fff0ed; color: #7e1717; }
.backgroundBankAdminAlert b { font-size: 12px; text-transform: uppercase; }
.backgroundBankAdminAlert span { font-size: 10px; font-weight: 700; }
.globalBackgroundBankHeader { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.globalBackgroundBankHeader span { display: flex; flex-direction: column; }
.globalBackgroundBankHeader b { font-size: 14px; }
.globalBackgroundBankHeader small { margin-top: 4px; color: #7b838a; font-size: 9px; }
.globalBackgroundBankHeader em { padding: 5px 8px; border-radius: 12px; background: #e8f0eb; color: #315d43; font-size: 8px; font-style: normal; font-weight: 800; }
.globalBackgroundBankBody { padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.globalBackgroundBankBody>p { margin: 0 0 18px; color: #6d747a; font-size: 10px; line-height: 1.55; }
.backgroundBankSearch { display: grid; gap: 7px; max-width: 520px; margin: 0 0 20px; color: #3d444a; font-size: 9px; font-weight: 800; }
.backgroundBankSearch input { width: 100%; padding: 11px 12px; border: 1px solid #cfd5da; border-radius: 6px; background: #fff; font: inherit; font-size: 10px; }
.backgroundBankSearchEmpty { padding: 14px !important; border-radius: 6px; background: #f5f6f7; color: #555 !important; font-weight: 800; }
.backgroundBankCategory+ .backgroundBankCategory { margin-top: 24px; }
.backgroundBankCategory>div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.backgroundBankCategory h3 { margin: 0; font-size: 13px; text-transform: uppercase; }
.backgroundBankCategory>div:first-child span { color: #7b838a; font-size: 9px; font-weight: 800; }
.backgroundBankGrid { display: grid; grid-template-columns: repeat(auto-fill,minmax(170px,1fr)); gap: 10px; }
.backgroundBankCard { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.backgroundBankCard img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #101418; }
.backgroundBankCardCopy { padding: 9px 10px; }
.backgroundBankCardCopy b,.backgroundBankCardCopy span { display: block; }
.backgroundBankCardCopy b { font-size: 10px; }
.backgroundBankCardCopy span { padding-top: 3px; color: #747c82; font-size: 8px; }
.backgroundBankActions { border-top: 1px solid var(--line); }
.backgroundBankActions>summary { display: flex; min-height: 42px; align-items: center; justify-content: center; padding: 8px 10px; color: #252b30; cursor: pointer; font-size: 9px; font-weight: 900; list-style: none; }
.backgroundBankActions>summary::-webkit-details-marker { display: none; }
.backgroundBankActions>summary::after { margin-left: auto; color: #818991; content: '+'; font-size: 14px; line-height: 1; }
.backgroundBankActions[open]>summary { border-bottom: 1px solid var(--line); background: #f5f7f8; }
.backgroundBankActions[open]>summary::after { content: '−'; }
.backgroundBankDestinations { display: grid; gap: 7px; padding: 9px 10px 11px; }
.backgroundBankDestinations form { display: grid; gap: 7px; margin: 0; }
.backgroundBankDestinations button { width: 100%; min-height: 38px; padding: 9px 10px; border: 0; border-radius: 5px; background: #15191d; color: #fff; cursor: pointer; font-size: 9px; font-weight: 800; line-height: 1.25; }
.backgroundBankDestinations button small { margin-left: 5px; color: #cbd1d5; font-size: 7px; }
.backgroundBankReplace { padding: 9px; border: 1px solid #e2d8b8; border-radius: 6px; background: #fff9e9; }
.backgroundBankReplace label { display: grid; gap: 6px; color: #665626; font-size: 8px; font-weight: 800; line-height: 1.35; }
.backgroundBankReplace select { min-width: 0; width: 100%; padding: 7px; border: 1px solid #d9c78d; border-radius: 4px; background: #fff; font-size: 8px; }
.backgroundBankNoDestination { margin: 0 10px 11px; color: #7b838a; font-size: 8px; line-height: 1.4; }
.backgroundBankOrigin { margin: 0; padding: 8px 11px; background: #e8f0eb; color: #315d43; font-size: 8px; font-weight: 800; }
.fondsWarning { margin: 0 0 16px; padding: 11px; border-left: 4px solid #d49a2f; border-radius: 5px; background: #fff5df; color: #6d521c; font-size: 9px; }
.fondsDayHead { align-items: flex-start; }
.fondsDayHead>a { color: #725d1f; font-size: 9px; font-weight: 800; text-decoration: none; }
.fondsSeriesTools { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.8fr); gap: 14px; margin-bottom: 18px; }
.seriesSettings,.backgroundUpload { align-content: start; padding: 13px; border: 1px solid #e1e5e8; border-radius: 7px; background: #fafbfb; }
.seriesSettings .primary,.backgroundUpload button,.backgroundUpload small { grid-column: 1 / -1; }
.backgroundUpload small { color: #7b838a; font-size: 8px; }
.toggleLine { display: flex !important; align-items: center; gap: 7px; align-self: end; min-height: 35px; }
.toggleLine input { width: auto !important; margin: 0 !important; }
.backgroundManageGrid { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: 13px; }
.backgroundManageCard { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.backgroundManageCard.inactive { background: #f4f5f5; opacity: .76; }
.backgroundPreview { position: relative; background: #111; }
.backgroundPreview img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.backgroundPreview span { position: absolute; right: 8px; bottom: 8px; padding: 5px 7px; border-radius: 12px; background: rgba(0,0,0,.72); color: #fff; font-size: 8px; font-weight: 800; }
.backgroundFields { grid-template-columns: minmax(0,1fr) 72px; padding: 11px; }
.backgroundFields .primary { align-self: end; }
.backgroundOrder { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 11px 10px; }
.backgroundOrder form { margin: 0; }
.backgroundOrder button { width: 100%; padding: 7px; border: 1px solid #d8dde2; border-radius: 4px; background: #fff; cursor: pointer; font-size: 8px; }
.replaceBackground { margin: 0 11px 10px; padding: 9px; border: 1px solid #e2e5e8; border-radius: 5px; background: #fafbfb; }
.replaceBackground summary { cursor: pointer; font-size: 8px; font-weight: 800; }
.replaceBackground form { display: grid; gap: 7px; margin-top: 8px; }
.backgroundDelete { padding: 0 11px 11px; }
.seriesDelete { margin-top: 16px; padding: 0; }

.djgrid article {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.djgrid article > div {
  display: grid;
  place-items: center;
  height: 170px;
  background: #eef0f2;
}

.djgrid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.djgrid h3 {
  margin: 9px 0 3px;
  font-size: 12px;
}

.djgrid p {
  color: #888;
  font-size: 8px;
}

.venue {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 25px;
}

.logoBox {
  display: grid;
  place-items: center;
  height: 260px;
  background: #111820;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.logoBox img {
  max-width: 85%;
  max-height: 85%;
}

.venue dl { margin: 0; }

.venue dt {
  margin-top: 12px;
  color: #8a9096;
  font-size: 9px;
  letter-spacing: 1px;
}

.venue dd {
  margin: 5px 0;
  font-size: 12px;
}

.venue dd i {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 7px;
  border: 1px solid #ccc;
  border-radius: 50%;
}

.venue pre {
  padding: 10px;
  background: #f5f6f7;
  font-size: 9px;
  white-space: pre-wrap;
}

.empty {
  padding: 50px;
  color: #8a9198;
  text-align: center;
}

.flash {
  margin: 0 0 18px;
  padding: 12px 15px;
  border: 1px solid;
  border-radius: 7px;
  font-size: 12px;
}
.flash.success { border-color: #9dd5b9; background: #eaf8f1; color: #126540; }
.flash.error { border-color: #e2aaaa; background: #fff1f1; color: #9a2424; }
.actionTitle { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.primaryLink,.quietLink,.whatsappButton,.missingPhone { display: inline-block; padding: 11px 14px; border-radius: 6px; font-size: 11px; text-decoration: none; }
.primaryLink { background: #171c21; color: #fff; }
.quietLink { border: 1px solid var(--line); background: #fff; color: #333; }
.holidayEveSummary { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; margin-bottom: 15px; padding: 13px; border: 1px solid #e4c469; border-radius: 8px; background: #fff8df; color: #644b08; }
.holidayEveIcon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #b38816; color: #fff; font-size: 16px; font-weight: 950; }
.holidayEveSummary b { font-size: 12px; }
.holidayEveSummary p { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 6px 0 0; font-size: 10px; line-height: 1.4; }
.holidayEveSummary p strong { text-transform: capitalize; }
.holidayEveSummary small { display: block; margin-top: 7px; color: #836d32; font-size: 8px; }
.usualHours { margin-bottom: 15px; border: 1px solid #dfd2ab; border-radius: 8px; background: #fffaf0; }
.usualHours>summary { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; cursor: pointer; list-style: none; }
.usualHours>summary span { display: flex; min-width: 0; align-items: baseline; gap: 10px; }
.usualHours>summary b { color: #4e4018; font-size: 11px; }
.usualHours>summary small,.usualHours>summary em { color: #837143; font-size: 9px; font-style: normal; }
.usualHours[open]>summary { border-bottom: 1px solid #eadfbf; }
.usualHours form { display: grid; grid-template-columns: minmax(130px,1fr) minmax(130px,1fr) auto; gap: 10px; align-items: end; padding: 12px 13px 6px; }
.usualHours label { color: #555; font-size: 9px; font-weight: 800; }
.usualHours input { display: block; width: 100%; margin-top: 5px; padding: 9px; border: 1px solid #d8dde2; border-radius: 5px; background: #fff; font: inherit; font-weight: 400; }
.usualHours>p { margin: 0; padding: 5px 13px 12px; color: #776b4d; font-size: 9px; line-height: 1.45; }
.weekTools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.weekTools a { color: #333; font-size: 10px; text-decoration: none; }
.weekTools form { display: flex; gap: 6px; }
.weekTools input,.weekTools button { padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: #fff; font-size: 10px; }
.weekBoard { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 14px; margin-bottom: 20px; }
.weekDay { min-width: 0; min-height: 210px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.weekDay>header { position: static; display: flex; justify-content: space-between; height: auto; padding: 0 0 9px; border-bottom: 1px solid var(--line); background: transparent; }
.weekDay>header b { font-size: 11px; text-transform: capitalize; }
.weekDay>header span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #f1e7c8; color: #80671d; font-size: 9px; }
.holidayEveDayAlert { display: flex; flex-direction: column; gap: 2px; margin-top: 9px; padding: 9px 10px; border-left: 3px solid #b38816; border-radius: 5px; background: #fff8df; color: #654d0e; }
.holidayEveDayAlert b { font-size: 9px; }
.holidayEveDayAlert span { font-size: 8px; }
.savedBooking { margin-top: 10px; }
.bookingItem { margin-top: 9px; border: 1px solid #e5e8eb; border-radius: 6px; }
.bookingItem>summary { display: flex; justify-content: space-between; gap: 5px; padding: 11px; cursor: pointer; list-style: none; }
.bookingItem>summary span { display: flex; min-width: 0; flex-direction: column; }
.bookingItem>summary b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.bookingItem>summary small,.bookingItem>summary em { color: #7d858c; font-size: 8px; font-style: normal; }
.dayCreate { margin-top: 12px; border: 1px dashed #b99a45; border-radius: 8px; background: #fffcf3; }
.dayCreate>summary { display: flex; min-height: 58px; flex-direction: column; justify-content: center; padding: 13px; color: #574618; cursor: pointer; list-style: none; }
.dayCreate>summary b { font-size: 11px; }
.dayCreate>summary span { margin-top: 4px; color: #867957; font-size: 8px; }
.dayCreate>summary:focus-visible { outline: 3px solid #d4b24f; outline-offset: 2px; }
.dayCreate[open]>summary { border-bottom: 1px solid #eadfbf; }
.emptyDayCreate>summary { min-height: 135px; align-items: center; text-align: center; }
.emptyDayCreate[open]>summary { min-height: 58px; align-items: flex-start; text-align: left; }
.manageForm { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.manageForm.compact { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 9px; border-top: 1px solid #edf0f2; }
.manageForm.single { grid-template-columns: 1fr; }
.manageForm label,.manageForm fieldset { min-width: 0; margin: 0; color: #555; font-size: 9px; font-weight: 800; }
.manageForm input,.manageForm select,.manageForm textarea { display: block; width: 100%; margin-top: 5px; padding: 9px; border: 1px solid #d8dde2; border-radius: 5px; background: #fff; font: inherit; font-weight: 400; }
.manageForm textarea { min-height: 70px; resize: vertical; }
.manageForm fieldset { padding: 9px; border: 1px solid #d8dde2; border-radius: 5px; }
.span2 { grid-column: span 2; }
.djPicker legend { padding: 0 5px; color: #31363b; font-size: 10px; }
.checkgrid { display: grid; grid-template-columns: repeat(auto-fit,minmax(118px,1fr)); gap: 8px; margin-top: 6px; }
.checkgrid .djChoice { display: flex; min-height: 46px; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid #d8dde2; border-radius: 8px; background: #fff; color: #252a2e; cursor: pointer; font-size: 10px; font-weight: 750; }
.checkgrid .djChoice:has(input:checked) { border-color: #b28c22; background: #fff5d7; box-shadow: inset 0 0 0 1px #d4b24f; }
.checkgrid input { width: 20px; height: 20px; flex: 0 0 auto; margin: 0; accent-color: #9b7712; }
.djSelectionHelp,.noDjFiles { margin: 8px 0 0; color: #7d858c; font-size: 8px; font-weight: 500; }
.djSelectionHelp.isError { color: #a02c2c; font-weight: 800; }
.bookingOptions { border: 1px solid #e1e5e8; border-radius: 7px; background: #fafbfb; }
.bookingOptions>summary { padding: 10px; color: #666e74; cursor: pointer; font-size: 9px; font-weight: 800; }
.bookingOptions>div { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0 10px 10px; }
.primary { align-self: end; padding: 10px 12px; border: 0; border-radius: 5px; background: #171c21; color: #fff; cursor: pointer; font-size: 10px; }
.dangerForm { padding: 0 9px 9px; }
.dangerForm button { border: 0; background: transparent; color: #a02c2c; cursor: pointer; font-size: 8px; }
.bookingWhatsapp { margin-top: 7px; padding: 10px; border: 1px solid #b9e1ca; border-radius: 7px; background: #f1fbf5; }
.bookingWhatsapp h4 { margin: 0; color: #176640; font-size: 10px; }
.bookingWhatsapp>p { margin: 4px 0 8px; color: #4e6c5d; font-size: 8px; line-height: 1.4; }
.bookingWhatsapp article+article { margin-top: 9px; padding-top: 9px; border-top: 1px solid #cfe8d9; }
.bookingWhatsapp article>b { display: block; margin-bottom: 5px; font-size: 9px; }
.bookingWhatsapp textarea { display: block; width: 100%; min-height: 92px; margin: 0 0 7px; padding: 8px; border: 1px solid #cfe1d7; border-radius: 5px; background: #fff; font: 8px/1.45 monospace; resize: vertical; }
.bookingWhatsapp .whatsappButton,.bookingWhatsapp .missingPhone { width: 100%; padding: 9px; font-size: 9px; text-align: center; }
.bookingWhatsapp.isUnavailable { border-color: #e4d4a5; background: #fff9e9; }
.bookingWhatsapp.isUnavailable h4,.bookingWhatsapp.isUnavailable>p { color: #785e17; }
.senderNotice { margin-bottom: 18px; padding: 16px; border-left: 4px solid #26a269; border-radius: 7px; background: #eaf8f1; }
.senderNotice b { font-size: 13px; }
.senderNotice p { margin: 6px 0 0; color: #416253; font-size: 10px; line-height: 1.5; }
.whatsappGrid,.djManageGrid { display: grid; grid-template-columns: repeat(auto-fill,minmax(290px,1fr)); gap: 14px; }
.whatsappCard,.djManageCard { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.whatsappCard>header { position: static; display: flex; justify-content: space-between; height: auto; padding: 0; border: 0; }
.whatsappCard h2 { margin: 0; font-size: 14px; }
.whatsappCard header p { margin: 4px 0 0; color: #737a82; font-size: 9px; }
.whatsappCard header span { font-size: 9px; }
.whatsappCard textarea { width: 100%; min-height: 165px; margin: 13px 0; padding: 11px; border: 1px solid #dce1e4; background: #fafbfb; font: 10px/1.5 monospace; resize: vertical; }
.whatsappButton { width: 100%; background: #1c9b5f; color: #fff; text-align: center; }
.missingPhone { width: 100%; background: #fff4e5; color: #8a5413; text-align: center; }
.djManageCard { display: flex; flex-direction: column; gap: 14px; }
.djVisuals { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.djVisualPreview { min-width: 0; margin: 0; }
.djVisualPreview figcaption { margin-bottom: 6px; color: #596168; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.djVisualBox { display: grid; place-items: center; height: 130px; overflow: hidden; border: 1px solid #e0e4e7; border-radius: 8px; background: linear-gradient(135deg,#f4f5f6 25%,#e9ecee 25%,#e9ecee 50%,#f4f5f6 50%,#f4f5f6 75%,#e9ecee 75%); background-size: 20px 20px; }
.djVisualBox img { width: 100%; height: 100%; object-fit: contain; }
.djVisualBox span { color: #899197; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.djManageCard .dangerForm { padding: 0; text-align: right; }
.phoneField small { display: block; margin-top: 4px; color: #7b838a; font-size: 8px; font-weight: 400; }
.djCutoutIntro { border-color: #c7dfcf; background: #f3fbf5; }
.djCutoutIntro .panelhead { border: 0; }
.djCutoutIntro .panelhead p { max-width: 720px; }
.djCutoutState { padding: 6px 9px; border-radius: 999px; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.djCutoutState.isReady { background: #d8f1df; color: #176538; }
.djCutoutState.isPending { background: #fff1c7; color: #7a5b00; }
.djCutoutPicker { min-width: 0; }
.djCutoutPicker small { display: block; margin-top: 5px; color: #7b838a; font-size: 8px; font-weight: 400; line-height: 1.4; }
.djCutoutPicker input[type="file"] { cursor: pointer; }
.djCutoutPicker input[type="file"]::file-selector-button { margin-right: 9px; padding: 7px 9px; border: 0; border-radius: 4px; background: #eceff1; color: #282e33; cursor: pointer; font: inherit; font-weight: 800; }
.djAssetManagers { display: grid; gap: 10px; }
.djCutoutForm { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; padding: 12px; border: 1px solid #d7e8dc; border-radius: 8px; background: #f6fbf7; }
.djCutoutForm label { color: #31563d; font-size: 9px; font-weight: 850; }
.djCutoutForm input { display: block; width: 100%; margin-top: 5px; padding: 8px; border: 1px solid #c7dbce; border-radius: 5px; background: #fff; font: inherit; font-weight: 400; }
.djLogoCutoutForm { border-color: #d9d6e8; background: #faf9ff; }
.djLogoCutoutForm label { color: #514b72; }
.djLogoCutoutForm input { border-color: #d7d2e7; }
.djCutoutUnavailable { margin: 0; padding: 10px; border-radius: 6px; background: #fff7dc; color: #715a14; font-size: 9px; }
.djLogoRemove { margin-top: -6px; text-align: right; }
.djLogoRemove button { padding: 0; border: 0; background: transparent; color: #766a96; cursor: pointer; font-size: 8px; font-weight: 800; }
[data-dj-cutout-form].isProcessing { opacity: .72; pointer-events: none; }
[data-dj-cutout-submit]:disabled { cursor: wait; }

.venueProfilePanel {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
}
.venueIdentity p { color: #798087; font-size: 9px; line-height: 1.5; }
.venueSettingsForm { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.venueSettingsForm>fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin: 0; padding: 15px; border: 1px solid #dfe3e8; border-radius: 7px; }
.venueSettingsForm legend { padding: 0 6px; font-size: 11px; font-weight: 900; }
.venueSettingsForm label,.structuredHours label,.venueDayForm label { min-width: 0; color: #555; font-size: 9px; font-weight: 800; }
.venueSettingsForm input,.venueSettingsForm select,.venueSettingsForm textarea,.venueDayForm input,.venueDayForm select { display: block; width: 100%; margin-top: 5px; padding: 9px; border: 1px solid #d8dde2; border-radius: 5px; background: #fff; font: inherit; font-weight: 400; }
.venueSettingsForm input[type="color"] { height: 37px; padding: 3px; }
.venueSettingsForm small,.venueDayForm small { display: block; margin-top: 4px; color: #858c92; font-size: 8px; font-weight: 400; }
.iconVisibility { display: flex; flex-wrap: wrap; gap: 8px 13px; align-items: center; padding-top: 7px; }
.iconVisibility b { width: 100%; font-size: 9px; }
.iconVisibility>small { width: 100%; }
.iconVisibility label { display: flex; align-items: center; gap: 5px; font-weight: 400; }
.iconVisibility input { width: auto; margin: 0; }
.structuredHours { padding: 12px; border: 1px solid #dfe3e8; border-radius: 7px; }
.structuredHours summary { cursor: pointer; font-size: 10px; font-weight: 800; }
.structuredHours label { display: block; margin-top: 10px; }
.structuredHours textarea { min-height: 120px; font-family: monospace; }
.venueSave { grid-column: 1 / -1; justify-self: start; }
.venueLogoManager { grid-column: 1; display: grid; align-content: start; gap: 10px; padding: 14px; border: 1px solid #dfe3e8; border-top: 4px solid #d4b24f; border-radius: 8px; background: #fafbfb; }
.venueLogoPreview { display: grid; width: 100%; min-height: 140px; place-items: center; overflow: hidden; border-radius: 6px; background: #111820; color: var(--gold); font-size: 9px; font-weight: 950; letter-spacing: .08em; text-align: center; }
.venueLogoPreview img { display: block; width: 100%; height: 140px; object-fit: contain; }
.venueLogoCopy { display: grid; gap: 4px; }
.venueLogoCopy small { color: #927017; font-size: 7px; font-weight: 950; letter-spacing: .13em; }
.venueLogoCopy b { color: #252b30; font-size: 12px; }
.venueLogoCopy p { margin: 0; color: #737b82; font-size: 8px; line-height: 1.5; }
.venueLogoUpload { display: grid; gap: 8px; margin: 0; }
.venueLogoUpload label { color: #555; font-size: 8px; font-weight: 850; }
.venueLogoUpload label > span { display: block; margin-bottom: 5px; }
.venueLogoUpload input[type="file"] { display: block; width: 100%; min-height: 40px; padding: 7px; border: 1px solid #d8dde2; border-radius: 5px; background: #fff; color: #697178; font-size: 8px; }
.venueLogoUpload .primary { width: 100%; min-height: 40px; }
.generalPartyLogoManager { grid-column: 2; display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: center; gap: 10px 14px; padding: 14px; border: 1px solid #dfe3e8; border-radius: 7px; background: #fafbfb; }
.generalPartyLogoPreview { grid-row: 1 / span 3; display: grid; width: 112px; min-height: 112px; place-items: center; overflow: hidden; border-radius: 6px; background: #111820; color: var(--gold); font-size: 9px; font-weight: 900; text-align: center; }
.generalPartyLogoPreview img { display: block; width: 100%; height: 112px; object-fit: contain; }
.generalPartyLogoCopy { display: grid; gap: 4px; }
.generalPartyLogoCopy b { color: #343a40; font-size: 10px; }
.generalPartyLogoCopy small { color: #7d858c; font-size: 8px; line-height: 1.45; }
.generalPartyLogoUpload { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin: 0; }
.generalPartyLogoUpload label { flex: 1 1 230px; color: #555; font-size: 8px; font-weight: 850; }
.generalPartyLogoUpload label>span { display: block; margin-bottom: 5px; }
.generalPartyLogoUpload input[type="file"] { display: block; width: 100%; min-height: 38px; padding: 7px; border: 1px solid #d8dde2; border-radius: 5px; background: #fff; color: #697178; font-size: 8px; }
.generalPartyLogoUpload .primary { min-height: 38px; }
.generalPartyLogoRemove { margin: 0; }
.generalPartyLogoRemove button { padding: 7px 9px; border: 1px solid #d8dde2; border-radius: 5px; background: #fff; color: #6d747a; cursor: pointer; font-size: 7px; font-weight: 800; }
.venueDaysGrid { display: grid; grid-template-columns: repeat(auto-fill,minmax(310px,1fr)); gap: 12px; }
.venueDay { border: 1px solid #dfe3e8; border-radius: 7px; background: #fff; }
.venueDay>summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px; cursor: pointer; list-style: none; }
.venueDay>summary span { display: flex; flex-direction: column; }
.venueDay>summary b { font-size: 12px; }
.venueDay>summary small,.venueDay>summary em { margin-top: 2px; color: #858c92; font-size: 8px; font-style: normal; }
.venueDayForm { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 13px; border-top: 1px solid #edf0f2; }
.venueDayForm .primary { grid-column: 1 / -1; justify-self: start; }
.venueDayForm .promoStampFields { grid-column: 1 / -1; }
.partyLogoManager { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 10px; margin: 0 13px 13px; padding: 11px; border: 1px solid #e2e5e8; border-radius: 6px; background: #fafbfb; }
.partyLogoManager>div:first-child { display: grid; place-items: center; min-height: 72px; border-radius: 5px; background: #111; color: var(--gold); font-size: 9px; font-weight: 900; text-align: center; }
.partyLogoManager img { display: block; width: 100%; max-height: 90px; object-fit: contain; }
.partyLogoManager>form { display: grid; gap: 7px; }
.partyLogoManager label { color: #555; font-size: 8px; font-weight: 800; }
.partyLogoManager input[type="file"] { display: block; width: 100%; margin-top: 5px; font-size: 8px; }
.partyLogoManager small { display: block; margin-top: 4px; color: #858c92; font-size: 7px; font-weight: 400; }
.partyLogoManager .primary { justify-self: start; }
.partyLogoActions { grid-column: 1 / -1; display: flex !important; justify-content: flex-end; gap: 7px; min-height: 0 !important; background: transparent !important; }
.partyLogoActions form { margin: 0; }
.partyLogoActions button { padding: 6px 8px; border: 1px solid #d8dde2; border-radius: 4px; background: #fff; color: #555; cursor: pointer; font-size: 7px; }
.venueReset { padding: 0 13px 13px; }

.login {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background: #101418;
}

.login form {
  width: min(390px, 90vw);
  padding: 35px;
  border-radius: 10px;
  background: #fff;
}

.login form > span {
  color: #8e762f;
  font-size: 8px;
  letter-spacing: 2px;
}

.login h1 {
  margin: 16px 0;
  font-size: 38px;
  line-height: .9;
}

.login h1 em { color: var(--gold); }

.login p {
  color: #777;
  font-size: 12px;
}

.login label {
  display: block;
  margin-top: 14px;
  font-size: 9px;
  font-weight: 800;
}

.login input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #d9dde1;
}

.login button {
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  border: 0;
  background: #171c21;
  color: #fff;
  cursor: pointer;
}

.matchPageTitle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.matchSeason {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #e3d49e;
  border-radius: 999px;
  background: #fff9e8;
  color: #715915;
  font-size: 9px;
  font-weight: 900;
}

.matchBackgroundPanel { margin-bottom: 16px; padding-bottom: 16px; }
.matchBackgroundPanel>.panelhead p { margin: 4px 0 0; color: #747c83; font-size: 9px; line-height: 1.45; }
.matchBackgroundGrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 15px; }
.matchBackgroundCard { display: grid; min-width: 0; grid-template-columns: 132px minmax(0,1fr); overflow: hidden; border: 1px solid #dfe3e8; border-radius: 9px; background: #fafbfc; }
.matchBackgroundPreview { position: relative; width: 132px; aspect-ratio: 9 / 16; align-self: start; overflow: hidden; margin: 0; background: #101418; }
.matchBackgroundPreview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.matchBackgroundPreview figcaption { position: absolute; inset: auto 7px 7px; padding: 5px 7px; border-radius: 999px; background: rgba(16,20,24,.82); color: #fff; font-size: 7px; font-weight: 900; text-align: center; }
.matchBackgroundPreview figcaption.isCustom { background: rgba(23,102,64,.92); }
.matchBackgroundBody { display: flex; min-width: 0; flex-direction: column; gap: 11px; padding: 13px; }
.matchBackgroundCopy h3 { margin: 0; font-size: 12px; line-height: 1.25; }
.matchBackgroundCopy p { margin: 5px 0 0; color: #687078; font-size: 8px; line-height: 1.45; }
.matchBackgroundCopy small { display: block; margin-top: 5px; color: #8b9298; font-size: 7px; font-weight: 800; }
.matchBackgroundReplace { display: grid; gap: 7px; margin-top: auto; }
.matchBackgroundReplace label { min-width: 0; color: #555e65; font-size: 8px; font-weight: 850; }
.matchBackgroundReplace input[type="file"] { display: block; width: 100%; max-width: 100%; margin-top: 6px; color: #6d757c; font-size: 8px; }
.matchBackgroundReplace .primary { width: 100%; min-height: 40px; }
.matchBackgroundReplace>small { color: #858c92; font-size: 7px; line-height: 1.4; }
.matchBackgroundRestore { margin: 0; }
.matchBackgroundRestore button { width: 100%; min-height: 36px; padding: 8px; border: 1px solid #d6dade; border-radius: 5px; background: #fff; color: #5d5130; cursor: pointer; font-size: 8px; font-weight: 850; }

.matchCalendarAlerts { margin-bottom: 16px; padding-bottom: 15px; }
.matchCalendarAlertGrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin-top: 15px; }
.matchCalendarAlert {
  display: flex;
  min-width: 0;
  min-height: 186px;
  flex-direction: column;
  padding: 14px;
  border: 1px solid #e1e4e7;
  border-top: 4px solid #b79638;
  border-radius: 9px;
  background: #fff;
}
.matchCalendarAlert-today { border-top-color: #c37b13; background: #fffaf0; }
.matchCalendarAlert-watching { border-top-color: #3475a9; background: #f5faff; }
.matchCalendarAlert-updated { border-top-color: #24815d; background: #f4fbf7; }
.matchCalendarAlertTop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.matchCalendarAlertIcon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #f4ead0; color: #755913; font-size: 13px; font-weight: 950; }
.matchCalendarAlert-today .matchCalendarAlertIcon { background: #fce8ca; color: #8a5200; }
.matchCalendarAlert-watching .matchCalendarAlertIcon { background: #deedf9; color: #285f8b; }
.matchCalendarAlert-updated .matchCalendarAlertIcon { background: #d9f0e4; color: #176641; }
.matchCalendarAlertBadge { padding: 6px 8px; border-radius: 999px; background: #f3f1eb; color: #685728; font-size: 8px; font-weight: 950; white-space: nowrap; }
.matchCalendarAlert-watching .matchCalendarAlertBadge { background: #e3f0fa; color: #285f8b; }
.matchCalendarAlert-updated .matchCalendarAlertBadge { background: #dff2e8; color: #176641; }
.matchCalendarAlert h3 { margin: 13px 0 4px; font-size: 11px; line-height: 1.3; }
.matchCalendarAlert time { color: #171c21; font-size: 10px; font-weight: 900; text-transform: capitalize; }
.matchCalendarAlert small { margin-top: 3px; color: #777f86; font-size: 8px; line-height: 1.35; }
.matchCalendarAlert p { margin: 10px 0; color: #555e65; font-size: 8px; line-height: 1.5; }
.matchCalendarAlert em { margin-top: auto; color: #8a9197; font-size: 7px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.matchCalendarAlertHelp { margin: 12px 0 0; padding: 10px 12px; border-radius: 7px; background: #f4f5f6; color: #677078; font-size: 8px; line-height: 1.45; }

.matchRulesPanel { padding-bottom: 16px; }
.matchRulesForm { margin-top: 15px; }
.matchRuleGrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.matchRule {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 88px;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dfe3e8;
  border-radius: 9px;
  background: #fafbfc;
  cursor: pointer;
}
.matchRule:has(input:checked) { border-color: #b79638; background: #fff9e8; box-shadow: inset 0 0 0 1px #e2cc87; }
.matchRule input { width: 20px; height: 20px; flex: 0 0 auto; margin: 0; accent-color: #9b7712; }
.matchRule span { display: flex; min-width: 0; flex-direction: column; }
.matchRule b { font-size: 11px; line-height: 1.3; }
.matchRule small { margin-top: 5px; color: #747c83; font-size: 8px; line-height: 1.45; }
.matchRulesActions { display: flex; align-items: center; gap: 13px; margin-top: 12px; }
.matchRulesActions small { max-width: 540px; color: #777f86; font-size: 8px; line-height: 1.45; }

.matchSyncBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
  padding: 15px 17px;
  border: 1px solid #d9e5df;
  border-left: 4px solid #24815d;
  border-radius: 8px;
  background: #f4fbf7;
}
.matchSyncBar>div { display: flex; flex-direction: column; gap: 3px; }
.matchSyncBar b { color: #285b47; font-size: 10px; }
.matchSyncBar span { color: #70827a; font-size: 8px; }
.matchSyncBar form { margin: 0; }
.matchSyncBar button {
  padding: 10px 13px;
  border: 0;
  border-radius: 6px;
  background: #176640;
  color: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
}

.matchList { display: grid; grid-template-columns: repeat(auto-fill,minmax(380px,1fr)); gap: 15px; }
.matchCard { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.matchCardTop { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 15px 9px; }
.matchCardTop>div { display: flex; min-width: 0; flex-direction: column; }
.matchCompetition { overflow: hidden; font-size: 9px; font-weight: 900; letter-spacing: .7px; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.matchCardTop small { margin-top: 3px; color: #80878d; font-size: 8px; }
.matchFixtureStatus,.matchFlyerStatus { display: inline-flex; align-items: center; flex: 0 0 auto; border-radius: 999px; font-size: 8px; font-weight: 900; }
.matchFixtureStatus { padding: 6px 8px; background: #eef1f3; color: #5e676e; }
.matchFixtureStatus-live { background: #e5f7ed; color: #14643d; }
.matchFixtureStatus-postponed,.matchFixtureStatus-time_tbd { background: #fff4d5; color: #7c5c0b; }
.matchFixtureStatus-cancelled { background: #fce7e7; color: #9a2929; }
.matchKickoff { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 15px 14px; border-bottom: 1px solid #edf0f2; }
.matchKickoff strong { font-size: 12px; text-transform: capitalize; }
.matchKickoff span { color: #9b7712; font-size: 17px; font-weight: 950; }
.matchTeams { display: grid; grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr); align-items: center; gap: 8px; padding: 18px 14px; }
.matchTeams>span { color: #9a7b25; font-size: 9px; font-weight: 950; text-align: center; }
.matchTeam { display: flex; min-width: 0; align-items: center; gap: 9px; }
.matchTeam:last-child { flex-direction: row-reverse; text-align: right; }
.matchTeam img,.matchTeam i { width: 48px; height: 48px; flex: 0 0 auto; object-fit: contain; }
.matchTeam i { display: grid; place-items: center; border-radius: 50%; background: #101418; color: var(--gold); font-size: 11px; font-style: normal; font-weight: 950; }
.matchTeam b { overflow: hidden; font-size: 11px; line-height: 1.25; text-overflow: ellipsis; }
.matchDjConflict,.matchNoConflict { margin: 0 14px 14px; padding: 10px 11px; border-radius: 7px; }
.matchDjConflict { display: flex; flex-direction: column; border: 1px solid #efd092; background: #fff7e6; color: #76520d; }
.matchDjConflict b { font-size: 9px; }
.matchDjConflict span { margin-top: 3px; font-size: 8px; line-height: 1.35; }
.matchNoConflict { border: 1px solid #cce5d8; background: #f2fbf6; color: #367057; font-size: 8px; font-weight: 800; }
.matchFlyerArea { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 13px; padding: 14px; border-top: 1px solid #edf0f2; background: #fafbfc; }
.matchFlyerPreview,.matchFlyerPlaceholder { display: flex; aspect-ratio: 9 / 16; overflow: hidden; flex-direction: column; align-items: center; justify-content: center; border-radius: 6px; text-decoration: none; }
.matchFlyerPreview { position: relative; background: #101418; }
.matchFlyerPreview img { width: 100%; height: 100%; object-fit: cover; }
.matchFlyerPreview span { position: absolute; inset: auto 5px 5px; padding: 5px; border-radius: 4px; background: rgba(0,0,0,.72); color: #fff; font-size: 7px; text-align: center; }
.matchFlyerPlaceholder { border: 1px dashed #cfd5da; background: #fff; color: #858d94; text-align: center; }
.matchFlyerPlaceholder span { font-size: 24px; }
.matchFlyerPlaceholder b { margin-top: 8px; padding: 0 9px; font-size: 8px; line-height: 1.35; }
.matchFlyerActions { display: flex; min-width: 0; flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; }
.matchFlyerStatus { align-self: flex-start; padding: 6px 8px; background: #eceff1; color: #626a70; }
.matchFlyerStatus-ready { background: #def4e8; color: #11603a; }
.matchFlyerStatus-pending { background: #e8eef8; color: #375f92; }
.matchFlyerStatus-outdated,.matchFlyerStatus-error { background: #fff0d1; color: #7c5708; }
.matchFlyerActions form { margin: 0; }
.matchFlyerActions .primary { width: 100%; min-height: 40px; }
.matchFlyerActions .primary:disabled { opacity: .48; cursor: not-allowed; }
.matchDownload { display: block; padding: 10px; border: 1px solid #d5dadd; border-radius: 5px; background: #fff; color: #252a2e; font-size: 8px; font-weight: 900; text-align: center; text-decoration: none; }
.matchDownload.isDisabled { color: #99a0a6; }
.matchVideoEditor { padding: 0 14px 14px; background: #fafbfc; }
.matchVideoEditor>.openEditor { min-height: 40px; }
.matchVideoEditorDisabled>.openEditor { background: #e4e7ea; color: #858d94; opacity: 1; }
.matchVideoLayers { margin-top: 10px; padding: 12px; border: 1px solid #dfe3e8; border-radius: 8px; background: #fff; }
.matchVideoLayers .exactNotice { margin-top: 0; }
.matchVideoLayers .videoActions { grid-template-columns: 1fr; }
.matchEmpty { grid-column: 1 / -1; padding: 48px 20px; text-align: center; }
.matchEmpty>span { font-size: 34px; }
.matchEmpty h2 { margin: 12px 0 6px; font-size: 15px; }
.matchEmpty p { margin: 0; color: #7a8288; font-size: 10px; }

.flyerCardLocked { border-color: #d84545; box-shadow: 0 0 0 2px rgba(216,69,69,.14); }
.flyerCardLocked .status { background: #8f111b; color: #fff; border-color: #8f111b; }
.lockedDeliveryNotice { display: grid; gap: 5px; padding: 12px 14px; border: 2px solid #d84545; border-radius: 12px; background: #fff0f0; color: #6e0a12; }
.lockedDeliveryNotice b { font-size: 14px; letter-spacing: .08em; }
.lockedDeliveryNotice span { font-size: 13px; line-height: 1.35; }
.weeklyFileAction.isLocked { background: #f7e5e7 !important; border-color: #e2a5ab !important; color: #8f111b !important; opacity: 1; }
.matchCardLocked { border-color: #d84545; box-shadow: 0 0 0 2px rgba(216,69,69,.12); }

.periodTools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #dfe4e8; border-radius: 12px; background: #fff; }
.periodTools a { min-height: 38px; padding: 10px 14px; border-radius: 9px; background: #f0f3f5; color: #1f2529; font-size: 10px; font-weight: 850; text-decoration: none; }
.periodTools strong { font-size: 11px; text-align: center; }
.venueModuleForm { display: grid; gap: 18px; }
.tenantAccessChoices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 18px; }
.tenantAccessChoice { display: grid; grid-template-columns: auto 38px minmax(0,1fr); align-items: center; gap: 12px; min-height: 112px; padding: 17px; border: 2px solid #dfe4e8; border-radius: 14px; background: #fff; cursor: pointer; }
.tenantAccessChoice>input { width: 20px; height: 20px; accent-color: #9b781b; }
.tenantAccessChoice:has(>input:checked) { border-color: #b39128; background: #fffaf0; box-shadow: 0 0 0 3px rgba(179,145,40,.1); }
.tenantAccessChoiceIcon { font-size: 24px; text-align: center; }
.tenantAccessChoice>span:last-child { display: grid; gap: 5px; }
.tenantAccessChoice b { font-size: 13px; }
.tenantAccessChoice small { color: #687078; font-size: 10px; line-height: 1.45; }
.tenantConfigurationUnavailable { display: grid; gap: 7px; border-left: 5px solid var(--gold); }
.tenantConfigurationUnavailable b { font-size: 13px; }
.tenantConfigurationUnavailable span { color: #6f777e; font-size: 10px; }
.tenantStampGrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.tenantStampCard { overflow: hidden; padding: 0; }
.tenantStampCard>header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid #e1e5e8; background: #f7f8f9; }
.tenantStampCard>header div { display: grid; gap: 3px; }
.tenantStampCard>header span { color: #88701f; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.tenantStampCard>header h2 { margin: 0; font-size: 18px; }
.tenantStampCard>header em { padding: 6px 9px; border-radius: 999px; background: #eee6c9; color: #665216; font-size: 8px; font-style: normal; font-weight: 900; white-space: nowrap; }
.tenantStampForm { display: grid; gap: 13px; padding: 18px; }
.tenantStampForm .promoStampFields { grid-template-columns: 1fr; margin: 0; background: #fff; }
.tenantStampForm .promoStampLines { grid-template-columns: repeat(2,minmax(0,1fr)); }
.tenantStampForm>.primary { justify-self: end; min-width: 210px; }
.tenantStampEmpty { grid-column: 1 / -1; display: grid; gap: 6px; border-left: 5px solid var(--gold); }
.tenantStampEmpty span { color: #6f777e; font-size: 10px; }
.modulePickerGrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 18px; }
.moduleChoice { position: relative; display: grid; grid-template-columns: auto 42px minmax(0,1fr); align-items: center; gap: 12px; min-height: 104px; padding: 16px; border: 2px solid #dfe4e8; border-radius: 14px; background: #fff; cursor: pointer; }
.moduleChoice:has(input:checked) { border-color: #0a5b45; background: #f0faf6; box-shadow: 0 0 0 3px rgba(10,91,69,.08); }
.moduleChoice input { width: 20px; height: 20px; accent-color: #0a5b45; }
.moduleChoiceIcon { font-size: 28px; text-align: center; }
.moduleChoice span:last-child { display: grid; gap: 5px; }
.moduleChoice b { font-size: 13px; }
.moduleChoice small { color: #687078; font-size: 10px; line-height: 1.4; }
.moduleChoice em { justify-self: start; padding: 4px 7px; border-radius: 999px; background: #edf0f3; color: #616970; font-size: 8px; font-style: normal; font-weight: 800; }
.moduleChoice.isFuture:has(input:checked) em { background: #d9eee6; color: #0a5b45; }
.weekdayPicker { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 9px; padding: 18px; }
.weekdayPicker label { position: relative; cursor: pointer; }
.weekdayPicker input { position: absolute; opacity: 0; pointer-events: none; }
.weekdayPicker span { display: grid; place-items: center; gap: 4px; min-height: 74px; padding: 10px 5px; border: 2px solid #dfe4e8; border-radius: 12px; background: #fff; }
.weekdayPicker b { font-size: 12px; }
.weekdayPicker small { color: #737b82; font-size: 8px; }
.weekdayPicker input:checked + span { border-color: #0a5b45; background: #0a5b45; color: #fff; box-shadow: 0 8px 18px rgba(10,91,69,.18); }
.weekdayPicker input:checked + span small { color: #d9eee6; }
.weekdaySpecialOpening { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 18px 18px; padding: 12px 14px; border: 1px solid #e4c469; border-radius: 8px; background: #fff8df; color: #654d0e; }
.weekdaySpecialOpening b { font-size: 9px; }
.weekdaySpecialOpening span { font-size: 8px; line-height: 1.45; text-align: right; }
.calendarViewChoices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 18px; }
.calendarViewChoices label { position: relative; cursor: pointer; }
.calendarViewChoices input { position: absolute; opacity: 0; pointer-events: none; }
.calendarViewChoices span { display: grid; gap: 5px; min-height: 76px; padding: 16px; border: 2px solid #dfe4e8; border-radius: 12px; background: #fff; }
.calendarViewChoices b { font-size: 12px; }
.calendarViewChoices small { color: #6d757c; font-size: 10px; }
.calendarViewChoices input:checked + span { border-color: #b39128; background: #fffaf0; box-shadow: 0 0 0 3px rgba(179,145,40,.1); }
.moduleConfigurationSave { justify-self: end; min-width: 260px; min-height: 48px; }

@media (max-width: 1100px) {
  .matchBackgroundGrid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .poster.playing .exactLayer {
    animation-delay: 0s !important;
    animation-duration: .01ms !important;
  }
  .poster.playing .backgroundFxStack,
  .poster.playing .backgroundContourWindow,
  .poster.playing .backgroundContour,
  .poster.playing .finalReference,
  .poster.playing .whiteLightSweep {
    animation: none !important;
  }
  .poster.playing .backgroundContour { display: none; }
  .poster.playing .whiteLightFx { display: none; }
  .poster.playing .finalReference { opacity: 1; }
}

@media (max-width: 800px) {
  body.navigationOpen { overflow: hidden; }
  .sidebar { z-index: 40; display: flex; width: min(86vw,300px); transform: translateX(-105%); box-shadow: 18px 0 45px rgba(0,0,0,.28); transition: transform .2s ease; }
  body.navigationOpen .sidebar { transform: translateX(0); }
  .sidebarClose { position: absolute; top: 12px; right: 12px; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border-radius: 50%; background: #ffffff12; color: #fff; font-size: 25px; line-height: 1; }
  .sidebarBackdrop { position: fixed; inset: 0; z-index: 35; display: block; visibility: hidden; border: 0; background: rgba(4,7,9,.62); opacity: 0; transition: opacity .2s ease,visibility .2s ease; }
  body.navigationOpen .sidebarBackdrop { visibility: visible; opacity: 1; }
  main { margin: 0; }
  .hamb { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid #d8dde2; border-radius: 7px; background: #fff; color: #171c21; cursor: pointer; font-size: 20px; }
  .page { padding: 15px; }
  .flow { grid-template-columns: 1fr; }
  .weeklyBatchTools { align-items: stretch; flex-direction: column; }
  .weeklyDownloadRow { grid-template-columns: 1fr; gap: 10px; }
  .afnav { overflow: auto; }
  .afnav > div { min-width: 150px; }
  .venue { grid-template-columns: 1fr; }
  .actionTitle { flex-direction: column; }
  .usualHours>summary span { align-items: flex-start; flex-direction: column; gap: 3px; }
  .usualHours form { grid-template-columns: 1fr; }
  .weekTools { align-items: stretch; flex-direction: column; }
  .weekBoard { grid-template-columns: 1fr; }
  .manageForm,.manageForm.compact { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .djVisualBox { height: 116px; }
  .djCutoutForm { grid-template-columns: 1fr; }
  .venueProfilePanel,.venueSettingsForm,.venueSettingsForm>fieldset,.venueDayForm,.promoStampFields,.promoStampLines,.fondsSeriesTools,.fondsCreateForm,.seriesSettings,.backgroundUpload,.fondZeroBody,.brAutoVideoVenueLogo { grid-template-columns: 1fr; }
  .brAutoVideoVenueLogo .venueLogoPreview { width: 100%; }
  .brAutoVideoVenueLogo .venueLogoUpload { grid-template-columns: 1fr; }
  .brAutoVideoVenueLogo .venueLogoUpload .primary { width: 100%; }
  .generalPartyLogoManager { grid-column: auto; grid-template-columns: 82px minmax(0,1fr); }
  .generalPartyLogoPreview { width: 82px; min-height: 96px; }
  .generalPartyLogoPreview img { height: 96px; }
  .venueSave,.venueDayForm .primary { grid-column: auto; }
  .seriesSettings .primary,.backgroundUpload button,.backgroundUpload small { grid-column: auto; }
  .partyLogoManager { grid-template-columns: 70px minmax(0,1fr); }
  .fondZeroPreview { grid-template-columns: 90px minmax(0,1fr); }
  .fondZeroPreview img { width: 90px; }
  .matchPageTitle { align-items: flex-start; flex-direction: column; gap: 0; }
  .matchSeason { margin-bottom: 18px; }
  .matchBackgroundGrid { grid-template-columns: 1fr; }
  .matchBackgroundCard { grid-template-columns: 104px minmax(0,1fr); }
  .matchBackgroundPreview { width: 104px; }
  .matchBackgroundReplace .primary,.matchBackgroundRestore button { min-height: 44px; }
  .matchCalendarAlertGrid { grid-template-columns: 1fr; }
  .matchCalendarAlert { min-height: 0; }
  .matchRuleGrid { grid-template-columns: 1fr; }
  .matchRulesActions,.matchSyncBar { align-items: stretch; flex-direction: column; }
  .matchRulesActions .primary,.matchSyncBar button { width: 100%; min-height: 44px; }
  .matchList { grid-template-columns: 1fr; }
  .matchFlyerArea { grid-template-columns: 96px minmax(0,1fr); }
  .matchVideoEditor { padding: 0 14px 14px; }
  .periodTools { align-items: stretch; flex-direction: column; }
  .periodTools a,.periodTools strong { text-align: center; }
  .modulePickerGrid,.calendarViewChoices,.tenantAccessChoices,.tenantStampGrid,.clientIdentityGrid { grid-template-columns: 1fr; }
  .clientIdentityGrid p { grid-column: auto; }
  .clientSourceNotice { align-items: flex-start; flex-direction: column; }
  .clientSourceColumns { grid-template-columns: 1fr; }
  .clientSourceMatches { grid-column: auto; }
  .clientSourceRows article { grid-template-columns: 68px minmax(0,1fr); }
  .clientSourceRows article em { grid-column: 2; justify-self: start; }
  .clientListTitle { align-items: stretch; flex-direction: column; }
  .clientListTitle .primary { width: 100%; }
  .clientListActions { align-items: stretch; flex-direction: column; }
  .clientListActions > a { text-align: center; }
  .clientImportSearch { grid-template-columns: 1fr; }
  .clientImportSearch .primary { width: 100%; }
  .clientImportRow { grid-template-columns: auto minmax(0,1fr); }
  .clientImportRow > em { justify-self: start; }
  .clientImportRow > form,.clientImportRow > .clientOpen { grid-column: 1 / -1; width: 100%; }
  .clientImportRow form .primary,.clientImportRow > .clientOpen { width: 100%; }
  .clientImportActions { grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .clientImportActions .clientOpen,.clientImportActions form,.clientImportActions .primary { width: 100%; }
  .clientImportHero { align-items: stretch; flex-direction: column; }
  .clientImportHero form,.clientImportHero .primary { width: 100%; }
  .clientOverview,.clientGrid { grid-template-columns: 1fr; }
  .brPlanningTitle { align-items: stretch; }
  .brPlanningCounters { justify-content: flex-start; }
  .brPlanningToolbar { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
  .brPlanningToolbar > div { grid-column: 1 / -1; grid-row: 1; }
  .brPlanningToolbar > a { padding: 8px 2px; }
  .brPlanningToolbar form { grid-column: 1 / -1; justify-content: center; }
  .brPlanningDefaultHours > summary { align-items: flex-start; flex-direction: column; gap: 8px; padding: 12px; }
  .brPlanningDefaultHoursGrid { grid-template-columns: 1fr; padding: 12px; }
  .brPlanningDefaultHoursGrid form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brPlanningDefaultHoursIdentity { grid-column: 1 / -1; }
  .brPlanningDefaultHoursGrid button { grid-column: 1 / -1; }
  .brPlanningDefaultHours > p { padding: 0 12px 12px; }
  .brPlanningDragHint { padding: 9px 12px; }
  .brPlanningScroll,.brBookingPlanningScroll { height: clamp(260px,64vh,620px); height: clamp(260px,64dvh,620px); }
  .brPlanningDate,.brBookingPlanningDate { width: 72px; min-width: 72px; max-width: 72px; }
  .brPlanningDay { left: 72px; width: 92px; min-width: 92px; max-width: 92px; font-size: 8px; }
  .brPlanningVenue,.brPlanningCell { width: 190px; min-width: 190px; max-width: 190px; }
  .brPlanningDialogCard > header { padding: 16px; }
  .brPlanningBookingForm { padding: 16px; }
  .brPlanningFormGrid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brPlanningDjChoices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brPlanningDeleteForm { padding: 0 16px 16px; }
  .brAutoVideoHubTitle { align-items: flex-start; flex-direction: column; gap: 10px; }
  .brAutoVideoVenue > summary { grid-template-columns: 34px minmax(0,1fr); padding: 11px; }
  .brAutoVideoVenue > summary em { grid-column: 2; justify-self: start; }
  .brAutoVideoLoader { padding: 10px; }
  .brAutoVideoBatch { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .brAutoVideoModuleHead { align-items: flex-start; flex-direction: column; }
  .clientCard > header { grid-template-columns: auto minmax(0,1fr); }
  .clientStatus { grid-column: 1 / -1; justify-self: start; }
  .clientCardMeta { grid-template-columns: 1fr; }
  .clientOperationsGrid { grid-template-columns: 1fr; }
  .clientAccountBody dl { grid-template-columns: 1fr; }
  .clientAccountCreate,.clientAccountPassword { grid-template-columns: 1fr; }
  .clientSyncBody { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .clientSyncBody > div:nth-child(3) { grid-column: 1 / -1; }
  .portalHeader { grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 14px 16px; }
  .portalBrand { grid-column: 1 / -1; }
  .portalHeader > div { padding-left: 0; border-left: 0; }
  .portalHeader h1 { white-space: normal; }
  .portalIntro { align-items: flex-start; flex-direction: column; }
  .portalModules { justify-content: flex-start; }
  .portalMonth { overflow-x: auto; }
  .portalMonthHead,.portalMonthGrid { min-width: 760px; }
  .tenantModeNotice { align-items: flex-start; flex-direction: column; }
  .tenantAccessChoice { grid-template-columns: auto 32px minmax(0,1fr); min-height: 0; padding: 13px; }
  .tenantStampCard>header { align-items: flex-start; flex-direction: column; }
  .tenantStampForm .promoStampLines { grid-template-columns: 1fr; }
  .tenantStampForm>.primary { justify-self: stretch; min-width: 0; }
  .weekdayPicker { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .moduleConfigurationSave { justify-self: stretch; min-width: 0; }
}

@media (max-width: 520px) {
  .youtubeGrid { grid-template-columns:1fr; }
  .youtubeFormatBadge { align-items:flex-start; flex-direction:column; }
  .backgroundBankAdminAlert,
  .globalBackgroundBankHeader { align-items: flex-start; flex-direction: column; }
  .globalBackgroundBankHeader { padding: 15px; }
  .globalBackgroundBankHeader em { max-width: 100%; white-space: normal; }
  .globalBackgroundBankBody { padding: 14px 12px 16px; }
  .globalBackgroundBankBody>p { font-size: 11px; }
  .backgroundBankSearch { max-width: none; margin-bottom: 16px; font-size: 11px; }
  .backgroundBankSearch input { min-height: 44px; font-size: 16px; }
  .backgroundBankGrid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .backgroundBankCardCopy { padding: 8px; }
  .backgroundBankCardCopy b { font-size: 11px; }
  .backgroundBankCardCopy span { font-size: 9px; }
  .backgroundBankActions>summary { min-height: 44px; padding: 8px; font-size: 10px; }
  .backgroundBankDestinations { padding: 8px; }
  .backgroundBankDestinations button { min-height: 44px; padding: 8px 5px; font-size: 10px; }
  .backgroundBankReplace { padding: 7px; }
  .backgroundBankReplace label,
  .backgroundBankReplace select { font-size: 10px; }
}
.backgroundBankBatchUpload{display:grid;grid-template-columns:minmax(220px,1fr) minmax(140px,.35fr) minmax(240px,1fr) auto;gap:12px;align-items:end;padding:16px;border:1px solid rgba(212,175,55,.28);border-radius:14px;background:rgba(212,175,55,.06)}
.backgroundBankBatchUpload>div{display:grid;gap:4px}.backgroundBankBatchUpload label{display:grid;gap:6px}.backgroundBankBatchUpload small{color:var(--muted)}
@media (max-width:900px){.backgroundBankBatchUpload{grid-template-columns:1fr}.backgroundBankBatchUpload button{width:100%}}
.youtubeLoopPanel{margin:24px 0;border:1px solid #decda4;background:linear-gradient(125deg,#fffaf0,#fff)}
.youtubeLoopPanel>p{color:#655e51;line-height:1.5}
.youtubeLoopDates{display:flex;flex-wrap:wrap;gap:12px;padding:0;list-style:none;margin:20px 0}
.youtubeLoopDates li{display:flex;flex-direction:column;gap:5px;padding:12px 16px;border:1px solid #e8dfcf;border-radius:12px;background:#fff;min-width:140px}
.youtubeLoopDates span{font-size:12px;color:#655e51}
.youtubeLoopSettings{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:20px 0}
.youtubeLoopSettings label{display:flex;gap:8px;align-items:center;font-size:13px}
.youtubeLoopSettings select{padding:10px;border:1px solid #d8c9ac;border-radius:8px;background:white;color:#252016;width:auto}
.youtubeLoopSettings .youtubeLoopToggle input{width:auto;accent-color:#b58f4c}
.youtubeLoopSummary{font-size:13px}
.youtubeLoopState{min-height:24px;font-weight:600}
.youtubeLoopPanel video{display:block;width:100%;max-width:960px;aspect-ratio:16/9;background:#101010;border-radius:12px;margin:20px 0}
.youtubeLoopPanel [data-loop-result]>p{font-size:13px;line-height:1.5;color:#655e51}
.youtubeLoopPanel [data-loop-download]{display:inline-block;padding:13px 20px;border-radius:10px;background:#171713;color:white;text-decoration:none;font-weight:600}
.youtubeLoopPanel button:disabled{opacity:.5;cursor:not-allowed}
.youtubeLoopPanel [data-loop-create]{padding:13px 20px;border:0;border-radius:10px;background:var(--gold);color:#17130a;font:inherit;font-weight:700;cursor:pointer}
@media(max-width:600px){.youtubeLoopSettings{align-items:flex-start;flex-direction:column;gap:16px}.youtubeLoopDates li{min-width:0;flex:1 1 140px}.youtubeLoopPanel .panelhead{align-items:flex-start;flex-direction:column;gap:10px}}

/* Per-establishment MVM TV assembly. */
.youtubeLoopPanel{border:1px solid #dccbab;background:#fffcf5}
.youtubeLoopPanel .panelhead small{letter-spacing:.14em;font-size:11px;color:#8b6a2d;font-weight:700}
.youtubeAssemblyGrid{display:grid;grid-template-columns:1fr 1.1fr 1fr;gap:20px;margin:24px 0}
.youtubeAssemblyGrid fieldset{min-width:0;border:1px solid #e3d8c3;border-radius:14px;padding:18px;background:#fff}
.youtubeAssemblyGrid legend{font-size:15px;font-weight:750;padding:0 7px;color:#2d271b}
.youtubeAssemblyGrid fieldset>p,.youtubeAssemblyHint{font-size:13px;line-height:1.5;color:#6b6251}
.youtubeAssemblyGrid fieldset>label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;margin:16px 0}
.youtubeAssemblyGrid select,.youtubeAssemblyGrid input[type=number]{width:100%;min-width:0;padding:11px;border:1px solid #d8c9ac;border-radius:8px;background:#fff;color:#252016;font:inherit}
.youtubeAssemblyGrid .youtubeLoopToggle{flex-direction:row;align-items:flex-start;gap:9px;font-weight:500;line-height:1.5}
.youtubeAssemblyGrid input[type=checkbox]{width:17px;height:17px;flex-shrink:0;accent-color:#b58f4c;margin:2px 0 0}
.youtubeAssemblyGrid .youtubeLoopDates{display:flex;flex-direction:column;gap:8px;max-height:330px;overflow:auto;margin:12px 0 20px}
.youtubeLoopDates>label{display:flex;align-items:flex-start;gap:10px;border:1px solid #e8dfcf;border-radius:10px;padding:10px;background:#fffdfa}
.youtubeLoopDates>label>span{display:flex;flex-direction:column;gap:4px}
.youtubeLoopDates b{font-size:13px;color:#312817}.youtubeLoopDates em{font-size:11px;color:#8e3c25;font-style:normal}
.youtubeAssemblyPair{display:grid;grid-template-columns:1.6fr 1fr;gap:12px;margin:16px 0}
.youtubeAssemblyPair label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}
.youtubeAssemblyGrid small{display:block;font-size:11px;line-height:1.5;color:#6b6251}
.youtubeAssemblyUpload input{font-size:12px;max-width:100%;font-weight:400}
.youtubeAssemblyRecap{margin:24px 0;padding:18px;border-radius:12px;background:#f5efe2;color:#392f1b}
.youtubeAssemblyRecap p{font-size:13px;line-height:1.6;margin-bottom:0}
.youtubeAssemblyActions{display:flex;flex-wrap:wrap;gap:12px}
.youtubeAssemblyActions button{padding:13px 18px;border:1px solid #cdbb97;border-radius:10px;background:#fff;color:#352b19;font:inherit;font-size:14px;font-weight:650;cursor:pointer}
.youtubeLoopPanel [data-loop-create]{margin-left:auto;background:#b7934e}
.youtubeLoopPanel [data-loop-ambience-preview]{margin:14px 0;border-radius:8px}
.youtubeLoopPanel [hidden]{display:none!important}
@media(max-width:1050px){.youtubeAssemblyGrid{grid-template-columns:1fr 1fr}.youtubeAssemblyGrid fieldset:last-child{grid-column:1/-1}}
@media(max-width:650px){.youtubeAssemblyGrid{grid-template-columns:1fr}.youtubeAssemblyGrid fieldset:last-child{grid-column:auto}.youtubeAssemblyActions{flex-direction:column}.youtubeLoopPanel [data-loop-create]{margin-left:0}.youtubeAssemblyGrid fieldset{padding:14px}}
.youtubeAssemblyLength{padding:22px 18px;border-radius:12px;background:#f5efe2;display:flex;flex-direction:column;gap:8px;margin:8px 0 20px}.youtubeAssemblyLength strong{font-size:36px;letter-spacing:-.04em;color:#4c3916}.youtubeAssemblyLength span{font-size:12px;color:#74603c}

/* Offers and presentations share the ambience source photo; no flyer footer. */
.youtubePresentations{margin:28px 0;padding:24px;border:1px solid #deceb0;border-radius:16px;background:#fff}
.youtubePresentationsHeading{display:flex;align-items:center;justify-content:space-between;gap:24px}.youtubePresentations h3{font-size:24px;margin:8px 0;color:#352b19}.youtubePresentations h3 span{font-size:13px;vertical-align:middle;margin-left:10px;padding:5px 9px;background:#f4ecdc;border-radius:20px;color:#84662e}.youtubePresentationsHeading small{font-size:10px;letter-spacing:.12em;color:#8b6a2d;font-weight:700}.youtubePresentations p{font-size:13px;color:#6b6251;line-height:1.6}.youtubePresentations button{padding:11px 15px;border:1px solid #cdbb97;border-radius:9px;background:#fff;color:#352b19;font:inherit;font-size:13px;cursor:pointer}.youtubePresentations button:disabled{opacity:.45;cursor:not-allowed}.youtubePresentations [data-presentation-add]{background:#b7934e;color:#fff;flex-shrink:0;font-weight:650}
.youtubePresentationPhoto{display:flex;gap:20px;align-items:center;margin:22px 0;padding:18px;border-radius:12px;background:#f7f3eb}.youtubePresentationPhoto img{width:210px;aspect-ratio:16/9;object-fit:cover;border-radius:8px}.youtubePresentationPhoto strong{font-size:14px}.youtubePresentationPhoto p{margin:6px 0}.youtubePresentationPhoto label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600}.youtubePresentationPhoto input{font-size:12px;max-width:100%}.youtubePresentationPhoto small{display:block;font-size:11px;margin-top:9px;color:#746b59}
.youtubePresentationEmpty{padding:20px;text-align:center;border:1px dashed #d9c9aa;border-radius:10px}.youtubePresentationCard{border:1px solid #e4d9c4;border-radius:12px;margin:14px 0;overflow:hidden}.youtubePresentationCard summary{padding:17px 20px;font-weight:650;font-size:15px;cursor:pointer;background:#fffdf8}.youtubePresentationCard [data-presentation-badge]{float:right;font-size:12px;font-weight:500;color:#8b6a2d}.youtubePresentationEditor{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.3fr);gap:26px;padding:22px}.youtubePresentationFields label{display:flex;flex-direction:column;gap:7px;margin:0 0 16px;font-size:13px;font-weight:600}.youtubePresentationFields input:not([type=checkbox]),.youtubePresentationFields textarea,.youtubePresentationFields select{width:100%;padding:11px;border:1px solid #dacdae;border-radius:8px;background:#fff;color:#2c261a;font:inherit;box-sizing:border-box}.youtubePresentationFields textarea{resize:vertical;min-height:85px}.youtubePresentationFields small{font-size:11px;font-weight:400;color:#827359}.youtubePresentationFields .youtubePresentationToggle{flex-direction:row;align-items:center;gap:9px}.youtubePresentationToggle input{accent-color:#b7934e;width:17px;height:17px}.youtubePresentationButtons{display:flex;gap:10px}.youtubePresentationButtons [data-presentation-remove]{border-color:transparent;color:#88695d}.youtubePresentationVisual{position:sticky;top:20px;align-self:start}.youtubePresentationCanvas{aspect-ratio:16/9;display:grid;place-items:center;border-radius:10px;overflow:hidden;background:#111323;border:1px solid #292b37}.youtubePresentationCanvas img{width:100%;display:block}.youtubePresentationCanvas p{color:#b7b8c8;text-align:center;font-size:13px;padding:20px}.youtubePresentationVisual>p{font-size:12px;margin:12px 0}.youtubePresentationFields input:focus,.youtubePresentationFields textarea:focus{outline:2px solid #c5a568;outline-offset:1px}
@media(max-width:900px){.youtubePresentationsHeading{align-items:flex-start;flex-direction:column;gap:12px}.youtubePresentationEditor{grid-template-columns:1fr}.youtubePresentationVisual{position:static}.youtubePresentationPhoto{align-items:flex-start}.youtubePresentationPhoto img{width:150px}}
@media(max-width:600px){.youtubePresentations{padding:16px}.youtubePresentationPhoto{flex-direction:column}.youtubePresentationPhoto img{width:100%}.youtubePresentationEditor{padding:15px}.youtubePresentationCard [data-presentation-badge]{float:none;display:block;margin:8px 0 0}.youtubePresentations h3{font-size:21px}}

/* Editable presentation layers use the exact PNGs and coordinates rendered into the video. */
.youtubePresentationCanvas{position:relative;min-width:0}.youtubePresentationCanvas [data-presentation-stage]{position:absolute;inset:0;overflow:hidden}.youtubePresentationCanvas .youtubePresentationBackground{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0;border-radius:0;object-fit:cover;pointer-events:none;user-select:none}.youtubePresentations .youtubeEditableLayer{position:absolute;display:block;padding:0;margin:0;border:0;border-radius:0;min-width:0;background:transparent;touch-action:none;cursor:move;outline:0;box-shadow:none;user-select:none}.youtubePresentationCanvas .youtubeEditableLayer img{display:block;width:100%;height:100%;max-width:none;object-fit:fill;pointer-events:none;user-select:none}.youtubePresentations .youtubeEditableLayer.isSelected{outline:1px dashed #ffe6a7;outline-offset:4px}.youtubePresentations .youtubeEditableLayer:focus-visible{outline:2px solid #fff;outline-offset:4px}.youtubePresentations .youtubeEditableLayer:disabled{opacity:1}
.youtubePresentationLayerTools{padding:14px;margin-bottom:14px;background:#f7f2e8;border:1px solid #e7d7b7;border-radius:10px}.youtubePresentationLayerTools>strong{font-size:13px;display:block;margin-bottom:10px}.youtubePresentationLayerTools [data-presentation-layer-list]{display:flex;flex-wrap:wrap;gap:6px}.youtubePresentationLayerTools [data-presentation-select-layer]{font-size:11px;padding:7px 10px}.youtubePresentationLayerTools [aria-pressed=true]{background:#3d301b;color:#fff;border-color:#3d301b}.youtubePresentationLayerTools>label{display:grid;grid-template-columns:1fr auto;font-size:12px;margin:13px 0;gap:7px}.youtubePresentationLayerTools input[type=range]{width:100%;grid-column:1/-1;accent-color:#b7934e}.youtubePresentationLayerTools [data-presentation-layer-reset]{font-size:11px;padding:7px 10px}.youtubePresentationVisual{top:80px}
.youtubePresentationButtons{flex-wrap:wrap;margin-top:14px}.youtubePresentationButtons [data-presentation-animate]{background:#3d301b;border-color:#3d301b;color:#fff}.youtubePresentationCanvas .isAnimating .youtubeEditableLayer{outline:none}

.youtubePresentationPositionTools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:14px}.youtubePresentationPositionTools>span{grid-column:1/-1;font-size:12px;font-weight:600;margin-bottom:2px}.youtubePresentationPositionTools button{padding:8px 9px;font-size:11px;line-height:1.4;white-space:normal}

.youtubePresentationPositionTools>output{grid-column:1/-1;font-size:11px;color:#78664a;margin-top:2px}

@font-face{font-family:MvmAllison;src:url('/assets/assets/presentation-fonts/allison/Allison-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:MvmQwitcher;src:url('/assets/assets/presentation-fonts/qwitchergrypen/QwitcherGrypen-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:MvmOoohBaby;src:url('/assets/assets/presentation-fonts/ooohbaby/OoohBaby-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:MvmGreatVibes;src:url('/assets/assets/presentation-fonts/greatvibes/GreatVibes-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:MvmCaveat;src:url('/assets/assets/presentation-fonts/caveat/Caveat%5Bwght%5D.ttf') format('truetype');font-weight:400 700;font-display:swap}
.youtubeManuscriptSample{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 10px;font-size:32px;line-height:1.5;font-weight:400;color:#5d4723;background:#f8f4ec;border-radius:6px}
.youtubeManuscriptSample[data-font=allison]{font-family:MvmAllison,cursive}.youtubeManuscriptSample[data-font=qwitchergrypen]{font-family:MvmQwitcher,cursive}.youtubeManuscriptSample[data-font=ooohbaby]{font-family:MvmOoohBaby,cursive}.youtubeManuscriptSample[data-font=greatvibes]{font-family:MvmGreatVibes,cursive}.youtubeManuscriptSample[data-font=caveat]{font-family:MvmCaveat,cursive;font-weight:600}

@font-face{font-family:MvmArchivo;src:url('/assets/assets/presentation-fonts/archivo/Archivo%5Bwdth,wght%5D.ttf') format('truetype');font-weight:100 900;font-stretch:62% 125%;font-display:swap}
@font-face{font-family:MvmSyncopate;src:url('/assets/assets/presentation-fonts/syncopate/Syncopate-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:MvmUnbounded;src:url('/assets/assets/presentation-fonts/unbounded/Unbounded%5Bwght%5D.ttf') format('truetype');font-weight:200 900;font-display:swap}
@font-face{font-family:MvmBebasNeue;src:url('/assets/assets/presentation-fonts/bebasneue/BebasNeue-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:MvmCinzel;src:url('/assets/assets/presentation-fonts/cinzel/Cinzel%5Bwght%5D.ttf') format('truetype');font-weight:400 900;font-display:swap}
.youtubeTitleSample{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:6px;padding:12px 10px;background:#222433;color:#eac871;font-size:26px;line-height:1.4;font-weight:900}
.youtubeTitleSample[data-font=signature]{font-family:MvmArchivo,sans-serif;font-variation-settings:'wght' 900,'wdth' 125}
.youtubeTitleSample[data-font=elegance]{font-family:MvmSyncopate,sans-serif;font-weight:700}
.youtubeTitleSample[data-font=modern]{font-family:MvmUnbounded,sans-serif}
.youtubeTitleSample[data-font=condensed]{font-family:MvmBebasNeue,sans-serif;font-weight:400}
.youtubeTitleSample[data-font=classic]{font-family:MvmCinzel,serif}
.youtubeTitleSample [data-presentation-title-font-text]{color:transparent;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.youtubeScriptColors>small{display:block;margin-top:10px;line-height:1.5}
.youtubeManuscriptSample{background:#222433}
.youtubePresentationFields .youtubeScriptColors{padding:10px 12px;margin:0 0 16px;border:1px solid #dacdae;border-radius:8px;min-width:0}
.youtubeScriptColors legend{font-size:12px;font-weight:600;padding:0 4px}
.youtubeScriptColors>div{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.youtubeScriptColors button[data-presentation-swatch]{width:28px;height:28px;min-width:28px;padding:0;border:1px solid #9d907b;border-radius:50%;background:var(--swatch)}
.youtubeScriptColors button[aria-pressed=true]{outline:2px solid #5b4824;outline-offset:3px}
.youtubePresentationFields .youtubeCustomColor{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0 0 0 auto;font-size:11px}
.youtubePresentationFields input[type=color]{width:42px;height:32px;padding:2px;cursor:pointer}

.youtubeFooterSample{font-size:18px;letter-spacing:.14em;font-weight:600;line-height:1.7}
.youtubeFooterSample[data-font=archivo]{font-family:MvmArchivo,sans-serif;font-variation-settings:'wght' 600,'wdth' 100}
.youtubeFooterSample[data-font=syncopate]{font-family:MvmSyncopate,sans-serif;font-weight:700}
.youtubeFooterSample[data-font=unbounded]{font-family:MvmUnbounded,sans-serif}
.youtubeFooterSample[data-font=bebasneue]{font-family:MvmBebasNeue,sans-serif;font-weight:400}
.youtubeFooterSample[data-font=cinzel]{font-family:MvmCinzel,serif;font-weight:700}

/* The template library only changes the flyer layout, not venue identity. */
.templateLibrary{max-width:1100px;margin:0 auto}
.templateLibrary .actionTitle{align-items:center;gap:20px}
.templateLibrary .actionTitle p{max-width:660px;line-height:1.6}
.templateVenueLabel{flex-shrink:0;padding:9px 13px;border:1px solid #dce0e5;border-radius:8px;background:#fff;color:#48515a;font-size:12px;font-weight:750}
.templateLibraryNotice{padding:16px 19px;margin:20px 0 25px;border:1px solid #e4d8b6;border-radius:10px;background:#fffaf0;color:#55482e;font-size:13px;line-height:1.6}
.templateChoices{min-width:0;padding:0;margin:0;border:0}
.templateChoices>legend{font-size:19px;font-weight:800;margin:0 0 18px;padding:0}
.templateGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;align-items:start}
.templateCard{position:relative;display:block;min-width:0;padding:12px;border:2px solid #dce0e5;border-radius:15px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.templateCard:hover{border-color:#ab985e}
.templateCard:has(input:checked){border-color:#9a791e;box-shadow:0 0 0 2px #d4b24f24}
.templateCard:has(input:focus-visible){outline:3px solid #244d7d;outline-offset:4px}
.templateCard>input[type=radio]{position:absolute;top:24px;left:24px;z-index:1;width:22px;height:22px;margin:0;accent-color:#957119;cursor:pointer;box-shadow:0 0 0 4px #ffffffd9;border-radius:50%}
.templatePreview{position:relative;display:flex;justify-content:center;overflow:hidden;min-height:180px;border-radius:8px;background:#18191e}
.templatePreview>img{display:block;width:100%;height:auto;max-height:480px;object-fit:contain}
.templateCurrentBadge{position:absolute;right:10px;top:10px;padding:7px 10px;border-radius:999px;background:#fff5d6;color:#634d15;font-size:10px;font-weight:850;box-shadow:0 2px 8px #0003}
.templatePreviewUnavailable{align-self:center;padding:30px;color:#cfd2d6;font-size:13px}
.templateCardCopy{display:flex;flex-direction:column;gap:8px;padding:17px 6px 8px}
.templateCardCopy>strong{font-size:18px;color:#20262c}
.templateCardCopy>span{font-size:13px;line-height:1.55;color:#66717c}
.templateCardCopy>small{font-size:11px;line-height:1.5;color:#88702e}
.flyerQuickBody .bookingTemplateColors{padding:10px 0 14px;margin:4px 0;border-bottom:1px solid #edf0f2}
.bookingTemplateColors fieldset{min-width:0;padding:12px;border:1px solid #e4d8b6;border-radius:7px;background:#fffaf0}
.bookingTemplateColors legend{padding:0 5px;font-size:11px;font-weight:850;color:#55482e}
.bookingTemplateColors fieldset>small{display:block;color:#6d675a;font-size:9px;line-height:1.5;margin:0 0 13px}
.flyerQuickBody .bookingTemplateColors label{display:flex;align-items:center;gap:11px;margin:10px 0;font-size:10px;line-height:1.5;cursor:pointer}
.flyerQuickBody .bookingTemplateColors input[type=color]{width:48px;height:40px;flex-shrink:0;margin:0;padding:3px;cursor:pointer}
.bookingTemplateColors label small{display:block;color:#6d675a;font-size:8px;font-weight:400;line-height:1.5;margin-top:4px}
.bookingTemplateColors input:focus-visible{outline:3px solid #244d7d;outline-offset:3px}
.bookingTemplateColors button{white-space:normal;line-height:1.5;min-height:38px}
.templateSave{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:25px 0;padding:20px;border:1px solid #dce0e5;border-radius:12px;background:#fff}
.templateSave>div{display:flex;flex-direction:column;gap:5px}
.templateSave span{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#7b838c;font-weight:750}
.templateSave strong{font-size:17px;color:#20262c}
.templateSave small{font-size:12px;line-height:1.5;color:#66717c}
.templateSave button{padding:13px 20px;min-height:46px;flex-shrink:0}
.templateEmpty{padding:26px;color:#66717c}
@media(max-width:650px){.templateLibrary .actionTitle{align-items:flex-start;flex-direction:column;gap:8px}.templateGrid{grid-template-columns:1fr;gap:18px}.templatePreview>img{max-height:440px}.templateSave{align-items:stretch;flex-direction:column;gap:17px}.templateSave button{width:100%}.templateCardCopy>strong{font-size:17px}}

/* Fixed flyer canvas, independently scrolling tools, existing Mise en page entry only. */
.flyerLayoutDialog{width:min(1340px,calc(100vw - 24px));height:min(920px,calc(100dvh - 24px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #59616a;border-radius:14px;background:#edf0f3;color:#20262c;box-shadow:0 24px 100px #0009;overflow:hidden}
.flyerLayoutDialog[open]{display:grid;grid-template-rows:auto auto auto minmax(0,1fr)}
.flyerLayoutDialog::backdrop{background:#0b1019b8;backdrop-filter:blur(5px)}
.flyerLayoutDialogHeader{grid-row:1;position:relative;top:auto;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:20px;height:auto;min-height:64px;margin:0;padding:12px 20px;border-bottom:1px solid #d7dce1;background:#fff;color:#20262c}
.flyerLayoutDialogHeader h2{margin:0;font-size:21px;line-height:1.3;letter-spacing:0}
.flyerLayoutDialogHeader button,.flyerLayoutDialog [data-flyer-layout-retry]{min-height:42px;padding:10px 17px;border:1px solid #cfd6de;border-radius:7px;background:#fff;color:#28343f;font:inherit;font-size:14px;font-weight:750;cursor:pointer}
.flyerLayoutDialog button:focus-visible,.flyerLayoutDialog input:focus-visible{outline:3px solid #244d7d;outline-offset:3px}
.flyerLayoutDialog [data-flyer-layout-status]{grid-row:2;max-height:68px;overflow:auto;margin:0;padding:10px 20px;font-size:13px;line-height:1.5;color:#586773}
.flyerLayoutDialog [data-flyer-layout-status]:empty{display:none}
.flyerLayoutDialog [data-flyer-layout-retry]{grid-row:3;justify-self:start;margin:0 20px 10px}
.flyerLayoutDialog [data-flyer-layout-retry][hidden]{display:none}
.flyerLayoutDialog [data-flyer-layout-content]{grid-row:4;min-height:0;overflow:hidden;padding:16px 20px}
.flyerLayoutDialog .flyerCard,.flyerLayoutDialog .matchCard{height:100%;min-height:0;display:grid;grid-template-columns:minmax(220px,.95fr) minmax(340px,1.05fr);align-items:stretch;gap:26px;max-width:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:transparent;box-shadow:none}
.flyerLayoutDialog .poster{width:min(100%,calc(min(720px,100dvh - 180px)*9/16));height:auto;max-width:100%;max-height:100%;min-width:0;aspect-ratio:9/16;justify-self:center;align-self:center;overflow:hidden;box-shadow:0 7px 25px #141c2829}
.flyerLayoutDialog .cardbody,.flyerLayoutDialog .matchVideoEditor{height:100%;max-height:100%;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:4px 10px 0 0}
.flyerLayoutDialog .matchFlyerArea{display:contents}
.flyerLayoutDialog .matchVideoEditor,.flyerLayoutDialog .matchVideoLayers{background:transparent}
.flyerLayoutDialog .matchCardTop,.flyerLayoutDialog .matchKickoff,.flyerLayoutDialog .matchTeams,.flyerLayoutDialog .matchDjConflict,.flyerLayoutDialog .matchNoConflict,.flyerLayoutDialog .matchFlyerActions,.flyerLayoutDialog .matchFlyerPreview>span{display:none!important}
.flyerLayoutDialog .cardbody>h3{font-size:19px;margin:0 0 5px}
.flyerLayoutDialog .cardbody>p{font-size:13px;margin:0 0 12px;line-height:1.5}
.flyerLayoutDialog .cardbody>.status{display:none}
.flyerLayoutDialog .layers{margin:0;padding:0;border:0}
.flyerLayoutDialog .flyerQuickSettings,.flyerLayoutDialog .tenantPromoStampForm,.flyerLayoutDialog .flyerGenerateForm,.flyerLayoutDialog .openEditor,.flyerLayoutDialog .staticDownload,.flyerLayoutDialog .staticUnavailable,.flyerLayoutDialog .editorTabs,.flyerLayoutDialog .videoDuration,.flyerLayoutDialog .videoActions,.flyerLayoutDialog .exportState,.flyerLayoutDialog .editorTabPanel:not([data-editor-panel=layout]){display:none!important}
.flyerLayoutDialog .visualLayoutPanel{gap:16px}
.flyerLayoutDialog .exactNotice{padding:14px;margin:12px 0;background:#fff;border-radius:8px}
.flyerLayoutDialog .exactNotice b{font-size:15px}
.flyerLayoutDialog .exactNotice span{font-size:13px;line-height:1.5}
.flyerLayoutDialog .visualLayoutChoices{gap:9px}
.flyerLayoutDialog .visualLayoutChoices button,.flyerLayoutDialog .visualLayoutActions button,.flyerLayoutDialog .visualLayoutFooter button{min-height:45px;padding:11px 13px;font-size:13px;line-height:1.4}
.flyerLayoutDialog .visualLayoutChoices button{flex-basis:145px}
.flyerLayoutDialog .visualLayoutTools{padding:16px;gap:16px;background:#fff}
.flyerLayoutDialog .visualLayoutTools>label{font-size:13px;grid-template-columns:auto minmax(70px,1fr) 48px}
.flyerLayoutDialog .visualLayoutTools input[type=range]{width:100%;min-width:0;min-height:28px;accent-color:#9d7d20}
.flyerLayoutDialog .visualLayoutTools output,.flyerLayoutDialog .visualLayoutTools small,.flyerLayoutDialog .visualLayoutState{font-size:13px;line-height:1.5}
.flyerLayoutDialog .visualLayoutFooter{position:sticky;bottom:0;z-index:5;gap:10px;margin-top:2px;padding:12px 0;background:#edf0f3;box-shadow:0 -9px 12px #edf0f3}
.flyerLayoutDialog .visualLayoutState{margin:0 0 12px}
.poster [data-visual-layout-guide]{position:absolute;pointer-events:none;z-index:315;filter:drop-shadow(0 0 1px #10202e)}
.poster [data-visual-layout-guide="x"]{top:0;bottom:0;width:0;border-left:1px dashed #65e7ff}
.poster [data-visual-layout-guide="y"]{left:0;right:0;height:0;border-top:1px dashed #65e7ff}
.poster [data-visual-layout-guide][hidden]{display:none!important}
.poster.visualLayoutEditing{touch-action:none;user-select:none;-webkit-user-select:none}
/* Freeze motion only; do not override the inline transforms that position the layers. */
.flyerLayoutDialog .poster,.flyerLayoutDialog .poster *,.poster.visualLayoutEditing,.poster.visualLayoutEditing *{animation:none!important;animation-play-state:paused!important;transition:none!important}
.flyerLayoutDialog .poster .backgroundContourWindow,.flyerLayoutDialog .poster .backgroundContour,.flyerLayoutDialog .poster .whiteLightFx,.flyerLayoutDialog .poster .finalReference,.poster.visualLayoutEditing .backgroundContourWindow,.poster.visualLayoutEditing .backgroundContour,.poster.visualLayoutEditing .whiteLightFx,.poster.visualLayoutEditing .finalReference{display:none!important}
@media(max-width:760px){
  .flyerLayoutDialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:10px}
  .flyerLayoutDialogHeader{padding:10px 13px;min-height:59px;gap:10px}
  .flyerLayoutDialogHeader h2{font-size:17px}
  .flyerLayoutDialogHeader button{padding:8px 12px}
  .flyerLayoutDialog [data-flyer-layout-status]{padding:8px 13px;max-height:60px}
  .flyerLayoutDialog [data-flyer-layout-content]{padding:12px}
  .flyerLayoutDialog .flyerCard,.flyerLayoutDialog .matchCard{grid-template-columns:1fr;grid-template-rows:minmax(100px,min(36dvh,320px)) minmax(0,1fr);gap:16px}
  .flyerLayoutDialog .poster{height:100%;width:auto;max-height:38dvh;max-width:100%;aspect-ratio:9/16}
  .flyerLayoutDialog .cardbody,.flyerLayoutDialog .matchVideoEditor{height:100%;max-height:100%;padding:0 6px 0 0}
  .flyerLayoutDialog .cardbody>h3{font-size:17px}
  .flyerLayoutDialog .visualLayoutChoices button{flex-basis:115px}
  .flyerLayoutDialog .visualLayoutTools{padding:12px}
  .flyerLayoutDialog .visualLayoutTools>label{grid-template-columns:auto minmax(50px,1fr) 42px;gap:6px}
  .flyerLayoutDialog .visualLayoutFooter{grid-template-columns:1fr 1fr;gap:8px;padding:10px 0}
  .flyerLayoutDialog .visualLayoutFooter button{padding:10px 7px}
}
