/* Whole-page overview, never a cropped inner scrolling poster. */
.vision{border:0;border-radius:0;max-height:none;overflow:visible;background:#fefefb;display:flex;justify-content:center}
/* 60.82% of viewport height in width is 86% in portrait height (1000:1414).
   Available width still wins on phones; the SVG keeps its print proportions. */
.vision svg{display:block;width:min(100%,60.82vh,760px);width:min(100%,60.82svh,760px);height:auto;max-width:100%}
.poster-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:8px 0}
.poster-style-picker{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;max-width:100%}
.poster-style-label{font-size:14px;color:#365669;margin-right:2px}
.poster-style-picker button{font-size:14px;min-height:44px;padding:8px 12px;background:#fff;color:#243745;border:1px solid #aebfcf;border-radius:999px;font-weight:600}
.poster-style-picker button[aria-pressed=true]{background:#243745;color:#fff;border-color:#243745}
.poster-style-picker button:focus-visible{outline:3px solid #e63c96;outline-offset:2px}
.poster-style-note{margin:4px 0 16px;text-align:center}
.poster-tools [hidden],.download-choices[hidden],.meaning-actions[hidden]{display:none}
.vision-status{margin:0 0 20px}
.vision-status .hint{margin:8px 0}
.meaning-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}
.meaning-actions button{max-width:100%;white-space:normal}
#posterPages{display:flex;align-items:center;gap:8px}
#posterOverflow:empty,#exportStatus:empty{display:none}
#downloadVision{background:#008367!important;border-color:#008367!important;color:white!important}
.download-choices{display:flex;align-items:end;flex-wrap:wrap;gap:12px;background:#f4f7f5;padding:16px;margin-top:12px;border-radius:12px;max-width:480px}
.download-choices>div{flex:1;min-width:160px}.download-choices button{flex:none}
#reflectionReading{max-width:280px;display:block;margin-bottom:12px}
#documentStyleDialog{width:min(440px,92vw);border:1px solid #bac8c2;border-radius:12px;padding:24px}
#documentStyleDialog::backdrop{background:#162820aa}
#documentStyleDialog h2{font-size:23px;margin-top:0}
#documentStyleDialog p{font-size:16px;line-height:1.5}
#documentStyleDialog select{margin:12px 0 20px}
.reflection{max-height:none;overflow:visible;font-size:16px;line-height:1.65}
.reflection h4{margin-bottom:8px}.reflection p{margin-top:4px}
.meaning-answer{margin:22px 0;padding-bottom:16px;border-bottom:1px solid #d6e1db}.meaning-answer textarea{min-height:80px}.meaning-answer .hint{white-space:pre-wrap;max-height:180px;overflow:auto}
#posterZoom{width:95vw;max-width:1200px;max-height:94vh;border:1px solid #bac8c2;border-radius:12px;padding:12px;overflow:auto}
#posterZoom::backdrop{background:#162820aa}
#closeZoom{position:sticky;top:0;z-index:1}
#posterZoomArt svg{width:1000px;height:1414px;max-width:none;display:block;margin:12px auto}
@media(max-width:520px){.download-choices>div{min-width:120px}.download-choices button{width:100%}}
