.agency-app{--accent:#2b7062}.agency-app .brand-symbol{background:#2b7062}.agency-app .nav-link.active{background:#edf5f1;color:#2b7062}.agency-app .nav-link.active img{filter:invert(40%) sepia(18%) saturate(1300%) hue-rotate(112deg);opacity:.9}.agency-app .brand-copy{font-size:18px;letter-spacing:0}.agency-mode{font-size:12px;color:#80908a}.plus-symbol{font-size:20px;line-height:20px;font-weight:400}.agency-period-caption{margin-left:auto;font-size:12px;color:#899397}.agency-chart-label{background:#edf4f1;color:#4e7b6c;padding:4px 12px;border-radius:4px;font-size:12px}.portfolio-rows{padding:8px 24px;display:grid;gap:24px}.portfolio-rows>div{display:flex;align-items:center;gap:12px;font-size:12px;color:#6c797e}.portfolio-rows strong{margin-left:auto;font-size:18px;line-height:28px;color:#3f514b;font-weight:600}.portfolio-note{margin:24px;padding:16px;border-radius:8px;background:#f5f8f6;color:#8a9891;font-size:12px;line-height:20px}.agency-table-toolbar{display:flex;gap:12px;padding:0 24px 24px}.agency-table-toolbar select{height:40px;min-width:192px}.directory-count{font-size:12px;color:#969fa3;white-space:nowrap}.agency-name-link{font-weight:600;color:#3e5149}.agency-name-link:hover{text-decoration:underline}.agency-client-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;background:#eaf1ee;color:#567f70;font-weight:600}.agency-open{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#547569;padding:8px 12px;border:1px solid #e2e9e5;border-radius:8px;white-space:nowrap}.agency-open:hover{background:#eff5f2}.agency-open img{width:16px;height:16px;opacity:.5}.agency-client-table th,.agency-client-table td{padding:16px 24px}.agency-client-table .agency-company small{display:block;font-size:12px;color:#9aa2a6;margin-top:4px;font-weight:400}.agency-company{display:flex;gap:12px;align-items:center}.agency-cell-number{font-size:16px;font-weight:600;color:#46594f}.agency-cell-number small{font-size:12px;font-weight:400;color:#9da7a3;margin-left:8px}.client-status{display:inline-flex;align-items:center;border-radius:4px;font-size:12px;line-height:16px;padding:4px 8px;white-space:nowrap}.client-status.demo{background:#edf5f1;color:#648979}.client-status.needs_setup{background:#fcf5e8;color:#a88550}.agency-client-issue{display:block;font-size:12px;color:#bb7467;margin-top:8px}.create-description{font-size:14px;line-height:24px;color:#89958e}.form-field{margin-top:24px;display:flex;flex-direction:column;gap:8px}.form-field label{font-size:12px;font-weight:600;color:#66766c}.form-field label span{color:#b95e4e}.form-field input{width:100%;height:40px;font-size:14px;line-height:20px}.form-field input[aria-invalid=true]{border-color:#bf6f61}.form-field small{font-size:12px;line-height:16px;color:#a0aaa5}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.create-note{padding:16px;background:#f7f8f7;border-radius:8px;font-size:12px;line-height:20px;color:#97a29b}.form-error{padding:12px;border:1px solid #edd7d0;border-radius:8px;background:#fff7f3;font-size:12px;line-height:20px;color:#ab6d5d}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:24px}.agency-back{color:#54766b;font-weight:500}.agency-back:hover{color:#2c5140}.client-onboarding{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;background:#f3f8f5}.client-onboarding p{font-size:12px;line-height:20px;color:#829389;margin-top:8px}.connection .inactive{background:#a9b0ac}.brand-copy>#client-brand-name{font-size:20px;line-height:28px;font-weight:700;color:var(--ink);max-width:132px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace>span:last-child{min-width:0;overflow-wrap:anywhere}.client-onboarding h2{font-size:18px;line-height:28px}
.agency-company>div{min-width:0;max-width:240px}.agency-name-link{white-space:normal;overflow-wrap:anywhere}
@media(max-width:1280px){.agency-client-table th,.agency-client-table td{padding:16px}.agency-client-table .city-column{display:none}.portfolio-rows{padding:8px 16px}.portfolio-note{margin:16px}.agency-open{padding:8px}.agency-period-caption{font-size:12px}.agency-table-toolbar{padding:0 16px 16px}}
@media(min-width:761px) and (max-width:1100px){.agency-client-table th:nth-child(4),.agency-client-table td:nth-child(4){display:none}}
@media(max-width:760px){.agency-app .heading-actions .button.primary{font-size:12px;gap:4px}.agency-app .heading-actions .plus-symbol{font-size:18px}.agency-app .page-heading{gap:8px}.agency-app .page-heading h1{font-size:24px;line-height:32px}.agency-app .page-heading p{max-width:240px}.agency-period-caption{width:100%;margin:4px 0 0;text-align:left}.agency-app .period-control{flex:none;width:100%}.agency-app .data-caption{font-size:12px}.agency-table-toolbar{flex-wrap:wrap}.agency-table-toolbar .search{flex-basis:100%}.agency-table-toolbar select{width:100%}.agency-client-table .industry-column,.agency-client-table .city-column{display:none}.agency-client-table th,.agency-client-table td{padding:12px}.agency-client-table .agency-company small{max-width:160px;white-space:normal}.agency-company{gap:8px}.agency-open{font-size:12px}.directory-count{white-space:normal}.form-grid{grid-template-columns:1fr;gap:0}.form-actions{flex-direction:column-reverse;align-items:stretch}.client-onboarding{flex-direction:column;align-items:flex-start;padding:16px}.agency-app .page-footer{gap:8px}.agency-app .page-footer>span:last-child{width:100%}}
@media(max-width:760px){.agency-client-table,.agency-client-table tbody{display:block;width:100%;white-space:normal}.agency-client-table thead{display:none}.agency-client-table tbody tr{display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px;border-top:1px solid var(--line)}.agency-client-table td{display:block;padding:0;border:0!important}.agency-client-table td:first-child{grid-column:1/-1}.agency-client-table td:nth-child(3),.agency-client-table td:nth-child(4){font-size:12px;color:#98a39e}.agency-client-table td:nth-child(3):before{content:'Чаты: ';}.agency-client-table td:nth-child(4):before{content:'Заявки: ';}.agency-client-table td:nth-child(5){align-self:center}.agency-client-table td:nth-child(6){justify-self:end;align-self:center}.agency-client-table .agency-company small{max-width:260px}.agency-client-table .city-column{display:none}}
.costs-toolbar{padding:24px;display:flex;gap:24px;align-items:center;margin-bottom:24px}.costs-toolbar>div{display:flex;gap:12px;align-items:center}.costs-toolbar p{color:var(--muted);font-size:14px;line-height:20px;margin:0}.agency-cost-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.agency-cost-summary article{padding:24px;display:flex;flex-direction:column;gap:12px}.agency-cost-summary strong{font-size:24px;line-height:32px}.agency-cost-summary span,.agency-cost-summary small{font-size:12px;line-height:16px;color:var(--muted)}.costs-note{padding:24px;background:#edf3ee;margin-bottom:24px}.costs-note p{font-size:14px;line-height:20px;margin:12px 0 0;text-wrap:pretty}.cost-client{padding:24px;margin-bottom:24px}.cost-client-figures{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.cost-client-figures>div{display:flex;flex-direction:column;gap:8px}.cost-client-figures span{font-size:12px;line-height:16px;color:var(--muted)}.cost-client-figures strong{font-size:20px;line-height:28px}.cost-meter{display:flex;gap:16px;align-items:center}.cost-meter meter{width:100%;height:16px;accent-color:#28786b}.cost-details-line{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;line-height:16px;margin-top:16px}.cost-reference{font-size:12px;line-height:20px;color:#88661f;background:#fbf6e9;padding:12px;border-radius:8px}.cost-client details{margin-top:16px}.cost-client summary{cursor:pointer;font-weight:600}.cost-events article{border:1px solid var(--line);padding:16px;border-radius:8px;margin-top:12px;overflow-wrap:anywhere}.cost-events article>span{display:block;color:var(--muted);font-size:12px;line-height:16px;margin-top:8px}.cost-events p{font-size:12px;line-height:20px;margin-bottom:0}.budget-check{display:flex;gap:12px;align-items:flex-start;margin-top:24px}#budget-dialog .form-field{margin-top:24px}#budget-dialog .form-field input{width:100%}
@media(max-width:1000px){.cost-client-figures{grid-template-columns:1fr 1fr}.costs-toolbar{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.agency-cost-summary{grid-template-columns:1fr}.agency-cost-summary article,.costs-toolbar,.costs-note,.cost-client{padding:16px}.cost-client .section-top{flex-wrap:wrap;gap:16px}.cost-client-figures strong{font-size:18px;line-height:28px}.costs-toolbar>div{flex-wrap:wrap}}
