/* Muazu Supply Requests — brand: forest #013220, orange #FF4400, warm bg #F7F5EF */
.msr-trigger-wrap { margin: 14px 0; }

.msr-btn-request {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: #FF4400; color: #fff; border: none; border-radius: 6px;
	font-weight: 700; font-size: 14px; padding: 14px 22px; cursor: pointer;
	min-height: 44px; transition: background .15s ease;
}
.msr-btn-request:hover { background: #e23c00; }
.msr-btn-loop { width: 100%; padding: 11px 16px; font-size: 13px; }
.msr-btn-view-details { display: block; text-align: center; font-size: 12px; font-weight: 700; color: #013220; text-decoration: underline; margin-top: 6px; }

.msr-btn-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: transparent; color: #013220; border: 1.5px solid rgba(1,50,32,.25);
	border-radius: 6px; font-weight: 700; font-size: 14px; padding: 13px 20px;
	min-height: 44px; text-decoration: none; cursor: pointer;
}
.msr-btn-outline:hover { border-color: #013220; }
.msr-btn-sm { padding: 8px 14px; min-height: auto; font-size: 12.5px; }

/* Modal */
.msr-modal-backdrop {
	display: none; position: fixed; inset: 0; background: rgba(1,19,12,.55);
	z-index: 100000; align-items: flex-end; justify-content: center; padding: 0;
}
.msr-modal-backdrop.msr-open { display: flex; }
.msr-modal {
	background: #fff; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto;
	border-radius: 16px 16px 0 0; padding: 24px; position: relative; box-sizing: border-box;
}
@media (min-width: 640px) {
	.msr-modal-backdrop { align-items: center; padding: 20px; }
	.msr-modal { border-radius: 16px; }
}
.msr-modal-close {
	position: absolute; top: 16px; right: 16px; background: #F7F5EF; border: none;
	width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 14px;
}
.msr-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #FF4400; }
.msr-product-preview { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.msr-product-preview img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex: none; }
.msr-product-preview h3 { margin: 0; font-size: 17px; color: #013220; }
.msr-loc, .msr-avail { margin: 2px 0 0; font-size: 12.5px; color: #59635c; }
.msr-avail { color: #013220; font-weight: 700; }

.msr-form { margin-top: 20px; }
.msr-hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.msr-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; color: #013220; margin-bottom: 14px; }
.msr-form label.msr-block { width: 100%; }
.msr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .msr-row { grid-template-columns: 1fr; } }
.msr-form input, .msr-form select, .msr-form textarea {
	font-family: inherit; font-size: 15px; font-weight: 400; padding: 12px 14px;
	border: 1.5px solid #e1ddd2; border-radius: 8px; min-height: 44px; box-sizing: border-box;
	background: #fff; color: #202522;
}
.msr-form textarea { min-height: 70px; resize: vertical; }
.msr-form input:focus, .msr-form select:focus, .msr-form textarea:focus { outline: none; border-color: #013220; }
.msr-radio-row { display: flex; gap: 18px; font-weight: 400; }
.msr-radio-row label { flex-direction: row; align-items: center; gap: 6px; font-weight: 400; margin: 0; }
.msr-req { color: #FF4400; }
.msr-btn-submit {
	width: 100%; background: #013220; color: #fff; border: none; border-radius: 8px;
	font-weight: 700; font-size: 15px; padding: 15px; cursor: pointer; min-height: 48px;
}
.msr-btn-submit:hover { background: #022c1c; }
.msr-btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.msr-fineprint { font-size: 11.5px; color: #7a8079; margin-top: 12px; line-height: 1.5; }
.msr-error { color: #b3261e; font-size: 13px; background: #fdecea; border-radius: 6px; padding: 10px 12px; margin: 4px 0; }

/* Confirmation */
.msr-confirmation { text-align: center; max-width: 420px; margin: 0 auto; padding: 40px 20px; }
.msr-check { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #013220; color: #fff; font-size: 24px; margin-bottom: 16px; }
.msr-confirmation h2 { color: #013220; margin: 0 0 12px; }
.msr-request-number { font-weight: 800; font-size: 20px; color: #FF4400; margin: 16px 0; }
.msr-confirmation-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* My requests / detail */
.msr-my-requests, .msr-request-detail { max-width: 760px; margin: 0 auto; }
.msr-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.msr-table th, .msr-table td { text-align: left; padding: 12px; border-bottom: 1px solid #e1ddd2; }
.msr-status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; background: #F7F5EF; color: #013220; }
.msr-status-new, .msr-status-under_review { background: #fff4e5; color: #8a5a00; }
.msr-status-supply_matched, .msr-status-quote_sent { background: #e8f5ec; color: #016b3a; }
.msr-status-buyer_accepted, .msr-status-order_created, .msr-status-fulfilled { background: #013220; color: #fff; }
.msr-status-cancelled { background: #fdecea; color: #b3261e; }

.msr-detail-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin: 18px 0; }
@media (max-width: 640px) { .msr-detail-grid { grid-template-columns: 1fr 1fr; } }
.msr-detail-grid > div { display: flex; flex-direction: column; gap: 4px; }
.msr-label { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #7a8079; }

.msr-timeline { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.msr-timeline li { font-size: 14px; padding: 8px 0; color: #7a8079; }
.msr-timeline-done { color: #013220; }
.msr-timeline-active { color: #FF4400; font-weight: 700; }
@media (min-width: 700px) { .msr-timeline { flex-direction: row; gap: 4px; } .msr-timeline li { flex: 1; text-align: center; border-top: 3px solid #e1ddd2; padding-top: 12px; } .msr-timeline-done, .msr-timeline-active { border-top-color: #013220; } }

.msr-offer-box { background: #F7F5EF; border-radius: 12px; padding: 20px; margin: 20px 0; }
.msr-offer-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.msr-offer-result { font-size: 13.5px; padding: 10px 12px; border-radius: 6px; background: #e8f5ec; color: #016b3a; }

.msr-notice { background: #F7F5EF; border-radius: 8px; padding: 16px; font-size: 14px; color: #013220; }

/* Vendor response row */
.msr-vendor-response-row td { background: #fbfaf7; padding: 16px 12px; }
.msr-vendor-response-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: #013220; margin-bottom: 10px; }
.msr-vendor-response-form input, .msr-vendor-response-form textarea { font-size: 14px; padding: 9px 11px; border: 1.5px solid #e1ddd2; border-radius: 6px; }
.msr-vendor-response-result { font-size: 12.5px; padding: 8px 10px; border-radius: 6px; background: #e8f5ec; color: #016b3a; margin: 6px 0; }

/* Nav / account CTAs */
.msr-nav-cta { font-size: 13.5px; font-weight: 700; text-decoration: none; }
.msr-nav-cta-buyer { color: #013220; }
.msr-nav-cta-supplier { color: #FF4400; }

/* Secondary "Supply Biomass" marketplace entry point — deliberately
   outline/secondary, never competing with the primary orange Request
   Supply button used for the buyer journey. */
.msr-supply-biomass-banner {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	background: #F7F5EF; border: 1px solid #e1ddd2; border-radius: 8px; padding: 20px 24px; margin: 16px 0;
}
.msr-supply-biomass-banner h3 { margin: 0 0 4px; font-size: 15px; color: #013220; }
.msr-supply-biomass-banner p { margin: 0; font-size: 13px; color: #59635c; max-width: 480px; }
.msr-supply-biomass-banner .msr-btn-outline { flex: none; }
