/* Limited to the two account sections and native Tutor course/lesson pages. */
.smh-tutor-account, body.smh-tutor-account-page, body.smh-tutor-detail {
  --tutor-brand-500:#D39C49; --tutor-brand-600:#D39C49; --tutor-brand-700:#D39C49;
  --tutor-brand-100:rgba(211,156,73,.1); --tutor-brand-200:rgba(211,156,73,.18); --tutor-brand-300:rgba(211,156,73,.3); --tutor-brand-400:#D39C49; --tutor-brand-450:#D39C49;
  --tutor-actions-brand-primary:#D39C49; --tutor-border-brand:#D39C49;
  --tutor-border-brand-secondary:#D39C49; --tutor-border-brand-tertiary:rgba(211,156,73,.3);
  --tutor-actions-brand-secondary:rgba(211,156,73,.18); --tutor-actions-brand-tertiary:rgba(211,156,73,.1);
  --tutor-icon-brand:#D39C49; --tutor-icon-brand-hover:#D39C49;
  --tutor-icon-brand-secondary:#D39C49;
  --tutor-surface-brand-primary:#D39C49; --tutor-surface-brand-dark:#D39C49;
  --tutor-surface-brand-primary-2:rgba(211,156,73,.12); --tutor-surface-brand-secondary:rgba(211,156,73,.15); --tutor-surface-brand-tertiary:rgba(211,156,73,.1); --tutor-surface-brand-quaternary:rgba(211,156,73,.06);
  --tutor-button-primary:#D39C49; --tutor-button-primary-hover:#D39C49; --tutor-button-primary-focused:#D39C49;
  --tutor-button-primary-soft:rgba(211,156,73,.12); --tutor-button-primary-soft-hover:rgba(211,156,73,.2);
  --tutor-text-brand:#263746; --tutor-text-brand-hover:#263746;
  --tutor-text-brand-secondary:#263746;
  --tutor-primary-color:#D39C49; --plyr-color-main:#D39C49;
  --tutor-color-primary:#D39C49; --tutor-color-primary-hover:#D39C49; --tutor-color-primary-rgb:211,156,73;
}
.smh-tutor-account.tutor-dashboard-layout { display:block !important; width:100%; max-width:100%; min-height:0; margin:0; padding:0; border:0; background:transparent; }
.smh-tutor-account .tutor-dashboard-main { width:100%; min-width:0; margin:0; padding:0; background:transparent; }
.smh-tutor-account-header { margin:0 0 20px; }
body.woocommerce-account .woocommerce-MyAccount-content .smh-tutor-account-header h2 { font:600 28px/1.3 Poppins,sans-serif; color:#263746 !important; margin:0 0 8px !important; }
body.woocommerce-account #tgwc-woocommerce .smh-tutor-account-header h2 { font-size:28px !important; font-weight:600 !important; line-height:1.3 !important; }
.smh-tutor-account-header p { margin:0; color:#53616b; font-size:15px; line-height:1.6; }
.smh-tutor-account-nav { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:20px; }
.smh-tutor-account-nav a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 16px; border:1px solid #e5ddcf; border-radius:9px; color:#263746 !important; background:#fff; text-decoration:none !important; font-size:14px; font-weight:600; }
.smh-tutor-account-nav a[aria-current], .smh-tutor-account-nav a:hover { border-color:#D39C49; background:rgba(211,156,73,.12); }
.smh-tutor-account .tutor-dashboard-body { border:1px solid #e7dfd2; border-radius:14px; background:#fff; box-shadow:0 6px 24px #26374608; }
.smh-tutor-account .tutor-dashboard-page { padding:22px; min-width:0; width:100%; max-width:100%; }
.smh-tutor-account :is(.tutor-card,.tutor-dashboard-page-card,.tutor-dashboard-courses-card,.tutor-progress-card) { border-color:#e7dfd2; border-radius:12px; box-shadow:none; min-width:0; }
.smh-tutor-account :is(h3,h4,h5) { color:#263746; line-height:1.35; }
body.woocommerce-account #tgwc-woocommerce .smh-tutor-account :is(h3,h4,h5) { font-size:20px !important; font-weight:600 !important; line-height:1.4 !important; text-transform:none; }
body.woocommerce-account #tgwc-woocommerce .smh-tutor-account .tutor-stat-card { height:auto; min-height:112px; padding:16px; text-decoration:none !important; color:#263746 !important; }
body.woocommerce-account #tgwc-woocommerce .smh-tutor-account h3.tutor-stat-card-title { font-size:13px !important; font-weight:600 !important; line-height:1.4 !important; margin:0 !important; text-decoration:none !important; overflow-wrap:normal; }
.smh-tutor-account .tutor-stat-card-header { align-items:flex-start; gap:8px; min-height:36px; }
.smh-tutor-account .tutor-stat-card-value { font-size:28px !important; line-height:1.2; font-weight:700; margin-top:10px; }
body.woocommerce-account #tgwc-woocommerce .smh-tutor-account h3.tutor-progress-card-title { font-size:17px !important; line-height:1.45 !important; font-weight:600 !important; margin:0 !important; display:block; -webkit-line-clamp:unset; max-height:none; overflow:visible; }
.smh-tutor-account .tutor-progress-card-header { height:auto; min-height:0; overflow:visible; }
.smh-tutor-account .tutor-progress-card-category { font-size:12px; line-height:1.45; color:#53616b; margin-bottom:8px; }
.smh-tutor-account :is(.tutor-dashboard-courses-list,.tutor-student-dashboard-courses > .tutor-flex) { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.smh-tutor-account .tutor-progress-card { display:flex; flex-direction:column; height:auto !important; max-height:none; background:#fff; }
.smh-tutor-account .tutor-progress-card:hover { border-color:#D39C49; box-shadow:0 7px 20px #2637460d; }
.smh-tutor-account .tutor-progress-card-inner { display:flex; flex-direction:column; flex:1; gap:16px; }
.smh-tutor-account .tutor-progress-card-thumbnail { width:100%; max-width:none; flex:none; border-radius:10px; }
.smh-tutor-account .tutor-progress-card-thumbnail img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.smh-tutor-account .tutor-progress-card-content { display:flex; flex-direction:column; gap:14px; width:100%; min-width:0; flex:1; }
.smh-tutor-account .tutor-progress-card-actions { position:static !important; opacity:1 !important; visibility:visible !important; transform:none !important; display:flex; flex-wrap:wrap; margin-top:14px; gap:8px; }
body.woocommerce-account #tgwc-woocommerce .smh-tutor-account .tutor-btn-ghost { background:transparent !important; color:#263746 !important; border-color:transparent !important; }
body.woocommerce-account #tgwc-woocommerce .smh-tutor-account .tutor-progress-card-actions .tutor-btn { background:#D39C49 !important; color:#17252f !important; border-color:#D39C49 !important; text-decoration:none !important; padding:9px 14px; }
.smh-tutor-account .tutor-account-container { width:100%; max-width:100%; min-width:0; margin:0; }
.smh-tutor-account .tutor-account-header { position:static; width:100%; }
.smh-tutor-account .tutor-profile-settings-tab-content { min-width:0; }
.smh-tutor-account .smh-learning-stage { display:block; flex:1 0 100%; border-left:3px solid #D39C49; padding:8px 10px; background:rgba(211,156,73,.1); color:#263746 !important; font-size:12px; line-height:1.5; }
.smh-tutor-account .tutor-dashboard-courses-tab { overflow:visible; }
.smh-tutor-account .tutor-dashboard-courses-tab :is(ul,.tutor-nav) { flex-wrap:wrap; gap:6px; }
.smh-tutor-account .tutor-dashboard-courses-tab a { white-space:normal; }
.smh-tutor-account :is(.tutor-btn-primary,.tutor-btn-primary-soft), body.smh-tutor-detail :is(.tutor-btn-primary,.tutor-btn-primary-soft) { background:#D39C49 !important; border-color:#D39C49 !important; color:#17252f !important; box-shadow:none; border-radius:9px; }
.smh-tutor-account :is(.tutor-btn-primary,.tutor-btn-primary-soft) *, body.smh-tutor-detail :is(.tutor-btn-primary,.tutor-btn-primary-soft) * { color:inherit !important; }
.smh-tutor-account :is(button,.tutor-btn), body.smh-tutor-detail :is(.tutor-btn, .tutor-learning-area button) { min-height:40px; line-height:1.4; }
.smh-tutor-account :is(a,button,input,textarea):focus-visible, body.smh-tutor-detail :is(.tutor-wrap,.tutor-learning-area) :is(a,button,input,textarea):focus-visible { outline:2px solid #263746; outline-offset:3px; box-shadow:0 0 0 4px rgba(211,156,73,.24); }
.smh-tutor-account :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { max-width:100%; border-radius:8px; }
.smh-tutor-account [x-cloak] { display:none !important; }

/* Existing account summary grids: only these sections get the exact brand gold. */
.smh-tutor-course-section .mpt-card-grid, .smh-workshop-section .mpt-workshop-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.smh-tutor-course-section .mpt-card, .smh-workshop-section .mpt-card { min-width:0; border:1px solid #e7dfd2; border-radius:12px; }
.smh-tutor-course-section .mpt-card-title, .smh-workshop-section .mpt-card-title { display:block; -webkit-line-clamp:unset; overflow:visible; font-size:15px; line-height:1.45; color:#263746; }
.smh-tutor-course-section .mpt-card-meta, .smh-workshop-section .mpt-card-meta { color:#53616b; }
body.woocommerce-account :is(.smh-tutor-course-section,.smh-workshop-section) .mpt-card-btn { background:#D39C49 !important; border:1px solid #D39C49 !important; color:#17252f !important; min-height:42px; display:flex; align-items:center; justify-content:center; padding:10px 14px; border-radius:8px; }
.smh-tutor-course-section progress { accent-color:#D39C49; }
.smh-tutor-course-section .mpt-course-details, .smh-workshop-section .smh-resource-link a { color:#263746 !important; text-decoration:underline; text-decoration-color:#D39C49; text-underline-offset:4px; }
.smh-workshop-section .mpt-view-more { display:inline-flex !important; }

/* Tutor course and learning interface; no selectors target unrelated site pages. */
body.smh-tutor-detail .tutor-wrap { color:#263746; }
body.smh-tutor-detail :is(.tutor-course-details-title,.tutor-course-details-content h2,.tutor-course-details-content h3) { color:#263746; line-height:1.3; }
body.smh-tutor-detail .tutor-course-details-title { font-size:clamp(26px,3vw,38px); margin-bottom:20px; }
body.smh-tutor-detail :is(.tutor-course-details-content,.tutor-course-sidebar-card) { min-width:0; }
body.smh-tutor-detail :is(.tutor-accordion-item,.tutor-course-sidebar-card) { border-color:#e7dfd2; border-radius:12px; }
body.smh-tutor-detail .tutor-accordion-item { margin-bottom:12px; }
body.smh-tutor-detail :is(.tutor-accordion-item-header,.tutor-course-content-list-item) { line-height:1.5; }
body.smh-tutor-detail .tutor-course-content-list-item { padding-block:13px; }
body.smh-tutor-detail .tutor-course-content-list-item:hover { background:rgba(211,156,73,.08); }
body.smh-tutor-detail :is(.tutor-learning-area-header,.tutor-learning-area-sidebar,.tutor-learning-area-main,.tutor-learning-area-content) { min-width:0; }
body.smh-tutor-detail .tutor-learning-area :is(h1,h2,h3,h4,h5) { color:#263746; line-height:1.35; }
body.smh-tutor-detail .tutor-learning-area :is(p,li,textarea) { line-height:1.65; }
body.smh-tutor-detail .tutor-learning-area textarea { border-radius:10px; }
body.smh-tutor-detail :is(.tutor-learning-area,.tutor-course-details-page) iframe { max-width:100%; }
body.smh-tutor-detail .tutor-course-topic-item.is-active { background:rgba(211,156,73,.12); border-color:#D39C49; }
body.smh-tutor-detail .tutor-learning-header { background:#fff; border-bottom:1px solid #e7dfd2; }
body.smh-tutor-detail .tutor-learning-header-title { font-size:16px !important; font-weight:600 !important; line-height:1.45 !important; letter-spacing:normal !important; text-transform:none !important; }
body.smh-tutor-detail .tutor-learning-sidebar { background:#fff; border:1px solid #e7dfd2; border-radius:12px; }
body.smh-tutor-detail .tutor-learning-nav-header-title { font-size:14px; line-height:1.5; white-space:normal; }
body.smh-tutor-detail .tutor-learning-nav-item { border-radius:9px; }
body.smh-tutor-detail .tutor-learning-nav-item.active { background:rgba(211,156,73,.12); }
body.smh-tutor-detail .tutor-learning-nav-item :is(h4,h5,a) { text-transform:none; letter-spacing:normal; line-height:1.5; }
body.smh-tutor-detail .tutor-learning-area :is(.tutor-btn-ghost,.tutor-btn-link,.tutor-btn-outline) { background:transparent !important; color:#263746 !important; border-radius:8px; }
body.smh-tutor-detail .tutor-learning-area .tutor-btn-outline { border-color:#e7dfd2 !important; }
body.smh-tutor-detail .tutor-expand-btn { background:#fff !important; color:#263746 !important; border:1px solid #e7dfd2 !important; border-radius:8px; }
body.smh-tutor-detail .tutor-learning-area .tutor-btn-link { padding:8px 10px; }
body.smh-tutor-detail .tutor-learning-area .tutor-mark-as-complete-button { background:#D39C49 !important; border:1px solid #D39C49 !important; border-radius:9px; color:#17252f !important; padding:10px 18px; min-height:44px; font-weight:600; }
body.smh-tutor-detail .tutor-learning-area .tutor-mark-as-complete-button * { color:inherit !important; }
body.smh-tutor-detail .tutor-learning-area-footer { border-top:1px solid #e7dfd2; background:#fff; }
body.smh-tutor-detail .tutor-course-details-content :is(h2,h3,h4) { color:#263746 !important; font-size:22px !important; line-height:1.4 !important; }
body.smh-tutor-detail .tutor-accordion-item-header, body.smh-tutor-detail .tutor-nav-link.is-active { color:#263746 !important; }
@media(max-width:1100px) {
  .smh-tutor-course-section .mpt-card-grid, .smh-workshop-section .mpt-workshop-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .smh-tutor-account .tutor-student-dashboard-stats > .tutor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .smh-tutor-account .tutor-dashboard-page { padding:16px 12px; }
  .smh-tutor-account :is(.tutor-dashboard-courses-list,.tutor-student-dashboard-courses > .tutor-flex), .smh-tutor-course-section .mpt-card-grid, .smh-workshop-section .mpt-workshop-grid { grid-template-columns:minmax(0,1fr); }
  .smh-tutor-account-nav a { padding:9px 12px; }
  body.woocommerce-account .woocommerce-MyAccount-content .smh-tutor-account-header h2 { font-size:24px; }
  .smh-tutor-account .tutor-dashboard-courses-list { padding:14px 10px; }
}
