/* Native team dashboard: styles only apply inside its tab panel. */
#teamDashboardView{--nte-bg:var(--bg);--nte-panel:var(--white);--nte-panel2:var(--surface-raised,var(--bg));--nte-text:var(--ink);--nte-muted:var(--muted);--nte-line:var(--line);--nte-primary:var(--green);--nte-primary-bg:var(--mint);--nte-green:#187a5d;--nte-green-bg:#e3f3ec;--nte-amber:var(--amber);--nte-amber-bg:#fcf1df;--nte-red:var(--red);--nte-red-bg:#fbe9ee;--nte-blue:#4078bc;--nte-shadow:var(--shadow);--nte-radius:18px;font-family:inherit;color:var(--ink);font-size:14px;line-height:1.5;min-width:0}
html[data-theme="dark"] #teamDashboardView{--nte-green:#77d4b0;--nte-green-bg:#213e37;--nte-amber-bg:#443724;--nte-red-bg:#432a36;--nte-blue:#8bb8f5}
#teamDashboardView *{box-sizing:border-box}
#teamDashboardView button,#teamDashboardView input,#teamDashboardView select{font:inherit}
#teamDashboardView button{cursor:pointer}
#teamDashboardView button,#teamDashboardView a,#teamDashboardView input,#teamDashboardView select{-webkit-tap-highlight-color:transparent}
#teamDashboardView button{touch-action:manipulation;color:inherit}
#teamDashboardView button:disabled{cursor:wait;opacity:.55}
#teamDashboardView button:focus-visible,#teamDashboardView input:focus-visible,#teamDashboardView select:focus-visible,#teamDashboardView a:focus-visible{outline:3px solid var(--nte-primary);outline-offset:4px}
#teamDashboardView svg{display:block}
#teamDashboardView h1,#teamDashboardView h2,#teamDashboardView h3,#teamDashboardView p{margin:0}
#teamDashboardView button svg{width:17px;height:17px;flex:none}
#teamDashboardView .nte-page{width:100%;padding:0 26px 28px}
#teamDashboardView .nte-topbar{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--nte-line)}
#teamDashboardView .nte-brand{display:flex;align-items:center;gap:13px}
#teamDashboardView .nte-brand-mark{width:36px;height:36px;background:var(--nte-primary);color:var(--nte-bg);display:grid;place-items:center;border-radius:11px}
#teamDashboardView .nte-brand-mark svg{width:25px;height:25px}
#teamDashboardView .nte-brand-name{font-size:28px;letter-spacing:-1.7px;font-weight:850}
#teamDashboardView .nte-brand-divider{width:1px;height:24px;background:var(--nte-line);margin:0 8px}
#teamDashboardView .nte-brand-caption{color:var(--nte-muted);font-size:12px}
#teamDashboardView .nte-top-actions{display:flex;align-items:center;gap:9px}
#teamDashboardView .nte-demo-badge{font-size:11px;font-weight:650;letter-spacing:.15px;padding:6px 10px;border-radius:7px;background:var(--nte-primary-bg);color:var(--nte-primary);white-space:nowrap}
#teamDashboardView .nte-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--nte-line);background:var(--nte-panel);padding:9px 13px;border-radius:10px;min-height:38px;font-size:12px;font-weight:650;white-space:nowrap}
#teamDashboardView .nte-btn:hover{background:var(--nte-panel2);border-color:var(--nte-primary)}
#teamDashboardView .nte-btn.primary{background:var(--nte-primary);color:var(--nte-bg);border-color:transparent}
#teamDashboardView .nte-icon-btn{width:37px;padding:0}
#teamDashboardView .nte-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:29px 0 24px}
#teamDashboardView .nte-eyebrow{font-size:10px;font-weight:750;letter-spacing:2.1px;color:var(--nte-primary);display:flex;align-items:center;gap:8px;margin-bottom:7px}
#teamDashboardView .nte-eyebrow:before{content:"";width:21px;height:2px;background:currentColor}
#teamDashboardView h1{font-size:clamp(27px,2.5vw,37px);line-height:1.2;font-weight:700;letter-spacing:-1.15px}
#teamDashboardView .nte-intro p{color:var(--nte-muted);font-size:13px;margin-top:8px}
#teamDashboardView .nte-intro-date{text-align:right;font-size:12px;color:var(--nte-muted)}
#teamDashboardView .nte-intro-date strong{display:block;color:var(--nte-text);font-size:15px;margin-bottom:4px;font-weight:600}
#teamDashboardView .nte-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;background:var(--nte-panel);border:1px solid var(--nte-line);border-radius:var(--nte-radius);padding:17px 18px;box-shadow:var(--nte-shadow)}
#teamDashboardView .nte-field{display:flex;flex-direction:column;gap:6px;min-width:135px}
#teamDashboardView .nte-field label{font-size:10px;letter-spacing:.6px;text-transform:uppercase;font-weight:700;color:var(--nte-muted)}
#teamDashboardView .nte-field input,#teamDashboardView .nte-field select{color:var(--nte-text);background:var(--nte-panel2);border:1px solid transparent;border-radius:9px;min-height:37px;padding:7px 10px;font-size:12px;max-width:100%}
#teamDashboardView .nte-field select{min-width:154px;padding-right:26px}
#teamDashboardView .nte-field input[type=date]{width:150px}
#teamDashboardView .nte-field input[type=time]{width:100px}
#teamDashboardView .nte-cutoff{border-left:1px solid var(--nte-line);padding-left:17px;display:flex;align-items:flex-end;gap:10px;margin-left:3px}
#teamDashboardView .nte-cutoff .nte-field{min-width:0}
#teamDashboardView .nte-range-wrap{display:flex;flex-direction:column;gap:7px;min-width:145px;padding-bottom:3px}
#teamDashboardView .nte-range-wrap small{font-size:10px;color:var(--nte-muted);text-align:center}
#teamDashboardView .nte-range-wrap input{width:145px;accent-color:var(--nte-primary);cursor:pointer;margin:0}
#teamDashboardView .nte-controls-end{margin-left:auto;display:flex;gap:8px}
#teamDashboardView .nte-scope-line{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:17px 2px 12px;color:var(--nte-muted);font-size:11px}
#teamDashboardView .nte-scope-line strong{color:var(--nte-text);font-weight:600}
#teamDashboardView .nte-scope-hint{display:flex;align-items:center;gap:6px}
#teamDashboardView .nte-scope-hint svg{width:14px;height:14px}
#teamDashboardView .nte-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
#teamDashboardView .nte-metric{border:1px solid var(--nte-line);background:var(--nte-panel);border-radius:var(--nte-radius);padding:18px 20px 16px;box-shadow:var(--nte-shadow);position:relative;overflow:hidden}
#teamDashboardView .nte-metric:before{content:"";position:absolute;left:0;top:21px;bottom:21px;width:3px;background:var(--nte-color,var(--nte-primary));border-radius:0 3px 3px 0}
#teamDashboardView .nte-metric-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:550;color:var(--nte-muted);gap:8px}
#teamDashboardView .nte-metric-icon{padding:7px;background:var(--nte-tint,var(--nte-primary-bg));color:var(--nte-color,var(--nte-primary));border-radius:10px}
#teamDashboardView .nte-metric-icon svg{width:18px;height:18px}
#teamDashboardView .nte-metric-number{display:flex;align-items:baseline;gap:4px;margin-top:5px;font-size:43px;font-weight:700;letter-spacing:-1.8px;line-height:1.2;font-variant-numeric:tabular-nums}
#teamDashboardView .nte-metric-number .nte-unit{font-size:24px;letter-spacing:-.6px}
#teamDashboardView .nte-metric-note{font-size:11px;color:var(--nte-muted);margin-top:8px;min-height:17px}
#teamDashboardView .nte-metric-note b{font-weight:600;color:var(--nte-text)}
#teamDashboardView .nte-metric-mini-track{height:4px;background:var(--nte-panel2);border-radius:4px;overflow:hidden;margin-top:13px}
#teamDashboardView .nte-metric-mini-track span{display:block;background:var(--nte-primary);height:100%;border-radius:4px;transition:width .25s}
#teamDashboardView .nte-metric-link{background:none;border:0;color:var(--nte-color);padding:0;font-size:11px;font-weight:600;margin-top:10px;text-align:left}
#teamDashboardView .nte-metric-link:hover{text-decoration:underline}
#teamDashboardView .nte-charts{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:17px;margin-top:18px}
#teamDashboardView .nte-panel{border:1px solid var(--nte-line);border-radius:var(--nte-radius);background:var(--nte-panel);box-shadow:var(--nte-shadow);overflow:hidden}
#teamDashboardView .nte-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:21px 22px 0}
#teamDashboardView .nte-panel-head h2{font-size:15px;font-weight:650;letter-spacing:-.15px}
#teamDashboardView .nte-panel-head p{font-size:11px;color:var(--nte-muted);margin-top:4px}
#teamDashboardView .nte-chart-value{font-size:24px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.7px;line-height:1}
#teamDashboardView .nte-chart-value small{font-size:11px;color:var(--nte-muted);font-weight:400;display:block;letter-spacing:0;margin-top:7px;text-align:right}
#teamDashboardView .nte-line-area{padding:12px 19px 0}
#teamDashboardView .nte-line-area svg{width:100%;height:203px;overflow:visible}
#teamDashboardView .nte-chart-footer{padding:5px 22px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--nte-muted);font-size:10px}
#teamDashboardView .nte-legend{display:flex;align-items:center;gap:7px}
#teamDashboardView .nte-legend i{width:7px;height:7px;border-radius:50%;background:var(--nte-primary);display:inline-block}
#teamDashboardView .nte-bar-chart{display:flex;align-items:flex-end;gap:9px;padding:20px 20px 0;min-height:224px}
#teamDashboardView .nte-bar-item{flex:1;min-width:0;border:0;padding:0;background:none;text-align:center;color:var(--nte-muted);display:flex;align-items:center;flex-direction:column;gap:9px;border-radius:8px}
#teamDashboardView .nte-bar-item:hover{background:var(--nte-panel2)}
#teamDashboardView .nte-bar-value{font-size:11px;color:var(--nte-text);font-weight:650}
#teamDashboardView .nte-bar-track{height:139px;display:flex;align-items:flex-end;background:var(--nte-panel2);width:100%;max-width:43px;border-radius:7px;overflow:hidden}
#teamDashboardView .nte-bar-fill{display:block;width:100%;height:var(--nte-height);background:var(--nte-primary);border-radius:6px;min-height:0;transition:height .25s}
#teamDashboardView .nte-bar-item.is-done .nte-bar-fill{background:var(--nte-green)}
#teamDashboardView .nte-bar-name{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;padding-bottom:13px}
#teamDashboardView .nte-bar-note{font-size:10px;color:var(--nte-muted);padding:8px 22px 17px}
#teamDashboardView .nte-lower{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:17px;margin-top:18px;align-items:start}
#teamDashboardView .nte-table-panel .nte-panel-head{padding-bottom:16px}
#teamDashboardView .nte-search{position:relative;width:190px}
#teamDashboardView .nte-search svg{width:15px;height:15px;position:absolute;top:10px;left:11px;color:var(--nte-muted)}
#teamDashboardView .nte-search input{background:var(--nte-panel2);border:1px solid transparent;border-radius:9px;padding:9px 10px 9px 34px;width:100%;font-size:11px;color:var(--nte-text)}
#teamDashboardView .nte-table-tools{display:flex;align-items:center;justify-content:space-between;padding:0 20px 14px;gap:15px}
#teamDashboardView .nte-chips{display:flex;gap:6px;flex-wrap:wrap}
#teamDashboardView .nte-chip{border:1px solid var(--nte-line);background:transparent;color:var(--nte-muted);font-size:10px;padding:6px 9px;border-radius:7px;white-space:nowrap}
#teamDashboardView .nte-chip[aria-pressed=true]{border-color:var(--nte-primary);background:var(--nte-primary-bg);color:var(--nte-primary)}
#teamDashboardView .nte-sort{border:0;background:transparent;color:var(--nte-muted);font-size:10px;max-width:160px;padding:5px;cursor:pointer}
#teamDashboardView .nte-table-scroll{width:100%;overflow:auto}
#teamDashboardView table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}
#teamDashboardView th{background:var(--nte-panel2);color:var(--nte-muted);font-size:9px;font-weight:650;letter-spacing:.7px;text-transform:uppercase;padding:13px 14px;border-bottom:1px solid var(--nte-line)}
#teamDashboardView td{padding:15px 14px;border-bottom:1px solid var(--nte-line);font-size:12px;font-variant-numeric:tabular-nums}
#teamDashboardView tbody tr:last-child td{border-bottom:0}
#teamDashboardView tbody tr:hover{background:color-mix(in srgb,var(--nte-panel2) 65%,transparent)}
#teamDashboardView th:first-child,#teamDashboardView td:first-child{padding-left:22px}
#teamDashboardView th:last-child,#teamDashboardView td:last-child{padding-right:20px}
#teamDashboardView .nte-person-btn{display:flex;align-items:center;gap:11px;border:0;background:none;padding:0;text-align:left}
#teamDashboardView .nte-avatar{width:35px;height:35px;border-radius:11px;background:var(--nte-av-bg);color:var(--nte-av);display:grid;place-items:center;flex:none;font-size:11px;font-weight:700;letter-spacing:.3px}
#teamDashboardView .nte-person-name{font-size:12px;font-weight:600;color:var(--nte-text);display:block}
#teamDashboardView .nte-person-meta{color:var(--nte-muted);font-size:10px;display:block;margin-top:3px}
#teamDashboardView .nte-numeric{text-align:center}
#teamDashboardView .nte-count-done{color:var(--nte-green);font-weight:650}
#teamDashboardView .nte-progress-cell{min-width:118px}
#teamDashboardView .nte-progress-top{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:11px}
#teamDashboardView .nte-progress-top strong{font-weight:600}
#teamDashboardView .nte-progress-track{height:5px;border-radius:5px;background:var(--nte-panel2);overflow:hidden;margin-top:8px;width:100%}
#teamDashboardView .nte-progress-track span{height:100%;background:var(--nte-primary);display:block;border-radius:5px}
#teamDashboardView .nte-progress-track.complete span{background:var(--nte-green)}
#teamDashboardView .nte-status-count{display:inline-flex;align-items:center;justify-content:center;min-width:25px;padding:3px 7px;border-radius:6px;background:var(--nte-red-bg);color:var(--nte-red);font-size:11px;font-weight:650}
#teamDashboardView .nte-status-count.clear{background:transparent;color:var(--nte-muted);font-weight:400}
#teamDashboardView .nte-time-value{font-weight:550;white-space:nowrap}
#teamDashboardView .nte-time-value.none{color:var(--nte-amber);font-size:11px}
#teamDashboardView .nte-open-person{border:1px solid var(--nte-line);border-radius:8px;width:28px;height:28px;display:grid;place-items:center;background:none;color:var(--nte-muted)}
#teamDashboardView .nte-open-person svg{width:13px;height:13px}
#teamDashboardView .nte-table-footer{padding:13px 22px;border-top:1px solid var(--nte-line);font-size:10px;display:flex;justify-content:space-between;gap:15px;color:var(--nte-muted)}
#teamDashboardView .nte-side-panel .nte-panel-head{padding:20px 18px 0}
#teamDashboardView .nte-age-body{padding:22px 18px 18px}
#teamDashboardView .nte-age-total{font-size:36px;letter-spacing:-1px;font-weight:650;line-height:1}
#teamDashboardView .nte-age-total small{font-size:11px;color:var(--nte-muted);display:block;font-weight:400;letter-spacing:0;margin-top:7px}
#teamDashboardView .nte-age-stack{height:10px;display:flex;overflow:hidden;border-radius:5px;gap:3px;background:var(--nte-panel2);margin:18px 0 19px}
#teamDashboardView .nte-age-stack span{height:100%;min-width:0}
#teamDashboardView .nte-age-list{display:grid;gap:8px}
#teamDashboardView .nte-age-row{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid transparent;background:transparent;border-radius:9px;padding:8px 7px;font-size:11px;text-align:left}
#teamDashboardView .nte-age-row:hover{background:var(--nte-panel2)}
#teamDashboardView .nte-age-row.active{border-color:var(--nte-primary)}
#teamDashboardView .nte-age-row>span{display:flex;align-items:center;gap:7px;color:var(--nte-muted)}
#teamDashboardView .nte-age-row i{height:6px;width:6px;border-radius:50%;background:var(--nte-age-color)}
#teamDashboardView .nte-age-row strong{font-size:13px;font-weight:600}
#teamDashboardView .nte-side-divider{height:1px;background:var(--nte-line);margin:18px 0}
#teamDashboardView .nte-small-note{font-size:10px;color:var(--nte-muted);line-height:1.7}
#teamDashboardView .nte-small-note strong{color:var(--nte-text);font-weight:550}
#teamDashboardView .nte-time-callout{display:flex;align-items:flex-start;gap:10px;padding:12px;background:var(--nte-amber-bg);border-radius:10px;margin-top:10px;font-size:11px;line-height:1.6}
#teamDashboardView .nte-time-callout svg{color:var(--nte-amber);width:18px;height:18px;flex:none;margin-top:2px}
#teamDashboardView .nte-time-callout strong{display:block;font-weight:650;color:var(--nte-amber);margin-bottom:3px}
#teamDashboardView .nte-page-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 2px 0;font-size:10px;color:var(--nte-muted)}
#teamDashboardView .nte-page-footer strong{color:var(--nte-primary);font-weight:600}
#teamDashboardView .nte-empty{padding:35px;text-align:center;color:var(--nte-muted);font-size:12px}
#teamDashboardView .nte-empty strong{display:block;color:var(--nte-text);font-size:14px;margin-bottom:6px}
#teamDashboardView [hidden]{display:none!important}
#teamDashboardView dialog{width:min(850px,calc(100% - 28px));max-height:90vh;padding:0;background:var(--nte-panel);color:var(--nte-text);border:1px solid var(--nte-line);border-radius:21px;box-shadow:0 30px 100px #0006}
#teamDashboardView dialog::backdrop{background:#080b176b;backdrop-filter:blur(5px)}
#teamDashboardView .nte-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:1px solid var(--nte-line);padding:23px 25px;background:var(--nte-panel);position:sticky;top:0;z-index:2}
#teamDashboardView .nte-dialog-header h2{font-size:22px;letter-spacing:-.6px;font-weight:650}
#teamDashboardView .nte-dialog-header p{font-size:11px;color:var(--nte-muted);margin-top:5px}
#teamDashboardView .nte-dialog-body{padding:22px 25px 26px}
#teamDashboardView .nte-detail-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:21px}
#teamDashboardView .nte-detail-metric{background:var(--nte-panel2);border-radius:11px;padding:13px}
#teamDashboardView .nte-detail-metric span{font-size:10px;color:var(--nte-muted);display:block}
#teamDashboardView .nte-detail-metric strong{font-size:22px;font-weight:650;display:block;margin-top:6px;letter-spacing:-.6px}
#teamDashboardView .nte-detail-tabs{display:flex;gap:18px;border-bottom:1px solid var(--nte-line);margin-bottom:15px}
#teamDashboardView .nte-detail-tabs button{border:0;border-bottom:2px solid transparent;padding:10px 0;background:transparent;color:var(--nte-muted);font-size:12px;font-weight:600}
#teamDashboardView .nte-detail-tabs button[aria-pressed=true]{border-bottom-color:var(--nte-primary);color:var(--nte-primary)}
#teamDashboardView .nte-detail-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--nte-line)}
#teamDashboardView .nte-detail-row:last-child{border:0}
#teamDashboardView .nte-detail-row h3{font-size:12px;font-weight:550}
#teamDashboardView .nte-detail-row p{font-size:10px;color:var(--nte-muted);margin-top:4px}
#teamDashboardView .nte-detail-status{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:4px 7px;font-size:10px;white-space:nowrap}
#teamDashboardView .nte-detail-status.done{color:var(--nte-green);background:var(--nte-green-bg)}
#teamDashboardView .nte-detail-status.late{color:var(--nte-red);background:var(--nte-red-bg)}
#teamDashboardView .nte-detail-status.pending{color:var(--nte-muted);background:var(--nte-panel2)}
#teamDashboardView .nte-detail-context{font-size:11px;color:var(--nte-muted);margin-bottom:14px;line-height:1.7}
#teamDashboardView .nte-help-body{display:grid;gap:17px}
#teamDashboardView .nte-help-body h3{font-size:13px;margin-bottom:5px}
#teamDashboardView .nte-help-body p{font-size:12px;color:var(--nte-muted);line-height:1.8}
#teamDashboardView .nte-toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;z-index:9;border:1px solid var(--nte-line);border-radius:11px;background:var(--nte-panel2);color:var(--nte-text);font-size:12px;padding:12px 19px;box-shadow:var(--nte-shadow);transition:.2s;max-width:90vw;text-align:center}
#teamDashboardView .nte-toast.show{opacity:1;transform:translate(-50%,0)}
#teamDashboardView .nte-screen-reader{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1750px){#teamDashboardView .nte-page{padding-left:30px;padding-right:30px}
#teamDashboardView .nte-metrics{gap:18px}
#teamDashboardView .nte-metric{padding:20px 24px}
#teamDashboardView .nte-metric-number{font-size:48px}
#teamDashboardView .nte-charts{grid-template-columns:1.4fr 1fr}
#teamDashboardView .nte-lower{grid-template-columns:minmax(0,1fr) 310px}
#teamDashboardView td{padding-top:17px;padding-bottom:17px}
#teamDashboardView .nte-bar-chart{gap:17px;padding-left:30px;padding-right:30px}}
@media(max-width:1250px){#teamDashboardView .nte-lower{grid-template-columns:minmax(0,1fr)}
#teamDashboardView .nte-side-panel{display:grid;grid-template-columns:240px 1fr}
#teamDashboardView .nte-side-panel .nte-panel-head{grid-column:1;padding-bottom:15px}
#teamDashboardView .nte-age-body{grid-column:2;grid-row:1;display:grid;grid-template-columns:190px 1fr;gap:0 20px;padding:18px}
#teamDashboardView .nte-age-list{grid-column:2;grid-row:1/4}
#teamDashboardView .nte-age-stack{grid-column:1;margin:12px 0}
#teamDashboardView .nte-side-divider{display:none}
#teamDashboardView .nte-small-note{grid-column:1}
#teamDashboardView .nte-time-callout{grid-column:2;margin-top:8px}
#teamDashboardView .nte-controls-end{margin-left:0}
#teamDashboardView .nte-metric{padding:17px}
#teamDashboardView .nte-metric-number{font-size:37px}
#teamDashboardView .nte-charts{grid-template-columns:1.3fr 1fr}
#teamDashboardView .nte-cutoff{margin-left:auto}
#teamDashboardView .nte-brand-caption{display:none}}
@media(max-width:900px){#teamDashboardView .nte-page{padding:0 18px 22px}
#teamDashboardView .nte-topbar{min-height:72px}
#teamDashboardView .nte-intro{padding:23px 0}
#teamDashboardView .nte-intro-date{display:none}
#teamDashboardView .nte-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#teamDashboardView .nte-charts{grid-template-columns:1fr}
#teamDashboardView .nte-bar-chart{gap:15px}
#teamDashboardView .nte-bar-track{max-width:48px}
#teamDashboardView .nte-bar-note{padding-top:4px}
#teamDashboardView .nte-cutoff{margin-left:0}
#teamDashboardView .nte-controls-end{margin-left:auto}
#teamDashboardView .nte-scope-hint{display:none}
#teamDashboardView .nte-metric-number{font-size:42px}
#teamDashboardView .nte-table-tools{flex-wrap:wrap}
#teamDashboardView .nte-side-panel{display:block}
#teamDashboardView .nte-side-panel .nte-panel-head{padding-bottom:0}
#teamDashboardView .nte-age-body{display:block;padding:18px}
#teamDashboardView .nte-age-list{grid-template-columns:repeat(3,1fr)}
#teamDashboardView .nte-age-stack{margin:15px 0}
#teamDashboardView .nte-small-note{margin-top:12px}
#teamDashboardView .nte-time-callout{margin-top:14px}
#teamDashboardView .nte-table-panel .nte-panel-head{flex-wrap:wrap}
#teamDashboardView .nte-search{width:190px}}
@media(max-width:600px){#teamDashboardView .nte-page{padding:0 13px 20px}
#teamDashboardView .nte-topbar{gap:10px;min-height:68px}
#teamDashboardView .nte-brand{gap:8px}
#teamDashboardView .nte-brand-name{font-size:24px}
#teamDashboardView .nte-brand-divider{display:none}
#teamDashboardView .nte-brand-mark{width:31px;height:31px}
#teamDashboardView .nte-top-actions{gap:6px}
#teamDashboardView .nte-top-actions .nte-btn .nte-desktop-text{display:none}
#teamDashboardView .nte-top-actions .nte-btn{padding:8px}
#teamDashboardView .nte-demo-badge{font-size:9px;padding:5px 7px}
#teamDashboardView .nte-intro p{max-width:300px;font-size:12px}
#teamDashboardView h1{font-size:27px;letter-spacing:-.9px}
#teamDashboardView .nte-controls{padding:13px;gap:13px;border-radius:14px}
#teamDashboardView .nte-field{width:calc(50% - 7px);min-width:0}
#teamDashboardView .nte-field select,#teamDashboardView .nte-field input[type=date]{width:100%;min-width:0}
#teamDashboardView .nte-cutoff{width:100%;padding:12px 0 0;border-left:0;border-top:1px solid var(--nte-line);gap:14px;justify-content:space-between}
#teamDashboardView .nte-cutoff .nte-field{width:auto}
#teamDashboardView .nte-range-wrap{flex:1;min-width:0}
#teamDashboardView .nte-range-wrap input{width:100%}
#teamDashboardView .nte-controls-end{width:100%;justify-content:space-between}
#teamDashboardView .nte-controls-end .nte-btn{flex:1}
#teamDashboardView .nte-metric{padding:14px 13px}
#teamDashboardView .nte-metric-label{font-size:10px;align-items:flex-start}
#teamDashboardView .nte-metric-icon{padding:5px}
#teamDashboardView .nte-metric-icon svg{width:15px;height:15px}
#teamDashboardView .nte-metric-number{font-size:32px;letter-spacing:-1.2px;margin-top:10px}
#teamDashboardView .nte-metric-number .nte-unit{font-size:19px}
#teamDashboardView .nte-metric-note{font-size:10px;min-height:30px}
#teamDashboardView .nte-metric-link{font-size:10px}
#teamDashboardView .nte-scope-line{font-size:10px;align-items:flex-start}
#teamDashboardView .nte-scope-line>span:last-child{white-space:nowrap}
#teamDashboardView .nte-panel-head{padding:18px 16px 0}
#teamDashboardView .nte-panel-head h2{font-size:14px}
#teamDashboardView .nte-panel-head p{font-size:10px}
#teamDashboardView .nte-chart-value{font-size:21px}
#teamDashboardView .nte-line-area{padding-left:9px;padding-right:9px}
#teamDashboardView .nte-line-area svg{height:180px}
#teamDashboardView .nte-chart-footer{padding-left:16px;padding-right:16px;align-items:flex-start;font-size:9px}
#teamDashboardView .nte-bar-chart{gap:7px;padding:18px 13px 0}
#teamDashboardView .nte-bar-track{max-width:29px}
#teamDashboardView .nte-bar-name{font-size:9px}
#teamDashboardView .nte-bar-value{font-size:10px}
#teamDashboardView .nte-bar-note{font-size:9px;padding-left:16px}
#teamDashboardView .nte-table-panel .nte-panel-head{padding:18px 16px 14px}
#teamDashboardView .nte-search{width:100%}
#teamDashboardView .nte-table-tools{padding:0 14px 12px;gap:9px}
#teamDashboardView .nte-chip{font-size:9px;padding:6px 7px}
#teamDashboardView .nte-sort{font-size:10px}
#teamDashboardView .nte-age-row{gap:5px;font-size:10px;padding:7px 3px}
#teamDashboardView .nte-table-footer{padding:12px 16px;font-size:9px}
#teamDashboardView .nte-page-footer{flex-direction:column;align-items:flex-start;gap:7px}
#teamDashboardView .nte-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
#teamDashboardView .nte-dialog-body{padding:18px}
#teamDashboardView .nte-dialog-header{padding:18px}
#teamDashboardView .nte-dialog-header h2{font-size:19px}
#teamDashboardView .nte-detail-row{align-items:flex-start}
#teamDashboardView .nte-detail-row h3{font-size:11px}
#teamDashboardView .nte-detail-status{font-size:9px}
#teamDashboardView .nte-detail-row>div:last-child{max-width:130px;text-align:right}}
@media(prefers-reduced-motion:reduce){#teamDashboardView *,#teamDashboardView *::before,#teamDashboardView *::after{animation:none!important;transition:none!important}}
@media(max-width:600px){#teamDashboardView .nte-top-actions{flex-wrap:wrap;justify-content:flex-end;row-gap:5px}
#teamDashboardView .nte-top-actions .nte-demo-badge{order:-1;width:100%;text-align:right;background:none;padding:0;font-size:8px}
#teamDashboardView .nte-topbar{padding:12px 0}}
@media print{#teamDashboardView .nte-top-actions,#teamDashboardView .nte-controls,#teamDashboardView .nte-table-tools,#teamDashboardView .nte-open-person,#teamDashboardView .nte-metric-link,#teamDashboardView .nte-page-footer,#teamDashboardView .nte-scope-hint,#teamDashboardView .nte-toast{display:none!important}
#teamDashboardView .nte-page{padding:0}
#teamDashboardView .nte-panel,#teamDashboardView .nte-metric{break-inside:avoid}
#teamDashboardView .nte-lower{display:block}
#teamDashboardView .nte-side-panel{margin-top:15px}
#teamDashboardView html{color-scheme:light}
#teamDashboardView .nte-table-scroll{overflow:visible}}
#teamDashboardView /* Segunda prévia: regularização,#teamDashboardView leitura do gestor e histórico. */
.nte-insights-panel{margin-top:18px}
#teamDashboardView .nte-insights-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 20px 12px}
#teamDashboardView .nte-insights-head h2{font-size:13px;font-weight:650}
#teamDashboardView .nte-insights-head>span{font-size:10px;color:var(--nte-muted)}
#teamDashboardView .nte-insights-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 15px 15px}
#teamDashboardView .nte-insight{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid var(--nte-line);background:transparent;border-radius:11px;padding:13px;min-width:0}
#teamDashboardView .nte-insight:hover{background:var(--nte-panel2)}
#teamDashboardView .nte-insight:disabled{opacity:.6;cursor:default}
#teamDashboardView .nte-insight>span:nth-child(2){flex:1;min-width:0}
#teamDashboardView .nte-insight strong{font-size:11px;font-weight:600;display:block;line-height:1.6}
#teamDashboardView .nte-insight small{font-size:10px;color:var(--nte-muted);display:block;margin-top:4px}
#teamDashboardView .nte-insight>span:last-child{color:var(--nte-muted);font-size:18px}
#teamDashboardView .nte-insight-mark{height:30px;width:30px;border-radius:9px;display:grid;place-items:center;flex:none;font-weight:700}
#teamDashboardView .nte-insight-mark.purple{background:var(--nte-primary-bg);color:var(--nte-primary)}
#teamDashboardView .nte-insight-mark.red{background:var(--nte-red-bg);color:var(--nte-red)}
#teamDashboardView .nte-insight-mark.amber{background:var(--nte-amber-bg);color:var(--nte-amber)}
#teamDashboardView .nte-text-button{background:none;border:0;color:var(--nte-primary);font-size:11px;padding:0;text-decoration:underline;text-underline-offset:3px}
#teamDashboardView .nte-backlog-panel{display:grid;grid-template-columns:210px 1fr 1fr 1fr;gap:16px;align-items:center;margin-top:17px;padding:18px 21px}
#teamDashboardView .nte-backlog-title h2{font-size:13px;font-weight:650}
#teamDashboardView .nte-backlog-title p{font-size:10px;color:var(--nte-muted);margin-top:4px}
#teamDashboardView .nte-backlog-kpi{display:flex;align-items:center;justify-content:space-between;gap:15px;border:0;border-left:1px solid var(--nte-line);padding:4px 0 4px 21px;background:none;text-align:left}
#teamDashboardView .nte-backlog-kpi:hover span{text-decoration:underline;text-underline-offset:4px}
#teamDashboardView .nte-backlog-kpi span{font-size:11px;color:var(--nte-muted);line-height:1.6}
#teamDashboardView .nte-backlog-kpi strong{font-size:29px;font-weight:650;letter-spacing:-1px}
#teamDashboardView .nte-backlog-kpi small{display:block;color:var(--nte-primary);font-size:9px;margin-top:2px}
#teamDashboardView .nte-backlog-kpi.good strong{color:var(--nte-green)}
#teamDashboardView .nte-backlog-kpi.late strong{color:var(--nte-red)}
#teamDashboardView .nte-backlog-foot{grid-column:1/-1;display:flex;align-items:center;gap:15px;font-size:10px;color:var(--nte-muted);border-top:1px solid var(--nte-line);padding-top:12px}
#teamDashboardView .nte-backlog-mini{height:4px;width:110px;background:var(--nte-panel2);border-radius:5px;overflow:hidden}
#teamDashboardView .nte-backlog-mini span{display:block;height:100%;background:var(--nte-green)}
#teamDashboardView button.nte-late-open{border:0;cursor:pointer;gap:5px}
#teamDashboardView .nte-late-open:hover{outline:1px solid var(--nte-red)}
#teamDashboardView .nte-late-open span{font-size:9px}
#teamDashboardView .nte-detail-tabs{flex-wrap:wrap;gap:16px}
#teamDashboardView .nte-detail-filter-bar{display:flex;gap:7px;flex-wrap:wrap;margin:3px 0 9px}
#teamDashboardView .nte-task-open{font-size:10px;min-height:31px;padding:6px 9px}
#teamDashboardView .nte-task-open svg{width:12px;height:12px}
#teamDashboardView .nte-detail-row .nte-detail-status{margin-top:7px}
#teamDashboardView .nte-time-groups{display:grid;gap:11px}
#teamDashboardView .nte-time-group{text-align:left;width:100%;padding:15px;border:1px solid var(--nte-line);border-radius:12px;background:transparent}
#teamDashboardView .nte-time-group:hover{background:var(--nte-panel2);border-color:var(--nte-primary)}
#teamDashboardView .nte-time-group-top,#teamDashboardView .nte-time-group-meta{display:flex;justify-content:space-between;align-items:center;gap:15px}
#teamDashboardView .nte-time-group-top{font-size:12px}
#teamDashboardView .nte-time-group-top strong{font-weight:600}
#teamDashboardView .nte-time-group-top b{font-size:16px;font-weight:650;letter-spacing:-.4px}
#teamDashboardView .nte-time-group-track{height:5px;background:var(--nte-panel2);border-radius:6px;margin:12px 0 9px;overflow:hidden}
#teamDashboardView .nte-time-group-track span{background:var(--nte-primary);display:block;height:100%;border-radius:6px}
#teamDashboardView .nte-time-group-meta{font-size:10px;color:var(--nte-muted)}
#teamDashboardView .nte-time-group-meta .missing-time{color:var(--nte-amber)}
#teamDashboardView .nte-task-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding-bottom:22px}
#teamDashboardView .nte-task-facts span{display:block;font-size:10px;color:var(--nte-muted);margin-bottom:5px}
#teamDashboardView .nte-task-facts strong{font-size:12px;font-weight:550}
#teamDashboardView .nte-task-description{padding:17px;background:var(--nte-panel2);border-radius:12px}
#teamDashboardView .nte-task-description h3{font-size:12px;font-weight:600;margin-bottom:7px}
#teamDashboardView .nte-task-description p{font-size:12px;line-height:1.8;color:var(--nte-muted)}
#teamDashboardView .nte-task-state-line{display:flex;justify-content:space-between;gap:15px;margin-top:20px;align-items:center;font-size:10px;color:var(--nte-muted)}
#teamDashboardView .nte-snapshot-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 18px;border:1px solid var(--nte-primary);background:var(--nte-primary-bg);border-radius:12px;margin-top:14px}
#teamDashboardView .nte-snapshot-banner strong{font-size:12px;color:var(--nte-primary);font-weight:650}
#teamDashboardView .nte-snapshot-banner p{font-size:11px;color:var(--nte-muted);margin-top:4px}
#teamDashboardView .nte-snapshot-card{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid var(--nte-line)}
#teamDashboardView .nte-snapshot-card:last-child{border:0}
#teamDashboardView .nte-snapshot-icon{height:39px;width:39px;display:grid;place-items:center;border-radius:11px;background:var(--nte-primary-bg);color:var(--nte-primary);flex:none}
#teamDashboardView .nte-snapshot-icon svg{width:19px;height:19px}
#teamDashboardView .nte-snapshot-main{flex:1;min-width:0}
#teamDashboardView .nte-snapshot-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#teamDashboardView .nte-snapshot-title strong{font-size:14px;letter-spacing:-.3px;font-weight:600}
#teamDashboardView .nte-snapshot-title .nte-demo-badge{font-size:8px;padding:3px 5px}
#teamDashboardView .nte-snapshot-main p{font-size:10px;color:var(--nte-muted);line-height:1.7;margin-top:6px}
#teamDashboardView .nte-snapshot-actions{display:flex;gap:7px;align-items:center;flex-direction:column}
#teamDashboardView .nte-snapshot-actions .nte-btn{font-size:10px;min-height:32px;padding:7px 10px}
#teamDashboardView .nte-snapshot-delete{background:none;border:0;font-size:9px;color:var(--nte-muted);padding:3px}
#teamDashboardView .nte-snapshot-delete:hover{color:var(--nte-red)}
#teamDashboardView .nte-snapshot-storage-note{font-size:10px;color:var(--nte-muted);line-height:1.8;border-top:1px solid var(--nte-line);margin-top:15px;padding-top:15px}
#teamDashboardView .nte-historical-icon{background:var(--nte-primary-bg);border-color:transparent;color:var(--nte-primary)}
#teamDashboardView html[data-theme=light] .nte-avatar{color:color-mix(in srgb,var(--nte-av) 55%,#1b2340)}
@media(max-width:1100px){#teamDashboardView .nte-insights-grid{grid-template-columns:1fr}
#teamDashboardView .nte-insight strong{font-size:12px}
#teamDashboardView .nte-backlog-panel{grid-template-columns:1fr 1fr 1fr;gap:14px}
#teamDashboardView .nte-backlog-title{grid-column:1/-1}
#teamDashboardView .nte-backlog-kpi{padding-left:14px}
#teamDashboardView .nte-backlog-kpi:nth-child(2){border-left:0;padding-left:0}
#teamDashboardView .nte-topbar{flex-wrap:wrap;padding-top:14px;padding-bottom:14px}
#teamDashboardView .nte-top-actions{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:600px){#teamDashboardView .nte-backlog-panel{padding:16px 14px;gap:12px}
#teamDashboardView .nte-backlog-kpi{padding-left:10px;gap:5px;align-items:flex-start;flex-direction:column}
#teamDashboardView .nte-backlog-kpi strong{font-size:25px}
#teamDashboardView .nte-backlog-kpi span{font-size:10px}
#teamDashboardView .nte-backlog-foot{align-items:flex-start;font-size:9px}
#teamDashboardView .nte-backlog-mini{flex:none;margin-top:5px;width:65px}
#teamDashboardView .nte-insights-head{padding:15px}
#teamDashboardView .nte-insights-head>span{display:none}
#teamDashboardView .nte-insights-grid{padding:0 11px 11px}
#teamDashboardView .nte-insight{padding:11px}
#teamDashboardView .nte-insight strong{font-size:11px}
#teamDashboardView .nte-snapshot-banner{align-items:flex-start;flex-direction:column;gap:12px}
#teamDashboardView .nte-top-actions{max-width:calc(100% - 105px)}
#teamDashboardView .nte-top-actions .nte-btn{min-height:31px}
#teamDashboardView .nte-detail-tabs{gap:12px}
#teamDashboardView .nte-detail-tabs button{font-size:11px}
#teamDashboardView .nte-detail-row{gap:10px}
#teamDashboardView .nte-task-open{white-space:normal;min-width:89px;max-width:105px;font-size:9px}
#teamDashboardView .nte-task-facts{grid-template-columns:1fr 1fr;gap:15px}
#teamDashboardView .nte-task-facts strong{font-size:11px}
#teamDashboardView .nte-snapshot-card{gap:9px;flex-wrap:wrap}
#teamDashboardView .nte-snapshot-title strong{font-size:12px}
#teamDashboardView .nte-snapshot-main p{font-size:9px}
#teamDashboardView .nte-snapshot-actions{width:100%;flex-direction:row;justify-content:flex-end}
#teamDashboardView .nte-time-group-meta{align-items:flex-start;font-size:9px}
#teamDashboardView .nte-task-state-line{flex-wrap:wrap}}
#teamDashboardView .nte-activity-overview{margin-top:18px}
#teamDashboardView .nte-activity-overview .nte-panel-head{align-items:center}
#teamDashboardView .nte-activity-total{text-align:right;font-size:24px;font-weight:650;white-space:nowrap}
#teamDashboardView .nte-activity-total small{display:block;font-size:10px;color:var(--nte-muted);font-weight:400;margin-top:4px}
#teamDashboardView .nte-activity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0 20px 20px}
#teamDashboardView .nte-activity-card{padding:17px;border:1px solid var(--nte-line);border-radius:12px;background:var(--nte-panel2)}
#teamDashboardView .nte-activity-card h3{font-size:12px;font-weight:550;color:var(--nte-text)}
#teamDashboardView .nte-activity-card strong{display:block;font-size:25px;font-weight:650;margin:10px 0;color:var(--nte-text);letter-spacing:-.5px}
#teamDashboardView .nte-activity-card p{font-size:10px;color:var(--nte-muted);margin-top:9px}
#teamDashboardView .nte-activity-track{height:5px;background:var(--nte-line);border-radius:5px;overflow:hidden}
#teamDashboardView .nte-activity-track span{display:block;height:100%;background:var(--nte-primary);border-radius:5px}
@media(max-width:1000px){#teamDashboardView .nte-activity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){#teamDashboardView .nte-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 14px 14px;gap:9px}
#teamDashboardView .nte-activity-card{padding:12px}
#teamDashboardView .nte-activity-card strong{font-size:21px}
#teamDashboardView .nte-activity-total{font-size:20px}}
#teamDashboardView .nte-page{padding:0 10px 20px;max-width:none}
#teamDashboardView .nte-brand,#teamDashboardView .nte-intro,#teamDashboardView .nte-top-actions>.nte-demo-badge,#teamDashboardView #nte-themeBtn{display:none}
#teamDashboardView .nte-topbar{justify-content:flex-end;padding:12px 0}
#teamDashboardView .nte-controls{grid-template-columns:1fr 1fr 1fr 1.8fr auto}
#teamDashboardView .nte-scope-hint{max-width:55%;text-align:right}
#teamDashboardView .nte-bar-chart{overflow-x:auto;justify-content:flex-start}
#teamDashboardView .nte-bar-item{min-width:48px;flex:1}
#teamDashboardView .nte-charts{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
#teamDashboardView [hidden]{display:none!important}
@media(max-width:1100px){#teamDashboardView .nte-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
#teamDashboardView .nte-charts{grid-template-columns:1fr}
#teamDashboardView .nte-scope-hint{max-width:100%}}
#teamDashboardView .nte-page{padding:0 0 20px;width:100%;max-width:none}
#teamDashboardView .nte-topbar{min-height:52px;border:0;padding:0 0 14px;background:transparent;position:static}
#teamDashboardView .nte-top-actions{flex-wrap:wrap}
#teamDashboardView dialog{position:fixed;margin:auto;max-width:calc(100vw - 28px);z-index:auto}
#teamDashboardView .nte-controls{margin-top:0}

/* Prioritize the people chart and keep every person in the native layout. */
#teamDashboardView .nte-charts{grid-template-columns:minmax(0,.85fr) minmax(0,1.65fr);align-items:start}
#teamDashboardView .nte-line-area{padding-left:16px;padding-right:16px}
#teamDashboardView .nte-line-area svg text{stroke:none;stroke-width:0;font-family:inherit;font-size:11px;font-weight:500;letter-spacing:0}
#teamDashboardView .nte-curve-empty{height:203px;display:flex;align-items:center;justify-content:center;padding:20px;text-align:center;color:var(--nte-muted);font-size:12px}
#teamDashboardView .nte-chart-footer{flex-wrap:wrap;gap:7px 14px}
#teamDashboardView .nte-chart-value{flex-shrink:0}
#teamDashboardView .nte-bar-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(48px,1fr));align-items:end;gap:14px 8px;padding:20px 18px 0;overflow:visible;min-height:224px}
#teamDashboardView .nte-bar-item{min-width:0;width:100%}
#teamDashboardView .nte-bar-track{max-width:38px}
#teamDashboardView .nte-bar-chart>.nte-empty{grid-column:1/-1}
@media(max-width:1100px){#teamDashboardView .nte-charts{grid-template-columns:1fr}}
@media(max-width:600px){#teamDashboardView .nte-bar-chart{grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:12px 7px;padding:16px 12px 0}#teamDashboardView .nte-bar-track{max-width:32px}#teamDashboardView .nte-line-area svg{height:203px}}

/* Automatic current-time view: compact date, manager and person filters. */
#teamDashboardView .nte-controls{grid-template-columns:minmax(150px,.8fr) repeat(2,minmax(170px,1fr)) auto}
#teamDashboardView .nte-controls-end{align-self:end}
@media(max-width:1100px){#teamDashboardView .nte-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#teamDashboardView .nte-controls{grid-template-columns:1fr}#teamDashboardView .nte-controls-end{justify-content:flex-start}}
