:root{color:#1d2740;font-synthesis:none;background:#eef2f8;font-family:Microsoft YaHei UI,Microsoft YaHei,Arial,sans-serif}.person-hitbox{pointer-events:all;fill:#0000!important;stroke:none!important}.person-shape rect,.person-shape circle,.person-shape path{fill:#0000;stroke:#1c263e;stroke-width:2px}.person.selected .person-shape rect,.person.selected .person-shape circle,.person.selected .person-shape path{stroke:#2b6ade;stroke-width:4px}.person-shape .carrier-dot{fill:#fff;stroke:#1c263e;stroke-width:1.7px}.marker-arrow{marker-end:url(#arrowhead)}*{box-sizing:border-box}body{min-width:1100px;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;color:#223052;background:#fff;border:1px solid #d2d9e8;border-radius:7px;padding:7px 10px}button:hover:not(:disabled){background:#eef3ff;border-color:#8fa5d4}button:disabled{cursor:not-allowed;opacity:.45}input,textarea,select{color:#1d2740;background:#fff;border:1px solid #cbd4e3;border-radius:6px;width:100%;padding:7px}textarea{resize:vertical;min-height:34px}label{margin:9px 0;font-size:13px;font-weight:650;display:block}small{color:#5e6880;margin:5px 0 0;font-weight:400;display:block}.toolbar{color:#fff;background:#15213a;align-items:center;gap:18px;min-height:78px;padding:12px 18px;display:flex;box-shadow:0 2px 10px #13203729}.brand{gap:3px;min-width:145px;font-size:18px;font-weight:750;display:grid}.brand small{color:#b7c5e3;margin:0;font-size:11px}.title-field{color:#d9e4fb;min-width:200px;margin:0}.title-field input{margin-top:4px}.actions{flex-wrap:wrap;gap:6px;display:flex}.workspace{grid-template-columns:minmax(700px,1fr) 350px;height:calc(100vh - 78px);display:grid}.canvas-panel{flex-direction:column;min-width:0;display:flex}.canvas-toolbar{color:#5c6780;background:#fff;border-bottom:1px solid #dce3ee;justify-content:space-between;align-items:center;height:48px;padding:9px 16px;font-size:13px;display:flex}.canvas-toolbar button{margin-left:4px;padding:3px 8px}.zoom{text-align:center;width:52px;display:inline-block}.canvas-scroll{cursor:grab;background:radial-gradient(#dbe3f0 1px,#0000 1px) 0 0/16px 16px;flex:1;position:relative;overflow:hidden}.canvas-scroll:active{cursor:grabbing}.svg-transform{transform-origin:0 0;filter:drop-shadow(0 4px 10px #34436125);width:max-content;margin:26px}#pedigree-svg{background:#fff;border-radius:4px;display:block}.editor{background:#fff;border-left:1px solid #dce3ee;padding:18px;overflow:auto}.editor h2{margin:0 0 8px;font-size:18px}.editor h3{margin:12px 0 5px;font-size:15px}.id{word-break:break-all;color:#68738c;margin:0 0 10px;font-size:11px}.empty-editor{color:#68738c;border:1px dashed #c8d2e4;border-radius:8px;padding:18px;line-height:1.65}.field-grid{grid-template-columns:1fr 1fr;gap:0 10px;display:grid}.check{align-items:center;gap:7px;font-weight:500;display:flex}.check input{width:auto}fieldset{border:1px solid #d4ddeb;border-radius:7px;margin:10px 0}legend{color:#4d5f80;font-size:12px}.warning{color:#80560f;background:#fff8e8;border-left:3px solid #cc861c;border-radius:3px;padding:8px;font-size:12px}hr{border:0;border-top:1px solid #e3e8f1;margin:16px 0}.relation-actions{grid-template-columns:1fr 1fr;gap:7px;display:grid}.relation-actions.compact{margin-top:7px}.danger{color:#a32137}.person{cursor:pointer;outline:none}.deceased,.marker-arrow{stroke:#18243d;stroke-width:2px;fill:none}.marker-label,.carrier-note{fill:#18243d;font-size:11px;font-weight:700}.carrier-dot{fill:#fff;stroke:#1c263e;stroke-width:1.7px}.person-number{fill:#14203a;font-size:13px;font-weight:750}.person-text{fill:#293956;font-size:12px}.relationship line,.descent line{stroke:#1e2a43;stroke-width:1.8px;fill:none;cursor:pointer}.relationship:hover line{stroke:#2b6ade;stroke-width:3px}.relationship-note{fill:#5c3c72;font-size:11px;font-weight:700}.twin line{stroke:#1e2a43;stroke-width:1.3px}.twin text{fill:#4f5d7b;font-size:14px;font-weight:800}.export-title{fill:#101b31;font-size:24px;font-weight:750}.legend{fill:#273651;font-size:12px}.legend rect,.legend circle,.legend path{stroke:#1e2a43;stroke-width:1.5px}.legend-title{font-size:14px;font-weight:750}.draft-recovery{background:#fff4d6;border-bottom:1px solid #d7b766;padding:8px 16px;font-size:13px}.draft-recovery button{margin-left:8px;padding:3px 7px}
