:root{color-scheme:dark;--bg:#09111e;--panel:#101c2d;--panel-alt:#142237;--surface:#18273d;--line:#263952;--muted:#8ea4be;--text:#edf5ff;--blue:#75b9f0;--cyan:#86d2e4;--orange:#e8aa77;--soft:#a9c1df;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}button:disabled{opacity:.4;cursor:default}.app{display:flex;min-height:100vh;height:100dvh;overflow:hidden}.sidebar{width:276px;flex:none;background:#101b2b;border-right:1px solid #233750;display:flex;flex-direction:column;padding:24px 17px 18px;z-index:30}.brand{display:flex;align-items:center;gap:12px;margin-bottom:39px;padding:0 6px}.brand-symbol{font-family:Georgia,serif;color:#8bc7e3;font-size:42px;line-height:1}.brand strong{display:block;letter-spacing:.12em;font-size:18px;line-height:1.1}.brand strong span{font-family:Georgia,serif;font-size:15px;font-weight:400;letter-spacing:0;text-transform:none;color:#b5c8de}.brand small{display:block;font-size:9px;letter-spacing:.22em;margin-top:5px;color:#83a1be}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:17px;letter-spacing:-.02em;padding:0 4px 18px}.count{font-size:12px;color:#b3cce4;font-weight:700;background:#223751;padding:4px 9px;border-radius:30px}.search-wrap{display:flex;align-items:center;gap:5px;background:#0d1828;border:1px solid #31435b;border-radius:10px;padding:0 12px;margin-bottom:23px}.search-icon{font-size:24px;color:#91accb}.search-wrap input{border:0;outline:0;background:transparent;color:var(--text);width:100%;height:42px;font-size:13px}.search-wrap input::placeholder{color:#7891ad}.field-caption{color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-bottom:9px}.select-select{appearance:none;background:#142339;color:#dceafb;border:1px solid #314661;border-radius:8px;height:38px;padding:0 32px 0 11px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%239bb7d0' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;font-size:12px;width:100%}.results-head{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:27px 4px 12px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#9bb4cc}.photo-list{min-height:0;overflow:auto;flex:1;padding:12px 0;display:flex;flex-direction:column;gap:7px}.photo-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid transparent;background:transparent;color:#dfebf8;border-radius:10px;padding:8px;transition:.18s}.photo-item:hover,.photo-item.selected{background:#1b3049;border-color:#345576}.photo-item img{width:53px;height:43px;object-fit:cover;border-radius:5px;background:#29394f}.photo-item .name{display:block;font-size:12px;font-weight:700;line-height:1.35}.photo-item .meta{display:block;font-size:10px;color:#9cb2ca;margin-top:4px}.photo-item .dot{margin-left:auto;width:6px;height:6px;flex:none;border-radius:100%;background:var(--blue)}.empty-list{font-size:12px;color:var(--muted);padding:18px 8px;line-height:1.55}.sidebar-footer{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:20px 3px 0}.small-dot,.status-dot{height:7px;width:7px;display:inline-block;background:#77c2b5;border-radius:50%;box-shadow:0 0 8px #77c2b557;flex:none}.sidebar-footer strong,.sidebar-footer small{display:block}.sidebar-footer strong{font-size:12px}.sidebar-footer small{font-size:10px;color:var(--muted);margin-top:3px}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:66px;flex:none;background:#111e2f;border-bottom:1px solid #293c53;display:flex;align-items:center;justify-content:space-between;padding:0 23px;gap:15px}.page-title{display:flex;align-items:center;gap:14px;white-space:nowrap}.page-title strong{font-size:16px;letter-spacing:.01em}.breadcrumb{font-size:12px;color:#89a6c4}.separator{color:#57708d}.topbar-right{display:flex;align-items:center;gap:14px}.pill{display:flex;align-items:center;gap:7px;font-size:11px;color:#b2cadf;background:#172d3a;border:1px solid #2b4c54;border-radius:30px;padding:6px 10px;white-space:nowrap}.version{font-size:11px;color:#8ba5c1}.workspace{padding:16px;flex:1;min-height:0;display:flex;flex-direction:column;gap:13px}.toolbar{display:flex;align-items:end;gap:15px;flex-wrap:wrap}.control-group{display:flex;gap:7px;flex-direction:column}.control-title{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#91a9bf;font-weight:700}.segmented{border:1px solid #2d4561;background:#142339;display:flex;gap:2px;padding:3px;border-radius:9px}.segmented button{background:transparent;color:#9eb5cb;border:0;border-radius:6px;font-size:11px;padding:8px 11px;white-space:nowrap}.segmented button.active{background:#275579;color:white;box-shadow:0 1px 6px #0005}.bg-control{width:170px}.bg-control select{height:36px}.opacity-control{width:131px}.opacity-control label{display:flex;justify-content:space-between}.opacity-control output{color:#b6d9f2}input[type=range]{accent-color:#72b9e9;height:36px;width:100%}.ghost-button{background:#142339;color:#c6e0f5;border:1px solid #304760;border-radius:8px;height:36px;padding:0 13px;white-space:nowrap;font-size:12px}.ghost-button:hover{background:#22405f}.sky-panel{flex:1;min-height:280px;position:relative;border-radius:12px;overflow:hidden;border:1px solid #2b3f58;background:#030b14;isolation:isolate}#aladin-lite-div{width:100%;height:100%}.aladin-lite-div{width:100%;height:100%}.sky-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:5}.sky-label{position:absolute;z-index:5;pointer-events:auto;transform:translate(-50%,-50%);background:rgba(8,24,45,.84);color:#e5f4ff;border:1px solid #79b7e9;border-radius:4px;font-weight:700;font-size:10px;padding:4px 7px;box-shadow:0 1px 9px #000b;white-space:nowrap;transition:background .15s}.sky-label:hover{background:#2c6794}.sky-label.is-demo{border-color:#dcad80}.hud{position:absolute;pointer-events:none;z-index:4;background:#08121fba;border:1px solid #293c5375;border-radius:8px;display:flex;gap:8px;font-size:11px;color:#b5c9df;padding:8px 10px;backdrop-filter:blur(7px)}.hud strong{font-size:10px;color:#86c7f5;letter-spacing:.06em}.hud-left{top:16px;left:16px;flex-direction:column}.hud-bottom{bottom:16px;left:16px;gap:18px}.zoom-tools{position:absolute;right:16px;bottom:20px;z-index:6;display:flex;flex-direction:column;gap:5px}.zoom-tools button{width:35px;height:35px;border:1px solid #456580;background:#13283ddf;color:#dceeff;border-radius:7px;font-size:23px}.demo-banner{z-index:7;position:absolute;top:17px;right:15px;max-width:min(50%,440px);background:#151f2de8;padding:10px 12px;border:1px solid #7d6245;border-radius:9px;color:#eddbc7;font-size:11px;line-height:1.6}.demo-mark{font-weight:800;color:#fed3a1;margin-right:5px;font-size:10px;letter-spacing:.09em}.demo-banner button{border:0;background:transparent;text-decoration:underline;color:#d2e7ff;cursor:pointer;font-size:11px}.loading-overlay{position:absolute;inset:0;z-index:9;display:flex;gap:11px;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at center,#1b314a,#06101b);color:#e4f3ff}.loading-overlay[hidden],.demo-banner[hidden],.notice[hidden],.details[hidden]{display:none!important}.loading-overlay strong{font-size:14px}.loading-overlay small{color:#91aec9;font-size:11px}.spinner{height:26px;width:26px;border:2px solid #355773;border-top-color:#b4e3ff;border-radius:100%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.notice{position:absolute;top:72px;left:50%;transform:translateX(-50%);z-index:12;border:1px solid #bc9061;background:#3a2c25;color:#ffe4be;padding:12px;border-radius:8px;max-width:80%;font-size:12px;line-height:1.5}.details{flex:none;width:292px;background:#101b2b;border-left:1px solid #29415b;z-index:20;overflow:auto}.details-head{display:flex;align-items:start;justify-content:space-between;padding:25px 19px 12px}.details-head small{font-weight:700;color:#8fabc5;letter-spacing:.09em;font-size:10px}.details-head h2{font-size:19px;margin:8px 0 0}.icon-button{border:1px solid #35506c;background:#152b42;color:#cee4f8;border-radius:8px;width:34px;height:34px;font-size:20px}.detail-image{width:100%;height:175px;object-fit:cover;background:#172b42}.details-body{padding:19px}.details-body p{font-size:12px;color:#9fb5cd;line-height:1.6;margin:0 0 22px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 12px}.detail-grid small,.detail-grid strong{display:block}.detail-grid small{font-size:10px;color:#91a7bd;margin-bottom:7px}.detail-grid strong{font-size:12px;color:#e4eef8;overflow-wrap:anywhere}.detail-link{display:block;color:#9cd7ff;font-size:12px;margin-top:28px}.primary-button{width:100%;border:0;border-radius:9px;background:#3976a3;color:#fff;padding:12px;margin-top:22px;font-weight:700;font-size:12px}.mobile-only{display:none}@media(max-width:1150px){.sidebar{width:245px}.toolbar{gap:9px}.workspace{padding:12px}.details{position:absolute;right:0;top:65px;bottom:0;box-shadow:-8px 0 25px #0008}.opacity-control{width:115px}}@media(max-width:760px){.sidebar{position:absolute;left:0;top:0;bottom:0;transform:translateX(-100%);transition:.2s;width:min(300px,88vw);box-shadow:5px 0 20px #0008}.sidebar.mobile-open{transform:translateX(0)}.mobile-only{display:inline-flex;align-items:center;justify-content:center}.topbar{height:58px;padding:0 12px}.breadcrumb,.separator,.version{display:none}.workspace{padding:8px;gap:7px}.mode-controls{width:100%}.segmented{width:100%}.segmented button{flex:1;font-size:10px;padding:8px 4px}.bg-control{flex:1;min-width:125px}.opacity-control{width:90px}.ghost-button{padding:0 10px}.ghost-button span{display:none}.sky-panel{min-height:250px}.hud-bottom{left:8px;bottom:10px;gap:8px;font-size:9px}.demo-banner{top:10px;right:10px;max-width:60%;font-size:10px}.details{top:58px;width:min(320px,92vw)}.pill{font-size:10px}.hud-left{top:10px;left:10px;font-size:9px}}@media(max-height:650px){.brand{margin-bottom:15px}.sidebar-heading{padding-bottom:11px}.results-head{padding-top:13px}.toolbar{gap:6px}.workspace{gap:7px}}

/* v0.3 — mirror diagnostics */
.hud-server{right:62px;bottom:18px;color:#adddcf;font-weight:600;white-space:nowrap}
.hud-server.offline{color:#f4b899;border-color:#a97155}
@media(max-width:760px){.hud-server{right:8px;bottom:54px;max-width:68%;overflow:hidden;text-overflow:ellipsis;font-size:10px}.toolbar{align-items:flex-end}}

/* v0.3 autonomous sky and optional remote diagnostics */
#aladin-lite-div[hidden]{display:none!important}
.local-sky{background:#071321}
.diagnostics-btn{position:absolute;right:14px;bottom:13px;z-index:8;border:1px solid #49617c;border-radius:7px;background:#14243ad9;color:#bdd3eb;font:12px system-ui;padding:5px 10px;cursor:pointer}
.diagnostics-panel{position:absolute;right:12px;bottom:50px;width:min(530px,calc(100% - 24px));max-height:65%;overflow:auto;z-index:30;background:#0b1927f5;border:1px solid #546d8f;border-radius:12px;padding:14px;color:#e4eefb;box-shadow:0 10px 32px #0008}
.diagnostics-panel[hidden]{display:none!important}
.diagnostics-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.diagnostics-head button{background:transparent;border:0;color:inherit;font-size:23px;cursor:pointer}
.diagnostics-panel pre{font:12px/1.5 ui-monospace,monospace;white-space:pre-wrap;word-break:break-word;user-select:text;color:#d6e3f5}
.diagnostics-panel .ghost-button{margin-top:10px}
@media(max-width:760px){
  .hud-server{bottom:105px;right:10px;max-width:74%;font-size:9px}
  .opacity-control{width:105px}
  .opacity-control .control-title{font-size:9px}
}

/* v0.4 — maximised atlas: no top header, strictly single-row toolbar */
.main{min-height:0}
.workspace{padding:9px;gap:7px}
.toolbar{
  flex:0 0 auto;display:flex;align-items:center;flex-wrap:nowrap;gap:9px;
  min-height:39px;overflow-x:auto;overflow-y:hidden;padding:0 0 2px;
  scrollbar-width:thin;scrollbar-color:#314e6e transparent;
}
.toolbar > *{flex-shrink:0}
.toolbar .control-group{display:flex;flex-direction:row;align-items:center;gap:7px}
.toolbar .control-title{font-size:10px;white-space:nowrap;letter-spacing:.05em;color:#8faac7}
.toolbar .segmented{padding:2px;border-radius:8px}
.toolbar .segmented button{padding:8px 10px;font-size:11px}
.toolbar .bg-control{width:auto}
.toolbar .bg-control select{width:160px;height:36px}
.toolbar .opacity-control{width:auto}
.toolbar .opacity-control label{display:flex;gap:6px;align-items:center}
.toolbar .opacity-control output{min-width:30px;text-align:right}
.toolbar .opacity-control input[type=range]{width:110px;height:27px;margin:0}
.toolbar .ghost-button{height:36px;padding:0 11px}
.sky-panel{flex:1;min-height:180px}
.catalog-status{display:flex;align-items:center;gap:7px;padding:0 5px 21px;font-size:10px;color:#a5c3db}
.catalog-status .version{margin-left:auto;white-space:nowrap}
.sidebar .brand{margin-bottom:25px}
.sidebar-heading{padding-bottom:8px}
.import-helper{padding:11px 10px;margin:9px 0 0;border:1px solid #2b4860;border-radius:9px;background:#152538}
.import-helper strong{font-size:11px;color:#b6d8f4}
.import-helper p{margin:5px 0 0;font-size:10px;color:#94aec5;line-height:1.45}
.import-helper code{color:#cce6fa;overflow-wrap:anywhere}
.sidebar-footer{padding-top:11px;margin-top:9px}
.demo-banner{max-width:min(38%,300px);font-size:10px;padding:7px 10px;top:10px;right:10px}
.hud-left{top:12px;left:12px;padding:6px 8px}
.hud-bottom{left:12px;bottom:10px;padding:6px 8px}
.hud-server{bottom:11px}
@media(max-width:1350px){
  .toolbar{gap:7px}
  .toolbar .control-title{display:none}
  .toolbar .bg-control select{width:150px}
  .toolbar .opacity-control input[type=range]{width:90px}
  .sidebar{width:245px}
}
@media(max-width:760px){
  .workspace{padding:5px;gap:5px}
  .toolbar{min-height:40px;gap:5px}
  .toolbar .mode-controls{width:auto}
  .toolbar .segmented{width:auto}
  .toolbar .segmented button{flex:0 0 auto;font-size:10px;padding:7px 6px}
  .toolbar .bg-control{flex:0 0 auto;min-width:0}
  .toolbar .bg-control select{width:125px}
  .toolbar .opacity-control input[type=range]{width:75px}
  .toolbar .opacity-control output{font-size:10px}
  .toolbar .ghost-button span{display:inline}
  .toolbar .diagnostic-short span{display:none}
  .toolbar .ghost-button{padding:0 9px}
  .demo-banner{max-width:60%;font-size:9px}
  .details{top:0}
  .sidebar .catalog-status{padding-bottom:15px}
}

/* AstroSkyAtlas v0.6 — accessible, modern and substantially larger typography */
:root {
  --bg:#07111d; --panel:#0d1b2a; --panel-alt:#13263b;
  --surface:#172d45; --line:#294862; --muted:#b4c9df;
  --text:#f2f8ff; --blue:#8bcaff; --cyan:#90e1ef;
  font-family:Inter,"Segoe UI Variable", "Segoe UI",system-ui,sans-serif;
  font-size:16px;
}
body{font-size:16px}
.sidebar{width:310px;padding:18px 16px 14px;background:linear-gradient(165deg,#101e31 0%,#0d1a2c 100%);border-right-color:#28455c}
.sidebar .brand{margin-bottom:18px;gap:12px}
.brand-symbol{font-size:53px}
.brand strong{font-size:25px;letter-spacing:.08em}
.brand strong span{font-size:20px}
.brand small{font-size:12px;letter-spacing:.14em}
.sidebar-heading{font-size:23px;padding-bottom:12px}
.count{font-size:16px;padding:5px 12px}
.catalog-status{font-size:14px;padding:0 5px 15px}
.version{font-size:14px}
.search-wrap{border-radius:13px;margin-bottom:18px;padding:0 13px;background:#0b1727}
.search-wrap input{font-size:17px;height:52px}
.search-icon{font-size:30px}
.field-caption,.results-head{font-size:14px;letter-spacing:.055em}
.select-select{font-size:16px;height:47px;border-radius:11px;padding-left:13px}
.results-head{padding:20px 4px 11px}
.photo-list{gap:7px;padding:10px 0}
.photo-item{gap:12px;border-radius:12px;padding:9px 7px;min-height:74px}
.photo-item img{width:73px;height:61px;border-radius:9px}
.photo-item .name{font-size:17px;line-height:1.3}
.photo-item .meta{font-size:14px;line-height:1.35}
.photo-item .dot{width:9px;height:9px}
.empty-list{font-size:15px}
.import-helper{padding:12px;border-radius:12px;background:#152a42}
.import-helper strong{font-size:16px}
.import-helper p{font-size:14px;line-height:1.5;margin-top:7px}
.sidebar-footer{gap:12px}
.sidebar-footer strong{font-size:16px}
.sidebar-footer small{font-size:13px;margin-top:4px}
.small-dot,.status-dot{height:9px;width:9px}
.workspace{padding:8px;gap:8px}
.toolbar{min-height:52px;gap:10px;padding:0 1px 4px;align-items:center;scrollbar-width:thin}
.toolbar .control-group{gap:8px}
.toolbar .control-title{font-size:14px;letter-spacing:.01em;text-transform:none}
.toolbar .segmented{padding:3px;border-radius:12px}
.toolbar .segmented button{font-size:16px;padding:10px 14px;border-radius:9px;font-weight:600}
.toolbar .bg-control select{width:190px;height:47px}
.toolbar .opacity-control input[type=range]{width:112px;height:38px}
.toolbar .opacity-control output{min-width:42px;font-size:15px}
.toolbar .ghost-button,.ghost-button{font-size:15px;height:47px;padding:0 14px;border-radius:11px}
.sky-panel{border-radius:14px}
.sky-label{font-size:15px;padding:6px 10px;border-radius:7px;border-width:1px;line-height:1.2}
.hud{font-size:15px;padding:10px 13px;border-radius:11px;gap:8px}
.hud strong{font-size:14px}
.hud-left{top:14px;left:14px}
.hud-bottom{bottom:14px;left:14px;gap:14px}
.hud-server{bottom:14px;right:68px;font-size:14px}
.zoom-tools button{width:47px;height:47px;font-size:29px;border-radius:10px}
.demo-banner{font-size:14px;line-height:1.55;padding:11px 13px;max-width:min(42%,380px);border-radius:12px}
.demo-mark,.demo-banner button{font-size:14px}
.loading-overlay strong{font-size:20px}
.loading-overlay small{font-size:15px}
.notice{font-size:15px;max-width:85%}
.diagnostics-panel{width:min(660px,calc(100% - 24px));padding:20px}
.diagnostics-panel pre{font-size:14px;line-height:1.6}
.details{width:355px;background:#0f2032}
.details-head{padding:24px 20px 16px}
.details-head small{font-size:13px}
.details-head h2{font-size:26px;line-height:1.2}
.detail-image{height:235px}
.details-body{padding:20px}
.details-body p{font-size:16px;line-height:1.65}
.detail-grid{gap:20px 13px}
.detail-grid small{font-size:13px;line-height:1.3}
.detail-grid strong{font-size:16px;line-height:1.35}
.detail-link{font-size:16px}
.primary-button{font-size:17px;padding:15px;border-radius:12px}
.icon-button{width:43px;height:43px;font-size:25px}
@media(max-width:1450px){
  .sidebar{width:280px}
  .toolbar .control-title{display:none}
  .toolbar{gap:8px}
  .toolbar .bg-control select{width:168px}
  .toolbar .segmented button{padding:10px 10px}
  .toolbar .opacity-control input[type=range]{width:94px}
}
@media(max-width:880px){
  .sidebar{width:min(330px,90vw)}
  .sidebar .brand{margin-bottom:18px}
  .toolbar{min-height:48px}
  .toolbar .segmented button{font-size:15px}
  .toolbar .bg-control select{width:150px}
  .toolbar .ghost-button span{display:inline}
  .demo-banner{max-width:58%;font-size:13px}
  .hud-bottom{font-size:13px}
  .hud-server{font-size:12px;right:12px;bottom:112px;max-width:80%}
  .details{top:0;width:min(370px,94vw)}
}
@media(max-width:540px){
  .toolbar{gap:6px}
  .toolbar .segmented button{font-size:14px;padding:10px 8px}
  .toolbar .ghost-button{padding:0 11px}
  .sky-label{font-size:13px}
  .hud{font-size:12px;padding:7px 9px}
  .hud strong{font-size:12px}
  .demo-banner{font-size:12px;max-width:61%}
  .demo-banner button{font-size:12px}
}

/* v0.6: understated captions, always outside the photograph or hidden if no space */
.sky-label, .sky-label.is-demo, .sky-label:hover {
  background:transparent; border:0; border-radius:0; box-shadow:none; padding:3px 4px;
  font-family:Inter,"Segoe UI Variable", "Segoe UI",Arial,sans-serif;
  font-size:17px; font-weight:350; letter-spacing:.015em; line-height:1.25;
  color:#e4edf6; text-shadow:0 1px 5px #020916,0 1px 2px #020916;
  transform:none; transition:color .15s;
}
.sky-label:hover {color:#9fd9ff;text-decoration:underline}
.sky-label.is-demo {color:#e7d6c5}
#star-chart-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3}
.detail-toggle{font-weight:500;white-space:nowrap}
.detail-toggle.active{border-color:#65a1ca;background:#1f4561;color:#d9f2ff}
@media(max-width:540px){.sky-label,.sky-label.is-demo{font-size:15px}}

/* v0.7 — photograph-first, uncluttered sky. Everything interactive lives
   above or beside the map. The only persistent map annotation is its centre. */
:root{--sidebar-width:282px}
.sidebar{width:var(--sidebar-width);min-width:0;padding:15px 13px 11px}
.sidebar-resizer{
  position:relative;z-index:31;flex:0 0 6px;cursor:col-resize;
  background:#112237;border-right:1px solid #25435c;
  touch-action:none;user-select:none;transition:background .15s;
}
.sidebar-resizer::before{content:"";position:absolute;left:2px;top:46%;width:2px;height:42px;border-radius:2px;background:#496a88;opacity:.35}
.sidebar-resizer:hover,.sidebar-resizer.dragging,.sidebar-resizer:focus-visible{background:#255379;outline:none}
.sidebar-resizer:hover::before,.sidebar-resizer.dragging::before,.sidebar-resizer:focus-visible::before{opacity:1;background:#a9dafc}
.sidebar .brand{margin-bottom:15px;gap:9px;padding:0 3px}
.sidebar .brand-symbol{font-size:40px}
.sidebar .brand strong{font-size:21px;letter-spacing:.07em}
.sidebar .brand strong span{font-size:16px}
.sidebar .brand small{font-size:10px;letter-spacing:.14em}
.sidebar-heading{font-size:19px;padding:0 3px 7px;gap:7px}
.count{font-size:13px;padding:4px 10px}
.catalog-status{font-size:12px;padding:0 3px 12px}
.catalog-status .version{font-size:12px}
.search-wrap{margin-bottom:15px;padding:0 10px;border-radius:10px}
.search-icon{font-size:23px}
.search-wrap input{font-size:15px;height:43px}
.sidebar .field-caption,.sidebar .results-head{font-size:12px}
.sidebar .select-select{font-size:14px;height:40px;border-radius:8px}
.sidebar .results-head{padding:18px 3px 8px;gap:6px}
.photo-list{padding:8px 0;gap:5px;scrollbar-width:thin;min-height:75px}
.photo-item{padding:7px 5px;gap:9px;min-height:63px;border-radius:9px;align-items:center}
.photo-item img{width:61px;height:50px;border-radius:6px;flex:0 0 61px}
.photo-item > div{min-width:0;flex:1}
.photo-item .name{font-size:14.5px;line-height:1.25;overflow-wrap:anywhere;word-break:normal;white-space:normal}
.photo-item .meta{font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.photo-item .dot{width:7px;height:7px;margin-left:0;flex:none}
.sidebar .import-helper{background:transparent;border:1px solid #2b4660;border-radius:8px;padding:0;margin:7px 0 0;flex:none}
.sidebar .import-helper summary{font-size:12px;font-weight:600;color:#a9cdea;padding:9px 10px;cursor:pointer;list-style-position:inside}
.sidebar .import-helper summary:hover{color:#dcf2ff}
.sidebar .import-helper p{font-size:12px;line-height:1.45;padding:0 10px 10px;margin:0}
.sidebar-footer{padding:10px 2px 0;margin-top:9px;gap:8px;flex:none}
.sidebar-footer strong{font-size:13px}
.sidebar-footer small{font-size:11px;line-height:1.35;margin-top:3px;overflow-wrap:anywhere}
.sidebar-footer .map-credit{font-size:10px;color:#7f9bb5}
.sidebar-footer a{color:#9fcee9;text-decoration:none}
.sidebar-footer a:hover{text-decoration:underline}
.sidebar-notice{flex:none;background:#243348;color:#f5dab5;border:1px solid #826a4c;
 border-radius:8px;padding:10px;margin:0 0 7px;font-size:12px;line-height:1.5;max-height:22vh;overflow:auto}
.sidebar-notice[hidden]{display:none!important}
/* Diagnostics remain in the photo library instead of floating over the sky. */
.sidebar .diagnostics-panel{position:relative;inset:auto;right:auto;bottom:auto;width:auto;max-height:33vh;overflow:auto;box-shadow:none;padding:11px;margin-top:8px;background:#101e30}
.sidebar .diagnostics-panel pre{font-size:11px;line-height:1.5}
.sidebar .diagnostics-panel .ghost-button{font-size:12px;height:34px}
.toolbar-zoom{display:flex;align-items:center;gap:3px;background:#132438;border:1px solid #314a64;border-radius:10px;padding:3px}
.toolbar-zoom button{border:0;border-radius:7px;background:transparent;color:#d5ecff;font-size:23px;line-height:1;width:37px;height:37px}
.toolbar-zoom button:hover{background:#284b6a}
.toolbar-zoom button:focus-visible{outline:2px solid #90e1ef}
/* No boxed HUDs, labels, survey status, image captions or map buttons. */
.map-coordinate{
  position:absolute;z-index:8;left:13px;bottom:10px;
  pointer-events:none;user-select:none;background:none;border:0;box-shadow:none;
  font-family:"IBM Plex Mono","Roboto Mono","SFMono-Regular",Consolas,"Courier New",monospace;
  font-size:11px;line-height:1.15;font-weight:400;letter-spacing:.045em;
  color:rgba(222,234,244,.77);text-shadow:0 1px 5px #000b;
  white-space:nowrap;font-variant-numeric:tabular-nums;
}
/* The Aladin sky canvas is retained; only its chrome is suppressed.
   Source/library + survey attribution is shown in the sidebar footer. */
#aladin-remote-stage .aladin-logo,
#aladin-remote-stage .aladin-logo-container,
#aladin-remote-stage .aladin-credit,
#aladin-remote-stage .aladin-location,
#aladin-remote-stage .aladin-location-text,
#aladin-remote-stage .aladin-coordinates,
#aladin-remote-stage .aladin-fov,
#aladin-remote-stage .aladin-box,
#aladin-remote-stage .aladin-zoomControl,
#aladin-remote-stage .aladin-zoom,
#aladin-remote-stage .aladin-control,
#aladin-remote-stage .aladin-controls,
#aladin-remote-stage .aladin-shareControl,
#aladin-remote-stage .aladin-fullscreenControl,
#aladin-remote-stage .aladin-layersControl,
#aladin-remote-stage .aladin-reticle,
#aladin-remote-stage .aladin-tooltip,
#aladin-remote-stage [class*="aladin-location"],
#aladin-remote-stage [class*="aladin-logo"],
#aladin-remote-stage [class*="aladin-credit"]{display:none!important}
@media(max-width:880px){
  .sidebar{width:var(--sidebar-width)}
  .sidebar .brand{margin-bottom:12px}
}
@media(max-width:760px){
  .sidebar{width:min(302px,90vw);padding:13px 12px}
  .sidebar-resizer{display:none}
  .sidebar .import-helper{margin-top:7px}
  .toolbar-zoom button{width:33px;height:34px;font-size:21px}
  .map-coordinate{left:9px;bottom:8px;font-size:10px}
}

#aladin-remote-stage .aladin-status-bar,
#aladin-remote-stage .aladin-projection-control,
#aladin-remote-stage .aladin-stack-control,
#aladin-remote-stage .aladin-stack-box,
#aladin-remote-stage .aladin-share-control,
#aladin-remote-stage .aladin-fov,
#aladin-remote-stage .aladin-fullscreen,
#aladin-remote-stage .aladin-gotoControl,
#aladin-remote-stage .aladin-location,
#aladin-remote-stage .aladin-statusbar{display:none!important}

/* v0.9: supplied logo, no redundant Explore the sky/status header. */
.sidebar .brand.brand-logo{display:flex;justify-content:center;align-items:center;
 margin:3px 0 25px;padding:0 6px;min-height:96px;flex:none}
.sidebar .brand.brand-logo img{display:block;max-width:100%;width:205px;height:auto;max-height:97px;object-fit:contain}
.danger-button{width:100%;margin-top:12px;padding:13px 12px;border-radius:11px;
 border:1px solid #a15e6b;background:#352435;color:#ffd6da;font-size:15px;font-weight:600}
.danger-button:hover{background:#59303e;border-color:#d18a96}
.danger-button:disabled{opacity:.45}
.delete-help{font-size:12px!important;color:#e5b5ba!important;margin-top:8px!important;line-height:1.5!important}
@media(max-width:760px){.sidebar .brand.brand-logo{margin:8px 0 19px;min-height:80px}
.sidebar .brand.brand-logo img{width:180px;max-height:80px}}


/* v1.0: compact library and responsive toolbar with no sideways-only controls. */
.sidebar .brand.brand-logo{min-height:58px;margin:0 0 12px;padding:0 4px}
.sidebar .brand.brand-logo img{width:142px;max-height:60px}
.sidebar .search-wrap{margin-bottom:10px;padding:0 10px;border-radius:9px}
.sidebar .search-wrap input{height:37px;font-size:13px}
.sidebar .search-icon{font-size:20px}
.sidebar .select-select{height:35px;font-size:13px;padding-left:9px;border-radius:8px}
.sidebar .results-head{padding:12px 2px 5px;font-size:11px;letter-spacing:.02em}
.sidebar .photo-list{gap:2px;padding:4px 0;min-height:76px}
.sidebar .photo-item{min-height:48px;padding:4px 4px;gap:8px;border-radius:7px}
.sidebar .photo-item img{width:50px;height:39px;flex:0 0 50px;border-radius:5px}
.sidebar .photo-item .name{font-size:12.5px;line-height:1.18}
.sidebar .photo-item .meta{font-size:10.5px;line-height:1.15;margin-top:2px}
.sidebar .photo-item .dot{width:6px;height:6px}
.sidebar .import-helper{margin-top:4px}
.sidebar .import-helper summary{font-size:11px;padding:7px 9px}
.sidebar .sidebar-footer{padding:6px 2px 0;margin-top:5px;display:block}
.sidebar .sidebar-footer small{display:inline;font-size:10px;line-height:1.2}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Controls wrap onto an additional compact row on narrow windows/large OS text
   scales; no button becomes inaccessible through an off-screen scroll strip. */
.toolbar{display:flex;flex-wrap:wrap;overflow:visible;min-height:35px;gap:5px 7px;padding:0 1px 3px;align-content:flex-start;scrollbar-width:none}
.toolbar .segmented{padding:2px;border-radius:9px}
.toolbar .segmented button{font-size:12px;padding:7px 9px;border-radius:7px}
.toolbar .bg-control select{height:34px;width:146px;font-size:12px;padding:0 22px 0 8px}
.toolbar .control-title{font-size:11px;letter-spacing:0}
.toolbar .opacity-control input[type=range]{width:85px;height:30px}
.toolbar .opacity-control output{min-width:34px;font-size:11px}
.toolbar .ghost-button{height:34px;padding:0 9px;font-size:12px;border-radius:8px}
.toolbar .toolbar-zoom{padding:1px 2px;border-radius:8px}
.toolbar .toolbar-zoom button{height:28px;width:28px;font-size:19px}
.toolbar .control-group{gap:4px}
.toolbar .diagnostic-short{margin-left:0}
.workspace{gap:5px;padding:6px}
.caption-section{margin:0 0 17px;border-bottom:1px solid #2b4056;padding-bottom:13px}
.caption-section h3{font-size:11px;line-height:1.2;color:#9fc9e5;font-weight:600;text-transform:uppercase;letter-spacing:.08em;margin:0 0 7px}
.caption-section p{margin:0!important;font-size:13px!important;line-height:1.45!important;color:#dae8f5!important}
@media (max-width:1450px){
 .toolbar .control-title{display:none}
 .toolbar .bg-control select{width:134px}
 .toolbar .segmented button{padding:7px 7px;font-size:12px}
}
@media (max-width:760px){
 .sidebar .brand.brand-logo{min-height:55px;margin:4px 0 10px}
 .sidebar .brand.brand-logo img{width:134px;max-height:56px}
 .toolbar{gap:4px}
 .toolbar .segmented button{padding:7px 6px;font-size:11px}
 .toolbar .bg-control select{width:122px}
 .toolbar .ghost-button{padding:0 7px;font-size:11px}
}

/* Minimal icon/diagnostics layout patch. Sky engine and toolbar styles are unchanged. */
.sidebar .brand.brand-logo{display:flex;justify-content:flex-start;align-items:center;gap:10px;min-height:58px;padding:0 2px}
.sidebar .brand.brand-logo .atlas-app-icon{display:block;flex:0 0 43px;width:43px;height:43px;max-height:none;object-fit:contain;border-radius:9px}
.sidebar .brand.brand-logo .atlas-brand-image{display:block;flex:0 1 auto;width:125px;max-width:calc(100% - 53px);max-height:54px;height:auto;object-fit:contain}
.results-actions{display:flex;align-items:center;gap:10px}
.sidebar-info-button{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:1px solid transparent;background:transparent;color:#91aeca;border-radius:6px;font-size:17px;line-height:1}
.sidebar-info-button:hover,.sidebar-info-button:focus-visible{background:#233954;color:#e9f5ff;border-color:#365775}
@media(max-width:760px){.sidebar .brand.brand-logo .atlas-app-icon{width:39px;height:39px;flex-basis:39px}.sidebar .brand.brand-logo .atlas-brand-image{width:118px}}

/* Static website branding - desktop import application unchanged. */
.sidebar .brand.brand-logo .online-brand{display:block;font-size:20px;letter-spacing:.12em;font-weight:600;color:#dbeeff;white-space:nowrap;}
