/* Market page presentation, scoped to .mk. */
.mk { background:#F7F3EA; color:#1E2A21; }
.mk-main { max-width:1200px; margin:0 auto; padding:20px 20px 40px; display:flex; flex-direction:column; gap:20px; }
.mk-preview { background:#FBEDE9; border-bottom:1px solid #E8C2B6; color:#7A3B28; font-size:13.5px; line-height:1.9; padding:10px 20px; text-align:center; }
.mk-preview a { color:#8A6420; font-weight:700; }
.mk-card { background:#fff; border:1px solid #E6DDCA; border-radius:24px; padding:clamp(16px,2.6vw,28px); display:flex; flex-direction:column; gap:16px; scroll-margin-top:90px; }
.mk h1 { margin:0; font-size:clamp(20px,2.4vw,26px); font-weight:800; color:#22382A; }
.mk h2 { margin:0; font-size:18px; font-weight:800; color:#22382A; }
.mk h3 { margin:0; font-size:18px; font-weight:800; color:#22382A; }
.mk-row { display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center; }
.mk-split { display:flex; flex-wrap:wrap; gap:12px 20px; justify-content:space-between; align-items:flex-end; padding-top:14px; border-top:1px solid #EDE5D3; }
.mk-tabs { display:flex; gap:6px; padding:5px; background:#EFE7D6; border-radius:999px; flex:0 1 380px; min-width:260px; }
.mk-tab { flex:1; min-height:44px; border:0; border-radius:999px; cursor:pointer; font:inherit; font-size:15px; font-weight:700; background:transparent; color:#3D4A40; }
.mk-tab.on { background:#2F4A34; color:#fff; box-shadow:0 2px 8px rgba(34,56,42,.18); }
.mk-lead { font-size:14px; line-height:1.9; color:#4E5B51; }
.mk-lead span { color:#6B766D; }
.mk-muted { font-size:13px; color:#5F6B62; }
.mk-seg { display:flex; gap:4px; padding:4px; background:#F7F3EA; border-radius:999px; }
.mk-seg button { border:0; border-radius:999px; padding:8px 14px; min-height:36px; cursor:pointer; font:inherit; font-size:13px; font-weight:600; background:transparent; color:#3D4A40; }
.mk-seg button.on { background:#2F4A34; color:#fff; }
.mk-legend { display:flex; flex-wrap:wrap; gap:8px 18px; font-size:12.5px; color:#3D4A40; }
.mk-legend > span { display:flex; align-items:center; gap:8px; }
.mk-chart { width:100%; position:relative; direction:ltr; }
.mk-detail { display:flex; flex-wrap:wrap; gap:6px 14px; align-items:baseline; padding:12px 14px; background:#F7F3EA; border-radius:14px; }
.mk-detail .t { font-size:13px; font-weight:700; color:#22382A; }
.mk-detail b { font-size:16px; color:#22382A; white-space:nowrap; }
.mk-detail .n { font-size:13px; color:#4E5B51; flex:1 1 240px; }
.mk-chips { display:flex; flex-wrap:wrap; gap:6px; }
.mk-chips span { font-size:12.5px; color:#3D4A40; background:#F3EEE2; padding:5px 11px; border-radius:999px; }
.mk-future { display:flex; flex-direction:column; gap:14px; padding-top:18px; border-top:1px solid #EDE5D3; }
.mk-acc { border:1px solid #E6DDCA; border-radius:16px; overflow:hidden; background:#FDFBF6; }
.mk-acc > button { width:100%; display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 16px; min-height:48px; border:0; background:transparent; cursor:pointer; text-align:right; font:inherit; }
.mk-acc-body { padding:14px 16px 16px; display:flex; flex-direction:column; gap:14px; border-top:1px solid #EDE5D3; }
.mk-sliders { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr)); gap:14px 26px; }
.mk input[type=range] { width:100%; height:28px; accent-color:#2F4A34; }
.mk-btn-ghost { border:1px solid #CFC4AC; background:#fff; border-radius:999px; padding:8px 14px; min-height:40px; font:inherit; font-size:13px; font-weight:600; color:#2F4A34; cursor:pointer; }
.mk-note { font-size:12.5px; line-height:1.9; color:#6B766D; }
.mk-warn { font-size:13px; line-height:1.9; color:#7A3B28; font-weight:600; padding-top:12px; border-top:1px solid #EDE5D3; }
.mk-warn span { font-weight:400; color:#6B766D; }
.mk-request { background:#22382A; border-radius:28px; padding:clamp(20px,3.4vw,40px); display:flex; flex-direction:column; gap:22px; color:#F3EEE2; scroll-margin-top:90px; }
.mk-request h2 { font-size:clamp(22px,3vw,30px); color:#fff; }
.mk-intent { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.mk-intent button { text-align:right; cursor:pointer; border-radius:20px; padding:16px 18px; min-height:76px; border:2px solid rgba(243,238,226,.25); background:rgba(255,255,255,.04); color:#F3EEE2; display:flex; flex-direction:column; gap:4px; font:inherit; }
.mk-intent button.on { border-color:#E0C58C; background:#FDFBF6; color:#22382A; }
.mk-intent b { font-size:17px; font-weight:800; }
.mk-intent small { font-size:12.5px; opacity:.85; }
.mk-form { background:#FDFBF6; color:#1E2A21; border-radius:22px; padding:clamp(18px,3vw,28px); display:flex; flex-direction:column; gap:18px; }
.mk-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr)); gap:16px; }
.mk-field { display:flex; flex-direction:column; gap:6px; }
.mk-field label, .mk-label { font-size:13.5px; font-weight:600; }
.mk-input { padding:12px 14px; min-height:48px; border-radius:12px; border:1.5px solid #D9CFBA; background:#fff; font:inherit; font-size:15px; outline:none; width:100%; }
.mk-input.err { border-color:#A8432F; }
.mk-input:focus { border-color:#2F4A34; }
textarea.mk-input { resize:vertical; line-height:1.8; }
.mk-hint { font-size:12.5px; color:#5F6B62; line-height:1.8; }
.mk-err { font-size:12.5px; color:#A8432F; line-height:1.8; }
.mk-banner { background:#FBEDE9; border:1px solid #E8C2B6; color:#8A3321; border-radius:14px; padding:10px 14px; font-size:13.5px; font-weight:600; }
.mk-pill { font-size:13px; background:#EEF3EA; color:#2F4A34; padding:6px 12px; border-radius:999px; font-weight:600; }
.mk-pill a { color:#8A6420; margin-right:6px; }
.mk-opt { min-height:44px; padding:10px 16px; border-radius:999px; cursor:pointer; font:inherit; font-size:14px; font-weight:600; border:1.5px solid #D9CFBA; background:#fff; color:#22382A; }
.mk-opt.on { border-color:#2F4A34; background:#2F4A34; color:#fff; }
.mk-primary { min-height:52px; padding:14px 28px; border:0; border-radius:999px; background:#2F4A34; color:#fff; font:inherit; font-size:16px; font-weight:700; cursor:pointer; }
.mk-primary[disabled] { opacity:.6; cursor:wait; }
.mk-fine { font-size:13px; line-height:1.9; color:#5F6B62; border-top:1px solid #EDE5D3; padding-top:12px; }
.mk-asset { text-align:right; cursor:pointer; border-radius:16px; padding:12px 14px; min-height:64px; border:1.5px solid #D9CFBA; background:#fff; display:flex; gap:10px; align-items:flex-start; font:inherit; }
.mk-asset.on { border-color:#2F4A34; background:#EEF3EA; }
.mk-asset .dot { width:18px; height:18px; border-radius:50%; border:2px solid #2F4A34; flex:none; margin-top:3px; display:flex; align-items:center; justify-content:center; }
.mk-asset.on .dot::after { content:''; width:8px; height:8px; border-radius:50%; background:#2F4A34; }
.mk-info { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr)); gap:14px; }
.mk-info > div { border:1px solid rgba(243,238,226,.18); border-radius:20px; padding:18px; display:flex; flex-direction:column; gap:8px; }
.mk-steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr)); gap:12px; }
.mk-steps > div { background:#fff; border:1px solid #E6DDCA; border-radius:20px; padding:18px; display:flex; flex-direction:column; gap:8px; }
.mk-num { width:34px; height:34px; border-radius:50%; background:#2F4A34; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; flex:none; }
.mk-faq { background:#fff; border:1px solid #E6DDCA; border-radius:20px; overflow:hidden; }
.mk-faq > div { border-bottom:1px solid #EDE5D3; }
.mk-faq > div:last-child { border-bottom:0; }
.mk-faq button { width:100%; text-align:right; display:flex; justify-content:space-between; gap:14px; align-items:center; padding:16px 20px; min-height:56px; border:0; background:transparent; cursor:pointer; font:inherit; font-size:15px; font-weight:700; color:#22382A; }
.mk-faq p { margin:0; padding:0 20px 16px; font-size:14px; line-height:2; color:#3D4A40; }
.mk-bar { display:none; }
@media (max-width: 759px) {
    .mk { padding-bottom:76px; }
    .mk-bar { position:fixed; bottom:0; left:0; right:0; z-index:45; background:rgba(253,251,246,.97); border-top:1px solid #E3D9C4; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); display:flex; gap:10px; align-items:center; box-shadow:0 -6px 20px rgba(34,56,42,.08); }
    .mk-bar .mk-tabs { min-width:0; flex:1; padding:4px; gap:4px; }
    .mk-bar .mk-tab { min-height:40px; font-size:13px; }
    .mk-bar .mk-primary { min-height:48px; padding:0 16px; font-size:14px; white-space:nowrap; }
}

/* Approved homepage palette and plan identities, with readable market controls. */
.mk { --mk-accent: var(--nm-plan-accent, #35583d); --mk-hover: var(--nm-plan-hover, #29462f); --mk-tint: var(--nm-plan-surface, #f0f3e9); --mk-border: var(--nm-plan-border, #c7d3bd); background: #faf8f1; color: #203a2e; }
.mk *, .mk *::before, .mk *::after { box-sizing: border-box; }
.mk .mk-main { max-width: 1280px; padding: 32px 32px 72px; gap: 40px; }
.mk .mk-main > *, .mk .mk-row > *, .mk .mk-grid > * { min-width: 0; }
.mk .mk-market-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 36px; padding: 36px; border: 1px solid #d0dcca; border-radius: 26px; background: radial-gradient(ellipse at 100% 0, #dce7d7, transparent 70%), linear-gradient(130deg, #f6f7f0, #eaf0e4); }
.mk .mk-market-hero h1 { margin: 14px 0; font: 700 clamp(30px, 3.2vw, 42px)/1.55 'Noto Naskh Arabic', serif; color: #203a2e; }
.mk .mk-market-hero p { max-width: 680px; margin: 0; font-size: 17px; line-height: 2.05; color: #4d5e50; }
.mk .mk-eyebrow { display: flex; align-items: center; gap: 10px; color: #775b34; font-size: 14px; font-weight: 600; line-height: 1.9; }
.mk .mk-card { border-color: #dce2d5; border-radius: 24px; padding: 28px; gap: 22px; box-shadow: 0 6px 24px #253e2d04; }
.mk .mk-history-heading { gap: 16px; }
.mk .mk-control-label { font-size: 15px; font-weight: 600; color: #3e5142; line-height: 1.9; }
.mk :is(.mk-card h2, .mk-section-heading h2) { font: 700 29px/1.6 'Noto Naskh Arabic', serif; color: #203a2e; }
.mk .mk-section-heading h2 { margin: 10px 0 0; font-size: 34px; }
.mk .mk-tabs { background: #f0f2e9; border: 1px solid #dbe2d1; border-radius: 16px; flex-basis: 380px; }
.mk .mk-tab { min-height: 50px; font-size: 16px; border-radius: 12px; }
.mk .mk-tab.on { background: var(--mk-accent); color: #fffdf6; box-shadow: none; }
.mk .mk-tab:not(.on):hover { background: #e4eadc; color: #264632; }
.mk .mk-lead { font-size: 15px; line-height: 2; color: #435749; }
.mk .mk-lead span, .mk .mk-muted { font-size: 14px; color: #5c695b; line-height: 1.9; }
.mk .mk-split { padding-top: 22px; gap: 20px; border-color: #dce3d3; }
.mk .mk-seg { border: 1px solid #dce2d5; background: #f7f6ef; border-radius: 14px; }
.mk .mk-seg button { min-height: 44px; padding: 9px 14px; border-radius: 10px; font-size: 14px; }
.mk .mk-seg button.on { background: var(--mk-accent); color: #fffdf6; }
.mk .mk-seg button:not(.on):hover { background: #e9eddf; color: #264632; }
.mk .mk-legend { font-size: 14px; gap: 12px 24px; }
.mk .mk-chart { max-width: 100%; }
.mk .mk-chart-picker { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mk .mk-chart-picker label { font-size: 14px; font-weight: 600; color: #52634f; }
.mk .mk-chart-picker .mk-input { width: auto; max-width: 100%; min-width: 180px; min-height: 48px; padding-block: 8px; }
.mk .mk-detail { border-inline-start: 3px solid var(--mk-accent); background: var(--mk-tint); border-radius: 14px; padding: 16px 20px; gap: 8px 16px; }
.mk .mk-detail .t { font-size: 14px; }
.mk .mk-detail b { font-size: 18px; }
.mk .mk-detail .n { font-size: 15px; line-height: 1.95; }
.mk .mk-chips { gap: 12px 20px; }
.mk .mk-chips span { background: none; border-radius: 0; border-inline-start: 2px solid #c3aa7e; padding: 0 10px; font-size: 14px; line-height: 1.9; }
.mk .mk-acc { border-color: #dce2d5; background: #fafaf4; border-radius: 16px; }
.mk .mk-acc > button { min-height: 56px; padding: 14px 18px; gap: 12px; }
.mk .mk-acc-body { padding: 22px; gap: 20px; border-color: #dce2d5; }
.mk .mk-sliders { gap: 24px 32px; }
.mk input[type='range'] { min-height: 44px; accent-color: var(--mk-accent); }
.mk :is(.mk-note, .mk-fine) { font-size: 14px; line-height: 2; color: #5b685a; }
.mk .mk-future { padding-top: 30px; gap: 22px; border-color: #dce2d5; }
.mk .mk-warn { padding-top: 20px; font-size: 14px; line-height: 2; border-color: #dce2d5; color: #755131; }
.mk .mk-warn span { color: #5b685a; }
.mk .mk-primary { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 12px 22px; border: 1px solid var(--mk-accent); border-radius: 14px; background: var(--mk-accent); color: #fffdf6; font-size: 16px; line-height: 1.8; font-weight: 700; text-align: center; text-decoration: none; transition: background .2s, border-color .2s; }
.mk .mk-primary:not(:disabled):is(:hover, :focus-visible) { background: var(--mk-hover); border-color: var(--mk-hover); color: #fffdf6; }
.mk .mk-primary[disabled] { opacity: .6; cursor: wait; }
.mk .mk-btn-ghost { min-height: 44px; padding: 9px 16px; font-size: 14px; border-color: #aaba9f; border-radius: 12px; color: #35583d; }
.mk .mk-btn-ghost:hover { background: #eaf0e1; color: #264632; }
.mk :is(button, a, input, select, textarea):focus-visible { outline: 2px solid #a3834b; outline-offset: 3px; }

/* The request area separates the explanation, choices, form and supporting terms. */
.mk .mk-request { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.55fr); align-items: start; gap: 32px; padding: 32px; border: 1px solid #ccd8c7; border-radius: 26px; background: linear-gradient(135deg, #dfe8dc, #e8eee2 62%, #f0f3e9); color: #203a2e; }
.mk .mk-request-copy { min-width: 0; padding: 10px 0; }
.mk .mk-request h2 { margin: 20px 0 14px; font: 700 clamp(30px, 2.8vw, 38px)/1.65 'Noto Naskh Arabic', serif; color: #203a2e; text-wrap: balance; }
.mk .mk-request-copy > p { margin: 0; font-size: 16px; line-height: 2.1; color: #4c5e4d; }
.mk .mk-request-reference { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #cfd9c4; }
.mk .mk-reference-label { font-size: 13px; color: #53634f; }
.mk .mk-reference-product { font-size: 15px; font-weight: 600; color: var(--mk-accent); }
.mk .mk-request-reference strong { font-size: 25px; line-height: 1.7; color: #264632; }
.mk .mk-request-reference p { margin: 0; font-size: 14px; line-height: 1.9; color: #53634f; }
.mk .mk-request-workspace { min-width: 0; padding: 28px; border: 1px solid #d8e1cf; border-radius: 22px; background: #fffdf8; box-shadow: 0 8px 28px #31472e06; }
.mk .mk-request-form { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.mk .mk-choice-block { display: flex; flex-direction: column; gap: 10px; }
.mk :is(.mk-plan-choice, .mk-intent) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mk .mk-plan-choice button { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 64px; padding: 12px; border: 1px solid #d6ddce; border-radius: 14px; background: #fffdf8; color: var(--nm-plan-accent); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; text-align: start; }
.mk .mk-plan-choice button .nm-line-icon { --nm-line-ink: var(--nm-plan-accent); width: 32px; height: 32px; }
.mk .mk-plan-choice button:is(.on, :hover) { background: var(--nm-plan-surface); border-color: var(--nm-plan-accent); }
.mk .mk-choice-dot { display: grid; place-items: center; width: 17px; height: 17px; flex: 0 0 17px; margin-inline-start: auto; border: 1px solid #adbaa3; border-radius: 50%; }
.mk button.on .mk-choice-dot { border-color: currentColor; }
.mk button.on .mk-choice-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mk .mk-intent button { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; min-width: 0; padding: 16px 12px; border: 1px solid #d6ddce; border-radius: 14px; background: #fffdf8; color: #39523d; text-align: start; }
.mk .mk-intent button > .nm-line-icon { width: 28px; height: 28px; --nm-line-ink: var(--mk-accent); }
.mk .mk-intent button > span:not(.mk-choice-dot) { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mk .mk-intent b { font-size: 16px; line-height: 1.8; font-weight: 600; }
.mk .mk-intent small { font-size: 13px; line-height: 1.9; color: #606e59; }
.mk .mk-intent button .mk-choice-dot { margin-top: 6px; }
.mk .mk-intent button:is(.on, :hover) { border-color: var(--mk-accent); background: var(--mk-tint); color: var(--mk-accent); }
.mk .mk-form { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 24px 0 0; border: 0; border-top: 1px solid #dde4d5; border-radius: 0; background: transparent; color: #203a2e; }
.mk .mk-form-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.mk .mk-form h3 { color: #264632; font: 700 26px/1.6 'Noto Naskh Arabic', serif; margin: 0; }
.mk .mk-form-heading p { margin: 0; font-size: 13px; color: #60715b; }
.mk .mk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.mk .mk-field { gap: 8px; min-width: 0; }
.mk :is(.mk-field label, .mk-label) { font-size: 14px; font-weight: 600; color: #3d5142; line-height: 1.9; }
.mk .mk-required { color: #876333; }
.nm-site-inner .mk .mk-input { min-width: 0; width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #bfcbb3; border-radius: 12px; background: #fff; color: #203a2e; font: inherit; font-size: 16px !important; line-height: 1.8; transition: border-color .2s, box-shadow .2s; }
.mk .mk-input[dir='ltr'] { text-align: left; }
.mk .mk-input::placeholder { color: #788270; opacity: 1; }
.mk .mk-input:focus { border-color: var(--mk-accent); box-shadow: 0 0 0 3px var(--mk-tint); }
.mk .mk-input.err { border-color: #a8432f; }
.mk textarea.mk-input { min-height: 120px; resize: vertical; }
.mk .mk-hint { font-size: 13px; color: #61705b; line-height: 1.9; }
.mk .mk-err { font-size: 13px; color: #a03b2a; line-height: 1.9; }
.mk .mk-err:empty { display: none; }
.mk .mk-banner { font-size: 15px; line-height: 1.9; padding: 14px 16px; }
.mk .mk-source-choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.mk .mk-source-choice legend { margin-bottom: 10px; }
.mk .mk-source-options { display: flex; flex-wrap: wrap; gap: 10px; }
.mk .mk-source-option { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 9px 12px; border: 1px solid #ced8c4; border-radius: 12px; font-size: 14px; line-height: 1.8; cursor: pointer; background: #fff; }
.mk :is(.mk-source-option, .mk-asset):has(input:checked) { border-color: var(--mk-accent); background: var(--mk-tint); color: var(--mk-accent); }
.mk :is(.mk-source-option, .mk-asset) input[type='radio'] { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--mk-accent); margin: 0; }
.mk .mk-asset { min-width: 0; padding: 14px; border-color: #bfcbb3; align-items: flex-start; gap: 12px; }
.mk .mk-asset input[type='radio'] { margin-top: 4px; }
.mk .mk-fine { padding-top: 18px; border-color: #dce3d3; }
.mk :is(.mk-login-symbol, .mk-success-symbol) { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid #d4dec9; border-radius: 18px; background: #edf2e5; }
.mk .mk-login-prompt { align-items: flex-start; gap: 20px; }
.mk .mk-login-prompt p { font-size: 16px !important; line-height: 2.05 !important; color: #4c5e4d !important; }
.mk .mk-empty-state { font-size: 15px; line-height: 2; color: #55664e; }
.mk .mk-info { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 28px; border-top: 1px solid #cfd9c4; }
.mk .mk-info article { min-width: 0; }
.mk .mk-info h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 18px; line-height: 1.9; color: #35583d; font-weight: 600; }
.mk .mk-info p { margin: 0 0 10px; font-size: 15px; line-height: 2; color: #52634f; }
.mk .mk-process { display: flex; flex-direction: column; gap: 26px; padding-block: 12px; }
.mk .mk-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.mk .mk-steps li { padding: 24px; border: 1px solid #dce3d3; border-radius: 20px; background: #fffdf8; min-width: 0; }
.mk .mk-step-heading { display: flex; align-items: center; gap: 16px; }
.mk .mk-step-number { color: #8c744c; font-size: 15px; font-weight: 600; }
.mk .mk-steps h3 { margin: 18px 0 8px; color: #35583d; font-size: 18px; line-height: 1.8; font-weight: 600; }
.mk .mk-steps p { margin: 0; color: #56664f; font-size: 15px; line-height: 2; }
.mk .mk-faq-section { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); align-items: start; gap: 48px; padding-top: 12px; }
.mk .mk-faq { border-color: #dce3d3; border-radius: 20px; }
.mk .mk-faq button { padding: 20px 24px; font-size: 16px; font-weight: 600; line-height: 1.9; min-height: 64px; }
.mk .mk-faq button:hover, .mk .mk-faq button[aria-expanded='true'] { background: #f0f3e9; color: #29462f; }
.mk .mk-faq p { padding: 0 24px 22px; color: #52634f; font-size: 16px; line-height: 2.05; }
.mk .mk-faq > div:has(button[aria-expanded='true']) { background: #f0f3e9; }
.mk .mk-bar-context { display: flex; flex-direction: column; gap: 3px; }
.mk .mk-bar-context small { font-size: 11px; line-height: 1.8; color: #65745c; }
.mk .mk-bar-context strong { font-size: 14px; color: var(--mk-accent); }

@media (max-width: 1050px) {
    .mk .mk-market-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .mk .mk-market-hero > .mk-primary { justify-self: start; }
    .mk .mk-request { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .mk .mk-request-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, .65fr); column-gap: 32px; }
    .mk .mk-request-copy > :not(.mk-request-reference) { grid-column: 1; }
    .mk .mk-request-reference { grid-column: 2; grid-row: 1 / 4; margin: 0; padding: 8px 24px 8px 0; border-top: 0; border-inline-start: 1px solid #cfd9c4; justify-content: center; }
    .mk .mk-request h2 { margin-top: 14px; }
    .mk .mk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk .mk-faq-section { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 759px) {
    .mk { padding-bottom: 0; }
    .mk .mk-main { padding: 20px 16px 108px; gap: 32px; }
    .mk .mk-market-hero { padding: 24px; border-radius: 22px; gap: 24px; }
    .mk .mk-market-hero h1 { font-size: 32px; }
    .mk .mk-market-hero p { font-size: 16px; }
    .mk .mk-market-hero > .mk-primary { width: 100%; justify-self: stretch; }
    .mk .mk-card { padding: 20px; gap: 22px; border-radius: 20px; }
    .mk .mk-card h2 { font-size: 25px; }
    .mk .mk-history-heading { align-items: stretch; flex-direction: column; }
    .mk .mk-tabs { width: 100%; flex-basis: auto; min-width: 0; }
    .mk .mk-tab { padding-inline: 8px; gap: 8px; font-size: 15px; }
    .mk .mk-tab .nm-line-icon { width: 26px; height: 26px; }
    .mk .mk-lead { font-size: 14px; }
    .mk .mk-chart-picker { align-items: stretch; flex-direction: column; gap: 8px; }
    .mk .mk-chart-picker .mk-input { width: 100%; min-width: 0; }
    .mk .mk-detail { padding: 16px; }
    .mk .mk-detail .n { flex-basis: 100%; }
    .mk .mk-acc-body { padding: 18px; }
    .mk .mk-sliders { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .mk .mk-request { padding: 22px 18px; gap: 24px; border-radius: 22px; }
    .mk .mk-request-copy { display: block; padding: 0 4px; }
    .mk .mk-request h2 { font-size: 32px; margin: 16px 0 12px; }
    .mk .mk-request-reference { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin-top: 22px; padding: 18px 0 0; border-inline-start: 0; border-top: 1px solid #cfd9c4; gap: 4px 12px; }
    .mk .mk-reference-label, .mk .mk-reference-product { grid-column: 1; }
    .mk .mk-request-reference strong { grid-column: 2; grid-row: 1 / 3; font-size: 21px; white-space: nowrap; }
    .mk .mk-request-reference p { grid-column: 1 / -1; }
    .mk .mk-request-workspace { padding: 20px 16px; border-radius: 18px; }
    .mk .mk-request-form { gap: 24px; }
    .mk .mk-plan-choice { gap: 8px; }
    .mk .mk-plan-choice button { min-height: 60px; font-size: 14px; padding: 10px 8px; gap: 6px; }
    .mk .mk-plan-choice button .nm-line-icon { width: 28px; height: 28px; }
    .mk .mk-plan-choice .mk-choice-dot { display: none; }
    .mk .mk-intent { grid-template-columns: minmax(0, 1fr); }
    .mk .mk-intent button { padding: 14px; align-items: center; }
    .mk .mk-intent button > .nm-line-icon { width: 32px; height: 32px; }
    .mk .mk-intent small { font-size: 13px; }
    .mk .mk-form h3 { font-size: 25px; }
    .mk .mk-form-heading { flex-direction: column; gap: 4px; }
    .mk .mk-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .mk .mk-source-options { flex-direction: column; }
    .mk .mk-source-option { min-height: 48px; }
    .mk .mk-form .mk-primary { width: 100%; }
    .mk .mk-info { grid-template-columns: minmax(0, 1fr); padding-top: 22px; gap: 20px; }
    .mk .mk-info h3 { font-size: 17px; gap: 10px; }
    .mk .mk-section-heading h2 { font-size: 30px; }
    .mk .mk-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .mk .mk-steps li { padding: 22px; }
    .mk .mk-step-heading { gap: 12px; }
    .mk .mk-steps h3 { margin-top: 10px; }
    .mk .mk-faq button { padding: 18px; font-size: 15px; }
    .mk .mk-faq p { padding: 0 18px 20px; font-size: 15px; }
    .mk .mk-bar { justify-content: space-between; gap: 16px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); border-color: #d8e0d0; }
    .mk .mk-bar .mk-primary { min-height: 48px; font-size: 14px; padding-inline: 18px; }
}
@media (max-width: 360px) {
    .mk .mk-main { padding-inline: 12px; }
    .mk .mk-market-hero { padding: 22px 18px; }
    .mk .mk-market-hero h1 { font-size: 29px; }
    .mk .mk-request { padding-inline: 14px; }
    .mk .mk-request-workspace { padding-inline: 12px; }
    .mk .mk-plan-choice button { font-size: 13px; }
    .mk .mk-plan-choice button .nm-line-icon { width: 24px; height: 24px; }
    .mk .mk-intent button { gap: 8px; padding-inline: 10px; }
    .mk .mk-bar { gap: 10px; padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .mk .mk-primary, .mk .mk-input { transition: none; }
}

/* Project-specific orchard calculator, sharing each project's cash quote. */
.mk-grove-picker { margin:0; padding:0; border:0; min-width:0; }
.mk-grove-picker legend { margin-bottom:12px; }
.mk-grove-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.mk-grove-option { display:flex; align-items:flex-start; gap:10px; padding:16px; border:1px solid #d8dfd2; border-radius:16px; background:#fafbf7; cursor:pointer; transition:border-color .2s,background .2s; }
.mk-grove-option.on { background:#edf3e8; border-color:#607a53; box-shadow:inset 0 0 0 1px #607a53; }
.mk-grove-option:hover { border-color:#607a53; }
.mk-grove-option:focus-within { outline:3px solid #b49b60; outline-offset:3px; }
.mk-grove-option input { flex:0 0 18px; width:18px; height:18px; margin:4px 0 0; accent-color:#42604b; }
.mk-grove-option > span { display:flex; flex-direction:column; gap:8px; min-width:0; }
.mk-grove-option b { font-size:15px; line-height:1.8; color:#22382a; }
.mk-grove-option small { color:#53634f; font-size:12.5px; line-height:1.9; }
.mk-grove-option strong { color:#2f4a34; font-size:14px; line-height:1.8; }
.mk-grove-option em { font-size:12px; font-style:normal; font-weight:400; }
.mk-grove-summary { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px 20px; }
.mk-grove-summary p { margin:0; color:#53634f; font-size:14px; line-height:1.9; }
.mk-grove-summary a { display:inline-flex; gap:10px; align-items:center; min-height:44px; color:#2f4a34; font-size:14px; font-weight:700; text-underline-offset:5px; }
.mk-grove-summary a:hover { color:#22382a; text-decoration:underline; }
.mk-grove-summary a:focus-visible { outline:3px solid #b49b60; outline-offset:4px; border-radius:4px; }
@media (max-width:760px) {
  .mk-grove-options { grid-template-columns:1fr; gap:10px; }
  .mk-grove-option { padding:14px; }
  .mk-grove-option > span { gap:4px; }
}

/* Touch-friendly selection sheets; desktop and no-JS retain native selects. */
.mk-select-trigger { display:none; }
.mk-select-dialog { box-sizing:border-box; position:fixed; inset:auto 0 0; width:100%; max-width:560px; max-height:calc(100dvh - 28px); margin:0 auto; padding:0; border:1px solid #d7dfd0; border-bottom:0; border-radius:28px 28px 0 0; background:#fffdf8; color:#203a2e; box-shadow:0 -12px 60px #102d2433; font-family:Vazirmatn,sans-serif; overflow:hidden; }
.mk-select-dialog::backdrop { background:#142d2566; backdrop-filter:blur(3px); }
.mk-select-dialog[open] { display:flex; flex-direction:column; animation:mk-select-enter .2s ease-out; }
.mk-select-handle { width:38px; height:4px; flex:none; margin:12px auto 0; border-radius:4px; background:#c8d0bf; }
.mk-select-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex:none; padding:18px 20px; border-bottom:1px solid #e4e8dc; }
.mk-select-heading p { margin:0 0 5px; color:#67745f; font-size:13px; line-height:1.8; }
.mk-select-heading h2 { margin:0; color:#203a2e; font-size:20px; font-weight:700; line-height:1.7; }
.mk-select-close { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:6px; border:1px solid #d6dfcd; border-radius:50%; background:#f1f4e9; color:#35583d; cursor:pointer; }
.mk-select-dialog .mk-select-close .nm-line-icon { width:30px; height:30px; --nm-line-ink:currentColor; }
.mk-select-options { display:flex; flex-direction:column; gap:8px; min-height:0; padding:12px 16px calc(24px + env(safe-area-inset-bottom)); overflow-y:auto; overscroll-behavior:contain; scroll-padding-block:12px; }
.mk-select-group { margin:8px 6px 2px; color:#6b624c; font-size:13px; font-weight:600; line-height:1.9; }
.mk-select-option { display:flex; align-items:center; gap:12px; flex:none; width:100%; min-height:58px; padding:13px 14px; border:1px solid #dfe5d8; border-radius:14px; background:#fff; color:#334a3a; text-align:start; font:inherit; font-size:16px; line-height:1.8; cursor:pointer; }
.mk-select-option-mark { display:grid; place-items:center; flex:none; width:24px; height:24px; border:1px solid #c2ceba; border-radius:50%; background:#fff; }
.mk-select-dialog .mk-select-option-mark .nm-line-icon { width:22px; height:22px; opacity:0; stroke-width:3; --nm-line-ink:currentColor; }
.mk-select-option[aria-pressed='true'] { border-color:#79916c; background:#edf3e6; color:#264632; font-weight:600; }
.mk-select-option[aria-pressed='true'] .mk-select-option-mark { border-color:#42604b; background:#42604b; color:#fff; }
.mk-select-option[aria-pressed='true'] .nm-line-icon { opacity:1; stroke-width:3; }
.mk-select-option:disabled { opacity:.5; cursor:default; }
.mk-select-option:not(:disabled):hover { background:#f0f4e9; border-color:#8c9f7c; }
.mk-select-dialog button:focus-visible { outline:2px solid #a3834b; outline-offset:2px; }
.mk-select-open { overflow:hidden; }
@keyframes mk-select-enter { from { transform:translateY(24px); opacity:0; } to { transform:translateY(0); opacity:1; } }
@media (max-width:759px) {
    .mk select.mk-select-native { display:none; }
    .mk .mk-select-trigger { display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%; min-height:56px; padding:12px 16px; border:1px solid #b7c6a9; border-radius:14px; background:#fff; color:#203a2e; text-align:start; font:inherit; font-size:16px; line-height:1.8; cursor:pointer; touch-action:manipulation; }
    .mk .mk-select-value { min-width:0; }
    .mk .mk-select-chevron { flex:none; width:9px; height:9px; margin-inline:3px; border-right:1.5px solid #42604b; border-bottom:1.5px solid #42604b; transform:rotate(45deg) translateY(-2px); }
    .mk .mk-select-trigger[aria-expanded='true'] { border-color:#42604b; background:#f7f9f1; }
    .mk .mk-select-trigger[aria-invalid='true'] { border-color:#a8432f; }
    .mk .mk-select-trigger:disabled { opacity:.5; cursor:default; }
}
@media (prefers-reduced-motion:reduce) { .mk-select-dialog[open] { animation:none; } }
