/* Fixed-slot cockpit. No free resizing, user colors or per-rep typography. */
html[data-theme] body #app .dw-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0 12px}
.dw-toolbar>div:first-child{display:grid;gap:4px}.dw-eyebrow{color:var(--sig-green);font-size:9px;letter-spacing:1.6px;font-weight:600}.dw-toolbar small{color:var(--sig-muted);font-size:11px}.dw-actions{display:flex;flex-wrap:wrap;gap:8px}.dw-message{font-size:12px;color:var(--sig-orange);padding:9px 0}.dw-message[role=status]{color:var(--sig-green)}
html[data-theme] body #app .dw-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,270px);gap:12px}
html[data-theme] body #app .dw-slot{display:flex;flex-direction:column;padding:16px;min-width:0;min-height:0;overflow:hidden;border:1px solid var(--sig-line)}
html[data-theme] body #app .dw-large{grid-column:span 2;grid-row:span 2}
html[data-theme] body #app .dw-slot-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px;flex:none;min-height:36px}
html[data-theme] body #app .dw-slot-head small{font-size:9px!important;color:var(--sig-muted);display:block;margin-bottom:4px}
html[data-theme] body #app .dw-slot-head h2{font-size:14px!important;font-weight:600!important;line-height:1.3!important;margin:0!important}
.dw-slot-mark{color:var(--sig-green)}
html[data-theme] body #app .dw-body{flex:1;min-height:0;min-width:0;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--sig-control-line) transparent;overscroll-behavior:contain}
html[data-theme] body #app .dw-slot>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px;margin-top:10px;border-top:1px solid var(--sig-line);flex:none}
html[data-theme] body #app .dw-slot>footer small{font-size:10px!important;color:var(--sig-muted)}
html[data-theme] body #app .dw-link{border:0;background:none;color:var(--sig-green);font-size:11px!important;padding:3px 0;cursor:pointer}
html[data-theme] body #app .dw-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--sig-line);font-size:12px;min-width:0}
.dw-row:last-child{border-bottom:0}.dw-row>div{min-width:0}.dw-row strong{font-size:12px;display:block;overflow-wrap:anywhere}.dw-row small{font-size:11px;color:var(--sig-muted);display:block;margin-top:4px}.dw-row>b{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.dw-season .dw-row{padding:22px 0}.dw-season .dw-row>b{font-size:20px}
.dw-big-value{font-size:32px;font-weight:600;color:var(--sig-green);margin:8px 0}.dw-progress{height:5px;background:var(--sig-inset);border-radius:5px;overflow:hidden}.dw-progress i{display:block;height:100%;background:var(--sig-green)}.dw-empty{padding:10px 0}
/* Reuse live widgets without adding an extra glass shell around each one. */
html[data-theme] body #app .shell>.main .dw-body>.dash-panel,html[data-theme] body #app .shell>.main .dw-body .dc-booking-tools>.dash-panel,html[data-theme] body #app .shell>.main .dw-body .dc-booking-tools>:is(.dash-calendar,.dash-invite-widget,.dash-invitation-widget){padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none}
html[data-theme] body #app .dw-body>.dc-customer>header{display:none}
html[data-theme] body #app .dw-body .dc-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html[data-theme] body #app .dw-body .dc-brand-grid{grid-template-columns:1fr!important}
html[data-theme] body #app .dw-body .dc-booking-tools{gap:16px}
html[data-theme] body #app .dw-body .dash-calendar-week{gap:2px}
html[data-theme] body #app .dw-body .dash-calendar-week button{min-width:0;padding:5px 1px}
html[data-theme] body #app .dw-body .dash-calendar-week strong{font-size:12px!important}
html[data-theme] body #app .dw-body .dash-calendar-week :is(span,small){font-size:9px!important}
html[data-theme] body #app .dw-body .dash-invitation-metrics{grid-template-columns:1fr!important}
html[data-theme] body #app .dw-grid.is-editing>.dw-slot{border-color:color-mix(in srgb,var(--sig-green) 40%,transparent)!important}
html[data-theme] body #app dialog.dw-picker{width:min(720px,calc(100vw - 32px));max-height:85dvh;padding:24px;border:1px solid var(--sig-control-line);border-radius:16px;color:var(--sig-text);overflow:auto;font-size:12px}
.dw-picker>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.dw-picker h2{font-size:20px;font-weight:500;margin:5px 0}.dw-picker p{color:var(--sig-muted);line-height:1.6}.dw-picker h3{font-size:12px;color:var(--sig-green);margin:22px 0 10px}.dw-picker>header small{font-size:9px;color:var(--sig-muted);letter-spacing:1px}
.dw-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dw-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:7px;padding:14px;border:1px solid var(--sig-line);border-radius:10px;background:var(--sig-inset);color:var(--sig-text);font:inherit;cursor:pointer}.dw-choice strong{font-size:12px}.dw-choice small{font-size:11px;color:var(--sig-muted)}.dw-choice span{font-size:10px;color:var(--sig-green)}.dw-choice:hover,.dw-choice.is-selected{border-color:var(--sig-green);background:var(--sig-green-soft)}
@media(min-width:1600px){html[data-theme] body #app .dw-grid{grid-template-rows:repeat(2,288px)}}
@media(max-width:1150px){html[data-theme] body #app .dw-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:552px repeat(2,270px)}html[data-theme] body #app .dw-large{grid-row:span 1;grid-column:span 2}}
@media(max-width:650px){html[data-theme] body #app .dw-grid{grid-template-columns:1fr;grid-template-rows:552px repeat(4,270px)}html[data-theme] body #app .dw-large{grid-column:span 1}.dw-toolbar{flex-wrap:wrap}.dw-actions{width:100%}.dw-choices{grid-template-columns:1fr}html[data-theme] body #app .dw-body .dc-profile-grid{grid-template-columns:1fr}}

/* Reuse the approved brand rings, sized for the compact widget slot. */
html[data-theme] body #app .dw-booking-circles .dash-brand-card{padding:10px;margin-bottom:10px;background:var(--sig-inset);border-radius:10px}
html[data-theme] body #app .dw-booking-circles .dash-brand-summary{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;align-items:center}
html[data-theme] body #app .dw-booking-circles .dash-ring-progress{width:72px;max-width:72px}
html[data-theme] body #app .dw-booking-circles .dash-brand-ring{width:72px;height:72px;flex:0 0 72px}
html[data-theme] body #app .dw-booking-circles .dash-ring-legend button{font-size:10px!important;padding:3px;gap:4px}
html[data-theme] body #app .dw-booking-circles .dash-brand-card h3{font-size:12px!important;margin:0 0 7px}

html[data-theme] body #app .dw-booking-circles .dash-ring-legend button strong{font-size:11px!important}
html[data-theme] body #app .dw-booking-circles .dash-ring-caption{font-size:9px!important}
html[data-theme] body #app .dw-booking-circles .dash-brand-card>header{margin-bottom:4px!important}
html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first .dw-booking-circles .dash-ring-legend{gap:1px}
html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first .dw-booking-circles .dash-ring-legend button{padding:3px!important;min-height:20px!important;font-size:10px!important;line-height:1.2!important}
html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first .dw-booking-circles .dash-ring-legend button :is(span,strong){font-size:10px!important;line-height:1.2!important}
/* Expandable responsive canvas: ordered widgets, shared size presets. */
html[data-theme] body #app .dw-grid{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:auto;grid-auto-flow:row;align-items:start}
html[data-theme] body #app .dw-slot.dw-size-compact{grid-column:span 3;grid-row:auto;height:300px}
html[data-theme] body #app .dw-slot.dw-size-wide{grid-column:span 6;grid-row:auto;height:552px}
html[data-theme] body #app .dw-slot.dw-size-full{grid-column:1/-1;grid-row:auto;height:auto;min-height:240px;overflow:visible}
html[data-theme] body #app .dw-size-full>.dw-body{overflow:visible;flex:none;max-height:none;height:auto}
html[data-theme] body #app .dw-size-full .dw-booking-circles,html[data-theme] body #app .dw-size-full .dc-brand-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))!important;gap:12px;align-items:start}
html[data-theme] body #app .dw-size-full .dw-booking-circles .dash-brand-card{margin:0}
html[data-theme] body #app .dw-size-full .dash-brand-list{max-height:none;overflow:visible}
html[data-theme] body #app .dw-size-wide .dw-booking-circles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:10px;align-items:start}
html[data-theme] body #app .dw-edit-controls{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0 0 12px;flex:none}
html[data-theme] body #app .dw-size-label{display:flex;align-items:center;gap:5px;flex:1;min-width:100px;font-size:10px;color:var(--sig-muted)}
html[data-theme] body #app .dw-size-label select{min-width:0;max-width:100%;width:100%;font:inherit;color:var(--sig-text);background:var(--sig-inset);border:1px solid var(--sig-control-line);border-radius:8px;padding:7px}
html[data-theme] body #app .dw-size-label option{background:var(--sig-solid);color:var(--sig-text)}
html[data-theme] body #app .dw-drag{cursor:grab;touch-action:none}
html[data-theme] body #app .dw-drag:active{cursor:grabbing}
html[data-theme] body #app .dw-add{display:block;width:100%;margin-top:12px;padding:20px;border:1px dashed var(--sig-control-line);border-radius:14px;background:var(--sig-inset);color:var(--sig-green);font:600 12px Montserrat,sans-serif;cursor:pointer}
html[data-theme] body #app .dw-add:disabled{opacity:.5;cursor:default}
@media(max-width:1150px){html[data-theme] body #app .dw-grid{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:none}html[data-theme] body #app .dw-size-compact{grid-column:span 3}html[data-theme] body #app .dw-size-wide{grid-column:span 6}}
@media(max-width:650px){html[data-theme] body #app .dw-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none}html[data-theme] body #app .dw-slot.dw-size-compact,html[data-theme] body #app .dw-slot.dw-size-wide,html[data-theme] body #app .dw-slot.dw-size-full{grid-column:1/-1}html[data-theme] body #app .dw-size-wide .dw-booking-circles{grid-template-columns:1fr}}

html[data-theme] body #app .dw-slot.dw-drop-target{outline:2px solid var(--sig-green);outline-offset:3px}

/* Small standalone booking actions and status widgets. */
html[data-theme] body #app .dw-slot.dw-size-mini{grid-column:span 3;grid-row:auto;height:182px;padding:14px}
html[data-theme] body #app .dw-grid.is-editing .dw-slot.dw-size-mini{height:280px}
html[data-theme] body #app .dw-size-mini .dw-slot-head{min-height:26px;margin-bottom:8px}
html[data-theme] body #app .dw-size-mini>.dw-body{overflow:auto}
html[data-theme] body #app .dw-size-mini>footer{margin-top:6px;padding-top:6px}
html[data-theme] body #app .dw-mini-invitations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
html[data-theme] body #app .dw-mini-invitations button{display:grid;gap:3px;text-align:center;background:var(--sig-inset);color:var(--sig-text);border:1px solid var(--sig-line);border-radius:8px;padding:7px 3px;font:inherit;cursor:pointer}
html[data-theme] body #app .dw-mini-invitations strong{font-size:20px!important;font-weight:600}
html[data-theme] body #app .dw-mini-invitations span{font-size:10px!important;color:var(--sig-muted)}
html[data-theme] body #app .dw-mini-invitations button:last-child{background:var(--sig-green-soft);color:var(--sig-green)}
html[data-theme] body #app .dw-attention{font-size:10px!important;margin-top:3px}
html[data-theme] body #app .shell>.main .dw-body>:is(.dash-calendar,.dash-invite-widget,.dash-invitation-widget){padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
html[data-theme] body #app [data-widget-id="booking-invite"] .dash-invite-widget h3,html[data-theme] body #app [data-widget-id="booking-invite"] .dash-invitation-eyebrow,html[data-theme] body #app [data-widget-id="booking-invitations"] .dash-invitation-heading h3{display:none}
html[data-theme] body #app [data-widget-id="booking-invite"] .dash-invite-widget{display:grid;gap:8px}
html[data-theme] body #app [data-widget-id="booking-invite"] .dash-invite-widget p{font-size:11px!important;margin:0 0 6px}
html[data-theme] body #app [data-widget-id="booking-invitations"] .dash-invitation-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html[data-theme] body #app [data-widget-id="booking-calendar"] .dash-calendar-controls{flex-wrap:wrap}
html[data-theme] body #app #dw-invitations-dialog .dash-invitation-widget{background:transparent;border:0;padding:0}
@media(max-width:650px){html[data-theme] body #app .dw-slot.dw-size-mini{grid-column:1/-1}}

html[data-theme] body #app .dw-size-mini:is([data-widget-id="booking-invite"],[data-widget-id="booking-invitations"]){height:166px}
html[data-theme] body #app .dw-grid.is-editing .dw-size-mini:is([data-widget-id="booking-invite"],[data-widget-id="booking-invitations"]){height:268px}
html[data-theme] body #app .dw-size-mini:is([data-widget-id="booking-invite"],[data-widget-id="booking-invitations"])>footer{display:none}
html[data-theme] body #app .dw-size-mini:is([data-widget-id="booking-invite"],[data-widget-id="booking-invitations"])>.dw-body{overflow:visible}
html[data-theme] body #app .dw-mini-invite{display:grid;gap:8px;align-content:start}
html[data-theme] body #app .dw-mini-invite p{margin:2px 0;font-size:11px!important;color:var(--sig-muted)}
html[data-theme] body #app .dw-mini-invite button{width:100%;min-height:32px}
html[data-theme] body #app .shell>.main [data-widget-id="booking-calendar"] .dash-calendar-body{display:block!important}
html[data-theme] body #app .shell>.main [data-widget-id="booking-calendar"] .dash-calendar-day{margin-top:12px}

/* Shared team standard: rings lead; customization remains an explicit option. */
html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first>.dc-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
html[data-theme] body #app .dw-grid.dw-team-standard{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,300px);align-items:start}
html[data-theme] body #app .dw-team-standard>.dw-slot{height:300px;min-height:0;grid-column:span 1;grid-row:auto}
html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-circles"]{grid-column:1 / span 2;grid-row:1 / span 2;height:612px;overflow:hidden}
html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-circles"]>.dw-body{overflow:auto;flex:1;min-height:0}
html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-circles"]>footer{margin-top:10px}
html[data-theme] body #app .dw-team-standard .dw-booking-circles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html[data-theme] body #app .dw-team-standard .dw-booking-circles .dash-brand-card{margin:0}
html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-calendar"]{grid-column:3 / span 2;grid-row:1}
html[data-theme] body #app .dw-team-standard>[data-widget-id="customer-lookup"]{grid-column:3;grid-row:2}
html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-invitations"]{grid-column:4;grid-row:2}
html[data-theme] body #app .dw-team-standard>[data-widget-id="customer-lookup"] .dc-profile-grid{grid-template-columns:1fr}
html[data-theme] body #app .dw-team-standard .dw-body{max-height:440px}
html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-circles"]>.dw-body{max-height:none}
html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-calendar"] .dash-calendar-body{grid-template-columns:minmax(0,1fr);padding:0;gap:10px}
html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-calendar"] .dash-calendar>header{padding:0 0 12px!important;flex-wrap:wrap}
html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-calendar"] .dash-calendar-controls{width:100%;gap:4px}
html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-calendar"] .dash-calendar-controls label{min-width:0;flex:1}
html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-calendar"] .dash-calendar-controls input{width:100%;min-width:0}
html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-calendar"] .dash-calendar h3{display:none}
@media(max-width:1150px){
 html[data-theme] body #app .dw-grid.dw-team-standard{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none}
 html[data-theme] body #app .dw-team-standard>.dw-slot{grid-column:span 1;grid-row:auto}
 html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-circles"]{grid-column:1/-1;grid-row:auto;height:520px}
}
@media(max-width:650px){
 html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first>.dc-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-theme] body #app .dw-grid.dw-team-standard{grid-template-columns:minmax(0,1fr)}
 html[data-theme] body #app .dw-team-standard>.dw-slot{grid-column:1/-1}
 html[data-theme] body #app .dw-team-standard .dw-booking-circles{grid-template-columns:1fr}
}

/* Booking circle details: one focused Signature overview, no card expansion. */
dialog.dash-booking-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--sig-control-line);border-radius:var(--sig-radius);background:var(--sig-solid);color:var(--sig-text);box-shadow:var(--sig-shadow);font:400 var(--sig-body)/1.5 var(--sig-font);overflow:auto}
.dash-booking-dialog::backdrop{background:#101c2166;backdrop-filter:blur(5px)}
.dash-booking-dialog .dbd-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:24px 24px 16px}
.dash-booking-dialog h2{font-size:var(--sig-title);font-weight:500;margin:4px 0 0}
.dash-booking-dialog p{margin:0}
.dbd-header p,.dbd-summary,.dash-booking-dialog footer{color:var(--sig-muted);font-size:var(--sig-meta)}
.dash-booking-dialog button,.dash-booking-dialog input{font:inherit;color:inherit}
.dash-booking-dialog button{cursor:pointer}
.dash-booking-dialog .dbd-close{width:32px;height:32px;border:1px solid var(--sig-control-line);border-radius:var(--sig-control-radius);background:var(--sig-inset);font-size:20px}
.dbd-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0 24px 20px}
.dbd-tabs button{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;border:1px solid var(--sig-line);border-radius:var(--sig-control-radius);background:var(--sig-inset);padding:10px}
.dbd-tabs button[aria-pressed=true]{background:var(--sig-green-soft);border-color:var(--sig-green);color:var(--sig-green)}
.dbd-search{padding:0 24px}.dbd-search label{display:block;margin-bottom:6px;color:var(--sig-muted);font-size:var(--sig-meta)}
.dbd-search input{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid var(--sig-control-line);border-radius:var(--sig-control-radius);background:var(--sig-inset)}
.dbd-summary{padding:16px 24px 8px}.dbd-list{padding:0 24px 20px}
.dbd-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--sig-line)}
.dbd-row>div{flex:1;min-width:0}.dbd-row strong{display:block;font-size:var(--sig-body);font-weight:600;overflow-wrap:anywhere}
.dbd-row small{display:block;color:var(--sig-muted);font-size:var(--sig-meta);margin-top:4px}
.dbd-badge{padding:4px 8px;border-radius:var(--sig-control-radius);font-size:var(--sig-meta);white-space:nowrap;background:var(--sig-inset);color:var(--sig-muted)}
.dbd-badge.is-booked{color:var(--sig-green);background:var(--sig-green-soft)}
.dbd-badge.is-waiting{color:var(--sig-orange);background:var(--sig-orange-soft)}
.dbd-badge.is-review{color:var(--sig-red);background:var(--sig-red-soft)}
.dbd-open{border:0;background:transparent;color:var(--sig-green)!important;padding:6px}
.dbd-empty{padding:24px 0;color:var(--sig-muted)}
.dash-booking-dialog footer{padding:12px 24px;border-top:1px solid var(--sig-line)}
.dash-booking-dialog :focus-visible{outline:2px solid var(--sig-green);outline-offset:3px}
@media(max-width:600px){.dbd-tabs{grid-template-columns:repeat(2,1fr)}.dbd-row{flex-wrap:wrap}.dbd-row>div{flex-basis:60%}.dbd-open{padding-left:0}.dash-booking-dialog .dbd-header{padding-top:16px}}

@media(min-width:651px) and (max-width:1050px){html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first>.dc-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}

html[data-theme] .dash-invitation-widget .dash-invitation-metrics>.dash-invitation-waiting,html[data-theme] body #app .dw-mini-invitations [data-status=waiting]{background:var(--sig-orange-soft);color:var(--sig-orange)}
html[data-theme] .dash-invitation-widget .dash-invitation-waiting span{color:var(--sig-orange)}
html[data-theme] .dash-invitation-context{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;color:var(--sig-text);font-weight:600;font-size:var(--sig-meta)}
html[data-theme] .dash-invitation-context span,html[data-theme] .dash-invite-mail span{color:var(--sig-muted);font-weight:400}
html[data-theme] .dash-invite-mail time{color:var(--sig-text);font-variant-numeric:tabular-nums}
html[data-theme] #dw-invitations-dialog .dash-invitation-heading>div{display:none}
html[data-theme] #dw-invitations-dialog .dash-invitation-heading:not(:has(button)){display:none}
@media(max-width:600px){html[data-theme] #dw-invitations-dialog .dash-invitation-metrics,html[data-theme] body #app [data-widget-id="booking-invitations"] .dash-invitation-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

html[data-theme] #dw-invitations-dialog .dash-invitation-details li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
html[data-theme] #dw-invitations-dialog .dash-invitation-item-state{display:flex;flex-direction:column;align-items:flex-end;max-width:100%;gap:4px}
html[data-theme] .dash-invitation-widget .dash-reinvite{color:var(--sig-blue)!important;background:var(--sig-blue-soft)!important;border:1px solid var(--sig-control-line)!important;min-height:32px;font-weight:600}

.dw-agenda-bar{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:0 0 8px;background:var(--sig-solid)}
.dw-agenda-bar input{margin-left:auto;max-width:100%;min-width:0;font:inherit;color:var(--sig-text);border:1px solid var(--sig-control-line);border-radius:var(--sig-control-radius);background:var(--sig-solid);padding:5px}
html[data-theme] body #app .shell>.main .dw-agenda-bar button[aria-pressed]{--agenda-ink:var(--sig-blue);--agenda-fill:var(--sig-blue-soft);background:var(--agenda-fill)!important;color:var(--agenda-ink)!important;border:1px solid color-mix(in srgb,var(--agenda-ink) 35%,transparent)!important}
html[data-theme] body #app .shell>.main .dw-agenda-bar button[aria-pressed]:nth-of-type(2){--agenda-ink:var(--sig-green);--agenda-fill:var(--sig-green-soft)}
html[data-theme] body #app .shell>.main .dw-agenda-bar button[aria-pressed=true]{border-color:var(--agenda-ink)!important;box-shadow:inset 0 0 0 1px var(--agenda-ink)!important;font-weight:600}
html[data-theme] body #app [data-widget-body="booking-calendar"] h3{font-size:var(--sig-body);margin:10px 0 3px;color:var(--sig-muted)}
.dw-agenda-row{display:grid;grid-template-columns:8em minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid var(--sig-line);align-items:baseline;font-size:var(--sig-body)}
.dw-agenda-row time{font-variant-numeric:tabular-nums;color:var(--sig-text)}.dw-agenda-row strong{font-weight:600;overflow-wrap:anywhere}.dw-agenda-row small{display:block;color:var(--sig-muted);font-size:var(--sig-meta)}
@media(min-width:651px) and (max-width:1150px){html[data-theme] body #app .dw-team-standard>[data-widget-id="booking-calendar"]{grid-column:1/-1;grid-row:auto}}

/* A simple lookup tile; customer details open in the smart-card dialog. */
html[data-theme] body #app .shell>.main .dw-grid>[data-widget-id="customer-lookup"]{box-sizing:border-box;width:100%;max-width:360px;height:auto;min-height:280px;aspect-ratio:1;align-self:start;justify-self:start;overflow:visible}
html[data-theme] body #app .shell>.main [data-widget-id="customer-lookup"]>.dw-body{overflow:visible;max-height:none;flex:1 0 auto}
html[data-theme] body #app .shell>.main [data-widget-id="customer-lookup"] .dc-customer{min-height:0;height:auto}
html[data-theme] body #app .shell>.main [data-widget-id="customer-lookup"] #dash-customer-results{display:grid;grid-template-columns:1fr;gap:6px;max-height:none;overflow:visible;margin-top:10px}
html[data-theme] body #app .shell>.main [data-widget-id="customer-lookup"] .dash-quick-customer{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:0;padding:9px 10px;text-align:left}
html[data-theme] body #app .shell>.main [data-widget-id="customer-lookup"] .dash-quick-customer strong{overflow-wrap:anywhere}
html[data-theme] body #app .shell>.main [data-widget-id="customer-lookup"] .dash-quick-customer small{flex:none}
html[data-theme] body #app .shell>.main [data-widget-id="customer-lookup"] .dc-lookup-hint{font-size:var(--sig-body);line-height:1.6;color:var(--sig-muted);margin:16px 0}
html[data-theme] body #app .shell>.main [data-widget-id="customer-lookup"] .dc-customer-toggle{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
html[data-theme] body #app .shell>.main [data-widget-id="customer-lookup"] .dc-customer-name{font-size:var(--sig-section);font-weight:600}

@media(min-width:1151px){html[data-theme] body #app .dw-grid.dw-team-standard{grid-template-rows:300px minmax(300px,auto)}}


/* Equal tracks share their height; preview whole records instead of clipping the last one. */
html[data-theme] body #app .shell>.main .dw-grid:not(.is-editing){align-items:stretch;gap:var(--sig-gap,12px)}
html[data-theme] body #app .shell>.main .dw-grid:not(.is-editing)>.dw-slot{align-self:stretch;box-sizing:border-box;max-width:none;justify-self:stretch;aspect-ratio:auto}
html[data-theme] body #app .shell>.main .dw-grid.dw-team-standard{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:auto auto}
html[data-theme] body #app .shell>.main .dw-team-standard>.dw-slot,
html[data-theme] body #app .shell>.main .dw-grid.dw-notes-pair>:is([data-widget-id="booking-circles"],[data-widget-id="customer-reminders"]){height:auto;min-height:0;overflow:visible}
html[data-theme] body #app .shell>.main .dw-team-standard>.dw-slot>.dw-body,
html[data-theme] body #app .shell>.main .dw-notes-pair>:is([data-widget-id="booking-circles"],[data-widget-id="customer-reminders"])>.dw-body{flex:1 0 auto;max-height:none;overflow:visible}
html[data-theme] body #app .shell>.main .dw-team-standard>[data-widget-id="booking-circles"]{grid-area:1/1/2/4}
html[data-theme] body #app .shell>.main .dw-team-standard>[data-widget-id="customer-reminders"]{grid-area:1/4/2/7}
html[data-theme] body #app .shell>.main .dw-team-standard>[data-widget-id="booking-calendar"]{grid-area:2/1/3/3}
html[data-theme] body #app .shell>.main .dw-team-standard>[data-widget-id="customer-lookup"]{grid-area:2/3/3/5}
html[data-theme] body #app .shell>.main .dw-team-standard>[data-widget-id="booking-invitations"]{grid-area:2/5/3/7}
html[data-theme] body #app .shell>.main .dw-team-standard .dw-mini-invitations{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-theme] body #app .shell>.main .dw-grid:not(.is-editing) .dw-booking-circles{align-items:stretch}
html[data-theme] body #app .shell>.main .dw-notes-pair>:is([data-widget-id="booking-circles"],[data-widget-id="customer-reminders"]){grid-column:span 6;grid-row:1}
html[data-theme] body #app .dw-page{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--sig-muted);font-size:var(--sig-meta);margin:10px 0 0}
html[data-theme] body #app .dw-page button{min-width:30px}
@media(min-width:901px) and (max-width:1150px){html[data-theme] body #app .shell>.main .dw-notes-pair>:is([data-widget-id="booking-circles"],[data-widget-id="customer-reminders"]){grid-column:span 3}}
@media(max-width:900px){
 html[data-theme] body #app .shell>.main .dw-grid.dw-team-standard{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none}
 html[data-theme] body #app .shell>.main .dw-team-standard>.dw-slot[data-widget-id]{grid-area:auto;grid-column:1/-1}
 html[data-theme] body #app .shell>.main .dw-team-standard>:is([data-widget-id="customer-lookup"],[data-widget-id="booking-invitations"]){grid-column:span 1}
 html[data-theme] body #app .shell>.main .dw-notes-pair>:is([data-widget-id="booking-circles"],[data-widget-id="customer-reminders"]){grid-column:1/-1;grid-row:auto}
}
@media(max-width:650px){html[data-theme] body #app .shell>.main .dw-grid.dw-team-standard{grid-template-columns:minmax(0,1fr)}}

html[data-theme] body #app .shell>.main .dw-grid:not(.is-editing):not(.dw-team-standard)>.dw-slot{height:auto;min-height:0}
html[data-theme] body #app .shell>.main .dw-grid:not(.is-editing):not(.dw-team-standard)>.dw-slot:not(.dw-size-full):not([data-widget-id="customer-lookup"])>.dw-body{flex:1 1 auto;max-height:440px}
html[data-theme] body #app .shell>.main .dw-grid.dw-notes-pair:not(.is-editing)>.dw-slot:is([data-widget-id="booking-circles"],[data-widget-id="customer-reminders"])>.dw-body{max-height:none;overflow:visible}


/* Shared centre line; reserve both rows before live data arrives. */
@media(min-width:901px){
 html[data-theme] body #app .shell>.main .dw-grid.dw-team-standard{
  grid-template-columns:repeat(4,minmax(0,1fr));height:var(--dw-frame-height,65dvh);
  grid-template-rows:minmax(0,1.25fr) minmax(0,1fr);
  grid-template-areas:"rings rings notes notes" "agenda agenda lookup invites";
 }
 html[data-theme] body #app .shell>.main .dw-team-standard>[data-widget-id="booking-circles"]{grid-area:rings}
 html[data-theme] body #app .shell>.main .dw-team-standard>[data-widget-id="customer-reminders"]{grid-area:notes}
 html[data-theme] body #app .shell>.main .dw-team-standard>[data-widget-id="booking-calendar"]{grid-area:agenda}
 html[data-theme] body #app .shell>.main .dw-team-standard>[data-widget-id="customer-lookup"]{grid-area:lookup}
 html[data-theme] body #app .shell>.main .dw-team-standard>[data-widget-id="booking-invitations"]{grid-area:invites}
 html[data-theme] body #app .shell>.main .dw-grid.dw-notes-pair{grid-template-rows:minmax(0,calc((var(--dw-frame-height,65dvh) - 12px)*.5556)) minmax(0,calc((var(--dw-frame-height,65dvh) - 12px)*.4444));grid-auto-rows:auto}
 html[data-theme] body #app .shell>.main .dw-grid:is(.dw-team-standard,.dw-notes-pair):not(.is-editing)>.dw-slot{box-sizing:border-box;min-height:0;height:100%;overflow:hidden}
 html[data-theme] body #app .shell>.main .dw-grid:is(.dw-team-standard,.dw-notes-pair):not(.is-editing)>.dw-slot[data-widget-id]>.dw-body{
  flex:1 1 0;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain
 }
 html[data-theme] body #app .shell>.main .dw-grid:is(.dw-team-standard,.dw-notes-pair)>.dw-slot>.dw-slot-head{margin-bottom:8px}
 html[data-theme] body #app .shell>.main .dw-grid:is(.dw-team-standard,.dw-notes-pair)>.dw-slot>footer{margin-top:6px;padding-top:6px}
}

html[data-theme] body #app .shell>.main .dw-slot-head h2 .dw-title-open{display:inline-flex;align-items:baseline;gap:6px;font:inherit;color:inherit;cursor:pointer;text-align:left;border:0!important;border-radius:3px;padding:0!important;background:transparent!important;box-shadow:none!important}
.dw-title-open i{font-style:normal;font-weight:400;color:var(--sig-muted);font-size:var(--sig-meta)}
.dw-title-open:hover span{text-decoration:underline;text-underline-offset:3px}
.dw-title-open:focus-visible{outline:2px solid var(--sig-green);outline-offset:3px}
@media(min-width:901px) and (max-height:900px){
 html[data-theme] body #app .shell>.main .dw-grid:not(.is-editing)>.dw-slot{padding:clamp(9px,1.35vh,12px)}
 html[data-theme] body #app .shell>.main .dw-grid:not(.is-editing) .dw-slot-head{min-height:0;margin-bottom:6px}
 html[data-theme] body #app .shell>.main .dw-grid .dw-mini-invitations{grid-template-columns:repeat(2,minmax(0,1fr))}
}

html[data-theme] body #app .dw-slot[data-widget-id="booking-circles"] .dw-booking-circles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(195px,100%),1fr));gap:8px}
html[data-theme] body #app .dw-booking-circles .dash-brand-card{margin:0}
html[data-theme] body #app .dw-booking-circles .dash-brand-summary{grid-template-columns:56px minmax(0,1fr)}
html[data-theme] body #app .shell>.main .seasn-dashboard .dw-booking-circles :is(.dash-brand-ring,.dash-ring-progress){width:56px;max-width:56px;flex-basis:56px}
html[data-theme] body #app .shell>.main .seasn-dashboard .dw-booking-circles .dash-brand-ring{height:56px}
html[data-theme] body #app .booking-workspace-full .dash-brand-ring{width:72px!important;height:72px!important;flex:0 0 72px!important}
html[data-theme] body #app .booking-workspace-full .dash-ring-progress{width:76px;flex:0 0 76px}
html[data-theme] dialog.nr-dashboard-work{width:min(720px,94vw);max-height:85dvh;overflow:auto}
dialog.nr-dashboard-work .bn-feed{display:grid;gap:10px;max-height:none;overflow:visible}
dialog.nr-dashboard-work .bn-preview-open{white-space:pre-wrap;display:block;overflow:visible;-webkit-line-clamp:unset}


/* Direct resend uses the same checked invitation flow as Team invitations. */
.dash-booking-dialog .dbd-row .dbd-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}
.dash-booking-dialog .dbd-resend{border:1px solid var(--sig-green);border-radius:var(--sig-control-radius);background:var(--sig-green-soft);color:var(--sig-green);font-weight:600;white-space:nowrap}
.dash-booking-dialog .dbd-actions .dbd-open{white-space:nowrap}
.dash-booking-dialog .dbd-row time{font-variant-numeric:tabular-nums}
@media(max-width:600px){.dash-booking-dialog .dbd-row .dbd-actions{flex-basis:100%;justify-content:flex-end}}


/* Compact Booking popup content; shared dialog styling lives in signature.css. */
html[data-theme] body dialog.dw-picker{width:720px;padding:20px}
html[data-theme] #dw-invitations-dialog .dash-invitation-widget{background:transparent;border:0;padding:0}
html[data-theme] #dw-invitations-dialog .dash-invitation-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
html[data-theme] #dw-invitations-dialog .dash-invitation-metrics button{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left}
html[data-theme] #dw-invitations-dialog .dash-invitation-metrics button[aria-pressed=true]{color:var(--sig-green);background:var(--sig-green-soft);border-color:var(--sig-green)}
html[data-theme] #dw-invitations-dialog .dash-invitation-metrics small{display:none}
html[data-theme] #dw-invitations-dialog .dash-invitation-details ul{padding:0;margin:0;list-style:none}
html[data-theme] #dw-invitations-dialog .dash-invitation-details li{padding:12px 0;border-bottom:1px solid var(--sig-line)}
html[data-theme] #dw-invitations-dialog .dash-booking-item{min-width:0;overflow-wrap:anywhere}
html[data-theme] #dw-invitations-dialog .dash-booking-item :is(strong,small){display:block}
html[data-theme] #dw-invitations-dialog .dash-booking-item small{color:var(--sig-muted);font-size:var(--sig-meta);margin-top:3px}
html[data-theme] #dw-invitations-dialog .dash-invitation-context{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:var(--sig-meta)}
html[data-theme] #dw-invitations-dialog .dash-invitation-footer{margin-top:12px}
html[data-theme] #dw-booking-dialog .dc-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){html[data-theme] body dialog.dw-picker{padding:16px}html[data-theme] #dw-booking-dialog .dc-brand-grid{grid-template-columns:1fr}html[data-theme] #dw-invitations-dialog .dash-invitation-details li{grid-template-columns:1fr}html[data-theme] #dw-invitations-dialog .dash-invitation-item-state{align-items:flex-end}}
