/* v55 — Quiet depth for the pre-course cards. Scoped to this page only. */
.readable.page-pre{
 --pre-panel-line:#e2d6c2;
 --pre-panel-radius:16px;
 --pre-panel-shadow:0 12px 32px #6047250a,0 2px 5px #60472505;
 --pre-panel-surface:radial-gradient(ellipse at 100% 0%,#f3e8d54d,transparent 62%),linear-gradient(135deg,#fffefb,#faf6ee);
}

/* A restrained common surface; stage colors continue to identify each course. */
.readable.page-pre :is(.course-row,.course-detail,.teacher,.online-steps>li,.enrollment-choice,.overview-course,.faq-group,.section-details){
 border:1px solid var(--pre-panel-line);
 border-radius:var(--pre-panel-radius);
 background:var(--pre-panel-surface);
 box-shadow:inset 0 1px 0 #ffffffd9,var(--pre-panel-shadow);
}
.readable.page-pre .course-row{border-top:3px solid var(--stage-foundation);padding:32px;gap:30px}
.readable.page-pre .course-id{
 align-items:center;justify-content:center;gap:7px;padding:22px 12px;
 border:1px solid #dac69f;border-radius:12px;
 background:linear-gradient(145deg,#fcf5e5,#eadabd);
 box-shadow:inset 0 1px 0 #fffaf0;
}
.readable.page-pre .course-row .new-pill{border-radius:5px;background:linear-gradient(120deg,#fffdf6,#f5ead5)}
.readable.page-pre .course-tags{gap:8px}
.readable.page-pre .course-tags span{padding:5px 10px;border-radius:6px;background:linear-gradient(135deg,#ffffffd9,#f8f1e3);border-color:#e0d3bc}
.readable.page-pre .course-detail{padding:30px 32px}
.readable.page-pre .foundation-facts{
 padding:26px 28px;border:1px solid #e5d8be;border-radius:12px;
 background:radial-gradient(ellipse at 5% 0%,#fffefa 0%,transparent 65%),linear-gradient(120deg,#f8f1e3,#f1e5cd);
 box-shadow:inset 0 1px 0 #fffef5;
}
.readable.page-pre .foundation-facts .mini-label{padding-top:0;margin-top:0}
.readable.page-pre .foundation-facts dl>div{border-color:#d5c5a8}
.readable.page-pre .foundation-facts p:not(.mini-label){padding-top:8px}
/* Included support is visible alongside the contents and each purchase plan. */
.readable.page-pre .pre-included-support{padding:20px 22px;margin:22px 0;border:1px solid #d9c7a6;border-left:3px solid #9b7536;border-radius:10px;background:linear-gradient(115deg,#fffdf7e6,#f7efded9);box-shadow:inset 0 1px 0 #fffaf0}
.readable.page-pre .pre-included-support p{padding:0;margin:0}
.readable.page-pre .foundation-facts .pre-included-support p{padding-top:0}
.readable.page-pre .pre-included-label{color:#7a5b2b;letter-spacing:.04em}
.readable.page-pre .pre-included-support .pre-included-title{color:#60451d;font-weight:600;margin-top:7px}
.readable.page-pre .pre-included-title>span,.readable.page-pre .pre-included-period>time,.readable.page-pre .pre-included-end{display:inline-block;white-space:nowrap}
.readable.page-pre .pre-included-support .pre-included-period{margin-top:12px;color:#514b40}
.readable.page-pre .pre-included-period-label{display:block;color:#786d5b;margin-bottom:3px}
.readable.page-pre .pre-included-end{margin-left:5px}
.readable.page-pre .pre-included-support .pre-included-scope{margin-top:8px;color:#706655}
.readable.page-pre .enrollment-choice .pre-included-support{padding:16px 18px;margin:0 0 24px}
@layer readable-type{
 .readable.page-pre main .pre-included-label,.readable.page-pre main .pre-included-period-label,.readable.page-pre main .pre-included-scope{font-size:14px!important;line-height:1.8!important}
 .readable.page-pre main .pre-included-title{font-size:18px!important;line-height:1.7!important}
 .readable.page-pre main .enrollment-choice .pre-included-title{font-size:16px!important}
 .readable.page-pre main .pre-included-period{font-size:16px!important;line-height:1.8!important}
}
.readable.page-pre .course-dates-table table{border-collapse:separate;border-spacing:0;background:transparent}
.readable.page-pre .course-dates-table thead{background:linear-gradient(110deg,#f2e6cf,#f8f2e5)}
.readable.page-pre .course-dates-table th,.readable.page-pre .course-dates-table td{border:0;border-bottom:1px solid #e8dfd0;padding:16px 20px}
.readable.page-pre .course-dates-table thead th{color:#6f5429}
.readable.page-pre .course-dates-table thead th:first-child{border-radius:10px 0 0 0}
.readable.page-pre .course-dates-table thead th:last-child{border-radius:0 10px 0 0}
.readable.page-pre .course-dates-table tbody tr{background:linear-gradient(110deg,#fffefb,#faf7f0)}
.readable.page-pre .course-dates-table tbody th{color:var(--stage-foundation)}
.readable.page-pre .course-dates-table tbody td:last-child{color:#6f5429;font-weight:600}
.readable.page-pre .course-dates-table tbody tr:last-child th{border-radius:0 0 0 10px}
.readable.page-pre .course-dates-table tbody tr:last-child td:last-child{border-radius:0 0 10px 0}
.readable.page-pre .pre-benefit{
 padding:22px 24px;margin-block:24px;border:1px solid #e4d4b6;border-left:3px solid #a37d39;border-radius:10px;
 background:linear-gradient(115deg,#f4e9d2,#fffdf7);
}
.readable.page-pre .pre-benefit strong{color:#765721}
.readable.page-pre .course-detail details{border:1px solid #e3d7c2;border-radius:10px;background:linear-gradient(120deg,#fffefb,#f6efe2)}
.readable.page-pre .course-detail details[open]>summary{padding-bottom:16px;border-bottom:1px solid #e4d9c7;margin-bottom:8px}
.readable.page-pre .pre-wine-list>div{border-color:#e6dccb}

/* Teacher portraits and numbered steps retain the existing text hierarchy. */
.readable.page-pre .teacher-grid{gap:24px;align-items:stretch}
.readable.page-pre #course-support .pre-teacher-single{grid-template-columns:minmax(0,1fr);max-width:900px;margin-inline:auto}
.readable.page-pre .pre-teacher-single .teacher>div:not(.teacher-photo){flex:1;max-width:none}
.readable.page-pre .teacher{padding:28px;gap:24px;min-width:0;background:radial-gradient(ellipse at 0% 0%,#eaf0e380,transparent 60%),linear-gradient(145deg,#fffefb,#f8f6ef)}
.readable.page-pre .teacher>div{min-width:0}
.readable.page-pre .teacher .teacher-photo{width:118px;flex-basis:118px;height:181px;border-radius:10px;box-shadow:0 4px 12px #3b403413}
.readable.page-pre .teacher-role{color:#53674f}
.readable.page-pre .teacher .teacher-credentials{padding-top:16px;border-top:1px solid #e1e3d7}
.readable.page-pre .teacher .teacher-credentials>div{grid-template-columns:1fr;gap:5px}
.readable.page-pre .teacher .teacher-credentials dd{line-height:1.9;text-wrap:pretty}
.readable.page-pre .teacher .teacher-credentials dt{color:#716f62}
.readable.page-pre .teacher .source-link{color:#426354;text-underline-offset:5px}
.readable.page-pre .online-steps{gap:22px}
.readable.page-pre .online-steps>li{padding:28px 30px;border-top:2px solid #c9b28a}
.readable.page-pre .online-number{
 display:inline-flex;align-items:center;justify-content:center;width:50px;height:50px;margin-bottom:20px;
 border:1px solid #e1d0b0;border-radius:13px;font-size:26px;color:#826020;
 background:linear-gradient(145deg,#fffaf0,#ebdcc1);box-shadow:inset 0 1px 0 #fff;
}

/* Four equivalent price cards, with a clear and tactile application button. */
.readable.page-pre .enrollment-choices{gap:26px}
.readable.page-pre .enrollment-choice{position:relative;padding:32px;border-color:#d9c9ac;background:radial-gradient(ellipse at 100% 0%,#eddbb880,transparent 65%),linear-gradient(135deg,#fffefb,#faf5e9)}
.readable.page-pre .enrollment-choice::before{content:"";position:absolute;inset:0 26px auto;height:2px;background:linear-gradient(90deg,transparent,#bb9754,#e2cfa6,transparent)}
.readable.page-pre .enrollment-choice h3{padding-bottom:18px;border-bottom:1px solid #e8dcc8;margin-bottom:18px}
.readable.page-pre .enrollment-price{font-family:var(--serif);font-weight:600;letter-spacing:.015em;color:#795722}
.readable.page-pre .enrollment-year{color:#706655}
.readable.page-pre .enrollment-choice>p:last-of-type{text-wrap:pretty}
.readable.page-pre .enrollment-choice>.button{
 border:1px solid #87632b;border-radius:8px;color:#fffaf0;
 background:linear-gradient(120deg,#906929,#7e5b22);
 box-shadow:inset 0 1px 0 #ffffff26,0 4px 10px #77572616;
 transition:box-shadow .18s ease,background .18s ease;
}
.readable.page-pre .enrollment-choice>.button>span{opacity:.85}

/* Quiet accordion surfaces and the existing colored next-course cards. */
.readable.page-pre .faq-list>.faq-group{overflow:clip;border-color:#dbd8cd;background:linear-gradient(115deg,#f3f1e9,#faf8f2)}
.readable.page-pre .faq-group-items{background:linear-gradient(135deg,#fffefb,#faf8f2);border-top:1px solid #e5dfd2;border-radius:0 0 15px 15px}
.readable.page-pre .faq-group>summary{color:#4c5a63}
.readable.page-pre .faq-group>summary>span{color:#726b5d}
.readable.page-pre .faq-item .faq-number{color:#8a6832}
.readable.page-pre .faq-list .faq-item>summary{padding-right:34px}
.readable.page-pre .faq-item[open]>.faq-answer{color:#45443e}
.readable.page-pre .faq-group>summary:focus-visible{outline-offset:-4px;border-radius:15px}
.readable.page-pre .overview-course{border-top:3px solid var(--category);border-color:var(--category-line);background:linear-gradient(140deg,#fffefb,var(--category-soft));box-shadow:inset 0 1px 0 #fff,var(--pre-panel-shadow)}
.readable.page-pre .overview-course .button{border-radius:8px;box-shadow:inset 0 1px 0 #ffffff26}
.readable.page-pre .overview-price{border-top:1px solid var(--category-line);padding-top:20px;margin-top:24px}
.readable.page-pre .section-details{border-color:#ddceb5;background:linear-gradient(125deg,#fffdf7,#f5ecdc)}
.readable.page-pre .section-details>summary{color:#795722}
.readable.page-pre .section-details .enrollment-conditions{background:linear-gradient(135deg,#faf6ec,#f4ebdb);border-radius:10px;border-top:1px solid #d8c6a5}

@media(hover:hover) and (pointer:fine){
 .readable.page-pre .enrollment-choice>.button:hover{background:linear-gradient(120deg,#896126,#704d1b);box-shadow:inset 0 1px 0 #ffffff26,0 6px 15px #77572629}
 .readable.page-pre .course-detail summary:hover,.readable.page-pre .section-details>summary:hover{color:#5b4019}
 .readable.page-pre .faq-item>summary:hover{color:#80602c}
}
@media(max-width:1100px){
 .readable.page-pre .teacher{padding:26px;gap:26px}
 .readable.page-pre .enrollment-choice{padding:28px}
}
@media(max-width:600px){
 .readable.page-pre{--pre-panel-radius:12px;--pre-panel-shadow:0 6px 18px #60472508,0 1px 3px #60472504}
 .readable.page-pre .course-row{padding:24px 20px;gap:20px}
 .readable.page-pre .course-id{display:inline-flex;flex-direction:row;width:fit-content;padding:10px 16px;gap:14px;margin-bottom:20px;border-radius:8px}
 .readable.page-pre .course-id .stage-name{font-size:23px}
 .readable.page-pre .course-detail{padding:20px 16px}
 .readable.page-pre .foundation-facts{padding:22px 18px;border-radius:9px}
 .readable.page-pre .foundation-facts dl{gap:18px 12px}
 .readable.page-pre .pre-included-support{padding:18px 14px}
 .readable.page-pre .enrollment-choice .pre-included-support{padding:16px 14px}
 .readable.page-pre #foundation-details .course-dates-table table{background:transparent}
 .readable.page-pre #foundation-details .course-dates-table tr{padding:18px;border:1px solid #e0d3bc;border-radius:10px;box-shadow:inset 0 1px 0 #fff,0 3px 9px #60472505}
 .readable.page-pre #foundation-details .course-dates-table th,.readable.page-pre #foundation-details .course-dates-table td{border:0;padding:0;border-radius:0}
 .readable.page-pre #foundation-details .course-dates-table td:last-child{margin-top:13px;padding-top:12px;border-top:1px solid #e6dac7}
 .readable.page-pre .pre-benefit{padding:20px 18px}
 .readable.page-pre .course-detail details{padding:18px 16px}
 .readable.page-pre .teacher{padding:24px 20px;grid-template-columns:84px minmax(0,1fr);gap:16px 18px}
 .readable.page-pre .teacher .teacher-photo{width:84px;height:129px;flex-basis:auto;border-radius:8px}
 .readable.page-pre .teacher .teacher-credentials{padding-top:16px;margin-top:4px}
 .readable.page-pre .teacher h3{font-size:24px}
 .readable.page-pre .online-steps>li{padding:24px 22px}
 .readable.page-pre .online-number{width:44px;height:44px;font-size:24px;border-radius:11px;margin-bottom:18px}
 .readable.page-pre .enrollment-choices{gap:20px}
 .readable.page-pre .enrollment-choice{padding:26px 22px}
 .readable.page-pre .enrollment-choice h3{padding-bottom:16px;margin-bottom:16px}
 .readable.page-pre .faq-list>.faq-group>summary{padding:22px 40px 22px 20px}
 .readable.page-pre .faq-group-items{border-radius:0 0 11px 11px}
 .readable.page-pre .overview-course{padding:26px 22px}
}
@media(prefers-reduced-motion:reduce){.readable.page-pre .enrollment-choice>.button{transition:none}}
@media print{
 .readable.page-pre :is(.course-row,.course-detail,.teacher,.online-steps>li,.enrollment-choice,.overview-course,.faq-group,.section-details){box-shadow:none;background:#fff;border-color:#bbb}
 .readable.page-pre .enrollment-choice::before{display:none}
}

/* v82: show the pre-course name as one label. */
.readable.page-pre #course-foundation .course-id .stage-name{font-size:22px}
