:root{color-scheme:light;--ink:#16304f;--muted:#51647a;--blue:#135eb5;--green:#17754d;--red:#b52e3f;--orange:#946011;--line:#d4dfeb}
*{box-sizing:border-box}html,body{margin:0;padding:0}body{width:470px;min-width:410px;max-height:730px;overflow-y:auto;background:#fff;color:var(--ink);font:17px/1.48 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.shell{padding-bottom:8px}header{display:flex;gap:14px;align-items:center;background:#e8f3fd;border-bottom:2px solid #cfe2f6;padding:15px 20px}header img{object-fit:contain}header h1{font-size:21px;margin:0;line-height:1.14;font-weight:800;color:#082f5d}header p{margin:5px 0 0;font-size:14px;color:#375875}main{padding:18px 20px 10px}.intro h2{font-size:22px;margin:0 0 5px}.intro p{margin:0 0 16px;color:var(--muted)}
button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #e4ac33;outline-offset:2px}.primary{width:100%;border:none;color:#fff;background:var(--blue);font-weight:800;border-radius:14px;padding:18px 12px;font-size:21px;box-shadow:0 3px 8px #1e518122}.primary:hover{background:#084885}.primary:disabled{opacity:.65;cursor:wait}.secondary{border:1.5px solid #b8cbe0;border-radius:10px;color:#14467d;background:#fff;padding:10px 13px;font-weight:700;min-height:45px}.secondary:hover{background:#f0f7ff}.small{font-size:14px;min-height:38px}.settings,.details{margin:0 0 16px;border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}.settings summary,.details summary{padding:11px 13px;font-size:15px;font-weight:700;cursor:pointer}.settings-inside{padding:4px 14px 16px}.settings-inside>label:not(.checkbox){display:block;font-weight:700;font-size:15px;margin:10px 0 5px}.settings-inside input[type=password],.settings-inside input[type=text],.settings-inside select{width:100%;border:1px solid #abbfd3;border-radius:9px;padding:9px 10px;background:#fff;color:var(--ink)}.inline-input{display:flex;gap:7px}.inline-input input{min-width:0;flex:1}.checkbox{display:flex;gap:7px;align-items:flex-start;font-size:15px;font-weight:600;margin:11px 0}.checkbox input{width:18px;height:18px;accent-color:var(--blue);flex:none}.muted{color:var(--muted)}.tiny{font-size:13px;line-height:1.45}.centered{text-align:center}.progress{margin:15px 0;padding:13px 14px;background:#edf5ff;border:1px solid #c1d8f3;border-radius:11px;font-weight:650}.progress.error{background:#fff0f1;border-color:#f2c1c8;color:#982d3a}.hidden{display:none!important}
.result{margin-top:18px}.verdict{padding:17px 15px;border:2px solid #cbd6e3;border-radius:14px;background:#f3f5f8}.verdict-row{display:flex;align-items:center;gap:12px}.eyebrow{font-size:11px;letter-spacing:.7px;font-weight:850;color:#5a6d82}.verdict-icon{display:flex;flex:0 0 58px;width:58px;height:58px;border-radius:50%;align-items:center;justify-content:center;font-weight:900;font-size:32px;color:#fff;background:#758494}.verdict h2{font-size:23px;line-height:1.14;margin:5px 0 0}.verdict p{margin:12px 0 0;font-size:17px}.result.high .verdict{border-color:#f0b8c1;background:#fff1f2}.result.high .verdict h2{color:#a61f30}.result.high .verdict-icon{background:#bb3142}.result.caution .verdict{border-color:#f1d79d;background:#fff8eb}.result.caution .verdict h2{color:#86580a}.result.caution .verdict-icon{background:#a36b17}.result.low .verdict{border-color:#a6d9b8;background:#effaf3}.result.low .verdict h2{color:#136a46}.result.low .verdict-icon{background:#147748}.result.unknown .verdict{border-color:#ccd6e3;background:#f4f6f9}.result.unknown .verdict h2{color:#516379}.panel{margin-top:17px}.panel h3,.advice h3,.audio-panel h3{font-size:19px;margin:0 0 10px}.reasons{list-style:none;padding:0;margin:0}.reasons li{display:flex;align-items:flex-start;gap:11px;margin:0 0 12px;font-size:17px}.bullet{flex:0 0 27px;width:27px;height:27px;border-radius:50%;border:2px solid currentColor;text-align:center;font-size:17px;font-weight:800;line-height:23px;color:#a53042}.result.low .bullet{color:var(--green)}.result.unknown .bullet{color:#718195}.advice{margin-top:15px;padding:16px 17px;background:#eef5fe;border:1px solid #ccdcef;border-radius:14px}.result.high .advice{background:#fff3f3;border-color:#efc8ce}.advice ol{margin:0;padding-left:24px}.advice li{font-weight:600;margin:0 0 11px;padding-left:2px}.advice li:last-child{margin:0}.audio-panel{border:1px solid #cbdcef;background:#f4f8fe;border-radius:13px;margin:15px 0;padding:14px}.button-row{display:flex;gap:10px}.button-row button{flex:1;min-height:47px}.read-details{white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 14px;font:13px/1.5 ui-monospace,Consolas,monospace}.details p{font-size:13px;color:var(--muted);margin:0;padding:5px 14px 10px}.details ul{padding:0 14px 10px 29px;margin:0;font-size:14px;overflow-wrap:anywhere}.details li{margin:6px 0}a{color:#165ab0;overflow-wrap:anywhere}footer{padding:0 20px 17px;color:var(--muted);font-size:13px;text-align:center}

/* v3.1 — leesvriendelijk voor senioren, met duidelijke rustige teksten */
body{font-size:18px;line-height:1.6;color:#102a45}
.intro p{font-size:17px;line-height:1.55}
.intro h2{font-size:23px;line-height:1.3}
.verdict h2{font-size:24px;line-height:1.25}
.verdict p{font-size:18px;line-height:1.55}
.panel h3,.advice h3,.audio-panel h3{font-size:20px;line-height:1.35}
.reasons li,.advice li{font-size:18px;line-height:1.6;overflow-wrap:anywhere}
.reasons li{margin-bottom:16px}
.advice li{margin-bottom:15px}
.settings summary,.details summary{font-size:16px;line-height:1.45}
.progress{font-size:17px;line-height:1.55}
.button-row button{font-size:16px;min-height:52px}
.primary{font-size:22px;min-height:65px}

/* v3.3 – heldere bronlinks en voorleeskeuze */
.auto-read{gap:11px;align-items:flex-start;margin-top:16px!important;border:1px solid #c9daef;background:#f3f8ff;border-radius:11px;padding:11px}
.auto-read input{height:22px;width:22px;flex:0 0 22px;margin-top:3px}
.auto-read span{display:flex;flex-direction:column;gap:3px}
.auto-read strong{font-weight:800;line-height:1.35}
.auto-read small{font-size:13px;font-weight:400;color:#476080;line-height:1.5}
.inline-sources{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
.inline-sources:empty{display:none}
.inline-sources a{border-radius:8px;background:#fff;color:#155cb4;border:1px solid #b9d0eb;text-decoration:underline;padding:5px 9px;font-size:14px;line-height:1.4;font-weight:650;max-width:100%;overflow-wrap:anywhere}
.inline-sources a:hover{background:#edf5ff}
.reason-content{flex:1;min-width:0}
.reasons li .inline-sources{margin-top:6px}

/* v3.3.3: één rustige algemene uitleg bij lage risico’s */
.low-note{font-size:14px!important;line-height:1.45!important;color:#526579;margin:12px 0 0!important;padding-top:10px;border-top:1px solid #c9dfd2;font-weight:400}

/* Accessible controls; popup width matches v3.3.3. */
body{min-width:410px;width:470px}.tiny,.details p,footer{font-size:15px}.button-row{flex-wrap:wrap}a:focus-visible{outline:3px solid #b77800;outline-offset:3px}.progress.error{background:#f4f6f9;border-color:#ccd6e3;color:#42536a}

/* Outlook controls task-pane width; keep all controls readable in its narrow pane. */
html,body{width:100%;min-width:0;max-height:none}body{overflow-y:auto}.shell{max-width:650px;margin:auto}header{padding:14px 12px}main{padding:16px 12px}header h1{font-size:20px}#currentMessage{overflow-wrap:anywhere}.button-row{flex-wrap:wrap}.button-row button{flex:1 1 140px}select{max-width:100%}

#currentMessage{font-weight:700;overflow-wrap:anywhere;}
