/* Neva companion Notifications page (src/neva/led/notifications.js).
   Values are the owner's ZIP companion inbox page (source notch.css
   .notch-inbox-*), placed in the shell's 'inbox' pane: the pane is the ZIP's
   .notch-page box (inset 44px 10px 10px of the notch), so the ZIP offsets apply
   unchanged. Additions beyond the ZIP are only what real sources need: a
   loading spinner, an unavailable/error state and a second footer key. */
.neva-led .neva-led__panel[data-led-slot="inbox"] .neva-led__mount { position: relative; padding: 0; overflow: hidden; }
.neva-led .notch-inbox-page {
  position: absolute; inset: 0;
  color: var(--notch-ink, #f0f1f5);
  font: 13px/1.4 var(--font-sans, "Inter", "SF Pro Display", system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
}
.neva-led .notch-inbox-page *, .neva-led .notch-inbox-page *::before, .neva-led .notch-inbox-page *::after { box-sizing: border-box; }
.neva-led .notch-inbox-page button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; touch-action: manipulation; margin: 0; }
.neva-led .notch-inbox-page button:focus-visible { outline: 2px solid #a9b9fc; outline-offset: 3px; }
.neva-led .notch-inbox-page svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; flex-shrink: 0; }
.neva-led .notch-inbox-page :is(.notch-inbox-tabs > button, .notch-inbox-back, .notch-inbox-footer button, .notch-inbox-row, .notch-inbox-detail-actions button) {
  transition: scale 220ms cubic-bezier(.25, .1, .25, 1), background 220ms ease, color 220ms ease;
}
.neva-led .notch-inbox-page :is(.notch-inbox-tabs > button, .notch-inbox-back, .notch-inbox-footer button, .notch-inbox-detail-actions button):active { scale: .94; transition-duration: 130ms; }

.neva-led .notch-inbox-header { position: absolute; top: 13px; left: var(--notch-content-start, 140px); right: 16px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.neva-led .notch-inbox-heading { display: flex; align-items: baseline; gap: 9px; max-width: 100%; }
.neva-led .notch-inbox-heading > strong { font-size: 12px; font-weight: 500; }
.neva-led .notch-inbox-heading > span { font-size: 10px; color: var(--notch-muted, #a4a6b0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.neva-led .notch-inbox-tabs { display: flex; gap: 3px; }
.neva-led .notch-inbox-tabs > button { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 9px; border-radius: 12px; font-size: 10px; color: #a9b3bd; }
.neva-led .notch-inbox-tabs > button[aria-pressed="true"] { background: var(--notch-control-glass, rgba(15, 21, 27, .48)); box-shadow: inset 0 1px #ffffff0c; color: #edf0f3; }
.neva-led .notch-inbox-tabs > button:hover { background: #ffffff09; }
.neva-led .notch-inbox-tabs > button > span { font-size: 9px; font-variant-numeric: tabular-nums; color: #a9b5be; }
.neva-led .notch-inbox-list { position: absolute; inset: 82px 14px 38px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ffffff20 transparent; }
.neva-led .notch-inbox-row { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 54px; padding: 9px 11px; text-align: left; border-radius: 11px; }
.neva-led .notch-inbox-row + .notch-inbox-row { border-top: 1px solid #ffffff07; }
.neva-led .notch-inbox-row:hover { background: #ffffff07; }
.neva-led .notch-inbox-glyph { width: 22px; flex-shrink: 0; display: grid; place-items: center; color: #a6b3bc; }
.neva-led .notch-inbox-glyph svg { width: 18px; height: 18px; stroke-width: 1.4; }
.neva-led .notch-inbox-row-copy { flex: 1; min-width: 0; }
.neva-led .notch-inbox-row-top { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; }
.neva-led .notch-inbox-row-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 500; }
.neva-led .notch-inbox-row-top small, .neva-led .notch-inbox-sender small { color: #a2adb6; font-size: 9px; white-space: nowrap; flex-shrink: 0; }
.neva-led .notch-inbox-subject { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #aeb8c1; font-size: 11px; margin-top: 3px; }
.neva-led .notch-inbox-unread { width: 4px; height: 4px; border-radius: 50%; background: #d3e0e6; flex-shrink: 0; opacity: .75; }
.neva-led .notch-inbox-footer { position: absolute; bottom: 9px; left: 24px; right: 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #9ba8b1; font-size: 9px; }
.neva-led .notch-inbox-footer > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.neva-led .notch-inbox-footer-actions { display: flex; gap: 4px; flex-shrink: 0; }
.neva-led .notch-inbox-footer button { display: flex; align-items: center; gap: 5px; min-height: 28px; padding: 3px 5px; font-size: 10px; border-radius: 8px; white-space: nowrap; color: #c3ccd3; }
.neva-led .notch-inbox-footer button:hover:not(:disabled) { background: #ffffff08; color: #e9eff3; }
.neva-led .notch-inbox-footer button:disabled { cursor: default; opacity: .5; }
.neva-led .notch-inbox-page :is(.notch-inbox-footer, .notch-inbox-read, .notch-inbox-detail-actions) svg { width: 12px; height: 12px; }
.neva-led .notch-inbox-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 100%; padding: 16px; text-align: center; }
.neva-led .notch-inbox-empty > svg { width: 20px; height: 20px; color: #aabdbb; margin-bottom: 3px; }
.neva-led .notch-inbox-empty[data-inbox-state="unavailable"] > svg, .neva-led .notch-inbox-empty[data-inbox-state="error"] > svg { color: #c9b28f; }
.neva-led .notch-inbox-empty strong { font-size: 12px; font-weight: 500; }
.neva-led .notch-inbox-empty span { font-size: 10px; color: #a5b2bb; max-width: 34ch; }
.neva-led .notch-inbox-spinner { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #ffffff22; border-top-color: #c9d3da; animation: notch-inbox-spin 900ms linear infinite; margin-bottom: 3px; }
@keyframes notch-inbox-spin { to { transform: rotate(360deg); } }
.neva-led .notch-inbox-back { display: flex; align-items: center; gap: 7px; min-height: 30px; border-radius: 10px; padding: 4px 8px 4px 0; font-size: 12px; }
.neva-led .notch-inbox-back:hover { color: #fff; background: #ffffff05; }
.neva-led .notch-inbox-back svg { width: 15px; height: 15px; }
.neva-led .notch-inbox-preview-label { font-size: 10px; color: #a5b2bb; }
.neva-led .notch-inbox-detail { position: absolute; inset: 82px 24px 38px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ffffff20 transparent; }
.neva-led .notch-inbox-sender { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.neva-led .notch-inbox-sender strong { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.neva-led .notch-inbox-detail h3 { font-size: 13px; font-weight: 500; line-height: 1.5; margin: 12px 0 8px; overflow-wrap: anywhere; }
.neva-led .notch-inbox-detail p { font-size: 12px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; color: #bbc6cd; margin: 0 0 12px; }
.neva-led .notch-inbox-read { display: flex; align-items: center; gap: 5px; font-size: 9px; color: #99aaaf; }
.neva-led .notch-inbox-detail-actions { display: flex; gap: 6px; margin-top: 10px; }
.neva-led .notch-inbox-detail-actions button { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 5px 11px; border-radius: 11px; font-size: 11px; background: var(--notch-control-glass, rgba(15, 21, 27, .48)); box-shadow: inset 0 1px #ffffff0c; color: #edf0f3; }
.neva-led .notch-inbox-detail-actions button:hover { background: #ffffff10; }

@media (max-width: 620px) {
  .neva-led .notch-inbox-header { right: 10px; }
  .neva-led .notch-inbox-tabs > button { gap: 5px; padding-inline: 7px; }
  .neva-led .notch-inbox-list { left: 8px; right: 8px; }
  .neva-led .notch-inbox-row { gap: 8px; padding-inline: 8px; }
  .neva-led .notch-inbox-footer { left: 16px; right: 13px; gap: 6px; }
  .neva-led .notch-inbox-detail { left: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .neva-led .notch-inbox-spinner { animation: none; }
  .neva-led .notch-inbox-page :is(.notch-inbox-tabs > button, .notch-inbox-back, .notch-inbox-footer button, .notch-inbox-row, .notch-inbox-detail-actions button) { transition: none; }
}
