/* Generic embed apps (Spotify, Windy radar, any web page) — owned by js/webapp.js. Classes are prefixed web-. */
.web { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; background: var(--surface); }
.web-stage { position: relative; flex: 1 1 auto; min-height: 0; background: var(--surface-2); }
.web-stage iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #fff; }
.web-stage .empty-state { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.web-stage .empty-state[hidden] { display: none; }
.web-suggest { flex-wrap: wrap; justify-content: center; overflow: visible; }
.web-loading { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; display: grid; place-items: center; background: var(--surface-2); pointer-events: none; }
.web-loading[hidden] { display: none; }
.web-error { position: absolute; z-index: 3; top: 12px; right: 12px; left: 12px; }
.web-error[hidden] { display: none; }

.web-form { flex: 1 1 auto; min-width: 0; display: flex; }
.web-title { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.web-title strong { font-size: 1.1em; }
.web-title span { font-size: .85em; }

.web-hint { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 14px; border-top: 1px solid var(--border); color: var(--text-2); }
.web-hint span { flex: 1 1 auto; min-width: 0; font-size: .92em; }
.web[data-size="s"] .web-hint { display: none; }
