#spendAnalysisDialog .spendEditCategory{
 display:block;min-height:32px;margin:2px 0 0;padding:3px 0;border:0;background:transparent;
 color:#185b63;font-size:.85rem;font-weight:650;text-decoration:underline;text-underline-offset:2px;white-space:nowrap
}
html[data-theme=dark] #spendAnalysisDialog .spendEditCategory{background:transparent!important;color:#9bdbcf!important;border:0!important}
#spendAnalysisDialog .spendEditCategory:hover{color:var(--pp-ink)}
#spendCategoryHint,#spendCategoryStatus{margin:0 0 10px;font-size:.9rem}
#spendCategoryStatus:empty,#spendCategoryError:empty{display:none}
#spendCategoryEditor{width:min(27rem,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:auto;color:var(--pp-ink);background:var(--pp-surface)}
#spendCategoryEditForm{display:grid;gap:8px;padding:18px}
#spendCategoryEditForm :is(h2,p){margin:0;overflow-wrap:anywhere}
#spendCategoryEditForm label{font-size:.95rem;font-weight:650}
#spendNewCategory{width:100%;min-width:0}
#spendCategoryEditForm .spendCategoryScope,#spendCategoryError{font-size:.9rem}
#spendCategoryEditForm .formactions{margin:4px 0 0;gap:8px;justify-content:flex-end;flex-wrap:wrap}
@media(max-width:700px){#spendAnalysisDialog .spendEditCategory{min-height:44px}}
