/* SkipperCheck ais_sim_boot.php iekšējais CSS — ģenerēts ar tools/simulators/sinhronizet.php */

.vhf-help-btn {
  background: none; border: 1px solid #cbd5e1; color: #64748b;
  font-size: 0.82rem; padding: 4px 12px; border-radius: 20px; cursor: pointer;
  transition: all .15s;
}
.vhf-help-btn:hover { border-color: #f39100; color: #f39100; background: #fff7ec; }
.vhf-help-popover {
  background: #fff; border: 1px solid #f3d9a0; border-left: 4px solid #f39100;
  border-radius: 10px; padding: 0; margin: 8px 0;
  box-shadow: 0 8px 24px rgba(11,37,64,0.14); overflow: hidden;
  animation: aisHelpIn .18s ease-out;
}
@keyframes aisHelpIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.vhf-help-title {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff7ec; padding: 10px 14px;
  font-weight: 700; color: #0b2540; font-size: 0.95rem;
}
.vhf-help-close {
  background: none; border: 0; font-size: 1.3rem; line-height: 1;
  color: #94a3b8; cursor: pointer; padding: 0 4px;
}
.vhf-help-close:hover { color: #0b2540; }
.vhf-help-body { padding: 12px 16px; font-size: 0.9rem; color: #475569; line-height: 1.6; }
.vhf-help-body h6 { color: #0b2540; font-weight: 700; font-size: 0.92rem; margin: 10px 0 4px; }
.vhf-help-body h6:first-child { margin-top: 0; }
.vhf-help-body ol, .vhf-help-body ul { margin: 0 0 8px; padding-left: 20px; }
.vhf-help-body li { margin-bottom: 5px; }
.vhf-help-body p { margin: 4px 0 8px; }
/* WHEELHOUSE POSTER (ais-simulator.js posterOpen / _pstShow): a paper card over everything in our chart-plan colours (the
   docking plan's water, ink and orange own-boat edge; port red, starboard green). Here, not in ais-simulator.css, so it never
   waits on that file's ?v=. Phones: the whole screen, one column. */
.sim-poster { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2147483560; display: flex; align-items: flex-start; justify-content: center;
  padding: 16px; background: rgba(5, 14, 24, 0.62); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sim-poster[hidden] { display: none; }
.sim-poster:focus { outline: none; }
html.pst-on, html.pst-on body { overflow: hidden; }
.pst-card { width: min(940px, 100%); background: #f8f6ef; color: #1f2d3a; border: 1px solid #29343e; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); font: 13px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.pst-head { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding: 12px 14px 10px; border-bottom: 3px double #29343e; }
.pst-hl { flex: 1 1 240px; min-width: 0; }
.pst-head h3 { margin: 0; font: 700 18px/1.2 "Share Tech Mono", Menlo, monospace; letter-spacing: 0.12em; color: #1f2d3a; }
.pst-name { font: 600 12px/1.3 "Share Tech Mono", Menlo, monospace; color: #3f4c58; letter-spacing: 0.04em; }
.pst-pl { display: flex; align-items: center; gap: 6px; margin: 0; min-width: 0; font: 600 10px "Share Tech Mono", Menlo, monospace; letter-spacing: 0.08em; color: #3f4c58; }
.pst-pick { font: 600 12px "Share Tech Mono", Menlo, monospace; max-width: 250px; min-width: 0; padding: 4px 6px; border: 1px solid #29343e; border-radius: 4px; background: #fff; color: #1f2d3a; }
.pst-x { font: 700 14px "Share Tech Mono", Menlo, monospace; padding: 4px 10px; border: 1px solid #29343e; border-radius: 4px; background: #fff; color: #1f2d3a; cursor: pointer; }
.pst-x:hover, .pst-x:focus-visible { border-color: #f39100; color: #b86e00; outline: none; }
.pst-note { margin: 8px 14px 0; font-size: 12px; color: #3f4c58; }
.pst-body { padding: 2px 14px 8px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; }
.pst-sec { min-width: 0; padding: 10px 0 6px; border-top: 1px solid rgba(41, 52, 62, 0.25); }
.pst-sec.pst-wide { grid-column: 1 / -1; }
.pst-sec h4 { margin: 0 0 6px; font: 700 12px/1.3 "Share Tech Mono", Menlo, monospace; letter-spacing: 0.1em; color: #1f2d3a; }
.pst-svg { display: block; width: 100%; height: auto; max-height: 64vh; border: 1px solid #29343e; border-radius: 4px; font-family: "Share Tech Mono", Menlo, monospace; }
.pst-cap { margin: 6px 0; font-size: 12px; color: #3f4c58; }
.pst-tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pst-t { border-collapse: collapse; width: 100%; font: 12px/1.35 "Share Tech Mono", Menlo, monospace; color: #1f2d3a; }
.pst-t th, .pst-t td { padding: 3px 6px; border-bottom: 1px solid rgba(41, 52, 62, 0.18); text-align: right; white-space: nowrap; }
.pst-t th:first-child { text-align: left; color: #3f4c58; font-weight: 600; }
.pst-t thead th { font-weight: 700; color: #1f2d3a; border-bottom: 1.5px solid #29343e; }
.pst-spd td, .pst-spd th { text-align: left; }
.pst-s { color: #1d9a4a; font-weight: 700; }
.pst-p { color: #d8342c; font-weight: 700; }
.pst-kv { margin: 0; }
.pst-kv div { display: flex; gap: 10px; padding: 3px 0; border-bottom: 1px dotted rgba(41, 52, 62, 0.3); }
.pst-kv dt { flex: 0 0 104px; font: 600 11px/1.6 "Share Tech Mono", Menlo, monospace; letter-spacing: 0.05em; color: #3f4c58; }
.pst-kv dd { margin: 0; min-width: 0; }
.pst-li { margin: 0; padding-left: 18px; }
.pst-li li { margin: 0 0 5px; }
.pst-two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; align-items: start; margin-bottom: 4px; }
.pst-foot { padding: 8px 14px 12px; font-size: 11px; color: #3f4c58; border-top: 3px double #29343e; }
.pst-wait { padding: 30px 16px; text-align: center; font: 600 13px "Share Tech Mono", Menlo, monospace; color: #1f2d3a; }
.pst-wait .pst-x { margin-left: 8px; }
@media (max-width: 700px) {
  .sim-poster { padding: 0; }
  .pst-card { border-radius: 0; border: 0; min-height: 100%; }
  .pst-head { padding: max(10px, env(safe-area-inset-top)) 12px 8px; }
  .pst-head h3 { font-size: 16px; }
  .pst-pl { flex: 1 1 auto; }
  .pst-pick { max-width: none; flex: 1 1 auto; }
  .pst-note { margin: 8px 12px 0; }
  .pst-body { grid-template-columns: minmax(0, 1fr); padding: 2px 12px 8px; }
  .pst-two { grid-template-columns: minmax(0, 1fr); }
  .pst-t { font-size: 11px; }
  .pst-t th, .pst-t td { padding: 3px 4px; }
  .pst-l { display: block; color: #3f4c58; }
  .pst-foot { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
