/* Generated from ui/legacy/site-study-workspace-layout.css. Legacy isolation; use ui/ for new design. */
@layer study-legacy {
/* Study workspace: use the available content area while keeping reading lines comfortable. */
:root { --workspace-header-height: 0px; --workspace-navigation-height: 0px; --workspace-bottom-height: 0px; }
.study-unified #main,
.study-unified.study-mode #main,
.study-unified .ops-main {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: 0;
  padding-inline: clamp(24px, 3vw, 48px);
  font-size: 16px;
  line-height: 1.5;
}

/* A single action surface is shared by selection and results. */
.study-unified .section-heading {flex-wrap:wrap}

/* Native disclosure semantics, one visual treatment throughout the product. */
:is(.study-unified #main,.study-unified footer,.seo-main,main#content,.product-public footer) details:not(.study-side-secondary) {
  min-width:0;border:1px solid var(--linen-line,#dedbd2);border-radius:12px;
  background:var(--linen-surface,#fffefa);color:var(--linen-ink,#191919);
  padding:0;margin-block:16px;overflow:visible;
}
:is(.study-unified #main,.study-unified footer,.seo-main,main#content,.product-public footer) details>summary {
  display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;
  min-height:48px;padding:14px 16px;margin:0;color:inherit;
  font-size:15px;font-weight:600;line-height:1.45;overflow-wrap:break-word;
  border-radius:inherit;touch-action:manipulation;
}
:is(.study-unified #main,.study-unified footer,.seo-main,main#content,.product-public footer) details>summary::-webkit-details-marker {display:none}
:is(.study-unified #main,.study-unified footer,.seo-main,main#content,.product-public footer) details>summary::after {
  content:"";width:8px;height:8px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;
  transform:rotate(45deg);margin-left:auto;flex:none;transition:transform 160ms ease-out;
}
:is(.study-unified #main,.study-unified footer,.seo-main,main#content,.product-public footer) details[open]>summary::after {transform:rotate(225deg)}
:is(.study-unified #main,.study-unified footer,.seo-main,main#content,.product-public footer) details[open]>summary {border-bottom:1px solid var(--linen-line,#dedbd2);border-bottom-left-radius:0;border-bottom-right-radius:0}
:is(.study-unified #main,.study-unified footer,.seo-main,main#content,.product-public footer) details>summary~* {margin-inline:16px;max-width:calc(100% - 32px)}
:is(.study-unified,.product-public) footer .coach-privacy {width:100%;flex-basis:100%;margin-bottom:0}
:is(.study-unified,.product-public) footer .coach-privacy label {display:flex;align-items:flex-start;gap:12px;padding-block:16px;font-size:14px;line-height:1.6}
:is(.study-unified,.product-public) footer .coach-privacy input {flex:none;width:20px;height:20px;min-height:20px;margin-top:2px;accent-color:var(--linen-gold)}
:is(.study-unified,.product-public) footer .coach-privacy p:empty {display:none}
:is(.study-unified,.product-public) footer .coach-privacy p:not(:empty) {padding-bottom:12px}
details.coach-privacy>summary::before,
.study-unified details.review-passage>summary::before {
  content:"";display:block;width:20px;height:20px;flex:none;background:currentColor;
  mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16M8 3v6M16 9v6M10 15v6'/%3E%3C/g%3E%3C/svg%3E");
}
.study-unified details.review-passage>summary::before {mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v16M12 5C8 2 4 3 2 4v15c4-1 7-1 10 2 3-3 6-3 10 1V4c-4-1-7-2-10 1' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E")}
.study-unified details.review-passage>.passage {margin:0;max-width:100%;border:0;border-radius:0;background:transparent;padding:20px;font-size:17px;line-height:1.65;box-shadow:none}

/* Geometry belongs to this shared toolbar; children no longer stick independently. */
.study-unified .workspace-navigation {
  position:sticky;top:var(--workspace-header-height);z-index:24;
  background:var(--linen-bg);padding:8px 0;margin:0 0 16px;
  border-bottom:1px solid var(--linen-line);isolation:isolate;
}
.study-unified .workspace-navigation :is(.workspace-tabs,.question-nav) {
  position:static;top:auto;margin:0;padding:4px 0;border:0;
  background:transparent;max-width:100%;min-width:0;
}
.study-unified .workspace-navigation .workspace-tabs {display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.study-unified .workspace-navigation .workspace-tabs button {min-width:0;white-space:normal;line-height:1.35;min-height:44px;padding:10px;font-size:15px}
.study-unified .workspace-navigation .question-nav {display:flex;flex-wrap:wrap;gap:6px;overflow:visible}
.study-unified .workspace-navigation .question-nav button {flex:0 0 44px;min-height:44px;min-width:44px}
.study-unified .exercise-layout :is(.source-pane,.answer-pane) {min-width:0}
.study-unified .exercise-layout:not(.inline-workspace) .passage {font-size:18px;line-height:1.65}
.study-unified .exercise-layout .passage p {overflow-wrap:break-word}
.study-unified :is(button,.button,summary) {touch-action:manipulation}
.study-unified :is(button,a,input,select,textarea,summary):focus-visible {outline:2px solid var(--linen-gold-text);outline-offset:3px}
.study-unified ::selection {background:var(--linen-soft);color:var(--linen-ink)}

@media(max-width:1100px) {
 .study-unified .exercise-layout:not(.inline-workspace) :is(.source-pane,.answer-pane) {position:static;top:auto;max-height:none;overflow:visible}
 .study-unified .exercise-layout:not(.inline-workspace) .passage {padding:18px;font-size:17px}
}
@media(max-width:850px) {
 .study-unified .workspace-navigation .workspace-tabs {display:grid}
}
@media(min-width:1101px) {
 .study-unified .exercise-layout:not(.inline-workspace):has(.source-pane) .source-pane {top:calc(var(--workspace-header-height) + var(--workspace-navigation-height) + 16px);max-height:calc(100dvh - var(--workspace-header-height) - var(--workspace-navigation-height) - 40px)}
}
@media(max-width:360px) {
}
@media(max-width:300px) {
}
@media(prefers-reduced-motion:reduce) {
 :is(.study-unified #main,.study-unified footer,.seo-main,main#content,.product-public footer) details>summary::after {transition:none}
}

.study-unified #main :is(h1, h2, h3) {
  line-height: 1.25;
}

.study-unified.study-mode #main[data-study-page="lesson"] .sp-menu,
.study-unified .simulation-report {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.study-unified.study-mode #main[data-study-page="lesson"] .sp-frame {
  width: 100%;
  min-width: 0;
}

.study-unified.study-mode #main[data-study-page="lesson"] .sp-module-label {
  font-size: clamp(23px, 2vw, 28px);
  line-height: 1.25;
  letter-spacing: -.025em;
  color: var(--linen-ink);
  text-align: left;
  padding: 20px 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.study-unified.study-mode #main[data-study-page="lesson"] .sp-menu .sp-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.study-unified.study-mode #main[data-study-page="lesson"] .sp-menu .sp-copy strong {
  line-height: 1.3;
}

.study-unified.study-mode #main[data-study-page="lesson"] .sp-menu .sp-copy p {
  font-size: 14px;
  line-height: 1.5;
}

/* Keep long lesson prose readable even when its containing surface spans the workspace. */
.study-unified .sp-theory,
.study-unified .sp-rich-guide {
  width: 100%;
  max-width: none;
  min-width: 0;
}
.study-unified .sp-theory :is(p, li), .study-unified .sp-rich-guide :is(p, li) {
  max-width: 72ch;
}

/* Product detail pages use the same available width, with readable text lines. */
main.seo-main:has(.product-course-art) {
  width: auto;
  max-width: none;
  margin-inline: clamp(16px, 3vw, 48px);
  padding-inline: 0;
  min-width: 0;
}
main.seo-main:has(.product-course-art) :is(.seo-content, .seo-example, .seo-access, .seo-faq) {
  max-width: none;
}
main.seo-main:has(.product-course-art) :is(p, li) {
  max-width: 72ch;
  overflow-wrap: break-word;
}

@media (max-width: 650px) {
  .study-unified #main,
  .study-unified.study-mode #main,
  .study-unified .ops-main {
    padding-inline: 16px;
  }
  .study-unified.study-mode #main[data-study-page="lesson"] .sp-module-label {
    font-size: 22px;
    line-height: 1.25;
  }
  .study-unified.study-mode #main[data-study-page="lesson"] .sp-menu .sp-copy p {
    font-size: 13px;
  }
  .study-unified.study-mode #main .sp-row p,
  .study-unified.study-mode #main .sp-lesson-score,
  .study-unified.study-mode #main .sp-lesson-score small {
    font-size: 13px;
    line-height: 1.4;
  }
}

.study-unified :is(.review-list,.section-heading:has(h2)) {scroll-margin-top:calc(var(--workspace-header-height) + 16px)}

/* Readability and density: shared by learning, practice, account and progress. */
:root{--study-text:1rem;--study-meta:.875rem;--study-space:8px;--study-control:48px;--study-motion:180ms}
.study-unified .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.study-unified #main :is(.intro,.sp-title p,.coach-lead,.account-card>p,.panel>p){font-size:var(--study-text);line-height:1.6;max-width:72ch}
.study-unified #main :is(.sp-theory,.sp-rich-guide){font-size:17px;line-height:1.65}
.study-unified #main :is(.sp-theory,.sp-rich-guide) :is(p,li){line-height:1.65}
.study-unified #main :is(.sp-title h1,.page-heading h1,.coach-top h1,.account-heading h1){font-size:clamp(28px,2.7vw,40px);line-height:1.2;letter-spacing:-.025em;overflow-wrap:break-word;text-wrap:balance}
.study-unified #main :is(input,select,textarea){font-size:16px;line-height:1.5;caret-color:var(--linen-ink)}
.study-unified #main :is(input,textarea)::placeholder{color:var(--linen-muted);opacity:1}
.study-unified :is(.button,.sp-action,.sp-icon){min-height:44px}
.study-unified .sp-toolbar>.product-notebook-trigger{width:44px;height:44px;min-width:44px;flex:none;margin:0;padding:10px;border:1px solid var(--linen-line);border-radius:10px;background:var(--linen-surface)}
.study-unified .sp-toolbar>[data-sp-account],.study-unified .sp-toolbar>a[href="/learn/#settings"]{display:none}



.study-unified .sp-resume>div{min-width:0}
.study-unified .sp-resume strong{font-size:17px;line-height:1.4;display:block}
.study-unified .sp-resume small{font-size:13px;line-height:1.4}
.study-unified .sp-resume .sp-action{flex-shrink:0;white-space:normal;line-height:1.35}
.study-unified .product-catalog-tools{margin:12px 0 20px;display:flex;align-items:start;gap:12px}
.study-unified #main details.product-catalog-search{margin:0;flex:1;max-width:420px}
.study-unified #main details.product-catalog-search>summary{min-height:44px;padding:10px 14px;font-size:14px}
.study-unified #main details.product-catalog-search .product-search-field{display:block;margin:12px 14px;max-width:none}
.study-unified .product-catalog-tools>p{margin:13px 0 0;font-size:13px;white-space:nowrap}
.study-unified #main[data-study-page=catalog] .sp-head{margin-bottom:8px}
.study-unified #main[data-study-page=catalog] .sp-toolbar{padding-bottom:12px}
.study-unified #main[data-study-page=catalog] .sp-review-badge{padding:8px 12px;margin:8px 0 16px;font-size:13px;line-height:1.5}








.study-unified .exercise-layout .passage{max-width:75ch;margin-inline:auto}
.study-unified .account-card label,.study-unified .coach-form label{font-size:15px;line-height:1.5}
.study-unified :is(.save-state,[role=status]){overflow-wrap:break-word}
.study-unified #main :is(button,a,summary,input,textarea,select){scroll-margin-bottom:calc(var(--workspace-bottom-height) + 24px)}
.study-keyboard-open .study-bottom-dock{display:none!important}
.study-keyboard-open .study-unified{padding-bottom:0}
@media(max-width:650px){
 .study-unified #main :is(.sp-title h1,.page-heading h1,.coach-top h1,.account-heading h1){font-size:28px;line-height:1.25}
 .study-unified #main .page-heading{gap:16px;margin-bottom:16px}
 
 .study-unified .sp-resume p{font-size:13px;margin-top:6px}
 .study-unified .sp-resume .sp-action{width:100%;margin:0}
 
 .study-unified .sp-work .sp-title h1{font-size:21px}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .study-unified :is(.button,.sp-action):active{transform:translateY(1px)}
}
@media(prefers-reduced-motion:reduce){
}

}
