/* GUIA LIVRE FLOW STUDIO 5.3 — painéis e nós acessíveis, sem dependências */
body:has(.gd-shell) #view{padding:0!important;max-width:none!important;overflow:hidden;background:#eef2f8}body:has(.gd-shell) .footer{display:none}
.gd-shell{--gd-ink:#1b2741;--gd-muted:#71819c;--gd-line:#e1e7f0;display:flex;flex-direction:column;height:calc(100vh - 72px);min-height:660px;background:#f6f8fb;color:var(--gd-ink);font:14px/1.45 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.gd-shell *{box-sizing:border-box}
.gd-shell button,.gd-shell select,.gd-shell input,.gd-shell textarea{font:inherit}.gd-shell button{cursor:pointer}.gd-shell button:disabled{opacity:.42;cursor:not-allowed}
.gd-header{padding:13px 20px;display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fff;border-bottom:1px solid var(--gd-line);min-height:82px}.gd-header-left,.gd-header-actions,.gd-toptools>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.gd-header h1{font-size:19px;font-weight:780;margin:3px 0 0;line-height:1.2}.gd-eyebrow,.gd-column-head small,.gd-inspector-overline{letter-spacing:.12em;font-size:10px;font-weight:800;color:#7a8aaa}.gd-preview{border-radius:5px;padding:3px 7px;margin-left:4px;letter-spacing:.03em;background:#ecf0ff;color:#6164c8}.gd-back{border:1px solid var(--gd-line);border-radius:11px;background:#f7f9fd;text-decoration:none;display:grid;place-items:center;width:40px;height:40px;color:var(--gd-ink);font-size:21px}.gd-pill,.gd-unsaved{border-radius:24px;padding:5px 11px;background:#f0f2f7;color:#74839d;font-size:11px;font-weight:800}.gd-pill.enabled{background:#e2f9f0;color:#0b9975}.gd-unsaved{color:#ae6a08;background:#fff5df}
.gd-header-actions button,.gd-toptools button,.gd-zoom button,.gd-inspector-actions button{border:1px solid #dce3ee;background:#fff;color:#34435f;border-radius:9px;padding:8px 12px;font-weight:700;font-size:12px;transition:background .15s,border-color .15s}.gd-header-actions button:hover,.gd-toptools button:hover{background:#eff4ff;border-color:#b9caed}.gd-header-actions button.gd-primary{background:#245ce8;border-color:#245ce8;color:white;box-shadow:0 6px 16px #245ce828}.gd-header-actions select{max-width:195px;background:#f9fbfe;border:1px solid #dce3ee;border-radius:9px;padding:9px 12px;color:#33415c}.gd-toptools{min-height:52px;padding:7px 17px;background:#fff;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--gd-line);gap:10px}.gd-toptools button{padding:7px 10px}.gd-separator{height:22px;border-left:1px solid #e5eaf1;margin:0 3px}.gd-local-indicator{color:#0c9d7b;font-weight:800;font-size:11px}
.gd-layout{display:grid;grid-template-columns:220px minmax(0,1fr) 268px;flex:1;min-height:0}.gd-library,.gd-properties{min-width:0;overflow-y:auto;background:#fff}.gd-library{border-right:1px solid var(--gd-line);padding:18px 12px}.gd-properties{border-left:1px solid var(--gd-line)}.gd-column-head{display:grid;gap:3px;margin:1px 6px 17px}.gd-column-head strong{font-size:14px}.gd-column-head small{letter-spacing:0;font-size:11px;font-weight:500}
.gd-library-item{display:flex;gap:9px;align-items:center;width:100%;text-align:left;padding:11px 9px;border:1px solid transparent;background:#fff;border-radius:12px;margin-bottom:5px;color:#243148}.gd-library-item:hover,.gd-library-item:focus-visible{background:#f4f7fc;border-color:#dce5f2}.gd-library-item>span:nth-child(2){flex:1;min-width:0}.gd-library-item b,.gd-library-item small{display:block}.gd-library-item b{font-size:12px}.gd-library-item small{font-size:10px;color:#7d899e}.gd-add-icon{font-size:20px;color:#94a4c0}.gd-prop-icon,.gd-glyph{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;border-radius:10px;background:#ecf1ff;color:#4c6be6;font-size:19px}.gd-prop-icon.purple,.gd-node.purple .gd-glyph{background:#f0e9ff;color:#8c52d9}.gd-prop-icon.teal,.gd-node.teal .gd-glyph{background:#e1f8f4;color:#0a9f84}.gd-prop-icon.orange,.gd-node.orange .gd-glyph{background:#fff0e1;color:#e0872e}.gd-prop-icon.pink,.gd-node.pink .gd-glyph{background:#ffebf6;color:#db64a7}.gd-prop-icon.amber,.gd-node.amber .gd-glyph{background:#fff4d7;color:#d68b12}.gd-prop-icon.gray,.gd-node.gray .gd-glyph{background:#edf0f6;color:#61728e}.gd-side-help{padding:13px;background:#f6f8fc;border:1px dashed #d7e0ef;border-radius:12px;color:#6e809e;font-size:11px;margin-top:18px}
.gd-workspace{min-width:0;overflow:hidden;position:relative;background:#edf2f9}.gd-viewport{position:absolute;inset:0;overflow:hidden;cursor:grab;background-image:radial-gradient(circle,#b7c6da 1px,transparent 1px);background-size:20px 20px}.gd-viewport:active{cursor:grabbing}.gd-stage{position:absolute;left:0;top:0;width:0;height:0;transform-origin:0 0;will-change:transform}.gd-connections{position:absolute;left:-10000px;top:-10000px;width:20000px;height:20000px;pointer-events:none;overflow:visible}.gd-edge-line{stroke:#7792b1;stroke-width:2.5;fill:none}.gd-edge-hit{stroke:transparent;stroke-width:17;fill:none;pointer-events:stroke;cursor:pointer}.gd-edge-hit:hover{stroke:#467cf32f}.gd-edge-preview{stroke:#1d77ee;stroke-width:3;stroke-dasharray:8 7;fill:none;pointer-events:none}
.gd-node{position:absolute;width:232px;min-height:138px;background:white;border-radius:13px;border:1px solid #d7e0ec;box-shadow:0 8px 26px #283e6315,0 2px 6px #283e6308;user-select:none;cursor:default;transition:box-shadow .15s,border-color .15s}.gd-node:hover{box-shadow:0 11px 33px #243c6a27}.gd-node.selected{border-color:#3f7dff;box-shadow:0 0 0 3px #3f7dff22,0 14px 34px #1e3f7830}.gd-node-head{display:flex;align-items:center;gap:9px;padding:13px 11px;border-radius:12px 12px 0 0;border-bottom:1px solid #edf0f6;cursor:move;touch-action:none}.gd-node-head>span:nth-child(2){flex:1;min-width:0}.gd-node-head b,.gd-node-head small{display:block}.gd-node-head b{font-size:13px}.gd-node-head small{font-size:10px;color:#8995ab}.gd-node-body{padding:11px 13px 18px;font-size:11px;color:#60708a;line-height:1.55;overflow-wrap:anywhere;min-height:48px;cursor:pointer}.gd-grip{font-size:20px;color:#aab9cb}.gd-port{position:absolute;width:16px;height:16px;border:3px solid #fff;border-radius:50%;background:#7c95b5;box-shadow:0 0 0 2px #c6d3e4;cursor:crosshair!important;z-index:3;padding:0}.gd-port:hover,.gd-port:focus-visible{background:#296cf0;box-shadow:0 0 0 4px #2c74e733}.gd-port.in{left:-9px;top:61px}.gd-port.out{right:-9px;top:84px}.gd-port.out.false{top:114px;background:#f09b7d}.gd-node.purple .gd-port.out.true{background:#39b49a}.gd-branch-labels{position:absolute;right:17px;top:74px;display:grid;gap:13px;font-weight:900;font-size:9px;color:#72819a}
.gd-inspector{padding:22px 17px}.gd-inspector h3{font-size:18px;margin:10px 0;color:#21304a}.gd-inspector>small{color:#8999b1;overflow-wrap:anywhere}.gd-inspector label{display:grid;gap:6px;font-size:11px;color:#64728a;font-weight:700;margin-top:16px}.gd-inspector input,.gd-inspector textarea,.gd-inspector select{border:1px solid #dbe3ed;border-radius:9px;width:100%;padding:10px 10px;background:#fbfcff;color:#2f3e55;font-size:12px;min-width:0}.gd-inspector textarea{min-height:100px;resize:vertical}.gd-inspector input:focus,.gd-inspector select:focus,.gd-inspector textarea:focus{outline:3px solid #347ded28;border-color:#5885dc}.gd-inspector-actions{display:flex;gap:7px;margin-top:22px}.gd-inspector-actions .danger{color:#c14f57}.gd-inspector-info{font-size:11px;line-height:1.6;color:#8794a8;background:#f5f8fd;border-radius:11px;padding:13px;margin-top:23px}
.gd-minimap{position:absolute;right:17px;bottom:68px;width:145px;height:85px;border-radius:10px;border:1px solid #d1deec;box-shadow:0 5px 17px #28436817;background:#fffffff2;overflow:hidden;pointer-events:none}.gd-minimap i{position:absolute;width:8px;height:5px;border-radius:2px}.gd-minimap small{position:absolute;bottom:0;left:0;right:0;font-size:9px;color:#637b98;background:white;text-align:center;padding:4px}.gd-zoom{position:absolute;left:17px;bottom:66px;display:flex;align-items:center;background:white;border:1px solid #dce5ef;box-shadow:0 5px 15px #28436817;border-radius:9px;overflow:hidden}.gd-zoom button{border:0;border-radius:0;padding:7px 10px;font-size:17px}.gd-zoom b{font-size:11px;padding:0 9px;min-width:48px;text-align:center}.gd-canvas-hint{position:absolute;bottom:15px;left:17px;background:#ffffffc9;border:1px solid #dce5ef;padding:7px 11px;border-radius:9px;color:#8291aa;font-size:11px}.gd-footer{padding:10px 16px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;background:#fff;border-top:1px solid #e4e9f1;font-size:11px;color:#8393aa}.gd-footer b{color:#344a69}.gd-empty{padding:45px;max-width:700px}.gd-trace{max-height:55vh;overflow-y:auto}.gd-trace article{border-bottom:1px solid #e6e9f1;padding:12px 0}.gd-trace article p{margin:5px 0;color:#667790}.gd-trace article small{color:#8191ad}
@media(max-width:1300px){.gd-layout{grid-template-columns:190px minmax(0,1fr) 240px}.gd-header{flex-wrap:wrap}.gd-local-indicator{display:none}}@media(max-width:900px){.gd-layout{grid-template-columns:minmax(0,1fr) 225px}.gd-library{display:none}.gd-header-actions{width:100%;overflow-x:auto}.gd-toptools{overflow-x:auto;white-space:nowrap}.gd-shell{height:calc(100vh - 64px)}}@media(max-width:640px){.gd-layout{display:flex;flex-direction:column}.gd-workspace{height:55vh;min-height:310px;flex:none}.gd-properties{flex:1;min-height:160px;border-left:none;border-top:1px solid #dce4f0}.gd-header{padding:10px}.gd-footer,.gd-canvas-hint,.gd-minimap{display:none}.gd-zoom{bottom:15px}.gd-inspector{padding:13px}.gd-header h1{font-size:16px}}
