body{background:#f5f7f3}a{color:#146c43}.card{border:0;box-shadow:0 2px 10px #16351c0c}.table td,.table th{vertical-align:middle}input:not([type=checkbox]):not([type=radio]),select,button{min-height:44px}.form-check{min-height:44px;padding-top:10px;padding-bottom:10px}.money{font-variant-numeric:tabular-nums;white-space:nowrap}fieldset{margin-bottom:1rem}.navbar a{white-space:nowrap}

.invoice-preview { max-height: 45vh; width: 100%; object-fit: contain; }
#invoice-validation .invoice-field-invalid{border:2px solid #dc3545;background-color:#fff3f3}
#invoice-validation .invoice-field-warning{border:2px solid #ad8100;background-color:#fffbea}
#invoice-validation .invoice-field-invalid:focus{box-shadow:0 0 0 .2rem #dc354526}
#invoice-validation .invoice-field-warning:focus{box-shadow:0 0 0 .2rem #ad810026}
#invoice-save.invoice-ready{outline:2px solid #146c43;outline-offset:3px}
@media(prefers-reduced-motion:no-preference){#invoice-save.invoice-ready{animation:invoice-ready-pulse 1.8s ease-in-out infinite}}
@keyframes invoice-ready-pulse{0%,100%{box-shadow:0 0 0 0 #19875400}50%{box-shadow:0 0 0 8px #19875440}}

.form-check-input[type=checkbox]:checked{background-image:url('/checkbox-check.svg')}

.row-actions .btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center}

.row-details{min-width:0;overflow-wrap:anywhere}

.completion-attention{border:2px solid #b02a37!important;background:#fff5f5;scroll-margin-top:1rem}
.completion-input{border-color:#b02a37}
.completion-attention .form-label,.completion-attention .form-check-label{color:#b02a37}
[id^=recipe_],[id^=component_],[id^=offer_]{scroll-margin-top:1rem}
@media(prefers-reduced-motion:no-preference){.completion-attention{animation:completion-pulse 2.4s ease-in-out infinite}}
@keyframes completion-pulse{0%,100%{box-shadow:0 0 0 0 #b02a3700}50%{box-shadow:0 0 0 5px #b02a371f}}

.dashboard-chart{padding:1.75rem;border:1px solid #dfe8db;border-radius:1.25rem;box-shadow:0 8px 28px #16351c0a}
.dashboard-eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#497751;margin-bottom:.6rem}
.dashboard-chart h2{font-size:1.4rem;font-weight:700;letter-spacing:-.025em;color:#203c2b}
.dashboard-chart > .text-secondary{min-height:3rem}
.dashboard-ranking{padding-left:1.5rem;margin:1rem 0 1.5rem;flex:1}
.dashboard-ranking li{padding-left:.5rem;margin-bottom:1.3rem;color:#71836f;font-weight:700}
.dashboard-chart-label{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;color:#263d2e;margin-bottom:.55rem;font-size:.95rem}
.dashboard-chart-label a{font-weight:600;overflow-wrap:anywhere;text-decoration:none}
.dashboard-chart-label a:hover{text-decoration:underline}
.dashboard-chart-label strong{font-size:.9rem}
.dashboard-track{height:14px;background:#eaf0e5;border-radius:5px;overflow:hidden}
.dashboard-track span{display:block;height:100%;background:linear-gradient(90deg,#367848,#78a45e);border-radius:5px}
.dashboard-deliveries .dashboard-track{background:#e8eef2}
.dashboard-deliveries .dashboard-track span{background:linear-gradient(90deg,#316982,#76a7b0)}
.dashboard-note{font-size:.8rem;color:#697867;border-top:1px solid #e6ece2;padding-top:1rem;margin:0}
.dashboard-ranking .dashboard-empty{font-weight:400;color:#697867;list-style:none;padding:1rem 0}
@media(max-width:575px){.dashboard-chart{padding:1.25rem}.dashboard-chart-label{flex-direction:column;gap:.2rem}}
