.peptide-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172aa6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.peptide-modal{background:#fff;border-radius:14px;flex-direction:column;width:100%;max-width:650px;max-height:90vh;animation:.2s ease-out peptide-modal-enter;display:flex;overflow:hidden;box-shadow:0 20px 60px #0003}@keyframes peptide-modal-enter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.peptide-modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px;display:flex}.peptide-modal-header h2{color:#111827;margin:0;font-size:22px;font-weight:700;line-height:1.3}.peptide-modal-header p{color:#6b7280;margin:7px 0 0;font-size:14px;line-height:1.5}.peptide-modal-close{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-size:28px;line-height:1;display:flex}.peptide-modal-close:hover{color:#111827;background:#f3f4f6}.peptide-modal form{flex-direction:column;min-height:0;display:flex;overflow:hidden}.peptide-modal-body{padding:24px;overflow-y:auto}.peptide-form-group{flex-direction:column;gap:8px;min-width:0;margin-bottom:20px;display:flex}.peptide-form-group label{color:#374151;font-size:14px;font-weight:600}.peptide-form-group input,.peptide-form-group textarea,.peptide-form-group select{box-sizing:border-box;color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;padding:11px 12px;font-size:14px;transition:border-color .15s,box-shadow .15s}.peptide-form-group input,.peptide-form-group select{min-height:43px}.peptide-form-group textarea{resize:vertical;min-height:100px}.peptide-form-group input:focus,.peptide-form-group textarea:focus,.peptide-form-group select:focus{border-color:#7aab97;box-shadow:0 0 0 3px #2563eb1f}.peptide-form-group input::placeholder,.peptide-form-group textarea::placeholder{color:#9ca3af}.peptide-tag-list{flex-wrap:wrap;gap:8px;display:flex}.peptide-tag{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:20px;padding:8px 13px;font-size:13px;transition:background .15s,border-color .15s,color .15s}.peptide-tag:hover{border-color:#7aab97}.peptide-tag.selected{color:#7aab97;background:#eff6ff;border-color:#7aab97}.peptide-dosage-section{border-top:1px solid #e5e7eb;padding-top:20px}.peptide-dosage-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.peptide-dosage-heading h3{color:#111827;margin:0;font-size:16px;font-weight:700}.peptide-dosage-heading p{color:#6b7280;margin:6px 0 0;font-size:13px;line-height:1.5}.peptide-add-dosage{color:#4a7c6a;cursor:pointer;background:#f9fafb;border:1px solid #12302a;border-radius:8px;flex-shrink:0;padding:9px 12px;font-size:13px;font-weight:600}.peptide-add-dosage:hover{background:#7aab97}.peptide-dosage-row{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px;align-items:end;gap:12px;margin-bottom:16px;padding:14px;display:grid}.peptide-dosage-row .peptide-form-group{margin-bottom:0}.peptide-remove-dosage{color:#dc2626;cursor:pointer;background:#fff1f2;border:1px solid #fecaca;border-radius:8px;justify-content:center;align-items:center;width:34px;height:43px;margin-bottom:0;font-size:23px;display:flex}.peptide-remove-dosage:hover:not(:disabled){background:#fee2e2}.peptide-remove-dosage:disabled{opacity:.4;cursor:not-allowed}.peptide-form-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:20px;padding:12px 14px;font-size:14px;line-height:1.5}.peptide-modal-footer{background:#fff;border-top:1px solid #e5e7eb;justify-content:flex-end;gap:12px;padding:18px 24px;display:flex}.peptide-cancel-button,.peptide-submit-button{cursor:pointer;border-radius:8px;min-height:42px;padding:10px 18px;font-size:14px;font-weight:600;transition:background .15s,opacity .15s}.peptide-cancel-button{color:#374151;background:#fff;border:1px solid #d1d5db}.peptide-cancel-button:hover:not(:disabled){background:#f9fafb}.peptide-submit-button{color:#fff;background:#1e4a3e;border:1px solid #1e4a3e}.peptide-submit-button:hover:not(:disabled){background:#4a7c6a}.peptide-cancel-button:disabled,.peptide-submit-button:disabled,.peptide-modal-close:disabled{opacity:.6;cursor:not-allowed}@media (max-width:520px){.peptide-modal-overlay{align-items:flex-end;padding:0}.peptide-modal{border-radius:16px 16px 0 0;width:100%;max-width:none;max-height:94vh}.peptide-modal-header{padding:20px 18px}.peptide-modal-header h2{font-size:19px}.peptide-modal-body{padding:20px 18px}.peptide-dosage-heading{flex-direction:column;align-items:stretch}.peptide-add-dosage{align-self:flex-start}.peptide-dosage-row{grid-template-columns:minmax(0,1fr) 34px;gap:10px;padding:12px}.peptide-dosage-row .peptide-form-group:first-child{grid-column:1/-1}.peptide-dosage-row .peptide-form-group:nth-child(2){grid-column:1}.peptide-remove-dosage{grid-area:2/2}.peptide-modal-footer{padding:16px 18px}.peptide-cancel-button,.peptide-submit-button{flex:1;padding:10px 12px}}
