*{box-sizing:border-box}:root{font-family:Segoe UI,Arial,sans-serif;color:#294d3f;background:#f5f8f5}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:1px solid #cbd9ce;border-radius:8px;background:#fff;color:#294d3f;padding:10px 14px}button:focus-visible{outline:3px solid #b57927}header{height:106px;display:flex;align-items:center;padding:24px 32px;gap:26px;background:#fff;border-bottom:1px solid #dce4df}.brand{display:flex;align-items:center;gap:12px;font:42px Georgia;color:#36755b}.brand span{font:10px/1.6 Segoe UI;letter-spacing:2px;width:90px}.heading{border-left:1px solid #dce4df;padding-left:26px;flex:1}h1{font:28px Georgia;margin:0 0 8px}.heading p{margin:0;font-size:13px;color:#718078}p{line-height:1.6}header button{font-size:13px}main{display:grid;grid-template-columns:minmax(0,1fr) 300px;height:calc(100dvh - 106px);min-height:450px}.workspace{position:relative;min-width:0;display:flex;flex-direction:column}.toolbar{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;gap:15px;background:#f9fbf9;border-bottom:1px solid #dde5df;font-size:13px}.toolbar strong,.toolbar span{display:block}.toolbar span{color:#76867e;font-size:12px;margin-top:4px}.toolbar label{white-space:nowrap}input{accent-color:#346b50}#viewport{position:relative;flex:1;overflow:hidden;background:#eef3ef radial-gradient(#c7d5cc .8px,transparent .8px);background-size:20px 20px;cursor:grab;touch-action:none}#viewport.dragging{cursor:grabbing}#world{position:absolute;width:1917px;height:1279px;transform-origin:0 0}#lines{position:absolute;overflow:visible}line{stroke:#526e60;stroke-width:2.2}line.active{stroke:#ba7220;stroke-width:4}.card{position:absolute;border-radius:7px;background:#fff;border:1px solid #a0b5a6;border-top:3px solid #83a58d;box-shadow:0 2px 5px #2e53321c;display:flex;align-items:center;justify-content:center;padding:3px 5px;font-size:11px;line-height:1.15;white-space:pre-line;color:#263e31}.card.pink{background:#fff5f4;border-top-color:#bf9090}.card.green{background:#f3faf3;border-top-color:#80ab83}.card.yellow{background:#fffceb;border-top-color:#b6a76c}.card.blue{background:#e8f1fa;border-top-color:#729ab8}.card small{display:none;position:absolute;bottom:-12px;left:2px;font-size:8px;color:#47594e}.card.selected{outline:3px solid #be7a2d;z-index:3}.review .card.uncertain{outline:2px solid #d28a27}.review .card small{display:block}.review line.uncertain{stroke:#bd7625;stroke-dasharray:6 4}.hint{position:absolute;bottom:22px;left:24px;font-size:11px;color:#6f8175;pointer-events:none}.zoom{position:absolute;bottom:20px;right:20px;display:flex;align-items:center;background:#fff;border:1px solid #d0ddd5;border-radius:10px;box-shadow:0 4px 16px #284a3520;padding:4px;gap:2px}.zoom button{border:0;padding:9px 12px}.zoom output{font-size:12px;min-width:40px;text-align:center}.zoom #fit{border-left:1px solid #e3e9e5;border-radius:0;font-size:12px}aside{background:#fff;border-left:1px solid #dce4df;padding:28px 23px;overflow:auto;font-size:13px;color:#607268}.eyebrow{font-size:10px;letter-spacing:2px;color:#8a9c90}h2{font:25px/1.3 Georgia;color:#284d3a;white-space:pre-line}h3{font-size:14px;color:#294d3f;margin-top:24px}#details strong{font-size:11px;color:#6d8072}#details p{color:#374e40;overflow-wrap:anywhere}.notice{margin:25px 0;padding:14px;background:#f7f4ea;border-radius:8px;font-size:12px;line-height:1.6;color:#867344}.legend{border-top:1px solid #e1e7e1;margin-top:25px;padding-top:18px;display:grid;gap:12px;font-size:11px}.related,.reviewItem{display:block;width:100%;text-align:left;font-size:12px;margin:8px 0;padding:9px;line-height:1.5}.reviewItem{border-color:#e9dabc;background:#fffcf4}#details small{display:block;font-size:10px}dialog{border:1px solid #bbcbbd;border-radius:12px;padding:0;width:95vw;max-width:1600px;height:90dvh}dialog::backdrop{background:#142b24aa}.dialogbar{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;gap:12px;font-size:14px}.photoScroll{overflow:auto;height:calc(100% - 66px);background:#edf1eb}.photoScroll img{display:block;width:100%;min-width:1100px;height:auto}@media(max-width:850px){header{padding:16px;height:90px;gap:12px}.brand span{display:none}.heading{padding-left:14px}h1{font-size:21px}.heading p{font-size:11px}header button{font-size:11px;padding:8px}main{height:auto;display:flex;flex-direction:column;min-height:0}.workspace{height:70dvh;min-height:450px}aside{border-left:0;border-top:1px solid #dce4df}.toolbar{padding:12px;font-size:11px}.toolbar span{font-size:10px}.hint{bottom:68px;left:15px}.zoom{right:12px;bottom:15px}}button:disabled{cursor:default;opacity:.45}select,input,textarea{font:inherit;color:#294d3f;border:1px solid #becfc3;border-radius:6px;padding:8px;background:#fff;max-width:100%}.editorbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px 20px;background:#fff;border-bottom:1px solid #dce4df;font-size:12px}.editorbar button{padding:8px 10px}.editorbar label{display:flex;align-items:center;gap:7px}#saveState{margin-left:auto;color:#63836a;font-size:11px}main{height:calc(100dvh - 164px);grid-template-columns:minmax(0,1fr) 320px}.toolbar{padding:12px 18px;align-items:flex-start}.layoutControls{display:grid;gap:9px;font-size:11px}.layoutControls select{padding:3px;max-width:220px}#message{padding:8px 20px;background:#e4f0e5;color:#315a3b;font-size:12px;border-bottom:1px solid #cadace}#message.error{background:#fff0e5;color:#934522}#world{width:5000px;height:4000px}#lines{overflow:visible;pointer-events:none}.edge{fill:none;stroke:#668174;stroke-width:2;pointer-events:none}.edge.unverified{stroke-dasharray:6 4}.edge.legacy{stroke:#9c9b86;stroke-width:1.8;stroke-dasharray:3 5}.edge.sibling{stroke:#798fa9;stroke-dasharray:8 5}.edge.confirmed:not(.legacy){stroke:#39735a;stroke-dasharray:none;stroke-width:2.5}.edge.disputed,.review .edge.low{stroke:#b17537;stroke-dasharray:3 5}.edgeHit{fill:none;stroke:transparent;stroke-width:12;pointer-events:stroke;cursor:pointer}.edgeHit:focus{stroke:#d4a66e55;outline:none}.card{flex-direction:column;gap:3px;font-size:14px;border-top-color:#abbcac;-webkit-user-select:none;user-select:none;touch-action:none}.card span{max-width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.card em{font-style:normal;font-size:10px;color:#768577;min-height:10px}.card.confirmed{border-top-color:#3e8868;background:#f3faf4}.card.disputed{border:2px solid #b67c3b;background:#fff8ec}.card.unknown_person{border-style:dashed;background:#f5f6f2}.card.hypothesis{background:#fff5e8}.card small{font-size:9px;bottom:-15px;white-space:nowrap}.editing .card{cursor:move}.unionNode{position:absolute;width:22px;height:22px;border-radius:50%;padding:0;background:#8e9d8b;border:3px solid #eef3ef;box-shadow:0 0 0 1px #536e59;z-index:2}.unionNode.confirmed{background:#377254}.unionNode.unverified{background:#f4f1df;border-style:dashed;box-shadow:0 0 0 1px #9b977b}.unionNode.disputed{background:#c88d44}.unionNode.selected{outline:3px solid #be7a2d}.sourceMarker{fill:#eef3ef;stroke:#a39c82;stroke-width:2}.actions{display:grid;gap:7px;margin:20px 0}.actions button,#details>button{font-size:12px;text-align:left;width:100%;margin:3px 0}#reviewList{max-height:350px;overflow:auto}#reviewList button{font-size:11px;text-align:left;display:block;width:100%;margin-bottom:5px}#reviewList h4{margin:15px 0 7px}.muted{color:#78877d;font-size:12px}.primary{background:#356f54;color:#fff;border-color:#356f54}#editorDialog{width:min(780px,95vw);height:auto;max-height:92dvh;overflow:auto}#editorForm .dialogbar{position:sticky;top:0;background:#fff;border-bottom:1px solid #dce4df;z-index:4}#editorForm h2{font-size:23px;margin:8px 0}#dialogBody{padding:18px 24px}#editorForm footer{display:flex;justify-content:flex-end;gap:10px;padding:15px 24px;position:sticky;bottom:0;background:#f8faf7;border-top:1px solid #dce4df}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#5b7262;min-width:0}.field input,.field select,.field textarea{width:100%}.wide{grid-column:1/-1}.nameRow{display:grid;grid-template-columns:1fr 1.3fr 1.2fr auto;gap:8px;margin-bottom:10px;align-items:end}#formError{margin:0 24px 15px;padding:12px;background:#fff0e5;color:#934522;font-size:13px}#relationsList button,#recoveryList button{display:block;width:100%;text-align:left;font-size:12px;margin:8px 0}textarea{resize:vertical}aside{padding:22px}#details{overflow-wrap:anywhere}#sourceDialog{height:90dvh}@media(max-width:1050px){header{padding:16px;height:90px}main{height:calc(100dvh - 200px);grid-template-columns:minmax(0,1fr) 280px}.toolbar{flex-direction:column}.layoutControls{grid-template-columns:1fr 1fr;align-items:center}.editorbar{padding:8px 12px}h1{font-size:24px}}@media(max-width:850px){main{height:auto;display:flex}.workspace{height:65dvh;min-height:420px}aside{max-height:none}.formgrid{grid-template-columns:1fr}.nameRow{grid-template-columns:1fr 1fr}.brand span{display:none}.toolbar{gap:8px}.layoutControls{font-size:10px}.layoutControls select{max-width:175px}.editorbar{font-size:11px}.editorbar button{padding:7px}#saveState{margin-left:0}.hint{bottom:65px}header{gap:10px}h1{font-size:20px}.heading{padding-left:12px}#editorForm .dialogbar{padding:10px 15px}#dialogBody{padding:15px}.zoom{right:10px}}#app{height:100dvh;display:flex;flex-direction:column}header,.editorbar,#message{flex-shrink:0}main{height:auto;flex:1;min-height:250px}.workspace{min-height:0}#viewport{min-height:180px}#familyFrames{position:absolute;inset:0;pointer-events:none}.familyFrame{position:absolute;border:1.5px solid #9fc9de;border-radius:13px;background:#e5f3fc70;pointer-events:none;box-shadow:0 1px 4px #6798af0b}.familyFrame.selected{border-color:#5d9dbb;box-shadow:0 0 0 2px #a4cce03d}.familyTitle{position:absolute;top:6px;left:12px;padding:3px 8px;border:0;background:#eef7fc;color:#577f93;font-size:11px;line-height:18px;pointer-events:auto;z-index:5;max-width:calc(100% - 24px);touch-action:none;-webkit-user-select:none;user-select:none}.editing .familyTitle{cursor:move}.unionBadge{position:absolute;border:1px solid #c2d9e6;border-radius:5px;background:#f6fbfe;color:#627f8f;font-size:10px;line-height:12px;padding:2px 5px;white-space:normal;overflow-wrap:anywhere;pointer-events:auto;z-index:5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.unionBadge.confirmed{border-color:#8abda8;color:#3e735d}.unionBadge.disputed{border-color:#c6a77b;background:#fff9ef}.unionBadge.selected{outline:2px solid #b47f37;outline-offset:1px}#cards{position:absolute;inset:0;pointer-events:none}.card{z-index:3;pointer-events:auto;padding:14px 12px 10px;height:auto;gap:5px;justify-content:center;white-space:normal}.card .cardName{display:block;-webkit-line-clamp:unset;-webkit-box-orient:unset;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:18px;max-width:100%;font-size:14px}.card .cardBirth{font-size:10px;line-height:14px;min-height:0;color:#778a7d}.card .cardState{position:absolute;top:3px;right:6px;font-size:10px;font-style:normal;color:#7e9a87}.card small{position:static;font-size:8px;line-height:10px;white-space:normal;overflow-wrap:anywhere}.edge.legacy{opacity:.65;stroke-width:1.5}.edgeHit{stroke-width:9}.formSection{margin:0 0 18px;border:1px solid #dfe8e1;border-radius:10px;padding:16px;min-width:0}.formSection legend{font-size:14px;font-weight:600;padding:0 7px;color:#3d654e}.formSection>summary{font-size:14px;font-weight:600;cursor:pointer;color:#536e5d}.deathSection>.formgrid{margin-top:16px}.secondName{display:flex;gap:7px;align-items:flex-end}.secondName .field{flex:1}.iconAdd{width:34px;height:35px;padding:4px;font-size:20px;line-height:24px;flex-shrink:0;border-color:#b7cfc0}.compactNames:empty{display:none}.nameRow.compact{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto 26px;gap:8px;align-items:end;margin:0 0 8px;padding:8px;background:#f5f8f4;border-radius:7px}.nameRow.compact label{font-size:10px}.nameRow.compact input,.nameRow.compact select{padding:6px;font-size:12px}.nameRow.compact>button{padding:4px;width:26px;height:30px}.nameNote summary{font-size:10px;color:#78907f;cursor:pointer;line-height:30px}.nameNote[open]{grid-column:1/-1}.dateControl{display:flex;gap:5px;min-width:0}.dateControl input.dateText{flex:1;min-width:0;width:0}.dateControl input.dateCalendar{width:36px!important;min-width:36px;max-width:36px;padding:5px;color:#365d46;cursor:pointer;background:#f3f8f3}.dateCalendar::-webkit-datetime-edit{display:none}.dateCalendar::-webkit-calendar-picker-indicator{margin:0;padding:2px;width:18px;height:18px;cursor:pointer}.dateField small,.placeField small{font-size:10px;line-height:1.45;color:#8a9a8e}.placeField{display:flex;flex-direction:column;gap:6px;min-width:0}.layoutNote{font-size:11px;padding:8px;background:#edf6fc;border-radius:7px;color:#567a90}#editorDialog{max-height:92dvh}.unknownField{padding:10px;background:#f4f6ef;border-radius:6px}#details>button{margin:4px 0}.hint{background:#eef3efb0;border-radius:4px;padding:4px 6px;left:12px;bottom:70px}@media(max-width:850px){#app{height:auto;min-height:100dvh}main{min-height:0;flex:auto}.workspace{height:65dvh;min-height:420px}.formSection{padding:12px}.nameRow.compact{grid-template-columns:1fr 1fr 26px}.nameNote{grid-column:1/3}.dateControl input.dateText{font-size:13px}.editorbar{gap:5px}.editorbar button{font-size:10px}}#viewport{overflow:clip}#viewport.dragging,#viewport.dragging *{cursor:grabbing!important;-webkit-user-select:none;user-select:none}#viewport.dragging.movingEntity,#viewport.dragging.movingEntity *{cursor:move!important}#message:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:16px}#message button{flex:none;padding:3px 10px;font-size:20px;background:transparent;color:inherit}#warning:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 24px;background:#fff0dc;color:#774311;border-bottom:1px solid #d7b17b}#warning button{flex:none;padding:3px 10px;font-size:20px;background:transparent;color:inherit}#formError:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:12px}#formError button{flex:none;padding:2px 8px;font-size:20px;background:transparent;color:inherit}#editorForm footer{flex-wrap:wrap;z-index:4}#editorForm footer #formError{flex:0 0 100%;margin:0;box-sizing:border-box}.cloudPage{max-width:620px;margin:8vh auto;padding:28px;background:#fff;border:1px solid #dce4df;border-radius:14px}.cloudPage form,.cloudAdmin form{display:grid;gap:14px;margin:20px 0}.cloudPage label,.cloudAdmin label{display:grid;gap:6px}.cloudPage input,.cloudAdmin input,.cloudAdmin select{padding:10px;border:1px solid #cad6cf;border-radius:7px;font:inherit}.cloudPage #treeList{display:grid;gap:12px;margin:20px 0}.cloudBar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:8px 20px;background:#f8faf7;border-bottom:1px solid #dce4df;font-size:13px}.cloudBar span{margin-right:auto}.cloudAdmin{width:min(880px,94vw);max-height:90dvh;overflow:auto;padding:24px}.cloudAdmin button{margin:3px}.cloudAdmin #adminStatus{position:sticky;top:0;background:#fff;padding:10px;color:#934522}.cloudAdmin #audit{max-height:240px;overflow:auto;font-size:13px}[hidden]{display:none!important}.personProfile{width:min(920px,95vw);max-height:92dvh;padding:0;border:1px solid #ceded4;border-radius:18px;overflow:auto;background:#fafbf8;color:#284b3a}.profileHeader{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:26px 32px;border-bottom:1px solid #dce7df;background:#f3f7ef;position:sticky;top:0;z-index:2}.profileHeader h2{font-size:28px;margin:7px 0}.profileHeader p{margin:0;color:#6e8175}.profileHeader>button{font-size:24px;padding:4px 12px}.profileBody{padding:28px 32px}.profileBody section{margin-bottom:30px}.profileIntro{display:grid;grid-template-columns:220px 1fr;gap:30px}.profilePortrait{width:220px;max-height:300px;object-fit:cover;border-radius:12px}.portraitEmpty{height:250px;display:grid;place-items:center;background:#e8eee5;color:#7d9182;font-family:Georgia,serif}.profileIntro dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}.profileIntro dt{font-size:12px;color:#738578}.profileIntro dd{margin:4px 0 0;overflow-wrap:anywhere}.profileProse{white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere}.profileRelatives{margin:16px 0}.profileRelatives h4{margin:0 0 8px}.profileRelatives button{margin:3px 6px 3px 0}.profileGallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px}.profileGallery figure{margin:0;background:#fff;padding:10px;border:1px solid #e0e7dd;border-radius:10px;display:grid;gap:6px}.profileGallery img{width:100%;height:160px;object-fit:cover;border-radius:6px}.profileGallery button{font-size:12px}.profileActions{display:flex;gap:10px}.photoLightbox{max-width:95vw;max-height:95dvh;padding:16px}.photoLightbox img{display:block;max-width:88vw;max-height:80dvh;object-fit:contain;margin-top:10px}.cardPortrait{position:absolute;left:5px;top:5px;width:25px;height:25px;object-fit:cover;border-radius:50%;pointer-events:none}#details p{white-space:pre-wrap}textarea[name=biography]{min-height:180px;line-height:1.7}@media(max-width:600px){.personProfile{width:96vw;max-height:96dvh}.profileHeader,.profileBody{padding:18px}.profileHeader h2{font-size:23px}.profileIntro{grid-template-columns:1fr;gap:20px}.profilePortrait{width:150px;max-height:190px}.portraitEmpty{height:170px}.profileIntro dl{gap:12px}.profileRelatives button{display:block;width:100%;text-align:left}.profileGallery{grid-template-columns:1fr 1fr}.profileGallery img{height:130px}}.cloudAdmin nav{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid #d5e0d6;padding-bottom:14px}.adminGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:12px}.cloudAdmin table{width:100%;border-collapse:collapse;font-size:13px}.cloudAdmin td,.cloudAdmin th{text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid #e0e7df}.cloudAdmin td small{display:block;overflow-wrap:anywhere;font-size:10px;color:#758778}.adminTableWrap{overflow:auto}.adminRequest,.adminEvent{padding:16px;margin:12px 0;background:#f6f8f3;border:1px solid #dce6da;border-radius:9px}.requestValues{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cloudAdmin pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;font-size:12px}.adminFeedback{color:#8f4d28}.proposalDialog{width:min(650px,94vw);max-height:90dvh;overflow:auto;padding:24px}.proposalDialog label{display:grid;gap:7px;margin:14px 0}.proposalDialog textarea{padding:10px;line-height:1.6;min-height:90px}.proposalDialog select{padding:10px}.proposalDialog [role=status]{white-space:pre-wrap;color:#3b6d53}@media(max-width:600px){.cloudAdmin{padding:14px}.requestValues,.adminGrid{grid-template-columns:1fr}.cloudAdmin table{font-size:11px}.cloudAdmin td{padding:8px}}.profileHeader h2{overflow-wrap:anywhere}.profileBody [data-history-entries]{white-space:pre-wrap;line-height:1.8;padding:14px 0;font-size:12px}.layoutDialog{width:min(900px,94vw);max-height:90dvh;overflow:auto}.layoutDialog .layoutPreview{display:block;width:100%;height:260px;background:#eef3f6;border:1px solid #9aafba;margin:12px 0}.layoutSnapshot{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #ccd5dc}.layoutSnapshot span{overflow-wrap:anywhere}.layoutSnapshotList{max-height:42dvh;overflow:auto}.selfHighlight{outline:5px solid #e7ad29!important;box-shadow:0 0 25px #e7ad29!important}.zoom{flex-wrap:wrap}.layoutDialog{box-sizing:border-box;height:fit-content;width:min(740px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;overflow:hidden;border-radius:14px}.layoutDialog[open]{display:flex;flex-direction:column}.layoutDialog>.dialogbar{flex:none;margin:0;padding:16px 20px;border-bottom:1px solid #d5dfd7;background:#fff}.layoutDialog h2{font-size:23px;margin:0}.layoutDialog .layoutScroll{padding:14px 20px;overflow:auto;min-height:0;overscroll-behavior:contain}.layoutDialog p{line-height:1.5;margin:8px 0 14px}.layoutDialog [data-save]{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:16px 0}.layoutDialog [data-save] label{flex:1;min-width:150px;display:grid;gap:6px}.layoutDialog button{font-size:12px;padding:8px 10px}.layoutDialog .actions{display:flex;gap:6px;flex-wrap:wrap}.layoutDialog .actions button{width:auto}.layoutDialog .layoutSnapshotList{max-height:35dvh;overflow:auto;overscroll-behavior:contain}.layoutDialog .layoutSnapshot{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:9px 0;align-items:center}.layoutSnapshot strong,.layoutSnapshot small{display:block;overflow-wrap:anywhere}.layoutSnapshot small{font-size:11px;color:#738578;margin-top:4px}.layoutDialog .layoutPreview{height:min(220px,28dvh);margin:10px 0}.layoutDialog [data-actions]{position:sticky;bottom:-14px;background:#fff;padding:12px 0;margin-top:12px;border-top:1px solid #dae2dc}.relationshipSections section{padding:12px 0;border-bottom:1px solid #dce5de}.relationshipSections h3{margin:0 0 10px}.relationshipSections button{display:block;max-width:100%;margin:5px 0;text-align:left;white-space:normal;overflow-wrap:anywhere}@media(max-width:600px){.layoutDialog>.dialogbar{padding:12px}.layoutDialog h2{font-size:20px}.layoutDialog .layoutScroll{padding:10px 12px}.layoutDialog .layoutSnapshot{grid-template-columns:minmax(0,1fr) auto}.layoutSnapshot>div{grid-column:1/-1}.layoutDialog [data-actions]{bottom:-10px}.layoutControls{flex-wrap:wrap}}#viewport,#world,#cards,.card,.unionBadge{touch-action:none;user-select:none;-webkit-user-select:none}#viewport.pinching{cursor:grabbing}.card{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;justify-items:stretch;column-gap:7px;row-gap:0;padding:10px 12px}.card.hasPortrait{grid-template-columns:30px minmax(0,1fr);padding:10px}.card .cardText{min-width:0;max-width:100%;padding-right:7px;text-align:center}.card.hasPortrait .cardText{text-align:left}.card .cardName{font-size:14px;line-height:18px;overflow-wrap:anywhere}.card .cardBirth{display:block;margin-top:3px;white-space:normal;font-style:normal}.card .cardPortrait{position:static;display:block;width:30px;height:30px;border-radius:50%;object-fit:cover;align-self:center;pointer-events:none}.card .cardState{position:absolute;right:4px;top:2px;width:10px;height:10px;line-height:10px;pointer-events:none}.card small{grid-column:1/-1}.zoom #findSelf{display:grid;place-items:center;min-width:38px;min-height:36px}.unionPositionControl{display:grid;gap:6px;margin:14px 0;font-size:12px}.unionPositionControl select{max-width:100%;padding:7px}.selfPersonDialog{width:min(520px,calc(100vw - 24px));height:fit-content;max-height:calc(100dvh - 24px);overflow:auto}.selfPersonDialog h2{font-size:23px;margin:0}.selfPersonBody{padding:0 20px 18px}.selfPersonBody>label{display:grid;gap:8px;margin:15px 0}.selfPersonBody select{width:100%;min-width:0;padding:9px}.selfPersonBody .selfPersonConfirm{display:flex;align-items:center;font-size:13px}.selfPersonBody [role=status]{color:#8f4d28;font-size:13px}
