/* Dashboard summary and workspace navigation controls. */
.selectable-fees{min-width:1060px}
.selectable-fees input[type="number"]{width:132px;min-width:110px;text-align:right}
.fee-selection{width:56px;text-align:center}
.fee-selection input[type="checkbox"]{width:21px;height:21px;min-height:21px;accent-color:#d65a0c;cursor:pointer}
.fee-excluded{background:#f1f4f7;color:#617184}
.fee-excluded input:disabled{background:#edf1f5!important;color:#617184!important;-webkit-text-fill-color:#617184!important}
.selectable-fees td small{display:block;font-size:11px;margin-top:3px}
.unit-original{display:block;color:#52677c;font-size:11px;white-space:nowrap;margin-top:3px}
.stats .stat{border:1px solid #c8d2df;border-top:4px solid #637b95;padding:22px;border-radius:14px;box-shadow:0 4px 14px #172d4610;min-width:0}
.stats .stat.accent{border-top-color:#e36512;background:#fffaf5}
.stats .stat:nth-child(2){border-top-color:#ba6516}
.stats .stat:nth-child(3){border-top-color:#267654}
.stats .stat:nth-child(4){border-top-color:#376da4}
.stats .stat label{display:block;color:#253a50;font-size:16px;line-height:1.5;word-break:keep-all}
.stats .stat strong{color:#132b43;font-size:38px;line-height:1.25;margin:14px 0 12px;letter-spacing:-.5px}
.stats .stat strong span{color:#465b70;font-size:16px;margin-left:8px}
.stats .stat small{display:block;color:#4b6075;font-size:13px;line-height:1.65;word-break:keep-all}
.back-to-top{position:fixed;right:28px;bottom:28px;z-index:90;width:52px;height:52px;display:grid;place-items:center;border:1px solid #142b43;border-radius:50%;background:#20364e;color:white;box-shadow:0 4px 16px #142b4338;cursor:pointer}
.back-to-top:hover{background:#354f6a;transform:translateY(-2px)}
.back-to-top svg{width:25px;height:25px}
.user-box{position:relative}
.user-menu-trigger{display:flex;align-items:center;gap:10px;width:100%;padding:8px 4px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;cursor:pointer}
.user-menu-trigger:hover,.user-menu-trigger[aria-expanded="true"]{background:#edf1f6}
.user-menu-trigger .user-identity{flex:1;min-width:0}
.user-menu-trigger .user-identity b{overflow-wrap:anywhere}
.user-menu-trigger .user-chevron{font-size:18px;color:#465b70}
.user-menu{position:absolute;bottom:calc(100% + 10px);left:0;right:0;padding:6px;background:white;border:1px solid #bdcad9;border-radius:10px;box-shadow:0 6px 24px #142b4326;z-index:110}
.user-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:6px;background:transparent;color:#253a50;text-align:left;cursor:pointer;font-size:14px}
.user-menu button:hover{background:#edf2f7}
.user-menu button:last-child{color:#a1352e;border-top:1px solid #e1e7ee;border-radius:0 0 6px 6px}
.back-to-top:focus-visible,.user-menu-trigger:focus-visible,.user-menu button:focus-visible{outline:3px solid #e36512;outline-offset:3px}
#workspace-preferences{width:min(460px,calc(100vw - 32px));padding:26px;border:1px solid #bdcad9;border-radius:14px;color:#253a50;background:white}
#workspace-preferences::backdrop{background:#142b4366}
#workspace-preferences h2{margin-top:0;font-size:21px}
#workspace-preferences .preference-row{display:flex;align-items:center;gap:10px;margin:22px 0;font-size:15px}
#workspace-preferences .preference-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.back-to-top[hidden],.user-menu[hidden]{display:none!important}
@media(max-width:1150px){.stats .stat{padding:18px 16px}.stats .stat label{font-size:15px}.stats .stat strong{font-size:34px}}
@media(max-width:760px){.stats{gap:12px}.stats .stat{padding:16px 14px}.stats .stat label{font-size:14px}.stats .stat strong{font-size:32px}.stats .stat small{font-size:12px}.back-to-top{right:18px;bottom:max(18px,env(safe-area-inset-bottom));width:48px;height:48px}.sidebar-bottom{display:block;padding:8px 20px 12px}.sidebar-bottom .local-state{display:none}.sidebar-bottom .user-box{max-width:280px;margin-top:0}.user-menu{bottom:auto;top:calc(100% + 6px)}}
@media(prefers-reduced-motion:reduce){.back-to-top:hover{transform:none}}
@media print{.back-to-top,#workspace-preferences,.user-menu{display:none!important}}
