/* Accepted compact learning card and native access dialog. */
:is(body.home-view #main .home-services,.workflow-services) .course-option {
  --co-accent:#4166d8; --co-text:#29374d; --co-muted:#768397; --co-surface:#fff;
  display:flex; flex-direction:column; align-items:stretch; justify-content:space-between;
  box-sizing:border-box; height:184px; min-height:184px; min-width:0; padding:16px;
  gap:12px; border:1px solid #e0e6ef; border-radius:14px; background:var(--co-surface);
  color:var(--co-text); font:inherit; text-align:left; cursor:default;
  box-shadow:0 3px 10px #29374d05; transform:none;
}
:is(body.home-view #main .home-services,.workflow-services) .course-option:hover {
  color:var(--co-text); background:var(--co-surface); border-color:#d3dce9; transform:none; box-shadow:0 3px 10px #29374d05;
}
.course-option .co-body { flex:1 1 auto; min-height:0; min-width:0; }
.course-option h2 { margin:0; color:inherit; font-size:15px; line-height:22px; font-weight:650; white-space:nowrap; letter-spacing:0; }
.course-option .co-platform { color:var(--co-muted); font-size:11px; line-height:18px; white-space:nowrap; }
.course-option .co-description { margin:12px 0 0; color:var(--co-muted); font-size:12px; line-height:18px; }
.course-option .co-heading,.course-option .co-brand { display:flex; align-items:center; gap:8px; min-width:0; }
.course-option .co-heading { justify-content:space-between; gap:6px; }
.course-option .co-icon { display:grid; place-items:center; flex:0 0 auto; width:30px; height:34px; color:var(--co-accent); }
body .course-option .co-icon svg { display:block; width:26px; height:26px; fill:currentColor; stroke:none; }
.course-option .co-price { display:flex; align-items:baseline; flex:0 0 auto; gap:3px; margin:0; color:var(--co-accent); white-space:nowrap; }
.course-option .co-price strong { font-family:Arial,sans-serif; font-size:32px; line-height:38px; font-weight:650; letter-spacing:-1.5px; }
.course-option .co-price>span { font-size:11px; line-height:18px; font-weight:400; }
.course-option .co-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; width:100%; }
.course-option .co-actions>* { display:flex; align-items:center; justify-content:center; gap:6px; box-sizing:border-box; min-width:0; height:44px; margin:0; padding:0 5px; border:1px solid transparent; border-radius:8px; font:inherit; font-size:12px; font-weight:600; line-height:18px; white-space:nowrap; text-decoration:none; cursor:pointer; transition:background-color 150ms ease,border-color 150ms ease; }
.course-option .co-start { color:#fff; background:#4166d8; }
.course-option .co-start:hover { background:#3456c4; }
.course-option :is(button,a):focus-visible { outline:3px solid #94a9ef; outline-offset:3px; }
.course-option .co-start span { font-size:15px; line-height:1; font-weight:400; }

/* A: quiet horizontal composition. */
.co-a .co-description { margin-top:15px; padding-top:11px; border-top:1px solid #edf0f5; }


/* A revision: restore the service row's compact scale and simplify its hierarchy. */
:is(body.home-view #main .home-services,.workflow-services) .co-a {
  height:112px; min-height:112px; padding:11px 13px; gap:7px;
  border-radius:12px; box-shadow:none;
}
.co-a .co-body { flex:0 0 auto; }
.co-a .co-heading { height:28px; gap:8px; }
.co-a .co-brand { gap:6px; }
.co-a h2 { font-size:14px; line-height:22px; }
body.home-view #main .co-a .co-icon,
.co-a .co-icon { display:grid; width:20px; height:24px; }
body .co-a .co-icon svg { width:20px; height:20px; }
body.home-view #main .co-a .co-price strong,
.co-a .co-price strong { font-size:24px; line-height:28px; letter-spacing:-.7px; font-weight:650; }
.co-a .co-price>span { font-size:11px; color:#6178ad; }
body.home-view #main .co-a .co-description,
.co-a .co-description { margin:2px 0 0; padding:0; border:0; font-size:11px; line-height:17px; color:#778295; }
.co-a .co-actions { gap:6px; }
.co-a .co-actions>* { height:32px; border-radius:6px; font-size:11px; font-weight:500; }
.co-a .co-start { background:#edf2ff; color:#3b5dcc; }
.co-a .co-start:hover { background:#e0e9ff; }
body.home-view[data-course-layout=compact] #main .home-services .home-service { height:112px; min-height:112px; }
body.home-view[data-course-layout=compact] #main .home-services .service-copy { grid-template-rows:auto auto; row-gap:4px; }
@media(min-width:601px) and (max-width:780px) {
  body.home-view[data-course-layout=compact] #main .home-services { grid-template-columns:1.22fr 1fr 1fr; }
  body.home-view[data-course-layout=compact] #main .home-services .co-a { padding:11px 10px; }
  body.home-view[data-course-layout=compact] #main .co-a .co-description { font-size:10px; }
}
@media(max-width:600px) {
  body.home-view[data-course-layout=compact] #main .home-services .home-service { height:80px; min-height:80px; }
  body.home-view[data-course-layout=compact] #main .home-services .co-a { height:124px; min-height:124px; padding:12px 16px; }
  body.home-view[data-course-layout=compact] #main .co-a .co-description { font-size:12px; }
  .co-a .co-actions>* { height:40px; font-size:12px; }
}

.course-option .co-actions.co-actions--single { grid-template-columns:1fr; }
#learning-access { position:fixed; inset:0; box-sizing:border-box; width:min(380px,calc(100vw - 32px)); max-width:none; max-height:calc(100dvh - 32px); margin:auto; padding:22px; overflow:auto; border:1px solid #e0e6f0; border-radius:16px; background:#fff; color:#29374d; font-family:inherit; box-shadow:0 20px 70px #18243a26; }
#learning-access::backdrop { background:rgb(31 43 64 / 32%); }
#learning-access .learning-access-header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; width:auto; height:auto; min-height:0; margin:0 0 18px; padding:0; border:0; background:transparent; box-shadow:none; }
#learning-access-title { margin:0; font-size:18px; font-weight:650; line-height:26px; color:#29374d; }
.learning-access-header p { margin:5px 0 0; color:#7b8799; font-size:12px; line-height:18px; }
.learning-access-close { display:grid; place-items:center; flex:0 0 auto; width:32px; height:32px; margin:-5px -5px 0 0; padding:0; border:0; border-radius:7px; background:transparent; color:#788499; font-size:25px; line-height:1; cursor:pointer; }
.learning-access-close:hover { background:#f3f5f9; }
.learning-options { display:grid; gap:9px; }
#learning-access .learning-option { display:flex; align-items:center; gap:11px; box-sizing:border-box; width:100%; min-height:65px; padding:11px 13px; border:1px solid #e5eaf3; border-radius:10px; background:#fff; text-decoration:none; color:#33445e; text-align:left; font:inherit; cursor:pointer; transition:background-color 150ms ease,border-color 150ms ease; }
#learning-access .learning-option:hover,#learning-access .learning-option[aria-expanded=true] { background:#f5f8ff; border-color:#c9d7f7; }
.learning-option-icon { display:grid; place-items:center; width:34px; height:34px; flex:0 0 auto; color:#4166d8; background:#f0f4ff; border-radius:8px; }
.learning-option-icon svg { width:20px; height:20px; }
.learning-option-copy { display:grid; gap:3px; min-width:0; flex:1; }
.learning-option-copy strong { font-size:14px; line-height:20px; font-weight:550; }
.learning-option-copy>span { color:#7b8799; font-size:11px; line-height:16px; }
.learning-option-arrow,.learning-option-chevron { color:#7185ad; font-size:19px; line-height:1; }
.learning-option[aria-expanded=true] .learning-option-chevron { transform:rotate(180deg); }
#learning-qr-panel { padding:19px 0 0; text-align:center; }
#learning-qr-panel[hidden] { display:none; }
/* Lossless on-page framing of the supplied poster. The source JPEG is unchanged.
   Region x=933, y=1870, width=220, height=220 in the 1279 x 2214 source. */
.learning-qr-image { position:relative; overflow:hidden; width:min(220px,100%); aspect-ratio:1; margin:0 auto; background:#111; border-radius:10px; }
.learning-qr-image img { position:absolute; width:581.363637%; max-width:none; height:auto; left:-424.090909%; top:-850%; }
.learning-qr-title { margin:12px 0 0; color:#3c4a62; font-size:13px; line-height:20px; }
.learning-qr-help { max-width:250px; margin:6px auto 0; color:#7b8799; font-size:11px; line-height:18px; }
.learning-original { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:36px; margin-top:5px; color:#4166d8; font-size:12px; text-decoration:none; }
.learning-original:hover { text-decoration:underline; text-underline-offset:3px; }
#learning-access :is(a,button):focus-visible { outline:2px solid #6987eb; outline-offset:3px; }
@media(max-width:600px) { #learning-access { padding:20px; } }
@media(prefers-reduced-motion:reduce) { #learning-access .learning-option { transition:none; } }

@media(prefers-reduced-motion:reduce){.course-option .co-actions>*{transition:none;}}
