/* OP-TAC Memberships: front end. Same design language as the thank-you / account / checkout restyle.
   Brand: olive #778046 / #5f6738, dark #1D1D1D, tint #f6f7f1, line #d9dccd, Roboto. */
.optac-ms { font-family: Roboto, Arial, sans-serif; color: #2b2b2b; box-sizing: border-box; }
.optac-ms *, .optac-ms *::before, .optac-ms *::after { box-sizing: border-box; }
.optac-ms-page { max-width: 880px; margin: 40px auto 56px; padding: 0 16px; }
.optac-ms-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.optac-ms [hidden] { display: none !important; }

/* Hero (dark band like the thank-you page) */
.optac-ms-hero {
	background: #1D1D1D; color: #dcdcdc; border-radius: 12px; padding: 30px 32px; border-left: 8px solid #778046;
	box-shadow: 0 10px 30px rgba(0,0,0,.12); margin: 0 0 24px; position: relative; overflow: hidden;
}
.optac-ms-hero::after {
	content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
	background: radial-gradient(circle, rgba(119,128,70,.35), rgba(119,128,70,0) 70%); pointer-events: none;
}
.optac-ms-hero > * { position: relative; z-index: 1; }
.optac-ms-eyebrow { margin: 0 0 6px !important; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5f6738; }
.optac-ms-hero .optac-ms-eyebrow { color: #b9c27f; }
.optac-ms-hero h2 { margin: 0 0 10px !important; font: 700 30px/1.15 Roboto, Arial, sans-serif !important; color: #fff !important; text-transform: none !important; }
.optac-ms-hero p { margin: 0; font-size: 16px; line-height: 1.6; color: #dcdcdc; }
.optac-ms-hero strong { color: #fff; }
ol.optac-ms-steps { list-style: none !important; margin: 22px 0 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: ms; }
ol.optac-ms-steps li {
	counter-increment: ms; margin: 0 !important; padding: 14px 14px 14px 52px; position: relative;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; font-size: 14px; line-height: 1.4;
}
ol.optac-ms-steps li::before {
	content: counter(ms); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
	background: #778046; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
ol.optac-ms-steps strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
ol.optac-ms-steps span { color: #c9c9c9; }

/* Panels / cards */
.optac-ms-panel, .optac-ms-card {
	background: #fff; border: 1px solid #d9dccd; border-top: 6px solid #778046; border-radius: 10px;
	padding: 26px 28px; margin: 0 0 24px; box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.optac-ms-panel.is-success { border-top-color: #778046; background: #fbfcf7; }
.optac-ms-h { margin: 0 0 14px !important; font: 700 22px/1.25 Roboto, Arial, sans-serif !important; color: #1D1D1D !important; text-transform: none !important; }
.optac-ms-card { margin: 28px 0; }
.optac-ms-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 0 0 16px; }
.optac-ms-card-head h3 { margin: 0 !important; font: 700 22px/1.2 Roboto, Arial, sans-serif !important; color: #1D1D1D !important; text-transform: none !important; }
.optac-ms-lead { font-size: 15px; line-height: 1.6; margin: 0 0 18px; color: #444; }

/* Status pills */
.optac-ms-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; line-height: 1.3; }
.optac-ms-pill.is-active { background: #e8eedb; color: #4a5229; }
.optac-ms-pill.is-expiring, .optac-ms-pill.is-pending_payment { background: #fff1cc; color: #7a5600; }
.optac-ms-pill.is-expired { background: #fbe1de; color: #8c1d16; }
.optac-ms-pill.is-u-none { background: #eef0e6; color: #4a5229; }
.optac-ms-pill.is-u-review { background: #e4ecf5; color: #244a73; }
.optac-ms-pill.is-u-info { background: #fff1cc; color: #7a5600; }
.optac-ms-pill.is-u-registered { background: #778046; color: #fff; }
.optac-ms-pill.is-u-declined { background: #fbe1de; color: #8c1d16; }
.optac-ms-pill.is-cancelled { background: #ececec; color: #555; }

/* Facts strip */
.optac-ms-facts { display: flex; flex-wrap: wrap; background: #f6f7f1; border: 1px solid #d9dccd; border-radius: 10px; overflow: hidden; margin: 0 0 18px; }
.optac-ms-fact { flex: 1 1 140px; min-width: 0; padding: 13px 16px; border-right: 1px solid #e3e6d6; }
.optac-ms-fact:last-child { border-right: 0; }
.optac-ms-fact span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b6b6b; margin-bottom: 4px; }
.optac-ms-fact strong { font-size: 15px; font-weight: 600; color: #1D1D1D; overflow-wrap: break-word; word-break: normal; hyphens: none; }
.optac-ms-fact small { font-weight: 400; color: #6b6b6b; }

/* Notices */
.optac-ms-notice { padding: 14px 16px; border-radius: 8px; margin: 0 0 18px; border-left: 5px solid; font-size: 15px; line-height: 1.5; }
.optac-ms-notice ul { margin: 6px 0 0 18px; }
.optac-ms-notice a { color: #5f6738; font-weight: 600; text-decoration: underline; }
.optac-ms-notice.is-success { background: #eef5e4; border-color: #778046; }
.optac-ms-notice.is-info { background: #f1f3ea; border-color: #8a8f6a; }
.optac-ms-notice.is-warn { background: #fff6e0; border-color: #d99a00; }
.optac-ms-notice.is-error { background: #fdecea; border-color: #b3261e; }
.optac-ms-callout { background: #f6f7f1; border: 1px dashed #b9c27f; border-radius: 8px; padding: 14px 16px; margin: 0 0 18px; font-size: 15px; line-height: 1.55; }

/* Two options (link / join) */
.optac-ms-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.optac-ms-option { background: #f6f7f1; border: 1px solid #d9dccd; border-radius: 10px; padding: 18px 20px; }
.optac-ms-option.is-join { background: #1D1D1D; border-color: #1D1D1D; color: #dcdcdc; border-left: 5px solid #778046; }
.optac-ms-option h4 { margin: 0 0 6px !important; font: 700 17px/1.3 Roboto, Arial, sans-serif !important; color: #1D1D1D !important; text-transform: none !important; }
.optac-ms-option.is-join h4 { color: #fff !important; }
.optac-ms-option p { font-size: 14px; line-height: 1.55; margin: 0 0 14px; }
.optac-ms-option.is-join strong { color: #fff; }

/* Forms */
.optac-ms-form fieldset { border: 1px solid #d9dccd; border-radius: 8px; padding: 16px 18px 6px; margin: 0 0 18px; background: #f6f7f1; }
.optac-ms-form legend { font-weight: 700; padding: 0 6px; color: #5f6738; font-size: 15px; }
.optac-ms-form label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 12px; color: #2b2b2b; }
.optac-ms-form input[type=text], .optac-ms-form input[type=date], .optac-ms-form input[type=email], .optac-ms-form input[type=file] {
	display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; font-weight: 400; font-size: 16px;
	border: 1px solid #c5c9b5; border-radius: 4px; background: #fff; color: #2b2b2b; min-height: 44px;
}
.optac-ms-form input[type=file] { padding: 8px; }
.optac-ms-form input:focus { outline: 2px solid #778046; outline-offset: 1px; border-color: #778046; }
.optac-ms-option .optac-ms-form label, .optac-ms-linkform label { margin-bottom: 10px; }
.optac-ms-row { display: flex; gap: 14px; flex-wrap: wrap; }
.optac-ms-grow { flex: 1 1 200px; }
.optac-ms-postcode { flex: 0 1 150px; }
.optac-ms-short { max-width: 220px; }
.optac-ms .req { color: #b3261e; }
.optac-ms-hint { font-size: 13px; color: #6b6b6b; margin: 0 0 12px; line-height: 1.5; }
.optac-ms-hint.is-ok { color: #4a5229; font-weight: 600; }
.optac-ms-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; line-height: 1.5; }
.optac-ms-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: #778046; }
.optac-ms-check a { color: #5f6738; font-weight: 600; }
.optac-ms-secure { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #d9dccd; border-radius: 8px; padding: 12px 14px; margin: 4px 0 12px; }
.optac-ms-secure svg { flex: 0 0 26px; width: 26px; height: 26px; fill: #778046; }
.optac-ms-secure p { margin: 0; font-size: 13px; line-height: 1.5; color: #444; }
.optac-ms-small { font-size: 14px; margin: 16px 0 0; }
.optac-ms-small a { color: #5f6738; font-weight: 600; }

/* Buttons (theme uppercases buttons: keep ours in sentence case) */
.optac-ms-btn, a.optac-ms-btn, .woocommerce a.optac-ms-btn, button.optac-ms-btn, .optac-ms button.optac-ms-btn {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	background: #778046 !important; color: #fff !important; border: 2px solid #778046 !important; border-radius: 4px !important;
	padding: 11px 20px !important; font: 600 15px/1.2 Roboto, Arial, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important;
	text-decoration: none !important; cursor: pointer; min-height: 44px; box-shadow: none !important;
}
.optac-ms-btn:hover, a.optac-ms-btn:hover, button.optac-ms-btn:hover { background: #5f6738 !important; border-color: #5f6738 !important; }
.optac-ms-btn small { font-size: 12px; font-weight: 400; opacity: .85; }
.optac-ms-btn.is-lg { padding: 14px 26px !important; font-size: 16px !important; }
.optac-ms-btn.is-ghost, a.optac-ms-btn.is-ghost, button.optac-ms-btn.is-ghost { background: #fff !important; color: #5f6738 !important; }
.optac-ms-btn.is-ghost:hover, a.optac-ms-btn.is-ghost:hover { background: #eef0e6 !important; }
.optac-ms-btn.is-danger, button.optac-ms-btn.is-danger { background: #b3261e !important; border-color: #b3261e !important; }
.optac-ms-btn.is-paypal, button.optac-ms-btn.is-paypal { background: #ffc439 !important; border-color: #ffc439 !important; color: #111 !important; }
.optac-ms-btn.is-paypal:hover { background: #f2b52a !important; border-color: #f2b52a !important; }
.optac-ms-option.is-join .optac-ms-btn { border-color: #778046 !important; }
.optac-ms-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.optac-ms-inline { display: inline; margin: 0; }
.optac-ms-paybtns { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 0; }
.optac-ms-paybtns .optac-ms-btn { flex: 1 1 220px; }
.optac-ms-linkbtn { color: #8c1d16; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; list-style: none; padding: 10px 4px; }
.optac-ms-linkbtn::-webkit-details-marker { display: none; }
.optac-ms-confirm[open] > div { flex-basis: 100%; background: #fdecea; border-radius: 8px; padding: 12px 14px; margin-top: 6px; }
.optac-ms-confirm[open] { flex-basis: 100%; }
.optac-ms-confirm p { margin: 0 0 10px; font-size: 14px; }
.optac-ms-form textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; font-weight: 400; font-size: 16px; border: 1px solid #c5c9b5; border-radius: 4px; background: #fff; color: #2b2b2b; min-height: 88px; }
.optac-ms-form textarea:focus { outline: 2px solid #778046; outline-offset: 1px; border-color: #778046; }
.optac-ms-perk { margin: 0 0 16px; font-size: 15px; color: #4a5229; }

/* UKARA tracker */
.optac-ms-ukara { margin: 24px 0 0; padding: 20px 22px; border: 1px solid #d9dccd; border-radius: 10px; background: #fbfcf7; }
.optac-ms-ukara-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; }
.optac-ms-ukara h4, .optac-ms-ukara h5 { margin: 0 !important; font: 700 18px/1.3 Roboto, Arial, sans-serif !important; color: #1D1D1D !important; text-transform: none !important; }
.optac-ms-ukara h5 { font-size: 16px !important; margin: 0 0 6px !important; }
ol.optac-ms-track { list-style: none !important; margin: 14px 0 16px !important; padding: 0 !important; display: flex; gap: 0; counter-reset: none; }
ol.optac-ms-track li { flex: 1 1 0; margin: 0 !important; position: relative; text-align: center; font-size: 13px; font-weight: 600; color: #8a8a8a; padding-top: 36px; }
ol.optac-ms-track li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: #e3e6d6; color: #6b6b6b; display: flex; align-items: center; justify-content: center; font-weight: 700; z-index: 1; }
ol.optac-ms-track li + li::before { content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 3px; background: #e3e6d6; }
ol.optac-ms-track li.is-done, ol.optac-ms-track li.is-now { color: #1D1D1D; }
ol.optac-ms-track li.is-done span { background: #778046; color: #fff; }
ol.optac-ms-track li.is-done + li::before, ol.optac-ms-track li.is-now::before { background: #778046; }
ol.optac-ms-track li.is-now span { background: #fff; color: #5f6738; box-shadow: 0 0 0 3px #778046 inset; }
ol.optac-ms-track li.is-stop span { background: #b3261e; color: #fff; }
.optac-ms-progress { margin: 0 0 12px; }
.optac-ms-bar { height: 10px; background: #e3e6d6; border-radius: 999px; overflow: hidden; }
.optac-ms-bar span { display: block; height: 100%; background: linear-gradient(90deg, #8a9450, #778046); border-radius: 999px; }
.optac-ms-progress p { margin: 8px 0 0; font-size: 14px; color: #444; }
.optac-ms-good { color: #4a5229; font-weight: 700; }
table.optac-ms-games { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14px; background: #fff; border: 1px solid #e3e6d6; border-radius: 8px; overflow: hidden; }
table.optac-ms-games th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6b6b6b; background: #f6f7f1; padding: 8px 10px; border: 0; }
table.optac-ms-games td { padding: 9px 10px; border: 0; border-top: 1px solid #eef0e6; vertical-align: middle; }
.optac-ms-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: #eef0e6; color: #4a5229; }
.optac-ms-chip.is-verified, .optac-ms-chip.is-booked { background: #e8eedb; color: #4a5229; }
.optac-ms-chip.is-pending, .optac-ms-chip.is-undated { background: #fff1cc; color: #7a5600; }
.optac-ms-chip.is-upcoming { background: #e4ecf5; color: #244a73; }
.optac-ms-chip.is-rejected { background: #fbe1de; color: #8c1d16; }
details.optac-ms-more { margin: 10px 0 0; border-top: 1px solid #e3e6d6; padding-top: 10px; }
details.optac-ms-more > summary { cursor: pointer; font-weight: 600; color: #5f6738; font-size: 15px; padding: 6px 0; }
details.optac-ms-more[open] > summary { margin-bottom: 10px; }
.optac-ms-inlineform .optac-ms-row { align-items: flex-end; }
.optac-ms-applyform { margin: 14px 0 0; padding: 16px 18px; background: #fff; border: 2px solid #778046; border-radius: 10px; }

/* Staff question / notification */
.optac-ms-ask { margin: 0 0 20px; padding: 18px 20px; background: #fff8e6; border: 1px solid #f0d79a; border-left: 6px solid #d99a00; border-radius: 10px; }
.optac-ms-ask-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 24px; }
.optac-ms-ask-banner .optac-ms-ask-title { margin: 0 !important; }
.optac-ms-ask-title { margin: 0 0 10px !important; font-weight: 700; font-size: 16px; color: #1D1D1D; display: flex; align-items: center; gap: 8px; }
.optac-ms-ask blockquote { margin: 0 0 14px; padding: 12px 14px; background: #fff; border: 1px solid #f0d79a; border-radius: 8px; font-size: 15px; line-height: 1.55; color: #2b2b2b; quotes: none; }
.optac-ms-ask blockquote::before, .optac-ms-ask blockquote::after { content: none; }
.optac-ms-ask cite { display: block; margin-top: 6px; font-size: 12px; font-style: normal; color: #6b6b6b; }
.optac-ms-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #b3261e; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.woocommerce-MyAccount-navigation-link.optac-ms-has-alert a::after { content: "1"; display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; margin-left: 8px; padding: 0 5px; border-radius: 999px; background: #b3261e; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; vertical-align: middle; }

/* Messages */
.optac-ms-thread .optac-ms-msg { max-width: 85%; margin: 0 0 10px; padding: 10px 14px; border-radius: 10px; background: #f6f7f1; border: 1px solid #e3e6d6; }
.optac-ms-thread .optac-ms-msg.is-member { margin-left: auto; background: #eef5e4; border-color: #d4e2bf; }
.optac-ms-msg p { margin: 0 0 4px; font-size: 14px; line-height: 1.5; }
.optac-ms-msg span { font-size: 12px; color: #6b6b6b; }

/* Keep the footer at the bottom of short pages (OceanWP wrappers) */
body.optac-ms-body #outer-wrap, body.optac-ms-body #wrap { display: flex; flex-direction: column; min-height: 100vh; }
body.optac-ms-body.admin-bar #outer-wrap, body.optac-ms-body.admin-bar #wrap { min-height: calc(100vh - 32px); }
body.optac-ms-body #outer-wrap > #wrap { flex: 1 0 auto; width: 100%; }
body.optac-ms-body #wrap > #main { flex: 1 0 auto; }
body.optac-ms-body #wrap::after, body.optac-ms-body #outer-wrap::after { display: none; }
@media (max-width: 782px) { body.optac-ms-body.admin-bar #outer-wrap, body.optac-ms-body.admin-bar #wrap { min-height: calc(100vh - 46px); } }

/* WooCommerce login form inside our pages */
.optac-ms .woocommerce-form-login { border: 1px solid #d9dccd !important; border-radius: 10px; padding: 22px !important; background: #fff; }

@media (max-width: 760px) {
	.optac-ms-split, ol.optac-ms-steps { grid-template-columns: 1fr; }
	.optac-ms-hero { padding: 24px 20px; }
	.optac-ms-hero h2 { font-size: 24px !important; }
	.optac-ms-panel, .optac-ms-card { padding: 20px 16px; }
	.optac-ms-fact { flex: 1 1 50%; border-bottom: 1px solid #e3e6d6; }
	.optac-ms-card-head { flex-wrap: wrap; }
	.optac-ms-actions > a.optac-ms-btn, .optac-ms-actions > form, .optac-ms-actions > form .optac-ms-btn, .optac-ms-paybtns .optac-ms-btn, .optac-ms-option .optac-ms-btn { width: 100%; }
	.optac-ms-postcode, .optac-ms-short { flex: 1 1 100%; max-width: none; }
	.optac-ms-ukara { padding: 16px 14px; }
	table.optac-ms-games { font-size: 13px; }
	.optac-ms-thread .optac-ms-msg { max-width: 100%; }
}
@media (max-width: 440px) {
	.optac-ms-fact { flex: 1 1 100%; border-right: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
	.optac-ms-fact span { margin: 0; }
	.optac-ms-fact strong { text-align: right; }
}

/* Member-ticket pop-up (members.js) on event pages */
html.optac-mm-open { overflow: hidden; }
.optac-mm { position: fixed; inset: 0; z-index: 100000; background: rgba(20,20,20,.62); display: flex; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; font-family: Roboto, Arial, sans-serif; color: #2b2b2b; }
.optac-mm *, .optac-mm *::before, .optac-mm *::after { box-sizing: border-box; }
.optac-mm-box { position: relative; width: 100%; max-width: 620px; background: #fff; border-radius: 12px; border-top: 6px solid #778046; padding: 26px 28px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.optac-mm-x { position: absolute; right: 10px; top: 8px; width: 36px; height: 36px; border: 0 !important; background: transparent !important; color: #555 !important; font-size: 26px !important; line-height: 1 !important; cursor: pointer; padding: 0 !important; box-shadow: none !important; }
.optac-mm-eyebrow { margin: 0 0 4px !important; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5f6738; }
.optac-mm h3 { margin: 0 0 10px !important; font: 700 22px/1.25 Roboto, Arial, sans-serif !important; color: #1D1D1D !important; text-transform: none !important; }
.optac-mm-lead, .optac-mm-note { margin: 0 0 14px !important; font-size: 15px; line-height: 1.55; }
.optac-mm-note { background: #f6f7f1; border-left: 4px solid #778046; padding: 10px 12px; border-radius: 6px; font-size: 14px; }
.optac-mm-self { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #d9dccd; border-radius: 8px; background: #f6f7f1; font-size: 15px; font-weight: 600; cursor: pointer; }
.optac-mm-self input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #778046; flex: 0 0 auto; }
.optac-mm-self small { font-weight: 400; color: #555; }
.optac-mm-expand { display: block; width: 100%; text-align: left; margin: 0 0 14px; padding: 12px 14px !important; border: 1px dashed #778046 !important; border-radius: 8px !important; background: #fff !important; color: #5f6738 !important; font: 600 15px/1.3 Roboto, Arial, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; box-shadow: none !important; }
.optac-mm-rows { display: grid; gap: 12px; margin: 0 0 14px; }
.optac-mm-row { margin: 0; padding: 12px 14px 10px; border: 1px solid #d9dccd; border-radius: 8px; }
.optac-mm-row.is-ok { border-color: #2e7d32; }
.optac-mm-row.is-nomatch, .optac-mm-row.is-duplicate, .optac-mm-row.is-self { border-color: #b3261e; }
.optac-mm-row.is-expired { border-color: #c77700; }
.optac-mm-row legend { padding: 0 6px; font-size: 13px; font-weight: 700; color: #5f6738; text-transform: uppercase; letter-spacing: .06em; }
.optac-mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.optac-mm-grid label { display: block; margin: 0; font-size: 13px; font-weight: 600; color: #333; }
.optac-mm-grid input { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #c9ccbd; border-radius: 6px; font-size: 15px; background: #fff; color: #222; min-height: 40px; }
.optac-mm-grid input:focus { outline: 2px solid #778046; outline-offset: 1px; border-color: #778046; }
.optac-mm-res { margin: 10px 0 0 !important; padding: 9px 12px; border-radius: 6px; font-size: 14px; line-height: 1.5; }
.optac-mm-res p { margin: 0 0 6px !important; }
.optac-mm-res p:last-child { margin-bottom: 0 !important; }
.optac-mm-res.is-ok { background: #edf7ee; color: #1e5e22; }
.optac-mm-res.is-bad { background: #fdecea; color: #8a1c15; }
.optac-mm-res.is-warn { background: #fff4e0; color: #6b4100; }
.optac-mm-res a { color: inherit; text-decoration: underline; font-weight: 600; }
.optac-mm-share { display: flex; gap: 8px; margin: 0 0 8px; }
.optac-mm-share input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #d9b77a; border-radius: 6px; font-size: 13px; background: #fff; color: #333; }
.optac-mm-copy { flex: 0 0 auto; padding: 8px 14px !important; border: 0 !important; border-radius: 6px !important; background: #6b4100 !important; color: #fff !important; font: 600 13px/1.2 Roboto, Arial, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; }
.optac-mm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 10px; }
.optac-mm-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px !important; border-radius: 8px !important; border: 2px solid #778046 !important; background: #778046 !important; color: #fff !important; font: 700 15px/1.2 Roboto, Arial, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; text-decoration: none !important; cursor: pointer; box-shadow: none !important; }
.optac-mm-btn:hover { background: #5f6738 !important; border-color: #5f6738 !important; }
.optac-mm-btn.is-ghost { background: #fff !important; color: #5f6738 !important; }
.optac-mm-btn[disabled] { opacity: .6; cursor: wait; }
.optac-mm-hint { margin: 0 !important; font-size: 13px; line-height: 1.5; color: #666; }
.optac-mm-hint a { color: #5f6738; }
@media (max-width: 560px) {
	.optac-mm { padding: 12px 10px; }
	.optac-mm-box { padding: 22px 16px 18px; }
	.optac-mm-grid { grid-template-columns: 1fr; }
	.optac-mm-actions .optac-mm-btn { width: 100%; }
	.optac-mm-share { flex-direction: column; }
}
