/* 人工判断工作区：仅作用于独立 .ajw-* 命名空间。 */
.ajw-reading-first { background: #fff; color: #243448; padding: 20px 24px; font-size: 15px; line-height: 1.65; }
.ajw-reading-first [hidden] { display: none !important; }
.ajw-record-context:empty { display: none; }
.ajw-record-context label { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: #526173; font-size: 14px; }
.ajw-record-context select { max-width: 70%; padding: 6px 10px; border: 1px solid #cfd9e6; border-radius: 6px; background: #fff; color: #243448; font: inherit; }
.ajw-reading-status, .ajw-editor-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; }
.ajw-reading-status span, .ajw-editor-toolbar span { color: #526173; font-size: 14px; }
.ajw-reading h3 { margin: 0 0 10px; font-size: 22px; }
.ajw-reading h4 { margin: 0 0 8px; font-size: 16px; }
.ajw-reading p { margin: 6px 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 72ch; }
.ajw-reading > section { margin: 24px 0; }
.ajw-reading-gaps { padding-top: 16px; border-top: 1px solid #d8e1ed; }
.ajw-reading-gaps ul { margin: 0; padding-left: 20px; }
.ajw-reading-detail, .ajw-editor-detail { padding: 14px 0; border-top: 1px solid #d8e1ed; }
.ajw-reading-detail summary, .ajw-editor-detail summary { cursor: pointer; color: #334d70; font-size: 15px; }
.ajw-reading-detail[open] > summary { margin-bottom: 16px; }
.ajw-reading-first .ajw-card { background: transparent; box-shadow: none; border: 0; border-radius: 0; padding: 16px 0; }
.ajw-reading-first .ajw-section-head > div > span,
.ajw-reading-first .ajw-section-head > div > p { display: none; }
.ajw-reading-first .ajw-mainline { background: transparent; border: 0; border-radius: 0; padding: 16px 0; border-top: 1px solid #d8e1ed; }
.ajw-reading-first .ajw-mainline-next { padding: 12px 0; border: 0; background: transparent; }
.ajw-reading-first :is(button, summary, select, textarea, input):focus-visible { outline: 2px solid #285cab; outline-offset: 3px; }
@media (max-width: 720px) {
  .ajw-reading-first { padding: 12px 14px; font-size: 16px; }
  .ajw-reading-first :is(input, select, textarea) { font-size: 16px; }
}
.ajw-mount {
  display: block;
  margin: 12px 0;
  color: #17243b;
  font-size: 14px;
  line-height: 1.55;
}

.ajw-program-overlay {
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

.ajw-program-overlay[hidden],
.ajw-program-overlay > .ajw-secondary-launch { display: none; }

.ajw-secondary-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid #d8e1ed;
  border-radius: 11px;
}

.ajw-secondary-launch > div:first-child { display: grid; gap: 2px; min-width: 0; }
.ajw-secondary-launch > div:first-child > span { color: #37609a; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.ajw-secondary-launch > div:first-child > strong { overflow: hidden; color: #17243b; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ajw-secondary-launch > div:first-child > small { overflow: hidden; color: #6b7890; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ajw-secondary-launch > div:last-child { display: flex; flex: none; align-items: center; gap: 10px; }
.ajw-secondary-launch em { padding: 4px 8px; color: #51627a; font-size: 10px; font-style: normal; font-weight: 750; background: #f1f4f8; border-radius: 999px; }

.ajw-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: rgba(20, 31, 48, .28);
  backdrop-filter: blur(2px);
}

.ajw-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1061;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(920px, calc(100vw - 72px));
  background: #f6f8fb;
  border-left: 1px solid #cfd9e6;
  box-shadow: -24px 0 60px rgba(22, 36, 58, .2);
}

.ajw-drawer[hidden], .ajw-drawer-backdrop[hidden] { display: none; }
.ajw-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 18px; background: #fff; border-bottom: 1px solid #d8e1ed; }
.ajw-drawer-head > div { display: grid; gap: 1px; min-width: 0; }
.ajw-drawer-head span { color: #61738b; font-size: 10px; font-weight: 750; }
.ajw-drawer-head strong { overflow: hidden; color: #17243b; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.ajw-drawer-scroll { min-height: 0; overflow: auto; padding: 18px 22px 34px; }
body.ajw-drawer-open { overflow: hidden; }

.ajw-workbench {
  --ajw-blue: #245fbd;
  --ajw-blue-soft: #edf4ff;
  --ajw-ink: #17243b;
  --ajw-muted: #66758d;
  --ajw-line: #d8e1ed;
  --ajw-panel: #f7f9fc;
  --ajw-risk: #a8512b;
  --ajw-normal: #17735d;
}

.ajw-workbench *,
.ajw-intake * { box-sizing: border-box; }

.ajw-workbench-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  color: #fff;
  background: #173b70;
  border: 1px solid #173b70;
  border-radius: 14px 14px 0 0;
}

.ajw-workbench-head span,
.ajw-section-head span {
  display: block;
  margin-bottom: 4px;
  color: #55749b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ajw-workbench-head span { color: #bbcff0; }
.ajw-workbench-head h2 { margin: 0; font-size: 21px; line-height: 1.25; }
.ajw-workbench-head p { margin: 5px 0 0; color: #d3def0; }
.ajw-workbench-head label { min-width: 230px; color: #d3def0; font-size: 12px; }
.ajw-workbench-head select { margin-top: 5px; }

.ajw-step-nav {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 0;
  background: #d8e1ed;
  border: 1px solid #d8e1ed;
  border-top: 0;
}

.ajw-step-nav button {
  min-height: 42px;
  border: 0;
  background: #fff;
  color: #35506f;
  font-weight: 700;
  cursor: pointer;
}

.ajw-step-nav button:hover,
.ajw-step-nav button:focus-visible { background: #edf4ff; color: #174e9e; }

.ajw-card {
  margin: 14px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #d8e1ed;
  border-radius: 14px;
  scroll-margin-top: 54px;
}

.ajw-card.is-target { outline: 3px solid rgba(36, 95, 189, .2); }
.ajw-basis-reuse { margin: 16px 0; }
.ajw-basis-reuse select { width: 100%; min-width: 0; }
.ajw-basis-reuse .ajw-basis-preview { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow: auto; color: #425168; }
.ajw-basis-reuse [data-ajw-basis-status] { display: block; margin-top: 8px; color: #425168; }
.ajw-section-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.ajw-section-head h3 { margin: 0; color: #17243b; font-size: 18px; }
.ajw-section-head p { margin: 5px 0 0; color: #66758d; }

.ajw-origin,
.ajw-status {
  flex: none;
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.ajw-origin.is-human { color: #1d6393; background: #eaf5fc; }
.ajw-origin.is-analysis { color: #72521f; background: #fff3d8; }
.ajw-status.is-draft { color: #555f70; background: #edf0f4; }
.ajw-status.is-submitted { color: #17735d; background: #e5f6ef; }
.ajw-status.is-returned { color: #9a5417; background: #fff0dc; }

.ajw-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ajw-core-grid .is-wide { grid-column: 1 / -1; }
.ajw-core-grid > .ajw-btn { justify-self: start; }

.ajw-card label,
.ajw-card fieldset,
.ajw-intake label {
  display: block;
  color: #3d4d65;
  font-size: 12px;
  font-weight: 700;
}

.ajw-card input,
.ajw-card textarea,
.ajw-card select,
.ajw-intake input,
.ajw-intake textarea,
.ajw-intake select {
  width: 100%;
  margin-top: 5px;
  padding: 9px 10px;
  color: #17243b;
  font: inherit;
  background: #fff;
  border: 1px solid #cbd6e5;
  border-radius: 8px;
}

.ajw-card textarea,
.ajw-intake textarea { resize: vertical; }
.ajw-card input:focus,
.ajw-card textarea:focus,
.ajw-card select:focus { outline: 2px solid rgba(36, 95, 189, .18); border-color: #5d8bca; }

.ajw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  color: #21486f;
  font-weight: 800;
  background: #fff;
  border: 1px solid #b7c8dd;
  border-radius: 8px;
  cursor: pointer;
}

.ajw-btn:hover { background: #f1f6fc; }
.ajw-btn.is-primary,
.ajw-btn.is-submit { color: #fff; background: #245fbd; border-color: #245fbd; }
.ajw-btn:disabled { opacity: .48; cursor: not-allowed; }

.ajw-trace-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0;
  padding: 10px;
  background: #f5f8fc;
  border: 1px solid #e2e8f1;
  border-radius: 10px;
}

.ajw-trace-strip span { padding: 4px 8px; color: #49617f; background: #fff; border: 1px solid #dce5f0; border-radius: 6px; font-size: 12px; font-weight: 700; }

.ajw-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ajw-field-hint { display: block; margin-top: 5px; color: #718096; font-size: 11px; font-weight: 500; line-height: 1.5; }
.ajw-reference-block { margin-top: 14px; padding: 13px; background: #f8fafc; border: 1px solid #e0e7f0; border-radius: 10px; }
.ajw-reference-block > header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.ajw-reference-block > header strong { color: #26364d; font-size: 13px; }
.ajw-reference-block > header span { color: #718096; font-size: 11px; font-weight: 500; text-align: right; }
.ajw-reference-block fieldset { padding: 12px; background: #fff; border: 1px solid #dbe4ef; border-radius: 8px; }
.ajw-reference-block legend { padding: 0 5px; color: #52647d; }
.ajw-fact-area > div,
.ajw-explanation-column,
.ajw-source-toolbar,
.ajw-procedure-list article,
.ajw-subsection {
  padding: 15px;
  background: #f7f9fc;
  border: 1px solid #e0e7f0;
  border-radius: 11px;
}

.ajw-fact-area h4,
.ajw-explanation-column h4,
.ajw-subsection h4 { margin: 0 0 9px; font-size: 14px; }
.ajw-explanation-column.is-risk { border-top: 3px solid #bd6a41; }
.ajw-explanation-column.is-reasonable { border-top: 3px solid #279070; }
.ajw-explanation-column > header p { margin: 2px 0 12px; color: #66758d; font-size: 12px; }

.ajw-simple-list { margin: 0; padding: 0; list-style: none; }
.ajw-simple-list li { padding: 9px 0; border-bottom: 1px solid #e0e7f0; }
.ajw-simple-list li:last-child { border-bottom: 0; }
.ajw-simple-list span,
.ajw-simple-list small { display: block; }
.ajw-simple-list small { margin-top: 3px; color: #66758d; }
.ajw-candidate-review { margin-top: 7px; }
.ajw-candidate-review summary { color: #8a5b1b; font-size: 12px; font-weight: 800; cursor: pointer; }
.ajw-candidate-review form { display: grid; gap: 8px; padding: 8px; background: #fff8e9; border-radius: 7px; }
.ajw-candidate-groups { display: grid; gap: 10px; margin-bottom: 12px; }
.ajw-group-hint { margin: 0; padding: 9px 10px; color: #6f5423; background: #fff7df; border: 1px solid #eedca8; border-radius: 8px; font-size: 12px; }
.ajw-candidate-group { padding: 11px; background: #fff; border: 1px solid #dbe4ef; border-radius: 9px; }
.ajw-candidate-group > header { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.ajw-candidate-group > header small { display: block; margin-top: 2px; color: #66758d; }
.ajw-candidate-group > header > span { display: inline-flex; min-width: 30px; height: 25px; align-items: center; justify-content: center; color: #744e17; background: #fff0c8; border-radius: 999px; font-weight: 800; }
.ajw-candidate-group ul { margin: 9px 0 0; padding: 0; list-style: none; }
.ajw-candidate-group li { padding: 6px 0; border-top: 1px solid #edf1f6; }
.ajw-candidate-group li b,
.ajw-candidate-group li small { display: block; }
.ajw-candidate-group li small { color: #66758d; }
.ajw-candidate-group details { margin-top: 8px; }
.ajw-candidate-group details summary,
.ajw-signal-details > summary { color: #245fbd; font-weight: 800; cursor: pointer; }
.ajw-candidate-group form { display: grid; gap: 8px; margin-top: 8px; padding: 9px; background: #f5f8fc; border-radius: 8px; }
.ajw-signal-details { margin-top: 10px; }
.ajw-inline-empty { margin: 9px 0; color: #7a889c; font-size: 12px; }

.ajw-add,
.ajw-details { margin-top: 12px; border-top: 1px solid #dfe7f0; }
.ajw-add summary,
.ajw-details summary { padding: 10px 0 4px; color: #245fbd; font-weight: 800; cursor: pointer; }
.ajw-add form,
.ajw-details > div { display: grid; gap: 10px; padding-top: 9px; }
.ajw-details-hint { margin: 5px 0 0; color: #718096; font-size: 11px; line-height: 1.55; }

.ajw-hypothesis { margin: 9px 0; padding: 11px; background: #fff; border: 1px solid #dbe4ef; border-radius: 9px; }
.ajw-hypothesis header { display: flex; justify-content: space-between; gap: 10px; }
.ajw-hypothesis header span { margin: 0; padding: 2px 6px; border-radius: 4px; font-size: 11px; letter-spacing: 0; text-transform: none; }
.ajw-hypothesis header .is-supported { color: #17664f; background: #e2f5ed; }
.ajw-hypothesis header .is-refuted { color: #a04332; background: #fae9e5; }
.ajw-hypothesis header .is-weakened { color: #80591d; background: #fff0d6; }
.ajw-hypothesis header .is-open { color: #52647d; background: #eef2f6; }
.ajw-hypothesis p { margin: 6px 0; color: #4d5e75; }
.ajw-hypothesis small { color: #66758d; }
.ajw-hypothesis details summary { color: #58769a; font-size: 12px; cursor: pointer; }
.ajw-hypothesis details form { display: grid; gap: 8px; padding: 9px 0; border-top: 1px dashed #dbe4ef; }

.ajw-ai-guidance { border-color: #cbdcf1; background: #f8fbff; }
.ajw-ai-suggestion { margin-top: 12px; padding: 14px; background: #fff; border: 1px solid #d8e3f0; border-radius: 10px; }
.ajw-ai-suggestion > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ajw-ai-suggestion > header strong,
.ajw-ai-suggestion > header small { display: block; }
.ajw-ai-suggestion > header small { margin-top: 4px; color: #718097; }
.ajw-ai-suggestion > header > span { flex: none; padding: 4px 8px; color: #78571d; background: #fff1d8; border-radius: 999px; font-size: 11px; font-weight: 800; }
.ajw-ai-suggestion.is-accepted > header > span { color: #17664f; background: #e2f5ed; }
.ajw-ai-suggestion.is-rejected > header > span { color: #874a3b; background: #f8e9e5; }
.ajw-ai-direction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ajw-ai-direction-grid > div { padding: 10px; background: #f6f8fb; border-radius: 8px; }
.ajw-ai-direction-grid b { color: #36506f; font-size: 12px; }
.ajw-ai-direction-grid ul { margin: 7px 0 0; padding-left: 18px; color: #53657c; }
.ajw-ai-direction-grid li + li { margin-top: 5px; }
.ajw-ai-suggestion > details { margin-top: 10px; }
.ajw-ai-suggestion > details summary { color: #526c8d; font-size: 12px; font-weight: 800; cursor: pointer; }
.ajw-ai-suggestion > details form { display: grid; gap: 8px; margin-top: 9px; padding-top: 9px; border-top: 1px dashed #dbe4ef; }
.ajw-ai-review-note { margin: 10px 0 0; padding: 9px 10px; color: #385f55; background: #eef8f4; border-radius: 7px; }
.ajw-ai-trace small { display: block; margin-top: 7px; color: #718097; overflow-wrap: anywhere; }
.ajw-ai-trace pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow: auto; }
.ajw-ai-structured-plan p { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 72ch; }
.ajw-waiver { margin-top: 9px; padding: 9px; color: #52627a; background: #fff; border: 1px dashed #becbda; border-radius: 7px; font-size: 12px; }

.ajw-source-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.ajw-source-toolbar p { margin: 4px 0 0; color: #65758b; }
.ajw-source-toolbar form { display: flex; align-items: end; gap: 8px; min-width: 43%; }
.ajw-source-toolbar form label { flex: 1; }

.ajw-evidence-list { display: grid; gap: 8px; margin-top: 14px; }
.ajw-evidence-list article { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 11px; border: 1px solid #e0e7f0; border-radius: 9px; }
.ajw-evidence-list article > span { align-self: start; padding: 4px 6px; border-radius: 5px; text-align: center; font-size: 11px; font-weight: 800; }
.ajw-evidence-list .is-supports { color: #17664f; background: #e2f5ed; }
.ajw-evidence-list .is-refutes { color: #a04332; background: #fae9e5; }
.ajw-evidence-list .is-context { color: #3f5e84; background: #eaf1fa; }
.ajw-evidence-list p { margin: 4px 0; }
.ajw-evidence-list small { color: #66758d; }

.ajw-check-grid { display: grid; gap: 7px; margin-top: 7px; }
.ajw-check-grid label { display: flex; align-items: start; gap: 7px; padding: 7px; background: #fff; border: 1px solid #e0e7f0; border-radius: 7px; }
.ajw-check-grid input,
.ajw-check input { width: auto; margin: 3px 0 0; }
.ajw-card fieldset { margin: 0; padding: 11px; border: 1px solid #dbe4ef; border-radius: 9px; }
.ajw-card legend { padding: 0 5px; color: #3d4d65; }

.ajw-gap-list,
.ajw-procedure-list { display: grid; gap: 9px; }
.ajw-gap-list article { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 10px; background: #fff; border: 1px solid #dbe4ef; border-radius: 8px; }
.ajw-gap-list article.is-open { border-left: 3px solid #cb7b37; }
.ajw-gap-list article.is-resolved { border-left: 3px solid #309174; }
.ajw-gap-list p { margin: 3px 0; color: #66758d; }
.ajw-gap-list form { display: flex; align-items: end; gap: 7px; min-width: 48%; }

.ajw-procedure-list article header { display: flex; align-items: center; justify-content: space-between; }
.ajw-procedure-list article header span { padding: 3px 7px; color: #50617a; background: #e9eef5; border-radius: 5px; font-size: 11px; font-weight: 800; }
.ajw-procedure-list article p { color: #5c6c81; }
.ajw-procedure-list form { display: grid; gap: 9px; }
.ajw-result { padding: 9px; color: #17664f; background: #e6f5ee; border-radius: 7px; }

.ajw-decision-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; padding: 12px; color: #614817; background: #fff5dc; border: 1px solid #ead29b; border-radius: 9px; }
.ajw-decision-banner p { margin: 3px 0 0; }
.ajw-judgement-form { display: grid; gap: 14px; }
.ajw-judgement-form > .ajw-btn { justify-self: start; }

.ajw-submission { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-top: 16px; padding: 15px; border-radius: 10px; }
.ajw-submission.is-blocked { background: #fff5f0; border: 1px solid #efc7b2; }
.ajw-submission.is-ready,
.ajw-submission.is-complete { background: #eaf7f1; border: 1px solid #b6dfcd; }
.ajw-submission p { margin: 4px 0; }
.ajw-submission ul { display: grid; gap: 5px; margin: 9px 0 0; padding: 0; list-style: none; }
.ajw-submission li { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #6b493b; }
.ajw-submission li button { flex: none; color: #9c4931; background: transparent; border: 0; font-weight: 800; cursor: pointer; }

.ajw-mainline {
  margin-top: 14px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #d9e3ef;
  border-radius: 12px;
}
.ajw-mainline > header { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.ajw-mainline > header span { color: #60758f; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.ajw-mainline > header h4 { margin: 2px 0 0; font-size: 16px; }
.ajw-mainline > header b { padding: 5px 9px; border-radius: 999px; color: #1f5b9c; background: #e6f0fc; font-size: 12px; }
.ajw-mainline > header b.is-complete { color: #17664f; background: #e2f5ed; }
.ajw-mainline > header b.is-stopped { color: #874a3b; background: #f8e9e5; }
.ajw-mainline ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 18px 0; padding: 0; list-style: none; }
.ajw-mainline li { position: relative; display: flex; gap: 8px; min-width: 0; padding-right: 10px; }
.ajw-mainline li::after { position: absolute; top: 7px; left: 15px; right: -1px; height: 2px; content: ''; background: #d7e0ea; }
.ajw-mainline li:last-child::after { display: none; }
.ajw-mainline li > span { position: relative; z-index: 1; flex: none; width: 16px; height: 16px; border: 3px solid #b8c5d4; border-radius: 50%; background: #fff; }
.ajw-mainline li.is-done > span { border-color: #248169; background: #248169; box-shadow: inset 0 0 0 3px #fff; }
.ajw-mainline li.is-active > span { border-color: #2b67bc; background: #e6f0fc; }
.ajw-mainline li.is-skipped > span { border-color: #aab5c2; background: #eef1f5; }
.ajw-mainline li.is-stopped > span { border-color: #aa604e; background: #f8e9e5; }
.ajw-mainline li div { min-width: 0; padding-top: 22px; margin-left: -24px; }
.ajw-mainline li strong,
.ajw-mainline li small { display: block; }
.ajw-mainline li strong { font-size: 12px; }
.ajw-mainline li small { margin-top: 3px; color: #6a7b91; font-size: 11px; font-weight: 500; line-height: 1.4; }
.ajw-mainline-next { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px; background: #fff; border: 1px solid #e0e7f0; border-radius: 9px; }
.ajw-mainline-next span { color: #60758f; font-size: 11px; font-weight: 800; }
.ajw-mainline-next strong { display: block; margin-top: 2px; }
.ajw-mainline-next p { margin: 3px 0 0; color: #62738a; }
.ajw-mainline-actions { display: flex; flex: none; gap: 8px; }
.ajw-mainline > details { margin-top: 10px; }
.ajw-mainline > details summary { color: #526c8d; font-size: 12px; font-weight: 800; cursor: pointer; }
.ajw-mainline dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 16px; margin: 10px 0 0; }
.ajw-mainline dl div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 7px; }
.ajw-mainline dt { color: #718097; }
.ajw-mainline dd { margin: 0; overflow-wrap: anywhere; }

.ajw-intake-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ajw-intake-grid.is-single { grid-template-columns: minmax(0, 680px); justify-content: start; }
.ajw-panel { display: grid; align-content: start; gap: 10px; padding: 17px; background: #f7f9fc; border: 1px solid #dfe7f0; border-radius: 11px; }
.ajw-panel > strong { font-size: 16px; }
.ajw-panel > p { margin: 0; color: #66758d; }
.ajw-artifact-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; text-align: left; background: #fff; border: 1px solid #cfdbe9; border-radius: 8px; cursor: pointer; }
.ajw-artifact-option span { color: #1e3e67; font-weight: 800; }
.ajw-artifact-option small { color: #6e7f94; }
.ajw-unavailable { color: #55667c; text-align: center; }
.ajw-unavailable strong { display: block; color: #283a53; font-size: 16px; }
.ajw-unavailable p { margin-bottom: 0; }

.ajw-workbench.is-readonly form,
.ajw-workbench.is-readonly .ajw-add { opacity: .72; }

@media (max-width: 980px) {
  .ajw-two-column,
  .ajw-intake-grid,
  .ajw-core-grid,
  .ajw-ai-direction-grid { grid-template-columns: 1fr; }
  .ajw-core-grid .is-wide { grid-column: auto; }
  .ajw-source-toolbar,
  .ajw-gap-list article,
  .ajw-submission { align-items: stretch; flex-direction: column; }
  .ajw-source-toolbar form,
  .ajw-gap-list form { min-width: 0; }
  .ajw-mainline ol { grid-template-columns: 1fr; gap: 9px; }
  .ajw-mainline li::after { top: 15px; bottom: -10px; left: 7px; right: auto; width: 2px; height: auto; }
  .ajw-mainline li div { padding: 0; margin: 0; }
  .ajw-mainline-next { align-items: stretch; flex-direction: column; }
  .ajw-mainline-actions { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .ajw-secondary-launch { align-items: stretch; flex-direction: column; }
  .ajw-secondary-launch > div:last-child { justify-content: space-between; }
  .ajw-drawer { width: 100vw; }
  .ajw-drawer-scroll { padding: 12px; }
}
