/* Keep expense originals discoverable in the upstream responsive UI. */
.smallwind-original-viewer { min-height: 120px; color: #152331; }
.smallwind-original-toolbar { display: flex; gap: .6rem; align-items: center; padding: .5rem; flex-wrap: wrap; }
.smallwind-original-toolbar button { border: 1px solid #cbd5e1; border-radius: .35rem; padding: .2rem .65rem; }
.smallwind-original-toolbar button:disabled { opacity: .35; }
.smallwind-original-toolbar a { margin-left: auto; color: #086f9c; font-size: .8rem; }
.smallwind-original-paper { max-height: 70svh; overflow: auto; background: #eef2f5; }
.smallwind-original-paper canvas { display: block; width: 100%; height: auto; background: white; }
body:has(a[href*="/expenses/"][href$="/documents"]) a[href*="/expenses/"][href$="/documents"] {
  color: #086f9c;
  background: #e3f5fe;
  border-radius: .55rem;
  padding: .5rem .8rem;
  font-weight: 600;
}
@media (max-width: 1279px) {
  body:has(a[href*="/expenses/"][href$="/documents"]) .flex.flex-col.gap-4 > .flex.flex-col:has(> iframe) {
    order: -1;
    border: 1px solid #cbd5e1;
    border-radius: .65rem;
    background: #fff;
    padding: .5rem;
  }
  body:has(a[href*="/expenses/"][href$="/documents"]) iframe[src^="blob:"] {
    height: 65svh !important;
    min-height: 420px;
  }
  body:has(a[href*="/expenses/"][href$="/documents"]) textarea {
    max-height: 180px !important;
    overflow-y: auto !important;
  }
}

.smallwind-agent-launcher{position:fixed;right:22px;bottom:max(18px,env(safe-area-inset-bottom));z-index:90;display:flex;gap:5px;padding:5px;border:1px solid #566b8566;border-radius:14px;background:#172336ed;box-shadow:0 8px 25px #0003;backdrop-filter:blur(12px)}.smallwind-agent-launcher a{padding:9px 12px;color:#e7f3ff;text-decoration:none;font:600 12px system-ui;border-radius:10px}.smallwind-agent-launcher a:last-child{background:#ffb265;color:#182333}.smallwind-agent-launcher a:focus-visible{outline:2px solid #7dccf0}@media(max-width:600px){.smallwind-agent-launcher{right:10px;bottom:max(10px,env(safe-area-inset-bottom))}}
