.phases-section{grid-column:1 / -1;margin:20px 0 0;padding:16px;border:1px solid #e4e0fb;border-radius:12px;background:linear-gradient(135deg,#fbfaff 0%,#f5f3ff 100%)}
.phases-section .detail-copy{margin:6px 0 12px;color:#5d586e;font-size:10px;line-height:1.5}
.phases-form{margin-top:12px}
.phases-form.hidden{display:none}
.phase-row{padding:12px;margin-bottom:10px;border:1px solid #e5e1f4;border-radius:10px;background:#fff}
.phase-row label{display:block;margin-bottom:8px;color:#5d586e;font-size:10px;font-weight:700}
.phase-row label:last-child{margin-bottom:0}
.phase-row input,.phase-row textarea{width:100%;margin-top:5px;padding:9px 10px;border:1px solid #dedaf0;border-radius:8px;background:#fcfbff;font-size:11px;font-family:inherit}
.phase-row textarea{min-height:52px;resize:vertical}
.phases-form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.phases-form-actions .primary-button,.phases-form-actions .text-button{font-size:10px;padding:9px 12px}
.phase-stepper{display:flex;flex-direction:column;gap:0}
.phase-step{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #e9e6f4}
.phase-step:last-child{border-bottom:0;padding-bottom:0}
.phase-step-marker{flex:0 0 auto;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1px solid #dad6eb;background:#fff;color:#9a96a8;font-size:11px;font-weight:800}
.phase-step-completed .phase-step-marker{border-color:#6b5ce7;background:#6b5ce7;color:#fff}
.phase-step-approved .phase-step-marker,.phase-step-pending_approval .phase-step-marker{border-color:#6b5ce7;background:#eeecff;color:#5c50c9}
.phase-step-body{min-width:0;flex:1}
.phase-step-body strong{display:block;color:#302d4d;font-size:12px}
.phase-step-status{display:inline-block;margin-top:3px;color:#8a8698;font-size:9px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}
.phase-step-pending_approval .phase-step-status{color:#9a6a28}
.phase-step-approved .phase-step-status{color:#238461}
.phase-step-completed .phase-step-status{color:#6b5ce7}
.phase-step-detail{margin:6px 0 0;color:#5b576c;font-size:10px;line-height:1.5}
.phase-step-estimate{margin:6px 0 0;color:#6d6880;font-size:10px;font-weight:700}
.phase-token-anchor{font-weight:500;color:#8a889a;text-transform:none}
.phase-step .phase-action-button{margin-top:10px;font-size:10px;padding:9px 12px}
.phase-tokens-needed-note{margin-top:8px;padding:10px;border:1px solid #f0d4a8;border-radius:8px;background:#fdf6ea}
.phase-tokens-needed-note p{margin:0 0 8px;color:#8a5a1a;font-size:10px;font-weight:700;line-height:1.5}
.phase-tokens-needed-note .phase-action-button{margin-top:0}
.client-phases-card .phase-step-marker{width:24px;height:24px}
.phase-delivery{margin-top:10px;padding:0;border:0;background:none}
.phase-delivery-toggle{color:#5c50c9;font-size:10px;font-weight:700;padding:0}
.phase-delivery-toggle .collapsible-chevron{color:#9695a5}
.phase-delivery .collapsible-content{margin-top:9px;padding:11px 12px;border:1px solid #e9e6f4;border-radius:10px;background:#fcfbff}
.phase-delivery-text{margin:0;color:#4b4658;font-size:10px;line-height:1.55;white-space:pre-wrap}
.phase-delivery-files{margin-top:8px}
.phase-delivery-files:first-child{margin-top:0}
.phase-approve-hero{margin:16px 0 0;padding:18px;border:1px solid #d9d2ff;border-radius:14px;background:linear-gradient(135deg,#efeaff 0%,#f7f4ff 100%);box-shadow:0 10px 24px rgba(91,79,209,.1)}
.phase-approve-hero .detail-label{color:#5c50c9}
.phase-approve-hero h3{margin:6px 0 4px;color:#2c2846;font-family:Manrope;font-size:16px;letter-spacing:-.03em}
.phase-approve-hero p{margin:0;color:#57516c;font-size:11px;line-height:1.55}
.phase-approve-hero .phase-step-estimate{margin-top:8px}
.phase-approve-hero .phase-hero-approve{margin-top:14px;padding:12px 18px;font-size:12px;width:100%;justify-content:center}
.phase-approve-hero .phase-hero-view-completed{display:block;margin:10px auto 0;font-size:10px;font-weight:700}
@media(max-width:720px){.phases-section{padding:13px}}
