/* Map tools stay visible, with a shared rhythm for fields and actions. */
.navigation-shell .discovery-panel {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  padding-top: 20px;
}
.navigation-shell .discovery-panel > h3 {
  margin: 0;
  line-height: 1.6;
}
.navigation-shell .discovery-panel :is(form, .map-tool-section):not([hidden]) {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
}
.navigation-shell .discovery-panel .map-tool-section:not([hidden]) {
  padding: 18px 0 0;
  border-top: 1px solid #555762;
}
.navigation-shell .discovery-panel .map-tool-section > h4 {
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .04em;
}
.navigation-shell .discovery-panel :is(p, small) {
  margin: 0;
  color: #c1c3cc;
  font: 12px/1.7 var(--sans);
}
.navigation-shell .discovery-panel label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #dddde1;
  font: 12px/1.6 var(--sans);
}
.navigation-shell .discovery-panel label:has(input[type=checkbox]) {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.navigation-shell .discovery-panel input[type=checkbox] {
  flex: 0 0 auto;
  margin-top: 4px;
}
.navigation-shell .discovery-panel :is(input:not([type=checkbox]), textarea) {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border-radius: 3px;
  font: 12px/1.6 var(--sans);
}
.navigation-shell .discovery-panel textarea {
  min-height: 106px;
  resize: vertical;
  font-family: var(--mono);
}
.navigation-shell .discovery-panel textarea::placeholder {
  color: #a4a7b4;
  opacity: 1;
}
.navigation-shell .discovery-panel fieldset {
  min-width: 0;
  margin: 0;
  padding: 14px 12px;
  border: 1px solid #555762;
  border-radius: 3px;
}
.navigation-shell .discovery-panel legend {
  padding: 0 6px;
  color: #c1c3cc;
  font: 11px/1.5 var(--sans);
}
.navigation-shell .discovery-categories {
  grid-template-columns: 1fr;
  gap: 10px;
}
.navigation-shell .discovery-panel .map-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.navigation-shell .discovery-panel .map-tool-actions [data-draw] {
  flex: 1 1 140px;
}
.navigation-shell .discovery-panel button {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 3px;
  font: 11px/1.5 var(--sans);
  white-space: normal;
}
.navigation-shell .discovery-panel button:hover {
  border-color: #f47732;
  background: #f4773210;
}
.navigation-shell .discovery-panel :is(.map-search-submit, [data-draw][aria-pressed=true]) {
  border-color: #f47732;
  color: #f47732;
  background: #f4773210;
}
.navigation-shell .discovery-panel [role=status]:empty {
  display: none;
}
.navigation-shell .discovery-panel [role=status]:not(:empty) {
  padding: 12px;
  border-left: 2px solid #f47732;
  background: #050505;
  color: #dddde1;
}

/* One compact case card, shared by the desktop register and the mobile panel. */
.navigation-shell #mapFeed .map-report-row {
  position: relative;
  min-width: 0;
  margin-top: 12px;
  border: 1px solid #454751;
  border-radius: 4px;
  background: #202024;
  overflow: hidden;
}
.navigation-shell #mapFeed .map-report-row:has(.mini-story:hover),
.navigation-shell #mapFeed .map-report-row:focus-within {
  border-color: #f47732;
  background: #26262b;
}
.navigation-shell #mapFeed .mini-story {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  width: 100%;
  min-height: 100px;
  padding: 14px 12px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}
.navigation-shell #mapFeed .mini-story:focus-visible {
  outline: 2px solid #f47732;
  outline-offset: -3px;
}
.navigation-shell #mapFeed .mini-story-rank {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 16px;
  width: 18px;
  height: 18px;
  border: 1px solid #727580;
  border-radius: 2px;
  background: #050505e6;
  color: #dddde1;
  font: 9px/1 var(--mono);
}
.navigation-shell #mapFeed .mini-story-preview {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  border: 1px solid #454751;
  border-radius: 3px;
  background: #151518;
  overflow: hidden;
}
.navigation-shell #mapFeed .mini-story-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #f47732;
}
.navigation-shell #mapFeed .mini-story-placeholder svg {
  width: 27px;
  height: 27px;
}
.navigation-shell #mapFeed .mini-story-preview img:not([hidden]) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.navigation-shell #mapFeed .mini-story-copy {
  gap: 7px;
}
.navigation-shell #mapFeed .mini-story-copy > strong {
  display: block;
  margin: 0;
  color: #fff;
  font: 600 13px/1.5 var(--sans);
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-line-clamp: unset;
}
.navigation-shell #mapFeed .mini-story-copy small {
  margin: 0;
  color: #bfc2ce;
  font: 10px/1.5 var(--mono);
}
.navigation-shell #mapFeed .mini-story-copy em {
  display: grid;
  gap: 5px;
  color: #c1c3cc;
  font: 11px/1.5 var(--sans);
  white-space: normal;
  overflow-wrap: anywhere;
}
.navigation-shell #mapFeed .mini-story-copy .mini-story-context {
  color: #aeb1bd;
  font-size: 10px;
}
.navigation-shell #mapFeed .mini-story-copy i {
  margin-top: 0;
  gap: 6px;
}
.navigation-shell #mapFeed .mini-story-copy i b {
  padding: 3px 5px;
  border: 1px solid #454751;
  border-radius: 2px;
  color: #c1c3cc;
  font: 9px/1.3 var(--mono);
}
.navigation-shell #mapFeed .map-report-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  margin: 0 12px;
  padding: 8px 0;
  border-top: 1px solid #454751;
}
.navigation-shell #mapFeed .map-report-footer .report-author-link {
  min-width: 0;
  margin: 0;
  padding: 2px 0;
  font: 10px/1.5 var(--mono);
  overflow-wrap: anywhere;
}
.navigation-shell #mapFeed .map-report-footer span.report-author-link {
  color: #c1c3cc;
  text-decoration: none;
}
.navigation-shell #mapFeed .mini-story-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
  color: #f47732;
  font: 11px/1.5 var(--sans);
}
.navigation-shell #mapFeed .mini-story-open > span {
  color: inherit;
  font-size: 16px;
}

/* A compact dossier list gives titles room and removes nested card borders. */
.navigation-shell #mapFeed .map-report-row{margin-top:0;border:0;border-bottom:1px solid #3f4048;border-radius:0;background:transparent;overflow:visible}
.navigation-shell #mapFeed .map-report-row:has(.mini-story:hover),.navigation-shell #mapFeed .map-report-row:focus-within{background:#ffffff04;border-color:#555762}
.navigation-shell #mapFeed .mini-story{grid-template-columns:38px minmax(0,1fr);gap:12px;padding:18px 8px 8px;min-height:0}
.navigation-shell #mapFeed .mini-story-preview{width:38px;height:44px;border:1px solid #454751;border-radius:2px;background:#111114}
.navigation-shell #mapFeed .mini-story-placeholder svg{width:23px;height:23px;opacity:.9}
.navigation-shell #mapFeed .mini-story-rank{top:69px;left:16px;width:22px;height:auto;border:0;background:transparent;color:#858793;font:9px/1.5 var(--mono)}
.navigation-shell #mapFeed .mini-story-copy{display:grid;gap:7px;min-width:0}
.navigation-shell #mapFeed .mini-story-copy>strong{margin:0;font:600 14px/1.5 var(--sans);color:#eeeef1;letter-spacing:0}
.navigation-shell #mapFeed .mini-story-copy small{margin:0;font:9px/1.5 var(--mono);color:#9d9faa}
.navigation-shell #mapFeed .mini-story-copy em{display:grid;gap:5px;margin:0;font:11px/1.5 var(--sans);color:#bbbcc6}
.navigation-shell #mapFeed .mini-story-copy .mini-story-context{font-size:10px;color:#9d9faa}
.navigation-shell #mapFeed .mini-story-open{margin:2px 0 0;font:11px/1.5 var(--sans)}
.navigation-shell #mapFeed .map-report-footer{display:flex;justify-content:flex-start;gap:8px;margin:0;padding:0 8px 16px 58px;border:0;background:transparent}
.navigation-shell #mapFeed .map-report-footer .report-author-link{font:9px/1.5 var(--mono);color:#9d9faa}
.navigation-shell #mapFeed .map-report-footer .report-author-link:hover{color:#f47732}
.navigation-shell #mapFeed .map-feed-tabs{border-radius:2px}
@media(min-width:761px) and (hover:hover){.navigation-shell #mapView.active .map-embed-launch{right:calc(var(--workspace-right) + 24px);bottom:calc(var(--status-height) + var(--timeline-height) + 20px)}}
.map-report-row a.mini-story{text-decoration:none;color:inherit}
