.hm-atlas {
  color:#e4edf4;background:#0a1a2c;border:1px solid #33475b;border-radius:10px;
  overflow:hidden;text-align:left;font:400 calc(13px * var(--hima-body-scale,1))/1.35 var(--hima-reading);isolation:isolate;
}
.hm-atlas [hidden]{display:none!important}
.hm-atlas-head,.hm-atlas-key {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 11px;}
.hm-atlas-heading{font-size:calc(13px * var(--hima-heading-scale,1));letter-spacing:-.02em;color:#e5edf7}
.hm-atlas .hm-atlas-scope{width:auto;min-width:0;max-width:65%;min-height:28px;padding:3px 4px;color:var(--hima-accent-on-dark,#c7daee);border:0;border-bottom:1px solid var(--hima-accent-on-dark,#5b778d);background:#11243a;border-radius:3px;font:600 calc(11px * var(--hima-body-scale,1)) var(--hima-display);cursor:pointer}
.hm-atlas-frame{position:relative;overflow:hidden;aspect-ratio:600/260;width:100%;margin:0;background:#112b40;isolation:isolate;border-block:1px solid #304658}
.hm-atlas-frame .hm-atlas-coast,.hm-atlas-layer,.hm-atlas-pins{position:absolute;inset:0;width:100%;height:100%;display:block;max-height:none;object-fit:fill;border:0;border-radius:0}
.hm-atlas-layer,.hm-atlas-coast,.hm-atlas-pins{pointer-events:none}
.hm-atlas-route{stroke:var(--hima-accent-on-dark,#f9b555);stroke-width:1.55;stroke-dasharray:4 4;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.hm-atlas-leader{stroke:var(--hima-accent-on-dark,#dbe7f0);stroke-width:1;vector-effect:non-scaling-stroke}
.hm-atlas-geodot{fill:var(--hima-accent-on-dark,#fff)}
.hm-atlas button.hm-atlas-pin{position:absolute;display:grid;place-items:center;box-sizing:border-box;width:23px;height:23px;min-width:0;min-height:0;padding:0;transform:translate(-50%,-50%);border-radius:50%;border:1px solid #b6d7ef;color:#e7f2ff;background:#142b45;box-shadow:0 1px 5px #061724b3;font:700 calc(9px * var(--hima-body-scale,1)) var(--hima-reading);line-height:1;pointer-events:auto;cursor:pointer}
.hm-atlas-pin::after{content:'';position:absolute;inset:-3px;border-radius:50%}
.hm-atlas button.hm-atlas-pin:is(:hover,:focus-visible){z-index:3;outline:2px solid var(--hima-accent-on-dark,#fff);outline-offset:2px}
.hm-atlas button.hm-atlas-pin.is-selected{color:#1b2232;border-color:#ffe0a6;background:#ffc26d;box-shadow:0 0 0 4px var(--hm-selection-halo,#ffae4729);z-index:2}
.hm-atlas button.hm-atlas-pin.is-cluster{width:26px;height:26px;border-style:double;border-width:3px}
.hm-atlas-own{position:absolute;z-index:4;width:18px;height:18px;transform:translate(-50%,-50%);border-radius:50%;background:#183640b0;color:#f5f1e7;pointer-events:none;filter:drop-shadow(0 1px 2px #001521)}
.hm-atlas-own svg{display:block;width:100%;height:100%}
.hm-atlas-north{position:absolute;right:9px;top:7px;letter-spacing:.07em;color:#cee0ec;font:700 calc(10px * var(--hima-body-scale,1)) var(--hima-reading);pointer-events:none}
.hm-atlas button.hm-atlas-inset{position:absolute;right:7px;bottom:7px;width:62px;aspect-ratio:600/260;padding:0;min-height:0;min-width:0;border:1px solid #8a9eaf;border-radius:3px;background:#0a192a;cursor:pointer;overflow:hidden}
.hm-atlas-inset img{display:block;width:100%;height:100%;object-fit:fill}
.hm-atlas-inset i{position:absolute;width:5px;height:5px;border:1px solid var(--hima-btn-text,white);border-radius:50%;background:var(--hima-accent-raw,#ffb24c);transform:translate(-50%,-50%);box-shadow:0 0 0 2px var(--hm-selection-halo,#fbb55d66)}
.hm-atlas-key{gap:12px;justify-content:flex-start;padding-block:6px;border-bottom:1px solid #293d51;color:#b9c9d6;font-size:calc(10px * var(--hima-body-scale,1))}
.hm-atlas-key span{display:inline-flex;align-items:center;gap:5px}
.hm-atlas-key span::before{content:'';width:7px;height:7px;box-sizing:border-box;border-radius:50%;border:1px solid #c5d6e5;background:#162941}
.hm-atlas-key .hm-atlas-key-selected::before{background:#ffbf6a;border-color:#ffbf6a}
.hm-atlas-key .hm-atlas-key-own::before{background:#f5f1e7;clip-path:polygon(50% 0,95% 100%,50% 75%,5% 100%);border:0;border-radius:0}
.hm-atlas-info{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 6px;padding:8px 11px;font-size:calc(10px * var(--hima-body-scale,1));color:#b0c2d4}
.hm-atlas-info strong{grid-column:1/-1;color:#e6edf2;font-size:calc(12px * var(--hima-body-scale,1))}
.hm-atlas .hm-atlas-source,.oc-card .hm-atlas .hm-atlas-source{font:500 calc(10px * var(--hima-body-scale,1)) var(--hima-reading);color:var(--hima-accent-on-dark,#b6cfff);text-underline-offset:2px;white-space:nowrap}
.hm-atlas-chooser{display:flex;flex-wrap:wrap;gap:5px;padding:7px 10px;border-bottom:1px solid #34465b}
.hm-atlas-chooser button{border:1px solid #526980;padding:5px 8px;border-radius:4px;background:#17324b;color:#e1eaf2;font-size:calc(11px * var(--hima-body-scale,1));cursor:pointer}
@media(max-width:500px){
  .hm-atlas-frame{min-height:132px}
  .hm-atlas .hm-atlas-key {gap:8px}
}
.hm-atlas-cluster-name{position:absolute;top:calc(100% + 3px);left:50%;transform:translateX(-50%);border-radius:3px;padding:1px 3px;color:#eff5fa;background:#0b1c2dd9;font:600 calc(9px * var(--hima-body-scale,1)) var(--hima-reading);white-space:nowrap;pointer-events:none}

.oc-card .hm-atlas .hm-atlas-source:is(:hover,:focus-visible){color:var(--hima-accent-on-dark,#fff)}

.hm-atlas-heading,.hm-atlas-info strong {font-family:var(--hima-display)}
.hm-atlas-pin,.hm-atlas-info {font-variant-numeric:tabular-nums}

.hm-plan-ground{fill:#637875}
.hm-plan-berth{fill:none;stroke:var(--hima-accent-on-dark,#ecca90);stroke-width:1.75}
.hm-plan-label{fill:#eee9dc;paint-order:stroke;stroke:#102838;stroke-width:2.3px;font:600 calc(10px * var(--hima-body-scale,1)) var(--hima-reading)}
.hm-plan-scale{fill:none;stroke:#dbe0de;stroke-width:1.25}
.hm-atlas.is-harbour-plan .hm-atlas-key-pin{display:none}


:root:is([data-theme=dark][data-hima-dark-buttons],[data-theme=light][data-hima-light-buttons]) .hm-atlas {
  --hm-selection-halo:color-mix(in srgb,var(--hima-accent-on-dark) 35%,transparent);
}
