/* Rycal light-only refinement v6 */
:root{color-scheme:light;--rycal-surface:#fff;--rycal-soft:#f7f9f7;--rycal-rule:#e1e9e4;--rycal-ink:#20342b;--rycal-muted:#687a71}
html,body{background:#fbfcfb!important;color:var(--rycal-ink)}
/* Integrated editorial sidebar */
.app-sidebar{width:218px!important;padding:24px 16px 18px!important;border-right:1px solid var(--rycal-rule)!important;background:#fff!important}
.sidebar-brand{padding:0 10px 26px!important}
.rycal-sidebar-wordmark{font-size:38px;font-weight:850;letter-spacing:-2px;color:var(--green-dark);line-height:.95}
.rycal-sidebar-wordmark span{display:block;font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:var(--text-soft);font-weight:700;margin-top:10px}
.sidebar-nav{gap:3px!important}.sidebar-link{min-height:44px;padding:10px 11px!important;border-radius:10px!important;font-size:14px!important;gap:11px!important;line-height:1.15}.sidebar-link .nav-icon{width:21px!important;min-width:21px!important;color:#3c755d!important}.sidebar-link .nav-icon svg{width:19px;height:19px}.sidebar-link:hover{background:#f4f8f5!important}.sidebar-link.active{background:#eaf3ed!important;color:#214d3a!important}.sidebar-link.active .nav-icon{color:#245c45!important}.sidebar-bottom{padding-left:10px!important}
/* One coherent button language */
.primary-button,.auth-submit{border-radius:10px!important;box-shadow:none!important;font-weight:750!important}.secondary-button,.compact-button,.count-button{border-radius:10px!important;box-shadow:none!important}.primary-button:hover,.secondary-button:hover,.compact-button:hover,.count-button:hover{transform:none!important}
/* Editorial page rhythm; cards only for actual objects/actions */
.screen>h1,.screen .dashboard-heading h1{letter-spacing:-.025em}.dashboard-section{margin:34px 0 42px!important}.dashboard-section-head{border-bottom:1px solid var(--rycal-rule);padding-bottom:10px;margin-bottom:14px!important}.dashboard-section-head h2{font-size:17px!important}.dashboard-empty,.progress-empty{background:transparent!important;border:0!important;border-left:3px solid #c9dbd0!important;border-radius:0!important;padding:8px 0 8px 14px!important}.continue-card,.dashboard-class-card,.quick-study-list,.progress-stat-card,.study-source-card,.teacher-panel,.teacher-stat-grid>div,.teacher-analytics-columns>div,.teacher-table-wrap,.teacher-assignment-row,.deep-assignment-row{box-shadow:none!important;border-color:var(--rycal-rule)!important}.weekly-stats{box-shadow:none!important;border-color:var(--rycal-rule)!important}
/* Consistent mastery vocabulary */
.mastery-legend{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 20px}.mastery-legend span{font-size:11px;font-weight:750;padding:5px 8px;border-radius:999px;border:1px solid var(--rycal-rule);background:#fff}.mastery-legend .needs{color:#8a4a3a}.mastery-legend .learning{color:#8a6a24}.mastery-legend .strong{color:#2f6b50}.mastery-legend .later{color:#65756d}
/* Cleaner teacher analytics */
.teacher-stat-grid{gap:0!important;border-top:1px solid var(--rycal-rule);border-bottom:1px solid var(--rycal-rule);margin:22px 0!important}.teacher-stat-grid>div{border:0!important;border-right:1px solid var(--rycal-rule)!important;border-radius:0!important;background:transparent!important;padding:16px!important}.teacher-stat-grid>div:last-child{border-right:0!important}.teacher-stat-grid strong{font-size:25px!important}.teacher-analytics-columns>div{background:#fff!important}.teacher-student-table th{background:#f8faf8}.teacher-weak-row strong{color:#8a4a3a}
/* Deep Work should feel like paper, not a dashboard */
.deep-work-shell{max-width:760px!important;margin:0 auto}.deep-work-shell>.home-kicker,.deep-work-shell>h1,.deep-work-shell>.subtitle{text-align:center}.deep-work-shell>h1{font-size:38px;letter-spacing:-.035em;margin-top:7px}.deep-session-setup{margin-top:32px!important;border-top:1px solid var(--rycal-rule);padding-top:22px}.deep-preset-row{justify-content:center!important}.deep-custom{justify-content:center!important}.deep-timer-card{border:0!important;border-top:1px solid var(--rycal-rule)!important;border-bottom:1px solid var(--rycal-rule)!important;border-radius:0!important;box-shadow:none!important;padding:34px 10px!important;background:transparent!important}.deep-guide{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:28px 0!important;margin-top:24px!important}.deep-guide h2{font-size:20px!important}.deep-guide-lede{max-width:650px}.deep-step{background:transparent!important;border:0!important;border-top:1px solid var(--rycal-rule)!important;border-radius:0!important;padding:14px 0!important}.deep-step-number{background:#eaf3ed!important;color:var(--green-dark)!important}.science-note{border:0!important;border-left:3px solid #c9dbd0!important;border-radius:0!important;background:transparent!important}.deep-fullscreen-active body{background:#fff!important}.deep-fullscreen-active #deepWorkScreen{max-width:760px;margin:0 auto}.deep-fullscreen-active .deep-guide,.deep-fullscreen-active .science-note,.deep-fullscreen-active .deep-session-setup,.deep-fullscreen-active .deep-preset-row,.deep-fullscreen-active .deep-custom{display:none!important}
/* Footer restrained */
.site-footer{border-top:1px solid var(--rycal-rule)!important;background:#f7f9f7!important}.footer-links button{color:#53665d!important}.footer-links button:hover{color:var(--green-dark)!important}
/* Mobile is deliberate, not desktop squeezed down */
@media(max-width:860px){.topbar{height:64px!important;padding:0 16px!important}.container{padding:24px 18px 70px!important}.guest-marketing{margin-bottom:28px!important}.guest-hero-v2{padding:26px 20px!important;border-radius:18px!important}.guest-hero-v2 h1{font-size:40px!important}.guest-principle{padding:20px!important}.guest-process{border:0!important}.guest-process>div{padding:17px 0!important;border-right:0!important;border-bottom:1px solid var(--rycal-rule)!important}.guest-process>div:last-child{border-bottom:0!important}.guest-next-study{gap:22px!important}.guest-mastery-demo{padding:17px!important}.dashboard-section{margin:26px 0 34px!important}.continue-card{align-items:flex-start!important;flex-direction:column!important;padding:18px!important}.weekly-stats{grid-template-columns:1fr 1fr!important}.weekly-stat:nth-child(2){border-right:0!important}.weekly-stat:nth-child(-n+2){border-bottom:1px solid var(--rycal-rule)}.deep-work-shell>h1{font-size:32px}.deep-timer{font-size:58px!important}.teacher-stat-grid{grid-template-columns:1fr 1fr!important}.teacher-stat-grid>div{border-bottom:1px solid var(--rycal-rule)!important}.teacher-table-wrap{border-radius:10px!important}.site-footer{padding-left:18px!important;padding-right:18px!important}.footer-inner{grid-template-columns:1fr!important;gap:24px!important}.footer-links{gap:10px 18px!important}}
@media(max-width:520px){.container{padding-left:14px!important;padding-right:14px!important}.guest-hero-v2 h1{font-size:35px!important}.guest-positioning{font-size:18px!important}.guest-principle h2{font-size:27px!important}.weekly-stats{grid-template-columns:1fr!important}.weekly-stat{border-right:0!important;border-bottom:1px solid var(--rycal-rule)!important}.weekly-stat:last-child{border-bottom:0!important}.deep-summary-grid{grid-template-columns:1fr 1fr!important}.settings-modal,.auth-modal,.rycal-intro-modal{padding:22px 18px!important;border-radius:16px!important}.footer-bottom{align-items:flex-start!important;flex-direction:column!important;gap:6px!important}}

/* RC2 Deep Work simplification */
.deep-simple-setup{margin-top:30px;padding-top:22px;border-top:1px solid var(--rycal-rule);display:grid;gap:18px}
.deep-time-label{font-size:13px;font-weight:800;color:var(--text);text-align:center}
.deep-timer-card-simple{border-bottom:0!important;padding-bottom:18px!important}
.deep-controls-primary{justify-content:center!important}.deep-start-main{min-width:210px;padding:13px 24px!important;font-size:15px!important}
.deep-options{margin:18px auto 0;max-width:620px;text-align:center}.deep-options summary{cursor:pointer;color:var(--text-soft);font-size:12px;font-weight:700}.deep-option-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}
.deep-privacy-note{margin:26px auto 0;max-width:680px;padding:14px 16px;border-left:3px solid #c8d9cf;background:#f7faf8;font-size:12px;line-height:1.6;color:var(--text-soft)}
.privacy-promise-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 22px}.privacy-promise-grid>div{padding:14px;border:1px solid var(--border);border-radius:12px;background:#f8fbf9}.privacy-promise-grid strong,.privacy-promise-grid span{display:block}.privacy-promise-grid span{margin-top:4px;color:var(--text-soft);font-size:13px;line-height:1.45}
.footer-disclaimer{max-width:1180px;margin:14px auto 0;padding-top:14px;border-top:1px solid rgba(35,91,66,.12);font-size:10px;line-height:1.5;color:#77847d}
@media(max-width:700px){.privacy-promise-grid{grid-template-columns:1fr}.deep-option-actions{flex-direction:column}.deep-option-actions button{width:100%}}
