.contextual-workspace-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 12px;padding:6px 8px;border:1px solid var(--border);border-radius:10px;background:var(--soft)}
.contextual-workspace-tools>span{font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin-right:2px}.contextual-workspace-tools button{min-height:32px;padding:5px 8px;color:var(--ink)!important;background:var(--surface);font-size:13px;line-height:1.2}.contextual-workspace-tools button.primary{color:#fff!important;background:var(--green)}
.today-next-move{padding:clamp(20px,4vw,34px)}.today-next-move h2{margin:6px 0}.today-next-move .actions{margin-top:18px}
.venue-primary-actions{align-items:center;flex-wrap:wrap}.venue-primary-actions .venue-data-menu{order:3}.venue-data-menu{position:relative}.venue-data-menu>summary{min-height:44px;display:flex;align-items:center;padding:8px 12px}.venue-data-menu[open]>.actions{position:absolute;right:0;top:calc(100% + 6px);z-index:8;display:grid;min-width:190px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 25px #0002}.venue-data-menu[open] button{width:100%}
.booking-visible-scope{display:none}.ui-booking-advanced{margin-top:10px}.ui-booking-advanced>summary{min-height:42px;padding:10px 12px}.ui-booking-advanced[open]{padding-bottom:10px}.ui-booking-advanced[open]>*:not(summary){margin:10px 12px}.ui-booking-advanced .booking-view-tools{border:0;padding:0}.ui-booking-totals{margin:16px 0 0}.ui-booking-totals>summary{padding:10px 12px}.ui-booking-totals #stats{margin:8px 0 0}.board .column.ui-empty-stage{display:none!important}.guided-empty{padding:20px;border:1px dashed var(--border);border-radius:12px;background:var(--soft)}.guided-empty h3{margin-top:0}.guided-empty ol{padding-left:22px}.guided-empty li+li{margin-top:6px}
.guided-step-list{counter-reset:guided-step;display:grid;gap:10px;width:min(100%,560px);margin:18px auto 22px;padding:0;list-style:none;text-align:left}.guided-step-list li{counter-increment:guided-step;display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;align-items:start;line-height:1.5}.guided-step-list li::before{content:counter(guided-step);display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--soft);color:var(--ink);font-size:13px;font-weight:800;line-height:1}
.board[data-layout=board]{grid-template-columns:repeat(var(--visible-booking-stages,5),minmax(0,1fr))}
.ux-month-panel .calendar-card{overflow:hidden;overflow-wrap:normal}
.ux-month-panel .calendar-card .venue-title-identity{display:flex;width:100%;min-width:0}
.ux-month-panel .calendar-card .venue-title-logo,.ux-month-panel .calendar-card .venue-title-placeholder{display:none}
.ux-month-panel .calendar-card .venue-title-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}
@media(min-width:681px){html[data-theme=dark] body[data-screen=workspace] aside #nav button.active,html[data-theme=dark] body[data-screen=workspace] aside #nav button.active:hover{background:#ffe5d1;color:#69290f!important}}
.feature-breadth{margin:44px 0}.feature-breadth-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.feature-breadth-card{margin:0;padding:14px;background:#fff;border:1px solid #deddd6;border-radius:14px}.feature-breadth-card img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:top;border-radius:8px}.feature-breadth-card h3{margin:12px 0 4px}.feature-breadth-card p{margin:0;color:#57626b;font-size:14px}
@media(max-width:680px){html{background:var(--surface-page)!important}body[data-screen=workspace]{background:var(--surface-page)}body[data-screen=workspace]::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:#17212d;z-index:29;pointer-events:none}}
@media(max-width:680px){html{background:#17212d}body[data-screen=workspace]{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}body[data-screen=workspace] main{padding-top:10px;padding-bottom:24px}body[data-screen=workspace]>aside{min-height:54px;padding:calc(env(safe-area-inset-top,0px) + 10px) max(9px,env(safe-area-inset-right,0px)) 8px max(9px,env(safe-area-inset-left,0px));gap:5px;background:#17212d!important}body[data-screen=workspace]>aside .app-brand-logo{width:96px}body[data-screen=workspace] #workspace-search-button,#mobile-account-menu>summary{min-height:40px;padding:6px 8px;font-size:13px}.contextual-workspace-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;padding:5px;gap:4px;margin-bottom:10px}.contextual-workspace-tools>span{display:none}.contextual-workspace-tools button{width:100%;min-width:0;min-height:36px;padding:4px 3px;font-size:12px;line-height:1.15}.venue-primary-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%}.venue-primary-actions>.venue-data-menu{grid-column:1/-1}.venue-data-menu[open]>.actions{position:static;box-shadow:none}.feature-breadth-grid{grid-template-columns:1fr}.feature-breadth-card img{aspect-ratio:16/10}}

/* Compact controls without splitting ordinary words or reducing touch targets. */
html body[data-screen=workspace] :is(.actions,.workspace-tool-row,.form-actions,.venue-detail-actions)>button:not(.close){min-height:44px;padding:8px 12px;line-height:1.35;word-break:normal;overflow-wrap:normal;hyphens:none}
html body[data-screen=workspace] :is(.actions,.workspace-tool-row,.form-actions)>button:not(.close){min-inline-size:min-content;max-inline-size:100%}
html body[data-screen=workspace] .ux-calendar-controls{justify-content:flex-start;flex-wrap:wrap;gap:8px;margin-bottom:12px}
html body[data-screen=workspace] .ux-calendar-controls .ux-view-switch{display:inline-flex;width:max-content;flex:0 0 auto;margin:0;gap:4px}
html body[data-screen=workspace] .ux-calendar-controls button{min-height:44px;padding:8px 10px;font-size:13px;white-space:nowrap;word-break:normal;overflow-wrap:normal}
html body[data-screen=workspace] .ux-calendar-summary{display:flex;flex-wrap:wrap;gap:6px 16px;margin:10px 0;font-size:13px;color:var(--text-secondary)}
.ux-calendar-summary>span{white-space:nowrap}.ux-calendar-summary strong{font-size:16px;color:var(--text-primary);font-variant-numeric:tabular-nums}
html body[data-screen=workspace] .ux-agenda>p.privacy{margin:8px 0 14px;line-height:1.5}
html body[data-screen=workspace] .ux-agenda-event{gap:3px;padding:10px 12px;min-height:52px}
.ux-agenda-event .venue-title-logo,.ux-agenda-event .venue-title-placeholder{width:24px;height:24px;flex-basis:24px;min-width:24px}
html body[data-screen=workspace] .ux-agenda-event :is(strong,.venue-title-name){word-break:normal;overflow-wrap:break-word}
html body[data-view=income] #stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:0 0 14px}
html body[data-view=income] #stats .stat{min-width:0;padding:12px 14px}
html body[data-view=income] #stats .stat label{font-size:13px;line-height:1.4;word-break:normal;overflow-wrap:normal}
html body[data-view=income] #stats .stat strong{margin:5px 0;font-size:clamp(18px,2.2vw,25px);line-height:1.25;font-variant-numeric:tabular-nums;word-break:normal;overflow-wrap:break-word}
html body[data-view=income] #stats .stat small{font-size:12px;line-height:1.4}
html body[data-view=income] .money-tabs{gap:6px;margin-bottom:12px;flex-wrap:wrap}
html body[data-view=income] .money-tabs button{padding:8px 12px;min-height:44px;line-height:1.35;word-break:normal;overflow-wrap:normal}
html body[data-view=income] #income-list .profit-gig-card{padding:14px 0}
html body[data-view=income] #income-list :is(.row,.profit-gig-card .toolbar){gap:10px}
html body[data-view=income] #income-list :is(.row-main,.profit-gig-card .toolbar>div){min-width:0;flex:1 1 180px}
html body[data-view=income] #income-list :is(.row>button,.profit-gig-card .toolbar>button){flex:0 0 auto;min-height:44px;padding:8px 12px;word-break:normal;overflow-wrap:normal}
@media(max-width:680px){
 html body[data-view=income] #stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 html body[data-view=income] #stats .stat{padding:10px 12px}
 html body[data-view=income] #stats .stat strong{font-size:20px}
 html body[data-view=calendar] main>header>.actions{gap:8px}
 html body[data-view=calendar] main>header>.actions>button{font-size:13px;padding:8px 10px}
}

html body[data-screen=workspace] .ux-calendar-controls .ux-view-switch>button{flex:0 0 auto;width:auto;min-width:max-content;padding-inline:8px}
html body[data-view=income] .ux-money-basis{margin:8px 0 12px}
html body[data-view=income] .ux-money-basis>summary{min-height:44px;padding:10px 0;font-size:13px;color:var(--text-secondary)}
html body[data-view=income] .ux-money-basis>p{margin:4px 0 12px;line-height:1.5}
/* Give desktop month cards enough room; use date badges on smaller screens. */
@media(min-width:1025px){
 html body[data-view=calendar] .ux-calendar-columns{grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr)}
 html body[data-view=calendar] .ux-month-panel .calendar-card.artist-event{word-break:normal;overflow-wrap:normal}
 html body[data-view=calendar] .ux-month-panel .calendar-card small{white-space:normal;word-break:normal;overflow-wrap:normal}
}
@media(min-width:1025px) and (max-width:1250px){html body[data-view=calendar] .ux-calendar-columns{grid-template-columns:1fr}}
@media(max-width:1024px){
 html body[data-view=calendar] .ux-calendar-columns{grid-template-columns:1fr}
 html body[data-view=calendar] .ux-month-panel .calendar{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:2px!important}
 html body[data-view=calendar] .ux-month-panel .calendar>.weekday{display:block!important;font-size:10px;padding:8px 0}
 html body[data-view=calendar] .ux-month-panel .calendar>div:empty{display:block!important}
 html body[data-view=calendar] .ux-month-panel .calendar>.day{display:block!important;position:relative;min-height:48px!important;padding:0!important;border:0!important}
 html body[data-view=calendar] .ux-month-panel .calendar>.day::after{display:none!important}
 html body[data-view=calendar] .ux-month-panel .calendar-date{display:block!important;width:100%;height:48px;min-height:48px;margin:0;padding:8px 0 16px;font-size:12px}
 html body[data-view=calendar] .ux-month-panel .calendar-card{display:none!important}
 html body[data-view=calendar] .ux-month-panel .calendar-event-count{display:block!important;position:absolute;bottom:2px;left:50%;transform:translateX(-50%);font-size:9px;line-height:12px;min-width:14px;text-align:center;padding:0 2px;border-radius:4px;pointer-events:none;background:var(--green);color:var(--surface)}
 html body[data-view=calendar] .ux-month-panel .calendar>.day:not(:has(.calendar-event-count)) .calendar-date{padding-bottom:8px}
 html body[data-view=calendar] .ux-month-panel .calendar-followup{display:none!important}
 html body[data-view=calendar] .ux-month-panel .day[data-followups] .calendar-date{padding-bottom:16px}
 html body[data-view=calendar] .ux-month-panel .day[data-followups]::before{content:'↻' attr(data-followups);position:absolute;bottom:2px;left:50%;transform:translateX(-50%);z-index:1;pointer-events:none;min-width:16px;padding:0 2px;border:1px dashed var(--green);border-radius:4px;font-size:9px;line-height:12px;text-align:center;background:var(--surface-card);color:var(--green)}
 html body[data-view=calendar] .ux-month-panel .day[data-followups]:has(.calendar-event-count)::before{left:calc(50% + 10px)}
 html body[data-view=calendar] .ux-month-panel .day[data-followups] .calendar-event-count{left:calc(50% - 10px)}
}
@media(min-width:1025px){
 html body[data-view=calendar] .ux-month-panel .calendar-card{font-size:11px;line-height:1.4;padding:6px 4px;min-height:44px}
 html body[data-view=calendar] .ux-month-panel .calendar-card small{font-size:10px;line-height:1.4}
}
html body[data-screen=workspace] .ux-calendar-controls>button{flex:0 0 auto;min-width:max-content;width:auto}

/* Keep the agreement handoff close to its booking, without adding another panel. */
html body[data-screen=workspace] .booking-agreement-step{margin:8px 0 12px;border-block:1px solid var(--border-subtle)}
html body[data-screen=workspace] .booking-agreement-step>summary{min-height:44px;padding:12px 0;font-weight:700;line-height:1.4}
html body[data-screen=workspace] .booking-agreement{padding:4px 0 12px;border:0;margin:0}
html body[data-screen=workspace] .booking-agreement>.toolbar{gap:10px;flex-wrap:wrap}
html body[data-screen=workspace] .quote-booking-context{margin:0 0 16px;padding:12px;background:var(--surface-subtle);border:1px solid var(--border-subtle);border-radius:10px}
.quote-booking-context p{margin:0 0 10px}.quote-booking-context p:last-child{margin:10px 0 0}
html body[data-view=income] .profit-cash-note{flex-wrap:wrap;gap:8px}
html body[data-view=income] .profit-cash-note>.actions{display:flex;flex-wrap:wrap;gap:6px}
