/* ATSRS Corporate projects and personnel assignments. */
#projectsPage{width:100%}
.projects-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}
.projects-page-head h3{margin:8px 0 5px;font-size:26px}.projects-page-head .sub{max-width:760px;margin:0;line-height:1.55}
.projects-head-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding-top:2px}.projects-head-tools .talent-count{color:#8298a9;font-size:11px;white-space:nowrap}.projects-head-tools>button,.projects-empty button{width:auto;min-height:44px;margin:0;padding:10px 16px}
.projects-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(170px,240px);gap:12px;margin-bottom:18px;padding:0 0 16px;border-bottom:1px solid #213547}
.projects-toolbar label,.projects-form-grid label,.assignment-editor-row label,.project-member-row>label:not(.project-member-select){display:grid;gap:6px;color:#8ea2b5;font-size:11px;font-weight:700}
.projects-toolbar input,.projects-toolbar select,.projects-form-grid input,.projects-form-grid select,.assignment-editor-row input,.assignment-editor-row select,.project-member-row input{width:100%}
.projects-feedback{min-height:18px;margin:-8px 0 10px;color:#78cda0;font-size:11px}.projects-feedback:empty{min-height:0;margin:0}.projects-feedback.is-error{color:#f09393}
.projects-workspace-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px}
.projects-workspace-list.is-list{display:block}
.project-workspace-card{display:flex;flex-direction:column;min-height:260px;padding:18px;border:1px solid #263c4f;border-radius:15px;background:rgba(7,19,31,.25)}
.project-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.project-card-head h4{margin:10px 0 0;color:#eef5f9;font-size:19px}
.project-status{display:inline-flex;align-items:center;min-height:24px;padding:4px 9px;border:1px solid #395367;border-radius:999px;color:#a9bdca;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.project-status.is-active{border-color:rgba(73,190,126,.42);color:#70d59a}.project-status.is-on_hold{border-color:rgba(229,166,48,.42);color:#e7b34d}.project-status.is-completed{border-color:rgba(102,165,207,.42);color:#7db8df}.project-status.is-archived{color:#7f93a2}
.project-member-count{padding-top:4px;color:#8298a9;font-size:11px;white-space:nowrap}
.project-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0}.project-meta div{display:grid;gap:4px;min-width:0}.project-meta span{color:#71899b;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.project-meta b{overflow-wrap:anywhere;color:#cbd9e2;font-size:12px}
.project-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:auto}.project-card-actions button{width:auto;min-height:38px;margin:0;padding:8px 11px;background:transparent;border:1px solid #345166;color:#dce8ef}.project-card-actions button:first-child{border-color:#568573;color:#83d4ad}
.projects-list-table{width:100%;border-top:1px solid #263c4f;border-bottom:1px solid #263c4f}.projects-list-header,.projects-list-row{display:grid;grid-template-columns:minmax(180px,1.35fr) minmax(160px,1.15fr) minmax(100px,.62fr) minmax(150px,.9fr) minmax(90px,.52fr) minmax(300px,1.35fr);align-items:center;gap:14px}.projects-list-header{min-height:44px;padding:8px 12px;border-bottom:1px solid #263c4f;color:#71899b;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.projects-list-row{min-height:74px;padding:10px 12px;border-bottom:1px solid #213547;color:#cbd9e2;font-size:12px}.projects-list-row:last-child{border-bottom:0}.projects-list-row>[role="cell"]{min-width:0;overflow-wrap:anywhere}.projects-list-primary{display:grid;gap:4px}.projects-list-primary b{color:#eef5f9;font-size:13px}.projects-list-primary small{color:#71899b;font-size:10px}.projects-list-actions .project-card-actions{justify-content:flex-end}.projects-list-actions .project-card-actions button{min-height:36px;padding:7px 9px;font-size:10px}
.projects-empty{grid-column:1/-1;display:grid;gap:6px;padding:34px 12px;color:#8298a9;text-align:center}.projects-empty b{color:#dce7ee;font-size:15px}.projects-empty button{justify-self:center;margin-top:10px}
.projects-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 40px);padding:0;overflow:auto;border:1px solid #38546a;border-radius:18px;background:#081522;color:#eaf2f7;box-shadow:0 30px 90px rgba(0,0,0,.48)}
.projects-dialog-wide{width:min(1120px,calc(100vw - 32px))}.projects-dialog::backdrop{background:rgba(1,7,13,.76);backdrop-filter:blur(5px)}
.projects-dialog form{padding:22px}.projects-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.projects-dialog-head h3{margin:8px 0 0;font-size:22px}.projects-dialog-close{width:auto;min-height:40px;margin:0;padding:8px 12px;background:transparent;border:1px solid #345166;color:#d9e5ed}
.projects-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.projects-form-note{margin:18px 0;color:#8298a9;font-size:11px;line-height:1.55}
.projects-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:16px;border-top:1px solid #213547}.projects-dialog-actions button{width:auto;min-width:120px;min-height:44px;margin:0}.projects-dialog-actions .secondary{background:transparent;border:1px solid #345166;color:#d9e5ed}
.assignment-editor-list,.project-members-list{display:grid;gap:9px}
.assignment-editor-row{display:grid;grid-template-columns:minmax(170px,1.3fr) minmax(135px,1fr) 132px 132px 115px auto auto;align-items:end;gap:9px;padding:12px 0;border-bottom:1px solid #213547}.assignment-editor-row.is-ended{opacity:.66}.assignment-primary{display:flex!important;align-items:center;gap:7px;min-height:44px;color:#a8bac7;font-size:11px}.assignment-primary input{width:17px!important;height:17px!important;min-height:17px!important;margin:0!important}.assignment-row-remove{width:auto;min-height:44px;margin:0;padding:9px 11px;background:transparent;border:1px solid #513c47;color:#dca4a9}
#addPersonnelAssignmentRow{width:auto;min-height:40px;margin:12px 0 0;padding:8px 12px;background:transparent;border:1px solid #345166;color:#d9e5ed}
.project-member-row{display:grid;grid-template-columns:minmax(190px,1.3fr) minmax(150px,1fr) 140px 140px;align-items:end;gap:12px;padding:12px 0;border-bottom:1px solid #213547}.project-member-select{display:flex;align-items:center;gap:10px;min-height:44px;color:#d8e4eb}.project-member-select input{width:18px!important;height:18px!important;min-height:18px!important;margin:0!important}.project-member-select span{display:grid;gap:3px}.project-member-select b{font-size:13px}.project-member-select small{color:#8095a5;font-size:10px}
html[data-theme="light"] .projects-toolbar{border-bottom-color:#d8e1e7}
html[data-theme="light"] .projects-toolbar label,html[data-theme="light"] .projects-form-grid label,html[data-theme="light"] .assignment-editor-row label,html[data-theme="light"] .project-member-row>label:not(.project-member-select){color:#5b7080}
html[data-theme="light"] .project-workspace-card{border-color:#d5e0e7;background:rgba(255,255,255,.54)}html[data-theme="light"] .project-card-head h4{color:#152838}html[data-theme="light"] .project-meta b{color:#344b5b}html[data-theme="light"] .projects-empty b{color:#203645}
html[data-theme="light"] .projects-list-table,html[data-theme="light"] .projects-list-header{border-color:#d5e0e7}html[data-theme="light"] .projects-list-row{border-color:#d8e1e7;color:#344b5b}html[data-theme="light"] .projects-list-primary b{color:#152838}
html[data-theme="light"] .projects-dialog{border-color:#c8d6df;background:#fbfcfc;color:#162a39}html[data-theme="light"] .projects-dialog-head,html[data-theme="light"] .projects-dialog-actions,html[data-theme="light"] .assignment-editor-row,html[data-theme="light"] .project-member-row{border-color:#d8e1e7}html[data-theme="light"] .project-member-select{color:#263d4c}
@media(max-width:1120px){.projects-list-header{display:none}.projects-list-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;padding:14px}.projects-list-row>[role="cell"]{display:grid;gap:4px}.projects-list-row>[role="cell"]::before{content:attr(data-label);color:#71899b;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.projects-list-actions{grid-column:1/-1}.projects-list-actions .project-card-actions{justify-content:flex-start}}
@media(max-width:980px){.assignment-editor-row{grid-template-columns:1fr 1fr 1fr}.assignment-primary,.assignment-row-remove{align-self:end}.project-member-row{grid-template-columns:1fr 1fr}.projects-page-head{display:grid}.projects-head-tools{justify-content:flex-start}}
@media(max-width:620px){.projects-toolbar,.projects-form-grid,.assignment-editor-row,.project-member-row{grid-template-columns:1fr}.projects-workspace-list{grid-template-columns:1fr}.project-meta{grid-template-columns:1fr}.projects-dialog form{padding:17px}.projects-dialog-actions{display:grid;grid-template-columns:1fr 1fr}.projects-dialog-actions button{width:100%}.project-card-actions button{flex:1}.project-member-select{min-height:52px}.projects-head-tools{display:grid;grid-template-columns:auto auto 1fr;justify-content:stretch}.projects-head-tools>button{width:100%}.projects-list-row{grid-template-columns:1fr}.projects-list-actions{grid-column:auto}.projects-list-actions .project-card-actions{display:grid;grid-template-columns:1fr 1fr}.projects-list-actions .project-card-actions button:first-child{grid-column:1/-1}.projects-list-actions .project-card-actions button{min-height:44px}.project-workspace-card{min-height:0}}
