.product-loading{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:14px;color:inherit}.product-spinner{flex:none;animation:product-spin 1s linear infinite}@keyframes product-spin{to{transform:rotate(360deg)}}.product-skeleton{display:block;border-radius:12px;background:linear-gradient(100deg,#e5ece8 20%,#f2f6f3,#e5ece8 70%);background-size:200% 100%;animation:product-shimmer 1.5s ease-in-out infinite}@keyframes product-shimmer{to{background-position:-200% 0}}.product-skeleton-page{padding:12px 0}.skeleton-heading{width:45%;height:32px;margin-bottom:20px}.skeleton-panel{height:180px;margin-bottom:20px}.product-skeleton-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.skeleton-card{height:160px}.product-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:12px 20px;background:#fff}.product-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:220px;min-height:48px;border-radius:12px}.dock-count{font-size:14px;color:#64796e;font-variant-numeric:tabular-nums}.product-dialog{border:1px solid #dce6df;border-radius:20px;padding:0;width:min(580px,calc(100% - 32px));max-height:85dvh;color:#193c32;background:#fff;box-shadow:0 20px 80px #102f252b}.product-dialog::backdrop{background:#102f2555}.product-dialog-content{display:flex;flex-direction:column;max-height:85dvh}.product-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid #e5ece8}.product-dialog h2{font-size:20px;margin:0}.product-dialog-body{padding:16px;overflow:auto;overscroll-behavior:contain}.product-dialog footer{padding:12px 16px;border-top:1px solid #e5ece8}.product-dialog footer button{width:100%;min-height:48px}.product-dialog button{min-height:44px}.product-dialog .knowledge-overview{margin:0;padding:0;border:0}:root .book-dashboard{background:transparent;min-height:0}:root .book-dashboard .learning-dashboard{position:relative;padding:0;max-width:none}.dashboard-refresh{height:24px;font-size:12px;color:#64796e;display:flex;align-items:center;margin-top:-8px;margin-bottom:4px}.book-title h1{font-size:26px;overflow-wrap:anywhere;margin:0 0 18px}.book-tabs-sticky{position:sticky;top:var(--product-header-height,0px);z-index:18;background:#f5f8f6;padding:8px 0;margin-bottom:12px}.book-tabs{display:flex;gap:4px;background:#e9f0eb;padding:4px;border-radius:14px;max-width:440px;margin:0}.book-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:44px;background:transparent;color:#63776b;border-radius:10px}.book-tabs button[aria-selected=true]{background:#fff;color:#176b4b;box-shadow:0 2px 6px #153b2510}.book-filter-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.book-filter-buttons button{display:inline-flex;gap:8px;align-items:center;min-height:44px;font-size:14px}.practice-setup{display:grid;gap:16px;max-width:680px}.practice-setup h2{margin:0}.practice-mode-field{display:grid;gap:10px}.practice-mode-field>span{font-size:14px;color:#64796e}.practice-setup .practice-mode-trigger{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;padding:14px;border:1px solid #b5d5c3;border-radius:12px;background:#edf6f0;color:#193c32;text-align:start}.practice-mode-trigger>span:first-child{display:grid;gap:5px;min-width:0}.practice-mode-trigger small,.practice-mode-options small{display:block;font-size:13px;font-weight:400;line-height:1.5;color:#526d60}.practice-mode-change{display:flex;align-items:center;gap:4px;flex:none;font-size:13px}.practice-mode-options{border:0;padding:0;margin:0;min-width:0;display:grid;gap:10px}.practice-mode-options legend{font-weight:600}.practice-mode-options>p{font-size:13px;color:#64796e;line-height:1.6;margin:0 0 4px}.practice-mode-options label{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #d4e0d8;border-radius:12px;cursor:pointer}.practice-mode-options label.is-selected{border-color:#27815b;background:#e3f1e8;box-shadow:inset 0 0 0 1px #27815b}.practice-mode-options label:focus-within{outline:2px solid #27815b;outline-offset:2px}.practice-mode-options input{width:20px;height:20px;flex:none;accent-color:#176b4b;margin:0}.practice-mode-options strong{display:block;font-size:16px;margin-bottom:4px}.practice-setup label{display:flex;flex-direction:column;gap:8px;font-size:14px}.practice-setup select{min-height:48px;padding:10px;font-size:16px;border:1px solid #cfded4;border-radius:10px;background:#fff;width:100%;min-width:0}.practice-preview{min-height:28px;font-size:14px;color:#64796e}.book-dashboard .learning-filter-details{max-width:680px;margin:16px 0 24px}.book-dashboard .learning-config{display:block;padding:16px;border:1px solid #dee8e2;border-radius:16px;background:#fff}.book-dashboard .stats-grid{margin:16px 0;gap:12px}.book-dashboard .stats-grid article{padding:18px;border-radius:16px}.book-dashboard .knowledge-overview{margin:16px 0}.book-dashboard>.learning-dashboard>.product-actions{position:sticky;bottom:0;border-top:1px solid #dee8e2}.study-scene{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;border-radius:14px;overflow:hidden;background:#e7ede9}.study-scene>.touch-image-viewport{flex:1;min-height:0}.study-scene:not(.is-ready)>.touch-image-viewport{visibility:hidden;pointer-events:none}.study-preparation{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;text-align:center;background:#e7ede9;color:#61766a}.study-preparation .product-loading{flex-direction:column;gap:14px}.study-preparation .product-spinner{width:30px;height:30px}.study-restore{min-height:60dvh;display:grid;place-items:center;padding:24px}:root .study-screen .study-image-wrap{display:flex;flex-direction:column;min-height:0}:root .study-screen .study-image-wrap h2{height:2.6em;flex:none;line-height:1.3;margin:0 0 8px;overflow:hidden}:root .study-screen .study-image-wrap h2.hidden-title{display:block;visibility:hidden}:root .study-screen .stable-sync{height:30px;min-height:30px;flex:none;overflow:auto;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;padding:0 12px;margin:0;color:#64796e}:root .study-screen .stable-sync button{min-height:26px;padding:2px 8px;font-size:11px}.study-scene.is-ready{animation:scene-in .12s ease-out}@keyframes scene-in{0%{opacity:.7}to{opacity:1}}@media(max-width:900px),(hover:none)and (pointer:coarse){:root .study-screen.study-screen>main{position:relative;padding-bottom:calc(144px + env(safe-area-inset-bottom))}:root .study-screen.study-screen .answer-panel{position:absolute;inset-inline:0;bottom:0;height:auto;min-height:0;max-height:calc(144px + env(safe-area-inset-bottom));overflow:auto;justify-content:flex-end;padding-top:12px;padding-bottom:calc(12px + env(safe-area-inset-bottom))}:root .study-screen .answer-panel h1{font-size:20px;max-height:2.5em;min-height:1.25em;overflow:auto;flex-shrink:0}:root .study-screen .answer-panel .rating-grid{flex-shrink:0}:root .study-screen .study-scene>.touch-image-viewport{height:100%;min-height:0}}@media(max-width:700px){.product-actions{padding:10px 16px;gap:10px}.product-actions button{flex:1;min-width:0;font-size:16px}.dock-count{font-size:12px;max-width:90px}.book-title h1{font-size:23px;margin-bottom:14px}.book-tabs{max-width:none}.product-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;border-radius:20px 20px 0 0;border-bottom:0}.product-dialog footer{padding-bottom:calc(12px + env(safe-area-inset-bottom))}}@media(max-height:500px)and (orientation:landscape){:root .study-screen.study-screen>main{display:grid;grid-template-columns:minmax(0,1fr) 260px;padding-bottom:0}:root .study-screen.study-screen .answer-panel{position:static;height:100%;min-height:0;max-height:100%;justify-content:center}}@media(prefers-reduced-motion:reduce){.product-spinner,.product-skeleton,.study-scene.is-ready{animation:none}}@media(max-width:700px){:root .book-dashboard>.learning-dashboard>.product-actions{position:fixed;inset-inline:0;bottom:0;z-index:25;padding-bottom:calc(10px + env(safe-area-inset-bottom))}:root .book-dashboard .learning-dashboard{padding-bottom:90px}:root .learning-hub .book-dashboard .learning-dashboard{padding-bottom:0}}:root .book-dashboard>header{display:flex;align-items:center;background:#fff;color:#193c32;border-bottom:1px solid #dee8e2;gap:12px;padding:12px 16px}:root .book-dashboard>header h1{font-size:19px;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:root .book-dashboard>header button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none}:root .book-dashboard>header button svg{flex:none}.product-choices{border:0;margin:0;padding:0;min-width:0}.product-choices legend{font-size:14px;color:#64796e;margin-bottom:10px}.product-choices>div{display:flex;gap:8px;flex-wrap:wrap}.product-choices button{display:flex;flex:1 1 auto;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:44px;padding:10px 12px;border:1px solid #d4e0d8;border-radius:12px;background:#fff;color:#476456;font-size:14px}.product-choices button[aria-pressed=true]{background:#e3f1e8;border-color:#27815b;color:#176b4b;box-shadow:inset 0 0 0 1px #27815b}.product-choices button small{font-size:11px;font-weight:400}.advanced-trigger{display:inline-flex;align-items:center;gap:8px;width:100%;justify-content:space-between;min-height:48px;margin-bottom:16px}.product-dialog .learning-config{display:block;background:none;padding:0;border:0}.product-dialog header,.product-dialog footer{flex-shrink:0}.product-dialog-body{min-height:0;-webkit-overflow-scrolling:touch;touch-action:pan-y}.product-dialog footer button{display:flex;align-items:center;justify-content:center;gap:8px}.product-dialog .sheet-handle{display:none}@media(max-width:700px){.product-dialog .sheet-handle{display:flex;align-items:center;justify-content:center;background:#fff;min-height:28px;width:100%;padding:0;border-radius:20px 20px 0 0;flex:none;touch-action:none}.sheet-handle span{height:4px;width:36px;background:#bccfc2;border-radius:4px}.product-dialog-content{max-height:75dvh}.product-dialog.is-expanded .product-dialog-content{height:90dvh;max-height:90dvh}.product-dialog.is-expanded{max-height:90dvh}.product-dialog.is-expanded .product-dialog-body{flex:1}.product-dialog header{padding-top:4px}.product-dialog .filter-grid{display:grid;grid-template-columns:1fr}}:root .product-dialog .sheet-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px;background:#fff;color:#193c32;min-height:60px;height:auto;padding:8px 16px;border-bottom:1px solid #e5ece8}:root .product-dialog .sheet-header h2{font-size:19px;line-height:1.35;margin:0;min-width:0}:root .product-dialog .sheet-close{display:grid;place-items:center;flex:none;min-width:44px;width:44px;height:44px;min-height:44px;padding:0;margin:0;border:1px solid #dce6df;border-radius:12px;background:#f3f7f4;color:#476456}:root .product-dialog .sheet-close svg{display:block;width:20px;height:20px;margin:0}.product-dialog[open]{animation:dialog-enter .18s ease-out both}.product-dialog[open].is-closing{animation:dialog-exit .18s ease-in both;pointer-events:none}.product-dialog[open]::backdrop{animation:backdrop-enter .18s ease-out both}.product-dialog[open].is-closing::backdrop{animation:backdrop-exit .18s ease-in both}@keyframes dialog-enter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes dialog-exit{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(12px)}}@keyframes backdrop-enter{0%{background:#102f2500}to{background:#102f2555}}@keyframes backdrop-exit{0%{background:#102f2555}to{background:#102f2500}}@keyframes sheet-enter{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes sheet-exit{0%{transform:translateY(0)}to{transform:translateY(100%)}}@media(max-width:700px){.book-filter-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.book-filter-buttons button{flex-direction:column;gap:5px;min-height:66px;padding:8px 4px;font-size:12px;line-height:1.35;min-width:0}.book-filter-buttons button span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.product-dialog[open]{animation-name:sheet-enter}.product-dialog[open].is-closing{animation-name:sheet-exit}}@media(prefers-reduced-motion:reduce){.product-dialog[open],.product-dialog[open].is-closing,.product-dialog[open]::backdrop,.product-dialog[open].is-closing::backdrop{animation:none}}.learning-hub{color:#193c32;background:#f5f8f6;--product-dock-height:0px;--product-header-height:72px;min-height:100dvh}:root .learning-hub .hub-header{position:sticky;top:0;z-index:20;display:flex;flex-wrap:nowrap;align-items:center;height:72px;min-height:72px;padding:0 max(24px,calc((100% - 1120px)/2));gap:20px;background:#fff;color:#193c32;border-bottom:1px solid #dee8e2}.hub-brand{font-size:26px;font-weight:800;text-decoration:none;color:#176b4b;flex-shrink:0}.hub-book-heading{display:flex;align-items:center;gap:8px;min-width:0;max-width:340px}.hub-book-heading>h1{margin:0;font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.hub-header-actions{display:flex;align-items:center;gap:8px;margin-inline-start:auto;flex:none}.hub-icon{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;padding:0;min-height:44px;color:#38594b;background:#f0f5f2;border:1px solid #e1eae5;border-radius:12px;text-decoration:none;line-height:1}.hub-icon svg{display:block;width:22px;height:22px}.hub-icon[aria-current=page]{background:#e3f0e8;color:#176b4b;border-color:#b5d5c3}.hub-icon:focus-visible,.hub-nav a:focus-visible{outline:2px solid #176b4b;outline-offset:3px}.hub-icon:hover{background:#edf4ef}.hub-refresh{width:24px;display:inline-flex}.hub-desktop-nav{flex:1}.hub-nav{display:flex;justify-content:center;gap:6px}.hub-nav a{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;min-height:44px;color:#526d60;text-decoration:none;border-radius:12px;font-weight:600}.hub-nav a.active{background:#e3f0e8;color:#176b4b}.hub-nav a>svg{display:block;flex:none;width:22px;height:22px;stroke-width:1.8}.hub-nav a.active>svg{stroke-width:2.3}.hub-nav a>span{line-height:1.25;white-space:nowrap}.hub-mobile-nav{display:none}.hub-dock{position:fixed;bottom:0;inset-inline:0;z-index:25;background:#fffffffa;border-top:1px solid #dee8e2;box-shadow:0 -4px 16px #193c3205}.hub-dock:has(.hub-dock-slot:empty){display:none}.hub-dock-slot{max-width:1120px;margin:auto}:root .learning-hub .hub-main{max-width:1120px;margin:auto;padding:24px 24px calc(32px + var(--product-dock-height))}.hub-heading{margin-bottom:20px}.hub-heading h1{font-size:30px;margin:0 0 12px}.hub-heading p,.hub-panel p,.hub-book p{color:#64796e;line-height:1.6}.hub-eyebrow{font-size:13px;color:#176b4b;margin:0}.hub-panel{background:#fff;border:1px solid #dee8e2;border-radius:18px;padding:20px;margin-bottom:20px}.hub-panel h2{margin:0 0 12px;font-size:21px}.hub-panel h3{margin-top:0}.learning-hub button,.hub-button,.hub-text-link,.hub-section-heading a{display:inline-flex;align-items:center;justify-content:center;gap:8px}.learning-hub svg{flex-shrink:0}.hub-button{min-height:48px;padding:12px 20px;background:#176b4b;color:#fff;border-radius:12px;text-decoration:none;font-weight:600}.hub-text-link{color:#176b4b;margin-top:10px}.hub-goal{display:flex;align-items:center;gap:16px;color:#64796e;font-size:14px}.hub-goal progress{width:140px;height:8px;accent-color:#176b4b}.hub-today{background:linear-gradient(115deg,#fff,#edf6f0)}.hub-today h3{margin:0}.hub-recommendation-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}.hub-recommendation-actions .hub-text-link{margin:0;min-height:44px}.hub-resume>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0}.hub-resume small{display:block;color:#64796e;margin-top:6px}.hub-books{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:12px;margin-bottom:20px}.learning-hub .hub-book{display:flex;align-items:flex-start;gap:14px;margin:0;padding:16px;background:#fff;border:1px solid #dee8e2;border-radius:16px}.hub-book>div:last-child{flex:1;min-width:0}.hub-book h3{font-size:19px;margin:0 0 4px;overflow-wrap:anywhere}.hub-book p{font-size:14px;margin:6px 0}.hub-join{max-width:650px;margin-inline:auto;overflow-wrap:anywhere}.hub-join-cover{height:180px;display:grid;place-items:center;background:#edf4ef;border-radius:12px;overflow:hidden;color:#74a18c}.hub-join-cover img{width:100%;height:100%;object-fit:contain}.hub-join h1{font-size:26px}.hub-join [role=status]{display:flex;align-items:center;gap:8px}.book-share-field{display:flex;flex-direction:column;gap:8px;margin-block:16px}.book-share-field input{width:100%;min-width:0;min-height:48px;border:1px solid #cfded4;border-radius:10px;padding:10px;font-size:16px;background:#fff}.book-share-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-block:16px}.book-participants{margin-block:16px;padding-block:16px;border-block:1px solid #dee8e2}.book-participants-status{min-height:28px;font-size:13px;color:#64796e}.book-participant-list{list-style:none;padding:0;margin:0}.book-participant-list li{display:flex;flex-direction:column;gap:6px;padding-block:12px;border-bottom:1px solid #dee8e2;overflow-wrap:anywhere}.book-participant-list small,.book-participant-list bdi{color:#64796e;font-size:14px}.book-participant-list li:last-child{border:0}.hub-cover{flex:none;width:64px;height:72px;display:grid;place-items:center;border-radius:10px;background:#e9f2ec;color:#74a18c;overflow:hidden}.hub-cover img{width:100%;height:100%;object-fit:contain}.hub-book-knowledge{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0;font-size:11px}.hub-book-knowledge span{background:#f0f5f2;padding:4px 6px;border-radius:5px}.hub-book .hub-button{background:transparent;color:#176b4b;padding:8px 0;min-height:44px}.hub-section-heading,.hub-week-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.hub-section-heading h2{font-size:21px;margin:0}.hub-section-heading a{color:#176b4b;font-size:14px}.hub-week-summary p{margin:0}.hub-library-tools{display:flex;gap:16px;margin-bottom:20px}.hub-library-tools label{flex:1;display:flex;flex-direction:column;gap:8px}.hub-library-tools input,.hub-library-tools select,.hub-settings input,.hub-settings select{min-height:48px;min-width:0;border:1px solid #cfded4;border-radius:10px;padding:10px;font-size:16px;background:#fff}.hub-settings{display:flex;flex-direction:column;gap:18px;max-width:650px}.hub-settings label{display:flex;flex-direction:column;gap:8px}.hub-activity{display:flex;gap:16px;align-items:flex-end;padding-top:16px}.hub-activity>div{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px}.hub-activity i{display:block;width:70%;max-width:42px;background:#4d9b77;border-radius:6px}.hub-empty{text-align:center;padding:32px 20px}.hub-sync-slot{height:28px;position:relative;margin-bottom:8px;font-size:12px}.hub-sync{position:absolute;inset-inline:0;top:0;z-index:15;color:#64796e}.hub-sync summary{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:24px}.hub-sync[open]{background:#fff8e8;padding:12px;border:1px solid #ead8b3;border-radius:12px;box-shadow:0 5px 18px #193c3212}:root .learning-hub.hub-studying .hub-main{padding:0;max-width:none}.learning-hub .account-password{margin-bottom:24px;background:#fff;padding:24px;border-radius:20px;border:1px solid #dee8e2}@media(max-width:900px){.learning-hub{--product-header-height: calc(56px + env(safe-area-inset-top)) }:root .learning-hub .hub-header{height:calc(56px + env(safe-area-inset-top));min-height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0;gap:8px}.hub-brand{font-size:24px}.hub-book-heading{flex:1;max-width:none}.hub-header-actions{gap:2px}.hub-editor span,.hub-desktop-nav{display:none}.hub-mobile-nav{display:block}.hub-dock,.hub-dock:has(.hub-dock-slot:empty){display:block;padding-bottom:env(safe-area-inset-bottom)}.hub-nav{padding:6px 12px;gap:8px}.hub-nav a{flex:1;flex-direction:column;gap:4px;padding:6px 8px;min-height:52px;font-size:11px}:root .learning-hub .hub-main{padding:12px 16px calc(20px + var(--product-dock-height,80px))}.hub-heading h1{font-size:27px}.hub-goal{flex-wrap:wrap;gap:8px}.hub-goal progress{flex:1;min-width:80px}.hub-panel{padding:16px}.hub-resume>div{align-items:flex-start;flex-direction:column;gap:12px}.hub-resume .hub-button{width:100%}.hub-library-tools{flex-direction:column;gap:10px}.hub-books{grid-template-columns:1fr}.hub-section-heading h2{font-size:19px}.hub-refresh{width:20px}}.hub-goal progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#e3ebe6}.hub-goal progress::-webkit-progress-bar{background:#e3ebe6;border-radius:8px}.hub-goal progress::-webkit-progress-value{background:#27815b;border-radius:8px}.hub-goal progress::-moz-progress-bar{background:#27815b;border-radius:8px}.tag-filter-control,.current-page-tags,.bulk-page-tags{border:1px solid #d8e3dc;border-radius:10px;padding:10px;margin:0;min-width:0}.tag-filter-control legend,.page-tags-panel legend{font-weight:650;font-size:14px}.tag-filter-modes,.tag-choices{display:flex;flex-wrap:wrap;gap:8px}.tag-filter-modes{margin-bottom:10px}.tag-filter-modes label,.tag-choice{display:flex;align-items:center;gap:5px;font-size:13px;cursor:pointer}.tag-choice{background:#edf5f0;border:1px solid #d2e1d8;padding:5px 8px;border-radius:16px;overflow-wrap:anywhere}.tag-choice:has(input:checked){background:#d4eadd;border-color:#509873}.tag-filter-control small,.page-tags-panel small{display:block;color:#64756b;margin-top:8px;font-size:12px}.tag-filter-control .tag-choices{max-height:170px;overflow:auto}.page-tags-panel{margin:12px 18px;padding:14px;display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #dce6df;border-radius:12px}.tag-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.new-tag-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.new-tag-form label{display:flex;flex-direction:column;gap:5px;font-size:13px}.new-tag-form input,.tag-manager-row input{border:1px solid #c6d7cc;border-radius:7px;padding:8px}.tag-manager summary{cursor:pointer;font-weight:600}.tag-manager p{font-size:13px;color:#64756b}.tag-manager-row{display:flex;align-items:center;gap:8px;margin:8px 0}.tag-manager-row span{flex:1;overflow-wrap:anywhere}.tag-manager-row input{flex:1;min-width:0}.page-selection{font-size:13px;display:flex;align-items:center;gap:4px}.rail-page{position:relative}.rail-page-tags{display:flex;flex-wrap:wrap;gap:4px;padding:5px 0}.rail-page-tags span{font-size:11px;background:#dcece2;color:#27543c;border-radius:6px;padding:3px 5px;overflow-wrap:anywhere}.rail-empty{font-size:13px;color:#64756b}.learning-tag-scope{background:#fff;padding:16px;border-radius:12px}.filtered-page-note{font-size:13px;padding:8px 18px;background:#fff3d5;color:#6c5423}.app-shell .page-rail{width:300px;direction:rtl;padding:0;gap:0;overflow:hidden;background:#f3f6f4;border-right:1px solid #dce4df}.rail-header{padding:18px 16px 14px;border-bottom:1px solid #dce4df;flex:none}.rail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.rail-heading h2{font-size:17px;margin:0}.rail-heading>span{font-size:12px;color:#64756b;background:#e5ede8;padding:4px 8px;border-radius:20px;white-space:nowrap}.rail-filters>summary{cursor:pointer;font-size:14px;font-weight:600;padding:8px 0}.filter-indicator{font-size:11px;margin-right:8px;color:#176b4b;background:#dcece2;border-radius:12px;padding:3px 7px}.rail-filter-body{display:flex;flex-direction:column;gap:12px;padding:12px 0;max-height:35vh;overflow:auto}.page-rail .tag-filter-modes{flex-direction:column;gap:10px}.rail-filter-body .page-filter{width:100%;padding:9px;border:1px solid #cdd7d1;border-radius:8px;background:#fff}.rail-active-filter{display:flex;align-items:center;gap:8px;margin:6px 0 10px;font-size:12px;color:#176b4b}.rail-active-filter>span{flex:1;min-width:0;overflow-wrap:anywhere}.rail-active-filter button{font-size:12px;flex:none}.rail-selection-toggle{width:100%;margin-top:10px;font-size:13px}.rail-selection-toggle[aria-pressed=true]{background:#d4eadd;color:#176b4b}.rail-selection-controls{padding-top:12px;display:flex;flex-direction:column;gap:8px}.rail-selection-controls .page-selection{line-height:1.5;gap:7px}.rail-selection-controls small{font-size:12px;color:#64756b}.rail-selection-count{display:flex;align-items:center;justify-content:space-between;gap:8px}.rail-selection-count button{font-size:12px}.rail-list{flex:1;min-height:0;overflow:auto;padding:14px 12px;display:flex;flex-direction:column;gap:10px;scrollbar-gutter:stable}.rail-list .rail-page{display:flex;align-items:center;gap:8px;flex:none}.rail-page-checkbox{width:17px;height:17px;flex:none;cursor:pointer;margin:0;accent-color:#176b4b}.page-rail .thumb{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:12px;text-align:right;min-width:0;flex:1;min-height:106px;padding:10px;background:#fff;border:1px solid #dce4df;border-radius:10px;box-shadow:none;color:#304139}.page-rail .thumb.active{border:2px solid #16835a;padding:9px;background:#f0f8f3;box-shadow:0 2px 7px #176b4b12}.page-rail .thumb:focus-visible{outline:2px solid #176b4b;outline-offset:2px}.page-rail .thumb .thumb-preview{display:grid;place-items:center;height:84px;padding:0;background:#e9eeeb;border-radius:5px;overflow:hidden}.page-rail .thumb canvas{width:auto;height:auto;max-width:68px;max-height:84px}.page-rail .thumb .thumb-info{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:0;min-width:0}.thumb-info strong{font-size:14px}.page-rail .thumb .page-status-label{font-size:11px;font-weight:400;padding:0;color:#738078}.page-rail .thumb.in_progress .page-status-label{color:#9b701c}.page-rail .thumb.complete .page-status-label{color:#176b4b}.page-rail .thumb .rail-page-tags{display:flex;flex-wrap:wrap;gap:4px;padding:0;max-width:100%}.page-rail .rail-page-tags span{display:inline-block;font-size:11px;font-weight:400;background:#e2eee6;color:#27543c;border-radius:5px;padding:3px 5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1300px){.app-shell .page-rail{width:260px}.workspace .author-grid{grid-template-columns:minmax(0,1fr) 280px}.page-rail .thumb{gap:9px}.rail-header{padding:16px 12px}}@media(max-width:1100px){.workspace .author-grid{grid-template-columns:minmax(0,1fr)}}.editable-tag{display:inline-flex;align-items:center;gap:2px;background:#edf5f0;border:1px solid #d2e1d8;border-radius:18px;padding-left:3px;max-width:100%}.editable-tag .tag-choice{border:0;background:transparent;min-width:0}.editable-tag:has(input:checked){background:#d4eadd;border-color:#509873}.editable-tag .tag-edit-button{font-size:17px;padding:3px 7px;border-radius:50%;flex:none}.tag-edit-button:focus-visible{outline:2px solid #176b4b}.page-shortcut-help{font-size:12px;color:#64756b;margin-top:12px}.page-shortcut-help summary{cursor:pointer}.page-shortcut-help dl{margin:10px 0}.page-shortcut-help dl>div{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0}.page-shortcut-help dd{direction:ltr;margin:0;white-space:nowrap}.page-shortcut-help kbd{font-family:inherit;background:#fff;border:1px solid #dce4df;border-radius:4px;padding:2px 4px;font-size:11px}.page-shortcut-help p{line-height:1.5;margin:8px 0 0}.area-layer{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2}.marker-stage .marker[aria-pressed=true]{outline:3px solid #f59e0b;outline-offset:2px}.paint-fill{display:flex;align-items:center;gap:6px;font-size:12px}.paint-fill button{min-width:58px;direction:ltr}.editor-view-switches{display:flex;flex-wrap:wrap;gap:6px}.painting-toolbar .editor-view-switch{display:flex;align-items:center;gap:10px;min-height:36px;padding:6px 10px;background:#fff;color:#52655a;border:1px solid #d4e1d8;border-radius:10px;font-weight:500;white-space:nowrap}.painting-toolbar .editor-view-switch[aria-checked=true]{background:#e1efe7;color:#176b4b;border-color:#b4d4c2}.editor-view-switch .switch-track{position:relative;display:block;width:38px;height:22px;flex:none;border-radius:20px;background:#aebbb3;direction:ltr;transition:background .16s}.editor-view-switch .switch-track>span{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .16s}.editor-view-switch[aria-checked=true] .switch-track{background:#176b4b}.editor-view-switch[aria-checked=true] .switch-track>span{transform:translate(16px)}.editor-view-switch:focus-visible{outline:2px solid #176b4b;outline-offset:3px}@media(prefers-reduced-motion:reduce){.editor-view-switch .switch-track,.editor-view-switch .switch-track>span{transition:none}}.paint-surface{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;touch-action:none;cursor:crosshair}.marker-stage .marker{z-index:4}.pending-dot{z-index:5}.painting-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 18px;background:#edf4ef;border-bottom:1px solid #dce4df;max-height:170px;overflow:auto;flex:none}.painting-toolbar label{display:flex;align-items:center;gap:6px;font-size:12px}.painting-toolbar select{padding:6px;border:1px solid #c6d7cc;border-radius:6px;max-width:240px;background:#fff}.painting-toolbar button{font-size:12px;padding:7px 10px}.paint-tools,.paint-palette{display:flex;align-items:center;gap:5px}.painting-toolbar .paint-palette button{width:22px;height:22px;padding:0;border:2px solid white;border-radius:50%}.paint-palette button[aria-pressed=true]{outline:2px solid #304139}.paint-palette input{width:28px;height:28px;padding:0;border:0}.painting-toolbar input[type=range]{width:90px}.draft-notice{font-size:12px;color:#8a5b12}.label-row.selected{background:#e3f1e8;outline:1px solid #98c6ac;border-radius:6px}.label-row .label-select{text-align:right;font-weight:400;overflow-wrap:anywhere;font-size:13px}.draft-dialog{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#10291b88;display:grid;place-items:center}.draft-dialog section{width:min(440px,90vw);background:#fff;border-radius:14px;padding:24px;box-shadow:0 8px 40px #0003}.draft-dialog section>div{display:flex;gap:8px;flex-wrap:wrap}.draft-dialog h3{margin:0 0 10px}.editor .marker-stage img{max-height:none;width:100%}.editor .marker-stage{max-height:none}.editor .marker-viewport{overflow:auto;min-height:0}.editor .editor-body{flex:1;min-height:0}.study-image .area-layer{border-radius:inherit}.study-image .study-marker{z-index:4}.annotation-error{position:absolute;bottom:8px;left:8px;z-index:6;background:#fee8e8;color:#8c1e1e;padding:8px;border-radius:6px}.annotation-help{font-size:12px;color:#64756b}.learning-config select{padding:8px;border:1px solid #c6d7cc;border-radius:6px;margin-right:8px}.cloud-login{min-height:100dvh;display:grid;place-items:center;padding:24px;background:#f1f6f3}.cloud-login form{width:min(420px,100%);background:#fff;padding:28px;border-radius:20px;display:flex;flex-direction:column;gap:16px;box-shadow:0 12px 40px #153b2510}.cloud-login h1{margin:0}.cloud-login label{display:flex;flex-direction:column;gap:8px}.cloud-login input{direction:ltr;font-size:18px;min-height:48px}.cloud-library{min-height:100dvh;background:#f3f6f4}.cloud-library header{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#102f25;color:#fff;padding:24px}.cloud-library header h1{margin:0;font-size:24px}.cloud-library header>div:last-child{display:flex;gap:8px}.cloud-library>main{max-width:1000px;padding:24px;margin:auto}.cloud-book-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.cloud-book-grid article,.publication-panel{padding:24px;background:#fff;border:1px solid #dbe5df;border-radius:16px;margin-bottom:20px}.cloud-book-grid h2{margin-top:0}.cloud-book-grid article button{margin-inline-end:8px;margin-top:8px}.mobile-install-tip{color:#62756b;font-size:14px}.touch-image-viewport{position:relative;overflow:hidden;touch-action:none;min-height:100px;display:grid;place-items:center}.touch-reset{position:absolute;bottom:8px;right:8px;z-index:4}.waiting-save{color:#87510c;background:#fff1d5;padding:10px;border-radius:8px}.pwa-update{position:fixed;bottom:12px;left:12px;z-index:20;padding:12px;box-shadow:0 3px 20px #0003}.learning-filter-summary{cursor:pointer;padding:12px 0;font-weight:600}@media(max-width:700px){button,input,select{min-height:44px}input[type=checkbox],input[type=radio]{min-height:initial}.cloud-library header{padding:16px;flex-wrap:wrap}.cloud-library>main{padding:16px}.learning-shell>header{padding:12px 16px;height:auto;min-height:64px;gap:12px}.learning-dashboard{padding:18px 14px}.dashboard-title{gap:12px}.dashboard-title h2{font-size:26px}.dashboard-title button{padding:12px;font-size:15px}.stats-grid{margin:16px 0;gap:8px}.stats-grid article{padding:12px}.learning-config{display:flex;flex-direction:column}.mode-grid{grid-template-columns:1fr}.mode-card{min-height:70px}.study-screen{height:100dvh}.study-screen>header{height:auto;min-height:52px;padding:6px 12px;gap:8px;flex-shrink:0}.session-counts{gap:8px;font-size:11px;flex-wrap:wrap}.study-screen>main{display:flex;flex-direction:column;overflow:hidden}.study-image-wrap{padding:8px;flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.study-image-wrap h2{font-size:16px;margin-bottom:6px;flex-shrink:0}.touch-image-viewport{flex:1;min-height:0}.study-image{max-height:100%;max-width:100%}.study-image img{max-height:calc(100dvh - 315px);max-width:100%;width:auto;height:auto}.answer-panel{padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex-shrink:0;border-top:1px solid #dce4df;max-height:42dvh;overflow:auto}.answer-panel h1{font-size:23px;margin:4px 0}.answer-panel p{font-size:13px;margin:5px 0}.review-facts{display:none}.rating-grid{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px}.rating-grid button{padding:14px 8px;justify-content:center}.rating-grid kbd,.answer-panel .reveal kbd{display:none}.answer-panel .reveal{padding:12px}.answer-panel>p:first-child{font-size:16px}.group-complete h1{font-size:21px}.group-complete>span{display:none}.summary-screen section{padding:24px}.summary-ratings{gap:4px;font-size:13px}}@media(max-height:500px)and (orientation:landscape){.study-screen>main{display:grid;grid-template-columns:1fr 260px}.study-image img{max-height:calc(100dvh - 115px)}.answer-panel{max-height:100%;padding:12px}.rating-grid{grid-template-columns:repeat(2,1fr)}}.study-screen .study-image-wrap{min-width:0}.study-marker{z-index:3}.cloud-login-content{width:min(420px,100%);display:flex;flex-direction:column;gap:16px}.cloud-login-content form{width:100%}.cloud-login-content h2{margin:0;font-size:21px}.cloud-login-content p{line-height:1.5;margin:0}.pwa-login-transfer{background:#fff;border:1px solid #dbe5df;border-radius:16px;padding:16px;margin-bottom:20px}.pwa-login-transfer summary{cursor:pointer;font-weight:600;padding:8px 0}.pwa-login-transfer p{line-height:1.5}.pwa-transfer-result{display:flex;flex-direction:column;gap:12px;margin-top:16px}.pwa-transfer-result label{display:flex;flex-direction:column;gap:8px}.pwa-transfer-result input{width:100%;min-width:0;min-height:44px;font-size:16px}.pwa-transfer-result button{align-self:flex-start}@media(max-height:500px)and (orientation:landscape){.study-screen>header{height:52px;min-height:52px}.study-image-wrap{display:flex;flex-direction:column;padding:8px;overflow:hidden;min-height:0}.study-image-wrap h2{font-size:16px;margin:0 0 6px}.touch-image-viewport{flex:1;min-height:0}.study-image img{max-height:calc(100dvh - 110px)}}.account-password,.login-alternative{background:#fff;border:1px solid #dbe5df;border-radius:16px;padding:16px;margin-bottom:20px}.account-password summary,.login-alternative summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center}.account-password form{display:flex;flex-direction:column;gap:12px;max-width:420px}.account-password label{display:flex;flex-direction:column;gap:8px}.account-password input{min-height:44px;font-size:16px;width:100%;min-width:0}.login-alternative form{padding:16px 0;box-shadow:none;border-radius:0}.cloud-login-content{padding:20px 0}.study-image .study-marker{transform:translate(-50%,-50%) scale(var(--study-pin-scale,1));transform-origin:center}.annotation-loading{position:absolute;bottom:8px;left:8px;padding:6px 10px;background:#ffffffdf;border-radius:8px;color:#53655b;font-size:13px;z-index:6}.annotation-error button{margin-inline-start:8px}@media(max-width:700px),(pointer:coarse){.study-image .study-marker{width:23px;height:23px;border-width:2px;font-size:12px;line-height:1}}.review-sync-status{position:fixed;top:64px;inset-inline-end:12px;z-index:12;background:#eff6f1;color:#476458;border-radius:12px;padding:6px 10px;font-size:12px;max-width:min(90vw,380px);pointer-events:none}.review-sync-status button{pointer-events:auto;margin-inline-start:6px;padding:4px 8px;font-size:12px}.study-view-switches{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 0 10px;flex:none}.study-view-switches .editor-view-switch{display:flex;align-items:center;gap:9px;min-height:44px;padding:6px 12px;background:#fff;color:#52655a;border:1px solid #d4e1d8;border-radius:12px;font-size:13px;font-weight:500}.study-view-switches .editor-view-switch[aria-checked=true]{background:#e1efe7;color:#176b4b;border-color:#b4d4c2}.render-recovery{min-height:100dvh;display:grid;place-items:center;background:#f1f6f3;padding:24px}.render-recovery section{width:min(520px,100%);background:#fff;padding:28px;border-radius:18px}.render-recovery pre{white-space:pre-wrap;overflow-wrap:anywhere}.study-screen .study-image img{max-height:calc(100dvh - 180px)}@media(max-width:700px){.study-screen .study-image img{max-height:calc(100dvh - 365px)}}@media(max-height:500px)and (orientation:landscape){.study-screen .study-image img{max-height:calc(100dvh - 165px)}}@media(max-width:900px),(hover:none)and (pointer:coarse){.study-screen.study-screen{height:100dvh;width:100%;overflow:hidden;position:relative}.study-screen.study-screen>header{height:auto;min-height:56px;flex:none;padding:max(6px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 6px max(16px,env(safe-area-inset-left));gap:12px}.study-screen.study-screen>header .session-counts{display:none}.study-position{color:#53685c;font-size:14px;font-variant-numeric:tabular-nums;direction:ltr}.study-screen.study-screen>main{display:flex;flex-direction:column;overflow:hidden;min-height:0;flex:1;width:100%}.study-screen.study-screen .study-image-wrap{flex:1;min-height:0;padding:10px max(10px,env(safe-area-inset-right)) 8px max(10px,env(safe-area-inset-left));display:flex;flex-direction:column;overflow:hidden}.study-image-wrap h2{font-size:15px;line-height:1.3;margin:0 0 8px;flex:none;overflow-wrap:anywhere}.study-view-switches{gap:8px;margin-bottom:8px}.study-view-switches .editor-view-switch{flex:0 1 140px;justify-content:space-between;padding:6px 12px;min-height:44px}.study-screen.study-screen .touch-image-viewport{container-type:size;flex:1;min-height:0;width:100%;border-radius:14px;background:#e4eae6}.study-screen.study-screen .study-image{max-width:100%;max-height:100%;width:max-content}.study-screen.study-screen .study-image img{display:block;width:auto;height:auto;max-width:100%;max-width:100cqw;max-height:calc(100dvh - 320px);max-height:100cqh;object-fit:contain}.study-screen.study-screen .answer-panel{flex:none;width:100%;max-height:40dvh;overflow-y:auto;border:0;border-top:1px solid #dce4df;border-radius:20px 20px 0 0;padding:12px max(16px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));box-shadow:0 -4px 18px #153b2508;justify-content:flex-start}.study-screen.study-screen .answer-panel>p:first-child{font-size:13px;margin:0 0 8px;color:#607168}.study-screen.study-screen .answer-panel .reveal{min-height:54px;padding:14px;font-size:19px;border-radius:14px;width:100%}.study-screen.study-screen .answer-panel kbd,.study-screen.study-screen .answer-panel .answer-caption,.study-screen.study-screen .answer-panel .answer-details,.study-screen.study-screen .review-facts{display:none}.study-screen.study-screen .answer-panel h1{font-size:22px;line-height:1.25;margin:0 0 10px;text-align:center;overflow-wrap:anywhere}.study-screen.study-screen .rating-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;direction:ltr}.study-screen.study-screen .rating-grid button{min-height:54px;justify-content:center;border-radius:12px;padding:12px 6px;font-size:15px;direction:rtl}.study-screen.study-screen .group-complete>span,.study-screen.study-screen .group-complete>p{display:none}.study-screen.study-screen .group-complete button{width:100%;min-height:50px}.study-screen.study-screen .review-sync-status{position:static;flex:none;font-size:11px;max-width:100%;border-radius:0;text-align:center;padding:3px 12px}.study-screen.study-screen .waiting-save,.study-screen.study-screen .error{margin:8px 0 0;padding:8px;font-size:12px}}@media(max-height:500px)and (max-width:900px){.study-screen.study-screen .study-image-wrap h2{display:none}.study-screen.study-screen .study-view-switches{position:absolute;inset-inline-start:50%;transform:translate(50%);top:max(6px,env(safe-area-inset-top));z-index:5;margin:0}.study-screen.study-screen .study-view-switches .editor-view-switch{min-width:104px}.study-screen.study-screen .answer-panel{max-height:44dvh;padding-top:8px}.study-screen.study-screen .answer-panel>p:first-child{display:none}.study-screen.study-screen .answer-panel h1{font-size:18px;margin-bottom:6px}.study-screen.study-screen .answer-panel .reveal,.study-screen.study-screen .rating-grid button{min-height:44px;padding:8px}}.knowledge-overview,.tag-progress-card{background:#fff;border:1px solid #d9e5df;border-radius:20px;padding:24px;margin:20px 0}.knowledge-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.knowledge-heading h3,.tag-progress-card h3{margin:0 0 8px}.knowledge-heading p,.tag-progress-card p,.knowledge-summary{font-size:14px;color:#64796f;line-height:1.6}.knowledge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.knowledge-tile{display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:2px solid transparent;color:#193b30;background:#f3f7f5;padding:18px;border-radius:16px;text-align:start}.knowledge-tile strong{font-size:32px}.knowledge-tile small{font-weight:400;line-height:1.5}.knowledge-tile.again{background:#fff0ef}.knowledge-tile.hard{background:#fff5e7}.knowledge-tile.good{background:#eaf6ef}.knowledge-tile.easy{background:#edf4ff}.knowledge-tile[aria-pressed=true]{border-color:#197354;box-shadow:0 0 0 2px #d5eee1}.knowledge-bar{display:flex;height:10px;overflow:hidden;border-radius:8px;background:#edf2ef}.knowledge-bar .again{background:#cc4848}.knowledge-bar .hard{background:#db9236}.knowledge-bar .good{background:#26865d}.knowledge-bar .easy{background:#3878bd}.tag-progress-scroll{overflow-x:auto}.tag-progress-card table{width:100%;border-collapse:collapse;text-align:start;font-size:15px}.tag-progress-card th,.tag-progress-card td{padding:12px;border-bottom:1px solid #e5ede8;white-space:nowrap;text-align:start}.tag-progress-card th button{min-height:44px}.filter-grid .editor-view-switch{display:flex;align-items:center;gap:12px;width:100%;justify-content:space-between;min-height:48px;background:#f4f8f5;color:#294137;border:1px solid #d9e5df;border-radius:12px;padding:10px 14px}@media(max-width:600px){.knowledge-overview,.tag-progress-card{padding:16px;border-radius:16px}.knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.knowledge-heading{align-items:flex-start}.knowledge-tile{padding:14px;min-height:120px}.knowledge-tile strong{font-size:28px}.tag-progress-card th,.tag-progress-card td{padding:10px 8px}.mode-grid{grid-template-columns:1fr 1fr}}@media(max-width:700px){:root .learning-shell>header{height:auto;min-height:68px;padding:max(12px,env(safe-area-inset-top)) 16px 12px;gap:12px;align-items:center}:root .learning-shell>header>div{min-width:0;flex:1}:root .learning-shell>header h1{font-size:19px}:root .learning-shell>header span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:root .learning-shell>header button{min-height:44px;flex:none;font-size:13px;padding:10px 12px}:root .learning-dashboard{padding:20px 14px calc(100px + env(safe-area-inset-bottom))}:root .dashboard-title h2{font-size:26px}:root .dashboard-title p{font-size:13px;line-height:1.5}:root .tag-filter-control{padding:12px;border-radius:14px}:root .tag-filter-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}:root .tag-filter-modes label,:root .tag-filter-control .tag-choice{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;border:1px solid #c8d8cf;border-radius:12px;color:#315747;font-size:13px;line-height:1.35;text-align:center;background:#fff;cursor:pointer}:root .tag-filter-modes label:has(input:checked),:root .tag-filter-control .tag-choice:has(input:checked){background:#176b4b;color:#fff;border-color:#176b4b}:root .tag-filter-modes input,:root .tag-filter-control .tag-choice input{position:absolute;width:1px;height:1px;min-height:0;opacity:0}:root .tag-filter-modes label:has(input:focus-visible),:root .tag-filter-control .tag-choice:has(input:focus-visible){outline:3px solid #e6a12b;outline-offset:3px}:root .tag-filter-control .tag-choices{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}:root .tag-filter-control small{display:block;margin-top:10px;line-height:1.5}:root .knowledge-heading p{font-size:13px;margin:6px 0;line-height:1.5}:root .knowledge-tile{min-height:112px;gap:6px}:root .knowledge-tile[aria-pressed=true]{outline:2px solid #176b4b;outline-offset:2px}:root .knowledge-tile[aria-pressed=true]>span:after{content:" ✓"}:root .tag-progress-scroll{overflow:visible}:root .tag-progress-card table,:root .tag-progress-card tbody{display:block;width:100%}:root .tag-progress-card thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}:root .tag-progress-card tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;border:1px solid #d9e5df;border-radius:14px;padding:12px;margin-top:12px}:root .tag-progress-card th[scope=row]{grid-column:1/-1;padding:0 0 6px;border:0}:root .tag-progress-card th button{width:100%;text-align:start;white-space:normal;overflow-wrap:anywhere}:root .tag-progress-card td{padding:8px 3px;border:0;background:#f2f6f3;border-radius:8px;text-align:center;font-size:20px;font-weight:650;white-space:normal}:root .tag-progress-card td:before{content:attr(data-label);display:block;font-size:11px;font-weight:400;margin-bottom:6px;color:#496158}:root .tag-progress-card td:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;font-size:15px;background:transparent}:root .tag-progress-card td:last-child:before{margin:0;font-size:13px}:root .study-screen .study-image-wrap h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:normal}:root .study-screen .study-image-wrap h2.hidden-title{display:none}:root .study-screen .study-view-switches{flex:none;flex-wrap:nowrap;justify-content:center}:root .study-screen .study-view-switches button{flex:1;max-width:180px}:root .summary-screen{min-height:100dvh;padding:max(20px,env(safe-area-inset-top)) 14px max(24px,env(safe-area-inset-bottom))}:root .summary-screen section{width:100%;padding:24px 16px;border-radius:20px}:root .summary-screen h1{font-size:28px}:root .summary-screen section>div:last-child{flex-direction:column;gap:10px}:root .summary-screen button{min-height:50px;width:100%}:root .summary-ratings{gap:6px;font-size:14px}:root .cloud-library>header{padding:max(16px,env(safe-area-inset-top)) 16px 16px;flex-wrap:wrap;gap:12px}:root .cloud-library>header>div{min-width:0}:root .cloud-library>header span{display:block;font-size:13px;overflow-wrap:anywhere}:root .cloud-library>main{padding:16px 14px max(24px,env(safe-area-inset-bottom))}:root .cloud-book-grid{grid-template-columns:1fr}:root .cloud-book-grid article{padding:20px;border-radius:18px}:root .cloud-book-grid article>button:first-of-type{width:100%;min-height:50px;margin:8px 0}:root .cloud-book-grid article h2{overflow-wrap:anywhere}:root .cloud-login{padding:max(20px,env(safe-area-inset-top)) 14px max(20px,env(safe-area-inset-bottom))}:root .cloud-login form{padding:24px 20px}:root .cloud-login input{min-width:0;width:100%;font-size:16px}:root .pwa-update{left:14px;right:14px;bottom:max(12px,env(safe-area-inset-bottom));min-height:50px}}:root button:focus-visible,:root summary:focus-visible{outline:3px solid #e6a12b;outline-offset:3px}@media(prefers-reduced-motion:reduce){.study-screen .switch-track,.study-screen .switch-track>span{transition:none}}:root .study-screen>header.study-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;min-height:72px;height:auto;padding:10px 24px;flex-wrap:nowrap;background:#fff;color:#294137;direction:rtl}.study-toolbar-start,.study-toolbar-end{display:flex;align-items:center;gap:8px;min-width:0}.study-toolbar-end{justify-content:flex-end}.study-toolbar-center{text-align:center;position:relative}.study-toolbar-center .study-position{display:block;direction:ltr;font-variant-numeric:tabular-nums;white-space:nowrap}.study-toolbar-center .session-counts{display:block;font-size:11px;margin-top:3px}.study-toolbar-center .session-counts[open]{position:absolute;top:100%;z-index:10;padding:12px;border:1px solid #dce4df;border-radius:12px;background:#fff;min-width:170px}.study-toolbar-center .session-counts span{display:block;padding-top:6px}:root .study-screen .study-toolbar .study-view-switches{display:flex;position:static;transform:none;flex-wrap:nowrap;gap:4px;margin:0}:root .study-screen .study-toolbar .study-icon-toggle{flex:none;width:44px;min-width:44px;max-width:none;height:44px;min-height:44px;display:grid;place-items:center;padding:0;border:1px solid #d5e1d9;border-radius:12px;background:#fff;color:#63776b}:root .study-screen .study-toolbar .study-icon-toggle[aria-checked=true]{background:#dceee3;border-color:#b5d4c2;color:#176b4b}.study-screen button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.study-screen button svg,.touch-reset svg{flex:none}.touch-reset{display:inline-flex;align-items:center;gap:7px}@media(max-width:900px),(hover:none)and (pointer:coarse){:root .study-screen>header.study-toolbar{padding:max(6px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left));gap:8px;min-height:58px}.study-toolbar-start{gap:4px}:root .study-screen .study-toolbar button.secondary{min-height:44px;padding:10px;font-size:14px}.study-toolbar .study-action-label{display:none}:root .study-screen .rating-grid button{gap:5px}}@media(max-width:360px){.study-toolbar-start{display:contents}.study-toolbar .study-pause{grid-column:1;grid-row:1;justify-self:start}.study-toolbar-center{grid-column:2;grid-row:1}.study-toolbar-end{grid-column:3;grid-row:1}:root .study-screen .study-toolbar .study-view-switches{grid-column:1 / -1;grid-row:2;justify-content:center}}.account-auth{width:min(100%,440px)}.account-auth h1{font-size:1.65rem;margin:.5rem 0}.account-brand{font-size:2rem;font-weight:800;color:var(--accent, #176c50)}.account-auth form,.account-form{display:grid;gap:16px}.account-auth label,.account-form label{display:grid;gap:8px}.account-password-input{display:flex;align-items:stretch;gap:6px;min-width:0}.account-password-input input{flex:1;min-width:0;width:0}.account-password-input button{flex:0 0 44px;display:grid;place-items:center;padding:8px}.account-auth-links{display:flex;flex-wrap:wrap;gap:12px 20px;margin:20px 0}.account-link{background:none;color:#176c50;padding:8px 0;text-decoration:underline;min-height:44px}.account-auth button,.account-form button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}.account-help{color:#60746b;font-size:.9rem}.account-danger{border-color:#e2b9b9}.account-danger button{background:#ac3434;color:#fff}.account-book-row,.account-user-row{padding:16px 0;border-bottom:1px solid #dce6e1;display:grid;gap:10px}.account-book-row h3,.account-user-row h3{margin:0;overflow-wrap:anywhere}.account-actions{display:flex;gap:10px;flex-wrap:wrap}.account-notices{list-style:none;padding:0}.account-notices li{padding:12px 0;border-bottom:1px solid #dce6e1}.account-status{border-radius:12px;background:#edf5f0;padding:12px}.desktop-account-actions{display:flex;justify-content:flex-start;padding:12px 24px}.desktop-account-actions button{display:inline-flex;gap:8px;align-items:center}@media(max-width:600px){.account-auth{padding:0}.account-auth-links{flex-direction:column;align-items:stretch}.account-actions>button{flex:1 1 auto}}:root{font-family:Inter,Noto Sans Hebrew,Arial,sans-serif;color:#18221d;background:#f4f6f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{border:0;border-radius:9px;background:#176b4b;color:#fff;padding:9px 14px;cursor:pointer;font-weight:650}button:hover:not(:disabled){filter:brightness(.94)}button:disabled{opacity:.45;cursor:not-allowed}button.secondary{background:#e8edea;color:#304139}button.ghost{background:transparent;color:#496158;padding:5px}.danger,.danger.ghost{color:#a83333}.error{background:#fee8e8;color:#8c1e1e;border-radius:8px;padding:10px}.welcome{min-height:100vh;padding:8vh 10vw;background:radial-gradient(circle at 80% 10%,#dbece4,transparent 32%),#f5f7f4}.hero{max-width:680px;margin:auto;text-align:center}.logo{display:grid;place-items:center;margin:auto;width:72px;height:72px;border-radius:22px;background:#176b4b;color:#fff;font:700 36px Georgia;box-shadow:0 14px 35px #176b4b40}.hero h1{font-size:38px;margin:24px 0 8px}.hero p{color:#607068;font-size:18px}.hero>button{font-size:18px;padding:13px 25px;margin:18px}.welcome section{max-width:900px;margin:70px auto}.document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.document-card{display:flex;flex-direction:column;gap:8px;text-align:right;background:#fff;color:#283b32;border:1px solid #dce4df;padding:18px;box-shadow:0 5px 18px #20372d0c}.document-card strong{font-size:18px}.document-card span{font-weight:400;color:#65736c}.app-shell>header{height:68px;background:#123e2f;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.app-shell>header h1{font-size:20px;margin:0}.app-shell>header span{font-size:13px;color:#bcd1c8}.app-shell main{height:calc(100vh - 68px);display:flex;direction:ltr}.page-rail{width:132px;flex:none;background:#e5eae7;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:12px;direction:ltr}.thumb{position:relative;padding:6px;background:#fff;color:#334;box-shadow:0 2px 6px #0002;border:2px solid transparent}.thumb.active{border-color:#16835a}.thumb canvas{display:block;width:100%;height:auto}.thumb span{display:block;padding-top:4px}.thumb i{position:absolute;width:9px;height:9px;border-radius:50%;top:9px;right:9px;background:#c6ccc9}.thumb.in_progress i{background:#e0a52c}.thumb.complete i{background:#16835a}.workspace{direction:rtl;flex:1;min-width:0;overflow:auto}.page-nav{position:sticky;top:0;z-index:8;background:#fff;border-bottom:1px solid #dde4df;padding:10px 18px;display:flex;align-items:center;gap:10px}.page-nav strong{margin-left:auto}.page-nav .done{background:#dcefe6;color:#176b4b}.author-grid{display:grid;grid-template-columns:minmax(650px,1fr) 330px;gap:18px;padding:18px;align-items:start}.viewer-toolbar{display:flex;gap:8px;align-items:center;margin-bottom:8px}.viewer-toolbar span:last-child{color:#68756f;margin-right:15px}.pdf-scroll{overflow:auto;max-height:calc(100vh - 170px);background:#cbd1ce;padding:20px;border-radius:12px}.pdf-wrap{position:relative;width:max-content;margin:auto;touch-action:none;box-shadow:0 8px 30px #0003;direction:ltr}.pdf-wrap canvas{display:block}.crop-box{position:absolute;border:3px solid #10a36c;background:#10a36c22;box-shadow:0 0 0 9999px #071b1445;pointer-events:none}.crop-form{display:flex;gap:8px;margin-top:10px;background:#fff;padding:12px;border-radius:10px}.crop-form input{flex:1}.images-panel{background:#fff;border-radius:12px;padding:15px;box-shadow:0 3px 18px #21372e0d}.images-panel h2{margin:0 0 14px;font-size:18px}.images-panel h2 span{background:#e5efe9;border-radius:99px;padding:2px 8px;font-size:13px}.empty{color:#75817b}.image-card{border:1px solid #dfe6e2;border-radius:10px;padding:10px;margin-top:10px}.image-card.active{border-color:#1b8a60;box-shadow:0 0 0 2px #1b8a6022}.image-card img{width:100%;height:140px;object-fit:contain;background:#f0f2f1;border-radius:7px}.image-card h3{margin:8px 0 3px}.image-card p{margin:0 0 8px;color:#68756f;font-size:13px}.image-card>div{display:flex;gap:4px;flex-wrap:wrap}.image-card button{font-size:12px;padding:7px}.editor-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b1712cc;z-index:30;padding:3vh;display:grid;place-items:center}.editor{width:min(1450px,96vw);height:94vh;background:#f6f8f6;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;direction:rtl}.editor>header{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:#fff;border-bottom:1px solid #dfe5e1}.editor>header h2,.editor>header p{margin:0}.editor>header p{color:#6f7c75;font-size:13px;margin-top:3px}.editor>header>div:last-child{display:flex;gap:8px}.editor-body{display:grid;grid-template-columns:minmax(0,1fr) 410px;min-height:0;flex:1;direction:ltr}.marker-stage{position:relative;margin:auto;max-width:100%;max-height:100%;direction:ltr}.marker-stage img{display:block;max-width:100%;max-height:calc(94vh - 86px);object-fit:contain}.marker{position:absolute;transform:translate(-50%,-50%);min-width:29px;height:29px;border-radius:50%;padding:3px;background:#176b4b;color:#fff;border:2px solid white;box-shadow:0 2px 7px #0008;cursor:grab}.labels{direction:rtl;background:#fff;border-right:1px solid #dfe5e1;padding:15px;overflow:auto}.labels h3{margin-top:0}.bulk{padding:10px;background:#f0f5f2;border-radius:9px;margin-bottom:14px}.bulk textarea{width:100%;height:70px;resize:vertical;border:1px solid #cfd9d3;border-radius:7px;padding:8px;margin-bottom:7px;direction:ltr}.bulk small{display:block;margin-top:6px}.label-row{display:grid;grid-template-columns:40px 1fr 28px auto auto;align-items:center;gap:6px;border-bottom:1px solid #edf0ee;padding:8px 0}.label-row b{background:#1b6f50;color:#fff;border-radius:6px;text-align:center;padding:5px}.label-row span{font-size:14px}.label-row em{font-style:normal;color:#6d7973;text-align:center}.label-row input{min-width:0;padding:7px;border:1px solid #cdd7d1;border-radius:6px}.label-row .pin-input{width:45px}@media(max-width:1100px){.author-grid{grid-template-columns:1fr}.images-panel{order:-1}.editor-body{grid-template-columns:1fr 330px}}:root .image-intake{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:12px 18px;padding:14px;border:2px dashed #b5cbbd;border-radius:12px;background:#f7fbf8;direction:rtl}.image-intake small{color:#607068}.image-intake:focus{outline:2px solid #176b4b}.empty-book{text-align:center;padding:70px 20px}.new-image-project{direction:rtl;text-align:right;background:#fff;padding:20px;border-radius:14px}.welcome .new-image-project{margin:24px auto}.new-image-project label{display:flex;flex-direction:column;gap:8px}.new-image-project input{border:1px solid #b5cbbd;border-radius:8px;padding:10px}.new-image-project>button{margin-left:8px}.pending-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;max-height:300px;overflow:auto}.pending-images article{display:flex;flex-direction:column;border:1px solid #dfe6e2;border-radius:8px;padding:8px;gap:6px}.pending-images img{height:95px;max-width:100%;object-fit:contain}.pending-images span{font-size:12px;overflow-wrap:anywhere}.page-nav{flex-wrap:wrap}.page-rail .thumb{width:100%}.learning-shell{min-height:100vh;background:#f3f6f4}.learning-shell>header{height:72px;padding:0 32px;background:#102f25;color:#fff;display:flex;align-items:center;justify-content:space-between}.learning-shell>header h1{margin:0;font-size:22px}.learning-shell>header span{color:#b9cec5;font-size:13px}.learning-dashboard{max-width:1180px;margin:auto;padding:36px}.dashboard-title{display:flex;align-items:center;justify-content:space-between}.dashboard-title h2{font-size:32px;margin:3px 0}.dashboard-title p{color:#66766f;margin:0}.dashboard-title button{font-size:17px;padding:13px 25px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:28px 0}.stats-grid article{background:#fff;border:1px solid #e0e7e3;border-radius:13px;padding:18px;box-shadow:0 4px 16px #1b382c0a}.stats-grid span{display:block;color:#6a7972;font-size:13px}.stats-grid strong{display:block;font-size:29px;margin-top:5px}.learning-config{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.learning-config>div,.progress-card{background:#fff;border:1px solid #e0e7e3;border-radius:14px;padding:20px}.learning-config h3,.progress-card h3{margin-top:0}.mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.mode-card{display:flex;flex-direction:column;gap:6px;min-height:105px;background:#f5f7f6;color:#294137;text-align:right;border:2px solid transparent}.mode-card.active{background:#e6f3ed;border-color:#177a55}.mode-card strong{font-size:16px}.mode-card span{font-size:12px;font-weight:400}.filter-grid{display:flex;flex-direction:column;gap:9px}.filter-grid label{display:flex;align-items:center;gap:9px;padding:8px;border-bottom:1px solid #edf0ee}.filter-grid input{accent-color:#177a55;width:17px;height:17px}.progress-card{margin-top:18px}.progress-chart{height:150px;display:flex;align-items:flex-end;gap:7px;direction:ltr}.progress-chart>div{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px}.progress-chart i{display:block;width:100%;max-width:28px;background:#1b805b;border-radius:5px 5px 0 0}.progress-chart span{font-size:9px;color:#738078;writing-mode:vertical-rl}.study-screen{height:100vh;background:#edf1ef;display:flex;flex-direction:column}.study-screen>header{height:64px;background:#fff;border-bottom:1px solid #dce4df;padding:0 24px;display:flex;align-items:center;justify-content:space-between}.session-counts{display:flex;gap:24px;color:#607168}.session-counts b{color:#183c2e}.study-screen>main{display:grid;grid-template-columns:minmax(0,1fr) 390px;min-height:0;flex:1;direction:ltr}.study-image-wrap{padding:20px;overflow:auto;direction:rtl}.study-image-wrap h2{text-align:center;margin:0 0 12px}.study-image{position:relative;width:max-content;max-width:100%;margin:auto;direction:ltr}.study-image img{display:block;max-width:100%;max-height:calc(100vh - 125px);object-fit:contain}.study-marker{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:31px;height:31px;border-radius:50%;border:3px solid white;box-shadow:0 2px 10px #0007;font-weight:700}.study-marker.current{background:#e73535;color:transparent}.study-marker.current.revealed{color:#fff}.study-marker.completed{background:#25a367;color:#fff}.answer-panel{direction:rtl;background:#fff;border-right:1px solid #dce4df;padding:34px 26px;display:flex;flex-direction:column;justify-content:center}.answer-panel>p:first-child{text-align:center;font-size:18px;color:#5e7067}.answer-panel .reveal{font-size:20px;padding:16px}.answer-panel kbd{background:#fff3;border:1px solid #ffffff66;border-radius:4px;padding:2px 6px}.answer-caption{color:#78867f}.answer-panel h1{font-size:31px;margin:8px 0}.review-facts{display:flex;gap:12px;margin:20px 0}.review-facts span{background:#f0f4f2;border-radius:8px;padding:10px}.rating-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.rating-grid button{display:flex;align-items:center;justify-content:space-between;padding:13px}.rating-grid .again,.summary-ratings .again{background:#c94848}.rating-grid .hard,.summary-ratings .hard{background:#d98735}.rating-grid .good,.summary-ratings .good{background:#238557}.rating-grid .easy,.summary-ratings .easy{background:#3577bd}.empty-session,.summary-screen{min-height:100vh;display:grid;place-items:center;background:#eff4f1;text-align:center}.empty-session p{color:#66766f}.summary-screen section{width:min(620px,90vw);background:#fff;border-radius:20px;padding:42px;box-shadow:0 15px 45px #17382a15}.summary-check{display:grid;place-items:center;width:60px;height:60px;margin:auto;border-radius:50%;background:#dff2e8;color:#168056;font-size:30px}.summary-screen h1{font-size:34px;margin:16px 0 5px}.summary-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}.summary-stats article{background:#f1f5f3;border-radius:12px;padding:16px}.summary-stats strong,.summary-stats span{display:block}.summary-stats strong{font-size:28px}.summary-ratings{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:20px 0}.summary-ratings span{color:#fff;border-radius:8px;padding:9px}.summary-ratings b{display:block;font-size:20px}.summary-screen section>div:last-child{display:flex;justify-content:center;gap:8px}.document-card>div{display:flex;gap:7px;margin-top:7px}.app-shell>header>div:last-child{display:flex;gap:8px}@media(max-width:1000px){.stats-grid{grid-template-columns:repeat(2,1fr)}.learning-config{grid-template-columns:1fr}.study-screen>main{grid-template-columns:1fr 330px}.mode-grid{grid-template-columns:1fr}}.group-complete{text-align:center}.group-complete>span{display:grid;place-items:center;width:62px;height:62px;margin:auto;border-radius:50%;background:#dff3e8;color:#198259;font-size:30px}.group-complete p{color:#687870}.group-complete button{font-size:18px;padding:13px 25px}.hidden-title{color:#8a9690;font-size:14px!important;font-weight:500}.rating-help{font-size:13px;color:#56665d;margin-bottom:8px;max-height:180px;overflow:auto}.rating-help summary{cursor:pointer;padding:8px 0}.rating-help dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px}.rating-help dt{font-weight:700}.rating-help dd{margin:0}.study-image-wrap img{animation:study-ready .12s ease-out}@keyframes study-ready{0%{opacity:.75}to{opacity:1}}@media(prefers-reduced-motion:reduce){.study-image-wrap img{animation:none}}html,body,#root{min-height:100%;margin:0}body{overscroll-behavior:none;-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}input,select{font-size:16px}.study-screen>header{padding-top:max(8px,env(safe-area-inset-top))}.study-marker{pointer-events:none}
