:root{color-scheme:light;--bg:#f7f7f7;--surface:#fff;--ink:#252525;--muted:#636363;--line:#dedede;--accent:#cc3039;--soft:#faeaeb;--secondary:#787878;--shadow:0 8px 28px #00000012;font-family:'Segoe UI',Arial,sans-serif;font-size:100%;line-height:1.55;color:var(--ink);background:var(--bg)}
:root[data-theme=dark]{color-scheme:dark;--bg:#191919;--surface:#232323;--ink:#f2f2f2;--muted:#bcbcbc;--line:#444;--accent:#f1878e;--soft:#332729;--secondary:#b3b3b3;--shadow:0 8px 28px #0005}
*{box-sizing:border-box}body{margin:0;min-width:20rem;min-height:100vh;display:flex;flex-direction:column}a{color:var(--accent);text-underline-offset:.2em}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{color:inherit}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:3px;background:var(--surface);color:var(--ink);padding:.65rem .8rem;min-height:2.75rem}textarea{resize:vertical}input[type=checkbox],input[type=radio]{width:1.1rem;min-height:1.1rem;height:1.1rem;accent-color:#cc3039;flex-shrink:0}label,legend{display:block;font-size:.875rem;font-weight:600;margin-bottom:.4rem}fieldset{margin:0;padding:0;border:0;min-width:0}legend{padding:0}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;line-height:1.2;letter-spacing:-.045em;font-weight:600;margin-bottom:.7rem}h2{font-size:1.15rem;font-weight:600;line-height:1.35;margin-bottom:.7rem}h3{font-size:1rem;font-weight:600}p{margin-bottom:1rem}svg{display:block;width:100%;height:100%}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.muted,.hint{color:var(--muted)}.hint{font-size:.8125rem;line-height:1.6;margin:.5rem 0 0}.eyebrow{font-size:.6875rem;font-weight:650;letter-spacing:.14em;color:var(--muted);text-transform:uppercase;margin-bottom:.7rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-10rem;left:1rem;background:var(--surface);padding:1rem;z-index:100}.skip-link:focus{top:1rem}.site-header{background:#222;color:#fff;border-top:4px solid #cc3039}.header-inner,.nav-inner,.utility-inner,.main,.site-footer{width:min(100% - 4rem,72rem);margin-inline:auto}.header-inner{display:flex;justify-content:space-between;align-items:center;gap:2rem;min-height:5rem}.brand{display:inline-flex;align-items:center;gap:1rem;color:#fff;text-decoration:none}.brand-name{font-family:'Segoe UI',Arial,sans-serif;font-size:2rem;font-weight:650;letter-spacing:-.07em;line-height:1}.brand-label{border-left:1px solid #777;padding-left:1rem;font-size:.65rem;letter-spacing:.1em;font-weight:600}.account{display:flex;gap:1.25rem;align-items:center;font-size:.8125rem;color:#e3e3e3}.account form{margin:0}.header-button{border:0;background:none;color:#fff;padding:.45rem 0;font-size:.8125rem}.header-button:hover{text-decoration:underline}.header-button span{margin-left:.5rem}.nav-inner{display:flex;gap:1.75rem;flex-wrap:wrap}.nav-inner a{font-size:.875rem;text-decoration:none;color:#d5d5d5;padding:.75rem 0 .9rem;border-bottom:3px solid transparent}.nav-inner a[aria-current=page]{color:#fff;border-color:#ee3946}.nav-inner a:hover{color:#fff}.utility-bar{border-bottom:1px solid var(--line);background:var(--surface)}.utility-inner{display:flex;align-items:center;justify-content:space-between;min-height:2.8rem;gap:1rem;font-size:.75rem;color:var(--muted)}.environment{display:flex;align-items:center;gap:.45rem}.status-dot{width:.35rem;height:.35rem;border-radius:50%;background:var(--accent)}.preferences{position:relative}.preferences summary{padding:.5rem 0;list-style:none;color:var(--ink)}.preferences summary::-webkit-details-marker{display:none}.preferences summary::after{content:'⌄';padding-left:.6rem}.preferences-panel{position:absolute;z-index:10;right:0;top:calc(100% + .4rem);width:18rem;background:var(--surface);padding:1.3rem;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:4px}.preferences-panel select{font-size:.875rem;margin-bottom:1rem}.main{padding-block:2.5rem 4rem;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:2rem}.page-heading p:last-child{margin-bottom:0}.page-heading .muted{font-size:.9375rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;border:1px solid var(--line);border-radius:3px;padding:.65rem 1rem;min-height:2.75rem;font-size:.875rem;font-weight:600;line-height:1.5;text-decoration:none;color:var(--ink);background:var(--surface);white-space:nowrap}.button:hover{background:var(--bg);border-color:var(--muted)}.button.primary{background:#cc3039;border-color:#cc3039;color:#fff}.button.primary:hover{background:#a9232c;border-color:#a9232c}.panel{background:var(--surface);border:1px solid var(--line);border-radius:4px}.filters{display:flex;align-items:end;gap:1rem;margin-bottom:1.8rem;padding:1.25rem;background:var(--surface);border:1px solid var(--line);border-radius:4px}.filters>div:not(.search-field){min-width:12rem}.powerbi-sync-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;padding:1.25rem;margin-bottom:1rem}.powerbi-sync-summary .eyebrow{margin-bottom:.45rem}.powerbi-sync-summary h2{margin-bottom:.35rem}.powerbi-sync-summary .hint,.powerbi-sync-summary .field-error{margin-bottom:0}.report-filters{display:flex;align-items:end;gap:.75rem;flex-wrap:wrap;padding:1rem 1.25rem;margin-bottom:1rem}.report-filters .field{min-width:min(100%,18rem);margin:0}.search-field{flex:1}.filters label{font-size:.75rem}.text-link{font-size:.8125rem;align-self:center}.list-heading{display:flex;justify-content:space-between;gap:1rem;font-size:.6875rem;color:var(--muted);letter-spacing:.06em;padding:.7rem 1.25rem;background:var(--surface);border:1px solid var(--line);border-radius:4px 4px 0 0}.list-heading span:last-child{letter-spacing:0}.report-list{background:var(--surface);border:1px solid var(--line);border-top:0;border-radius:0 0 4px 4px}.report-row{display:flex;align-items:center;gap:1.2rem;padding:1.4rem 1.25rem;text-decoration:none;color:var(--ink);border-bottom:1px solid var(--line)}.report-row:last-child{border-bottom:0}.report-row:hover{background:var(--soft)}.report-row:hover .report-title{text-decoration:underline;text-underline-offset:.2em}.report-icon{padding:.7rem;background:var(--bg);color:var(--muted);border:1px solid var(--line);width:3rem;height:3rem;flex-shrink:0;border-radius:3px}.report-copy{display:block;flex:1;min-width:0}.report-title{display:block;font-weight:600;font-size:1.05rem;overflow-wrap:anywhere}.report-description{display:block;color:var(--muted);font-size:.875rem;line-height:1.65;margin-top:.35rem;overflow-wrap:anywhere}.report-meta{display:block;font-size:.75rem;color:var(--accent);margin-top:.6rem}.meta-separator{padding:0 .4rem}.report-arrow{font-size:1.4rem;color:var(--accent)}.empty-state{text-align:center;padding:3.5rem 1.5rem}.empty-state p{font-size:.9375rem;color:var(--muted)}.site-footer{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);padding-block:1.2rem;font-size:.75rem;color:var(--muted)}.back-link{display:inline-block;font-size:.8125rem;text-decoration:none;color:var(--muted);margin-bottom:1.8rem}.back-link:hover{text-decoration:underline}.notice{padding:1rem 1.25rem;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:3px;margin-bottom:1.5rem;font-size:.875rem}.notice ul{padding-left:1.2rem;margin-bottom:0}.error,.field-error{color:var(--accent)}.field-error{font-size:.8125rem;margin:.45rem 0 0}.login-layout{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:6rem;max-width:60rem;margin:3rem auto}.login-intro h1{font-size:2.8rem;line-height:1.18;margin-bottom:1.4rem}.login-intro>p:not(.eyebrow){color:var(--muted);max-width:26rem}.intro-rule{width:3rem;height:3px;background:#cc3039;margin:2rem 0}.login-panel{padding:2rem}.login-panel h2{font-size:1.5rem;margin-bottom:.35rem}.login-panel>.muted{font-size:.875rem;margin-bottom:1.5rem}.microsoft-button{width:100%}.ms-mark{display:grid;grid-template-columns:repeat(2,.45rem);gap:2px;flex-shrink:0}.ms-mark i{display:block;background:white;height:.45rem}.demo-login{border-top:1px solid var(--line);margin-top:1.7rem;padding-top:1.5rem}.badge{display:inline-block;background:var(--bg);border:1px solid var(--line);border-radius:3px;padding:.22rem .45rem;font-size:.65rem;font-weight:600;letter-spacing:.04em;white-space:nowrap;color:var(--muted)}.demo-login h3{margin:.75rem 0 0}.demo-roles{margin-top:1rem}.demo-roles button{display:flex;justify-content:space-between;gap:1rem;background:none;border:0;border-bottom:1px solid var(--line);padding:.7rem 0;text-align:left;width:100%;font-size:.875rem}.demo-roles button:last-child{border-bottom:0}.demo-roles button:hover{color:var(--accent)}.demo-roles button span{color:var(--accent)}.demo-report{padding:1.5rem}.demo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.demo-toolbar label{font-size:.75rem}.demo-toolbar select{min-width:10rem;font-size:.875rem}.report-tabs{display:flex;gap:1.3rem;border-bottom:1px solid var(--line)}.report-tabs button{background:none;border:0;border-bottom:3px solid transparent;font-size:.875rem;padding:.6rem .1rem .8rem;color:var(--muted)}.report-tabs button[aria-pressed=true]{border-color:var(--accent);color:var(--ink);font-weight:600}.metrics{display:grid;grid-template-columns:repeat(3,1fr);margin:1.5rem 0 2rem;border:1px solid var(--line);background:var(--bg);border-radius:3px}.metrics>div{padding:1.25rem 1.5rem;border-right:1px solid var(--line)}.metrics>div:last-child{border-right:0}.metrics span{display:block;font-size:.75rem;color:var(--muted)}.metrics strong{display:block;font-size:2rem;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin-top:.25rem}.chart-legend{display:flex;gap:1.25rem;margin:1.2rem 0;font-size:.75rem;color:var(--muted)}.chart-legend span{display:flex;align-items:center;gap:.4rem}.chart-legend i{width:.6rem;height:.6rem;display:inline-block}.legend-received{background:#cc3039}.legend-resolved{background:var(--secondary)}.demo-chart{max-width:52rem;margin:1.5rem 0 2rem}.chart-row{display:grid;grid-template-columns:5.5rem 1fr;gap:1.4rem;align-items:center;margin-bottom:1.4rem}.chart-row>strong{font-size:.8125rem;font-weight:500}.chart-tracks{display:grid;gap:.45rem;padding-right:2rem}.chart-track{height:1.05rem;display:flex;align-items:center;gap:.5rem}.chart-bar{height:100%;display:block;background:#cc3039;flex-shrink:0;min-width:1px}.chart-bar.resolved{background:var(--secondary)}.chart-value{font-size:.7rem;font-variant-numeric:tabular-nums;color:var(--muted)}.demo-source{border-top:1px solid var(--line);padding-top:1rem;margin:1.5rem 0 0;font-size:.75rem;color:var(--muted)}.embed-frame{background:var(--surface);border:1px solid var(--line);border-radius:4px;overflow:hidden}.embed-frame iframe{display:block;width:100%;height:72vh;min-height:28rem;border:0}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.875rem;text-align:left}th{font-size:.75rem;font-weight:600;color:var(--muted);background:var(--bg);white-space:nowrap}th,td{padding:1rem 1.25rem;border-bottom:1px solid var(--line);vertical-align:top}tr:last-child td{border-bottom:0}td strong{font-weight:600}.table-subtitle{display:block;color:var(--muted);font-size:.75rem;margin-top:.3rem}.number{text-align:right;font-variant-numeric:tabular-nums}.table-actions{display:flex;align-items:center;gap:1rem}.table-actions form{margin:0}.table-actions a,.text-button{font-size:.8125rem}.text-button{border:0;background:none;padding:0;color:var(--muted);text-decoration:underline;text-underline-offset:.2em}.status-published{background:var(--soft);color:var(--accent);border-color:var(--line)}.status-error{color:var(--accent);border-color:var(--accent)}.powerbi-refresh-cell{min-width:12rem;font-variant-numeric:tabular-nums}.powerbi-refresh-cell strong,.powerbi-refresh-cell time{display:block}.powerbi-refresh-cell strong{font-size:.75rem;margin-bottom:.2rem}.powerbi-refresh-cell .badge{margin-top:.45rem}.editor-form{max-width:49rem}.form-section{padding:1.5rem;margin-bottom:1.25rem}.form-section>h2{margin-bottom:1.5rem}.field{margin-bottom:1.25rem}.field:last-child{margin-bottom:0}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}.required{color:var(--accent)}.check-label{display:flex;align-items:center;gap:.6rem;font-size:.875rem;font-weight:400;padding:.25rem 0;margin-bottom:.4rem}.group-choices{border-top:1px solid var(--line);margin-top:1.4rem;padding-top:1rem}.group-choices legend{float:left;width:100%;margin-bottom:.4rem}.group-choices .hint{clear:both;margin-bottom:.75rem}.form-actions{display:flex;gap:.75rem;margin-top:1.5rem}.directory-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.directory-grid>section{min-width:0}.directory-list{list-style:none;padding:0;margin:0 0 1.5rem}.directory-list li{padding:.75rem 0;border-bottom:1px solid var(--line);font-size:.875rem}.object-id{overflow-wrap:anywhere}
@media(min-width:90rem){.main{padding-top:3rem}.report-row{padding-block:1.65rem}}
@media(max-width:60rem){.login-layout{gap:2.5rem}.login-intro h1{font-size:2.25rem}.filters{flex-wrap:wrap}.search-field{flex-basis:50%}.directory-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading>.button{white-space:normal}.account{gap:.8rem}}
@media(max-width:40rem){.powerbi-sync-summary{flex-direction:column;gap:.75rem}.header-inner,.nav-inner,.utility-inner,.main,.site-footer{width:calc(100% - 2rem)}.header-inner{gap:1rem;align-items:flex-start;padding-block:1.15rem;flex-wrap:wrap;min-height:0}.brand-name{font-size:1.8rem}.account{width:100%;justify-content:space-between}.nav-inner{gap:1.2rem}.nav-inner a{font-size:.8125rem}.main{padding-top:1.75rem}.page-heading{flex-direction:column;gap:1rem}.page-heading h1{font-size:1.7rem}.page-heading .button{align-self:flex-start}.filters{padding:1rem;gap:.8rem}.filters>div,.filters>div:not(.search-field){min-width:0;flex-basis:100%}.filters .button{flex:1}.report-row{gap:.8rem;padding:1.1rem 1rem}.report-icon{display:none}.report-title{font-size:1rem}.site-footer{flex-direction:column;gap:.3rem}.login-layout{grid-template-columns:1fr;margin:1rem auto;gap:1.5rem}.login-intro h1{font-size:2rem}.login-intro .intro-rule,.login-intro>.hint{display:none}.login-panel{padding:1.3rem}.demo-report{padding:1rem}.demo-toolbar{align-items:flex-start;flex-direction:column}.demo-toolbar>div:last-child{width:100%}.metrics{grid-template-columns:1fr;margin:1.2rem 0 1.5rem}.metrics>div{display:flex;align-items:center;justify-content:space-between;padding:.8rem 1rem;border-right:0;border-bottom:1px solid var(--line);gap:.6rem}.metrics>div:last-child{border-bottom:0}.metrics strong{font-size:1.6rem;margin:0}.chart-row{grid-template-columns:1fr;gap:.45rem}.chart-tracks{padding-right:2.5rem}.form-section{padding:1.1rem}.form-columns{grid-template-columns:1fr;gap:0}.form-actions{flex-wrap:wrap}.form-actions .button{flex:1}.table-actions{flex-direction:column;align-items:flex-start;gap:.6rem}th,td{padding:.8rem}.preferences-panel{width:min(18rem,calc(100vw - 2rem))}.embed-frame iframe{min-height:32rem}.badge{white-space:normal}.chart-legend{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.directory-editor summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;list-style:none;padding:.2rem 0}.directory-editor summary::-webkit-details-marker{display:none}.directory-editor summary>span:first-child{min-width:0}.directory-edit-label{color:var(--accent);font-size:.75rem;flex-shrink:0;text-decoration:underline;text-underline-offset:.2em}.directory-editor[open] summary{margin-bottom:1rem}.directory-editor form{padding:.5rem 0}.directory-editor summary:hover .directory-edit-label{text-decoration-thickness:2px}

/* Reports open using the available browser viewport; Power BI keeps its page navigation. */
.report-focus-toolbar{display:flex;align-items:center;gap:1rem;padding:.6rem 0;margin-bottom:1rem}
.report-focus-toolbar>span{flex:1;min-width:0;font-weight:600;overflow-wrap:anywhere}
.report-focus .site-header,.report-focus .utility-bar,.report-focus .site-footer,.report-focus .report-introduction{display:none}
body.report-focus{height:100vh;height:100dvh;overflow:hidden}
.report-focus .main{width:100%;margin:0;padding:0 .75rem .75rem;display:flex;flex-direction:column;min-height:0}
.report-focus .report-focus-toolbar{flex-shrink:0;margin:0}
.report-focus .report-stage{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto}
.report-focus .powerbi-embed-shell{flex:1;min-height:0;display:flex;flex-direction:column}
.report-focus .embed-frame{flex:1;min-height:0;display:flex}
.report-focus .embed-frame iframe{height:100%;min-height:0;flex:1}
.report-focus .demo-report{overflow:auto}
.report-focus .report-stage>.notice{margin-bottom:.5rem;padding:.5rem}
@media(max-width:40rem){.powerbi-sync-summary{flex-direction:column;gap:.75rem}.report-focus-toolbar{gap:.5rem;flex-wrap:wrap}.report-focus-toolbar>span{order:-1;flex-basis:100%;font-size:.875rem}.report-focus-toolbar .button{font-size:.75rem;padding:.4rem .6rem}.report-focus-toolbar button{margin-left:auto}}

/* Rae's white masthead stays light so the official crest and wordmark remain clear. */
.site-header{background:#fff;color:#252525;border-top:6px solid #cc3039;border-bottom:1px solid #e5e5e5;color-scheme:light}
.header-inner{min-height:7rem}
.brand{color:#252525}
.brand-label{border-color:#dedede;color:#636363}
.account{color:#636363}
.header-button{color:#252525}
.nav-inner a{color:#333}
.nav-inner a[aria-current=page],.nav-inner a:hover{color:#cc3039}
.nav-inner a[aria-current=page]{border-color:#cc3039}
.brand-logo{display:block;width:auto;height:auto;max-width:15.5rem;max-height:5rem;object-fit:contain}
.branding-preview{background:#fff;color:#252525;padding:1.5rem;border:1px solid #dedede;border-radius:3px;min-height:8rem;display:flex;align-items:center}
.branding-preview .brand{max-width:100%;flex-wrap:wrap}
@media(max-width:40rem){.powerbi-sync-summary{flex-direction:column;gap:.75rem}.header-inner{min-height:0}.brand{gap:.75rem}.brand-logo{max-width:11rem;max-height:3.6rem}.brand-label{padding-left:.75rem;font-size:.6rem}.branding-preview{padding:1rem}}

.report-thumbnail{width:9rem;aspect-ratio:16/9;object-fit:contain;background:var(--bg);border:1px solid var(--line);border-radius:3px;flex-shrink:0}
.report-details{display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;margin-bottom:1.5rem}
.report-preview{display:block;width:100%;max-height:30rem;object-fit:contain;background:var(--bg);border-bottom:1px solid var(--line)}
.report-details-copy,.report-comments{padding:1.5rem}
.report-dates{display:flex;flex-wrap:wrap;gap:1.5rem 3rem;margin:1.5rem 0}
.report-dates dt{font-size:.8125rem;color:var(--muted)}
.report-dates dd{margin:.3rem 0 0;font-variant-numeric:tabular-nums}
.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}
.comment-form{margin:1.5rem 0;max-width:48rem}
.comment-form .button{margin-top:1rem}
.comment-list{list-style:none;padding:0;margin:0}
.comment-list>li{border-top:1px solid var(--line);padding:1.25rem 0}
.comment-list p{margin:.65rem 0 0}
.comment-heading{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;align-items:baseline}
.comment-heading time{font-size:.8125rem;color:var(--muted);font-variant-numeric:tabular-nums}
.comment-pagination{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem}
@media(max-width:40rem){.powerbi-sync-summary{flex-direction:column;gap:.75rem}.report-thumbnail{width:5rem}.report-details-copy,.report-comments{padding:1rem}.report-dates{gap:1rem;flex-direction:column}}

.powerbi-pages{display:flex;align-items:center;gap:.6rem;padding:.5rem 0;flex-shrink:0}
.powerbi-page-tabs{display:flex;gap:.3rem;overflow-x:auto;min-width:0;flex:1;padding:.25rem}
.powerbi-page-tabs a{display:block;flex-shrink:0;padding:.6rem 1rem;border:1px solid var(--line);border-bottom:3px solid transparent;border-radius:4px 4px 0 0;text-decoration:none;color:var(--ink);background:var(--surface);font-size:.875rem}
.powerbi-page-tabs a[aria-current=page]{border-bottom-color:var(--accent);color:var(--accent);font-weight:600;background:var(--soft)}
.powerbi-page-tabs a:hover{background:var(--soft)}
.page-arrow{flex-shrink:0;min-width:2.75rem}
.page-arrow:disabled{opacity:.45;cursor:default}

.utility-actions{display:flex;align-items:center;gap:1rem}
[data-portal-refresh][hidden]{display:none}
.text-button.danger{color:#b4232c}
