/* Ask Blueprint: the question box at the top of the Apps tab and its answer
   (ask.js). Blueprint's own tokens; as wide as the tiles. Not a search box,
   so not yellow. */
/* One line until an answer opens: title, box, Ask, "What can I ask?". */
.ask-box{max-width:2000px;margin:0 auto 14px;background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow);padding:8px 12px}
.ask-form{margin:0;display:flex;align-items:center;gap:10px}
.ask-t{display:block;font-size:14px;font-weight:700;color:var(--ink);margin:0;white-space:nowrap}
.ask-row{display:flex;gap:8px;align-items:stretch;flex:1;min-width:0}
.ask-box input.ask-in{flex:1;min-width:0;width:auto}
.ask-row .btn{width:auto;margin-top:0;padding:0 22px}
.ask-hint{margin:0;font-size:12.5px;color:var(--muted);white-space:nowrap}
.ask-box input.ask-in{padding-top:7px;padding-bottom:7px}
.ask-row .btn{padding:0 18px}
.ask-hint .linkbtn{font-size:12.5px;padding:2px 6px}
.ask-out{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}
.ask-out[hidden]{display:none}
.ask-head{display:flex;align-items:baseline;gap:10px;justify-content:space-between}
.ask-q{margin:0;font-size:12.5px;color:var(--muted);overflow-wrap:anywhere}
.ask-say p{margin:6px 0;font-size:14px;line-height:1.5;max-width:110ch}
.ask-say p:first-child{font-size:15px;font-weight:600}
.ask-wait{color:var(--muted)}
.ask-tbl{margin:10px 0 4px;border:1px solid var(--line);max-height:420px}
.ask-tbl td{max-width:420px;overflow:hidden;text-overflow:ellipsis}
.ask-lbl{display:inline-block;font-size:11px;font-weight:700;text-transform:uppercase;
  letter-spacing:.05em;color:var(--muted);margin-right:6px}
.ask-src{margin:8px 0 0;font-size:12.5px;color:var(--muted)}
.ask-links,.ask-opts,.ask-next{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.ask-links a.btn{text-decoration:none}
.ask-help{margin-top:12px}
.ask-help .ask-opts{margin-top:4px}

@media (max-width:700px){
  .ask-box{padding:10px 12px}
  .ask-form{flex-wrap:wrap;gap:6px 10px}
  .ask-t{order:1}
  .ask-hint{order:2;margin-left:auto}
  .ask-row{order:3;flex-basis:100%}
  .ask-box input.ask-in{font-size:16px}
  .ask-row .btn{min-height:44px;padding:0 16px}
  .ask-links .btn,.ask-opts .btn,.ask-next .btn{min-height:40px}
  .ask-hint .linkbtn,.ask-head .linkbtn{min-height:40px}
  .ask-tbl tbody td:first-child,.ask-tbl thead th:first-child{position:sticky;left:0;z-index:1;
    background:var(--card);border-right:1px solid var(--line);max-width:176px}
  .ask-tbl thead th:first-child{background:#0a2540;z-index:3}
}
@media (pointer:coarse) and (min-width:701px){
  .ask-links .btn,.ask-opts .btn,.ask-next .btn{min-height:40px}
}
[data-theme="dark"] .ask-tbl thead th:first-child{background:#0c1929}
@media print{ .ask-box{display:none} }
.ask-say .ask-err,.ask-err{color:var(--bad);font-size:13.5px}
.ask-beta{font-weight:600;font-size:12px;color:var(--muted)}
.ask-req{margin:10px 0 0;font-size:13px;color:var(--muted)}
.ask-req .linkbtn{font-size:13px}
/* a how-to's steps (help.howto, and nav with a known task) */
.ask-steps{margin:8px 0 0;padding-left:22px;font-size:14px;line-height:1.5;max-width:110ch}
.ask-steps li{margin:3px 0}
.ask-note{margin:6px 0 0;font-size:13px;color:var(--muted);max-width:110ch}
