/* One hierarchy: context, tools, then evidence. Keep the established blue material. */
.compact-workspace{--compact-line:#d6e7fa;--compact-ink:#184a83}
.compact-workspace #client-date{display:none!important}
.compact-workspace .header-meta{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;flex-wrap:wrap}
.compact-workspace .header-cache,.compact-workspace .data-help-button{min-height:36px;padding:6px 11px;border:1px solid var(--compact-line);border-radius:9px;background:#ffffffb8;font-size:12px;color:var(--compact-ink);box-shadow:none;line-height:1.5}
.compact-workspace .header-cache.needs-attention{color:#85510a;border-color:#ead5af;background:#fff8e9}
.compact-workspace header{min-height:60px;height:auto;padding-top:8px;padding-bottom:8px}
.compact-workspace .scope{gap:12px;padding-top:12px;padding-bottom:12px}
.compact-workspace #content{padding-top:16px}
.compact-workspace.ice-glass-theme #content>.page-head{min-height:44px;padding:0 0 10px;margin-bottom:12px;border:0;border-radius:0;background:none;box-shadow:none;gap:12px;overflow:visible}
.compact-workspace.ice-glass-theme #content>.page-head:after{display:none}
.compact-workspace.ice-glass-theme .page-heading{gap:9px}
.compact-workspace.ice-glass-theme .page-heading h1{font-size:21px;letter-spacing:0}
.compact-workspace.ice-glass-theme .page-heading p{display:none}
.compact-workspace.ice-glass-theme .page-emblem{width:29px;height:29px;flex-basis:29px;border-radius:8px;border-width:1px;box-shadow:none}
.compact-workspace.ice-glass-theme .page-emblem svg{width:18px;height:18px}
.compact-workspace .panel{margin-bottom:16px}
.compact-workspace .panel>.panel-head{margin-bottom:14px;padding-bottom:12px}
.compact-workspace .period-audit{padding:10px 14px!important;display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px!important}
.compact-workspace .period-audit>.panel-head{border:0;padding:0;margin:0;gap:12px;display:contents}
.compact-workspace .period-audit h2{font-size:13px!important;margin:0}
.compact-workspace .period-audit-items{display:flex;gap:14px;flex-wrap:wrap;margin:0!important}
.compact-workspace .period-audit-items .link{font-size:12px;padding:0;min-height:28px}
.compact-workspace .period-audit>.panel-head>.link{margin-left:auto;font-size:12px}
.compact-workspace .compact-warning{font-size:12px;color:#80500d;background:#fff8e9;border-left:3px solid #dba74b;padding:7px 11px;margin:0 0 12px;border-radius:5px}
.compact-workspace .steps{margin:8px 0 16px}
.compact-workspace .metric-help{padding:0!important;min-height:24px;min-width:24px;line-height:22px;border-radius:50%;font-size:12px;margin-left:6px;background:#fff;border:1px solid #b8d5ef;box-shadow:none}
#workspace-help{position:fixed;inset:0 0 0 auto;margin:0;max-height:100dvh;height:100dvh;width:min(560px,100vw);max-width:100vw;border:0;border-left:1px solid #d6e7fa;border-radius:0;padding:24px;background:#f6faff;color:#234e7b;box-shadow:-14px 0 50px #173d6d25}
#workspace-help::backdrop{background:#122b4a55}
#workspace-help .panel-head{position:sticky;top:-24px;background:#f6faff;padding:12px 0 18px;z-index:1}
#workspace-help .help-section{padding:14px 0;border-bottom:1px solid #d6e7fa;line-height:1.8}
#workspace-help .data-note{margin:0}#workspace-help .notice{margin:0}
.compact-workspace .project-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none;clip-path:inset(50%)}
.compact-workspace .project-picker{position:relative;min-width:0;width:100%}
.compact-workspace .project-picker-trigger{width:100%;min-height:44px;text-align:left;padding:10px 32px 10px 13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#ffffffd9;position:relative;font-weight:400;box-shadow:none}
.compact-workspace .project-picker-trigger:after{content:'⌄';position:absolute;right:12px}
.compact-workspace .project-picker-popup{position:absolute;top:calc(100% + 6px);left:0;width:max(100%,300px);max-width:min(440px,calc(100vw - 40px));padding:10px;background:#fff;border:1px solid #bcd8f5;border-radius:12px;box-shadow:0 12px 35px #163d6b26;z-index:90}
.compact-workspace .project-picker-popup input{font-size:16px;width:100%;margin-bottom:8px}
.compact-workspace .project-picker-list{max-height:280px;overflow-y:auto;overscroll-behavior:contain}
.compact-workspace .project-picker-option{display:block;width:100%;min-height:44px;border:0;border-radius:7px;text-align:left;white-space:normal;padding:9px 10px;background:#fff;box-shadow:none;font-weight:400}
.compact-workspace .project-picker-option:hover,.compact-workspace .project-picker-option[aria-selected=true]{background:#edf6ff;color:#0059c8}
.compact-workspace .project-permission-search{margin:10px 0}
.compact-workspace .project-picker-popup[hidden],.compact-workspace .check-list label[hidden]{display:none!important}
.platform-trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.platform-trend-card{border:1px solid #d6e7fa;border-radius:14px;padding:16px;background:linear-gradient(145deg,#fff,#f4f9ff);min-width:0}
.platform-trend-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.platform-trend-heading h3{font-size:16px;margin:0}.platform-trend-heading>div{text-align:right}
.platform-trend-heading strong{display:block;font-size:23px;color:#0063de;font-variant-numeric:tabular-nums}.platform-trend-heading small{font-size:11px;color:#536d8a}
.platform-trend-svg{display:block;width:100%;height:auto;margin-top:12px;overflow:visible}
.platform-trend-svg line{stroke:#e2ebf5}.platform-trend-svg text{font-size:17px;fill:#496987}.platform-trend-svg .date-tick{font-size:16px}
.platform-trend-svg polyline{fill:none;stroke:#1169e8;stroke-width:3}.platform-trend-svg circle{fill:#1169e8;stroke:#fff;stroke-width:2;cursor:help}
.platform-trend-svg circle:focus{outline:3px solid #68a5ee;outline-offset:3px}
.platform-trend-card .chart-footnote{font-size:12px;margin:6px 0 0}
.overall-trend{margin-top:16px;border-top:1px solid #e1ebf7;padding-top:12px}.overall-trend summary{cursor:pointer;color:#35679c;min-height:32px}
@media(max-width:760px){.platform-trend-grid{grid-template-columns:1fr}.compact-workspace header{gap:8px;flex-wrap:wrap}.compact-workspace .header-meta{width:100%;justify-content:flex-start}.compact-workspace .header-cache,.compact-workspace .data-help-button{min-height:44px}.compact-workspace.ice-glass-theme #content>.page-head{flex-wrap:wrap}.compact-workspace .period-audit{display:block}.compact-workspace .period-audit-items{gap:10px;margin-top:6px!important}.compact-workspace .period-audit>.panel-head{display:flex;flex-wrap:wrap}.compact-workspace .project-picker-popup{width:100%;max-width:calc(100vw - 32px);min-width:0}.compact-workspace .metric-help{min-width:44px;min-height:44px}.platform-trend-heading small{font-size:12px}}
