*{box-sizing:border-box}body{margin:0;background:#eeeae3;color:#202a25;font-family:Arial,sans-serif}.app{max-width:580px;margin:auto;background:#f6f2ea;min-height:100vh}header{background:#202a25;color:#f6f2ea;display:flex;align-items:center;gap:12px;padding:22px 24px}.brand{font-weight:900;font-size:46px;letter-spacing:-3px;color:inherit;text-decoration:none}header span{font-size:9px;line-height:1.55;letter-spacing:1px}header small{margin-left:auto;color:#c9a771;font-size:12px;letter-spacing:2px}.hero{padding:30px 24px 0;overflow:hidden;background:linear-gradient(135deg,#eef2f1,#f6f2ea)}.kicker{font-size:10px;letter-spacing:2px;color:#647269}h1{font-size:31px;line-height:1.14;font-weight:500;letter-spacing:-1px;margin:14px 0}.hero p{font-size:14px;line-height:1.5;color:#59655d}.hero img{display:block;width:calc(100% + 48px);margin:0 -24px -18px;max-height:200px;object-fit:cover;object-position:center}nav{display:flex;gap:8px;padding:22px 20px 12px;position:sticky;top:0;background:#f6f2eaf5;backdrop-filter:blur(12px);z-index:2}button,a{ -webkit-tap-highlight-color:transparent}nav button{font-size:12px;border:1px solid #dedbd4;background:transparent;color:#202a25;border-radius:12px;padding:13px 16px;flex:1;cursor:pointer}nav button.active{background:#202a25;color:white;border-color:#202a25}main{padding:8px 20px;display:grid;gap:14px}.card{background:white;border:1px solid #e2dfd8;border-radius:20px;padding:24px 20px;overflow:hidden;position:relative}.top{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.card h2{position:relative;font-size:23px;margin:0;letter-spacing:-.6px;z-index:1}.card h2:before{content:'';position:absolute;inset:-5px -10px -5px -20px;border-radius:0 8px 8px 0;background:#202a25;transform:scaleX(0);transform-origin:left;transition:transform .4s;z-index:-1}.card:hover h2:before{transform:scaleX(1)}.card:hover h2{color:white}.price{font-size:14px;white-space:nowrap}.card p{font-size:14px;line-height:1.65;color:#56615a;margin:18px 0 22px;max-width:42ch}.bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.label{font-size:10px;letter-spacing:1.3px;color:#738076}.details,footer a,.book{background:#202a25;color:white;border:0;border-radius:5px;padding:13px 20px;font-size:13px;text-decoration:none;cursor:pointer}.free{border-color:#c9a771}.free .price{color:#8b7144}.note{font-size:11px;line-height:1.6;color:#748077;padding:4px 24px 18px}footer{padding:22px 24px 32px;border-top:1px solid #d9d6d0;display:grid;gap:14px;font-size:14px}footer a{text-align:center}dialog{border:0;border-radius:22px;padding:32px 24px;max-width:520px;width:calc(100% - 24px);max-height:88vh;color:#202a25}dialog::backdrop{background:#202a2580;backdrop-filter:blur(5px)}.close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:28px;cursor:pointer}dialog h2{font-size:28px;margin:12px 0 20px}dialog h3{font-size:16px;margin-top:26px}dialog p,dialog li{font-size:15px;line-height:1.65}dialog li{margin:10px 0}dialog ul{padding-left:20px}.book{display:block;margin-top:24px;text-align:center}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
header{position:relative;flex-wrap:wrap;padding:22px 24px 0}.logo{font-weight:900;font-size:46px;letter-spacing:-3px}header>small.catalog-heading{margin-left:auto}.hero{width:calc(100% + 48px);flex:0 0 calc(100% + 48px);margin:20px -24px 0;color:#202a25;padding:30px 24px 0}.hero img{width:calc(100% + 48px);height:auto;max-height:none;object-fit:contain;margin:0 -24px;display:block}.toolbar{padding:20px 20px 0;background:#f6f2ea}.filters{position:static;padding:0;gap:6px;background:none;flex-wrap:wrap}.filters button{padding:11px 10px;font-size:11px;flex:1}.search{margin-top:12px;border:1px solid #dedbd4;border-radius:9px;padding:12px 14px;background:#fffdf8;color:#202a25;width:100%;font-size:14px}.count{margin:16px 20px 0;color:#738076;font-size:11px}main{padding:0}.grid{display:grid;gap:14px;padding:8px 20px}.section-title{font-size:14px;font-weight:500;letter-spacing:.5px;margin:22px 4px 8px}.bottom{justify-content:flex-end}.foot-inner{display:grid;gap:14px}.foot-inner a{display:block;text-align:center}.modal-head>img{display:none}.modal-head .close{position:sticky;display:block;margin-left:auto;top:0;padding:0 8px}dialog .modal-price{font-size:22px;margin-top:20px}dialog .cta{display:block;text-align:center;margin-top:20px;background:#202a25;color:white;padding:14px;border-radius:6px;text-decoration:none}.edit-card{position:absolute;right:10px;bottom:10px;font-size:10px;padding:5px 8px;border:1px solid #dedbd4;border-radius:5px;background:#f6f2ea;color:#202a25}.product:has(.edit-card){padding-bottom:48px}.header-edit{top:20px;bottom:auto;right:24px}.tab-edit{font-size:9px;margin-left:6px}.edit-dialog form{display:grid;gap:14px}.edit-dialog label{display:grid;gap:8px;font-size:13px}.edit-dialog input,.edit-dialog textarea{background:#fffdf8;border:1px solid #d9d6d0;border-radius:8px;padding:12px;color:#202a25;font:inherit;max-width:100%;width:100%}.edit-dialog textarea{min-height:90px}.epp-add-card{padding:18px;border:1px dashed #c9a771;border-radius:18px;background:#fffdf8;color:#202a25}.drag-ghost{position:fixed;z-index:100;pointer-events:none;opacity:.8}.drop-target{outline:2px solid #c9a771}.drag-source{opacity:.3}[hidden]{display:none!important}

/* Restrained colours shared with the EPP site, and one aligned action row. */
.card{--card-tone:#f2ede4;background:var(--card-tone);border-color:#dedbd4;display:flex;flex-direction:column}
.theme-custom{--card-tone:#000;color:#dec1fc;border-color:#000}
.theme-custom h2,.theme-custom .price,.theme-custom p{color:#dec1fc}
.theme-custom .details{background:#dec1fc;color:#000}
.theme-custom h2:before{background:#dec1fc}.theme-custom:hover h2{color:#000}
.theme-team{--card-tone:#e4edf3}.theme-pro{--card-tone:#e3ece5}.theme-start{--card-tone:#f0e6d7}
.theme-knowledge{--card-tone:#ece4f1}.theme-recruitment{--card-tone:#e3ece5}.theme-ai{--card-tone:#e1eaf2}.theme-training{--card-tone:#eee3d6}.theme-payment_brokers{--card-tone:#e4e7f0}.theme-interviewer{--card-tone:#ece0dc}.theme-mystery{--card-tone:#e5e9df}.theme-it_doctor{--card-tone:#e1e9eb}
.card.free{--card-tone:#dec1fc;border:1px solid #c5a3e1;box-shadow:0 6px 22px #9065ac14}.card.free h2{font-weight:800;font-size:27px}.card.free .price{color:#493258;font-weight:600}.card.free .summary{color:#4b4052}
.card .bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}.card .bottom .price{margin:0;font-size:16px;line-height:1.4;white-space:normal}.card .details{flex-shrink:0}
.modal-head .close{position:sticky;top:0;right:auto;margin:0 0 12px auto;width:34px;height:34px;padding:0;display:flex;align-items:center;justify-content:center;background:#000;color:#fff;border:1px solid #000;border-radius:2px;font-size:23px;line-height:1}
.modal-head .close:hover{background:#202020}.edit-dialog [type=button]{border-radius:2px}
@media(max-width:400px){.card .bottom .price{font-size:14px}.card .details{padding:12px 15px}.card h2{font-size:22px}}

/* Gold FREE controls; readable sentence breaks throughout the catalog. */
.card.free{border:2px solid #c9a771}.card.free .details{background:#c9a771;border:1px solid #b79354;color:#201a10;font-weight:600}.card.free .details:hover{background:#b79354;color:#16120b}
.card .summary,.modal-body p,.modal-body li,.intro-invite p{white-space:pre-line;line-height:1.7;overflow-wrap:break-word;word-break:normal;text-wrap:pretty}
.modal-body>h2,.intro-invite>h2{text-align:center;padding:0 10px}.intro-lesson-heading{font-size:28px;line-height:1.3;letter-spacing:-.5px}
.intro-lesson-modal,.intro-invite{border:2px solid #c9a771}.intro-lesson-modal .cta,.intro-invite .cta{background:#c9a771;color:#201a10;border:1px solid #b79354}
.intro-invite .close{position:sticky;top:0;display:flex;align-items:center;justify-content:center;margin:0 0 12px auto;width:34px;height:34px;padding:0;background:#000;color:#fff;border:1px solid #000;border-radius:2px;font-size:23px}

header{background:#000}header .logo{color:#dec1fc;font-weight:850;font-size:48px;letter-spacing:-.06em}header>span{color:#d8d4de}

.card.free{--card-tone:#fff;background:#fff}

header>small.catalog-heading{color:#d8d4de}
.card.free h2{font-size:23px;font-weight:700}
.card[data-sort-key=custom],.card[data-sort-key=team],.card[data-sort-key=pro],.card[data-sort-key=start],.card[data-sort-key=intro_lesson]{min-height:220px}
@media(max-width:400px){.card.free h2{font-size:22px}}

@media(max-width:550px){.card[data-sort-key=custom],.card[data-sort-key=team],.card[data-sort-key=pro],.card[data-sort-key=start],.card[data-sort-key=intro_lesson]{min-height:260px}}

/* Compact cards: height follows the text, without forced empty space. */
.card[data-sort-key]{min-height:0;padding:20px}
.card .summary{margin:12px 0 16px;line-height:1.55}
.card .details{padding:11px 18px}
.card .bottom{margin-top:0}
.product:has(.edit-card){padding-bottom:44px}
@media(max-width:550px){.card[data-sort-key]{min-height:0;padding:18px}.card .summary{margin:10px 0 14px}}

/* Sticky section labels and uncluttered dialog headings. */
.count{display:none!important}
.section-title{position:sticky;top:0;z-index:4;display:flex;align-items:center;min-height:48px;background:#000;color:#fff;margin:12px -20px 4px;padding:14px 24px;width:calc(100% + 40px);font-size:15px;line-height:1.3;font-weight:600;letter-spacing:.2px}
.modal-body>h2,.intro-invite>h2{text-align:left;padding:0;margin:8px 28px 22px 0;line-height:1.3}
dialog{padding-top:40px}
.modal-head{height:0}
.modal-head .close,.intro-invite .close{position:absolute;top:12px;right:12px;width:32px;height:32px;margin:0;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;color:#202a25;border:0;border-radius:0;font-size:28px;font-weight:400;line-height:1;z-index:2}
.modal-head .close:hover,.intro-invite .close:hover{background:transparent;color:#000}
.modal-body p,.intro-invite p{margin:0 0 18px}.modal-body h3{margin:24px 0 12px}

.hero{background:radial-gradient(ellipse at 48% 50%,#ffffff70,transparent 66%),#e3f1fb;color:#243448}.hero p,.hero .kicker{color:#536478}

.section-title{min-height:38px;padding:9px 24px}
