:root{color-scheme:dark;--bg:#101112;--panel:#202224;--line:#35373a;--ink:#ebedef;--muted:#a2a7ad;--accent:#e54b4b;--green:#80cfad;--amber:#e5bd7d;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.workspace-views{min-width:0;width:100%}.topic-panel{border:1px solid var(--line);border-radius:6px;background:#111416;min-height:calc(100vh - 165px - var(--topbar-extra,0px));overflow:hidden}.object-content{padding:34px;max-width:1000px}.object-type{font-size:23px;color:#e7958b;margin:0 0 16px}.object-description{font-size:20px;line-height:1.7;max-width:820px;margin:0 0 32px}.object-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 30px}.object-facts>div{display:block;padding:22px;background:#1a1d20;border:1px solid #30363b;border-radius:6px}.object-facts dt{font-size:15px;margin-bottom:10px;color:var(--muted)}.object-facts dd{font-size:25px;margin:0;overflow-wrap:anywhere}.object-coordinates{padding:22px;background:#1a1d20;border:1px solid #30363b;border-radius:6px;margin-bottom:16px}.object-coordinates h2{font-size:15px;font-weight:400;color:var(--muted);margin:0 0 12px}.object-coordinates span{font-size:22px;font-variant-numeric:tabular-nums}.object-content>.note{font-size:14px;line-height:1.6}.object-source{display:inline-block;color:#e7958b;font-size:16px;margin-top:14px}.status-view #telescope-panel{border:0;background:transparent;padding:32px}.status-view h2{font-size:26px}.status-view .battery-head{font-size:20px}.status-view .battery-head strong{font-size:30px}.status-view .sensor-grid{gap:20px;margin:26px 0}.status-view .sensor-grid>div{padding:24px}.status-view .sensor-grid span{font-size:16px}.status-view .sensor-grid strong{font-size:34px}.status-view .compact{font-size:18px}.status-view .compact>div{padding:16px 0}.status-view .note{font-size:16px;line-height:1.6}
@media(max-width:1000px){.object-content{padding:24px}.object-description{font-size:18px}.object-facts{gap:12px}.object-facts>div{padding:16px}.object-facts dd{font-size:22px}.object-coordinates span{font-size:18px}}
@media(max-width:740px){.topic-panel{min-height:500px}.object-facts{grid-template-columns:1fr}.object-content{padding:20px}.object-coordinates span{font-size:16px}}
.movement-panel{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:min(510px,calc(100% - 40px));padding:26px;border:1px solid #69413c;border-radius:12px;background:rgba(15,18,20,.96);box-shadow:0 20px 80px #000a;text-align:center;pointer-events:none}
.movement-heading{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap}.movement-heading h2{font-size:21px;margin:0}.movement-heading p{font-size:16px;margin:6px 0 0;color:#cbd0d5;overflow-wrap:anywhere}.movement-icon{font-size:38px;color:var(--accent)}.movement-heading .small-tag{font-size:10px;color:#eb9a91}
.movement-axes{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:28px 0 20px}.movement-axes>div{display:flex;flex-direction:column;gap:10px}.movement-axes>div+div{border-left:1px solid #343a3d}.movement-axes span{font-size:16px;color:#cbd0d5}.movement-axes strong{font-size:40px;font-weight:600;font-variant-numeric:tabular-nums}.movement-axes small{font-size:14px;color:#aeb7bf}.movement-panel>.note{font-size:13px;margin:0}.is-pointing #image{opacity:.4}.phase.pointing{color:#eb9a91;border-color:#69413c}
@media(max-width:740px){.movement-panel{top:160px;transform:translateX(-50%);padding:18px}.movement-axes strong{font-size:30px}.movement-axes{gap:8px}.movement-heading h2{font-size:18px}}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-size:13px}main{margin:0 auto;max-width:2200px;padding:0 18px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:inherit}[hidden]{display:none!important}
.topbar{height:66px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:18px}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;font-size:16px;letter-spacing:1.8px;flex-shrink:0}.brand strong{font-weight:600;color:var(--accent)}.brand small{display:block;font-size:8px;color:var(--muted);letter-spacing:1.9px;margin-top:5px}.brand-icon{color:var(--accent);font-size:28px}.top-actions{display:flex;gap:14px;align-items:center}.connection{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--green)}.connection:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.connection.offline{color:var(--amber)}.connection.pending{color:var(--muted)}.quiet{border:1px solid var(--line);background:#242628;border-radius:5px;width:32px;height:32px;font-size:23px}.quiet:hover{background:#383b3e}.language-switch{display:flex;padding:2px;border:1px solid var(--line);border-radius:5px;background:#1d1f21}.language-switch button{border:0;background:transparent;border-radius:3px;padding:6px 8px;font-size:10px;letter-spacing:.5px;color:var(--muted)}.language-switch button[aria-pressed="true"]{background:#414448;color:#fff}
.console{display:grid;grid-template-columns:60px minmax(0,1fr);gap:14px;padding-top:14px}.tool-rail{display:flex;flex-direction:column;gap:8px;padding:8px 0;background:#1b1d1f;border:1px solid var(--line);border-radius:6px;align-self:start}.rail-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 3px;text-decoration:none;font-size:9px;color:var(--muted);border-left:2px solid transparent}.rail-link svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.4}.rail-link.active,.rail-link:hover{color:#f47c7c;background:#e54b4b0c;border-left-color:var(--accent)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 334px;gap:14px;align-items:start;min-width:0}.image-panel{background:#050606;border:1px solid var(--line);border-radius:6px;overflow:hidden;min-width:0}.heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;border-bottom:1px solid #26282a;background:#1a1c1e}.eyebrow{color:var(--muted);font-size:9px;font-weight:600;letter-spacing:1.2px;margin:0 0 6px}h1{font-size:23px;font-weight:500;margin:0;letter-spacing:-.4px}.subtitle{margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.phase{font-size:10px;color:#c3c8ce;padding:6px 9px;white-space:nowrap;border:1px solid #484c50;border-radius:4px;background:#292c2f}.phase.live{color:var(--green);border-color:#80cfad50;background:#80cfad08}
.image-stage{display:flex;align-items:center;justify-content:center;width:100%;height:clamp(300px,calc(100vh - 400px),980px);min-height:300px;border:0;background:#020303;padding:10px;opacity:1!important}.image-stage img{width:100%;height:100%;object-fit:contain;display:block}.image-stage:not(:disabled){cursor:zoom-in}.empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:25px;text-align:center;color:var(--muted)}.empty strong{font-size:17px;color:var(--ink);font-weight:400}.orbit{font-size:55px;color:#606569}.image-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;min-height:38px;border-top:1px solid #26282a;background:#181a1c;font-size:10px;color:var(--muted)}.text-button{border:0;background:transparent;padding:3px;color:#e1e4e8;font-size:11px;white-space:nowrap}.text-button:hover{color:var(--accent)}.text-button span{margin-left:4px}
.equipment-sidebar{display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 115px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#45484b transparent;padding-right:3px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:16px;min-width:0}.section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}h2{font-size:13px;font-weight:600;margin:0}.small-tag{font-size:8px;letter-spacing:.7px;border:1px solid #41454a;background:#292c30;color:#aeb4bc;border-radius:3px;padding:4px 6px;white-space:nowrap}.section-icon{color:var(--muted);font-size:15px}.note{margin:12px 0 0;color:var(--muted);font-size:10px;line-height:1.6}.action-button{border:1px solid #4b5055;border-radius:4px;background:#33373b;padding:9px 11px;font-size:11px}.action-button:hover:not(:disabled){background:#454a50}.action-button.primary{background:var(--accent);color:#fff;border-color:var(--accent);font-weight:600;min-height:45px}.action-button.primary:before{content:"▶";font-size:14px;margin-right:9px}.action-button.primary:hover:not(:disabled){background:#ec5f5f}.action-button.danger{background:#27292c;color:#ee9898;border-color:#8e5353}.action-button.danger:before{content:"■";margin-right:9px}.field-grid{display:grid;grid-template-columns:1fr;gap:12px}.coordinate-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:10px;color:var(--muted)}.field input,.field select{width:100%;min-width:0;color:var(--ink);border:1px solid #41454a;border-radius:4px;padding:10px;background:#17191b;font:inherit;font-size:12px}.field input:focus,.field select:focus{border-color:var(--accent)}.target-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.target-controls .note{margin:0;font-size:9px}.target-preview{display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid #51605a;background:#80cfad05;border-radius:4px;margin-top:14px}.target-preview strong{font-size:13px;font-weight:500}.target-preview span{color:var(--green);font-size:11px;font-variant-numeric:tabular-nums}.target-preview small{color:var(--muted);font-size:9px}.control-bottom{display:flex;flex-direction:column;gap:9px;margin-top:14px}.control-bottom .note{margin:0}.control-message{font-size:11px;color:var(--amber);line-height:1.5;margin:12px 0 0}.control-message.success{color:var(--green)}
dl{margin:0}dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #ffffff07}dl>div:first-child{padding-top:0}dl>div:last-child{border:0}dt{color:var(--muted);font-size:10px}dd{margin:0;font-size:11px;font-variant-numeric:tabular-nums;text-align:right}.observation dd{font-weight:500}#capture-date{white-space:pre-line}.battery-head{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-bottom:10px}progress{height:5px;width:100%;accent-color:var(--accent);border:0;border-radius:3px;overflow:hidden;background:#34373b}progress::-webkit-progress-bar{background:#34373b;border-radius:3px}progress::-webkit-progress-value{background:var(--accent);border-radius:3px}.sensor-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.sensor-grid>div{padding:10px;background:#181a1c;border:1px solid #313538;border-radius:4px}.sensor-grid span{display:block;color:var(--muted);font-size:9px;margin-bottom:7px}.sensor-grid strong{font-size:18px;font-weight:500}.update-note{font-size:9px;color:var(--muted);line-height:1.6;margin:0 2px 5px}
.alert{padding:10px 14px;margin-top:12px;border:1px solid #e5bd7d50;border-radius:4px;background:#e5bd7d07;color:var(--amber);font-size:11px;line-height:1.5}footer{display:flex;justify-content:space-between;gap:15px;padding:12px 0;font-size:9px;color:#91979e}.footer-dot{margin:0 5px}.loading{opacity:.5}dialog{width:96vw;height:96vh;max-width:2000px;max-height:none;border:1px solid var(--line);border-radius:6px;background:#080a0b;color:var(--ink);padding:0}dialog::backdrop{background:#000d}dialog[open]{display:flex;flex-direction:column}.viewer-head{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--line);flex-shrink:0}.viewer-head button{background:transparent;border:0;padding:10px;font-size:18px}dialog img{width:100%;min-height:0;flex:1;object-fit:contain;padding:12px}
@media(min-width:1100px){.heading .subtitle{display:none}.image-stage{height:calc(100vh - 400px)}}
@media(max-width:1000px){main{padding:0 12px}.console{grid-template-columns:48px minmax(0,1fr);gap:10px}.layout{grid-template-columns:minmax(0,1fr) 300px;gap:10px}.rail-link{font-size:8px}.heading{padding:13px}.image-stage{height:calc(100vh - 420px);min-height:280px}.phase{font-size:9px;padding:5px}.progress-metrics{grid-template-columns:1fr 1fr}.equipment-sidebar{max-height:calc(100vh - 115px)}.progress-countdown strong{font-size:14px}}
@media(max-width:740px){main{padding:0 10px}.topbar{height:auto;min-height:65px;padding:12px 0;flex-wrap:wrap;gap:12px}.brand{font-size:14px}.brand-icon{font-size:25px}.brand small{font-size:7px}.top-actions{gap:10px;flex:1;justify-content:flex-end}.connection{font-size:10px}.console{display:flex;flex-direction:column;gap:10px;padding-top:10px}.tool-rail{flex-direction:row;padding:0;gap:0;width:100%}.rail-link{flex:1;flex-direction:row;gap:8px;padding:10px;border-left:0;border-bottom:2px solid transparent;font-size:10px}.rail-link svg{width:18px;height:18px}.rail-link.active,.rail-link:hover{border-left:0;border-bottom-color:var(--accent)}.layout{display:flex;flex-direction:column;gap:12px}.image-panel,.equipment-sidebar{width:100%}.heading{padding:14px;align-items:flex-start}.heading h1{font-size:21px}.subtitle{font-size:10px}.image-stage{height:calc(100vw - 42px);min-height:250px;max-height:700px;padding:6px}.equipment-sidebar{max-height:none;overflow:visible;padding:0;display:grid;grid-template-columns:1fr 1fr}.control-panel{grid-column:1/-1}.field-grid{grid-template-columns:160px minmax(0,1fr)}.coordinate-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.control-bottom{flex-direction:row;flex-wrap:wrap}.control-bottom .action-button{flex:1;min-width:150px}.control-bottom .note{width:100%}.update-note{grid-column:1/-1}.capture-progress{padding:14px}.progress-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.progress-heading h2{font-size:11px}.image-bottom{padding:9px 12px}.target-preview{flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px}footer{font-size:8px}.progress-countdown strong{font-size:15px}}
@media(max-width:450px){.top-actions{flex:auto;width:100%;justify-content:flex-end}.connection{margin-right:auto;order:-1}.equipment-sidebar{display:flex}.field-grid,.coordinate-grid{grid-template-columns:1fr}.progress-metrics{grid-template-columns:1fr 1fr}.progress-countdown{gap:6px}.heading{gap:8px}.phase{white-space:normal;text-align:center;max-width:100px}.subtitle{max-width:175px}.target-preview{align-items:flex-start;flex-direction:column}footer{flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.capture-progress progress::-webkit-progress-value{transition:none}}

/* Use only actual object-fit side gutters; never cover the photograph. */
.capture-stage{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px 12px;background:#020303;min-width:0}.capture-stage .image-stage{grid-column:1/-1}.image-facts{display:contents}.info-tile{display:flex;flex-direction:column;justify-content:center;gap:8px;border:1px solid #35393d;border-radius:6px;background:#1b1e21;padding:14px;min-width:0}.info-tile>span:first-child{color:var(--muted);font-size:10px;line-height:1.4}.info-tile>strong{font-size:19px;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.info-tile small{color:var(--muted);font-size:9px}.has-info-gutters.capture-stage{display:block;padding:0}.has-info-gutters .image-facts{position:absolute;top:16px;bottom:16px;width:var(--fact-width,144px);display:flex;flex-direction:column;justify-content:center;gap:10px;pointer-events:none}.has-info-gutters .image-facts-left{left:16px}.has-info-gutters .image-facts-right{right:16px}.has-info-gutters .info-tile{padding:13px;pointer-events:auto}.has-info-gutters .info-tile>strong{font-size:18px}.image-facts .capture-progress{display:flex;align-items:center;justify-content:center;gap:8px;text-align:center;padding:12px}.progress-heading{display:flex;flex-direction:column;align-items:center;gap:5px}.progress-heading h2{font-size:11px;font-weight:500}.progress-heading .small-tag{font-size:7px;padding:2px 5px}.progress-ring{position:relative;width:84px;height:84px;flex-shrink:0}.progress-ring svg{width:100%;height:100%;transform:rotate(-90deg);display:block}.progress-ring circle{fill:none;stroke-width:6}.ring-track{stroke:#383d42}.ring-fill{stroke:var(--accent);stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .25s linear}.progress-ring strong{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:23px;font-weight:500;font-variant-numeric:tabular-nums}.capture-progress.waiting .ring-fill{opacity:.45}.capture-progress>.ring-caption{font-size:10px;font-weight:400;line-height:1.5;color:#d6dce2}.capture-progress>.note{font-size:8px;margin:0;line-height:1.4}.ring-cycle{font-size:8px!important;line-height:1.4;color:var(--muted)}.ring-cycle strong{font-weight:400;color:#d6dce2}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1100px){.capture-stage .image-stage{height:calc(100vh - 265px);min-height:400px}}
@media(max-width:1100px){.capture-stage .image-stage{height:calc(100vh - 390px);min-height:300px}}
@media(max-width:740px){.capture-stage{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 10px 10px}.capture-stage .image-stage{height:calc(100vw - 50px);min-height:250px;max-height:700px}.info-tile{padding:12px;gap:6px}.info-tile>strong{font-size:16px}.progress-ring{width:72px;height:72px}.capture-progress>.ring-caption{font-size:9px}.image-facts .capture-progress{gap:6px}}
@media(max-width:450px){.capture-stage{grid-template-columns:1fr 1fr}.info-tile>strong{font-size:17px}.image-facts .capture-progress{grid-column:1/-1;display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:15px;text-align:left;align-items:center;padding:12px 15px}.capture-progress .progress-ring{grid-column:1;grid-row:1/5}.capture-progress .progress-heading{grid-column:2;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;gap:7px}.capture-progress>.ring-caption,.capture-progress>.note,.capture-progress>.ring-cycle{grid-column:2;justify-self:start}.capture-progress .ring-cycle{font-size:9px!important}.capture-progress>.note{font-size:9px}}
@media(prefers-reduced-motion:reduce){.ring-fill{transition:none}}

.image-facts .capture-progress>.ring-caption{font-size:10px;font-weight:400;overflow-wrap:normal;line-height:1.45}
@media(max-width:450px){.image-stack-summary{grid-column:1/-1}}

/* Desktop typography: use the available gutters instead of fixed miniature cards. */
@media(min-width:1100px){
 .has-info-gutters .image-facts{gap:16px;justify-content:flex-start;top:36px;bottom:20px}
 .has-info-gutters .info-tile{min-height:108px;padding:18px 14px;gap:10px;align-items:center;text-align:center;background:#111416;border-color:#30363b;border-radius:8px}
 .has-info-gutters .info-tile>span:first-child{font-size:14px;line-height:1.4;color:#d0d6dc;font-weight:500}
 .has-info-gutters .info-tile>strong{font-size:27px;line-height:1.25;font-weight:600;text-align:center;overflow-wrap:normal}
 .has-info-gutters .info-tile small{font-size:13px;color:#c0c8d0}
 .image-facts .capture-progress{padding:16px 12px;gap:8px}
 .progress-heading{gap:7px}
 .progress-heading h2{font-size:15px;font-weight:600}
 .progress-heading .small-tag{font-size:10px;letter-spacing:.3px;padding:3px 6px;color:#d4d9df}
 .progress-ring{width:112px;height:112px}
 .progress-ring strong{font-size:32px;font-weight:600}
 .image-facts .capture-progress>.ring-caption{font-size:13px;line-height:1.45;text-align:center;color:#e5e9ed}
 .capture-progress>.note{font-size:11px;line-height:1.4;text-align:center;color:#c0c8d0}
 .ring-cycle{font-size:12px!important;line-height:1.5;text-align:center;color:#c0c8d0}
 .ring-cycle strong{font-weight:500}
 .section-title h2{font-size:16px}
 .field{font-size:13px;color:#bdc5ce}
 .field input,.field select{font-size:15px;padding:11px}
 .note{font-size:12px;color:#b7c0c9}
 .target-controls .note{font-size:11px}
 .action-button{font-size:14px;padding:11px 12px}
 .action-button.primary{min-height:48px}
 .control-message{font-size:13px}
 dt{font-size:13px}dd{font-size:14px}
 .battery-head{font-size:14px}.sensor-grid span{font-size:12px}.sensor-grid strong{font-size:21px}
 .small-tag{font-size:10px;color:#cad1d9}
 .image-bottom{font-size:12px}.text-button{font-size:13px}
 .connection{font-size:13px}.rail-link{font-size:11px}.rail-link svg{width:24px;height:24px}
 .phase{font-size:12px}.eyebrow{font-size:11px}.language-switch button{font-size:12px}
 .update-note,footer{font-size:11px}
}
@media(min-width:1600px){
 .has-info-gutters .info-tile{min-height:120px;padding:20px;gap:12px}
 .has-info-gutters .info-tile>span:first-child{font-size:16px}
 .has-info-gutters .info-tile>strong{font-size:32px}
 .has-info-gutters .info-tile small{font-size:14px}
 .progress-ring{width:124px;height:124px}.progress-ring strong{font-size:36px}
 .progress-heading h2{font-size:17px}.progress-heading .small-tag{font-size:11px}
 .image-facts .capture-progress>.ring-caption{font-size:15px}
 .capture-progress>.note{font-size:13px}.ring-cycle{font-size:14px!important}
}

/* A delayed stack is observable; its weather cause is only a possibility. */
.phase.delayed{color:var(--amber);border-color:#e5bd7d66;background:#e5bd7d0c}
.capture-progress.delayed{border-color:#e5bd7d66!important}
.capture-progress.delayed .ring-fill{stroke:var(--amber);opacity:1}
.capture-progress.delayed .progress-ring strong,.capture-progress.delayed>.ring-caption{color:var(--amber)}
@media(min-width:1100px){
 .alert{font-size:15px;line-height:1.5;padding:12px 16px}
 .capture-stage .image-stage{height:calc(100vh - 265px - var(--alert-space,0px))}
 .equipment-sidebar{max-height:calc(100vh - 115px - var(--alert-space,0px))}
}

@media(min-width:1100px){
 .has-info-gutters .info-tile{flex-shrink:0}
 .has-info-gutters.compact-facts .image-facts{top:20px;gap:10px}
 .has-info-gutters.compact-facts .info-tile{min-height:90px;padding:12px;gap:8px}
 .has-info-gutters.compact-facts .progress-ring{width:96px;height:96px}
}

.alert.informational{color:#d0d6dc;border-color:#41484f;background:#141719}

/* Telescope site, lunar illumination and weather share the desktop status bar. */
.topbar{height:auto;min-height:82px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:24px;padding:10px 0}
.sky-status{display:flex;align-items:center;justify-content:center;gap:24px;min-width:0}
.sky-item{display:flex;align-items:center;gap:10px;min-width:0;padding-left:20px;border-left:1px solid #303438}
.sky-item>svg{width:24px;height:24px;flex-shrink:0;fill:none;stroke:#aeb8c2;stroke-width:1.5}
.sky-item>div{min-width:0;display:flex;flex-direction:column;gap:4px}
.sky-label{font-size:12px;color:#aeb8c2;line-height:1.2;white-space:nowrap}
.sky-label a{text-decoration:none}.sky-label a:hover{text-decoration:underline}
.sky-item strong{font-size:16px;font-weight:500;line-height:1.2;white-space:nowrap}
.sky-item small{font-size:12px;color:#b9c3cd;line-height:1.3;white-space:nowrap;font-variant-numeric:tabular-nums}
.sky-item.stale strong,.sky-item.stale small{color:var(--amber)}
@media(min-width:1100px){
 .capture-stage .image-stage{height:calc(100vh - 265px - var(--alert-space,0px) - var(--topbar-extra,0px))}
 .equipment-sidebar{max-height:calc(100vh - 115px - var(--alert-space,0px) - var(--topbar-extra,0px))}
}
@media(max-width:1550px){.topbar{gap:16px}.sky-status{gap:14px}.sky-item{gap:8px;padding-left:12px}.sky-item>svg{width:20px;height:20px}.sky-item strong{font-size:14px}.sky-item small{font-size:11px}.sky-label{font-size:11px}.top-actions{gap:8px}}
@media(max-width:1250px){.topbar{grid-template-columns:1fr auto}.sky-status{grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:24px}.sky-item:first-child{padding-left:0;border-left:0}.top-actions{grid-column:2;grid-row:1}}
@media(max-width:740px){.sky-status{flex-wrap:wrap;gap:14px}.sky-item{border-left:0;padding-left:0}.topbar .top-actions{width:auto}.topbar{gap:12px}}

/* The balcony snapshot stays in its own tile and uses the same image viewer. */
.image-facts .webcam-tile{gap:10px;padding:14px;align-items:stretch;text-align:center}
.webcam-tile h2{font-size:16px;font-weight:500;line-height:1.3}
.webcam-thumb{width:100%;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;border:1px solid #30363b;background:#050607;border-radius:4px;padding:0;overflow:hidden;opacity:1!important}
.webcam-thumb:not(:disabled){cursor:zoom-in}
.webcam-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.webcam-thumb span{font-size:12px;color:var(--muted);padding:12px}
.webcam-tile small{font-size:12px!important;line-height:1.4}
.webcam-tile .stale{color:var(--amber)!important}
.has-info-gutters.compact-facts .webcam-tile{padding:10px;gap:6px}
.has-info-gutters.compact-facts .webcam-tile h2{font-size:14px}
.has-info-gutters.compact-facts .webcam-tile small{font-size:11px!important}

.object-view .object-facts>div{padding:22px;border:1px solid #30363b}.object-view .object-facts dd{text-align:left}.status-view #telescope-panel .section-title h2{font-size:26px}
@media(max-width:1000px){.object-view .object-facts>div{padding:16px}}
.status-view .compact dt,.status-view .compact dd{font-size:18px}

#image-workspace .heading>div{min-width:0}#image-workspace .image-object-summary{margin:9px 0 0;font-size:16px;line-height:1.5;color:#c5cbd0;overflow-wrap:anywhere}#image-workspace .phase{flex-shrink:0}
@media(max-width:740px){#image-workspace .image-object-summary{font-size:13px}}

.stellarium-import{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.stellarium-import .action-button{width:100%;white-space:normal;line-height:1.4}
.stellarium-import .note{margin-top:8px}

/* Visible directions are edited independently of telescope controls. */
#pointing-status{margin:24px 0 30px;padding-bottom:24px;border-bottom:1px solid var(--line)}
#pointing-heading{font-size:18px;font-weight:500;margin:0}
.status-view .pointing-grid{margin:16px 0 12px}
.pointing-grid small{display:block;margin-top:10px;font-size:14px;color:var(--muted)}
#pointing-updated{margin:0;font-size:14px}
#pointing-status.stale #pointing-updated,.pointing-grid .uncalibrated{color:var(--amber)}
.horizon-layout{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(320px,1fr);gap:36px;padding:34px;align-items:start}
.horizon-figure{margin:0;min-width:0;position:sticky;top:20px;padding:20px;background:#171a1d;border:1px solid #30363b;border-radius:8px}
#horizon-compass{display:block;width:100%;max-width:470px;margin:0 auto;overflow:visible}
.compass-background{fill:#252a2f}.compass-grid{fill:none;stroke:#66717c;stroke-width:1;opacity:.55}
#horizon-sectors path{fill:#80cfad55;stroke:var(--green);stroke-width:1.5;stroke-linejoin:round}
#horizon-compass.inactive #horizon-sectors{opacity:.25}
.compass-direction{fill:#e4e9ef;font-size:15px;font-weight:600}.compass-degrees{fill:#aeb8c2;font-size:11px}.compass-center{fill:#e4e9ef}
.horizon-figure figcaption{display:flex;align-items:center;justify-content:center;gap:9px;font-size:14px;margin-top:22px;line-height:1.4}
.horizon-legend-swatch{width:13px;height:13px;background:#80cfad55;border:1px solid var(--green);border-radius:3px;flex-shrink:0}
.horizon-figure .note{text-align:center;font-size:14px;overflow-wrap:anywhere}
.horizon-editor{min-width:0}.horizon-editor h2{font-size:24px;font-weight:500}.settings-intro{font-size:16px;line-height:1.6;color:#c1cad3;margin:14px 0 22px}
.horizon-toggle{display:flex;align-items:center;gap:12px;font-size:16px;line-height:1.4;margin:0 0 24px;cursor:pointer}
.horizon-toggle input{accent-color:var(--green);width:19px;height:19px;flex-shrink:0}
.horizon-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 36px;gap:12px;align-items:end;margin-bottom:14px;padding:16px;border:1px solid #30363b;background:#1a1d20;border-radius:6px}
.horizon-row-title{grid-column:1/-1;font-size:14px;font-weight:500;color:#c6cfd8}.horizon-row .field{font-size:13px}.horizon-row input{font-size:17px}
.horizon-remove{padding:6px;font-size:24px;line-height:1;min-height:42px;align-self:end}
.horizon-editor .note{font-size:14px}.horizon-editor #horizon-empty{margin-bottom:18px}
.settings-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.settings-save{background:#375347;border-color:#5d8b75;color:#e6fff1}.settings-save:hover:not(:disabled){background:#466d5c}
.settings-actions .action-button{font-size:14px;padding:12px}.horizon-editor .control-message{font-size:14px}
.target-preview .target-horizon{line-height:1.6;color:#a8c4b8}.target-preview .target-horizon.outside{color:var(--amber)}
.rail-audio{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 3px;font-size:11px;color:var(--muted);border:0;border-left:2px solid transparent;background:transparent;width:100%}
.rail-audio svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.4}
.rail-audio:hover,.rail-audio.playing{color:var(--green);background:#80cfad0c;border-left-color:var(--green)}
.audio-playing-dot{display:none;position:absolute;top:8px;right:9px;width:5px;height:5px;border-radius:50%;background:var(--green)}.playing .audio-playing-dot{display:block}
#audio-dialog{width:min(560px,calc(100vw - 32px));height:fit-content;max-height:calc(100vh - 40px);border-radius:12px;background:#171a1d;overflow:auto}
#audio-dialog[open]{display:block}.audio-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px;border-bottom:1px solid var(--line)}.audio-header h2{font-size:24px;font-weight:500}.audio-header .quiet{font-size:24px;flex-shrink:0}
.audio-body{padding:24px}.audio-intro{font-size:16px;line-height:1.6;margin:0 0 22px;color:#c1cad3}.audio-track-field{font-size:14px}.audio-track-field select{font-size:16px}.audio-body .note{font-size:13px}.audio-body .action-button{font-size:14px;padding:12px 16px}
.audio-transport{display:flex;align-items:center;gap:22px;margin:22px 0}.audio-transport button{min-width:125px}.audio-volume{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:13px;flex:1;min-width:0;color:var(--muted)}.audio-volume input{grid-column:1/-1;grid-row:2;width:100%;margin:0;accent-color:var(--green)}.audio-volume output{color:var(--ink)}
#ambient-player{display:block;width:100%;margin:20px 0 12px;max-width:100%;color-scheme:dark}
.audio-options{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0 0;font-size:13px}.audio-options label{display:flex;align-items:center;gap:8px}.audio-options input{accent-color:var(--green)}
@media(max-width:740px){.rail-audio{flex:1;flex-direction:row;width:auto;gap:8px;padding:10px;border-left:0;border-bottom:2px solid transparent;font-size:10px}.rail-audio svg{width:18px;height:18px}.rail-audio:hover,.rail-audio.playing{border-bottom-color:var(--green);border-left:0}}
@media(max-width:450px){.tool-rail{flex-wrap:wrap}.rail-link,.rail-audio{min-width:60px}.audio-header,.audio-body{padding:18px}.audio-transport{gap:14px;flex-wrap:wrap}.audio-volume{min-width:150px}}
@media(max-width:1550px){.horizon-layout{gap:24px;padding:24px;grid-template-columns:minmax(200px,.75fr) minmax(300px,1fr)}.horizon-figure{padding:14px}.horizon-editor h2{font-size:22px}.horizon-row{padding:12px;gap:10px}}
@media(max-width:1200px){.horizon-layout{grid-template-columns:1fr}.horizon-figure{position:static;max-width:420px;width:100%;justify-self:center}}
@media(max-width:450px){.horizon-layout{padding:18px;gap:26px}.horizon-row{grid-template-columns:1fr 32px;gap:8px}.horizon-row .field{grid-column:1;font-size:12px}.horizon-remove{grid-column:2;grid-row:2/5;align-self:center}.horizon-row input{padding:8px;font-size:15px}.settings-actions .action-button{width:100%}}

/* Local drafts share the target resolver, without telescope action buttons. */
.planning-active .control-bottom,.planning-active [data-i18n="standardCapture"]{display:none}
.planning-content{padding:28px}.plan-scope{font-size:16px;line-height:1.6;color:#c1cad3;padding:16px 20px;background:#1a2420;border:1px solid #3b5146;border-radius:6px;margin:0 0 24px}.plan-fields{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}.planning-view .field{font-size:14px}.planning-view .field input{font-size:16px}.planning-view .note{font-size:13px}.plan-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:28px 0 16px}.plan-summary h2{font-size:21px;font-weight:500}.plan-summary>span{color:var(--muted);font-size:14px}.plan-entry{display:grid;grid-template-columns:minmax(0,1fr) 110px 110px 32px;align-items:center;gap:14px;border:1px solid #30363b;background:#1a1d20;padding:16px;border-radius:6px;margin-bottom:12px}.plan-entry-target{min-width:0}.plan-entry-target strong{display:block;font-size:18px;overflow-wrap:anywhere}.plan-entry-target small{display:block;font-size:12px;color:var(--muted);margin-top:8px;overflow-wrap:anywhere}.plan-remove{color:var(--amber);font-size:23px;background:transparent;padding:6px;border:0}.plan-empty{color:var(--muted);border:1px dashed #41454a;padding:28px;font-size:16px;line-height:1.7;border-radius:6px}.plan-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.plan-actions .action-button{font-size:14px;padding:12px}.planning-view .control-message{font-size:14px}.plan-results{margin-top:30px;border-top:1px solid #30363b}.plan-timeline-row{display:grid;grid-template-columns:25px 1fr;align-items:center;gap:8px;margin:8px 0;font-size:12px;color:var(--muted)}.plan-timeline-track{height:30px;background:#1a1d20;position:relative;overflow:hidden;border-radius:4px}.plan-timeline-bar{position:absolute;height:100%;display:block;padding:7px 9px;background:#375347;color:#e6fff1;overflow:hidden;white-space:nowrap;box-sizing:border-box}.plan-visibility-card{border:1px solid #30363b;background:#171a1d;border-radius:6px;padding:20px;margin-top:18px}.plan-visibility-card h3{font-size:19px;font-weight:500;margin:0}.plan-visibility-status{color:var(--green);font-size:14px;line-height:1.6}.plan-visibility-status.restricted,.plan-overlap{color:var(--amber)}.plan-overlap{font-size:14px;line-height:1.6}.plan-alt-chart{display:block;width:100%;margin-top:16px;max-height:180px}.plan-chart-grid{stroke:#343a40;stroke-width:1}.plan-alt-chart text{fill:#b6bec7;font-size:12px}.plan-chart-line{stroke-width:3;stroke-linecap:round}.plan-chart-line.visible{stroke:var(--green)}.plan-chart-line.restricted{stroke:var(--amber)}.plan-chart-line.unchecked{stroke:#acb4bd}.plan-target-add{padding-top:16px;margin-top:16px;border-top:1px solid #41454a}.plan-target-add .note{font-size:13px;margin-top:0}.plan-time-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.plan-target-add>.action-button{width:100%}
@media(max-width:1250px){.plan-entry{grid-template-columns:minmax(0,1fr) 100px 100px 28px;gap:10px;padding:12px}.planning-content{padding:22px}}
@media(max-width:1000px){.plan-entry{grid-template-columns:1fr 1fr 30px}.plan-entry-target{grid-column:1/-1}.plan-fields{grid-template-columns:1fr}.planning-content{padding:18px}.plan-scope{padding:14px;font-size:14px}}

.planning-active #preview-horizon{display:none}

.image-facts .image-pointing-tile{align-items:stretch;gap:10px;text-align:center}
.image-pointing-tile h2{font-size:16px;line-height:1.4;font-weight:500;margin:0;color:#d0d6dc}
.image-pointing-tile>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
.image-pointing-tile>div>span{font-size:14px;color:var(--muted)}
.image-pointing-tile>div>strong{font-size:24px;line-height:1.3;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.image-pointing-tile>small{font-size:12px!important;line-height:1.5}
.image-pointing-tile.stale>small,.image-pointing-tile .uncalibrated{color:var(--amber)}
.has-info-gutters.compact-facts .image-pointing-tile{gap:6px}
.has-info-gutters.compact-facts .image-pointing-tile h2{font-size:14px}
.has-info-gutters.compact-facts .image-pointing-tile>div>strong{font-size:22px}
@media(max-width:740px){.image-pointing-tile{grid-column:1/-1}.image-pointing-tile>div{justify-content:center;gap:20px}}
.has-info-gutters .image-pointing-tile,.has-info-gutters.compact-facts .image-pointing-tile{min-height:0;padding:8px 12px;gap:3px}
.has-info-gutters .image-pointing-tile h2{font-size:14px}
.has-info-gutters .image-pointing-tile>div>strong,.has-info-gutters.compact-facts .image-pointing-tile>div>strong{font-size:20px}
.has-info-gutters .image-pointing-tile>small{font-size:11px!important;line-height:1.4}

/* A top view shows configured directions, never an invented camera field of view. */
.image-stack-summary>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.image-stack-summary span{font-size:13px;line-height:1.4;color:var(--muted)}
.image-stack-summary strong{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums}
.has-info-gutters .image-stack-summary,.has-info-gutters.compact-facts .image-stack-summary{min-height:0;padding:12px;gap:6px}
.live-sight-compass{display:block;width:100%;max-width:180px;align-self:center;flex-shrink:0}
.live-sight-background{fill:#30282a}.live-sight-ring{fill:none;stroke:#697079;stroke-width:2}
#live-sight-sectors path{fill:#80cfad55;stroke:none}.live-sight-edge{stroke:var(--green);stroke-width:2;stroke-dasharray:5 4}
.live-sight-cross{fill:none;stroke:#afb8c2;stroke-width:1;opacity:.25}
.live-sight-cardinal{fill:#c5cdd5;font-size:20px;font-weight:600;text-anchor:middle}
.live-sight-base{fill:#151b20;stroke:#87939e;stroke-width:2}.live-sight-body{fill:#d4dbe1;stroke:#f4f7fa;stroke-width:2}
.live-sight-lens{stroke:#6c7985;stroke-width:4}.live-sight-axis,.live-sight-center{fill:#87939e}
.live-sight-ray{fill:none;stroke:var(--green);stroke-width:4}.live-sight-arrow{fill:var(--green)}
.live-sight-distance-arc{fill:none;stroke:var(--green);stroke-width:6;stroke-linecap:round}
.live-sight-compass.restricted .live-sight-ray,.live-sight-compass.restricted .live-sight-distance-arc{stroke:var(--amber)}
.live-sight-compass.restricted .live-sight-arrow{fill:var(--amber)}
.live-sight-compass.inactive .live-sight-background{fill:#252a2f}
.live-sight-compass.inactive .live-sight-ray,.live-sight-compass.stale .live-sight-ray{stroke:#a2a7ad;stroke-dasharray:6 5}
.live-sight-compass.inactive .live-sight-arrow,.live-sight-compass.stale .live-sight-arrow{fill:#a2a7ad}
.live-sight-compass.stale #live-sight-sectors,.live-sight-compass.stale .live-sight-distance-arc{opacity:.45}
.image-pointing-tile>.live-sight-distance{border-bottom:1px solid #ffffff12;padding-bottom:5px}
.image-pointing-tile>.live-sight-distance>span{font-size:12px}
.live-sight-status{font-size:12px;line-height:1.4;color:var(--green);margin:2px 0 4px;overflow-wrap:anywhere}
.live-sight-status.restricted,.stale .live-sight-status{color:var(--amber)}
.has-info-gutters .image-facts-right .capture-progress{min-height:0;padding:12px;gap:6px}
.has-info-gutters .image-facts-right .progress-ring{width:96px;height:96px}
.has-info-gutters.compact-facts .live-sight-compass{max-width:120px}
.has-info-gutters.compact-facts #image-size,.has-info-gutters.compact-facts #integration{font-size:21px;line-height:1.3}
.has-info-gutters.compact-facts .image-stack-summary{gap:4px}
.has-info-gutters.compact-facts .image-stack-summary>div{gap:6px}
.has-info-gutters.compact-facts .image-stack-summary span{font-size:11px}
.has-info-gutters.compact-facts .image-stack-summary strong{font-size:20px}
.has-info-gutters.compact-facts .image-facts-right .capture-progress{gap:5px;padding:10px}
.has-info-gutters.compact-facts .image-facts-right .progress-heading{gap:4px}
.has-info-gutters.compact-facts .image-facts-right .progress-ring{width:68px;height:68px}
.has-info-gutters.compact-facts .image-facts-right .progress-ring strong{font-size:24px}
.has-info-gutters.compact-facts .image-facts-right .capture-progress>.ring-caption,.has-info-gutters.compact-facts .image-facts-right .capture-progress>.note,.has-info-gutters.compact-facts .image-facts-right .ring-cycle{font-size:11px!important}
@media(max-width:740px){.image-stack-summary,.image-pointing-tile{grid-column:1/-1}.live-sight-compass{max-width:210px}.image-stack-summary strong{font-size:22px}.image-pointing-tile>.live-sight-distance{justify-content:space-between}.image-pointing-tile{padding:16px}}
@media(min-width:1600px) and (min-height:1000px){.has-info-gutters.compact-facts .live-sight-compass{max-width:180px}}

.plan-automation{margin-top:28px;padding:22px;background:#1b2420;border:1px solid #3b5146;border-radius:6px}.plan-automation h2{font-size:21px;font-weight:500;margin:0 0 14px}.plan-run-entries{padding-left:20px;color:#c7d3ca;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.plan-auto-choice{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.5;margin:14px 0}.plan-auto-choice input{accent-color:var(--green);margin-top:4px}.plan-automation .control-message{line-height:1.6}.plan-automation .note{line-height:1.6}

/* Compact planning: primary actions and diagnostics stay together; charts are optional. */
.planning-view .heading{padding:10px 14px}.planning-view h1{font-size:21px}.planning-content{padding:14px}
.plan-scope{font-size:12px;line-height:1.4;padding:0;background:none;border:0;margin:0 0 10px;color:var(--muted)}
.plan-fields{grid-template-columns:minmax(0,1.4fr) minmax(170px,1fr);gap:12px}.planning-view .field{font-size:11px;gap:3px}.planning-view .field input{font-size:14px;padding:7px 8px}.planning-view .note{font-size:11px;margin-top:6px;line-height:1.45}
.plan-summary{margin:14px 0 8px;gap:8px}.plan-summary h2{font-size:16px}.plan-summary>span{font-size:12px}.plan-entry{grid-template-columns:minmax(0,1fr) 105px 105px 24px;gap:8px;padding:8px 10px;margin-bottom:6px}.plan-entry-target{grid-column:auto}.plan-entry-target strong{font-size:14px;line-height:1.3}.plan-entry-target small{font-size:10px;margin-top:2px}.plan-entry-check,.plan-entry-adjustment{font-size:11px;line-height:1.35;margin:3px 0 0;overflow-wrap:anywhere}.plan-entry-check{color:var(--green)}.plan-entry-check.restricted{color:var(--amber)}.plan-entry-adjustment{color:#a9d0ff}.plan-remove{font-size:20px;padding:3px}
.plan-actions{gap:6px;margin-top:10px;align-items:center}.plan-actions .action-button{font-size:12px;padding:8px 10px}.plan-shorten-choice{margin:0;font-size:11px;gap:5px}.plan-actions .plan-shorten-choice{order:5}.planning-view .control-message{font-size:12px;margin-top:7px;line-height:1.4}
.plan-automation{position:relative;margin-top:12px;padding:12px}.plan-automation h2{font-size:16px;margin:0 0 4px}.plan-automation>.plan-actions{margin-top:7px}.plan-automation>.note{margin-top:4px}.plan-rules,.plan-run-log,.plan-curves{font-size:11px;color:var(--muted)}.plan-rules summary,.plan-run-log summary,.plan-curves summary{cursor:pointer;padding:4px 0}.plan-rules[open]{padding-bottom:8px}.plan-rules .note{max-width:900px}.plan-run-entries{margin:3px 0 0;padding-left:18px;font-size:11px;line-height:1.5;max-height:130px;overflow:auto}.plan-results{margin-top:14px}.plan-results .plan-summary{margin:10px 0 4px}.plan-timeline-row{margin:4px 0;grid-template-columns:18px 1fr}.plan-timeline-track{height:22px}.plan-timeline-bar{padding:4px 6px;font-size:11px}#plan-timeline>.note{margin:4px 0}.plan-curves{margin-top:7px;border-top:1px solid #30363b}.plan-curves>summary{font-size:12px;padding:7px 0}.plan-visibility-card{padding:12px;margin-top:8px}.plan-visibility-card h3{font-size:15px}.plan-visibility-status,.plan-overlap{font-size:12px;margin:6px 0;line-height:1.4}.plan-alt-chart{max-height:130px;margin-top:8px}
.planning-active .equipment-sidebar .observation{display:none}.planning-active .plan-target-add{padding-top:10px;margin-top:10px}.planning-active .plan-target-add .note{font-size:11px}.planning-active .plan-auto-choice{font-size:12px;margin:8px 0}.planning-active .plan-target-add .field input{padding:8px}.planning-active .plan-target-add>.action-button{margin-top:6px}
@media(min-width:1100px){.planning-active .layout{grid-template-columns:minmax(0,1fr) 300px}.plan-rules{position:absolute;right:12px;top:10px;max-width:48%}.plan-rules[open]{position:static;max-width:none}}
@media(max-width:700px){.planning-content{padding:12px}.plan-fields{grid-template-columns:1fr 1fr}.plan-entry{grid-template-columns:1fr 1fr 24px}.plan-entry-target{grid-column:1/-1}.plan-shorten-choice{flex-basis:100%}.plan-actions .action-button{font-size:11px}.plan-automation{padding:10px}.plan-summary h2{font-size:15px}}

/* Device controls with the supplied telescope image and a matching closed silhouette. */
.telescope-active .layout{grid-template-columns:minmax(0,1fr)}.telescope-active .equipment-sidebar{display:none}.telescope-view{min-height:0}.telescope-view .heading{padding:14px 22px}.telescope-view h1{font-size:23px}.telescope-card{display:grid;grid-template-columns:330px minmax(0,1fr);gap:30px;padding:24px;max-width:980px;margin:auto}.telescope-illustration{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:6px;background:#171a20;padding:16px}.telescope-art{width:100%;max-width:300px}.telescope-art.stale{opacity:.4}.telescope-arm-open,.telescope-arm-question{display:none}.telescope-art[data-arm="open"] .telescope-arm-open,.telescope-art[data-arm="unknown"] .telescope-arm-question{display:block}.telescope-art[data-arm="open"] .telescope-arm-closed{display:none}.telescope-art[data-arm="unknown"] .telescope-arm-closed{opacity:.25}.telescope-illustration>strong{font-size:19px;text-align:center}.telescope-illustration>p{font-size:13px;color:var(--muted);text-align:center;margin:8px 0 0}.telescope-device-controls{align-self:center}.telescope-device-controls h2{font-size:23px;margin:0 0 18px}.telescope-device-facts{display:flex;gap:34px;margin-bottom:20px}.telescope-device-facts span{font-size:12px;color:var(--muted);display:block}.telescope-device-facts strong{font-size:19px;display:block;margin-top:5px}.telescope-main-actions,.telescope-role-actions{display:flex;flex-wrap:wrap;gap:8px}.telescope-main-actions .action-button{font-size:15px;padding:12px 16px;min-width:105px}.telescope-role-actions{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.telescope-role-actions .action-button{font-size:13px}.telescope-device-controls .note{font-size:12px;line-height:1.5;margin-top:10px}.telescope-device-controls .control-message{font-size:13px}.telescope-main-actions .danger:before{content:"■";margin-right:7px}
.telescope-connection{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:6px;background:#171c20;padding:14px 16px;margin-bottom:18px}.telescope-connection-dot{width:12px;height:12px;border-radius:50%;background:#85909a;flex:none;margin-top:5px}.telescope-connection[data-state="online"]{border-color:#385f50}.telescope-connection[data-state="online"] .telescope-connection-dot{background:#80cfad}.telescope-connection[data-state="offline"]{border-color:#77464b}.telescope-connection[data-state="offline"] .telescope-connection-dot{background:#f07880}.telescope-connection[data-state="unknown"] .telescope-connection-dot{background:#e4b46e}.telescope-connection-label{display:block;font-size:12px;color:var(--muted)}.telescope-connection strong{display:block;font-size:22px;margin-top:3px}.telescope-connection p{font-size:12px;color:var(--muted);margin:5px 0 0;line-height:1.4}
@media(max-width:740px){.telescope-card{grid-template-columns:1fr;padding:16px;gap:16px}.telescope-art{max-width:190px}.telescope-illustration{padding:10px}.telescope-device-controls h2{font-size:19px;margin-bottom:12px}.telescope-view .heading{padding:14px}.telescope-main-actions .action-button{font-size:13px;padding:10px 12px;min-width:0}}

/* Readable target editor: separate selection, checked target and observation. */
.equipment-sidebar .panel{padding:18px;background:#1b1e21;border-color:#3d444b;border-radius:10px}
.equipment-sidebar .section-title{margin-bottom:14px;align-items:center}
.equipment-sidebar .section-title h2{font-size:24px;line-height:1.25}
.control-panel .target-clear{font-size:16px;padding:10px 12px;min-height:44px;white-space:nowrap}
.control-panel .field-grid{gap:14px;grid-template-columns:160px minmax(0,1fr)}
.control-panel .coordinate-grid{grid-template-columns:1fr 1fr}
.control-panel .field{font-size:16px;line-height:1.4;gap:7px;color:#d1d8de}
.control-panel .field input,.control-panel .field select{font-size:20px;min-height:50px;padding:11px 12px;border-color:#58616a;background:#101416;border-radius:6px}
.control-panel .target-controls{margin-top:14px;gap:14px}
.control-panel .action-button{font-size:18px;line-height:1.35;min-height:50px;padding:12px 16px;border-radius:6px}
.control-panel .action-button:disabled{opacity:1;color:#bac1c8;background:#303439;border-color:#434b53}
.control-panel .action-button.primary:disabled{background:#4c3033;color:#d2babe;border-color:#604347}
.control-panel .target-controls .note,.control-panel .note{font-size:15px;line-height:1.5;color:#c1cad3}
.control-panel .stellarium-import{margin-top:12px;padding-top:12px;border-top-color:#414951}
.control-panel .stellarium-import .note{font-size:15px;line-height:1.5;margin-top:8px}
.control-panel .target-preview{margin-top:16px;padding:14px;background:#18241f;border-color:#547a68;gap:8px;align-items:stretch;flex-direction:column}
.control-panel h3{font-size:16px;font-weight:600;line-height:1.4;margin:0;color:#d5ddd8}
.control-panel .target-preview strong{font-size:24px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.control-panel .target-preview .target-horizon{font-size:17px;line-height:1.5}
.target-details{border-top:1px solid #80cfad30;padding-top:10px;font-size:16px;color:#c6d0cc}
.target-details summary{cursor:pointer;line-height:1.5}
.target-details span,.target-details small{display:block;margin-top:8px;overflow-wrap:anywhere}
.control-panel .target-details span{font-size:17px;line-height:1.5}
.control-panel .target-details small{font-size:15px;line-height:1.5}
.target-observation-actions{border-top:1px solid #414951;margin-top:12px;padding-top:12px}
.target-observation-actions>h3{font-size:18px;color:#e7ebee}
.target-observation-actions>.note{margin:8px 0 12px}
.control-panel .control-bottom{margin-top:0;gap:10px}
.control-panel .control-message{font-size:17px;line-height:1.5;margin-top:16px}
.equipment-sidebar .observation dt{font-size:17px}.equipment-sidebar .observation dd{font-size:20px}
.equipment-sidebar .observation .note{font-size:16px;line-height:1.6;color:#c1cad3}
.equipment-sidebar .small-tag{font-size:12px}
.equipment-sidebar .update-note{font-size:14px;line-height:1.6}
.planning-active .target-observation-actions{display:none}
@media(min-width:1100px){.console:not(.telescope-active) .layout{grid-template-columns:minmax(0,1fr) 360px;gap:16px}.equipment-sidebar{max-height:calc(100vh - 100px - var(--topbar-extra,0px) - var(--alert-space,0px))}}
@media(min-width:1600px){.console:not(.telescope-active) .layout{grid-template-columns:minmax(0,1fr) 380px}}
@media(min-width:741px) and (max-width:1099px){.console:not(.telescope-active) .layout{grid-template-columns:minmax(0,1fr) 360px}.control-panel .field-grid{grid-template-columns:1fr}.control-panel .coordinate-grid{grid-template-columns:1fr 1fr}}
@media(max-width:740px){.control-panel .field-grid{grid-template-columns:1fr}.control-panel .coordinate-grid{grid-template-columns:1fr 1fr}.control-panel .control-bottom{flex-direction:column}.control-panel .control-bottom .action-button{width:100%}.equipment-sidebar .section-title h2{font-size:23px}}
@media(max-width:450px){.control-panel .coordinate-grid{grid-template-columns:1fr}.equipment-sidebar .panel{padding:16px}.equipment-sidebar .section-title{gap:10px;flex-wrap:wrap}.control-panel .target-clear{font-size:15px;padding:10px}.control-panel .action-button{font-size:17px}}

/* Read-only archive, separate from the live image and target controls. */
.archive-active .layout{grid-template-columns:minmax(0,1fr)!important}.archive-active .equipment-sidebar{display:none}
.archive-view h1{font-size:28px}.archive-view .heading>.action-button{font-size:17px;min-height:48px}
.archive-content{padding:24px}.archive-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.archive-summary>div{padding:18px;border:1px solid #3d4947;border-radius:8px;background:#192320}
.archive-summary span{display:block;font-size:16px;color:#c4cfca}.archive-summary strong{display:block;font-size:30px;margin-top:10px;font-variant-numeric:tabular-nums}
.archive-summary.stale>div{border-color:#775d38}.archive-summary.stale strong{color:var(--amber)}
.archive-content>.note{font-size:15px;line-height:1.5}.archive-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:24px 0}
.archive-toolbar .field{font-size:16px;min-width:240px}.archive-toolbar input{font-size:18px;min-height:48px}.archive-toolbar .note{font-size:14px}.archive-view .control-message{font-size:17px}
.archive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px}.archive-card{border:1px solid #3d444b;border-radius:10px;overflow:hidden;background:#1b1e21;min-width:0}
.archive-preview{display:flex;align-items:center;justify-content:center;width:100%;height:230px;background:#050708;border:0;padding:0;opacity:1!important;color:#c2cbd3;cursor:zoom-in}
.archive-preview:disabled{cursor:default}.archive-preview img{width:100%;height:100%;object-fit:contain}.archive-placeholder{padding:20px;font-size:16px}
.archive-card-body{padding:20px}.archive-card h2{font-size:24px;margin:12px 0;overflow-wrap:anywhere}.archive-card .small-tag{font-size:12px}
.archive-date,.archive-counts{font-size:15px;color:#bac4ce;line-height:1.5}.archive-size{font-size:26px}.archive-downloads{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.archive-download{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-size:15px;min-height:42px}.archive-files-button{font-size:16px;width:100%;min-height:46px;background:#242c31}
#archive-files-dialog{width:min(900px,calc(100vw - 32px));height:auto;max-height:85vh;background:#171c20;border-radius:12px;overflow:hidden}
.archive-files-header{flex-shrink:0;padding:22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #3d444b}.archive-files-header h2{font-size:24px}.archive-files-header p{font-size:18px;margin:8px 0 0}
.archive-files-body{padding:22px;overflow:auto}.archive-files-body .field{font-size:16px}.archive-files-body select{font-size:18px;min-height:46px}
.archive-file-row{display:grid;grid-template-columns:minmax(0,1fr) 95px auto;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid #343c42}.archive-file-row>span{font-size:16px;overflow-wrap:anywhere}.archive-file-row small{font-size:14px;color:#b9c4ce}#archive-files-more{margin-top:16px;font-size:16px}
@media(max-width:1000px){.archive-summary{grid-template-columns:1fr 1fr}.archive-toolbar{flex-wrap:wrap}.archive-toolbar .field{width:100%}}
@media(max-width:740px){.archive-content{padding:16px}.archive-view .heading{flex-wrap:wrap}.archive-summary{gap:10px}.archive-summary>div{padding:14px}.archive-summary span{font-size:14px}.archive-summary strong{font-size:25px}.archive-grid{grid-template-columns:1fr}.archive-file-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.archive-file-row small{grid-column:1}.archive-file-row a{grid-column:2;grid-row:1/3}}

/* Dedicated desktop columns keep metadata beside the photograph at every image ratio. */
@media(min-width:1100px){
 .has-info-gutters.capture-stage{display:grid;grid-template-columns:clamp(160px,12.5vw,230px) minmax(0,1fr) clamp(160px,12.5vw,230px);gap:12px;padding:12px}
 .has-info-gutters .image-stage{grid-column:2;grid-row:1;min-width:0;padding:0}
 .has-info-gutters .image-facts{position:static;width:auto;height:100%;min-height:0;max-height:calc(100vh - 265px - var(--alert-space,0px) - var(--topbar-extra,0px));overflow-y:auto;scrollbar-width:thin;grid-row:1;justify-content:flex-start;gap:10px;pointer-events:auto;padding:1px}
 .has-info-gutters .image-facts-left{grid-column:1}
 .has-info-gutters .image-facts-right{grid-column:3}
 .has-info-gutters .info-tile,.has-info-gutters.compact-facts .info-tile{min-height:80px;padding:12px 10px;gap:8px}
 .has-info-gutters .info-tile>strong{font-size:clamp(21px,1.5vw,28px);overflow-wrap:anywhere}
 .has-info-gutters .image-stack-summary,.has-info-gutters.compact-facts .image-stack-summary{min-height:82px;align-items:stretch}
 .has-info-gutters .webcam-tile{align-items:stretch;min-height:0}
 .has-info-gutters .image-pointing-tile,.has-info-gutters.compact-facts .image-pointing-tile{min-height:0;align-items:stretch;padding:12px 10px}
 .has-info-gutters .live-sight-compass,.has-info-gutters.compact-facts .live-sight-compass{max-width:180px}
 .control-panel .field-grid{grid-template-columns:1fr;gap:12px}
 .control-panel .field input,.control-panel .field select{font-size:19px}
}

@media(min-width:1100px){
 .has-info-gutters .movement-panel{position:relative;grid-column:2;grid-row:1;align-self:center;justify-self:center;left:auto;top:auto;transform:none;width:min(510px,100%);padding:18px}
}
@media(min-width:1100px) and (max-width:1399px){
 .has-info-gutters.compact-facts .info-tile{min-height:72px;padding:10px 8px;gap:6px}
 .has-info-gutters.compact-facts .info-tile>strong{font-size:18px;overflow-wrap:normal}
 .has-info-gutters.compact-facts #image-size,.has-info-gutters.compact-facts #integration{font-size:18px;white-space:nowrap}
 .has-info-gutters.compact-facts .image-stack-summary{min-height:76px}
 .has-info-gutters.compact-facts .webcam-tile,.has-info-gutters.compact-facts .image-pointing-tile{min-height:0}
}

/* Read-only presentation; permissions are independently enforced by the viewer listener. */
.access-badge{font-size:11px;letter-spacing:.4px;padding:7px 9px;border:1px solid #547765;border-radius:5px;color:#a8dec0;white-space:nowrap}
.operator-mode .access-badge{color:#efd095;border-color:#806a43}
.viewer-mode .control-panel,.viewer-mode #image-pointing,
.viewer-mode #location-status,.viewer-mode .rail-link[href="#telescope-workspace"],
.viewer-mode .rail-link[href="#archive-workspace"],.viewer-mode .rail-link[href="#planning-workspace"],
.viewer-mode .rail-link[href="#settings-workspace"],.viewer-mode #telescope-workspace,
.viewer-mode #archive-workspace,.viewer-mode #planning-workspace,.viewer-mode #settings-workspace{display:none!important}
@media(min-width:741px){.viewer-mode .console .layout{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:1250px){.access-badge{font-size:10px;white-space:normal;max-width:135px;text-align:center}}

@media(max-width:740px){
 .topbar{display:flex;flex-wrap:wrap;align-items:center}
 .topbar .sky-status{order:1;width:100%;min-width:0;flex-wrap:wrap;gap:12px}
 .topbar .top-actions{order:2;width:100%;min-width:0;flex-wrap:wrap;gap:8px}
 .access-badge{width:100%;max-width:none;box-sizing:border-box;white-space:normal;text-align:center}
 .topbar .sky-item{min-width:0;max-width:100%}.topbar .sky-item>div{min-width:0}
}


/* Visitor observation ticker: current telemetry, with a local pause and a static reduced-motion view. */
.viewer-ticker{display:flex;align-items:center;gap:12px;height:48px;margin-top:12px;padding:0 10px 0 0;overflow:hidden;border:1px solid #66563d;border-radius:6px;background:#211d16;color:#efd095;min-width:0}
.viewer-ticker[hidden],.operator-mode .viewer-ticker{display:none!important}
.viewer-ticker[data-state="initialized"]{border-color:#3e5b76;background:#142230;color:#b5d8f5}
.viewer-ticker[data-state="running"]{border-color:#416751;background:#13251c;color:#b0e5c4}
.viewer-ticker[data-state="checking"],.viewer-ticker[data-state="unavailable"]{border-color:#454c53;background:#1b1f24;color:#c2cad2}
.viewer-ticker-window{flex:1;min-width:0;overflow:hidden}
.viewer-ticker-track{display:flex;width:max-content;min-width:200%;animation:viewer-ticker-scroll 28s linear infinite}
.viewer-ticker-group{display:flex;flex:1;align-items:center;justify-content:space-around;gap:clamp(48px,8vw,120px);padding-right:clamp(48px,8vw,120px)}
.viewer-ticker-copy{display:inline-flex;align-items:center;gap:14px;white-space:nowrap;font-size:18px;font-weight:600;letter-spacing:.3px}
.viewer-ticker-copy::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex-shrink:0;opacity:.8}
.viewer-ticker button{flex-shrink:0;width:32px;height:32px;padding:0;border:1px solid currentColor;border-radius:4px;background:transparent;color:inherit;font-size:16px;cursor:pointer}
.viewer-ticker button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.viewer-ticker.is-paused .viewer-ticker-track{animation-play-state:paused}
@keyframes viewer-ticker-scroll{to{transform:translateX(-50%)}}
@media(min-width:1100px){
 .viewer-mode .capture-stage .image-stage{height:calc(100vh - 325px - var(--alert-space,0px) - var(--topbar-extra,0px))}
 .viewer-mode .has-info-gutters .image-facts{max-height:calc(100vh - 325px - var(--alert-space,0px) - var(--topbar-extra,0px))}
 .viewer-mode .equipment-sidebar{max-height:calc(100vh - 160px - var(--alert-space,0px) - var(--topbar-extra,0px))}
}
@media(max-width:740px){.viewer-ticker{height:44px;gap:8px}.viewer-ticker-copy{font-size:16px;gap:10px}}
@media(prefers-reduced-motion:reduce){
 .viewer-ticker-track{animation:none;transform:none;min-width:0;width:100%}
 .viewer-ticker-group{width:100%;padding:0;justify-content:center;gap:0}
 .viewer-ticker-group+ .viewer-ticker-group,.viewer-ticker-copy+ .viewer-ticker-copy,.viewer-ticker button{display:none}
 .viewer-ticker-copy{font-size:clamp(12px,3.7vw,18px);letter-spacing:0;gap:8px}
 .viewer-ticker{padding:0 8px}
}

/* Visitors have only an on/off switch for the fixed background track. */
.viewer-mode #audio-dialog{display:none!important}
.rail-audio #viewer-audio-hint{font-size:8px;line-height:1.35;max-width:54px;color:#efd095}
.operator-mode #viewer-audio-hint{display:none!important}
@media(max-width:740px){.rail-audio #viewer-audio-hint{max-width:85px}}
