/* Shared request controls. Page DNA tokens; editor supplies its inspector palette. */
.bj-request-ui {
  --request-ink: var(--bj-ink, #181817);
  --request-muted: var(--bj-muted, #66635e);
  --request-line: var(--bj-line, #ece9e6);
  --request-control: var(--bj-line-strong, #938d86);
  --request-stage: var(--bj-clean, #ffffff);
  --request-action: var(--bj-charcoal, #1a1a18);
}
.ed-rq-dialog.bj-request-ui {
  --request-ink: var(--ed-inspector-ink, #172638);
  --request-muted: #526174;
  --request-line: #dbe3ed;
  --request-control: #7a899b;
  --request-stage: #ffffff;
  --request-action: #172638;
}
.bj-request-ui .request-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.bj-request-ui .request-choices > :last-child:nth-child(odd) { grid-column:1 / -1; }
.bj-request-ui .request-choice {
  box-sizing:border-box; display:flex; flex-direction:column; align-items:flex-start;
  justify-content:center; gap:4px; min-width:0; min-height:64px; padding:12px 36px 12px 16px; position:relative;
  border:1px solid var(--request-control); border-radius:8px;
  background:#fff; color:var(--request-ink); font:500 15px/1.5 Pretendard,sans-serif;
  text-align:left; word-break:keep-all; overflow-wrap:anywhere; cursor:pointer;
}
.bj-request-ui .request-choice small,
.bj-request-ui .request-choice .dr-opt-chip-delta { font-size:14px; line-height:1.5; font-weight:400; color:var(--request-muted); }
.bj-request-ui .request-choice:hover { background:var(--request-stage); }
.bj-request-ui .request-choice:disabled { border-color:var(--request-line); color:var(--request-muted); cursor:not-allowed; box-shadow:none; }
.bj-request-ui .request-choice[aria-pressed="true"],
.bj-request-ui input:checked + .request-choice { border-color:var(--request-ink); background:var(--request-stage); box-shadow:inset 0 0 0 1px var(--request-ink); color:var(--request-ink); }
.bj-request-ui .request-choice[aria-pressed="true"]::after,
.bj-request-ui input:checked + .request-choice::after { content:''; position:absolute; right:16px; top:16px; width:5px; height:9px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); }
.bj-request-ui .request-choice:focus-visible,
.bj-request-ui input:focus-visible + .request-choice { outline:2px solid var(--request-ink); outline-offset:3px; }
.bj-request-ui .request-input { width:100%; box-sizing:border-box; min-height:128px; padding:12px 16px; border:1px solid var(--request-control); border-radius:8px; font:400 16px/1.6 Pretendard,sans-serif; color:var(--request-ink); background:#fff; resize:vertical; }
.bj-request-ui .request-input:focus { outline:2px solid var(--request-ink); outline-offset:2px; }
.bj-request-ui .request-input::placeholder { color:var(--request-muted); }
.bj-request-ui .request-action { min-height:48px; border:0; border-radius:8px; background:var(--request-action); color:#fff; font:700 16px/1.5 Pretendard,sans-serif; cursor:pointer; }
.bj-request-ui .request-action:disabled { opacity:.45; cursor:not-allowed; }
.ed-rq-dialog.bj-request-ui { max-width:900px; }
.ed-rq-dialog.bj-request-ui .ed-rq-group { border:0; border-bottom:1px solid var(--request-line); border-radius:0; padding:12px 0!important; }
.bj-request-ui .ed-rq-body #chatComposer { border:0; border-radius:0; padding:0; }
.bj-request-ui .ed-rq-body #chatInput { border-color:var(--request-control); padding:12px 16px; }
.bj-request-ui .ed-rq-group summary { font-size:15px; line-height:1.5; }
.bj-request-ui .ed-rq-group summary > span { font-size:14px; }
.bj-request-ui .ed-rq-group h3, .bj-request-ui .ed-rq-quote h3 { font-size:16px; line-height:1.5; }
.bj-request-ui .ed-rq-line { font-size:15px; line-height:1.5; padding:10px 0; }
.bj-request-ui .ed-rq-total strong { font-size:24px; }
.bj-request-ui .ed-rq-intro, .bj-request-ui .ed-rq-terms { font-size:14px; line-height:1.6; }
.bj-request-ui .ed-rq-quote { background:var(--request-stage); }
@media(min-width:768px) {
  .bj-request-ui .ed-rq-body { display:grid; grid-template-columns:minmax(0,1fr) 240px; column-gap:24px; align-items:start; }
  .bj-request-ui .ed-rq-intro, .bj-request-ui .ed-rq-target { grid-column:1 / -1; }
  .bj-request-ui #edReqComposerHost { grid-column:1; grid-row:3; }
  .bj-request-ui .ed-rq-grid { display:contents; }
  .bj-request-ui .ed-rq-options { grid-column:1; grid-row:4; }
  .bj-request-ui .ed-rq-quote { grid-column:2; grid-row:3 / 5; top:0; }
  .bj-request-ui .ed-rq-terms { grid-column:1 / -1; }
}
@media(max-width:767px) {
  .bj-request-ui .request-choice { font-size:16px; padding:12px 32px 12px 12px; }
}
