.fta251-scroll{height:620px;max-height:85vh;resize:both;overflow:scroll;max-width:100%;min-width:350px;min-height:300px}.fta251-canvas{resize:none;overflow:visible}.fta251-node{overflow:auto;min-height:100px;min-width:160px;padding:24px 12px 16px;cursor:move;user-select:text;font-size:13px}.fta251-node .fta251-node-title{font-size:14px;overflow-wrap:anywhere;padding-right:18px}.fta251-node.gate,.fta251-node.intermediate{border-radius:36px 36px 8px 8px;text-align:center}.fta251-node textarea{width:100%;min-height:110px}.fta272-more{margin:12px 0;border-top:1px solid #ddd;padding-top:8px}.fta272-details{position:absolute;right:3px;top:3px;width:25px;padding:0;min-height:24px}.fta272-notes{margin:10px 4px 0 0}.fta272-size{position:absolute;bottom:0;right:0;cursor:nwse-resize;padding:5px;touch-action:none}.fta272-symbol{display:block;font-size:27px;line-height:30px}.fta272-tool[aria-pressed=true]{background:#163d57;color:white;outline:3px solid #c7973c}.fta251-toolbar h4{width:100%;margin:3px}.fta272-actions{display:flex;flex-wrap:wrap;gap:6px;padding:10px}.fta272-maximized{position:fixed;inset:10px;z-index:10000;overflow:auto;box-shadow:0 0 0 30px #0009}.fta272-maximized .fta251-scroll{height:70vh;max-width:100%}.fta272-finding{padding:12px;border:2px solid;border-radius:8px}.fta272-finding.invalid{border-color:#b42318;color:#9f1810;background:#fff2f0}.fta272-finding.incomplete{border-color:#a76c00;background:#fff9eb}.fta272-finding.valid{border-color:#268146;background:#f1fff4}.fta267-options{padding:10px}.fta267-options>label{display:block;margin:8px 0}.fta251-svg{pointer-events:none}.fta251-edge{pointer-events:stroke;stroke-width:3}.fta251-node .fta272-remove{display:block;margin-top:8px}.fta272-note-panel{resize:both;overflow:auto;min-height:130px}.assumptions271 .selected-context-chip{display:flex;align-items:center;justify-content:space-between;border:1px solid #ccd7df;border-radius:7px;padding:9px;margin:6px 0}.pasa272-entry{border:1px solid #ccd7df;border-radius:8px;padding:12px;margin:14px 0}.pasa272-entry>h4{margin:0 0 8px}.pasa272-draft{border:1px dashed #9aabb9;padding:12px;margin:12px 0}.pasa272-dal{padding:12px;margin:12px 0;background:#f5f8fa}.identity272{font-weight:700;color:#193c58}.assumption-hierarchy272 option[disabled]{font-weight:bold;color:#52667b}.pasa272-summary table{width:100%;border-collapse:collapse}.pasa272-summary th,.pasa272-summary td{padding:12px;border:1px solid #ccd7df;text-align:left}
/* Keep all event content inside its resizable boundary; supersede legacy v269 sizing. */
.fta251 .fta251-node,.fta251 .fta251-node.top{overflow:auto;min-width:160px;padding:24px 12px 16px;box-sizing:border-box}
.fta251 .fta251-node.gate,.fta251 .fta251-node.intermediate{min-width:160px;padding:12px}
.pasa272-summary .architecture-matrix{grid-template-columns:repeat(3,minmax(160px,1fr));overflow:auto}
.pasa272-summary{overflow-x:auto;max-width:100%}

/* One controlled entry per row, matching the AFHA authoring form. */
#wizard .subfunction-fc-card .compact-context-selector .selected-context-chips,
#wizard .assumptions271 > div{display:block;width:100%}
#wizard .subfunction-fc-card .compact-context-selector .selected-context-chip,
#wizard .assumptions271 .selected-context-chip{display:flex;width:100%;box-sizing:border-box;align-items:center;gap:5px;border:1px solid #d7e0e8;border-radius:7px;padding:9px 10px;margin:5px 0}
#wizard .subfunction-fc-card .compact-context-selector .context-chip-x,
#wizard .assumptions271 .assumption271-remove{margin-left:auto;background:transparent;border:0;color:#607d94;flex-shrink:0;padding:2px 5px}
#wizard .subfunction-fc-card .apex-controlled-id-30143{font-weight:700}

.fta273-viewport{position:relative;width:max-content;max-width:none;padding:0 12px 12px 0}.fta251 .fta251-scroll{max-width:none;max-height:none;resize:none;width:1050px;height:620px}.fta273-surface{position:relative}.fta251-canvas{position:absolute;left:0;top:0}.fta273-resize{position:absolute;background:#dce9f2;color:#163d57;touch-action:none;user-select:none;text-align:center}.fta273-resize.bottom{bottom:0;left:0;right:12px;height:12px;cursor:ns-resize}.fta273-resize.right{right:0;top:0;bottom:12px;width:12px;cursor:ew-resize}.fta273-resize.corner{bottom:0;right:0;width:16px;height:16px;cursor:nwse-resize}.fta273-zoom{display:flex;gap:8px;align-items:center;margin:8px}.fta251-node label{display:block}.fta273-allocation-actions{padding:10px}.fta273-update-panel{border:1px solid #b6c9d8;padding:12px}.fta273-systems{font-size:12px;margin:5px 0}.fta251{overflow-x:auto}.fta251-node.gate p{font-size:12px}.fta251-node.gate select{max-width:100%}

.sys273-dialog{width:min(850px,90vw);max-height:85vh;overflow:auto;border:1px solid #9ab3c6;border-radius:12px;padding:24px}.sys273-dialog label{display:block;margin:12px 0}.sys273-dialog::backdrop{background:#0a243777}.sys273-error{color:#a01818}.sys273-item{display:block!important}.sys273-item small{display:block}.system273 section{margin:14px 0;padding:12px;border:1px solid #d6e1e9;border-radius:8px}

/* v278 compact event controls and four-edge resizing. */
.fta251 .fta251-node{min-height:65px;resize:none;padding:28px 12px 12px}
.fta251 .fta251-node .fta272-remove{position:absolute;right:4px;top:3px;width:23px;height:22px;min-height:0;padding:0;margin:0;border:1px solid #aab8c4;background:white;border-radius:3px}
.fta251 .fta251-node .fta272-details{right:31px;top:3px;height:22px;min-height:0}
.fta251 .fta251-node .fta272-size{padding:0;background:transparent;z-index:2;touch-action:none}
.fta251 .fta251-node .fta272-size.left{left:0;top:26px;bottom:0;right:auto;width:7px;cursor:ew-resize}
.fta251 .fta251-node .fta272-size.right{right:0;top:26px;bottom:0;width:7px;cursor:ew-resize}
.fta251 .fta251-node .fta272-size.top{left:0;right:60px;top:0;bottom:auto;height:7px;cursor:ns-resize}
.fta251 .fta251-node .fta272-size.bottom{left:0;right:0;bottom:0;height:7px;cursor:ns-resize}
.fta278-extended[hidden]{display:none!important}
.fta251 .fta251-node.gate,.fta251 .fta251-node.intermediate{padding-top:28px}

.fta273-resize{z-index:5;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:1}.fta273-viewport{padding-right:20px;padding-bottom:20px}.fta273-resize.right{width:20px;bottom:20px}.fta273-resize.bottom{height:20px;right:20px}.fta273-resize.corner{width:20px;height:20px}
