.agent-mode .build-tray,.agent-mode .rail [data-panel=build],.agent-mode #open-creator,.agent-mode #save,.agent-mode #reset,.agent-mode #cloud-banner,.agent-mode #app>footer,.agent-mode #mission-card,.agent-mode #mobile-coach,.agent-mode [data-world-build]{display:none!important}
.agent-mode .rail{bottom:132px}.agent-mode .map-actions{bottom:170px}.agent-mode #living-panel{bottom:195px}.agent-mode #park-return{bottom:185px}.agent-mode .neighbour-dialogue{bottom:195px}
#agent-watch{position:absolute;z-index:14;top:92px;left:20px;width:350px;padding:20px;border:1px solid #7bd6f24a;border-radius:18px;background:linear-gradient(135deg,#182b48ee,#123b47ed);box-shadow:0 14px 50px #03152140;backdrop-filter:blur(16px);color:#eefaff;font:14px/1.45 Inter,system-ui,sans-serif}
.agent-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.agent-heading h1{font-size:25px;margin:4px 0 0;letter-spacing:-.5px}.agent-heading h1 span{font-size:14px;font-weight:400;color:#afd1db}.agent-eyebrow{font-size:10px;font-weight:750;letter-spacing:1.7px;color:#83eed0}.agent-heading button{align-self:flex-start;background:transparent;border:0;color:#c1e7f1;font-size:24px;padding:0 5px;cursor:pointer}.agent-intro{color:#bed6e2;margin:12px 0 16px;line-height:1.6}.agent-stats{display:grid;grid-template-columns:.7fr 1fr 1.25fr;gap:10px}.agent-stats>span,.agent-stats>button{display:flex;flex-direction:column;align-items:flex-start;padding:0;background:none;border:none;color:inherit;min-width:0}.agent-stats small{font-size:9px;color:#a9c9d9;letter-spacing:.7px;white-space:nowrap}.agent-stats b{font-size:22px;color:#92f2db}.agent-stats button{cursor:pointer;text-decoration:underline;text-decoration-color:#83eed050;text-underline-offset:5px}
#agent-health{font-size:12px;color:#b7eddf;border-top:1px solid #b2d9ec1f;padding-top:13px;margin:15px 0 7px}#agent-decision{min-height:42px;margin:0 0 13px;color:#d8eaf2;line-height:1.55}.agent-links{display:flex;gap:15px;align-items:center}.agent-links button,.agent-links a{color:#93e5ff;background:none;border:0;padding:0;cursor:pointer;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:4px}.agent-links a{margin-left:auto}#agent-watch.collapsed #agent-details{display:none}
#agent-timeline{position:fixed;z-index:30;bottom:14px;left:16px;right:16px;max-width:1200px;margin:auto;border:1px solid #8adcff40;background:linear-gradient(110deg,#1e3255f5,#12404af5);border-radius:16px;padding:14px 18px;color:#eaf8ff;box-shadow:0 8px 30px #07132355;backdrop-filter:blur(14px);font:13px/1.4 Inter,system-ui,sans-serif}.agent-controls{display:flex;align-items:center;gap:9px}#agent-timeline button,#agent-timeline select,.agent-dialog button{font:inherit;color:#e2f6fd;border:1px solid #a3d8ee33;border-radius:8px;background:#1b3b50;padding:9px 13px;cursor:pointer}#agent-timeline .agent-primary{background:linear-gradient(120deg,#74f1cf,#91dcff);color:#102e41;font-weight:750;min-width:148px;border:0}#agent-timeline button:disabled{opacity:.35;cursor:default}.agent-speed,.agent-milestone{display:flex;align-items:center;gap:8px;color:#b7d4e0;font-size:12px}.agent-milestone{margin-left:auto}.agent-milestone select{max-width:325px}#agent-timeline select{padding:8px}.agent-progress-row{display:flex;gap:18px;align-items:center;margin-top:10px}.agent-progress-row label{min-width:226px;font-size:12px;color:#afd2e0}.agent-progress-row input{flex:1;accent-color:#79eacf;min-width:70px}.agent-dialog{box-sizing:border-box;width:min(750px,calc(100vw - 28px));max-height:85vh;border:1px solid #a4e5ff50;border-radius:18px;padding:30px;background:linear-gradient(130deg,#1c2e4b,#123d45);color:#e5f5fb}.agent-dialog::backdrop{background:#061626b8;backdrop-filter:blur(7px)}.agent-dialog h2{font:600 28px system-ui;margin:8px 0 12px}.agent-dialog p{color:#bad6e2;line-height:1.6}.agent-dialog .agent-dialog-close{position:absolute;right:15px;top:12px;border:0;font-size:22px;background:none}.agent-collection article{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #bbe6f51a}.agent-collection article>div{flex:1}.agent-collection small{display:block;color:#a4c4d2;font-size:12px;margin-top:3px}.agent-state{font-size:18px;color:#b2cedd}.agent-state.built{color:#7fe8bb}.agent-collection button:disabled{opacity:.3}.agent-journal{list-style:none;padding:0}.agent-journal button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;gap:6px;margin:9px 0}.agent-journal small{color:#8cdcc8;letter-spacing:.5px;font-size:10px}.agent-journal span{color:#aecfdd;line-height:1.5}.agent-dialog a{color:#8adffd}.agent-profile-note{padding:18px 20px;background:#7becc910;border:1px solid #7becc938;border-radius:12px;margin:18px 0}.agent-profile-note a{display:inline-block;padding:10px 16px;background:#82e9d1;border-radius:8px;color:#102d40;font-weight:700}.agent-profile-note ol{padding-left:20px;color:#b8d5e2}.agent-profile-note li{margin:7px 0}.agent-profile-note p{line-height:1.65}
@media(max-width:900px){#agent-watch{top:83px;left:12px;width:290px;padding:15px}.agent-heading h1{font-size:22px}.agent-stats b{font-size:20px}.agent-intro{font-size:13px}.agent-controls{flex-wrap:wrap}.agent-milestone{flex:1;margin-left:0}.agent-milestone select{max-width:260px;width:100%}#agent-final{margin-left:auto}#agent-timeline{padding:12px;bottom:8px;left:8px;right:8px}.agent-mode .rail{bottom:170px}.agent-mode .map-actions{bottom:210px}.agent-mode #living-panel{bottom:230px}}
@media(max-width:600px){#agent-watch{top:80px;width:calc(100% - 96px);max-width:320px;padding:13px}.agent-intro{display:none}.agent-heading{margin-bottom:10px}.agent-stats{gap:5px}.agent-stats small{font-size:8px}.agent-stats b{font-size:20px}#agent-health{font-size:11px;margin-top:10px;padding-top:9px}#agent-decision{font-size:12px;min-height:32px;margin-bottom:10px}.agent-links{gap:10px}.agent-links button,.agent-links a{font-size:11px}.agent-controls{gap:6px}#agent-timeline button{padding:8px 10px;font-size:12px}#agent-timeline .agent-primary{min-width:122px}.agent-speed{font-size:0;gap:0}.agent-milestone{min-width:190px}.agent-milestone select{max-width:100%;font-size:11px}.agent-progress-row{gap:5px;flex-wrap:wrap;margin-top:7px}.agent-progress-row label{min-width:0;font-size:11px}.agent-progress-row input{width:100%;flex:auto;margin:2px 0}.agent-mode .rail{bottom:181px}.agent-mode .map-actions{bottom:232px}.agent-dialog{padding:24px 18px}.agent-dialog h2{font-size:23px}.agent-collection article>div{min-width:0}.agent-collection b{font-size:14px}.agent-collection button{font-size:12px;padding:8px}.agent-mode #living-panel{bottom:240px}}

/* Keep the exploration rail above the actual wrapped timeline at every size. */
.agent-mode.living-world .rail{bottom:calc(var(--agent-controls-height,130px) + 28px)!important}.agent-mode .map-actions{bottom:calc(var(--agent-controls-height,130px) + 90px)!important}.agent-mode #living-panel{bottom:calc(var(--agent-controls-height,130px) + 102px)!important}.agent-mode #park-return{bottom:calc(var(--agent-controls-height,130px) + 104px)!important}.agent-profile-note li a{background:none;padding:0;color:#a4e6f7;font-weight:400}.agent-profile-note details{margin-top:12px}

@media(max-width:600px){#agent-watch{top:128px}.agent-heading{margin-bottom:0}.agent-speed select{font-size:12px!important}}
