.market-help { max-width: 1100px; }
.market-help-navigation { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.market-help-navigation a {
    margin:0; padding:7px 12px; border:1px solid #bfcfc3; border-radius:7px;
    background:#fff; color:#294b3e; font-size:14px;
}
.market-help-navigation a:hover { background:#e2ede5; color:#224638; }
.market-help-navigation a[aria-current="page"] { color:#f1f7ef; background:#25483a; border-color:#25483a; }
.market-help-architecture { display:grid; gap:14px; font-size:14px; line-height:1.65; color:#334e43; }
.market-help-architecture h2 { margin:0 0 8px; color:#173a2c; font-size:19px; line-height:1.35; }
.market-help-architecture h3 { margin:0 0 4px; color:#244536; font-size:15px; }
.market-help-architecture p { margin:0; }
.market-architecture-purpose,.market-architecture-section { padding:clamp(12px,2vw,21px); border:1px solid #cad8ce; border-radius:10px; background:#fff; }
.market-architecture-purpose { background:#eaf1e9; border-color:#b9cebf; }
.market-architecture-audiences { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:12px 0; padding:0; list-style:none; }
.market-architecture-audiences li { padding:8px 10px; border-top:1px solid #b9cebf; }
.market-architecture-links { display:flex; flex-wrap:wrap; gap:6px 12px; margin-top:13px; }
.market-architecture-links a {
    display:grid; gap:2px; flex:1 1 220px; padding:7px 10px; border-radius:6px;
    border:1px solid #bacfc0; background:#f9fcf8; color:#285943;
}
.market-architecture-links span { color:#4a6457; font-size:13px; }
.market-help-diagram { margin:12px 0 0; }
.market-help-diagram + .market-architecture-note { margin-top:10px; }
.market-diagram-steps { display:flex; gap:24px; margin:0; padding:0; list-style:none; }
.market-diagram-steps li { position:relative; flex:1 1 0; min-width:0; }
.market-diagram-steps li:not(:last-child)::after {
    content:'→'; position:absolute; inset:50% -24px auto auto; width:24px; transform:translateY(-50%);
    text-align:center; color:#426c58; font-size:17px; font-weight:700;
}
.market-diagram-steps button {
    display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:3px;
    width:100%; height:100%; min-height:69px; padding:8px 9px; border:1px solid #b9cdbc; border-radius:7px;
    background:#fcfdfb; color:#234337; font:inherit; text-align:left; overflow-wrap:anywhere;
}
.market-diagram-steps small { color:#49685a; font-size:11px; line-height:1.4; }
.market-diagram-steps button:hover { background:#e3efe7; }
.market-diagram-steps button[aria-pressed="true"] { border-color:#305e4a; background:#305e4a; color:#fff; }
.market-diagram-steps button[aria-pressed="true"] small { color:#dcf0e3; }
.market-diagram-details { margin-top:8px; padding:8px 10px; border-left:3px solid #618970; border-radius:0 5px 5px 0; background:#f0f5ef; }
.market-architecture-levels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 15px; margin:8px 0 12px; }
.market-architecture-levels div { padding:6px 0 3px; border-top:1px solid #dbe5dc; }
.market-architecture-levels dt { font-weight:680; color:#244536; }
.market-architecture-levels dd { margin:2px 0 0; }
.market-architecture-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 18px; margin:8px 0 12px; }
.market-help-architecture .market-architecture-note { padding:8px 10px; border-left:2px solid #7eaa91; background:#edf4ee; }
.market-runtime-section-heading { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:0 12px; }
.market-runtime-jump { margin:0 0 8px; padding:2px 5px; border:0; background:transparent; color:#285943; font:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
#runtime-optimization { scroll-margin-top:80px; }
.market-runtime-comparison { margin:0; font-size:13px; line-height:1.5; }
.market-runtime-comparison-table { width:100%; border-spacing:4px; table-layout:fixed; text-align:left; }
.market-runtime-stage { width:64px; }
.market-runtime-comparison-table :is(th,td) { padding:6px 9px; }
.market-runtime-comparison-table thead th { color:#203c32; vertical-align:top; }
.market-runtime-comparison-table :is(thead th,td) { border-radius:6px; overflow-wrap:anywhere; }
.market-runtime-comparison-table th small { display:block; color:#395b4d; font-size:12px; font-weight:400; }
.market-runtime-comparison-table :is(thead th:nth-child(2),td:nth-child(2)) { background:#f2f5f3; }
.market-runtime-comparison-table :is(thead th:last-child,td:last-child) { background:#eaf3ea; }
.market-runtime-comparison-table tbody tr:first-child td:last-child { box-shadow:inset 0 0 0 1px #95b59f; }
.market-runtime-comparison-table th[scope="row"] { position:relative; padding:0; text-align:center; }
.market-runtime-comparison-table th[scope="row"]::before {
    content:''; position:absolute; inset:-4px auto 0 50%; width:1px; background:#9ebdab;
}
.market-runtime-comparison-table tr:first-child th[scope="row"]::before { top:50%; }
.market-runtime-comparison-table tr:last-child th[scope="row"]::before { bottom:50%; }
.market-runtime-comparison-table th[scope="row"] span {
    position:relative; padding:3px 6px; border:1px solid #aac4b3; border-radius:5px; background:#fff; color:#284638;
}
.market-runtime-comparison-table td strong { display:block; color:#244e3b; }
.market-runtime-decisions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:8px 4px; }
.market-runtime-decisions div { padding:7px 9px; border:1px solid #cbdad0; border-top:3px solid #769783; border-radius:6px; }
.market-runtime-decisions div:nth-child(2) { border-top-color:#32775b; }
.market-runtime-decisions div:nth-child(3) { border-top-color:#9b7b3d; }
.market-runtime-decisions dt { font-weight:680; color:#244536; }
.market-runtime-decisions dd { margin:3px 0 0; }
.market-runtime-comparison figcaption { margin:8px 4px 0; color:#405d50; }
.market-help-architecture .market-runtime-extension { margin:8px 4px 0; padding-top:8px; border-top:1px solid #dbe5dc; font-size:13px; }
.market-runtime-map { margin:0; color:#28473b; font-size:13px; line-height:1.4; }
.runtime-band { padding:9px 11px; border:1px solid #bfd2c4; border-radius:8px; background:#edf4ee; }
.runtime-band header { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:2px 8px; }
.runtime-band header small,.market-runtime-map figcaption { color:#49675a; }
.runtime-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:4px 0 0; }
.runtime-columns>div,.runtime-task-groups>section,.runtime-backend-flow>section { min-width:0; padding:6px 8px; border:1px solid #ccdace; border-radius:5px; background:#fff; }
.runtime-columns dt,.runtime-backend-flow b { font-weight:650; }
.runtime-columns dd { margin:1px 0 0; color:#49675a; overflow-wrap:anywhere; }
.market-runtime-map .runtime-connector { display:flex; align-items:center; justify-content:center; gap:5px; min-height:23px; color:#365e4a; font-size:11px; }
.runtime-connector b,.runtime-backend-arrow b,.runtime-interface span b { color:#315d48; font-size:16px; }
.runtime-backend { background:#e8f0e8; }
.runtime-band h4 { margin:4px 0; color:#244536; font-size:13px; }
.runtime-task-groups h5 { margin:0 0 3px; color:#2a503e; font-size:12px; }
.runtime-task-groups dl { margin:0; }
.runtime-task-groups dl>div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:1px 6px; padding:2px 0; border-top:1px solid #e5ece6; }
.runtime-task-groups dt,.runtime-task-groups dd { font-size:11px; }
.runtime-task-groups dd { margin:0; font-variant-numeric:tabular-nums; }
.runtime-backend-flow { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1.45fr); align-items:stretch; gap:6px; }
.runtime-backend-flow h4 { margin-top:0; }
.runtime-backend-flow p { overflow-wrap:anywhere; }
.market-runtime-map .runtime-backend-arrow { display:grid; place-content:center; text-align:center; color:#426853; font-size:11px; }
.runtime-interface { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:4px 9px; align-items:center; text-align:center; margin:5px 0; padding:2px 6px; border-radius:5px; background:#e8f0f0; }
.runtime-interface span { font-size:11px; }
.runtime-frontend { background:#edf3f3; border-color:#c4d6d5; }
.market-runtime-map figcaption { margin-top:5px; font-size:11px; }
.market-runtime-schedule summary { cursor:pointer; color:#244536; font-weight:650; }
.market-runtime-table { width:100%; margin-top:12px; border-collapse:collapse; table-layout:fixed; }
.market-runtime-task { width:21%; }
.market-runtime-interval { width:21%; }
.market-runtime-table :is(th,td) { padding:7px 9px; border-bottom:1px solid #dbe5dc; text-align:left; vertical-align:top; overflow-wrap:anywhere; }
.market-runtime-table thead { background:#eaf1e9; color:#173a2c; }
.market-runtime-table tbody th { font-weight:650; color:#244536; }
.market-runtime-table tbody tr:nth-child(even) { background:#f6f9f6; }
.market-help-architecture code { overflow-wrap:anywhere; padding:1px 4px; border-radius:3px; color:#244536; background:#eaf1e9; font-size:.9em; }
.market-help-tools { display:flex; align-items:end; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.market-help-search { display:grid; gap:6px; width:min(100%,420px); font-weight:650; }
.market-help-search input { width:100%; border:1px solid #adbcb1; background:#fff; color:#1c2b26; border-radius:8px; padding:10px 12px; font:inherit; font-weight:400; }
.market-help-tools a,.market-help-link,.market-help-detail a { text-decoration:underline; text-underline-offset:3px; }
.market-help-start { display:flex; flex-wrap:wrap; gap:8px 16px; align-items:baseline; margin:18px 0; padding:12px 14px; border-left:3px solid #65947e; background:#e8efe8; }
.market-help-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:18px; }
.market-help-groups section { border:1px solid #c6d1c8; border-radius:12px; background:#fff; padding:14px 16px; }
.market-help-groups h2 { font-size:18px; margin:0 0 8px; }
.market-help-groups details + details { border-top:1px solid #dde5df; }
.market-help-groups summary { position:relative; display:grid; gap:4px; padding:12px 27px 12px 0; cursor:pointer; list-style:none; }
.market-help-groups summary::-webkit-details-marker { display:none; }
.market-help-groups summary::after { content:"+"; position:absolute; right:3px; top:12px; color:#456658; }
.market-help-groups details[open] > summary::after { content:"−"; }
.market-help-groups summary span { font-size:13px; color:#425b51; }
.market-help-detail { padding:0 8px 10px 12px; border-left:2px solid #c6d8ca; }
.market-help-detail p { line-height:1.65; margin:8px 0; font-size:14px; }
.market-help-detail p:last-child { margin-bottom:0; }
.market-help :focus-visible { outline:2px solid #257c67; outline-offset:3px; }
.mr-summary-source .market-help-link,.mr-public-source .market-help-link { color:inherit; }
@media (max-width:760px) { .market-help-groups { grid-template-columns:minmax(0,1fr); } }
@media (max-width:520px) {
    .market-architecture-levels,.market-architecture-pair,.market-architecture-audiences,.market-runtime-decisions { grid-template-columns:minmax(0,1fr); }
    .market-runtime-comparison { font-size:12px; }
    .market-runtime-comparison-table { border-spacing:3px; }
    .market-runtime-comparison-table :is(th,td) { padding:5px; }
    .market-runtime-comparison-table th small { font-size:11px; }
    .market-runtime-comparison-table th[scope="row"]::before { top:-3px; }
    .market-runtime-comparison-table th[scope="row"] span { padding:2px 3px; }
    .market-runtime-stage { width:38px; }
    .market-diagram-steps { flex-direction:column; gap:20px; }
    .market-diagram-steps button { min-height:45px; flex-direction:row; align-items:center; justify-content:space-between; }
    .market-diagram-steps li:not(:last-child)::after { content:'↓'; inset:auto auto -20px 50%; height:20px; transform:translateX(-50%); }
    .runtime-columns,.runtime-backend-flow { grid-template-columns:minmax(0,1fr); }
    .runtime-columns>div { display:grid; grid-template-columns:minmax(74px,.58fr) minmax(0,1fr); gap:4px; }
    .runtime-interface { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .runtime-interface strong { grid-column:1/-1; grid-row:1; }
    .market-runtime-task { width:23%; }
    .market-runtime-interval { width:24%; }
    .market-runtime-table { font-size:12px; }
    .market-runtime-table :is(th,td) { padding:6px 4px; }
}
