body{margin:0;background:#f4f5f7}.app-header{display:flex;align-items:center;gap:10px;color:#fff}.app-title{font-size:17px;font-weight:700;color:#fff}.app-content{max-width:1000px;width:100%;margin:24px auto 0;padding:0 16px}.app-content-full{width:100%;margin:24px auto 0;padding:0 24px}.mono{font-family:ui-monospace,Cascadia Code,Consolas,monospace}.curl-block{direction:ltr;text-align:left;background:#101828;color:#d8e1ef;padding:12px 14px;border-radius:8px;overflow-x:auto;font-family:ui-monospace,Cascadia Code,Consolas,monospace;font-size:12px;line-height:1.6;margin:0;white-space:pre-wrap;word-break:break-word}.curl-diagram-wrap{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap}.curl-diagram-wrap .curl-block{flex:1 1 400px;min-width:320px;max-height:480px;overflow-y:auto}.ediagram{flex:1 1 360px;min-width:300px;direction:ltr;text-align:left}.ediagram-root{display:inline-block;background:#2456d6;color:#fff;padding:2px 14px;border-radius:6px;font-weight:600;font-family:ui-monospace,Consolas,monospace;font-size:13px;margin-bottom:8px}.ediagram-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;border-left:2px solid #dbe1fd;margin-left:10px;padding-left:12px;max-height:440px;overflow-y:auto}.ediagram-card{background:#fff;border:1px solid #e2e5ea;border-radius:8px;overflow:hidden;font-size:12px}.ediagram-card-title{background:#eef2ff;color:#3b4db8;font-weight:600;font-family:ui-monospace,Consolas,monospace;padding:4px 8px;border-bottom:1px solid #dbe1fd}.ediagram-row{display:flex;justify-content:space-between;gap:8px;padding:2px 8px;border-bottom:1px dashed #f1f2f4}.ediagram-row:last-child{border-bottom:none}.ediagram-key{font-family:ui-monospace,Consolas,monospace;color:#2d3748;white-space:nowrap}.ediagram-val{color:#6b7280;max-width:55%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entity-attr-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:3px 8px;border-radius:5px;cursor:pointer;direction:ltr}.entity-attr-row:hover{background:#f0f6ff}.attr-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}@media(max-width:1100px){.attr-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.attr-grid{grid-template-columns:1fr}}.entity-default-para{background:#fafbfc;border:1px solid #e2e5ea;border-radius:8px;padding:8px 10px;margin-top:6px;font-size:13px;white-space:pre-wrap}.tag-cloud{display:flex;flex-wrap:wrap;gap:4px;direction:ltr}.clickable-tag{cursor:pointer;font-family:ui-monospace,Consolas,monospace;margin-inline-end:0}.preview-canvas{background:#e9ebef;padding:20px 12px;max-height:72vh;overflow-y:auto;border-radius:6px}.preview-titlebar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:28px}.preview-title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-print-btn{flex:0 0 auto}@media print{body.preview-open>#root{display:none!important}body.preview-open .ant-modal-mask,body.preview-open .ant-modal-header,body.preview-open .ant-modal-close,body.preview-open .ant-modal-footer,body.preview-open .preview-print-btn{display:none!important}body.preview-open .ant-modal-root,body.preview-open .ant-modal-wrap,body.preview-open .ant-modal,body.preview-open .ant-modal-content,body.preview-open .ant-modal-body{position:static!important;inset:auto!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;box-shadow:none!important;background:#fff!important;overflow:visible!important}body.preview-open .preview-canvas{position:static!important;background:#fff!important;padding:0!important;margin:0!important;max-height:none!important;overflow:visible!important;border-radius:0!important}body.preview-open .page-sheet,body.preview-open .page-spacer{display:none!important}body.preview-open .editor-pages{position:static!important;width:auto!important;min-height:0!important;margin:0!important;box-shadow:none!important}body.preview-open .editor-flow{padding-top:0!important;padding-bottom:0!important}}.preview-para{white-space:pre-wrap;min-height:1.7em}.paper mark.tag,mark.tag{background:#fff3c4;color:#7a5b00;border-radius:4px;padding:0 .25em;font-family:ui-monospace,Consolas,monospace;font-size:.85em;direction:ltr;unicode-bidi:embed}.editor-page{margin-bottom:40px}.editor-header{position:sticky;top:0;z-index:7;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid #e2e5ea;border-radius:10px;padding:10px 16px;margin-bottom:10px}.editor-top{background:#fff;border:1px solid #e2e5ea;border-radius:10px;padding:12px 16px;margin-bottom:10px}.editor-toolbar{position:sticky;top:64px;z-index:5;background:#f7f8fa;border:1px solid #dfe3e8;border-radius:10px;padding:10px 16px;margin-bottom:10px}.editor-canvas{background:#e9ebef;border-radius:10px;padding:26px 20px 48px;display:flex;justify-content:center}.editor-pages{position:relative;width:794px;max-width:100%;margin:0 auto}.page-sheet{position:absolute;left:0;width:100%;height:1123px;background:#fff;box-shadow:0 2px 14px #00000038}.editor-flow{position:relative;z-index:1;padding:72px 76px 0;font-family:Times New Roman,Georgia,serif;font-size:12pt;line-height:1.7;color:#17202b}.margin-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.list-item{display:flex;gap:8px;align-items:flex-start;padding-inline-start:.8cm}.list-item>.list-marker{flex:0 0 auto;min-width:1.2em}.list-item>:not(.list-marker){flex:1 1 auto;min-width:0}.cell-list-item{display:flex;gap:6px;align-items:flex-start}.cell-list-item>.list-marker{flex:0 0 auto;min-width:1.1em}.cell-list-item>.cell-line{flex:1 1 auto;min-width:0}.margin-label{color:#6b7280;font-size:13px}.editor-row{margin:0 0 2px}.editor-flow .editor-para{display:block;width:100%;padding:1px 2px;margin:0;border-radius:2px;font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;resize:none}.editor-flow .editor-para.active{background:#f0f6ff}.editor-flow .editor-para.active.dashes{border-bottom:1px dashed #a8b3c2}.editor-flow .editor-para-display{padding:1px 2px;margin:0;border-radius:2px;min-height:1.7em;white-space:pre-wrap;cursor:text}.editor-flow .editor-para-display:hover{background:#f7f9fc}.editor-image-row{padding:4px 2px;border-radius:3px;cursor:pointer}.editor-image-row.active{background:#f0f6ff}.editor-image-row img{display:inline-block;vertical-align:top}.editor-image-tools{margin-top:6px}.editor-cols{display:flex;gap:12px;width:100%}.editor-cols .editor-cell-wrap{flex:1;min-width:0;border:1px dashed #d3d9e0;border-radius:3px}.cell-line{display:block;width:100%;padding:0 4px;font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;background:transparent;resize:none;overflow:hidden}.cell-line.active{background:#f0f6ff}.cell-line:focus{outline:none}.cell-image.cell-line{cursor:pointer}.cell-image.cell-line img{display:inline-block;vertical-align:top}.preview-cols{display:flex;gap:12px;width:100%}.editor-table,.preview-table{border-collapse:collapse;width:100%;table-layout:fixed;margin:0 0 2px}.editor-table td,.preview-table td{border:1px solid #333b45;padding:3px 6px;vertical-align:top}.preview-table td{min-height:1.6em;white-space:pre-wrap;word-break:break-word}.editor-table td{padding:0}.editor-table td .cell-line{padding:0 6px}@media(max-width:700px){.paper{padding:32px 24px;min-height:50vh}}
