/* BandDesk Lab UI v2 — readability experiment
   Loaded only on lab.banddesk.ru, after CURRENT production CSS.
   Goal: same product, less reading. Strong hierarchy, flat lists, quieter metadata. */

body.bd-ui-v2{
  --bd2-bg:#0b090a;
  --bd2-surface:#121011;
  --bd2-surface-2:#171315;
  --bd2-line:#2b2426;
  --bd2-line-strong:#403136;
  --bd2-text:#f8f3f4;
  --bd2-muted:#958a8e;
  --bd2-soft:#c9bec1;
  --bd2-accent:#d34b6d;
  --bd2-accent-soft:#2b151d;
  --bd2-green:#6bd49a;
  --bd2-red:#ff7d91;
  background:var(--bd2-bg);
}
body.bd-ui-v2 .main-area{background:var(--bd2-bg)}
body.bd-ui-v2 .view{max-width:1120px;margin:0 auto;width:100%}
body.bd-ui-v2 #summary{display:none!important}

/* ---------- top bar: page title is the anchor, everything else recedes ---------- */
body.bd-ui-v2 .topbar{border-bottom-color:rgba(255,255,255,.055);background:rgba(11,9,10,.88);backdrop-filter:blur(18px)}
body.bd-ui-v2 .topbar h1{font-size:21px;line-height:1.05;letter-spacing:-.025em;font-weight:820;margin:0}
body.bd-ui-v2 .section-status{font-size:10px!important;color:#807579!important;max-width:170px}
body.bd-ui-v2 #authChip{background:transparent;border-color:transparent;padding-left:4px;padding-right:4px;color:#b7abad}
body.bd-ui-v2 #hubSwitcherBtn{background:#151214;border-color:#2c2427}
body.bd-ui-v2 #quickAddBtn{box-shadow:none!important}

/* Duplicate page heading below the sticky title adds noise. JS marks it. */
body.bd-ui-v2 .bd2-redundant-heading{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.bd-ui-v2 .section-head:has(.bd2-redundant-heading){min-height:42px;margin-bottom:8px}
body.bd-ui-v2 .section-head:has(.bd2-redundant-heading)>div:first-child:has(.bd2-redundant-heading){display:contents}
body.bd-ui-v2 .section-head.with-filter:has(.bd2-redundant-heading){justify-content:space-between}
body.bd-ui-v2 .section-title-filter:has(.bd2-redundant-heading){gap:7px}

/* ---------- typographic hierarchy ---------- */
body.bd-ui-v2 h2{letter-spacing:-.025em}
body.bd-ui-v2 h3{letter-spacing:-.014em}
body.bd-ui-v2 .muted,body.bd-ui-v2 .meta{color:var(--bd2-muted)!important}
body.bd-ui-v2 .meta{font-size:11px;line-height:1.35;letter-spacing:.005em}
body.bd-ui-v2 .pill{font-size:9px!important;line-height:1!important;padding:5px 7px!important;border-radius:999px!important;text-transform:none!important;letter-spacing:.02em!important;font-weight:750!important;background:#191416!important;border:1px solid #32282b!important;color:#a99da1!important}
body.bd-ui-v2 .primary,body.bd-ui-v2 .secondary,body.bd-ui-v2 .ghost{border-radius:12px;min-height:38px;padding:9px 12px;font-size:12px}
body.bd-ui-v2 .primary{background:#a52a46;box-shadow:none}
body.bd-ui-v2 .ghost,body.bd-ui-v2 .secondary{background:#151214;border-color:#34292d;color:#d9ced1}
body.bd-ui-v2 .personal-filter{padding:2px;border-color:#2c2326;background:#0f0d0e;border-radius:10px}
body.bd-ui-v2 .personal-filter button{padding:6px 10px;font-size:10px;border-radius:8px;color:#8f8387}
body.bd-ui-v2 .personal-filter button.active{background:#25151a;color:#f4dce2}

/* ---------- one visual language for lists: surfaces disappear, rows remain ---------- */
body.bd-ui-v2 .list,body.bd-ui-v2 .tasks-list,body.bd-ui-v2 .bank-ledger,body.bd-ui-v2 .songs-list,body.bd-ui-v2 .setlist-grid{gap:0!important}
body.bd-ui-v2 .event-row,
body.bd-ui-v2 .task-card,
body.bd-ui-v2 .money-card,
body.bd-ui-v2 .bank-tx,
body.bd-ui-v2 .song-accordion,
body.bd-ui-v2 .setlist-card,
body.bd-ui-v2 .archive-card,
body.bd-ui-v2 .roster-card-compact{
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid var(--bd2-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.bd-ui-v2 .event-row:last-child,
body.bd-ui-v2 .task-card:last-child,
body.bd-ui-v2 .money-card:last-child,
body.bd-ui-v2 .bank-tx:last-child,
body.bd-ui-v2 .song-accordion:last-child,
body.bd-ui-v2 .setlist-card:last-child{border-bottom:0!important}
body.bd-ui-v2 .event-row:hover,body.bd-ui-v2 .task-card:hover,body.bd-ui-v2 .money-card:hover,body.bd-ui-v2 .bank-tx:hover,body.bd-ui-v2 .song-accordion:hover{background:rgba(255,255,255,.018)!important;transform:none!important}

/* ---------- Plan / rehearsals: date is visual, labels disappear ---------- */
body.bd-ui-v2 .event-row{grid-template-columns:48px minmax(0,1fr) auto!important;gap:12px!important;padding:13px 2px!important;align-items:center}
body.bd-ui-v2 .date-box{width:44px;min-width:44px;height:47px;padding:5px 3px;border:0!important;border-radius:11px!important;background:#181416!important;display:grid!important;place-content:center;text-align:center}
body.bd-ui-v2 .date-box strong{font-size:20px!important;line-height:.95;font-weight:850}
body.bd-ui-v2 .date-box small{font-size:9px!important;color:#96888d!important;text-transform:uppercase;letter-spacing:.05em}
body.bd-ui-v2 .event-title{font-size:14px!important;font-weight:790!important;line-height:1.22;margin-bottom:4px}
body.bd-ui-v2 .event-row .actions{gap:4px!important}
body.bd-ui-v2 .event-row .route-btn{width:32px;height:32px;padding:0!important;display:grid;place-items:center;border:0!important;background:transparent!important;color:#a8959b}
body.bd-ui-v2 .event-row .route-btn .route-label,body.bd-ui-v2 .event-row .route-btn .setlist-label{display:none!important}
body.bd-ui-v2.rehearsals-v2 .event-row .pill{display:none!important}
body.bd-ui-v2 .filter-banner{padding:0 0 7px!important;border:0!important;background:transparent!important}
body.bd-ui-v2 .rehearsal-challenge{box-shadow:none!important}
body.bd-ui-v2 .type-grid{gap:8px!important}
body.bd-ui-v2 .type-card{min-height:76px!important;padding:11px!important;border-radius:14px!important;background:#121011!important;border-color:#2b2426!important}
body.bd-ui-v2 .type-card .round{width:34px!important;height:34px!important}
body.bd-ui-v2 .type-card strong{font-size:12px!important}
body.bd-ui-v2 .type-card small{font-size:10px!important;color:#8e8286!important}

/* ---------- Tasks: summary first. Stage detail opens only when asked ---------- */
body.bd-ui-v2 .task-card{padding:0!important}
body.bd-ui-v2 .task-main{padding:13px 2px!important;grid-template-columns:24px minmax(0,1fr) auto auto!important;gap:10px!important}
body.bd-ui-v2 .task-check{width:20px!important;height:20px!important;border-radius:6px!important}
body.bd-ui-v2 .task-title{font-size:14px;font-weight:790;line-height:1.25;margin-bottom:4px}
body.bd-ui-v2 .task-progress-label{display:none!important}
body.bd-ui-v2 .task-main .avatar-stack .avatar{width:25px!important;height:25px!important;font-size:9px!important}
body.bd-ui-v2 .task-stages,body.bd-ui-v2 .task-stage-add{display:none!important}
body.bd-ui-v2 .task-card.bd2-expanded .task-stages{display:block!important;margin:0 0 0 34px!important;padding:0!important;border-top:0!important}
body.bd-ui-v2 .task-card.bd2-expanded .task-stage-add{display:flex!important;margin:7px 0 10px 34px!important}
body.bd-ui-v2 .task-stage-row{grid-template-columns:22px minmax(0,1fr) auto 34px!important;gap:8px!important;padding:9px 0!important;border-bottom:1px solid #241e20!important}
body.bd-ui-v2 .task-stage-row>strong{font-size:12px;font-weight:650}
body.bd-ui-v2 .task-stage-row>.muted,body.bd-ui-v2 .task-stage-row>.paid{font-size:9px!important;font-weight:650}
body.bd-ui-v2 .bd2-detail-toggle{border:0;background:transparent;color:#b98b97;padding:4px 0;font-size:10px;font-weight:750;display:inline-flex;align-items:center;gap:5px;cursor:pointer}
body.bd-ui-v2 .task-main .bd2-detail-toggle{margin-top:5px}
body.bd-ui-v2 .bd2-detail-toggle svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
body.bd-ui-v2 .bd2-detail-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}

/* ---------- Releases: image becomes thumbnail; pipeline does not dominate page ---------- */
body.bd-ui-v2 .release-card{border:1px solid var(--bd2-line)!important;border-radius:16px!important;background:var(--bd2-surface)!important;overflow:hidden!important;margin-bottom:12px;box-shadow:none!important}
body.bd-ui-v2 .release-hero{min-height:0!important;padding:13px!important;grid-template-columns:minmax(0,1fr) 56px!important;gap:12px!important;border-radius:0!important;background:linear-gradient(135deg,#1e1418,#121011)!important}
body.bd-ui-v2 .release-cover{width:56px!important;height:56px!important;border-radius:12px!important;border-color:#33282c!important}
body.bd-ui-v2 .release-hero h3{font-size:17px!important;line-height:1.12!important;margin:3px 0 4px!important}
body.bd-ui-v2 .release-top .muted{font-size:10px!important}
body.bd-ui-v2 .release-top>div>div:last-child{font-size:10px;color:#b69ca3}
body.bd-ui-v2 .release-body{padding:10px 13px 12px!important}
body.bd-ui-v2 .release-body>.progress{height:4px!important;margin:0 0 7px!important;background:#272124!important}
body.bd-ui-v2 .release-body>.muted{font-size:10px!important;margin-bottom:0!important}
body.bd-ui-v2 .release-card .check-row,body.bd-ui-v2 .release-card .release-stage-add{display:none!important}
body.bd-ui-v2 .release-card.bd2-expanded .check-row{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto 34px!important;padding:9px 0!important;gap:8px!important;border-bottom-color:#272124!important}
body.bd-ui-v2 .release-card.bd2-expanded .release-stage-add{display:flex!important;margin-top:8px!important}
body.bd-ui-v2 .release-card .check-row>strong{font-size:12px;font-weight:650}
body.bd-ui-v2 .release-card .check-row>.muted,body.bd-ui-v2 .release-card .check-row>.paid{font-size:9px!important}
body.bd-ui-v2 .release-card>.release-body>.bd2-detail-toggle{margin-top:7px}

/* ---------- Money: number first, card chrome second ---------- */
body.bd-ui-v2 .bank-wrap{margin-bottom:18px}
body.bd-ui-v2 .bank-wrap>.section-head{display:none!important}
body.bd-ui-v2 .bank-card{background:#121011!important;border:1px solid #2d2528!important;border-radius:16px!important;box-shadow:none!important;padding:15px!important}
body.bd-ui-v2 .bank-card[data-open-bank-page]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:3px 12px}
body.bd-ui-v2 .bank-card[data-open-bank-page]>.muted{grid-column:1/-1;font-size:9px!important;text-transform:uppercase;letter-spacing:.08em;color:#7e7377!important}
body.bd-ui-v2 .bank-card[data-open-bank-page]>strong{font-size:28px!important;letter-spacing:-.035em;line-height:1;font-weight:850}
body.bd-ui-v2 .bank-card[data-open-bank-page]>.meta{margin:0!important;font-size:0!important}
body.bd-ui-v2 .bank-card[data-open-bank-page]>.meta .ui-icon{display:inline-flex!important;width:18px;height:18px;color:#a58f96}
body.bd-ui-v2 .money-grid{grid-template-columns:1fr!important;gap:0!important}
body.bd-ui-v2 .money-card{padding:12px 2px!important}
body.bd-ui-v2 .money-card h3{font-size:14px!important;margin:5px 0 3px!important}
body.bd-ui-v2 .money-card .progress{height:4px!important;margin:10px 0!important}
body.bd-ui-v2 .money-card footer{font-size:10px!important}
body.bd-ui-v2 .bank-balance-large{padding:15px!important}
body.bd-ui-v2 .bank-balance-large>.muted{font-size:9px!important;text-transform:uppercase;letter-spacing:.08em}
body.bd-ui-v2 .bank-balance-large strong{font-size:30px!important;letter-spacing:-.035em;margin-top:3px!important}
body.bd-ui-v2 .bank-tx{grid-template-columns:72px minmax(0,1fr) auto auto!important;gap:10px!important;padding:12px 2px!important}
body.bd-ui-v2 .bank-tx-date{font-size:10px!important;color:#7f7478!important}
body.bd-ui-v2 .bank-tx-desc strong{font-size:12px;font-weight:700}
body.bd-ui-v2 .bank-tx-amount{font-size:13px!important;font-weight:800!important}

/* ---------- Songs + setlists: library feeling, not card wall ---------- */
body.bd-ui-v2 .songs-panel{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.bd-ui-v2 .search-box{background:#121011!important;border-color:#2c2427!important;border-radius:12px!important;padding:11px 12px!important;font-size:12px!important}
body.bd-ui-v2 .song-line{padding:13px 2px!important;min-height:48px}
body.bd-ui-v2 .song-title-left{gap:9px!important;font-size:13px;font-weight:730}
body.bd-ui-v2 .song-title-left>.ui-icon,body.bd-ui-v2 .song-title-left>span:first-child{color:#8f6d77}
body.bd-ui-v2 .song-chevron{color:#6f6568}
body.bd-ui-v2 .setlist-card{padding:0!important}
body.bd-ui-v2 .setlist-card-main{padding:13px 2px!important}
body.bd-ui-v2 .setlist-card-main strong{font-size:13px}
body.bd-ui-v2 .setlist-song-row{padding:10px 0!important}
body.bd-ui-v2 .setlist-song-num{color:#7d7276!important;font-size:10px!important}

/* ---------- Home: dashboard is readable in a 2-second glance ---------- */
body.bd-ui-v2 .hub-dashboard{gap:18px!important;padding-top:7px!important}
body.bd-ui-v2 .early-version-card{padding:9px 11px!important;min-height:0!important;border-style:dashed!important;border-color:#2e2528!important;background:transparent!important}
body.bd-ui-v2 .early-version-icon{width:26px!important;height:26px!important;border-radius:8px!important}
body.bd-ui-v2 .early-version-copy strong{font-size:11px!important}.bd-ui-v2 .early-version-copy small{display:none!important}
body.bd-ui-v2 .hub-section{border:0!important;background:transparent!important;padding:0!important;border-radius:0!important;box-shadow:none!important}
body.bd-ui-v2 .hub-section-head{margin-bottom:7px!important}.bd-ui-v2 .hub-section-head h3{font-size:11px!important;text-transform:uppercase;letter-spacing:.09em;color:#84787c;margin:0!important}
body.bd-ui-v2 .hub-link{font-size:10px!important;color:#9e858c!important}
body.bd-ui-v2 .hub-next-card{padding:16px!important;border-radius:17px!important;border-color:#412b31!important;background:radial-gradient(circle at 90% 0%,rgba(165,42,70,.17),transparent 36%),#141012!important;box-shadow:none!important}
body.bd-ui-v2 .hub-next-type{font-size:9px!important;letter-spacing:.07em;color:#aa8e96!important;text-transform:uppercase}
body.bd-ui-v2 .hub-next h3{font-size:20px!important;margin:5px 0 5px!important}
body.bd-ui-v2 .hub-next-time{font-size:12px!important;color:#e6dce0!important}.bd-ui-v2 .hub-next-place{font-size:10px!important;color:#94878b!important;margin-top:7px!important}
body.bd-ui-v2 .hub-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1px!important;border:1px solid var(--bd2-line)!important;border-radius:15px!important;overflow:hidden;background:var(--bd2-line)!important}
body.bd-ui-v2 .hub-metric{border:0!important;border-radius:0!important;background:#121011!important;min-height:74px!important;padding:11px!important;display:flex!important;flex-direction:column-reverse!important;justify-content:center!important;align-items:flex-start!important;gap:4px!important;text-align:left!important}
body.bd-ui-v2 .hub-metric strong{font-size:21px!important;line-height:1!important;letter-spacing:-.03em}.bd-ui-v2 .hub-metric small{font-size:9px!important;line-height:1.2;color:#83787b!important}.bd-ui-v2 .hub-metric.warn strong{color:#e7a2b2!important}
body.bd-ui-v2 .hub-list,body.bd-ui-v2 .hub-week{border-top:1px solid var(--bd2-line)!important}
body.bd-ui-v2 .hub-item,body.bd-ui-v2 .hub-week-row{border:0!important;border-bottom:1px solid var(--bd2-line)!important;border-radius:0!important;background:transparent!important;min-height:52px!important;padding:10px 2px!important}
body.bd-ui-v2 .hub-item-icon{width:30px!important;height:30px!important;border-radius:9px!important;background:#181316!important;color:#aa7483!important}.bd-ui-v2 .hub-item-title{font-size:12px!important}.bd-ui-v2 .hub-item-meta{font-size:10px!important;color:#81777a!important}.bd-ui-v2 .hub-item-side{font-size:9px!important}
body.bd-ui-v2 .hub-week-row{grid-template-columns:32px 7px minmax(0,1fr) auto!important;gap:7px!important}.bd-ui-v2 .hub-week-day{font-size:9px!important;color:#7d7376!important}.bd-ui-v2 .hub-week-title{font-size:11px!important}.bd-ui-v2 .hub-week-date{font-size:9px!important;color:#7d7376!important}

/* ---------- Hub / support / secondary pages: less nested card chrome ---------- */
body.bd-ui-v2 .hub-center-screen,body.bd-ui-v2 .support-page,body.bd-ui-v2 .roster-page,body.bd-ui-v2 .stats-page{gap:14px!important}
body.bd-ui-v2 .hub-center-head h2,body.bd-ui-v2 .support-head h2{font-size:24px!important;letter-spacing:-.025em!important}
body.bd-ui-v2 .hub-center-head p,body.bd-ui-v2 .support-head p{font-size:12px!important;color:#887d81!important}
body.bd-ui-v2 .hub-center-hero-card,body.bd-ui-v2 .hub-action-card,body.bd-ui-v2 .hub-settings-card,body.bd-ui-v2 .support-help-card,body.bd-ui-v2 .support-list-section,body.bd-ui-v2 .roster-section,body.bd-ui-v2 .stats-section{box-shadow:none!important;border-color:var(--bd2-line)!important;background:#121011!important;border-radius:16px!important}
body.bd-ui-v2 .hub-action-card{min-height:0!important;padding:13px!important;gap:5px!important}.bd-ui-v2 .hub-action-desc{font-size:11px!important;color:#8f8387!important}.bd-ui-v2 .hub-action-meta{min-height:0!important;padding:5px 7px!important;font-size:9px!important}.bd-ui-v2 .hub-action-cta{padding:10px!important;border-radius:11px!important;font-size:11px!important;box-shadow:none!important}
body.bd-ui-v2 .hub-center-mini-card{min-height:82px!important;padding:11px!important;border-radius:13px!important;background:#0f0d0e!important}.bd-ui-v2 .hub-center-mini-icon{display:none!important}.bd-ui-v2 .hub-center-mini-label{font-size:9px!important}.bd-ui-v2 .hub-center-mini-value{font-size:19px!important}
body.bd-ui-v2 .hub-settings-row{padding:11px 13px!important;grid-template-columns:34px minmax(0,1fr) auto!important;gap:9px!important}.bd-ui-v2 .hub-settings-row-icon{width:30px!important;height:30px!important;border-radius:9px!important}.bd-ui-v2 .hub-settings-row-copy strong{font-size:12px!important}.bd-ui-v2 .hub-settings-row-copy span,.bd-ui-v2 .hub-settings-row-copy small{font-size:10px!important;color:#897d81!important}

/* ---------- Mobile ---------- */
@media(max-width:900px){
  body.bd-ui-v2 .main-area{padding-left:14px!important;padding-right:14px!important}
  body.bd-ui-v2 .view{padding-top:9px!important}
  body.bd-ui-v2 .topbar{min-height:62px!important;padding-top:8px!important;padding-bottom:8px!important}
  body.bd-ui-v2 .topbar h1{font-size:18px!important}
  body.bd-ui-v2 .section-head{margin:0 0 7px!important;min-height:40px}
  body.bd-ui-v2 .section-head .primary,body.bd-ui-v2 .plan-controls>.primary{font-size:0!important;width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;display:grid!important;place-items:center!important}
  body.bd-ui-v2 .section-head .primary .ui-icon,body.bd-ui-v2 .plan-controls>.primary .ui-icon{width:18px!important;height:18px!important}
  body.bd-ui-v2 .plan-toolbar{gap:8px!important;margin-bottom:10px!important}
  body.bd-ui-v2 .plan-controls{gap:6px!important}
  body.bd-ui-v2 .view-toggle button,body.bd-ui-v2 .plan-today,body.bd-ui-v2 .plan-type-select{font-size:10px!important;min-height:34px!important;padding-top:7px!important;padding-bottom:7px!important}
  body.bd-ui-v2 .event-row{grid-template-columns:44px minmax(0,1fr) auto!important;padding:12px 1px!important;gap:10px!important}
  body.bd-ui-v2 .event-row .actions>.pill{display:none}
  body.bd-ui-v2 .event-row .actions .route-btn{width:30px;height:30px}
  body.bd-ui-v2 .task-main{grid-template-columns:22px minmax(0,1fr) auto!important}
  body.bd-ui-v2 .task-main>.avatar-stack{display:none!important}
  body.bd-ui-v2 .task-main>.menu-wrap{grid-column:3;grid-row:1}
  body.bd-ui-v2 .release-hero{grid-template-columns:minmax(0,1fr) 52px!important}.bd-ui-v2 .release-cover{width:52px!important;height:52px!important}
  body.bd-ui-v2 .bank-tx{grid-template-columns:56px minmax(0,1fr) auto!important;gap:8px!important}.bd-ui-v2 .bank-tx .menu-wrap{display:none!important}
  body.bd-ui-v2 .hub-center-actions-grid{gap:8px!important}
}
@media(max-width:430px){
  body.bd-ui-v2 .main-area{padding-left:11px!important;padding-right:11px!important}
  body.bd-ui-v2 .hub-metric{min-height:68px!important;padding:9px!important}.bd-ui-v2 .hub-metric strong{font-size:18px!important}.bd-ui-v2 .hub-metric small{font-size:8px!important}
  body.bd-ui-v2 .hub-center-actions-grid{grid-template-columns:1fr 1fr!important}
}

/* ===== v0.0.7 compact pass — user review 2026-10-04 =====
   Principle: preview = only the information needed to decide what to open.
   Details stay inside the object. Rows on one page keep one stable rhythm. */
body.bd-ui-v2-compact .view{padding-top:6px!important}
body.bd-ui-v2-compact #sectionStatus,
body.bd-ui-v2-compact .page-section-status{display:none!important;visibility:hidden!important;min-height:0!important;margin:0!important;padding:0!important}
body.bd-ui-v2-compact .section-head{min-height:0!important;margin-bottom:8px!important}
body.bd-ui-v2-compact .section-head.bd2-empty-head{display:none!important}
body.bd-ui-v2-compact .section-head:has(.bd2-redundant-heading){min-height:0!important;margin-bottom:7px!important}
body.bd-ui-v2-compact .page-stack{gap:10px!important}

/* Calendar / plan: all controls are compact controls, not full-width sections. */
body.bd-ui-v2-compact .plan-toolbar{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;margin:0 0 8px!important}
body.bd-ui-v2-compact .plan-title-filter{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important}
body.bd-ui-v2-compact .plan-controls{display:flex!important;align-items:center!important;gap:6px!important;flex:1 1 auto!important;flex-wrap:wrap!important;width:auto!important}
body.bd-ui-v2-compact .personal-filter{height:36px!important;padding:2px!important;border-radius:11px!important}
body.bd-ui-v2-compact .personal-filter button{padding:5px 10px!important;font-size:10px!important}
body.bd-ui-v2-compact .plan-type-select{width:auto!important;max-width:132px!important;min-width:112px!important;flex:0 1 132px!important;padding:7px 28px 7px 10px!important;font-size:10px!important;height:36px!important;border-radius:11px!important}
body.bd-ui-v2-compact .plan-today{height:36px!important;min-height:36px!important;padding:6px 10px!important;font-size:10px!important;flex:0 0 auto!important}
body.bd-ui-v2-compact .view-toggle{width:auto!important;display:flex!important;grid-template-columns:none!important;gap:2px!important;padding:2px!important;border-radius:11px!important;flex:0 0 auto!important}
body.bd-ui-v2-compact .view-toggle button{padding:6px 10px!important;font-size:10px!important;min-width:62px!important}
body.bd-ui-v2-compact .calendar-panel{padding:12px!important;border-radius:15px!important}
body.bd-ui-v2-compact .calendar-head{margin-bottom:10px!important}
body.bd-ui-v2-compact .calendar-head .inline-actions{grid-template-columns:38px minmax(0,1fr) 38px!important;gap:7px!important}
body.bd-ui-v2-compact .calendar-head .inline-actions .ghost{width:38px!important;height:38px!important;min-height:38px!important}
body.bd-ui-v2-compact .calendar-head h3{font-size:15px!important}
body.bd-ui-v2-compact .week-strip{gap:5px!important}
body.bd-ui-v2-compact .week-square{min-height:62px!important;padding:7px 4px!important;border-radius:11px!important}
body.bd-ui-v2-compact .week-square strong{font-size:19px!important}
body.bd-ui-v2-compact .day-events{margin-top:10px!important}
body.bd-ui-v2-compact .schedule-split{gap:12px!important}

/* Event/rehearsal rows: date + essential data + actions all live on one line. */
body.bd-ui-v2-compact .event-row{grid-template-columns:64px minmax(0,1fr) auto!important;grid-template-areas:"date main actions"!important;gap:10px!important;padding:9px 2px!important;min-height:72px!important;align-items:center!important}
body.bd-ui-v2-compact .event-row>.date-box{grid-area:date!important;width:58px!important;min-width:58px!important;height:58px!important}
body.bd-ui-v2-compact .event-row>div:nth-child(2){grid-area:main!important;align-self:center!important}
body.bd-ui-v2-compact .event-row>.actions{grid-area:actions!important;align-self:center!important;justify-content:flex-end!important;width:auto!important;gap:3px!important;flex-wrap:nowrap!important}
body.bd-ui-v2-compact .event-title{margin-bottom:3px!important}
body.bd-ui-v2-compact .event-row .route-btn{width:30px!important;height:30px!important;min-height:30px!important;padding:0!important}
body.bd-ui-v2-compact .event-row .menu-trigger{width:30px!important;height:30px!important;min-height:30px!important}
body.bd-ui-v2-compact[data-bd2-tab="schedule"] .event-row .pill,
body.bd-ui-v2-compact[data-bd2-tab="rehearsals"] .event-row .pill{display:none!important}
body.bd-ui-v2-compact .filter-banner{display:none!important}

/* Money collections: preview = amount, title, progress. Everything else is detail. */
body.bd-ui-v2-compact .money-grid{gap:0!important}
body.bd-ui-v2-compact .money-card{min-height:88px!important;padding:10px 2px!important;display:block!important}
body.bd-ui-v2-compact .money-card .meta,
body.bd-ui-v2-compact .money-card footer{display:none!important}
body.bd-ui-v2-compact .money-card-header{min-height:24px!important;align-items:center!important}
body.bd-ui-v2-compact .money-top{align-items:center!important;gap:8px!important}
body.bd-ui-v2-compact .money-top>strong{font-size:15px!important;line-height:1.1!important;white-space:nowrap!important}
body.bd-ui-v2-compact .money-card h3{font-size:14px!important;margin:5px 0 6px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.bd-ui-v2-compact .money-card .progress{height:4px!important;margin:0!important}

/* Tasks: stages sit in the same metadata line; closed tasks keep identical row height. */
body.bd-ui-v2-compact .task-main{min-height:70px!important;padding:10px 2px!important;grid-template-columns:24px minmax(0,1fr) auto auto!important;gap:9px!important}
body.bd-ui-v2-compact .task-title{margin-bottom:4px!important}
body.bd-ui-v2-compact .task-main .meta{display:flex!important;align-items:center!important;gap:0!important;flex-wrap:wrap!important;min-height:17px!important}
body.bd-ui-v2-compact .bd2-inline-stage-toggle{display:inline-flex!important;margin:0!important;padding:0!important;font:inherit!important;font-size:inherit!important;line-height:inherit!important;vertical-align:baseline!important;color:#a97e89!important}
body.bd-ui-v2-compact .bd2-inline-stage-toggle svg{width:11px!important;height:11px!important;margin-left:2px!important}
body.bd-ui-v2-compact .task-card.bd2-expanded .task-stages{margin-left:33px!important}
body.bd-ui-v2-compact .task-card.bd2-expanded .task-stage-add{margin-left:33px!important}

/* Songs and setlists keep the successful library rhythm and start immediately. */
body.bd-ui-v2-compact .songs-panel{margin-top:0!important}
body.bd-ui-v2-compact .songs-panel>.search-box{margin-top:0!important}
body.bd-ui-v2-compact .song-line{min-height:51px!important;padding:12px 2px!important}
body.bd-ui-v2-compact .setlist-grid{margin-top:0!important;gap:0!important}
body.bd-ui-v2-compact .setlist-grid>.ux-empty{margin-top:0!important}
body.bd-ui-v2-compact .ux-empty{min-height:0!important;padding:24px 16px!important}

/* Hub Center: section cards become one uniform list. */
body.bd-ui-v2-compact .hub-center-screen{gap:10px!important}
body.bd-ui-v2-compact .hub-center-head{margin:0!important}
body.bd-ui-v2-compact .hub-center-head h2{font-size:26px!important;margin:0 0 3px!important}
body.bd-ui-v2-compact .hub-center-head p{display:none!important}
body.bd-ui-v2-compact .hub-center-hero-card{padding:12px!important;border-radius:14px!important}
body.bd-ui-v2-compact .hub-center-cover{width:50px!important;height:50px!important;border-radius:13px!important}
body.bd-ui-v2-compact .hub-center-hero-copy strong{font-size:18px!important}
body.bd-ui-v2-compact .hub-center-hero-copy span{font-size:11px!important}
body.bd-ui-v2-compact .hub-center-section-title{margin:4px 0 2px!important;font-size:12px!important;color:#8c8084!important;text-transform:uppercase!important;letter-spacing:.08em!important}
body.bd-ui-v2-compact .hub-center-actions-grid{display:block!important;border-top:1px solid var(--bd2-line)!important}
body.bd-ui-v2-compact .hub-action-card{position:relative!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) 24px!important;grid-template-rows:1fr!important;align-items:center!important;gap:10px!important;min-height:64px!important;padding:9px 2px!important;border:0!important;border-bottom:1px solid var(--bd2-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.bd-ui-v2-compact .hub-action-icon{grid-column:1!important;width:38px!important;height:38px!important;border-radius:11px!important;margin:0!important}
body.bd-ui-v2-compact .hub-action-title{grid-column:2!important;font-size:14px!important;font-weight:760!important;margin:0!important}
body.bd-ui-v2-compact .hub-action-desc,
body.bd-ui-v2-compact .hub-action-meta{display:none!important}
body.bd-ui-v2-compact .hub-action-cta{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:transparent!important;box-shadow:none!important;text-align:right!important}
body.bd-ui-v2-compact .hub-action-cta span{position:absolute!important;right:5px!important;top:50%!important;transform:translateY(-50%)!important;color:#8f8588!important;font-size:24px!important}

/* Tariff: purchase variants are rows, not a two-column card wall. */
body.bd-ui-v2-compact .plan-page-v90{gap:8px!important}
body.bd-ui-v2-compact .plan-status-card{padding:12px!important;border-radius:14px!important;gap:10px!important}
body.bd-ui-v2-compact .plan-status-icon{width:40px!important;height:40px!important;border-radius:12px!important;font-size:21px!important}
body.bd-ui-v2-compact .plan-status-title>strong{font-size:20px!important}
body.bd-ui-v2-compact .plan-status-copy p{display:none!important}
body.bd-ui-v2-compact .plan-price-section{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;gap:6px!important}
body.bd-ui-v2-compact .plan-price-grid{display:block!important;border-top:1px solid var(--bd2-line)!important}
body.bd-ui-v2-compact .plan-price-card,
body.bd-ui-v2-compact .plan-price-card.featured{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:2px 12px!important;align-items:center!important;min-height:72px!important;padding:9px 2px!important;border:0!important;border-bottom:1px solid var(--bd2-line)!important;border-radius:0!important;background:transparent!important}
body.bd-ui-v2-compact .plan-price-card>span{grid-column:1!important;font-size:10px!important}
body.bd-ui-v2-compact .plan-price-card>strong{grid-column:1!important;font-size:17px!important}
body.bd-ui-v2-compact .plan-price-card>p{display:none!important}
body.bd-ui-v2-compact .plan-price-card>button{grid-column:2!important;grid-row:1/3!important;width:auto!important;min-width:126px!important;margin:0!important;padding:9px 10px!important;font-size:10px!important}
body.bd-ui-v2-compact .plan-price-section>.muted{display:none!important}
body.bd-ui-v2-compact .plan-section{padding:10px 0!important;border-left:0!important;border-right:0!important;border-radius:0!important;background:transparent!important}
body.bd-ui-v2-compact .plan-usage-row{padding:9px 2px!important;border-bottom:1px solid var(--bd2-line)!important}

/* More: lower-nav configuration now lives inside Hub Center > Settings. */
body.bd-ui-v2-compact .more-nav-settings{display:none!important}

@media(max-width:560px){
  body.bd-ui-v2-compact .view{padding-top:4px!important}
  body.bd-ui-v2-compact .plan-toolbar{gap:5px!important}
  body.bd-ui-v2-compact .plan-title-filter{width:auto!important}
  body.bd-ui-v2-compact .plan-controls{width:auto!important;display:flex!important;grid-template-columns:none!important;gap:5px!important}
  body.bd-ui-v2-compact .plan-type-select{grid-column:auto!important;width:116px!important;max-width:116px!important;min-width:0!important}
  body.bd-ui-v2-compact .plan-today{grid-column:auto!important}
  body.bd-ui-v2-compact .view-toggle{grid-column:auto!important;width:auto!important}
  body.bd-ui-v2-compact .view-toggle button{min-width:55px!important;padding:6px 8px!important}
  body.bd-ui-v2-compact .event-row{grid-template-columns:58px minmax(0,1fr) auto!important;grid-template-areas:"date main actions"!important;gap:8px!important;padding:8px 2px!important}
  body.bd-ui-v2-compact .event-row>.actions{width:auto!important;justify-content:flex-end!important}
  body.bd-ui-v2-compact .plan-price-card>button{min-width:108px!important}
}

/* ===== v0.0.7 consistency pass — user review 2026-10-04 ===== */
/* Personal filters: disable the production sliding indicator in Lab. It was
   painting a bright layer under the compact buttons and escaping the frame. */
body.bd-ui-v2.enhanced-motion .personal-filter::before,
body.bd-ui-v2.enhanced-motion .view-toggle::before{display:none!important}
body.bd-ui-v2 .personal-filter,
body.bd-ui-v2 .view-toggle{overflow:hidden!important;isolation:isolate!important}
body.bd-ui-v2 .personal-filter button.active,
body.bd-ui-v2 .view-toggle button.active{background:#2b171d!important;color:#f8e8ec!important;box-shadow:none!important}

/* Calendar toolbar: one compact control row on phones. The M/H labels are
   supplied by lab-ui-v2.js while aria-label keeps the full wording. */
@media(max-width:560px){
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .plan-toolbar{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:5px!important;
    width:100%!important;
    margin-bottom:8px!important;
  }
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .plan-title-filter{display:contents!important}
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .plan-title-filter>h2{display:none!important}
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .personal-filter{grid-column:1!important;width:78px!important;height:34px!important}
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .personal-filter button{width:37px!important;padding:4px 2px!important}
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .plan-controls{
    grid-column:2!important;
    display:grid!important;
    grid-template-columns:minmax(78px,1fr) 58px 58px!important;
    gap:5px!important;
    min-width:0!important;
    width:100%!important;
  }
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .plan-type-select{width:100%!important;min-width:0!important;max-width:none!important;height:34px!important;padding:6px 22px 6px 8px!important}
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .plan-today{width:58px!important;height:34px!important;min-height:34px!important;padding:4px!important}
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .view-toggle{width:58px!important;height:34px!important;padding:2px!important;gap:2px!important}
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .view-toggle button{width:26px!important;min-width:26px!important;height:28px!important;padding:0!important;font-size:10px!important}
  /* Global top + already creates an event, so don't spend a fifth slot here. */
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .plan-controls>[data-new-event]{display:none!important}
}

/* Bank ledger: amount is a stable right-hand value, vertically centred. */
body.bd-ui-v2-compact .bank-tx{align-items:center!important}
body.bd-ui-v2-compact .bank-tx-date{align-self:center!important;line-height:1.15!important}
body.bd-ui-v2-compact .bank-tx-desc{align-self:center!important}
body.bd-ui-v2-compact .bank-tx-amount{align-self:center!important;justify-self:end!important;margin:0!important;white-space:nowrap!important}
@media(max-width:560px){
  body.bd-ui-v2-compact .bank-tx{grid-template-columns:58px minmax(0,1fr) auto!important;min-height:66px!important;padding:9px 2px!important}
  body.bd-ui-v2-compact .bank-tx-amount{grid-column:3!important;grid-row:1!important}
}

/* Tasks: every collapsed row on the page has exactly the same rhythm. */
body.bd-ui-v2-compact .task-card:not(.bd2-expanded) .task-main{height:76px!important;min-height:76px!important;max-height:76px!important;align-items:center!important;padding:8px 2px!important}
body.bd-ui-v2-compact .task-main>div:nth-child(2){align-self:center!important;min-width:0!important}
body.bd-ui-v2-compact .task-title{margin:0 0 4px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body.bd-ui-v2-compact .task-main .meta{min-height:15px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;flex-wrap:nowrap!important}
body.bd-ui-v2-compact .bd2-inline-stage-toggle{flex:none!important;white-space:nowrap!important}


/* Home: same rule as other screens — preview shows only decision data. */
body.bd-ui-v2-compact[data-bd2-tab="home"] .early-version-card{display:none!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-dashboard{gap:12px!important;padding-top:0!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-section{margin:0!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-section-head{margin:0 0 7px!important;min-height:22px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-next-card{
  min-height:84px!important;padding:12px 44px 12px 14px!important;border-radius:15px!important;
  background:linear-gradient(135deg,#171113,#130f10)!important;box-shadow:none!important
}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-next-type{font-size:9px!important;padding:4px 7px!important;margin-bottom:6px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-next-card h3{font-size:18px!important;line-height:1.12!important;margin:0 0 4px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-next-time{font-size:11px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-next-place{display:none!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-metrics{min-height:62px!important;border-radius:14px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-metric{min-height:62px!important;padding:9px 10px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-metric strong{font-size:21px!important;line-height:1!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-metric small{font-size:9px!important;line-height:1.15!important;margin-top:4px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-list,
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-week{border-top:1px solid var(--bd2-line)!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-item,
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-week-row{
  min-height:54px!important;padding:8px 2px!important;border:0!important;border-bottom:1px solid var(--bd2-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important
}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-item-icon{width:34px!important;height:34px!important;border-radius:10px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-item-title{font-size:12px!important;font-weight:760!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-item-meta,
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-week-date{font-size:9px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-item-side{font-size:9px!important;white-space:nowrap!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-week-title{font-size:11px!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

/* ===== v0.0.8 interaction + density pass — user review 2026-10-04 ===== */
/* Collection details: one compact line per person. Avatar, identity/status,
   amount and confirm action stay on the same row on mobile. */
body.bd-ui-v2 #modal.bd2-collection-detail .people-list{gap:8px!important}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row{
  grid-template-columns:42px minmax(0,1fr) auto 42px!important;
  min-height:68px!important;
  padding:9px 10px!important;
  gap:9px!important;
  align-items:center!important;
  border-radius:14px!important;
}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>.avatar{width:42px!important;height:42px!important;min-width:42px!important}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>div:nth-child(2){
  display:flex!important;align-items:baseline!important;gap:7px!important;min-width:0!important;flex-wrap:nowrap!important;
}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>div:nth-child(2)>strong{font-size:15px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.bd-ui-v2 #modal.bd2-collection-detail .payment-status{font-size:10px!important;line-height:1!important;white-space:nowrap!important;margin:0!important}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>strong{font-size:15px!important;line-height:1!important;white-space:nowrap!important;justify-self:end!important}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>.icon-btn,
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>.pay-claim{grid-column:4!important;grid-row:1!important;justify-self:end!important;margin:0!important}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>.icon-btn{width:38px!important;height:38px!important;min-height:38px!important}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>.pay-claim{font-size:9px!important;padding:7px 8px!important;min-height:34px!important;white-space:nowrap!important}
@media(max-width:430px){
  body.bd-ui-v2 #modal.bd2-collection-detail .people-row{grid-template-columns:38px minmax(0,1fr) auto 38px!important;padding:8px!important;gap:7px!important;min-height:62px!important}
  body.bd-ui-v2 #modal.bd2-collection-detail .people-row>.avatar{width:38px!important;height:38px!important;min-width:38px!important}
  body.bd-ui-v2 #modal.bd2-collection-detail .people-row>div:nth-child(2)>strong{font-size:14px!important}
  body.bd-ui-v2 #modal.bd2-collection-detail .people-row>strong{font-size:14px!important}
  body.bd-ui-v2 #modal.bd2-collection-detail .people-row>*:last-child{grid-column:4!important;grid-row:1!important;justify-self:end!important}
}

/* Tasks: every collapsed task is exactly one row, including tasks with stages.
   Stage expansion state survives re-render; even a task with zero stages exposes
   the same compact 'Этапы 0' control and can add its first stage. */
body.bd-ui-v2-compact .task-card:not(.bd2-expanded){height:82px!important;min-height:82px!important;max-height:82px!important;box-sizing:border-box!important;overflow:visible!important}
body.bd-ui-v2-compact .task-card:not(.bd2-expanded) .task-main{height:81px!important;min-height:81px!important;max-height:81px!important;box-sizing:border-box!important;padding:9px 2px!important;align-items:center!important}
body.bd-ui-v2-compact .task-main>div:nth-child(2){display:grid!important;grid-template-rows:auto auto!important;align-content:center!important;gap:4px!important;min-width:0!important}
body.bd-ui-v2-compact .task-title{font-size:15px!important;line-height:1.18!important;margin:0!important;font-weight:780!important}
body.bd-ui-v2-compact .task-main .meta{display:flex!important;align-items:center!important;gap:0!important;min-width:0!important;min-height:15px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;flex-wrap:nowrap!important;font-size:11px!important}
body.bd-ui-v2-compact .bd2-inline-stage-toggle{display:inline-flex!important;align-items:center!important;flex:none!important;margin:0!important;padding:0!important;font-size:10px!important;line-height:1!important;white-space:nowrap!important;color:#b68793!important}
body.bd-ui-v2-compact .task-card.bd2-expanded .task-main{min-height:70px!important;padding:9px 2px!important}
body.bd-ui-v2-compact .task-card.bd2-expanded .task-stages{display:block!important;margin:0 0 0 33px!important}
body.bd-ui-v2-compact .task-card.bd2-expanded .task-stage-add{display:flex!important;margin:8px 0 11px 33px!important}
body.bd-ui-v2-compact .task-card.bd2-expanded .task-stage-add .ghost{min-height:34px!important;padding:7px 10px!important;font-size:11px!important}
body.bd-ui-v2-compact .task-stage-row{min-height:48px!important;padding:8px 0!important;box-sizing:border-box!important}
body.bd-ui-v2-compact .task-stage-row>strong{font-size:13px!important}

/* Task create/edit form: stages are first-class and can be entered before the
   task is saved for the first time. */
body.bd-ui-v2 .bd2-task-form-stages{display:grid;gap:8px;padding-top:2px}
body.bd-ui-v2 .bd2-task-form-stages-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.bd-ui-v2 .bd2-task-form-stages-head>strong{font-size:13px;color:#ded2d5}
body.bd-ui-v2 .bd2-task-form-stage-list{display:grid;gap:7px}
body.bd-ui-v2 .bd2-task-form-stage{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:7px;align-items:center}
body.bd-ui-v2 .bd2-task-form-stage input{min-width:0!important}
body.bd-ui-v2 .bd2-task-form-stage .icon-btn{width:38px!important;height:38px!important;min-height:38px!important;font-size:20px!important}

/* Setlists: the rows were already compact enough, so use the free space for
   stronger typography instead of shrinking content further. */
body.bd-ui-v2-compact .setlist-card-main{padding:14px 2px!important;min-height:66px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
body.bd-ui-v2-compact .setlist-card-main strong{font-size:16px!important;line-height:1.18!important;margin-bottom:5px!important;font-weight:780!important}
body.bd-ui-v2-compact .setlist-card-main .meta{font-size:12px!important;line-height:1.25!important}
body.bd-ui-v2-compact .setlist-song-row strong{font-size:14px!important}

/* Slightly stronger list typography where the compact row height already has
   enough room. */
body.bd-ui-v2-compact .event-title{font-size:15px!important}
body.bd-ui-v2-compact .money-card h3{font-size:15px!important}
body.bd-ui-v2-compact .bank-tx-desc strong{font-size:14px!important}
body.bd-ui-v2-compact .song-title-left{font-size:14px!important}

body.bd-ui-v2 #modal.bd2-collection-detail .people-row>.avatar{grid-column:1!important;grid-row:1!important}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>div:nth-child(2){grid-column:2!important;grid-row:1!important}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>strong{grid-column:3!important;grid-row:1!important}

/* ===== v0.0.10 launch-clean geometry pass — user review 2026-10-04 ===== */
/* Segmented controls are deliberately boring: one fixed frame, two equal cells,
   no sliding pseudo-layer. This avoids the clipped/uneven indicator seen in VK. */
body.bd-ui-v2 .personal-filter,
body.bd-ui-v2 .view-toggle{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  justify-items:stretch!important;
  gap:2px!important;
  padding:3px!important;
  height:38px!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:#100d0e!important;
  border:1px solid #34282b!important;
}
body.bd-ui-v2 .personal-filter::before,
body.bd-ui-v2 .view-toggle::before{content:none!important;display:none!important;opacity:0!important}
body.bd-ui-v2 .personal-filter button,
body.bd-ui-v2 .view-toggle button{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:30px!important;
  min-width:0!important;
  min-height:30px!important;
  margin:0!important;
  padding:0 8px!important;
  border:0!important;
  border-radius:9px!important;
  line-height:1!important;
  box-sizing:border-box!important;
  background:transparent!important;
  color:#93878b!important;
  transform:none!important;
}
body.bd-ui-v2 .personal-filter button.active,
body.bd-ui-v2 .view-toggle button.active{
  background:#2b171d!important;
  color:#f8e8ec!important;
  border-radius:9px!important;
  box-shadow:none!important;
}

/* Home: remove unused vertical space but keep breathing room inside the actual
   information rows. */
body.bd-ui-v2-compact[data-bd2-tab="home"] #view>.hub-dashboard{
  padding-top:0!important;
  margin-top:-4px!important;
  gap:11px!important;
}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-nearest-section{gap:7px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-next-card{
  min-height:0!important;
  padding:14px 44px 14px 14px!important;
}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-next-type{
  margin:0 0 7px!important;
  padding:4px 8px!important;
}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-next-card h3{margin:0 0 5px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-section-head{padding:0 2px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-item{
  grid-template-columns:34px minmax(0,1fr) auto!important;
  gap:9px!important;
  min-height:50px!important;
  padding:8px 4px!important;
}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-item-main{
  display:flex!important;
  align-items:baseline!important;
  gap:6px!important;
  min-width:0!important;
  overflow:hidden!important;
}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-item-title{
  flex:0 1 auto!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-item-meta{
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-item-side{padding-left:8px!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-week-row{
  grid-template-columns:24px 7px minmax(0,1fr)!important;
  column-gap:7px!important;
  row-gap:2px!important;
  min-height:46px!important;
  padding:7px 4px!important;
}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-week-day{text-align:left!important}
body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-week-date{
  grid-column:3!important;
  margin:0!important;
  text-align:left!important;
  line-height:1!important;
}

/* Calendar top row: fixed control geometry; M/H stays small and centered. */
@media(max-width:560px){
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .personal-filter{
    width:78px!important;height:38px!important;min-height:38px!important
  }
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .view-toggle{
    width:62px!important;height:38px!important;min-height:38px!important
  }
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .personal-filter button{height:30px!important;width:100%!important}
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .view-toggle button{height:30px!important;width:100%!important;min-width:0!important}
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .plan-type-select,
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .plan-today{height:38px!important;min-height:38px!important}
  body.bd-ui-v2-compact[data-bd2-tab="schedule"] .plan-controls{grid-template-columns:minmax(76px,1fr) 58px 62px!important}
}

/* Money list filter gets the same exact segmented control as calendar/tasks. */
body.bd-ui-v2-compact[data-bd2-tab="money"] .section-title-filter{align-items:center!important;gap:10px!important}
body.bd-ui-v2-compact[data-bd2-tab="money"] .personal-filter{width:92px!important;flex:none!important}

/* Collection detail: even fully paid rows (which have no action button for a
   regular member) still get the compact one-line layout. */
body.bd-ui-v2 #modal.bd2-collection-detail .people-list{gap:6px!important}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row{
  min-height:56px!important;
  padding:7px 9px!important;
  gap:8px!important;
  grid-template-columns:38px minmax(0,1fr) auto 36px!important;
  border-radius:13px!important;
}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row.bd2-no-action{
  grid-template-columns:38px minmax(0,1fr) auto!important;
}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>.avatar{
  width:38px!important;height:38px!important;min-width:38px!important
}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>div:nth-child(2){
  display:flex!important;align-items:baseline!important;gap:6px!important;min-width:0!important;flex-wrap:nowrap!important
}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>div:nth-child(2)>strong{font-size:14px!important}
body.bd-ui-v2 #modal.bd2-collection-detail .payment-status{font-size:9px!important;margin:0!important}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>strong{
  grid-column:3!important;grid-row:1!important;align-self:center!important;justify-self:end!important;
  font-size:14px!important;margin:0!important;line-height:1!important;white-space:nowrap!important
}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>.icon-btn,
body.bd-ui-v2 #modal.bd2-collection-detail .people-row>.pay-claim{
  grid-column:4!important;grid-row:1!important;align-self:center!important;justify-self:end!important
}
body.bd-ui-v2 #modal.bd2-collection-detail .people-row.bd2-no-action>strong{grid-column:3!important}
@media(max-width:430px){
  body.bd-ui-v2 #modal.bd2-collection-detail .people-row,
  body.bd-ui-v2 #modal.bd2-collection-detail .people-row.bd2-no-action{min-height:54px!important;padding:6px 8px!important}
}

/* Event detail: date, type and menu share the same first row instead of spending
   a whole line on the badge/menu and leaving a large dead strip above the date. */
body.bd-ui-v2 .event-detail-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  column-gap:10px!important;
  padding:16px!important;
}
body.bd-ui-v2 .event-detail-date{
  grid-column:1!important;grid-row:1!important;
  margin:0!important;
  min-width:0!important;
  align-self:center!important;
}
body.bd-ui-v2 .event-detail-top{
  grid-column:2!important;grid-row:1!important;
  align-self:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  min-width:max-content!important;
}
body.bd-ui-v2 .event-detail-top>.pill{margin:0!important}
body.bd-ui-v2 .event-detail-card>h2{grid-column:1/-1!important;margin:11px 0 13px!important}
body.bd-ui-v2 .event-detail-facts,
body.bd-ui-v2 .event-detail-description,
body.bd-ui-v2 .event-description-toggle,
body.bd-ui-v2 .event-detail-footer{grid-column:1/-1!important}
body.bd-ui-v2 .event-detail-date>strong{font-size:48px!important;line-height:.9!important;letter-spacing:-3px!important}
body.bd-ui-v2 .event-detail-date span{font-size:18px!important}
body.bd-ui-v2 .event-detail-date small{font-size:11px!important}
@media(max-width:430px){
  body.bd-ui-v2 .event-detail-card{padding:14px!important;column-gap:7px!important}
  body.bd-ui-v2 .event-detail-date{gap:9px!important}
  body.bd-ui-v2 .event-detail-date>strong{font-size:42px!important;letter-spacing:-2px!important}
  body.bd-ui-v2 .event-detail-date span{font-size:16px!important}
  body.bd-ui-v2 .event-detail-top{gap:5px!important}
  body.bd-ui-v2 .event-detail-top>.pill{padding:5px 7px!important;font-size:8px!important}
}

/* Tasks: collapse to a true two-line list row. No phantom vertical room between
   neighboring tasks; expanded stages can still grow naturally below the row. */
body.bd-ui-v2-compact[data-bd2-tab="tasks"] .tasks-list{gap:0!important}
body.bd-ui-v2-compact[data-bd2-tab="tasks"] .task-card:not(.bd2-expanded){
  height:68px!important;min-height:68px!important;max-height:68px!important;
  margin:0!important;padding:0!important;overflow:hidden!important
}
body.bd-ui-v2-compact[data-bd2-tab="tasks"] .task-card:not(.bd2-expanded) .task-main{
  height:67px!important;min-height:67px!important;max-height:67px!important;
  padding:7px 2px!important;margin:0!important;align-items:center!important
}
body.bd-ui-v2-compact[data-bd2-tab="tasks"] .task-main>div:nth-child(2){gap:3px!important}
body.bd-ui-v2-compact[data-bd2-tab="tasks"] .task-title{
  font-size:14px!important;line-height:1.15!important;white-space:nowrap!important;text-overflow:ellipsis!important;display:block!important
}
body.bd-ui-v2-compact[data-bd2-tab="tasks"] .task-main .meta{font-size:10px!important;min-height:13px!important}
body.bd-ui-v2-compact[data-bd2-tab="tasks"] .personal-filter{width:92px!important}

/* Setlist detail: first row = back + title + actions; second row = linked event.
   This uses the previously empty right side instead of stacking every control. */
body.bd-ui-v2-compact .setlist-head{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) auto!important;
  grid-template-areas:"back title actions" "event event event"!important;
  gap:8px 10px!important;
  align-items:center!important;
  margin:0 0 11px!important;
  padding:0!important;
}
body.bd-ui-v2-compact .setlist-head>div:first-child{display:contents!important}
body.bd-ui-v2-compact .setlist-head .hub-back-button{grid-area:back!important;margin:0!important;width:42px!important;height:42px!important;min-height:42px!important}
body.bd-ui-v2-compact .setlist-head h2{grid-area:title!important;margin:0!important;font-size:22px!important;line-height:1.05!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.bd-ui-v2-compact .setlist-head>.inline-actions{grid-area:actions!important;margin:0!important;gap:6px!important;flex-wrap:nowrap!important}
body.bd-ui-v2-compact .setlist-head>.inline-actions>button{min-height:38px!important;padding:8px 10px!important;white-space:nowrap!important}
body.bd-ui-v2-compact .setlist-head .setlist-event-link{
  grid-area:event!important;
  justify-self:start!important;
  width:auto!important;
  max-width:100%!important;
  min-height:38px!important;
  padding:7px 10px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.bd-ui-v2-compact .setlist-song-list{gap:0!important}
body.bd-ui-v2-compact .setlist-song-row{min-height:60px!important;padding:8px 4px!important;border-bottom:1px solid var(--bd2-line)!important}
@media(max-width:430px){
  body.bd-ui-v2-compact .setlist-head{grid-template-columns:40px minmax(0,1fr) auto!important;gap:7px 8px!important}
  body.bd-ui-v2-compact .setlist-head .hub-back-button{width:38px!important;height:38px!important;min-height:38px!important}
  body.bd-ui-v2-compact .setlist-head h2{font-size:20px!important}
  body.bd-ui-v2-compact .setlist-head>.inline-actions>button{min-height:36px!important;padding:7px 8px!important;font-size:11px!important}
  body.bd-ui-v2-compact .setlist-head .setlist-event-link{font-size:11px!important;min-height:36px!important}
}

/* v0.0.10 services coming-soon */


/* ===== v0.0.11 desktop pass ===== */
@media(min-width:901px){
  body.bd-ui-v2 .bottom-nav{display:none!important}
  body.bd-ui-v2 .app-shell{grid-template-columns:224px minmax(0,1fr)!important}
  body.bd-ui-v2 .sidebar{padding:18px 14px 16px!important;border-right-color:#2b2023!important}
  body.bd-ui-v2 .brand{margin-bottom:24px!important;padding:0 8px!important}
  body.bd-ui-v2 .side-nav{display:flex!important;flex-direction:column!important;gap:4px!important}
  body.bd-ui-v2 .side-nav .nav-item{min-height:46px!important;padding:0 14px!important;border-radius:12px!important;transition:background .15s ease,color .15s ease!important}
  body.bd-ui-v2 .side-nav .nav-item:hover{background:#171214!important;color:#f1e5e8!important}
  body.bd-ui-v2 .side-nav .nav-item.active{background:#21171a!important;box-shadow:inset 3px 0 0 var(--bd2-accent)!important}
  body.bd-ui-v2 .side-nav .nav-item .nav-svg{width:24px!important;height:24px!important;display:grid!important;place-items:center!important}
  body.bd-ui-v2 .side-nav .nav-item .nav-svg svg{width:19px!important;height:19px!important}
  body.bd-ui-v2 .team-card{margin-top:auto!important;border-radius:14px!important;background:#121011!important;border-color:#302629!important}
  body.bd-ui-v2 .main-area{padding:0 32px 48px!important;min-width:0!important}
  body.bd-ui-v2 .topbar{position:sticky!important;top:0!important;z-index:24!important;width:100%!important;max-width:1080px!important;margin:0 auto!important;height:68px!important}
  body.bd-ui-v2 .view{width:100%!important;max-width:1080px!important;margin:0 auto!important;padding:18px 0 40px!important}
  body.bd-ui-v2 .section-head{margin-bottom:12px!important}
  body.bd-ui-v2 .event-row,
  body.bd-ui-v2 .task-card,
  body.bd-ui-v2 .money-card,
  body.bd-ui-v2 .bank-tx,
  body.bd-ui-v2 .song-accordion,
  body.bd-ui-v2 .setlist-card,
  body.bd-ui-v2 .hub-item,
  body.bd-ui-v2 .hub-week-row{transition:background .14s ease!important}
  body.bd-ui-v2 .event-row:hover,
  body.bd-ui-v2 .task-card:hover,
  body.bd-ui-v2 .money-card:hover,
  body.bd-ui-v2 .bank-tx:hover,
  body.bd-ui-v2 .song-accordion:hover,
  body.bd-ui-v2 .setlist-card:hover,
  body.bd-ui-v2 .hub-item:hover,
  body.bd-ui-v2 .hub-week-row:hover{background:rgba(255,255,255,.028)!important}
  body.bd-ui-v2 .modal-backdrop{align-items:center!important;justify-content:center!important;padding:28px!important}
  body.bd-ui-v2 .modal{width:min(640px,calc(100vw - 320px))!important;max-width:640px!important;max-height:84vh!important;border:1px solid #3a2d31!important;border-radius:20px!important;padding:22px!important}
  body.bd-ui-v2 .modal:has(.v75-sheet),body.bd-ui-v2 .modal:has(.legal-document-sheet){max-width:760px!important;width:min(760px,calc(100vw - 300px))!important}
  body.bd-ui-v2 .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.bd-ui-v2.song-workspace-mode .main-area{padding-top:8px!important}
  body.bd-ui-v2 .song-workspace{max-width:1080px!important;margin:0 auto!important;gap:12px!important}
  body.bd-ui-v2 .song-workspace-head{top:0!important;padding:8px 0 10px!important;background:linear-gradient(180deg,var(--bd2-bg) 78%,rgba(11,9,10,0))!important}
  body.bd-ui-v2 .song-workspace-head h1{text-align:left!important;font-size:28px!important}
  body.bd-ui-v2 .song-workspace-title{justify-self:start!important;min-width:0!important}
  body.bd-ui-v2 .song-workspace-title small{text-align:left!important}
  body.bd-ui-v2 .song-workspace-actions{justify-self:end!important}
  body.bd-ui-v2 .song-workspace-tabs{overflow:visible!important;gap:6px!important;padding:2px 0 8px!important;touch-action:auto!important}
  body.bd-ui-v2 .song-workspace-tabs button{min-width:108px!important;padding:10px 14px!important;border-radius:10px!important;touch-action:auto!important;user-select:auto!important}
  body.bd-ui-v2 .song-workspace-tabs button:hover{background:#171214!important;color:#eee2e5!important}
  body.bd-ui-v2 .song-workspace-tabs button.active{background:#21171a!important}
  body.bd-ui-v2 .song-workspace-panel{padding-top:4px!important}
  body.bd-ui-v2 .v75-view,body.bd-ui-v2 .v75-editor{max-width:none!important;margin:0!important}
  body.bd-ui-v2 .v75-meta-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.bd-ui-v2 .v75-section-list,body.bd-ui-v2 .v75-sort-list{gap:8px!important}
  body.bd-ui-v2 .v75-section-card,body.bd-ui-v2 .v75-guide-card,body.bd-ui-v2 .v75-lyric-card,body.bd-ui-v2 .v75-drop-card,body.bd-ui-v2 .v75-edit-section{border-radius:14px!important}
  body.bd-ui-v2 .bd2-desktop-more{display:flex!important}
}

@media(min-width:1200px){
  body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-dashboard{display:grid!important;grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr)!important;column-gap:22px!important;row-gap:14px!important;align-items:start!important}
  body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-nearest-section{grid-column:1!important;grid-row:1!important}
  body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-metrics{grid-column:1!important;grid-row:2!important}
  body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-dashboard>.hub-section:nth-of-type(2){grid-column:2!important;grid-row:1 / span 2!important}
  body.bd-ui-v2-compact[data-bd2-tab="home"] .hub-dashboard>.hub-section:nth-of-type(3){grid-column:1 / -1!important;grid-row:3!important}
}
