:root{font-family:DM Sans,system-ui,sans-serif;color:#254338;background:#f6f3eb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr) 340px}.app-shell.left-hidden{grid-template-columns:minmax(0,1fr) 340px}.app-shell.right-hidden{grid-template-columns:250px minmax(0,1fr)}.app-shell.left-hidden.right-hidden{grid-template-columns:minmax(0,1fr)}.app-shell.left-hidden .sidebar,.app-shell.right-hidden .editor{display:none}.sidebar{background:#173b30;color:#f2f6ed;padding:30px 20px;display:flex;flex-direction:column;gap:18px;box-shadow:8px 0 30px #102c2110;z-index:2}.brand{display:flex;gap:12px;align-items:center;margin-bottom:36px}.brand strong{display:block;font-family:Playfair Display,Georgia,serif;font-size:1.25rem}.brand small{color:#b7d1c0}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#d9e7b5;color:#234530;font-size:1.7rem}.section-label{color:#9cb7a6;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.16em}.tree-nav{display:block;width:100%;padding:12px 14px;text-align:left;border:0;border-radius:10px;color:#e2eee6;background:transparent;margin:4px 0}.tree-nav:hover,.tree-nav.active{background:#315b46;color:#fff}.new-tree{display:grid;gap:10px;padding-top:24px;border-top:1px solid #426353}.new-tree label{font-size:.85rem;font-weight:700}.new-tree input,.new-tree select{width:100%;background:#f9faf5}.template-picks{display:grid;gap:8px}.template-picks button{display:grid;grid-template-columns:34px 1fr;align-items:center;column-gap:8px;text-align:left;padding:10px;border:1px solid #5c7966;border-radius:12px;background:#244a3a;color:#edf6e8}.template-picks button.picked{border-color:#e9d09c;background:#335d47;box-shadow:inset 0 0 0 1px #e9d09c}.template-picks strong{font-size:.8rem}.template-picks small{grid-column:2;color:#bed4c2;font-size:.7rem}.template-icon{grid-row:1 / 3;display:grid;place-items:center;font-size:1.45rem;color:#e9d09c}.sidebar-note{margin-top:auto;color:#afc5b7;font-size:.8rem;line-height:1.5}.workspace{min-width:0;padding:34px 34px 0;background:#f8f7f2}.topbar{display:grid;gap:20px;margin-bottom:26px}.heading-row{display:flex;align-items:flex-start;gap:14px;min-width:0}.tree-heading{min-width:0;flex:1}.tree-heading h1{overflow-wrap:anywhere}.branch-back{margin-top:10px;padding:7px 11px;border:1px solid #b6cfb8;border-radius:9px;background:#eaf3e6;color:#2b6345;font-size:.82rem;font-weight:700}.branch-back:hover{background:#dceedd}.panel-toggle{flex:none;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #c9d9c8;border-radius:12px;background:#eaf1e7;color:#2c6346;font-size:1.3rem;box-shadow:0 4px 12px #204a3712}.panel-toggle:hover{background:#dcebdd;transform:translateY(-1px)}.right-toggle{margin-left:auto}h1,h2,h3{font-family:Playfair Display,Georgia,serif}h1{font-size:clamp(2rem,3vw,3rem);margin:6px 0 0;line-height:1.1}h2{margin:8px 0 24px;font-size:1.65rem}.top-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px;border:1px solid #dfe8da;border-radius:16px;background:#f0f4eb;width:fit-content;max-width:100%}.top-actions label{color:#5e7669;font-size:.8rem}.top-actions select{margin-left:8px}.top-actions button,.relation-actions button,.link-form button{border:1px solid #cbd8cd;background:#fff;color:#315741;border-radius:9px;padding:9px 11px}.top-actions button{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:.82rem;box-shadow:0 2px 8px #2449360b}.top-actions button:hover,.toolbar-actions button:hover{border-color:#8ab49a;background:#f6fbf5;transform:translateY(-1px)}.top-actions button.danger-text{background:#fff8f5;border-color:#efdad2}.top-actions button.danger-text:hover{background:#fff0eb;border-color:#dba99d}.top-actions .danger-text,.danger-text{color:#a65042}.layout-badge{color:#486d53;background:#e8eedf;border-radius:999px;padding:8px 12px;font-size:.75rem;font-weight:700}input,select,textarea{border:1px solid #d1dcd1;border-radius:9px;padding:10px 11px;color:#254338;background:#fff;outline:none}input:focus,select:focus,textarea:focus{border-color:#64956d;box-shadow:0 0 0 3px #dfeee0}.primary{background:#2e6848;border:1px solid #2e6848;color:#fff;border-radius:9px;padding:11px 15px;font-weight:700}.primary:hover{background:#23543a}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}.toolbar-title{min-width:150px}.toolbar p{color:#748b7b;font-size:.85rem}.toolbar strong{font-family:Playfair Display,Georgia,serif;font-size:1.2rem}.toolbar p{margin:2px 0}.toolbar-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.orientation-switch,.export-group{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #dce7d9;border-radius:13px;background:#edf2e9}.orientation-switch button{border:0;border-radius:9px;padding:8px 10px;background:transparent;color:#476451;font-size:.78rem;font-weight:700;white-space:nowrap}.orientation-switch button.active{background:#326a4c;color:#fff;box-shadow:0 3px 10px #204a3730}.orientation-switch button.active:hover{background:#285d41;color:#fff}.export-group{background:#f7f9f4}.export-group label{display:flex;align-items:center;gap:4px;padding-left:7px;font-weight:700}.export-group select{margin-left:0;padding:7px;border-radius:8px}.export-group button{border:0;border-radius:8px;padding:8px;background:#fff;color:#315741;font-size:.78rem;font-weight:700;white-space:nowrap}.add-person{white-space:nowrap;border-radius:12px;box-shadow:0 6px 16px #2e684832}.toolbar-actions label{font-size:.78rem;color:#647d6c}.toolbar-actions select{margin-left:5px;padding:8px}.toolbar-actions>button:not(.primary){border:1px solid #cad9cb;border-radius:9px;padding:10px;background:#fff;color:#315741}.connect-hint{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;margin:0 0 10px;border:1px solid #d6bd83;border-radius:11px;background:#fff5da;color:#69582e;font-size:.85rem}.connect-hint button{border:0;background:transparent;color:#584625;text-decoration:underline}.canvas-shell{position:relative}.canvas-scroll{position:relative;overflow:auto;width:100%;height:calc(100vh - 285px);min-height:480px;background:#f9fbf6;border:1px solid #e4e9df;border-radius:20px 20px 0 0;cursor:grab}.canvas-scroll:active{cursor:grabbing}.canvas-stage{position:relative;margin:auto}.canvas-scale{position:absolute;left:12px;bottom:12px;display:flex;align-items:center;gap:8px;width:fit-content;padding:5px 9px;border-radius:8px;background:#204a37e6;color:#fff;font-size:.7rem;cursor:auto;z-index:4}.canvas-scale input{width:88px;padding:0;accent-color:#d9e7b5}.canvas-scale button{border:1px solid #b9d6c0;border-radius:5px;padding:3px 6px;background:#f5fbf4;color:#20523a;font-size:.7rem;cursor:pointer}.tree-canvas{position:relative;transform-origin:top left;background-position:center;background-size:cover}.connections{position:absolute;top:0;right:0;bottom:0;left:0;overflow:visible}.connections path,.connections line{stroke:currentColor;stroke-width:2.5;fill:none}.connections .partner-line{stroke-dasharray:7 5;stroke-width:3}.relative-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;background:#0b1d19c7;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.relative-map{position:relative;width:min(900px,96vw);height:min(530px,86vh)}.relative-tile{position:absolute;width:220px;min-height:80px;display:flex;align-items:center;gap:14px;padding:12px 16px;background:#fff;border:3px solid #58bcc3;border-radius:14px;color:#193e3c;box-shadow:0 12px 35px #0005;text-align:left;font-size:17px;cursor:pointer}.relative-tile span{flex:none;width:42px;height:42px;display:grid;place-items:center;background:#eef5f4;border-radius:50%;color:#287c84;font-size:24px}.relative-tile:hover{background:#effcfb;transform:translateY(-3px)}.relative-sister,.relative-partner,.relative-daughter{border-color:#e18a91}.relative-sister span,.relative-partner span,.relative-daughter span{background:#fff1f1;color:#bd5661}.relative-parent{top:0;left:50%;transform:translate(-50%)}.relative-parent:hover{transform:translate(-50%,-3px)}.relative-brother{left:0;top:31%}.relative-sister{left:0;top:54%}.relative-partner{right:0;top:42%}.relative-son{left:22%;bottom:8%}.relative-daughter{right:22%;bottom:8%}.relative-center{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:16px;width:330px;min-height:140px;padding:18px;border:3px solid #53b9c1;border-radius:14px;background:#fff;color:#1d3837;box-shadow:0 20px 45px #0006}.relative-center strong{display:block;font-size:20px;line-height:1.25}.relative-center small{display:block;margin-top:6px;color:#677771}.relative-center button{align-self:flex-start;margin-left:auto;border:0;background:#fff2ef;color:#b54144;border-radius:8px;padding:7px;cursor:pointer}.relative-avatar{flex:none;width:62px;height:62px;display:grid;place-items:center;border-radius:50%;background:#e6eee7;color:#3e765a;font-size:29px}.relative-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.relative-fill{position:absolute;bottom:0;right:0;border:0;border-radius:9px;padding:10px 15px;background:#d8f0db;color:#1a5435;font-weight:700;cursor:pointer}.relative-alternative-action{position:absolute;bottom:0;left:0;border:1px solid #d9c485;border-radius:9px;padding:10px 15px;background:#fff4cf;color:#665019;box-shadow:0 6px 18px #0003;font-weight:700;cursor:pointer}.relative-alternative-action:hover{background:#ffe9a3}.relative-close{position:absolute;top:0;right:0;border:0;border-radius:50%;width:34px;height:34px;background:#fff;color:#3c4e43;font-size:24px;cursor:pointer}@media(max-width:700px){.relative-map{width:96vw;height:72vh;min-height:480px}.relative-tile{width:42%;min-height:65px;padding:8px;font-size:13px;gap:7px}.relative-tile span{width:30px;height:30px;font-size:18px}.relative-center{top:48%;width:75%;min-height:90px;padding:10px}.relative-center strong{font-size:15px}.relative-avatar{width:45px;height:45px}.relative-parent{top:0}.relative-brother{top:20%}.relative-sister{top:34%}.relative-partner{top:20%;right:0}.relative-son{left:0;bottom:12%}.relative-daughter{right:0;bottom:12%}.relative-alternative-action,.relative-fill{max-width:48%;padding:9px;font-size:.72rem}}.import-gedcom{display:block;margin:16px 0;padding:10px;border:1px dashed #9bbda1;border-radius:9px;text-align:center;color:#2b6142;cursor:pointer;font-weight:700}.import-gedcom input{display:none}.import-gedcom:hover{background:#e9f5ec}.partner-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0}.node-wrap{position:absolute;transform:translate(-50%,-50%);z-index:1}.node-wrap.selected{z-index:3}.node-markers{position:absolute;top:7px;left:calc(100% + 2px);display:grid;gap:4px;z-index:4}.comment-indicator,.alternative-indicator{display:grid;place-items:center;width:21px;height:22px;padding:0;border-radius:7px;box-shadow:0 3px 9px #483b1c2e}.comment-indicator{border:1px solid #d8bd78;background:#fff2c7;color:#755b25;pointer-events:none}.alternative-indicator{border:1px solid #9aaad7;background:#edf0ff;color:#41588f;cursor:pointer}.alternative-indicator:hover{background:#dbe2ff;transform:translateY(-1px)}.person-card{width:100%;height:100%;padding:10px;background:#ffffffeb;border:1px solid #d5e2d4;border-radius:3px;box-shadow:0 8px 25px #1a453114;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#254338;text-align:center}.person-card.shape-rounded{border-radius:18px}.person-card.shape-oval{border-radius:50%}.person-card{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.person-card.dragging{cursor:grabbing;box-shadow:0 16px 36px #1a45313d}.person-card.placeholder{border:1.5px dashed #92b49b;background:#fbfdf8}.person-card.placeholder .avatar{border:1px dashed #9bbda1;background:#eef5e9;font-size:1.5rem;font-weight:400}.person-card.placeholder .card-name{color:#52745a}.person-card.connect-target{outline:3px solid #e5bc67;outline-offset:3px}.person-card:hover,.person-card.selected{border:2px solid #3d8755;box-shadow:0 8px 26px #1a45312e}.person-card.new-highlight,.person-card.placeholder.new-highlight{border:3px solid #ef9f26;background:#fff7c6;box-shadow:0 0 0 8px #ffd66d99,0 0 36px #e6a12b;animation:new-person-glow 1.3s ease-in-out infinite alternate}@keyframes new-person-glow{0%{box-shadow:0 0 0 6px #ffd66d88,0 0 22px #e6a12b}to{box-shadow:0 0 0 12px #ffd66d55,0 0 42px #e6a12b}}.person-card img,.avatar{width:42px;height:42px;border-radius:50%;object-fit:cover}.avatar{background:#e7f0dc;display:grid;place-items:center;color:#3a7450;font-weight:700}.card-name{width:100%;font-size:.82rem;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-dates{color:#87988c;font-size:.72rem}.node-actions{position:absolute;left:50%;top:calc(100% + 6px);transform:translate(-50%);display:flex;gap:5px;width:max-content;padding:5px;background:#204a37;border-radius:10px;box-shadow:0 8px 22px #15382438}.node-actions button{border:0;border-radius:6px;padding:6px 7px;background:transparent;color:#fff;font-size:.7rem}.node-actions button:hover{background:#3b7350}.node-actions .node-delete{display:grid;place-items:center;color:#ffdad2;border-left:1px solid #557560;border-radius:0 6px 6px 0;margin-left:2px}.node-actions .node-delete:hover{background:#9e4c40;color:#fff}.empty-canvas,.welcome{display:grid;align-content:center;justify-items:center;text-align:center;min-height:520px;color:#6e8776;background:#fbfcf8;border:1px solid #e4e9df;border-radius:20px}.empty-canvas span,.welcome span{font-size:4rem}.empty-canvas h3,.welcome h2{color:#2e513b;margin:12px 0 0}.editor{background:#fff;border-left:1px solid #e2e8df;padding:32px 24px;overflow-y:auto;max-height:100vh}.editor-intro{display:grid;align-content:start;gap:12px;padding-top:32px}.intro-symbol{width:56px;height:56px;display:grid;place-items:center;border-radius:18px;background:#e9efdc;color:#3a7651;font-size:2rem;margin-bottom:22px}.editor-intro h2{margin:0;line-height:1.15}.editor-intro p{color:#728778;font-size:.9rem;line-height:1.6}.intro-steps{display:grid;grid-template-columns:34px 1fr;gap:18px 8px;border-top:1px solid #e4eae1;margin-top:20px;padding-top:24px;align-items:center}.intro-steps span{width:30px;height:30px;display:grid;place-items:center;background:#edf3e7;border-radius:50%;color:#4a7855;font-size:.7rem;font-weight:700}.intro-steps strong{font-size:.85rem;color:#446452}.editor-heading h2{margin-bottom:20px;overflow-wrap:anywhere}.editor-heading h2{margin-bottom:5px}.editor-help{color:#7b9080;font-size:.8rem;line-height:1.45;margin:0 0 18px}.photo-box{display:grid;justify-items:center;gap:8px;padding:12px;border:1px dashed #cadbc9;border-radius:13px;margin-bottom:22px}.photo-box img,.photo-box>span{width:76px;height:76px;border-radius:50%;object-fit:cover}.photo-box>span{display:grid;place-items:center;background:#e4eedb;color:#356846;font-size:1.5rem}.photo-box small{color:#90a093}.upload-label{color:#2d6d48;font-size:.82rem;font-weight:700;cursor:pointer}.upload-label input{display:none}.person-form{display:grid;gap:13px}.person-form label{display:grid;gap:6px;color:#5c7565;font-size:.8rem;font-weight:700}.person-form input,.person-form textarea{width:100%;font-weight:400}.style-form,.tree-style,.comments{display:grid;gap:10px;border-top:1px solid #e2e8df;margin-top:26px;padding-top:20px}.style-form h3,.tree-style h3,.comments h3{margin:0;font-size:1.15rem}.style-form label,.tree-style label{display:grid;gap:6px;color:#5c7565;font-size:.8rem;font-weight:700}.style-form input,.style-form select,.tree-style select{width:100%}.style-form button,.comments form button{border:1px solid #c7d7c9;border-radius:9px;padding:9px 11px;color:#2d6242;background:#f5faf4;font-weight:700}.tree-style p,.muted{color:#829487;font-size:.8rem;line-height:1.45;margin:0}.background-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.background-choices button{min-height:55px;border:1px solid #cbd8cd;border-radius:8px;font-size:.72rem;color:#355941;background:#f8fbf8}.background-choices button:nth-child(2){background:#eee1c9}.background-choices button:nth-child(3){background:url(/backgrounds/watercolor-tree.png) center / cover}.background-choices button.active{outline:2px solid #41784f;outline-offset:1px}.upload-background{display:block!important;padding:9px;border:1px dashed #a6bca7;border-radius:8px;text-align:center;cursor:pointer}.upload-background input{display:none}.readonly-person{color:#516f5a;font-size:.85rem}.comments ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.comments li{background:#f7faf6;border:1px solid #e4ebe2;border-radius:10px;padding:10px;font-size:.8rem}.comments li div{display:flex;justify-content:space-between;gap:5px}.comments li small{color:#8b9c8f}.comments li p{margin:7px 0;white-space:pre-wrap}.comments li button{border:0;padding:0;background:transparent;color:#a65042;font-size:.72rem}.comments form{display:grid;gap:7px}.comments form input,.comments form textarea{width:100%}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:20px;background:#102a20a8}.share-dialog{width:min(620px,100%);max-height:90vh;overflow:auto;padding:26px;background:#fff;border-radius:20px;box-shadow:0 22px 70px #0a241f55}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start}.dialog-head h2{margin:5px 0}.dialog-head>button{border:0;background:transparent;color:#5e7669;font-size:1.5rem}.share-dialog>p{color:#657c6b;font-size:.87rem;line-height:1.5}.share-create{display:flex;gap:8px;margin:20px 0}.share-create select{flex:1;min-width:0}.share-create input{flex:1.5;min-width:0}.share-dialog h3{margin:24px 0 8px;color:#234735;font-size:1rem}.share-item span{color:#5b7565;font-size:.8rem}.account-panel{margin:16px 0;padding:12px;border:1px solid #d7e5d9;border-radius:12px;background:#f5faf3;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.account-panel span{overflow-wrap:anywhere;color:#315741;font-size:.78rem}.account-panel button{border:0;background:transparent;color:#735d42;cursor:pointer}.auth-backdrop{z-index:40}.auth-dialog{width:min(430px,100%);padding:34px;border-radius:24px;background:#fffdf7;box-shadow:0 24px 80px #0a241f66}.auth-dialog h2{margin:10px 0;color:#214532}.auth-dialog p{line-height:1.5;color:#647667}.auth-dialog form{display:grid;gap:14px;margin-top:24px}.auth-dialog label{display:grid;gap:7px;font-size:.83rem;color:#315741}.auth-dialog input{width:100%}.auth-dialog .auth-error{margin-bottom:0;color:#a23535}.site-footer{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;padding:18px 2px 24px;color:#627a69;font-size:.76rem}.site-footer a,.site-footer button,.auth-policy a,.auth-policy button{color:#2c6849;text-decoration:underline;text-underline-offset:3px}.site-footer button,.auth-policy button{border:0;padding:0;background:transparent;cursor:pointer}.auth-dialog .auth-policy{display:flex;flex-wrap:wrap;gap:8px 18px;margin:20px 0 0;font-size:.76rem}.cookie-notice{position:fixed;z-index:60;left:50%;bottom:18px;transform:translate(-50%);display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:18px;width:min(1020px,calc(100vw - 32px));padding:20px 22px;border:1px solid #6c8b72;border-radius:20px;background:#173b30;color:#f7f9ef;box-shadow:0 20px 65px #102a2066}.cookie-notice-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#d9e7b5;color:#214532;font-size:1.8rem}.cookie-notice-copy strong{display:block;font-family:Playfair Display,Georgia,serif;font-size:1.13rem}.cookie-notice-copy p{margin:5px 0 7px;color:#d4e3d6;font-size:.8rem;line-height:1.5}.cookie-notice-copy a{color:#e9d09c;font-size:.78rem;text-decoration:underline;text-underline-offset:3px}.cookie-notice-actions{display:flex;align-items:center;gap:8px}.cookie-notice-actions button{min-width:96px;padding:10px 14px;border-radius:10px;font-weight:700;white-space:nowrap}.cookie-reject{border:1px solid #91b19a;background:transparent;color:#f4f7ef}.cookie-reject:hover{background:#315b46}.cookie-accept{border:1px solid #d9e7b5;background:#d9e7b5;color:#173b30}.cookie-accept:hover{background:#e8f3c7}@media(max-width:760px){.cookie-notice{bottom:10px;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:14px}.cookie-notice-mark{width:34px;height:34px;border-radius:10px;font-size:1.4rem}.cookie-notice-copy strong{font-size:.98rem}.cookie-notice-copy p{font-size:.75rem}.cookie-notice-actions{grid-column:1 / -1}.cookie-notice-actions button{flex:1}}.share-list{display:grid;gap:12px}.share-item{display:grid;grid-template-columns:1fr auto auto;gap:7px;align-items:center;padding:12px;border:1px solid #e4ebe2;border-radius:10px}.share-item strong{grid-column:1 / -1;font-size:.82rem}.share-item input{min-width:0;font-size:.75rem}.share-item button{border:1px solid #cbd8cd;border-radius:8px;padding:8px;background:#fff;color:#315741;font-size:.75rem}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.two-fields input{padding:9px 6px;font-size:.76rem}.relations-panel{margin-top:30px;padding-top:20px;border-top:1px solid #e2e8df}.relations-panel h3{margin:0 0 12px}.relation-actions{display:flex;gap:8px}.relation-actions button{flex:1;font-size:.78rem}.relations-panel>p{margin:-4px 0 12px;font-size:.78rem;line-height:1.4;color:#7b9080}.connect-actions{margin-top:7px}.connect-actions button.active{border-color:#cca95c;background:#fff5da}.relations-panel ul{list-style:none;padding:0;margin:12px 0}.relations-panel li{display:flex;justify-content:space-between;gap:5px;border-bottom:1px solid #edf1eb;padding:9px 0;font-size:.8rem}.relations-panel li button{border:0;background:transparent;color:#a65042;font-size:1.2rem}.link-form{display:grid;grid-template-columns:1fr 1fr;gap:7px}.link-form select:first-child,.link-form button{grid-column:1 / -1}.link-form select{min-width:0;font-size:.8rem}.remove-person{display:block;padding:8px 0;background:transparent;border:0;margin-top:12px}.alert{display:flex;justify-content:space-between;align-items:center;background:#fff0e9;color:#944c35;border:1px solid #efc6b5;padding:12px;border-radius:10px;margin-bottom:14px}.alert button{border:0;background:transparent;font-size:1.2rem}@media(max-width:1250px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.app-shell.left-hidden{grid-template-columns:minmax(0,1fr)}.app-shell.right-hidden{grid-template-columns:220px minmax(0,1fr)}.app-shell.left-hidden.right-hidden{grid-template-columns:minmax(0,1fr)}.editor{grid-column:2;max-height:none;border-left:0;border-top:1px solid #e2e8df}.app-shell.left-hidden .editor{grid-column:1}}@media(max-width:760px){.app-shell,.app-shell.left-hidden,.app-shell.right-hidden,.app-shell.left-hidden.right-hidden{display:block}.sidebar{padding:18px}.brand{margin-bottom:8px}.sidebar-note{display:none}.workspace{padding:22px 14px 0}.canvas-scroll{height:500px}.editor{padding:24px 16px}.top-actions,.toolbar-actions{width:100%}}
