#dashboardReference{--ref-ink:#29333d;--ref-muted:#59616a;--ref-line:#deded7;--ref-warm:#fffaed;--ref-blue:#f4faff;--ref-green:#e6ffee;color:var(--ref-ink);font:14px/1.4 Arial,sans-serif;font-variant-numeric:tabular-nums}
#dashboardReference *{box-sizing:border-box}#dashboardReference button,#dashboardReference input,#dashboardReference select{font:inherit;color:inherit}#dashboardReference button{cursor:pointer}#dashboardReference button:disabled{cursor:default;opacity:.6}#dashboardReference button:focus-visible,#dashboardReference select:focus-visible,#dashboardReference input:focus-visible{outline:2px solid #2673b7;outline-offset:3px}#dashboardReference button:hover{color:#1763a0}#dashboardReference button:active{transform:translateY(1px)}
#dashboardReference .reference-toolbar{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:9px}#dashboardReference .reference-filters{display:flex;gap:14px;flex:1;max-width:640px;min-width:260px}#dashboardReference .reference-control{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:12px;color:var(--ref-muted)}#dashboardReference .reference-filters>.reference-control{flex:1}#dashboardReference .reference-control select,#dashboardReference .reference-control input{border:0;border-bottom:1px solid #aeb4ba;border-radius:0;background:transparent;padding:5px 0;width:100%;min-width:0;height:30px}#dashboardReference .reference-periods{display:flex;align-items:end;gap:16px;min-width:0}#dashboardReference .reference-periods>.reference-control{width:168px}#dashboardReference fieldset{border:0;margin:0;padding:0;display:flex;gap:6px;min-width:0}#dashboardReference legend{font-size:11px;color:var(--ref-muted);padding:0}#dashboardReference .reference-date-range>.reference-control{width:125px}#dashboardReference .reference-date-range>.reference-control>span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}#dashboardReference .reference-refresh{border:0;background:transparent;padding:4px 0 5px;width:26px;height:30px;flex:0 0 26px}#dashboardReference svg{width:19px;height:19px;flex:0 0 19px;vertical-align:middle}#dashboardReference .reference-options{display:flex;justify-content:flex-end;font-size:11px;color:var(--ref-muted)}#dashboardReference .reference-options label{display:flex;align-items:center;gap:5px}#dashboardReference .reference-options input{margin:0}#dashboardReference .reference-status,#dashboardReference .reference-freshness{font-size:11px;color:var(--ref-muted);margin:8px 0}#dashboardReference .reference-error{color:#9f2424}
#dashboardReference .reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0}#dashboardReference .reference-card{min-width:0;min-height:216px;border:1px solid var(--ref-line);border-radius:3px;padding:15px 15px 12px;background:#fff;display:flex;flex-direction:column;box-shadow:0 1px 2px #0000000c}#dashboardReference .reference-expense{background:var(--ref-warm)}#dashboardReference .reference-gross{background:var(--ref-blue)}#dashboardReference .reference-net{background:var(--ref-green)}#dashboardReference .reference-card-heading{display:flex;align-items:center;gap:8px;color:var(--ref-muted);min-height:23px}#dashboardReference .reference-card h3{font-size:12px;line-height:1.3;font-weight:400;margin:0;flex:1;min-width:0}#dashboardReference .reference-card-actions{display:flex;gap:7px;margin-left:auto}#dashboardReference .reference-icon-button{padding:0;border:0;background:transparent;display:grid;place-items:center;min-height:24px;min-width:21px}#dashboardReference .reference-icon-button svg{width:15px;height:15px}#dashboardReference .reference-headline{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-height:39px;margin:3px 0 10px}#dashboardReference .reference-value{border:0;background:transparent;padding:0;font-size:20px;line-height:1.2;text-align:left;white-space:nowrap}#dashboardReference .reference-value:hover,#dashboardReference .reference-row-value:hover,#dashboardReference .reference-row-label:hover{text-decoration:underline;text-underline-offset:3px}#dashboardReference .reference-change{font-size:11px;line-height:1.2;border:0;border-radius:12px;padding:4px 7px;color:#fff;white-space:nowrap}#dashboardReference .reference-change.good{background:#287332;color:#fff}#dashboardReference .reference-change.bad{background:#c52b2b;color:#fff}#dashboardReference .reference-change.neutral{background:#66717b;color:#fff}#dashboardReference .reference-no-base{font-size:10px;color:var(--ref-muted);max-width:145px;line-height:1.2}#dashboardReference .reference-card-rows{margin-top:auto}#dashboardReference .reference-row{display:flex;justify-content:space-between;align-items:baseline;gap:9px;padding:7px 0 5px;border-bottom:1px solid #d5d6ce;min-height:31px}#dashboardReference .reference-row-label,#dashboardReference .reference-row-value{border:0;background:transparent;padding:0;line-height:1.25;text-align:left;font-size:13px;min-width:0}#dashboardReference .reference-row-label{flex:1}#dashboardReference .reference-row-values{display:flex;align-items:baseline;justify-content:flex-end;gap:6px;flex-wrap:wrap;text-align:right;max-width:58%}#dashboardReference .reference-row-value{text-align:right;white-space:nowrap}#dashboardReference .reference-row-change{font-size:11px;white-space:nowrap}.reference-row-change.good{color:#287332}.reference-row-change.bad{color:#b42828}.reference-row-change.neutral{color:#626b73}#dashboardReference .reference-card-note{font-size:12px;line-height:1.5;color:var(--ref-muted);margin:14px 0 0}#dashboardReference .reference-stock-toggle{display:flex;margin-left:auto}#dashboardReference .reference-stock-toggle button{font-size:11px;border:1px solid #d2d6da;background:#fff;padding:6px 5px}#dashboardReference .reference-stock-toggle button.active{background:#e9eef1;color:#182f42}#dashboardReference .reference-skeleton{height:216px;background:#f2f3f1;color:#69727b;padding:20px;border:1px solid #e0e2df;border-radius:3px}
#dashboardReference .reference-common{margin:14px 0;border-top:1px solid var(--ref-line);padding:10px 0;font-size:13px}#dashboardReference .reference-common summary{cursor:pointer}#dashboardReference .reference-common-row{display:flex;justify-content:space-between;gap:20px;padding:6px 0;max-width:600px}#dashboardReference .reference-dialog{border:1px solid #b9c2cb;border-radius:6px;padding:0;width:min(1150px,94vw);max-height:88vh;overflow:auto;color:var(--ref-ink);background:#fff;box-shadow:0 10px 35px #00000030}#dashboardReference .reference-dialog::backdrop{background:#15273855}#dashboardReference .reference-dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:18px 22px;border-bottom:1px solid var(--ref-line);position:sticky;top:0;background:#fff}#dashboardReference .reference-dialog h2{font:600 18px/1.4 Arial,sans-serif;margin:0}#dashboardReference .reference-close,#dashboardReference .reference-detail-pages button{background:#f5f7f8;border:1px solid #aebbc6;border-radius:4px;padding:7px 12px}#dashboardReference .reference-dialog-body{padding:16px 22px}#dashboardReference .reference-dialog-body h3{font-size:13px;margin:16px 0 4px}#dashboardReference .reference-dialog-body p{font-size:13px;max-width:85ch;overflow-wrap:anywhere}#dashboardReference .reference-source-table{overflow:auto;width:100%}#dashboardReference table{border-collapse:collapse;width:100%;font-size:12px}#dashboardReference th,#dashboardReference td{padding:9px;text-align:left;border-bottom:1px solid #dbe0e4;vertical-align:top;min-width:100px;overflow-wrap:anywhere}#dashboardReference th{background:#f2f5f7;font-weight:600}#dashboardReference .reference-detail-pages{display:flex;gap:12px;align-items:center;margin-top:14px}
@media(min-width:1800px){#dashboardReference .reference-card{min-height:240px;padding:17px 18px 15px}#dashboardReference .reference-value{font-size:22px}#dashboardReference .reference-row{min-height:36px}#dashboardReference .reference-row-label,#dashboardReference .reference-row-value{font-size:15px}}
@media(max-width:1500px){#dashboardReference .reference-toolbar{flex-wrap:wrap;gap:9px}#dashboardReference .reference-filters{max-width:none}#dashboardReference .reference-periods{margin-left:auto}#dashboardReference .reference-value{font-size:18px}#dashboardReference .reference-row-label,#dashboardReference .reference-row-value{font-size:12px}#dashboardReference .reference-card{padding:12px 11px;min-height:216px}}
@media(max-width:960px){#dashboardReference .reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboardReference .reference-filters{flex-basis:100%}#dashboardReference .reference-periods{width:100%;flex-wrap:wrap;justify-content:flex-end}#dashboardReference .reference-card{min-height:210px}}
@media(max-width:600px){#dashboardReference .reference-grid{grid-template-columns:minmax(0,1fr)}#dashboardReference .reference-filters{gap:10px;min-width:0}#dashboardReference .reference-periods{justify-content:space-between;gap:9px}#dashboardReference .reference-periods>.reference-control{width:calc(100% - 45px)}#dashboardReference .reference-date-range{width:100%}#dashboardReference .reference-date-range>.reference-control{width:calc(50% - 3px)}#dashboardReference .reference-periods>.reference-refresh{order:-1;margin-left:auto}#dashboardReference .reference-options{justify-content:start}#dashboardReference .reference-card{min-height:208px;padding:14px}#dashboardReference .reference-value{font-size:21px}#dashboardReference .reference-row-label,#dashboardReference .reference-row-value{font-size:13px}#dashboardReference .reference-dialog-heading,#dashboardReference .reference-dialog-body{padding:14px}#dashboardReference .reference-dialog h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){#dashboardReference button:active{transform:none}}

#dashboardReference .reference-options input[type=checkbox]{width:auto;height:auto;flex:0 0 auto}#dashboardReference .reference-options label{max-width:none}

#dashboardReference .reference-share{display:flex;align-items:center;gap:5px;margin-left:auto}#dashboardReference .reference-share .reference-change{background:transparent;padding:0;font-size:12px}#dashboardReference .reference-share-large{display:flex;align-items:center;justify-content:center;gap:12px;margin:auto 0;min-height:90px}#dashboardReference .reference-share-large .reference-value{font-size:29px}#dashboardReference .reference-share-large .reference-change{background:transparent;font-size:20px}

#dashboardReference .reference-share .reference-change.good,#dashboardReference .reference-share-large .reference-change.good{color:#287b43}#dashboardReference .reference-share .reference-change.bad,#dashboardReference .reference-share-large .reference-change.bad{color:#ad3434}#dashboardReference .reference-share .reference-change.neutral,#dashboardReference .reference-share-large .reference-change.neutral{color:#59616a}

/* Dashboard-only compact working shell. Active navigation and authentication
   scope this layout; other pages retain the incumbent shell and header. */
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))){width:calc(100% - 32px);padding-top:10px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) > .topbar{gap:16px;margin-bottom:6px;min-height:40px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) > .topbar > div:first-child{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;min-width:0}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) > .topbar h1{font-size:20px;letter-spacing:-.02em;margin:0}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) > .topbar .eyebrow{margin:0;font-size:11px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) > .topbar .subtitle{font-size:11px;margin:0}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .top-actions{min-width:0;gap:8px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .scope-picker{width:280px;max-width:100%}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .scope-picker-trigger{padding:6px 30px 6px 10px;min-height:36px;overflow-wrap:anywhere}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .scope-picker-options{overflow-wrap:anywhere}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .top-actions .button{min-height:36px;padding:7px 12px;font-size:12px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .freshness{font-size:11px;white-space:normal;overflow-wrap:anywhere}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboard > .main-tabs{margin-bottom:6px;overflow-x:auto;white-space:nowrap}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboard > .main-tabs > button{padding:9px 14px;min-height:36px;flex-shrink:0;font-size:12px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .overview-heading{gap:12px;align-items:center;margin-bottom:6px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .overview-heading > div:first-child{display:flex;align-items:baseline;gap:8px;min-width:0}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .overview-heading .eyebrow{margin:0;font-size:10px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .overview-heading h2{margin:0;font-size:16px;white-space:nowrap}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .overview-tools{gap:8px;min-width:0}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .period-picker{padding:0;border:0;background:transparent;border-radius:0;gap:4px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .period-picker button{min-height:32px;font-size:11px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .period-picker .button{padding:6px 8px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .range-selector{min-width:218px;padding:6px 30px 6px 10px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .source-badge{font-size:10px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-toolbar{grid-column:1 / -1;gap:16px;margin:0 0 4px;flex-wrap:nowrap}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-periods{gap:10px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-options{grid-column:2;grid-row:2;align-items:center}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-status{grid-column:1;grid-row:2;margin:0;align-self:center;overflow-wrap:anywhere}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-grid{grid-column:1 / -1;margin-top:6px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-common, .shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-freshness{grid-column:1 / -1}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-card h3, .shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-row-label, .shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-card-note{overflow-wrap:anywhere}
@media(max-width:1100px){
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) > .topbar{flex-wrap:wrap}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) > .topbar .subtitle{flex-basis:100%}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .overview-heading{flex-wrap:wrap}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-toolbar{flex-wrap:wrap}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-options,.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-status{grid-column:1 / -1;grid-row:auto}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-options{margin-bottom:4px}
}
@media(max-width:600px){
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))){width:calc(100% - 22px);padding-top:8px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) > .topbar{gap:8px;margin-bottom:6px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) > .topbar > div:first-child{gap:4px 8px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) > .topbar h1{font-size:18px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .top-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:4px 6px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #scopeSelectorHost{grid-column:1 / -1;min-width:0}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .scope-picker{width:100%}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .scope-picker-trigger,.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .top-actions .button{min-height:40px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .scope-picker-options{width:100%;max-width:100%}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboard > .main-tabs > button{min-height:44px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .overview-heading{gap:6px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .overview-heading > div:first-child{gap:4px;flex-wrap:wrap}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .overview-tools{width:100%;justify-content:flex-start;gap:4px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .period-picker{width:100%;display:flex;gap:4px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .period-picker button{min-height:40px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .range-selector{width:100%;min-width:0}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .period-picker .button{flex:1;padding:6px 5px;white-space:nowrap;font-size:10px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference{display:block}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-toolbar{gap:6px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-periods{gap:6px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-control input,.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-control select{height:40px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-refresh{height:40px;min-width:40px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-options label{min-height:40px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-options input{min-width:24px;min-height:24px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-status{margin:0 0 4px}
}

@media(min-width:1101px){
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))){padding-top:8px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) > .topbar{min-height:36px;margin-bottom:4px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboard > .main-tabs{margin-bottom:4px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboard > .main-tabs > button{min-height:32px;padding:6px 12px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .overview-heading{margin-bottom:4px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .period-picker button{min-height:28px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .period-picker .button{padding:4px 8px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .range-selector{padding-top:4px;padding-bottom:4px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference > .reference-grid{margin-top:4px}
}
@media(min-width:1800px){
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .scope-picker{width:430px}
}
@media(max-width:600px){
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-periods{display:grid;grid-template-columns:minmax(0,1fr) 40px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-periods > .reference-control{grid-column:1;grid-row:1;width:100%}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-periods > .reference-refresh{grid-column:2;grid-row:1;order:0;width:40px;margin:0}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) #dashboardReference .reference-date-range{grid-column:1 / -1}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .source-badge{padding:2px 6px}
.shell:has(> #dashboard:not(.hidden) > .main-tabs > [data-main-tab="dashboard"].active):not(:has(> #loginPanel:not(.hidden))) .overview-heading > div:first-child{width:100%;justify-content:flex-start}
}
