.geno-list{min-width:0}.geno-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.geno-list-heading h2{font-size:22px;margin:0 0 6px}.geno-list-heading p,.geno-caption{font-size:13px;color:var(--pmb-muted);line-height:1.65;margin:0}.geno-list-sort{display:flex;justify-content:space-between;gap:16px;margin:16px 0;font-size:13px}.geno-list-sort select,.geno-navigation>select{border:1px solid var(--pmb-line);background:#fff;border-radius:6px;padding:6px;color:var(--pmb-text)}.geno-list-rows{border:1px solid var(--pmb-line);border-radius:12px;background:#fff;overflow:hidden}.geno-list-rows article{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px;border-bottom:1px solid var(--pmb-line)}.geno-list-rows article:last-child{border:0}.geno-list-identity{display:flex;gap:16px;align-items:flex-start;min-width:0}.geno-list-identity>svg{width:20px;flex:none;margin-top:5px;color:var(--pmb-muted)}.geno-title-link{font-size:16px;font-weight:600;border:0;background:none;padding:0;text-align:left;color:var(--pmb-text)}.geno-list-identity p{font-size:13px;margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.geno-list-identity small,.geno-version-list small{display:block;font-size:12px;color:var(--pmb-muted);line-height:1.8}.geno-list-actions{display:flex;flex:none;align-items:center;gap:4px}.geno-templates{display:grid;gap:10px;border:0;padding:0;margin:0}.geno-templates legend{font-size:14px;font-weight:600;margin-bottom:12px}.geno-templates label{display:flex;align-items:center;gap:12px;min-height:40px}.geno-templates input,.geno-check input{accent-color:var(--pmb-green)}.pmb-modal.geno-editor-modal{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;display:flex;flex-direction:column;background:var(--pmb-bg);overflow:hidden}.pmb-modal.geno-editor-modal>header{min-height:44px;flex:none;padding:8px 18px;border:0;background:var(--pmb-bg)}.pmb-modal.geno-editor-modal>header h2{font-size:13px;font-weight:500;color:var(--pmb-muted)}.pmb-modal.geno-editor-modal>.pmb-modal__content{padding:0;flex:1;min-height:0;overflow:hidden}.pmb-modal-backdrop:has(>.geno-editor-modal){padding:0}.geno-editor{height:100%;display:flex;flex-direction:column;min-width:0}.geno-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 16px 12px;min-height:58px;flex:none}.geno-document-title{display:flex;align-items:center;gap:14px;min-width:0;flex:1}.geno-document-title input{max-width:420px;min-width:120px;background:transparent;border:1px solid transparent;font-size:18px;font-weight:600;padding:6px}.geno-document-title input:focus{background:#fff;border-color:var(--pmb-line)}.geno-save-state{font-size:12px;white-space:nowrap;color:var(--pmb-muted)}.geno-save-state--error,.geno-save-state--conflict{color:var(--pmb-danger)}.geno-header-actions,.geno-tool-group{display:flex;align-items:center;gap:2px;flex:none}.geno-header-actions button,.geno-toolbar button{min-height:36px;padding:7px 10px;font-size:12px}.geno-header-actions svg,.geno-toolbar svg{height:17px;width:17px}.geno-toolbar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:8px 16px;background:#fff;border-block:1px solid var(--pmb-line);flex:none}.geno-tool-group button[aria-pressed=true]{background:var(--pmb-green-soft);color:var(--pmb-green);outline:1px solid var(--pmb-green)}.geno-link-tool{display:flex;gap:6px;align-items:center;margin:0 8px;font-size:12px}.geno-link-tool select{border:0;background:transparent;max-width:180px;min-height:36px}.geno-zoom{background:none;border:0;color:var(--pmb-text);font-variant-numeric:tabular-nums;min-width:54px}.geno-navigation{display:flex;align-items:center;gap:16px;padding:10px 16px;flex:none;font-size:12px}.geno-search{display:flex;align-items:center;gap:8px;position:relative;max-width:320px;flex:1}.geno-search>svg{width:16px;flex:none;color:var(--pmb-muted)}.geno-search input{height:34px;font-size:13px;min-width:100px}.geno-search-results{position:absolute;top:40px;left:0;right:0;border:1px solid var(--pmb-line);background:#fff;border-radius:8px;padding:6px;box-shadow:0 5px 14px #0001;z-index:6;max-height:260px;overflow:auto}.geno-search-results button,.geno-search-results>span{display:block;width:100%;text-align:left;border:0;background:none;padding:10px;color:var(--pmb-text);font-size:13px}.geno-search-results button:hover{background:var(--pmb-bg)}.geno-count{margin-left:auto;color:var(--pmb-muted);font-variant-numeric:tabular-nums}.geno-navigation .pmb-button{padding:6px 12px;min-height:34px;font-size:12px}.geno-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:0 8px 8px;flex:1;min-height:0;position:relative}.geno-workspace.has-properties{grid-template-columns:minmax(0,1fr) 300px}.geno-drawing{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--pmb-line);border-radius:16px;background:#fff;overflow:hidden}.geno-canvas{position:relative;flex:1;min-height:180px;background:#fafcfa;overflow:hidden}.geno-canvas>svg:first-child{display:block;width:100%;height:100%;touch-action:none;user-select:none;font-family:inherit;position:absolute;inset:0}.geno-canvas--pan{cursor:grab}.geno-canvas--person,.geno-canvas--event,.geno-canvas--text,.geno-canvas--couple,.geno-canvas--parent,.geno-canvas--emotional{cursor:crosshair}.geno-element{cursor:pointer;outline:none}.geno-element:focus-visible>path:first-of-type,.geno-element.is-selected>path:first-of-type{stroke:var(--pmb-green-2);stroke-width:3}.geno-element:focus-visible>text{stroke:var(--pmb-green-2);stroke-width:.3}.geno-canvas-empty{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;pointer-events:none;color:var(--pmb-muted);font-size:13px}.geno-canvas-empty strong{font-size:17px;font-weight:500;color:var(--pmb-text)}.geno-minimap{position:absolute;width:150px;height:100px;bottom:12px;right:12px;background:#fff;border:1px solid var(--pmb-line);border-radius:8px;cursor:crosshair}.geno-canvas-hint{padding:8px 16px;font-size:11px;color:var(--pmb-muted);border-top:1px solid var(--pmb-line);background:#fff}.geno-legend{padding:10px 16px;border-top:1px solid var(--pmb-line);background:#fff;max-height:240px;overflow:auto;font-size:12px}.geno-legend summary{cursor:pointer;color:var(--pmb-text)}.geno-legend svg{display:block;width:auto;max-width:none;max-height:none;margin-top:12px}.geno-legend p{white-space:pre-wrap}.geno-properties{border:1px solid var(--pmb-line);border-radius:16px;overflow:auto;min-width:0;background:#fff}.geno-properties-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;font-size:13px;border-bottom:1px solid var(--pmb-line);position:sticky;top:0;background:#fff;z-index:1}.geno-properties-heading button,.geno-inline-message>button:not(.pmb-button){background:none;border:0;padding:5px}.geno-properties-heading svg{width:17px;height:17px}.geno-properties-fields{padding:16px}.geno-properties-fields h3{font-size:16px;margin:0 0 12px}.geno-property-section{border-bottom:1px solid var(--pmb-line);padding:12px 0}.geno-property-section>summary{font-size:13px;font-weight:600;cursor:pointer}.geno-property-section>div{display:grid;gap:14px;padding:16px 0 4px}.geno-properties .pmb-field label,.geno-properties .pmb-field__label{font-size:12px}.geno-properties .pmb-input,.geno-properties .pmb-select,.geno-properties textarea{font-size:13px;padding:8px;min-height:36px;width:100%}.geno-properties textarea{border:1px solid var(--pmb-line);border-radius:8px;resize:vertical}.geno-check{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5;cursor:pointer}.geno-check input{width:16px;height:16px;flex:none}.geno-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.geno-property-link{display:block;text-align:left;background:none;border:0;padding:6px 0;color:var(--pmb-green);font-size:12px}.geno-property-link small{display:block;color:var(--pmb-muted)}.geno-inline-message{display:flex;align-items:center;flex-wrap:wrap;gap:10px;background:#fff7df;color:var(--pmb-text);padding:10px 16px;font-size:12px;flex:none}.geno-inline-message>span{flex:1;min-width:160px}.geno-inline-message .pmb-button{font-size:12px;padding:6px 10px;min-height:34px}.geno-version-list article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--pmb-line);font-size:14px}.geno-version-preview svg{width:100%;height:300px;background:#fafcfa}.geno-version-preview h3{font-size:15px;margin-top:20px}@media(max-width:1100px){.geno-document-title{align-items:flex-start;flex-direction:column;gap:2px}.geno-document-title input{font-size:16px;width:100%}.geno-save-state{padding-left:6px}.geno-workspace.has-properties{grid-template-columns:minmax(0,1fr)}.geno-properties{position:absolute;top:0;right:8px;bottom:8px;width:310px;z-index:5;box-shadow:-8px 0 20px #0001}.geno-navigation{gap:10px}.geno-count{display:none}.geno-list-rows article{align-items:flex-start;flex-direction:column}.geno-list-actions{align-self:flex-end}.geno-tool-group{flex-wrap:wrap}.geno-toolbar{gap:2px}.geno-toolbar button{padding:7px}.geno-tool-group button span{display:none}}@media(max-width:650px){.geno-list-heading{align-items:flex-start;flex-direction:column}.geno-list-sort{flex-direction:column;gap:8px}.geno-editor-heading{padding:4px 8px 8px;align-items:flex-start;flex-wrap:wrap}.geno-header-actions{width:100%;justify-content:space-between}.geno-header-actions .pmb-button{padding:6px 8px;font-size:11px}.geno-document-title{flex-direction:row;align-items:center;gap:8px}.geno-document-title input{max-width:60%;font-size:14px}.geno-save-state{font-size:11px;white-space:normal}.geno-toolbar{padding:6px 8px}.geno-link-tool{margin:0 4px}.geno-link-tool select{max-width:145px;font-size:11px}.geno-toolbar .geno-tool-group{gap:0}.geno-navigation{padding:8px;gap:8px;flex-wrap:wrap}.geno-navigation .geno-check{display:none}.geno-search{max-width:none;flex:1 1 150px}.geno-navigation>select{max-width:150px;font-size:11px}.geno-properties{width:min(320px,calc(100% - 16px))}.geno-canvas-hint{font-size:11px;padding:6px 10px}.geno-legend{padding:8px 10px}.geno-list-rows article{padding:16px}.geno-list-actions{flex-wrap:wrap}.geno-list-actions .pmb-button{min-width:40px;min-height:40px}.geno-editor-modal>header h2{max-width:85%;font-size:11px!important}}@media print{.geno-editor-modal{position:static}.geno-toolbar,.geno-navigation,.geno-properties,.geno-header-actions{display:none}}.geno-error{padding:10px 12px;border-left:3px solid var(--pmb-danger);color:var(--pmb-danger);background:#fff;font-size:13px;line-height:1.6}.geno-list .pmb-button,.geno-editor .pmb-button{box-shadow:none}.geno-cloud-action{white-space:nowrap}.geno-local-note{font-size:12px;color:var(--pmb-muted)}.geno-promotion{padding:10px 16px;background:var(--pmb-green-soft);display:flex;align-items:center;gap:16px;flex:none;font-size:13px}.geno-promotion p{margin:0}.geno-promotion button{min-height:34px;font-size:12px}@media(max-width:1100px){.geno-local-note{display:none}.geno-header-actions{flex-wrap:wrap;justify-content:flex-end}.geno-editor-heading{align-items:flex-start}.geno-cloud-action{font-size:11px!important}.geno-promotion{flex-wrap:wrap;padding:8px 12px;font-size:12px}}@media(max-width:650px){.geno-promotion>div{flex-basis:100%}.geno-promotion p{display:none}}.pmb-modal.geno-editor-modal>header{min-height:30px;padding:3px 14px;background:#fff}.pmb-modal.geno-editor-modal>header h2{font-size:11px;line-height:1.5;max-width:calc(100vw - 68px)}.pmb-modal.geno-editor-modal>header .pmb-icon-button{width:30px;height:30px;min-height:30px;padding:6px}.geno-editor-heading{min-height:48px;padding:4px 14px 8px;gap:16px;background:#fff}.geno-document-title{gap:12px;flex-direction:row;align-items:center}.geno-document-title input{font-size:16px;max-width:340px;min-height:34px;height:34px}.geno-save-state{font-size:11px;white-space:normal;line-height:1.5;max-width:180px}.geno-header-actions{flex-wrap:nowrap;gap:4px}.geno-header-actions .pmb-button{padding:6px 10px;min-height:34px;white-space:nowrap;font-size:12px}.geno-toolbar{padding:4px 10px;gap:8px;flex-wrap:nowrap;align-items:center;min-height:44px}.geno-tool-group,.geno-view-tools{display:flex;align-items:center;gap:2px;flex:none;flex-wrap:nowrap}.geno-toolbar .pmb-button{min-height:34px;padding:6px 8px;font-size:12px}.geno-toolbar .pmb-button svg{width:16px;height:16px}.geno-toolbar .geno-tool-group button span{display:inline}.geno-link-tool{margin:0 4px;gap:4px}.geno-link-tool select{min-height:34px;font-size:12px;max-width:160px}.geno-menu{position:relative;font-size:12px;flex:none}.geno-menu summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 8px;list-style:none;cursor:pointer;border:1px solid transparent;border-radius:6px;white-space:nowrap;color:var(--pmb-text)}.geno-menu summary::-webkit-details-marker{display:none}.geno-menu summary svg{width:16px;height:16px}.geno-menu-chevron{width:12px!important;height:12px!important}.geno-menu[open]>summary,.geno-menu summary:hover{background:#f2f5f1;border-color:var(--pmb-line)}.geno-menu summary:focus-visible{outline:2px solid var(--pmb-green);outline-offset:2px}.geno-menu-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:30;width:250px;max-width:calc(100vw - 24px);max-height:min(430px,65dvh);overflow:auto;background:#fff;border:1px solid var(--pmb-line);border-radius:8px;padding:8px;box-shadow:0 5px 18px #00000014}.geno-menu-panel>.pmb-button{justify-content:flex-start;display:flex;gap:8px;width:100%;min-height:38px;text-align:left;white-space:normal;padding:8px 10px;font-size:13px}.geno-menu-info{font-size:12px;color:var(--pmb-muted);line-height:1.6;margin:4px 8px 10px}.geno-menu-panel>select{width:100%;font:inherit;min-height:40px;border:1px solid var(--pmb-line);border-radius:6px;background:#fff;padding:6px}.geno-menu-panel .geno-check{font-size:13px;padding:8px 10px;min-height:40px}.geno-menu-zoom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.geno-menu-zoom .pmb-button{width:40px;min-height:40px;justify-content:center}.geno-menu-zoom .geno-zoom{min-height:40px;font-size:13px}.geno-menu-panel .geno-search{max-width:none;width:100%;gap:0;flex:initial}.geno-menu-panel .geno-search>svg{display:none}.geno-menu-panel .geno-search input{height:40px;min-height:40px;width:100%;font-size:13px}.geno-menu-panel .geno-search{display:block}.geno-menu-panel .geno-search-results{position:static;border:0;box-shadow:none;margin-top:4px;padding:0;max-height:230px}.geno-view-tools .geno-search-menu>summary>span{display:none}.geno-header-actions>.geno-menu>summary>span{display:none}.geno-header-actions>.geno-menu>summary>.geno-menu-chevron{display:none}.geno-workspace{padding:4px 6px 6px;gap:6px}.geno-workspace.has-properties{grid-template-columns:minmax(0,1fr) 290px}.geno-drawing,.geno-properties{border-radius:8px}.geno-properties-heading{font-size:13px;padding:8px 12px;min-height:44px;gap:10px}.geno-properties-heading>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.geno-properties-heading>button{flex:none;min-width:32px;min-height:32px}.geno-properties-fields{padding:14px}.geno-properties-fields>.pmb-button{margin-bottom:8px}.geno-canvas-hint{padding:5px 12px;font-size:11px}.geno-legend{padding:6px 12px;font-size:12px}.geno-promotion{padding:6px 12px;background:#fff;border-bottom:1px solid var(--pmb-line);gap:16px;flex-wrap:nowrap;font-size:12px;line-height:1.5}.geno-promotion p{display:none}.geno-promotion>div{flex:1}.geno-promotion strong{font-weight:400}.geno-promotion .pmb-button{white-space:nowrap;min-height:32px;padding:4px 6px}@media(max-width:1200px){.geno-toolbar .geno-tool-group button span{display:none}.geno-document-title{align-items:flex-start;flex-direction:column;gap:0}.geno-save-state{padding-left:6px;max-width:none}.geno-document-title input{max-width:100%}}@media(max-width:1100px){.geno-workspace.has-properties{grid-template-columns:minmax(0,1fr)}.geno-properties{width:290px;right:6px;bottom:6px}.geno-view-tools .geno-menu>summary>span{display:none}.geno-view-tools .geno-menu>summary>.geno-menu-chevron{display:none}.geno-cloud-action{font-size:12px!important}}@media(max-width:650px){.pmb-modal.geno-editor-modal>header{min-height:28px;padding:2px 8px}.pmb-modal.geno-editor-modal>header h2{font-size:11px!important}.geno-editor-heading{flex-wrap:wrap;gap:4px;padding:2px 8px 6px;min-height:72px}.geno-document-title{flex:1 0 100%;flex-direction:row;align-items:center;gap:8px}.geno-document-title input{max-width:68%;font-size:14px;min-height:32px;height:32px;padding:4px}.geno-save-state{font-size:10px;max-width:40%;padding:0}.geno-header-actions{justify-content:flex-end;width:100%;gap:4px}.geno-header-actions .pmb-button{min-height:36px;padding:7px 9px;font-size:12px}.geno-header-actions .geno-cloud-action span{display:none}.geno-header-actions .geno-cloud-action{min-width:40px}.geno-menu summary{min-height:36px;padding:7px}.geno-toolbar{flex-wrap:wrap;gap:0;padding:2px 6px;min-height:80px;justify-content:space-between}.geno-tool-group{width:100%;justify-content:space-between;gap:0}.geno-toolbar .pmb-button{min-width:34px;min-height:38px;padding:8px}.geno-link-tool{margin:0;gap:0}.geno-link-tool>svg{display:none}.geno-link-tool select{width:128px;max-width:128px;font-size:11px;min-height:38px;padding:0 4px}.geno-view-tools{width:100%;justify-content:flex-end;gap:2px}.geno-view-tools>.pmb-button:first-child{margin-right:auto}.geno-view-tools .geno-menu-panel{right:0}.geno-view-tools .geno-search-menu .geno-menu-panel{right:-108px}.geno-properties{inset:auto 6px 6px;width:auto;max-height:46%;box-shadow:0 -4px 16px #00000014;border-radius:10px}.geno-properties-fields{padding:12px 14px}.geno-workspace{padding-top:3px}.geno-canvas-hint{font-size:10px;line-height:1.5;min-height:24px}.geno-promotion{gap:8px;padding:4px 8px;font-size:11px}.geno-promotion>div{flex-basis:auto}.geno-promotion .pmb-button{font-size:11px;min-height:36px;max-width:130px;white-space:normal}}.geno-document-title>.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pmb-modal.geno-editor-modal>header{padding-left:16px}@media(max-width:650px){.pmb-modal.geno-editor-modal>header{padding-left:12px}.geno-document-title input{max-width:75%}.geno-save-state{max-width:32%}}.geno-editor-modal>header>button[aria-label="Genogrammi nel browser"]{width:auto;height:auto;min-height:26px;border-radius:4px;flex-shrink:0;font-size:12px;padding:4px 10px}.geno-close-reminder{margin-left:12px;font-size:11px;color:var(--pmb-muted, #55645b)}@media(max-width:700px){.geno-close-reminder{display:block;margin-left:0}}.geno-editor-brand{display:inline-flex;align-items:center;gap:12px}.geno-editor-brand img{display:block;width:98px;height:30px;object-fit:contain}.geno-editor-brand>span{color:var(--pmb-muted);font-weight:400}.geno-legend{padding:0;max-height:min(52vh,460px);flex-shrink:0}.geno-legend summary{display:flex;align-items:center;gap:9px;padding:10px 14px;list-style:none;font-weight:600}.geno-legend summary::-webkit-details-marker{display:none}.geno-legend summary:hover{background:#f5f8f5}.geno-legend summary:focus-visible{outline:2px solid var(--pmb-primary, #315c45);outline-offset:-3px}.geno-legend summary>span{flex:1}.geno-legend summary small{margin-left:12px;font-size:11px;color:var(--pmb-muted);font-weight:400}.geno-legend[open] .geno-legend-chevron{transform:rotate(180deg)}.geno-legend-content{padding:0 16px 16px}.geno-legend-intro{color:var(--pmb-muted);max-width:920px;margin:4px 0 16px;line-height:1.6}.geno-legend-content h3{margin:18px 0 8px;font-size:13px;font-weight:600}.geno-legend-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));column-gap:24px}.geno-legend-entry{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--pmb-line);min-width:0}.geno-legend .geno-legend-entry svg{width:78px;height:48px;margin:0;flex-shrink:0}.geno-legend-entry strong{font-size:12px;font-weight:600}.geno-legend-entry p{margin:3px 0 0;font-size:12px;color:var(--pmb-muted);white-space:normal;line-height:1.5}.geno-legend-custom{overflow-wrap:anywhere}@media(max-width:650px){.geno-editor-brand{gap:8px}.geno-editor-brand img{width:80px;height:28px}.geno-editor-brand>span{display:none}.geno-legend summary small{display:none}.geno-legend-content{padding:0 12px 12px}}
