.review-account .work-review-pricing-head > button { flex: 0 0 auto; }
.review-account-read { display: grid; gap: 16px; }
.review-account-group { display: grid; gap: 8px; }
.review-account-group h4,
.review-account-editor h4 { margin: 0; color: #26344b; font-size: .86rem; }
.review-account-totals .subtotal { border-top: 1px solid #dbe3ee; padding-top: 10px; }
.review-account-totals .adjustment strong { color: #9b5d00; }
.review-account-editor { display: grid; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #dce4ef; }
.review-account-editor[hidden] { display: none; }
.review-account-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-account-editor-head span { display: block; margin-bottom: 3px; color: #8b2330; font-size: .69rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.review-account-items { display: grid; gap: 10px; }
.review-account-item { display: grid; grid-template-columns: minmax(170px,1fr) 100px 150px 140px auto; gap: 10px; align-items: end; padding: 12px; border: 1px solid #dce4ef; border-radius: 14px; background: #fff; }
.review-account-item-copy { align-self: center; min-width: 0; }
.review-account-item-copy strong,
.review-account-item-copy span { display: block; overflow: hidden; text-overflow: ellipsis; }
.review-account-item-copy span { margin-top: 3px; color: #617087; font-size: .78rem; }
.review-account-item label,
.review-account-add label,
.review-account-replace label,
.review-labor-grid label { display: grid; gap: 5px; color: #617087; font-size: .68rem; font-weight: 800; }
.review-account-item input,
.review-account-item select,
.review-account-add input,
.review-account-replace input,
.review-labor-grid input { min-width: 0; width: 100%; border: 1px solid #ccd6e3; border-radius: 10px; padding: 9px 10px; background: #fff; color: #1f2b3f; }
.review-account-item-actions { display: flex; gap: 6px; }
.review-account-item-actions .btn { padding: 9px 10px; }
.review-account-price small { color: #7a8799; font-size: .66rem; font-weight: 600; }
.review-account-price button { justify-self: start; padding: 0; border: 0; background: transparent; color: #8b2330; font: inherit; font-size: .66rem; font-weight: 800; text-decoration: underline; cursor: pointer; }
.review-account-replace { grid-column: 1 / -1; display: grid; gap: 8px; padding-top: 4px; }
.review-account-replace[hidden] { display: none; }
.review-account-add-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.review-account-add { display: grid; gap: 8px; padding: 12px; border: 1px dashed #becadc; border-radius: 14px; background: #f8fafc; }
.review-account-search-results { display: grid; gap: 5px; max-height: 220px; overflow: auto; }
.review-account-search-results > button { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 9px; border: 1px solid #d9e2ed; border-radius: 10px; background: #fff; color: #25334a; text-align: left; cursor: pointer; }
.review-account-search-results span,
.review-account-search-results strong,
.review-account-search-results small { display: block; }
.review-account-search-results small { margin-top: 2px; color: #6a778d; }
.review-account-search-results b { white-space: nowrap; }
.review-labor-editor { display: grid; gap: 10px; padding: 14px; border: 1px solid #ead6a5; border-radius: 14px; background: #fffaf0; }
.review-labor-grid { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 10px; }
.review-labor-editor p { margin: 0; color: #6d6042; font-size: .76rem; }
.review-labor-actions { display: flex; justify-content: flex-end; gap: 8px; }
.work-task-section-help { margin: -5px 0 12px; color: #68758b; font-size: .76rem; }

@media (max-width: 720px) {
  .review-account-item { grid-template-columns: 1fr 105px; }
  .review-account-item-copy { grid-column: 1 / -1; }
  .review-account-item-actions { grid-column: 1 / -1; }
  .review-account-item-actions .btn { flex: 1; }
  .review-account-add-grid,
  .review-labor-grid { grid-template-columns: 1fr; }
  .review-account-editor-head { align-items: flex-start; }
  .review-account-editor-head .btn { white-space: nowrap; }
}
.history-heading{margin-bottom:18px}.history-search{display:grid;gap:7px;margin-bottom:18px}.history-search>label{font-size:.78rem;font-weight:800;color:#656b73}.history-search>div{display:flex;gap:9px}.history-search input{width:100%;min-width:0;border:1px solid #d9dde2;border-radius:14px;padding:12px 14px;font:inherit;background:#fff}.history-load-more{display:flex;justify-content:center;margin-top:18px}.history-grid .taller-work-card.status-entregado .taller-work-card-topline em{background:#e8f6ee;color:#167642}.work-review-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.work-review-section-head h3{margin:0}.work-review-files a.is-current-invoice{border-color:#2b9d62;background:#f1fbf5}.delivery-invoice-card{max-width:560px}.delivery-invoice-field{display:grid;gap:8px;margin:20px 0;font-weight:800}.delivery-invoice-field small{display:block;color:#777;font-weight:500}.delivery-invoice-field input{border:1px solid #d9dde2;border-radius:13px;padding:12px;background:#fff}
.delivery-invoice-modal{z-index:160}
.history-switch{display:inline-flex;gap:4px;margin:0 0 18px;padding:4px;border:1px solid #dce1e7;border-radius:14px;background:#f4f6f8}.history-switch button{display:flex;align-items:center;gap:7px;padding:9px 13px;border:0;border-radius:10px;background:transparent;color:#66707d;font:inherit;font-size:.78rem;font-weight:850}.history-switch button.is-active{background:#fff;color:#202832;box-shadow:0 3px 10px rgba(24,31,42,.09)}.history-switch span{min-width:19px;padding:2px 5px;border-radius:99px;background:#c82f35;color:#fff;font-size:.65rem;text-align:center}.history-tasks-panel{min-height:120px}

@media (max-width:640px){.history-search>div{align-items:stretch}.history-search button{flex:0 0 auto}.work-review-section-head{align-items:flex-start;flex-direction:column}.work-review-section-head .btn{width:100%}.delivery-invoice-card .modal-actions{display:grid;grid-template-columns:1fr}.delivery-invoice-card .modal-actions .btn{width:100%}}
.work-identity-summary>p{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin:10px 0;color:#72777f;font-size:.82rem}.work-identity-summary>p strong{overflow:hidden;color:#20242a;text-overflow:ellipsis;white-space:nowrap}.work-identity-summary .work-review-section-head .btn{padding:8px 14px}.work-identity-card{max-width:520px}.work-identity-form{display:grid;gap:15px;margin-top:20px}.work-identity-form label{display:grid;gap:7px;color:#4c535c;font-size:.8rem;font-weight:800}.work-identity-form input{width:100%;border:1px solid #d9dde2;border-radius:13px;padding:12px 14px;background:#fff;font:inherit}.work-identity-form .modal-actions{margin-top:5px}
.work-identity-modal{z-index:260}
@media (max-width:640px){.work-identity-summary>p{grid-template-columns:1fr}.work-identity-summary>p span{margin-top:-7px}.work-identity-summary .work-review-section-head .btn{width:auto}.work-identity-card .modal-actions{grid-template-columns:1fr 1fr}}
