/* Reflexology Revisited brand system v1. Role-based colors; layouts remain native. */
@font-face{font-family:RuthSans;src:url('../dm-sans-medium.ttf') format('truetype');font-weight:500 800;font-display:swap}
:root{--studio-ink:var(--rr-navy);--studio-paper:var(--rr-paper);--studio-sage:var(--rr-surface);--studio-clay:var(--rr-gold-text);--studio-gold:var(--rr-gold);--bs-primary:#102c42;--bs-body-color:#243746;--bs-body-bg:#f7f7f4;--bs-link-color:#102c42;--bs-border-color:#d8dddc}
body{font-family:RuthSans,'DM Sans',Arial,sans-serif!important;font-size:1rem;color:var(--rr-ink)!important;background:var(--rr-paper)!important;line-height:1.65}
body #page,body #topofscroll,body #region-main{background:var(--rr-paper)}
body h1,body h2,body h3,.ruth-workbook h1,.ruth-workbook h2{font-family:RuthSerif,'DM Serif Display',Georgia,serif;color:var(--rr-navy);font-weight:400;line-height:1.2}
body h1{font-size:clamp(2rem,3.5vw,2.5rem)}body h2{font-size:2rem}body h3{font-size:1.5rem}
body a{color:var(--rr-navy);text-underline-offset:4px}body a:hover{color:var(--rr-navy-hover)}
body .navbar{background:var(--rr-white)!important;border-bottom:1px solid var(--rr-line)!important;box-shadow:none}
body .navbar .navbar-brand .logo{width:180px;height:54px;object-fit:contain}
body .secondary-navigation,body .secondary-navigation .moremenu,body .breadcrumb{background:transparent!important}
body .secondary-navigation{border-color:var(--rr-line)!important}body .nav-tabs .nav-link.active{border-bottom-color:var(--rr-navy)!important;color:var(--rr-navy)!important}
body .drawer,body.ruth-studio .drawer-left,body.ruth-studio .drawer-left{background:var(--rr-white)!important;border-color:var(--rr-line)!important}
body .drawer-left{border-right:1px solid var(--rr-line)}body .drawerheader{background:var(--rr-white)!important}
body .courseindex .courseindex-item{color:var(--rr-muted);border-radius:8px;font-size:.875rem}
body .courseindex .courseindex-link,body .courseindex [data-for="section_title"]{color:inherit!important}
body .courseindex .courseindex-section-title{color:var(--rr-navy);font-weight:600}
body .courseindex .courseindex-item:hover{background:var(--rr-surface)!important;color:var(--rr-navy)!important}
body .courseindex .courseindex-item.pageitem,body .courseindex .courseindex-item.pageitem:hover{background:var(--rr-navy)!important;color:var(--rr-white)!important;box-shadow:inset 3px 0 0 var(--rr-gold)}
body .courseindex .courseindex-item.pageitem .courseindex-link,body .courseindex .courseindex-item.pageitem .completioninfo{color:white!important}
body .btn-primary,body .studio-button,body .ruth-workbook .btn-primary,body .ruth-school .school-nav a:first-child{background:var(--rr-navy)!important;border:1px solid var(--rr-navy)!important;color:white!important;border-radius:8px!important;box-shadow:none;min-height:44px;font-family:RuthSans,Arial,sans-serif;font-size:.875rem;font-weight:600;line-height:1.5;padding:11px 20px}
body .btn-primary:hover,body .studio-button:hover,body .ruth-school .school-nav a:first-child:hover{background:var(--rr-navy-hover)!important;border-color:var(--rr-navy-hover)!important;transform:none}
body .studio-hero .studio-button{background:var(--rr-gold-light)!important;color:var(--rr-navy)!important;border-color:var(--rr-gold-light)!important}
body .studio-hero .studio-button:hover{background:var(--rr-white)!important;border-color:var(--rr-white)!important}
body .btn-secondary,body .btn-outline-primary,body .studio-focus-button,body .ruth-school .school-nav a:not(:first-child){background:var(--rr-white);border:1px solid var(--rr-control);color:var(--rr-navy);border-radius:8px!important;min-height:44px;font-size:.875rem;box-shadow:none}
body .btn-secondary:hover,body .btn-outline-primary:hover,body .studio-focus-button:hover,body .ruth-school .school-nav a:not(:first-child):hover{background:var(--rr-surface);color:var(--rr-navy);transform:none}
body .btn-primary:disabled,body .btn-primary.disabled{background:var(--rr-surface)!important;color:var(--rr-muted)!important;border-color:var(--rr-line)!important;opacity:1}
body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--rr-gold-text)!important;outline-offset:3px;box-shadow:0 0 0 2px white!important}
body :is(input,textarea,select,.form-control,.custom-select){color:var(--rr-ink);accent-color:var(--rr-navy)}
body :is(.form-control,.custom-select),body #ruth-editor :is(textarea,select,input:not([type=checkbox])){background:var(--rr-white)!important;border:1px solid var(--rr-control)!important;border-radius:8px!important;font-size:1rem;line-height:1.5;min-height:44px}
body .card,body .activity-item,body .login-container{border-color:var(--rr-line)!important;border-radius:12px!important}
body .studio-hero{background:var(--rr-navy);color:white;border-radius:16px!important;box-shadow:none}
body .studio-hero :is(h1,h2,h3){color:white}body .studio-hero .studio-eyebrow{color:var(--rr-gold-light)}
body .studio-hero :is(.studio-intro,.studio-progress-message,.studio-resume-name,.studio-ring span){color:#e8ecee}
body .studio-hero-visual{background-color:var(--rr-navy);background-image:linear-gradient(0deg,#102c42b3,#102c4240),url('../practice-room.png')}
body .studio-ring{background:radial-gradient(closest-side,var(--rr-navy) 82%,transparent 84%),conic-gradient(var(--rr-gold-light) var(--progress),#ffffff42 0)}
body .studio-trail,body .studio-chapter-card,body .studio-outline li.section,body .ruth-workbook,body.studio-lesson .ruth-lesson-notes,body .ruth-school .school-card{background:var(--rr-white)!important;border:1px solid var(--rr-line)!important;border-radius:12px!important;box-shadow:none;color:var(--rr-ink)}
body .studio-trail{padding:24px;gap:20px 32px}body .studio-ring-small{background:radial-gradient(closest-side,var(--rr-white) 78%,transparent 80%),conic-gradient(var(--rr-navy) var(--progress),var(--rr-line) 0)}
body .studio-ring-small strong{color:var(--rr-navy)}
body .studio-meter progress,body .studio-meter progress::-webkit-progress-bar{background:var(--rr-line)}
body .studio-meter progress::-webkit-progress-value{background:var(--rr-navy)}body .studio-meter progress::-moz-progress-bar{background:var(--rr-navy)}
body .studio-hero progress::-webkit-progress-bar{background:#ffffff30}body .studio-hero progress::-webkit-progress-value{background:var(--rr-gold-light)}body .studio-hero progress::-moz-progress-bar{background:var(--rr-gold-light)}
body :is(.studio-progress-message,.studio-progress-explainer,.studio-section-note,.studio-guide-note,.studio-art-note,.school-card .percent,.ruth-school .intro,.ruth-question small){color:var(--rr-muted);font-size:.875rem;line-height:1.6}
body .studio-progress-explainer{border-color:var(--rr-line)}
body :is(.studio-eyebrow,.ruth-school .eyebrow,.ruth-eyebrow,.studio-card-copy .studio-eyebrow,.studio-watch-top .studio-eyebrow,.studio-watch-guide>.studio-eyebrow,.studio-kind){color:var(--rr-gold-text);font-size:.75rem;letter-spacing:.12em;line-height:1.6}
body .studio-card-copy h3{font-size:1.5rem;line-height:1.25}body .studio-card-copy .studio-meter-label,body .studio-meter-label{font-size:.875rem}
body .studio-next{background:var(--rr-white)!important;border:1px solid var(--rr-line)!important;border-left:4px solid var(--rr-gold)!important;border-radius:12px!important;padding:28px;box-shadow:none}
body .studio-next::after{display:none}body .studio-next h3{max-width:100%;font-size:1.75rem}body .studio-next>p:not(.studio-eyebrow){color:var(--rr-muted);font-size:1rem}
body .studio-watch-guide,body .studio-workbook-banner,body .ruth-section-card,body .studio-location,body .studio-announcement,body .studio-h5pactivity,body .studio-quiz,body .studio-ruthworkbook{background:var(--rr-surface)!important;border-color:var(--rr-line)!important;color:var(--rr-ink);border-radius:12px}
body .studio-location{font-size:.875rem;padding:12px 16px}body .studio-lesson-nav{font-size:.875rem;gap:12px 24px}body .studio-lesson-nav a{padding:10px 0}
body .studio-watch-guide h3{font-size:1.5rem}body .studio-watch-guide ol,body .studio-guide-note{font-size:.875rem}
body .studio-workbook-banner h2{font-size:2rem}body .studio-workbook-banner p:last-child{font-size:1rem}
body.studio-lesson .ruth-lesson-notes{font-size:1rem;line-height:1.75;padding:32px}body .ruth-lesson-notes :is(p,ul,ol){max-width:72ch}body .ruth-lesson-notes summary{min-height:44px}
body.ruth-studio #ruth-editor fieldset,body .ruth-question{background:var(--rr-white)!important;border:1px solid var(--rr-line)!important;border-radius:12px!important;padding:24px}
body .ruth-question legend{font-family:RuthSans,Arial,sans-serif;font-size:1.125rem;font-weight:600;color:var(--rr-navy)}body .ruth-row{border-color:var(--rr-line)}
body .ruth-portfolio h2,body .ruth-portfolio td,body .ruth-portfolio th{border-color:var(--rr-line)}
body .ruth-school .school-card{border-top:3px solid var(--rr-navy)!important;padding:28px}body .ruth-school .school-card:nth-child(2n){border-top-color:var(--rr-navy)!important}
body .ruth-school .gentle-note{background:var(--rr-navy)!important;color:white;border-radius:16px}body .ruth-school .gentle-note :is(h2,a){color:white}body .ruth-school .gentle-note .eyebrow{color:var(--rr-gold-light)}
body.ruth-studio .activityiconcontainer,body.ruth-studio .studio-ruthworkbook .activityiconcontainer{background:var(--rr-surface)!important;border-radius:8px!important}
body .que .formulation{background:var(--rr-white)!important;border:1px solid var(--rr-line)!important;border-radius:12px!important;color:var(--rr-ink)}
body .que .info,body .quizreviewsummary{background:var(--rr-surface)!important;border:1px solid var(--rr-line)!important;color:var(--rr-ink)}body .que .answer>div{border-color:var(--rr-line)!important}body .que .qtext{font-size:1.125rem;line-height:1.65}
body .que .outcome{background:var(--rr-surface)!important;color:var(--rr-ink)!important}
body .que.correct .outcome{background:var(--rr-success-bg)!important;color:var(--rr-success)!important;border-left:3px solid var(--rr-success)}
body .que.incorrect .outcome{background:var(--rr-danger-bg)!important;color:var(--rr-danger)!important;border-left:3px solid var(--rr-danger)}
body .que.partiallycorrect .outcome{background:var(--rr-warning-bg)!important;color:var(--rr-warning)!important;border-left:3px solid var(--rr-warning)}
body :is(.alert-success,.que .correct .feedback,.que .correct .specificfeedback){background:var(--rr-success-bg)!important;color:var(--rr-success)!important;border-color:var(--rr-success)!important}
body :is(.alert-warning,.que .partiallycorrect .feedback){background:var(--rr-warning-bg)!important;color:var(--rr-warning)!important;border-color:var(--rr-warning)!important}
body :is(.alert-danger,.que .incorrect .feedback,.que .incorrect .specificfeedback){background:var(--rr-danger-bg)!important;color:var(--rr-danger)!important;border-color:var(--rr-danger)!important}
body .alert-info{background:var(--rr-info-bg)!important;color:var(--rr-info)!important;border-color:var(--rr-info)!important}
body .login-container{background:white!important}body.pagelayout-login #page .login-layout-left{background:var(--rr-navy)!important}body .login-layout-left-content{color:white}body .login-layout-left-content h1{color:white}
body #ruth-ai button{font-family:RuthSans,Arial,sans-serif;min-height:44px}body #ruth-ai{color:var(--rr-ink)}
body .ruth-ai-launch,body .ruth-ai-send{background:var(--rr-navy)!important;color:white!important}body .ruth-ai-panel{background:var(--rr-white)!important;border-color:var(--rr-line)!important;border-radius:12px}body .ruth-ai-message,body .ruth-ai-message.user{background:var(--rr-surface)!important;color:var(--rr-ink)!important}
body .ruth-ai-eyebrow{color:var(--rr-gold-text);font-size:.75rem}body .ruth-ai-note,body .ruth-ai-status,body .ruth-ai-privacy{font-size:.875rem;color:var(--rr-muted)}body .ruth-ai textarea{font-size:1rem;border-color:var(--rr-control)}body .ruth-ai-prompts button{background:white;border-color:var(--rr-control)}
body .secondary-navigation .nav,body .secondary-navigation .navigation{background:transparent!important}
body .card,body .list-group-item,body .popover-region-footer-container{background:var(--rr-white)}
body.studio-outline li.section{background:var(--rr-white)!important;border-color:var(--rr-line)!important;border-radius:12px!important}
body .studio-hero .studio-eyebrow{color:var(--rr-gold-light)!important}
body .studio-hero :is(.studio-progress-message,.studio-intro,.studio-resume-name){color:#e8ecee!important}
body .ruth-school h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.12}
body#page-local-ruthschool-index #page-header .page-header-headings h1{display:none}
body .school-card progress{display:block;width:100%;height:8px;border:0;border-radius:8px;appearance:none;background:var(--rr-line)}
body .school-card progress::-webkit-progress-bar{background:var(--rr-line);border-radius:8px}body .school-card progress::-webkit-progress-value{background:var(--rr-navy);border-radius:8px}body .school-card progress::-moz-progress-bar{background:var(--rr-navy);border-radius:8px}
body .page-header-image img.activityicon{filter:grayscale(1)}
body.ruth-studio .activityiconcontainer .activityicon{filter:grayscale(1)!important}
@media(max-width:767px){body h1{font-size:2rem}body h2{font-size:1.75rem}body .studio-trail{padding:18px;gap:18px}body.studio-lesson .ruth-lesson-notes{padding:20px}body .studio-next{padding:22px}body .studio-next h3{font-size:1.5rem}body .studio-watch-top .studio-eyebrow{max-width:none}body .studio-hero-copy{padding:24px}body .navbar .navbar-brand .logo{width:150px;height:44px}body .studio-workbook-banner h2{font-size:1.5rem}}
@media(prefers-reduced-motion:reduce){body *,body *:before,body *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:480px){body .navbar .navbar-brand{width:44px;margin-right:8px!important}body .navbar .navbar-brand .logo{width:44px;height:44px;max-height:44px;object-position:-9999px;background:url('../revisited-20260927/emblem-transparent.png') center/contain no-repeat}}
@media print{body,body #page,body #region-main{background:white!important;color:#243746!important}.ruth-ai-launch,.ruth-ai-panel{display:none!important}}
