@media screen {
 .crm-projects{padding:16px!important}.crm-projects>.section-head{gap:12px;flex-wrap:wrap;margin-bottom:12px}.crm-projects>.section-head h2{font-size:17px}.crm-projects>.section-head p{max-width:620px;line-height:1.5}.crm-projects>.section-head .toolbar{gap:7px}
 .crm-projects .searchbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;padding:10px;margin:0 0 12px!important;border-radius:10px;background:#f5f7fb}.crm-projects .searchbar :is(input,select){width:100%;min-width:0!important;padding:8px;font-size:12px}.crm-projects .searchbar .crm-country-combo{min-width:0}
 .crm-project-counts{display:flex;align-items:center;gap:10px 22px;flex-wrap:wrap;padding:3px 0 12px}.crm-project-counts>div{display:flex;align-items:center;gap:8px;min-width:0}.crm-project-counts span{font-size:12px;color:#64748b;line-height:1.5}.crm-project-counts b{font-size:15px;line-height:1.5}
 .crm-project-finances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.crm-project-metric{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:10px 13px;border:1px solid #e1e7f0;border-radius:10px;background:#fafcff;overflow-wrap:anywhere}.crm-project-metric>span{font-size:11px;color:#64748b;line-height:1.5}.crm-project-metric strong{display:block;max-width:100%;font-size:15px;line-height:1.5}.crm-project-metric strong>span{display:block;line-height:1.5}.crm-project-metric small{display:block;font-size:11px;line-height:1.5;color:#64748b}
 .crm-projects #projectResults table{table-layout:fixed;width:1160px;min-width:100%}.crm-projects #projectResults :is(th,td):nth-child(1){width:250px}.crm-projects #projectResults :is(th,td):nth-child(2){width:120px}.crm-projects #projectResults :is(th,td):nth-child(3){width:150px}.crm-projects #projectResults :is(th,td):nth-child(4){width:170px}.crm-projects #projectResults :is(th,td):nth-child(12){width:190px}.crm-projects #projectResults :is(th,td):nth-child(13){width:150px}.crm-projects #projectResults :is(th,td):nth-child(14){width:130px}
 .crm-projects #projectResults td{padding:10px;line-height:1.5;overflow-wrap:anywhere;vertical-align:top}.crm-projects #projectResults th{font-size:11px}.crm-projects #projectResults td:first-child>b,.crm-project-next{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;line-height:1.5}.crm-projects #projectResults td small{margin-top:3px;line-height:1.5}.crm-projects #projectResults td .badge{white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.5}.crm-projects #projectResults td:last-child .btn{margin:0 4px 4px 0;padding:6px 9px;font-size:11px}.crm-projects .file-note{line-height:1.6;margin-top:10px}
 @media(max-width:1200px){.crm-projects .searchbar{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.crm-projects{padding:12px!important}.crm-projects .searchbar{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-projects .searchbar>#q{grid-column:1/-1}.crm-project-finances{grid-template-columns:1fr}.crm-project-counts{gap:8px 16px}.crm-projects>.section-head .toolbar{width:100%;flex-wrap:wrap}}
}

@media screen {
 .crm-projects>.section-head>div:first-child{flex:1 1 230px;min-width:0}.crm-projects>.section-head>div:first-child p{font-size:12px}.crm-projects>.section-head>.toolbar{flex:0 1 auto;align-items:center}
 .crm-project-tools{position:relative}.crm-project-tools summary{list-style:none;font-size:12px;font-weight:600;white-space:nowrap}.crm-project-tools summary::-webkit-details-marker{display:none}.crm-project-tools>div{position:absolute;right:0;top:calc(100% + 6px);z-index:25;display:grid;gap:8px;padding:10px;border:1px solid #dce5f3;border-radius:10px;background:#fff;box-shadow:0 8px 24px #1a2b421a;min-width:210px}.crm-project-tools:not([open])>div{display:none}.crm-project-tools[open] summary{background:#eef3fc}
}

@media screen{.crm-projects #projectResults td:first-child>b,.crm-project-next{white-space:normal;word-break:normal;overflow-wrap:anywhere}}

@media screen {
body:not(.crm-printing) #content .crm-project-detail{max-width:1600px;margin:auto;font-family:var(--crm-ui-font,system-ui,sans-serif);font-size:14px;line-height:1.5}
body:not(.crm-printing) #content .crm-project-detail>.section,body:not(.crm-printing) #content .crm-project-detail>.hero{padding:14px 16px!important;margin-bottom:10px;border-radius:11px}
body:not(.crm-printing) #content .crm-project-detail .hero-top{gap:12px;flex-wrap:wrap}body:not(.crm-printing) #content .crm-project-detail .hero-top>div:first-child{min-width:0;flex:1 1 330px}body:not(.crm-printing) #content .crm-project-detail .hero h2{font-size:21px!important;line-height:1.35;overflow-wrap:anywhere;margin:0 0 8px}
body:not(.crm-printing) #content .crm-project-detail .actions{flex-wrap:wrap;gap:6px}body:not(.crm-printing) #content .crm-project-detail .btn{padding:7px 10px;min-height:34px;font-size:12px!important}
.crm-project-identity{display:flex;gap:12px 28px;flex-wrap:wrap;margin-bottom:8px}.crm-project-identity>div{display:flex;align-items:baseline;gap:8px;min-width:0}.crm-project-identity span{font-size:12px;color:#64748b}.crm-project-identity b{font-size:14px;overflow-wrap:anywhere;font-weight:600}
body:not(.crm-printing) #content .crm-project-detail .meta{gap:6px}body:not(.crm-printing) #content .crm-project-detail .badge{padding:4px 7px}body:not(.crm-printing) #content .crm-project-detail .jump{gap:5px;margin-top:10px}body:not(.crm-printing) #content .crm-project-detail .jump a{padding:5px 8px;font-size:12px!important}
body:not(.crm-printing) #content .crm-project-detail .section-head{margin-bottom:10px;gap:8px;flex-wrap:wrap}body:not(.crm-printing) #content .crm-project-detail .section-head h2{font-size:16px!important;line-height:1.4}body:not(.crm-printing) #content .crm-project-detail .section-head p{font-size:12px!important;line-height:1.5;margin-top:3px}
body:not(.crm-printing) #content .crm-project-detail .facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 16px}body:not(.crm-printing) #content .crm-project-detail .fact{border:0;border-bottom:1px solid #e7ecf3;border-radius:0;padding:6px 0;min-width:0}body:not(.crm-printing) #content .crm-project-detail .fact>span{font-size:12px!important;line-height:1.5;color:#64748b}body:not(.crm-printing) #content .crm-project-detail .fact>b{font-size:14px!important;line-height:1.5;font-weight:600;margin-top:2px;overflow-wrap:anywhere;white-space:normal}
body:not(.crm-printing) #content .crm-project-detail .mini-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px!important}body:not(.crm-printing) #content .crm-project-detail .mini{padding:8px 10px;border-radius:8px;background:#f8faff;min-width:0}body:not(.crm-printing) #content .crm-project-detail .mini>span{font-size:12px!important;line-height:1.5}body:not(.crm-printing) #content .crm-project-detail .mini strong{display:block;font-size:15px!important;line-height:1.5;overflow-wrap:anywhere}
body:not(.crm-printing) #content .crm-project-detail .company-list,body:not(.crm-printing) #content .crm-project-detail .timeline{gap:6px}body:not(.crm-printing) #content .crm-project-detail .company-item,body:not(.crm-printing) #content .crm-project-detail .timeline-item{padding:8px 10px;border-radius:8px;overflow-wrap:anywhere}body:not(.crm-printing) #content .crm-project-detail .empty{padding:4px 0;font-size:13px!important}body:not(.crm-printing) #content .crm-project-detail .chip{padding:5px 8px;font-size:12px!important;white-space:normal;overflow-wrap:anywhere}body:not(.crm-printing) #content .crm-project-detail section[id]{scroll-margin-top:150px}
@media(max-width:1100px){body:not(.crm-printing) #content .crm-project-detail .facts{grid-template-columns:repeat(3,minmax(0,1fr))}body:not(.crm-printing) #content .crm-project-detail .mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body:not(.crm-printing) #content .crm-project-detail .facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}body:not(.crm-printing) #content .crm-project-detail>.section,body:not(.crm-printing) #content .crm-project-detail>.hero{padding:12px!important}body:not(.crm-printing) #content .crm-project-detail .hero h2{font-size:19px!important}body:not(.crm-printing) #content .crm-project-detail .actions{width:100%}}
@media(max-width:380px){body:not(.crm-printing) #content .crm-project-detail .facts{grid-template-columns:1fr}}
}

.crm-project-selection-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 12px;margin:8px 0;background:#f7f9fd;border:1px solid #e1e7f0;border-radius:9px}.crm-project-selection-bar>span{font-size:12px;color:#52627b}.crm-project-row-selected>td{background:#eef4ff!important}[data-crm-column-id="projectSelect"]{position:sticky;left:0;z-index:2;background:#fff}[data-crm-column-id="projectSelect"] input{width:16px;height:16px;cursor:pointer}thead [data-crm-column-id="projectSelect"]{background:#f7f9fd!important;z-index:3}

/* Keep each currency on one line, separated without increasing card height. */
@media screen {
 .crm-project-metric strong{display:flex;align-items:center;gap:0;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;overflow-wrap:normal;padding-bottom:2px;scrollbar-width:thin;font-variant-numeric:tabular-nums}
 .crm-project-metric strong>span{display:block;flex:0 0 auto;white-space:nowrap;overflow-wrap:normal;line-height:1.5}
 .crm-project-metric strong>span+span{border-inline-start:1px solid #cbd5e1;margin-inline-start:12px;padding-inline-start:12px}
}

@media screen{body:not(.crm-printing) .crm-projects .searchbar{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px;overflow-x:auto}body:not(.crm-printing) .crm-projects .searchbar>*{flex:1 0 150px;min-width:150px!important;margin:0!important;align-self:center}body:not(.crm-printing) .crm-projects .searchbar>:is(input,select),body:not(.crm-printing) .crm-projects .searchbar>label select,body:not(.crm-printing) .crm-projects .searchbar .crm-country-combo{height:38px!important;min-height:38px!important;max-height:38px!important;box-sizing:border-box}body:not(.crm-printing) .crm-projects .crm-project-status-filter{font-size:0!important;line-height:0!important;padding:0!important}body:not(.crm-printing) .crm-projects .crm-project-status-filter select{font-size:12px!important;line-height:normal!important;margin:0!important}body:not(.crm-printing) .crm-projects .searchbar .crm-country-combo input{height:38px!important;margin:0!important}body:not(.crm-printing) .crm-projects .searchbar #q{grid-column:auto!important}}
