.notification-rich{padding:0;border:0;background:transparent;box-shadow:none}
.notification-rich .notification-editor-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:12px 14px;border:1px solid var(--line);border-radius:5px;background:#fafbf9}
.notification-rich .notification-heading{display:flex;align-items:center;gap:9px;min-width:0}
.notification-rich .notification-editor-head h3{margin:0;color:var(--deep);font-size:1.02rem;line-height:1.35}
.notification-rich .notification-status{display:inline-flex;align-items:center;flex:0 0 auto;margin:0;padding:4px 7px;border:1px solid #c6d8d1;border-radius:999px;background:#edf5f2;color:var(--teal-dark);font-size:.63rem;font-weight:750;line-height:1}
.notification-rich .notification-status[data-state="updated"]{border-color:#e0c397;background:#fff7e8;color:#8a5a20}.notification-rich .notification-status[data-state="unshared"]{border-color:#d7deda;background:#f4f6f5;color:var(--muted)}
.notification-rich .notification-editor-head{align-items:center}
.notification-rich .notification-editor-head>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.notification-rich .notification-editor-head h3{margin-right:2px}
.notification-contact-control{display:flex;align-items:center;gap:8px}
.notification-contact-control label{flex:0 0 auto;white-space:nowrap;font-size:.7rem;font-weight:750;color:var(--muted)}
.notification-contact-control select{min-width:170px;height:40px;padding:0 34px 0 11px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink)}
.notification-rich-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:20px;align-items:start}
.notification-editor-frame{min-width:0;border:1px solid #bac7c1;border-top:3px solid var(--deep);border-radius:6px;background:#fff;overflow:clip;box-shadow:0 10px 26px rgba(25,49,41,.07)}
.notification-editor-toolbar{position:sticky;top:0;z-index:6;min-height:54px;display:flex;align-items:center;align-content:center;flex-wrap:wrap;gap:5px;padding:8px;border-bottom:1px solid var(--line);background:rgba(249,251,250,.97);box-shadow:0 3px 10px rgba(25,49,41,.06);overflow:visible}
.notification-tool-group{display:flex;align-items:center;gap:2px;padding-right:6px;border-right:1px solid var(--line);flex:0 1 auto;min-width:0;flex-wrap:wrap}
.notification-tool-group:last-child{border-right:0;padding-right:0}
.notification-toolbar-actions{display:flex;align-items:center;gap:5px;flex:0 0 100%;padding-top:7px;border-top:1px solid var(--line)}
.notification-toolbar-actions .notification-tool-group{flex:0 0 auto}
.notification-tool-group::before{content:attr(data-toolbar-group);align-self:center;display:flex;align-items:center;padding:0 6px 0 2px;color:#89958f;font-size:.56rem;font-weight:800;letter-spacing:.04em;flex:0 0 auto}
.notification-tool,.notification-color{width:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:4px;background:transparent;color:#42514c}
.notification-tool:hover,.notification-tool.is-active{border-color:#bcd0c7;background:#e8f2ee;color:var(--teal)}
.notification-tool svg{width:16px;height:16px}
.notification-tool-text{width:auto;min-width:66px;grid-auto-flow:column;gap:5px;padding:0 8px;font-size:.68rem;font-weight:750}
.notification-media-status{max-width:180px;overflow:hidden;color:var(--muted);font-size:.6rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.notification-media-status[data-state="loading"]{color:#9a672d}.notification-media-status[data-state="success"]{color:var(--teal)}.notification-media-status[data-state="error"]{color:#9a3528}
.notification-style-select{width:94px!important;height:34px;min-width:94px;padding:0 24px 0 8px;border:1px solid var(--line);border-radius:4px;background:#fff;font-size:.7rem;flex:0 0 94px}
.notification-color{position:relative;font-family:Georgia,serif;font-weight:700;cursor:pointer}
.notification-color input{position:absolute;width:1px;height:1px;opacity:0}
.notification-color::after{content:'';position:absolute;left:8px;right:8px;bottom:5px;height:3px;background:#1f7a69}
.notification-editor-paper-wrap{min-height:650px;padding:22px 18px 40px;background:#eef1ed}
[data-rich-editor]{width:min(700px,100%);min-height:600px;margin:0 auto;background:#fff;box-shadow:0 2px 13px rgba(25,49,41,.08)}
.notification-article-editor,.notification-preview-article{min-height:600px;padding:54px 58px 78px;outline:0}
.notification-article-editor>*:first-child,.notification-preview-article>*:first-child{margin-top:0}
.notification-article-editor p,.notification-preview-article p{margin:0 0 1.12em;font-family:Georgia,"Songti SC",serif;font-size:1rem;line-height:2;white-space:pre-line}
.notification-article-editor h1,.notification-preview-article h1{margin:0 0 1em;color:var(--deep);font-family:Georgia,"Songti SC",serif;font-size:2.05rem;line-height:1.32;letter-spacing:.01em}
.notification-article-editor h2,.notification-preview-article h2{margin:1.8em 0 .75em;color:var(--deep);font-family:Georgia,"Songti SC",serif;font-size:1.4rem;line-height:1.45}
.notification-article-editor h3,.notification-preview-article h3{margin:1.5em 0 .65em;color:var(--deep);font-size:1.08rem;line-height:1.5}
.notification-article-editor ul,.notification-article-editor ol,.notification-preview-article ul,.notification-preview-article ol{margin:0 0 1.1em;padding-left:1.6em}
.notification-article-editor li,.notification-preview-article li{margin:.3em 0;line-height:1.75}
.notification-article-editor blockquote,.notification-preview-article blockquote{margin:1.3em 0;padding:11px 15px;border-left:3px solid #ba6a2b;background:#faeddd;color:#5e4331}
.notification-article-editor hr,.notification-preview-article hr{margin:2em 0;border:0;border-top:1px solid var(--line)}
.notification-article-editor a,.notification-preview-article a{color:var(--teal);text-underline-offset:3px}
.notification-article-editor p.is-editor-empty:first-child::before{content:attr(data-placeholder);float:left;height:0;color:#98a39e;pointer-events:none}
.notification-asset-node{position:relative;margin:22px 0;padding:18px 19px;border:1px solid #bfd0c8;border-left:4px solid var(--teal);border-radius:5px;background:#f4f8f6;box-shadow:0 4px 12px rgba(31,122,105,.06)}
.notification-asset-node-head{display:flex;align-items:center;gap:8px;margin-bottom:9px}
.notification-asset-node-head span{padding:3px 6px;background:#e4f0ec;color:var(--teal);font-size:.61rem;font-weight:800}
.notification-asset-node-head strong{color:var(--deep);font-size:.91rem}
.notification-asset-node p{display:grid;grid-template-columns:66px minmax(0,1fr);gap:7px;margin:5px 0!important;font-family:inherit!important;font-size:.74rem!important;line-height:1.55!important;white-space:normal!important}
.notification-asset-node p span{color:var(--muted)}
.notification-node-actions{position:absolute;top:8px;right:8px;display:flex;align-items:center;gap:2px;opacity:0;transition:opacity .15s ease}
.notification-asset-node:hover .notification-node-actions,.notification-asset-node.ProseMirror-selectednode .notification-node-actions,.notification-attachment-node:hover .notification-node-actions,.notification-attachment-node.ProseMirror-selectednode .notification-node-actions{opacity:1}
.notification-node-drag,.notification-node-remove{width:27px;height:27px;display:grid;place-items:center;border:1px solid transparent;border-radius:4px;background:rgba(255,255,255,.72);color:#75837d}
.notification-node-drag{cursor:grab}
.notification-node-drag:active{cursor:grabbing}
.notification-node-drag:hover,.notification-node-remove:hover{border-color:#bfd0c8;background:#fff;color:var(--teal)}
.notification-node-remove{cursor:pointer;color:#8d3f35}
.notification-node-actions svg{width:15px;height:15px}
.notification-media-node{margin:1.4em 0;text-align:center}
.notification-media-node img,.notification-media-node video{display:block;width:auto;max-width:100%;max-height:480px;margin:auto;background:#101916}
.notification-media-node figcaption{margin-top:6px;color:var(--muted);font-size:.66rem}
.notification-attachment-node{position:relative;display:flex;align-items:center;gap:12px;margin:18px 0;padding:13px 14px;border:1px solid #c8d2cd;border-radius:5px;background:#fafbf9;box-shadow:0 3px 10px rgba(25,49,41,.05)}
.notification-attachment-type{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border-radius:4px;background:#e6f0ec;color:var(--teal);font-size:.58rem;font-weight:850;overflow:hidden}
.notification-attachment-copy{min-width:0;display:block}
.notification-attachment-copy strong,.notification-attachment-copy small{display:block}
.notification-attachment-copy strong{overflow:hidden;color:var(--deep);font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}
.notification-attachment-copy small{margin-top:4px;color:var(--muted);font-size:.59rem;line-height:1.4}
.notification-preview-article .notification-node-actions{display:none!important}
.notification-rich-side{position:sticky;top:16px;min-width:0;border-left:1px solid var(--line);padding-left:18px}
.notification-side-section{padding:3px 0 19px}
.notification-side-section+.notification-side-section{padding-top:18px;border-top:1px solid var(--line)}
.notification-side-section h4{margin:0;color:var(--deep);font-size:.86rem;line-height:1.35}
.notification-side-section>p{display:none}
.notification-template-trigger,.notification-preview-trigger{width:100%;min-height:42px;margin-top:10px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #b9c9c2;border-radius:5px;background:#fff;color:var(--deep);font-size:.7rem;font-weight:750}
.notification-template-trigger svg,.notification-preview-trigger svg{width:15px;height:15px}
.notification-preview-trigger{min-height:46px;background:var(--deep);border-color:var(--deep);color:#fff;box-shadow:0 5px 12px rgba(18,60,52,.15)}
.notification-clue-list{display:grid;gap:7px;margin-top:10px}
.notification-clue-list button{position:relative;min-height:62px;padding:9px 30px 9px 10px;border:1px solid var(--line);border-radius:5px;background:#fff;text-align:left;color:var(--ink)}
.notification-clue-list button:hover{border-color:var(--teal);background:#edf5f2}
.notification-clue-list span,.notification-clue-list small{display:block}
.notification-clue-list span{font-size:.7rem;font-weight:750}
.notification-clue-list small{margin-top:3px;overflow:hidden;color:var(--muted);font-size:.6rem;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.notification-clue-list svg{position:absolute;right:9px;top:50%;width:14px;height:14px;color:var(--teal);transform:translateY(-50%)}
.notification-rich .notification-attachment-row{padding-top:0;border-top:0}
.notification-share-result{margin-top:18px;padding:15px 16px;border:1px solid #bfd0c8;border-left:4px solid var(--teal);border-radius:5px;background:#f4f8f6}.notification-share-result pre{margin:0;color:var(--ink);font-family:inherit;font-size:.72rem;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}.notification-share-dialog-content{margin:16px 0 0}
.notification-save-status{display:inline-flex;align-items:center;max-width:92px;min-height:24px;overflow:hidden;margin-left:2px;padding:0 7px;border:1px solid #d9e2dc;border-radius:999px;background:#f4f7f4;color:#66736d;font-size:.58rem;font-weight:650;line-height:1;text-overflow:ellipsis;white-space:nowrap}
.notification-save-status[data-state="saving"]{border-color:#c6ddd4;background:#edf6f2;color:var(--teal-dark)}
.notification-save-status[data-state="dirty"]{border-color:#ead8bb;background:#fff8ed;color:#89612e}
.notification-save-status[data-state="error"]{border-color:#e7c8c3;background:#fff1ef;color:#8d3f35}
.notification-word-count{margin-left:2px;padding-left:8px;border-left:1px solid #dfe6e1;color:#89958f;font-size:.58rem;white-space:nowrap}
.notification-save-status button{margin-left:4px;padding:0;border:0;background:transparent;color:inherit;text-decoration:underline;font:inherit}.notification-toolbar-share{gap:3px}.notification-share-primary{background:var(--deep);border-color:var(--deep);color:#fff;box-shadow:0 3px 8px rgba(18,60,52,.14)}.notification-share-primary:hover{background:var(--teal-dark);color:#fff}.notification-toolbar-share #notificationQuickCopy[hidden]{display:none}
.notification-more{position:relative}
.notification-more summary{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--deep);cursor:pointer;list-style:none}
.notification-more summary::-webkit-details-marker{display:none}.notification-more summary svg{width:18px;height:18px}
.notification-more-menu{position:absolute;right:0;top:calc(100% + 7px);z-index:8;width:170px;padding:5px;border:1px solid var(--line);border-radius:5px;background:#fff;box-shadow:0 12px 28px rgba(15,35,28,.16)}
.notification-more-menu button{display:flex;align-items:center;gap:8px;width:100%;padding:9px;border:0;border-radius:3px;background:transparent;color:var(--ink);text-align:left;font-size:.72rem}
.notification-more-menu button:hover{background:#edf5f2}.notification-more-menu button.danger{color:#8d3f35}.notification-more-menu svg{width:15px;height:15px}
.notification-dialog{width:min(760px,calc(100% - 28px));max-height:calc(100vh - 28px);padding:0;border:0;border-radius:7px;background:#fff;color:var(--ink);box-shadow:0 24px 70px rgba(15,35,28,.28)}
.notification-dialog::backdrop{background:rgba(15,29,24,.56)}
.notification-dialog-inner{padding:22px;max-height:calc(100vh - 28px);overflow:auto}
.notification-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.notification-dialog-head h3{margin:0;color:var(--deep);font-size:1.12rem}
.notification-dialog-head p{margin:4px 0 0;color:var(--muted);font-size:.68rem}
.notification-dialog-close{width:36px;height:36px;border:1px solid var(--line);border-radius:4px;background:#fff;font-size:1.2rem}
.notification-publish-dialog{width:min(620px,calc(100% - 28px))}
.notification-publish-dialog .notification-publish-grid{margin-top:18px;align-items:start}
.notification-publish-dialog .profile-field{min-width:0}
.notification-field-label{display:block;margin-bottom:7px}
.notification-password-control{display:grid;grid-template-columns:minmax(0,1fr) 42px}
.notification-password-control input{min-width:0;border-radius:5px 0 0 5px}
.notification-password-control button{display:grid;place-items:center;border:1px solid var(--line);border-left:0;border-radius:0 5px 5px 0;background:#fff;color:var(--muted)}
.notification-password-control button:hover{background:#edf5f2;color:var(--teal)}
.notification-password-control svg{width:16px;height:16px}
.notification-generate-password{display:inline-flex;align-items:center;gap:6px;margin-top:7px;padding:0;border:0;background:transparent;color:var(--teal-dark);font-size:.68rem;font-weight:750}
.notification-generate-password svg{width:14px;height:14px}
.notification-publish-dialog .notification-risk-note{margin-top:16px}
.notification-publish-error{margin:12px 0 0;padding:9px 11px;background:#f9e9e6;color:#8d3f35;font-size:.7rem;line-height:1.5}
.notification-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}
.notification-advance-dialog{width:min(560px,calc(100% - 28px))}.notification-advance-dialog textarea{width:100%;min-height:150px;resize:vertical;padding:12px;border:1px solid var(--line);border-radius:4px;font:inherit;line-height:1.6}.notification-advance-dialog .notification-dialog-actions{align-items:center;justify-content:flex-end;gap:10px}.notification-advance-dialog .notification-dialog-actions>span{margin-right:auto;color:var(--muted);font-size:.72rem}.notification-advance-dialog .notification-dialog-actions .btn{width:auto;min-width:150px;min-height:46px;margin:0;padding:10px 16px;color:#fff!important;background:var(--teal);font-size:.82rem;font-weight:750;line-height:1.2}.notification-advance-dialog .notification-dialog-actions .btn:hover{background:var(--teal-dark)}.notification-advance-dialog .notification-dialog-actions .btn:disabled{opacity:.6;color:#fff!important}.notification-advance-dialog .notification-dialog-actions .btn svg{width:18px;height:18px;stroke:currentColor}
.notification-editor-fullscreen{position:fixed;inset:0;z-index:30;padding:18px;background:var(--bg);overflow:auto}.notification-editor-fullscreen .notification-editor-frame{min-height:calc(100vh - 36px)}.notification-editor-fullscreen .notification-editor-paper-wrap{min-height:calc(100vh - 120px)}
.notification-dialog-actions .btn{min-width:104px;min-height:42px}
.notification-confirm-dialog{width:min(520px,calc(100% - 28px))}.notification-dialog-actions .btn.danger{background:#8d3f35;border-color:#8d3f35;color:#fff}
.notification-template-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px}
.notification-template-options button{min-height:100px;padding:13px;border:1px solid var(--line);border-top:3px solid var(--teal);border-radius:5px;background:#f7f9f8;text-align:left}
.notification-template-options button:nth-child(2){border-top-color:#ba6a2b}.notification-template-options button:nth-child(3){border-top-color:#9a4e42}
.notification-template-options strong,.notification-template-options small{display:block}.notification-template-options small{margin-top:6px;color:var(--muted);font-size:.64rem;line-height:1.5}
.notification-preview-article{width:min(650px,100%);min-height:0;margin:auto;padding:38px 28px 46px}
@media(max-width:1040px){.notification-rich-layout{grid-template-columns:minmax(0,1fr) 220px}.notification-article-editor{padding-left:40px;padding-right:40px}}
@media(max-width:820px){.notification-tool-group::before{display:none}.notification-media-status{flex:1 0 100%;max-width:none;padding:2px 2px 0}.notification-editor-toolbar{gap:4px;padding:7px}.notification-tool-group{padding-right:4px}.notification-rich-layout{display:block}.notification-rich-side{position:static;margin-top:16px;padding:0;border-left:0;border-top:1px solid var(--line)}.notification-side-section{padding:17px 0}.notification-clue-list{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-editor-paper-wrap{min-height:0;padding:12px 8px 22px}[data-rich-editor]{min-height:520px}.notification-article-editor{min-height:520px;padding:38px 30px 56px}}
@media(max-width:540px){.notification-rich .notification-editor-head{display:flex;align-items:flex-start;flex-wrap:wrap}.notification-contact-control{flex:1 0 100%;margin-top:2px}.notification-contact-control select{min-width:0;flex:1}.notification-clue-list{grid-template-columns:1fr}.notification-article-editor{padding:30px 20px 46px}.notification-article-editor p,.notification-preview-article p{font-size:.96rem;line-height:1.9}.notification-article-editor h1,.notification-preview-article h1{font-size:1.65rem}.notification-article-editor h2,.notification-preview-article h2{font-size:1.22rem}.notification-asset-node{padding:14px 13px}.notification-asset-node p{grid-template-columns:1fr;gap:1px}.notification-template-options{grid-template-columns:1fr}.notification-template-options button{min-height:78px}.notification-save-status{max-width:76px}.notification-word-count{padding-left:5px}.notification-dialog{max-height:calc(100vh - 18px)}.notification-dialog-inner{padding:16px 13px;max-height:calc(100vh - 18px)}.notification-publish-dialog .notification-publish-grid{grid-template-columns:1fr}.notification-dialog-actions .btn{min-width:0;flex:1}}
