.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}

/* Invoicy balloon: a small glass bubble with an arrow. Dark by default, light under data-theme=light (the pages already switch that attribute). */
.tippy-box[data-theme~=iv] {
  --tip-bg: #1b2a45; --tip-fg: #e7edf6; --tip-ring: rgba(92, 196, 245, .38); --tip-shadow: rgba(0, 0, 0, .65);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)), var(--tip-bg);
  color: var(--tip-fg); border-radius: 12px; font: 500 12.5px/1.45 Rubik, system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: .005em;
  box-shadow: 0 0 0 1px var(--tip-ring), inset 0 1px 0 rgba(255, 255, 255, .1), 0 14px 30px -10px var(--tip-shadow);
}
:root[data-theme=light] .tippy-box[data-theme~=iv] {
  --tip-bg: #ffffff; --tip-fg: #0f172a; --tip-ring: rgba(14, 132, 189, .32); --tip-shadow: rgba(15, 23, 42, .28);
  background: var(--tip-bg);
  box-shadow: 0 0 0 1px var(--tip-ring), 0 14px 30px -10px var(--tip-shadow);
}
.tippy-box[data-theme~=iv] .tippy-content { padding: 8px 12px; }
.tippy-box[data-theme~=iv] > .tippy-arrow { width: 16px; height: 16px; color: var(--tip-bg); filter: drop-shadow(0 0 .5px var(--tip-ring)); }
/* motion: a short rise and fade; the arrow side decides the direction */
.tippy-box[data-theme~=iv][data-animation=iv] { transition-timing-function: cubic-bezier(.16, 1, .3, 1); }
.tippy-box[data-theme~=iv][data-animation=iv][data-state=hidden] { opacity: 0; transform: translateY(5px) scale(.96); }
.tippy-box[data-theme~=iv][data-animation=iv][data-placement^=bottom][data-state=hidden] { transform: translateY(-5px) scale(.96); }
.tippy-box[data-theme~=iv][data-animation=iv][data-placement^=left][data-state=hidden] { transform: translateX(5px) scale(.96); }
.tippy-box[data-theme~=iv][data-animation=iv][data-placement^=right][data-state=hidden] { transform: translateX(-5px) scale(.96); }
@media (prefers-reduced-motion: reduce) { .tippy-box[data-theme~=iv][data-animation=iv][data-state=hidden] { transform: none; } }
@media print { [data-tippy-root] { display: none !important; } }
