/* Canonical GreenTech palette shared with Agenti through crm-design. */
:root{--gt-heading:#173f31;--gt-text:#343b3f;--gt-paper:#fafaf7;--gt-line:#dfe3e5;--gt-lime:#b9f12b;--gt-sent-bg:#f1f3f4;--gt-sent-line:#dfe3e5;--gt-sent-text:#58636a;--gt-handling-bg:#edf3f6;--gt-handling-line:#d5e1e7;--gt-handling-text:#46616f;--gt-waiting-bg:#fbf8ed;--gt-waiting-line:#e9dfc3;--gt-waiting-text:#756443;--gt-done-bg:#edf6ef;--gt-done-line:#cfe2d3;--gt-done-text:#316449;--gt-ko-bg:#fde8e8;--gt-ko-line:#efcaca;--gt-ko-text:#a12632;--gt-canceled-bg:#f8eeee;--gt-canceled-line:#e7cdcd;--gt-canceled-text:#8a5558}
#app-view.app-shell :is(.contract-status.status-da_integrare,.practice-state-pill.tone-da_integrare,.practice-bo-stage.is-waiting){background:var(--gt-waiting-bg);border-color:var(--gt-waiting-line);color:var(--gt-waiting-text)}
#app-view.app-shell :is(.contract-status.status-inserita,.contract-status.status-completato,.practice-state-pill.tone-inserita,.practice-bo-stage.is-completed){background:var(--gt-done-bg);border-color:var(--gt-done-line);color:var(--gt-done-text)}
#app-view.app-shell :is(.contract-status.status-ko,.status-outcome-ko,.practice-state-pill.tone-ko){background:var(--gt-ko-bg);border-color:var(--gt-ko-line);color:var(--gt-ko-text)}
#app-view.app-shell :is(.contract-status.status-annullata,.contract-status.status-annullato,.status-outcome-canceled,.practice-state-pill.tone-annullata){background:var(--gt-canceled-bg);border-color:var(--gt-canceled-line);color:var(--gt-canceled-text)}
#app-view.app-shell .practice-bo-stage.is-pending{background:var(--gt-sent-bg);border-color:var(--gt-sent-line);color:var(--gt-sent-text)}
#app-view.app-shell .practice-bo-stage.is-received{background:var(--gt-handling-bg);border-color:var(--gt-handling-line);color:var(--gt-handling-text)}
/* Administrative payment uses the approved petrol-green/lime label matrix. */
#app-view.app-shell .is-paid{--agent-status-surface:#087F6B;--agent-status-border:#087F6B;--agent-status-ink:#C4F136}
#app-view.app-shell :is(.provider-status.is-paid,.agent-status.is-paid,.contract-status.is-paid){color:#C4F136;background:#087F6B;border-color:#087F6B;font-weight:700}
