.linked-budget{border:1px solid #537a76;border-radius:10px;background:linear-gradient(130deg,#173238,#102831);padding:23px;margin-bottom:24px;scroll-margin-top:20px}.linked-budget[hidden]{display:none}.budget-heading{display:flex;align-items:start;justify-content:space-between;gap:25px}.budget-heading h2{font:400 29px/1.15 Georgia,serif;margin:12px 0}.budget-heading p{font-size:12px;line-height:1.7;color:#b9cdcd;max-width:650px}.budget-heading>a{font-size:12px;white-space:nowrap;padding-top:8px}.budget-readouts{display:flex;gap:12px 24px;flex-wrap:wrap;margin:18px 0 22px;padding-block:14px;border-block:1px solid #36565a;font-size:12px;line-height:1.6}.budget-readouts strong{font-weight:500;color:#d8eee7}.budget-readouts span{color:#d7bc8e}.budget-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.budget-inputs label{font-size:11px;line-height:1.5;min-width:0;color:#d6e5e2}.budget-inputs input{display:block;width:100%;min-width:0;min-height:44px;margin:8px 0;background:#081f2b;color:#e9f1ed;border:1px solid #56757c;border-radius:4px;padding:10px;font-size:16px}.budget-inputs small{font-size:10px;color:#a5c0c3}.budget-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 12px}.budget-actions button{font-size:12px;min-height:44px}#budget-summary{font-size:12px;color:#c0ddd0;line-height:1.7;min-height:22px}.budget-stage-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-top:1px solid #3b585b;padding-top:17px;margin-top:17px}.budget-stage-links span{font-size:11px;color:#b5cccc;margin-right:6px}.budget-stage-links button{font-size:11px;background:#142d35;min-height:44px}.budget-scope{margin-top:20px;font-size:12px}.budget-scope summary{color:#b5dbd3;cursor:pointer;line-height:1.7;min-height:34px}.budget-scope p{color:#abc2c7;line-height:1.8;font-size:11px}.budget-scope a{font-size:11px;line-height:2.4}.budget-start{margin-top:12px;color:#bfe4d9;border-color:#628b7c}
@media(max-width:700px){.linked-budget{padding:19px}.budget-heading{display:block}.budget-heading h2{font-size:26px}.budget-heading>a{display:block;margin:14px 0}.budget-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.budget-readouts{display:grid;gap:8px}.budget-stage-links>span{flex-basis:100%}.budget-stage-links button{flex:1 1 130px}.budget-actions button{flex:1 1 110px}}
.presenting .linked-budget{max-height:58svh;overflow:auto}.budget-linked .comet-story>details:first-of-type{border-color:#52716b}
.budget-display-note{font-size:11px;line-height:1.7;color:#b7ceca;margin:-7px 0 21px}#budget-energy-readout{font-size:11px;color:#a9c7ca}
.budget-subtitle{font:400 21px/1.3 Georgia,serif;margin:27px 0 17px;color:#d8e8df}.budget-impact-inputs{grid-template-columns:repeat(2,minmax(0,1fr));padding-top:17px;border-top:1px solid #3b585b}.rotation-preview{margin-top:24px;padding:22px 0;border-top:1px solid #527471}.rotation-preview[hidden]{display:none}.rotation-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.rotation-heading h3{font:400 27px/1.2 Georgia,serif;color:#e4ece2;margin:10px 0 20px;max-width:480px}.rotation-heading button{font-size:11px;white-space:nowrap;min-height:44px}.rotation-captions{display:grid;grid-template-columns:1fr 1fr;text-align:center;gap:15px;font-size:11px;color:#c2d9d6;line-height:1.6;margin:10px 0}#rotation-viewport{height:290px;border:1px solid #355862;border-radius:7px;overflow:hidden;background:#081e2b}.rotation-key{display:flex;flex-wrap:wrap;gap:14px;font-size:10px;color:#b9d0d2;line-height:1.7;padding:16px 0}.rotation-key i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;background:#7bdae7}.rotation-key i.after{background:#eda56f}.rotation-key i.reference{background:#919ca9}.rotation-preview>p{font-size:12px;line-height:1.7;color:#cce0d4;margin:8px 0}.rotation-preview .rotation-note{font-size:11px;color:#a6bfc5;margin-top:15px}.rotation-preview>a{font-size:11px;line-height:2.5}#rotation-gap{color:#e3c394}
@media(max-width:700px){.rotation-heading{display:block}.rotation-heading button{margin-bottom:16px}.rotation-heading h3{font-size:25px}.rotation-captions{font-size:10px;gap:12px}#rotation-viewport{height:235px}.budget-impact-inputs{gap:16px}}
@media(max-width:800px){.budget-linked .source-label #station-location{display:block;line-height:1.5;margin-top:6px}.budget-linked .source-label .cutaway-launch,.budget-linked .source-label #anomaly-open{vertical-align:middle}}

.connected-crust-controls{padding:22px 24px;border:1px solid #365859;border-radius:14px;background:linear-gradient(135deg,#142c32,#101e27);margin-bottom:18px}.connected-crust-controls h2{margin:.4rem 0;font:500 clamp(1.3rem,3vw,1.8rem) Georgia,serif}.connected-crust-controls p{max-width:88ch;line-height:1.6;color:#c0d3d3}.connected-crust-controls a{color:#9ee4de}.crust-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0}.crust-actions button{padding:10px 14px;border:1px solid #466363;border-radius:7px;background:#192f38;color:#d4e6e4}.crust-actions button[aria-pressed=true]{background:#b6e8dc;color:#132b31}.crust-actions label{display:flex;gap:8px;align-items:center;color:#c0d3d3;font-size:.85rem}.crust-actions input{width:76px;padding:9px;border:1px solid #526f72;background:#11242c;color:#eff9f4;border-radius:6px}#crust-stats{font-variant-numeric:tabular-nums;color:#b5eadb}.connected-crust-controls .crust-scope{font-size:.84rem;color:#a8c0c1}@media(max-width:520px){.connected-crust-controls{padding:18px 16px}.crust-actions{align-items:stretch}.crust-actions button{flex:1 1 140px}.crust-actions label{flex:1 1 100%;justify-content:space-between}}

.connected-crust-controls[hidden]{display:none}.connected-crust-active.presenting #linked-budget,.connected-crust-active.presenting #connected-crust-controls{display:none}.connected-crust-active .source-label .stage-note{display:none}.connected-crust-active .source-label strong{font-size:23px}.connected-crust-active .source-label{max-width:330px!important}
@media(max-width:800px){.connected-crust-active:not(.cutaway-open) #globe{top:125px;bottom:245px}.connected-crust-active .source-label{max-width:calc(100% - 36px)!important}.connected-crust-active .source-label strong{font-size:22px}.connected-crust-active .legend{font-size:10px}}

.connected-crust-active .legend i.material-guide{background:#e5d6b1}

.tharp-map-controls{padding:24px;border:1px solid #8b8060;border-radius:12px;background:linear-gradient(125deg,#243438,#12242d);margin-bottom:24px}.tharp-map-controls[hidden]{display:none}.tharp-map-controls h2{font:400 30px/1.15 Georgia,serif;margin:12px 0}.tharp-map-controls p{font-size:13px;line-height:1.75;color:#c9d7cf;max-width:86ch}.tharp-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:16px 0}.tharp-actions button{font-size:12px;min-height:44px}.tharp-actions a{font-size:13px;padding:12px}.tharp-map-controls .tharp-scope{font-size:11px;color:#aebfba}#tharp-map-status{color:#f0d8a7}.tharp-mode .surface-switch,.tharp-mode .stage-modes,.tharp-mode .local-section{display:none}.tharp-mode:not(.comet-exploring) .source-label{max-width:390px;padding:15px 18px;background:#071d2ae8;border-left:2px solid #c5b88d}.tharp-mode:not(.comet-exploring) .source-label strong{font:400 25px/1.15 Georgia,serif}.tharp-mode:not(.comet-exploring) .source-label .stage-note{font-size:11px}.tharp-mode .legend{max-width:440px;font-size:11px}.tharp-mode.presenting #tharp-map-controls{display:none}@media(max-width:800px){.tharp-map-controls{padding:19px}.tharp-actions button{flex:1 1 135px}.tharp-actions a{flex-basis:100%}.tharp-mode:not(.cutaway-open) #globe{top:125px;bottom:235px}.tharp-mode .stage{min-height:800px}.tharp-mode:not(.comet-exploring) .source-label{bottom:28px;left:18px;max-width:calc(100% - 36px)}.tharp-mode:not(.comet-exploring) .legend{top:108px;left:18px}.tharp-mode .source-label .stage-note{display:none}}

.tharp-side-note img{display:block;width:100%;height:auto;margin:16px 0}.tharp-side-note p,.tharp-side-note a{font-size:12px;line-height:1.8;color:#b9cfcc}.tharp-side-note a{color:#b8dfd5}.tharp-mode:not(.comet-exploring) .panel .world-settings,.tharp-mode:not(.comet-exploring) .panel .tabs,.tharp-mode:not(.comet-exploring) .panel .tab-panel,.tharp-mode:not(.comet-exploring) .panel .result-panel,.tharp-mode:not(.comet-exploring) .panel .panel-bottom{display:none}

.tharp-mode:not(.comet-exploring) .time-panel>:not(#tharp-map-controls){display:none}.tharp-mode #book-open{display:none}

.tharp-depth-controls{margin:20px 0;padding:18px 0;border-block:1px solid #52645d}.tharp-depth-controls>label{display:flex;justify-content:space-between;font-size:12px}.tharp-depth-controls>input{width:100%;margin-top:12px}.tharp-depth-controls p{font-size:11px}.tharp-coordinate-inputs{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.tharp-coordinate-inputs label{font-size:12px;flex:1 1 110px}.tharp-coordinate-inputs input{display:block;width:100%;padding:10px;background:#0b202c;border:1px solid #70867b;border-radius:5px;color:#e7eeea;margin-top:6px}.tharp-coordinate-inputs button{min-height:44px;flex:1 1 190px}#tharp-point{color:#eed6a5}

.tharp-mode .legend{position:absolute;left:28px;top:142px;margin:0;max-width:72%;background:#071d2ad9;padding:6px 8px;border-radius:5px}@media(min-width:801px) and (max-width:1100px){.tharp-mode:not(.presenting) .workspace{grid-template-columns:1fr;grid-template-areas:'stage' 'time' 'panel'}.tharp-mode:not(.presenting) .stage{min-height:660px}}@media(max-width:800px){.tharp-mode:not(.comet-exploring) .legend{position:absolute;top:106px;left:18px;margin:0;max-width:72%;font-size:10px}}
/* Let research navigation wrap between the desktop and phone layouts. */
@media(min-width:541px){body>header nav[aria-label="Project navigation"]{min-width:0;flex-wrap:wrap;justify-content:flex-end;row-gap:8px}}
