.btn.success{background:var(--green);color:#fff}.status-pill.neutral{background:#eef1ef;color:#4f5c56}.status-pill.info{background:var(--blue-soft);color:var(--blue)}
.recipe-page-heading .page-actions{display:flex;gap:9px;flex-wrap:wrap}.recipe-search-panel,.recipe-editor-panel,.recipe-purchase-panel,.recipe-items-panel,.recipe-method-panel{max-width:none}.recipe-filter-grid{align-items:end}.field-button{display:flex;align-items:end;height:100%}.field-button .btn{width:100%}.recipe-saved-list{display:grid;gap:9px;margin-top:18px}.recipe-saved-row{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(110px,.7fr)) auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:13px;padding:13px 14px;background:var(--surface-2)}.recipe-saved-row strong,.recipe-saved-row span,.recipe-saved-row small{display:block}.recipe-saved-row span,.recipe-saved-row small{color:var(--muted);font-size:.75rem;margin-top:3px}.recipe-saved-row .recipe-list-actions{display:flex;gap:7px}.recipe-editor-head{align-items:start}.recipe-main-fields .recipe-notes-field{grid-column:span 2}.recipe-main-fields label small,#productForm label small{display:block;font-size:.68rem;color:var(--muted);font-weight:500;line-height:1.35}.recipe-purchase-grid [hidden]{display:none!important}.recipe-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:18px 0}.recipe-summary-card{border:1px solid var(--line);border-radius:15px;padding:16px;background:#fff}.recipe-summary-card.accent{background:var(--brand);border-color:var(--brand);color:#fff}.recipe-summary-card span,.recipe-summary-card strong,.recipe-summary-card small{display:block}.recipe-summary-card span{color:var(--muted);font-size:.72rem;font-weight:700}.recipe-summary-card.accent span,.recipe-summary-card.accent small{color:#f8dfe0}.recipe-summary-card strong{font-size:1.25rem;margin-top:8px}.recipe-summary-card small{color:var(--muted);font-size:.69rem;margin-top:5px}.recipe-diagnostic{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;border:1px solid #c8dfd2;border-radius:15px;padding:15px 17px;background:var(--green-soft);color:#0d5d3c;margin-bottom:18px}.recipe-diagnostic.warning{background:var(--amber-soft);border-color:#eed29d;color:#76500a}.recipe-diagnostic.error{background:var(--danger-soft);border-color:#efbbb6;color:#872019}.recipe-diagnostic.incomplete{background:#eef1ef;border-color:var(--line);color:#46524d}.recipe-diagnostic .diagnostic-icon{width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.7);display:grid;place-items:center}.recipe-diagnostic strong,.recipe-diagnostic span{display:block}.recipe-diagnostic span{font-size:.75rem;margin-top:4px}.recipe-diagnostic .diagnostic-value{text-align:right;font-weight:800}.recipe-breakdown-grid>div{min-width:0}.recipe-breakdown-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:17px;margin-bottom:18px}.recipe-breakdown-card h3{margin:0 0 12px}.recipe-breakdown-list{display:grid;gap:9px}.recipe-breakdown-row{display:grid;grid-template-columns:1fr auto;gap:14px;border-top:1px solid #edf0ee;padding-top:9px}.recipe-breakdown-row:first-child{border-top:0;padding-top:0}.recipe-breakdown-row span,.recipe-breakdown-row strong,.recipe-breakdown-row small{display:block}.recipe-breakdown-row small{font-size:.69rem;color:var(--muted);margin-top:3px}.recipe-breakdown-row>strong{text-align:right}.recipe-items-head{align-items:start}.recipe-toolbar{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.inline-note{border:1px solid var(--line);background:var(--surface-2);border-radius:11px;padding:10px 12px;margin-bottom:14px;color:var(--muted);font-size:.76rem}.recipe-table{min-width:1600px}.recipe-table td{vertical-align:middle}.recipe-table input,.recipe-table select{min-width:105px;padding:8px 9px;font-size:.75rem}.recipe-table .recipe-code{min-width:90px}.recipe-table .recipe-product{min-width:210px}.recipe-table .recipe-number{min-width:100px;text-align:right}.recipe-table .computed{font-variant-numeric:tabular-nums;text-align:right;font-weight:700}.recipe-table .remove-recipe-item{width:36px;height:36px;padding:0}.recipe-table tfoot td{font-weight:800;background:var(--surface-2)}.recipe-footer-actions{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:16px}.recipe-method-panel{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(420px,1.1fr);gap:35px}.recipe-method-panel h3{margin:7px 0 0;line-height:1.4}.recipe-method-panel ol{margin:0;padding-left:20px;color:var(--muted);line-height:1.75}.recipe-empty-row{text-align:center;color:var(--muted);padding:30px!important}.recipe-list-empty{padding:18px;color:var(--muted);text-align:center;border:1px dashed var(--line);border-radius:12px}.recipe-row-not-included{opacity:.48}.recipe-badge{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:.67rem;font-weight:800;background:#eef1ef;color:#4d5954}.recipe-badge.rear{background:var(--blue-soft);color:var(--blue)}.recipe-badge.front{background:var(--brand-soft);color:var(--brand)}
@media(max-width:1380px){.recipe-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.recipe-saved-row{grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(110px,.7fr)) auto}.recipe-saved-row .hide-wide{display:none}}
@media(max-width:1000px){.recipe-main-fields .recipe-notes-field{grid-column:span 1}.recipe-method-panel{grid-template-columns:1fr}.recipe-saved-row{grid-template-columns:1fr auto}.recipe-saved-row .recipe-list-metric{display:none}.recipe-items-head{flex-direction:column}.recipe-toolbar{justify-content:flex-start}}
@media(max-width:760px){.recipe-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-diagnostic{grid-template-columns:auto 1fr}.recipe-diagnostic .diagnostic-value{grid-column:2;text-align:left}.recipe-footer-actions,.recipe-toolbar,.recipe-page-heading .page-actions{display:grid;grid-template-columns:1fr;width:100%}.recipe-footer-actions .btn,.recipe-toolbar .btn,.recipe-page-heading .btn{width:100%}.recipe-saved-row{grid-template-columns:1fr}.recipe-saved-row .recipe-list-actions{width:100%}.recipe-saved-row .recipe-list-actions .btn{flex:1}}
@media print{#page-recipes .recipe-search-panel,#page-recipes .recipe-write,#page-recipes .recipe-catalog-notice,#page-recipes .recipe-method-panel,.sidebar,.topbar{display:none!important}#page-recipes{display:block!important;padding:0}.app-shell{display:block}.recipe-editor-panel,.recipe-purchase-panel,.recipe-items-panel,.recipe-breakdown-card,.recipe-summary-card{box-shadow:none;break-inside:avoid}.recipe-table input,.recipe-table select{border:0;padding:0;appearance:none}.recipe-table .remove-recipe-item{display:none}.recipe-table{min-width:0;font-size:9px}.recipe-table th,.recipe-table td{padding:5px}.recipe-summary-grid{grid-template-columns:repeat(3,1fr)}}

/* V16 — receitas no tema grafite premium */
.recipe-summary-card,.recipe-breakdown-card{background:var(--surface);border-color:var(--line)}
.recipe-saved-row,.recipe-list-empty,.inline-note{background:var(--surface-2);border-color:var(--line)}
.recipe-breakdown-row{border-top-color:var(--line)}
.recipe-table tfoot td{background:var(--surface-2)}
.recipe-diagnostic.incomplete{background:#242a31;border-color:#3c444e;color:#c4cbd3}
.recipe-badge{background:#2a3037;color:#c6cdd4}.recipe-badge.front{background:#351b1e;color:#ff8b90}.recipe-badge.rear{background:#202a35;color:#9fc2e3}
