/* Marketplace ▸ Request your own app (components/pages/market_request.py, 2026-11-27): aq- classes, scoped to the
   tab's root. Same look as the other pages: dark panels, chips, amber accent. */
.aq-root { margin-top: 4px; }
.aq-root .pk-card { background: rgba(0,0,0,0.6); }

/* intro */
.aq-intro { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding: 14px 16px; }
.aq-ihead { flex: 1 1 380px; min-width: 0; }
.aq-it { color: #cfefff; font-size: 1.08rem; font-weight: 600; }
.aq-is { color: #9fb3c8; font-size: .82rem; line-height: 1.5; margin-top: 4px; }
.aq-steps { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 1 auto; }
.aq-step { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; font-size: .8rem;
  color: #e8e8e8; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.aq-step i { color: #f0a030; }
.aq-n { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 22px;
  border-radius: 50%; font-size: .72rem; font-weight: 700; color: #06121a; background: #f0a030; }

/* the two columns */
.aq-cols { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 14px; align-items: start; }
.aq-side { position: sticky; top: 6px; }
@media (max-width: 1150px) { .aq-cols { grid-template-columns: minmax(0, 1fr); } .aq-side { position: static; } }

/* sections and questions */
.aq-sec { padding: 12px 14px 6px; }
.aq-sh { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.aq-st { color: #cfefff; font-weight: 600; font-size: .95rem; }
.aq-ss { color: #9fb3c8; font-size: .74rem; }
.aq-field { margin-bottom: 12px; }
.aq-q { color: #e8e8e8; font-size: .82rem; font-weight: 600; margin-bottom: 5px; }
.aq-qh { color: #9fb3c8; font-size: .72rem; margin: -3px 0 5px; }
.aq-req { color: #f0a030; display: none; }
.aq-req.always, .aq-form.mode-clear .aq-req { display: inline; }
.aq-hint { color: #9fb3c8; font-size: .76rem; line-height: 1.45; margin: -4px 0 12px; padding: 7px 10px; border-radius: 8px;
  background: rgba(75,233,250,0.05); border-left: 2px solid rgba(75,233,250,0.5); }
.aq-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; }
@media (max-width: 760px) { .aq-two { grid-template-columns: minmax(0, 1fr); } }

.aq-in { width: 100%; background: rgba(255,255,255,0.06) !important; color: #e8e8e8 !important; font-size: .84rem;
  border: 1px solid rgba(255,255,255,0.15) !important; border-radius: 8px; padding: 6px 10px; outline: none; }
.aq-in.area { resize: vertical; line-height: 1.45; min-height: 52px; }
.aq-in:focus { border-color: #f0a030 !important; box-shadow: 0 0 0 2px rgba(240,160,48,0.15); }
.aq-in::placeholder { color: rgba(159,179,200,0.7); }

/* chips (checklists and radios): the native input is hidden, the label is the chip */
.aq-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aq-chip { display: inline-flex !important; align-items: center; margin: 0 !important; cursor: pointer; padding: 4px 12px;
  border-radius: 14px; font-size: .78rem; color: #e8e8e8; background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14); transition: border-color .12s, background .12s; user-select: none; }
.aq-chip:hover { border-color: rgba(240,160,48,0.6); }
.aq-chip:has(input:checked) { border-color: #f0a030; color: #f5d6a3; background: rgba(240,160,48,0.12); }
.aq-chip-in { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.aq-chip:has(input:focus-visible), .aq-mode:has(input:focus-visible) { outline: 2px solid #4be9fa; outline-offset: 2px; }

.aq-modes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.aq-mode { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; cursor: pointer; padding: 10px 12px;
  border-radius: 10px; font-size: .84rem; color: #e8e8e8; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12); }
.aq-mode i { color: #9fb3c8; font-size: 1.05rem; width: 20px; text-align: center; }
.aq-mode > span { display: flex; align-items: center; gap: 10px; }
.aq-mode:hover { border-color: rgba(240,160,48,0.6); }
.aq-mode:has(input:checked) { border-color: #f0a030; background: rgba(240,160,48,0.10); color: #f5d6a3; }
.aq-mode:has(input:checked) i { color: #f0a030; }
@media (max-width: 760px) { .aq-modes { grid-template-columns: minmax(0, 1fr); } }

/* the brief */
.aq-side-card { padding: 12px 14px; }
.aq-bh { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.aq-meter { display: flex; flex-direction: column; gap: 3px; }
.aq-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.aq-bar-in { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #f0a030, #5fbf6a); transition: width .3s; }
.aq-brief { display: flex; flex-direction: column; gap: 7px; max-height: 46vh; overflow-y: auto; padding-right: 4px; }
.aq-brief.compact { max-height: none; margin-top: 6px; }
.aq-bs { padding: 6px 9px; border-radius: 8px; background: rgba(255,255,255,0.035); border-left: 2px solid rgba(240,160,48,0.55); }
.aq-bk { color: #9fb3c8; font-size: .66rem; text-transform: uppercase; letter-spacing: .5px; }
.aq-bv { color: #e8e8e8; font-size: .8rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.aq-empty { color: #9fb3c8; font-size: .8rem; padding: 14px; text-align: center; border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 10px; }
.aq-mut { color: #9fb3c8; font-size: .72rem; }
.aq-send { width: 100%; margin: 10px 0 6px; padding: 8px 12px !important; font-size: .88rem !important; }
.aq-msg:empty { display: none; }
.aq-msg { margin-top: 8px; font-size: .8rem; line-height: 1.45; }
.aq-bad { color: #ffb4b4; background: rgba(208,59,59,0.12); border: 1px solid rgba(208,59,59,0.45); border-radius: 8px; padding: 6px 10px; }
.aq-ok { color: #bfe8c4; background: rgba(95,191,106,0.12); border: 1px solid rgba(95,191,106,0.45); border-radius: 8px; padding: 6px 10px; }

/* your requests */
.aq-mine { padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,0.035); margin-top: 8px; }
.aq-mh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.aq-mt { color: #e8e8e8; font-size: .84rem; }
.aq-stc { font-size: .68rem !important; }
.aq-reply { margin-top: 7px; padding: 7px 10px; border-radius: 8px; background: rgba(75,233,250,0.06);
  border-left: 2px solid #4be9fa; }
.aq-rk { color: #4be9fa; font-size: .7rem; font-weight: 600; margin-bottom: 3px; }
.aq-rv { color: #e8e8e8; font-size: .8rem; line-height: 1.45; white-space: pre-wrap; }
.aq-det { margin-top: 6px; }
.aq-det summary { color: #9fb3c8; font-size: .74rem; cursor: pointer; }
.aq-det summary:hover { color: #f5d6a3; }
