/* Look and language: local DM Sans and GLP colours in both panels.
   "Match the GLP website ... navy #171B52, sage #E9EEE6, yellow #F8C22E". */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:100 1000;font-display:swap;src:url('/fonts/DM-Sans.ttf') format('truetype')}
body{font-family:'DM Sans',sans-serif!important;background:#E9EEE6!important}
.fi-sidebar{background:#E9EEE6!important}.glp-card{background:white;border:1px solid #d2d7d0;border-radius:12px;padding:1.25rem;margin-bottom:1rem;min-width:0}
.glp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem}.glp-form{display:grid;gap:.8rem}
.glp-form label{display:grid;gap:.25rem}.glp-form input:not([type=checkbox]),.glp-form select,.glp-form textarea{border:1px solid #86918a;border-radius:6px;padding:.65rem;width:100%;min-width:0;background:white;color:#171B52}
.glp-form button,.glp-button{display:inline-block;background:#171B52;color:#fff;border-radius:8px;padding:.65rem 1rem;min-height:44px;text-align:center;cursor:pointer}
.glp-form button:disabled{background:#c3c9c0;color:#40463d;cursor:default}.glp-note{padding:.75rem;background:#E9EEE6;border-left:4px solid #F8C22E;margin:.75rem 0;overflow-wrap:anywhere}
.glp-table{width:100%;border-collapse:collapse}.glp-table td,.glp-table th{text-align:left;padding:.65rem;border-bottom:1px solid #d2d7d0;overflow-wrap:anywhere}
.glp-errors{color:#a22222}.glp-links{display:flex;gap:.5rem;flex-wrap:wrap}h2{font-weight:700;margin-bottom:.75rem}p{overflow-wrap:anywhere}.glp-small{font-size:.9rem}
@media(max-width:420px){.fi-main{padding-inline:.75rem!important}.glp-card{padding:.8rem}.glp-table{font-size:.85rem}.glp-links>*{width:100%}}
/* Stage 4 repeaters, long identity-field labels and private partner artwork
   must fit the same 360px founder layout as the earlier dashboard screens. */
.glp-card fieldset,.glp-field{min-width:0;max-width:100%}.glp-card legend,.glp-card h3,.glp-card label{overflow-wrap:anywhere}
.glp-card button,.glp-card a{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.glp-partner-image{display:block;width:100%;height:140px;object-fit:contain;margin-bottom:.75rem}
.glp-ocr-text{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.glp-form input[type=file]{max-width:100%;font-size:.85rem}
.glp-form select[multiple]{min-height:100px}.glp-card summary{min-height:44px;cursor:pointer;padding:.65rem 0}
@media(max-width:420px){main a,.fi-topbar a,main button,.fi-topbar button{min-height:44px;align-items:center}main a{display:inline-flex}.glp-form label:has(input[type=checkbox]){min-height:44px;display:flex;align-items:center}}
@media(max-width:420px){main input[type=checkbox],main input[type=radio]{width:24px;height:24px;flex-shrink:0}}
.glp-multi-filter{border:1px solid #9aa09a;border-radius:10px;padding:10px 12px;background:#f6f7f4;min-width:180px}.glp-multi-filter legend{font-weight:700;padding:0 5px}.glp-multi-filter details>summary{cursor:pointer;padding:6px 8px;border:1px solid #c6cbc3;border-radius:6px;background:#fff}.glp-multi-filter details label{display:flex;align-items:center;gap:8px;padding:7px 4px}.glp-sort-control{border-left:2px solid #171b52;padding-left:12px}.glp-drag-handle{display:inline-flex;cursor:grab;font-size:1.4rem;padding:2px 8px;touch-action:none}.glp-drag-handle:active{cursor:grabbing}.glp-template-stage.is-payment{cursor:default}.glp-template-stage,.glp-template-milestone{position:relative}.sortable-ghost{opacity:.45}
