.merchant-notice {display:flex;align-items:flex-start;gap:16px;padding:18px clamp(24px,3.5vw,48px);background:#e8dcff;color:#322542;font:500 .84rem/1.5 "Onest Local",sans-serif}
.merchant-notice strong {flex:none;border-radius:7px;background:#6347e9;color:#fff;padding:5px 8px;font-size:.72rem;letter-spacing:.04em}
.merchant-notice p {max-width:95ch;margin:0}
.merchant-main {max-width:1180px;padding:48px clamp(24px,4vw,56px) 64px;margin:auto}
.merchant-heading {margin-bottom:32px;max-width:78ch}
.merchant-heading h1 {margin:0 0 16px;font-family:var(--font-display);font-size:clamp(2.4rem,4.2vw,3.6rem);font-weight:700;line-height:1.02;letter-spacing:-.04em;text-wrap:balance}
.merchant-heading p {margin:8px 0;line-height:1.55}
.merchant-muted,.merchant-terms {color:#51554f;font-size:.88rem;line-height:1.55}
.case-panel {display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:32px;padding:30px 32px;margin-bottom:32px;border-radius:24px;background:#ecffc0;color:#25330e}
.case-panel h2 {max-width:24ch;margin:0 0 12px;font-size:1.55rem;line-height:1.15;letter-spacing:-.025em}
.case-panel p {margin:0;max-width:64ch;font-size:.86rem;line-height:1.55}
.case-panel__preview {padding-left:28px;border-left:1px solid #c1d69b}
.case-panel__preview>span {font-size:.78rem;font-weight:600}
.case-panel__preview>strong {display:block;margin:3px 0;font-size:3.3rem;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.case-panel__preview>b {display:block;margin-bottom:10px;font-size:.9rem}
.case-rules {margin-top:18px;font-size:.84rem}
.case-rules summary {width:fit-content;min-height:30px;font-weight:700;cursor:pointer;text-underline-offset:4px}
.case-rules ul {margin:8px 0 0;padding-left:20px}
.merchant-tariffs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.merchant-tariff {display:flex;flex-direction:column;padding:26px 24px;background:#f1f0eb;border-radius:24px;min-width:0}
.merchant-tariff:nth-child(2) {background:#e8dcff;color:#322542}
.merchant-tariff:last-child {background:#ecffc0;color:#25330e}
.merchant-tariff--selected {outline:3px solid #6347e9;outline-offset:3px}
.merchant-tariff header {min-height:146px}
.merchant-tariff h2 {font-size:1.5rem;line-height:1.16;letter-spacing:-.025em;margin:0 0 12px}
.merchant-tariff header p {font-size:.84rem;line-height:1.5;margin:0}
.merchant-tariff__price {display:flex;flex-direction:column;gap:3px;margin:20px 0;font-size:.8rem}
.merchant-tariff__price strong {font:700 clamp(1.7rem,2.6vw,2.25rem)/1.1 var(--font-display);letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.merchant-tariff__contents {display:grid;gap:13px;margin:0 0 26px;padding:0;list-style:none;font-size:.84rem;font-weight:600;line-height:1.4}
.merchant-tariff__contents li {display:flex;align-items:flex-start;gap:8px}
.merchant-tariff__contents svg {width:16px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2}
.merchant-tariff footer {margin-top:auto}
.merchant-tariff__total {display:flex;flex-direction:column;gap:5px;font-size:.76rem;line-height:1.35;margin:0 0 16px}
.merchant-tariff__total strong {font-size:1.5rem;font-variant-numeric:tabular-nums}
.merchant-tariff .primary-action {display:flex;justify-content:center;min-height:48px;width:100%;font-size:.84rem}
.merchant-terms {margin:20px 0 0;max-width:75ch}
.merchant-closed {padding:24px;margin-top:28px;border-radius:18px;background:#f1f0eb}
.merchant-closed h2 {margin:0 0 8px;font-size:1.4rem;line-height:1.2}
.merchant-closed p {margin:0;font-size:.9rem}
.merchant-steps {margin:0 0 34px}
.merchant-steps ol {display:flex;flex-wrap:wrap;gap:5px;list-style:none;padding:0;margin:0}
.merchant-steps a {display:block;min-height:38px;padding:9px 14px;border-radius:999px;color:#51554f;background:#f1f0eb;text-decoration:none;font-size:.8rem;font-weight:600}
.merchant-steps [aria-current] a {background:#c9ff38;color:#25330e}
.merchant-task-layout {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);align-items:start;gap:40px}
.merchant-task h1 {font:700 clamp(2rem,3vw,3rem)/1.03 var(--font-display);letter-spacing:-.035em;margin:0 0 18px;text-wrap:balance}
.merchant-task>p {max-width:60ch;line-height:1.55;margin-bottom:20px}
.merchant-form {display:grid;gap:22px;margin-top:26px;max-width:540px}
.merchant-form label:not(.merchant-check) {display:block;font-size:.84rem;font-weight:700;margin-bottom:8px}
.merchant-form input:not([type=checkbox]):not([type=hidden]) {width:100%;min-height:52px;padding:13px 16px;border:1px solid #b7b9af;border-radius:10px;background:#fffefa;color:#171918;font:inherit;caret-color:#6347e9}
.merchant-form input[aria-invalid] {border-color:#9d2d35}
.merchant-name-fields {display:grid;grid-template-columns:1fr 1fr;gap:16px}
.merchant-form .primary-action {justify-self:start;min-height:48px;border:0;cursor:pointer}
.merchant-form .merchant-code {max-width:270px;font-size:1.6rem!important;font-variant-numeric:tabular-nums;letter-spacing:.2em}
.merchant-check {display:flex;align-items:flex-start;gap:12px;font-size:.86rem;line-height:1.6}
.merchant-check input {width:20px;height:20px;margin-top:3px;flex:none;accent-color:#6347e9}
.merchant-check a,.merchant-task>a,.merchant-local-nav>a:not([class]) {color:#43339c;text-underline-offset:4px}
.merchant-order {padding:30px;border-radius:24px;background:#f1f0eb}
.merchant-order h2 {margin:0 0 26px;font-size:1.6rem;line-height:1.16;letter-spacing:-.025em}
.merchant-order dl {display:grid;gap:14px;margin:0}
.merchant-order dl>div {display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:.82rem;line-height:1.4}
.merchant-order dt {color:#51554f}
.merchant-order dd {margin:0;text-align:right;font-weight:700}
.merchant-order__total {padding-top:18px;margin-top:5px;border-top:1px solid #d6d8cf}
.merchant-order__total dd {font-size:1.7rem;white-space:nowrap;letter-spacing:-.03em}
.merchant-order>p {margin:20px 0 0;font-size:.8rem;color:#51554f;line-height:1.5}
.merchant-order>ul {padding-left:18px;display:grid;gap:8px;font-size:.8rem;margin:24px 0 0}
.merchant-local-nav {display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
.merchant-return {margin-top:28px}
.merchant-error {padding:16px 20px;border-radius:12px;background:#ffe0e0;color:#9d2d35;font-size:.88rem;line-height:1.5;margin:16px 0}
.merchant-payment {background:#ecffc0;border-radius:24px;padding:30px;margin:28px 0;color:#25330e}
.merchant-payment svg {width:56px;height:56px;fill:none;stroke:currentColor;stroke-width:2}
.merchant-payment h2 {font-size:2.5rem;line-height:1.1;margin:20px 0 12px;font-variant-numeric:tabular-nums;letter-spacing:-.035em}
.merchant-payment p {font-size:.9rem;margin:0;max-width:48ch;line-height:1.5}
.merchant-success-mark {display:grid;place-items:center;width:72px;height:72px;border-radius:24px;background:#c9ff38;margin-bottom:28px}
.merchant-success-mark svg {width:44px;height:44px;fill:none;stroke:#25330e;stroke-width:3}
.merchant-heading--cabinet h1 {font-size:2.2rem;margin-bottom:12px}
.merchant-modules .learning-module__copy p {font-size:.82rem;line-height:1.5}
.merchant-upgrades {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}
.merchant-upgrades article {padding:28px;background:#e8dcff;border-radius:24px;color:#322542}
.merchant-upgrades h3 {font-size:1.4rem;line-height:1.2;margin:0 0 12px}
.merchant-lesson-list {padding:0;margin:28px 0;list-style:none;display:grid;gap:12px}
.merchant-lesson-list li {display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:20px;align-items:center;background:#f1f0eb;border-radius:18px;padding:22px}
.merchant-lesson-list li>span {font-size:1.3rem;font-weight:700;color:#51554f}
.merchant-lesson-list h2 {font-size:1.15rem;line-height:1.3;margin:0}
.merchant-lesson-list p {grid-column:2/-1;font-size:.84rem;margin:0;color:#51554f}
.merchant-material-placeholder {display:grid;place-items:center;min-height:260px;padding:40px;background:#202421;color:#fff;border-radius:24px;margin:28px 0;text-align:center}
.merchant-material-placeholder svg {width:60px;height:60px;fill:none;stroke:#c9ff38;stroke-width:1.8}
.merchant-material-placeholder p {max-width:54ch}
.merchant-shell ::selection {background:#c9ff38;color:#171918}
.merchant-shell a:focus-visible,.merchant-shell button:focus-visible,.merchant-shell input:focus-visible,.merchant-shell summary:focus-visible {outline:3px solid #6347e9;outline-offset:4px}
.merchant-shell .primary-action[disabled] {background:#51554f;cursor:wait}
@media (max-width:900px) {.merchant-main{padding:32px 24px 48px}.merchant-tariffs{grid-template-columns:1fr}.merchant-tariff header{min-height:0}.merchant-task-layout{grid-template-columns:1fr}.case-panel{grid-template-columns:1fr}.case-panel__preview{padding:22px 0 0;border-left:0;border-top:1px solid #c1d69b}.merchant-upgrades{grid-template-columns:1fr}.merchant-notice{padding:18px 24px}}
@media (max-width:560px) {.merchant-notice{gap:10px;padding:16px;font-size:.76rem}.merchant-main{padding:28px 16px 40px}.merchant-name-fields{grid-template-columns:1fr}.case-panel{padding:24px}.merchant-order{padding:24px}.merchant-lesson-list li{grid-template-columns:24px minmax(0,1fr);gap:12px}.merchant-lesson-list a{grid-column:2}.merchant-shell .course-topbar{padding:14px 16px;gap:12px}.merchant-shell .course-topbar__actions{flex-wrap:wrap}}
@media (prefers-reduced-motion:reduce) {.merchant-shell{animation:none}.merchant-shell *{scroll-behavior:auto}}

/* Demo offers carry two real navigation actions; grow to fit the approved content. */
.merchant-modules .learning-module {height:auto;min-height:260px}
.merchant-modules .learning-module--addon {min-height:340px}
.merchant-modules .learning-module__copy {min-height:0}
.merchant-modules .learning-module__copy h3,.merchant-modules .learning-module__copy p {display:block;overflow:visible;-webkit-line-clamp:unset}
.merchant-shell .learning-hero__identity h2 {font:700 clamp(1.8rem,3vw,2.7rem)/1.03 var(--font-display);letter-spacing:-.035em;margin:22px 0;text-wrap:balance}
.merchant-shell .learning-hero__access {font-size:.8rem;line-height:1.5}

.merchant-shell a.primary-action,.merchant-shell a.primary-action:visited {color:#fff}

/* Keep the demonstration on the same course layout and semantic color system. */
.merchant-shell .learning-hero__next .primary-action,.merchant-shell .learning-hero__next .primary-action:visited {color:var(--ink)}
.merchant-upgrade-cards .upgrade-card__module-copy {gap:9px}
.merchant-upgrade-cards .upgrade-card__module-copy strong {font-size:1rem}
.merchant-upgrade-cards .upgrade-card__module-copy span {max-width:54ch;line-height:1.5}
.merchant-upgrade-cards .upgrade-card__module-copy .demo-addon-action {width:fit-content}
.merchant-modules .learning-module__progress {margin-top:auto}
.merchant-modules .learning-module__progress .progress-track {margin-top:12px}

/* A tariff responds to the same purchase action on hover and keyboard focus. */
.merchant-tariff {transition:transform 220ms cubic-bezier(.16,1,.3,1),box-shadow 220ms cubic-bezier(.16,1,.3,1)}
@media (hover:hover) {.merchant-tariff:hover {transform:translateY(-5px);box-shadow:0 12px 26px rgba(22,26,17,.12)}}
.merchant-tariff:focus-within {transform:translateY(-5px);box-shadow:0 12px 26px rgba(22,26,17,.12)}
@media (prefers-reduced-motion:reduce) {.merchant-tariff {transition:none}.merchant-tariff:hover,.merchant-tariff:focus-within {transform:none}}

/* Checkout181: related actions share one row; successful thanks has one column. */
.checkout-actions {display:flex;align-items:center;gap:12px;margin-top:4px}
.merchant-form .checkout-actions .primary-action,.checkout-actions .secondary-action {display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;text-decoration:none;white-space:nowrap}
.merchant-form .checkout-actions .primary-action {flex:1 1 auto}
.checkout-actions .secondary-action {flex:0 0 auto;padding:12px 22px;background:#f1f0eb;color:#171918}
.merchant-task-layout--thanks,.merchant-task-layout:not(:has(> .merchant-order)) {grid-template-columns:minmax(0,1fr)}
.merchant-task-layout--thanks .merchant-task,.merchant-task-layout:not(:has(> .merchant-order)) .merchant-task {max-width:700px}
.merchant-task .thanks-start {margin:0 0 24px;color:#51554f}
.merchant-task .thanks-start strong {color:#171918;font-variant-numeric:tabular-nums}
.merchant-task .thanks-instruction {max-width:48ch;margin-bottom:28px}

/* Bonus183 stays distinct from the learning module list in every tariff. */
.tariff-bonus-group {margin:0 0 26px;padding-top:18px;border-top:1px solid currentColor;color:inherit}
.tariff-bonus-group h3 {margin:0 0 12px;font-size:.9rem;line-height:1.3}
.tariff-bonus-group ul {display:grid;gap:12px;margin:0;padding:0;list-style:none}
.tariff-bonus-group li {display:flex;align-items:flex-start;gap:10px;font-size:.82rem;font-weight:600;line-height:1.5}
.tariff-bonus-group .bonus-number {padding:4px 7px;font-size:.68rem}
