/* Bone Flow #021 Shape / Version 1.0.63 / Status: Development */
:root {
  font-family: Meiryo, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #08111c;
}

button,
input,
select,
textarea {
  font: inherit;
}

.bf-page {
  max-width: 1180px;
  margin: auto;
  padding: 18px;
  color: #e8f1ff;
}

.bf-panel,
.bf-header,
.bf-card {
  border: 1px solid #36506d;
  background: #111b2b;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
}

.bf-header h1,
.bf-panel h2,
.bf-card h3 {
  margin-top: 0;
}

.bf-work {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.bf-property-card {
  min-width: 0;
}

.bf-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.bf-tabs button,
.bf-button,
.bf-field-row button {
  background: #19304b;
  color: #fff;
  border: 1px solid #4e7399;
  border-radius: 5px;
  padding: 8px 10px;
  cursor: pointer;
}

.bf-tabs button.active {
  outline: 2px solid #4ab7ff;
}

.bf-note {
  color: #a9bfd8;
}

.bf-compact-note {
  margin: 0 0 8px;
  font-size: 12px;
}

.bf-preview-help {
  margin: -2px 0 8px;
  font-size: 12px;
}

.bf-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  max-height: 300px;
  overflow: auto;
  padding-right: 3px;
}

.bf-shape-option {
  min-width: 0;
  height: 104px;
  display: grid;
  grid-template-rows: 72px auto;
  gap: 3px;
  align-items: center;
  background: #0d1725;
  color: #dcecff;
  border: 1px solid #2f4965;
  padding: 5px;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
}

.bf-shape-option.active {
  border-color: #39b9ff;
  background: #17314b;
  outline: 1px solid #39b9ff;
}

.bf-shape-option-title {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  font-size: 11px;
}

.bf-list-thumbnail {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 72px;
  overflow: hidden;
}

.bf-list-thumbnail .bone-shape {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 400%;
  transform: translate(-50%, -50%) scale(0.25);
  transform-origin: center center;
}

.bf-list-thumbnail .bf-svg {
  max-height: 260px;
}

.bf-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.bf-controls label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bf-controls input,
.bf-controls select,
.bf-controls textarea,
.bf-field-row input {
  width: 100%;
  min-width: 0;
  background: #0b1421;
  color: #fff;
  border: 1px solid #45627f;
  border-radius: 4px;
  padding: 7px;
}

.bf-controls textarea {
  resize: vertical;
  min-height: 78px;
  line-height: 1.45;
}

.bf-controls .bf-check {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.bf-controls .bf-check input {
  width: auto;
}

.wide {
  grid-column: 1 / -1;
}

[hidden] {
  display: none !important;
}

.bf-preview {
  min-height: 620px;
  display: grid;
  place-items: center;
  background: #09131f;
  background-image:
    linear-gradient(#203349 1px, transparent 1px),
    linear-gradient(90deg, #203349 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid #38526c;
  overflow: hidden;
  padding: 36px 28px;
}

.bone-shape {
  width: min(100%, 650px);
  position: relative;
  user-select: none;
  touch-action: none;
}

.bone-shape.is-thumbnail {
  pointer-events: none;
}

.bf-svg {
  display: block;
  width: 100%;
  margin-inline: auto;
  height: auto;
  max-height: 390px;
  overflow: visible;
}

.bf-outline {
  fill: var(--fill);
  stroke: var(--stroke);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.bf-outline.detail,
.bf-outline.filled,
.bf-detail {
  fill: none;
  stroke: var(--stroke);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.bf-outline.filled,
.bf-header-fill {
  fill: var(--header);
  stroke: var(--stroke);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}


/* INTERNAL_DETAIL: solid double frame + small folded corner; no dashed decoration. */
.bf-internal-detail-outline{fill:var(--fill);stroke:var(--stroke);stroke-width:3;stroke-dasharray:none;vector-effect:non-scaling-stroke}
.bf-internal-detail-inner{fill:none;stroke:var(--stroke);stroke-width:2;stroke-dasharray:none;vector-effect:non-scaling-stroke}
.bf-internal-detail-header{fill:var(--header);stroke:var(--stroke);stroke-width:2;stroke-dasharray:none;vector-effect:non-scaling-stroke}
.bf-internal-detail-fold{fill:none;stroke:var(--stroke);stroke-width:1.5;stroke-dasharray:none;vector-effect:non-scaling-stroke}
.bf-internal-detail-grid{stroke:var(--stroke);stroke-width:2;stroke-dasharray:none;vector-effect:non-scaling-stroke}
.bf-internal-detail-badge{fill:var(--stroke);font-size:11px;font-weight:800;letter-spacing:1.2px}
.bf-outline.back {
  fill: var(--back);
}

.bf-outline.group {
  stroke-dasharray: 8 5;
  fill-opacity: 0.4;
}

.bf-text,
.bf-title,
.bf-subtitle,
.bf-col,
.bf-field {
  fill: var(--text);
  font-weight: 700;
  pointer-events: none;
}

.bf-text {
  font-size: 16px;
}

.bf-title {
  font-size: 18px;
}

.bf-subtitle,
.bf-col,
.bf-field {
  font-size: 13px;
}

.bf-port {
  fill: var(--port-fill);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.bf-port.in {
  stroke: var(--in);
}

.bf-port.out {
  stroke: var(--out);
}

.bf-port-role-label {
  fill: var(--text);
  font-family: Meiryo, sans-serif;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
  user-select: none;
}

.bf-port-role-label.in {
  fill: var(--in);
}

.bf-port-role-label.out {
  fill: var(--out);
}

.theme-light {
  --fill: #eef4ff;
  --back: #dce8f8;
  --header: #d5e4f8;
  --stroke: #566173;
  --detail: #687386;
  --text: #172033;
  --port-fill: #fff;
  --in: #2563eb;
  --out: #16a34a;
}

.theme-dark {
  --fill: #172538;
  --back: #101c2b;
  --header: #203754;
  --stroke: #45bdf8;
  --detail: #7695b5;
  --text: #f5f9ff;
  --port-fill: #0b1421;
  --in: #4ab7ff;
  --out: #35d07f;
}

.theme-neon {
  --fill: #06121b;
  --back: #030b11;
  --header: #10223a;
  --stroke: #00f5ff;
  --detail: #a855f7;
  --text: #f4ffff;
  --port-fill: #06121b;
  --in: #00f5ff;
  --out: #39ff14;
  filter: drop-shadow(0 0 4px var(--stroke));
}

.bf-tooltip {
  position: absolute;
  z-index: 12;
  min-width: 74px;
  max-width: min(260px, 80%);
  padding: 6px 9px;
  border: 1px solid var(--stroke);
  background: #07111d;
  color: #fff;
  border-radius: 5px;
  white-space: normal;
  cursor: move;
  pointer-events: auto;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.bf-tooltip-hidden,
.bf-tooltip-hover {
  display: none;
}

.bone-shape:hover .bf-tooltip-hover,
.bone-shape.is-selected .bf-tooltip-select,
.bf-tooltip-always {
  display: block;
}

.bf-comment-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.bf-comment-layer.is-hidden {
  display: none;
}

.bf-comment-connection {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.bf-comment-connection-line {
  stroke: #f2c94c;
  stroke-width: 2;
  stroke-dasharray: 5 4;
  vector-effect: non-scaling-stroke;
}

.bf-comment-anchor {
  position: absolute;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: #07111d;
  border: 3px solid #f2c94c;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
}

.bf-comment-anchor:active {
  cursor: grabbing;
}

.bf-comment-bubble {
  position: absolute;
  width: 116px;
  min-height: 42px;
  padding: 7px;
  border: 1px dashed #f2c94c;
  background: #102318;
  color: #dfffe8;
  font-size: 12px;
  cursor: move;
  pointer-events: auto;
  touch-action: none;
  overflow-wrap: anywhere;
}

.bf-output {
  max-height: 310px;
  overflow: auto;
  background: #07111d;
  border: 1px solid #36506d;
  padding: 10px;
}

.bf-accordion {
  margin-top: 14px;
  border: 1px solid #36506d;
  border-radius: 6px;
}

.bf-accordion summary {
  cursor: pointer;
  padding: 10px;
  font-weight: 700;
  background: #152840;
}

.bf-accordion .bf-output {
  margin: 0;
  border: 0;
  border-top: 1px solid #36506d;
}

.bf-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 5px;
  margin-top: 6px;
}

@media (max-width: 850px) {
  .bf-work {
    grid-template-columns: 1fr;
  }

  .bf-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .bf-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bf-tabs {
    flex-wrap: wrap;
  }
}


/* v1.0.19 - #020 Label正式接続イメージ（#021 Shape Propertyへ影響させないスコープ） */
#connection-image .bone-text-test-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#connection-image .bone-text-test-card{background:#101827;border:1px solid #31425a;border-radius:8px;padding:12px;min-width:0}
#connection-image .bone-text-test-card--wide{grid-column:1/-1}
#connection-image .bone-text-test-card h3{margin:0 0 4px;color:#f5f8fc;font-size:1rem}
#connection-image .bone-text-usage-flow{position:relative;min-height:168px;display:flex;align-items:center;justify-content:space-around;gap:28px;padding:24px;overflow:hidden}
#connection-image .bone-text-usage-flow>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:hidden}
#connection-image .bone-text-node{position:relative;z-index:2;min-width:96px;padding:12px;border:1px solid #4c6584;border-radius:7px;text-align:center;background:#172235;color:#f5f8fc}
#connection-image .bone-text-node strong{color:#55e6a5}
#connection-image .bone-text-node--source strong{color:#65aaff}
#connection-image .bone-text-node--text strong,#connection-image .bone-text-node--target strong{color:#67e487}
#connection-image .bone-text-joint-diagnostic{display:grid;gap:5px;margin-top:8px}
#connection-image .bone-text-joint-diagnostic>div{display:flex;justify-content:space-between;gap:12px;padding:5px 8px;border-radius:5px;background:#1a2331;font-size:.78rem}
#connection-image .bone-text-joint-diagnostic strong{text-align:right;overflow-wrap:anywhere}
#connection-image .bone-text-joint-diagnostic strong{color:#eef4ff}
#connection-image .bone-text-usage-flow--in-missing,#connection-image .bone-text-usage-flow--in-mismatch,#connection-image .bone-text-usage-flow--out-missing,#connection-image .bone-text-usage-flow--out-mismatch{display:grid;grid-template-columns:1fr 1fr;justify-items:center;align-items:center}
#connection-image .bone-text-usage-flow--out-missing .bone-text-node--text{grid-column:1}
#connection-image .bone-text-usage-flow--in-missing .bone-text-node--source{grid-column:1}
#connection-image .bone-text-usage-flow--in-missing .bone-text-node--text{grid-column:2}
#connection-image .bone-label-joint-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#connection-image .bone-label-joint-line{pointer-events:stroke}
#connection-image .bone-text-joint-legend{margin-top:12px;border:1px solid #31425a;border-radius:8px;padding:10px;color:#cbd8e8}
#connection-image .bone-text-joint-legend-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#connection-image .bone-text-joint-legend-line{display:inline-block;width:40px;height:3px;margin-right:8px;vertical-align:middle}
#connection-image .bone-text-joint-legend-line.is-blue{background:#5ba6ff}
#connection-image .bone-text-joint-legend-line.is-green{background:#4be06b}
#connection-image .bone-text-joint-legend-line.is-orange{background:#f5a623}
#connection-image .bone-text-joint-legend-line.is-red{background:#ff5b73}

/* #002 Bone Joint描画に必要な表示だけを局所適用。全体bone-joint.cssは読み込まない。 */
#connection-image .bf-joint-path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
#connection-image .bf-joint-path--straight{stroke-linejoin:miter}
#connection-image .bf-joint-marker{transform-box:fill-box;transform-origin:center}
#connection-image .bf-joint-marker-shape{fill:#111722;stroke:#68d6ff;stroke-width:4;vector-effect:non-scaling-stroke}
#connection-image .bf-joint-start--filled-circle .bf-joint-marker-shape,#connection-image .bf-joint-start--filled-square .bf-joint-marker-shape,#connection-image .bf-joint-end--filled-circle .bf-joint-marker-shape,#connection-image .bf-joint-end--filled-square .bf-joint-marker-shape{fill:#68d6ff}
#connection-image .bf-joint-start--error .bf-joint-marker-shape{stroke:#ff697a}
#connection-image .bf-joint-end-error line{stroke:#ff475d;stroke-width:4;stroke-linecap:round;vector-effect:non-scaling-stroke}
#connection-image .bf-joint-end-error-text{fill:#ff475d;font-size:22px;font-weight:900}
#connection-image .bf-joint-label{pointer-events:none;filter:drop-shadow(0 2px 3px rgba(0,0,0,.45))}
#connection-image .bf-joint-label rect{vector-effect:non-scaling-stroke}
#connection-image .bf-joint-label text{font-family:Meiryo,"Yu Gothic",sans-serif;font-weight:700;dominant-baseline:alphabetic;pointer-events:none}
#connection-image .bf-joint-label-tail{stroke:#7f93ad;stroke-width:1.5;stroke-dasharray:3 3;vector-effect:non-scaling-stroke;pointer-events:none}
#connection-image .bf-joint-label-anchor{fill:#0e1622;stroke:#8bdfff;stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:none}

@media(max-width:900px){
  #connection-image .bone-text-test-grid{grid-template-columns:1fr}
  #connection-image .bone-text-test-card--wide{grid-column:auto}
}


/* v1.0.19 - #020基準 Smoke Test / Validation Report + コンポーネント完了管理 */
.bone-label-report-panel{padding-bottom:22px}
.bone-label-test-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px}
.bone-label-test-actions button,.bone-label-completion-actions button{min-height:38px;padding:8px 14px;border:1px solid #435875;border-radius:7px;background:#172438;color:#eaf2ff;font:inherit;font-weight:700;cursor:pointer}
.bone-label-test-actions button:hover,.bone-label-completion-actions button:hover:not(:disabled){border-color:#6c91c4;background:#20334f}
.bone-label-test-actions button:focus-visible,.bone-label-completion-actions button:focus-visible{outline:3px solid #78aef0;outline-offset:2px}
.bone-label-test-actions button.is-primary{border-color:#2d7ac5;background:#145493}
.bone-label-test-actions button.is-primary:hover{background:#1965ad}
.bone-label-test-actions button.is-validation{border-color:#208b46;background:#176a35}
.bone-label-test-actions button.is-validation:hover{background:#1d8241}
.bone-label-test-actions button.is-danger,.bone-label-completion-actions .is-danger{border-color:#b8384e;background:#98263b}
.bone-label-test-actions button.is-danger:hover,.bone-label-completion-actions .is-danger:hover:not(:disabled){background:#b22e47}
.bone-label-overall-summary{display:grid;grid-template-columns:minmax(145px,1.2fr) repeat(6,minmax(100px,1fr));align-items:center;margin:0 0 18px;border:1px solid #33445c;border-radius:8px;background:#0e1724;overflow:hidden}
.bone-label-overall-summary>div{display:grid;gap:4px;place-items:center;min-height:66px;padding:8px 12px;border-left:1px solid #33445c;text-align:center}
.bone-label-overall-summary>div span{font-size:.78rem;color:#98a9bf}
.bone-label-overall-summary>div strong{font-size:1rem;color:#eef4ff}
.bone-label-overall-summary .bf-overall{display:grid;place-items:center;min-height:42px;margin:12px;border-radius:6px;background:#172438;font-size:1.1rem;font-weight:800}
.bf-pass{color:#67efb1!important}.bf-fail{color:#ff7d8d!important}
.bone-label-result-section{margin-top:15px;border:1px solid #30425b;border-radius:8px;background:#0c1522;overflow:hidden}
.bone-label-result-section>h3{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:9px 14px;border-bottom:1px solid #305798;background:linear-gradient(90deg,#123f87,#174f9b);color:#fff;font-size:1.08rem}
.bone-label-result-badge{display:inline-flex;align-items:center;justify-content:center;min-width:88px;padding:4px 11px;border:1px solid currentColor;border-radius:999px;background:#172438;font-size:.76rem;font-weight:800;line-height:1;letter-spacing:.03em;white-space:nowrap}
.bone-label-result-badge.is-not-run{color:#aebbd0;background:#172438}.bone-label-result-badge.is-pass{color:#67efb1;background:#123a31}.bone-label-result-badge.is-fail{color:#ff7d8d;background:#421d27}
.bone-label-validation-list{display:grid;gap:7px;padding:12px 14px}.bone-label-validation-list>p{margin:0;color:#aebbd0}
.bone-label-validation-list--columns{grid-template-columns:repeat(2,minmax(0,1fr))}
.bone-label-validation-row{display:grid;grid-template-columns:28px 58px minmax(0,1fr);gap:10px;align-items:start;padding:10px 12px;border:1px solid #2c3a50;border-radius:7px;background:#111b2a}
.bone-label-validation-row.is-fail{border-color:#7a3844;background:#21151d}.bone-label-validation-number{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#203049;color:#cfe1f8;font-weight:700}
.bone-label-validation-detail{display:grid;gap:3px;min-width:0}.bone-label-validation-name{font-weight:700;color:#f2f7ff}.bone-label-validation-reason{font-size:.9rem;color:#aebbd0;overflow-wrap:anywhere}.bone-label-validation-row.is-fail .bone-label-validation-reason{color:#ffb4bd}
.bone-label-completion-panel{border:1px solid #31557f;background:#101a29}.bone-label-completion-panel.is-complete{border-color:#35d98b}.bone-label-completion-panel>p{color:#aebbd0}
.bone-label-completion-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:14px 0;background:#29415f;border:1px solid #29415f}.bone-label-completion-summary>div{display:flex;flex-direction:column;gap:6px;padding:12px;background:#101a29}.bone-label-completion-summary span{font-size:12px;color:#8eb7e8}.bone-label-completion-summary strong{color:#f3f7ff}.bone-label-completion-panel.is-complete #completion-flag,.bone-label-completion-panel.is-complete #completion-status,.bone-label-completion-panel.is-complete #completion-validation{color:#55e6a5}
.bone-label-completion-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.bone-label-completion-actions button{padding:0 16px}.bone-label-completion-actions button:disabled{opacity:.45;cursor:not-allowed}.bone-label-completion-actions span{color:#b7c9df}
@media(max-width:1050px){.bone-label-overall-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.bone-label-overall-summary>div{border-top:1px solid #33445c}.bone-label-validation-list--columns{grid-template-columns:1fr}}
@media(max-width:800px){.bone-label-completion-summary{grid-template-columns:1fr}}
@media(max-width:620px){.bone-label-overall-summary{grid-template-columns:1fr 1fr}.bone-label-test-actions button{flex:1 1 210px}}


/* v1.0.20 - #020 Label正式基準: Dependencies / 使用コンポーネント / テスト対象 / 登録済みUI */
.bone-label-dependencies{margin:14px 0;padding:12px 14px;border:1px solid #33445c;border-radius:8px;background:#101a29}
.bone-label-dependencies h2{margin:0 0 10px;font-size:1rem;color:#f2f7ff}
.bone-label-dependency-grid{display:grid;grid-template-columns:1fr;gap:6px}
.bone-label-dependency-item{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(3,minmax(100px,1fr));gap:8px 12px;align-items:center;padding:10px 12px;border:1px solid #3a4c65;border-radius:7px;background:#0d1623}
.bone-label-dependency-item span{color:#aebbd0;font-size:.85rem}.bone-label-dependency-item b{margin-left:.35rem;color:#eef4ff}
.bone-label-dependency-item.is-ok{border-color:#247a58}.bone-label-dependency-item.is-ok b{color:#67efb1}
.bone-label-dependency-item.is-error{border-color:#9b4051}.bone-label-dependency-item.is-error b{color:#ff8e9c}
.bone-label-dependency-heading{display:flex;align-items:center;gap:8px;min-width:0}
.bone-label-dependency-title{color:#eaf3ff;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.bone-label-dependency-title:hover,.bone-label-dependency-title:focus-visible{color:#79c7ff}
.bone-label-dependency-use-badge,.bone-label-dependency-badge{display:inline-flex;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:999px;padding:2px 8px;font-size:.76rem;font-weight:700;line-height:1.35;white-space:nowrap}
.bone-label-dependency-use-badge{color:#8fd3ff;background:#102b40}
.bone-label-dependency-badge{margin-left:.35rem}.bone-label-dependency-badge.is-pending{color:#d7dfec;background:#273246}.bone-label-dependency-badge.is-ok{color:#67efb1;background:#103829}.bone-label-dependency-badge.is-error{color:#ff8e9c;background:#421c26}
.bone-label-dependency-note{margin:10px 0 0;color:#aebbd0;font-size:.84rem;line-height:1.55}
.bone-label-verified-dependencies{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:12px 0 4px;padding:9px 12px;border:1px solid #33445c;border-radius:7px;background:#0d1623;font-size:.86rem}
.bone-label-verified-dependencies strong{color:#f2f7ff;letter-spacing:.02em}.bone-label-verified-dependencies a{color:#b9dfff;text-decoration:none;font-weight:700}.bone-label-verified-dependencies a:hover,.bone-label-verified-dependencies a:focus-visible{color:#79c7ff;text-decoration:underline;text-underline-offset:3px}.bone-label-verified-dependencies a span{color:#67efb1;margin-left:.25rem}
.bf-test-purpose{padding:10px 12px;border-left:4px solid #5ba6ff;background:#162338;color:#dceaff!important;line-height:1.55}
.bf-registry-section{margin:0 0 14px;padding:0 2px}.bf-registry-section h3{margin:0 0 8px;color:#7f91a8;font-size:1rem}.bf-registry-section .bone-label-dependency-grid:empty{display:none}
@media(max-width:1100px){.bone-label-dependency-item{grid-template-columns:1fr 1fr}.bone-label-dependency-heading{grid-column:1/-1}}
@media(max-width:560px){.bone-label-verified-dependencies{align-items:flex-start;flex-direction:column;gap:6px}.bone-label-dependency-item{grid-template-columns:1fr}.bone-label-dependency-heading{grid-column:auto;flex-wrap:wrap}}


/* v1.0.25 - Common UI integration: #040 / #022 / #117 / Class guide */
.bf-subproperty{grid-column:1/-1;border:1px solid #314965;border-radius:7px;padding:10px;background:#0d1725;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.bf-subproperty h4,.bf-subproperty p{grid-column:1/-1;margin:0}.bf-subproperty h4{color:#dcecff}.bf-subproperty p{color:#9fb5cf;font-size:12px;line-height:1.5}
.bf-subproperty label{min-width:0}.bf-subproperty .bf-check{display:flex;flex-direction:row;align-items:center;gap:7px}.bf-subproperty .bf-check input{width:auto}
.bf-color-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:end}.bf-color-row>input{display:none!important}
.bf-color-trigger{width:54px;height:38px;border:1px solid #526f8d;border-radius:5px;background:#172538;cursor:pointer;position:relative;overflow:hidden}.bf-color-trigger:disabled{opacity:.45;cursor:not-allowed}.bf-color-trigger.is-transparent{background-color:#fff;background-image:linear-gradient(45deg,#c8c8c8 25%,transparent 25%),linear-gradient(-45deg,#c8c8c8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#c8c8c8 75%),linear-gradient(-45deg,transparent 75%,#c8c8c8 75%);background-size:12px 12px;background-position:0 0,0 6px,6px -6px,-6px 0}
.bf-color-trigger:focus-visible{outline:3px solid #78aef0;outline-offset:2px}
.bf-guide-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.bf-guide-toolbar h2{margin:0}.bf-guide-modal[hidden]{display:none}.bf-guide-modal{position:fixed;inset:0;z-index:10000;background:rgba(2,8,18,.82);display:grid;place-items:center;padding:20px}.bf-guide-dialog{width:min(960px,96vw);max-height:88vh;overflow:auto;background:#0e1827;border:1px solid #47627f;border-radius:10px;box-shadow:0 24px 70px rgba(0,0,0,.6)}.bf-guide-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 16px;background:#132238;border-bottom:1px solid #38516e}.bf-guide-head h2{margin:0}.bf-guide-close{background:#263d5a;color:#fff;border:1px solid #557495;border-radius:6px;padding:7px 12px;cursor:pointer}.bf-guide-tabs{display:flex;gap:7px;flex-wrap:wrap;padding:12px 16px 0}.bf-guide-tabs button{background:#172b45;color:#dcecff;border:1px solid #415e80;border-radius:6px;padding:7px 10px;cursor:pointer}.bf-guide-tabs button.active{background:#155b93;border-color:#62b8f0;color:#fff}.bf-guide-body{padding:16px}.bf-guide-panel[hidden]{display:none}.bf-guide-panel code{color:#9ee7ff}.bf-api-grid{display:grid;grid-template-columns:200px minmax(0,1fr);gap:7px 14px}.bf-api-grid div{padding:7px 9px;border-bottom:1px solid #273b55}.bf-api-grid strong{color:#8ed7ff}.bf-guide-note{color:#b9cadf;line-height:1.7}.bf-class-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.bf-class-summary>div{padding:10px;border:1px solid #334b68;border-radius:7px;background:#0b1522}.bf-class-summary span{display:block;color:#91a8c3;font-size:12px}.bf-class-summary strong{color:#eef7ff}
@media(max-width:680px){.bf-subproperty{grid-template-columns:1fr}.bf-class-summary{grid-template-columns:1fr}.bf-api-grid{grid-template-columns:1fr}}

/* v1.0.26 Scheduler / Job Shape state presentation. No local Animation keyframes. */
.bf-outline.jobnet {
  stroke-dasharray: 8 5;
}

.bf-operational-icon,
.bf-operational-meta,
.bf-operational-status {
  fill: var(--text);
  pointer-events: none;
  user-select: none;
  font-family: Meiryo, sans-serif;
  font-weight: 700;
}

.bf-operational-icon { font-size: 24px; }
.bf-operational-meta { font-size: 12px; opacity: 0.82; }
.bf-operational-status { font-size: 12px; letter-spacing: .06em; }

.bone-shape[data-schedule-enabled="false"],
.bone-shape[data-job-enabled="false"] {
  opacity: 0.55;
}

.bone-shape[data-job-status="wait"] { --fill: #243244; --stroke: #7b8aa0; }
.bone-shape[data-job-status="ready"] { --fill: #12314a; --stroke: #38bdf8; }
.bone-shape[data-job-status="running"] { --fill: #4a3210; --stroke: var(--job-running-color, #f59e0b); }
.bone-shape[data-job-status="success"] { --fill: #102b57; --stroke: var(--job-success-color, #3b82f6); }
.bone-shape[data-job-status="error"] { --fill: #4a151b; --stroke: var(--job-error-color, #ef4444); }
.bone-shape[data-job-status="hold"] { --fill: #35204f; --stroke: #a855f7; }
.bone-shape[data-job-status="skipped"] { --fill: #29313b; --stroke: #94a3b8; }

.bone-shape[data-job-status="success"] .bf-operational-status { fill: var(--job-success-color, #60a5fa); }
.bone-shape[data-job-status="error"] .bf-operational-status { fill: var(--job-error-color, #f87171); }
.bone-shape[data-job-status="running"] .bf-operational-status { fill: var(--job-running-color, #fbbf24); }



/* v1.0.33 - accordion cards / gradient caller preview */
.bf-card-accordion>summary,.bf-property-accordion>summary{cursor:pointer;list-style:none;font-weight:800;color:#eef7ff;display:flex;align-items:center;justify-content:space-between;gap:10px}
.bf-card-accordion>summary::-webkit-details-marker,.bf-property-accordion>summary::-webkit-details-marker{display:none}
.bf-card-accordion>summary::after,.bf-property-accordion>summary::after{content:"＋";font-size:18px;color:#75c9ff}
.bf-card-accordion[open]>summary::after,.bf-property-accordion[open]>summary::after{content:"−"}
.bf-card-accordion>.bf-card-summary{padding:12px 14px;border-bottom:1px solid #314965;background:linear-gradient(90deg,#11243a,#153552)}
.bf-card-accordion>.bf-card-body,.bf-card-accordion>.bf-accordion-body{padding-top:10px}
.bf-property-accordion{padding:0;overflow:hidden}
.bf-property-accordion>summary{grid-column:1/-1;padding:10px 12px;background:linear-gradient(90deg,#102238,#173650);border-bottom:1px solid #314965}
.bf-property-accordion[open]{padding-bottom:10px}
.bf-property-accordion>p,.bf-property-accordion>label,.bf-property-accordion>span,.bf-property-accordion>.bf-operational-controls{margin-left:10px;margin-right:10px}
.bf-api-grid-visible{margin-top:12px}
.bf-operational-process{font-size:10px;opacity:.9}
.bf-color-trigger{background-size:cover;background-position:center}


/* v1.0.33 Property language / Class Node Public API */
.bf-language-switch{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 16px}.bf-language-switch>span{font-size:.85rem;color:#a9bdd3;margin-right:4px}.bf-language-switch button{border:1px solid #334c68;background:#112033;color:#cfe2f6;border-radius:7px;padding:6px 12px;cursor:pointer}.bf-language-switch button.is-active{border-color:#48b8ff;background:#173957;color:#fff;box-shadow:0 0 0 1px rgba(72,184,255,.18)}
.bf-api-table{display:grid;gap:0;border:1px solid #2f455f;border-radius:10px;overflow:hidden;margin:12px 0}.bf-api-table>div{display:grid;grid-template-columns:minmax(250px,1.25fr) minmax(180px,.8fr) minmax(260px,1.45fr);gap:12px;align-items:start;padding:10px 12px;border-top:1px solid #263a51}.bf-api-table>div:first-child{border-top:0}.bf-api-table .bf-api-head{font-weight:700;background:#14263a;color:#dcecff}.bf-api-table code{white-space:normal;overflow-wrap:anywhere;color:#82d4ff}.bf-api-table span{min-width:0;overflow-wrap:anywhere}
.bf-code-sample{margin:10px 0;padding:12px;border:1px solid #2f455f;border-radius:8px;background:#0a1420;overflow:auto;white-space:pre;color:#d8e8f7}.bf-class-demo-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.bf-class-demo-host{min-height:180px;display:grid;place-items:center;border:1px dashed #36536f;border-radius:10px;background:rgba(8,20,32,.65);padding:18px;overflow:auto}.bf-class-demo-host>.bone-shape{max-width:420px;width:100%}.bf-class-demo-host+.bf-output{margin-top:10px;max-height:260px;overflow:auto}
@media (max-width:800px){.bf-api-table>div{grid-template-columns:1fr}.bf-api-table .bf-api-head{display:none}}

/* v1.0.38 Class result + guide completeness (scoped) */
.bf-class-demo-result{margin-top:12px}.bf-class-demo-result h3,.bf-class-demo-result h4{margin:12px 0 8px}.bf-class-demo-actions strong{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid #355471;border-radius:999px;color:#9ee7ff;background:#0b1724}.bf-guide-subtitle{margin:3px 0 0;color:#9fb4ca;font-size:12px}.bf-guide-api-inventory{display:grid;gap:6px;margin-bottom:18px}.bf-guide-api-row{display:grid;grid-template-columns:minmax(240px,1.1fr) minmax(260px,1.6fr) minmax(120px,.6fr);gap:10px;align-items:start;padding:9px 10px;border:1px solid #2d4764;border-radius:7px;background:#0b1724}.bf-guide-api-row code{color:#9ee7ff}.bf-guide-api-row strong{color:#a9efc8}.bf-guide-api-details{display:grid;gap:10px}.bf-guide-api-card{border:1px solid #35516f;border-radius:8px;background:#0a1522;overflow:hidden}.bf-guide-api-card>summary{display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,1.5fr);gap:12px;cursor:pointer;padding:10px 12px;background:#13243a}.bf-guide-api-card>summary code{color:#9ee7ff}.bf-guide-api-card-body{padding:12px}.bf-guide-detail-block{padding:9px 0;border-bottom:1px solid #263b54}.bf-guide-detail-block:last-child{border-bottom:0}.bf-guide-detail-block h5{margin:0 0 6px;color:#8ed7ff}.bf-guide-detail-block p,.bf-guide-detail-block ul{margin:0;line-height:1.7;color:#d2deeb}.bf-guide-detail-block pre{margin:0;max-height:300px;overflow:auto;padding:10px;border:1px solid #29435f;border-radius:6px;background:#07111c;color:#d8e8f7}.bf-guide-usage-list,.bf-guide-operation-list{display:grid;gap:14px}.bf-guide-usage-card,.bf-guide-class-doc,.bf-guide-class-index{border:1px solid #35516f;border-radius:9px;background:#0b1724;padding:12px}.bf-guide-usage-card>h4,.bf-guide-class-doc>h4,.bf-guide-class-index>h4{margin:0 0 10px;color:#b9e8ff}.bf-guide-class-links{display:flex;gap:8px;flex-wrap:wrap}.bf-guide-class-links a{display:inline-block;padding:7px 10px;border:1px solid #3f6488;border-radius:6px;background:#122842;color:#9ee7ff;text-decoration:none}.bf-guide-class-data{display:grid;gap:6px}.bf-guide-class-data>div{display:grid;grid-template-columns:minmax(150px,.6fr) minmax(0,1.8fr);gap:10px;padding:7px 8px;border:1px solid #263f5a;border-radius:6px}.bf-guide-class-data p{margin:0}.bf-guide-class-doc [data-guide-class-result]{max-height:360px;overflow:auto;white-space:pre-wrap}.bf-guide-api-card summary::marker{color:#79cbff}@media(max-width:760px){.bf-guide-api-row,.bf-guide-api-card>summary,.bf-guide-class-data>div{grid-template-columns:1fr}}


/* v1.0.38 #023-aligned Shape guide: left TOC + scroll content + live Shape catalog */
.bf-guide-modal{display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(4px)}
.bf-guide-modal[hidden]{display:none!important}
.bf-guide-dialog{width:min(1180px,96vw);height:min(900px,94vh);max-height:none;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#0a1725;border-color:#476884}
.bf-guide-head{position:static;padding:12px 14px;background:#10243a;border-bottom:1px solid #2b465e}
.bf-guide-layout{min-height:0;display:grid;grid-template-columns:190px minmax(0,1fr)}
.bf-guide-nav{padding:12px 9px;border-right:1px solid #243c53;background:#081421;overflow:auto}
.bf-guide-nav a{display:block;margin:0 0 5px;padding:8px;border-radius:5px;color:#9db7cd;text-decoration:none;font-size:11px;line-height:1.45}
.bf-guide-nav a:hover{background:#122942;color:#dff4ff}
.bf-guide-scroll-content{padding:14px 18px 30px;overflow:auto;scroll-behavior:smooth;min-width:0}
.bf-guide-section{padding:2px 0 20px;border-bottom:1px solid #1e354a;margin-bottom:20px;scroll-margin-top:12px}
.bf-guide-section:last-child{border-bottom:0}.bf-guide-section>h3{margin:0 0 9px;color:#8fdcff;font-size:15px}
.bf-guide-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;border-top:1px solid #29445c;background:#0d1f31;color:#7894aa;font-size:10px}
.bf-guide-shape-catalog{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
.bf-guide-shape-card{display:grid;grid-template-rows:120px auto auto 1fr;gap:6px;min-width:0;padding:9px;border:1px solid #2e4b65;border-radius:8px;background:#091625;color:#ddecf8}
.bf-guide-shape-stage{height:120px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:6px;background:linear-gradient(0deg,#0b1928,#081421)}
.bf-guide-shape-stage>.bone-shape{width:100%;max-width:310px;transform:scale(.72);transform-origin:center}.bf-guide-shape-card[data-guide-shape-type="TABLE_DETAIL"] .bf-guide-shape-stage>.bone-shape,.bf-guide-shape-card[data-guide-shape-type="INTERNAL_DETAIL"] .bf-guide-shape-stage>.bone-shape{transform:scale(.48)}
.bf-guide-shape-card h4{margin:0;color:#9bdcff;font-size:11px}.bf-guide-shape-card p{margin:0;color:#a8bdcf;font-size:10px;line-height:1.6}
.bf-guide-shape-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.bf-guide-shape-meta span{padding:2px 5px;border:1px solid #35536e;border-radius:999px;color:#9fb7ca;font-size:9px}.bf-guide-shape-meta code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ffd58b;font-size:9px}
.bf-guide-io-list{display:grid;gap:8px}.bf-guide-io-card{border:1px solid #35516f;border-radius:8px;background:#0a1522;overflow:hidden}.bf-guide-io-card>summary{display:grid;grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) auto;gap:10px;align-items:center;cursor:pointer;padding:10px 12px;background:#13243a}.bf-guide-io-card>summary code{color:#9ee7ff}.bf-guide-io-card>summary span{color:#a9efc8}.bf-guide-io-body{padding:12px}.bf-guide-io-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bf-guide-io-grid section,.bf-guide-io-labels{padding:9px;border:1px solid #29435f;border-radius:6px;background:#07111c}.bf-guide-io-grid h5,.bf-guide-io-labels h5{margin:0 0 6px;color:#8ed7ff}.bf-guide-io-grid pre,.bf-guide-io-labels pre{margin:0;white-space:pre-wrap;color:#d8e8f7;overflow:auto}
.bf-guide-class-list{display:grid;gap:12px}.bf-guide-formal-class{padding:12px;border:1px solid #35516f;border-radius:9px;background:#0b1724}.bf-guide-formal-class h4{margin:0 0 8px;color:#b9e8ff}.bf-guide-formal-class pre{margin:0;white-space:pre-wrap;color:#d8e8f7}.bf-guide-class-live{margin-top:14px;padding:12px;border:1px solid #35516f;border-radius:9px;background:#0b1724}.bf-guide-class-live h4{margin:0 0 10px;color:#b9e8ff}.bf-guide-class-live-host{min-height:190px;display:grid;place-items:center;border:1px dashed #36536f;border-radius:8px;background:#07111c;overflow:auto;padding:12px}.bf-guide-class-live-host>.bone-shape{max-width:420px;width:100%}
.bf-guide-dedicated-writing{display:grid;gap:12px}.bf-guide-syntax-table,.bf-guide-code-list-table{width:100%;border-collapse:collapse;font-size:10px}.bf-guide-syntax-table th,.bf-guide-syntax-table td,.bf-guide-code-list-table th,.bf-guide-code-list-table td{padding:7px 8px;border:1px solid #29445b;text-align:left;vertical-align:top}.bf-guide-syntax-table th,.bf-guide-code-list-table th{background:#10253a;color:#9edfff}.bf-guide-code-list-table pre{margin:0;max-width:360px;overflow:auto;white-space:pre-wrap}.bf-guide-code-list-table code{color:#ffd58b}
.bf-guide-error{color:#ff9eaa;font-size:10px}
@media(max-width:820px){.bf-guide-modal{padding:8px}.bf-guide-dialog{width:99vw;height:97vh}.bf-guide-layout{grid-template-columns:1fr}.bf-guide-nav{display:flex;gap:4px;overflow:auto;border-right:0;border-bottom:1px solid #243c53;padding:6px}.bf-guide-nav a{white-space:nowrap;margin:0}.bf-guide-io-grid{grid-template-columns:1fr}.bf-guide-io-card>summary{grid-template-columns:1fr}.bf-guide-shape-catalog{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}

/* v1.0.52 formal DOC / HTML Functional Class entry (scoped) */
.bone-doc-entry{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.bone-doc-entry-button{display:inline-flex;align-items:center;gap:4px;padding:7px 10px;border:1px solid #2f6f9f;border-radius:5px;background:#0f2f49;color:#fff;text-decoration:none;font-weight:700;cursor:pointer}
.bone-doc-entry-button:hover{border-color:#35f4ff}.bone-doc-entry-button.is-active{border-color:#35f4ff;box-shadow:0 0 0 1px rgba(53,244,255,.25)}

/* v1.0.52 DOC-0021 live Shape images and HTML sample. Shared BoneDocGuide is not modified. */
.bf-shape-doc-image-head,.bf-shape-doc-image-cell{width:112px;min-width:112px;text-align:center!important;vertical-align:middle!important}
.bf-shape-doc-image-cell .bf-inline-shape{font-size:13px}.bf-shape-doc-image-cell .bf-inline-shape-host{margin:0 auto;vertical-align:middle}.bf-shape-doc-image-cell .bf-inline-shape-host>.bone-shape{pointer-events:none}
.bf-shape-doc-thumb{position:relative;width:96px;height:72px;margin:0 auto;overflow:hidden;border:1px solid #29445b;border-radius:6px;background:#09131f;display:grid;place-items:center}
.bf-shape-doc-thumb .bone-shape{position:absolute;left:50%;top:50%;width:400%;transform:translate(-50%,-50%) scale(.22);transform-origin:center center;pointer-events:none}
.bf-shape-doc-thumb .bf-svg{max-height:280px}
.bf-shape-doc-thumb.is-error{color:#ff8f9b;font-size:28px}
.bf-shape-doc-live-catalog{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:10px 0 14px}
.bf-shape-doc-live-card{border:1px solid #29445b;border-radius:7px;background:#0b1724;padding:8px;min-width:0}
.bf-shape-doc-live-meta{display:grid;gap:3px;margin-top:6px;font-size:10px}.bf-shape-doc-live-meta code{color:#ffd58b}.bf-shape-doc-live-meta span{color:#d7e5f3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bf-runtime-error{align-self:center;justify-self:center;padding:12px 14px;border:1px solid #a8414b;border-radius:6px;background:#2a1118;color:#ffb8c0;font-weight:700}


.bf-shape-doc-html-sample{margin:14px 0 10px;padding:12px;border:1px solid #2d4764;border-radius:8px;background:#09131f}
.bf-shape-doc-html-sample>h4{margin:0 0 6px;color:#b9e8ff}
.bf-shape-doc-html-note{margin:0 0 10px;color:#a6bed7;line-height:1.6}
.bf-shape-doc-html-grid{display:grid;grid-template-columns:minmax(250px,1.05fr) minmax(250px,1fr);gap:12px;align-items:stretch}
.bf-shape-doc-html-card{border:1px solid #29445b;border-radius:8px;background:#0b1724;padding:10px;min-width:0}
.bf-shape-doc-html-card h5{margin:0 0 8px;color:#d7efff}
.bf-shape-doc-html-card pre{margin:0;max-height:320px;overflow:auto;padding:10px;border:1px solid #29435f;border-radius:6px;background:#07111c;color:#d8e8f7;white-space:pre-wrap}
.bf-shape-doc-html-preview-host{min-height:220px;display:grid;place-items:center;padding:14px;border:1px solid #29435f;border-radius:6px;background:#07111c;background-image:linear-gradient(#203349 1px, transparent 1px),linear-gradient(90deg, #203349 1px, transparent 1px);background-size:16px 16px;overflow:hidden}
.bf-shape-doc-html-preview-host .bf-shape{display:block;width:min(100%,420px)}
.bf-shape-doc-html-output{margin-top:12px}
.bf-shape-doc-html-output h5{margin:0 0 8px;color:#d7efff}
.bf-shape-doc-html-output pre{margin:0;max-height:260px;overflow:auto;padding:10px;border:1px solid #29435f;border-radius:6px;background:#07111c;color:#d8e8f7;white-space:pre-wrap}
@media(max-width:860px){.bf-shape-doc-html-grid{grid-template-columns:1fr}}


.bf-shape-doc-fit-compare{margin:16px 0 10px;padding:12px;border:1px solid #31506d;border-radius:8px;background:#09131f}
.bf-shape-doc-fit-compare>h4{margin:0 0 6px;color:#b9e8ff}
.bf-shape-doc-fit-note{margin:0 0 12px;color:#a6bed7;line-height:1.6}
.bf-shape-doc-fit-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:12px}
.bf-shape-doc-fit-card{border:1px solid #29445b;border-radius:8px;background:#0b1724;padding:10px;min-width:0}
.bf-shape-doc-fit-card>header h5{margin:0 0 4px;color:#d7efff}.bf-shape-doc-fit-card>header p{margin:0 0 10px;color:#a6bed7;line-height:1.5}
.bf-shape-doc-fit-code-grid,.bf-shape-doc-fit-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.bf-shape-doc-fit-code-grid section,.bf-shape-doc-fit-preview-grid section{min-width:0}
.bf-shape-doc-fit-code-grid h6,.bf-shape-doc-fit-preview-grid h6{margin:0 0 6px;color:#d7efff;font-size:12px}
.bf-shape-doc-fit-code-grid pre,.bf-shape-doc-fit-output{margin:0;max-height:240px;overflow:auto;padding:10px;border:1px solid #29435f;border-radius:6px;background:#07111c;color:#d8e8f7;white-space:pre-wrap}
.bf-shape-doc-fit-preview-host{min-height:220px;display:grid;place-items:center;padding:14px;border:1px solid #29435f;border-radius:6px;background:#07111c;background-image:linear-gradient(#203349 1px, transparent 1px),linear-gradient(90deg, #203349 1px, transparent 1px);background-size:16px 16px;overflow:hidden}
.bf-shape-doc-fit-preview-host>.bf-shape,.bf-shape-doc-fit-preview-host>.bone-shape{display:block;width:min(100%,420px)}
@media(max-width:980px){.bf-shape-doc-fit-grid,.bf-shape-doc-fit-code-grid,.bf-shape-doc-fit-preview-grid{grid-template-columns:1fr}}


/* #021 Stamp: dedicated element rendering, intentionally no Joint/IN/OUT ports. */
.bone-shape.is-stamp{width:auto;display:inline-block;user-select:none;touch-action:auto}
.bone-shape.is-stamp .bf-svg{width:auto;max-width:none;max-height:none}
.bf-stamp-svg{overflow:visible;flex:none}
.bf-stamp-outline{fill:transparent;stroke:var(--stamp-color,#B42318);stroke-width:var(--stamp-border-width,2);vector-effect:non-scaling-stroke}
.bf-stamp-separator{stroke:var(--stamp-color,#B42318);stroke-width:var(--stamp-separator-width,1.5);vector-effect:non-scaling-stroke}
.bf-stamp-text{fill:var(--stamp-color,#B42318);font-weight:700;paint-order:stroke;stroke:none}
.bf-stamp-host,.bf-stamp-inline{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;line-height:1}
.bf-stamp-host>.bone-shape,.bf-stamp-inline>.bone-shape{margin:0}
.bf-preview>.bone-shape.is-stamp{transform:scale(3);transform-origin:center center}
.bf-correction-target-text{fill:currentColor;font-weight:500}
.bf-correction-line-svg{stroke:var(--stamp-color,#B42318);stroke-width:var(--correction-line-width,2.5);vector-effect:non-scaling-stroke}
.bf-correction-stamp{position:relative;display:inline-block;vertical-align:baseline;line-height:inherit}
.bf-correction-stamp-host{position:relative;display:inline-block;isolation:isolate}
.bf-correction-stamp-text{position:relative;z-index:1}
.bf-correction-lines{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}
.bf-correction-line{position:absolute;left:0;right:0;top:50%;height:0;border:0;border-top-style:solid;border-top-color:var(--bf-correction-color,#B42318);border-top-width:var(--bf-correction-line-width,2.5px);background:transparent!important;box-shadow:none!important;transform:translateY(var(--bf-correction-line-y,0px))}
.bf-correction-line.is-second{transform:translateY(calc(var(--bf-correction-line-y,0px) + 2.5px))}
.bf-correction-line.is-first.two-lines{transform:translateY(calc(var(--bf-correction-line-y,0px) - 2.5px))}
.bf-correction-stamp-mark{position:absolute;left:50%;top:calc(50% + 4px);transform:translate(-50%,-50%);z-index:3;pointer-events:none}
.bf-correction-stamp-mark .bone-shape{margin:0}


/* v1.0.58 inline sentence expression / theme sync */
.bf-inline-shape,.bf-inline-shape-host{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;line-height:1;margin:0 .12em;max-width:none}
.bf-inline-shape-host>.bone-shape{display:inline-flex;width:auto!important;height:var(--bf-inline-shape-size,calc(1em + 3px))!important;min-width:0!important;max-width:none!important;margin:0;align-items:center}
.bf-inline-shape-host>.bone-shape>.bf-svg{display:block;width:auto!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0;overflow:visible}
.bf-inline-shape-host .bf-port,.bf-inline-shape-host .bf-port-label,.bf-inline-shape-host .bf-tooltip,.bf-inline-shape-host .bf-comment-bubble,.bf-inline-shape-host .bf-comment-anchor,.bf-inline-shape-host .bf-comment-line{display:none!important}
.bf-sentence-preview{margin-top:12px;padding:12px 14px;border:1px solid #38526c;border-radius:7px;background:#0a1522;overflow:visible}
.bf-sentence-preview h4{margin:0 0 8px;color:#9bdcff}
.bf-sentence-preview-line{margin:0;padding:12px;border:1px solid #2d465f;border-radius:6px;background:#f7f8fa;color:#1a2430;font-family:Meiryo,"Yu Gothic",sans-serif;font-size:16px;line-height:2.2;overflow:visible}
.bf-sentence-preview-code{margin:9px 0 0;white-space:pre-wrap;overflow:auto;padding:9px;border:1px solid #263f58;border-radius:5px;background:#07111c;color:#d8e8f7;font-size:11px}
.bf-sentence-preview .bf-correction-stamp-mark{z-index:4}

/* #021 inline-only: operational Shapes have dark status fill even with light theme.
   Keep label and operational metadata legible; full-size Job/Jobnet unchanged. */
.bf-inline-shape-host .bone-shape[data-job-status] { --text: #f8fafc; }
/* #021 UI Parts Shape Pack / scope to data-category=ui-parts only. */
.bone-shape[data-category="ui-parts"] .bf-svg{overflow:hidden}
.bone-shape[data-category="ui-parts"].theme-light{--bf-ui-body:#ffffff;--bf-ui-body-stroke:#8192aa;--bf-ui-surface:#ffffff;--bf-ui-surface-stroke:#8797af;--bf-ui-header:#e9f0f8;--bf-ui-header-stroke:#a4b2c3;--bf-ui-muted:#e8edf4;--bf-ui-muted-stroke:#adb9c8;--bf-ui-faint:#d6e0eb;--bf-ui-line:#71849b;--bf-ui-strong:#315170;--bf-ui-accent:#397cd5;--bf-ui-accent-stroke:#245ba1;--bf-ui-accent-soft:#dbebff;--bf-ui-accent-soft-stroke:#438add;--bf-ui-danger-soft:#fff1f0;--bf-ui-danger-soft-stroke:#de7164;--bf-ui-success:#168554;--bf-ui-success-fill:#20a069;--bf-ui-danger-fill:#de4753;--bf-ui-strong-fill:#284f7e;--bf-ui-accent-line:#397cd5;--bf-ui-inverse:#ffffff;--bf-ui-danger:#cf3c44;--bf-ui-selected-outline:#11478d;--bf-ui-text:#243952;--bf-ui-muted-text:#53677f;--bf-ui-inverse-text:#ffffff;--bf-ui-accent-text:#2563ac;--bf-ui-danger-text:#af3540;}
.bone-shape[data-category="ui-parts"].theme-dark{--bf-ui-body:#152336;--bf-ui-body-stroke:#77a9d1;--bf-ui-surface:#1e3046;--bf-ui-surface-stroke:#85b0d3;--bf-ui-header:#284462;--bf-ui-header-stroke:#4c7299;--bf-ui-muted:#304158;--bf-ui-muted-stroke:#4c6787;--bf-ui-faint:#4d6480;--bf-ui-line:#9dc0df;--bf-ui-strong:#8bc8ff;--bf-ui-accent:#3396ed;--bf-ui-accent-stroke:#82d0ff;--bf-ui-accent-soft:#294f78;--bf-ui-accent-soft-stroke:#69b7fa;--bf-ui-danger-soft:#61343e;--bf-ui-danger-soft-stroke:#fb7c88;--bf-ui-success:#4be1a4;--bf-ui-success-fill:#2ab789;--bf-ui-danger-fill:#e86783;--bf-ui-strong-fill:#86c2f5;--bf-ui-accent-line:#47b7fc;--bf-ui-inverse:#0b1929;--bf-ui-danger:#ff8399;--bf-ui-selected-outline:#88d6ff;--bf-ui-text:#f1f7ff;--bf-ui-muted-text:#bbd0e7;--bf-ui-inverse-text:#071b31;--bf-ui-accent-text:#9bdbff;--bf-ui-danger-text:#ff98aa;}
.bone-shape[data-category="ui-parts"].theme-neon{--bf-ui-body:#041922;--bf-ui-body-stroke:#00fff0;--bf-ui-surface:#08212a;--bf-ui-surface-stroke:#00f4df;--bf-ui-header:#133446;--bf-ui-header-stroke:#00dbf0;--bf-ui-muted:#1b3044;--bf-ui-muted-stroke:#386177;--bf-ui-faint:#356477;--bf-ui-line:#04b4e5;--bf-ui-strong:#00f5ff;--bf-ui-accent:#8e4cf0;--bf-ui-accent-stroke:#e0adff;--bf-ui-accent-soft:#253665;--bf-ui-accent-soft-stroke:#25dcff;--bf-ui-danger-soft:#43233e;--bf-ui-danger-soft-stroke:#ff5eaa;--bf-ui-success:#39ff94;--bf-ui-success-fill:#04c88c;--bf-ui-danger-fill:#ff39a1;--bf-ui-strong-fill:#00e3eb;--bf-ui-accent-line:#00f5ff;--bf-ui-inverse:#05131d;--bf-ui-danger:#ff49bc;--bf-ui-selected-outline:#f4ff32;--bf-ui-text:#f1ffff;--bf-ui-muted-text:#a3cbe3;--bf-ui-inverse-text:#050e17;--bf-ui-accent-text:#59faff;--bf-ui-danger-text:#ff89cc;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-body{fill:var(--bf-ui-body);stroke:var(--bf-ui-body-stroke);stroke-width:2;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-surface{fill:var(--bf-ui-surface);stroke:var(--bf-ui-surface-stroke);stroke-width:2;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-header{fill:var(--bf-ui-header);stroke:var(--bf-ui-header-stroke);stroke-width:1;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-muted{fill:var(--bf-ui-muted);stroke:var(--bf-ui-muted-stroke);stroke-width:1;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-faint{fill:none;stroke:var(--bf-ui-faint);stroke-width:1;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-line{fill:none;stroke:var(--bf-ui-line);stroke-width:2;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-strong{fill:none;stroke:var(--bf-ui-strong);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-accent{fill:var(--bf-ui-accent);stroke:var(--bf-ui-accent-stroke);stroke-width:1;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-accent-soft{fill:var(--bf-ui-accent-soft);stroke:var(--bf-ui-accent-soft-stroke);stroke-width:1;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-danger-soft{fill:var(--bf-ui-danger-soft);stroke:var(--bf-ui-danger-soft-stroke);stroke-width:1;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-success{fill:none;stroke:var(--bf-ui-success);stroke-width:6;stroke-linecap:round;stroke-linejoin:round;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-success-fill{fill:var(--bf-ui-success-fill);stroke:var(--bf-ui-success-fill);stroke-width:1;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-danger-fill{fill:var(--bf-ui-danger-fill);stroke:var(--bf-ui-danger-fill);stroke-width:1;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-strong-fill{fill:var(--bf-ui-strong-fill);stroke:var(--bf-ui-strong-fill);stroke-width:1;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-accent-line{fill:none;stroke:var(--bf-ui-accent-line);stroke-width:3;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-inverse-line{fill:none;stroke:var(--bf-ui-inverse);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-danger{fill:none;stroke:var(--bf-ui-danger);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-selected-outline{fill:none;stroke:var(--bf-ui-selected-outline);stroke-width:3;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-text,.bone-shape[data-category="ui-parts"] .bf-outline.ui-title,.bone-shape[data-category="ui-parts"] .bf-outline.ui-muted-text,.bone-shape[data-category="ui-parts"] .bf-outline.ui-small,.bone-shape[data-category="ui-parts"] .bf-outline.ui-tiny,.bone-shape[data-category="ui-parts"] .bf-outline.ui-inverse,.bone-shape[data-category="ui-parts"] .bf-outline.ui-accent-text,.bone-shape[data-category="ui-parts"] .bf-outline.ui-danger-text{stroke:none!important;font-family:"Yu Gothic",Meiryo,sans-serif;font-weight:500}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-text{fill:var(--bf-ui-text);}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-title{fill:var(--bf-ui-text);font-weight:700;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-muted-text{fill:var(--bf-ui-muted-text);}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-small{fill:var(--bf-ui-muted-text);}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-tiny{fill:var(--bf-ui-muted-text);}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-inverse{fill:var(--bf-ui-inverse-text);font-weight:700;}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-accent-text{fill:var(--bf-ui-accent-text);}
.bone-shape[data-category="ui-parts"] .bf-outline.ui-danger-text{fill:var(--bf-ui-danger-text);}
/* BF021-UI-PARTS-STYLES-END */





