.v3-editor{display:grid;gap:10px;max-width:1600px;margin:0 auto;padding:12px 15px 25px;color:#21314b}.v3-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.v3-top h2{font-size:21px;line-height:1.2;margin:3px 0 2px}.v3-top small,.v3-meta,.v3-previewpane small{font-size:11px;color:#66758d}.v3-back{font-size:12px;font-weight:600;color:#34518e}.v3-top-actions,.v3-row,.v3-media-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.v3-top-actions #v3Dirty{font-size:11px;color:#b56a16}.v3-meta{margin-top:-4px}.v3-stage-tabs{display:flex;gap:5px;overflow:auto;padding-bottom:3px;scrollbar-width:thin}.v3-stage-tabs button{white-space:nowrap;border:1px solid #d9e1ed;border-radius:8px;padding:8px 10px;background:white;color:#394b67;font-size:12px;cursor:pointer}.v3-stage-tabs button.on{background:#163d81;color:white;border-color:#163d81}.v3-workspace{display:grid;grid-template-columns:minmax(175px,245px) minmax(260px,1fr) minmax(230px,35%);min-height:500px;gap:11px}.v3-slide-list,.v3-editpane,.v3-previewpane{background:white;border:1px solid #e0e7ef;border-radius:12px;min-width:0;padding:12px;overflow-wrap:anywhere}.v3-side-head{display:flex;gap:5px;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:10px}.v3-editor .btn{font-size:12px;padding:7px 10px;line-height:1.3}.v3-step{border-top:1px solid #e9eef5;padding:6px 0}.v3-step button{display:block;width:100%;padding:8px;text-align:left;border:0;border-radius:7px;background:transparent;color:#41536f;font-size:12px;cursor:pointer}.v3-step button.on{background:#eaf1ff;color:#173b7b;font-weight:650}.v3-step-title{font-weight:650}.v3-step-title small{font-size:10px;opacity:.7;margin-left:3px}.v3-flow-stub{padding:6px 9px;color:#8290a4;font-size:11px}.v3-slide-list>button{margin-top:9px}.v3-editpane h3,.v3-previewpane h3{font-size:15px;margin:1px 0 13px}.v3-fields{display:flex;flex-direction:column;gap:9px}.v3-fields label{display:flex;flex-direction:column;font-weight:600;gap:5px;font-size:12px;color:#40516a}.v3-fields input,.v3-fields textarea,.v3-fields select{width:100%;min-width:0;padding:9px 10px;border:1px solid #d6dfeb;border-radius:8px;background:#fff;color:#263958;font:inherit;line-height:1.4}.v3-fields input:focus,.v3-fields textarea:focus,.v3-fields select:focus{outline:2px solid #9bbaf0;outline-offset:1px}.v3-fields textarea{resize:vertical}.v3-fields .v3-short{display:grid;grid-template-columns:17px minmax(0,1fr);align-items:center;gap:5px;font-weight:400}.v3-subtitle{font-size:11px;font-weight:700;color:#5f7090}.v3-preview{display:flex;flex-direction:column;gap:10px;border-radius:8px;background:#f5f8fc;padding:12px;min-height:230px;font-size:12px}.v3-preview img,.v3-preview video{max-width:100%;max-height:240px;object-fit:contain;border-radius:7px;background:#e3eaf2}.v3-visual-placeholder{display:grid;place-items:center;min-height:155px;border:1px dashed #b5c4d7;border-radius:8px;color:#71849d;text-align:center;padding:10px;font-size:12px}.v3-preview strong{font-size:15px}.v3-preview p{margin:0;white-space:pre-wrap}.v3-preview ol{padding-left:22px;margin:0}.v3-preview li{margin:4px 0}.v3-editpane #v3EditorStatus{font-size:12px;min-height:16px;color:#426592}.v3-editpane #v3EditorStatus.error{color:#b52232}.v3-empty{font-size:12px;color:#63748e}.v3-editor .v3-previewpane small{display:block;margin-top:10px}@media(max-width:1080px){.v3-workspace{grid-template-columns:210px minmax(0,1fr)}.v3-previewpane{grid-column:2}}@media(max-width:660px){.v3-editor{padding:8px 9px}.v3-top h2{font-size:18px}.v3-top-actions{width:100%;justify-content:flex-end}.v3-workspace{display:block}.v3-slide-list,.v3-editpane,.v3-previewpane{margin-bottom:9px}.v3-slide-list{max-height:225px;overflow:auto}.v3-previewpane{margin-top:9px}.v3-stage-tabs button{font-size:11px;padding:7px}.v3-fields .v3-short{grid-template-columns:18px minmax(0,1fr)}}
/* Lượt 5: compact Flow editor, accessible choices and route preview */
.v3-choice{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px;border:1px solid #e0e7f0;background:#f9fbfe;padding:10px;border-radius:9px}.v3-choice .btn{min-width:75px}.v3-flow-form .v3-flow-hint{font-size:11px;color:#657996;line-height:1.5;margin:0}.v3-flow-preview-choices{display:grid;gap:8px}.v3-flow-preview-choice{padding:10px;border:1px solid #d3e1f4;border-radius:9px;background:white;display:flex;flex-direction:column;gap:5px}.v3-flow-preview-choice span{font-weight:600}.v3-flow-preview-choice small{font-size:11px;color:#647796}.v3-side-head .v3-row{flex-wrap:nowrap}.v3-side-head .btn{white-space:nowrap}.v3-flow-stub{font-size:11px;color:#52668b;padding:5px 9px 7px}.v3-step-title small{font-weight:500}
@media(max-width:1150px){.v3-choice{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-choice .btn{grid-column:2;justify-self:end}}
@media(max-width:660px){.v3-choice{grid-template-columns:minmax(0,1fr)}.v3-choice .btn{grid-column:1}.v3-side-head{flex-wrap:wrap}.v3-side-head .v3-row{width:100%}.v3-side-head .btn{flex:1}}

.v3-stage-edit-link{display:inline-block;margin-top:6px;font-size:12px;font-weight:650;color:#2257a6;text-decoration:underline;text-underline-offset:2px}
