/* CROWN Field Survey: learning-platform screens (course, lesson, quiz, dashboard, sign-in, catalog archives).
   Scoped to body.crown-lms. Tokens come from crown.css (:root). */
body.crown-lms { background: var(--paper); color: var(--ink); font-family: var(--f-body); }
body.crown-lms #content, body.crown-lms .site-content { background: var(--paper); }
body.crown-lms.ast-separate-container { background: var(--paper); }
body.crown-lms.ast-separate-container .ast-article-single,
body.crown-lms.ast-separate-container .ast-article-post,
body.crown-lms .site-main > article { background: var(--paper-hi); border: 1px solid var(--rule); border-top: 3px solid var(--ink); padding: clamp(24px, 4vw, 56px); box-shadow: none; }
body.crown-lms #primary { margin-top: clamp(24px, 4vw, 56px); margin-bottom: clamp(32px, 5vw, 72px); }

/* type */
body.crown-lms .entry-title { font: 600 clamp(2rem, 1.4rem + 2.2vw, 3.25rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); margin-bottom: var(--s4); }
body.crown-lms .entry-meta, body.crown-lms .entry-meta a { font: 500 .8125rem/1.4 var(--f-display); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-mute); }
body.crown-lms .entry-content h1, body.crown-lms .entry-content h2, body.crown-lms .entry-content h3, body.crown-lms .entry-content h4,
body.crown-lms .llms-h3, body.crown-lms .llms-meta-title, body.crown-lms .llms-sd-title, body.crown-lms .llms-sd-section-title, body.crown-lms .llms-form-heading { font-family: var(--f-display); font-weight: 600; color: var(--ink); letter-spacing: .01em; }
body.crown-lms .entry-content h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.05; margin: 1.6em 0 .5em; }
body.crown-lms .entry-content h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.12; margin: 1.4em 0 .4em; }
body.crown-lms .entry-content, body.crown-lms .entry-content p, body.crown-lms .entry-content li { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.65; }
body.crown-lms a { color: var(--steel-deep); text-underline-offset: .22em; }
body.crown-lms a:hover { color: var(--survey-deep); }
body.crown-lms .wp-block-separator, body.crown-lms hr { border: 0; border-top: 1px solid var(--rule); opacity: 1; }

/* buttons */
body.crown-lms .llms-button-primary, body.crown-lms .llms-button-action, body.crown-lms .llms-button-secondary,
body.crown-lms button.llms-field-button, body.crown-lms a.llms-button-primary, body.crown-lms a.llms-button-secondary, body.crown-lms .llms-start-quiz-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 22px; border-radius: 2px;
  font: 600 1rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .09em; text-decoration: none; box-shadow: none; transition: background-color .2s, color .2s, border-color .2s; }
body.crown-lms .llms-button-primary, body.crown-lms .llms-button-action, body.crown-lms button.llms-field-button, body.crown-lms .llms-start-quiz-button { background: var(--survey); border: 1.5px solid var(--survey); color: var(--paper-hi); }
body.crown-lms .llms-button-primary:hover, body.crown-lms .llms-button-action:hover, body.crown-lms button.llms-field-button:hover, body.crown-lms .llms-start-quiz-button:hover { background: var(--survey-deep); border-color: var(--survey-deep); color: var(--paper-hi); }
body.crown-lms .llms-button-secondary { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
body.crown-lms .llms-button-secondary:hover { background: var(--ink); color: var(--paper-hi); }
body.crown-lms .llms-button-plain { color: var(--steel-deep); font-family: var(--f-display); letter-spacing: .06em; text-transform: uppercase; }

/* instructors + meta */
body.crown-lms .llms-meta-title { font-size: .8125rem; text-transform: uppercase; letter-spacing: .2em; padding-bottom: var(--s3); border-bottom: 1px solid var(--ink); }
body.crown-lms .llms-author, body.crown-lms .llms-author-info { color: var(--ink-soft); }

/* syllabus */
body.crown-lms .llms-syllabus-wrapper { border-top: 1.5px solid var(--ink); margin-top: var(--s6); }
body.crown-lms .llms-syllabus-wrapper .llms-section-title { margin: var(--s6) 0 var(--s2); padding: 0 0 var(--s2); font-size: .9375rem; text-transform: uppercase; letter-spacing: .14em; color: var(--steel-deep); border-bottom: 1px solid var(--rule); background: none; }
body.crown-lms .llms-lesson-preview { margin: 0; }
body.crown-lms .llms-lesson-preview .llms-lesson-link { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); background: none; box-shadow: none; text-decoration: none; color: var(--ink); transition: background-color .25s; }
body.crown-lms .llms-lesson-preview .llms-lesson-link:hover { background: linear-gradient(90deg, transparent, rgba(215, 227, 238, .55) 30%, rgba(215, 227, 238, .55)); }
body.crown-lms .llms-lesson-preview .llms-lesson-preview-row { display: flex; align-items: baseline; gap: var(--s4); }
body.crown-lms .llms-lesson-counter { font: 600 .875rem/1 var(--f-display); letter-spacing: .08em; color: var(--survey); min-width: 52px; }
body.crown-lms .llms-lesson-title { font: 600 1.15rem/1.2 var(--f-display); color: var(--ink); }
body.crown-lms .llms-lesson-excerpt, body.crown-lms .llms-lesson-excerpt p { color: var(--ink-soft); font-size: .9375rem; margin: 4px 0 0; }
body.crown-lms .llms-lesson-preview.llms-lesson-locked .llms-lesson-title { color: var(--ink-mute); }
body.crown-lms .llms-lesson-preview .llms-extra, body.crown-lms .llms-lesson-meta { color: var(--ink-mute); font: 500 .8125rem/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .1em; }
body.crown-lms .llms-lesson-preview.is-complete .llms-lesson-counter, body.crown-lms .llms-lesson-preview .llms-lesson-complete { color: var(--survey); }

/* lesson navigation */
body.crown-lms .llms-course-navigation { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s4); margin-top: var(--s7); }
body.crown-lms .llms-course-navigation .llms-lesson-preview .llms-lesson-link { padding: var(--s4) var(--s5); border: 1px solid var(--ink); background: var(--paper); }
body.crown-lms .llms-pre-text { display: block; font: 600 .75rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .16em; color: var(--survey-deep); margin-bottom: 6px; }
body.crown-lms .llms-parent-course-link { font: 600 .875rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; }
body.crown-lms .llms-lesson-button-wrapper { margin: var(--s6) 0; }

/* quiz */
body.crown-lms .llms-quiz-wrapper { border: 1px solid var(--rule); background: var(--paper); padding: var(--s5); }
body.crown-lms .llms-quiz-meta-info { list-style: none; margin: var(--s3) 0 var(--s5); padding: 0; border-top: 1px solid var(--rule); }
body.crown-lms .llms-quiz-meta-item { padding: 10px 0; border-bottom: 1px solid var(--rule); font: 500 .9375rem/1.3 var(--f-display); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
body.crown-lms .llms-quiz-meta-item span, body.crown-lms .llms-quiz-meta-item strong { color: var(--ink); }

/* forms (sign-in, account) */
body.crown-lms .llms-form-field label { font: 600 .875rem/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
body.crown-lms .llms-field-input, body.crown-lms .llms-form-field input[type="text"], body.crown-lms .llms-form-field input[type="email"], body.crown-lms .llms-form-field input[type="password"], body.crown-lms .llms-form-field select, body.crown-lms .llms-form-field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; background: var(--paper-hi); border: 1.5px solid var(--rule-strong); border-radius: 2px; color: var(--ink); font: 400 1rem/1.4 var(--f-body); box-shadow: none; }
body.crown-lms .llms-field-input:focus, body.crown-lms .llms-form-field input:focus, body.crown-lms .llms-form-field select:focus, body.crown-lms .llms-form-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200, 50, 60, .18); }
body.crown-lms .llms-person-login-form-wrapper, body.crown-lms .llms-new-person-form-wrapper { background: var(--paper-hi); border: 1px solid var(--ink); padding: clamp(20px, 3vw, 40px); }
body.crown-lms .llms-description { color: var(--ink-mute); font-size: .875rem; }

/* student dashboard */
body.crown-lms .llms-sd-header { border-bottom: 1.5px solid var(--ink); margin-bottom: var(--s6); }
body.crown-lms .llms-sd-title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); text-transform: uppercase; }
body.crown-lms .llms-sd-nav .llms-sd-items { display: flex; flex-wrap: wrap; gap: 0 var(--s5); margin: 0; padding: 0; list-style: none; }
body.crown-lms .llms-sd-nav .llms-sd-item .llms-sd-link { position: relative; display: inline-block; padding: 14px 0; font: 600 .9375rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); text-decoration: none; }
body.crown-lms .llms-sd-nav .llms-sd-item .llms-sd-link:hover, body.crown-lms .llms-sd-nav .llms-sd-item.current .llms-sd-link { color: var(--ink); box-shadow: inset 0 -3px 0 var(--survey); }
body.crown-lms .llms-sd-nav .llms-sep { display: none; }
body.crown-lms .llms-sd-section { margin-bottom: var(--s7); }
body.crown-lms .llms-sd-section-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .18em; padding-bottom: var(--s3); border-bottom: 1px solid var(--ink); }
body.crown-lms .llms-loop-item-content { background: var(--paper); border: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding-bottom: var(--s4); transition: border-color .2s; }
body.crown-lms .llms-loop-item-content:hover { border-color: var(--ink); }
body.crown-lms .llms-loop-item-content .llms-loop-title { font: 600 1.25rem/1.15 var(--f-display); color: var(--ink); padding: var(--s4) var(--s4) 0; }
body.crown-lms .llms-loop-item-content .llms-meta, body.crown-lms .llms-loop-item-content .llms-author { padding: 0 var(--s4); color: var(--ink-mute); font-size: .875rem; }
body.crown-lms .llms-progress { margin: var(--s3) var(--s4) 0; }
body.crown-lms .llms-progress .progress-bar { height: 6px; background: var(--rule); border-radius: 0; }
body.crown-lms .llms-progress .progress-bar-complete { background: var(--survey); border-radius: 0; }
body.crown-lms .llms-progress .llms-progress-label, body.crown-lms .llms-progress .progress__indicator { font: 600 .8125rem/1 var(--f-display); letter-spacing: .08em; color: var(--ink); }
body.crown-lms .llms-sd-section-footer { margin-top: var(--s5); }

/* notices */
body.crown-lms .llms-notice { background: var(--paper); border: 1px solid var(--rule-strong); border-left: 3px solid var(--steel); color: var(--ink); }
body.crown-lms .llms-notice.llms-error { border-left-color: var(--survey); }
body.crown-lms .llms-notice.llms-success { border-left-color: #2E7D4F; }

/* Dashboard page head: the Elementor heading and intro above the learner area. */
body.crown-lms .elementor-widget-heading .elementor-heading-title { font-family: var(--f-display); font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .01em; line-height: 1; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }
body.crown-lms .elementor-widget-text-editor, body.crown-lms .elementor-widget-text-editor p { color: var(--ink-soft); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; }
