
:root{font-family:"Segoe UI",system-ui,sans-serif;color:#172e45;background:#f2f5f8;line-height:1.45;--navy:#172e45;--muted:#516577;--line:#d9e2e9;--orange:#ca4315;--white:#fff;--blue:#244f76}
*{box-sizing:border-box}
body{margin:0}
[hidden]{display:none!important}
h1,h2,h3,p{margin:0}
a{color:var(--blue);text-underline-offset:.22em}
button,input,select{font:inherit}
button,summary{cursor:pointer}
:focus-visible{outline:3px solid #236eaa;outline-offset:3px}
.topbar{background:#fff;border-bottom:1px solid var(--line)}
.topbar-inner{max-width:1500px;margin:auto;padding:0 clamp(1rem,3vw,2.75rem);min-height:74px;display:flex;gap:2rem;align-items:center}
.brands{display:flex;align-items:center;gap:1rem;flex:none}
.brands img{width:auto;height:29px;max-width:135px;object-fit:contain}
.brands img:first-child{height:29px;max-width:64px}
.brands span{width:1px;height:26px;background:#d5dee5}
.topbar nav{display:flex;align-items:stretch;gap:1.5rem;align-self:stretch}
.topbar nav a{display:grid;align-items:center;text-decoration:none;font-size:.95rem;color:var(--muted);border-block:3px solid transparent}
.topbar nav a[aria-current]{border-bottom-color:var(--orange);color:var(--navy);font-weight:650}
.signout{margin-left:auto}
.signed-out .shell{min-height:100vh;display:grid;align-items:center}
.shell{max-width:1500px;margin:auto;padding:clamp(1rem,3vw,2.75rem)}
.eyebrow{font-size:.83rem;font-weight:700;letter-spacing:.1em;color:var(--orange)}
.page-heading{display:grid;gap:.55rem;margin:0 0 1.5rem}
.page-heading h1{font-size:clamp(1.45rem,3vw,2.4rem);line-height:1.08;letter-spacing:-.035em}
.metadata{color:var(--muted);font-size:.875rem}
.login-layout{min-height:min(70vh,720px);display:grid;grid-template-columns:1.12fr minmax(300px, .88fr);max-width:990px;margin:auto;align-items:center;gap:clamp(2rem,6vw,6rem)}
.login-logo{display:flex;align-items:center;gap:4%;width:min(100%,22rem);margin-bottom:1.15rem}
.login-logo-words{display:flex;flex:1;align-items:end;gap:5%}
/* The symbol and lettering are cropped from the original high-resolution logo. */
.login-logo-globe,.login-logo-bim,.login-logo-advisor{
  position:relative;display:block;overflow:hidden;aspect-ratio:var(--crop-width)/var(--crop-height)
}
.login-logo img{
  display:block;position:absolute;inset:0 auto auto 0;width:calc(2993 / var(--crop-width) * 100%);height:auto;
  transform:translate(var(--crop-left),var(--crop-top))
}
.login-logo-globe{
  width:19%;--crop-width:1304;--crop-height:1170;--crop-left:0%;--crop-top:0%;
  clip-path:polygon(0 0,100% 0,100% 66%,89.5% 80%,89.5% 100%,0 100%)
}
.login-logo-bim{width:37%;--crop-width:1640;--crop-height:759;--crop-left:-45.04%;--crop-top:-1.28%}
.login-logo-advisor{width:58%;--crop-width:1811;--crop-height:351;--crop-left:-39.49%;--crop-top:-69.74%}
.login-logo-advisor img{filter:brightness(0);opacity:.84}
.login-intro h1{border-top:4px solid var(--orange);padding-top:1.35rem;font-size:clamp(2.5rem,6vw,5rem);letter-spacing:-.065em;line-height:1.02;margin:0 0 1.2rem}
.login-card,.panel{border:1px solid var(--line);background:white;border-radius:12px;padding:clamp(1rem,3vw,1.6rem)}
.login-card{box-shadow:0 18px 48px #1a334510;padding:clamp(1.5rem,4vw,2.5rem)}
.login-card h2,.panel h2{font-size:1.2rem;margin-bottom:1rem}
.stack{display:grid;gap:1rem}
.stack label{display:grid;gap:.36rem;font-size:.94rem;font-weight:600}
.stack input:not([type=checkbox]),.table-search{width:100%;min-width:0;padding:.65rem .75rem;border:1px solid #abbcc9;border-radius:6px;color:var(--navy);background:white}
.primary,.quiet{display:inline-flex;justify-content:center;align-items:center;gap:.4rem;border:1px solid transparent;border-radius:6px;font-size:.88rem;font-weight:650;text-decoration:none;padding:.55rem .85rem}
.primary{background:var(--navy);color:white}
.primary:hover{background:#294b68}
.quiet{background:#fff;border-color:#c4d1db;color:var(--navy)}
.quiet:hover{background:#f4f7fa;border-color:#8c9eae}
.quiet:disabled{opacity:.5;cursor:default}
.notice{padding:.85rem 1rem;background:#fff;border:1px solid var(--line);border-radius:6px;margin-bottom:1rem}
.notice.error{border-color:#d6765b;color:#8d2b14}
.tabs{display:flex;flex-wrap:wrap;gap:.45rem;padding:.35rem;background:#e4ebf1;border-radius:9px;width:fit-content;margin-bottom:1.15rem}
.tabs a{padding:.55rem .85rem;color:var(--muted);font-weight:650;text-decoration:none;font-size:.9rem;border-radius:6px}
.tabs a[aria-current]{background:white;box-shadow:0 1px 3px #162d4520;color:var(--navy)}
.filter-section{background:#fff;border:1px solid var(--line);border-radius:10px;padding:.85rem 1rem 1rem;margin-bottom:1rem}
.filter-heading{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:.65rem}
.filter-heading h2{font-size:1.05rem}
.filter-heading button{margin-left:auto}
.active-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.8rem}
.filter-chip{border:1px solid #9ebacf;border-radius:100px;background:#edf5fa;color:var(--navy);padding:.24rem .65rem;font-size:.83rem;text-align:left;overflow-wrap:anywhere}
.filter-chip:hover{background:#dbeaf4}
.filters,.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}
.filters details{position:relative;min-width:0}
.filters summary{border:1px solid #c5d2de;border-radius:6px;padding:.45rem .6rem;background:#fff}
.filters details[open] summary{border-color:#6e8da7}
.filters summary::marker{color:#597085;font-size:.8rem}
.filter-label{font-size:.74rem;font-weight:750;letter-spacing:.045em}
.filter-value{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;color:var(--muted);font-weight:400;margin-left:.72rem}
.filter-options{position:absolute;z-index:2;top:calc(100% + 3px);min-width:100%;width:max-content;max-width:min(265px,88vw);max-height:270px;overflow:auto;background:white;border:1px solid #a5b7c5;border-radius:6px;padding:.45rem;box-shadow:0 8px 22px #142f4820}
.filters details:nth-child(4n) .filter-options{right:0}
.filter-options label{display:flex;align-items:flex-start;gap:.45rem;padding:.26rem .24rem;font-size:.875rem;overflow-wrap:anywhere}
.filter-options label:hover{background:#eef3f7}
input[type=checkbox]{accent-color:var(--blue)}
.cards{margin-bottom:1rem}
.card{background:#fff;border-radius:8px;padding:.75rem 1rem;min-height:105px;box-shadow:0 1px 2px #182e4513}
.card h2{font-size:.93rem;font-weight:650}
.card p{font-size:.78rem;color:var(--muted)}
.card strong{font-size:1.7rem;line-height:1.15;display:block;margin-top:.45rem;font-variant-numeric:tabular-nums}
.visuals,.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.visual-wide,.admin-wide{grid-column:1/-1}
.visual{min-width:0}
.visual h2{margin-bottom:.75rem;font-size:1rem}
.bars{display:grid;gap:.32rem;max-height:290px;overflow:auto;padding:.2rem}
.bar{font:inherit;display:grid;grid-template-columns:minmax(6rem,1fr) minmax(3rem,1.25fr) minmax(4rem,max-content);gap:.65rem;align-items:center;width:100%;border:0;background:#fff;color:inherit;text-align:left;padding:.23rem .28rem;border-radius:3px;font-size:.85rem}
.bar:hover,.bar[aria-pressed=true]{background:#f0f5f9}
.bars.has-selection .bar[aria-pressed=false] meter{opacity:.43}
.bar[aria-pressed=true]{box-shadow:inset 3px 0 var(--bar-color);font-weight:650}
.card-filter{color:inherit;font:inherit;text-align:left;width:100%;padding:.2rem;border:0;background:none;border-radius:4px}
.card-filter:hover,.card:has(.card-filter[aria-pressed=true]){background:#eaf3f9}
.card:has(.card-filter[aria-pressed=true]){box-shadow:inset 0 3px #2375a9}
.card-title,.card-subtitle{display:block}
.card-title{font-size:.93rem;font-weight:650}
.card-subtitle{font-size:.78rem;color:var(--muted)}
.card-filter strong{pointer-events:none}
.cell-filter{color:#244f76;border:0;border-radius:4px;background:none;padding:.12rem .25rem;font:inherit;text-align:inherit;width:100%}
.cell-filter:hover,.cell-filter[aria-pressed=true]{background:#d4e8f6;color:#153c5a}
.cell-filter[aria-pressed=true]{font-weight:750}
.data-table tr.is-selected td{background:#edf6fc}
.data-table tr.filterable-row{cursor:pointer}
.bar-label{overflow-wrap:anywhere}
.bar meter{width:100%;height:1.15rem;accent-color:var(--blue)}
.bar meter::-webkit-meter-bar{background:#eaf0f5;border:0;border-radius:2px;height:.63rem}
.bar{--bar-color:#2375a9}
.bar.teal{--bar-color:#0b879c}
.bar.orange{--bar-color:#e98a3d}
.bar meter::-webkit-meter-optimum-value{background:var(--bar-color)}
.bar meter::-moz-meter-bar{background:var(--bar-color)}
.bar-value{text-align:right;font-weight:650;font-variant-numeric:tabular-nums}
.scroll-table{overflow:auto;max-height:480px}
.data-table{border-collapse:separate;border-spacing:0;width:100%;font-size:.875rem}
.data-table caption{text-align:left;color:var(--muted);padding:0 0 .55rem}
.data-table th,.data-table td{padding:.47rem .65rem;border-bottom:1px solid #e3eaf0;text-align:left}
.data-table thead th{position:sticky;top:0;z-index:1;background:#eaf0f5;font-weight:650;white-space:nowrap}
.data-table .number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.data-table tbody tr:nth-child(even){background:#f7f9fb}
.data-table.matrix tbody th,.data-table.matrix tfoot th:first-child{position:sticky;left:0;background:#eef3f7;white-space:nowrap}
.data-table.matrix .has-value{background:#eaf3fa}
.data-table tfoot th{background:#eaf0f5}
.data-table.matrix tfoot th{position:sticky;bottom:0}
.data-table.matrix tr>:last-child{position:sticky;right:0;background:#eaf0f5}
.data-table.matrix thead th:last-child,.data-table.matrix tfoot th:last-child{z-index:1}
.table-controls{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;margin-bottom:.75rem;font-size:.875rem}
.table-controls label{display:flex;align-items:center;gap:.5rem}
.table-search{max-width:20rem}
.table-pager{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.sort-button{background:none;color:inherit;border:0;padding:0;text-align:inherit;font:inherit}
.report-list{display:grid;gap:.75rem}
.report{display:flex;align-items:center;gap:.7rem;background:white;border:1px solid var(--line);border-radius:8px;padding:.8rem 1rem}
.report-copy{flex:1;min-width:0;overflow-wrap:anywhere}
.report h3{font-size:1rem}
.report p{color:var(--muted);font-size:.83rem}
.format{background:#eaf0f5;color:var(--blue);font-weight:750;border-radius:5px;padding:.45rem;font-size:.8rem}
.admin-item{padding:.65rem 0;border-top:1px solid var(--line)}
.admin-item summary{font-weight:650}
.user-form{padding:.75rem 0}
.user-form fieldset{border:1px solid var(--line);border-radius:6px}
.user-form fieldset label{display:flex;gap:.4rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.discipline-picker{display:flex;flex-wrap:wrap;gap:.48rem;padding:0 0 1.2rem;margin-bottom:1.4rem;border-bottom:1px solid var(--line)}
.discipline-picker a[aria-current]{background:var(--navy);border-color:var(--navy);color:white}
#discipline-filters label,.library-action label,.history-filter label{display:grid;gap:.3rem;min-width:0;font-weight:650;font-size:.875rem}
.discipline-control{display:grid;gap:.3rem;min-width:0}
#discipline-filters select,.library-action select,.history-filter input:not([type=hidden]){width:100%;min-width:0;padding:.52rem .58rem;border:1px solid #abbcc9;border-radius:6px;background:#fff;color:var(--navy)}
.breadcrumbs,.library-tools,.inline-form,.history-pages{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin-bottom:1rem}
.breadcrumbs{color:var(--muted);font-size:.92rem;overflow-wrap:anywhere}
.breadcrumbs [aria-current]{color:var(--navy);font-weight:650}
.path-separator{color:#768999}
.library-tools,.inline-form{align-items:end}
.library-action{position:relative;min-width:0}
.library-action summary::marker{content:''}
.library-action summary::-webkit-details-marker{display:none}
.library-action[open]>summary{outline:2px solid #7196b3;outline-offset:2px}
.library-action form{min-width:min(25rem,78vw);width:max-content;max-width:100%;margin-top:.75rem;padding:.9rem;background:white;border:1px solid var(--line);border-radius:7px}
.file-action form{min-width:min(17rem,78vw);width:100%}
.report:has(.file-action[open]){align-items:flex-start;flex-wrap:wrap}
.report .report-copy h2{margin:0;font-size:1rem}
.folder-entry{text-decoration:none;color:var(--navy)}
.folder-entry:hover{background:#f7fafd;border-color:#abbcc9}
.folder-entry strong{overflow-wrap:anywhere}
.folder-entry .metadata{margin-left:auto}
.folder-icon{position:relative;flex:0 0 23px;height:15px;margin-top:4px;border-radius:3px;background:#eeb46c}
.folder-icon::before{content:'';position:absolute;left:1px;top:-4px;width:10px;height:6px;background:inherit;border-radius:3px 3px 0 0}
.history-pages{margin:1rem 0 0}
@media(max-width:880px){.filters,.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.filters details:nth-child(2n) .filter-options{right:0}.topbar-inner{gap:1rem}}
@media(max-width:650px){.topbar-inner{flex-wrap:wrap;padding-block:.65rem;gap:.2rem .75rem}.topbar nav{order:3;width:100%;gap:1rem}.topbar nav a{padding:.3rem 0}.brands img{max-width:95px;height:23px}.brands img:first-child{height:24px;max-width:50px}.brands{gap:.5rem}.login-layout,.visuals,.admin-grid{grid-template-columns:minmax(0,1fr);width:100%}.login-layout{gap:1.65rem;min-height:auto}.report{flex-wrap:wrap}.bar{grid-template-columns:minmax(5rem,1fr) minmax(2rem,1fr) minmax(4rem,max-content);gap:.4rem}}
