:is(#todoDetailPanel,#meetingsView) .document-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:2px;min-height:42px;padding:6px 0;margin:0 0 18px;border-top:1px solid #eef0f2;border-bottom:1px solid #eef0f2;background:#fff;color:#363a40;font-size:12px;font-weight:400}
:is(#todoDetailPanel,#meetingsView) .document-toolbar button,:is(#todoDetailPanel,#meetingsView) .document-editor-ui button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:27px;min-height:28px;padding:4px 7px;border:0;border-radius:3px;background:transparent;color:inherit;font:inherit;cursor:pointer}
:is(#todoDetailPanel,#meetingsView) .document-toolbar button:hover,:is(#todoDetailPanel,#meetingsView) .document-editor-ui button:hover{background:#edf0f2}
:is(#todoDetailPanel,#meetingsView) .document-toolbar button:focus-visible,:is(#todoDetailPanel,#meetingsView) .document-editor-ui button:focus-visible{outline:2px solid #7098bd;outline-offset:1px}
:is(#todoDetailPanel,#meetingsView) .document-toolbar button:disabled{opacity:.4;cursor:default}
.document-toolbar svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.document-toolbar small{font-size:9px;color:#999}
.document-toolbar .document-sep{width:1px;height:17px;background:#e2e5e8;margin:0 3px}
.document-toolbar .document-color{display:inline-flex;position:relative;align-items:center;justify-content:center;width:28px;height:28px;cursor:pointer}
.document-color span{border-bottom:2px solid #bb5555;line-height:19px}
.document-color input{position:absolute;inset:0;opacity:0;width:100%;height:100%;padding:0;border:0;cursor:pointer}
.document-toolbar .document-divider{white-space:nowrap}
.document-editor-ui{font:12px/1.5 Pretendard,"Noto Sans KR",sans-serif;color:#24282d;flex:none}
.document-editor-ui [hidden]{display:none!important}
.document-type-menu{position:fixed;z-index:100080;width:244px;max-height:min(440px,85vh);overflow:auto;padding:6px;border:1px solid #e0e3e6;border-radius:7px;background:#fff;box-shadow:0 8px 28px #14253618}
:is(#todoDetailPanel,#meetingsView) .document-type-menu button{display:flex;justify-content:flex-start;width:100%;gap:11px;padding:7px 10px;text-align:left}
.document-type-menu button span{display:grid;place-items:center;width:26px;height:26px;border:1px solid #e1e4e7;border-radius:4px;color:#667788}
.document-selection-tools{display:flex;position:fixed;z-index:100070;gap:1px;padding:3px;border:1px solid #ddd;border-radius:6px;background:#fff;box-shadow:0 4px 18px #0001}
:is(#todoDetailPanel,#meetingsView) .document-editor-ui dialog{width:340px;max-width:calc(100vw - 30px);max-height:90dvh;overflow:auto;margin:auto;padding:22px;border:1px solid #dce0e5;border-radius:7px;background:#fff;color:#24282d;box-shadow:0 15px 50px #20304030;font:13px/1.5 Pretendard,"Noto Sans KR",sans-serif}
.document-editor-ui dialog:not([open]){display:none}
.document-editor-ui dialog::backdrop{background:#21324450}
.document-editor-ui h3{font-size:17px;margin:0 0 18px}
.document-editor-ui label{display:block;font-size:12px}
.document-editor-ui dialog input{display:block;width:100%;box-sizing:border-box;height:35px;margin-top:5px;padding:6px 9px;border:1px solid #cfd6de;border-radius:4px;background:#fff;font:inherit}
.document-dialog-row{display:flex;gap:14px}.document-dialog-row label{flex:1;min-width:0}
.document-dialog-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:21px}
:is(#todoDetailPanel,#meetingsView) .document-dialog-actions button{padding:6px 14px;border:1px solid #d6dde4;background:#fff}
:is(#todoDetailPanel,#meetingsView) .document-dialog-actions button[type=submit]{background:#315679;border-color:#315679;color:#fff}
:is(#todoDetailPanel,#meetingsView) .document-editor-body{display:block;min-height:220px;color:#222;font:400 14px/1.78 Pretendard,"Noto Sans KR",sans-serif;word-break:break-word;white-space:normal;outline:none;cursor:text;user-select:text}
:is(#todoDetailPanel,#meetingsView) .document-editor-body p,:is(#todoDetailPanel,#meetingsView) .document-editor-body div{margin:0;padding:0}
.document-editor-body h1{font-size:27px;line-height:1.5;margin:12px 0 6px}.document-editor-body h2{font-size:19px;line-height:1.6;margin:12px 0 6px}.document-editor-body h3{font-size:16px;margin:8px 0 4px}
:is(#todoDetailPanel,#meetingsView) .document-editor-body ol,:is(#todoDetailPanel,#meetingsView) .document-editor-body ul{margin:0;padding-left:28px}
.document-editor-body li{margin:0;padding:0;min-height:1.78em}.document-editor-body li[data-meeting-gap=true]{margin-top:1.78em}
.document-editor-body ol{list-style-type:decimal}.document-editor-body ol ol,.document-editor-body ol[type=a]{list-style-type:lower-alpha}
.document-editor-body ol ol ol>li::marker,.document-editor-body ol[data-meeting-number=paren]>li::marker{content:counter(list-item) ') '}
:is(#todoDetailPanel,#meetingsView) .document-editor-body ul[data-meeting-checklist=true]{list-style:none;padding-left:0}
.document-editor-body input[type=checkbox]{width:15px;height:15px;vertical-align:middle;margin:0 6px 2px 0;accent-color:#477398;cursor:pointer}
.document-editor-body li:has(>input[type=checkbox]:checked){text-decoration:line-through;color:#7e858b}
:is(#todoDetailPanel,#meetingsView) .document-editor-body table{border-collapse:collapse;width:100%;margin:6px 0;table-layout:fixed}
:is(#todoDetailPanel,#meetingsView) .document-editor-body td,:is(#todoDetailPanel,#meetingsView) .document-editor-body th{border:1px solid #dce1e5;padding:8px 10px;min-width:30px;text-align:left;font-size:13px;font-weight:400;vertical-align:top}
:is(#todoDetailPanel,#meetingsView) .document-editor-body th{background:#f4f5f7;font-weight:600}
:is(#todoDetailPanel,#meetingsView) .document-editor-body img{max-width:100%;height:auto;vertical-align:middle}
:is(#todoDetailPanel,#meetingsView) .document-editor-body hr{height:0;border:0;border-top:1px solid #9aabba;margin:12px 0}
.document-editor-body blockquote{border-left:3px solid #a7b7c6;background:#f7f8fa;margin:8px 0;padding:7px 12px}.document-editor-body pre{white-space:pre-wrap;font-family:monospace;background:#f4f5f6;padding:12px;margin:8px 0}
#todoDetailPanel .document-toolbar{margin:0;padding:6px 8px;flex:none}
