.tvc-my-lounge {
  --ml-ink: var(--text, #201e1d);
  --ml-sub: var(--muted, #77716d);
  --ml-accent: #b53c2c;
  --ml-line: var(--border, #eae7e3);
  --ml-paper: var(--panel, #fff);
  --ml-soft: var(--panel-2, #f8f7f5);
  --ml-forest: var(--green, #71825d);
  box-sizing: border-box;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 30px 64px;
  color: var(--ml-ink);
  background: var(--ml-paper);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.tvc-my-lounge *, .tvc-my-lounge *::before, .tvc-my-lounge *::after { box-sizing: border-box; }
.tvc-my-lounge button { font: inherit; cursor: pointer; }
.tvc-my-lounge button:focus-visible, .tvc-my-lounge a:focus-visible { outline: 2px solid var(--ml-accent); outline-offset: 3px; }
.tvc-my-lounge [hidden] { display: none !important; }
.tvc-my-lounge h1, .tvc-my-lounge h2, .tvc-my-lounge h3, .tvc-my-lounge p { margin-top: 0; }
.tvc-my-lounge .ml-headline { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin: 0 0 39px; }
.tvc-my-lounge .ml-headline h1 { margin: 0; font-size: clamp(31px,4.3vw,57px); font-weight: 700; letter-spacing: -.075em; line-height: 1; }
.tvc-my-lounge .ml-headline h1 span { color: var(--ml-accent); }
.tvc-my-lounge .ml-toolbar { display: flex; align-items: center; gap: 9px; }
.tvc-my-lounge .ml-menu-anchor, .tvc-my-lounge .ml-add-anchor { position: relative; flex: none; }
.tvc-my-lounge .ml-more { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 1px solid var(--ml-line); border-radius: 50%; color: var(--ml-ink); background: var(--ml-paper); }
.tvc-my-lounge .ml-more svg { width: 19px; height: 19px; }
.tvc-my-lounge .ml-add { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 1px solid var(--ml-accent); border-radius: 50%; color: #fff; background: var(--ml-accent); }
.tvc-my-lounge .ml-add svg { width: 19px; height: 19px; }
.tvc-my-lounge .ml-menu, .tvc-my-lounge .ml-add-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 9px);
  right: 0;
  width: min(236px, calc(100vw - 36px));
  max-height: min(70vh, 440px);
  overflow-y: auto;
  padding: 5px;
  border: 1px solid var(--ml-line);
  border-radius: 10px;
  background: var(--ml-paper);
  box-shadow: 0 15px 40px rgba(32,21,16,.14);
}
.tvc-my-lounge .ml-menu::before, .tvc-my-lounge .ml-add-menu::before {
  position: absolute;
  top: -6px;
  right: 13px;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--ml-line);
  border-left: 1px solid var(--ml-line);
  background: var(--ml-paper);
  content: "";
  transform: rotate(45deg);
}
.tvc-my-lounge .ml-menu button, .tvc-my-lounge .ml-add-menu button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 6px;
  color: var(--ml-ink);
  background: transparent;
  text-align: left;
  font-size: 12px;
}
.tvc-my-lounge .ml-menu button:hover, .tvc-my-lounge .ml-add-menu button:hover { background: var(--ml-soft); }
.tvc-my-lounge .ml-add-menu button { display: grid; gap: 4px; }
.tvc-my-lounge .ml-add-menu strong { font-size: 12px; }
.tvc-my-lounge .ml-add-menu small { color: var(--ml-sub); font-size: 10px; }
.tvc-my-lounge .ml-section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.tvc-my-lounge .ml-section-head h2 { margin: 0; font-size: 12px; letter-spacing: .14em; font-weight: 900; }
.tvc-my-lounge .ml-count { color: var(--ml-sub); font-size: 11px; }
.tvc-my-lounge .ml-empty, .tvc-my-lounge .ml-state { padding: 24px; border: 1px solid var(--ml-line); border-radius: 9px; color: var(--ml-sub); background: var(--ml-soft); font-size: 12px; line-height: 1.6; }
.tvc-my-lounge .ml-state { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tvc-my-lounge .ml-retry { padding: 8px 11px; border: 1px solid var(--ml-line); border-radius: 5px; color: var(--ml-ink); background: var(--ml-paper); font-size: 11px; font-weight: 800; }
.tvc-my-lounge .ml-skeleton {
  display: grid;
  min-height: 156px;
  place-items: center;
  padding: 20px;
  border: 1px solid var(--ml-line);
  border-radius: 10px;
  background: var(--ml-paper);
  grid-column: 1 / -1;
}
.tvc-my-lounge .ml-loading-palette {
  width: 58px;
  height: 58px;
  gap: 4px;
}
.tvc-my-lounge .ml-loading-palette i { min-width: 0; min-height: 0; }
.tvc-my-lounge .ml-rule { margin: 39px 0 28px; border: 0; border-top: 1px solid var(--ml-line); }
.tvc-my-lounge .ml-ideas { display: grid; gap: 10px; }
.tvc-my-lounge .ml-ideas-state { padding: 20px; border: 1px solid var(--ml-line); border-radius: 9px; color: var(--ml-sub); background: var(--ml-soft); font-size: 12px; line-height: 1.55; }
.tvc-my-lounge .ml-ideas-state button { margin-left: 6px; padding: 0; border: 0; color: var(--ml-accent); background: transparent; font-weight: 800; text-decoration: underline; }
.tvc-my-lounge .ml-ideas-state.is-error { color: #a3473b; }
.tvc-my-lounge .ml-idea-card { display: flex; align-items: flex-start; gap: 13px; padding: 15px; border: 1px solid var(--ml-line); border-radius: 9px; background: var(--ml-paper); }
.tvc-my-lounge .ml-idea-mark { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border: 1px solid var(--ml-line); border-radius: 7px; color: var(--ml-ink); background: var(--ml-soft); font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.tvc-my-lounge .ml-idea-mark.is-theme { font-size: 21px; letter-spacing: 0; }
.tvc-my-lounge .ml-idea-copy { flex: 1; min-width: 0; }
.tvc-my-lounge .ml-idea-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.tvc-my-lounge .ml-idea-type { color: var(--ml-sub); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.tvc-my-lounge .ml-idea-status { color: var(--ml-sub); font-size: 10px; font-weight: 750; white-space: nowrap; }
.tvc-my-lounge .ml-idea-status[data-status="pending"] { color: #a67b3b; }
.tvc-my-lounge .ml-idea-status[data-status="accepted"], .tvc-my-lounge .ml-idea-status[data-status="approved"], .tvc-my-lounge .ml-idea-status[data-status="converted"] { color: var(--ml-forest); }
.tvc-my-lounge .ml-idea-status[data-status="declined"] { color: #a85043; }
.tvc-my-lounge .ml-idea-copy > strong { display: block; color: var(--ml-ink); font-size: 14px; line-height: 1.3; }
.tvc-my-lounge .ml-idea-copy > p { margin: 5px 0 0; color: var(--ml-sub); font-size: 11px; line-height: 1.5; white-space: pre-line; }
.tvc-my-lounge .ml-idea-related, .tvc-my-lounge .ml-idea-date { display: block; margin-top: 5px; color: var(--ml-sub); font-size: 10px; line-height: 1.4; }
.tvc-my-lounge .ml-idea-color { display: inline-block; width: 11px; height: 11px; margin-left: 7px; border: 1px solid var(--ml-line); border-radius: 50%; vertical-align: 1px; }
.tvc-my-lounge .ml-secondary { flex: none; padding: 11px 14px; border: 1px solid var(--ml-line); border-radius: 5px; color: var(--ml-ink); background: var(--ml-paper); font-size: 11px; font-weight: 850; }
.tvc-my-lounge .ml-secondary:hover { background: var(--ml-soft); }
.tvc-my-lounge .ml-footer { padding: 15px 20px 0; color: var(--ml-sub); font-size: 10px; line-height: 1.6; text-align: center; }
html[data-theme="dark"] .tvc-my-lounge {
  --ml-ink: var(--text, #ece8e3);
  --ml-sub: var(--text-2, #aaa39b);
  --ml-line: var(--border, #3a3733);
  --ml-paper: var(--panel, #242321);
  --ml-soft: var(--panel-2, #2b2926);
}
.ml-shell-nav { display: none; }
.ml-sidebar-brand { display: none; }
.ml-sidebar-brand span { color: #b53c2c; }
#appShell.lounge-my-active { background: var(--panel); min-height: 100dvh; }
#appShell.lounge-my-active .content { background: var(--panel); padding-bottom: 0; }
#appShell.lounge-my-active .section { max-width: 1000px; padding: 0; }
#appShell.lounge-my-active #secBriefs { max-width: none; }
#appShell.lounge-my-active .topbar { position: sticky; top:0; right:auto; width:auto; height:auto; margin:0; pointer-events:auto; background:var(--panel); border:0; border-bottom:1px solid var(--border); }
#appShell.lounge-my-active .topbar-inner { width:100%; height:auto; min-height:58px; pointer-events:auto; max-width:none; margin:0; padding:8px clamp(16px,3vw,29px); justify-content:space-between; }
#appShell.lounge-my-active .tb-user,
#appShell.lounge-my-active .tb-theme-toggle,
#appShell.lounge-my-active .tb-logout { display: none; }
#appShell.lounge-my-active .tb-brand,
#appShell.lounge-my-active .tb-help { display: flex !important; }
#appShell.lounge-my-active .tb-mobile-settings { display: block; margin:0 !important; }
#appShell.lounge-my-active .section:not(#secBriefs) { margin: 0 auto; padding: 28px 30px 90px; font-family: Inter, Arial, sans-serif; }
#appShell.lounge-my-active .sec-title { font-weight: 900; letter-spacing: -.055em; font-size: 34px; }
#appShell.lounge-my-active .pitch-box, #appShell.lounge-my-active .sub-card { box-shadow: none; border-radius: 10px; }
#appShell.lounge-my-active .btn { border: 0; border-radius: 5px; background: #b53c2c; color: #fff; font-weight: 800; }
.ml-return { display: inline-flex; padding: 8px 0; margin: 0 0 18px; border: 0; background: transparent; color: var(--text-2); font: 700 12px Inter,Arial,sans-serif; cursor: pointer; }
.ml-workspace-dialog, .ml-action-dialog {
  box-sizing: border-box; color: var(--text); background: var(--panel);
  border: 1px solid var(--border); border-radius: 12px; padding: 0;
  width: min(1000px, calc(100vw - 48px)); max-height: 90dvh;
  font-family: Inter, Arial, Helvetica, sans-serif;
}
.ml-action-dialog { width: min(560px, calc(100vw - 40px)); }
.ml-workspace-dialog::backdrop, .ml-action-dialog::backdrop { background: #14100e80; }
.ml-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); background: var(--panel); }
.ml-dialog-head h2 { margin: 0; font-size: 25px; letter-spacing: -.055em; }
.ml-dialog-head button { flex: none; width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--text); font-size: 22px; cursor: pointer; }
.ml-dialog-body { padding: 24px; }
.ml-workspace-dialog .collab-curation { padding: 24px; }
.ml-workspace-dialog .collab-curation { --cc-bg:var(--panel); --cc-panel:var(--panel); --cc-line:var(--border); --cc-ink:var(--text); --cc-muted:var(--text-2); margin:0; border:0; border-radius:0; font-family:Inter,Arial,sans-serif; }
.ml-workspace-dialog .cc-section, .ml-workspace-dialog .cc-btn, .ml-workspace-dialog .cc-project { background:var(--panel); color:var(--text); }
.ml-workspace-dialog .cc-btn.primary { background:#b53c2c; color:white; border-color:#b53c2c; }
.ml-workspace-dialog .cc-section input, .ml-workspace-dialog .cc-section textarea, .ml-workspace-dialog .cc-section select { background:var(--panel-2); color:var(--text); border-color:var(--border); }
.ml-workspace-dialog.is-assignment-workspace {
  position:fixed; inset:58px 0 0 184px; display:flex; flex-direction:column;
  width:auto; height:auto; max-width:none; max-height:none; margin:0; padding:0;
  overflow:hidden; border-radius:0; overscroll-behavior:contain;
}
.ml-workspace-dialog.is-assignment-workspace .ml-dialog-head {
  flex:0 0 52px; min-height:52px; padding:7px 18px;
}
.ml-workspace-dialog.is-assignment-workspace .ml-dialog-head strong {
  min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-size:14px; font-weight:750;
}
.ml-workspace-dialog.is-assignment-workspace .collab-curation {
  display:flex; flex:1 1 auto; flex-direction:column; min-width:0; min-height:0;
  overflow:hidden; padding:0; background:var(--panel);
}
.ml-workspace-dialog.is-assignment-workspace #ccApp { flex:1 1 auto; min-width:0; min-height:0; }
.ml-workspace-dialog.is-assignment-workspace .cc-assignment-workspace {
  position:relative; display:flex; flex-direction:column; width:100%; height:100%; min-width:0; min-height:0;
  overflow:hidden; color:var(--text); background:var(--panel); --cc-bg:var(--panel); --cc-panel:var(--panel);
  --cc-line:var(--border); --cc-ink:var(--text); --cc-muted:var(--text-2); --cc-red:#b53c2c;
}
.cc-workspace-alerts { position:absolute; z-index:8; top:8px; left:50%; width:min(560px,calc(100% - 24px)); transform:translateX(-50%); }
.cc-workspace-alerts:empty { display:none; }
.cc-workspace-grid { display:grid; flex:1 1 auto; grid-template-columns:minmax(250px,.82fr) minmax(0,1.18fr); min-width:0; min-height:0; }
.cc-workspace-brief-pane, .cc-workspace-add-pane { min-width:0; min-height:0; overflow:auto; overscroll-behavior:contain; }
.cc-workspace-brief-pane { padding:22px; border-right:1px solid var(--border); }
.cc-workspace-add-pane { display:flex; flex-direction:column; overflow:hidden; }
.cc-brief-overview { display:grid; grid-template-columns:clamp(84px,13vw,150px) minmax(0,1fr); align-items:start; gap:17px; }
.cc-shared-brief-preview { width:100%; min-width:0; margin:0 0 14px; }
.cc-shared-brief-preview .tvc-d-brief-preview[data-preview-instance="mobile"] { width:100%; max-width:none; min-height:0; }
.cc-assignment-brief-meta { display:flex; flex-wrap:wrap; gap:5px 16px; margin:10px 0 18px; }
.cc-brief-cover.is-designated { position:relative; }
.cc-brief-cover .cc-brief-advisory { position:absolute; right:7px; bottom:7px; width:clamp(18px,5vw,28px); height:clamp(18px,5vw,28px); object-fit:contain; pointer-events:none; }
.cc-brief-cover { display:grid; width:100%; aspect-ratio:1; overflow:hidden; border-radius:7px; background:var(--panel-2); }
.cc-brief-cover.is-mosaic { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:2px; }
.cc-brief-cover img { display:block; width:100%; height:100%; object-fit:cover; background:var(--panel-2); }
.cc-brief-cover:not(.is-mosaic) img { grid-area:1/1; }
.cc-brief-cover .cc-art-placeholder { display:grid; place-items:center; padding:8px; color:var(--text-2); font-size:10px; text-align:center; }
.cc-brief-copy { min-width:0; }
.cc-brief-copy h2 { margin:7px 0 8px; font-size:clamp(20px,2vw,29px); line-height:1.08; overflow-wrap:anywhere; }
.cc-brief-description, .cc-brief-block p { margin:0; color:var(--text-2); font-size:13px; line-height:1.55; overflow-wrap:anywhere; }
.cc-brief-block { margin-top:18px; padding-top:14px; border-top:1px solid var(--border); }
.cc-brief-block h3 { margin:0 0 8px; font-size:10px; font-weight:850; letter-spacing:.14em; text-transform:uppercase; }
.cc-reference-list { display:flex; flex-wrap:wrap; gap:7px; }
.cc-reference { display:inline-flex; max-width:100%; padding:7px 9px; overflow-wrap:anywhere; border:1px solid var(--border); border-radius:5px; color:var(--text-2); background:var(--panel-2); font-size:11px; text-decoration:none; }
.cc-brief-palette { display:flex; max-width:310px; gap:4px; }
.cc-brief-palette i { flex:1 1 0; min-width:12px; height:22px; border:1px solid var(--border); border-radius:2px; }
.cc-existing-media { margin-top:18px; border-top:1px solid var(--border); }
.cc-existing-media summary, .cc-contribution-block summary { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 0; cursor:pointer; font-size:11px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.cc-existing-media summary { list-style:none; }
.cc-existing-media summary::-webkit-details-marker { display:none; }
.cc-existing-media summary > span { flex:1; }
.cc-existing-media .cc-existing-chevron { flex:none; width:17px; height:17px; transition:transform .18s ease; }
.cc-existing-media[open] .cc-existing-chevron { transform:rotate(180deg); }
.cc-existing-items { display:block; max-height:min(360px, 48dvh); overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; }
.cc-existing-row { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:10px; min-width:0; padding:9px 0; border-top:1px solid var(--border); }
.cc-existing-row img { width:42px; height:42px; object-fit:cover; border-radius:4px; background:var(--panel-2); }
.cc-art-empty { display:block; width:38px; height:38px; border-radius:4px; background:var(--panel-2); }
.cc-existing-row .cc-art-empty { width:42px; height:42px; }
.cc-existing-row > div { min-width:0; }
.cc-existing-row strong, .cc-existing-row small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cc-existing-row strong { margin-top:3px; font-size:12px; }
.cc-existing-row small { color:var(--text-2); font-size:10px; }
.cc-existing-play { display:flex; align-items:center; justify-content:flex-end; }
.ml-workspace-dialog.is-assignment-workspace .cc-existing-play .prev-btn {
  width:34px; height:34px; min-height:34px; padding:0; border:1px solid var(--border); border-radius:50%;
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  color:var(--text); background:transparent; box-shadow:none; font-size:0;
}
.ml-workspace-dialog.is-assignment-workspace .cc-existing-play .prev-btn::before,
.ml-action-dialog .tvc-d-preview-media-control .prev-btn::before,
.ml-action-dialog .tvc-d-playlist-track-play .prev-btn::before {
  content:""; display:block; width:0; height:0; margin-left:2px;
  border-top:5px solid transparent; border-bottom:5px solid transparent;
  border-left:7px solid currentColor;
}
.ml-workspace-dialog.is-assignment-workspace .cc-existing-play .prev-btn.playing::before,
.ml-action-dialog .tvc-d-preview-media-control .prev-btn.playing::before,
.ml-action-dialog .tvc-d-playlist-track-play .prev-btn.playing::before {
  width:8px; height:10px; margin-left:0; border:0;
  background:linear-gradient(to right,currentColor 0 3px,transparent 3px 5px,currentColor 5px 8px);
}
.ml-workspace-dialog.is-assignment-workspace .cc-existing-play .prev-btn:hover:not(:disabled),
.ml-workspace-dialog.is-assignment-workspace .cc-existing-play .prev-btn.playing {
  border-color:var(--border); color:var(--text); background:var(--panel-2);
}
.ml-action-dialog .tvc-discovery.tvc-d-v3 .tvc-d-preview-media-control .prev-btn,
.ml-action-dialog .tvc-discovery.tvc-d-v3 .tvc-d-playlist-track-play .prev-btn {
  position:relative; display:inline-flex; width:34px; height:34px; min-height:34px;
  align-items:center; justify-content:center; padding:0; border:1px solid var(--tvc-d-line,var(--border,#dedcd7));
  border-radius:50%; color:var(--tvc-d-ink,var(--text,#201e1d));
  background:var(--tvc-d-paper,var(--panel,#fff)); box-shadow:none; font-size:0;
}
.ml-action-dialog .tvc-discovery.tvc-d-v3 .tvc-d-preview-media-control .prev-btn.playing,
.ml-action-dialog .tvc-discovery.tvc-d-v3 .tvc-d-playlist-track-play .prev-btn.playing {
  color:var(--tvc-d-ink,var(--text,#201e1d));
  background:var(--tvc-d-paper,var(--panel,#fff));
}
.cc-add-pane-head { position:sticky; z-index:3; top:0; display:flex; flex:none; align-items:center; justify-content:space-between; gap:12px; min-height:68px; padding:12px 20px; border-bottom:1px solid var(--border); background:var(--panel); }
.cc-add-pane-head h2 { margin:4px 0 0; font-size:17px; letter-spacing:-.03em; }
.cc-add-pane-scroll { flex:1 1 auto; min-height:0; padding:0 20px 20px; overflow:auto; overscroll-behavior:contain; }
.cc-add-pane-footer, .cc-mobile-mode-switch { display:none; }
.cc-add-media-picker { --s-bg:var(--panel); --s-panel:var(--panel); --s-ink:var(--text); --s-muted:var(--text-2); --s-line:var(--border); --s-soft:var(--panel-2); --s-red:#b53c2c; --s-action:#b53c2c; margin:18px 0; padding:0; border:0; background:transparent; }
.cc-add-media-picker > h3 { display:flex; align-items:baseline; gap:7px; }
.cc-media-optional { color:var(--text-2); font-size:11px; font-weight:400; }
.cc-add-media-panel[hidden], .tvc-suggest-media-menu[hidden] { display:none !important; }
.cc-add-media-panel { margin-top:11px; padding:12px; border:1px solid var(--border); border-radius:7px; background:var(--panel-2); }
.cc-add-media-panel-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.cc-add-media-panel-head strong { font-size:13px; }
.cc-add-media-panel-head button { border:0; background:transparent; color:#b53c2c; font:600 12px Inter,Arial,sans-serif; cursor:pointer; }
.cc-spotify-search-input { width:100%; min-height:42px; padding:9px 11px; border:1px solid var(--border); border-radius:7px; background:var(--panel); color:var(--text); font:13px Inter,Arial,sans-serif; }
.cc-spotify-search-results { display:grid; max-height:min(32vh,320px); margin-top:8px; overflow:auto; border:1px solid var(--border); border-radius:6px; background:var(--panel); }
.cc-spotify-search-results:empty { display:none; }
.cc-spotify-search-results .bt-result-row { display:grid; grid-template-columns:40px minmax(0,1fr); align-items:center; gap:10px; min-width:0; padding:8px; border-bottom:1px solid var(--border); cursor:pointer; }
.cc-spotify-search-results .bt-result-row:last-child { border-bottom:0; }
.cc-spotify-search-results .bt-result-art { width:40px; height:40px; object-fit:cover; border-radius:4px; background:var(--panel-2); }
.cc-assignment-workspace.is-spotify-workspace .cc-add-pane-scroll {
  display:flex; flex-direction:column; overflow:hidden; padding:0;
}
.cc-assignment-workspace.is-spotify-workspace .cc-section-tabs,
.cc-assignment-workspace.is-spotify-workspace .cc-add-media-picker > h3,
.cc-assignment-workspace.is-spotify-workspace .cc-add-media-picker > p,
.cc-assignment-workspace.is-spotify-workspace .cc-add-media-picker > .tvc-suggest-media-head,
.cc-assignment-workspace.is-spotify-workspace .cc-spotify-selections,
.cc-assignment-workspace.is-spotify-workspace .cc-add-media-picker .tvc-suggest-media-menu,
.cc-assignment-workspace.is-spotify-workspace .cc-deliverable-block,
.cc-assignment-workspace.is-spotify-workspace .cc-library-media,
.cc-assignment-workspace.is-spotify-workspace .cc-submission-history { display:none !important; }
.cc-assignment-workspace.is-spotify-workspace .cc-add-media-picker {
  display:flex; flex:1 1 auto; flex-direction:column; min-height:0; overflow:hidden;
  margin:0; padding:0; border:0; border-radius:0; background:var(--panel);
}
.cc-assignment-workspace.is-spotify-workspace .cc-spotify-search-panel:not([hidden]) {
  display:flex; flex:1 1 auto; flex-direction:column; min-width:0; min-height:0;
  overflow:hidden; margin:0; padding:12px 20px 10px; border:0; border-radius:0; background:var(--panel);
}
.cc-spotify-search-head {
  display:grid; flex:0 0 auto; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto;
  gap:3px 10px; margin:0 0 9px;
}
.cc-spotify-search-head .tvc-suggest-spotify-heading { grid-column:1; grid-row:1; min-width:0; font-size:15px; }
.cc-spotify-search-head .tvc-suggest-selected-count { grid-column:1; grid-row:2; color:var(--text-2); font-size:12px; line-height:1.35; }
.cc-spotify-search-head button {
  grid-column:2; grid-row:1 / span 2; align-self:center; min-height:36px; border:1px solid var(--border);
  border-radius:999px; padding:7px 11px; background:var(--panel); color:var(--text);
  font:600 12px Inter,Arial,sans-serif; white-space:nowrap;
}
.ml-workspace-dialog.is-assignment-workspace .cc-spotify-search-input {
  box-sizing:border-box; flex:0 0 auto; width:100%; min-width:0; min-height:48px; margin:0 0 9px;
  padding:11px 13px; border-radius:8px; background:var(--panel); color:var(--text); font-size:16px;
}
.cc-assignment-workspace.is-spotify-workspace .cc-spotify-search-results {
  display:grid; flex:1 1 auto; grid-auto-rows:max-content; align-content:start; min-width:0; min-height:0;
  max-height:none; margin:0; overflow-x:hidden; overflow-y:auto; border:0; border-top:1px solid var(--border);
  border-radius:0; background:var(--panel); overscroll-behavior:contain; -webkit-overflow-scrolling:touch;
}
.cc-assignment-workspace.is-spotify-workspace .cc-spotify-search-results .tvc-suggest-result {
  box-sizing:border-box; grid-template-columns:48px minmax(0,1fr) auto; gap:10px; width:100%; min-width:0; padding:10px 0;
}
.cc-assignment-workspace.is-spotify-workspace .cc-spotify-search-results .tvc-suggest-result img,
.cc-assignment-workspace.is-spotify-workspace .cc-spotify-search-results .tvc-suggest-result-art { width:48px; height:48px; }
.cc-assignment-workspace.is-spotify-workspace .cc-spotify-search-results .tvc-suggest-result > span:not(.tvc-suggest-result-art) { min-width:0; overflow:hidden; }
.cc-assignment-workspace.is-spotify-workspace .cc-spotify-search-results .tvc-suggest-result strong { font-size:14px; }
.cc-assignment-workspace.is-spotify-workspace .cc-spotify-search-results .tvc-suggest-result small { font-size:12px; }
.cc-assignment-workspace.is-spotify-workspace .cc-spotify-search-results .tvc-suggest-result button {
  box-sizing:border-box; min-width:64px; min-height:40px; padding:8px 10px; white-space:nowrap;
}
.cc-assignment-workspace.is-spotify-workspace .cc-spotify-search-results .tvc-suggest-result button:disabled { opacity:.72; cursor:default; }
.cc-spotify-search-hint { margin:12px 0; color:var(--text-2); font-size:12px; line-height:1.5; }
.cc-spotify-search-hint.is-error, .cc-spotify-search-feedback.is-error { color:#bd584e; }
.cc-spotify-search-feedback { flex:0 0 auto; min-height:0; margin:0; padding:0; color:var(--text-2); font-size:11px; }
.cc-spotify-search-feedback:not(:empty) { padding-top:7px; }
.cc-spotify-selections[hidden] { display:none; }
.cc-spotify-submit { width:100%; min-height:44px; margin-top:12px; padding:10px 14px; border:0; border-radius:8px; background:#b53c2c; color:#fff; font:600 13px Inter,Arial,sans-serif; cursor:pointer; }
.cc-spotify-submit:disabled { opacity:.6; cursor:wait; }
.cc-library-media { margin-top:14px; border:1px solid var(--border); border-radius:7px; background:var(--panel); }
.cc-library-media[hidden] { display:none !important; }
.cc-library-media > summary { display:flex; align-items:center; min-height:46px; padding:10px 13px; cursor:pointer; color:var(--text); font-size:12px; font-weight:750; }
.cc-library-media[open] > summary { border-bottom:1px solid var(--border); }
.cc-library-media .cc-assigned-editor { padding:12px; }
.cc-section-tabs { position:sticky; z-index:2; top:0; display:flex; gap:7px; padding:10px 0; overflow-x:auto; border-bottom:1px solid var(--border); background:var(--panel); }
.cc-section-tabs button { flex:none; display:grid; gap:3px; min-width:98px; padding:8px 10px; border:1px solid var(--border); border-radius:6px; color:var(--text-2); background:var(--panel); font:700 11px Inter,Arial,sans-serif; text-align:left; cursor:pointer; }
.cc-section-tabs button[aria-selected="true"] { border-color:#b53c2c; color:var(--text); box-shadow:inset 0 -2px #b53c2c; }
.cc-section-tabs small { color:var(--text-2); font-size:9px; font-weight:500; }
.cc-assigned-editor { min-width:0; padding-top:12px; }
.ml-workspace-dialog.is-assignment-workspace .cc-editor-section { margin:0; padding:15px; border-color:var(--border); background:var(--panel); color:var(--text); }
.cc-editor-status { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.cc-editor-status h3 { margin:4px 0 0; font-size:17px; }
.cc-status-pill { flex:none; padding:5px 8px; border:1px solid var(--border); border-radius:999px; color:var(--text-2); font-size:10px; text-transform:capitalize; }
.cc-feedback { display:grid; gap:4px; margin:12px 0; padding:10px; border-left:3px solid #b53c2c; color:var(--text-2); background:var(--panel-2); font-size:12px; line-height:1.5; }
.cc-feedback strong { color:var(--text); }
.cc-search-tools { position:sticky; z-index:2; top:0; display:grid; gap:6px; margin:12px 0 0; padding:8px 0; background:var(--panel); }
.cc-search-tools > label { color:var(--text-2); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.cc-search-tools > div { display:flex; gap:7px; min-width:0; }
.ml-workspace-dialog.is-assignment-workspace .cc-search-tools input { flex:1; min-width:0; min-height:40px; padding:9px 11px; border:1px solid var(--border); border-radius:6px; background:var(--panel-2); color:var(--text); font:13px Inter,Arial,sans-serif; }
.cc-media-results { display:grid; max-height:min(30vh,300px); overflow:auto; overscroll-behavior:contain; border:1px solid var(--border); border-radius:6px; }
.cc-result-row { display:grid; grid-template-columns:20px 38px minmax(0,1fr); align-items:center; gap:8px; min-width:0; padding:8px; border-bottom:1px solid var(--border); cursor:pointer; }
.cc-result-row:last-child { border-bottom:0; }
.cc-result-row input { width:16px; height:16px; accent-color:#b53c2c; }
.cc-result-row img { width:38px; height:38px; object-fit:cover; border-radius:4px; background:var(--panel-2); }
.cc-result-row span, .cc-result-row strong, .cc-result-row small { display:block; min-width:0; }
.cc-result-row strong, .cc-result-row small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cc-result-row strong { font-size:11px; }
.cc-result-row small, .cc-search-hint { color:var(--text-2); font-size:10px; }
.cc-search-hint { margin:9px 0; line-height:1.5; }
.cc-search-hint.is-error { color:#a3473b; }
.cc-selected-draft { margin-top:14px; }
.cc-selected-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.cc-selected-heading h4 { margin:0 0 8px; font-size:10px; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.cc-selected-heading span { color:var(--text-2); font-size:11px; }
.cc-draft-items { display:grid; max-height:260px; overflow:auto; overscroll-behavior:contain; border-top:1px solid var(--border); }
.cc-draft-record { grid-template-columns:40px minmax(0,1fr) auto; }
.cc-draft-record .cc-item-note { margin-top:5px; background:var(--panel-2); color:var(--text); }
.cc-draft-record .cc-order { flex-direction:row; flex-wrap:wrap; }
.cc-remove-item { color:#a3473b; }
.ml-workspace-dialog.is-assignment-workspace .cc-field { color:var(--text-2); }
.ml-workspace-dialog.is-assignment-workspace .cc-field textarea { min-height:72px; background:var(--panel-2); color:var(--text); }
.cc-review-actions { position:sticky; z-index:2; bottom:0; justify-content:flex-start; padding:9px 0; border-top:1px solid var(--border); background:var(--panel); }
.cc-save-feedback { min-height:16px; color:var(--text-2); font-size:10px; }
.cc-contribution-block { margin-top:15px; padding:0 13px 13px; border:1px solid var(--border); border-radius:7px; background:var(--panel); }
.cc-contribution-block h3 { margin:13px 0 5px; font-size:12px; }
.cc-contribution-block > p { color:var(--text-2); font-size:11px; line-height:1.5; }
.cc-spotify-block .bt-search-wrap { position:sticky; z-index:1; bottom:0; padding-top:8px; background:var(--panel); }
.cc-deliverable-block .sub-form { margin:0; padding:0; border:0; background:transparent; }
.cc-deliverable-block .sub-title { font-size:12px; }
.cc-deliverable-block .sub-title, .cc-deliverable-block #subInputTabs { display:none; }
.cc-deliverable-block .field > label[hidden] { display:none; }
.cc-deliverable-block .tvc-suggest-dropzone { width:100%; font-size:18px; }
.cc-deliverable-block .tvc-suggest-dropzone strong { font-size:13px; }
.cc-deliverable-block .tvc-suggest-dropzone small { color:var(--text-2); font-size:12px; text-align:center; }
.cc-deliverable-block button[onclick^="submitDeliverable"] {
  width:100%; min-height:44px; border:0; border-radius:8px; background:#b53c2c; color:#fff;
  font:600 13px Inter,Arial,sans-serif;
}
.cc-deliverable-block .field { margin:9px 0; }
.cc-deliverable-block .field input:not([type=file]), .cc-deliverable-block .field textarea { width:100%; min-width:0; background:var(--panel-2); color:var(--text); }
@media (min-width:681px) and (max-width:900px) {
  .ml-workspace-dialog.is-assignment-workspace { left:184px; }
  .cc-workspace-grid { grid-template-columns:minmax(205px,.72fr) minmax(0,1.28fr); }
  .cc-workspace-brief-pane { padding:16px; }
  .cc-add-pane-head, .cc-add-pane-scroll { padding-left:14px; padding-right:14px; }
}
body.lounge-my-view .slide-panel { font-family:Inter,Arial,sans-serif; }
body.lounge-my-view .slide-panel:not(.open),
body.lounge-my-view .portal-help-panel[aria-hidden="true"] { display:none; }
.ml-workflow-options { display: grid; gap: 12px; }
.ml-workflow-options p { font-size: 12px; color: var(--muted); margin: 0 0 6px; }
.ml-workflow-options > button { display: grid; gap: 7px; width: 100%; padding: 17px; text-align: left; border: 1px solid var(--border); border-radius: 7px; background: var(--panel); color: var(--text); cursor: pointer; }
.ml-workflow-options > button:hover { border-color: #b53c2c; }
.ml-workflow-options strong { font-size: 14px; }
.ml-workflow-options span { font-size: 12px; color: var(--text-2); line-height: 1.5; }
.ml-dialog-primary { padding: 12px 17px; border: 0; border-radius: 5px; background: #b53c2c; color: white; font: 800 12px Inter,Arial,sans-serif; cursor: pointer; }
@media (min-width: 681px) {
  #appShell.lounge-my-active .bottom-nav { display: none !important; }
  #appShell.lounge-my-active .topbar { width: calc(100% - 184px); margin-left: 184px; }
  #appShell.lounge-my-active .topbar-inner { width: 100%; max-width: none; margin: 0; padding: 8px 29px; justify-content: space-between; }
  #appShell.lounge-my-active .content { width: calc(100% - 184px); margin-left: 184px; }
  #appShell.lounge-my-active .ml-shell-nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    width: 184px;
    min-height: 100dvh;
    padding: 26px 15px;
    border-right: 1px solid var(--border);
    background: var(--panel);
  }
  .ml-shell-nav button {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 12px 14px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    font: 700 13px Inter, Arial, sans-serif;
    text-align: left;
    cursor: pointer;
  }
  .ml-shell-nav button:hover { background: var(--panel-2); color: var(--text); }
  .ml-shell-nav button[aria-current="page"] { background: #faeee9; color: #b53c2c; }
  .ml-shell-nav button svg { flex: 0 0 17px; width: 17px; height: 17px; }
}
@media (min-width: 1280px) {
  #appShell.lounge-my-active .topbar { width:100%; margin-left:0; }
  #appShell.lounge-my-active .ml-shell-nav { top:58px; min-height:calc(100dvh - 58px); }
}
@media (max-width: 700px) {
  .ml-workspace-dialog, .ml-action-dialog { inset: auto 0 0; margin: auto 0 0; width: 100%; max-height: 92dvh; border-radius: 14px 14px 0 0; }
  .ml-dialog-head { padding: 16px 18px; }
  .ml-dialog-body, .ml-workspace-dialog .collab-curation { padding: 18px; }
}
@media (max-width:680px) {
  .ml-workspace-dialog.is-assignment-workspace .cc-assignment-workspace.is-spotify-workspace .cc-mobile-mode-switch,
  .cc-assignment-workspace.is-spotify-workspace .cc-add-pane-head { display:none; }
  .cc-assignment-workspace.is-spotify-workspace .cc-workspace-add-pane {
    display:flex; flex:1 1 auto; min-height:0; overflow:hidden;
  }
  .cc-assignment-workspace.is-spotify-workspace .cc-add-pane-footer {
    flex:none; padding:10px 18px max(14px,env(safe-area-inset-bottom));
  }
  .cc-assignment-workspace.is-spotify-workspace .cc-add-pane-footer .cc-btn {
    width:100%; min-height:48px; border:0; border-radius:8px; color:#fff; background:#b53c2c;
    font:600 14px Inter,Arial,sans-serif;
  }
  .ml-workspace-dialog.is-assignment-workspace {
    inset:auto 0 auto; top:calc(var(--cc-visual-offset-top,0px) + 52px);
    width:100%; height:max(0px,calc(var(--cc-visual-height,100dvh) - 52px)); max-height:none;
    margin:0; padding:0; border-radius:0; border-left:0; border-right:0; border-bottom:0;
  }
  .ml-workspace-dialog.is-assignment-workspace .ml-dialog-head { flex-basis:48px; min-height:48px; padding:6px 14px; }
  .ml-workspace-dialog.is-assignment-workspace .ml-dialog-head strong { font-size:12px; }
  .ml-workspace-dialog.is-assignment-workspace .collab-curation { padding:0; }
  .ml-workspace-dialog.is-assignment-workspace .cc-mobile-mode-switch {
    position:relative; z-index:3; display:grid; flex:none; grid-template-columns:1fr 1fr; gap:5px;
    padding:8px 12px; border-bottom:1px solid var(--border); background:var(--panel);
  }
  .cc-mobile-mode-switch button { min-height:38px; border:1px solid var(--border); border-radius:7px; color:var(--text-2); background:var(--panel-2); font:700 12px Inter,Arial,sans-serif; }
  .cc-mobile-mode-switch button[aria-selected="true"] { border-color:#b53c2c; color:var(--text); background:color-mix(in srgb,#b53c2c 10%,var(--panel)); }
  .cc-workspace-grid { display:grid; flex:1 1 auto; grid-template-columns:minmax(0,1fr); min-height:0; }
  .cc-workspace-brief-pane, .cc-workspace-add-pane { display:none; min-height:0; overflow:auto; }
  .cc-assignment-workspace[data-mobile-mode="brief"] .cc-workspace-brief-pane { display:flex; flex-direction:column; }
  .cc-assignment-workspace[data-mobile-mode="add"] .cc-workspace-add-pane { display:flex; }
  .cc-workspace-brief-pane { padding:15px 14px max(18px,env(safe-area-inset-bottom)); border-right:0; }
  .cc-workspace-add-pane { overflow:hidden; }
  .cc-brief-overview { grid-template-columns:84px minmax(0,1fr); gap:12px; }
  .cc-brief-copy h2 { font-size:22px; }
  .cc-brief-description, .cc-brief-block p { font-size:12px; }
  .cc-brief-block { margin-top:14px; padding-top:12px; }
  .cc-existing-media { display:block; flex:none; margin-bottom:0; }
  .cc-add-pane-head { min-height:54px; padding:8px 13px; }
  .cc-add-pane-head h2 { font-size:15px; }
  .cc-view-existing { display:inline-flex; min-height:36px; padding:7px 9px; font-size:10px; }
  .cc-add-pane-scroll { padding:0 13px 12px; }
  .cc-add-pane-footer { display:flex; flex:none; justify-content:flex-end; padding:8px 13px max(8px,env(safe-area-inset-bottom)); border-top:1px solid var(--border); background:var(--panel); }
  .cc-add-pane-footer .cc-btn { min-height:38px; }
  .cc-section-tabs { top:0; }
  .cc-media-results { max-height:min(25dvh,220px); }
  .cc-draft-items { max-height:24dvh; }
  .cc-existing-overlay { padding:12px; }
  .cc-existing-dialog { width:100%; max-height:88%; padding:13px; border-radius:11px; }
  .cc-review-actions { flex-wrap:wrap; }
  .cc-review-actions .cc-btn { flex:1 1 auto; }
  .cc-spotify-block .bt-search-wrap { bottom:auto; }
}
@media (max-width: 680px) {
  #appShell.lounge-my-active .ml-shell-nav { display: none; }
  #appShell.lounge-my-active .topbar { position:sticky; top:0; width:100%; margin:0; }
  #appShell.lounge-my-active .topbar-inner { min-height: 52px; padding: 7px 16px; }
  #appShell.lounge-my-active .content { width: 100%; margin-left: 0; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  #appShell.lounge-my-active .section:not(#secBriefs) { padding: 28px 18px; }
}
html[data-theme="dark"] .tvc-my-lounge .ml-menu,
html[data-theme="dark"] .tvc-my-lounge .ml-add-menu { box-shadow: 0 15px 40px rgba(0,0,0,.35); }
@media (max-width: 820px) {
  body input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]):not([type="color"]),
  body select,
  body textarea {
    font-size: 16px !important;
  }
}
@media (max-width: 680px) {
  .tvc-my-lounge { padding: 34px 18px 40px; }
  .tvc-my-lounge .ml-headline { margin-bottom: 28px; }
  .tvc-my-lounge .ml-headline h1 { font-size: clamp(31px,9vw,43px); }
  .tvc-my-lounge .ml-idea-card { gap: 10px; padding: 13px; }
  .tvc-my-lounge .ml-idea-head { align-items: flex-start; }
  .tvc-my-lounge .ml-idea-status { text-align: right; }
}
@media (max-width: 385px) {
  .tvc-my-lounge .ml-headline h1 { font-size: 30px; }
}

/* Shared mobile Home, Browse, and Create navigation. */
@media (max-width: 680px) {
  #appShell.lounge-home-active .tvc-discovery.tvc-d-v3 .tvc-d-topline { display:none !important; }
  #appShell .bottom-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: calc(68px + env(safe-area-inset-bottom, 0px));
    padding: 3px 12px calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--panel);
    border-top: 1px solid var(--border);
    --tvc-bottom-nav-indicator: #b53c2c;
  }
  html[data-theme="dark"] #appShell .bottom-nav { --tvc-bottom-nav-indicator: #e47b66; }
  #appShell .bn-tab {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: auto;
    max-width: none;
    height: 56px;
    min-height: 56px;
    margin: 0;
    padding: 4px 4px 9px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: var(--text-2);
    font: 600 10px/1.2 Inter, Arial, sans-serif;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }
  #appShell .bottom-nav .bn-tab.active {
    background: transparent !important;
    color: var(--text);
    box-shadow: none !important;
  }
  #appShell .bn-tab svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    fill: none !important;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  #appShell .bn-tab svg :is(path, rect, circle) {
    fill: none !important;
    stroke: currentColor;
  }
  #appShell .bn-tab.active::after {
    position: absolute;
    bottom: 1px;
    left: 50%;
    width: 16px;
    height: 3px;
    border-radius: 999px;
    background: var(--tvc-bottom-nav-indicator);
    content: "";
    transform: translateX(-50%);
  }
  #appShell .bn-tab:focus-visible {
    outline: 2px solid var(--tvc-bottom-nav-indicator);
    outline-offset: -2px;
    border-radius: 8px;
  }
}

/* Compact My Briefs / My Uploads / Saved workspace tabs. */
.tvc-my-lounge .ml-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  min-width: 104px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.tvc-my-lounge .ml-pane-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: -18px 0 28px;
  padding: 4px;
  border: 1px solid var(--ml-line);
  border-radius: 999px;
  background: var(--ml-soft);
}
.tvc-my-lounge .ml-pane-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ml-sub);
  font-size: 12px;
  font-weight: 750;
}
.tvc-my-lounge .ml-pane-tabs button[aria-selected="true"] {
  background: var(--ml-paper);
  color: var(--ml-ink);
  box-shadow: 0 1px 4px rgba(0,0,0,.09);
}
.tvc-my-lounge .ml-saved-state:empty { display: none; }
.tvc-my-lounge .ml-saved-message {
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid var(--ml-line);
  border-radius: 9px;
  background: var(--ml-soft);
  color: var(--ml-sub);
  font-size: 12px;
  line-height: 1.55;
}
.tvc-my-lounge .ml-saved-message.is-error { color: #a3473b; }
.tvc-my-lounge .ml-section-tools { display:flex; align-items:center; gap:10px; }
.tvc-my-lounge .ml-filter-anchor { position:relative; }
.tvc-my-lounge .ml-filter-toggle {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid var(--ml-line);
  border-radius:50%;
  background:var(--ml-paper);
  color:var(--ml-ink);
  cursor:pointer;
}
.tvc-my-lounge .ml-filter-toggle svg { width:18px; height:18px; }
.tvc-my-lounge .ml-filter-toggle.is-filtered {
  background:var(--ml-ink);
  color:var(--ml-paper);
}
.tvc-my-lounge .ml-filter-options {
  position:absolute;
  z-index:12;
  inset:calc(100% + 6px) 0 auto auto;
  min-width:142px;
  padding:4px;
  border:1px solid var(--ml-line);
  border-radius:10px;
  background:var(--ml-paper);
  box-shadow:0 6px 18px #0002;
}
.tvc-my-lounge .ml-filter-options button {
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  min-height:36px;
  padding:5px 9px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--ml-ink);
  font:inherit;
  font-size:12px;
  text-align:left;
  cursor:pointer;
}
.tvc-my-lounge .ml-filter-options button:hover,
.tvc-my-lounge .ml-filter-options button[aria-pressed="true"] { background:var(--ml-soft); }
.tvc-my-lounge .ml-filter-options button[aria-pressed="true"]::after { content:"✓"; margin-left:10px; }
.tvc-my-lounge .ml-saved-message button {
  margin-left: 7px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ml-accent);
  font-weight: 800;
  text-decoration: underline;
}
.ml-action-dialog .ml-saved-preview-host > p[role="status"],
.ml-action-dialog .ml-saved-preview-error {
  margin: 0 0 14px;
  color: var(--ml-sub, #777);
  font-size: 13px;
  line-height: 1.5;
}
.tvc-discovery.tvc-d-v3.ml-saved-brief-preview {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.ml-action-dialog .ml-saved-brief-preview .tvc-d-brief-preview {
  width: 100%;
}
.tvc-my-lounge .ml-assigned-section { margin-top:30px; padding-top:24px; border-top:1px solid var(--ml-line); }
.ml-collaborator-manager { display:grid; gap:18px; }
.ml-collaborator-manager section { display:grid; gap:9px; }
.ml-collaborator-manager h3,.ml-shared-brief-detail h3 { margin:0; color:var(--text,#201e1d); font-size:14px; }
.ml-access-list { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.ml-access-list li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px; border:1px solid var(--border,#eae7e3); border-radius:8px; background:var(--panel,#fff); }
.ml-access-list li > span { display:grid; gap:3px; min-width:0; }
.ml-access-list strong { color:var(--text,#201e1d); font-size:12px; }
.ml-access-list small { color:var(--text-2,#77716d); font-size:10px; }
.ml-access-list button,.ml-access-search > button { flex:0 0 auto; padding:8px 10px; border:1px solid var(--border,#eae7e3); border-radius:6px; color:var(--text,#201e1d); background:var(--panel,#fff); font-size:11px; font-weight:800; }
.ml-access-search { display:grid; justify-items:start; gap:9px; }
.ml-access-search label { display:grid; width:100%; gap:6px; color:var(--text-2,#77716d); font-size:10px; font-weight:800; }
.ml-access-search input { width:100%; min-height:42px; padding:10px 12px; border:1px solid var(--border,#eae7e3); border-radius:7px; color:var(--text,#201e1d); background:var(--panel,#fff); font:inherit; font-size:13px; }
.ml-candidate-list button { border-color:var(--ml-accent,#b53c2c); color:var(--ml-accent,#b53c2c); }
.ml-shared-brief-detail { display:grid; gap:14px; }
.ml-shared-media-list { display:grid; gap:8px; }
.ml-shared-media-list article { display:grid; grid-template-columns:64px minmax(0,1fr); align-items:center; gap:10px; padding:8px; border:1px solid var(--border,#eae7e3); border-radius:8px; }
.ml-shared-media-list img { display:grid; width:64px; height:64px; place-items:center; object-fit:cover; border-radius:5px; background:var(--ml-soft); }
.ml-shared-media-list article > span:last-child { display:grid; gap:4px; }
.ml-shared-media-list strong { color:var(--text,#201e1d); font-size:12px; }
.ml-shared-media-list small { color:var(--text-2,#77716d); font-size:10px; }
.ml-action-dialog { position:fixed; inset:0; margin:auto; width:min(620px,calc(100vw - 28px)); max-width:none; max-height:min(90dvh,900px); padding:0; overflow:auto; border:1px solid var(--border,#eae7e3); border-radius:14px; color:var(--text,#201e1d); background:var(--panel,#fff); }
.ml-action-dialog::backdrop { background:rgba(15,14,14,.62); backdrop-filter:blur(5px); }
.ml-action-dialog .ml-dialog-head { position:sticky; z-index:2; top:0; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:17px 20px; border-bottom:1px solid var(--border,#eae7e3); background:var(--panel,#fff); }
.ml-action-dialog .ml-dialog-head h2 { margin:0; font-size:18px; }
.ml-action-dialog .ml-dialog-head button { width:34px; height:34px; border:1px solid var(--border,#eae7e3); border-radius:50%; color:var(--text,#201e1d); background:var(--panel,#fff); font-size:22px; }
.ml-action-dialog .ml-dialog-body { padding:18px 20px 22px; }
.ml-creator-form { display:grid; gap:13px; color:var(--text,#201e1d); }
.ml-creator-form label { display:grid; gap:6px; color:var(--text-2,#77716d); font-size:10px; font-weight:800; letter-spacing:.04em; }
.ml-creator-form input,.ml-creator-form textarea,.ml-creator-form select { width:100%; min-height:42px; padding:10px 12px; border:1px solid var(--border,#eae7e3); border-radius:7px; color:var(--text,#201e1d); background:var(--panel,#fff); font:inherit; font-size:13px; }
.ml-creator-form textarea { min-height:100px; resize:vertical; }
.ml-square-crop-controls { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.ml-square-crop-controls p { flex:1 1 190px; margin:0; color:var(--text-2,#77716d); font-size:11px; line-height:1.45; }
.ml-creator-form .ml-square-crop-controls button { flex:0 0 auto; }
.ml-creator-form .ml-form-actions { display:flex; justify-content:flex-end; gap:8px; }
.ml-creator-form button { padding:10px 14px; border:1px solid var(--border,#eae7e3); border-radius:7px; color:var(--text,#201e1d); background:var(--panel,#fff); font-size:12px; font-weight:800; }
.ml-creator-form button[type="submit"],.ml-creator-form .ml-primary { border-color:var(--ml-accent,#b53c2c); color:#fff; background:var(--ml-accent,#b53c2c); }
.ml-creator-media-choice { display:flex !important; align-items:center; gap:9px; padding:9px; border:1px solid var(--border,#eae7e3); border-radius:7px; font-size:11px; }
.ml-creator-media-choice input { width:auto; min-height:0; }
.ml-creator-form .ml-brief-media-field { display:grid; gap:10px; margin:0; padding:12px; border:1px solid var(--border,#eae7e3); border-radius:8px; }
.ml-creator-form .ml-brief-media-field > legend { padding:0 5px; color:var(--text-2,#77716d); font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.ml-creator-form .ml-brief-media-field > .ml-form-hint { margin:0; }
.ml-creator-form .ml-brief-substack-field { display:grid; gap:9px; margin:0; padding:12px; border:1px solid var(--border,#eae7e3); border-radius:8px; }
.ml-creator-form .ml-brief-substack-field > legend { padding:0 5px; color:var(--text-2,#77716d); font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.ml-creator-form .ml-brief-substack-field > label { display:grid; gap:5px; font-size:11px; font-weight:700; }
.ml-creator-form .ml-brief-substack-field input,
.ml-creator-form .ml-brief-substack-field textarea { width:100%; box-sizing:border-box; }
.ml-creator-form .ml-brief-substack-field > button { justify-self:start; }
.ml-creator-form .ml-brief-substack-field > .ml-form-hint { margin:0; }
.ml-creator-form .ml-creator-media-list { display:grid; gap:7px; max-height:200px; overflow:auto; }
.ml-creator-form .ml-add-brief-media { justify-self:start; }
.ml-creator-form [data-brief-media-required] { padding:8px 10px; border-radius:6px; color:var(--text-2,#77716d); background:var(--ml-soft,#f5f2ef); }
.ml-creator-status { min-height:18px; color:var(--text-2,#77716d); font-size:11px; }
.ml-media-type-picker { display:grid; gap:9px; }
.ml-media-type-picker button { display:grid; gap:5px; padding:15px; border:1px solid var(--border,#eae7e3); border-radius:9px; color:var(--text,#201e1d); background:var(--panel,#fff); text-align:left; }
.ml-media-type-picker small { color:var(--text-2,#77716d); font-size:11px; }
.ml-creator-form .ml-music-modes { display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:4px; border:1px solid var(--border,#eae7e3); border-radius:9px; background:var(--panel-2,#f5f3f0); }
.ml-creator-form .ml-music-modes button { min-height:38px; border:0; background:transparent; }
.ml-creator-form .ml-music-modes button[aria-selected="true"] { color:var(--text,#201e1d); background:var(--panel,#fff); box-shadow:0 1px 4px #00000016; }
.ml-creator-form .ml-music-kind-picker { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.ml-creator-form .ml-music-kind-picker button { min-height:44px; }
.ml-creator-form .ml-music-kind-picker button[aria-pressed="true"] { border-color:var(--ml-accent,#b53c2c); background:var(--ml-soft,#f6e8e5); }
.ml-creator-form .ml-music-source-panel { display:grid; gap:10px; }
.ml-creator-form .ml-music-source-panel > button { justify-self:start; }
.ml-creator-form .ml-music-search-status { min-height:16px; margin:0; color:var(--text-2,#77716d); font-size:11px; line-height:1.4; }
.ml-creator-form [data-music-panel] { display:grid; gap:10px; }
.ml-creator-form .ml-music-results { display:grid; gap:5px; max-height:240px; overflow:auto; }
.ml-creator-form .ml-music-result,.ml-creator-form .ml-music-choice { display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:10px; min-width:0; padding:8px; border:1px solid var(--border,#eae7e3); border-radius:7px; color:var(--text,#201e1d); background:var(--panel,#fff); text-align:left; }
.ml-creator-form .ml-music-result { grid-template-columns:42px minmax(0,1fr) auto; width:100%; cursor:pointer; }
.ml-creator-form .ml-music-result.is-selected { border-color:var(--accent,#b53c2c); background:var(--panel-2,#f5f3f0); }
.ml-creator-form .ml-music-result-action { color:var(--accent,#b53c2c)!important; font-weight:700; white-space:nowrap; }
.ml-creator-form .ml-music-result img,.ml-creator-form .ml-music-choice img,.ml-creator-form .ml-music-result > span:first-child { display:grid; width:42px; height:42px; place-items:center; border-radius:5px; object-fit:cover; background:var(--panel-2,#f5f3f0); }
.ml-creator-form .ml-music-choice .ml-music-art { display:grid; width:42px; height:42px; place-items:center; border-radius:5px; background:var(--panel-2,#f5f3f0); }
.ml-creator-form .ml-music-result > span:last-child,.ml-creator-form .ml-music-choice > span { display:grid; min-width:0; gap:3px; }
.ml-creator-form .ml-music-result strong,.ml-creator-form .ml-music-choice strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ml-creator-form .ml-music-result small,.ml-creator-form .ml-music-choice small,.ml-creator-form label small { color:var(--text-2,#77716d); font-size:10px; line-height:1.45; }
.ml-creator-form .ml-music-choice { grid-template-columns:42px minmax(0,1fr) 32px; margin:10px 0; }
.ml-creator-form .ml-music-choice button { grid-column:3; grid-row:1; width:30px; height:30px; padding:0; }
.ml-form-hint { color:var(--text-2,#77716d); font-size:11px; line-height:1.5; }
.ml-creator-form .ml-brief-visibility { display:grid; gap:8px; margin:0; padding:12px; border:1px solid var(--border,#eae7e3); border-radius:8px; }
.ml-creator-form .ml-brief-visibility legend { padding:0 5px; color:var(--text-2,#77716d); font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.ml-creator-form .ml-brief-visibility label { display:flex; align-items:flex-start; gap:9px; padding:9px; border:1px solid var(--border,#eae7e3); border-radius:7px; color:var(--text,#201e1d); font-size:12px; font-weight:600; letter-spacing:0; }
.ml-creator-form .ml-brief-visibility input { flex:0 0 auto; width:16px; min-height:16px; margin:1px 0 0; accent-color:var(--ml-accent,#b53c2c); }
@media (max-width: 680px) {
  .tvc-my-lounge .ml-pane-tabs { margin-top: -8px; }
  .ml-action-dialog { width:calc(100vw - 18px); max-height:92dvh; }
  .ml-action-dialog .ml-dialog-body { padding:15px; }
}
@media (min-width: 681px) {
  #appShell .bottom-nav { display:none !important; }
}

.tvc-my-lounge .ml-brief-media-selection {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 16px;
  padding:12px;
  border:1px solid var(--ml-line);
  border-radius:9px;
  background:var(--ml-soft);
}
.tvc-my-lounge .ml-brief-media-selection > div:first-child { display:grid; gap:4px; min-width:0; }
.tvc-my-lounge .ml-brief-media-selection strong { font-size:12px; }
.tvc-my-lounge .ml-brief-media-selection small { color:var(--ml-sub); font-size:10px; }
.tvc-my-lounge .ml-brief-media-selection > div:last-child { display:flex; flex:none; gap:7px; }
.tvc-my-lounge .ml-brief-media-selection button {
  min-height:34px;
  padding:7px 10px;
  border:1px solid var(--ml-line);
  border-radius:6px;
  color:var(--ml-ink);
  background:var(--ml-paper);
  font-size:10px;
  font-weight:800;
}
.tvc-my-lounge .ml-brief-media-selection button.is-primary {
  border-color:var(--ml-accent);
  color:#fff;
  background:var(--ml-accent);
}
.tvc-my-lounge .ml-brief-media-selection button:disabled { cursor:not-allowed; opacity:.45; }
/* Shared Home/Browse records stay the same cards when shown in My Lounge. */
.tvc-my-lounge .tvc-discovery.tvc-d-v3[data-shared-record-grid] {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  grid-auto-rows:max-content;
  align-content:start;
  align-items:start;
  gap:12px 10px !important;
  margin-bottom:30px;
  padding:0;
  min-height:0;
  background:transparent;
}
.tvc-my-lounge [data-shared-record-grid] > .tvc-d-card,
.tvc-my-lounge [data-shared-record-grid] > .tvc-d-creator-media-card,
.tvc-my-lounge [data-shared-record-grid] > .ml-record-card {
  min-width:0;
  max-width:none;
}
.tvc-my-lounge [data-shared-record-grid] > .tvc-d-card {
  width:100% !important;
  flex:initial !important;
  aspect-ratio:auto;
  height:auto;
  min-height:0;
}

@media (max-width:680px) {
  .tvc-my-lounge .tvc-discovery.tvc-d-v3[data-shared-record-grid] {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px 9px !important;
  }
}
.tvc-my-lounge .ml-brief-media-choice {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  color:var(--ml-ink);
  font-size:10px;
  font-weight:750;
  cursor:pointer;
}
.tvc-my-lounge .ml-brief-media-choice input { width:16px; height:16px; margin:0; accent-color:var(--ml-accent); }
.ml-owned-media-summary {
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  align-items:center;
  gap:14px;
  margin-bottom:16px;
}
.ml-owned-media-summary > img,
.ml-owned-media-summary > .ml-saved-preview-media-fallback {
  display:grid;
  width:76px;
  aspect-ratio:1;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--border,#eae7e3);
  border-radius:8px;
  background:var(--panel-2,#f5f3f1);
  object-fit:cover;
}
.ml-owned-media-summary > span:last-child {
  display:grid;
  min-width:0;
  gap:5px;
}
.ml-owned-media-summary strong {
  overflow-wrap:anywhere;
  font-size:15px;
}
.ml-owned-media-summary small,
.ml-owned-media-note,
.ml-owned-brief-picker > p {
  color:var(--text-2,#777);
  font-size:12px;
  line-height:1.5;
}
.ml-owned-media-note { margin:0 0 16px; }
.ml-action-dialog .ml-owned-media-detail .ml-workflow-options > button,
.ml-owned-brief-options > button {
  color:var(--text,#201e1d);
  background:var(--panel,#fff);
}
.ml-owned-brief-options {
  display:grid;
  gap:8px;
}
.ml-owned-brief-options > button {
  display:flex;
  width:100%;
  min-height:52px;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:1px solid var(--border,#eae7e3);
  border-radius:8px;
  text-align:left;
  cursor:pointer;
}
.ml-owned-brief-options > button:disabled { opacity:.62; cursor:default; }
.ml-owned-brief-options > button > span:first-child {
  display:grid;
  min-width:0;
  gap:4px;
}
.ml-owned-brief-options strong { font-size:12px; }
.ml-owned-brief-options small,
.ml-owned-brief-options > button > span:last-child {
  color:var(--text-2,#777);
  font-size:10px;
}
.ml-owned-brief-status { min-height:18px; }

@media (max-width:700px) {
  .ml-action-dialog {
    top:auto;
    right:0;
    bottom:0;
    left:0;
    margin:0;
    width:100%;
    max-height:92dvh;
    border-radius:14px 14px 0 0;
  }
}

/* Own-brief moodboard: preserve the existing form and submission contract, reorganize its surface. */
.ml-creator-form:has(.ml-brief-media-field) { gap:12px; }
.ml-creator-form .ml-brief-details,
.ml-creator-form .ml-brief-media-field,
.ml-creator-form .ml-brief-themes {
  min-width:0; margin:0; padding:11px; border:1px solid var(--border,#e4ded5);
  border-radius:9px; background:var(--panel-2,#f5f5f5); color:var(--text,#201e1d);
}
.ml-creator-form .ml-brief-details > summary {
  display:flex; align-items:center; justify-content:space-between; gap:10px; list-style:none; cursor:pointer;
}
.ml-creator-form .ml-brief-details > summary::-webkit-details-marker { display:none; }
.ml-creator-form .ml-brief-details > summary > span:first-child { display:grid; gap:3px; min-width:0; }
.ml-creator-form .ml-brief-details > summary strong { font-size:13px; }
.ml-creator-form .ml-brief-details > summary small { overflow:hidden; color:var(--text-2,#77716d); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.ml-creator-form .ml-brief-details-chevron { color:var(--tvc-lounge-action-icon,#b43a25); font-size:17px; }
.ml-creator-form .ml-brief-details[open] .ml-brief-details-chevron { transform:rotate(180deg); }
.ml-creator-form .ml-brief-details-fields { display:grid; gap:10px; padding-top:12px; }
.ml-creator-form .ml-brief-workspace-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ml-creator-form .ml-brief-workspace-toolbar > span { color:var(--text-2,#77716d); font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.ml-creator-form .ml-brief-workspace-toolbar > button { min-height:34px; padding:0 12px; border:0; border-radius:6px; background:#762c33; color:#fff; font-size:11px; font-weight:700; cursor:pointer; }
.ml-creator-form .ml-brief-media-field > legend { color:var(--text,#292521); font-size:13px; font-weight:800; letter-spacing:0; text-transform:none; }
.ml-creator-form .ml-brief-media-category { min-width:0; padding:5px 0 8px; }
.ml-creator-form .ml-brief-media-category > header,
.ml-creator-form .ml-brief-themes > header,
.ml-creator-form .ml-brief-writing > header { display:flex; align-items:center; justify-content:space-between; gap:9px; margin-bottom:6px; }
.ml-creator-form .ml-brief-media-category h3,
.ml-creator-form .ml-brief-themes h3 { margin:0; color:var(--text,#292521); font-size:12px; font-weight:800; }
.ml-creator-form .ml-brief-media-category > header > span,
.ml-creator-form .ml-brief-themes > header > span { color:var(--text-2,#77716d); font-size:9px; }
.ml-creator-form .ml-brief-media-category > header button,
.ml-creator-form .ml-brief-themes > header button {
  display:grid; place-items:center; width:24px; height:24px; flex:none; border:0; border-radius:50%;
  background:#762c33; color:#fff; font-size:17px; line-height:1; cursor:pointer;
}
.ml-creator-form .ml-brief-media-tiles,
.ml-creator-form .ml-brief-theme-tiles { display:flex; gap:7px; max-width:100%; min-height:56px; overflow-x:auto; padding:1px 0 4px; overscroll-behavior-x:contain; scrollbar-width:thin; }
.ml-creator-form .ml-brief-media-item { position:relative; flex:0 0 72px; width:72px; min-width:72px; height:88px; }
.ml-creator-form .ml-brief-media-tile,
.ml-creator-form .ml-brief-theme-tile,
.ml-creator-form .ml-brief-add-placeholder {
  position:relative; display:grid; flex:0 0 72px; width:72px; min-width:72px; height:72px;
  overflow:hidden; padding:0; border:0; border-radius:5px; background:#e9e3da; color:#342e29;
}
.ml-creator-form .ml-brief-media-tile { cursor:pointer; }
.ml-creator-form .ml-brief-media-tile { grid-template-rows:72px 14px; gap:2px; height:88px; overflow:visible; background:transparent; }
.ml-creator-form .ml-brief-media-tile img,.ml-creator-form .ml-brief-media-tile > .ml-brief-media-tile-fallback { display:block; width:72px; height:72px; border-radius:5px; object-fit:cover; }
.ml-creator-form .ml-brief-media-tile-title {
  position:static; display:block; width:72px; overflow:hidden; padding:0 2px;
  background:none; color:var(--text,#292521); font-size:8px; line-height:12px; text-overflow:ellipsis; white-space:nowrap;
}
.ml-creator-form .ml-brief-media-tile-fallback { display:grid; place-items:center; width:100%; height:100%; color:#776d64; font-size:15px; font-weight:700; }
.ml-creator-form .ml-brief-media-tile > .ml-brief-media-tile-fallback { display:grid; background:#e9e3da; }
.ml-creator-form .ml-brief-media-tile > .tvc-d-overview-editorial { border-radius:5px; }
.ml-creator-form .ml-brief-media-tile:has(.tvc-d-overview-editorial) > .ml-brief-media-tile-title { display:none; }
.ml-creator-form .ml-brief-media-remove { position:absolute; z-index:2; top:2px; right:2px; display:grid; place-items:center; width:19px; height:19px; padding:0; border:0; border-radius:50%; background:#211e1bcc; color:#fff; font-size:14px; line-height:1; cursor:pointer; }
.ml-creator-form .ml-brief-add-placeholder,.ml-creator-form .ml-brief-substack-tile,.ml-creator-form .ml-brief-theme-add-placeholder {
  align-content:center; justify-items:center; gap:4px; border:1px dashed #b8aea2; background:transparent;
  color:var(--text-2,#77716d); font-size:9px; line-height:1.15; text-align:center; cursor:pointer;
}
.ml-creator-form .ml-brief-add-placeholder > span { color:var(--tvc-lounge-action-icon,#b43a25); font-size:18px; }
.ml-creator-form .ml-brief-theme-tile { flex:0 0 72px; width:72px; min-width:72px; height:72px; place-items:center; padding:6px; background:var(--brief-theme-color,#d9c8af); }
.ml-creator-form .ml-brief-theme-tile span { display:-webkit-box; overflow:hidden; color:#2e2924; font-size:9px; font-weight:750; line-height:1.1; text-align:center; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.ml-creator-form .ml-brief-theme-tile button { position:absolute; top:2px; right:2px; display:grid; place-items:center; width:18px; height:18px; padding:0; border:0; border-radius:50%; background:#211e1bcc; color:white; font-size:13px; line-height:1; cursor:pointer; }
.ml-creator-form .ml-brief-theme-add-placeholder { flex:0 0 72px; width:72px; min-width:72px; height:72px; }
.ml-creator-form .ml-brief-writing-icon { display:grid; place-items:center; width:30px; height:30px; background:#ddd5c8; color:#50483f; font-family:Georgia,serif; font-size:13px; }
.ml-creator-form .ml-brief-substack-tile { display:flex; flex:0 0 72px; flex-direction:column; align-items:center; justify-content:center; width:72px; min-width:72px; height:72px; gap:4px; padding:6px; }
.ml-creator-form .ml-brief-substack-tile > span:last-child { display:-webkit-box; overflow:hidden; max-width:100%; color:#50483f; font-size:8px; line-height:1.1; text-align:center; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.ml-creator-form .ml-brief-writing-details { margin:7px 0 2px; }
.ml-creator-form .ml-brief-writing-details > summary { display:flex; align-items:center; justify-content:space-between; padding:7px 0 2px; color:var(--text-2,#77716d); font-size:10px; cursor:pointer; }
.ml-creator-form .ml-brief-writing-details > summary span { color:var(--tvc-lounge-action-icon,#b43a25); font-size:15px; }
.ml-creator-form .ml-brief-writing-details[open] > summary { margin-bottom:7px; }
.ml-creator-form .ml-brief-substack-field { margin:0; padding:9px; border-color:#e4ded5; background:transparent; }
.ml-creator-form .ml-brief-substack-field > legend { color:var(--text-2,#77716d); font-size:9px; }
.ml-creator-form .ml-brief-media-actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:6px; }
.ml-creator-form .ml-brief-media-actions .ml-add-brief-media { padding:7px 9px; font-size:10px; }
.ml-creator-form .ml-brief-media-field > .ml-form-hint { margin:5px 0 0; font-size:10px; }
.ml-creator-form .ml-form-actions .ml-brief-preview-action { border:1px solid var(--border,#ddd5ca); background:transparent; color:var(--text,#292521); }
.ml-brief-preview-overlay {
  position:fixed; z-index:10001; inset:0; display:flex; flex-direction:column; overflow:hidden;
  background:var(--panel,#fff); color:var(--text,#292521);
}
.ml-brief-preview-overlay > header { display:flex; align-items:center; justify-content:space-between; flex:none; padding:11px 15px; border-bottom:1px solid var(--border,#e4ded5); font-size:13px; }
.ml-brief-preview-overlay > header button { width:32px; height:32px; border:1px solid var(--border,#e4ded5); border-radius:50%; background:var(--panel-2,#f5f5f5); color:var(--text,#292521); font-size:20px; cursor:pointer; }
.ml-brief-preview-content { min-height:0; overflow:auto; padding:12px; }
.ml-brief-preview-content > .tvc-discovery { max-width:760px; margin:0 auto; }
.ml-brief-picker-overlay {
  position:fixed; z-index:10002; inset:0; display:flex; flex-direction:column; overflow:hidden;
  padding:0; background:var(--panel,#fff); color:var(--text,#292521);
}
.ml-brief-picker-overlay.ml-brief-media-sheet {
  inset:min(12dvh,96px) max(0px,calc((100vw - 680px)/2)) 0;
  border-radius:20px 20px 0 0;
  box-shadow:0 0 0 100vmax rgba(0,0,0,.45);
}
.ml-brief-media-sheet::before {
  content:""; width:34px; height:4px; min-height:4px; align-self:center;
  margin:12px 0 0; border-radius:999px; background:var(--text-2,#77716d); opacity:.65;
}
.ml-brief-media-sheet .ml-brief-picker-search > .tvc-d-sr-only {
  position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
.ml-brief-picker-overlay > header { display:flex; align-items:center; justify-content:space-between; gap:12px; flex:none; padding:13px 16px; border-bottom:1px solid var(--border,#e4ded5); }
.ml-brief-picker-overlay > header > div { display:grid; gap:3px; min-width:0; }
.ml-brief-picker-overlay > header small { color:var(--text-2,#77716d); font-size:9px; letter-spacing:.09em; text-transform:uppercase; }
.ml-brief-picker-overlay > header strong { font-size:16px; }
.ml-brief-picker-overlay > header button { width:32px; height:32px; border:1px solid var(--border,#e4ded5); border-radius:50%; background:var(--panel-2,#f5f5f5); color:inherit; font-size:20px; cursor:pointer; }
.ml-brief-picker-hint { flex:none; margin:0; padding:9px 16px; color:var(--text-2,#77716d); font-size:11px; }
.ml-brief-picker-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; flex:none; padding:2px 16px 11px; }
.ml-brief-picker-tabs.is-single-tab { grid-template-columns:minmax(0,1fr); }
.ml-brief-picker-tabs button { min-height:36px; padding:0 8px; border:1px solid var(--border,#ddd5ca); border-radius:999px; background:var(--panel-2,#f5f5f5); color:var(--text-2,#77716d); font:inherit; font-size:11px; font-weight:650; cursor:pointer; }
.ml-brief-picker-tabs button[aria-selected="true"] { border-color:var(--text,#292521); background:var(--text,#292521); color:var(--panel,#fff); }
.ml-brief-picker-search { display:grid; flex:none; padding:0 16px 10px; }
.ml-brief-picker-search input { width:100%; min-height:40px; box-sizing:border-box; padding:0 14px; border:1px solid var(--border,#ddd5ca); border-radius:999px; background:var(--panel-2,#f5f5f5); color:var(--text,#292521); font:inherit; font-size:12px; }
.ml-brief-picker-search input:focus { outline:2px solid color-mix(in srgb,var(--tvc-lounge-action-icon,#b43a25) 28%,transparent); border-color:var(--tvc-lounge-action-icon,#b43a25); }
.ml-brief-picker-option[hidden],.ml-brief-theme-option[hidden] { display:none; }
.ml-brief-picker-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex:none; padding:0 16px 8px; color:var(--text-2,#77716d); font-size:11px; }
.ml-brief-picker-add-own { border:0; padding:4px 0; background:transparent; color:var(--text,#292521); font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
.ml-brief-picker-add-own:hover { color:var(--tvc-lounge-action-icon,#b43a25); }
.ml-brief-picker-contribute-status { position:sticky; top:0; z-index:4; flex:none; margin:0 16px 8px; padding:0; color:var(--text-2,#77716d); font-size:12px; line-height:1.4; }
.ml-brief-picker-contribute-status[hidden],.ml-brief-builder-playlist-status[hidden] { display:none !important; }
.ml-brief-picker-contribute-status.is-loading,.ml-brief-picker-contribute-status.is-error,
.ml-brief-builder-playlist-status.is-loading,.ml-brief-builder-playlist-status.is-error {
  display:flex; align-items:center; gap:9px; min-height:38px; box-sizing:border-box;
  padding:8px 12px; border:1px solid var(--border,#ded6ca); border-radius:10px;
  background:var(--panel-2,#f5f2ee); color:var(--text,#292521); font-size:12px; font-weight:650;
  box-shadow:0 4px 14px rgba(0,0,0,.12);
}
.ml-brief-picker-contribute-status.is-error,.ml-brief-builder-playlist-status.is-error {
  border-color:rgba(190,65,48,.35); background:rgba(190,65,48,.12);
  color:var(--tvc-lounge-action-icon,#a93224);
}
.ml-brief-picker-contribute-status.is-loading::before,.ml-brief-builder-playlist-status.is-loading::before {
  content:""; display:block; flex:none; width:13px; height:13px;
  border:2px solid currentColor; border-top-color:transparent; border-radius:50%;
  animation:ml-brief-playlist-spin .75s linear infinite;
}
@keyframes ml-brief-playlist-spin { to { transform:rotate(360deg); } }
.ml-brief-picker-options { display:grid; flex:1 1 auto; grid-template-columns:repeat(3,minmax(0,1fr)); align-content:start; gap:10px; min-height:0; overflow:auto; padding:2px 16px 14px; }
.ml-brief-picker-option { position:relative; display:grid; grid-template-rows:auto auto; gap:6px; min-width:0; cursor:pointer; }
.ml-brief-picker-option input { position:absolute; z-index:2; top:8px; right:8px; width:22px; height:22px; margin:0; opacity:0; cursor:pointer; }
.ml-brief-picker-option:focus-within .ml-brief-picker-card-art { outline:2px solid var(--tvc-lounge-action-icon,#b43a25); outline-offset:2px; }
.ml-brief-picker-card-art { position:relative; display:block; overflow:hidden; width:100%; aspect-ratio:1; border-radius:8px; background:var(--panel-2,#f5f5f5); }
.ml-brief-picker-card-art > img,.ml-brief-picker-fallback { display:grid; place-items:center; width:100%; height:100%; object-fit:cover; background:var(--panel-2,#f5f5f5); color:var(--text-2,#77716d); font:18px Georgia,serif; }
.ml-brief-picker-check { position:absolute; top:7px; right:7px; display:grid; place-items:center; width:20px; height:20px; border:1.5px solid #fff; border-radius:50%; background:rgba(0,0,0,.24); color:transparent; font-size:12px; line-height:1; box-shadow:0 1px 4px rgba(0,0,0,.28); }
.ml-brief-picker-option input:checked + .ml-brief-picker-card-art .ml-brief-picker-check { background:var(--tvc-lounge-action-icon,#b43a25); color:#fff; }
.ml-brief-picker-card-copy { display:grid; gap:3px; min-width:0; }
.ml-brief-picker-card-copy strong,.ml-brief-picker-card-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ml-brief-picker-card-copy strong { color:var(--text,#292521); font-size:12px; line-height:1.25; }
.ml-brief-picker-card-copy small { color:var(--text-2,#77716d); font-size:10px; }
.ml-brief-picker-empty { padding:16px 0; color:var(--text-2,#77716d); font-size:12px; }
.ml-brief-picker-overlay > footer { display:flex; flex:none; padding:10px 16px max(12px,env(safe-area-inset-bottom)); border-top:1px solid var(--border,#e4ded5); }
.ml-brief-picker-overlay > footer button { width:100%; min-height:48px; padding:0 14px; border:0; border-radius:999px; background:#252525; color:#fff; font-size:14px; font-weight:700; cursor:pointer; }
.ml-brief-picker-overlay > footer button:disabled { background:var(--panel-2,#f0f0f0); color:var(--text-2,#8a8a8a); cursor:not-allowed; }
.ml-brief-picker-coming-soon-content { display:grid; flex:1; align-content:center; justify-items:center; padding:24px; text-align:center; }
.ml-brief-picker-coming-soon-content strong { font-size:22px; }
.ml-brief-picker-coming-soon-content p { color:var(--text-2,#77716d); font-size:13px; }
.ml-brief-source-options { display:grid; align-content:start; padding:0 16px; }
.ml-brief-source-options > button {
  display:grid; grid-template-columns:42px minmax(0,1fr) 20px; align-items:center;
  gap:13px; min-height:96px; padding:14px 8px; border:0; border-radius:0;
  text-align:left; background:transparent; color:var(--text,#292521); font:inherit; cursor:pointer;
}
.ml-brief-source-options > button > svg:last-child { width:18px; height:18px; color:var(--text-2,#77716d); }
.ml-brief-source-icon { display:grid; place-items:center; width:40px; height:40px; color:var(--text,#292521); }
.ml-brief-source-icon > img,.ml-brief-source-icon > svg { width:32px; height:32px; object-fit:contain; }
.ml-brief-source-icon.is-spotify > img { width:40px; height:40px; }
.ml-brief-source-copy { display:grid; gap:5px; min-width:0; }
.ml-brief-source-copy strong { font-size:17px; font-weight:750; }
.ml-brief-source-copy small { color:var(--text-2,#77716d); font-size:13px; font-weight:450; }
.ml-brief-source-divider { height:1px; background:var(--border,#ddd5ca); }
.ml-brief-media-fullscreen {
  position:fixed; z-index:10010; inset:0; display:flex; flex-direction:column;
  overflow:hidden; background:var(--panel,#fff); color:var(--text,#292521);
  padding-top:env(safe-area-inset-top);
}
.ml-brief-media-fullscreen > header {
  display:grid; flex:none; grid-template-columns:40px 1fr 40px; align-items:center;
  min-height:52px; padding:0 14px; border-bottom:1px solid var(--border,#e4ded5);
  background:var(--panel,#fff); text-align:center;
}
.ml-brief-media-fullscreen > header strong { font-size:16px; }
.ml-brief-media-fullscreen > header button {
  justify-self:start; width:36px; height:36px; border:0; border-radius:50%;
  background:transparent; color:inherit; font-size:30px; line-height:1; cursor:pointer;
}
.ml-brief-media-fullscreen > header button:last-child { justify-self:end; font-size:25px; }
.ml-brief-media-fullscreen > div { display:flex; flex:1 1 auto; flex-direction:column; min-height:0; }
.ml-brief-media-fullscreen .ml-creator-form {
  flex:1 1 auto; align-content:start; min-height:0; overflow:auto;
  padding:20px 18px calc(94px + env(safe-area-inset-bottom));
}
.ml-brief-media-fullscreen .ml-form-actions {
  position:fixed; z-index:1; inset:auto 0 0; justify-content:flex-end;
  padding:10px 16px max(14px,env(safe-area-inset-bottom));
  border-top:1px solid var(--border,#e4ded5); background:var(--panel,#fff);
}
.ml-brief-media-fullscreen .ml-form-actions [data-form-cancel] { margin-right:auto; }
.ml-brief-media-fullscreen .ml-creator-form:has(.ml-spotify-import) {
  display:flex; flex-direction:column; gap:0; overflow:hidden; overscroll-behavior:contain;
}
.ml-brief-media-fullscreen .ml-creator-form:has(.ml-spotify-import.is-immediate-picker) {
  padding-bottom:max(12px,env(safe-area-inset-bottom));
}
.ml-brief-media-fullscreen .ml-creator-form:has(.ml-spotify-import) .ml-form-actions { flex:none; }
.ml-brief-media-fullscreen .ml-spotify-import {
  display:flex; flex:1 1 auto; flex-direction:column; align-items:center;
  width:min(100%,640px); min-height:0; margin:0 auto; padding:clamp(26px,10vh,112px) 2px 8px;
  box-sizing:border-box;
}
.ml-brief-media-fullscreen .ml-spotify-brand { display:flex; flex:none; align-items:center; justify-content:center; gap:9px; color:var(--text,#292521); }
.ml-brief-media-fullscreen .ml-spotify-brand img { width:42px; height:42px; object-fit:contain; }
.ml-brief-media-fullscreen .ml-spotify-brand strong { font-size:25px; font-weight:750; letter-spacing:-.04em; }
.ml-brief-media-fullscreen .ml-spotify-import h1 {
  flex:none; margin:24px 0 12px; color:var(--text,#292521); font-size:clamp(27px,7vw,34px);
  font-weight:800; letter-spacing:-.045em; text-align:center;
}
.ml-brief-media-fullscreen .ml-spotify-import-hint { flex:none; margin:0 0 22px; color:var(--text-2,#77716d); font-size:14px; text-align:center; }
.ml-brief-media-fullscreen .ml-spotify-search-box {
  display:grid; flex:none; grid-template-columns:22px minmax(0,1fr) 38px; align-items:center;
  gap:9px; width:100%; min-height:58px; padding:4px 9px 4px 14px; box-sizing:border-box;
  border:1px solid var(--border,#ddd5ca); border-radius:999px; background:var(--panel,#fff);
  color:var(--text,#292521);
}
.ml-brief-media-fullscreen .ml-spotify-search-box > svg { width:21px; height:21px; color:var(--text-2,#77716d); }
.ml-brief-media-fullscreen .ml-spotify-search-box input {
  width:100%; min-width:0; min-height:48px; padding:0; border:0; border-radius:0;
  outline:0; background:transparent; color:var(--text,#292521); font-size:15px;
}
.ml-brief-media-fullscreen .ml-spotify-search-box input:focus { outline:0; }
.ml-brief-media-fullscreen .ml-spotify-search-box input::placeholder { color:var(--text-2,#77716d); opacity:.92; }
.ml-brief-media-fullscreen .ml-spotify-search-box > button {
  display:grid; place-items:center; width:36px; height:36px; padding:6px;
  border:0; border-radius:50%; background:transparent; color:var(--text-2,#77716d); cursor:pointer;
}
.ml-brief-media-fullscreen .ml-spotify-search-box > button:hover { background:var(--panel-2,#f5f5f5); color:var(--text,#292521); }
.ml-brief-media-fullscreen .ml-spotify-search-box > button svg { width:22px; height:22px; }
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-search-status {
  flex:none; width:100%; margin:10px 0 0; color:var(--text-2,#77716d); font-size:12px; text-align:center;
}
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-search-status:empty,
.ml-brief-media-fullscreen .ml-spotify-import-results:empty,
.ml-brief-media-fullscreen .ml-spotify-import-selected:empty { display:none; }
.ml-brief-media-fullscreen .ml-spotify-import-results {
  display:grid; flex:1 1 auto; align-content:start; width:100%; min-height:0; max-height:none;
  gap:0; margin-top:12px; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain;
  scrollbar-color:var(--border,#ddd5ca) transparent; scrollbar-width:thin;
}
.ml-brief-media-fullscreen .ml-spotify-import-selected {
  display:grid; flex:none; width:100%; max-height:20dvh; gap:7px; margin-top:10px;
  overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain;
}
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-row {
  display:grid; grid-template-columns:48px minmax(0,1fr) 38px; align-items:center;
  gap:12px; min-width:0; padding:9px 4px; border-bottom:1px solid var(--border,#ddd5ca);
}
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-row:last-child { border-bottom:0; }
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-row > :first-child {
  display:block; width:48px; height:48px; border-radius:7px; object-fit:cover;
  background:var(--panel-2,#f5f5f5);
}
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-copy {
  display:grid; min-width:0; gap:4px; align-content:center;
}
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-copy > strong {
  overflow:hidden; color:var(--text,#292521); font-size:14px; font-weight:700;
  line-height:1.25; text-overflow:ellipsis; white-space:nowrap;
}
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-copy > small {
  overflow:hidden; color:var(--text-2,#77716d); font-size:12px; line-height:1.3;
  text-overflow:ellipsis; white-space:nowrap;
}
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-copy a {
  display:inline-flex; align-items:center; width:max-content; max-width:100%;
  color:var(--text-2,#77716d); text-decoration:none;
}
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-copy a:hover { color:var(--tvc-lounge-action-icon,#b43a25); }
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-copy a img {
  display:block; width:14px; height:14px; object-fit:contain;
}
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-action {
  display:grid; place-items:center; justify-self:end; width:34px; height:34px; padding:0;
  border:1px solid var(--text-2,#77716d); border-radius:50%; background:transparent;
  color:var(--text-2,#77716d)!important; font-weight:400; white-space:normal; cursor:pointer;
  transition:background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-action svg { display:block; width:18px; height:18px; }
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-action:hover { transform:scale(1.06); border-color:var(--tvc-lounge-action-icon,#b43a25); color:var(--tvc-lounge-action-icon,#b43a25); }
.ml-brief-media-fullscreen .ml-spotify-import .ml-music-result-action[aria-pressed="true"] {
  border-color:var(--tvc-lounge-action-icon,#b43a25); background:var(--tvc-lounge-action-icon,#b43a25);
  color:var(--panel,#fff)!important;
}
.ml-brief-media-fullscreen .ml-spotify-import .ml-spotify-empty-results { margin:14px 0; color:var(--text-2,#77716d); font-size:13px; text-align:center; }
.ml-brief-media-fullscreen .ml-spotify-import-credit {
  flex:none; margin:auto 0 0; padding:14px 0 8px; color:var(--text-2,#77716d);
  font-size:12px; text-align:center;
}
.ml-brief-media-fullscreen .ml-spotify-import.is-search-active { padding:10px 2px 4px; }
.ml-brief-media-fullscreen .ml-spotify-import.is-search-active .ml-spotify-brand { display:none; }
.ml-brief-media-fullscreen .ml-spotify-import.is-search-active h1 {
  align-self:flex-start; margin:0 0 4px; font-size:13px; font-weight:650; letter-spacing:0;
  text-align:left;
}
.ml-brief-media-fullscreen .ml-spotify-import.is-search-active .ml-spotify-import-hint { display:none; }
.ml-brief-media-fullscreen .ml-spotify-import.is-search-active .ml-spotify-import-results { margin-top:8px; }
@media (max-width:700px) {
  .ml-brief-media-fullscreen { height:100dvh; }
  .ml-brief-media-fullscreen .ml-creator-form:has(.ml-spotify-import) {
    min-height:0; padding:12px 14px calc(82px + env(safe-area-inset-bottom));
  }
  .ml-brief-media-fullscreen .ml-spotify-import {
    width:100%; padding:clamp(22px,8vh,72px) 0 4px;
  }
  .ml-brief-media-fullscreen .ml-spotify-import.is-search-active { padding-top:6px; }
  .ml-brief-media-fullscreen .ml-spotify-import-results { -webkit-overflow-scrolling:touch; }
  .ml-brief-media-fullscreen .ml-spotify-import-credit { padding-bottom:6px; }
}
.ml-brief-builder-playlist-status { position:sticky; top:0; z-index:6; margin:6px 0 8px; color:var(--text-2,#77716d); font-size:12px; line-height:1.45; }
.ml-brief-theme-picker-grid { display:grid; flex:1 1 auto; grid-template-columns:repeat(auto-fill,minmax(80px,1fr)); align-content:start; gap:9px; min-height:0; overflow:auto; padding:12px 16px; }
.ml-brief-theme-option { position:relative; display:grid; place-items:center; min-height:80px; padding:8px; border-radius:6px; background:var(--brief-theme-color,#d9c8af); cursor:pointer; }
.ml-brief-theme-option input { position:absolute; top:5px; left:5px; width:15px; height:15px; accent-color:var(--tvc-lounge-action-icon,#b43a25); }
.ml-brief-theme-option span { color:#302924; font-size:10px; font-weight:750; line-height:1.15; text-align:center; }
.ml-brief-asset-preview-body { min-height:0; overflow:auto; padding:15px 16px; }
.ml-brief-asset-preview-art { display:grid; place-items:center; max-height:56vh; margin:0 auto 14px; }
.ml-brief-asset-preview-art img,.ml-brief-asset-preview-art video { display:block; max-width:100%; max-height:56vh; width:auto; height:auto; object-fit:contain; }
.ml-brief-asset-preview-art video { width:min(100%,680px); }
.ml-brief-asset-preview-body p { font-size:12px; line-height:1.5; }
.ml-brief-asset-preview-body audio { width:100%; }
.ml-brief-asset-preview-body a { display:inline-block; margin:10px 0; color:var(--tvc-lounge-action-icon,#b43a25); font-size:11px; }
.ml-brief-asset-credit { color:var(--text-2,#77716d); }
.ml-brief-asset-writing { max-height:35vh; overflow:auto; padding:12px; border-radius:6px; background:var(--panel-2,#f5f5f5); color:var(--text,#201e1d); font-size:11px; line-height:1.6; white-space:pre-wrap; }
@media (max-width:600px) {
  .ml-creator-form .ml-brief-media-tiles,.ml-creator-form .ml-brief-theme-tiles { gap:6px; }
  .ml-creator-form .ml-brief-media-item { flex-basis:70px; width:70px; min-width:70px; height:86px; }
  .ml-creator-form .ml-brief-media-tile,.ml-creator-form .ml-brief-theme-tile,.ml-creator-form .ml-brief-add-placeholder,.ml-creator-form .ml-brief-theme-add-placeholder,.ml-creator-form .ml-brief-substack-tile { flex-basis:70px; width:70px; min-width:70px; height:70px; }
  .ml-creator-form .ml-brief-media-tile { grid-template-rows:70px 14px; height:86px; }
  .ml-creator-form .ml-brief-media-tile img,.ml-creator-form .ml-brief-media-tile > .ml-brief-media-tile-fallback,.ml-creator-form .ml-brief-media-tile-title { width:70px; }
  .ml-creator-form .ml-brief-media-field { padding:9px; }
}

/* The unified brief builder: one compact media grid followed by its live crate. */
.ml-creator-form:has(.ml-brief-builder-start) {
  gap:16px;
}
.ml-action-dialog:has(.ml-brief-builder-start) {
  inset:0;
  width:100vw;
  height:100dvh;
  max-width:none;
  max-height:100dvh;
  margin:0;
  border:0;
  border-radius:0;
  overscroll-behavior:contain;
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-dialog-body {
  padding:0;
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-dialog-head {
  display:none;
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-creator-form {
  padding:0 clamp(16px,4vw,28px);
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-brief-workspace-toolbar {
  position:sticky;
  z-index:5;
  top:0;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;
  gap:8px;
  margin:0 calc(-1 * clamp(16px,4vw,28px)) 14px;
  padding:max(8px,env(safe-area-inset-top)) clamp(16px,4vw,28px) 8px;
  border-bottom:1px solid var(--border,#e4ded5);
  background:var(--panel,#fff);
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-brief-workspace-toolbar > h2 {
  min-width:0;
  margin:0;
  overflow:hidden;
  color:var(--text,#201e1d);
  font-size:18px;
  font-weight:800;
  letter-spacing:-.03em;
  text-align:center;
  text-overflow:ellipsis;
  text-transform:none;
  white-space:nowrap;
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-brief-workspace-toolbar > button {
  display:grid;
  min-width:44px;
  min-height:44px;
  place-items:center;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--text,#201e1d);
  font-size:14px;
  font-weight:650;
  cursor:pointer;
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-brief-workspace-toolbar > button:hover {
  background:transparent;
  opacity:.72;
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-brief-workspace-toolbar > button svg {
  width:22px;
  height:22px;
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-form-actions {
  position:sticky;
  z-index:4;
  bottom:0;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:8px;
  margin:20px calc(-1 * clamp(16px,4vw,28px)) 0;
  padding:12px clamp(16px,4vw,28px) max(16px,env(safe-area-inset-bottom));
  border-top:1px solid var(--border,#e4ded5);
  background:var(--panel,#fff);
  box-shadow:0 -8px 20px color-mix(in srgb,var(--text,#201e1d) 5%,transparent);
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-form-actions [data-form-cancel] {
  display:none;
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-form-actions .ml-brief-preview-action {
  justify-self:center;
  min-height:32px;
  padding:4px 10px;
  border:0;
  background:transparent;
  color:var(--text-2,#77716d);
  font-size:12px;
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-form-actions .ml-brief-publish-action {
  width:100%;
  min-height:52px;
  padding:12px 18px;
  border:0;
  border-radius:999px;
  background:color-mix(in srgb,var(--text,#201e1d) 14%,transparent);
  color:var(--text,#201e1d);
  box-shadow:none;
  font-size:15px;
  font-weight:700;
}
.ml-action-dialog:has(.ml-brief-builder-start) .ml-form-actions .ml-brief-publish-action:hover:not(:disabled) {
  background:color-mix(in srgb,var(--text,#201e1d) 20%,transparent);
}
.ml-creator-form .ml-brief-builder-fields {
  display:grid;
  gap:9px;
}
.ml-creator-form .ml-brief-builder-guidance {
  margin:0 0 2px;
  color:var(--text-2,#77716d);
  font-size:11px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:0;
}
.ml-creator-form .ml-brief-media-state[hidden] { display:none !important; }
.ml-creator-form .ml-brief-builder-fields > label {
  display:grid;
  gap:0;
  color:var(--text-2,#77716d);
  font-size:0;
  letter-spacing:0;
}
.ml-creator-form .ml-brief-builder-fields input,
.ml-creator-form .ml-brief-builder-fields textarea {
  box-sizing:border-box;
  min-height:44px;
  padding:11px 14px;
  border:1px solid var(--border,#ddd8d1);
  border-radius:999px;
  background:var(--panel,#fff);
  color:var(--text,#201e1d);
  font:500 16px/1.35 Inter,Arial,sans-serif;
  letter-spacing:0;
}
.ml-creator-form .ml-brief-builder-fields textarea {
  min-height:68px;
  border-radius:10px;
  resize:vertical;
}
.ml-creator-form .ml-brief-builder-fields input::placeholder,
.ml-creator-form .ml-brief-builder-fields textarea::placeholder { color:var(--text-2,#77716d); opacity:.9; }
.ml-creator-form .ml-brief-builder-fields input:focus-visible,
.ml-creator-form .ml-brief-builder-fields textarea:focus-visible {
  outline:2px solid color-mix(in srgb,var(--tvc-lounge-action-bg,#b43a25) 34%,transparent);
  border-color:var(--tvc-lounge-action-bg,#b43a25);
}
.ml-creator-form .ml-brief-builder-start { display:grid; gap:12px; }
.ml-creator-form .ml-brief-builder-start h3,
.ml-creator-form .ml-brief-builder-crate-section h3 {
  margin:0;
  color:var(--text,#201e1d);
  font-size:18px;
  font-weight:800;
  letter-spacing:-.035em;
}
.ml-creator-form .ml-brief-builder-type-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}
.ml-creator-form .ml-brief-builder-type {
  display:grid;
  min-width:0;
  min-height:90px;
  grid-template-rows:1fr auto;
  justify-items:center;
  gap:7px;
  padding:12px 5px 9px;
  border:1px solid var(--border,#e7e3de);
  border-radius:10px;
  background:var(--panel-2,#f5f3f0);
  color:var(--text,#201e1d);
  cursor:pointer;
}
.ml-creator-form .ml-brief-builder-type > span {
  display:grid;
  width:100%;
  min-height:42px;
  place-items:center;
}
.ml-creator-form .ml-brief-builder-type svg { width:25px; height:25px; }
.ml-creator-form .ml-brief-builder-type strong {
  overflow:hidden;
  max-width:100%;
  font-size:11px;
  line-height:1.15;
  text-align:center;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ml-creator-form .ml-brief-builder-type:hover,
.ml-creator-form .ml-brief-builder-type:focus-visible {
  border-color:var(--tvc-lounge-action-bg,#b43a25);
  background:var(--tvc-lounge-action-soft,#faeee9);
  outline:none;
}
.ml-creator-form .ml-brief-builder-crate-section {
  display:grid;
  gap:10px;
  padding-top:16px;
  border-top:1px solid var(--border,#e4ded5);
}
.ml-creator-form .ml-brief-builder-crate-section > header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.ml-creator-form .ml-brief-builder-crate-section > header > div {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--text-2,#77716d);
  font-size:11px;
}
.ml-creator-form .ml-brief-builder-crate-section [data-builder-cover-auto] {
  padding:0;
  border:0;
  background:transparent;
  color:var(--tvc-lounge-action-icon,#b43a25);
  font-size:10px;
  font-weight:700;
  cursor:pointer;
}
.ml-creator-form .ml-brief-builder-crate {
  container-type:inline-size;
}
.ml-creator-form .ml-brief-builder-crate-preview {
  width:100%;
  min-width:0;
  min-height:0;
  height:auto;
  margin:0;
  padding:0;
  overflow:visible;
  background:transparent;
  color:var(--text,#201e1d);
}
.ml-creator-form .ml-brief-empty-crate {
  display:grid;
  width:100%;
  height:clamp(100px,30cqi,144px);
  min-height:0;
  grid-template-columns:minmax(0,2.4fr) repeat(3,minmax(0,.85fr));
  overflow:hidden;
  border:1px dashed color-mix(in srgb,var(--text,#201e1d) 24%,transparent);
  border-radius:4px;
  background:var(--panel-2,#f5f3f0);
}
.ml-creator-form .ml-brief-empty-crate > * {
  min-width:0;
  border-right:1px dashed color-mix(in srgb,var(--text,#201e1d) 20%,transparent);
}
.ml-creator-form .ml-brief-empty-crate > :last-child { border-right:0; }
.ml-creator-form .ml-brief-empty-crate > span {
  display:grid;
  place-items:center;
  color:var(--text-2,#77716d);
  font-size:52px;
  font-weight:300;
  line-height:1;
}
.ml-creator-form .ml-brief-empty-crate > i { display:block; }
.ml-creator-form .ml-brief-builder-crate-preview .tvc-d-brief-artwork-row {
  margin:0;
  gap:0;
  align-items:stretch;
}
.ml-creator-form .ml-brief-builder-crate-preview .tvc-d-brief-crate-viewport {
  --tvc-d-brief-crate-sleeve-size:clamp(100px,30cqi,144px);
  --tvc-d-brief-crate-peek-step:8px;
  flex:1 1 100%;
  width:100%;
}
.ml-creator-form .ml-brief-builder-crate-preview .tvc-d-brief-overview-palette {
  display:none !important;
}
.ml-creator-form .ml-brief-builder-crate-preview .tvc-d-brief-crate-current-details {
  height:auto;
  min-height:100px;
  margin:10px 0 0;
}
.ml-creator-form .ml-brief-builder-crate-preview .tvc-d-brief-crate-current-details[data-active-index="0"] {
  height:36px;
  min-height:36px;
  margin:8px 0 0;
}
.ml-creator-form .ml-brief-builder-crate-preview .tvc-d-brief-crate-current-details[data-active-index="0"] .tvc-d-brief-crate-details-entry {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  padding-top:0;
}
.ml-creator-form .ml-brief-builder-crate-preview .tvc-d-brief-crate-current-details[data-active-index="0"] .tvc-d-brief-crate-details-copy {
  display:none;
}
.ml-creator-form .ml-brief-builder-crate-preview .tvc-d-brief-crate-details-entry:not(:has(> .tvc-d-brief-crate-cover-details)) {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-content:start;
  justify-content:stretch;
  gap:8px;
  padding-top:2px;
}
.ml-creator-form .ml-brief-builder-crate-preview .tvc-d-brief-crate-details-copy {
  flex:0 1 auto;
}
.ml-creator-form .ml-brief-builder-crate-preview .ml-brief-builder-item-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
}
.ml-creator-form .ml-brief-builder-crate-preview .ml-brief-builder-item-actions button {
  min-height:30px;
  padding:5px 9px;
  border:1px solid var(--border,#ddd8d1);
  border-radius:999px;
  background:var(--panel,#fff);
  color:var(--text,#201e1d);
  font:650 10px/1.2 Inter,Arial,sans-serif;
  cursor:pointer;
}
.ml-creator-form .ml-brief-builder-crate-preview .ml-brief-builder-item-actions button:hover,
.ml-creator-form .ml-brief-builder-crate-preview .ml-brief-builder-item-actions button:focus-visible {
  border-color:var(--tvc-lounge-action-bg,#b43a25);
  color:var(--tvc-lounge-action-icon,#b43a25);
  outline:none;
}
.ml-creator-form .ml-brief-builder-empty,
.ml-creator-form .ml-brief-builder-crate-error {
  margin:8px 0 16px;
  color:var(--text-2,#77716d);
  font-size:13px;
  line-height:1.45;
  text-align:center;
}
.ml-creator-form .ml-brief-additional {
  border-top:1px solid var(--border,#e4ded5);
  color:var(--text,#201e1d);
}
.ml-creator-form .ml-brief-additional > summary {
  padding:13px 0 2px;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}
.ml-creator-form .ml-brief-additional-content {
  display:grid;
  gap:12px;
  padding-top:12px;
}
.ml-creator-form .ml-brief-additional-content > label {
  color:var(--text-2,#77716d);
}
.ml-creator-form .ml-brief-additional-content input,
.ml-creator-form .ml-brief-additional-content textarea {
  box-sizing:border-box;
  background:var(--panel,#fff);
  color:var(--text,#201e1d);
}
.ml-creator-form .ml-brief-visibility {
  display:grid;
  gap:9px;
  margin:0;
  padding:12px;
  border:1px solid var(--border,#e4ded5);
  border-radius:9px;
}
.ml-creator-form .ml-brief-visibility legend {
  padding:0 5px;
  color:var(--text-2,#77716d);
  font-size:10px;
  font-weight:750;
}
.ml-creator-form .ml-brief-visibility label {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--text,#201e1d);
  font-size:11px;
  letter-spacing:0;
}
.ml-creator-form .ml-brief-visibility input {
  width:16px;
  min-height:0;
  height:16px;
  margin:0;
  accent-color:var(--tvc-lounge-action-bg,#b43a25);
}
@media (max-width:600px) {
  .ml-creator-form:has(.ml-brief-builder-start) { gap:14px; }
  .ml-creator-form .ml-brief-builder-type-grid { gap:7px; }
  .ml-creator-form .ml-brief-builder-type { min-height:82px; padding:9px 3px 8px; }
  .ml-creator-form .ml-brief-builder-type svg { width:23px; height:23px; }
}

/* Shared creation and add-action styling across Browse, My Lounge, and their forms. */
:root {
  --tvc-lounge-action-bg: #b43a25;
  --tvc-lounge-action-icon: #b43a25;
  --tvc-lounge-action-hover: #9a3020;
  --tvc-lounge-action-pressed: #812718;
  --tvc-lounge-action-soft: #faeee9;
  --tvc-lounge-action-ink: #fff;
  --tvc-lounge-action-shadow: inset 0 1px rgba(255,255,255,.18), 0 2px 6px rgba(56,18,12,.16);
}
html[data-theme="dark"] {
  --tvc-lounge-action-bg: #9f3928;
  --tvc-lounge-action-icon: #e47b66;
  --tvc-lounge-action-hover: #b24734;
  --tvc-lounge-action-pressed: #812c21;
  --tvc-lounge-action-soft: #3c2723;
  --tvc-lounge-action-shadow: inset 0 1px rgba(255,255,255,.12), 0 3px 9px rgba(0,0,0,.3);
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-action,
html[data-theme] .tvc-my-lounge .tvc-lounge-action,
html[data-theme] .ml-creator-form .tvc-lounge-action,
html[data-theme] .tvc-d-browse-action-dialog button.primary,
html[data-theme] .tvc-d-contribution-picker button.primary,
html[data-theme] .tvc-d-contribution-confirmation > button.primary,
html[data-theme] .ml-dialog-primary,
html[data-theme] .cc-spotify-submit,
html[data-theme] .ml-workspace-dialog .cc-btn.primary {
  display: inline-flex;
  width: auto;
  min-width: 0;
  min-height: 36px;
  height: auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--tvc-lounge-action-bg);
  border-radius: 8px;
  background: var(--tvc-lounge-action-bg);
  color: var(--tvc-lounge-action-ink);
  font: 650 12px/1.2 Inter, Arial, sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: var(--tvc-lounge-action-shadow);
  transition: background-color .14s ease, border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
html[data-theme] .tvc-d-browse-action-dialog .tvc-d-add-to-brief > footer button.primary {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  font-size: 15px;
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-action:hover:not(:disabled),
html[data-theme] .tvc-my-lounge .tvc-lounge-action:hover:not(:disabled),
html[data-theme] .ml-creator-form .tvc-lounge-action:hover:not(:disabled),
html[data-theme] .tvc-d-browse-action-dialog button.primary:hover:not(:disabled),
html[data-theme] .tvc-d-contribution-picker button.primary:hover:not(:disabled),
html[data-theme] .tvc-d-contribution-confirmation > button.primary:hover:not(:disabled),
html[data-theme] .ml-dialog-primary:hover:not(:disabled),
html[data-theme] .cc-spotify-submit:hover:not(:disabled),
html[data-theme] .ml-workspace-dialog .cc-btn.primary:hover:not(:disabled) {
  border-color: var(--tvc-lounge-action-hover);
  background: var(--tvc-lounge-action-hover);
  transform: translateY(-1px);
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-action:active:not(:disabled),
html[data-theme] .tvc-my-lounge .tvc-lounge-action:active:not(:disabled),
html[data-theme] .ml-creator-form .tvc-lounge-action:active:not(:disabled),
html[data-theme] .tvc-d-browse-action-dialog button.primary:active:not(:disabled),
html[data-theme] .tvc-d-contribution-picker button.primary:active:not(:disabled),
html[data-theme] .tvc-d-contribution-confirmation > button.primary:active:not(:disabled),
html[data-theme] .ml-dialog-primary:active:not(:disabled),
html[data-theme] .cc-spotify-submit:active:not(:disabled),
html[data-theme] .ml-workspace-dialog .cc-btn.primary:active:not(:disabled) {
  border-color: var(--tvc-lounge-action-pressed);
  background: var(--tvc-lounge-action-pressed);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
  transform: translateY(1px);
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-action:focus-visible,
html[data-theme] .tvc-my-lounge .tvc-lounge-action:focus-visible,
html[data-theme] .ml-creator-form .tvc-lounge-action:focus-visible,
html[data-theme] .tvc-d-browse-action-dialog button.primary:focus-visible,
html[data-theme] .tvc-d-contribution-picker button.primary:focus-visible,
html[data-theme] .tvc-d-contribution-confirmation > button.primary:focus-visible,
html[data-theme] .ml-dialog-primary:focus-visible,
html[data-theme] .cc-spotify-submit:focus-visible,
html[data-theme] .ml-workspace-dialog .cc-btn.primary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--tvc-lounge-action-bg) 42%, transparent);
  outline-offset: 2px;
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-action:disabled,
html[data-theme] .tvc-my-lounge .tvc-lounge-action:disabled,
html[data-theme] .ml-creator-form .tvc-lounge-action:disabled,
html[data-theme] .tvc-d-browse-action-dialog button.primary:disabled,
html[data-theme] .tvc-d-contribution-picker button.primary:disabled,
html[data-theme] .tvc-d-contribution-confirmation > button.primary:disabled,
html[data-theme] .ml-dialog-primary:disabled,
html[data-theme] .cc-spotify-submit:disabled,
html[data-theme] .ml-workspace-dialog .cc-btn.primary:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
  box-shadow: none;
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-action.tvc-lounge-action--compact,
html[data-theme] .tvc-my-lounge .tvc-lounge-action.tvc-lounge-action--compact,
html[data-theme] .ml-creator-form .tvc-lounge-action.tvc-lounge-action--compact {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 10px;
}
.tvc-lounge-action-icon {
  display: inline-grid;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  place-items: center;
  font: 500 16px/1 Inter, Arial, sans-serif;
}
.tvc-lounge-action svg,
.tvc-lounge-icon-action svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-icon-action,
html[data-theme] .ml-creator-form .tvc-lounge-icon-action {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--tvc-lounge-action-bg);
  border-radius: 8px;
  background: var(--tvc-lounge-action-bg);
  color: var(--tvc-lounge-action-ink);
  box-shadow: var(--tvc-lounge-action-shadow);
  transition: background-color .14s ease, border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-icon-action:hover:not(:disabled),
html[data-theme] .ml-creator-form .tvc-lounge-icon-action:hover:not(:disabled) {
  border-color: var(--tvc-lounge-action-hover);
  background: var(--tvc-lounge-action-hover);
  transform: translateY(-1px);
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-icon-action:active:not(:disabled),
html[data-theme] .ml-creator-form .tvc-lounge-icon-action:active:not(:disabled) {
  border-color: var(--tvc-lounge-action-pressed);
  background: var(--tvc-lounge-action-pressed);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
  transform: translateY(1px);
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-icon-action:focus-visible,
html[data-theme] .ml-creator-form .tvc-lounge-icon-action:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--tvc-lounge-action-bg) 42%, transparent);
  outline-offset: 2px;
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-icon-action:disabled,
html[data-theme] .ml-creator-form .tvc-lounge-icon-action:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-icon-action--compact,
html[data-theme] .ml-creator-form .tvc-lounge-icon-action--compact {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}
.ml-creator-form .ml-brief-themes > header .tvc-lounge-icon-action--compact {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 7px;
}
.tvc-lounge-icon-action--compact svg { width: 14px; height: 14px; flex-basis: 14px; }
html[data-theme] .ml-creator-form .tvc-lounge-add-tile {
  border-color: color-mix(in srgb, var(--tvc-lounge-action-bg) 52%, var(--border));
  border-radius: 8px;
  background: var(--tvc-lounge-action-soft);
  color: var(--tvc-lounge-action-icon);
  font: 650 10px/1.2 Inter, Arial, sans-serif;
  transition: border-color .14s ease, background-color .14s ease, transform .14s ease;
}
html[data-theme] .ml-creator-form .tvc-lounge-add-tile > span { color: var(--tvc-lounge-action-icon); font: 500 17px/1 Inter, Arial, sans-serif; }
html[data-theme] .ml-creator-form .tvc-lounge-add-tile:hover:not(:disabled) {
  border-color: var(--tvc-lounge-action-bg);
  background: color-mix(in srgb, var(--tvc-lounge-action-soft) 70%, var(--tvc-lounge-action-bg));
}
html[data-theme] .ml-creator-form .tvc-lounge-add-tile:active:not(:disabled) { transform: translateY(1px); }
html[data-theme] .ml-creator-form .tvc-lounge-add-tile:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--tvc-lounge-action-bg) 42%, transparent);
  outline-offset: 2px;
}
html[data-theme] .tvc-d-dialog-choice,
html[data-theme] .ml-media-type-picker button,
html[data-theme] .ml-creator-form .ml-music-kind-picker button {
  border-color: var(--border, #d7d0c8);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font: 600 12px/1.35 Inter, Arial, sans-serif;
  transition: border-color .14s ease, background-color .14s ease, box-shadow .14s ease;
}
html[data-theme] .tvc-d-dialog-choice:hover:not(:disabled),
html[data-theme] .ml-media-type-picker button:hover:not(:disabled),
html[data-theme] .ml-creator-form .ml-music-kind-picker button:hover:not(:disabled) {
  border-color: var(--tvc-lounge-action-bg);
  background: var(--tvc-lounge-action-soft);
}
html[data-theme] .ml-creator-form .ml-music-kind-picker button[aria-pressed="true"] {
  border-color: var(--tvc-lounge-action-bg);
  background: var(--tvc-lounge-action-soft);
  color: var(--text);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tvc-lounge-action-bg) 22%, transparent);
}
.ml-creator-form .ml-add-brief-media { justify-self: start; }

/* Flat, text-led treatment for every Curator Lounge create/add action. */
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-add-action,
html[data-theme] .tvc-my-lounge .tvc-lounge-add-action,
html[data-theme] .ml-creator-form .tvc-lounge-add-action {
  display:inline-flex;
  width:auto;
  min-width:0;
  min-height:32px;
  height:auto;
  flex:0 0 auto;
  align-items:center;
  flex-direction:row;
  justify-content:center;
  gap:6px;
  padding:5px 8px;
  border:1px solid transparent;
  border-radius:6px;
  background:transparent;
  color:var(--text,#201e1d);
  font:650 13px/1.25 Inter,Arial,sans-serif;
  letter-spacing:0;
  text-align:left;
  text-decoration:none;
  text-transform:none;
  box-shadow:none;
  transition:background-color .14s ease,color .14s ease,transform .14s ease;
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-add-action:hover:not(:disabled),
html[data-theme] .tvc-my-lounge .tvc-lounge-add-action:hover:not(:disabled),
html[data-theme] .ml-creator-form .tvc-lounge-add-action:hover:not(:disabled) {
  border-color:transparent;
  background:var(--tvc-lounge-action-soft);
  color:var(--text,#201e1d);
  transform:none;
  box-shadow:none;
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-add-action:active:not(:disabled),
html[data-theme] .tvc-my-lounge .tvc-lounge-add-action:active:not(:disabled),
html[data-theme] .ml-creator-form .tvc-lounge-add-action:active:not(:disabled) {
  border-color:transparent;
  background:color-mix(in srgb,var(--tvc-lounge-action-soft) 78%,var(--tvc-lounge-action-bg));
  color:var(--text,#201e1d);
  transform:none;
  box-shadow:none;
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-add-action:focus-visible,
html[data-theme] .tvc-my-lounge .tvc-lounge-add-action:focus-visible,
html[data-theme] .ml-creator-form .tvc-lounge-add-action:focus-visible {
  outline:2px solid var(--tvc-lounge-action-icon);
  outline-offset:2px;
}
html[data-theme] .tvc-discovery.tvc-d-v3 .tvc-lounge-add-action:disabled,
html[data-theme] .tvc-my-lounge .tvc-lounge-add-action:disabled,
html[data-theme] .ml-creator-form .tvc-lounge-add-action:disabled {
  color:var(--text-2,#777);
  cursor:not-allowed;
  opacity:.55;
  transform:none;
  box-shadow:none;
}
.tvc-lounge-add-action .tvc-lounge-action-icon {
  width:auto;
  height:auto;
  flex:none;
  color:currentColor;
  font:500 16px/1 Inter,Arial,sans-serif;
}
.tvc-lounge-add-action svg {
  width:15px;
  height:15px;
  flex:0 0 15px;
}
html[data-theme] .tvc-my-lounge .ml-add.tvc-lounge-add-action svg {
  width:15px;
  height:15px;
  flex:0 0 15px;
}
html[data-theme] .ml-creator-form .ml-brief-add-placeholder.tvc-lounge-add-action,
html[data-theme] .ml-creator-form .ml-brief-theme-add-placeholder.tvc-lounge-add-action {
  display:inline-flex;
  width:auto;
  min-width:0;
  height:auto;
  min-height:32px;
  flex:0 0 auto;
  align-content:initial;
  justify-items:initial;
  justify-content:flex-start;
  gap:6px;
  padding:5px 8px;
  border:1px solid transparent;
  border-radius:6px;
  background:transparent;
  color:var(--text,#201e1d);
  line-height:1.25;
  text-align:left;
  white-space:nowrap;
}
html[data-theme] .ml-creator-form .ml-brief-add-placeholder.tvc-lounge-add-action > span,
html[data-theme] .ml-creator-form .ml-brief-theme-add-placeholder.tvc-lounge-add-action > span {
  color:currentColor;
}

/* Builder Browse media selection: full-viewport peer to Add to Brief. */
.ml-action-dialog:has(.tvc-selection-picker) {
  position:fixed;
  inset:var(--lounge-visual-viewport-top,0px) 0 auto;
  width:100vw;
  height:var(--lounge-sheet-height,100dvh);
  max-width:none;
  max-height:none;
  margin:0;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:0;
}
.ml-action-dialog:has(.tvc-selection-picker)::backdrop { background:rgba(15,14,14,.62); }
.ml-brief-picker-overlay.ml-brief-media-sheet.tvc-selection-picker {
  position:fixed;
  inset:var(--lounge-visual-viewport-top,0px) 0 auto;
  width:100vw;
  height:var(--lounge-sheet-height,100dvh);
  max-height:none;
  margin:0;
  padding:env(safe-area-inset-top) 0 0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:var(--panel,#fff);
  isolation:isolate;
}
.ml-brief-picker-overlay.tvc-selection-picker::before { display:none; }
.ml-brief-picker-overlay.tvc-selection-picker > header {
  min-height:58px;
  padding:9px 18px;
  border-bottom:1px solid var(--border,#e4ded5);
  background:var(--panel,#fff);
}
.ml-brief-picker-overlay.tvc-selection-picker > header strong { font-size:18px; }
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-hint {
  padding:8px 18px 7px;
  font-size:12px;
}
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-tabs {
  gap:7px;
  padding:3px 18px 10px;
}
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-tabs button {
  min-height:38px;
  font-size:12px;
}
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-search {
  padding:0 18px 11px;
}
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-search input {
  min-height:44px;
  padding:0 15px;
  border-radius:999px;
  font-size:16px;
}
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-section-heading {
  padding:0 18px 8px;
}
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-options {
  flex:1 1 0;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  min-height:0;
  overflow-x:hidden;
  overflow-y:auto;
  padding:2px 18px 14px;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-option { gap:5px; }
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-card-art {
  width:100%;
  aspect-ratio:1;
  border-radius:7px;
}
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-check {
  top:8px;
  right:8px;
  width:23px;
  height:23px;
}
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-card-copy { gap:2px; }
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-card-copy strong {
  font-size:12px;
  line-height:1.2;
}
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-card-copy small { font-size:10px; }
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-visual-credit strong {
  color:var(--text,#292521);
  font-size:var(--tvc-visual-attribution-size,16px);
  font-weight:var(--tvc-visual-attribution-weight,750);
  line-height:1.2;
}
.ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-contribute-status { flex:none; }
.ml-brief-picker-overlay.tvc-selection-picker > footer {
  position:relative;
  z-index:2;
  flex:none;
  padding:10px 18px max(12px,env(safe-area-inset-bottom));
  border-top:1px solid var(--border,#e4ded5);
  background:var(--panel,#fff);
}
.ml-brief-picker-overlay.tvc-selection-picker > footer button {
  min-height:50px;
  background:var(--text,#292521);
  color:var(--panel,#fff);
}
.ml-brief-picker-overlay.tvc-selection-picker > footer button:disabled {
  background:var(--panel-2,#2b2926);
  color:var(--text-2,#aaa39b);
  opacity:1;
}
@media (max-width:600px) {
  .ml-brief-picker-overlay.tvc-selection-picker .ml-brief-picker-options { gap:9px; padding-right:18px; padding-left:18px; }
}
