.shared-return { margin: 28px 0; padding: clamp(18px, 3vw, 32px); background: #e3e8dc; border: 1px solid #aab5a0; border-radius: 3px; scroll-margin-top: 24px; }
.shared-return-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.shared-return-heading h2 { margin: 7px 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.05em; }
.shared-return-heading p { margin: 8px 0 20px; }
.shared-return-clip { font-size: 4rem; color: #53634d; transform: rotate(-12deg); }
.shared-return-papers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.shared-return-paper { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 23px 19px 19px; border: 1px solid #b7b2a6; background: #fffaf0; box-shadow: 3px 4px 0 #bbc4b4; overflow-wrap: anywhere; }
.shared-return-paper::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 20px 20px 0; border-color: transparent #e3e8dc #dcd6c9 transparent; }
.shared-return-paper h3 { font-size: 1.35rem; margin: 13px 0 7px; letter-spacing: -.035em; }
.shared-return-paper p { font-size: .9rem; line-height: 1.5; margin: 0 0 18px; }
.shared-return-paper button { margin-top: auto; }
.shared-return :is(button, a), .shared-return-controls :is(button, a), .saved-visit-draft button { min-height: 44px; font: inherit; font-size: .88rem; }
.shared-return button, .shared-return-controls button, .saved-visit-draft button { cursor: pointer; padding: 11px 14px; color: #283925; background: #f6f3e9; border: 1px solid #64755d; border-radius: 2px; }
.shared-return-paper:hover::after, .shared-return-paper:focus-within::after { border-width: 0 26px 26px 0; transition: border-width 160ms ease; }
.shared-return :is(button, a):focus-visible, .shared-return-controls :is(button, a):focus-visible, .saved-visit-draft button:focus-visible { outline: 3px solid #a64b32; outline-offset: 4px; }
.shared-return-warning { padding: 12px; border-left: 3px solid #a64b32; background: #fff5eb; font-size: .88rem; overflow-wrap: anywhere; }
.shared-return-controls { position: sticky; top: 8px; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fffaf0; border: 1px solid #b7b2a6; padding: 8px 12px; box-shadow: 2px 3px 0 #d6d1c4; }
.shared-return-controls a { display: inline-flex; align-items: center; color: #283925; }
.shared-return-paper[hidden], .shared-return[hidden], .shared-return-controls[hidden] { display: none; }
.saved-visit-draft { padding: 16px; margin: 18px 0; border: 2px dashed #a64b32; background: #fff5eb; }
.saved-visit-draft p { margin: 0 0 12px; }
.saved-practice-extras { margin-top: 20px; }
.saved-practice-extras > h3, .saved-office-extras > h3 { font-size: 1.2rem; }
.shared-return-legacy { display: none !important; }
.saved-practice-row .saved-practice-marks { display: none; }
.saved-practice-row .saved-practice-note { font-size: .78rem; }
.first-visit-path-panel [id] { scroll-margin-top: 92px; }
.shared-return > button { margin: 8px 0; }
@media (max-width: 520px) { .shared-return-clip { display: none; } .shared-return-papers { grid-template-columns: 1fr; } .shared-return-controls { padding: 7px; gap: 8px; } .shared-return-controls :is(button, a) { font-size: .78rem; } }
@media (prefers-reduced-motion: reduce) { .shared-return-paper::after { transition: none !important; } .shared-return-clip { transform: none; } }
