/* Adapted from the bundled MISSY startup display; upstream notices retained. */

html.r2-starting{background:#070d18}html.r2-starting body{overflow:hidden!important}
html.r2-starting #welcome-screen{visibility:visible!important;display:grid;place-items:center;position:fixed;inset:0;z-index:2147483647;padding:24px;overflow:auto;background:radial-gradient(ellipse at 20% 10%,#173244 0,transparent 55%),#070d18;color:#dbe8f1;font:14px/1.5 Arial,sans-serif;box-sizing:border-box}
#welcome-screen .startup-window{width:min(640px,100%);max-height:calc(100dvh - 48px);overflow:auto;box-sizing:border-box;border:1px solid #385166;border-radius:14px;background:linear-gradient(135deg,#162331,#0d1725);box-shadow:0 20px 80px #0007}
#welcome-screen .startup-title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 22px;border-bottom:1px solid #2b4053;color:#9ab4c9;font:11px/1.4 monospace;letter-spacing:1.8px}
#welcome-screen .startup-title button{font:13px Arial,sans-serif;margin:0;padding:4px 7px;border:1px solid #3c566d;border-radius:5px;background:#152838;color:#dbe8f1;cursor:pointer}
#welcome-screen .startup-content{padding:25px 28px 22px;min-width:0}
#welcome-screen .startup-instrument{display:grid;place-items:center;padding:12px 0 24px;background-image:linear-gradient(#38516622 1px,transparent 1px),linear-gradient(90deg,#38516622 1px,transparent 1px);background-size:24px 24px;border-radius:8px}
#welcome-enter{display:block;width:min(310px,100%);padding:18px;border:1px solid #8babbc;border-radius:8px;background:#f9fbfc;cursor:pointer;box-shadow:0 0 0 5px #91c5d009}
#welcome-enter img{display:block;width:100%;height:auto;margin:0;transform:none}#welcome-enter:disabled{cursor:progress;opacity:.75}#welcome-enter.is-ready img{animation:missyEntryBlink 2.6s ease-in-out infinite}#welcome-enter:hover img,#welcome-enter:focus-visible img{animation:none;opacity:1}
#welcome-enter:focus-visible{outline:3px solid #67d1d8;outline-offset:5px}
#welcome-status{color:#dbe8f1;font:13px/1.5 Arial,sans-serif;min-height:20px;margin:19px 0 9px;letter-spacing:.2px}
#welcome-screen .startup-track{height:5px;border:0;border-radius:4px;overflow:hidden;background:#293c4c;padding:0}
#welcome-progress-fill{height:100%;width:0;background:linear-gradient(90deg,#45a8bc,#99e0db);border-radius:4px}
#welcome-screen .startup-log-title{margin:17px 0 7px;color:#91aabd;font:10px/1.5 monospace;letter-spacing:1.3px}
#welcome-log{min-height:220px;max-height:290px;overflow:auto;margin:0;padding:12px 14px;border:1px solid #284051;border-radius:6px;background:#060d15;color:#9cd0c4;font:11px/1.65 "Consolas","Courier New",monospace;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left}
#welcome-screen .startup-calibration{display:flex;gap:2px;height:5px;margin-top:18px;opacity:.65}#welcome-screen .startup-calibration i{flex:1;background:var(--swatch)}
#welcome-screen .startup-footer{display:flex;flex-wrap:wrap;gap:9px;align-items:center;justify-content:flex-end;margin-top:12px}#welcome-screen .startup-footer button{border:1px solid #38596b;background:#162b3b;color:#c6e3eb;border-radius:5px;padding:5px 10px;font:12px Arial,sans-serif;cursor:pointer}#welcome-screen [hidden]{display:none!important}
@keyframes missyEntryBlink{0%,100%{opacity:1}50%{opacity:.08}}
@media(prefers-reduced-motion:reduce){#welcome-enter.is-ready img{animation:none}#welcome-enter.is-ready{outline:2px solid #67d1d8;outline-offset:4px}}
@media(max-width:480px){html.r2-starting #welcome-screen{padding:12px}#welcome-screen .startup-window{max-height:calc(100dvh - 24px)}#welcome-screen .startup-title{padding:12px 16px;font-size:10px}#welcome-screen .startup-content{padding:18px 16px}#welcome-log{font-size:10px;padding:10px}}
@media(max-height:600px){#welcome-screen .startup-content{padding:12px 20px}#welcome-screen .startup-instrument{padding:0 0 10px}#welcome-enter{width:230px;padding:10px}#welcome-log{min-height:60px;max-height:90px}#welcome-status{margin-top:10px}#welcome-screen .startup-calibration{margin-top:10px}}
@media(max-height:600px) and (min-width:600px){#welcome-screen .startup-content{display:grid;grid-template-columns:170px minmax(0,1fr);column-gap:20px;padding:12px 18px}#welcome-screen .startup-instrument{grid-column:1;grid-row:1/7;padding:0}#welcome-enter{width:160px;padding:10px}#welcome-status,#welcome-screen .startup-track,#welcome-screen .startup-log-title,#welcome-log,#welcome-screen .startup-calibration,#welcome-screen .startup-footer{grid-column:2}#welcome-status{margin:0 0 7px}#welcome-screen .startup-log-title{margin:9px 0 5px}#welcome-log{min-height:70px;max-height:100px}#welcome-screen .startup-footer{margin:3px 0 0}}

/* Mission-console palette and segmented, factual startup display. */
html.r2-starting #welcome-screen{background:radial-gradient(ellipse at 15% 0,#302533,transparent 60%),#070709}
#welcome-screen .startup-window{width:min(860px,100%);border:1px solid #654756;border-radius:28px;background:#050507;box-shadow:0 20px 80px #0009}
#welcome-screen .startup-title{background:#f0a05e;color:#150d12;border:0;border-bottom:8px solid #050507;border-left:24px solid #c59bcf;padding:11px 20px;font-weight:bold;letter-spacing:1.3px}
#welcome-screen .startup-title button{background:#e7b6db;color:#120c13;border:1px solid #9a658e;border-radius:20px}
#welcome-screen .startup-content{display:grid;grid-template-columns:190px minmax(0,1fr);column-gap:24px;border-left:24px solid #c59bcf;padding:22px 26px 22px 14px}
#welcome-screen .startup-radial{grid-column:1;grid-row:1/8;align-self:center;min-width:0}#welcome-screen .startup-radial svg{display:block;width:100%;height:auto;font-family:monospace}#welcome-screen [data-boot-step]{opacity:.25}#welcome-screen [data-boot-step].is-loaded{opacity:1}
#welcome-screen .startup-instrument{grid-column:2;grid-row:1;background:none;padding:0 0 10px}#welcome-enter{width:min(280px,100%);box-shadow:none;border-radius:8px}
#welcome-status,#welcome-screen .startup-track,#welcome-screen .startup-log-title,#welcome-log,#welcome-screen .startup-calibration,#welcome-screen .startup-footer{grid-column:2}
#welcome-status{grid-row:2;color:#eed8eb}#welcome-screen .startup-track{grid-row:3;background:#372b39}#welcome-progress-fill{background:linear-gradient(90deg,#ef9c4c,#d5a1d8)}
#welcome-screen .startup-log-title{grid-row:4;color:#c79ac7}#welcome-log{grid-row:5;background:#0b090f;border-color:#684c70;color:#d6bee2}
#welcome-screen .startup-calibration{grid-row:6}#welcome-screen .startup-footer{grid-row:7}#welcome-screen .startup-footer button{background:#302033;color:#f4d9f0;border-color:#8f6698;border-radius:16px}
@media(max-width:600px){#welcome-screen .startup-content{display:flex;flex-direction:column;border-left-width:12px;padding:14px 16px 18px;gap:0}#welcome-screen .startup-radial{width:105px;margin:0 auto 10px}#welcome-screen .startup-title{border-left-width:12px;font-size:9px;padding:10px 12px}#welcome-enter{width:260px;padding:12px}#welcome-screen .startup-instrument{padding:0 0 3px}#welcome-status{margin:12px 0 8px}#welcome-log{min-height:116px;max-height:145px}}
@media(max-height:600px) and(min-width:600px){#welcome-screen .startup-content{grid-template-columns:155px minmax(0,1fr);column-gap:17px;padding:10px 18px 12px 10px}#welcome-screen .startup-title{padding:9px 14px}#welcome-screen .startup-radial{grid-column:1;grid-row:1/8}#welcome-screen .startup-instrument{grid-column:2;grid-row:1;padding:0 0 6px}#welcome-enter{width:190px;padding:8px}#welcome-status{grid-row:2;margin:0 0 5px}#welcome-log{min-height:65px;max-height:80px}#welcome-screen .startup-log-title{margin:7px 0 4px}#welcome-screen .startup-calibration{margin-top:8px}#welcome-screen .startup-footer{margin-top:0}}

#welcome-screen-demo-note{order:-1;flex:0 0 100%;font:13px Arial,sans-serif;color:#e8c9ee;text-align:left}

/* R2 entry controls replace the two MISSY artificial-data demo controls. */
#welcome-screen .startup-window{max-height:calc(100dvh - 100px);border-radius:28px;}html.r2-starting #welcome-screen{inset:0 0 50px;padding:24px;z-index:30;}#welcome-enter{border:2px solid #67d1d8;border-radius:14px;padding:6px;width:292px;background:#f9fbfc;}#welcome-enter img{width:100%;border-radius:8px;}#welcome-enter:not(:disabled) img{animation:missyEntryBlink 2.6s ease-in-out infinite;}#welcome-screen .startup-track{height:5px;}#welcome-progress-fill{transition:width .12s;}#welcome-screen .startup-footer{justify-content:space-between;}#welcome-screen .startup-footer a{border:1px solid #8f6698;border-radius:18px;padding:7px 14px;color:#e8c9ee;text-decoration:none;font-size:12px;}#welcome-screen .startup-footer button{padding:8px 16px;background:#cb9acd;color:#120a18;min-height:34px;}#welcome-screen .startup-extra{grid-column:2;grid-row:8;min-width:0;font-size:12px;}#welcome-screen .startup-extra p{margin:10px 0;line-height:1.5;}#welcome-screen .startup-extra details{margin:10px 0;}#welcome-screen .startup-extra summary{cursor:pointer;color:#d4b0e0;}#welcome-screen .welcome-computer{font:11px/1.6 monospace;color:#c8acd8;}#welcome-screen .startup-version{font:12px monospace;color:#d4b0e0;}#welcome-screen .welcome-pack{margin:12px 0;border:1px solid #74577c;border-radius:16px;padding:12px;}#welcome-screen #voice-pack-status{font-size:12px;color:#c9ace0;}#welcome-screen #website-download-status{font-size:11px;color:#c9ace0;}#welcome-screen .startup-sound{padding:4px 8px!important;}#welcome-screen .startup-title{min-height:48px;box-sizing:border-box;}#welcome-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}#welcome-screen .row{gap:8px;flex-wrap:wrap;}#welcome-screen .startup-extra select{max-width:100%;}#welcome-screen .startup-extra button{border-radius:20px;padding:8px 14px;}.startup-content>noscript{grid-column:2;}.json-corner{z-index:40;}#welcome-screen .startup-radial{grid-row:1/8;}
@media(max-width:600px){html.r2-starting #welcome-screen{padding:12px;bottom:70px;}#welcome-screen .startup-window{max-height:calc(100dvh - 94px);}#welcome-screen .startup-radial{order:2;width:130px;margin:8px auto;}#welcome-screen .startup-instrument{order:0;}#welcome-screen #welcome-status{order:1;}#welcome-screen .startup-track{order:3;}#welcome-screen .startup-log-title{order:4;}#welcome-screen #welcome-log{order:5;}#welcome-screen .startup-calibration{order:6;}#welcome-screen .startup-footer{order:7;}#welcome-screen .startup-extra{order:8;}#welcome-screen .startup-title{padding-right:120px;}.json-corner{position:fixed;top:10px;right:10px;padding:0;gap:8px;}.json-corner-btn img{width:36px;height:44px;}#welcome-enter{width:min(280px,100%);}#welcome-screen .startup-footer{gap:10px;}#welcome-screen .startup-extra .row{gap:8px;}}
@media(prefers-reduced-motion:reduce){#welcome-enter:not(:disabled) img{animation:none;}#welcome-progress-fill{transition:none;}}

#welcome-screen .startup-log-note{display:block;margin-top:6px;font:11px/1.5 Arial,sans-serif;letter-spacing:0;color:#d6bee2}

/* Crawlable page directory; links remain available without a JavaScript route. */
#welcome-screen .startup-directory{grid-column:1/-1;border-top:3px solid #cc99cc;padding-top:12px;margin-top:14px;min-width:0}#welcome-screen .startup-directory h2{font:700 14px Arial,sans-serif;color:#ffb37a;margin:0 0 9px}#welcome-screen .startup-directory>div{display:flex;flex-wrap:wrap;gap:7px}#welcome-screen .startup-directory a{display:inline-block;border:1px solid #8f6698;border-radius:18px;padding:7px 11px;background:#21162c;color:#f0def5;font:12px/1.3 Arial,sans-serif;text-decoration:none}#welcome-screen .startup-directory a:hover,#welcome-screen .startup-directory a:focus-visible{background:#ff9966;color:#150b1b;outline:2px solid #cc99cc;outline-offset:2px}
