.alfred-launcher {
  position: fixed;
  z-index: 25;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(330px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid #4d8b65;
  border-radius: 16px;
  color: #fff;
  background: #102224;
  box-shadow: 0 5px 22px #10222445;
  font: inherit;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}
.alfred-launcher[hidden] { display: none; }
.alfred-launcher:hover { background: #183b2d; }
.alfred-launcher:focus-visible, .alfred-dialog :focus-visible { outline: 3px solid #54c977; outline-offset: 3px; }
.alfred-launcher svg { width: 24px; height: 24px; flex: none; color: #83e6a1; }
.alfred-launcher strong, .alfred-launcher small { display: block; }
.alfred-launcher small { color: #e2ede6; margin-top: 3px; font-size: 12px; }
.alfred-dialog {
  width: min(420px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid #537b65;
  border-radius: 16px;
  background: #fff;
  color: #102224;
}
.alfred-dialog::backdrop { background: #10222480; }
.alfred-header { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 14px; background: #102224; color: #fff; }
.alfred-header p { margin: 3px 0 0; color: #ecf5ef; font-size: 13px; line-height: 1.35; }
.alfred-header button { color: #fff; border: 1px solid #81a391; background: transparent; border-radius: 5px; min-width: 36px; min-height: 36px; cursor: pointer; }
.alfred-frame { display: block; width: 100%; height: clamp(210px, calc(100dvh - 190px), 490px); border: 0; background: #fff; }
.alfred-footer { padding: 9px 14px; font-size: 12px; color: #294438; }
.alfred-footer a { color: #075727; text-decoration: underline; }
