/* Owner visual canônico — Fluxogramas (R897).
 * Reutiliza primitivas .mm-* de mindmaps.css; por isso deve carregar depois.
 */

/* Rotina360 V7.10.4-R24 — Fluxogramas Profissionais */
.fc-page{--fc-primary:#0f766e;--fc-primary-soft:#ccfbf1;--fc-line:#475569}
.fc-hero{background:linear-gradient(135deg,#fff 0%,#effcf9 52%,#eef6ff 100%)}
.fc-hero .mm-kicker{background:#ccfbf1;color:#0f766e}.fc-hero .mm-btn-primary{background:#0f766e;box-shadow:0 8px 18px rgba(15,118,110,.24)}.fc-hero .mm-btn-primary:hover{background:#115e59}
.fc-thumb{background:linear-gradient(145deg,#effcf9,#eef6ff)}.fc-flow-icon{position:relative;z-index:3;display:grid;place-items:center;width:62px;height:62px;border:2px solid #0f766e;border-radius:18px;background:#fff;color:#0f766e;font-size:32px;font-weight:900;box-shadow:0 10px 24px rgba(15,118,110,.15)}
.fc-mini-flow i{position:absolute;height:2px;background:#64748b}.fc-mini-flow i:nth-child(1){width:54px;left:22%;top:38%}.fc-mini-flow i:nth-child(2){width:70px;right:18%;top:50%;transform:rotate(18deg)}.fc-mini-flow i:nth-child(3){width:70px;right:18%;top:58%;transform:rotate(-18deg)}
.fc-template:hover{border-color:#0f766e;background:#f0fdfa}.fc-template>span{color:#0f766e}
.fc-editor-shell{grid-template-columns:112px minmax(0,1fr) 330px}.fc-editor-header{border-color:#cbd5e1}.fc-editor-actions .fc-has-errors{border-color:#fca5a5;background:#fff1f2;color:#b91c1c}
.fc-palette{gap:4px}.fc-palette button{min-height:54px;padding:6px 4px}.fc-palette button>span{font-family:Georgia,serif;font-size:22px}.fc-palette button:hover,.fc-palette button.active{border-color:#5eead4;background:#ccfbf1;color:#0f766e}
.fc-canvas{background:#f8fafc}.fc-canvas.show-grid{background-color:#f8fafc}.fc-grid{opacity:.72}.fc-world{width:5000px;height:5000px}.fc-edges{position:absolute;left:0;top:0;width:5000px;height:5000px;overflow:visible;z-index:1}.fc-edge-hit{pointer-events:stroke;cursor:pointer}.fc-edges g.selected>path:nth-of-type(2){filter:drop-shadow(0 0 4px rgba(37,99,235,.45))}.fc-edge-label{pointer-events:auto;cursor:pointer}.fc-edge-label rect{fill:#fff;stroke:#cbd5e1;stroke-width:1}.fc-edge-label text{font-size:11px;font-weight:800;fill:#334155;pointer-events:none}
.fc-node{position:absolute;touch-action:none;user-select:none;cursor:grab}.fc-node:active{cursor:grabbing}.fc-node .fc-shape{position:absolute;inset:0;display:grid;place-items:center;border:3px solid #2563eb;background:#fff;box-shadow:0 7px 18px rgba(15,23,42,.11);transition:box-shadow .15s,border-color .15s,transform .15s}.fc-node.selected .fc-shape{box-shadow:0 0 0 4px rgba(20,184,166,.24),0 10px 24px rgba(15,23,42,.16)}.fc-node.connecting .fc-shape{animation:fcPulse 1.1s infinite}.fc-shape-label{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:82%;height:82%;text-align:center;color:#172033;line-height:1.25}.fc-shape-label span{display:-webkit-box;overflow:hidden;font-size:13px;font-weight:800;-webkit-box-orient:vertical;-webkit-line-clamp:4}.fc-shape-label small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:9px;font-weight:700}.fc-node i{position:absolute;z-index:4;right:-7px;bottom:-7px;display:grid;place-items:center;width:24px;height:24px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;font-style:normal;font-size:11px;box-shadow:0 4px 10px rgba(15,23,42,.12)}
.fc-node.shape-terminator .fc-shape{border-radius:999px}.fc-node.shape-process .fc-shape{border-radius:8px}.fc-node.shape-decision .fc-shape{inset:11%;transform:rotate(45deg);border-radius:7px}.fc-node.shape-decision .fc-shape-label{transform:rotate(-45deg);width:110%;height:110%}.fc-node.shape-input_output .fc-shape{clip-path:polygon(13% 0,100% 0,87% 100%,0 100%)}.fc-node.shape-document .fc-shape{clip-path:polygon(0 0,100% 0,100% 82%,88% 94%,75% 84%,62% 76%,50% 82%,36% 96%,20% 88%,0 96%);padding-bottom:10px}.fc-node.shape-database .fc-shape{border-radius:50% / 15%;padding-top:12px}.fc-node.shape-database .fc-shape:before{content:"";position:absolute;left:-3px;right:-3px;top:-3px;height:29%;border:3px solid currentColor;border-color:inherit;border-radius:50%;background:#fff}.fc-node.shape-subprocess .fc-shape{border-radius:8px;box-shadow:inset 11px 0 0 -8px currentColor,inset -11px 0 0 -8px currentColor,0 7px 18px rgba(15,23,42,.11)}.fc-node.shape-manual_input .fc-shape{clip-path:polygon(12% 0,100% 0,92% 100%,0 100%)}.fc-node.shape-delay .fc-shape{border-radius:7px 999px 999px 7px}.fc-node.shape-connector .fc-shape{border-radius:50%}.fc-node.shape-note .fc-shape{clip-path:polygon(0 0,84% 0,100% 18%,100% 100%,0 100%);background:linear-gradient(135deg,#fff 0 83%,#f1f5f9 83%)}
.fc-node.color-violet .fc-shape{border-color:#7c3aed;color:#7c3aed}.fc-node.color-blue .fc-shape{border-color:#2563eb;color:#2563eb}.fc-node.color-cyan .fc-shape{border-color:#0891b2;color:#0891b2}.fc-node.color-green .fc-shape{border-color:#059669;color:#059669}.fc-node.color-amber .fc-shape{border-color:#d97706;color:#d97706}.fc-node.color-orange .fc-shape{border-color:#ea580c;color:#ea580c}.fc-node.color-red .fc-shape{border-color:#dc2626;color:#dc2626}.fc-node.color-slate .fc-shape{border-color:#475569;color:#475569}
.fc-lane{position:absolute;z-index:0;border:2px dashed #2563eb;border-radius:10px;background:rgba(37,99,235,.035);pointer-events:none}.fc-lane strong{position:absolute;left:13px;top:9px;padding:4px 8px;border-radius:7px;background:#fff;color:#2563eb;font-size:12px;font-weight:900;box-shadow:0 2px 8px rgba(15,23,42,.08)}.fc-lane.color-violet{border-color:#7c3aed;background:rgba(124,58,237,.035)}.fc-lane.color-violet strong{color:#7c3aed}.fc-lane.color-green{border-color:#059669;background:rgba(5,150,105,.035)}.fc-lane.color-green strong{color:#059669}.fc-lane.color-amber{border-color:#d97706;background:rgba(217,119,6,.035)}.fc-lane.color-amber strong{color:#d97706}.fc-lane.color-cyan{border-color:#0891b2;background:rgba(8,145,178,.035)}.fc-lane.color-cyan strong{color:#0891b2}.fc-lane.color-slate{border-color:#475569;background:rgba(71,85,105,.035)}.fc-lane.color-slate strong{color:#475569}
.fc-selection-toolbar{position:absolute;z-index:45;left:50%;top:12px;display:flex;align-items:center;gap:6px;transform:translateX(-50%);padding:7px;border:1px solid #99f6e4;border-radius:12px;background:rgba(255,255,255,.97);box-shadow:0 10px 28px rgba(15,23,42,.14)}.fc-selection-toolbar strong{padding:0 7px;color:#0f766e;font-size:11px}.fc-selection-toolbar button{border:1px solid #dbe3ee;border-radius:8px;background:#fff;padding:7px 8px;color:#334155;font-size:10px;font-weight:800}.fc-selection-toolbar button:hover{border-color:#14b8a6;color:#0f766e}
.fc-properties{position:relative}.fc-edge-summary{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin:10px 0;padding:10px;border-radius:10px;background:#f1f5f9;color:#475569;font-size:11px}.fc-edge-summary span{overflow:hidden;text-overflow:ellipsis}.fc-edge-summary b{color:#0f766e}.fc-danger-button{width:100%;border:1px solid #fecaca;border-radius:9px;background:#fff1f2;padding:9px;color:#b91c1c;font-weight:800}.fc-multi-properties{display:grid;place-items:center;text-align:center;min-height:270px;color:#64748b}.fc-multi-properties>span{font-size:42px;color:#0f766e}.fc-multi-properties h3{margin:10px 0 4px;color:#334155}.fc-multi-properties p{font-size:12px}.fc-multi-properties button{width:100%;margin-top:8px;border:1px solid #d8e0ec;border-radius:9px;background:#fff;padding:9px;font-weight:800}.fc-settings-checks{display:flex;flex-direction:column;gap:7px;margin:8px 0 12px}.fc-settings-checks label{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0}.fc-settings-checks input{width:auto}.fc-lanes-panel{margin-top:14px;border-top:1px solid #e2e8f0;padding-top:10px}.fc-lanes-panel summary{cursor:pointer;font-size:12px;font-weight:800}.fc-lanes-panel article{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:7px}.fc-lanes-panel article input{border:1px solid #d8e0ec;border-radius:8px;padding:7px}.fc-lanes-panel article button{border:0;border-radius:8px;background:#fff1f2;color:#b91c1c}
.fc-validation-summary{display:flex;align-items:center;gap:14px;padding:16px;border-radius:14px;background:#ecfdf5;color:#065f46}.fc-validation-summary>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:999px;background:#d1fae5;font-size:23px;font-weight:900}.fc-validation-summary strong{font-size:16px}.fc-validation-summary p{margin:4px 0 0;font-size:12px}.fc-validation-summary.has-warnings{background:#fffbeb;color:#92400e}.fc-validation-summary.has-warnings>span{background:#fef3c7}.fc-validation-summary.has-errors{background:#fff1f2;color:#9f1239}.fc-validation-summary.has-errors>span{background:#ffe4e6}.fc-validation-list{display:flex;flex-direction:column;gap:7px;margin-top:14px}.fc-validation-list button{display:flex;align-items:flex-start;gap:9px;width:100%;border:1px solid #e2e8f0;border-radius:10px;background:#fff;padding:11px;text-align:left;color:#475569}.fc-validation-list button:hover{border-color:#14b8a6}.fc-validation-list button.error span{color:#dc2626}.fc-validation-list button.warning span{color:#d97706}
@keyframes fcPulse{50%{box-shadow:0 0 0 8px rgba(20,184,166,.18),0 10px 24px rgba(15,23,42,.15)}}
html[data-theme="dark"] .fc-hero,.dark .fc-hero{background:linear-gradient(135deg,#111827,#102622)}html[data-theme="dark"] .fc-node .fc-shape,.dark .fc-node .fc-shape,html[data-theme="dark"] .fc-edge-label rect,.dark .fc-edge-label rect{background:#111827;fill:#111827}html[data-theme="dark"] .fc-shape-label,.dark .fc-shape-label{color:#e5e7eb}html[data-theme="dark"] .fc-canvas,.dark .fc-canvas{background:#0f172a}html[data-theme="dark"] .fc-lane strong,.dark .fc-lane strong{background:#111827}
@media (max-width:1200px){.fc-editor-shell{grid-template-columns:94px minmax(0,1fr) 290px}.fc-palette button{font-size:9px}.fc-editor-actions>button:nth-of-type(5),.fc-editor-actions>button:nth-of-type(6){display:none}}
@media (max-width:820px){.fc-editor-shell{grid-template-columns:1fr}.fc-palette{max-width:calc(100vw - 16px)}.fc-properties{position:absolute;z-index:55;right:8px;top:128px;bottom:76px;width:min(330px,90vw);border:1px solid #dbe3ee;border-radius:14px;box-shadow:0 12px 34px rgba(15,23,42,.18)}.fc-selection-toolbar{left:8px;right:8px;top:8px;transform:none;overflow-x:auto;justify-content:flex-start}.fc-selection-toolbar button{white-space:nowrap}.fc-editor-actions{overflow-x:auto}.fc-editor-actions>button{white-space:nowrap}}



/* Rotina360 V7.10.4-R25 — Fluxogramas Profissionais — revisão visual completa */
.fc-page{
  --fc-primary:#5b45e0;
  --fc-primary-strong:#4933c8;
  --fc-primary-soft:#eeebff;
  --fc-teal:#0f9f91;
  --fc-ink:#182033;
  --fc-muted:#667085;
  --fc-border:#dce3ef;
  --fc-panel:#ffffff;
  --fc-canvas:#f7f9fd;
  --fc-shadow:0 14px 42px rgba(30,41,59,.09);
}

/* Biblioteca */
.fc-page:not(.fc-editor-page){padding:24px 28px 34px}
.fc-hero{
  position:relative;
  align-items:stretch;
  min-height:248px;
  padding:32px 34px;
  overflow:hidden;
  border-color:#ddd8ff;
  background:
    radial-gradient(circle at 78% 20%,rgba(91,69,224,.13),transparent 28%),
    radial-gradient(circle at 92% 86%,rgba(15,159,145,.12),transparent 26%),
    linear-gradient(135deg,#fff 0%,#f8f7ff 52%,#eefaf8 100%);
  box-shadow:0 18px 50px rgba(57,49,118,.09);
}
.fc-hero:before,.fc-hero:after{content:"";position:absolute;border-radius:999px;pointer-events:none}
.fc-hero:before{right:-70px;top:-90px;width:250px;height:250px;border:1px solid rgba(91,69,224,.12)}
.fc-hero:after{right:35%;bottom:-130px;width:230px;height:230px;border:1px solid rgba(15,159,145,.1)}
.fc-hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;max-width:720px}
.fc-hero .mm-kicker{align-self:flex-start;background:#ece9ff;color:#5942d8;box-shadow:inset 0 0 0 1px rgba(91,69,224,.08)}
.fc-hero h1{margin-top:12px;color:#171b2e;letter-spacing:-.035em}
.fc-hero p{max-width:690px;color:#5e687c}
.fc-hero-benefits{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.fc-hero-benefits span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid rgba(91,69,224,.12);border-radius:999px;background:rgba(255,255,255,.76);color:#4b556b;font-size:11px;font-weight:800;backdrop-filter:blur(6px)}
.fc-hero-side{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;min-width:330px;gap:18px}
.fc-hero-preview{position:relative;width:330px;height:150px;border:1px solid rgba(91,69,224,.16);border-radius:20px;background:rgba(255,255,255,.78);box-shadow:0 18px 45px rgba(48,45,99,.12);backdrop-filter:blur(9px)}
.fc-preview-node{position:absolute;z-index:3;display:grid;place-items:center;height:34px;padding:0 12px;border:2px solid #5b45e0;background:#fff;color:#272d42;font-size:10px;font-weight:900;box-shadow:0 6px 13px rgba(30,41,59,.09)}
.fc-preview-node.start{left:18px;top:58px;width:70px;border-color:#0f9f91;border-radius:999px}
.fc-preview-node.process{left:113px;top:58px;width:78px;border-radius:7px}
.fc-preview-node.decision{left:220px;top:54px;width:46px;height:46px;padding:0;transform:rotate(45deg);border-color:#7c3aed;border-radius:6px}
.fc-preview-node.decision::first-line{transform:rotate(-45deg)}
.fc-preview-node.yes,.fc-preview-node.no{right:14px;width:58px;border-radius:999px}
.fc-preview-node.yes{top:18px;border-color:#16a34a}.fc-preview-node.no{bottom:17px;border-color:#d97706}
.fc-preview-line{position:absolute;z-index:2;height:2px;background:#778196;transform-origin:left center}
.fc-preview-line:after{content:"";position:absolute;right:-1px;top:-3px;border-width:4px 0 4px 7px;border-style:solid;border-color:transparent transparent transparent #778196}
.fc-preview-line.line-a{left:88px;top:75px;width:25px}.fc-preview-line.line-b{left:191px;top:75px;width:31px}.fc-preview-line.line-c{left:263px;top:64px;width:54px;transform:rotate(-26deg)}.fc-preview-line.line-d{left:263px;top:84px;width:54px;transform:rotate(26deg)}
.fc-hero .mm-btn-primary{background:linear-gradient(135deg,#654df0,#5139d1);box-shadow:0 10px 24px rgba(91,69,224,.28)}
.fc-hero .mm-btn-primary:hover{background:linear-gradient(135deg,#5942df,#432bbd)}
.fc-hero .mm-btn-secondary{border-color:#d6d3f1;background:rgba(255,255,255,.9)}

.fc-library-toolbar{position:sticky;top:64px;z-index:15;flex-wrap:wrap;margin:22px 0 18px;padding:11px;border:1px solid #dde4ef;border-radius:16px;background:rgba(247,249,253,.92);box-shadow:0 7px 22px rgba(30,41,59,.05);backdrop-filter:blur(12px)}
.fc-library-toolbar .mm-search{min-height:46px;border-color:#d8dfeb;box-shadow:0 2px 7px rgba(30,41,59,.035)}
.fc-library-toolbar>select{min-height:46px;border-color:#d8dfeb;box-shadow:0 2px 7px rgba(30,41,59,.035)}
.fc-result-count{white-space:nowrap;padding:6px 10px;border-radius:999px;background:#ece9ff;color:#5942d8;font-size:11px;font-weight:900}
.fc-library-toolbar .mm-layout-switch{height:46px;border-color:#d8dfeb}
.fc-library-toolbar .mm-layout-switch button{min-width:44px;font-size:18px}
.fc-library-toolbar .mm-layout-switch button.active{background:#ece9ff;color:#5942d8}

.mm-map-list.cards .fc-card{min-height:390px;border-color:#dce3ef;border-radius:20px;box-shadow:0 8px 25px rgba(30,41,59,.065)}
.mm-map-list.cards .fc-card:hover{border-color:#b9afff;box-shadow:0 18px 38px rgba(72,55,166,.14);transform:translateY(-4px)}
.fc-thumb{min-height:156px;background:
  radial-gradient(circle at 18% 18%,rgba(91,69,224,.12),transparent 26%),
  linear-gradient(145deg,#f6f4ff 0%,#edf9f7 100%)}
.fc-thumb:before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,#bac3d3 1px,transparent 1px);background-size:18px 18px;opacity:.35}
.fc-thumb-badge{position:absolute;z-index:4;left:13px;top:12px;padding:5px 8px;border:1px solid rgba(91,69,224,.13);border-radius:999px;background:rgba(255,255,255,.86);color:#5942d8;font-size:9px;font-weight:900;letter-spacing:.08em}
.fc-card-diagram{position:relative;z-index:3;width:244px;height:92px;filter:drop-shadow(0 7px 11px rgba(30,41,59,.1))}
.fc-card-diagram span{position:absolute;display:block;border:2px solid #5b45e0;background:#fff}
.fc-card-diagram .start{left:0;top:34px;width:50px;height:26px;border-color:#0f9f91;border-radius:999px}
.fc-card-diagram .process{left:75px;top:30px;width:58px;height:34px;border-radius:6px}
.fc-card-diagram .decision{left:157px;top:29px;width:36px;height:36px;transform:rotate(45deg);border-color:#7c3aed;border-radius:5px}
.fc-card-diagram .end{right:0;width:40px;height:22px;border-radius:999px}.fc-card-diagram .end-a{top:8px;border-color:#16a34a}.fc-card-diagram .end-b{bottom:8px;border-color:#d97706}
.fc-card-diagram .edge{position:absolute;height:2px;background:#7d8798}.fc-card-diagram .edge:after{content:"";position:absolute;right:-1px;top:-3px;border-width:4px 0 4px 6px;border-style:solid;border-color:transparent transparent transparent #7d8798}
.fc-card-diagram .edge-a{left:50px;top:46px;width:25px}.fc-card-diagram .edge-b{left:133px;top:46px;width:28px}.fc-card-diagram .edge-c{left:190px;top:36px;width:25px;transform:rotate(-25deg)}.fc-card-diagram .edge-d{left:190px;top:56px;width:25px;transform:rotate(25deg)}
.fc-card .mm-map-body{padding:19px 19px 17px;gap:11px}
.fc-card .mm-map-title-row h3{font-size:18px;letter-spacing:-.012em}
.fc-card .mm-visibility{background:#f1f3f7;color:#566074}
.fc-card .mm-map-meta{padding-top:10px;border-top:1px solid #edf0f5;color:#697386}
.fc-card .mm-card-actions{margin-top:auto;padding-top:4px}
.fc-card .mm-card-actions button{min-height:34px;border-color:#dce3ee;border-radius:9px}
.fc-card .mm-card-actions .fc-open-button{flex:1;border-color:#5b45e0;background:#5b45e0;color:#fff}
.fc-card .mm-card-actions .fc-open-button:hover{border-color:#4933c8;background:#4933c8;color:#fff}
.fc-empty{background:linear-gradient(145deg,#fff,#f7f5ff)}
.fc-empty>span{display:grid;place-items:center;width:72px;height:72px;border:1px solid #d8d2ff;border-radius:22px;background:#f0edff;color:#5b45e0}

.fc-template-grid{grid-template-columns:repeat(auto-fit,minmax(225px,1fr))}
.fc-template{position:relative;min-height:190px;padding:20px 19px 18px;border-radius:18px;overflow:hidden;transition:transform .18s,border-color .18s,box-shadow .18s}
.fc-template:before{content:"";position:absolute;right:-24px;top:-24px;width:92px;height:92px;border-radius:999px;background:#f0edff;opacity:.75}
.fc-template:hover{border-color:#8f7ff0;background:#fbfaff;box-shadow:0 12px 26px rgba(72,55,166,.11);transform:translateY(-3px)}
.fc-template>span{position:relative;z-index:2;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#ece9ff;color:#5942d8;font-size:24px}
.fc-template strong{font-size:16px}.fc-template small{min-height:42px}.fc-template em{margin-top:auto;color:#5942d8;font-size:11px;font-style:normal;font-weight:900}

/* Editor */
.fc-editor-page{height:calc(100vh - 53px);min-height:650px;padding:10px;background:#eef2f8}
.fc-editor-header{height:72px;padding:9px 11px 9px 12px;border-color:#d8dfeb;border-radius:17px 17px 0 0;box-shadow:0 4px 15px rgba(30,41,59,.055)}
.fc-editor-title{min-width:300px;gap:10px}
.fc-editor-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#ece9ff,#e3f7f4);color:#5942d8;font-size:21px;font-weight:900}
.fc-editor-breadcrumb{margin:0 0 1px!important;color:#8a94a6!important;font-size:9px!important;font-weight:800!important;letter-spacing:.035em;text-transform:uppercase}
.fc-editor-title input{width:min(430px,31vw);font-size:17px;letter-spacing:-.01em}
.fc-editor-title .mm-icon-btn{background:#f1f3f8;color:#4b5567}
.fc-editor-actions{gap:6px;min-width:0}
.fc-action-group{display:flex;border:1px solid #d9e0eb;border-radius:10px;overflow:hidden;background:#fff}
.fc-action-group .fc-action-icon{width:36px;height:36px;padding:0;border:0;border-radius:0;background:#fff;font-size:18px}
.fc-action-group .fc-action-icon+button{border-left:1px solid #e5e9f0}
.fc-editor-actions>button,.fc-editor-actions .mm-export-menu>summary{height:38px;border-radius:10px;padding:0 11px}
.fc-save-action{border-color:#5b45e0!important;background:#5b45e0!important;color:#fff!important;box-shadow:0 5px 12px rgba(91,69,224,.18)}
.fc-save-action:hover{border-color:#4933c8!important;background:#4933c8!important}
.fc-save-action:disabled{border-color:#dce2ec!important;background:#eef1f6!important;color:#98a2b3!important;box-shadow:none}
.fc-validate-action.fc-valid{border-color:#a7e2d9!important;background:#ecfdf9!important;color:#0b766b!important}
.fc-validate-action.fc-has-warnings{border-color:#f7d58a!important;background:#fffbeb!important;color:#9a5b08!important}
.fc-validate-action.fc-has-errors{border-color:#fca5a5!important;background:#fff1f2!important;color:#b42318!important}

.fc-editor-shell{height:calc(100% - 72px);grid-template-columns:166px minmax(0,1fr) 348px;border-color:#d8dfeb;border-radius:0 0 17px 17px;box-shadow:0 12px 32px rgba(30,41,59,.07)}
.fc-palette{display:block;padding:0;border-right-color:#dfe5ee;background:#f8f9fc;overflow-y:auto;scrollbar-width:thin}
.fc-palette-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 13px 9px;color:#5e687a}
.fc-palette-heading span{font-size:10px;font-weight:900;letter-spacing:.08em}
.fc-palette-heading small{color:#98a2b3;font-size:8px;font-weight:700}
.fc-palette-tools-heading{margin-top:7px;border-top:1px solid #e4e8f0;padding-top:13px}
.fc-palette-shapes,.fc-palette-tools{display:flex;flex-direction:column;gap:5px;padding:0 8px 8px}
.fc-palette button{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;justify-content:stretch;gap:8px;width:100%;min-height:45px;padding:5px 8px;border:1px solid transparent;border-radius:11px;background:transparent;color:#465065;text-align:left;font-size:10px;font-weight:750}
.fc-palette button>strong{overflow:hidden;text-overflow:ellipsis;font-size:10px;white-space:normal;line-height:1.15}
.fc-palette button:hover,.fc-palette button.active{border-color:#cfc7ff;background:#edeaff;color:#4f37cd;box-shadow:0 4px 10px rgba(91,69,224,.08)}
.fc-palette button:active{transform:translateY(1px)}
.fc-palette button.danger:hover{border-color:#fecaca;background:#fff1f2;color:#b42318}
.fc-shape-icon,.fc-palette-tools button>span{display:grid;place-items:center;width:36px;height:31px;border:2px solid #6d7890;background:#fff;color:#596477;font-family:Georgia,serif;font-size:17px;font-weight:900;box-shadow:0 3px 8px rgba(30,41,59,.055)}
.fc-shape-icon.shape-terminator{border-color:#0f9f91;border-radius:999px}.fc-shape-icon.shape-process{border-color:#5b45e0;border-radius:5px}.fc-shape-icon.shape-decision{width:25px;height:25px;margin-left:5px;transform:rotate(45deg);border-color:#7c3aed;border-radius:4px}.fc-shape-icon.shape-decision{font-size:0}.fc-shape-icon.shape-input_output{border-color:#0891b2;clip-path:polygon(12% 0,100% 0,88% 100%,0 100%)}.fc-shape-icon.shape-document{border-color:#0891b2;border-radius:3px 3px 9px 3px}.fc-shape-icon.shape-database{border-color:#0f9f91;border-radius:50% / 18%}.fc-shape-icon.shape-subprocess{border-color:#5b45e0;box-shadow:inset 5px 0 0 -3px #5b45e0,inset -5px 0 0 -3px #5b45e0}.fc-shape-icon.shape-manual_input{border-color:#d97706;clip-path:polygon(12% 0,100% 0,92% 100%,0 100%)}.fc-shape-icon.shape-delay{border-color:#d97706;border-radius:4px 999px 999px 4px}.fc-shape-icon.shape-connector{width:28px;height:28px;margin-left:4px;border-color:#475569;border-radius:50%}.fc-shape-icon.shape-note{border-color:#d97706;border-radius:3px 10px 3px 3px}
.fc-palette-tools button>span{border:0;border-radius:9px;background:#eef1f7;font-family:inherit;font-size:17px;box-shadow:none}

.fc-canvas-wrap{position:relative;background:#f5f7fb}
.fc-canvas{background:#f7f9fd;cursor:grab}
.fc-canvas:active{cursor:grabbing}
.fc-grid{opacity:.52;background-image:radial-gradient(circle,#b8c2d2 1px,transparent 1px)}
.fc-canvas-topbar{position:absolute;z-index:40;left:14px;right:14px;top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}
.fc-canvas-stats,.fc-canvas-help{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(216,224,235,.96);border-radius:11px;background:rgba(255,255,255,.88);box-shadow:0 7px 18px rgba(30,41,59,.075);color:#697386;font-size:9px;font-weight:800;backdrop-filter:blur(10px)}
.fc-canvas-stats span+span:before{content:"";display:inline-block;width:3px;height:3px;margin:0 7px 2px 0;border-radius:999px;background:#b7bfcc}
.fc-canvas-help{color:#7b8495;font-weight:700}
.fc-connect-banner{top:58px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:10px 14px!important;border:1px solid #b9afff!important;border-radius:13px!important;background:rgba(242,239,255,.96)!important;color:#4933c8!important;box-shadow:0 10px 25px rgba(72,55,166,.13)!important}
.fc-connect-banner>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#5b45e0;color:#fff;font-size:16px}.fc-connect-banner strong,.fc-connect-banner small{display:block}.fc-connect-banner small{margin-top:1px;color:#766ca9;font-size:9px}
.fc-world{width:5000px;height:5000px}
.fc-edges{z-index:1}.fc-edge-hit{pointer-events:stroke;cursor:pointer}.fc-edges path:not(.fc-edge-hit){filter:drop-shadow(0 1px 0 rgba(255,255,255,.9))}.fc-edges g.selected>path:nth-of-type(2){filter:drop-shadow(0 0 5px rgba(91,69,224,.5))}
.fc-edge-label rect{fill:#fff;stroke:#d1d9e6;stroke-width:1.2;filter:drop-shadow(0 3px 6px rgba(30,41,59,.1))}.fc-edge-label text{font-size:10px;font-weight:900;fill:#354056}

.fc-node{--node-color:#5b45e0;--node-soft:#f0edff;position:absolute;touch-action:none;user-select:none;cursor:grab;filter:drop-shadow(0 8px 10px rgba(30,41,59,.10));transition:filter .16s,opacity .16s}
.fc-node:active{cursor:grabbing;filter:drop-shadow(0 12px 15px rgba(30,41,59,.16))}
.fc-node .fc-shape{inset:0;border:2px solid var(--node-color);background:linear-gradient(145deg,#fff 0%,var(--node-soft) 160%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.8);transition:box-shadow .16s,border-color .16s,transform .16s,background .16s}
.fc-node:hover .fc-shape{box-shadow:inset 0 0 0 1px rgba(255,255,255,.85),0 0 0 3px color-mix(in srgb,var(--node-color) 13%,transparent)}
.fc-node.selected{z-index:5!important;filter:drop-shadow(0 13px 17px rgba(47,39,119,.20))}
.fc-node.selected .fc-shape{box-shadow:inset 0 0 0 1px rgba(255,255,255,.8),0 0 0 4px color-mix(in srgb,var(--node-color) 25%,transparent)}
.fc-node.connecting .fc-shape{animation:fcPulseR25 1.05s infinite}
.fc-shape-label{width:84%;height:84%;gap:5px;color:#1d2435;line-height:1.25}
.fc-shape-label span{font-size:13px;font-weight:850;letter-spacing:-.005em}
.fc-shape-label small{padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.72);color:#667085;font-size:8px;font-weight:800}
.fc-node>i{right:-8px;bottom:-8px;width:25px;height:25px;border-color:#d4dce8;background:#fff;box-shadow:0 5px 12px rgba(30,41,59,.14)}
.fc-node:after{content:"";position:absolute;z-index:5;right:7px;top:7px;width:7px;height:7px;border:2px solid #fff;border-radius:999px;background:#98a2b3;box-shadow:0 1px 4px rgba(30,41,59,.24)}
.fc-node.status-em_andamento:after{background:#2563eb}.fc-node.status-concluido:after{background:#16a34a}.fc-node.status-bloqueado:after{background:#dc2626}
.fc-node.color-violet{--node-color:#7c3aed;--node-soft:#f3e8ff}.fc-node.color-blue{--node-color:#2563eb;--node-soft:#eaf2ff}.fc-node.color-cyan{--node-color:#0891b2;--node-soft:#e8f9fc}.fc-node.color-green{--node-color:#059669;--node-soft:#e9fbf5}.fc-node.color-amber{--node-color:#d97706;--node-soft:#fff6df}.fc-node.color-orange{--node-color:#ea580c;--node-soft:#fff0e8}.fc-node.color-red{--node-color:#dc2626;--node-soft:#fff0f1}.fc-node.color-slate{--node-color:#475569;--node-soft:#f1f4f7}
.fc-node.shape-process .fc-shape,.fc-node.shape-subprocess .fc-shape{border-radius:10px}.fc-node.shape-terminator .fc-shape{border-radius:999px}.fc-node.shape-decision .fc-shape{inset:12%;border-radius:9px}.fc-node.shape-decision .fc-shape-label{width:112%;height:112%}.fc-node.shape-document .fc-shape{padding-bottom:10px}.fc-node.shape-database .fc-shape:before{left:-2px;right:-2px;top:-2px;border:2px solid var(--node-color);background:linear-gradient(#fff,var(--node-soft))}.fc-node.shape-subprocess .fc-shape{box-shadow:inset 11px 0 0 -8px var(--node-color),inset -11px 0 0 -8px var(--node-color),inset 0 0 0 1px rgba(255,255,255,.8)}.fc-node.shape-note .fc-shape{background:linear-gradient(135deg,#fff 0 83%,var(--node-soft) 83%)}

.fc-lane{z-index:0;border:1.5px solid color-mix(in srgb,var(--lane-color,#2563eb) 48%,transparent);border-style:solid;border-radius:16px;background:color-mix(in srgb,var(--lane-color,#2563eb) 4%,transparent);box-shadow:inset 0 38px 0 color-mix(in srgb,var(--lane-color,#2563eb) 5%,transparent);pointer-events:none}
.fc-lane strong{left:14px;top:10px;padding:5px 9px;border:1px solid color-mix(in srgb,var(--lane-color,#2563eb) 18%,transparent);border-radius:8px;background:rgba(255,255,255,.9);color:var(--lane-color,#2563eb);font-size:10px;letter-spacing:.03em;box-shadow:0 3px 10px rgba(30,41,59,.07)}
.fc-lane.color-violet{--lane-color:#7c3aed}.fc-lane.color-blue{--lane-color:#2563eb}.fc-lane.color-green{--lane-color:#059669}.fc-lane.color-amber{--lane-color:#d97706}.fc-lane.color-cyan{--lane-color:#0891b2}.fc-lane.color-slate{--lane-color:#475569}

.fc-selection-toolbar{top:56px;padding:7px 8px;border-color:#c9c1ff;background:rgba(255,255,255,.96);box-shadow:0 12px 28px rgba(47,39,119,.14)}
.fc-selection-toolbar strong{color:#4f37cd}.fc-selection-toolbar button:hover{border-color:#8f7ff0;color:#4f37cd;background:#f7f5ff}
.fc-canvas .mm-zoom-controls{right:16px;bottom:16px;border:1px solid #d6deea;border-radius:12px;background:rgba(255,255,255,.93);box-shadow:0 10px 24px rgba(30,41,59,.12);backdrop-filter:blur(8px)}
.fc-canvas .mm-zoom-controls button{width:34px;height:34px;border:0;background:transparent;color:#485267}.fc-canvas .mm-zoom-controls button:hover{background:#f0edff;color:#4f37cd}.fc-canvas .mm-zoom-controls span{min-width:54px;color:#596477;font-size:10px;font-weight:900}

.fc-properties{padding:0;border-left-color:#dfe5ee;background:#fff;scrollbar-width:thin}
.fc-properties>.mm-properties-heading{position:sticky;z-index:5;top:0;margin:0;padding:16px 16px 13px;border-bottom:1px solid #e5e9f0;background:rgba(255,255,255,.94);backdrop-filter:blur(10px)}
.fc-properties>.mm-properties-heading>div{display:flex;align-items:center;gap:9px}.fc-properties>.mm-properties-heading>div>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eeebff;color:#5942d8;font-size:17px}
.fc-properties>.mm-properties-heading strong{color:#222a3d;font-size:13px}
.fc-properties>label,.fc-properties>.mm-form-row,.fc-properties>.mm-node-integrations,.fc-properties>.mm-map-settings,.fc-properties>.fc-edge-summary,.fc-properties>.fc-danger-button,.fc-properties>.fc-lanes-panel{margin-left:15px;margin-right:15px}
.fc-properties>label{display:block;margin-top:13px;color:#566074;font-size:10px;font-weight:900;letter-spacing:.015em}
.fc-properties input,.fc-properties textarea,.fc-properties select{margin-top:6px;border-color:#d8e0eb;border-radius:10px;background:#fbfcfe;padding:9px 10px;color:#263149;font-size:11px;transition:border-color .15s,box-shadow .15s,background .15s}
.fc-properties input:focus,.fc-properties textarea:focus,.fc-properties select:focus{border-color:#8f7ff0;background:#fff;box-shadow:0 0 0 3px rgba(91,69,224,.10);outline:0}
.fc-properties .mm-form-row{gap:9px;margin-top:13px}.fc-properties .mm-form-row label{color:#566074;font-size:10px;font-weight:900}.fc-properties .mm-form-row input,.fc-properties .mm-form-row select{margin-top:6px}
.fc-properties .mm-color-picker{margin-top:7px;padding:5px;border:1px solid #e1e6ee;border-radius:11px;background:#f8fafc}
.fc-properties .mm-color-picker button{width:26px;height:26px;border:3px solid #fff;box-shadow:0 0 0 1px rgba(30,41,59,.08)}.fc-properties .mm-color-picker button.active{box-shadow:0 0 0 2px #5b45e0,0 0 0 4px #fff}
.fc-edge-summary{margin-top:14px!important;padding:11px;border:1px solid #e1e6ee;border-radius:11px;background:#f7f9fc}.fc-edge-summary b{color:#5942d8}
.fc-danger-button{margin-top:11px!important;border-radius:10px!important}
.fc-properties .mm-node-integrations{display:grid;grid-template-columns:1fr;gap:7px;margin-top:15px;padding-top:14px;border-top:1px solid #e7ebf1}
.fc-properties .mm-node-integrations button,.fc-properties .mm-node-integrations a{min-height:38px;border-radius:10px;font-size:10px}
.fc-properties .mm-map-settings{margin-top:15px;margin-bottom:16px;border:1px solid #e1e6ee;border-radius:12px;background:#fafbfe;overflow:hidden}
.fc-properties .mm-map-settings summary{padding:11px 12px;color:#465065;font-size:10px;font-weight:900}.fc-properties .mm-map-settings[open] summary{border-bottom:1px solid #e5e9f0;background:#f3f1ff;color:#4f37cd}.fc-properties .mm-map-settings>label,.fc-properties .mm-map-settings>div{margin-left:11px;margin-right:11px}
.fc-settings-checks{padding:9px;border:1px solid #e1e6ee;border-radius:10px;background:#fff}.fc-settings-checks label{color:#596477;font-size:10px;font-weight:800}
.fc-lanes-panel{margin-bottom:15px;padding:11px 12px;border:1px solid #e1e6ee!important;border-radius:12px;background:#fafbfe}.fc-lanes-panel summary{color:#465065}.fc-lanes-panel article input{background:#fff}.fc-lanes-panel article button{width:34px}
.fc-no-selection{min-height:100%;padding:32px 24px}.fc-no-selection>span{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,#eeebff,#e8faf7);color:#5942d8;font-size:30px}.fc-no-selection h3{margin-top:15px}.fc-no-selection p{max-width:250px;line-height:1.5}
.fc-shortcuts{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px 9px;margin-top:17px;padding:12px;border:1px solid #e1e6ee;border-radius:12px;background:#f8fafc;text-align:left}.fc-shortcuts small{grid-column:1/-1;margin-bottom:2px;color:#697386;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.fc-shortcuts kbd{padding:4px 6px;border:1px solid #d5dce8;border-bottom-width:2px;border-radius:6px;background:#fff;color:#465065;font-family:inherit;font-size:9px;font-weight:900}.fc-shortcuts em{color:#7b8495;font-size:9px;font-style:normal}
.fc-multi-properties{padding:24px}.fc-multi-properties>span{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#eeebff;color:#5942d8}.fc-multi-properties button{border-radius:10px}

.fc-modal{border-radius:22px}.fc-modal>header{background:linear-gradient(135deg,#fff,#f7f5ff)}
.fc-validation-summary{border:1px solid #bdebdc;border-radius:16px}.fc-validation-summary.has-warnings{border-color:#f7d58a}.fc-validation-summary.has-errors{border-color:#fca5a5}.fc-validation-list button{border-radius:12px}.fc-validation-list button:hover{border-color:#8f7ff0;background:#faf9ff}

@keyframes fcPulseR25{50%{box-shadow:inset 0 0 0 1px rgba(255,255,255,.8),0 0 0 9px color-mix(in srgb,var(--node-color) 17%,transparent),0 12px 24px rgba(30,41,59,.14)}}

/* Dark mode */
html[data-theme="dark"] .fc-page,.dark .fc-page{--fc-panel:#111827;--fc-canvas:#0f172a;--fc-border:#293347;color:#e5e7eb}
html[data-theme="dark"] .fc-hero,.dark .fc-hero{border-color:#31315b;background:radial-gradient(circle at 80% 20%,rgba(124,103,255,.15),transparent 28%),linear-gradient(135deg,#111827,#15152b 58%,#102622)}
html[data-theme="dark"] .fc-hero h1,.dark .fc-hero h1{color:#f3f4f6}html[data-theme="dark"] .fc-hero p,.dark .fc-hero p{color:#a7b0c2}
html[data-theme="dark"] .fc-hero-benefits span,.dark .fc-hero-benefits span,html[data-theme="dark"] .fc-hero-preview,.dark .fc-hero-preview{border-color:#343c52;background:rgba(17,24,39,.78);color:#cbd5e1}
html[data-theme="dark"] .fc-preview-node,.dark .fc-preview-node,html[data-theme="dark"] .fc-card-diagram span,.dark .fc-card-diagram span{background:#151d2d}
html[data-theme="dark"] .fc-library-toolbar,.dark .fc-library-toolbar{border-color:#293347;background:rgba(15,23,42,.92)}
html[data-theme="dark"] .fc-card,.dark .fc-card{border-color:#293347;background:#111827}html[data-theme="dark"] .fc-thumb,.dark .fc-thumb{background:linear-gradient(145deg,#18162f,#102623)}
html[data-theme="dark"] .fc-editor-page,.dark .fc-editor-page{background:#0b1220}html[data-theme="dark"] .fc-editor-header,.dark .fc-editor-header,html[data-theme="dark"] .fc-editor-shell,.dark .fc-editor-shell,html[data-theme="dark"] .fc-properties,.dark .fc-properties{border-color:#293347;background:#111827}
html[data-theme="dark"] .fc-palette,.dark .fc-palette{border-color:#293347;background:#0f172a}html[data-theme="dark"] .fc-palette button,.dark .fc-palette button{color:#aeb8ca}html[data-theme="dark"] .fc-palette button:hover,.dark .fc-palette button:hover{border-color:#5c51a5;background:#211d42;color:#d7d2ff}
html[data-theme="dark"] .fc-shape-icon,.dark .fc-shape-icon{background:#151d2d}html[data-theme="dark"] .fc-canvas,.dark .fc-canvas{background:#0d1525}html[data-theme="dark"] .fc-grid,.dark .fc-grid{background-image:radial-gradient(circle,#40506b 1px,transparent 1px)}
html[data-theme="dark"] .fc-canvas-stats,.dark .fc-canvas-stats,html[data-theme="dark"] .fc-canvas-help,.dark .fc-canvas-help{border-color:#2a3549;background:rgba(17,24,39,.9);color:#9da7b8}
html[data-theme="dark"] .fc-node .fc-shape,.dark .fc-node .fc-shape{background:linear-gradient(145deg,#151d2d 0%,color-mix(in srgb,var(--node-color) 15%,#151d2d) 100%)}html[data-theme="dark"] .fc-shape-label,.dark .fc-shape-label{color:#edf0f6}html[data-theme="dark"] .fc-shape-label small,.dark .fc-shape-label small{background:rgba(15,23,42,.75);color:#aeb8ca}
html[data-theme="dark"] .fc-node.shape-database .fc-shape:before,.dark .fc-node.shape-database .fc-shape:before{background:linear-gradient(#151d2d,color-mix(in srgb,var(--node-color) 15%,#151d2d))}
html[data-theme="dark"] .fc-edge-label rect,.dark .fc-edge-label rect{fill:#111827;stroke:#354157}html[data-theme="dark"] .fc-edge-label text,.dark .fc-edge-label text{fill:#d4d9e4}
html[data-theme="dark"] .fc-lane strong,.dark .fc-lane strong{border-color:#354157;background:rgba(17,24,39,.93)}
html[data-theme="dark"] .fc-properties>.mm-properties-heading,.dark .fc-properties>.mm-properties-heading{border-color:#293347;background:rgba(17,24,39,.94)}html[data-theme="dark"] .fc-properties>.mm-properties-heading strong,.dark .fc-properties>.mm-properties-heading strong{color:#e5e7eb}
html[data-theme="dark"] .fc-properties input,.dark .fc-properties input,html[data-theme="dark"] .fc-properties textarea,.dark .fc-properties textarea,html[data-theme="dark"] .fc-properties select,.dark .fc-properties select{border-color:#354157;background:#0f172a;color:#e5e7eb}
html[data-theme="dark"] .fc-properties .mm-map-settings,.dark .fc-properties .mm-map-settings,html[data-theme="dark"] .fc-lanes-panel,.dark .fc-lanes-panel,html[data-theme="dark"] .fc-shortcuts,.dark .fc-shortcuts{border-color:#293347!important;background:#0f172a}html[data-theme="dark"] .fc-shortcuts kbd,.dark .fc-shortcuts kbd{border-color:#3a465c;background:#151d2d;color:#d6dce8}

/* Responsividade */
@media (max-width:1380px){
  .fc-editor-shell{grid-template-columns:148px minmax(0,1fr) 318px}
  .fc-palette button{grid-template-columns:34px minmax(0,1fr);padding-left:6px;padding-right:6px}.fc-shape-icon,.fc-palette-tools button>span{width:32px}
  .fc-canvas-help{display:none}
  .fc-editor-actions>button:nth-of-type(4){display:none}
}
@media (max-width:1120px){
  .fc-hero-side{min-width:300px}.fc-hero-preview{width:300px}
  .fc-editor-title input{width:270px}
  .fc-editor-actions>button:nth-of-type(3),.fc-editor-actions>button:nth-of-type(4){display:none}
  .fc-editor-shell{grid-template-columns:132px minmax(0,1fr) 290px}
}
@media (max-width:900px){
  .fc-page:not(.fc-editor-page){padding:16px}
  .fc-hero{flex-direction:column;padding:24px}.fc-hero-side{width:100%;min-width:0;align-items:stretch}.fc-hero-preview{display:none}.fc-hero .mm-hero-actions{justify-content:flex-start}
  .fc-library-toolbar{position:static}.fc-result-count{order:4}.fc-library-toolbar .mm-search{flex-basis:100%}
  .fc-editor-page{padding:6px}.fc-editor-header{height:auto;min-height:72px;flex-wrap:wrap}.fc-editor-title{min-width:0;flex:1}.fc-editor-title input{width:min(52vw,360px)}.fc-editor-actions{width:100%;overflow-x:auto;padding-top:5px}.fc-editor-shell{height:calc(100% - 114px);grid-template-columns:1fr}
  .fc-palette{position:absolute;z-index:60;left:8px;right:8px;bottom:8px;display:flex;align-items:center;gap:6px;height:76px;padding:7px;border:1px solid #d8e0eb;border-radius:15px;background:rgba(255,255,255,.96);box-shadow:0 12px 34px rgba(30,41,59,.17);overflow-x:auto;overflow-y:hidden;backdrop-filter:blur(12px)}
  .fc-palette-heading{display:none}.fc-palette-shapes,.fc-palette-tools{display:flex;flex-direction:row;gap:5px;padding:0}.fc-palette button{display:flex;flex-direction:column;gap:3px;min-width:64px;width:64px;height:60px;padding:5px;text-align:center}.fc-palette button>strong{font-size:8px}.fc-shape-icon,.fc-palette-tools button>span{width:30px;height:27px;margin:0!important}
  .fc-properties{position:absolute;z-index:65;right:8px;top:8px;bottom:91px;width:min(340px,90vw);border:1px solid #d8e0eb;border-radius:15px;box-shadow:0 12px 34px rgba(30,41,59,.19)}
  .fc-canvas-topbar{right:8px;left:8px}.fc-canvas-stats{max-width:100%;overflow:hidden}.fc-canvas-stats span{white-space:nowrap}.fc-canvas .mm-zoom-controls{bottom:92px}
}
@media (max-width:620px){
  .fc-hero h1{font-size:31px}.fc-hero-benefits{display:none}.fc-hero .mm-hero-actions{display:grid;grid-template-columns:1fr 1fr}.fc-hero .mm-btn{padding:11px 10px;font-size:11px}
  .fc-library-toolbar>select{flex:1;min-width:140px}.fc-result-count{display:none}.mm-map-list.cards{grid-template-columns:1fr}
  .fc-editor-title .fc-editor-icon,.fc-editor-breadcrumb{display:none}.fc-editor-title input{width:46vw;font-size:14px}.fc-editor-actions>button{font-size:10px}.fc-action-group{display:none}.fc-editor-actions .mm-export-menu{display:none}
  .fc-canvas-topbar{top:7px}.fc-canvas-stats{padding:6px 8px}.fc-canvas-stats span:nth-child(n+3){display:none}.fc-selection-toolbar{left:8px;right:8px;top:46px;transform:none;overflow-x:auto;justify-content:flex-start}.fc-selection-toolbar button{white-space:nowrap}
}
.fc-preview-node.decision b{display:block;transform:rotate(-45deg);font-size:9px}
@media (max-width:900px){.fc-properties:has(.fc-no-selection){display:none}}
.fc-properties-close{display:none}
@media (max-width:900px){.fc-properties-close{position:sticky;z-index:8;top:8px;float:right;display:grid;place-items:center;width:34px;height:34px;margin:8px 8px -42px auto;border:1px solid #d8e0eb;border-radius:10px;background:#fff;color:#596477;font-size:14px;font-weight:900;box-shadow:0 5px 13px rgba(30,41,59,.11)}.fc-properties>.mm-properties-heading{padding-right:54px}}

/* Rotina360 V7.10.4-R29 — painel lateral, formas e Operacional corrigidos */
.fc-editor-shell{
  position:relative;
  grid-template-columns:166px minmax(0,1fr)!important;
}
.fc-canvas-wrap{
  grid-column:2;
  min-width:0;
}
.fc-properties{
  position:absolute!important;
  z-index:70;
  top:58px;
  right:14px;
  bottom:14px;
  width:360px;
  max-width:calc(100% - 194px);
  min-width:300px;
  padding:0!important;
  border:1px solid #d7deea!important;
  border-radius:16px;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 18px 48px rgba(15,23,42,.20),0 2px 8px rgba(15,23,42,.08);
  overflow-y:auto;
  overflow-x:hidden;
  backdrop-filter:blur(14px);
  animation:fcPropertiesIn .18s ease-out;
}
@keyframes fcPropertiesIn{
  from{opacity:0;transform:translateX(18px)}
  to{opacity:1;transform:translateX(0)}
}
.fc-properties:has(.fc-no-selection){display:none}
.fc-properties-close{
  position:sticky!important;
  z-index:12;
  top:10px;
  float:right;
  display:grid!important;
  place-items:center;
  width:34px;
  height:34px;
  margin:10px 10px -44px auto!important;
  border:1px solid #d8e0eb;
  border-radius:10px;
  background:#fff;
  color:#596477;
  font-size:14px;
  font-weight:900;
  box-shadow:0 5px 13px rgba(30,41,59,.11);
}
.fc-properties-close:hover{
  border-color:#b9acef;
  background:#f4f1ff;
  color:#4f37cd;
}
.fc-properties>.mm-properties-heading{
  padding-right:58px!important;
}
.fc-properties::after{
  content:"";
  display:block;
  height:10px;
}
.fc-canvas-topbar{
  right:0;
}
html[data-theme="dark"] .fc-properties,.dark .fc-properties{
  border-color:#334155!important;
  background:rgba(17,24,39,.98)!important;
  box-shadow:0 20px 55px rgba(0,0,0,.45);
}
html[data-theme="dark"] .fc-properties-close,.dark .fc-properties-close{
  border-color:#3a465c;
  background:#182235;
  color:#d6dce8;
}
@media (max-width:1320px){
  .fc-editor-shell{grid-template-columns:148px minmax(0,1fr)!important}
  .fc-properties{width:330px;max-width:calc(100% - 172px)}
}
@media (max-width:1080px){
  .fc-editor-shell{grid-template-columns:132px minmax(0,1fr)!important}
  .fc-properties{width:310px;max-width:calc(100% - 154px)}
}
@media (max-width:900px){
  .fc-editor-shell{grid-template-columns:1fr!important}
  .fc-canvas-wrap{grid-column:1}
  .fc-properties{
    top:8px;
    right:8px;
    bottom:91px;
    width:min(360px,calc(100% - 16px));
    max-width:none;
    min-width:0;
    border-radius:15px;
  }
}
@media (max-width:560px){
  .fc-properties{
    left:8px;
    width:auto;
  }
}
