/* EDI Commerce page (copy v1.0) */
.ed-msg { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 12px; border-radius: 12px; background: var(--green-100); color: var(--green-800); }
.ed-msg .ico { width: 20px; height: 20px; flex: none; }
.ed-msg b { display: block; font-size: 13px; font-weight: 600; color: var(--green-900, #123620); }
.ed-msg span { display: block; margin-top: 2px; font-size: 10.5px; color: #4e6553; }
.ed-rows { margin-bottom: 12px; }
.ed-rows em { font-style: normal; padding: 2px 8px; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-size: 10.5px; font-weight: 600; }
.ed-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 8px; }
.ed-flow li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: var(--gray-50); border: 1px solid #e6e9e5; font-size: 10.5px; font-weight: 600; color: var(--ink-2); }
.ed-flow li:last-child { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.ed-flow li + li::before { content: "→"; margin-right: 4px; color: var(--green-500); font-weight: 700; }
.ed-flow li + li { background: none; border: 0; padding-left: 0; }
.ed-flow li + li span, .ed-flow li + li { color: var(--ink-2); }
.ed-flow li:last-child { padding-left: 9px; background: var(--green-800); color: #fff; }
.ed-flow li:last-child::before { color: #9be36a; }
/* channels */
.ed-ch { display: grid; gap: 16px; }
.ed-ch__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ed-ch__card { display: block; padding: 22px; border-radius: var(--r-md); background: #fff; color: inherit; transition: transform .2s var(--ease); }
a.ed-ch__card:hover { transform: translateY(-2px); }
.ed-ch__card--on { box-shadow: inset 0 0 0 2px var(--green-500); }
.ed-ch__card .cap-feat__k { margin-top: 14px; }
.cap-sec .ed-ch__card h3 { margin-top: 6px; font-size: 17px; }
.cap-sec .ed-ch__card h3 + p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.ed-ch__env { padding: 22px 24px; border-radius: var(--r-md); background: var(--green-800); color: #fff; }
.cap-sec .ed-ch__env h3 { font-size: 18px; font-weight: 600; color: #fff; }
.cap-sec .ed-ch__env h3 + p { margin-top: 4px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.ed-ch__env ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; margin-top: 14px; }
.ed-ch__env li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.ed-ch__env .ico { flex: none; width: 15px; height: 15px; color: #9be36a; }
/* architecture */
.ed-arch { position: relative; display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.ed-arch li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 22px; border-radius: var(--r-md); background: #fff; }
.ed-arch li + li::before { content: ""; position: absolute; left: 41px; top: -15px; width: 2px; height: 16px; background: var(--green-500); }
.ed-arch li.is-core { background: var(--green-800); color: #fff; }
.ed-arch li.is-core .cap-feat__ic { background: rgba(255, 255, 255, .14); color: #9be36a; }
.cap-sec .ed-arch li.is-core h3 { color: #fff; }
.cap-sec .ed-arch h3 + p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.cap-sec .ed-arch li.is-core h3 + p { color: rgba(255, 255, 255, .86); }
.ed-arch__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ed-arch__tags i { font-style: normal; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 12px; font-weight: 600; color: #fff; }
@media (max-width: 900px) { .ed-ch__cards, .ed-ch__env ul { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ed-arch li { grid-template-columns: 1fr; gap: 10px; padding: 18px; } .ed-arch li + li::before { left: 38px; } }

/* ===== Designer pass (Nov 2026), scoped to .pg-ed ===== */
.pg-ed .cap-h2 { font-size: 36px; line-height: 1.2; font-weight: 500; color: var(--ink); }
.pg-ed .cap-row__p, .pg-ed .cap-head p, .pg-ed .ed-arch-grid__head p { font-size: 16px; font-weight: 400; }
.pg-ed .cap-head--center .cap-h2 { max-width: none; }
/* hero: mockup slightly smaller */
.pg-ed .cap-hero__media--html .dm-stage { width: min(100%, 400px); }
.pg-ed .cap-hero__media--html { padding-inline: 44px; }
/* control cards: circular icons */
.pg-ed .cap-feat__ic { border-radius: 50%; }
/* steps: white numbers */
.pg-ed .ed-steps .cap-num { color: #fff !important; }
.pg-ed .ed-steps h3 { font-size: 16px; font-weight: 500; }
.pg-ed .cap-sec .ed-steps h3 + p { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--muted); }
/* architecture: copy left, items right, no card backgrounds or connector */
.pg-ed .ed-arch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.pg-ed .ed-arch-grid__head p { margin-top: 16px; line-height: 1.5; color: var(--muted); }
.pg-ed .ed-arch { gap: 28px; max-width: none; margin: 0; }
.pg-ed .ed-arch li { padding: 0; border-radius: 0; background: none; }
.pg-ed .ed-arch li + li::before { display: none; }
/* CTA: two-line heading, subtle lift off the background */
.pg-ed .cap-cta h2 { max-width: 560px; }
.pg-ed .cap-cta { box-shadow: 0 14px 34px -24px rgba(25, 70, 41, .18), 0 1px 4px rgba(25, 70, 41, .04); }
@media (max-width: 900px) { .pg-ed .ed-arch-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .pg-ed .cap-h2 { font-size: 28px; } .pg-ed .cap-hero__media--html { padding-inline: 20px; } }
