.provider-workflow { padding: 22px; margin: 20px 0; background: #fff; border: 1px solid #d2d7eb; border-radius: 12px; }
.workflow-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.workflow-heading h2 { margin: 0 0 7px; font-size: 19px; }
.workflow-heading p { margin: 0 0 12px; }
.workflow-state { font-size: 11px; padding: 7px 10px; border-radius: 7px; background: #eeebfb; color: #5433b2; line-height: 1.5; }
.workflow-state.confirmed { background: #eaf5ef; color: #32664c; }
.workflow-state.cancelled { background: #f7eded; color: #9b4545; }
.workflow-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; list-style: none; padding: 0; margin: 19px 0; }
.workflow-steps li { display: flex; align-items: center; gap: 7px; color: #65758f; font-size: 11px; line-height: 1.5; }
.workflow-steps li > span { flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; width: 25px; height: 25px; background: #edf0f8; color: #576789; }
.workflow-steps li.done > span { background: #dff0e7; color: #347351; }
.workflow-steps .icon { width: 14px; height: 14px; }
.workflow-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.workflow-actions .btn { white-space: normal; text-align: left; }
.workflow-actions .btn.text { color: #a14949; }
.workflow-note { padding: 11px 13px; border-radius: 8px; background: #f1effb; color: #526180; font-size: 11px; line-height: 1.7; margin: 14px 0 0; }
.workflow-alert { background: #f7f3eb; border: 1px solid #e8d9bb; padding: 14px; margin: 14px 0; border-radius: 8px; font-size: 12px; }
.workflow-alert p { margin: 6px 0; color: #655738; white-space: pre-wrap; overflow-wrap: anywhere; }
.workflow-alert small { display: block; margin: 8px 0; }
.workflow-alert.resolved { background: #eff7f2; border-color: #cfe5d7; }
.workflow-facts { display: grid; gap: 10px; margin: 14px 0; font-size: 12px; }
.workflow-facts > div { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 15px; }
.workflow-facts dt { color: #64728c; }
.workflow-facts dd { margin: 0; color: #243d60; white-space: pre-wrap; overflow-wrap: anywhere; }
.deal-reviews { margin-top: 26px; }
.deal-review-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.deal-review-card { border: 1px solid #d8dced; background: white; border-radius: 10px; padding: 18px; min-width: 0; }
.deal-review-card p { white-space: pre-wrap; overflow-wrap: anywhere; color: #4e6280; font-size: 12px; line-height: 1.8; }
.deal-review-card > strong { font-size: 12px; color: #203e62; }
.deal-review-card > small, .review-target { display: block; font-size: 10px; line-height: 1.8; color: #687993; margin-top: 5px; }
.review-direction { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; color: #6040b2; font-size: 11px; margin-bottom: 12px; }
.review-direction > span { color: #78879f; font-size: 10px; }
.deal-review-card .stars { color: #a8751d; font-size: 19px; letter-spacing: 1px; }
.deal-review-card .stars small { color: #65758f; font-size: 10px; letter-spacing: 0; }
.provider-deal-scopes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 17px; }
.provider-deal-scopes button { padding: 10px 12px; border: 1px solid #d3d5e7; border-radius: 7px; background: #fff; font-size: 12px; }
.provider-deal-scopes button.selected { background: #6541dd; color: white; border-color: #6541dd; }
.provider-deal-scopes b { margin-left: 8px; font-size: 10px; }
.deal-row .workflow-state { display: inline-block; margin-bottom: 6px; padding: 4px 7px; font-size: 10px; }
.review-center-section { margin-bottom: 28px; }
.review-entry { border: 1px solid #d3d7eb; border-radius: 12px; background: #fff; padding: 24px; margin: 0 0 26px; scroll-margin-top: 24px; }
.review-entry-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.review-entry-heading h2 { margin: 0 0 8px; }
.review-entry-heading p { margin: 0; color: #566b89; }
.review-entry-role { white-space: nowrap; border-radius: 7px; padding: 7px 10px; background: #f0ecfc; color: #5d3ba8; font-size: 11px; }
.review-entry-form > label { display: block; font-weight: 600; font-size: 12px; color: #2c4669; margin: 16px 0 8px; }
.review-entry-form > select, .review-entry-form > textarea { display: block; width: 100%; padding: 12px; border: 1px solid #d6dceb; background: #fcfcff; color: #2b4266; font-size: 13px; }
.review-entry-form > textarea { min-height: 112px; resize: vertical; line-height: 1.8; }
.review-rating { padding: 0; margin: 22px 0 18px; border: 0; min-width: 0; }
.review-rating legend { font-size: 12px; font-weight: 600; color: #2c4669; margin-bottom: 10px; }
.review-star-options { display: flex; gap: 10px; }
.review-star { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; min-height: 70px; border: 1px solid #dce0ed; background: #f7f8fc; border-radius: 9px; cursor: pointer; }
.review-star > input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.review-star > span { color: #aeb8ca; font-size: 29px; line-height: 1.2; }
.review-star > small { color: #657691; font-size: 11px; margin-top: 2px; }
.review-star:focus-within { outline: 3px solid #a08ae7; outline-offset: 2px; }
.review-star:has(input:checked) { border-color: #8060e2; background: #f1ecff; }
.review-star-options:has(input[value="1"]:checked) .review-star:nth-child(-n+1) > span,
.review-star-options:has(input[value="2"]:checked) .review-star:nth-child(-n+2) > span,
.review-star-options:has(input[value="3"]:checked) .review-star:nth-child(-n+3) > span,
.review-star-options:has(input[value="4"]:checked) .review-star:nth-child(-n+4) > span,
.review-star-options:has(input[value="5"]:checked) .review-star:nth-child(-n+5) > span { color: #b17a12; }
.review-rating-hint { font-size: 10px; color: #71809a; margin: 8px 0 0; }
.review-comment-meta { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-top: 7px; color: #73819a; }
.review-comment-meta small, .review-character-count { font-size: 10px; line-height: 1.6; }
.review-character-count { white-space: nowrap; }
.review-entry-visibility { font-size: 11px; line-height: 1.7; color: #687a96; }
.review-entry-success, .review-entry-empty { padding: 14px; border-radius: 8px; font-size: 12px; line-height: 1.8; margin-bottom: 18px; }
.review-entry-success { background: #eaf6ef; border: 1px solid #c5e1d0; color: #2d6647; }
.review-entry-empty { background: #f4f1fc; border: 1px solid #dfd8f0; color: #4b4774; }
.review-entry-empty p { margin: 5px 0 12px; font-size: 11px; color: #68738e; }
.review-entry-form :disabled { opacity: .55; cursor: not-allowed; }
.review-rating:disabled { opacity: .5; }
.review-rating:disabled input { cursor: not-allowed; }
.deal-reviews .review-entry { padding: 18px; background: #fafaff; }
.modal .workflow-check { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.8; margin: 16px 0; }
.workflow-check input { margin-top: 5px; }
@media(max-width: 700px) {
 .provider-workflow { padding: 17px; }
 .workflow-heading { flex-direction: column; gap: 10px; }
 .workflow-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
 .workflow-facts > div { grid-template-columns: minmax(0,1fr); gap: 4px; }
 .deal-review-grid { grid-template-columns: minmax(0,1fr); }
 .workflow-actions .btn { flex: 1 1 170px; }
 .review-entry { padding: 18px; }
 .review-entry-heading { flex-direction: column; gap: 12px; }
 .review-star-options { gap: 6px; }
 .review-star { width: auto; flex: 1; min-width: 0; min-height: 64px; }
 .review-entry-form > .btn { width: 100%; white-space: normal; }
}
