/* MoveOver library (/moveover/library): the reports MoveOver saved for a key. */
.lib-shell { max-width: 1040px; margin: 0 auto; padding: 9rem 1rem 5rem; }
.lib-hero { margin-bottom: 1.5rem; }
.lib-hero h1 { margin: 0.4rem 0 0.6rem; text-wrap: balance; }
.lib-sub { max-width: 64ch; color: var(--ink-mute, #526070); font-size: 1.05rem; line-height: 1.6; margin: 0; }
.lib-card { background: #fff; border: 1px solid var(--line, #e3e9f0); border-radius: 20px; padding: 1.4rem 1.5rem; max-width: 640px; }
.lib-label { display: block; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute, #526070); margin-bottom: 0.5rem; }
.lib-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.lib-row .field { flex: 1 1 280px; }
.lib-error { color: #b91c1c; font-size: 0.92rem; margin: 0.6rem 0 0; }
.lib-note, .lib-foot { color: var(--ink-mute, #526070); font-size: 0.9rem; margin: 0.8rem 0 0; }
.lib-bar { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: center; justify-content: space-between; padding: 0.9rem 1.1rem; background: #fff; border: 1px solid var(--line, #e3e9f0); border-radius: 16px; margin-bottom: 1rem; }
.lib-stats { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.95rem; color: var(--ink-mute, #526070); font-variant-numeric: tabular-nums; }
.lib-stats b { color: var(--ink, #071727); font-weight: 600; }
.lib-bar-actions { display: flex; align-items: center; gap: 0.7rem; }
.lib-keychip { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--ink-mute, #526070); }
.lib-cap { padding: 0.8rem 1rem; border-left: 3px solid #f59e0b; border-radius: 6px; background: #fff8e6; margin-bottom: 1rem; font-size: 0.95rem; }
.lib-location { background: #fff; border: 1px solid var(--line, #e3e9f0); border-radius: 16px; padding: 1rem 1.1rem 0.4rem; margin-bottom: 1rem; }
.lib-location-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1rem; align-items: baseline; margin-bottom: 0.5rem; }
.lib-location-head h2 { font-size: 1.1rem; font-weight: 600; margin: 0; }
.lib-location-head span { color: var(--ink-mute, #526070); font-size: 0.9rem; }
.lib-report { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 1rem; align-items: center; padding: 0.7rem 0; border-top: 1px solid var(--line, #e3e9f0); }
.lib-report .when { font-weight: 600; }
.lib-report .facts { color: var(--ink-mute, #526070); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.lib-report .latest { display: inline-block; margin-left: 0.5rem; padding: 0.05rem 0.5rem; border-radius: 999px; background: var(--mist, #e6eef6); color: var(--ink, #071727); font-size: 0.75rem; font-weight: 600; vertical-align: middle; }
.lib-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.lib-actions button { font: inherit; font-size: 0.9rem; font-weight: 600; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line, #e3e9f0); background: #fff; color: var(--ink, #071727); cursor: pointer; }
.lib-actions button.primary { background: var(--brand, #0796ff); border-color: var(--brand, #0796ff); color: #fff; }
.lib-actions button.quiet { color: var(--ink-mute, #526070); }
.lib-actions button:focus-visible { outline: 2px solid var(--brand, #0796ff); outline-offset: 2px; }
.lib-empty { background: #fff; border: 1px dashed var(--line, #e3e9f0); border-radius: 16px; padding: 1.4rem 1.5rem; }
.lib-empty p { margin: 0.4rem 0 0; color: var(--ink-mute, #526070); max-width: 60ch; }
.lib-loading { color: var(--ink-mute, #526070); padding: 1rem 0; }
.lib-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink, #071727); color: #fff; padding: 0.6rem 1rem; border-radius: 999px; font-size: 0.9rem; opacity: 0; transition: opacity 0.2s, transform 0.2s; pointer-events: none; z-index: 70; }
.lib-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 640px) { .lib-shell { padding-top: 7rem; } .lib-report { grid-template-columns: 1fr; } }

/* Key recovery on the sign-in card. The key is only ever delivered by email, so the one thing this card
   cannot do is leave someone who lost that email with nowhere to click. */
.lib-recover { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(15, 23, 42, 0.08); }
.lib-recover > a { font-size: 14px; font-weight: 600; color: #475569; text-decoration: none; }
.lib-recover > a:hover { color: #0f172a; text-decoration: underline; }
.lib-recover form[hidden] { display: none; }
.lib-recover form { margin-top: 12px; }
.lib-recover .lib-note { margin-top: 12px; }
.lib-recover .lib-error.ok { color: #0f6e56; }
