/* Sfera Studio v1.107.0 — Nexlink's breathing room, Basalt's quiet interactions. */
#dashboard-view.dashboard-studio{--v4-ink:#172b47;--v4-border:#e5eaf1;font-family:Poppins,sans-serif!important;background:#f5f7fa!important}
#dashboard-view.dashboard-studio *{box-sizing:border-box}
#dashboard-view.dashboard-studio .dashboard-canvas{width:calc(100% - clamp(24px,3vw,48px))!important;max-width:1580px!important;display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:clamp(13px,1.3vw,20px)!important;align-items:stretch!important}
#dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-welcome,
#dashboard-view.dashboard-studio .dashboard-canvas>#dashboard-warning,
#dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-quick-actions,
#dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-section--resources,
#dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-team-kpis{grid-column:1/-1!important}
#dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-workspace{grid-column:span 8!important;min-width:0;align-self:stretch}
#dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-daily-dock{grid-column:span 4!important;min-width:0;align-self:stretch;min-height:0!important}
#dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-section--portfolio{grid-column:span 7!important;min-width:0;align-self:stretch}
#dashboard-view.dashboard-studio .dashboard-canvas>.studio-workload-chart:not([hidden]){grid-column:span 5!important;min-width:0;align-self:stretch;margin:0!important}
#dashboard-view.dashboard-studio .dashboard-workspace{display:flex!important;flex-direction:column;min-width:0}
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-widgets{flex:1;align-content:stretch}
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card{min-height:145px!important;height:100%;min-width:0}
#dashboard-view.dashboard-studio .dashboard-daily-dock{display:flex!important;flex-direction:column}
#dashboard-view.dashboard-studio .dashboard-daily-widgets{flex:1}
#dashboard-view.dashboard-studio .dashboard-daily-widgets>.dashboard-metric-card{min-height:0!important}
#dashboard-view.dashboard-studio .dashboard-section-heading h2,
#dashboard-view.dashboard-studio .dashboard-section-heading--inverse h2,
#dashboard-view.dashboard-studio .dashboard-section--portfolio .dashboard-section-heading h2{font-family:Poppins,sans-serif!important;font-size:clamp(18px,1.48vw,22px)!important;line-height:1.32!important;font-weight:700!important;letter-spacing:-.03em!important}
#dashboard-view.dashboard-studio .dashboard-workspace,
#dashboard-view.dashboard-studio .dashboard-daily-dock,
#dashboard-view.dashboard-studio .dashboard-section--portfolio,
#dashboard-view.dashboard-studio .studio-workload-chart:not([hidden]){border:1px solid var(--v4-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 6px 24px rgba(16,38,79,.035)!important}
#dashboard-view.dashboard-studio .studio-workload-chart__heading strong{font-size:18px;font-family:Poppins,sans-serif}
@media(min-width:901px){
 #dashboard-view.dashboard-studio .dashboard-workspace [data-dashboard-item="tasks-open"] .studio-metric-status,
 #dashboard-view.dashboard-studio .dashboard-workspace [data-dashboard-item="tasks-due-today"] .studio-metric-status,
 #dashboard-view.dashboard-studio .dashboard-workspace [data-dashboard-item="tasks-overdue"] .studio-metric-status{display:none!important}
}
/* Task action: the previous full-card blue becomes the pictogram tint, inversely. */
#dashboard-view.dashboard-studio #dashboard-new-task.dashboard-quick-actions__btn--task-refined{background:#167dc3!important;background-image:none!important;color:#fff!important;border:1px solid #167dc3!important;box-shadow:0 7px 18px rgba(14,122,195,.16)!important}
#dashboard-view.dashboard-studio #dashboard-new-task .dashboard-quick-actions__label{color:#fff!important}
#dashboard-view.dashboard-studio #dashboard-new-task .dashboard-quick-actions__icon,
#dashboard-view.dashboard-studio #dashboard-new-task :is(.dashboard-quick-actions__launch,.dashboard-quick-actions__arrow){background:rgba(255,255,255,.17)!important;color:#fff!important;border:0!important;box-shadow:none!important}
#dashboard-view.dashboard-studio #dashboard-new-task.dashboard-quick-actions__btn--task-refined:is(:hover,:focus-visible){background:#106aa8!important;border-color:#106aa8!important;transform:translateY(-2px)!important}
/* Changelog: let the full update text and "Tutte le novità" occupy natural height. */
#dashboard-view.dashboard-studio .dashboard-analytics>.dashboard-quick-card--changelog{min-width:0!important;min-height:392px!important;max-height:none!important;height:auto!important;overflow:visible!important;grid-column:span 6!important;align-self:stretch}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-body,
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list{overflow:visible!important;max-height:none!important;height:auto!important}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-item__text{display:block!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;-webkit-line-clamp:unset!important;max-height:none!important;overflow-wrap:anywhere!important}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-footer,
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__more{min-width:0!important;max-width:100%!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important}
/* Notes: deliberate navigator/preview split, no AI-style left stripe. */
#dashboard-view.dashboard-studio .dashboard-analytics>.studio-notes-explorer{display:flex!important;flex-direction:column!important;min-width:0;min-height:360px;padding:22px!important;border:1px solid var(--v4-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 6px 24px rgba(16,38,79,.035)!important;container-type:inline-size}
#dashboard-view.dashboard-studio .studio-notes-explorer::before,
#dashboard-view.dashboard-studio .studio-notes-explorer__preview::before{content:none!important;display:none!important}
#dashboard-view.dashboard-studio .studio-notes-explorer .dashboard-quick-card__header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:0 0 16px!important;margin:0 0 15px!important;border-bottom:1px solid #edf0f4!important}
#dashboard-view.dashboard-studio .studio-notes-explorer .dashboard-quick-card__header>div:first-child{display:flex;align-items:baseline;gap:11px;flex-wrap:wrap}
#dashboard-view.dashboard-studio .studio-notes-explorer .dashboard-quick-card__title{font:700 21px Poppins,sans-serif!important;letter-spacing:-.03em}
#dashboard-view.dashboard-studio .studio-notes-explorer__count{font-size:11px;font-weight:500;color:#73859b}
#dashboard-view.dashboard-studio .studio-notes-explorer .dashboard-quick-card__visual{background:#eef3f8!important;color:#446989!important;border:0!important}
#dashboard-view.dashboard-studio .studio-notes-explorer__body{display:grid!important;grid-template-columns:minmax(145px,.85fr) minmax(0,1.15fr);gap:14px;min-width:0;flex:1;padding:0!important;margin:0!important;border:0!important;background:none!important}
#dashboard-view.dashboard-studio .studio-notes-explorer__navigation{display:grid;gap:5px;align-content:start;min-width:0}
#dashboard-view.dashboard-studio .studio-notes-explorer__tab{display:flex;gap:10px;align-items:center;width:100%;min-width:0;min-height:55px;padding:10px;border:1px solid transparent!important;border-radius:11px;background:transparent!important;text-align:left;cursor:pointer;transition:background .22s,transform .22s,border-color .22s}
#dashboard-view.dashboard-studio .studio-notes-explorer__tab:hover{background:#f6f8fb!important;transform:translateX(2px)}
#dashboard-view.dashboard-studio .studio-notes-explorer__tab[aria-pressed="true"]{background:#eef5fc!important;border-color:#e2eaf2!important}
#dashboard-view.dashboard-studio .studio-notes-explorer__tab-number{font:600 12px Poppins,sans-serif;color:#91a3b7}
#dashboard-view.dashboard-studio .studio-notes-explorer__tab-copy{display:grid;gap:3px;min-width:0;flex:1}
#dashboard-view.dashboard-studio .studio-notes-explorer__tab-copy strong{color:#1b304c;font:600 12px/1.4 Poppins,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dashboard-view.dashboard-studio .studio-notes-explorer__tab-copy small{color:#8394a6;font-size:10px}
#dashboard-view.dashboard-studio .studio-notes-explorer__tab-arrow{color:#7f98af;font-size:12px}
#dashboard-view.dashboard-studio .studio-notes-explorer__preview{display:flex;flex-direction:column;align-items:start;gap:12px;min-width:0;min-height:242px;padding:21px;background:#f6f8fb!important;border:1px solid #eef2f6!important;border-radius:15px}
#dashboard-view.dashboard-studio .studio-notes-explorer__preview-eyebrow{color:#71869b;font-size:10px;letter-spacing:.09em;font-weight:600}
#dashboard-view.dashboard-studio .studio-notes-explorer__preview-title{font:700 clamp(17px,1.5vw,22px)/1.35 Poppins,sans-serif;color:#172b47;overflow-wrap:anywhere}
#dashboard-view.dashboard-studio .studio-notes-explorer__preview-copy{margin:0;color:#667c90;font:400 12px/1.65 Poppins,sans-serif;min-height:42px;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#dashboard-view.dashboard-studio .studio-notes-explorer__preview-open{margin-top:auto;border:0;border-radius:10px;padding:9px 13px;background:#fff;color:#0e77b7;font:600 11px Poppins,sans-serif;cursor:pointer;transition:transform .2s,box-shadow .2s}
#dashboard-view.dashboard-studio .studio-notes-explorer__preview-open:hover{transform:translateY(-2px);box-shadow:0 4px 14px rgba(25,60,90,.1)}
#dashboard-view.dashboard-studio .studio-notes-explorer__more{align-self:end;margin-top:13px!important;color:#0a75b7!important;white-space:normal!important}
#dashboard-view.dashboard-studio .studio-notes-explorer__empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:210px;background:#f7f9fc;border-radius:15px;padding:22px;text-align:center}
#dashboard-view.dashboard-studio .studio-notes-explorer__empty-icon{color:#6790b3;font-size:28px}
#dashboard-view.dashboard-studio .studio-notes-explorer__empty strong{color:#1b304c;font-size:15px}
#dashboard-view.dashboard-studio .studio-notes-explorer__empty p{color:#74879b;font-size:12px;margin:0}
#dashboard-view.dashboard-studio .studio-notes-explorer__empty-action{padding:10px 14px;border:0;border-radius:10px;background:#e6f2fc;color:#146fa6;font:600 11px Poppins,sans-serif;cursor:pointer}
/* Hours panel, polished Basalt-like hourly chart. */
#dashboard-view.dashboard-studio .dashboard-analytics>.dashboard-work-hours{grid-column:span 6!important;min-width:0;min-height:392px}
#dashboard-view.dashboard-studio .dashboard-work-hours{display:flex;flex-direction:column;gap:17px;align-items:stretch;padding:22px!important;background:#fff!important;border:1px solid var(--v4-border)!important;border-radius:18px!important;box-shadow:0 6px 24px rgba(16,38,79,.035)!important}
#dashboard-view.dashboard-studio .dashboard-work-hours__heading{display:flex;align-items:start;justify-content:space-between;gap:10px}
#dashboard-view.dashboard-studio .dashboard-work-hours__heading h3{margin:0;color:#172b47;font:700 20px/1.35 Poppins,sans-serif;letter-spacing:-.03em}
#dashboard-view.dashboard-studio .dashboard-work-hours__heading p{margin:4px 0 0;color:#8395a6;font-size:11px}
#dashboard-view.dashboard-studio .dashboard-work-hours__icon{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;background:#e7f5f0;border-radius:10px;color:#168d78;font-size:22px}
#dashboard-view.dashboard-studio .dashboard-work-hours__total{font:700 clamp(32px,3vw,44px)/1.05 Poppins,sans-serif;color:#172b47;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
#dashboard-view.dashboard-studio .dashboard-work-hours__total small{font-size:13px;font-weight:450;color:#8596a6;letter-spacing:0}
#dashboard-view.dashboard-studio .dashboard-work-hours__chart{display:flex;align-items:end;justify-content:space-around;gap:8px;height:142px;padding:0 2px 8px;border-bottom:1px solid #edf1f5;overflow-x:auto}
#dashboard-view.dashboard-studio .dashboard-work-hours__hour{display:flex;flex:1;max-width:43px;min-width:28px;height:100%;flex-direction:column;justify-content:end;gap:8px;align-items:center;border:0!important;padding:0!important;background:transparent!important;cursor:pointer}
#dashboard-view.dashboard-studio .dashboard-work-hours__bar{display:block;width:100%;max-width:29px;min-height:5px;border-radius:7px 7px 3px 3px;background:#9cd5cb;transition:background .2s,transform .2s}
#dashboard-view.dashboard-studio .dashboard-work-hours__hour:is(:hover,:focus-visible) .dashboard-work-hours__bar,
#dashboard-view.dashboard-studio .dashboard-work-hours__hour[aria-pressed="true"] .dashboard-work-hours__bar{background:#198e7b;transform:scaleX(1.07)}
#dashboard-view.dashboard-studio .dashboard-work-hours__hour-label{color:#74889c;font:600 10px Poppins,sans-serif;white-space:nowrap}
#dashboard-view.dashboard-studio .dashboard-work-hours__detail{margin:0;min-height:20px;color:#6e8194;font-size:11px}
#dashboard-view.dashboard-studio .dashboard-work-hours__footer{margin-top:auto;border-top:1px solid #edf1f5;padding-top:12px}
#dashboard-view.dashboard-studio .dashboard-work-hours__link{border:0;background:transparent;color:#0c76b6;font:600 12px Poppins,sans-serif;cursor:pointer;padding:5px 0}
#dashboard-view.dashboard-studio .dashboard-work-hours__empty{display:grid;place-items:center;flex:1;min-height:120px;color:#8293a5;font-size:12px;text-align:center;margin:0}
/* Shared top chrome: dashboard must not become white. */
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar{background:#132652!important;color:#eff5ff!important;border-bottom:1px solid rgba(165,197,244,.12)!important;box-shadow:none!important}
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar #collaboration-bell{background:rgba(255,255,255,.075)!important;border:1px solid rgba(192,216,255,.2)!important;color:#e8f3ff!important}
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar #account-menu-toggle.account-toggle{background:transparent!important;color:#eff5ff!important}
#signed-in .app-topbar #account-menu-toggle.account-toggle{height:46px;min-height:46px;padding:4px 8px 4px 4px;gap:10px;max-width:275px}
#signed-in .app-topbar #account-menu-toggle .account-toggle__avatar,
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar #account-menu-toggle .account-toggle__avatar{display:grid;place-items:center;position:relative;width:36px;height:36px;min-width:36px;flex:0 0 36px;background:rgba(255,255,255,.075)!important;background-image:none!important;border:1px solid rgba(192,216,255,.2)!important;border-radius:11px!important;color:transparent!important;font-size:0!important;transform:none!important}
#signed-in .app-topbar #account-menu-toggle .account-toggle__avatar::after{content:'';display:block;width:20px;height:20px;background-color:#e8f3ff;mask: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%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask: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%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E") center/contain no-repeat}
#signed-in .app-topbar #account-menu-toggle .account-toggle__identity{display:flex;min-width:0;flex-direction:column;align-items:start;justify-content:center;gap:3px}
#signed-in .app-topbar #account-menu-toggle .account-toggle__name{display:block!important;height:auto;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transform:none;font:650 12px/1.2 Poppins,sans-serif;color:#eff5ff!important}
#signed-in .app-topbar #account-menu-toggle .account-toggle__role{font:400 10px/1.15 Poppins,sans-serif;color:#aec1da}
#signed-in .app-topbar #account-menu-toggle .account-toggle__role::before{content:'Utente'}
html[data-crm-role="admin"] #signed-in .app-topbar #account-menu-toggle .account-toggle__role::before{content:'Admin'}
#signed-in #app-navigation.app-navigation>:is(a,button)[data-app-nav]{font-family:Poppins,sans-serif!important;font-size:12px!important;font-weight:500!important;height:40px;min-height:40px!important;flex-basis:40px;gap:12px!important;border:1px solid transparent!important;border-radius:11px!important;transition:background .22s,color .22s,transform .22s!important}
#signed-in #app-navigation.app-navigation>:is(a,button)[data-app-nav]:is([data-app-nav="projects"],[data-app-nav="support"],[data-app-nav="hub"]){margin-top:0!important}
#signed-in #app-navigation.app-navigation>:is(a,button)[data-app-nav][aria-current="page"]{background:rgba(255,255,255,.15)!important;border-color:transparent!important;box-shadow:none!important;color:#fff!important}
#signed-in #app-navigation.app-navigation>:is(a,button)[data-app-nav]:is(:hover,:focus-visible){background:rgba(255,255,255,.105)!important;border-color:transparent!important;transform:translateX(2px)}
#signed-in #app-navigation.app-navigation>:is(a,button)[data-app-nav]::before,
#signed-in #app-navigation.app-navigation>:is(a,button)[data-app-nav]::after{content:none!important;box-shadow:none!important}
#signed-in #app-navigation.app-navigation{gap:4px!important}
#signed-in .sfera-nav-label{font-family:Poppins,sans-serif!important}
@media(max-width:1170px) and (min-width:901px){
 #dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-workspace{grid-column:span 7!important}
 #dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-daily-dock{grid-column:span 5!important}
 #dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-section--portfolio,
 #dashboard-view.dashboard-studio .dashboard-canvas>.studio-workload-chart:not([hidden]){grid-column:span 6!important}
}
@media(max-width:900px){
 #dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-workspace,
 #dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-daily-dock,
 #dashboard-view.dashboard-studio .dashboard-canvas>.dashboard-section--portfolio,
 #dashboard-view.dashboard-studio .dashboard-canvas>.studio-workload-chart:not([hidden]){grid-column:1/-1!important}
 #dashboard-view.dashboard-studio .dashboard-canvas{width:calc(100% - 24px)!important}
 #dashboard-view.dashboard-studio .dashboard-daily-dock{min-height:260px!important}
}
@container(max-width:560px){
 #dashboard-view.dashboard-studio .studio-notes-explorer__body{grid-template-columns:1fr!important}
 #dashboard-view.dashboard-studio .studio-notes-explorer__navigation{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:670px){
 #dashboard-view.dashboard-studio .dashboard-analytics>.dashboard-quick-card--changelog,
 #dashboard-view.dashboard-studio .dashboard-analytics>.dashboard-work-hours{grid-column:1/-1!important}
 #dashboard-view.dashboard-studio .dashboard-work-hours{padding:18px!important}
 #signed-in .app-topbar #account-menu-toggle .account-toggle__identity{display:none!important}
 #signed-in .app-topbar #account-menu-toggle.account-toggle{padding:4px!important}
}
@media(max-width:380px){#dashboard-view.dashboard-studio .studio-notes-explorer__navigation{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#dashboard-view.dashboard-studio .studio-notes-explorer__tab,#dashboard-view.dashboard-studio .studio-notes-explorer__preview-open,#signed-in #app-navigation.app-navigation>:is(a,button)[data-app-nav]{transition:none!important;transform:none!important}}
