.projects-page{max-width:1800px}.pr-muted,.pr-rules{color:#75859e;font-size:12px}.pr-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:18px;background:#fff;border:1px solid #dce5f1;border-radius:14px}.pr-filters label:first-child{flex:2;min-width:220px}.pr-filters label{flex:1;min-width:155px} .projects-page label{display:grid;gap:6px;font-size:12px;color:#526883}.projects-page input,.projects-page select,.projects-page textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #d7e1ef;border-radius:8px;background:white;color:#183955;padding:10px;font:inherit}.pr-products{display:flex;gap:8px;overflow-x:auto;margin:20px 0 14px;padding-bottom:4px}.pr-products button{white-space:nowrap;border:1px solid #d7e1ef;background:white;border-radius:9px;padding:10px 15px;color:#526883;cursor:pointer}.pr-products button[aria-pressed=true]{background:#2857ce;color:white;border-color:#2857ce}.pr-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.pr-stats button{text-align:left;border:1px solid #dce5f1;border-radius:12px;background:white;padding:14px;color:#63728a;cursor:pointer}.pr-stats button[aria-pressed=true]{outline:2px solid #2c5fcb;outline-offset:-2px}.pr-stats strong{display:block;color:#183653;font-size:25px;line-height:1.6}.pr-stats .serving strong{color:#168372}.pr-stats .pending strong,.pr-stats .unknown strong{color:#a66b13}.pr-stats .expired strong{color:#c45740}.pr-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;font-size:13px}.pr-group{background:white;border:1px solid #dce5f1;border-radius:14px;margin:12px 0 20px;overflow:hidden}.pr-group-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 18px;background:#f8faff}.pr-group-head h2{font-size:17px;margin:0}.pr-group-head p{font-size:12px;color:#64768d;margin:0}.pr-scroll{overflow:auto;max-width:100%}.pr-table{width:100%;min-width:1120px;border-collapse:collapse;font-size:13px;table-layout:fixed}.pr-table th{background:#f7f9fd;text-align:left;font-size:12px;color:#72829a;font-weight:500;padding:12px}.pr-table td{padding:14px 12px;border-top:1px solid #edf1f7;vertical-align:top;color:#274664;line-height:1.7;overflow-wrap:anywhere}.pr-table th:nth-child(1){width:20%}.pr-table th:nth-child(2),.pr-table th:nth-child(3){width:10%}.pr-table th:nth-child(4){width:15%}.pr-table th:nth-child(5){width:15%}.pr-table th:nth-child(6){width:12%}.pr-table th:nth-child(7){width:11%}.pr-table th:nth-child(8){width:7%}.pr-table a{color:#2b5ec7}.pr-table small{display:block;color:#8b99ad;font-size:11px}.pr-table .ghost-btn{white-space:nowrap;padding:7px 9px;font-size:12px}.pr-badge{display:inline-block;border-radius:5px;padding:2px 7px;background:#edf2f7;color:#697e97;font-size:11px}.pr-badge.serving{background:#e7f6f0;color:#167c63}.pr-badge.pending,.pr-badge.unknown{background:#fff3db;color:#9a6b16}.pr-badge.expired{background:#fff0e9;color:#b25439}.pr-remain{display:block;font-weight:650;margin-top:5px}.pr-remain.soon{color:#ba6524}.pr-pages,.pr-actions{display:flex;justify-content:center;gap:14px;align-items:center;margin:18px 0}.pr-empty{padding:40px;text-align:center;border:1px dashed #cad7e9;border-radius:12px;color:#7b8aa0}.pr-rules{line-height:1.8;margin:20px 0}.projects-page dialog{border:1px solid #dbe4f2;border-radius:16px;padding:24px;width:min(500px,calc(100vw - 40px));box-sizing:border-box;max-height:90vh;overflow:auto;color:#193a57}.projects-page dialog::backdrop{background:#182b4d66}.projects-page dialog label{margin:14px 0}.projects-page dialog h2{font-size:20px}.projects-page #prEditError,.projects-page #prLoginError{color:#be382d}.projects-page [hidden]{display:none!important}@media(max-width:800px){.pr-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.pr-heading,.pr-group-head{align-items:start;flex-direction:column;gap:4px}.pr-filters{padding:12px;gap:10px}.pr-products{margin-top:14px}.pr-stats button{padding:10px}.pr-stats strong{font-size:22px}.pr-table{min-width:1050px}.pr-group-head{padding:12px}.pr-pages{font-size:12px}}
/* Keep the compact project table independent of older global table/button rules. */
body.qeen-ui .projects-page .pr-table{table-layout:fixed!important;min-width:1180px!important}
body.qeen-ui .projects-page .pr-table th,body.qeen-ui .projects-page .pr-table td{padding:12px 10px!important}
body.qeen-ui .projects-page .pr-table th:nth-child(1){width:19%}
body.qeen-ui .projects-page .pr-table th:nth-child(5){width:12%}
body.qeen-ui .projects-page .pr-table th:nth-child(8){width:11%}
body.qeen-ui .projects-page .pr-table td:nth-child(2),body.qeen-ui .projects-page .pr-table td:nth-child(3){white-space:nowrap!important}
body.qeen-ui .projects-page .pr-table .ghost-btn{white-space:nowrap!important;padding:7px 9px!important;width:auto!important;max-width:none!important}
body.qeen-ui .projects-page .pr-products button{flex:0 0 auto;white-space:nowrap!important;width:auto!important}
body.qeen-ui .projects-page .pr-pages>*{flex:none;width:auto!important;white-space:nowrap!important}
@media(max-width:600px){body.qeen-ui .projects-page .app-topbar{display:flex!important;flex-direction:row!important;align-items:center!important}body.qeen-ui .projects-page #prRefresh{width:auto!important}body.qeen-ui .projects-page .pr-filters>button{width:auto!important;flex:1}body.qeen-ui .projects-page .pr-heading{gap:0}body.qeen-ui .projects-page .pr-heading p{margin-bottom:5px}}

/* Separate customer and actual signed product; order IDs remain internal. */
body.qeen-ui .projects-page .pr-table{min-width:1140px!important}
body.qeen-ui .projects-page .pr-table th:nth-child(1){width:18%}
body.qeen-ui .projects-page .pr-table th:nth-child(2){width:11%}
body.qeen-ui .projects-page .pr-table th:nth-child(3),body.qeen-ui .projects-page .pr-table th:nth-child(4){width:9%}
body.qeen-ui .projects-page .pr-table th:nth-child(5){width:12%}
body.qeen-ui .projects-page .pr-table th:nth-child(6){width:11%}
body.qeen-ui .projects-page .pr-table th:nth-child(7){width:11%}
body.qeen-ui .projects-page .pr-table th:nth-child(8){width:11%}
body.qeen-ui .projects-page .pr-table th:nth-child(9){width:8%}
body.qeen-ui .projects-page .pr-table td:nth-child(2){white-space:normal!important}
body.qeen-ui .projects-page .pr-table td:nth-child(3),body.qeen-ui .projects-page .pr-table td:nth-child(4){white-space:nowrap!important}

.pr-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.pr-badge.renewal{background:#fff3db;color:#9a6b16}.pr-badge.legacy{background:#fff0e9;color:#b25439}.pr-table td:last-child button{display:block;margin:0 0 7px}.pr-table details{font-size:11px;margin-top:8px}.pr-table summary{cursor:pointer}#prCooperationError{color:#be382d}
@media(max-width:600px){.pr-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
