/* Phase 2CL: scoped APP amendment controls, independently readable in Classic/Glass */
.prismAppManagement{margin:20px 0 22px;padding:18px;border-radius:18px;border:1px solid #84bfd4;background:linear-gradient(135deg,#eefaff 0%,#f5f0ff 100%);color:#173b55;overflow:hidden}
.prismAppManagementHead{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:15px}
.prismAppManagementHead h3{margin:0 0 5px;font-size:1.15rem;color:#153c54}.prismAppManagementHead p{margin:0;max-width:850px;font-size:.88rem}
.prismAppManagementGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.prismAppBox{border:1px solid #c5dfea;background:rgba(255,255,255,.90);padding:16px;border-radius:13px;margin:0 0 13px;min-width:0;box-shadow:0 4px 12px rgba(10,46,77,.05)}
.prismAppBox h4{margin:0 0 12px;color:#17435c}.prismAppBox label{font-size:.85rem;font-weight:650;display:grid;gap:5px;margin-bottom:10px;color:#19475e}
.prismAppBox input:not([type=checkbox]),.prismAppBox textarea,.prismAppBox select{font:inherit;color:#163f56;background:#fff;border:1px solid #a6cfe0;border-radius:9px;padding:10px;width:100%;box-sizing:border-box;min-width:0}
.prismAppFields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.prismAppMeta{font-size:.82rem;color:#47677b;margin:10px 0}
.prismAppConfirm{display:flex!important;align-items:flex-start;gap:8px!important;font-weight:500!important}.prismAppConfirm input{margin:3px 0 0}.prismAppBox .btn{margin:5px 5px 5px 0}.prismAppManagement .hide{display:none!important}
.prismAppManagement table{width:100%;border-collapse:collapse;font-size:.8rem}.prismAppManagement th,.prismAppManagement td{padding:10px;border-bottom:1px solid #cde2ee;text-align:left;white-space:normal}
.prismAppManagement .tableArea{overflow-x:auto}.prismAppManagement .phase2ButtonBar{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
@media(max-width:900px){.prismAppManagementGrid{grid-template-columns:1fr}.prismAppFields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.prismAppManagement{padding:12px}.prismAppManagementHead{flex-direction:column}.prismAppFields{grid-template-columns:1fr}}

.prismAppStandardDetails{border:1px solid #b4d3e7;border-radius:10px;padding:12px;margin:10px 0;background:#f3f9fc}.prismAppStandardDetails summary{cursor:pointer;font-size:.9rem;font-weight:700;color:#245670;margin-bottom:12px}.prismAppStandardDetails .prismAppFields{margin-top:12px}

/* Phase 2CS: short evidence panel; same theme colors as APP wizard */
.prismAppPPMPSupport{border:1px solid #b9dce9;border-radius:12px;padding:12px 14px;margin:12px 0;background:#f1f9fc;min-width:0}
.prismAppPPMPSupport h5{margin:2px 0 6px;color:#134d68;font-size:.95rem}
.prismAppPPMPExisting{margin:8px 0;color:#174760}.prismAppPPMPExisting summary,.prismAppBACHelp summary{cursor:pointer;font-size:.82rem;font-weight:650;color:#165978}
.prismAppHOPEEvidence{background:#eaf7f2;color:#155547;border:1px solid #afdac9;padding:11px 13px;border-radius:11px;margin:10px 0;font-size:.84rem}
.prismAppBACHelp{margin:7px 0 14px}.prismAppBACHelp details p{font-size:.8rem;color:#47677b;line-height:1.5;margin:7px 0}

/* Phase 2CT: preserve accessible, readable native selection and optional funding controls */
#prismAppManagement #prismAppLabel[readonly]{background:#edf8fc;color:#154f68;font-weight:800;letter-spacing:.02em}
#prismAppManagement #prismAppFund.hide{display:none!important}
#prismAppManagement #prismAppPPMPConfirmed{accent-color:#0d8187}
/* Apply-confirmation dialog remains readable under both glass and classic themes. */
html.prismThemeGlass .prismDlgBackdrop .prismDlg{background:#172940!important;color:#f8fbff!important;border:2px solid #c9e5ff!important;backdrop-filter:none!important}
html.prismThemeGlass .prismDlgBackdrop .prismDlgTitle{color:#ffffff!important;text-shadow:none!important}
html.prismThemeGlass .prismDlgBackdrop .prismDlgEyebrow{color:#80e2eb!important}
html.prismThemeGlass .prismDlgBackdrop .prismDlgDescription{color:#e7f3ff!important;text-shadow:none!important;white-space:pre-wrap!important}
html.prismThemeGlass .prismDlgBackdrop .prismDlgInputLabel{color:#ffffff!important;font-weight:800!important;text-shadow:none!important}
html.prismThemeGlass .prismDlgBackdrop .prismDlgHelp{color:#d0e4fc!important;text-shadow:none!important;font-weight:650!important}
html.prismThemeGlass .prismDlgBackdrop input.prismDlgInput{background:#fff!important;color:#11283c!important;-webkit-text-fill-color:#11283c!important;caret-color:#11283c!important;opacity:1!important;font-weight:800!important}
html.prismThemeGlass .prismDlgBackdrop .prismDlgActions{background:#1c324f!important;border-top-color:#507496!important}
html.prismThemeGlass .prismDlgBackdrop .prismDlgCancel{background:#eef5ff!important;color:#18324e!important}

/* Phase 2DB — simple APP project-type assistance; no changes to Classic or Glass outside APP dialog. */
#prismAppManagement .prismAppCategoryReview{display:grid;grid-template-columns:35px 1fr;gap:10px;margin:10px 0 12px;padding:12px;border:1px solid #9ed5c4;background:#eafaef;border-radius:12px;color:#164e43}
#prismAppManagement .prismAppCategoryIcon{display:grid;place-items:center;border-radius:50%;background:#d5f3e0;color:#126341;font-size:21px;font-weight:800;width:31px;height:31px}
#prismAppManagement .prismAppCategoryReview strong{font-size:.89rem;color:#155342}
#prismAppManagement .prismAppCategoryReview p{margin:5px 0;color:#335d53;font-size:.8rem;line-height:1.45}
#prismAppManagement .prismAppCategoryNeedsReview{background:#fff6e7;border-color:#efc479;color:#6a4c24}
#prismAppManagement .prismAppCategoryNeedsReview strong{color:#754b17}
#prismAppManagement .prismAppCategoryOverride{margin-top:7px}
#prismAppManagement .prismAppCategoryOverride summary{cursor:pointer;font-size:.8rem;font-weight:700;color:#16576c}
#prismAppManagement .prismAppCategoryOverride label{margin-top:10px}
#prismAppManagement .prismAppOptionalAdminFields{grid-column:1/-1;border:1px solid #d8e7ef;border-radius:8px;padding:9px;background:#fff}
#prismAppManagement .prismAppOptionalAdminFields summary{font-size:.8rem;font-weight:700;color:#24546c;cursor:pointer}
#prismAppManagement .prismAppOptionalAdminFields .prismAppFields{margin-top:10px}
#prismAppManagement .prismAppCategoryHealth{background:#fff7e9;border:1px solid #f1cc8a;border-radius:10px;color:#5d492a;padding:12px;margin-bottom:12px;font-size:.8rem;line-height:1.55}
