:root { --navy: #0B2545; --green: #2E8B57; --ink: #1c2530; --line: #c5cbd3; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; font-family: Helvetica, Arial, sans-serif; color: var(--ink); }
header { height: 52px; background: var(--navy); border-bottom: 4px solid var(--green); color: #fff;
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.brand { font-weight: 700; letter-spacing: .5px; }
.product { font-size: 14px; }
.tag { font-size: 11px; border: 1px solid rgba(255,255,255,.6); border-radius: 3px; padding: 1px 6px; margin-left: 8px; }
#map { position: absolute; top: 56px; bottom: 0; left: 0; right: 0; }

#panel { position: absolute; top: 68px; left: 12px; width: 300px; max-width: calc(100% - 24px); background: #fff;
  border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 4px; padding: 12px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18); z-index: 2; }
#panel h2 { margin: 0 0 8px; font-size: 16px; color: var(--navy); }
#panel dl { margin: 0; }
#panel dt { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #5a6675; margin-top: 8px; }
#panel dd { margin: 2px 0 0; font-size: 15px; word-break: break-word; }
#p-pid { font-weight: 700; font-variant-numeric: tabular-nums; }
#panel .note { font-size: 11px; color: #5a6675; margin: 12px 0 0; line-height: 1.35; }
#panel-close { position: absolute; top: 4px; right: 6px; border: 0; background: none; font-size: 22px; cursor: pointer; color: #5a6675; }
#p-copy { font-size: 12px; margin-left: 6px; padding: 2px 8px; border: 1px solid var(--navy); background: #fff; color: var(--navy); border-radius: 3px; cursor: pointer; }
#p-copy:focus-visible, #panel-close:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

#status { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff;
  font-size: 13px; padding: 6px 12px; border-radius: 4px; z-index: 2; max-width: 90%; text-align: center; }
#status:empty { display: none; }
