/* Shared author surfaces: parchment, restrained forest accents and real textbook covers. */
.studio-grammar-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.studio-grammar-cards .grammar-topic-card{display:flex;flex-direction:column;padding:25px;border-radius:12px;background:var(--panel);border:1px solid var(--line)}.studio-grammar-cards .grammar-topic-card h2{font-size:29px;margin:20px 0 12px}.studio-grammar-cards .grammar-actions{margin-top:auto;padding-top:22px}.studio-grammar-connections{border-top:1px solid var(--line);padding-top:18px;margin-top:15px}.studio-grammar-connections h3{font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;margin:0 0 10px;color:var(--muted)}.studio-grammar-connections>a{display:block;font-size:12px;line-height:1.6;margin:8px 0;text-decoration:underline;text-underline-offset:3px}.studio-grammar-connections p{font-size:12px;color:var(--muted)}@media(max-width:650px){.studio-grammar-cards{grid-template-columns:1fr}.studio-grammar-cards .grammar-topic-card{padding:20px}}
.studio-workspace-page{max-width:1240px;margin:0 auto;color:var(--text);overflow-wrap:anywhere}.studio-workspace-page h1{font-size:38px;line-height:1.15}.studio-workspace-page h2{font-size:27px;line-height:1.25}.studio-workspace-page h3{font-size:23px;line-height:1.3}.studio-workspace-page p{line-height:1.65}.studio-page-heading,.studio-section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.studio-page-heading>div{min-width:0}.studio-page-heading p{margin-top:9px;color:var(--muted)}.studio-language{display:grid;gap:6px;min-width:180px;font-size:13px}.studio-language select,.studio-section-heading select{min-height:44px;max-width:100%;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);font:inherit}.studio-section-heading label{display:grid;gap:5px;font-size:13px;max-width:260px}.studio-path{font-size:13px;color:var(--muted);margin-bottom:10px}.studio-resume{display:flex;align-items:center;gap:28px;padding:28px;background:var(--panel);border:1px solid var(--line);border-radius:14px;margin:25px 0 38px}.studio-resume>div:not(.catalog-cover){flex:1;min-width:0}.studio-resume .catalog-cover{width:100px;height:138px;flex-shrink:0}.studio-resume .catalog-cover img{object-fit:contain}.studio-resume h2{margin-bottom:10px}.studio-resume>.btn{flex-shrink:0}.studio-home-books{margin:32px 0}.studio-table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.studio-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px;font-variant-numeric:tabular-nums}.studio-table th,.studio-table td{padding:19px 22px;vertical-align:middle;border-bottom:1px solid var(--line)}.studio-table tr:last-child>*{border-bottom:0}.studio-table thead th{font-size:12px;font-weight:600;color:var(--muted);background:#ececdf}.studio-table tbody th{font-weight:500;min-width:180px}.studio-table td{min-width:100px}.studio-table td p{font-size:13px}.studio-table td small{font-size:11px}.studio-table a:hover,.studio-home-links a:hover,.studio-directions a:hover{text-decoration:underline;text-underline-offset:4px}.studio-workspace-page progress{display:block;height:8px;width:100%;max-width:260px;border:0;border-radius:6px;overflow:hidden;margin:10px 0;background:#e3e5d9;accent-color:#4e704f}.studio-workspace-page progress::-webkit-progress-bar{background:#e3e5d9}.studio-workspace-page progress::-webkit-progress-value{background:#4e704f}.studio-workspace-page progress::-moz-progress-bar{background:#4e704f}.studio-workspace-page small{color:var(--muted)}.studio-home-links{display:flex;gap:24px;flex-wrap:wrap;padding:20px 0;border-bottom:1px solid var(--line)}.studio-home-links strong{margin-left:6px}.studio-directions{margin-top:34px}.studio-directions>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-top:20px}.studio-directions article+article{border-left:1px solid var(--line);padding-left:25px}.studio-directions p{font-size:13px;margin:10px 0}.studio-book-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:26px;align-items:start}.studio-series{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:18px 0;min-width:0}.studio-series h2{font-family:inherit;font-size:15px;padding:0 18px;margin:0 0 18px;font-weight:600}.studio-series nav{max-height:620px;overflow:auto}.studio-series nav a{display:flex;justify-content:space-between;gap:10px;padding:13px 18px;font-size:14px;border-top:1px solid var(--line);text-decoration:none}.studio-series nav a[hidden]{display:none}.studio-series nav a:hover{background:#f0efe6}.studio-series nav a[aria-current]{background:#e2e8d9;color:#193e32;font-weight:600}.studio-series .catalog-structure-actions{margin:16px 15px 0}.studio-series .catalog-structure-actions .btn{font-size:12px;padding:10px}.studio-series>p{padding:0 18px}.studio-series-search{display:grid;gap:6px;font-size:12px;padding:0 14px 15px}.studio-series-search input{min-width:0;width:100%;font:inherit;padding:10px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--text)}.studio-books{min-width:0}.studio-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.studio-book-card{display:flex;gap:18px;padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:12px;min-width:0}.studio-book-card>.catalog-cover{width:90px;height:145px;flex-shrink:0;align-self:flex-start}.studio-book-card .catalog-cover img{object-fit:contain}.studio-book-card .catalog-cover-placeholder{padding:10px;border-left-width:3px}.studio-book-card .catalog-cover-placeholder strong{font-size:16px}.studio-book-card .catalog-cover-placeholder span{font-size:8px}.studio-book-card>div:not(.catalog-cover){min-width:0;flex:1}.studio-book-card h3{font-size:22px;margin-bottom:14px}.studio-book-card p{font-size:12px}.studio-book-card small{font-size:11px;display:block}.studio-book-card .btn{font-size:12px;padding:10px 12px;margin-top:18px}.studio-book-card .text-link{display:block;font-size:11px;margin-top:12px}.studio-catalog-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 22px;margin-bottom:23px;font-size:12px}.studio-catalog-actions .catalog-structure-actions{margin:0}.studio-catalog-actions .btn{font-size:12px;padding:10px 14px}.studio-summary,.studio-tools-summary{margin-top:26px;border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:20px}.studio-summary>summary,.studio-tools-summary>summary{cursor:pointer;font-weight:600;font-size:15px}.studio-summary>summary span{font-weight:400;margin-left:10px}.studio-summary>p{margin:18px 0;font-size:13px}.studio-summary .studio-table th,.studio-summary .studio-table td{padding:15px}.studio-tools-summary .catalog-missing{margin-top:18px}.studio-empty{background:var(--panel);border:1px dashed var(--line);padding:25px;border-radius:12px;font-size:14px}.studio-book-heading{display:flex;gap:26px;margin:25px 0 30px}.studio-book-heading>.catalog-cover{width:110px;height:157px;flex-shrink:0}.studio-book-heading h1{font-size:32px;margin-bottom:13px}.studio-book-heading .text-link{font-size:12px;margin-top:12px}.studio-book-lessons{min-width:0}.studio-lesson-row{background:var(--panel);border:1px solid var(--line);border-radius:12px;margin-bottom:15px;overflow:hidden}.studio-lesson-row .catalog-slot{border:0;border-radius:0;padding:20px;margin:0;gap:15px;flex-wrap:wrap}.studio-lesson-row .catalog-slot-copy{min-width:140px}.studio-lesson-row .catalog-slot h3{font-size:21px}.studio-lesson-row .catalog-slot-actions{margin-left:auto;gap:9px}.studio-lesson-row .catalog-slot-actions .btn{font-size:12px;padding:10px 12px}.studio-related-tools{display:flex;gap:10px 18px;flex-wrap:wrap;font-size:12px;padding:12px 20px;border-top:1px solid var(--line)}.studio-related-tools span{color:var(--muted)}.studio-tools{margin:15px 0;padding-top:18px;border-top:1px solid var(--line)}.studio-tools>summary{font-size:12px;cursor:pointer;color:var(--muted)}.studio-tools .teaching-nav{margin-top:10px}.studio-tools .teaching-nav a{font-size:12px;padding-top:10px;padding-bottom:10px}.studio-speaking-info{padding:28px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.studio-speaking-info>p{max-width:70ch;margin:16px 0}.studio-workspace-page :focus-visible,.studio-tools :focus-visible{outline:3px solid #718a63;outline-offset:3px}.studio-workspace-page .btn:disabled{opacity:.55;cursor:wait}
@media(max-width:1150px){.studio-book-grid{grid-template-columns:1fr}.studio-book-card>.catalog-cover{width:110px;height:150px}.studio-book-layout{grid-template-columns:185px minmax(0,1fr)}.studio-resume{flex-wrap:wrap}.studio-resume>.btn{margin-left:auto}.studio-table th,.studio-table td{padding:15px}}
@media(max-width:700px){.studio-page-heading{align-items:flex-start;flex-direction:column;gap:18px}.studio-workspace-page h1{font-size:31px}.studio-page-heading .studio-language{width:100%}.studio-book-layout{grid-template-columns:1fr;gap:20px}.studio-series nav{max-height:240px}.studio-book-card{gap:17px;padding:17px}.studio-book-card>.catalog-cover{width:86px;height:128px}.studio-book-heading{gap:18px}.studio-book-heading h1{font-size:27px}.studio-book-heading>.catalog-cover{width:80px;height:122px}.studio-resume{padding:20px;gap:18px}.studio-resume>.btn{margin-left:0;width:100%;text-align:center}.studio-resume .catalog-cover{width:76px;height:112px}.studio-resume h2{font-size:25px}.studio-directions>div{grid-template-columns:1fr;gap:20px}.studio-directions article+article{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.studio-summary{padding:16px}.studio-section-heading{align-items:flex-start;flex-wrap:wrap;gap:14px}.studio-lesson-row .catalog-slot-actions{margin-left:0;flex-basis:100%}.studio-home-links{gap:16px}.studio-speaking-info{padding:20px}}

.teaching-sidebar .studio-tools summary{color:#e8eee1}.teaching-sidebar .studio-tools summary:hover{color:#fffdf7}

/* Keep compact book covers legible on the studio home and lesson header. */
.studio-resume .catalog-cover-placeholder,.studio-book-heading .catalog-cover-placeholder{padding:10px;border-left-width:4px;gap:6px}
.studio-resume .catalog-cover-placeholder strong,.studio-book-heading .catalog-cover-placeholder strong{font-size:16px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.studio-resume .catalog-cover-placeholder>span,.studio-book-heading .catalog-cover-placeholder>span{font-size:8px;letter-spacing:.04em;white-space:nowrap}
.studio-resume .catalog-cover img,.studio-book-heading .catalog-cover img{padding:4px}
.studio-book-heading .text-link{display:block}
