/* The established student card/CSS is reused; these rules adapt the local PWA. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.local-badge{padding:4px 9px;border:1px solid var(--line);border-radius:20px;color:var(--green);font-size:12px;margin-left:auto}.settings-panel{max-width:760px;margin:0 auto 24px}.page-intro{padding-top:30px}.source-preview{display:grid;gap:12px;margin:15px 0}.source-preview img{max-width:100%;height:auto;border:1px solid var(--line);border-radius:6px}.source-preview pre{max-height:420px;overflow:auto;white-space:pre-wrap;font:inherit;background:var(--paper);padding:12px}.page-form{display:flex;flex-wrap:wrap}.page-form input{width:110px;min-height:44px;padding:8px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.method-name{color:var(--green);font-size:12px}.record-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.editor-grid .field{margin-bottom:17px}.editor-grid textarea{min-height:100px;max-width:100%;width:100%}.editor-grid .wide-text{min-height:200px}.edited-label{font-size:11px;color:var(--clay);display:inline-block;margin:0 8px}.stale-note{border-left:3px solid var(--clay);padding:9px 12px;background:var(--clay-wash);font-size:13px}.study-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:17px}.turn-item .button{margin-top:10px}.record-list-empty{padding:30px 0}.methods-details{margin-bottom:22px}.methods-details summary{cursor:pointer;min-height:44px}.source-original-note{font-size:12px;color:var(--muted)}.button,.field input,.field select,.field textarea{font-size:16px}.editor-dialog{width:min(760px,calc(100% - 20px))}.attempt-panel textarea{width:100%;font-size:16px}.study-heading{margin-top:12px}.record-item{margin:14px 0}.resume-list{margin:24px 0 50px}.actions{flex-wrap:wrap}.help,.mode-note{font-size:12px}.live-wrap p{max-width:min(720px,calc(100% - 24px));white-space:pre-line;overflow-wrap:anywhere}.source-grid{margin:20px 0}.footer{padding-bottom:80px}.response-card,.problem-card,.panel{overflow-wrap:anywhere}.mobile-nav button{min-height:48px}.turn-list{margin:25px 0}textarea{resize:vertical}button{touch-action:manipulation}dialog{max-height:90dvh;overflow:auto;width:min(760px,calc(100% - 20px))}.error-notice{border-color:var(--red);color:var(--red)}@media(max-width:520px){.header{flex-wrap:nowrap}.brand{font-size:17px}.header>.button{font-size:13px}.local-badge{font-size:10px}.form-row{grid-template-columns:1fr}.help,.mode-note,.demo-card p,.check{font-size:12px}.field>span,.field small{font-size:12px}.field input,.field textarea,.field select,.button,.question-entry textarea,.attempt-panel textarea{font-size:16px}.button.small{font-size:13px}.question-entry{padding:15px}.entry-bottom{flex-wrap:wrap}.entry-bottom p{font-size:12px;max-width:none}.entry-bottom button{width:100%;font-size:16px}.source-grid{gap:16px}.study-toolbar .button{flex:1 1 44%}.current-question .prose{font-size:20px}.learning-actions .button{font-size:14px}.actions .button{font-size:14px}.source-grid .panel{padding:18px}.source-preview img{width:100%}.record-actions .button{font-size:14px}.resume-list{display:block}.footer{font-size:11px}.path-card strong{font-size:14px}.path-card small{font-size:11px}.turn-item{font-size:14px}.response-card .message{font-size:16px}.solution .prose,.solution ol{font-size:15px}}
