/* Scoped to Market contact, its text context and the private caretaker form. */
.mc-heading{margin:30px 0;max-width:780px;color:#193b50}
.mc-heading h1{font-size:clamp(28px,4vw,40px);line-height:1.15;letter-spacing:-.025em;margin:12px 0 16px;overflow-wrap:anywhere}
.mc-heading p{color:#506975;line-height:1.65}
.mc-nav,.mc-actions{display:flex;flex-wrap:wrap;gap:14px 22px;align-items:center}
.mc-nav{margin:24px 0;font-size:14px}
.mc-nav a,.mc-actions a,.mc-current-link{color:#126a74;text-underline-offset:3px}
.mc-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:36px;align-items:start;margin-bottom:36px}
.mc-grid>*{min-width:0}
.mc-form{max-width:850px;color:#304858}
.mc-form fieldset{min-width:0;margin:0 0 24px;padding:20px 0 0;border:0;border-top:1px solid #b9cbd1}
.mc-form legend{font-size:20px;font-weight:650;padding-right:12px;color:#193b50}
.mc-form label:not(.mc-check){display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;margin:0 0 12px;min-width:0}
.mc-form input:not([type=hidden]):not([type=checkbox]),.mc-form select,.mc-form textarea{box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #aabac2;border-radius:3px;background:#fff;padding:10px 11px;font:inherit;font-size:16px;color:#142d40}
.mc-form textarea{line-height:1.6;resize:vertical}
.mc-form [hidden]{display:none!important}
.mc-form .mc-check{display:flex;align-items:flex-start;gap:10px;line-height:1.6;font-size:15px;margin:18px 0}
.mc-check input{width:18px;height:18px;flex:0 0 18px;margin-top:3px;accent-color:#0b7a7e}
.mc-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;padding:11px 18px;border:1px solid #0b747c;border-radius:3px;background:#0b747c;color:white;font:inherit;font-size:15px;font-weight:650;line-height:1.4;text-align:center;text-decoration:none;white-space:normal;cursor:pointer;overflow-wrap:anywhere}
.mc-button:hover{background:#095e65;color:white}
.mc-button:disabled{background:#e1e7e9;border-color:#adbcc3;color:#4c616d;cursor:default}
.mc-note{font-size:13px;line-height:1.65;color:#536975;overflow-wrap:anywhere}
.mc-context{border-top:3px solid #11838a;background:#f0f4f4;padding:22px;min-width:0}
.mc-context>h2,.mc-panel h2,.mc-notice h2{font-size:20px;line-height:1.35;color:#203e50;margin:0 0 18px;overflow-wrap:anywhere}
.mc-panel{padding:22px 0;border-top:1px solid #b9cbd1;max-width:850px}
.mc-confirm{margin-top:14px}
.mc-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;max-width:75ch}
.mc-snapshot{color:#233f50;overflow-wrap:anywhere}
.mc-snapshot h3{font-size:23px;line-height:1.3;margin:10px 0 20px;letter-spacing:-.02em}
.mc-meta{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;line-height:1.5;color:#536975}
.mc-facts{margin:18px 0}
.mc-facts>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px;padding:12px 0;border-bottom:1px solid #d4dfe3;font-size:14px;line-height:1.6}
.mc-facts dt{color:#536975}
.mc-facts dd{margin:0;overflow-wrap:anywhere}
.mc-snapshot-seller{margin-top:24px}
.mc-snapshot-seller h4{font-size:14px;margin:0 0 12px;color:#536975}
.mc-snapshot-seller>p{font-size:18px;margin:0}
.mc-notice{background:#eff4f4;border-left:3px solid #52818a;padding:18px 22px;max-width:850px;margin:20px 0;line-height:1.65;overflow-wrap:anywhere}
.mc-notice p:last-child{margin-bottom:0}
.mc-error{padding:18px 22px;background:#fff3ee;border-left:3px solid #b4491b;max-width:850px;margin:20px 0;line-height:1.6;overflow-wrap:anywhere}
.mc-error a{color:#763617}
.mc-entry{border-top:1px solid #cbd8dc;margin-top:24px;padding-top:20px}
.mc-entry .mc-button{width:100%}
.mc-caretaker{max-width:850px;margin:30px 0;padding:22px;border:1px solid #c5d3da;background:#f5f8f8;color:#304858;box-sizing:border-box;overflow-wrap:anywhere}
.mc-caretaker h2{font-size:20px;margin:0 0 16px;color:#193b50}
.mc-caretaker details{border-top:1px solid #c5d3da;margin-top:18px;padding-top:16px}
.mc-caretaker summary{cursor:pointer;font-weight:650;line-height:1.6;min-height:44px}
.mc-caretaker .mc-form{margin-top:14px}
.mc-private-note{padding:12px 16px;border-left:3px solid #6c9198;background:#f5f8f8;line-height:1.65;max-width:850px;overflow-wrap:anywhere}
.mc-current-link{display:inline-block;margin:0 0 16px}
:is(.mc-form,.mc-nav,.mc-notice,.mc-caretaker,.mc-entry,.mc-actions) :focus-visible,.mc-current-link:focus-visible{outline:3px solid #e8742e;outline-offset:3px}
@media(max-width:900px){.mc-grid{grid-template-columns:minmax(0,1fr);gap:28px}.mc-context{max-width:none}}
@media(max-width:480px){.mc-heading{margin:24px 0}.mc-heading h1{font-size:29px}.mc-context,.mc-caretaker{padding:18px 14px}.mc-facts>div{grid-template-columns:minmax(0,1fr);gap:4px}.mc-actions{align-items:stretch;flex-direction:column}.mc-actions .mc-button{width:100%}.mc-snapshot h3{font-size:21px}.mc-error,.mc-notice{padding:16px 14px}}
.mc-heading .mc-selected-listing{font-size:18px;font-weight:650;color:#193b50;margin:10px 0;overflow-wrap:anywhere}

/* Contact-only compact context: keep price and recipient visible, all technical details accessible. */
.mc-summary-price{margin:12px 0}.mc-summary-seller{font-size:14px;line-height:1.55;margin:12px 0}
.mc-snapshot-details{margin-top:16px;border-top:1px solid #c7d5df;padding-top:8px}
.mc-snapshot-details>summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:650;color:#102744}
.mc-snapshot-details>summary:focus-visible,#market-contact-form [aria-invalid=true]:focus{outline:3px solid #185f9f;outline-offset:3px}
.mc-snapshot-details[open]>summary{margin-bottom:12px}
@media(max-width:480px){.mc-heading{margin:20px 0}.mc-heading p{margin:8px 0;line-height:1.55}#market-contact-form fieldset{margin-bottom:18px;padding-top:16px}#market-contact-form legend,.mc-panel h2{font-size:18px}.mc-panel{padding:18px 0}.mc-panel h2{margin-bottom:12px}#market-contact-form .mc-note,.mc-panel .mc-note,.mc-confirm .mc-note{line-height:1.5}}
