@font-face{font-family:Outreque;src:url(/fonts/OutrequeMedium.ttf) format("truetype");font-display:swap}
@font-face{font-family:Outreque Regular;src:url(/fonts/OutrequeRegular.ttf) format("truetype");font-display:swap}
:root{--ink:#1d1d1f;--paper:#f7f8f5;--lime:#d4f53d;--red:#ff2d55;--line:#dce1d4;--muted:#525b4d}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.55 Outreque,system-ui,sans-serif}
header,main{width:min(1060px,calc(100% - 40px));margin:auto}
header{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding:24px 0;border-bottom:1px solid var(--line)}
nav,.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
nav a{font-size:15px}
a{color:inherit}
main{padding:52px 0 75px}
h1,h2,h3{line-height:1.13;letter-spacing:-.035em}
h1{font-size:clamp(36px,6vw,65px);margin:12px 0 20px}
h2{font-size:clamp(25px,4vw,34px);margin:12px 0}
h3{margin:0 0 10px;font-size:22px}
p{margin:10px 0 18px}
.lede{font-size:21px;color:var(--muted);max-width:740px}
.badge{display:inline-block;border-radius:999px;padding:4px 12px;background:#edf3d9;font-size:13px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:18px;margin:24px 0}
.card{background:white;border:1px solid var(--line);border-radius:22px;padding:clamp(20px,4vw,30px);overflow-wrap:anywhere}
.narrow{max-width:680px}
.stack>*+*{margin-top:16px}
.button,button{display:inline-block;color:inherit;background:var(--lime);text-decoration:none;font:inherit;font-weight:bold;padding:11px 19px;border:1px solid transparent;border-radius:12px;cursor:pointer}
.secondary{background:white;border-color:#aeb5a6}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #627314;outline-offset:3px}
label.check{display:flex;align-items:start;gap:11px;padding:9px 0}
input[type=checkbox]{width:19px;height:19px;flex:none;accent-color:#677713}
input[type=password],input[type=email]{display:block;width:100%;font:inherit;padding:12px;border:1px solid #aeb5a6;border-radius:9px;margin:8px 0 18px}
.notice{padding:12px 17px;background:#edf3d9;border-radius:12px}
.error{background:#ffe8e4;color:#80241b}
.muted,small{color:var(--muted)}
fieldset{border:1px solid var(--line);border-radius:12px;padding:12px 17px;margin:15px 0}
hr{border:0;border-top:1px solid var(--line);margin:24px 0}
video,iframe{max-width:100%;width:100%;aspect-ratio:16/9;border:0;border-radius:14px;background:var(--ink)}
li{margin-bottom:8px}
progress{accent-color:#7f9514;width:100%}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);gap:32px;align-items:start}
.checkout-gallery{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px}
.checkout-gallery>*{flex:0 0 88%;max-width:88%;aspect-ratio:16/9;object-fit:contain;background:#eceee8;border:1px solid var(--line);border-radius:14px;scroll-snap-align:start}
.checkout-gallery>:only-child{flex-basis:100%;max-width:100%}
.checkout-copy{padding-top:18px}
.checkout-copy h2{font-size:clamp(21px,3vw,32px)}
.checkout-order .lede strong{font-size:30px;color:var(--ink)}
.checkout-order form>button{width:100%;margin-top:6px}
.checkout-order .muted{font-size:14px;margin-bottom:0}
.checkout-addon{display:block;width:100%;max-width:220px;border-radius:10px;margin-bottom:12px}
.checkout-order summary{cursor:pointer}
@media(max-width:760px){.checkout-layout{grid-template-columns:minmax(0,1fr);gap:24px}.checkout-product{display:contents}.checkout-gallery{grid-row:1}.checkout-order{grid-row:2}.checkout-copy{grid-row:3;padding-top:0}}
.checkout-page{background:linear-gradient(90deg,var(--paper) 50%,white 50%);font:16px/1.6 "Outreque Regular",system-ui,sans-serif}
.checkout-page :is(h1,h2,h3,strong,legend,button,.button){font-family:Outreque,system-ui,sans-serif}
.checkout-page #stripe-payment iframe{aspect-ratio:auto;border-radius:0;background:transparent}
.split-checkout{width:min(1060px,calc(100% - 64px));padding:48px 0 72px}
.split-checkout .checkout-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(54px,8vw,112px)}
.checkout-brand{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:26px}
.checkout-brand img{width:auto;max-width:170px;max-height:40px;object-fit:contain}
.checkout-brand .badge{font-size:11px;white-space:nowrap}
.checkout-back{font-size:20px;text-decoration:none;color:var(--muted)}
.checkout-intro h1{font-size:clamp(24px,3.2vw,37px);margin:0 0 6px}
.checkout-price{margin:0 0 10px;color:var(--muted)}
.checkout-price strong{font-size:32px;letter-spacing:-.04em;color:var(--ink)}
.checkout-price span,.checkout-switch,.checkout-policy{font-size:14px}
.checkout-switch{margin:0 0 16px}
.product-gallery [data-media-slide]>*{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;border-radius:10px;background:#eceee8}
.gallery-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.gallery-thumbs button{position:relative;width:56px;height:48px;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:#e9ede1}
.gallery-thumbs button[aria-pressed=true]{border-color:#647617}
.gallery-thumbs img{display:block;width:100%;height:100%;object-fit:cover}
.gallery-thumbs span{position:absolute;inset:0;display:grid;place-items:center;color:white;background:#1d1d1f55}
.checkout-copy h2{font-size:22px;margin-top:22px}
.split-checkout .checkout-order{padding:3px 0 24px}
.split-checkout .checkout-order h2{font-size:25px;margin:0 0 18px}
.split-checkout fieldset{min-inline-size:0}
.split-checkout button:disabled{opacity:.7;cursor:wait}
.checkout-seller{margin-top:14px;padding-top:8px;border-top:1px solid var(--line);font-size:11.5px;line-height:1.4;color:var(--muted)}
.checkout-copyright{display:block;margin-top:4px;font-weight:700}
[data-inline-checkout] [data-payment-retry][hidden]{display:none}
[data-inline-checkout] [data-payment-status]:empty{display:none}
.checkout-plans{border:0;padding:0;margin:0 0 18px}
.checkout-plans legend{font-weight:bold;margin-bottom:8px;padding:0}
.checkout-plan-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.checkout-plan{display:flex;align-items:flex-start;gap:7px;border:1px solid var(--line);border-radius:12px;padding:12px 10px;cursor:pointer}
.checkout-plan:has(:checked){border-color:#677713;background:#f2f8df}
.checkout-plan input{accent-color:#677713;margin:5px 0 0;flex:none}
.checkout-plan-label{display:block}
.checkout-plan strong{font-size:20px;white-space:nowrap}
.checkout-plan .muted{font-size:13px}
.checkout-change-plan{margin:0 0 12px}
.checkout-change-plan[hidden]{display:none}
@media(max-width:760px){
  .checkout-page{background:var(--paper)}
  .split-checkout{width:min(520px,calc(100% - 32px));padding:24px 0 42px}
  .split-checkout .checkout-layout{grid-template-columns:minmax(0,1fr);gap:20px}
  .checkout-intro,.checkout-brand,.product-gallery,.split-checkout .checkout-order,.split-checkout .checkout-copy{grid-row:auto}
  .checkout-brand{margin:0;gap:10px}
  .checkout-intro{margin-bottom:-4px}
  .split-checkout .checkout-order{padding:18px;background:white;border:1px solid var(--line);border-radius:14px}
  .checkout-seller{margin-inline:-16px;text-align:center;font-family:Arial,sans-serif;font-size:9.5px;letter-spacing:-.24px}
  .split-checkout .checkout-copy{grid-row:5}
}
.checkout-brand img[src$="/supertello-logo-light.png"]{content:url("/brand/supertello-logo-dark.png")}
.checkout-brand img[src$="/DinaAgnesLogoBlack.png"]{max-width:220px}

.portal-logo img { display: block; width: 200px; max-width: 100%; height: auto; }
.portal-eyebrow { margin: 14px 0 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.portal-page main { padding-top: 36px; }
.portal-page .lede { margin-bottom: 24px; }
.portal-progress, .portal-order, .portal-search {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
}
.portal-progress { background: var(--ink); color: var(--paper); }
.portal-progress > div { flex: 1 1 220px; }
.portal-progress h2, .portal-order h2 { margin: 0 0 6px; }
.portal-progress p { margin: 0 0 6px; }
.portal-progress progress { width: min(100%, 420px); accent-color: var(--lime); }
.portal-progress .button, .portal-progress .badge { color: var(--ink); }
.portal-module ul { margin: 12px 0 0; padding: 0; list-style: none; }
.portal-module li { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.portal-module li:last-child { border-bottom: 0; }
.portal-module .badge { padding: 2px 8px; }
.portal-lesson .actions { margin-top: 16px; }
.portal-download { padding: 0; overflow: hidden; max-width: 560px; }
.portal-download img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #edf3d9; }
.portal-download > div { padding: 20px 24px 24px; }
.portal-download h2 { margin-top: 6px; }
.portal-search { margin: 0 0 20px; justify-content: flex-start; }
.portal-search input { flex: 1 1 180px; min-width: 0; padding: 10px 12px; font: inherit; border: 1px solid #aeb5a6; border-radius: 9px; }
.portal-order .actions { align-items: flex-start; }
.portal-order .portal-eyebrow { margin: 0 0 4px; }

/* Customer portals and course workspace */
.portal-page header nav a { padding: 8px 13px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.portal-page header nav a:hover { background: #ebeedf; }
.portal-page h1 { font-size: clamp(29px, 4vw, 44px); letter-spacing: -.055em; }
.portal-page h2 { font-size: clamp(20px, 2.6vw, 27px); }
.portal-page .lede { font-size: 17px; }
.portal-download { max-width: 460px; }
.course-page { font-size: 15px; }
.course-page header, .course-page main { width: min(1240px, calc(100% - 48px)); }
.course-page header { padding: 16px 0; }
.course-page main { padding-top: 26px; }
.course-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 24px; align-items: start; }
.course-sidebar, .course-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.course-sidebar { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; padding: 14px; }
.course-sidebar > summary { padding: 4px 5px 12px; font-weight: 700; }
.course-sidebar summary { cursor: pointer; }
.course-sidebar-body { padding-top: 10px; border-top: 1px solid var(--line); }
.course-progress-label { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; }
.course-sidebar progress { height: 7px; margin: 7px 0 12px; appearance: none; background: #edf0e8; border: 0; border-radius: 99px; overflow: hidden; }
.course-sidebar progress::-webkit-progress-bar { background: #edf0e8; }
.course-sidebar progress::-webkit-progress-value { background: #a4c52b; }
.course-sidebar progress::-moz-progress-bar { background: #a4c52b; }
.course-sidebar nav { display: grid; gap: 4px; padding-bottom: 10px; }
.course-sidebar nav a, .course-sidebar-module > summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; text-decoration: none; font-size: 13px; }
.course-sidebar nav a[aria-current], .course-row[aria-current] { background: #edf5cf; }
.course-sidebar-module { border-top: 1px solid #edf0e8; }
.course-sidebar-module > summary { font-weight: 700; }
.course-sidebar-module > summary::-webkit-details-marker { display: none; }
.course-sidebar-module[open] > summary > span:last-child { transform: rotate(180deg); }
.course-sidebar-module > summary:hover, .course-sidebar nav a:hover { background: #f4f6ed; }
.course-sidebar-module .course-row { font-size: 12px; padding: 6px; gap: 6px; }
.course-sidebar-module .course-row-icon { width: 22px; height: 22px; }
.course-main { min-width: 0; }
.course-main > h1 { margin: 6px 0 12px; }
.course-overview-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; }
.course-overview-top h1 { margin: 0; font-size: clamp(26px, 3vw, 38px); }
.course-kicker { font-size: 12px; color: #566545; margin: 0; font-weight: 700; }
.course-overview-heading, .course-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.course-overview-heading { margin: 22px 0 10px; }
.course-overview-heading h2, .course-section-heading h2 { margin: 0; }
.course-overview-heading > span { color: var(--muted); font-size: 13px; }
.course-module-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; align-items: start; }
.course-module { padding: 15px; }
.course-module h3 { margin: 4px 0 9px; font-size: 18px; }
.course-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 9px; align-items: center; padding: 7px 6px; text-decoration: none; font-size: 14px; border-radius: 9px; }
.course-row + .course-row { border-top: 1px solid #eff1e9; }
.course-row:hover { background: #f1f5e4; }
.course-row-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--lime); color: #000; font-size: 14px; }
.course-row-meta { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.course-back { display: inline-block; text-decoration: none; font-weight: 700; margin: 1px 0 12px; }
.course-back:hover { text-decoration: underline; }
.course-tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 12px; }
.course-tags span { background: #eef2e4; color: #30382a; border-radius: 7px; padding: 3px 8px; font-size: 12px; }
.course-player { background: #1d1d1f; color: #f7f8f5; border-radius: 15px; overflow: hidden; }
.course-player video, .course-player iframe { display: block; border-radius: 0; }
.course-player-message { padding: 16px 20px 4px; }
.course-player-message p { margin: 0 0 8px; }
.course-player-message .button { color: #1d1d1f; }
.course-controls { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.course-controls .button, .course-controls button, .course-section-heading .button { font-size: 14px; padding: 8px 12px; }
.course-copy { padding: clamp(16px, 3vw, 28px); line-height: 1.65; }
.course-copy .course-section-heading { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.course-copy h1 { font-size: 27px; }
.course-copy h2 { margin-top: 24px; }
.course-copy .course-section-heading h2 { margin: 0; }
.course-copy a:not(.button) { text-underline-offset: 3px; font-weight: 700; }
.course-copy mark { background: #edf5cf; border-radius: 4px; padding: 2px 5px; }
.course-copy blockquote { margin-inline: 0; border-left: 3px solid #a4c52b; padding: 2px 14px; background: #f5f7ee; }
.course-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.access-page { background: #1d1d1f; color: #f7f8f5; min-height: 100vh; color-scheme: dark; display: flex; flex-direction: column; }
.access-page main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: clamp(28px, 6vw, 72px); flex: 1; width: min(1030px, calc(100% - 48px)); }
.access-footer { width: min(1030px, calc(100% - 48px)); margin: 0 auto; padding: 16px 0 22px; border-top: 1px solid #46483f; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; color: #d9ddcf; font-size: 13px; }
.portal-page > .access-footer { width: auto; margin-inline: clamp(12px, 2vw, 36px); border-color: var(--line); color: var(--muted); }
.portal-page > .access-footer a:is(:hover, :focus-visible) { color: var(--ink); }
.access-footer p { margin: 0; }
.access-footer .access-disclosure { flex-basis: 100%; font-size: 11px; line-height: 1.5; }
@media (min-width: 761px) {
  .access-footer .access-disclosure { font-size: 10.5px; line-height: 1.3; }
}
.access-footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.access-footer a { color: inherit; text-underline-offset: 3px; }
.access-footer a:hover, .access-footer a:focus-visible { color: var(--lime); }
.access-intro img { width: 220px; max-width: 100%; }
.access-intro .access-kicker { margin: 30px 0 8px; color: var(--lime); font-size: 13px; }
.access-intro h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.055em; margin: 0 0 12px; }
.access-intro p { color: #d9ddcf; max-width: 36ch; }
.access-card { padding: clamp(20px, 4vw, 32px); border: 1px solid #46483f; border-radius: 12px; background: #222320; }
.access-card h2 { font-size: 29px; margin: 0 0 6px; }
.access-card > p { color: #d9ddcf; margin: 0 0 22px; }
.access-card label { font-size: 14px; }
.access-card input { width: 100%; margin: 6px 0 14px; padding: 12px; border: 1px solid #585b4f; border-radius: 8px; background: #1d1d1f; color: #f7f8f5; font: inherit; }
.access-card button { width: 100%; color: #1d1d1f; border-radius: 8px; }
.access-card button span { margin-left: 4px; }
.access-card .signup-hint { margin: 0 0 14px; color: #d9ddcf; font-size: 13px; }
.access-return { display: block; width: fit-content; margin: 14px auto 0; font-size: 14px; text-decoration: none; }
.access-return:hover { color: var(--lime); }
.access-card > .error { color: #80241b; }

@media (max-width: 880px) {
  .course-shell { grid-template-columns: 210px minmax(0,1fr); gap: 14px; }
  .course-module-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .course-page header, .course-page main { width: calc(100% - 24px); }
  .course-page header { gap: 7px; }
  .course-page header nav { gap: 0; }
  .course-page header nav a { font-size: 13px; padding: 7px 8px; }
  .course-page main { padding-top: 12px; }
  .course-shell, .access-page main { grid-template-columns: 1fr; }
  .course-sidebar { position: static; max-height: 12rem; }
  .access-page main { min-height: auto; padding: 28px 0; }
  .access-intro .access-kicker { margin-top: 16px; }
}

.asset-library { display: grid; gap: 10px; margin: 18px 0; max-width: 820px; }
.asset-row { display: flex; align-items: center; gap: 16px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.asset-row img { width: 108px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: #edf3d9; }
.asset-row > div { flex: 1; min-width: 0; }
.asset-row .portal-eyebrow { margin: 0; font-size: 12px; }
.asset-row h2 { margin: 2px 0 0; font-size: 19px; }
.asset-row .button { padding: 8px 12px; font-size: 14px; white-space: nowrap; }
@media (max-width: 520px) {
  .asset-row { gap: 10px; flex-wrap: wrap; }
  .asset-row img { width: 76px; }
}

/* Full width workspace and brand highlights */
.portal-page header, .portal-page main { width: auto; margin-inline: clamp(12px, 2vw, 36px); }
.portal-page :is(a, button, input, select, summary):focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.portal-page header nav a:hover,
.course-sidebar nav a[aria-current], .course-row[aria-current], .course-row:hover,
.course-sidebar-module > summary:hover, .course-sidebar nav a:hover,
.course-copy mark, .course-page .badge { background: var(--lime); }
.course-sidebar progress::-webkit-progress-value { background: var(--lime); }
.course-sidebar progress::-moz-progress-bar { background: var(--lime); }
.course-copy blockquote { border-left-color: var(--lime); }
.course-shell { grid-template-columns: minmax(370px, 410px) minmax(0, 1fr); }
.course-sidebar .course-row-name { min-width: 0; }
.course-banner { margin-bottom: 20px; border-radius: 18px; overflow: hidden; background: var(--lime); }
.course-banner img { display: block; width: 100%; height: auto; aspect-ratio: 3160 / 420; object-fit: cover; object-position: center; }
.course-row:is(:hover, :focus-visible, [aria-current="page"]) .course-row-icon { background: #000; color: #fff; }
.course-controls .course-info-button { min-width: 114px; padding-inline: 20px; }
.course-support-popup { position: fixed; inset: auto clamp(12px, 2vw, 36px) 24px auto; margin: 0; width: min(390px, calc(100% - 32px)); box-sizing: border-box; padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); box-shadow: 0 16px 64px #1d1d1f30; }
.course-support-popup button { float: right; padding: 3px 10px; font-size: 18px; }
.course-support-popup h2 { margin: 0 34px 8px 0; font-size: 24px; }
.course-support-popup p { margin: 0 0 12px; }
.course-support-popup a { font-weight: 700; text-underline-offset: 3px; }
.account-support { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; border-radius: 16px; padding: 18px 24px; margin: 20px 0; background: var(--lime); }
.account-support h2, .account-support p { margin: 0; }
.account-support h2 { margin-bottom: 4px; }
.account-support .button { background: var(--ink); color: var(--paper); overflow-wrap: anywhere; max-width: 100%; }
.account-support .button:focus-visible { outline-color: var(--ink); }
@media (max-width: 950px) {
  .course-shell { grid-template-columns: minmax(310px, 380px) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .course-shell { grid-template-columns: minmax(0, 1fr); }
  .course-sidebar { position: static; max-height: 14rem; }
  .course-banner { margin-bottom: 12px; }
  .course-banner img { min-height: 96px; }
}

.account-tabs { gap: 6px; margin: 0 0 22px; }
.account-tabs a { padding: 9px 15px; border: 1px solid var(--line); border-radius: 10px; background: white; text-decoration: none; font-weight: 700; }
.account-tabs a:hover, .account-tabs a[aria-current] { background: var(--lime); border-color: var(--lime); }
.account-empty h2 { margin: 0; font-size: 21px; }
.account-empty p { margin: 4px 0 0; color: var(--muted); }
.account-empty p { margin-bottom: 12px; }
.account-tabs a { font-size: 15px; }
.account-security { margin: 24px 0; }
.account-security form input { max-width: 420px; }
.account-sign-out { margin-top: 16px; }
.access-card :is(input[type=email], input[type=password]) { background: #252526; border-color: #62645d; color: var(--paper); }

.lesson-editor, .lesson-modules { margin-top: 20px; }
.lesson-editor label { display: block; font-weight: bold; }
.lesson-editor :is(input:not([type=hidden]),select,textarea) {
  display: block; width: 100%; background: white; color: var(--ink); font: inherit;
  padding: 10px 12px; border: 1px solid #aeb5a6; border-radius: 9px; margin: 6px 0 16px;
}
.lesson-editor textarea { resize: vertical; }
.lesson-editor textarea:focus-visible { outline: 3px solid #627314; outline-offset: 3px; }
.lesson-admin-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lesson-admin-row .actions { gap: 6px; }
.lesson-admin-row :is(.button,button) { padding: 6px 12px; }
.lesson-admin-row button:disabled { opacity: .4; cursor: default; }

.shop-panel { margin-block: 1rem; }
.shop-panel form { margin-block: 1rem; }
.shop-panel label { display: grid; gap: .4rem; margin-block: .6rem; }
.shop-panel label.check { display: flex; }
.shop-panel input:not([type=checkbox]), .shop-panel select, .shop-panel textarea { width: 100%; }
.shop-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 0 1rem; }
.checkout-promo { margin-block: 1rem; }
.checkout-promo > div { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.checkout-promo #checkout-code {
  flex: 1 1 9rem;
  min-width: 0;
  padding: 12px;
  font: inherit;
  border: 1px solid #aeb5a6;
  border-radius: 9px;
}
.checkout-promo [data-promo-apply] { padding-inline: 12px; }
[data-addon] + [data-addon] { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid #d6dacd; }
.shop-addon { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; border-bottom: 1px solid #d6dacd; }

/* Admin and customer workspaces */
.workspace-page { font-size: 14px; line-height: 1.5; }
.workspace-page > header, .workspace-page > main, .workspace-page > .access-footer { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.workspace-page > header { min-height: 64px; padding: 10px 0; gap: 10px; }
.workspace-page .portal-logo img { width: 144px; }
.workspace-page > main { padding: 28px 0 56px; }
.workspace-page .portal-eyebrow { font-size: 12px; margin-top: 10px; }
.workspace-page h1 { font-size: clamp(25px, 4vw, 34px); letter-spacing: -.03em; margin: 5px 0 16px; }
.workspace-page h2 { font-size: 17px; letter-spacing: -.03em; }
.workspace-page .lede { font-size: 14px; margin: 0 0 18px; }
.workspace-page .badge { font-size: 11px; padding: 3px 8px; }
.badge.account-setup-complete, .badge.delivery-delivered, .badge.review-shortlisted { background: var(--lime); color: var(--ink); }
.badge.account-setup-pending, .badge.delivery-cancelled, .badge.course-access-ended { background: var(--red); color: #fff; text-shadow: 0 0 1px var(--ink); }
.workspace-page .notice { padding: 10px 14px; border-radius: 8px; }
.workspace-page .card { border-radius: 10px; padding: 16px; }
.workspace-page .actions { gap: 8px; }
.workspace-page main > .actions { margin-bottom: 16px; }
.workspace-page :is(.button, button) { padding: 7px 12px; min-height: 34px; border-radius: 7px; font-size: 13px; }
.workspace-page .secondary, .workspace-page .button.secondary { border-color: #cbd2c3; }
.workspace-page .secondary:hover { background: #f0f2eb; }
.workspace-page header nav { gap: 4px; }
.workspace-page header nav a { font-size: 13px; padding: 7px 10px; }
.workspace-page header nav a[aria-current] { background: #eaf3cf; }
.workspace-page .account-tabs { border-bottom: 1px solid var(--line); gap: 4px; margin: 0 0 18px; }
.workspace-page .account-tabs a { font-size: 13px; padding: 9px 11px; border: 0; border-radius: 0; background: transparent; border-bottom: 2px solid transparent; }
.workspace-page .account-tabs a:hover { background: #f0f2eb; }
.workspace-page .account-tabs a[aria-current] { background: var(--lime); border-bottom-color: var(--lime); border-radius: 6px 6px 0 0; color: var(--ink); }
.workspace-page input[name="email-tracking"] { accent-color: var(--lime); }
.workspace-list { background: white; border: 1px solid var(--line); border-radius: 10px; }
.workspace-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; padding: 12px 16px; overflow-wrap: anywhere; }
.workspace-row h2, .workspace-row p { margin: 0; }
.workspace-row h2 { font-size: 15px; }
.workspace-row p { color: var(--muted); font-size: 13px; margin-top: 3px; }
.workspace-row + .workspace-row, .shop-product + .shop-product { border-top: 1px solid var(--line); }
.workspace-row .actions { justify-content: flex-end; }
.workspace-row.student-row { grid-template-columns: minmax(0, 1fr) max-content minmax(0, 270px); }
.student-progress { margin-top: 7px; }
.student-progress strong { color: var(--ink); }
.student-status { display: flex; flex-wrap: wrap; gap: 4px; max-width: 250px; }
.student-status-primary { display: flex; flex-wrap: wrap; gap: 4px; }
@media (min-width: 681px) and (max-width: 860px) {
  .workspace-row.student-row { grid-template-columns: minmax(0, 1fr) max-content minmax(0, 160px); }
}
.workspace-page .portal-search { margin: 0 0 12px; gap: 8px 12px; }
.portal-search [data-filter-fallback][hidden] { display: none; }
.workspace-page .portal-search input { margin: 0; }
.workspace-page :is(input:not([type=hidden], [type=checkbox], [type=radio]), select, textarea) {
  min-width: 0; min-height: 36px; padding: 7px 10px; border: 1px solid #b9c2b1;
  border-radius: 7px; font: inherit; color: var(--ink); background: white;
}
.workspace-form { display: grid; gap: 6px; max-width: 520px; }
.workspace-form input, .workspace-form select { width: 100%; margin: 0 0 8px; }
.workspace-form button { justify-self: start; }
.workspace-page .shop-product details { padding: 0 16px 12px; }
.workspace-page .shop-product details[open] { background: #f7f8f5; padding-top: 10px; border-top: 1px solid var(--line); }
.workspace-page .shop-product summary { width: fit-content; cursor: pointer; font-size: 13px; color: var(--muted); }
.workspace-page .shop-product label { display: grid; gap: 4px; }
.workspace-page .shop-product label.check { display: flex; }
.workspace-page .shop-product details button { margin-top: 10px; }
.workspace-page .account-support { border: 1px solid var(--line); border-radius: 10px; background: transparent; padding: 14px 16px; }
.workspace-page .account-support .button { background: white; color: var(--ink); border-color: #cbd2c3; }
.workspace-page .account-support h2 { font-size: 15px; }
.workspace-page .account-support p { color: var(--muted); }
.workspace-page .asset-row { border-radius: 10px; padding: 10px; }
.workspace-page .asset-row img { width: 82px; }
.workspace-page .asset-row h2 { font-size: 15px; }
@media (max-width: 680px) {
  .workspace-page > header, .workspace-page > main, .workspace-page > .access-footer { width: calc(100% - 28px); }
  .workspace-row, .workspace-row.student-row { grid-template-columns: minmax(0, 1fr); }
  .workspace-row .actions { justify-content: flex-start; }
  .workspace-row > .button { justify-self: start; }
  .workspace-page .portal-search label { flex-basis: 100%; }
}

.shop-media-settings,.shop-delete{border-top:1px solid var(--line,#dce0d6);margin-top:1.15rem;padding-top:1rem}
.shop-media-settings h3{margin:0 0 .35rem}
.shop-media-form label small{font-size:.82em;font-weight:400;margin-left:.4rem}
.shop-media-form input[type=file]{display:block;width:100%;margin-top:.4rem}
.shop-media-form .actions{display:flex;flex-wrap:wrap;gap:.5rem}
.shop-media-form [role=status]:empty{display:none}
.shop-delete summary{cursor:pointer}
.shop-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem}
.shop-media-card{padding:.9rem;border:1px solid var(--line,#dce0d6);border-radius:.6rem;min-width:0}
.shop-media-card img,.shop-media-card video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#f1f3ee;border-radius:.35rem}
.shop-media-card>p{margin:.65rem 0}
.shop-media-add{margin-top:1rem}

.workspace-form label.check { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0 8px; }
.workspace-form label.check input[type=checkbox] { flex: none; width: 16px; height: 16px; margin: 2px 0 0; }
.workspace-form label.check span { min-width: 0; overflow-wrap: break-word; }
.access-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.access-panel h2 { margin: 0 0 10px; }
.access-panel > p, .access-record p { color: var(--muted); }
.access-record { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.access-record h3, .access-record p { margin: 0 0 6px; }
@media (max-width: 680px) { .access-layout { grid-template-columns: minmax(0, 1fr); } }

.email-section-tabs { margin-bottom: 22px; }
.email-journeys { max-width: 980px; }
.workspace-page .email-journeys > h2 { font-size: clamp(22px, 4vw, 32px); margin: 0 0 12px; }
.email-journey-nav { gap: 8px 14px; margin-bottom: 22px; }
.email-journey-nav a { font-size: 13px; }
.email-journey { margin-block: 22px; scroll-margin-top: 16px; }
.email-journey h3 { font-size: 19px; margin: 0 0 8px; }
.email-journey ol { list-style: none; padding: 0; margin: 0; background: white; border: 1px solid var(--line); border-radius: 10px; }
.email-journey-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 34%); align-items: center; gap: 8px 18px; margin: 0; padding: 12px 15px; }
.email-journey-step + .email-journey-step { border-top: 1px solid var(--line); }
.email-journey-step strong { display: block; font-size: 15px; }
.email-journey-step p, .email-editor-position { margin: 3px 0 0; color: var(--muted); }
.email-step-label { display: inline-block; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; margin-bottom: 5px; font-size: 12px; }
.email-step-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.email-step-links a { background: white; border: 1px solid #cbd2c3; border-radius: 7px; padding: 6px 9px; font-size: 13px; text-decoration: none; }
.email-step-links a:hover { background: var(--lime); border-color: var(--lime); }
@media (max-width: 640px) {
  .email-journey-step { grid-template-columns: minmax(0, 1fr); }
  .email-step-links { justify-content: flex-start; }
}
.email-library { max-width: 920px; }
.email-library-heading, .email-editor-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.workspace-page .email-library-heading h2, .workspace-page .email-editor-heading h1 { font-size: clamp(22px, 4vw, 34px); margin: 0; }
.email-library-heading label { display: grid; gap: 4px; min-width: min(100%, 250px); }
.email-library-heading [hidden], .email-editor [hidden] { display: none; }
.email-library h3 { margin: 18px 0 8px; font-size: 15px; }
.email-library ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: white; }
.email-library li { margin: 0; }
.email-library li + li { border-top: 1px solid var(--line); }
.email-library li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px; text-decoration: none; border-radius: 8px; }
.email-library li a:hover { background: var(--paper); }
.email-library li strong, .email-library li small { display: block; }
.email-row-action { flex: none; color: var(--muted); }
.email-row-action span { margin-left: 4px; font-size: 17px; }
.email-editor-heading a { display: inline-block; margin-bottom: 4px; color: var(--muted); }
.email-editor-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.email-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 29%); align-items: start; gap: 16px; }
.email-sheet, .email-settings { background: white; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.email-sheet { padding: 16px clamp(12px, 3vw, 36px) 18px; }
.email-envelope { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.email-envelope > * { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 8px; align-items: center; padding: 4px 0; }
.email-envelope strong { font-weight: 500; overflow-wrap: anywhere; }
.email-envelope span, .email-opening label { color: var(--muted); }
.email-sheet-logo { display: block; max-width: 100%; height: auto; margin: 24px auto 16px; }
.email-opening > div { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.workspace-page .email-opening textarea { display: block; resize: vertical; width: 100%; font: 16px/1.6 Arial,sans-serif; field-sizing: content; min-height: 112px; }
.workspace-page .email-closing textarea { min-height: 64px; margin-top: 4px; }
.email-message-button { display: inline-block; background: var(--lime); padding: 12px 20px; border-radius: 8px; margin-block: 14px; font: bold 16px/1.6 Arial,sans-serif; }
.email-opening textarea:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.email-sheet [data-email-rendered] > div { padding-inline: 0 !important; overflow-wrap: anywhere; }
.email-sheet [data-email-rendered] p { margin: 12px 0 16px; }
.email-settings { padding: 15px; background: #f1f3ed; }
.email-settings section + section { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.email-settings h3 { font-size: 15px; margin: 0 0 8px; }
.email-settings label { display: grid; gap: 4px; margin-bottom: 10px; }
.email-settings label small { overflow-wrap: anywhere; }
.email-settings p { color: var(--muted); margin: 6px 0; }
.email-settings summary { cursor: pointer; }
.email-destination { background: white; border-radius: 8px; padding: 9px 10px; overflow-wrap: anywhere; }
.email-destination span { display: block; color: var(--muted); margin-top: 2px; }
@media (max-width: 700px) { .email-workspace { grid-template-columns: minmax(0, 1fr); } }
.badge.delivery-scheduled { background: #ffae42; color: var(--ink); }
.email-activity-table { overflow-x: auto; }
.email-activity-table table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.email-activity-table :is(th, td) { padding: 10px; vertical-align: top; border-bottom: 1px solid var(--line); }
.email-activity-table .email-engagement { text-align: center; }
.email-pagination { justify-content: flex-end; margin-top: 16px; }
.engagement-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: bold 17px/1 system-ui, sans-serif; }
.engagement-yes { color: var(--ink); background: var(--lime); }
.engagement-off, .engagement-no { color: #fff; background: var(--red); text-shadow: 0 0 1px var(--ink); }
.engagement-off { position: relative; border-radius: 7px; }
.engagement-off::before { content: ""; width: 11px; height: 11px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; transform: translateY(1px); }
.engagement-off::after { content: ""; position: absolute; width: 2px; height: 8px; top: 4px; left: 11px; background: currentColor; border-radius: 1px; }

.kit-email-content { display: block; width: 100%; min-height: 260px; max-height: 70vh; aspect-ratio: auto; border: 1px solid var(--line); border-radius: 8px; background: white; }

.kit-message-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 12px 0 6px; }
[data-kit-links] select { width: 100%; }

.review-control dialog {
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid #d7ddce;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}
.review-control dialog::backdrop { background: rgb(29 29 31 / 60%); }
.review-form { display: grid; gap: 12px; text-align: left; }
.review-form :is(h2, p) { margin: 0; }
.review-form :is(input[name="name"], textarea) {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 9px 11px;
  border: 1px solid #aeb5a6;
  border-radius: 7px;
  font: inherit;
  color: var(--ink);
  background: white;
}
.review-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.review-form legend { margin-bottom: 6px; }
.review-stars { display: flex; flex-wrap: wrap; gap: 8px; }
.review-stars label { display: inline-flex; align-items: center; gap: 4px; padding: 4px; margin: 0; }
.review-form :is(.review-stars input, input[name="permission"]) {
  appearance: none;
  display: inline-grid;
  place-content: center;
  width: 1.05em;
  height: 1.05em;
  flex: none;
  border: 1px solid currentColor;
  background: white;
  vertical-align: middle;
}
.review-form .review-stars input { margin: 0; border-radius: 50%; }
.review-form .review-stars input:checked::after {
  content: "";
  width: .65em;
  height: .65em;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px #677713;
}
.review-stars input:checked ~ [aria-hidden="true"], .review-score {
  color: var(--lime);
  -webkit-text-stroke: .5px #677713;
}
.review-score { letter-spacing: .08em; }
.review-score .unfilled { color: var(--muted); -webkit-text-stroke: 0; }
.review-form input[name="permission"] { border-radius: 3px; }
.review-form input[name="permission"]:checked { background: var(--lime); border-color: #677713; }
.review-form input[name="permission"]:checked::after {
  content: "";
  width: .48em;
  height: .28em;
  color: var(--ink);
  border-left: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(-45deg) translateY(-.06em);
}
.review-comment { white-space: pre-wrap; overflow-wrap: anywhere; }

.review-search-field { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
