/* Report surfaces only. Calendar, editor, dialogs and paper exports retain their styles. */
.workspace-reports,.wr-dialog{--wr-ink:#29343d;--wr-muted:#687780;--wr-line:#dfe5e9;--wr-accent:#873944;color:var(--wr-ink);font-size:13px;letter-spacing:0}
.workspace-reports h1{font-size:28px;font-weight:600;margin:7px 0;line-height:1.25}
.workspace-reports h2,.wr-dialog h2{font-size:15px;font-weight:600;margin:0;line-height:1.5}
.workspace-reports h3,.wr-dialog h3{font-size:12px;font-weight:600;margin:0 0 5px}
.workspace-reports p,.wr-dialog p{font-size:12px;line-height:1.7;color:var(--wr-muted);margin:0}
.workspace-reports .ui-icon,.wr-dialog .ui-icon{width:17px;height:17px;flex:none;margin:0}
.workspace-reports button,.wr-dialog button{display:inline-flex;gap:7px;align-items:center;justify-content:center;font-size:12px;font-weight:500;min-height:36px;background:#fff;color:var(--wr-ink);border:1px solid #d7e0e5;border-radius:5px;box-shadow:none;padding:8px 12px}
.workspace-reports button:hover{background:#f6f8f9;border-color:#aabac5}
.workspace-reports button:focus-visible,.workspace-reports a:focus-visible,.workspace-reports input:focus-visible,.workspace-reports select:focus-visible{outline:2px solid #587b93;outline-offset:3px}
.wr-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px}
.wr-heading>div:last-child{display:flex;gap:8px;flex:none}.wr-eyebrow{font-size:10px;font-weight:600;color:var(--wr-muted)}
.wr-controls{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--wr-line)}
.wr-controls label{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--wr-muted)}
.wr-controls input{width:175px;font-size:12px;min-height:36px;background:white;color:var(--wr-ink)}
.wr-controls>span{font-size:10px;color:var(--wr-muted)}.wr-controls .wr-status{margin-left:auto}
.wr-status{display:inline-flex;align-items:center;gap:6px;color:#667680;white-space:normal;font-size:10px;font-weight:500}
.wr-status:before{content:'';display:block;width:6px;height:6px;flex:none;border-radius:50%;background:#9daab3}
.wr-tabs{display:flex;gap:28px;border-bottom:1px solid #d8e0e5;margin-bottom:24px;overflow-x:auto}
.workspace-reports .wr-tabs button{padding:15px 0;border:0;border-radius:0;white-space:nowrap;background:transparent;color:var(--wr-muted);position:relative}
.workspace-reports .wr-tabs button[aria-selected=true]{color:var(--wr-ink);font-weight:600}
.wr-tabs button[aria-selected=true]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--wr-accent)}
#wr-panel{outline:0;animation:wr-in .16s ease-out}
@keyframes wr-in{from{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:none}}
.wr-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:25px}
.wr-metric{border:1px solid var(--wr-line);border-radius:6px;padding:18px 17px;background:#fff;min-width:0;min-height:128px}
.wr-metric>span{color:#5d707e;font-size:11px}.wr-metric>strong{display:block;font-size:28px;line-height:1.2;font-weight:500;margin:11px 0;color:#98a6af}.wr-metric small{font-size:10px;color:var(--wr-muted);display:block;line-height:1.6}
.wr-columns{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:30px;padding:24px 0;border-block:1px solid var(--wr-line)}
.wr-columns>section{min-width:0}.wr-columns>section+section{padding-left:25px;border-left:1px solid var(--wr-line)}
.wr-section-head{margin-bottom:15px;display:flex;justify-content:space-between;gap:16px}.wr-section-head p{margin-top:5px;font-size:11px}
.wr-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;min-height:205px;padding:25px 20px;background:#fafbfc;color:#7f929f;border-radius:4px}
.wr-empty>.ui-icon{width:25px;height:25px;color:#9aabb7;margin-bottom:3px}.wr-empty strong{font-size:13px;font-weight:500;color:#435966}.wr-empty p{max-width:430px;font-size:11px;line-height:1.8;white-space:normal}
.wr-plan-summary dl{margin:17px 0 19px}.wr-plan-summary dl>div{display:flex;justify-content:space-between;padding:11px 0;gap:12px;border-bottom:1px solid #edf0f2;font-size:12px}.wr-plan-summary dt{color:var(--wr-muted)}.wr-plan-summary dd{margin:0;font-size:18px;font-weight:500;color:#344d5c}.wr-plan-summary button{margin-top:15px}
.workspace-reports .wr-note{font-size:10px;line-height:1.75;color:#748692;margin-top:14px}
.wr-section{margin-top:27px;padding-top:23px;border-top:1px solid var(--wr-line)}
.wr-source-list>div{display:flex;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid #e8edf0}.wr-source-list .wr-status{margin-left:auto;flex:none}.wr-source-list p{font-size:11px}.wr-source-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #dfe5ea;border-radius:6px;background:#fafbfc;flex:none;color:#5c7587}
.wr-channel-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:22px}.workspace-reports .wr-channel-tabs button{font-size:11px;padding:7px 13px;min-height:34px}.workspace-reports .wr-channel-tabs button[aria-pressed=true]{background:#eef2f5;border-color:#9aacb7;color:#304a5b}
.wr-segment{display:flex;gap:4px;width:fit-content;border:1px solid #e1e6ea;padding:3px;background:#f5f7f8;border-radius:5px;margin:20px 0 0}.workspace-reports .wr-segment button{border:0;background:transparent;font-size:11px;padding:7px 14px;min-height:32px}.workspace-reports .wr-segment button[aria-pressed=true]{background:#fff;box-shadow:0 1px 3px #18344715}
.wr-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:17px}.wr-select,.wr-search{font-size:10px;color:var(--wr-muted);font-weight:400}.wr-select select,.wr-search input{background:#fff;color:var(--wr-ink);min-height:36px;font-size:12px;min-width:160px;max-width:240px}.wr-search input{width:240px}.wr-filters>span{font-size:11px;color:var(--wr-muted);padding:10px 0;margin-left:auto}
.wr-table{overflow:auto;width:100%;border:1px solid var(--wr-line);border-radius:5px;background:#fff}.wr-table table{border-collapse:collapse;width:100%;font-size:11px;margin:0;color:var(--wr-ink)}.wr-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.wr-table th,.wr-table td{padding:13px 14px;text-align:right;border-bottom:1px solid #e9eef1;white-space:nowrap;font-variant-numeric:tabular-nums}.wr-table th:first-child,.wr-table td:first-child{text-align:left}.wr-table thead th{background:#f8fafb;color:#627783;font-size:10px;font-weight:500}.wr-table tbody th{font-weight:500}.wr-table tbody tr:last-child>*{border-bottom:0}.wr-table td[colspan]{text-align:center;padding:15px}.wr-table .wr-empty{background:transparent;min-width:280px;min-height:230px}
.wr-content-name{display:flex;align-items:center;gap:12px;min-width:230px;max-width:335px}.wr-content-name>span:last-child{white-space:normal;overflow-wrap:anywhere;line-height:1.6}.wr-content-name img{width:48px;height:52px;object-fit:contain;background:#f4f6f8;border-radius:3px;flex:none}.wr-content-name small{display:block;font-size:10px;color:#7e8d96;margin-top:4px}.wr-format-icon{display:grid;place-items:center;width:42px;height:48px;background:#f3f6f8;color:#7e929f;flex:none;border-radius:4px}
.wr-icon-link{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid #dce5eb;border-radius:5px;color:#536e80}.wr-audience{margin-top:24px;grid-template-columns:1fr 1fr}.wr-audience>section+section{border:0;padding-left:0}
.shell .workspace-reports .wr-plan-export{border:0;margin:0;padding:10px 0;justify-content:start;gap:16px}.wr-plan-export>div:first-child{margin-right:auto}.wr-plan-export p{margin:5px 0}.wr-plan-export small{font-size:10px;color:var(--wr-muted)}.workspace-reports .plan-export #export-options{z-index:10}
.wr-footer{border-top:1px solid var(--wr-line);margin-top:30px;padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--wr-muted);font-size:10px}.workspace-reports .wr-footer button{border:0;padding:5px;background:transparent;font-size:10px}
.wr-dialog{width:min(730px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:26px;border:1px solid #dce4e9;border-radius:8px;background:#fff}.wr-dialog::backdrop{background:#17283666}.wr-dialog>header{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:16px}.wr-dialog>header small{font-size:10px}.wr-dialog [data-close]{width:36px;padding:0;flex:none}.wr-dialog [data-close] .ui-icon{transform:rotate(45deg)}.wr-definitions>div{border-top:1px solid #e5eaed;padding:13px 0;font-size:11px}.wr-definitions dt{font-weight:600}.wr-definitions dd{margin:6px 0 0;color:var(--wr-muted);line-height:1.8}
@media(max-width:1100px){.wr-heading{align-items:start}.wr-columns{grid-template-columns:minmax(0,1fr) 245px;gap:20px}.wr-columns>section+section{padding-left:18px}.wr-metrics{gap:8px}.wr-metric{padding:14px 12px}.wr-controls{gap:12px}.wr-audience{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.wr-columns{grid-template-columns:1fr}.wr-columns>section+section{border-left:0;border-top:1px solid var(--wr-line);padding:22px 0 0}.wr-heading{flex-wrap:wrap;gap:15px}.wr-controls .wr-status{margin-left:0}.wr-tabs{gap:23px}.wr-source-list>div{flex-wrap:wrap}.wr-source-list .wr-status{margin-left:49px}.wr-dialog .wr-source-list .wr-status{margin-left:0}}
@media(max-width:650px){.shell:has(.workspace-reports) .sidebar nav{flex-wrap:wrap}.workspace-reports h1{font-size:25px}.wr-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.wr-metric{min-height:122px}.wr-heading{margin-bottom:18px}.wr-heading>div:last-child{width:100%}.wr-heading>div:last-child button:last-child{flex:1}.wr-controls>span:last-child{width:100%}.wr-tabs{margin-bottom:20px}.wr-tabs button{flex:none}.wr-empty{padding-inline:16px}.wr-filters{align-items:stretch}.wr-search,.wr-search input{width:100%;max-width:none}.wr-select{flex:1}.wr-select select{width:100%;min-width:0;max-width:none}.wr-filters>span{margin:0}.wr-source-list>div>div{flex:1;min-width:190px}.wr-footer{align-items:start;flex-direction:column;gap:8px}.wr-dialog{padding:20px}.workspace-reports .plan-export #export-options{left:0;right:auto;max-width:calc(100vw - 36px)}}
@media(prefers-reduced-motion:reduce){#wr-panel{animation:none}}
