/* Side panel with an address bar (opens from the right edge, above the weather tab) */
#nav-btn { position: fixed; right: 0; top: calc(50% - 130px); z-index: 2147483000; border: 0; border-radius: 12px 0 0 12px; padding: 12px 8px; background: #2fae4f; color: #fff; font: 700 14px system-ui, sans-serif; cursor: pointer; box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.3); writing-mode: vertical-rl; }
#nav-btn:hover { background: #3cc35e; }
#nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 100vw); z-index: 2147483001; box-sizing: border-box; padding: 16px; background: #f4f7fc; color: #13233f; font: 15px system-ui, sans-serif; text-align: left; box-shadow: -4px 0 18px rgba(0, 0, 0, 0.3); transform: translateX(105%); transition: transform 0.25s; }
#nav.open { transform: none; }
#nav * { box-sizing: border-box; }
#nav button { font: inherit; cursor: pointer; }
.nav-top { display: flex; align-items: center; justify-content: space-between; font-size: 17px; }
#nav-close { border: 0; background: none; font-size: 22px; line-height: 1; padding: 2px 6px; color: #5a6a88; }
#nav-form { display: flex; gap: 6px; margin-top: 14px; }
#nav-url { flex: 1; min-width: 0; padding: 10px; border: 1px solid #cbd6ea; border-radius: 8px; font: inherit; }
#nav-form button { border: 0; border-radius: 8px; padding: 0 16px; background: #2fae4f; color: #fff; font-weight: 700; }
.nav-now { margin-top: 10px; color: #5a6a88; font-size: 13px; word-break: break-all; }
.nav-row { display: flex; gap: 6px; margin-top: 12px; }
.nav-row button { flex: 1; border: 0; border-radius: 8px; padding: 10px 0; background: #dde5f3; color: #13233f; font-size: 18px; }
.nav-row button:hover { background: #cbd6ea; }
