/* Chapter three continues the filed highlight, with guidance outside the editor. */
#return{padding:22px 0 38px;scroll-margin-top:8px}
#return>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;width:1024px;max-width:calc(100% - 48px);padding:0;margin:0 auto 18px;text-align:left}
#return>header h2{font:32px/1.15 var(--serif);letter-spacing:-.025em;margin:0}
#return .return-benefit{font:14px/22px -apple-system,BlinkMacSystemFont,sans-serif;max-width:470px;width:auto;min-height:44px;margin:8px 0 0;color:#565044}
#return .third-actions{position:relative;display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:12px;min-height:44px;padding:0;margin:0}
#return .third-actions button{appearance:none;box-sizing:border-box;min-height:46px;padding:10px 13px;border:1px solid #74664eaa;border-radius:6px;font:500 14.5px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;color:#423c32;background:#f5efe4;box-shadow:inset 0 1px 0 #fffaf0b3,0 2px 0 #74664e33,0 3px 5px #332b200a;white-space:nowrap;cursor:pointer;transition:background-color .36s ease-in-out,color .36s ease-in-out,border-color .36s ease-in-out,box-shadow .14s ease}
#return .third-actions :is(#recallNote,#showReminder){font-size:14.5px;color:#423c32;border-bottom-color:#74664eaa}
#return #recallNote span{color:#896329;margin-left:7px}
#return .third-actions #showReminder::after{content:'→';margin-left:9px;color:#896329}
#return .third-actions button:hover:not(:disabled){background:#f5efe4;border-color:#74664ecc;color:#423c32;box-shadow:inset 0 1px 0 #fffaf0b3,0 2px 0 #74664e55,0 3px 5px #332b2014}
#return .third-actions button:active:not(:disabled){box-shadow:inset 0 1px 3px #201a252b}
#return .third-actions button:disabled{opacity:1;color:#8a8276;background:#f5efe4;cursor:default}
#return .third-actions button:disabled span{color:inherit}
#return .third-actions :is(#recallNote,#showReminder):hover:not(:disabled){color:#423c32;border-color:#74664ecc}
#return .third-actions :is(#recallNote,#showReminder):disabled{color:#8a8276}
#return .third-actions #recallNote:disabled span{color:inherit}
#return .third-actions button:focus-visible,#return .recall-source:focus-visible,#return #openSaved:focus-visible,#returnToDraft:focus-visible{outline:2px solid #805d27;outline-offset:4px}
#return .return-revisit-action{position:relative}
#return .recall-stage{display:grid;grid-template-columns:minmax(0,1fr) 1024px minmax(0,1fr);column-gap:20px;padding:0;max-width:1508px;width:calc(100% - 36px);overflow:visible}
#return .recall-editor{grid-column:2;height:clamp(480px,calc(100svh - 184px),640px);width:1024px;min-width:1024px;margin:0}
#return .recall-grid{grid-template-columns:242px 480px 224px;column-gap:24px;padding:44px 14px 24px;transition:opacity .46s ease-in-out}
#return .recall-result-caption,#return .reminder-side-caption{position:absolute;left:0;top:180px;width:calc((100% - 1064px)/2);max-width:220px;margin:0;pointer-events:none;opacity:0;filter:blur(4px);visibility:hidden;transition:opacity .2s ease,filter .2s ease,visibility 0s .2s}
#return .reminder-side-caption{left:auto;right:0}
#return .recall-result-caption[aria-hidden=false],#return .reminder-side-caption[aria-hidden=false]{opacity:1;filter:none;visibility:visible;transition:opacity .45s ease-out,filter .45s ease-out,top .2s ease-in-out,visibility 0s}
#return .recall-result-caption p,#return .reminder-side-caption p{margin:0;font:18px/1.45 var(--serif);text-align:left;color:#4d463b;text-wrap:pretty}
/* A first-use invitation in the existing caption lane. Its arrow points into
   the workspace; neither the caption nor the pointer can summon the margin. */
#return .reminder-side-caption[data-mode=invitation] p{font:18px/1.5 -apple-system,BlinkMacSystemFont,sans-serif;color:#896329}
#return .reminder-margin-pointer{display:none;width:40px;height:14px;fill:none;stroke:#896329;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;margin:0 0 12px;pointer-events:none}
#return .reminder-side-caption[data-mode=invitation] .reminder-margin-pointer{display:block}
#return .recall-card{transition:top .2s ease-in-out;filter:blur(4px);color:#1d1a15}
#return .recall-card[aria-hidden=true]{transition:none}
#return .recall-content{display:flex;flex-direction:column;gap:7px;width:210px;max-width:none;flex:0 0 210px}
#return .recall-content em{font:italic 15.2px/1.65 var(--serif);color:#1d1a15}
#return .recall-content blockquote{position:relative;max-height:var(--quote-budget,74px);margin:0;font:15.2px/1.65 var(--serif);color:rgb(29 26 21 / .82);overflow-x:visible}
#return .recall-quote{position:relative;overflow:hidden;font:15.2px/1.65 var(--serif);color:rgb(29 26 21 / .82)}
#return .recall-stick{position:relative;height:auto;width:22px;margin:0;padding:0;border:0;background:none;color:rgb(29 26 21 / .95);cursor:grab;touch-action:none}
#return .recall-stick::before{content:"";position:absolute;inset:0 auto 0 9px;width:4px;background:currentColor;border-radius:4px;transition:width .18s,left .18s}
#return .recall-card[data-has-idea=false] .recall-stick{color:rgb(29 26 21 / .45)}
#return .recall-stick:hover::before{left:8px;width:6px}
#return .recall-stick:active{cursor:grabbing}
#return .recall-stick:focus-visible,#return .return-citation:focus-visible,#returnSourceStick:focus-visible{outline:2px solid #806331;outline-offset:4px}
#return .recall-source:hover{color:rgb(29 26 21 / .6)}
#return #sentenceRecall:disabled{opacity:1;-webkit-text-fill-color:#806331;cursor:default;border-bottom-color:transparent}
#return #recallNote[data-primary=false] span{color:#896329}
#return .recall-content blockquote span{background:rgb(245 189 46 / .32);box-decoration-break:clone;-webkit-box-decoration-break:clone}
#return #exampleLine{display:none}
#return #openSaved{font-style:italic;color:rgb(29 26 21 / .65);cursor:pointer}
#return #openSaved>span{border-radius:4px;padding-inline:1px}
#return #openSaved:hover,#return #openSaved[aria-expanded=true]{color:rgb(29 26 21 / .85)}
#return #openSaved[aria-expanded=true]>span{background:none}
#return .recall-request{background:none}
#return #recallClaim::before{display:none}
#return .recall-click-hint{white-space:nowrap;color:#806331}
#return .recall-source{transition:color .18s,opacity .15s}
#return .recall-source[data-opening=true]{opacity:.3}
#return .return-source-view{position:absolute;inset:0 auto 0 var(--source-left,0px);width:var(--source-width,100%);background:var(--app-paper);opacity:0;pointer-events:none;transition:opacity .46s ease-in-out;z-index:6}
#return[data-source-open=true] .return-source-view{opacity:1;pointer-events:auto}
#return[data-source-open=true] .recall-grid{opacity:0;pointer-events:none}
#return[data-source-open=true] .composition-viewport{overflow:hidden}
/* Match chapter two's full-window PDF, with guidance on the cloth. */
#return .third-actions #returnToDraft{position:absolute;right:60px;top:0}
#return .third-actions #returnToDraft[hidden]{display:none}
#return[data-source-open=true] #recallNote,#return[data-source-open=true] .return-revisit-action{visibility:hidden}
#return .return-source-scroll{height:100%;overflow:auto;overscroll-behavior:contain;background:#fff;user-select:none;-webkit-user-select:none}
#return .return-source-page{position:relative;width:100%;margin:0;aspect-ratio:1230/1800}
#return .source-mark{position:absolute;height:1.38%;transform:translateY(1px);background:rgb(245 189 46 / .32);mix-blend-mode:multiply;pointer-events:none}
#return .source-mark.filed-one{left:41.8%;top:15.65%;width:50%}
#return .source-mark.filed-two{left:12.2%;top:17.35%;width:79.6%}
#return .source-mark.filed-three{left:12.2%;top:19.05%;width:79.6%}
#return .source-mark.filed-four{left:12.2%;top:20.75%;width:23.2%}
#return .source-mark.recalled-one{left:50.2%;top:47.6%;width:41.6%}
#return .source-mark.recalled-two{left:12.2%;top:49.3%;width:46.2%}
#return .return-source-page img{display:block;width:100%;height:auto;clip-path:inset(1% 3% 0);user-select:none;-webkit-user-drag:none;pointer-events:none}

/* Teaching cues occupy the open paper; their hit areas never cover native controls. */
#return .recall-question{position:relative;display:inline-block}
#sentenceRecallHint{position:absolute;top:calc(100% + 8px);right:2px;display:flex;flex-direction:column;align-items:flex-end;gap:6px;font:12px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;color:#8b692f;white-space:nowrap;pointer-events:none}
#sentenceRecallHint[hidden]{display:none}
#sentenceRecallHint svg{width:12px;height:24px;margin-right:5px;fill:none;stroke:currentColor;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round}
#sentenceRecallHint>span{margin-right:-10px}
#return .third-actions #resetWorkspace{border-color:transparent;background:none;box-shadow:none;padding-inline:2px;color:#625b4d;font-size:12px}
#return .third-actions #resetWorkspace:hover{color:#28251f;background:none}
#returnSourceStick{position:absolute;left:9.5%;top:47.6%;width:7px;height:3.4%;padding:0;border:0;border-radius:9px;background:rgb(245 189 46 / .95);cursor:grab;touch-action:none;z-index:2}
#returnSourceStick::after{content:"";position:absolute;inset:-12px -18px}
#returnSourceStick:active{cursor:grabbing}
#returnSource[data-has-idea=false] #returnSourceStick{background:rgb(245 189 46 / .45)}
#returnSource[data-note=filed] #returnSourceStick{top:15.65%;height:6.8%}
#returnSource[data-note=recall] .source-mark[class*=filed],#returnSource[data-note=filed] .source-mark[class*=recalled]{display:none}
#returnCarryDot{position:absolute;z-index:12;border-radius:999px;pointer-events:none;opacity:0}
#returnCiteCaret{position:absolute;z-index:11;width:1.5px;background:#302d27;pointer-events:none}
#returnCiteCaret[hidden]{display:none}
#return .return-citation{display:inline;position:relative;border:0;background:none;padding:0;font:inherit;line-height:inherit;color:#E3B56F;cursor:pointer}
#return .return-citation::after{content:"";position:absolute;inset:-7px -3px}
#return .return-citation-separator{color:#E3B56F;font-size:.65em;vertical-align:super;line-height:0;padding-inline:1px}
#return[data-carry]:not([data-carry=idle]) .recall-grid{user-select:none}
@media(min-width:1400px){
 #return{width:calc(100% - 24px);max-width:1560px}
}
/* Preserve the editor on narrower screens; the full responsive audit is separate. */
@media(max-width:1399px){
 #return .recall-stage{grid-template-columns:1fr 1fr;gap:20px 32px;width:calc(100% - 48px)}
 #return .recall-editor{grid-column:1/-1;grid-row:1;margin-inline:auto}
 #return .recall-result-caption,#return .reminder-side-caption{position:relative;top:auto!important;left:auto;right:auto;width:240px;max-width:100%;grid-row:2}
 #return .recall-result-caption{grid-column:1}
 #return .reminder-side-caption{grid-column:2;justify-self:end}
 #return .reminder-side-caption[data-mode=invitation]{padding-top:20px}
 #return .reminder-margin-pointer{position:absolute;right:24px;top:0;transform:rotate(90deg);transform-origin:center;margin:0}
}
/* Compact desktop: teach the margin before the reader has to scroll below the
   window. Keep only this first-use cue in the spare lane below the actions;
   learned outcome captions continue to use the established lower row. */
@media(min-width:1151px) and (max-width:1399px){
 #return .third-actions{align-self:start}
 #return .reminder-side-caption[data-mode=invitation]{position:absolute;grid-area:1 / 1 / 2 / -1;top:-66px!important;right:0;left:auto;display:flex;align-items:center;gap:12px;width:360px;max-width:360px;min-height:0;padding:0}
 #return .reminder-side-caption[data-mode=invitation] p{order:1;flex:1;min-width:0;font-size:16px;line-height:1.4}
 #return .reminder-side-caption[data-mode=invitation] .reminder-margin-pointer{position:static;order:2;flex:none;transform:rotate(-90deg);margin:0}
}
@media(max-width:1150px){
 #return{padding:28px 0 40px}
 #return>header{display:block;max-width:none;width:calc(100% - 48px);margin-bottom:20px}
 #return .return-benefit{max-width:48ch;min-height:0}
 #return .third-actions{justify-content:flex-start;flex-wrap:wrap;gap:12px;margin-top:26px}
 #return .recall-stage{width:100%;max-width:none;padding:0 24px}
 #return .composition-view-shell{grid-column:1/-1;grid-row:1;min-width:0}
 #return .recall-editor{height:570px}
}
@media(max-width:600px){
 #return>header{width:calc(100% - 40px)}
 #return>header h2{font-size:29px}
 #return .recall-stage{padding-inline:20px}
 #return .third-actions{position:relative;gap:14px 10px;margin-top:32px}
 #return .third-actions button{font-size:12px;padding:10px}
}
@media(prefers-reduced-motion:reduce){
 #return .third-actions button,#return .recall-card,#return .recall-grid,#return .return-source-view,#return .recall-source,#return .recall-result-caption,#return .recall-result-caption[aria-hidden=false],#return .reminder-side-caption,#return .reminder-side-caption[aria-hidden=false]{transition:none}
}

@media(min-width:1151px){
 #return>header{grid-template-columns:minmax(0,1fr) auto 32px;column-gap:24px}
}
