.portal-graph-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:5px 0 12px}.portal-graph-export{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #cbd9d0;border-radius:6px;background:#fff;color:#315a44;cursor:pointer}.portal-graph-export:hover{background:#edf5ef}.portal-graph-export:focus-visible{outline:3px solid #ad9557;outline-offset:2px}.portal-graph-export:disabled{opacity:.5;cursor:wait}.portal-graph-export svg{width:17px;height:17px;pointer-events:none}.portal-graph-actions [role=status]{font-size:12px;color:#a22923}@media print{.portal-graph-actions{display:none!important}}
.portal-graph-host{position:relative}.portal-graph-actions{position:absolute;right:6px;top:6px;z-index:2;margin:0}.portal-graph-actions[hidden]{display:none!important}.portal-graph-dialog{width:min(850px,calc(100vw - 32px));max-height:88vh;overflow:auto;padding:26px;border:1px solid #9eb5a7;border-radius:14px;background:#fff;color:#203b32}.portal-graph-dialog::backdrop{background:#12332d88}.portal-graph-dialog img{display:block;max-width:100%;max-height:45vh;object-fit:contain;margin:auto}.portal-graph-dialog-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:20px 0}.portal-graph-dialog button{background:#234e3b;color:#fff;border:1px solid #234e3b;border-radius:7px;padding:10px 16px;cursor:pointer}.portal-graph-dialog button:disabled{opacity:.5;cursor:wait}.portal-graph-dialog .portal-graph-close{order:3;background:#fff;color:#234e3b}.portal-graph-dialog label{display:block;margin:15px 0;font-weight:600}.portal-graph-dialog input,.portal-graph-dialog select,.portal-graph-dialog textarea{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:10px;border:1px solid #b8c9bc;border-radius:6px}.portal-graph-dialog section{border-top:1px solid #d7e1d8;padding-top:12px}.portal-graph-dialog [hidden]{display:none!important}

.portal-graph-export-host>.portal-graph-actions{top:8px;right:8px}
.portal-graph-export-host>h2,.portal-graph-export-host>h3,.portal-graph-export-host>h4{padding-right:44px}
.portal-graph-export-no-heading{padding-top:44px}

/* Keep page-level button padding from collapsing the download icon. */
.portal-graph-actions>.portal-graph-export{box-sizing:border-box;width:32px;min-width:32px;height:32px;padding:0;border:1px solid #cbd9d0;background:#fff;color:#315a44;line-height:1;flex:0 0 32px}.portal-graph-actions>.portal-graph-export:hover{background:#edf5ef}.portal-graph-actions>.portal-graph-export>svg{display:block;flex:0 0 17px;width:17px;height:17px}
