.mf-work-primary,.mf-workspace .mf-editor-new-primary{background:#16171a;color:#fff;border:1px solid #16171a}.mf-workspace .mf-editor-sidebar nav a[aria-current=page]{background:var(--surface);color:var(--ink);border:1px solid var(--border)}.mf-work-main{min-width:0;flex:1;overflow:auto;padding:38px 36px 80px}.mf-work-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.mf-work-heading h1{font-size:28px;font-weight:700;letter-spacing:-.03em}.mf-work-heading p{font-size:13px;color:var(--muted);margin-top:5px}.mf-work-heading-actions,.mf-work-mobile-bottom{display:flex;gap:8px}.mf-work-dialog button,.mf-work-heading-actions button,.mf-work-mobile-bottom button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 16px;border:1px solid var(--border);border-radius:10px;font-size:13px;font-weight:600}.mf-work-heading-actions button:not(.mf-work-primary),.mf-work-mobile-bottom button:not(.mf-work-primary){background:var(--surface)}.mf-work-controls{display:flex;gap:12px;align-items:center;margin:28px 0 20px}.mf-work-search{display:flex;align-items:center;gap:10px;flex:1;min-width:140px;height:44px;padding:0 14px;background:var(--surface);border:1px solid var(--border);border-radius:10px;color:var(--muted)}.mf-work-search input{width:100%;background:transparent;color:var(--ink);outline:0;font-size:14px}.mf-work-filters,.mf-work-view{display:flex;gap:3px;padding:3px;background:var(--subtle);border-radius:10px}.mf-work-filters button,.mf-work-view button{min-height:38px;padding:0 12px;border-radius:8px;color:var(--muted);font-size:13px;white-space:nowrap}.mf-work-filters button[aria-pressed=true],.mf-work-view button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px #00000012}.mf-work-view button{display:grid;place-items:center;min-width:40px;padding:0}.mf-work-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mf-work-list{grid-template-columns:1fr}.mf-work-card{position:relative;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:18px;overflow:visible}.mf-work-card-open{display:flex;flex-direction:column;width:100%;height:100%;text-align:left;overflow:hidden;border-radius:18px}.mf-work-card-actions button:focus-visible,.mf-work-card-open:focus-visible{outline:2px solid #2f6bff;outline-offset:2px}.mf-work-thumb{position:relative;height:152px;width:100%;display:grid;place-items:center;background-color:var(--page);background-image:radial-gradient(var(--border) 1px,transparent 1px);background-size:16px 16px;color:var(--muted);overflow:hidden}.mf-work-thumb>div{position:absolute;inset:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}.mf-work-thumb>div svg{width:100%;height:100%;max-width:100%;max-height:100%}.mf-work-thumb>div:has(svg)+svg{display:none}.mf-work-card-info{display:flex;flex-direction:column;gap:7px;padding:16px;min-height:104px;max-width:100%;font-size:12px;color:var(--muted)}.mf-work-card-info strong{font-size:15px;color:var(--ink);padding-right:48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mf-work-error{color:#d2433f}.mf-work-card-actions{position:absolute;right:10px;bottom:65px;display:flex;align-items:center;gap:2px}.mf-work-card-actions summary,.mf-work-card-actions>button{display:grid;place-items:center;width:34px;height:34px;color:var(--muted);border-radius:8px;cursor:pointer;list-style:none}.mf-work-card-actions summary::-webkit-details-marker{display:none}.mf-work-card-actions summary:hover,.mf-work-card-actions>button:hover{background:var(--subtle)}.mf-work-card-actions details{position:relative}.mf-work-card-actions details>div{position:absolute;right:0;top:36px;z-index:10;min-width:130px;padding:5px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #0002}.mf-work-card-actions details button{display:block;width:100%;text-align:left;padding:9px;font-size:13px;border-radius:7px}.mf-work-card-actions details button:hover{background:var(--subtle)}.mf-work-list .mf-work-card-open{flex-direction:row;align-items:center}.mf-work-list .mf-work-thumb{width:150px;height:96px;flex:none}.mf-work-list .mf-work-card-actions{bottom:auto;top:30px}.mf-work-empty{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;color:var(--muted);padding:90px 20px}.mf-work-empty h2{font-size:18px;font-weight:650;color:var(--ink)}.mf-work-empty p{font-size:14px}.mf-work-empty button{margin-top:8px;display:flex;align-items:center;gap:6px;padding:0 15px;min-height:44px;border-radius:10px}.mf-work-mobile-bottom,.mf-work-mobile-header{display:none}.mf-work-dialog{border-radius:20px;max-width:min(560px,calc(100vw - 32px))}.mf-work-dialog label{display:grid;gap:8px;font-size:13px}.mf-work-dialog textarea{min-height:180px;resize:vertical;background:transparent;border:1px solid var(--border);border-radius:10px;padding:12px;font-family:monospace}.mf-work-dialog>div:last-of-type{display:flex;justify-content:flex-end;gap:8px}.mf-work-dialog button:disabled{opacity:.4}.mf-open-workspace{display:flex;align-items:center;height:40px;border:1px solid #e8e7e5;border-radius:10px;background:#fff;padding:0 15px;font-size:13px;font-weight:600;white-space:nowrap}.dark .mf-open-workspace{background:#17171a;border-color:#303036}.dark .mf-work-primary,.dark .mf-workspace .mf-editor-new-primary{background:#f4f4f5;color:#16171a;border-color:#f4f4f5}@media (max-width:1100px){.mf-work-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mf-work-list{grid-template-columns:1fr}}@media (max-width:760px){.mf-work-main{padding:0 16px 90px}.mf-work-mobile-header{height:64px;display:flex;align-items:center;justify-content:space-between}.mf-work-mobile-header .mf-editor-brand{padding:0}.mf-work-mobile-header>button{width:44px;height:44px;display:grid;place-items:center}.mf-work-heading{margin-top:12px}.mf-work-heading h1{font-size:25px}.mf-work-heading-actions,.mf-work-view{display:none}.mf-work-controls{align-items:stretch;flex-wrap:wrap;margin:24px 0 18px}.mf-work-search{flex:1 0 100%}.mf-work-filters{max-width:100%;overflow:auto}.mf-work-cards,.mf-work-list{grid-template-columns:1fr;gap:12px}.mf-work-card-open{flex-direction:row;align-items:center}.mf-work-list .mf-work-thumb,.mf-work-thumb{width:32%;height:112px;flex:none}.mf-work-card-info{min-width:0;min-height:100px;justify-content:center;padding:12px}.mf-work-card-info strong{font-size:14px;padding-right:35px}.mf-work-card-actions,.mf-work-list .mf-work-card-actions{top:8px;bottom:auto;right:4px}.mf-work-mobile-bottom{position:fixed;z-index:30;bottom:0;left:0;right:0;display:flex;padding:10px 16px max(10px,env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border)}.mf-work-mobile-bottom button:first-child{flex:1}.mf-work-mobile-bottom button:last-child{flex:1.5}.mf-work-empty{padding:60px 15px}.mf-work-dialog{bottom:0;top:auto;left:0;transform:none;max-width:100%;width:100%;border-radius:22px 22px 0 0;padding-bottom:max(24px,env(safe-area-inset-bottom))}}.mf-work-heading-actions .mf-work-primary{display:none}.mf-work-thumb .node rect{fill:var(--surface)!important;stroke:var(--border)!important;rx:8px}.mf-work-thumb .node polygon{fill:var(--ink)!important;stroke:var(--ink)!important}.mf-work-thumb .node:has(polygon) .nodeLabel{color:var(--surface)!important}.mf-work-thumb .node:not(:has(polygon)) .nodeLabel{color:var(--ink)!important}.mf-work-tags{display:flex;flex-wrap:wrap;gap:6px;margin:-6px 0 20px}.mf-work-tags button{min-height:44px;padding:0 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);font-size:13px}.mf-work-tags button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--surface)}.mf-work-card-actions>.mf-trash-restore{display:flex;width:auto;min-width:80px;height:44px;padding:0 10px;border:1px solid var(--border);background:var(--surface);font-size:12px;white-space:nowrap}.mf-work-card-open:disabled{cursor:default}.mf-work-header-actions{display:flex;align-items:center}.mf-work-header-actions button{width:44px;height:44px;display:grid;place-items:center}@media (max-width:760px){.mf-work-mobile-bottom button:not(.mf-work-primary){background:var(--subtle);border-color:transparent;font-weight:400}.mf-work-mobile-bottom button{font-size:15px}.mf-work-filters button,.mf-work-search input{min-height:44px}.mf-work-card-actions summary,.mf-work-card-actions>button{width:44px;height:44px}.mf-work-card-actions details button,.mf-work-mobile-header .mf-editor-brand{min-height:44px}}.mf-work-tag{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;margin-right:4px;border-radius:999px;background:var(--subtle);color:var(--muted);font-size:12px}.mf-work-error{align-self:flex-start;padding:4px 8px;border-radius:999px;background:#d2433f12}.dark .mf-work-error{background:#ff6e661a;color:#ff8a84}.mf-work-card-info strong{padding-right:76px}@media (max-width:760px){.mf-work-card-info strong{padding-right:88px}}.mf-work-empty-icon{display:grid;place-items:center;width:70px;height:70px;margin-bottom:4px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:0 2px 5px #0000000a}.mf-work-empty p{max-width:470px;line-height:1.6}.mf-work-empty p+p{margin-top:-8px;font-size:13px}.mf-work-empty .mf-work-empty-paste{border:1px solid var(--border);background:var(--surface);color:var(--ink);font-size:14px}.mf-work-empty .mf-work-empty-paste:focus-visible{outline:2px solid #2f6bff;outline-offset:2px}@media (max-width:760px){.mf-work-view{display:flex;margin-left:auto;flex:none}.mf-work-view button{min-width:44px;min-height:44px}.mf-work-list .mf-work-thumb{display:none}.mf-work-list .mf-work-card-info{min-height:64px;padding:12px 100px 12px 16px}.mf-work-list .mf-work-card-info strong{padding-right:0}.mf-work-list .mf-work-card-actions{top:10px}.mf-work-list{gap:0}.mf-work-list .mf-work-card{border-radius:0}.mf-work-list .mf-work-card+.mf-work-card{border-top:0}.mf-work-list .mf-work-card:first-child{border-radius:16px 16px 0 0}.mf-work-list .mf-work-card:last-child{border-radius:0 0 16px 16px}.mf-work-list .mf-work-card:only-child{border-radius:16px}}.mf-work-dialog-grip{display:none}@media (max-width:760px){.mf-work-dialog-grip{display:grid;place-items:center;height:24px;touch-action:none}.mf-work-dialog-grip span{width:40px;height:5px;border-radius:99px;background:var(--border)}}.mf-tags-dialog-list{max-height:240px;overflow:auto;display:grid;gap:4px}.mf-tags-dialog-list label{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 8px;border-radius:8px}.mf-tags-dialog-list label:hover{background:var(--subtle)}.mf-tags-dialog-list input{width:18px;height:18px;accent-color:var(--ink)}.mf-tags-dialog-list p{color:var(--muted);font-size:13px}.mf-tags-dialog form{display:flex;gap:8px}.mf-tags-dialog form input{flex:1;min-width:0;min-height:44px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink)}.mf-tags-dialog form button{border:1px solid var(--border);background:var(--surface)}.mf-tags-dialog-list label{min-width:0}.mf-tags-dialog-list label input{flex:none}.mf-tags-dialog-list label span{min-width:0;overflow-wrap:anywhere}.mf-work-tag,.mf-work-tags button{max-width:100%;overflow-wrap:anywhere}.mf-work-paste-dialog{--surface:#fff;--subtle:#f1f0ee;--border:#e8e7e5;color:#16171a}.dark .mf-work-paste-dialog{--surface:#17171a;--subtle:#232327;--border:#303036;color:#f4f4f5}.mf-work-paste-dialog [data-slot=dialog-header],.mf-work-paste-dialog header{text-align:left}.mf-work-paste-dialog textarea{background:var(--subtle);min-height:200px;font-size:13px;line-height:1.6}.mf-work-paste-actions button:first-child{background:var(--subtle);border-color:transparent;font-weight:400}@media (max-width:760px){.mf-work-paste-dialog{padding-inline:16px}.mf-work-paste-dialog>div:nth-child(2){text-align:left}.mf-work-paste-dialog h2{font-size:20px}.mf-work-paste-dialog .mf-work-paste-hint{font-size:15px}.mf-work-paste-dialog .mf-work-paste-actions{display:flex;flex-direction:column-reverse}.mf-work-paste-actions button{width:100%;font-size:15px}}@media (min-width:761px){.mf-work-main{position:relative}.mf-work-heading-actions{margin-right:104px}.mf-work-view{position:absolute;right:36px;top:38px}}