:root{font:16px/1.5 "Inter",system-ui,sans-serif;color:#193e35;background:#f4f6f2}
*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;gap:1.5rem;padding:1rem clamp(1rem,5vw,5rem);background:#123c32;color:white;flex-wrap:wrap}header span{color:#d3e4d6}header button{margin-left:auto}
main{margin:clamp(2rem,6vw,5rem) auto;padding:0 1.3rem;max-width:58rem}h1{font-size:clamp(2rem,5vw,3.3rem);line-height:1.1;letter-spacing:-.05em}h2{font-size:1.25rem;margin:0 0 1rem}form#login,section,dialog{background:white;padding:clamp(1.25rem,4vw,2.5rem);border:1px solid #c9d5ca;border-radius:.8rem}#login{max-width:29rem}label{display:grid;gap:.35rem;margin-bottom:1rem;font-weight:600}input,select,button{font:inherit;padding:.65rem .9rem;border:1px solid #899e91;border-radius:.35rem}button{background:#155342;color:white;cursor:pointer;font-weight:600}button:disabled{opacity:.55}#details{margin-top:2rem}dl{display:flex;gap:2.5rem;flex-wrap:wrap}dt{color:#48665b}dd{margin:0;font-size:2rem;font-weight:650}#adjust{border-block:1px solid #d9e1d8;margin-bottom:1.5rem;padding:1.25rem 0}#target{max-width:10rem}dialog{max-width:min(90vw,30rem);color:inherit}dialog::backdrop{background:#112b25aa}#message{font-weight:550}li{padding:.35rem 0}

#login details{margin-top:1.25rem}#login summary{cursor:pointer;margin-bottom:1rem}

.table-wrap{overflow-x:auto}#inventory{margin-top:2rem}
table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
th,td{text-align:right;padding:.65rem .5rem;border-bottom:1px solid #d9e1d8}
th:first-child,td:first-child{text-align:left}th{color:#48665b}select{max-width:100%}

.tenant-picker{width:min(100%,26rem);grid-template-columns:minmax(0,1fr)}
.tenant-picker input{width:100%;min-width:0}

.license-tools{display:flex;flex-wrap:wrap;gap:.75rem 1rem}
.license-tools label{min-width:0;max-width:100%;margin:0}
.license-tools input,.license-tools select{min-width:0;max-width:100%}
#matches{color:#48665b;font-size:.9rem}
th button{border:0;background:transparent;color:inherit;padding:.3rem 0;white-space:nowrap}
th button::after{content:" ↕";color:#647a6c}
th[aria-sort="ascending"] button::after{content:" ↑"}
th[aria-sort="descending"] button::after{content:" ↓"}

.product-cost{color:#155342;text-align:left;text-decoration:underline;text-underline-offset:.2em;background:transparent;border:0;padding:.25rem 0;font-weight:500}
#cost-dialog{max-width:min(95vw,34rem);max-height:90vh;overflow:auto}
#cost-result p{margin:.6rem 0}

.savings-summary{padding:1rem;border-left:4px solid #155342;background:#eef5ef;font-weight:600}

#administration{margin-bottom:1rem}
#access-panel summary{cursor:pointer;font-weight:600}
#grant-access{margin:1.25rem 0 2rem;max-width:28rem}
