.crm-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:20px;margin-bottom:24px}.crm-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:24px;overflow-wrap:anywhere;margin-bottom:18px}.crm-card h2{font-size:21px;line-height:1.7}.crm-card h3{font-size:17px;line-height:1.8}.crm-card p{font-size:14px;line-height:1.9}.crm-card summary{cursor:pointer;font-weight:600;line-height:1.9}.crm-card[open] summary{margin-bottom:20px}.crm-card .form-help{margin-top:12px}.crm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.editor-form select,.crm-search input{display:block;width:100%;padding:10px 13px;border:1px solid #cbd0c1;border-radius:5px;background:#fffefa;font:inherit;margin-bottom:20px;min-height:45px}.editor-form textarea{width:100%;margin-bottom:20px}.crm-board{display:grid;grid-template-columns:repeat(6,minmax(230px,1fr));gap:16px;overflow-x:auto;padding-bottom:20px}.crm-column{background:#e9ece2;padding:14px;border-radius:10px;min-width:0}.crm-column>h2{font-size:16px;margin:4px 0 20px}.crm-column .crm-card{padding:18px}.crm-overdue{color:#9c3d2f;font-weight:600}.crm-search{max-width:650px;margin-bottom:25px}.crm-search label{display:block;margin-bottom:8px}.crm-section{margin-top:32px}.crm-timeline{list-style:decimal;padding-inline-start:30px}.crm-timeline li::marker{color:var(--green);font-weight:700}.portal-main{max-width:1100px;margin:35px auto;padding:0 24px 60px}.portal-auth{max-width:480px;margin:40px auto}.portal-auth p{font-size:14px;line-height:1.9}.crm-card .multiline{white-space:pre-wrap}.crm-card:focus-within{border-color:var(--green)}@media(max-width:750px){.crm-form-grid{grid-template-columns:1fr;gap:10px}.crm-board{grid-template-columns:repeat(6,260px)}.portal-main{padding:0 16px 40px}.crm-card{padding:18px}.admin-header-actions{flex-wrap:wrap}.portal-auth{margin:20px auto}}
.crm-search select{display:block;width:100%;padding:10px 13px;border:1px solid #cbd0c1;border-radius:5px;background:#fffefa;font:inherit;margin-bottom:20px;min-height:45px}

.crm-portfolio{border:1px solid var(--line);border-radius:8px;padding:18px;margin:20px 0}.crm-portfolio legend{padding:0 8px;font-size:15px}.crm-portfolio-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.crm-portfolio-row .check-label{margin-bottom:12px!important}.crm-portfolio-row label{overflow-wrap:anywhere}

.project-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}.project-tools form{margin:0}.project-tools .button{font-size:13px}.project-tools a:focus-visible{outline:2px solid var(--green);outline-offset:3px}

.report-table{max-width:100%;overflow-x:auto;margin-block:16px}.report-table table{width:100%;border-collapse:collapse;min-width:480px}.report-table th,.report-table td{padding:12px;text-align:right;border-bottom:1px solid var(--line)}.report-table th{background:var(--lime)}.report-table a{color:var(--green);text-decoration:underline;text-underline-offset:3px}

.project-filters,.project-badges{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-block:1rem}
.project-badges .project-kind{background:#e8edf7;color:#243a64}
.project-badges .project-status-0{background:#fff0d4;color:#784500}
.project-badges .project-status-1{background:#e5edff;color:#254783}
.project-badges .project-status-2{background:#dff3e6;color:#205c36}
.project-badges .project-status-3{background:#eeeaf0;color:#59465e}
.project-filters a[aria-current=page]{outline:2px solid currentColor;outline-offset:2px}
