/* PRISM Q14: official APP header view, read-only details; usable on desktop + phones. */
#appPage .prismAppQ14Tools {display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px 14px;border:1px solid #c0d9e4;border-radius:13px;background:rgba(226,247,247,.55);margin:10px 0}
#appPage .prismAppQ14Tools strong {font-size:14px;color:#17465a}
#appPage .prismAppQ14Tools p {margin:5px 0 0;font-size:12px;line-height:1.5;color:#355f70;max-width:780px}
#appPage .prismAppQ14TableScroll {max-width:100%;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#74abc0 transparent;}
#appPage .prismAppQ14Table {font-size:12px;min-width:930px;table-layout:auto;}
#appPage .prismAppQ14Table th {white-space:normal;min-width:110px;line-height:1.35;vertical-align:bottom;text-align:left}
#appPage .prismAppQ14Table .project {min-width:240px;max-width:320px;white-space:normal;line-height:1.4}
#appPage .prismAppQ14Table td {vertical-align:top;line-height:1.4;white-space:normal}
#appPage .prismAppQ14Table.prismAppQ14Wide {min-width:2350px;}
#appPage .prismAppQ14Wide th:nth-child(4),#appPage .prismAppQ14Wide td:nth-child(4){min-width:270px;max-width:320px}
#appPage .prismAppQ14Wide th:nth-child(6),#appPage .prismAppQ14Wide th:nth-child(7){min-width:230px}
#appPage .prismAppQ14Missing {color:#778899!important;font-style:italic;font-weight:400}
#appPage .prismAppQ14More {padding:7px 11px;white-space:nowrap;font-size:12px;min-height:34px}
#appPage .prismAppQ14DetailHost {margin:12px 0 16px;scroll-margin-top:82px}
#appPage .prismAppQ14Details {padding:17px;border:1px solid #b5d7de;border-radius:14px;background:#fff;color:#173b50;box-shadow:0 12px 25px rgba(8,50,74,.07)}
#appPage .prismAppQ14Details h3 {margin:0 0 7px;font-size:18px;}
#appPage .prismAppQ14Hint {font-size:12px;color:#547286;line-height:1.5;margin:0 0 12px;}
#appPage .prismAppQ14Section {margin-top:12px;border:1px solid #d5e7ed;border-radius:10px;overflow:hidden}
#appPage .prismAppQ14Section h4 {font-size:13px;margin:0;padding:10px 12px;background:#e8f3f7;color:#184d61;}
#appPage .prismAppQ14Grid {padding:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;}
#appPage .prismAppQ14Field {min-width:0;padding-bottom:7px;}
#appPage .prismAppQ14Field dt {font-size:11px;color:#547183;font-weight:700;line-height:1.4;}
#appPage .prismAppQ14Field dd {font-size:13px;color:#173e51;font-weight:600;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0;}
#appPage .prismAppQ14Footnote {font-size:11px;color:#456c7a;margin:10px 0 14px;line-height:1.5;}
@media(max-width:820px){
 #appPage .prismAppQ14Tools button {width:100%;min-height:43px}
 #appPage .prismAppQ14Grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 #appPage .prismAppQ14Table {min-width:860px}
}
@media(max-width:540px){
 #appPage .prismAppQ14Details {padding:12px}
 #appPage .prismAppQ14Grid {grid-template-columns:1fr;gap:7px}
 #appPage .prismAppQ14Field {border-bottom:1px solid #edf4f6;padding:4px 0 8px}
 #appPage .prismAppQ14TableScroll {margin-inline:-8px;}
}

/* On phone, APP lines become readable cards. Official-column mode remains a deliberate horizontal table. */
#appPage .prismAppQ14MobileCards {display:none}
@media(max-width:640px){
 #appPage .prismAppQ14TableScroll:not(.prismAppQ14ModeOfficial){display:none}
 #appPage .prismAppQ14MobileCards:not(.prismAppQ14MobileHide){display:grid;gap:12px}
 #appPage .prismAppQ14MobileCard{padding:13px;border:1px solid #c5dfe4;border-radius:12px;background:rgba(255,255,255,.93);min-width:0;box-shadow:0 3px 11px rgba(13,59,77,.05)}
 #appPage .prismAppQ14MobileId{font-size:11px;color:#007e92;letter-spacing:.35px}
 #appPage .prismAppQ14MobileCard h4{margin:7px 0;font-size:15px;line-height:1.4;overflow-wrap:anywhere}
 #appPage .prismAppQ14MobileCard p{font-size:12px;margin:0 0 10px;color:#516d7b}
 #appPage .prismAppQ14MobileAmounts{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px 15px;font-weight:700;font-size:12px}
 #appPage .prismAppQ14MobileStatus{display:block;color:#557483;margin:8px 0 10px;line-height:1.4}
 #appPage .prismAppQ14MobileActions{display:flex;gap:8px;flex-wrap:wrap}
 #appPage .prismAppQ14MobileActions .btn{flex:1;min-width:120px;min-height:42px}
 #appPage .prismAppQ14DetailHost .prismAppQ14Details{padding:12px}
 #appPage .prismAppQ14TableScroll.prismAppQ14ModeOfficial {display:block}
}
