/* 0.6.15 - native-feeling full-viewport shell; only overflow inside dedicated work areas. */
body:has(#shell:not(.hidden)){height:100dvh;overflow:hidden;padding:0!important;overscroll-behavior:none}
#shell:not(.hidden){height:100dvh;min-height:0;overflow:hidden}
#shell:not(.hidden) .main{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:12px}
#shell:not(.hidden) .topbar{flex:0 0 auto;margin-bottom:12px}
#shell:not(.hidden) #content{flex:1;min-height:0;max-height:100%;overflow-y:auto;overscroll-behavior:contain;position:relative;scrollbar-width:thin;padding-bottom:12px}
#shell:not(.hidden) .main-footer{display:none}
#shell:not(.hidden) #content:has(.ec-cockpit){overflow:hidden;padding:0}
#shell:not(.hidden) #content>.ec-cockpit{height:100%;min-height:0}
.ec-visually-hidden{position:absolute!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;height:1px!important;width:1px!important;overflow:hidden!important;white-space:nowrap!important}
.ec-cockpit{max-width:1180px;margin:0 auto;display:flex;flex-direction:column;gap:10px;padding:4px 2px 8px;min-width:0}
.ec-cockpit-title{display:flex;align-items:center;justify-content:space-between;min-height:38px;flex:0 0 auto}
.ec-cockpit-title>div{display:flex;align-items:baseline;gap:11px}
.ec-cockpit-title strong{font:500 25px/1.05 var(--serif);color:#2b4335;letter-spacing:-.04em}
.ec-kicker{font-size:10px;letter-spacing:.13em;font-weight:750;color:#869186}
.ec-icon-action{display:grid;place-items:center;border-radius:10px;background:#255c3e;color:#fff;border:0;height:38px;width:40px;cursor:pointer}
.ec-next{display:flex;align-items:center;text-align:left;gap:12px;min-height:65px;padding:9px 12px;background:#fffdf9;border:1px solid #e0e6db;border-radius:13px;color:#263d2e;cursor:pointer;width:100%;flex:0 0 auto}
.ec-next-dot{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#eef3ed;color:#355c41;flex-shrink:0}
.ec-next-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.ec-next-copy small{font-size:9px;letter-spacing:.13em;font-weight:700;color:#7a8a7c}
.ec-next-copy strong{font-size:13px;font-weight:750;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.ec-next-copy>span{color:#778477;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ec-next-chevron{display:grid;place-items:center;color:#4f7159}
.ec-warning{font-size:11px;text-align:left;display:flex;align-items:center;gap:8px;border:1px solid #dfb9a7;border-radius:9px;background:#fff4ef;color:#8f4429;padding:8px 11px;flex:0 0 auto;cursor:pointer}
.ec-statistics{display:flex;flex-direction:column;flex:1;min-height:0;background:#fffefa;border:1px solid #e1e7dc;border-radius:15px;padding:14px 15px 10px;overflow:hidden}
.ec-stats-head{display:flex;align-items:center;gap:9px 12px;flex:0 0 auto;flex-wrap:wrap;min-height:40px}
.ec-stats-head h2{font:500 24px/1.1 var(--serif);letter-spacing:-.035em;color:#2e4936;margin:0 auto 0 0}
.ec-period{display:flex;align-items:center;gap:7px;position:relative;flex-wrap:nowrap}
.ec-period-select{display:block;min-width:0}
.ec-period-select select{min-width:130px;max-width:190px;border:1px solid #dce4d9;border-radius:9px;background:#fff;padding:8px 30px 8px 10px;color:#294633;font-size:12px;font-weight:700;height:40px}
.ec-apply{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:#24583b;color:#fff;border:0;padding:9px 12px;min-height:40px;cursor:pointer;font-size:11px;font-weight:750}
.ec-period-custom{position:absolute;right:0;top:calc(100% + 5px);z-index:15;background:#fff;display:flex;gap:9px;padding:12px;border:1px solid #dae2d7;box-shadow:0 10px 24px #354d3540;border-radius:10px;min-width:282px}
.ec-period-custom.hidden{display:none!important}.ec-period-custom label{display:grid;gap:4px;font-size:10px}.ec-period-custom input{max-width:138px;height:38px;font-size:12px;border:1px solid #d7e0d5;border-radius:7px}
.ec-period-body{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.ec-period-result{min-height:0;flex:1;display:flex;flex-direction:column;gap:8px}
.ec-period-title{margin:2px 0 0!important;min-height:16px;color:#718173;font-size:10px}
.ec-period-title span{font-size:10px}
.ec-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;flex:0 0 auto;margin:0!important}
.ec-kpi{min-width:0;min-height:80px!important;background:#f7f9f5!important;border-radius:10px!important;border:1px solid #e5ebe1!important;padding:9px 10px!important;display:flex;flex-direction:column;gap:3px!important}
.ec-kpi:nth-child(2){background:#e9f2e9!important}
.ec-kpi>small{font-size:10px;color:#667969;line-height:1.2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.ec-kpi>strong{font:500 clamp(18px,1.75vw,26px)/1.15 var(--serif)!important;color:#263b2e!important;margin:0!important;white-space:nowrap;font-variant-numeric:tabular-nums}
.ec-kpi>span{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#899589}
.ec-kpi .easy-analytics-delta{font-size:9px}
.ec-stat-warning{border:0;background:#fff2eb;color:#8c4328;font-size:11px;padding:6px;display:flex;align-items:center;gap:7px;border-radius:8px;flex:0 0 auto;cursor:pointer}
.ec-chart-wrap{flex:1;min-height:0;display:flex;flex-direction:column;gap:6px}
.ec-chart-header{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto}
.ec-chart-header span{font-size:12px;font-weight:750;color:#3a5641}
.ec-chart-header button{border:0;background:none;color:#2b6543;font-size:11px;font-weight:750;display:flex;align-items:center;gap:4px;cursor:pointer}
.ec-mini-chart{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.ec-mini-chart .easy-trend-root{flex:1;min-height:0;display:flex;flex-direction:column;margin:0!important}
.ec-mini-chart .easy-trend-controls,.ec-mini-chart .easy-trend-inspector,.ec-mini-chart .easy-trend-scrub-label,.ec-mini-chart .easy-trend-scrub{display:none!important}
.ec-mini-chart .easy-trend-plot{flex:1;min-height:66px!important;border:0!important;border-radius:8px!important;padding:5px!important;margin:0!important;position:relative}
.ec-mini-chart .easy-trend-plot svg{height:100%!important;max-height:none!important}
.ec-mini-chart .easy-trend-axis{font-size:9px}
.ec-cockpit-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:0 0 auto}
.ec-cockpit-actions button{min-height:43px;border-radius:10px;border:1px solid #dce4d9;background:#fffefa;color:#315840;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;font-weight:750;font-size:11px;white-space:nowrap}
.ec-cockpit-actions button:first-child{background:#234f37;color:#fff;border-color:#234f37}
.ec-background-data{display:none!important}
.ec-work-sheet{position:absolute;inset:0;z-index:26;background:#f7f7f3;border-radius:11px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 0 0 1px #d8dfd4}
.ec-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px;background:#fff;border-bottom:1px solid #e2e6de;flex:0 0 auto}
.ec-sheet-header h2{font:500 25px/1.2 var(--serif);margin:0;color:#264633}
.ec-sheet-header button{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#edf2eb;color:#2a553b;border:0;cursor:pointer}
.ec-sheet-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:15px;scrollbar-width:thin}
.ec-sheet-body .easy-tasks{margin:0}.ec-sheet-body .easy-task-list{display:grid;gap:9px}
.ec-sheet-period{font-size:12px;color:#728075;margin-bottom:12px}
.ec-sheet-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ec-sheet-summary>div{background:#fff;border:1px solid #dfe8dc;border-radius:10px;padding:12px;min-width:0}
.ec-sheet-summary span{display:block;color:#6c7f70;font-size:11px}
.ec-sheet-summary strong{display:block;margin-top:6px;color:#294632;font:500 22px/1.2 var(--serif)}
.ec-sheet-caveat{font-size:12px;color:#708071;line-height:1.6}
.ec-sheet-compare{max-width:100%;overflow-x:auto}.ec-legal-links{display:flex;gap:18px;padding:20px 12px;color:#69796c;font-size:11px}
@media(max-width:790px){
 #shell:not(.hidden) .main{padding:0 max(10px,env(safe-area-inset-right)) calc(76px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;margin-left:0}
 #shell:not(.hidden) .topbar{position:relative;top:auto;z-index:2;margin:0 -10px 7px!important;padding:calc(7px + env(safe-area-inset-top)) 10px 7px!important;min-height:53px}
 #shell:not(.hidden) .page-heading h1{font-size:22px}
 #shell:not(.hidden) .mobile-tabbar{position:fixed;left:0;right:0;bottom:0;border-radius:15px 15px 0 0;min-height:62px;padding:6px 7px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -5px 16px #161d1413}
 .ec-cockpit{padding:2px 2px 5px;gap:7px}
 .ec-cockpit-title strong{font-size:21px}.ec-cockpit-title{min-height:28px}
 .ec-next{min-height:54px;padding:7px 10px}.ec-next-dot{height:33px;width:33px}
 .ec-statistics{padding:10px 11px 8px;border-radius:12px}.ec-stats-head h2{font-size:21px}
 .ec-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 .ec-kpi{min-height:61px!important;padding:7px 9px!important}
 .ec-kpi>strong{font-size:clamp(19px,5.2vw,25px)!important}
 .ec-kpi>span{display:none}.ec-period-result{gap:6px}.ec-period-title{min-height:13px}
 .ec-mini-chart .easy-trend-plot{min-height:50px!important}
 .ec-cockpit-actions{gap:6px}.ec-cockpit-actions button{min-height:44px;font-size:10px}
}
@media(max-width:400px){
 .ec-stats-head h2{font-size:20px}.ec-period{flex:1;justify-content:flex-end}
 .ec-period-select select{min-width:0;width:137px;max-width:137px;font-size:11px}
 .ec-apply{padding:8px 9px;min-height:38px;font-size:10px}
 .ec-stats-head{gap:5px}.ec-kpi>strong{font-size:21px!important}
 .ec-cockpit-actions button{gap:4px}.ec-cockpit-actions button svg{width:15px}
}
@media(max-height:700px){
 .ec-cockpit{gap:5px}.ec-cockpit-title{min-height:24px}.ec-next{min-height:47px}
 .ec-statistics{padding-top:7px;padding-bottom:6px}.ec-kpi{min-height:52px!important}
 .ec-chart-header{display:none}.ec-period-result{gap:3px}
 .ec-cockpit-actions button{min-height:38px}.ec-mini-chart .easy-trend-plot{min-height:30px!important}
}
@media(max-height:580px){
 .ec-cockpit-title{display:none}.ec-kpi{min-height:46px!important}.ec-next{min-height:40px}
 .ec-statistics{padding:5px 8px}.ec-period-title{display:none}.ec-cockpit-actions button{min-height:34px}
}
/* Compact financial sparkline: adaptive vertical scale and two readable dates. */
.ec-spark-chart{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;border-radius:8px;background:#fff;gap:2px;padding:5px 8px 4px}
.ec-spark-chart svg{display:block;flex:1;min-height:30px;max-height:100%;width:100%}
.ec-spark-labels{display:flex;justify-content:space-between;align-items:center;flex:0 0 auto;color:#859287;font-size:10px;min-height:13px}
.ec-chart-empty{font-size:12px;color:#7c887e;display:flex;align-items:center;justify-content:center;flex:1}
