/* Minimal theme reset only inside the isolated document. Original intake
   geometry, colors, controls and breakpoints stay in unchanged intake.css. */
html { box-sizing: border-box; font-size: 16px; }
*, *::before, *::after { box-sizing: inherit; }
body.srpi-isolated { margin: 0; min-height: 100dvh; color: var(--srpi-body); background: var(--srpi-surface); font-family: var(--srpi-font); line-height: 1.5; }
button, input, textarea, select { font-family: inherit; }
button, input, textarea, select { font-size: 100%; }
button { text-transform: none; }
button, [role="button"] { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin-top: 0; }
.srpi-return-panel { width: min(600px, calc(100% - 40px)); margin: 10vh auto; padding: 32px; text-align: center; }
.srpi-return-panel img { max-width: 100%; height: auto; margin-bottom: 26px; }
.srpi-return-panel h1 { color: var(--srpi-navy); font-size: 30px; line-height: 1.15; }
.srpi-return-panel p { margin: 20px 0; }
.srpi-return-panel a { color: var(--srpi-link); }
.srpi-isolated .srpi-dialog::backdrop { background: var(--srpi-surface); backdrop-filter: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
