/* Dashboard Sfera 1.110.0 — coherent Nexlink/Basalt interactions. */
#dashboard-view.dashboard-studio{--polish-bg:#f5f9ff;--polish-line:#c8d9fc;--polish-shadow:0 7px 17px rgba(31,75,153,.075);--polish-navy:#0e2166;--polish-blue:#3b78eb}
#dashboard-view.dashboard-studio .dashboard-welcome{min-height:35px!important;justify-content:flex-start!important;padding:0 1px!important}
#dashboard-view.dashboard-studio .dashboard-welcome__greeting{font:500 clamp(18px,1.55vw,23px)/1.3 Poppins,sans-serif;letter-spacing:-.025em;color:#22334b}
#dashboard-view.dashboard-studio .dashboard-welcome__greeting strong{font-weight:650;color:#0e2166}
#dashboard-view.dashboard-studio .dashboard-canvas{row-gap:13px!important}
#signed-in .app-topbar .sfera-dashboard-topbar-tools{display:none}
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar .sfera-dashboard-topbar-tools{
 display:flex;align-items:center;justify-content:center;gap:8px;margin:0 11px 0 0;flex:none
}
#signed-in .app-topbar .sfera-dashboard-topbar-tools>button{
 display:grid!important;place-items:center!important;position:relative!important;
 width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;
 min-height:36px!important;max-height:36px!important;padding:0!important;margin:0!important;
 border:1px solid rgba(192,216,255,.2)!important;border-radius:11px!important;
 background:rgba(255,255,255,.075)!important;color:transparent!important;font-size:0!important;
 box-shadow:none!important;cursor:pointer;transform:none!important;
 transition:background .18s ease,border-color .18s ease!important
}
#signed-in .app-topbar .sfera-dashboard-topbar-tools>button>span{display:none!important}
#signed-in .app-topbar .sfera-dashboard-topbar-tools>button::before{
 content:""!important;display:block!important;position:static!important;width:20px!important;height:20px!important;
 margin:0!important;background:#e8f3ff!important;
 mask:var(--polish-control-icon) center/contain no-repeat!important;
 -webkit-mask:var(--polish-control-icon) center/contain no-repeat!important
}
#signed-in .app-topbar .sfera-dashboard-topbar-tools>#dashboard-guide{
 --polish-control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6C9 4 6 4 3 5v15c3-1 6-1 9 1 3-2 6-2 9-1V5c-3-1-6-1-9 1ZM12 6v15'/%3E%3C/svg%3E")
}
#signed-in .app-topbar .sfera-dashboard-topbar-tools>#dashboard-refresh{
 --polish-control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 1 0-1.3 5.2M20 4v7h-7'/%3E%3C/svg%3E")
}
#signed-in .app-topbar .sfera-dashboard-topbar-tools>button:is(:hover,:focus-visible){
 background:rgba(255,255,255,.16)!important;border-color:rgba(198,226,255,.45)!important
}
/* CTA hover: never switch pastel surfaces to dark/full saturated backgrounds. */
#dashboard-view.dashboard-studio #dashboard-new-task:is(:hover,:focus-visible){
 background:#d2e6ff!important;border-color:#b7d6ff!important;color:#194d9b!important;box-shadow:0 8px 20px rgba(29,92,182,.10)!important
}
#dashboard-view.dashboard-studio #dashboard-new-activity:is(:hover,:focus-visible){
 background:#d1f0e0!important;border-color:#b2e0cb!important;color:#216c53!important;box-shadow:0 8px 20px rgba(30,117,86,.10)!important
}
#dashboard-view.dashboard-studio #dashboard-new-task:is(:hover,:focus-visible) .dashboard-quick-actions__icon{background:#3976dd!important}
#dashboard-view.dashboard-studio #dashboard-new-activity:is(:hover,:focus-visible) .dashboard-quick-actions__icon{background:#309776!important}
/* One interaction language across clickable cards, guides, the team controls,
 * note selectors, portfolio and the operational metric cards. */
#dashboard-view.dashboard-studio :is(
 .dashboard-workspace .dashboard-metric-card[role="button"],
 .dashboard-workspace button.dashboard-metric-card,
 .studio-portfolio-breakdown__row,
 .studio-workload-chart__selector,
 .studio-guide-tile,
 .studio-notes-explorer__tab,
 .studio-notes-explorer__preview,
 .dashboard-quick-card--guides .studio-guide-tile.dashboard-quick-card__item
){transition:transform .22s cubic-bezier(.2,.8,.2,1),background-color .22s,border-color .22s,box-shadow .22s!important}
#dashboard-view.dashboard-studio :is(
 .dashboard-workspace button.dashboard-metric-card,
 .studio-portfolio-breakdown__row,
 .studio-workload-chart__selector,
 .studio-guide-tile,
 .studio-notes-explorer__tab,
 .dashboard-quick-card--guides .studio-guide-tile.dashboard-quick-card__item
):is(:hover,:focus-visible){
 transform:translateY(-2px)!important;background:#f6f9ff!important;border-color:#c8d9fc!important;
 box-shadow:0 6px 16px rgba(14,33,102,.055)!important
}
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card--activities:is(:hover,:focus-within){
 transform:translateY(-2px)!important;background:#f6f9ff!important;border-color:#c8d9fc!important;box-shadow:0 6px 16px rgba(14,33,102,.055)!important
}
#dashboard-view.dashboard-studio .dashboard-daily-dock .dashboard-metric-card{transform:none!important;box-shadow:none!important}
/* Anchored icon tiles: the navy Guide badge is the single reference. */
#dashboard-view.dashboard-studio :is(
 .dashboard-workspace>.dashboard-section-heading::after,
 .dashboard-section--portfolio>.dashboard-section-heading::after,
 .studio-workload-chart__heading::after,
 .studio-trend-heading::before,
 .dashboard-business-card .studio-opportunity-mark
){
 flex:0 0 42px!important;width:42px!important;height:42px!important;
 border-radius:12px!important;background-color:#0e2166!important;box-shadow:0 5px 12px rgba(14,33,102,.095)!important
}
#dashboard-view.dashboard-studio .dashboard-quick-card__visual,
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .dashboard-quick-card__visual,
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .dashboard-quick-card__visual,
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__visual,
#dashboard-view.dashboard-studio .dashboard-work-hours__icon{
 display:grid!important;place-items:center!important;position:relative!important;
 width:42px!important;height:42px!important;flex:0 0 42px!important;
 background:#0e2166!important;background-image:none!important;border:0!important;border-radius:12px!important;
 box-shadow:0 5px 12px rgba(14,33,102,.095)!important;transform:none!important
}
#dashboard-view.dashboard-studio .dashboard-quick-card__visual::after,
#dashboard-view.dashboard-studio .dashboard-work-hours__icon::after{
 content:""!important;position:absolute!important;display:block!important;
 width:20px!important;height:20px!important;left:50%!important;top:50%!important;
 margin:0!important;transform:translate(-50%,-50%)!important;flex:0 0 20px!important;background-color:white!important
}
#dashboard-view.dashboard-studio .dashboard-business-card:is(:hover,:focus-within) .studio-opportunity-mark{background-color:#0e2166!important}
#dashboard-view.dashboard-studio .studio-trend-header{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important
}
#dashboard-view.dashboard-studio .studio-trend-heading{
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
 width:100%!important;gap:10px!important
}
#dashboard-view.dashboard-studio .studio-trend-heading::before{order:2;margin-left:auto!important}
#dashboard-view.dashboard-studio .studio-trend-controls{justify-content:flex-start;max-width:100%}
/* Calendar and pill: icon at the same top-right position as the other modules. */
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-card-icon,
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card--pill .dashboard-card-icon{
 display:grid!important;place-items:center!important;position:relative;
 width:42px!important;height:42px!important;flex:0 0 42px!important;
 border:0!important;border-radius:12px!important;background:#0e2166!important;color:#fff!important;
 box-shadow:0 5px 12px rgba(14,33,102,.095)!important
}
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-card-icon svg,
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card--pill .dashboard-card-icon svg{
 stroke:#fff!important;color:#fff!important;width:22px!important;height:22px!important
}
#dashboard-view.dashboard-studio .studio-daily-controls__tab:is(:hover,:focus-visible){background:#f2f6ff!important}
/* Portfolio distribution is an interactive data surface, without fake click affordances:
 * highlighting one share fades only the other, and a small readout follows focus. */
#dashboard-view.dashboard-studio .studio-portfolio-distribution{position:relative;overflow:hidden;transition:box-shadow .2s,border-color .2s}
#dashboard-view.dashboard-studio .studio-portfolio-distribution__segment{
 display:block;transform-origin:center;transition:filter .22s,opacity .22s,transform .22s!important
}
#dashboard-view.dashboard-studio .studio-portfolio-distribution[data-studio-focus]{
 box-shadow:0 8px 20px rgba(38,89,202,.12)!important
}
#dashboard-view.dashboard-studio .studio-portfolio-distribution[data-studio-focus="companies"] .studio-portfolio-distribution__segment--companies,
#dashboard-view.dashboard-studio .studio-portfolio-distribution[data-studio-focus="leads"] .studio-portfolio-distribution__segment--leads{
 opacity:1!important;filter:saturate(1.2) brightness(1.05)!important;transform:scaleY(1.065)
}
#dashboard-view.dashboard-studio .studio-portfolio-distribution[data-studio-focus="companies"] .studio-portfolio-distribution__segment--leads,
#dashboard-view.dashboard-studio .studio-portfolio-distribution[data-studio-focus="leads"] .studio-portfolio-distribution__segment--companies{opacity:.26!important;filter:saturate(.7)!important}
#dashboard-view.dashboard-studio .studio-portfolio-breakdown__row[aria-pressed="true"]{
 background:#f1f6ff!important;border-color:#c8d9fc!important;box-shadow:0 6px 16px rgba(14,33,102,.055)!important
}
#dashboard-view.dashboard-studio .studio-portfolio-distribution__tooltip{
 position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
 pointer-events:none;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.95);
 border:1px solid #d6e4ff;color:#173b93;font:600 11px Poppins,sans-serif;white-space:nowrap;
 box-shadow:0 3px 8px rgba(21,60,135,.1);opacity:0;transition:opacity .2s
}
#dashboard-view.dashboard-studio .studio-portfolio-distribution[data-studio-focus] .studio-portfolio-distribution__tooltip{opacity:1}
/* Workload selectors and donut remain mutually reactive and subdued. */
#dashboard-view.dashboard-studio .studio-workload-chart__selector[aria-pressed="true"]{
 background:#edf4ff!important;border-color:#c8d9fc!important
}
#dashboard-view.dashboard-studio .studio-workload-progress__segment{transition:filter .25s,opacity .25s,transform .25s!important}
#dashboard-view.dashboard-studio .studio-workload-progress:hover .studio-workload-progress__segment{filter:saturate(1.1)!important}
#dashboard-view.dashboard-studio .studio-workload-chart:has(.studio-workload-chart__selector--open:is(:hover,:focus-visible)) .studio-workload-progress__segment:not(.studio-workload-progress__segment--open),
#dashboard-view.dashboard-studio .studio-workload-chart:has(.studio-workload-chart__selector--today:is(:hover,:focus-visible)) .studio-workload-progress__segment:not(.studio-workload-progress__segment--today),
#dashboard-view.dashboard-studio .studio-workload-chart:has(.studio-workload-chart__selector--overdue:is(:hover,:focus-visible)) .studio-workload-progress__segment:not(.studio-workload-progress__segment--overdue){opacity:.3!important}
/* Notes: the selected preview is white, not an AI-gray slab. */
#dashboard-view.dashboard-studio .studio-notes-explorer__preview,
#dashboard-view.dashboard-studio .studio-notes-explorer__body .studio-notes-explorer__preview{
 background:#fff!important;border:1px solid #e1eafb!important;
 box-shadow:0 5px 13px rgba(29,68,147,.035)!important
}
#dashboard-view.dashboard-studio .studio-notes-explorer__preview:is(:hover,:focus-within){
 border-color:#c8d9fc!important;background:#fff!important;box-shadow:0 9px 22px rgba(29,68,147,.07)!important
}
/* One small consistent destination button anchored bottom/right.
 * Parent card buttons remain valid HTML (no nested actionable buttons). */
#dashboard-view.dashboard-studio :is(.studio-open-footer__link,.dashboard-quick-card__more,.studio-notes-explorer__more,.dashboard-work-hours__link,.studio-metric-link){
 align-self:flex-end!important;justify-self:end!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:37px!important;width:auto!important;max-width:100%!important;
 padding:8px 14px!important;margin:0!important;
 border:1px solid #dbe5f6!important;border-radius:10px!important;
 background:#fff!important;color:#0e2166!important;font:500 12px/1.3 Poppins,sans-serif!important;
 box-shadow:none!important;text-align:center!important;white-space:normal!important;
 transition:transform .2s,background-color .2s,border-color .2s,box-shadow .2s!important
}
#dashboard-view.dashboard-studio :is(.studio-open-footer__link,.dashboard-quick-card__more,.studio-notes-explorer__more,.dashboard-work-hours__link,.studio-metric-link):is(:hover,:focus-visible),
#dashboard-view.dashboard-studio .dashboard-quick-card:hover>.dashboard-quick-card__more,
#dashboard-view.dashboard-studio .dashboard-business-card:hover .studio-open-footer__link{
 background:#f6f9ff!important;border-color:#c8d9fc!important;box-shadow:0 6px 16px rgba(14,33,102,.055)!important;transform:translateY(-2px)!important
}
#dashboard-view.dashboard-studio .studio-open-footer{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:12px!important}
#dashboard-view.dashboard-studio .studio-open-footer__track{align-self:stretch;width:100%!important}
#dashboard-view.dashboard-studio .dashboard-workspace .studio-metric-footer{display:flex!important;justify-content:flex-end!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important}
#dashboard-view.dashboard-studio .dashboard-workspace .studio-metric-status{margin-right:auto!important}
#dashboard-view.dashboard-studio .studio-changelog-footer{display:flex!important;justify-content:flex-end!important}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-footer .dashboard-quick-card__more{
 position:static!important;min-height:37px!important;padding:8px 14px!important
}
#dashboard-view.dashboard-studio .dashboard-quick-card--guides>.dashboard-quick-card__more{align-self:flex-end!important}
#dashboard-view.dashboard-studio .dashboard-team-kpis__toggle{
 border:1px solid #dbe5f6!important;border-radius:10px!important;background:#fff!important;
 color:#0e2166!important;font:500 12px Poppins,sans-serif!important
}
#dashboard-view.dashboard-studio .dashboard-team-kpis__summary:is(:hover,:focus-visible) .dashboard-team-kpis__toggle{
 border-color:#c8d9fc!important;background:#f6f9ff!important;box-shadow:0 6px 16px rgba(14,33,102,.055)!important
}
#dashboard-view.dashboard-studio .dashboard-team-kpis__heading::before{
 background:#0e2166!important;box-shadow:0 5px 12px rgba(14,33,102,.095)!important;color:white!important
}
/* Guide gallery: 3 columns, nine actionable real guides without growing the card. */
#dashboard-view.dashboard-studio .dashboard-quick-card--guides{container-type:inline-size;display:flex!important;flex-direction:column!important;min-width:0}
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-gallery{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 align-content:start!important;align-items:stretch!important;gap:8px!important;
 max-height:280px!important;overflow:auto!important;scrollbar-width:thin;
 padding:2px!important;min-width:0!important
}
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile{
 display:flex!important;flex-direction:column!important;justify-content:space-between!important;
 min-width:0!important;min-height:74px!important;max-height:94px!important;gap:4px!important;
 padding:10px!important;border:1px solid #e3eafa!important;border-radius:12px!important;
 background:#fff!important;color:#263b59!important
}
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile__number{
 display:inline-flex!important;align-items:center!important;color:#4078df!important;font:650 11px Poppins,sans-serif!important
}
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile .dashboard-quick-card__item-copy{display:block!important;min-width:0!important}
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile .dashboard-quick-card__item-title{
 display:block!important;white-space:normal!important;overflow:hidden!important;
 font:600 11px/1.3 Poppins,sans-serif!important;max-height:30px
}
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile .dashboard-quick-card__item-meta{display:none!important}
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile__launch{display:none!important}
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile:nth-child(5n + 1){
 background:#f1f6ff!important
}
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile:nth-child(5n + 4){background:#f8faff!important}
@container(max-width:360px){
 #dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:286px!important}
}
#dashboard-view.dashboard-studio .dashboard-work-hours__chart:has(.dashboard-work-hours__hour:is(:hover,:focus-visible)) .dashboard-work-hours__hour:not(:hover):not(:focus-visible) .dashboard-work-hours__bar{opacity:.3!important;filter:saturate(.65)!important}
#dashboard-view.dashboard-studio .dashboard-work-hours__hour .dashboard-work-hours__bar{transition:opacity .22s,filter .22s,transform .22s!important}
/* Scroll-local reveal, never full-page animation. Added only when observers exist. */
#dashboard-view.dashboard-studio [data-scroll-reveal="pending"]{opacity:.66;transform:translateY(11px);transition:opacity .54s cubic-bezier(.22,.8,.25,1),transform .54s cubic-bezier(.22,.8,.25,1)!important}
#dashboard-view.dashboard-studio [data-scroll-reveal="visible"]{opacity:1;transform:none;transition:opacity .54s cubic-bezier(.22,.8,.25,1),transform .54s cubic-bezier(.22,.8,.25,1)!important}
#dashboard-view.dashboard-studio [data-scroll-reveal="pending"] :is(.studio-trend-bar,.studio-open-values__fill){animation-play-state:paused!important}
#dashboard-view.dashboard-studio [data-scroll-reveal="visible"] :is(.studio-trend-bar,.studio-open-values__fill){animation-play-state:running!important}
@media(max-width:760px){
 #signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar .sfera-dashboard-topbar-tools{gap:5px!important;margin-right:6px!important}
 #signed-in .app-topbar .sfera-dashboard-topbar-tools>button{width:33px!important;height:33px!important;min-width:33px!important;max-width:33px!important;min-height:33px!important;max-height:33px!important}
 #dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-gallery{gap:7px!important}
}
@media(max-width:420px){
 #signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar .sfera-dashboard-topbar-label{margin-left:4px!important;font-size:12px!important}
 #signed-in .app-topbar .sfera-dashboard-topbar-tools>button{width:31px!important;height:31px!important;min-width:31px!important;max-width:31px!important;min-height:31px!important;max-height:31px!important}
}
@media(prefers-reduced-motion:reduce){
 #dashboard-view.dashboard-studio [data-scroll-reveal]{opacity:1!important;transform:none!important;transition:none!important}
 #dashboard-view.dashboard-studio .dashboard-canvas *{transition:none!important;animation:none!important}
}

/* Keep the hover reference authoritative, even for pastel guide tiles. */
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile:is(:hover,:focus-visible){
 background:#f6f9ff!important;border-color:#c8d9fc!important;
 box-shadow:0 6px 16px rgba(14,33,102,.055)!important;transform:translateY(-2px)!important
}
#dashboard-view.dashboard-studio .dashboard-team-kpis__title{font-weight:615!important;color:#17243d!important}
#dashboard-view.dashboard-studio .dashboard-team-kpis__toggle-label{font:500 12px Poppins,sans-serif!important;color:#0e2166!important}
#dashboard-view.dashboard-studio .dashboard-team-kpis__heading::before{
 background-color:#0e2166!important;color:#fff!important;border-radius:12px!important
}
