/* Business Atlas Map — scoped to .bam so it sits inside any theme. */
body.bam-page { overflow-x: hidden; }
.bam {
	--bam-water: #D6E4E8; --bam-land: #FBFCFA; --bam-coast: #9DB7BE;
	--bam-ink: #102A33; --bam-muted: #4F6670; --bam-surface: #FFFFFF; --bam-panel: #F3F6F6;
	--bam-line: #D3DEE1; --bam-accent: #0F5C5A; --bam-accent-ink: #FFFFFF; --bam-service: #2E3E46;
	color: var(--bam-ink); font-size: 16px; line-height: 1.55; text-align: left;
}
.bam *, .bam *::before, .bam *::after { box-sizing: border-box; }
.bam a { color: var(--bam-accent); }
.bam button, .bam input { font: inherit; color: inherit; margin: 0; }
.bam :focus-visible { outline: 3px solid var(--bam-accent); outline-offset: 2px; }
.bam h1, .bam h2 { color: inherit; text-transform: none; }
.bam ol, .bam ul { margin: 0; padding: 0; }
.bam-sr { position: absolute !important; left: -9999px; }
.bam--full .bam-explorer, .bam--full .bam-join {
	width: 100vw; position: relative; left: 50%; margin-left: -50vw;
}

/* explorer */
.bam-explorer {
	display: grid; grid-template-columns: 400px 1fr;
	height: calc(100vh - 120px); min-height: 560px; max-height: 920px;
	border-top: 1px solid var(--bam-line); border-bottom: 1px solid var(--bam-line);
}
.bam-side { background: var(--bam-surface); border-right: 1px solid var(--bam-line); display: flex; flex-direction: column; min-height: 0; }
.bam-intro { padding: 24px 24px 8px; }
.bam-kicker { color: var(--bam-accent); font-weight: 600; font-size: .9rem; margin: 0 0 6px; }
.bam .bam-h1 { font-size: clamp(1.8rem, 2.5vw, 2.3rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.bam-intro p:last-child { margin: 0; color: var(--bam-muted); max-width: 36ch; }
.bam-filters { padding: 14px 24px 12px; border-bottom: 1px solid var(--bam-line); }
.bam .bam-search { width: 100%; padding: 11px 14px; border: 1px solid var(--bam-line); border-radius: 10px; background: var(--bam-panel); height: auto; box-shadow: none; }
.bam-group { font-size: .78rem; font-weight: 600; color: var(--bam-muted); margin: 14px 0 6px; }
.bam-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bam .bam-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--bam-line); background: transparent; border-radius: 999px; padding: 5px 11px; font-size: .85rem; line-height: 1.3; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; }
.bam .bam-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.bam .bam-chip.bam-svc i { border-radius: 2px; }
.bam .bam-chip[aria-pressed="true"] { background: var(--bam-ink); color: var(--bam-surface); border-color: var(--bam-ink); }
.bam-count { font-size: .85rem; color: var(--bam-muted); margin: 12px 0 0; }
.bam-list { list-style: none; overflow-y: auto; flex: 1; }
.bam-list li { margin: 0; list-style: none; }
.bam .bam-list button { display: grid; grid-template-columns: 12px 1fr; gap: 12px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--bam-line); border-radius: 0; padding: 14px 24px; cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 400; box-shadow: none; }
.bam .bam-list button:hover { background: var(--bam-panel); }
.bam .bam-list button[aria-current="true"] { background: var(--bam-panel); box-shadow: inset 3px 0 0 var(--bam-accent); }
.bam-ldot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; background: var(--c); }
.bam-ldot.bam-svc { border-radius: 3px; }
.bam-list b { display: block; font-weight: 600; }
.bam-list small { display: block; font-size: .88rem; color: var(--bam-muted); }
.bam-empty { padding: 24px; color: var(--bam-muted); }

.bam-mapwrap { position: relative; background: var(--bam-water); overflow: hidden; touch-action: none; }
#bam-svg { width: 100%; height: 100%; display: block; cursor: grab; }
#bam-svg.bam-dragging { cursor: grabbing; }
#bam-land { fill: var(--bam-land); stroke: var(--bam-coast); stroke-linejoin: round; }
.bam-pin { cursor: pointer; }
.bam-pin .o { fill: var(--c); stroke: var(--bam-surface); }
.bam-pin.sel .o { stroke: var(--bam-ink); }
.bam-pin .h { fill: var(--c); opacity: .22; }
.bam-pin.dim { opacity: .15; }
.bam-regions { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.bam-zoom { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 6px; }
.bam .bam-mapbtn { background: var(--bam-surface); color: var(--bam-ink); border: 1px solid var(--bam-line); border-radius: 8px; padding: 6px 11px; font-size: .85rem; line-height: 1.3; font-weight: 500; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; }
.bam .bam-zoom .bam-mapbtn { width: 38px; height: 38px; padding: 0; font-size: 1.2rem; }
.bam-hint { position: absolute; left: 14px; bottom: 14px; font-size: .75rem; color: var(--bam-muted); background: var(--bam-surface); padding: 4px 9px; border-radius: 6px; border: 1px solid var(--bam-line); }

.bam-card { position: absolute; right: 14px; bottom: 14px; width: min(380px, calc(100% - 28px)); max-height: calc(100% - 80px); overflow-y: auto; background: var(--bam-surface); border: 1px solid var(--bam-line); border-radius: 14px; padding: 18px 20px 20px; box-shadow: 0 12px 32px -12px rgba(16,42,51,.35); transform: translateY(12px); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease; }
.bam-card.open { transform: none; opacity: 1; pointer-events: auto; }
.bam-tags { display: flex; flex-wrap: wrap; gap: 4px 12px; padding-right: 30px; }
.bam-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--c); }
.bam-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.bam-tag.bam-svc i { border-radius: 2px; }
.bam .bam-card h2 { font-size: 1.35rem; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; margin: 6px 0 2px; }
.bam-place { color: var(--bam-muted); font-size: .9rem; margin: 0 0 8px; }
.bam-place em { font-style: normal; font-size: .78rem; border: 1px dashed var(--bam-line); border-radius: 4px; padding: 1px 6px; margin-left: 6px; }
.bam-tagline { margin: 0 0 12px; font-size: .92rem; }
.bam-tagline:empty { display: none; }
.bam-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 16px; font-size: .9rem; }
.bam-card dl:empty { display: none; }
.bam-card dt { color: var(--bam-muted); font-weight: 400; margin: 0; }
.bam-card dd { margin: 0; }
.bam-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.bam .bam-acts a { flex: 1; text-align: center; text-decoration: none; padding: 9px 12px; border-radius: 999px; font-weight: 600; font-size: .9rem; border: 1px solid var(--bam-accent); color: var(--bam-accent); white-space: nowrap; }
.bam .bam-acts a.bam-pri { background: var(--bam-accent); color: var(--bam-accent-ink); }
.bam .bam-x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; background: none; font-size: 1.3rem; line-height: 1; padding: 0; cursor: pointer; color: var(--bam-muted); box-shadow: none; }

@media (max-width: 860px) {
	.bam-explorer { display: flex; flex-direction: column; height: auto; min-height: 0; max-height: none; }
	.bam-side { display: contents; }
	.bam-intro { order: 1; background: var(--bam-surface); padding: 20px 16px 4px; }
	.bam-mapwrap { order: 2; height: 68vh; height: 68svh; scroll-margin-top: 70px; }
	.bam-filters { order: 3; background: var(--bam-surface); padding: 12px 16px; }
	.bam-list { order: 4; background: var(--bam-surface); overflow: visible; }
	.bam .bam-list button { padding: 13px 16px; }
	.bam-card { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 14px 16px 16px; }
	.bam .bam-card h2 { font-size: 1.15rem; }
	.bam-card dl { font-size: .85rem; margin-bottom: 12px; }
	.bam .bam-acts a { padding: 8px 10px; font-size: .85rem; }
	.bam-regions { left: 10px; top: 10px; } .bam-zoom { right: 10px; top: 10px; }
	.bam-hint { display: none; }
}

/* resources */
.bam-section { max-width: 1120px; margin: 0 auto; padding: 72px 24px; }
.bam .bam-big { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; max-width: 20ch; }
.bam .bam-big--sm { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.bam-lede { color: var(--bam-muted); max-width: 60ch; margin: 0 0 40px; }
.bam-steps { list-style: none; margin: 0 0 64px; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; border-top: 2px solid var(--bam-ink); }
.bam-steps li { counter-increment: s; padding: 18px 18px 0 0; list-style: none; margin: 0; }
.bam-steps li::before { content: counter(s); display: block; font-size: 2.2rem; line-height: 1; font-weight: 800; color: var(--bam-accent); margin-bottom: 10px; }
.bam-steps b, .bam-vet b { display: block; font-weight: 600; margin-bottom: 4px; }
.bam-steps span { font-size: .92rem; color: var(--bam-muted); }
@media (max-width: 860px) { .bam-steps { grid-template-columns: 1fr 1fr; row-gap: 24px; } }
@media (max-width: 520px) { .bam-steps { grid-template-columns: 1fr; } }
.bam-agencies { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1px; background: var(--bam-line); border: 1px solid var(--bam-line); border-radius: 12px; overflow: hidden; }
.bam .bam-agencies a { display: block; background: var(--bam-surface); padding: 20px; text-decoration: none; color: var(--bam-ink); }
.bam .bam-agencies a:hover { background: var(--bam-panel); }
.bam-agencies b { display: block; font-size: 1.05rem; line-height: 1.25; margin-bottom: 6px; }
.bam-agencies span { font-size: .9rem; color: var(--bam-muted); }
.bam-agencies em { display: block; font-style: normal; font-size: .8rem; color: var(--bam-accent); margin-top: 10px; }

/* apply */
.bam-join { background: var(--bam-ink); color: #fff; }
.bam-join-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 40px; align-items: end; }
.bam .bam-join .bam-big { color: #fff; }
.bam-join p { color: #fff; opacity: .8; max-width: 46ch; margin: 0; }
.bam-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.bam .bam-ctas a { padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 1px solid #fff; color: #fff; }
.bam .bam-ctas a.bam-pri { background: #fff; color: var(--bam-ink); }
.bam-vet { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: v; border-top: 1px solid rgba(255,255,255,.25); margin-top: 8px; }
.bam-vet li { counter-increment: v; padding-top: 16px; list-style: none; margin: 0; }
.bam-vet li::before { content: counter(v); display: block; font-size: 1.8rem; line-height: 1; font-weight: 800; margin-bottom: 8px; opacity: .6; }
.bam-vet span { font-size: .92rem; opacity: .8; }
@media (max-width: 860px) { .bam-join-in { grid-template-columns: 1fr; } .bam-ctas { justify-content: flex-start; } .bam-vet { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bam-vet { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .bam-card { transition: none; } }

/* ---------- v1.1: side panel scrolls as one ---------- */
.bam-side { overflow-y: auto; }
.bam-list { flex: none; overflow: visible; }

/* finder */
.bam-finder { margin-top: 16px; background: var(--bam-panel); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bam-finder-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font-size: 1.05rem; font-weight: 600; }
.bam .bam-finder input { width: 9.5em; height: 36px; border: 0; border-bottom: 2px solid var(--bam-accent); border-radius: 0; padding: 0 4px; background: transparent; font-weight: 700; color: var(--bam-accent); font-size: 1.05rem; box-shadow: none; }
.bam .bam-finder input + span + label + input { width: 7em; }
.bam .bam-btn { min-height: 46px; border: 0; border-radius: 10px; background: var(--bam-accent); color: var(--bam-accent-ink); font-weight: 700; font-size: .95rem; padding: 0 16px; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; }
.bam-answer { margin-top: 12px; border: 2px solid var(--bam-accent); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.bam-answer[hidden] { display: none; }
.bam-answer-k { font-size: .8rem; font-weight: 700; color: var(--bam-accent); }
.bam-answer ul { list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: .92rem; }
.bam-answer li { margin: 0; }
.bam .bam-answer li button, .bam .bam-linkbtn { background: none; border: 0; padding: 0; color: var(--bam-accent); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: inherit; text-transform: none; letter-spacing: 0; box-shadow: none; }
.bam .bam-linkbtn { text-align: left; font-size: .9rem; }
.bam-answer small { color: var(--bam-muted); font-size: .8rem; }
.bam-week { margin-top: 14px; border: 1px solid var(--bam-line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.bam-week-k { font-size: .78rem; font-weight: 700; color: #B4483A; }
.bam-week span:not(.bam-week-k) { color: var(--bam-muted); }
.bam-focusbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #E3EEEC; font-size: .85rem; }
.bam .bam-focusbar button { background: none; border: 0; color: var(--bam-accent); font-weight: 700; cursor: pointer; padding: 4px; text-transform: none; letter-spacing: 0; box-shadow: none; }

/* layers */
.bam-layers { position: absolute; top: 56px; left: 14px; display: flex; background: var(--bam-surface); border: 1px solid var(--bam-line); border-radius: 10px; padding: 3px; gap: 2px; }
.bam .bam-layer { height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--bam-ink); font-size: .82rem; font-weight: 600; padding: 0 10px; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; }
.bam .bam-layer[aria-pressed="true"] { background: var(--bam-ink); color: var(--bam-surface); }
.bam .bam-layer[hidden] { display: none; }
.bam-legend { position: absolute; left: 14px; bottom: 50px; display: flex; flex-wrap: wrap; gap: 4px 12px; max-width: 60%; background: var(--bam-surface); border: 1px solid var(--bam-line); border-radius: 8px; padding: 6px 10px; font-size: .78rem; font-weight: 600; }
.bam-legend[hidden] { display: none; }
.bam-legend span { display: inline-flex; align-items: center; gap: 5px; }
.bam-legend i { width: 10px; height: 10px; border-radius: 50%; }
.bam-zone { cursor: pointer; }
.bam-oppin { fill: #C6362B; stroke: var(--bam-surface); cursor: pointer; }
#bam-svg.bam-quiet .bam-pin { opacity: .45; }
.bam .bam-ask { flex: 1; min-height: 40px; border-radius: 999px; border: 1px solid var(--bam-accent); background: transparent; color: var(--bam-accent); font-weight: 600; font-size: .9rem; padding: 0 12px; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; }
@media (max-width: 860px) { .bam-layers { top: 54px; left: 10px; } .bam-legend { bottom: auto; top: 98px; left: 10px; max-width: calc(100% - 20px); } }

/* inquiry dialog */
.bam-dialog { width: min(460px, calc(100vw - 24px)); border: 1px solid var(--bam-line); border-radius: 16px; padding: 22px; color: var(--bam-ink); background: var(--bam-surface); box-shadow: 0 24px 60px -20px rgba(16,42,51,.5); }
.bam-dialog::backdrop { background: rgba(16,42,51,.45); }
.bam-d-x { position: absolute; top: 8px; right: 8px; margin: 0; }
.bam .bam-d-x button, .bam-d-x button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: var(--bam-muted); box-shadow: none; }
.bam-d-form { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.bam-d-form h2 { margin: 0 0 2px; font-size: 1.3rem; }
.bam-d-to { margin: 0 0 8px; color: var(--bam-muted); font-size: .9rem; }
.bam-d-form label { font-size: .85rem; font-weight: 600; margin-top: 4px; }
.bam-d-form input, .bam-d-form textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--bam-line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 1rem; background: var(--bam-panel); color: var(--bam-ink); }
.bam-d-form .bam-btn { margin-top: 10px; }
.bam-d-note { font-size: .82rem; color: var(--bam-muted); margin: 6px 0 0; }
.bam-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* opportunities board */
.bam-board { max-width: 1120px; margin: 0 auto; }
.bam-board-filters { margin-bottom: 10px; }
.bam .bam-board .bam-chip { text-decoration: none; color: var(--bam-ink); }
.bam .bam-board .bam-chip.is-on { background: var(--bam-ink); color: var(--bam-surface); border-color: var(--bam-ink); }
.bam-board-sector { margin: 6px 0 18px; font-size: .92rem; }
.bam-board-sector select { margin-left: 6px; min-height: 38px; }
.bam-board-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.bam-board-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.bam-board-side { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.bam .bam-board-h { font-size: 1.2rem; margin: 10px 0 0; }
.bam-opp { background: var(--bam-surface); border: 1px solid var(--bam-line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.bam-opp h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.bam-opp p { margin: 0; font-size: .92rem; }
.bam-opp-type { font-size: .78rem; font-weight: 700; color: #6A4C94; }
.bam-t-fair { color: #B4483A; } .bam-t-news { color: #1C7F9E; } .bam-t-funding { color: #2E7D4F; }
.bam-opp-meta, .bam-opp-src { color: var(--bam-muted); }
.bam-opp-src { font-size: .78rem; }
.bam-opp-dl { font-weight: 700; color: #8A5A00; }
.bam .bam-opp-link { align-self: flex-start; margin-top: 6px; font-weight: 700; }
.bam-opp--feat { background: var(--bam-ink); color: #fff; border-color: var(--bam-ink); padding: 22px; }
.bam-opp--feat .bam-opp-type { color: #F2C14E; }
.bam-opp--feat .bam-opp-meta, .bam-opp--feat .bam-opp-src { color: #C9D7DB; }
.bam .bam-opp--feat a { color: #fff; }
.bam-board-sub { background: #E3EEEC; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.bam-board-sub p { margin: 0; font-size: .9rem; }
.bam .bam-board-sub .bam-pri { align-self: flex-start; background: var(--bam-accent); color: var(--bam-accent-ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.bam-board-past { border: 1px solid var(--bam-line); border-radius: 14px; padding: 14px 16px; font-size: .9rem; }
.bam-board-past ul { list-style: none; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.bam-board-past li { margin: 0; }
.bam-board-past span { color: var(--bam-muted); }

/* ---------- [ba_product] vetted product card ---------- */
.ba-prod { border: 1px solid #D3DEE1; border-radius: 16px; padding: 16px; display: flex; flex-wrap: wrap; gap: 16px; margin: 1.2em 0; color: #102A33; }
.ba-prod-photo { flex: 1 1 150px; max-width: 200px; aspect-ratio: 1; border-radius: 12px; background: #F3F6F6; overflow: hidden; }
.ba-prod-photo img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.ba-prod-body { flex: 999 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ba-prod-badge { align-self: flex-start; background: #EEF0F2; color: #3D4A52; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 700; }
.ba-prod-badge.is-used { background: #E3EEEC; color: #0A4240; }
.ba-prod-name { font-size: 1.25rem; line-height: 1.2; }
.ba-prod-why, .ba-prod-check { margin: 0 !important; font-size: .95rem; }
.ba-prod-check { color: #4F6670; }
.ba-prod-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 4px; }
.ba-prod-price { font-size: 1.05rem; }
.ba-prod .ba-prod-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; background: #0F5C5A; color: #FFFFFF; font-weight: 700; font-size: .9rem; text-decoration: none; }
.ba-prod .ba-prod-btn2 { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid #102A33; color: #102A33; font-weight: 600; font-size: .9rem; text-decoration: none; }

/* ---------- [business_atlas_guides] ---------- */
.bam-guides-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px; margin-bottom: 20px; }
.bam-guides-head a { font-weight: 700; }
.bam-guides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.bam .bam-guide { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--bam-ink); }
.bam-guide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; height: auto; }
.bam-guide-k { font-size: .82rem; font-weight: 700; color: var(--bam-accent); }
.bam-guide b { font-size: 1.1rem; line-height: 1.3; }

/* ---------- v1.5: chips as links ---------- */
.bam a.bam-chip { text-decoration: none; color: var(--bam-ink); }
.bam a.bam-chip.is-on { background: var(--bam-ink); color: var(--bam-surface); border-color: var(--bam-ink); }
.bam-place .bam-verified, .bam em.bam-verified { border: 0; color: var(--bam-accent); font-weight: 700; }

/* value chain */
.bam-chain-tabs { margin-bottom: 24px; }
.bam-flow { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.bam-step { position: relative; list-style: none; margin: 0; background: var(--bam-surface); border: 1px solid var(--bam-line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.bam-step:not(:last-child)::after { content: "\2192"; position: absolute; right: -12px; top: 22px; width: 12px; text-align: center; color: var(--bam-muted); font-weight: 700; }
.bam-step-n { width: 28px; height: 28px; border-radius: 50%; background: var(--bam-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; }
.bam-step.is-gap { border-style: dashed; background: var(--bam-panel); }
.bam-step.is-gap .bam-step-n { background: var(--bam-muted); }
.bam-step-what { font-size: .88rem; color: var(--bam-muted); }
.bam-step ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bam-step ul li { margin: 0; font-size: .9rem; line-height: 1.3; }
.bam-step ul li a { font-weight: 700; }
.bam-step ul li span { display: block; color: var(--bam-muted); font-size: .8rem; }
.bam-step ul li.is-you { background: #FFF4C9; border-radius: 6px; padding: 4px 6px; margin: 0 -6px; }
.bam-step-gap, .bam-step-more { font-size: .85rem; }
.bam-buyers { margin-top: 20px; background: var(--bam-ink); color: #fff; border-radius: 16px; padding: 18px 20px; }
.bam-buyers > b { font-size: 1.1rem; }
.bam-buyers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 12px; }
.bam-buyer { background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.bam-buyer span { font-size: .85rem; opacity: .8; }
@media (max-width: 900px) {
	.bam-flow { grid-template-columns: 1fr; }
	.bam-step:not(:last-child)::after { content: "\2193"; right: auto; left: 24px; top: auto; bottom: -18px; }
}

/* listing page box */
.bam-lbox { border: 1px solid var(--bam-line); border-radius: 16px; padding: 18px 20px; margin: 0 0 24px; display: flex; flex-direction: column; gap: 14px; background: var(--bam-surface); }
.bam-lbox-badges { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.bam-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 11px; font-size: .82rem; font-weight: 700; }
.bam-badge.is-ver { background: #E3EEEC; color: #0A4240; }
.bam-badge.is-ex { background: #EEF1F7; color: #233A6B; }
.bam-lbox-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: .95rem; }
.bam-lbox-dl dt { color: var(--bam-muted); margin: 0; }
.bam-lbox-dl dd { margin: 0; }
.bam-lbox-k { font-size: .82rem; font-weight: 700; color: var(--bam-muted); }
.bam-mini { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 8px; padding: 0; }
.bam-mini li { margin: 0; font-size: .8rem; padding: 5px 10px; border-radius: 999px; background: var(--bam-panel); color: var(--bam-muted); }
.bam-mini li.is-on { background: var(--bam-accent); color: #fff; font-weight: 700; }
.bam-lbox-chain a { font-weight: 700; font-size: .92rem; }
.bam-lbox-ask summary { list-style: none; display: inline-flex; align-items: center; cursor: pointer; }
.bam-lbox-ask summary::-webkit-details-marker { display: none; }
.bam-lbox-ask[open] summary { margin-bottom: 10px; }

/* strip, export path, mentors */
.bam-strip { border-top: 1px solid var(--bam-line); border-bottom: 1px solid var(--bam-line); }
.bam-strip-in { max-width: 1120px; margin: 0 auto; padding: 22px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 28px; font-size: .95rem; }
.bam-strip-in span { display: flex; gap: 10px; align-items: flex-start; }
.bam-strip-in b { color: var(--bam-accent); font-size: 1.25rem; line-height: 1.2; white-space: nowrap; }
.bam-path { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.bam .bam-path-step { border: 1px solid var(--bam-line); border-radius: 14px; padding: 18px; text-decoration: none; color: var(--bam-ink); display: flex; flex-direction: column; gap: 6px; }
.bam-path-n { font-size: 1.9rem; color: var(--bam-accent); line-height: 1; }
.bam-path-step span { font-size: .9rem; color: var(--bam-muted); }
.bam-mentors { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.bam .bam-mentor { background: var(--bam-panel); border-radius: 14px; padding: 18px; text-decoration: none; color: var(--bam-ink); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bam-mentor span:last-child { font-size: .92rem; color: var(--bam-muted); }

/* ---------- companion map ---------- */
.bam-mm-inline { margin: 20px 0; }
.bam-mm-title { font-size: 1rem; margin-bottom: 8px; }
.bam-mm { position: relative; height: 440px; background: var(--bam-water); border-radius: 16px; overflow: hidden; }
.bam-mm-svg { width: 100%; height: 100%; display: block; }
.bam-mm-land { fill: var(--bam-land); stroke: var(--bam-coast); stroke-linejoin: round; }
.bam-mm-route { fill: none; stroke: #C6362B; stroke-linecap: round; opacity: .85; }
.bam-mm-pin { cursor: pointer; }
.bam-mm-card { position: absolute; left: 12px; right: 12px; bottom: 12px; max-width: 340px; background: var(--bam-surface); border: 1px solid var(--bam-line); border-radius: 12px; padding: 12px 40px 12px 14px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 10px 24px -12px rgba(16,42,51,.4); font-size: .92rem; }
.bam-mm-card[hidden] { display: none; }
.bam-mm-card b { font-size: 1.05rem; }
.bam-mm-tag { font-size: .78rem; font-weight: 700; }
.bam-mm-place { color: var(--bam-muted); }
.bam-mm-card a { font-weight: 700; margin-top: 4px; }
.bam .bam-mm-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--bam-muted); box-shadow: none; padding: 0; }
.bam-mm-legend { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 4px 10px; background: rgba(255,255,255,.92); border-radius: 8px; padding: 6px 10px; font-size: .75rem; font-weight: 600; width: max-content; max-width: calc(100% - 20px); }
.bam-mm-legend span { display: inline-flex; align-items: center; gap: 5px; }
.bam-mm-legend i { width: 10px; height: 10px; border-radius: 50%; }

/* pull-up drawer (posts) */
.bam-drawer { position: sticky; bottom: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; pointer-events: none; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.bam .bam-drawer-pill { pointer-events: auto; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--bam-line); background: var(--bam-surface); color: var(--bam-ink); font-weight: 700; font-size: .95rem; box-shadow: 0 8px 22px -10px rgba(16,42,51,.45); cursor: pointer; text-transform: none; letter-spacing: 0; }
.bam-drawer[data-open="1"] .bam-drawer-pill { display: none; }
.bam-drawer-panel { pointer-events: auto; width: 100%; max-width: 980px; background: var(--bam-surface); border: 1px solid var(--bam-line); border-radius: 18px 18px 0 0; box-shadow: 0 -12px 30px -14px rgba(16,42,51,.4); padding: 10px 12px 12px; }
.bam-drawer-panel[hidden] { display: none; }
.bam-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 8px; }
.bam .bam-drawer-x { width: 40px; height: 40px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: var(--bam-muted); box-shadow: none; }
.bam-drawer .bam-mm { height: 55vh; }

/* ---------- value chain on phones: colored dots ---------- */
.bam-step { border-top: 4px solid var(--sc, var(--bam-line)); }
.bam-step .bam-step-n { background: var(--sc, var(--bam-accent)); }
.bam-step.is-gap .bam-step-n { background: var(--bam-muted); }
.bam-dots { display: none; }
@media (max-width: 900px) {
	.bam-chain .bam-section { padding-top: 40px; padding-bottom: 96px; }
	.bam-chain-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; -webkit-overflow-scrolling: touch; }
	.bam-chain-tabs .bam-chip { flex: none; }
	.bam-chain .bam-mm-inline { margin: 0 0 14px; }
	.bam-chain .bam-mm { height: 300px; }
	.bam-chain .bam-section { display: flex; flex-direction: column; }
	.bam-chain .bam-mm-inline { order: 1; }
	.bam-chain .bam-flow { order: 2; }
	.bam-chain .bam-dots { order: 3; }
	.bam-chain .bam-buyers { order: 4; }
	.bam-flow { display: block; }
	.bam-flow .bam-step { display: none; }
	.bam-flow .bam-step.is-active { display: flex; }
	.bam-step::after { display: none; }
	.bam-dots { display: flex; position: sticky; bottom: 0; z-index: 30; justify-content: space-between; gap: 2px; margin: 14px -16px 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--bam-surface); border-top: 1px solid var(--bam-line); box-shadow: 0 -8px 20px -14px rgba(16,42,51,.35); }
	.bam-dots-line { position: absolute; left: 12%; right: 12%; top: 27px; height: 2px; background: var(--bam-line); }
	.bam .bam-dot { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; padding: 2px 0; cursor: pointer; color: var(--bam-muted); box-shadow: none; text-transform: none; letter-spacing: 0; }
	.bam-dot i { width: 30px; height: 30px; border-radius: 50%; background: var(--sc); color: #fff; font-style: normal; font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; border: 3px solid var(--bam-surface); box-shadow: 0 0 0 1px var(--bam-line); }
	.bam-dot.is-gap i { background: var(--bam-surface); color: var(--bam-muted); box-shadow: 0 0 0 2px var(--bam-line) inset, 0 0 0 1px var(--bam-line); border-style: dashed; }
	.bam-dot span { font-size: .68rem; line-height: 1.15; text-align: center; font-weight: 600; max-width: 70px; }
	.bam-dot[aria-pressed="true"] i { transform: scale(1.18); box-shadow: 0 0 0 2px var(--sc); }
	.bam-dot[aria-pressed="true"] span { color: var(--bam-ink); font-weight: 800; }
}
@media (max-width: 900px) {
	.bam-chain .bam-dots { flex-shrink: 0; align-items: flex-start; }
	.bam .bam-dot { flex: 1 1 0; height: auto; min-height: 62px; justify-content: flex-start; }
	.bam-dot i, .bam-dot span { flex-shrink: 0; }
}
@media (max-width: 900px) {
	.bam-chain .bam-mm-card { padding: 8px 36px 8px 12px; font-size: .85rem; }
	.bam-chain .bam-mm-card b { font-size: .95rem; }
	.bam-chain .bam-mm-legend { display: none; }
}

/* ---------- v1.7: chain filters, save, saved list ---------- */
.bam-cfilter { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; }
.bam-cfilter .bam-search { max-width: 420px; }
.bam-cfilter .bam-chip[aria-pressed="true"] { background: var(--bam-ink); color: var(--bam-surface); border-color: var(--bam-ink); }
.bam-biz { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.bam-biz-i { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 8px 0; border-top: 1px solid var(--bam-line); }
.bam-biz-i[hidden] { display: none; }
.bam-biz-i.is-you { background: #FFF4C9; border-radius: 8px; padding: 8px; margin: 0 -8px; border-top-color: transparent; }
.bam-biz-txt { min-width: 0; display: flex; flex-direction: column; font-size: .92rem; line-height: 1.3; }
.bam-biz-txt a { font-weight: 700; }
.bam-biz-txt span { color: var(--bam-muted); font-size: .8rem; }
.bam .bam-save { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--bam-line); background: var(--bam-surface); color: var(--bam-ink); font-size: .8rem; font-weight: 700; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0; }
.bam-save i { font-style: normal; font-size: 1rem; line-height: 1; color: #C9A227; }
.bam-save em { font-style: normal; }
.bam .bam-save[aria-pressed="true"] { background: #FFF4C9; border-color: #E8CF6A; }
.bam-step-none { font-size: .85rem; color: var(--bam-muted); }
.bam-step ul.bam-biz li a { font-weight: 700; }
.bam .bam-saved-pill { pointer-events: auto; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--bam-ink); color: #fff; font-weight: 700; font-size: .9rem; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(16,42,51,.5); text-transform: none; letter-spacing: 0; }
.bam-saved-pill b { display: inline-flex; min-width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 999px; background: #FFD43B; color: #102A33; margin-left: 4px; font-size: .8rem; }
.bam-saved-pill[hidden] { display: none; }
.bam-sv-list { list-style: none; margin: 4px 0 14px; padding: 0; display: flex; flex-direction: column; }
.bam-sv-list li { margin: 0; padding: 10px 0; border-top: 1px solid var(--bam-line); display: grid; grid-template-columns: 1fr auto; gap: 0 10px; align-items: center; }
.bam-sv-list li a { font-weight: 700; }
.bam-sv-list li span { grid-column: 1; color: var(--bam-muted); font-size: .85rem; }
.bam .bam-sv-rm, .bam-sv-rm { grid-column: 2; grid-row: 1 / span 2; border: 0; background: none; color: #B4483A; font-weight: 700; cursor: pointer; font-size: .85rem; min-height: 36px; }
.bam-sv-to { margin: 0 0 4px; font-size: .88rem; color: var(--bam-muted); }
.bam-saved-dlg h2 { margin: 0 0 4px; font-size: 1.3rem; }
@media (min-width: 901px) {
	.bam-chain .bam-dots { display: block; position: fixed; right: 24px; bottom: 24px; z-index: 40; pointer-events: none; background: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
	.bam-chain .bam-dots .bam-dot, .bam-chain .bam-dots-line { display: none; }
}
@media (max-width: 900px) {
	.bam-chain .bam-cfilter { order: 1; margin-bottom: 12px; }
	.bam-chain .bam-cfilter .bam-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
	.bam-chain .bam-cfilter .bam-chip { flex: none; }
	.bam-chain .bam-mm-inline { order: 0; }
	/* legible dot captions with room on both sides */
	.bam-chain .bam-dots { margin-left: -24px; margin-right: -24px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
	.bam-dots-line { left: 20%; right: 20%; top: 29px; }
	.bam .bam-dot span { font-size: .78rem; font-weight: 700; max-width: none; white-space: nowrap; color: var(--bam-ink); opacity: .75; }
	.bam .bam-dot[aria-pressed="true"] span { opacity: 1; }
	.bam .bam-saved-pill { position: absolute; right: 16px; top: -58px; }
}
@media (max-width: 900px) {
	.bam-chain .bam-biz-i, .bam-chain .bam-step { scroll-margin-bottom: 150px; }
}
@media (max-width: 900px) {
	/* Saved: a slim row inside the dot bar, so it never covers a supplier */
	.bam-chain .bam-dots { flex-wrap: wrap; row-gap: 8px; }
	.bam .bam-saved-pill { position: static; order: -1; flex: 1 1 100%; min-height: 38px; border-radius: 10px; font-size: .88rem; box-shadow: none; }
	.bam-saved-pill:not([hidden]) ~ .bam-dots-line { top: 75px; }
}

/* ---------- v1.9: Sustina-style map ---------- */
.bam-mapwrap { touch-action: pan-y; }
.bam-hint2 { position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%); background: rgba(16,42,51,.88); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: .95rem; opacity: 0; pointer-events: none; transition: opacity .2s; text-align: center; max-width: 80%; }
.bam-hint2.on { opacity: 1; }
.bam-cl { cursor: pointer; }
.bam-chip-n { font-weight: 800; color: var(--bam-muted); margin-left: 2px; }
.bam .bam-chip[aria-pressed="true"] .bam-chip-n { color: inherit; opacity: .8; }
.bam-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.bam-selects label { display: flex; flex-direction: column; gap: 4px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bam-muted); }
.bam-selects select { min-height: 44px; border: 1.5px solid var(--bam-ink); border-radius: 999px; padding: 0 14px; font: inherit; font-size: .95rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--bam-ink); background: var(--bam-surface); }
.bam-lv { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.bam-lv em { font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8C3B5A; margin-right: 4px; }
.bam-lv i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #CFC6B0; background: #FBF7EC; }
.bam-lv i.on { background: #8C3B5A; border-color: #8C3B5A; }
@media (max-width: 860px) {
	/* list as cards */
	.bam .bam-list button { border: 1.5px solid var(--bam-ink); border-radius: 14px; margin: 0 16px 10px; width: calc(100% - 32px); padding: 14px; }
	.bam-list { padding-top: 6px; }
}

/* ---------- planner ---------- */
.bam-plan-in { padding-top: 40px; }
.bam-plan-k { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--bam-accent); margin-bottom: 6px; }
.bam-plan-where { display: flex; flex-direction: column; gap: 6px; max-width: 420px; margin: 0 0 18px; font-weight: 700; }
.bam-plan-where input { min-height: 48px; border: 1.5px solid var(--bam-ink); border-radius: 12px; padding: 0 14px; font: inherit; font-weight: 600; }
.bam-ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.bam .bam-idea { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1.5px solid var(--bam-ink); border-radius: 16px; background: var(--bam-surface); color: var(--bam-ink); cursor: pointer; font: inherit; box-shadow: 0 3px 0 var(--bam-ink); transition: transform .1s; }
.bam .bam-idea:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--bam-ink); }
.bam-idea b { font-size: 1.1rem; line-height: 1.25; }
.bam-idea-chain { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bam-accent); }
.bam-idea-n { font-size: .85rem; color: var(--bam-muted); }
.bam-plan-more { margin-top: 16px; color: var(--bam-muted); }
.bam .bam-plan-back, .bam .bam-plan-reset { background: none; border: 0; padding: 8px 0; color: var(--bam-accent); font-weight: 700; cursor: pointer; font: inherit; font-weight: 700; }
.bam-plan-note { background: #FFF4C9; border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.bam-levels { list-style: none; display: flex; justify-content: space-between; gap: 4px; margin: 18px 0 10px; padding: 0; position: relative; }
.bam-levels::before { content: ""; position: absolute; left: 8%; right: 8%; top: 17px; height: 3px; background: var(--bam-line); z-index: 0; }
.bam-levels li { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; font-size: .82rem; font-weight: 700; color: var(--bam-muted); }
.bam-levels li i { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; background: var(--bam-surface); border: 2.5px solid var(--bam-line); color: var(--bam-muted); }
.bam-levels li.is-done i { background: var(--bam-accent); border-color: var(--bam-accent); color: #fff; }
.bam-levels li.is-now i { background: #FFD43B; border-color: var(--bam-ink); color: var(--bam-ink); transform: scale(1.15); }
.bam-levels li.is-now { color: var(--bam-ink); }
.bam-prog { height: 10px; border-radius: 999px; background: var(--bam-panel); overflow: hidden; border: 1px solid var(--bam-line); }
.bam-prog span { display: block; height: 100%; background: var(--bam-accent); border-radius: 999px; transition: width .3s; }
.bam-prog-t { font-size: .88rem; color: var(--bam-muted); margin: 6px 0 16px; }
.bam-plan-map .bam-mm { height: 380px; }
.bam-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin: 18px 0; }
.bam-plan-card { border: 1.5px solid var(--bam-ink); border-top: 6px solid var(--pc); border-radius: 16px; padding: 16px; background: var(--bam-surface); scroll-margin-top: 80px; }
.bam-plan-card h2 { font-size: 1.15rem; margin: 0 0 4px; }
.bam-plan-sub { font-size: .88rem; color: var(--bam-muted); margin: 0 0 8px; }
.bam-plan-card ul { list-style: none; margin: 8px 0 12px; padding: 0; }
.bam-plan-card li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--bam-line); margin: 0; }
.bam-plan-who { display: flex; flex-direction: column; min-width: 0; }
.bam-plan-who a { font-weight: 700; }
.bam-plan-who small { color: var(--bam-muted); font-size: .8rem; }
.bam-plan-empty { font-size: .9rem; color: var(--bam-muted); }
.bam-plan-ind { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.bam-plan-chip { display: flex; flex-direction: column; background: #FBEDEA; border-radius: 10px; padding: 6px 10px; }
.bam-plan-chip b { font-size: .85rem; }
.bam-plan-chip small { font-size: .74rem; color: var(--bam-muted); }
.bam-plan-ask { margin-top: 10px; }
.bam-plan-steps { margin: 24px 0 8px; }
.bam-lvl { border: 1.5px solid var(--bam-line); border-radius: 14px; margin-bottom: 10px; background: var(--bam-surface); }
.bam-lvl.is-now { border-color: var(--bam-ink); box-shadow: 0 3px 0 var(--bam-ink); }
.bam-lvl summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; }
.bam-lvl summary::-webkit-details-marker { display: none; }
.bam-lvl summary span { font-size: .85rem; color: var(--bam-muted); }
.bam-lvl.is-done summary b::after { content: " ✓"; color: var(--bam-accent); }
.bam-lvl ul { list-style: none; margin: 0; padding: 0 16px 12px; }
.bam-lvl li { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--bam-line); margin: 0; }
.bam-lvl label { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.bam-lvl input[type=checkbox] { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--bam-accent); flex: none; }
.bam .bam-lvl-go { flex: none; font-size: .82rem; font-weight: 700; border: 1px solid var(--bam-line); border-radius: 999px; padding: 6px 12px; background: var(--bam-surface); color: var(--bam-accent); cursor: pointer; text-decoration: none; }
.bam-lvl-lock { padding: 0 16px 14px; margin: 0; color: var(--bam-muted); font-size: .9rem; }
.bam-lvl-res { margin: 0 16px 14px; padding: 12px 14px; background: var(--bam-panel); border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.bam-lvl-res a { font-weight: 700; }
.bam-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: #102A33; color: #fff; padding: 14px 20px; border-radius: 14px; font-weight: 700; opacity: 0; transition: all .25s; z-index: 9999; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); }
.bam-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 600px) { .bam-levels li span { font-size: .72rem; } .bam-levels li i { width: 32px; height: 32px; } .bam-plan-map .bam-mm { height: 320px; } }
.bam a.bam-idea { text-decoration: none; }

.bam-selects label, .bam-selects select { min-width: 0; width: 100%; }

/* =========================================================
   v2.0 Business Atlas visual identity
   Soft surfaces, sentence-case labels, teal + sand, roomy spacing.
   ========================================================= */
.bam { --bam-sand: #F5F1E8; --bam-soft: #F4F7F6; --bam-r: 18px; }
.bam-section { padding: 56px 20px; }
.bam .bam-big { letter-spacing: -0.02em; }
.bam-lede { font-size: 1.05rem; line-height: 1.6; }

/* labels: sentence case, no letter-spacing */
.bam-plan-k, .bam-idea-chain, .bam-smart-k, .bam-next-k, .bam-from-k { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 700; color: var(--bam-accent); }
.bam-selects label { text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 700; color: var(--bam-muted); }
.bam-selects select { border: 1px solid var(--bam-line); border-radius: 12px; background: var(--bam-soft); }

/* cards: no heavy outlines */
.bam .bam-idea { border: 1px solid var(--bam-line); background: var(--bam-surface); border-radius: var(--bam-r); box-shadow: 0 1px 2px rgba(16,42,51,.06), 0 8px 24px -16px rgba(16,42,51,.25); padding: 18px 18px 16px; }
.bam .bam-idea:hover { border-color: var(--bam-accent); }
.bam .bam-idea:active { transform: scale(.99); box-shadow: 0 1px 2px rgba(16,42,51,.06); }
.bam-plan-card { border: 1px solid var(--bam-line); border-top: 0; border-radius: var(--bam-r); padding: 20px; box-shadow: 0 8px 24px -18px rgba(16,42,51,.3); position: relative; overflow: hidden; }
.bam-plan-card::before { content: ""; position: absolute; left: 20px; top: 0; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--pc); }
.bam-plan-card h2 { margin-top: 6px; }
.bam-lvl { border: 1px solid var(--bam-line); border-radius: var(--bam-r); }
.bam-lvl.is-now { border-color: var(--bam-accent); box-shadow: 0 0 0 3px rgba(15,92,90,.12); }
.bam-levels li.is-now i { background: var(--bam-accent); border-color: var(--bam-accent); color: #fff; box-shadow: 0 0 0 5px rgba(15,92,90,.15); }
@media (max-width: 860px) {
	.bam .bam-list button { border: 1px solid var(--bam-line); border-radius: var(--bam-r); box-shadow: 0 6px 18px -14px rgba(16,42,51,.35); padding: 16px; }
}

/* stage meter: three short bars, not dots */
.bam-lv { gap: 3px; }
.bam-lv em { text-transform: none; letter-spacing: 0; font-size: .78rem; font-weight: 700; color: var(--bam-accent); margin-right: 6px; }
.bam-lv i { width: 16px; height: 6px; border-radius: 3px; border: 0; background: #DCE6E5; }
.bam-lv i.on { background: var(--bam-accent); border: 0; }

/* buttons: rounded rectangles */
.bam .bam-btn, .bam-top-cta { border-radius: 12px; }

/* where are you now */
.bam-from { margin: 0 0 22px; }
.bam-from-k { display: block; margin-bottom: 8px; }
.bam-from-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bam .bam-from-b { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--bam-line); background: var(--bam-soft); color: var(--bam-ink); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
.bam .bam-from-b[aria-checked="true"] { background: var(--bam-accent); border-color: var(--bam-accent); color: #fff; }

/* Road to export */
.bam-smart { background: var(--bam-sand); border-radius: 22px; padding: 22px 20px; margin: 18px 0; }
.bam-smart-head { display: flex; gap: 16px; align-items: center; }
.bam-smart-head h2 { font-size: 1.25rem; margin: 2px 0 4px; }
.bam-smart-head p { margin: 0; font-size: .9rem; color: var(--bam-muted); }
.bam-ring { --p: 0; flex: none; width: 84px; height: 84px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(closest-side, var(--bam-sand) 72%, transparent 73% 100%), conic-gradient(var(--bam-accent) calc(var(--p) * 1%), #DCE3DD 0); }
.bam-ring b { font-size: 1.3rem; line-height: 1; }
.bam-ring small { font-size: .72rem; color: var(--bam-muted); }
.bam-mkts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 16px 0 14px; font-size: .9rem; font-weight: 700; }
.bam .bam-mkt { min-height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid #D9D2C1; background: #FFFDF8; color: var(--bam-ink); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.bam .bam-mkt[aria-pressed="true"] { background: var(--bam-ink); color: #fff; border-color: var(--bam-ink); }
.bam-next { background: var(--bam-surface); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.bam-next b { font-size: 1.05rem; line-height: 1.3; }
.bam-next p { margin: 0; font-size: .92rem; color: var(--bam-muted); }
.bam-next .bam-next-who { color: var(--bam-ink); margin-top: 4px; }
.bam-next-who a { font-weight: 700; }
.bam .bam-next-done { align-self: flex-start; margin-top: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--bam-accent); background: transparent; color: var(--bam-accent); font: inherit; font-weight: 700; cursor: pointer; }
.bam-tips { list-style: none; margin: 14px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bam-tips li { margin: 0; padding-left: 26px; position: relative; font-size: .92rem; }
.bam-tips li::before { content: "💡"; position: absolute; left: 0; top: 0; }
.bam-reqs { margin-top: 10px; }
.bam-reqs summary { cursor: pointer; font-weight: 700; color: var(--bam-accent); padding: 8px 0; }
.bam-reqs ul { list-style: none; margin: 6px 0; padding: 0; }
.bam-reqs li { margin: 0; padding: 10px 0; border-top: 1px solid #E5DECC; }
.bam-reqs label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.bam-reqs input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bam-accent); flex: none; }
.bam-reqs span { display: flex; flex-direction: column; }
.bam-reqs small { color: var(--bam-muted); font-size: .84rem; }
.bam-reqs-note { font-size: .8rem; color: var(--bam-muted); margin: 6px 0 0; }

/* Ask Atlas */
.bam-atlas { border-radius: 22px; padding: 22px 20px; margin: 0 0 18px; background: linear-gradient(160deg, #EAF3F1, #F7FAF9); border: 1px solid #D6E7E3; display: flex; flex-direction: column; gap: 10px; }
.bam-atlas h2 { margin: 0; font-size: 1.2rem; }
.bam-atlas-sug { display: flex; flex-wrap: wrap; gap: 6px; }
.bam .bam-atlas-chip { border: 1px solid #CFE2DD; background: #fff; color: var(--bam-ink); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .86rem; cursor: pointer; text-align: left; }
.bam-atlas textarea { width: 100%; border: 1px solid #CFE2DD; border-radius: 12px; padding: 12px; font: inherit; font-size: 1rem; background: #fff; }
.bam-atlas .bam-btn { align-self: flex-start; }
.bam-atlas-out { background: #fff; border-radius: 14px; padding: 14px 16px; border: 1px solid #CFE2DD; }
.bam-atlas-out p { margin: 0 0 8px; }
.bam-atlas-out small { color: var(--bam-muted); }
