:root{font:18px/1.6 system-ui,sans-serif;color:#243b42;background:#ede9e0}*{box-sizing:border-box}body{margin:0;min-height:100svh;background:linear-gradient(#faf6ec36,#e8efe76b),url(scene.jpg) center/cover fixed}header,footer{max-width:760px;margin:auto;padding:22px;display:flex;justify-content:space-between;gap:16px;font-size:.8rem}header a{letter-spacing:.18em;font-weight:700;text-decoration:none}main{max-width:690px;margin:2vh auto 5vh;padding:28px;border:1px solid #ffffffaa;border-radius:28px;background:#fffcf1dc;box-shadow:0 16px 60px #203f4525;backdrop-filter:blur(8px)}h1{font:500 clamp(2rem,7vw,2.9rem)/1.17 Georgia,serif;margin:0 0 24px}h2{font:500 1.45rem/1.3 Georgia,serif;margin-top:30px}p{margin:0 0 18px}button,.button,input{font:inherit;border-radius:15px;min-height:48px}button,.button{display:block;padding:14px 20px;margin:12px 0;border:1px solid #3c626833;background:#fffaf1;color:#243b42;text-align:left;text-decoration:none;width:100%;cursor:pointer}button.primary,.button.primary{background:#345d68;color:white}button:disabled{opacity:.6;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #a65234;outline-offset:3px}input{width:100%;padding:12px;border:1px solid #526c70;background:#fff}label{display:block;font-weight:600;margin:12px 0}a{color:#345d68}small{display:block;font-size:.82rem}progress{width:100%;accent-color:#345d68;height:6px;margin:12px 0 24px}.answer.selected{background:#345d68;color:white}.secondary{background:transparent;border-color:#59727477}.report section{border-top:1px solid #345d6830;padding-top:6px;margin-top:28px}#error{max-width:690px;margin:0 auto;padding:0 22px;color:#842d27;background:#fff5ef}.app-link{margin-top:30px;padding-top:20px;border-top:1px solid #345d6830}.eyebrow{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em}.danger{color:#8b302e}.row{display:flex;gap:12px}.row>*{flex:1}@media(max-width:740px){main{margin:0 14px 24px;padding:24px 20px}header,footer{padding:20px}.row{flex-wrap:wrap}}@media(prefers-reduced-motion:no-preference){button{transition:background .12s}}@media print{body{background:white}header,footer,button,.button,.app-link,#error{display:none!important}main{border:0;box-shadow:none;background:white;max-width:none;padding:0;margin:0}.report section{break-inside:avoid}h1{font-size:24pt}h2{font-size:16pt}p{font-size:11pt}}

summary{cursor:pointer;min-height:44px;padding:8px 0;font-weight:600}summary:focus-visible{outline:3px solid #a34725;outline-offset:3px}details{margin:14px 0}

/* Relational reports: airy reading sheets in Partesten's existing coastal room. */
main.report-mode{padding:0;background:transparent;border:0;box-shadow:none;backdrop-filter:none}
.report-hero{padding:48px 30px 32px;background:linear-gradient(120deg,#fffcf5f5,#f8f0e4e8);border:1px solid #ffffffb8;border-radius:28px 28px 8px 8px;box-shadow:0 12px 35px #23394015}
.report-hero .eyebrow{font-size:.65rem;letter-spacing:.15em;color:#775141;font-weight:700;line-height:1.5}
.report-hero h1{margin-bottom:20px;max-width:14ch;font-size:clamp(2.15rem,8vw,3.2rem)}
.report-names{font:italic 1.4rem/1.4 Georgia,serif;color:#82503f;margin:0}
.report section{padding:26px 28px;margin:14px 0;border:1px solid #ffffffb0;border-radius:8px 8px 24px 8px;background:#fffcf3ed;box-shadow:0 8px 25px #263f4810}
.report section h2{margin:0 0 20px;color:#754636;font-size:1.5rem}
.report section p:last-child{margin-bottom:0}
.report section.report-lead{background:#304f59;color:#fffaf1;border-color:#4e6e77;border-radius:8px 8px 24px 8px;font-size:1.08rem}
.report section.report-lead h2{color:#f4ddbf}
.report section.report-quote{background:#f5e6d9f5;border-left:4px solid #a56b51}
.report-quote p:first-of-type{font:italic 1.35rem/1.5 Georgia,serif;color:#653e2f}
.report-background{background:#fffcf3f2;border-radius:12px;padding:12px 24px;font-size:.88rem}
.report-background summary{color:#52656b}
.report-actions{padding:12px 24px;border-radius:20px;background:#fffcf3f2;margin:22px 0}
.report-mode>h2,.report-mode>p,.report-mode>.app-link{background:#fffcf3f5;padding:18px 24px;margin:12px 0;border-radius:14px}
.report-mode>button{background:#fffcf3f5}.report-mode>button.primary{background:#345d68}
@media(max-width:400px){.report-hero{padding:34px 22px 28px}.report section{padding:24px 22px}}
@media print{.report-background{display:block}.report-hero,.report section{background:white!important;color:#243b42!important;box-shadow:none}.report-lead h2{color:#754636!important}.report-actions{display:none}}

/* Text describes; bordered controls act. */
button,.button{font-weight:650;border:2px solid #52747d;box-shadow:0 2px 0 #183d4914}
button{display:flex;align-items:center;justify-content:space-between;gap:16px}
button.answer{display:block;font-weight:500}
.action-label{min-width:0}.action-symbol{flex:none;font-size:1.45em;line-height:1;color:inherit}
.report-access{background:#fffcf3f5;padding:26px 24px;border-radius:20px;margin:18px 0}
.report-access h2{margin:0 0 20px}
.info-text{font-weight:400;font-size:.92rem;color:#40565d;line-height:1.65;margin:20px 0 12px}
.delete-area{border-top:1px solid #52656b44;margin-top:28px;padding-top:6px}
button.danger{border-color:#963f36;background:#fff7f2;color:#8b302e}
.report-mode>p{border-radius:0;border-left:3px solid #ac8b69;box-shadow:none;font-weight:400;font-size:.92rem}
.report-mode>button{border:2px solid #52747d}.report-mode>button.danger{border-color:#963f36}
a:not(.button){text-decoration:underline;text-underline-offset:3px}
button:hover,.button:hover{filter:brightness(.96)}
