/* Owner visual canônico — Mapas Mentais (R897).
 * Extraído do app.css para impedir acoplamento visual com o shell.
 */

/* Rotina360 V7.10.4-R17 — Mapas Mentais */
.mm-page{min-height:calc(100vh - 72px);padding:24px;color:var(--text,#172033);background:var(--bg,#f4f6fb)}
.mm-page *{box-sizing:border-box}.mm-page button,.mm-page input,.mm-page select,.mm-page textarea{font:inherit}.mm-page button{cursor:pointer}.mm-page button:disabled{cursor:not-allowed;opacity:.45}
.mm-loading{min-height:60vh;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:700;color:#526079}
.mm-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:28px;border:1px solid #dbe3f0;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f4f0ff 55%,#ecf7ff 100%);box-shadow:0 14px 38px rgba(32,42,68,.08)}
.mm-hero h1{margin:8px 0 6px;font-size:clamp(28px,4vw,42px);line-height:1}.mm-hero p{max-width:760px;margin:0;color:#5c6880;font-size:16px;line-height:1.55}.mm-kicker{display:inline-flex;padding:7px 11px;border-radius:999px;background:#ede9fe;color:#6d28d9;font-weight:800;font-size:12px;letter-spacing:.04em;text-transform:uppercase}.mm-hero-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.mm-btn{border:1px solid transparent;border-radius:12px;padding:12px 17px;font-weight:800;transition:.18s ease}.mm-btn-primary{background:#6d3df5;color:#fff;box-shadow:0 8px 18px rgba(109,61,245,.24)}.mm-btn-primary:hover{transform:translateY(-1px);background:#5b2bd7}.mm-btn-secondary{background:#fff;border-color:#ccd6e6;color:#263149}.mm-btn-secondary:hover{border-color:#6d3df5;color:#5b2bd7}
.mm-alert{margin:18px 0;padding:18px 20px;border-radius:14px;border:1px solid}.mm-alert strong{display:block;margin-bottom:5px}.mm-alert p{margin:0 0 10px}.mm-alert button{border:0;border-radius:9px;padding:9px 12px;font-weight:700}.mm-alert-error{background:#fff1f2;border-color:#fecdd3;color:#9f1239}.mm-alert-error button{background:#be123c;color:#fff}
.mm-library-toolbar{display:flex;gap:12px;align-items:center;margin:20px 0}.mm-search{display:flex;align-items:center;gap:8px;flex:1;min-width:240px;padding:0 13px;border:1px solid #d8e0ec;border-radius:12px;background:#fff}.mm-search span{color:#64748b;font-size:21px}.mm-search input{width:100%;border:0;outline:0;background:transparent;padding:12px 0;color:#172033}.mm-library-toolbar>select{min-width:190px;border:1px solid #d8e0ec;border-radius:12px;background:#fff;padding:12px;color:#263149}.mm-layout-switch{display:flex;border:1px solid #d8e0ec;border-radius:11px;overflow:hidden;background:#fff}.mm-layout-switch button{border:0;background:#fff;padding:10px 13px;color:#64748b}.mm-layout-switch button.active{background:#ede9fe;color:#6d28d9}
.mm-map-list.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:16px}.mm-map-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dbe3ee;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 7px 22px rgba(30,41,59,.06);transition:.18s ease}.mm-map-card:hover{transform:translateY(-2px);border-color:#c4b5fd;box-shadow:0 14px 30px rgba(80,60,160,.12)}.mm-map-thumb{position:relative;display:grid;place-items:center;min-height:130px;background:radial-gradient(circle at 50% 50%,#fff 0,#f3efff 46%,#e9f4ff 100%);cursor:pointer;overflow:hidden}.mm-map-icon{position:relative;z-index:2;display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#fff;border:2px solid #7c3aed;font-size:30px;box-shadow:0 9px 22px rgba(124,58,237,.16)}.mm-mini-branches i{position:absolute;display:block;width:80px;height:2px;background:#9ca3af;transform-origin:left center}.mm-mini-branches i:nth-child(1){left:50%;top:42%;transform:rotate(-25deg)}.mm-mini-branches i:nth-child(2){left:50%;top:50%}.mm-mini-branches i:nth-child(3){left:50%;top:58%;transform:rotate(25deg)}.mm-map-body{display:flex;flex-direction:column;gap:10px;padding:17px}.mm-map-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.mm-map-title-row h3{margin:0;font-size:17px;line-height:1.3;cursor:pointer}.mm-map-title-row h3:hover{color:#6d28d9}.mm-visibility{white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800;background:#f1f5f9;color:#475569}.mm-map-body>p{margin:0;min-height:42px;color:#667085;font-size:13px;line-height:1.55}.mm-map-meta{display:flex;flex-wrap:wrap;gap:7px 12px;color:#667085;font-size:11px}.mm-card-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:3px}.mm-card-actions button{border:1px solid #d8e0ec;border-radius:9px;background:#fff;padding:7px 9px;color:#334155;font-size:12px;font-weight:700}.mm-card-actions button:hover{border-color:#7c3aed;color:#6d28d9}.mm-card-actions button.danger:hover{border-color:#ef4444;color:#b91c1c}
.mm-map-list.table{display:flex;flex-direction:column;gap:8px}.mm-map-list.table .mm-map-card{display:grid;grid-template-columns:110px minmax(0,1fr)}.mm-map-list.table .mm-map-thumb{min-height:112px}.mm-map-list.table .mm-map-body{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(220px,1fr) auto;align-items:center}.mm-map-list.table .mm-map-body>p{min-height:0}.mm-map-list.table .mm-map-title-row{display:block}.mm-map-list.table .mm-visibility{display:inline-block;margin-top:5px}.mm-map-list.table .mm-card-actions{justify-content:flex-end}
.mm-empty{grid-column:1/-1;display:grid;place-items:center;text-align:center;min-height:340px;padding:36px;border:1px dashed #cbd5e1;border-radius:20px;background:#fff}.mm-empty>span{font-size:54px}.mm-empty h2{margin:10px 0 5px}.mm-empty p{margin:0 0 18px;color:#64748b}
.mm-modal-backdrop{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:20px;background:rgba(15,23,42,.56);backdrop-filter:blur(4px)}.mm-modal{width:min(860px,96vw);max-height:88vh;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.5);border-radius:20px;background:#fff;box-shadow:0 30px 80px rgba(15,23,42,.3);overflow:hidden}.mm-modal>header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid #e2e8f0}.mm-modal h2{margin:0;font-size:20px}.mm-modal>header>button{border:0;border-radius:9px;background:#f1f5f9;padding:8px 11px;font-weight:900}.mm-modal>div:last-child{overflow:auto;padding:20px}.mm-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.mm-template-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:160px;padding:18px;text-align:left;border:1px solid #dbe3ee;border-radius:15px;background:#fff}.mm-template-card:hover{border-color:#8b5cf6;background:#faf7ff;transform:translateY(-1px)}.mm-template-card>span{font-size:31px}.mm-template-card strong{font-size:15px}.mm-template-card small{color:#667085;line-height:1.45}
.mm-editor-page{height:calc(100vh - 66px);min-height:700px;padding:12px;overflow:hidden}.mm-editor-header{height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 12px;border:1px solid #dbe3ee;border-radius:16px 16px 0 0;background:#fff}.mm-editor-title{display:flex;align-items:center;gap:10px;min-width:280px}.mm-editor-title>div{min-width:0}.mm-editor-title input{width:min(460px,34vw);border:0;outline:0;background:transparent;font-size:17px;font-weight:800;color:#172033;text-overflow:ellipsis}.mm-editor-title small{display:block;margin-top:2px;font-size:10px;font-weight:700}.mm-editor-title small.saved{color:#059669}.mm-editor-title small.dirty{color:#d97706}.mm-editor-title small.saving{color:#2563eb}.mm-icon-btn{border:0;border-radius:10px;background:#f1f5f9;width:38px;height:38px;font-size:22px}.mm-editor-actions{display:flex;align-items:center;gap:6px}.mm-editor-actions>button,.mm-export-menu>summary{border:1px solid #d8e0ec;border-radius:9px;background:#fff;padding:8px 10px;color:#334155;font-size:12px;font-weight:750;list-style:none}.mm-editor-actions>button:hover,.mm-export-menu>summary:hover{border-color:#8b5cf6;color:#6d28d9}.mm-export-menu{position:relative}.mm-export-menu>summary::-webkit-details-marker{display:none}.mm-export-menu>div{position:absolute;right:0;top:42px;z-index:100;display:flex;flex-direction:column;min-width:190px;padding:7px;border:1px solid #dbe3ee;border-radius:12px;background:#fff;box-shadow:0 14px 38px rgba(15,23,42,.16)}.mm-export-menu>div button{border:0;border-radius:8px;background:#fff;padding:9px 10px;text-align:left}.mm-export-menu>div button:hover{background:#f3f0ff;color:#6d28d9}
.mm-editor-shell{height:calc(100% - 64px);display:grid;grid-template-columns:92px minmax(0,1fr) 310px;border:1px solid #dbe3ee;border-top:0;border-radius:0 0 16px 16px;overflow:hidden;background:#fff}.mm-left-toolbar{display:flex;flex-direction:column;gap:5px;padding:10px 7px;border-right:1px solid #dbe3ee;background:#f8fafc;overflow-y:auto}.mm-left-toolbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:59px;border:1px solid transparent;border-radius:10px;background:transparent;color:#475569;font-size:10px;font-weight:750}.mm-left-toolbar button>span{font-size:18px}.mm-left-toolbar button:hover,.mm-left-toolbar button.active{border-color:#c4b5fd;background:#ede9fe;color:#6d28d9}.mm-left-toolbar button.danger:hover{border-color:#fecaca;background:#fff1f2;color:#b91c1c}
.mm-canvas-wrap{position:relative;min-width:0;min-height:0;overflow:hidden}.mm-canvas{position:absolute;inset:0;overflow:hidden;touch-action:none;background:#f8fafc;cursor:grab}.mm-canvas:active{cursor:grabbing}.mm-grid-bg{position:absolute;inset:0;background-image:radial-gradient(circle,#cbd5e1 1px,transparent 1px);background-size:24px 24px;opacity:.7;pointer-events:none}.mm-world{position:absolute;left:0;top:0;transform-origin:0 0;width:5000px;height:5000px}.mm-edges{position:absolute;inset:-1500px;overflow:visible;pointer-events:none}.mm-edges path{stroke:#94a3b8;stroke-width:3}.mm-node{position:absolute;width:220px;min-height:96px;display:flex;align-items:stretch;border:2px solid #2563eb;border-radius:15px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.12);user-select:none;cursor:grab;overflow:visible;transition:box-shadow .14s,border-color .14s}.mm-node:active{cursor:grabbing}.mm-node.selected{box-shadow:0 0 0 4px rgba(124,58,237,.19),0 12px 28px rgba(15,23,42,.16)}.mm-node.connecting{animation:mmPulse 1s infinite}.mm-node-accent{width:8px;flex:0 0 8px;border-radius:12px 0 0 12px;background:#2563eb}.mm-node-main{display:grid;grid-template-columns:25px minmax(0,1fr);align-content:center;gap:3px 7px;flex:1;padding:12px 12px 12px 10px;min-width:0}.mm-node-type{grid-row:1/3;align-self:start;display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#eff6ff;color:#2563eb;font-weight:900}.mm-node-main strong{overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:1.3}.mm-node-main small{grid-column:2;display:-webkit-box;overflow:hidden;color:#64748b;font-size:10px;line-height:1.35;-webkit-line-clamp:2;-webkit-box-orient:vertical}.mm-node-badges{position:absolute;right:7px;bottom:-10px;display:flex;gap:3px}.mm-node-badges span{display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border:1px solid #dbe3ee;border-radius:999px;background:#fff;font-size:10px;box-shadow:0 3px 8px rgba(15,23,42,.12)}.mm-collapse{position:absolute;right:-12px;top:37px;width:24px;height:24px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#475569;font-weight:900;line-height:1}.mm-collapse:hover{border-color:#7c3aed;color:#6d28d9}.mm-node.color-violet{border-color:#7c3aed}.mm-node.color-violet .mm-node-accent{background:#7c3aed}.mm-node.color-violet .mm-node-type{background:#ede9fe;color:#6d28d9}.mm-node.color-blue{border-color:#2563eb}.mm-node.color-blue .mm-node-accent{background:#2563eb}.mm-node.color-cyan{border-color:#0891b2}.mm-node.color-cyan .mm-node-accent{background:#0891b2}.mm-node.color-cyan .mm-node-type{background:#ecfeff;color:#0e7490}.mm-node.color-green{border-color:#059669}.mm-node.color-green .mm-node-accent{background:#059669}.mm-node.color-green .mm-node-type{background:#ecfdf5;color:#047857}.mm-node.color-amber{border-color:#d97706}.mm-node.color-amber .mm-node-accent{background:#d97706}.mm-node.color-amber .mm-node-type{background:#fffbeb;color:#b45309}.mm-node.color-orange{border-color:#ea580c}.mm-node.color-orange .mm-node-accent{background:#ea580c}.mm-node.color-orange .mm-node-type{background:#fff7ed;color:#c2410c}.mm-node.color-red{border-color:#dc2626}.mm-node.color-red .mm-node-accent{background:#dc2626}.mm-node.color-red .mm-node-type{background:#fef2f2;color:#b91c1c}.mm-node.color-slate{border-color:#475569}.mm-node.color-slate .mm-node-accent{background:#475569}.mm-node.color-slate .mm-node-type{background:#f1f5f9;color:#334155}.mm-zoom-controls{position:absolute;left:14px;bottom:14px;display:flex;align-items:center;gap:6px;padding:6px;border:1px solid #dbe3ee;border-radius:11px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.1)}.mm-zoom-controls button{width:29px;height:29px;border:0;border-radius:8px;background:#f1f5f9;font-size:18px}.mm-zoom-controls span{min-width:48px;text-align:center;font-size:11px;font-weight:800;color:#475569}.mm-connect-banner{position:absolute;z-index:30;left:50%;top:12px;transform:translateX(-50%);padding:9px 13px;border:1px solid #c4b5fd;border-radius:10px;background:#f5f3ff;color:#5b21b6;font-size:11px;font-weight:800;box-shadow:0 6px 18px rgba(91,33,182,.14)}@keyframes mmPulse{50%{box-shadow:0 0 0 7px rgba(124,58,237,.12)}}
.mm-properties{padding:14px;border-left:1px solid #dbe3ee;background:#fff;overflow-y:auto}.mm-properties-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.mm-properties-heading>div{display:flex;align-items:center;gap:8px}.mm-properties-heading>div>span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#ede9fe;color:#6d28d9;font-weight:900}.mm-properties-heading strong{font-size:13px}.mm-properties label{display:flex;flex-direction:column;gap:5px;margin-bottom:11px;color:#475569;font-size:11px;font-weight:800}.mm-properties input,.mm-properties select,.mm-properties textarea{width:100%;border:1px solid #d8e0ec;border-radius:9px;background:#fff;padding:9px;color:#172033;font-weight:500;outline:0;resize:vertical}.mm-properties input:focus,.mm-properties select:focus,.mm-properties textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.12)}.mm-form-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mm-color-picker{display:flex;flex-wrap:wrap;gap:6px}.mm-color-picker button{width:27px;height:27px;border:2px solid #fff;border-radius:9px;box-shadow:0 0 0 1px #cbd5e1}.mm-color-picker button.active{box-shadow:0 0 0 3px #c4b5fd}.mm-color-picker .violet{background:#7c3aed}.mm-color-picker .blue{background:#2563eb}.mm-color-picker .cyan{background:#0891b2}.mm-color-picker .green{background:#059669}.mm-color-picker .amber{background:#d97706}.mm-color-picker .orange{background:#ea580c}.mm-color-picker .red{background:#dc2626}.mm-color-picker .slate{background:#475569}.mm-inline-link{display:inline-flex;margin:-4px 0 11px;color:#6d28d9;font-size:11px;font-weight:700}.mm-node-integrations{display:flex;flex-direction:column;gap:7px;margin-top:4px}.mm-node-integrations button,.mm-node-integrations a{display:block;border:1px solid #d8e0ec;border-radius:9px;background:#fff;padding:9px;text-align:center;color:#334155;text-decoration:none;font-size:11px;font-weight:800}.mm-node-integrations button:hover,.mm-node-integrations a:hover{border-color:#8b5cf6;color:#6d28d9}.mm-map-settings{margin-top:14px;border-top:1px solid #e2e8f0;padding-top:10px}.mm-map-settings summary{cursor:pointer;color:#334155;font-size:12px;font-weight:800}.mm-map-settings[open] summary{margin-bottom:12px}.mm-no-selection{display:grid;place-items:center;text-align:center;min-height:330px;padding:20px;color:#64748b}.mm-no-selection>span{font-size:44px}.mm-no-selection h3{margin:10px 0 4px;color:#334155}.mm-no-selection p{margin:0;font-size:12px;line-height:1.5}.mm-status-dot{width:9px;height:9px;border-radius:999px;background:#94a3b8}.mm-status-dot.em_andamento{background:#2563eb}.mm-status-dot.concluido{background:#059669}.mm-status-dot.bloqueado{background:#dc2626}
.mm-share-panel>p,.mm-history-actions>p{margin:0;color:#64748b;line-height:1.55}.mm-share-form{display:grid;grid-template-columns:1fr 160px auto;gap:8px;margin:15px 0}.mm-share-form select{border:1px solid #d8e0ec;border-radius:10px;padding:10px;background:#fff}.mm-share-form button,.mm-history-actions button,.mm-comment-form button{border:0;border-radius:10px;background:#6d3df5;color:#fff;padding:10px 14px;font-weight:800}.mm-share-list,.mm-comment-list{display:flex;flex-direction:column;gap:8px}.mm-share-list article{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:11px;border:1px solid #e2e8f0;border-radius:11px}.mm-share-list article div{display:flex;flex-direction:column}.mm-share-list article small{color:#64748b}.mm-share-list article>span{border-radius:999px;background:#f1f5f9;padding:5px 8px;font-size:10px;font-weight:800}.mm-share-list article>button{border:0;background:transparent;color:#b91c1c;font-size:11px;font-weight:800}.mm-history-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.mm-history-panel>article{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-top:1px solid #e2e8f0}.mm-history-panel>article>div{display:flex;flex-direction:column;gap:3px}.mm-history-panel article span,.mm-history-panel article small{color:#64748b;font-size:11px}.mm-history-panel article button{border:1px solid #d8e0ec;border-radius:9px;background:#fff;padding:8px 10px;font-weight:750}.mm-comment-context{margin-bottom:10px;border-radius:9px;background:#f1f5f9;padding:8px 10px;color:#475569;font-size:11px;font-weight:800}.mm-comment-form{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;margin-bottom:15px}.mm-comment-form textarea{border:1px solid #d8e0ec;border-radius:10px;padding:10px;resize:vertical}.mm-comment-list article{padding:12px;border:1px solid #e2e8f0;border-radius:11px}.mm-comment-list article.resolved{opacity:.62;background:#f8fafc}.mm-comment-list header{display:flex;justify-content:space-between;gap:10px}.mm-comment-list header small{color:#64748b}.mm-comment-list p{margin:8px 0;white-space:pre-wrap;line-height:1.5}.mm-comment-list button{border:0;background:transparent;color:#6d28d9;font-size:11px;font-weight:800}.mm-muted{color:#64748b;text-align:center}
@media (max-width:1100px){.mm-editor-shell{grid-template-columns:76px minmax(0,1fr) 270px}.mm-left-toolbar button{font-size:9px}.mm-editor-actions>button:nth-of-type(4),.mm-editor-actions>button:nth-of-type(5){display:none}.mm-map-list.table .mm-map-body{grid-template-columns:1fr}}
@media (max-width:820px){.mm-page{padding:12px}.mm-hero{align-items:flex-start;flex-direction:column;padding:20px}.mm-hero-actions{width:100%;justify-content:flex-start}.mm-library-toolbar{flex-wrap:wrap}.mm-search{flex-basis:100%}.mm-map-list.table .mm-map-card{display:flex}.mm-map-list.table .mm-map-body{display:flex}.mm-editor-page{height:calc(100vh - 58px);padding:0}.mm-editor-header{height:auto;min-height:70px;border-radius:0;align-items:flex-start;flex-wrap:wrap}.mm-editor-title{width:100%;min-width:0}.mm-editor-title input{width:calc(100vw - 100px)}.mm-editor-actions{width:100%;overflow-x:auto;padding-bottom:2px}.mm-editor-shell{height:calc(100% - 116px);grid-template-columns:1fr;border-radius:0}.mm-left-toolbar{position:absolute;z-index:50;left:8px;right:8px;bottom:8px;display:flex;flex-direction:row;overflow-x:auto;border:1px solid #dbe3ee;border-radius:13px;background:rgba(255,255,255,.96);box-shadow:0 10px 28px rgba(15,23,42,.18)}.mm-left-toolbar button{min-width:70px;min-height:52px}.mm-properties{position:absolute;z-index:45;right:8px;top:128px;bottom:76px;width:min(310px,88vw);border:1px solid #dbe3ee;border-radius:14px;box-shadow:0 12px 34px rgba(15,23,42,.18)}.mm-canvas-wrap{grid-column:1}.mm-share-form{grid-template-columns:1fr}.mm-comment-form{grid-template-columns:1fr}.mm-modal{max-height:94vh}.mm-template-grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.mm-hero-actions .mm-btn{width:100%}.mm-template-grid{grid-template-columns:1fr}.mm-properties{width:calc(100vw - 16px);top:142px}.mm-editor-shell{height:calc(100% - 128px)}.mm-form-row{grid-template-columns:1fr}.mm-map-list.cards{grid-template-columns:1fr}}
/* Mapas mentais usam janela própria de impressão; não ocultar o #root global. */
.mm-map-title-tools{display:flex;align-items:center;gap:6px}.mm-favorite{display:grid;place-items:center;width:28px;height:28px;border:1px solid #d8e0ec;border-radius:9px;background:#fff;color:#94a3b8;font-size:16px;line-height:1}.mm-favorite:hover,.mm-favorite.active{border-color:#f59e0b;background:#fffbeb;color:#d97706}
[data-theme=dark] .mm-page,.dark .mm-page{background:var(--bg);color:var(--text)}[data-theme=dark] :is(.mm-hero,.mm-map-card,.mm-search,.mm-library-toolbar>select,.mm-layout-switch,.mm-layout-switch button,.mm-modal,.mm-editor-header,.mm-editor-shell,.mm-properties,.mm-export-menu>div,.mm-share-list article,.mm-history-panel>article,.mm-comment-list article),.dark :is(.mm-hero,.mm-map-card,.mm-search,.mm-library-toolbar>select,.mm-layout-switch,.mm-layout-switch button,.mm-modal,.mm-editor-header,.mm-editor-shell,.mm-properties,.mm-export-menu>div,.mm-share-list article,.mm-history-panel>article,.mm-comment-list article){background:var(--surface,#111827);border-color:var(--border);color:var(--text)}[data-theme=dark] .mm-hero,.dark .mm-hero{background:linear-gradient(135deg,var(--surface,#111827),color-mix(in srgb,var(--primary) 13%,var(--surface,#111827)))}[data-theme=dark] :is(.mm-hero p,.mm-map-body>p,.mm-map-meta,.mm-template-card small,.mm-share-panel>p,.mm-history-actions>p,.mm-muted),.dark :is(.mm-hero p,.mm-map-body>p,.mm-map-meta,.mm-template-card small,.mm-share-panel>p,.mm-history-actions>p,.mm-muted){color:var(--muted)}[data-theme=dark] :is(.mm-template-card,.mm-btn-secondary,.mm-card-actions button,.mm-editor-actions>button,.mm-export-menu>summary,.mm-export-menu>div button,.mm-node-integrations button,.mm-node-integrations a,.mm-history-panel article button,.mm-icon-btn,.mm-zoom-controls,.mm-zoom-controls button,.mm-favorite),.dark :is(.mm-template-card,.mm-btn-secondary,.mm-card-actions button,.mm-editor-actions>button,.mm-export-menu>summary,.mm-export-menu>div button,.mm-node-integrations button,.mm-node-integrations a,.mm-history-panel article button,.mm-icon-btn,.mm-zoom-controls,.mm-zoom-controls button,.mm-favorite){background:var(--surface-2,#1f2937);border-color:var(--border);color:var(--text)}[data-theme=dark] .mm-canvas,.dark .mm-canvas{background:#0f172a}[data-theme=dark] .mm-grid-bg,.dark .mm-grid-bg{opacity:.25}[data-theme=dark] .mm-node,.dark .mm-node{background:#182235;color:#f8fafc}[data-theme=dark] .mm-node-main small,.dark .mm-node-main small{color:#a8b3c7}[data-theme=dark] :is(.mm-properties input,.mm-properties select,.mm-properties textarea,.mm-share-form select,.mm-comment-form textarea),.dark :is(.mm-properties input,.mm-properties select,.mm-properties textarea,.mm-share-form select,.mm-comment-form textarea){background:var(--surface-2,#1f2937);border-color:var(--border);color:var(--text)}[data-theme=dark] .mm-left-toolbar,.dark .mm-left-toolbar{background:var(--surface-2,#1f2937);border-color:var(--border)}[data-theme=dark] .mm-map-thumb,.dark .mm-map-thumb{background:radial-gradient(circle at 50% 50%,#25324a 0,#1e293b 48%,#111827 100%)}[data-theme=dark] .mm-empty,.dark .mm-empty{background:var(--surface,#111827);border-color:var(--border)}
