/* Whimsible's Hal, the builder window (30 November 2026). Dark, a muted mid tone surface with depth, never white. Type is hers. */
/* THE BUILDER WINDOW (hal-ask.js): one question at a time, comes from the button pressed and goes back there */
.hal-ask { position: fixed; z-index: 50; left: 50%; top: 50%; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; box-sizing: border-box; padding: 18px 18px 14px;
  border-radius: 12px; background: linear-gradient(160deg, #8c7f8f, #6f6275); color: #1a1220; font: 18px/1.45 'Crimson Pro', Georgia, serif; box-shadow: 0 14px 40px #000a;
  transform: translate(-50%, -50%) scale(1); transform-origin: var(--from-x, 50%) var(--from-y, 50%); transition: transform .22s ease, opacity .22s ease; }
.hal-ask.away { transform: translate(-50%, -50%) scale(.2); opacity: 0; }
.hal-ask-veil { position: fixed; inset: 0; z-index: 49; background: #120c16b0; }
.hal-ask .who { margin: 0 0 6px; font: italic 15px Lora, Georgia, serif; color: #2d2233; }
.hal-ask .ask { margin: 0 0 10px; font-size: 21px; font-weight: 700; }
.hal-ask .under { margin: 4px 0 8px; font: italic 15px/1.35 Lora, Georgia, serif; color: #2d2233; }
.hal-ask input[type=text], .hal-ask textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 2px solid #3a2e40; border-radius: 6px; background: #b7aab6; color: #1a1220; font: 17px 'Crimson Pro', Georgia, serif; }
.hal-ask textarea { min-height: 4.5em; }
.hal-ask .opts { display: grid; gap: 6px; margin: 8px 0; }
.hal-ask .opts label { display: flex; gap: 8px; align-items: flex-start; padding: 6px 8px; border-radius: 6px; background: #ffffff14; }
.hal-ask .rowb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hal-ask button { padding: 7px 16px; border: 2px solid #1a1220; border-radius: 20px; background: transparent; color: #1a1220; font: 17px 'Crimson Pro', Georgia, serif; cursor: pointer; }
.hal-ask button.go { background: #9fc18e; border-color: #3d5a30; }
.hal-ask .x { position: absolute; top: 8px; right: 10px; padding: 0 8px; border: 0; font-size: 26px; }
.hal-ask .count { font: italic 14px Lora, Georgia, serif; color: #2d2233; }
@media (prefers-reduced-motion: reduce) { .hal-ask { transition: none; } }
.hal-ask .pick { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; padding: 8px; border-radius: 6px; background: #ffffff14; }
.hal-ask .pick .under { display: block; margin: 2px 0 0; }
.hal-ask input[type=file] { margin: 6px 0; }
.hal-ask .pick ul.under { margin: 2px 0 0; padding-left: 18px; }
.hal-ask .pick ul.under li { margin: 1px 0; }
