/* Desktop workspaces share a bounded, readable scale. Mobile layouts stay in their own stylesheets. */
@media (min-width:1000px) {
  /* Sign-in and registration remain a short form; the account overview has room for progress. */
  .app-content.account-content {max-width:760px;margin-inline:auto;}
  .app-content.account-content:has(>.account-stats) {max-width:1040px;}
  .account-content :is(.intro,.account-help,.account-detail,.account-sync,.account-alert p,.account-error) {font-size:16px;line-height:1.7;max-width:760px;}
  .account-content :is(.account-email,.account-transfer-detail) {font-size:14px;}
  .account-form {max-width:680px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px;}
  .account-form>input {max-width:100%;min-height:48px;}
  .account-form .account-transfer {font-size:15px;line-height:1.6;}
  .account-content .full-button {display:inline-flex;width:auto;max-width:100%;gap:20px;margin-right:10px;min-height:46px;font-size:15px;}
  .account-content>.curr-secondary {display:inline-flex;margin-top:12px;margin-right:10px;font-size:15px;}
  .account-content>.back-link {margin-left:0;text-align:left;}
  .account-content .account-provider {margin-top:24px;}
  .account-stats {max-width:760px;gap:16px;margin-block:24px;}
  .account-stats>div {padding:20px 16px;border-radius:12px;}
  .account-stats span {font-size:15px;}
  .account-content .course-links {max-width:760px;justify-content:flex-start;}

  /* The saved list and the short recall practice use the same compact learning scale. */
  .app-content:has(>.word-review-panel) {max-width:1040px;margin-inline:auto;}
  .app-content:has(>.word-review-panel)>.intro {font-size:16px;max-width:760px;}
  .app-content:has(>.word-review-panel)>div:has(>.saved-word) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .saved-word {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:0;}
  .saved-word :is(span,small) {font-size:14px;line-height:1.65;}
  .saved-word>span {text-align:left;}
  .app-content:has(>.word-review-panel)>.full-button {display:inline-flex;width:auto;gap:20px;}
  .word-review-panel {padding:20px 24px;justify-content:flex-start;gap:24px;}
  .word-review-panel>div {min-width:0;flex:1;}
  .word-review-panel p {font-size:15px;max-width:640px;}
  .word-review-panel .screen-label {font-size:13px;}
  .app-content.word-review-content {max-width:884px;margin-inline:auto;}
  .word-review-content :is(.word-review-intro p,.word-review-context-ru,.word-review-feedback p:not([lang=he]),.orli-tip) {font-size:16px;line-height:1.75;}
  .word-review-content :is(.word-review-note,.word-review-form-note,.word-review-top>span:last-child,.word-review-stats span) {font-size:14px;}
  .word-review-content .word-review-options {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .word-review-option {font-size:16px;min-height:52px;padding:14px 18px;}
  .word-review-content .word-review-tools {justify-content:flex-start;flex-wrap:wrap;gap:10px;}
  .word-review-content>.word-review-button {display:inline-flex;width:auto;margin-right:10px;font-size:15px;}
  .word-review-actions .word-review-button {font-size:15px;}

  /* Teacher pages are workspaces, with forms and actions beside their relevant material. */
  .teacher-page {max-width:1180px;}
  .teacher-cabinet {max-width:1120px;margin-inline:auto;}
  .teacher-page .intro {font-size:16px;max-width:760px;}
  .teacher-content .teacher-page :is(.primary,.teacher-button) {font-size:14px;min-height:44px;padding:10px 15px;}
  .teacher-page :is(.screen-label,.teacher-note,.teacher-count,.teacher-loading,.teacher-resource-type,.teacher-card-meta,.teacher-card-top p,.teacher-profile-status,.teacher-profile-status strong,.teacher-section-heading p,.teacher-result-status,.teacher-assignment-author) {font-size:14px;line-height:1.6;}
  .teacher-page :is(.teacher-field,.teacher-filters label,.teacher-check,.teacher-level-checks legend,.teacher-invite-copy label,.teacher-invite-copy small,.teacher-contact small,.teacher-contact p,.teacher-assignment-main small,.teacher-result small) {font-size:14px;line-height:1.6;}
  .teacher-page :is(.teacher-field input,.teacher-field select,.teacher-field textarea,.teacher-filters select,.teacher-profile-section p,.teacher-assignment-main p,.teacher-result,.teacher-consent>p) {font-size:16px;}
  .teacher-page :is(.teacher-field input,.teacher-field textarea)[lang=he] {font-size:20px;}
  .teacher-directory {grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
  .teacher-card {padding:22px;border-radius:12px;}
  .teacher-card-bottom>span {font-size:14px;}
  .teacher-badges span {font-size:12px;}
  .teacher-profile-layout {grid-template-columns:minmax(0,1fr) 280px;gap:32px;}
  .teacher-profile-form {max-width:940px;}
  .teacher-form-grid {gap:18px 22px;}
  .teacher-content .teacher-cabinet :is(.teacher-profile-form,.teacher-invite-copy) {max-width:940px;}
  .teacher-cabinet :is(.teacher-cabinet-header p,.teacher-cabinet-empty p,.teacher-cabinet-row p,.teacher-section-heading p,.studio-card p,.studio-homework p) {font-size:16px;line-height:1.7;}
  .teacher-cabinet :is(.teacher-cabinet-stat>span,.teacher-cabinet-stat>small,.teacher-cabinet-row small,.teacher-cabinet-empty>small,.studio-card-top>span:last-child,.studio-homework small,.studio-score,.studio-ready>summary) {font-size:14px;line-height:1.65;}
  .teacher-cabinet :is(.teacher-cabinet-row h4,.teacher-cabinet-row h3) {font-size:16px;}
  .teacher-cabinet :is(.teacher-cabinet-nav,.teacher-cabinet-row-actions,.studio-card-actions,.studio-homework>div:last-child) {gap:10px;}
  .teacher-cabinet .teacher-cabinet-nav :is(a,button),.teacher-cabinet .teacher-cabinet-tools :is(a,button) {font-size:14px;}
  .teacher-cabinet .teacher-cabinet-section-heading :is(a,button) {font-size:14px;}
  .teacher-library-block {padding:20px;border-radius:10px;}
  .teacher-library-block :is(strong,h3) {font-size:17px;}
  .teacher-library-block :is(span,small),.teacher-library-header p,.teacher-library-breadcrumb {font-size:14px;}
  .teacher-library-detail>p,.teacher-library-lesson p {font-size:16px;}
  .teacher-library-lesson small {font-size:14px;}
  .teacher-page :is(.studio-editor-panel>p,.studio-ai-panel>p,.studio-editor-heading>div>p,.studio-ai-preview p,.studio-answer-row p,.studio-session-note,.studio-session-prompt,.studio-work-materials section>p:not(.studio-work-passage),.studio-feedback p) {font-size:16px;line-height:1.7;}
  .teacher-page :is(.studio-savebar span,.studio-ai-preview small,.studio-answer-top>span:first-child,.studio-answer-row p strong,.studio-result-summary span,.studio-work-progress>span:first-child,.studio-glossary span,.studio-session-outline strong) {font-size:14px;line-height:1.65;}
  .teacher-page .studio-session-layout {grid-template-columns:260px minmax(0,1fr);gap:24px;}
  .teacher-page .studio-work-question {max-width:820px;margin-inline:auto;}
  .teacher-page .studio-answer-options {gap:12px;}
  .trial-booking {max-width:940px;border-radius:12px;}
  .trial-booking :is(.trial-zone,.teacher-note,.trial-slot small,.trial-status) {font-size:14px;}
  .trial-booking :is(.trial-request p,.trial-slot strong,.trial-consent) {font-size:16px!important;}
  .trial-booking form:not(.trial-slot-form) {max-width:680px;}

  /* The admin overview keeps its existing data layout, without nested wide padding. */
  .admin-page {max-width:1180px;padding:6px 0 32px;}
  .admin-page :is(.admin-stat small,.admin-table th,.admin-trend-day b,.admin-trend-day small) {font-size:14px;}
  .admin-table {font-size:15px;}
  .admin-page :is(.admin-panel p,.admin-seo-steps) {font-size:16px;line-height:1.7;}
  .admin-page .admin-toolbar {justify-content:flex-start;gap:20px;}
  .admin-import {max-width:760px;}

  /* In-app tools and their direct URL pages use the same bounded two-column workspace. */
  .ot-page,.ov-page,.call-page {max-width:1180px;}
  .ot-workspace,.ov-workspace {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}
  .ot-workspace>*,.ov-workspace>* {min-width:0;}
  .ot-page :is(.ot-heading>p,.ot-availability,.ot-status,.ot-intro-card p,.ot-intro-card ol,.ot-result-ru,.ot-context-note,.ot-gloss>p),
  .ov-page :is(.ov-heading p,.ov-service,.ov-how ol,.ov-phone-note p,.ov-unavailable p),
  .call-page :is(.call-heading p,.call-choice-card p,.call-checklist ol,.call-live-notice p,.call-summary ol) {font-size:16px;line-height:1.7;}
  .ot-page :is(.screen-label,.ot-input-label,.ot-gender,.ot-compose-meta>span,.ot-result-header h3,.ot-result-phon,.ot-result>small,.ot-audio-note,.ot-privacy,.ot-dictionary-note,.ot-dictionary-count,.ot-photo-picker>p,.ot-photo-picker>small,.ot-review-note,.ot-practice-entry>span,.ot-saved-entry>span),
  .ov-page :is(.ov-eyebrow,.ov-composer>label,.ov-compose-meta>label,.ov-compose-meta>span,.ov-small,.ov-mic p,.ov-privacy,.ov-consent),
  .call-page :is(.call-eyebrow,.call-training-notice,.call-levels legend,.call-levels small,.call-phon,.call-small-note,.call-contacts p,.call-contacts a,.call-speaker,.call-result-count,.call-summary li>span,.call-save-words article>small) {font-size:14px;line-height:1.65;}
  .ot-page :is(.ot-button,.primary),.ov-page :is(.ov-button,.ov-primary),.call-page :is(.call-button,.call-primary) {font-size:14px;min-height:44px;}
  .ot-page .ot-compose-actions .primary {flex:0 1 auto;gap:16px;}
  .ot-page .ot-compose-actions,.ov-compose-actions,.ov-inline-actions,.call-inline-actions {justify-content:flex-start;gap:10px;}
  .ot-direction {flex-wrap:wrap;}
  .ot-direction .ot-button {flex:0 1 auto;}
  .ot-page textarea {min-height:132px;max-height:320px;}
  .ot-page .ot-photo-preview {height:220px;}
  .ot-photo-picker>label {font-size:16px;}
  .ot-photo-picker>input {font-size:14px;}
  .ot-dictionary-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
  .ot-dictionary-word>span {font-size:14px;}
  .ot-dictionary-card {padding:18px;border-radius:10px;}
  .ot-page .ot-vocabulary .ot-button {font-size:20px;}
  .ot-page .ot-gloss>div>span {font-size:14px;}
  .ot-page .ot-practice-entry>.primary {width:auto;}
  .ot-page:has(.ot-practice-options) {max-width:820px;}
  .ov-compose-meta select,.ot-gender select {font-size:14px;}
  .ov-composer textarea {min-height:120px;max-height:320px;}
  .ot-page .ot-privacy,.ov-page .ov-consent {font-size:14px!important;}
  .call-page:has(.call-practice-top) {max-width:820px;}
  .call-levels button,.call-phrase-tabs button,.call-text-button {font-size:14px;}
  .call-contacts strong,.call-save-words article>p {font-size:16px;}
  .call-response-list button small {font-size:14px;}
  .call-hub-footer {justify-content:flex-start;gap:24px;}
  .tool-seo-landing {max-width:1216px;}
  .tool-seo-heading {grid-template-columns:minmax(0,1fr) 140px;gap:32px;}
  .tool-seo-heading img {width:140px;height:140px;}
  .tool-seo-heading p,.tool-seo-steps li,.tool-seo-example p,.tool-seo-faq details p {font-size:16px;line-height:1.75;}
  .tool-seo-breadcrumb,.tool-seo-availability,.tool-seo-section-note,.tool-seo-example .tool-seo-phon,.tool-seo-other a {font-size:14px;}
  .tool-seo-faq summary,.tool-seo-example h3 {font-size:16px;}
  .tool-seo-example h3[lang=he] {font-size:25px;}
  .tool-seo-example :is(.tool-seo-hebrew,p[lang=he]) {font-size:23px;}
}
