/* Compact operations surfaces. Focusable native details preserve touch and keyboard access.
   Visual references: 21st.dev Spotlight Card, Expandable Tabs and Liquid Glass Button. */
.dashboard-site{background:#0c1017;color:#f2f4f8}
.dashboard-site .work-main{background:radial-gradient(ellipse at 95% 0,rgba(66,101,255,.09),transparent 48%),radial-gradient(ellipse at 0 40%,rgba(255,109,141,.045),transparent 45%);min-width:0;padding:24px clamp(16px,3vw,38px)}
.dashboard-site .work-main h1{font-family:'Space Grotesk',sans-serif!important;font-size:clamp(27px,3.4vw,43px)!important;line-height:1.08;letter-spacing:-.045em;margin-bottom:10px;text-transform:none}
.dashboard-site :is(h2,h3,h4){font-family:'Space Grotesk',sans-serif!important;letter-spacing:-.025em}
.dashboard-site .work-main h2{font-size:21px}.dashboard-site .work-main h3{font-size:17px}
.dashboard-site .work-main :is(p,li,dd,dt){font-size:14px;line-height:1.5}
.dashboard-site .work-main .panel{padding:18px;border-radius:18px;margin-bottom:16px;background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.015));border:1px solid rgba(187,208,237,.14);box-shadow:0 8px 25px #00000012}
.dashboard-site .work-main .page-heading{margin-bottom:20px}.dashboard-site .work-main .notice{padding:12px 14px;font-size:13px;line-height:1.5;border-radius:12px;margin:12px 0}
:where(.work-main,.brief-builder,.brief-success,.live-public,#modal) .btn{min-height:40px!important;height:auto!important;width:auto;max-width:100%;padding:9px 14px!important;font-size:13px!important;line-height:1.3!important;letter-spacing:.01em!important;border-radius:12px!important;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 1 auto;white-space:normal;text-align:center;transform:none;box-sizing:border-box}
:where(.work-main,.brief-builder,.live-public,#modal) .btn.ghost{background:linear-gradient(140deg,#ffffff12,#ffffff05);border:1px solid #d3e0f52b;color:var(--text,#f1f4f8);backdrop-filter:blur(12px);box-shadow:inset 0 1px #ffffff12}
:where(.work-main,.brief-builder,.live-public,#modal) .row-actions,.flow-toolbar,.flow-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}
:where(.work-main,.brief-builder,#modal) :is(input,select,textarea){box-sizing:border-box;max-width:100%;min-width:0;font-size:16px;padding:10px 12px;border-radius:10px}
:where(.work-main,.brief-builder,#modal) input[type=checkbox]{width:19px!important;height:19px!important;min-height:19px!important;flex:0 0 19px;accent-color:#8ae7ff}
:where(.work-main,.brief-builder,#modal) label.field{gap:6px;font-size:13px}
:where(.work-main,.brief-builder,#modal) details summary{cursor:pointer;min-height:40px;display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;list-style:none}
:where(.work-main,.brief-builder,#modal) details summary::after{content:'+';margin-left:auto;flex-shrink:0;color:#8ae7ff;font-weight:400;font-size:20px}
:where(.work-main,.brief-builder,#modal) details[open]>summary::after{content:'−'}
:where(.work-main,.brief-builder,#modal) details[open]::details-content{animation:flow-reveal .18s ease-out}
.flow-stage-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 14px;border:1px solid #8ae7ff30;border-radius:14px;background:linear-gradient(110deg,#4265ff16,#ff6d8d0a);margin-bottom:14px;font-size:13px}
.flow-status{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;line-height:1.3;border-radius:8px;background:#8ae7ff19;color:#c7f3ff;font-size:12px;font-weight:600;max-width:100%;overflow-wrap:anywhere;flex:0 1 auto}
.flow-new{display:inline-flex!important;align-items:center;justify-content:center;min-height:22px;padding:3px 7px!important;background:#e6ee79!important;color:#15191a!important;border-radius:7px;font:600 11px/1.2 'Space Grotesk',sans-serif;white-space:nowrap;flex:0 0 auto!important;margin-left:5px;vertical-align:middle}
.flow-workspace-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:18px;align-items:start}.flow-workspace-grid>*{min-width:0}
.flow-section-head,.flow-card-head,.flow-requirement{display:flex;justify-content:space-between;align-items:center;gap:12px}.flow-section-head h2{margin:0}
.flow-requirement{padding:12px 0;border-bottom:1px solid #ffffff17}.flow-requirement small{display:block;margin-top:5px;color:#acb7c8}
.flow-quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:12px;margin-top:14px}
.flow-quote{position:relative;min-width:0;padding:16px;border-radius:15px;border:1px solid #b7c9e32b;background:linear-gradient(140deg,#ffffff06,#4265ff05);transition:background .18s,border-color .18s,box-shadow .18s}
.flow-quote:focus-within,.flow-quote:hover{border-color:#8ae7ff66;background:linear-gradient(140deg,#8ae7ff09,#4265ff08);box-shadow:0 8px 30px #4265ff0d}
.flow-quote.is-new{border-top:2px solid #8ae7ff}.flow-quote h3{margin:4px 0 12px}.flow-card-head{align-items:flex-start}.flow-card-head .eyebrow{font-size:10px;letter-spacing:.1em;color:#b6c4da}
.flow-scope{display:flex;flex-wrap:wrap;gap:5px 14px;margin:10px 0;color:#b6c4da;font-size:12px;line-height:1.5}.flow-scope span{overflow-wrap:anywhere;max-width:100%}
.flow-price{font-size:23px!important;letter-spacing:-.03em;margin:10px 0}.flow-price small{display:block;font-size:11px;letter-spacing:0;color:#acb7c8}.flow-details{border-top:1px solid #ffffff14;margin-top:8px}.flow-details p{font-size:13px!important}
.flow-date-list{max-height:100px;overflow:auto}.flow-select{display:flex;align-items:center;gap:8px;font-size:13px;min-height:44px}.flow-more{position:relative;flex:0 0 auto}.flow-more[open]{flex-basis:100%;border-top:1px solid #ffffff1a}.flow-more summary{font-size:12px!important}
.flow-bottom-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid #ffffff20;position:static}.flow-bottom-actions small{margin-right:auto;color:#afbdd0}
.flow-feedback{padding:12px;border:1px solid #8ae7ff30;border-radius:12px;background:#8ae7ff09;margin:12px 0;font-size:13px}
.flow-attention{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;background:linear-gradient(120deg,#4265ff20,#ff6d8d12);border:1px solid #8ae7ff30;border-radius:18px;padding:18px;margin-bottom:20px}.flow-attention h2{margin:5px 0}.flow-attention p{margin:0;color:#bbc9dc}
.flow-update{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px;border-bottom:1px solid #ffffff17;border-left:2px solid transparent}.flow-update.is-new{border-left-color:#8ae7ff;background:#8ae7ff05}.flow-update h3{margin:8px 0}.flow-update p{margin:6px 0;color:#b9c7da}.flow-update small{color:#9babc1}.flow-list{margin-bottom:20px}.flow-mail-row{display:flex;gap:12px;flex-wrap:wrap;padding:10px;border-bottom:1px solid #ffffff13;font-size:12px}
.flow-picker-list{max-height:330px;overflow:auto}.flow-picker-option{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #ffffff1b}.flow-picker-option small{display:block;font-size:12px;color:#adbed5;margin-top:4px}.flow-picker-option[hidden]{display:none!important}
.flow-nav-more{margin:12px 0}.flow-nav-more summary{color:#aab9ce;min-height:44px;font-size:12px;cursor:pointer;padding:10px}.sidebar a{min-height:40px;padding:10px 12px!important;gap:8px;align-items:center!important}.sidebar a>.nav-label{min-width:0;flex:1}.sidebar a>span:not(.nav-label):not(.flow-new):not(.review-badge){display:none}.sidebar .flow-new{margin-left:auto}.sidebar .side-label{font-size:10px;letter-spacing:.13em}
.dashboard-site .tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:4px;padding:6px;border:1px solid #ffffff1b;border-radius:12px;margin:14px 0;scrollbar-width:thin;background:#ffffff04}.dashboard-site .tabs a{padding:9px 13px;white-space:nowrap;border-radius:8px;font-size:13px;transition:background .2s,color .2s}.dashboard-site .tabs a.active{background:#8ae7ff20;color:#c5f3ff}
.tag-picker{border:1px solid #9eb9df38;border-radius:12px;padding:12px;margin:8px 0;min-width:0;grid-column:1/-1}.tag-picker legend{padding:0 5px;font-size:13px}.tag-picker .tag-selected,.tag-picker .tag-suggestions{display:flex;flex-wrap:wrap;gap:6px}.tag-picker button,.artist-pick-row{min-height:36px;padding:7px 10px;border:1px solid #b8c9e52c;border-radius:9px;background:#ffffff08;color:inherit;font:inherit;font-size:12px;line-height:1.3;max-width:100%;width:auto;cursor:pointer;flex:0 1 auto}.tag-picker .tag-chip{background:#4265ff24;color:#cceaff;border-color:#8ae7ff55}.tag-chip span{margin-left:5px}.tag-search-row{display:flex;gap:8px;margin:10px 0}.tag-search-row input{flex:1;width:0}.tag-picker small{display:block;margin-top:9px;color:#a9b9d0;font-size:11px}
.artist-pick-row{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;margin-top:7px;padding:10px 12px}.artist-pick-row small{display:block;color:#adbed5}.artist-pick-row[disabled]{opacity:.5}
.brief-builder{max-width:960px;padding-top:30px}.brief-builder header h1,.brief-success h1{font-size:clamp(32px,5vw,58px)!important;line-height:1.06}.brief-builder .brief-form-body{padding:20px}.brief-builder .brief-steps{margin:20px 0}.brief-builder .brief-plan-body{padding:16px}.brief-builder .brief-choice{gap:10px;padding:16px}.brief-builder .brief-save{padding:15px;margin-top:16px}.brief-builder .brief-foot{font-size:12px}.brief-builder .tag-picker{color:inherit}.brief-builder details{margin:12px 0}
.programme-edit-line{margin:10px 0!important}.programme-edit-line summary{padding:12px!important}.programme-edit-fields{padding:14px!important}.programme-line{padding:16px!important}.programme-lines{gap:12px!important}.programme-line h3{font-size:19px!important}.programme-total{padding:16px!important}.programme-total strong{font-size:30px!important}
.live-public{padding-top:20px!important}.live-public .live-public-grid{gap:16px}.live-public .panel{padding:18px!important;border-radius:18px!important}.live-public .live-public-song{padding:10px 0}.live-public .live-public-song h3{font-size:16px}.live-public .live-public-songs{max-height:390px;overflow:auto}.live-public .live-vip{margin:14px 0!important}.live-public .live-vip h2{font-size:22px!important}.live-public .live-vip p{font-size:13px}.live-quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
@media(hover:hover){:where(.work-main,.brief-builder,.live-public,#modal) .btn.ghost:hover{background:linear-gradient(120deg,#8ae7ff26,#4265ff18);border-color:#8ae7ff77;color:#f4fbff}.artist-pick-row:hover{border-color:#8ae7ff88}}
@media(max-width:900px){.flow-workspace-grid{grid-template-columns:1fr}.flow-workspace-grid>aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.flow-workspace-grid>aside .panel{margin:0}.flow-workspace-grid>aside>a{grid-column:1/-1;justify-self:start}}
@media(max-width:600px){.dashboard-site .work-main{padding:16px 14px 30px}.dashboard-site .work-main .panel{padding:14px}.flow-quotes{grid-template-columns:1fr}.flow-workspace-grid>aside{grid-template-columns:1fr}.flow-card-head{gap:8px}.flow-stage-bar{gap:8px}.flow-stage-bar>span:not(.flow-status):not(.flow-new){font-size:11px}.flow-quote{padding:14px}.flow-requirement{align-items:flex-start;flex-wrap:wrap}.flow-requirement>.btn{margin-left:auto}.flow-update{align-items:flex-start;padding:12px;flex-wrap:wrap}.flow-update>.btn{margin-left:auto}:where(.work-main,.brief-builder,.brief-success,.live-public,#modal) .btn{min-height:44px!important;padding:10px 12px!important;font-size:13px!important}.tag-picker button{min-height:40px}.brief-builder .brief-form-body{padding:15px}.brief-builder .brief-choice{display:flex;flex-wrap:wrap}.brief-builder .brief-choice>div{flex-basis:100%}.brief-builder .brief-steps{font-size:11px;gap:7px}.brief-builder header h1{font-size:36px!important}.brief-builder header p{font-size:14px}.flow-bottom-actions{justify-content:stretch}.flow-bottom-actions .btn{flex:1;min-width:120px}#modal{max-width:calc(100vw - 24px);padding:18px}.flow-nav-more summary{font-size:13px}.flow-card-actions>.btn{flex:0 1 auto!important;min-width:0!important}.programme-total strong{font-size:27px!important}.live-public-grid{grid-template-columns:1fr!important}.live-quick-actions .btn{flex:1!important;min-width:100px}}
@keyframes flow-reveal{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.flow-quote,.dashboard-site .tabs a{transition:none}details[open]::details-content{animation:none!important}}
.dashboard-site .work-main h1{color:#f3f7ff!important}.dashboard-site #riff-launch{display:none!important}.flow-riff-button{order:3;min-height:32px!important;font-size:11px!important;padding:6px 10px!important}.work-top{gap:8px!important}.work-top>span:nth-last-child(1){margin-left:auto}
@media(max-width:768px){.dashboard-site .review-bar{padding:5px 12px!important;gap:4px!important}.dashboard-site .review-bar>span{font-size:9px}.dashboard-site .review-links{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;width:100%;gap:12px!important;scrollbar-width:none}.dashboard-site .review-links>*{flex:0 0 auto!important;min-height:32px!important;padding:6px 0!important;white-space:nowrap;font-size:10px!important}.dashboard-site .review-links button{padding:6px 9px!important}.dashboard-site .workspace-brand{padding:12px 16px!important}.dashboard-site .workspace-brand img{max-height:39px!important;width:auto!important}.work-top{font-size:9px!important;min-height:36px!important}.work-top .flow-riff-button{min-height:32px!important}.dashboard-site .mobile-app-nav{padding-top:4px!important;padding-bottom:calc(4px + env(safe-area-inset-bottom))!important}.dashboard-site .mobile-app-nav a,.dashboard-site .mobile-app-nav button{min-height:46px!important;font-size:10px!important}.dashboard-site .mobile-app-nav span{font-size:17px!important}.dashboard-site .work-main{padding-bottom:100px!important}.live-public .live-public-song .btn{min-width:76px!important}}

/* Task pages retain their own actions instead of repeating the public booking dock. */
body:has(.brief-builder) .mobile-booking-dock,body:has(.brief-success) .mobile-booking-dock,body:has(.live-public) .mobile-booking-dock{display:none!important}
body:has(.flow-client-briefs) #riff-launch{display:none!important}
.flow-client-briefs{max-width:960px;padding:24px 20px 50px}.flow-client-briefs h1{font-family:'Space Grotesk',sans-serif!important;font-size:clamp(30px,4vw,44px)!important;line-height:1.1!important;max-width:650px;margin:16px 0!important}.flow-client-briefs h2{font-family:'Space Grotesk',sans-serif!important;font-size:24px!important;line-height:1.18!important}.flow-client-briefs .panel{padding:18px;border-radius:16px;margin-top:16px}.flow-client-briefs p{font-size:14px;line-height:1.5;margin:12px 0}.flow-client-briefs .row-actions{gap:8px;flex-wrap:wrap}.flow-client-briefs .row-actions>*{min-height:44px;flex:0 1 auto!important;padding:10px 12px!important;font-size:13px!important;border-radius:12px}.flow-client-briefs h3{font-size:19px!important}

/* Compact client handover: current bookings stay distinct from the quoted programme. */
.flow-booking-status{margin:1rem 0;padding:1rem;border:1px solid var(--line,#303643);border-radius:16px;background:rgba(126,215,231,.06)}
.flow-booking-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;padding:.75rem 0;border-top:1px solid var(--line,#303643)}
.flow-booking-row strong{flex-basis:100%}.flow-booking-row>span{font-size:.9rem;overflow-wrap:anywhere}.flow-booking-row .badge{align-self:center;flex:none;min-height:0}

.flow-booking-row .badge{background:#173b38;color:#c8f5eb;border:1px solid #45726b;padding:.25rem .55rem;line-height:1.4}.flow-booked-proposal>summary{padding:.8rem 0;font-weight:600;cursor:pointer;min-height:44px}.flow-booked-proposal>.panel{margin-top:.5rem}

/* Shared action geometry: wrap naturally, with space between targets. */
:where(.work-main,.brief-builder,.brief-success,.live-public,#modal) .btn{min-width:0;vertical-align:middle;overflow-wrap:break-word;flex-shrink:1}
:where(.work-main,.brief-builder,.live-public,#modal) :is(.row-actions,.form-actions,.action-row,.launch-actions){display:flex;align-items:center;flex-wrap:wrap;gap:8px}
:where(.work-main,.brief-builder,#modal) details[open]>summary{margin-bottom:10px}
:where(.work-main,#modal) :is(.panel,.notice,.empty,details)> .btn{margin:4px}
:where(.work-main,#modal) .action-stack{display:flex;flex-direction:column;align-items:stretch;gap:8px}
