.qyac {
  --ac-ink: #182641;
  --ac-muted: #52627a;
  --ac-line: #e0e6ef;
  --ac-primary: #444cb1;
  --ac-indigo: #454cb2;
  container-type: inline-size;
  color: var(--ac-ink);
  margin-bottom: 16px;
}
.qyac svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.qyac button { font-family: inherit; }
.qyac :is(button:focus-visible) { outline: 2px solid #526fd4; outline-offset: 2px; }
.qyac-page { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 3px 0 17px; }
.qyac-page h1 { font-size: clamp(25px,2.25vw,33px); letter-spacing: -.04em; font-weight: 680; }
.qyac-page p { color: var(--ac-muted); font-size: 13px; margin: 6px 0 0; }
.qyac-snapshot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ac-muted); }
.qyac-snapshot svg { width: 15px; height: 15px; }
.qyac-snapshot time, .qyac code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.qyac-work { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0,2.1fr); align-items: stretch; border: 1px solid #d7dfea; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 3px 12px #21365508; }
.qyac-picker { min-width: 0; display: flex; flex-direction: column; background: #fafbfd; border-right: 1px solid #dce3ef; }
.qyac-section-head { display: flex; align-items: center; gap: 8px; padding: 15px 17px 12px; }
.qyac-section-head h2 { font-size: 16px; letter-spacing: 0; }
.qyac-section-icon { display: inline-flex; color: #6268a7; }
.qyac-section-icon svg { width: 17px; height: 17px; }
.qyac-choices { display: grid; gap: 4px; padding: 0 8px; }
.qyac-choice { display: flex; gap: 10px; align-items: center; text-align: left; min-height: 63px; padding: 9px; min-width: 0; border: 1px solid transparent; border-radius: 8px; }
.qyac-choice:hover { background: #eef2fa; }
.qyac-choice[aria-pressed=true] { background: #eeeffc; border-color: #c8cbed; }
.qyac-choice[aria-pressed=true] .qyac-choice-title strong { color: #363c89; }
.qyac-type { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 8px; flex: none; }
.qyac-type-risk { background: #e5e7fc; color: #5558ac; }
.qyac-type-delivery { background: #e5effa; color: #43709d; }
.qyac-type-sales { background: #dfefeb; color: #377a6c; }
.qyac-choice-title { display: grid; gap: 2px; }
.qyac-choice-title strong { font-size: 14px; font-weight: 625; line-height: 1.35; }
.qyac-choice-title small { font-size: 12px; color: #626f84; }
.qyac-choice-state { margin-left: auto; color: #687487; font-size: 11px; white-space: nowrap; }
.qyac-choice-state.review { color: #92602b; }
.qyac-choice-state.done { color: #347767; }
.qyac-choice-state.active { color: #3d57a2; }
.qyac-compose { margin: 13px 16px 15px; padding-top: 13px; border-top: 1px solid var(--ac-line); }
.qyac-compose-label, .qyac-track-label { color: #596882; font-size: 12px; font-weight: 550; }
.qyac-compose p { font-size: 13px; line-height: 1.55; margin: 4px 0 10px; color: #3d4d66; }
.qyac-primary { display: inline-flex; justify-content: center; align-items: center; gap: 7px; border-radius: 6px; font-size: 13px; font-weight: 580; line-height: 1.4; }
.qyac-primary { width: 100%; min-height: 34px; padding: 6px 10px; background: #414caa; color: #fff; box-shadow: inset 0 1px 0 #ffffff21; }
.qyac-primary:hover { background: #354094; }
.qyac-primary svg { width: 15px; height: 15px; }

.qyac-track { min-width: 0; }
.qyac-track-head { padding: 18px 20px 13px; }
.qyac-track-title { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-top: 4px; }
.qyac-track-title h2 { font-size: 18px; line-height: 1.35; font-weight: 650; }
.qyac-track-label { display: flex; gap: 9px; align-items: center; }
.qyac-track-label code { font-size: 11px; color: #65718c; padding-left: 9px; border-left: 1px solid #cbd3e1; font-weight: 480; }
.qyac-status { display: inline-flex; align-items: center; gap: 5px; color: #596880; background: #f1f3f7; padding: 3px 8px; border-radius: 12px; font-size: 12px; white-space: nowrap; }
.qyac-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.qyac-status.review { color: #8b581e; background: #f8efdd; }
.qyac-status.done { color: #267360; background: #e2f2eb; }
.qyac-status.active { color: #4359a5; background: #e9edfc; }
.qyac-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; padding: 12px 13px 11px; background-color: #f5f7fc; background-image: radial-gradient(circle,#dce2f0 1px,transparent 1px); background-size: 10px 10px; border-block: 1px solid #e0e6ef; }
.qyac-node { display: grid; justify-items: center; align-content: start; min-width: 0; position: relative; isolation: isolate; padding: 2px 3px 4px; border-radius: 6px; color: #303f5b; }
.qyac-node:not(:last-child)::after { content: ''; position: absolute; z-index: -1; left: calc(50% + 22px); top: 21px; width: calc(100% - 44px); border-top: 1px dashed #afbad2; }
.qyac-node.qyac-done:not(:last-child)::after { border-top: 1.5px solid #99a9cc; }
.qyac-node-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 6px; color: #4f669b; background: #fff; border: 1px solid #c7d1e2; border-radius: 9px; box-shadow: 0 2px 3px #2539530a; }
.qyac-node-agent .qyac-node-icon { background: #535bb2; border-color: #535bb2; color: #fff; }
.qyac-node-output .qyac-node-icon { color: #33766f; }
.qyac-node-owner .qyac-node-icon { color: #80663d; }
.qyac-node[aria-pressed=true] .qyac-node-icon { box-shadow: 0 0 0 3px #dbe2f8; border-color: #5e70b6; }
.qyac-node:hover .qyac-node-icon { border-color: #657bbc; }
.qyac-node strong { font-size: 13px; font-weight: 620; line-height: 1.4; }
.qyac-node-name { margin-top: 2px; font-size: 11px; color: #55647b; line-height: 1.45; overflow-wrap: anywhere; }
.qyac-detail { padding: 13px 20px 14px; }
.qyac-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.qyac-detail-head h3 { font-size: 14px; line-height: 1.4; letter-spacing: 0; }
.qyac-detail-head > span { color: var(--ac-muted); font-size: 12px; }
.qyac-input { width: 100%; display: flex; align-items: center; gap: 9px; text-align: left; min-height: 43px; }
.qyac-input + .qyac-input { border-top: 1px solid #e9edf4; }
.qyac-input:hover { background: #f7f9fc; }
.qyac-input .qyac-record-icon { color: #61749a; display: inline-flex; }
.qyac-input > span:nth-child(2) { display: grid; line-height: 1.35; }
.qyac-input strong, .qyac-tools strong, .qyac-empty strong { font-size: 13px; font-weight: 580; }
.qyac-input small { color: #66758b; font-size: 11px; }
.qyac-input b { flex: 1; min-width: 40px; text-align: right; color: #425471; font-size: 12px; font-weight: 520; overflow-wrap: anywhere; }
.qyac-input > svg { width: 13px; height: 13px; color: #8290a6; }
.qyac-tools { list-style: none; margin: 0; padding: 0; }
.qyac-tools li { display: flex; align-items: center; gap: 9px; padding: 7px 0; }
.qyac-tools li + li, .qyac-results div + div { border-top: 1px solid #e9edf4; }
.qyac-step-state { display: inline-flex; color: #677791; }
.qyac-step-state svg { width: 15px; height: 15px; }
.qyac-step-state.is-done { color: #287966; }
.qyac-tools p, .qyac-empty p { color: var(--ac-muted); margin: 1px 0 0; font-size: 12px; }
.qyac-tools code { margin-left: auto; color: #656da4; font-size: 11px; }
.qyac-results { margin: 0; }
.qyac-results div { display: grid; grid-template-columns: minmax(75px,.32fr) minmax(0,1fr); gap: 9px; align-items: baseline; padding: 7px 0; }
.qyac-results dt { color: var(--ac-muted); font-size: 12px; }
.qyac-results dd { margin: 0; color: #263e5b; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.qyac-empty { padding: 8px 0; }

@container (max-width: 780px) {
  .qyac-work { grid-template-columns: minmax(220px,.82fr) minmax(0,1.35fr); }
  .qyac-track-head, .qyac-detail { padding-inline: 12px; }
  .qyac-track-title h2 { font-size: 16px; }
  .qyac-node-name { font-size: 10.5px; }
  .qyac-flow { padding-inline: 4px; }
  .qyac-tools li { flex-wrap: wrap; }
  .qyac-tools code { margin-left: 24px; }
}

@container (max-width: 650px) {
  .qyac-page { align-items: flex-start; padding-bottom: 12px; }
  .qyac-work { grid-template-columns: minmax(0,1fr); }
  .qyac-picker { border-right: 0; border-bottom: 1px solid var(--ac-line); }
  .qyac-section-head { padding: 10px 12px 6px; }
  .qyac-choices { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .qyac-choice { min-height: 49px; padding: 6px; gap: 4px; }
  .qyac-choice-state { display: none; }
  .qyac-choice-title strong { font-size: 13px; }
  .qyac-choice-title small { font-size: 11px; }
  .qyac-type { width: 27px; height: 27px; border-radius: 6px; }
  .qyac-type svg { width: 16px; height: 16px; }
  .qyac-compose { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 3px 10px; margin: 7px 12px 10px; padding-top: 7px; }
  .qyac-compose-label { display: none; }
  .qyac-compose p { margin: 0; font-size: 12px; }
  .qyac-primary { min-height: 34px; font-size: 12px; }
  .qyac-track-head { padding-block: 11px; }
  .qyac-input { min-height: 44px; }
}
@container (max-width: 415px) {
  .qyac-snapshot { align-items: flex-end; flex-direction: column; gap: 0; font-size: 11px; }
  .qyac-snapshot svg { display: none; }
  .qyac-choice { align-items: flex-start; }
  .qyac-choice-title { gap: 3px; }
  .qyac-type { display: none; }
  .qyac-compose { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .qyac-primary { justify-self: start; width: auto; }
  .qyac-flow { padding: 8px 3px; }
  .qyac-node-name { font-size: 10.5px; }
  .qyac-node strong { font-size: 12px; }
  .qyac-node-icon { width: 32px; height: 32px; }
  .qyac-node:not(:last-child)::after { top: 18px; left: calc(50% + 18px); width: calc(100% - 36px); }
  .qyac-tools code { overflow-wrap: anywhere; }
}
.qyac-account { display: flex; flex-wrap: wrap; gap: 3px 14px; margin-top: 7px; color: #597088; font-size: 12px; line-height: 1.4; }
.qyac-account strong { font-weight: 550; color: #3b4b65; }
.qyac-basis { margin: 8px 0 0; padding: 8px 10px; background: #f5f8fc; border-left: 2px solid #a0aec8; color: #526178; font-size: 12px; }
.qyac-basis strong { margin-right: 8px; color: #364b67; font-size: 12px; font-weight: 600; }
@container (max-width: 415px) {
  .qyac-choices { grid-template-columns: 1fr; gap: 1px; }
  .qyac-choice { align-items: center; gap: 7px; min-height: 42px; padding: 4px 7px; }
  .qyac-choice-title { grid-template-columns: 1fr; gap: 1px; }
  .qyac-type { display: grid; width: 25px; height: 25px; }
  .qyac-choice-state { display: inline; font-size: 11px; }
}
