:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--eiva-primary: #ff4d33;--eiva-primary-soft: #fff3f0;--eiva-text: #343941;--eiva-muted: #68727f;--eiva-caption: #8f98a4;--eiva-border: #e4e8ee;--eiva-border-soft: #edf0f4;--eiva-surface: #ffffff;--eiva-bg: #f5f7fb;--eiva-danger: #dc2626;--eiva-success: #198754;--eiva-warning: #b7791f;--eiva-page-max: 1180px;--eiva-page-gap: 16px;--eiva-page-top: 24px;--eiva-radius-panel: 18px;--eiva-radius-card: 14px;--eiva-radius-input: 10px;--eiva-radius-pill: 999px;--eiva-shadow-soft: 0 12px 32px rgba(20, 30, 50, .08);--eiva-shadow-elevated: 0 18px 44px rgba(20, 30, 50, .12);--eiva-font-page-title: 28px;--eiva-line-page-title: 34px;--eiva-font-section-title: 22px;--eiva-line-section-title: 28px;--eiva-font-card-title: 16px;--eiva-line-card-title: 22px;--eiva-font-body: 14px;--eiva-line-body: 20px;--eiva-font-small: 12px;--eiva-line-small: 16px;--eiva-font-caption: 11px;--eiva-line-caption: 14px;--eiva-font-button: 13px;--eiva-line-button: 16px;--eiva-nav-height: 72px;--eiva-nav-item-width: 88px;--eiva-nav-item-compact-width: 72px;--eiva-nav-icon-size: 26px;--eiva-nav-avatar-size: 32px;--eiva-nav-label-size: 12px;--eiva-nav-badge-size: 17px;color:var(--eiva-text);background:var(--eiva-bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;background:#eef2f7}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;background:#101827;color:#f8fafc;border-bottom:1px solid #243044}.topbar h1{margin:0;font-size:24px;line-height:1.1;font-weight:760}.topbar p{margin:6px 0 0;color:#9aa8bc;font-size:13px}.session{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;font-size:13px}.session span:not(.badge){max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tabs{display:flex;gap:6px;padding:10px 12px;overflow-x:auto;background:#172033;border-bottom:1px solid #243044}.tabs button{flex:0 0 auto;min-height:34px;padding:0 12px;border:1px solid #334155;border-radius:6px;color:#cbd5e1;background:#1f2a3d;font-size:13px;font-weight:650}.tabs button.active{color:#0f172a;background:#f8fafc;border-color:#f8fafc}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;padding:14px}.primary-column,.side-column{display:grid;align-content:start;gap:14px;min-width:0}.panel{background:#fff;border:1px solid #d9e1ec;border-radius:8px;padding:14px;box-shadow:0 8px 24px #0f172a0f;min-width:0}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.panel h2{display:flex;align-items:center;gap:8px;margin:0;font-size:17px;line-height:1.2;color:#172033}.panel h3{margin:12px 0 8px;font-size:14px;line-height:1.2;color:#334155}.panel-actions,.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.button-row{margin-top:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 11px;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc;color:#172033;font-size:13px;font-weight:700}.btn.primary{border-color:#2563eb;background:#2563eb;color:#fff}.btn.danger{border-color:#dc2626;background:#dc2626;color:#fff}.btn.ghost:hover,.btn.primary:hover,.btn.danger:hover{filter:brightness(.97)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.form-grid.single{grid-template-columns:minmax(0,1fr)}.field,.check-field{display:grid;gap:5px;min-width:0;color:#334155;font-size:12px;font-weight:700}.check-field{display:flex;align-items:center;min-height:40px;padding-top:18px}.field.span-2{grid-column:span 2}.field input,.field select,.field textarea,.inline-form input{width:100%;min-height:36px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px;background:#fff;color:#172033;font-size:13px;font-weight:520;outline:none}.field textarea{min-height:74px;resize:vertical;line-height:1.4}.field input:focus,.field select:focus,.field textarea:focus,.inline-form input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.graph-shell{border-radius:8px;border:1px solid #1e293b;overflow:hidden;background:#0b1120}.graph-toolbar{display:flex;justify-content:space-between;gap:12px;min-height:36px;padding:9px 12px;color:#cbd5e1;background:#111827;font-size:12px;font-weight:650}.graph-canvas{height:560px;min-height:420px}.view-switch{display:inline-flex;gap:2px;padding:3px;margin-bottom:10px;border:1px solid #cbd5e1;border-radius:8px;background:#f1f5f9}.view-switch button{min-height:32px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:#475569;font-size:13px;font-weight:760}.view-switch button.active{background:#fff;color:#172033;box-shadow:0 1px 5px #0f172a1f}.path-summary{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr) auto;align-items:center;gap:10px;min-height:38px;margin:0 0 10px;padding:8px 10px;border:1px solid #fde68a;border-radius:8px;background:#fffbeb;color:#334155;font-size:12px}.path-summary strong{color:#92400e;font-size:13px}.path-summary span,.path-summary small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.path-summary small{color:#64748b;font-weight:720}.classic-tree-shell{border:1px solid #d9e1ec;border-radius:8px;overflow:hidden;background:#f8fafc}.classic-tree-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:9px 12px;border-bottom:1px solid #d9e1ec;background:#fff;color:#475569;font-size:12px;font-weight:720}.classic-tree-toolbar span{min-width:0}.classic-tree-scroll{max-height:640px;overflow:auto;background:linear-gradient(rgba(148,163,184,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.11) 1px,transparent 1px),#f8fafc;background-size:34px 34px;overscroll-behavior:contain}.classic-tree-stage{position:relative;min-width:100%}.classic-tree-lines{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:auto}.relationship-line{pointer-events:stroke}.relationship-line-group{cursor:help;transition:opacity .12s ease}.relationship-line-group.dimmed{opacity:.16}.relationship-line-group.path-highlight{opacity:1}.relationship-label rect{fill:#fffffff5;stroke:#cbd5e1;stroke-width:1}.relationship-label text{fill:#334155;font-size:8.5px;font-weight:780;letter-spacing:0}.relationship-label{opacity:0;pointer-events:none;transition:opacity .12s ease}.relationship-line-group:hover .relationship-label{opacity:1}.classic-person-frame{position:absolute;z-index:1}.classic-person{position:relative;display:grid;align-content:center;gap:3px;width:100%;height:100%;padding:10px 12px;overflow:hidden;text-align:left;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172033;box-shadow:0 8px 18px #0f172a14;transition:opacity .12s ease,border-color .12s ease,box-shadow .12s ease,background .12s ease}.classic-person.current-user{padding-right:42px}.classic-person .me-badge{position:absolute;top:7px;right:8px;display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:18px;padding:0 7px;border-radius:999px;background:#172033;color:#fff;font-size:9px;font-weight:820;line-height:1;text-transform:uppercase;box-shadow:0 2px 6px #0f172a2e}.classic-person:hover,.classic-person:focus-visible{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb21,0 8px 18px #0f172a14;outline:none}.classic-person strong,.classic-person span,.classic-person small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classic-person strong{font-size:13px;line-height:1.15;font-weight:820}.classic-person span{color:#334155;font-size:12px;font-weight:680}.classic-person small{color:#64748b;font-size:11px;line-height:1.2;font-weight:680}.classic-person.selected{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px #2563eb24,0 10px 22px #2563eb1f}.classic-person.exact{border-color:#22c55e;background:#f0fdf4}.classic-person.possible{border-color:#f59e0b;background:#fffbeb}.classic-person.plain{background:#fff}.classic-person.on-path{border-color:#facc15;background:#fffbeb;box-shadow:0 0 0 3px #facc152e,0 10px 22px #92400e1a}.classic-person.path-target{border-color:#f97316;background:#fff7ed}.classic-person.dimmed{opacity:.28}.classic-person-frame.dimmed .quick-add-relative{opacity:.15}.quick-add-relative{position:absolute;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:1px solid #94a3b8;border-radius:999px;background:#fff;color:#172033;font-size:16px;line-height:1;font-weight:820;box-shadow:0 4px 12px #0f172a29;opacity:0;transform:translate(-50%,-50%);transition:opacity .12s ease,background .12s ease,border-color .12s ease,color .12s ease}.classic-person-frame:hover .quick-add-relative,.classic-person-frame:focus-within .quick-add-relative{opacity:1}.quick-add-relative:hover,.quick-add-relative:focus-visible{border-color:#2563eb;background:#2563eb;color:#fff;outline:none}.quick-add-relative.top{top:-9px;left:50%}.quick-add-relative.bottom{top:calc(100% + 9px);left:50%}.quick-add-relative.right{top:50%;left:calc(100% + 10px)}.quick-add-relative.left{top:50%;left:-10px}.classic-tree-empty{padding:42px 18px;color:#64748b;font-size:13px;font-weight:650;text-align:center}.classic-tree-legend{display:flex;flex-wrap:wrap;gap:10px 16px;padding:10px 12px;border-top:1px solid #d9e1ec;background:#fff;color:#475569;font-size:12px;font-weight:720}.classic-tree-legend span{display:inline-flex;align-items:center;gap:6px}.legend-dot{width:9px;height:9px;border-radius:999px;display:inline-block}.legend-dot.exact{background:#22c55e}.legend-dot.possible{background:#f59e0b}.legend-line{width:24px;height:0;display:inline-block;border-top:2px solid #2563eb}.legend-line.confirmed{border-color:#16a34a}.legend-line.suggested{border-color:#2563eb;border-top-style:dashed}.legend-line.conflict{border-color:#ea580c}.legend-line.step{border-color:#d97706;border-top-style:dashed}.legend-line.path{border-color:#facc15;border-top-width:4px}.mini-grid,.details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.span-2{grid-column:span 2}.card-block{display:grid;gap:4px;min-width:0;padding:10px;border-radius:8px;border:1px solid #d9e1ec;background:#f8fafc;color:#334155;font-size:13px}.card-block strong{color:#172033}.inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.scroll-list{display:grid;align-content:start;gap:7px;max-height:360px;overflow:auto;padding:2px}.scroll-list.compact{max-height:260px}.row-button,.item{display:grid;gap:3px;width:100%;min-height:42px;padding:8px 10px;text-align:left;border:1px solid #d9e1ec;border-radius:6px;background:#fff;color:#172033}.row-button:hover,.row-button.selected{border-color:#2563eb;background:#eff6ff}.row-button span,.item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}.row-button small,.item small{color:#64748b;font-size:12px}.empty{padding:18px;border:1px dashed #cbd5e1;border-radius:8px;color:#64748b;font-size:13px;text-align:center}.badge{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:#e2e8f0;color:#334155;font-size:12px;font-weight:800;white-space:nowrap}.badge.green{background:#dcfce7;color:#166534}.badge.red{background:#fee2e2;color:#991b1b}.badge.yellow{background:#fef3c7;color:#92400e}.badge.blue{background:#dbeafe;color:#1d4ed8}.table-like{display:grid;border:1px solid #d9e1ec;border-radius:8px;overflow:hidden}.table-row{display:grid;grid-template-columns:160px minmax(0,1fr) minmax(0,2fr);gap:8px;align-items:center;min-height:42px;padding:7px 9px;border-bottom:1px solid #e5eaf2;font-size:13px}.table-row:last-child{border-bottom:0}.options-cell{display:flex;flex-wrap:wrap;gap:6px}.options-cell button,.endpoint-grid button{min-height:28px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#334155;font-size:12px;font-weight:650}.endpoint-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.endpoint-grid button{text-align:left;padding:8px}.status-stack{display:grid;gap:8px;font-size:13px;color:#334155}.json-block{max-height:560px;overflow:auto;margin:0;padding:10px;border-radius:8px;background:#0f172a;color:#dbeafe;font-size:12px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.json-block.small{max-height:260px;margin-top:12px}.json-block.error{background:#450a0a;color:#fee2e2}.authenticated-home{min-height:100vh;background:var(--eiva-bg);color:var(--eiva-text)}.internal-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:clamp(16px,1.4vw,24px);min-height:var(--eiva-nav-height);padding:0 clamp(22px,3vw,48px);border-bottom:1px solid var(--eiva-border-soft);background:var(--eiva-surface);box-shadow:0 1px #272d350a}.internal-logo{flex:0 0 auto;display:inline-flex;align-items:center;background:transparent;color:var(--eiva-text);text-decoration:none}.internal-logo img{display:block;width:clamp(150px,9.5vw,206px);height:auto;background:transparent}.internal-logo-mark{display:grid;place-items:center;width:42px;height:42px;border:3px solid #ff4d33;border-radius:50%;color:#ff4d33;font-size:25px;font-family:Georgia,Times New Roman,serif;font-weight:700;line-height:1}.internal-logo-word{color:var(--eiva-text);font-size:clamp(42px,4vw,64px);font-family:Georgia,Times New Roman,serif;font-weight:400;letter-spacing:.04em;line-height:1}.internal-header-right{position:absolute;left:50%;transform:translate(-50%);flex:0 1 auto;display:flex;align-items:center;justify-content:center;gap:var(--eiva-page-gap);width:max-content;max-width:calc(100% - 260px);min-width:0}.internal-nav{flex:0 1 auto;display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;gap:clamp(6px,.7vw,12px);min-width:0;height:var(--eiva-nav-height);overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none}.internal-nav::-webkit-scrollbar{display:none}.internal-main-nav{flex:0 1 auto}.internal-nav-button{position:relative;flex:0 0 var(--eiva-nav-item-width);display:grid;justify-items:center;align-content:center;gap:4px;width:var(--eiva-nav-item-width);min-width:var(--eiva-nav-item-width);min-height:58px;padding:6px 4px;border:0;border-radius:var(--eiva-radius-card);background:transparent;color:#3f4146;letter-spacing:0}.internal-nav-button:hover,.internal-nav-button:focus-visible{color:var(--eiva-primary);outline:none}.internal-nav-button.active{background:#f3f3f3;color:var(--eiva-primary)}.internal-nav-button[data-nav-section=messages]{flex-basis:98px;width:98px;min-width:98px}.internal-nav-button[data-nav-section=add-relative],.internal-nav-button[data-nav-section=tree]{flex-basis:var(--eiva-nav-item-compact-width);width:var(--eiva-nav-item-compact-width);min-width:var(--eiva-nav-item-compact-width)}.internal-nav-button[data-nav-section=tree]{margin-left:calc(clamp(8px,.9vw,14px)*-.45)}.internal-icon-wrap{position:relative;display:grid;place-items:center;width:var(--eiva-nav-avatar-size);height:var(--eiva-nav-avatar-size)}.ui-icon{display:inline-block;width:var(--ui-icon-size, 1em);height:var(--ui-icon-size, 1em);flex:0 0 auto;background-color:currentColor;mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}.internal-icon-wrap .ui-icon{width:var(--eiva-nav-icon-size);height:var(--eiva-nav-icon-size)}.internal-nav-badge{position:absolute;top:-2px;right:-7px;display:grid;place-items:center;min-width:var(--eiva-nav-badge-size);height:var(--eiva-nav-badge-size);padding:0 5px;border:2px solid #ffffff;border-radius:var(--eiva-radius-pill);background:var(--eiva-primary);color:var(--eiva-surface);font-size:10px;line-height:1;font-weight:900;letter-spacing:0}.nav-profile-avatar{display:grid;place-items:center;width:var(--eiva-nav-avatar-size);height:var(--eiva-nav-avatar-size);border:2px solid #ffffff;border-radius:50%;background:linear-gradient(135deg,#ff9f43,var(--eiva-primary) 44%,#6e67dd);color:var(--eiva-surface);object-fit:cover;font-size:11px;line-height:1;font-weight:950;letter-spacing:0;box-shadow:0 0 0 2px #ff4d332e}.nav-profile-avatar.fallback{background:linear-gradient(135deg,#ff9f43,var(--eiva-primary) 44%,#6e67dd)}.internal-nav-button.active .nav-profile-avatar,.internal-nav-button:hover .nav-profile-avatar,.internal-nav-button:focus-visible .nav-profile-avatar{box-shadow:0 0 0 2px #ff4d3352}.internal-nav-separator{align-self:center;flex:0 0 auto;width:1px;height:36px;margin:0 0 0 clamp(2px,.45vw,8px);background:#dfe4eb}.profile-dropdown{position:fixed;z-index:30;top:0;left:0;display:grid;gap:8px;width:min(286px,calc(100vw - 24px));padding:14px 14px 12px;border:1px solid rgba(224,229,236,.88);border-radius:14px;background:#fff;box-shadow:0 16px 42px #262d382e;color:#343941;transform:translate(-50%)}.profile-dropdown-user{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.profile-dropdown-avatar{display:grid;place-items:center;width:44px;height:44px;border:2px solid #ffffff;border-radius:50%;background:linear-gradient(135deg,#ff9f43,#ff4d33 44%,#6e67dd);color:#fff;object-fit:cover;font-size:12px;line-height:1;font-weight:950;letter-spacing:0;box-shadow:0 0 0 2px #ff4d332e}.profile-dropdown-user strong{display:block;overflow:hidden;color:#343941;font-size:16px;line-height:1.1;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.profile-dropdown-user small{display:block;margin-top:2px;color:#68727f;font-size:12px;line-height:1.2;font-weight:700}.profile-dropdown-primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;margin-top:2px;border:0;border-radius:999px;padding:0 12px;background:#ff4d33;color:#fff;font-size:13px;line-height:1;font-weight:900}.profile-dropdown-primary .ui-icon{width:16px;height:16px}.profile-dropdown-divider{height:1px;margin:1px -14px 0;background:#e7ebf0}.profile-dropdown-item{display:flex;align-items:center;gap:9px;min-height:32px;border:0;border-radius:8px;padding:5px 6px;background:transparent;color:#3f4651;font-size:13px;line-height:1.2;font-weight:760;text-align:left}.profile-dropdown-item:hover,.profile-dropdown-item:focus-visible{background:#fff3f0;color:#ff4d33;outline:none}.profile-dropdown-item .ui-icon{width:18px;height:18px;color:inherit}.profile-dropdown-item.danger{color:#ff4d33}.internal-nav-glyph{position:relative;display:block;width:27px;height:27px;color:currentColor}.internal-nav-glyph:before,.internal-nav-glyph:after{content:"";position:absolute;border:2px solid currentColor}.internal-nav-glyph.section-tree:before{top:5px;right:5px;bottom:5px;left:5px;border-radius:50%}.internal-nav-glyph.section-tree:after{left:50%;top:2px;width:0;height:22px;border-width:0 0 0 2px;box-shadow:-8px 8px 0 -1px currentColor,8px 8px 0 -1px currentColor;transform:translate(-50%)}.internal-nav-glyph.section-add-relative:before{top:5px;right:5px;bottom:5px;left:5px;border-radius:50%}.internal-nav-glyph.section-add-relative:after{left:50%;top:50%;width:16px;height:16px;border-width:2px 0 0 2px;transform:translate(-50%,-50%) rotate(45deg)}.internal-nav-glyph.section-person-card:before{left:8px;top:3px;width:9px;height:9px;border-radius:50%}.internal-nav-glyph.section-person-card:after{left:4px;bottom:3px;width:17px;height:10px;border-radius:999px 999px 4px 4px}.internal-nav-glyph.section-notifications:before{left:6px;top:4px;width:15px;height:17px;border-radius:9px 9px 5px 5px}.internal-nav-glyph.section-notifications:after{left:10px;bottom:3px;width:7px;height:4px;border-width:0 0 2px;border-radius:0}.internal-nav-glyph.section-profile:before{top:2px;right:2px;bottom:2px;left:2px;border-radius:50%;background:radial-gradient(circle at 62% 34%,#ffe5c8 0 12%,transparent 13%),linear-gradient(135deg,#ffb24f,#fb6f6a 45%,#5267d8);box-shadow:inset 0 0 0 2px #fff}.internal-nav-glyph.section-profile:after{display:none}.internal-nav-glyph.section-settings:before{top:4px;right:4px;bottom:4px;left:4px;border-radius:50%}.internal-nav-glyph.section-settings:after{left:50%;top:50%;width:5px;height:5px;border-radius:50%;transform:translate(-50%,-50%)}.internal-nav-label{display:inline-flex;align-items:center;justify-content:center;gap:3px;width:100%;max-width:var(--eiva-nav-item-width);color:inherit;font-size:var(--eiva-nav-label-size);line-height:var(--eiva-line-small);font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.cabinet-foundation{position:relative;width:min(var(--eiva-page-max),calc(100% - 48px));margin:var(--eiva-page-top) auto 56px}.cabinet-tree-layer{position:relative;z-index:1;transition:opacity .18s ease,filter .18s ease}.cabinet-tree-layer.is-dimmed{opacity:.72;filter:brightness(.94) saturate(.9);pointer-events:none;-webkit-user-select:none;user-select:none}.cabinet-tree-layer.is-blurred{opacity:.56;filter:blur(4px) brightness(.86) saturate(.82)}.cabinet-overlay-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;border-radius:var(--eiva-radius-panel);background:#f5f7fb57;pointer-events:auto}.cabinet-overlay-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:grid;justify-items:center;align-items:start;overflow:visible;pointer-events:none}.cabinet-overlay-layer>*{width:100%;pointer-events:auto}.cabinet-panel{display:grid;gap:var(--eiva-page-gap);padding:clamp(20px,2.2vw,28px);border:1px solid var(--eiva-border);border-radius:var(--eiva-radius-panel);background:var(--eiva-surface);box-shadow:var(--eiva-shadow-soft)}.cabinet-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--eiva-page-gap)}.cabinet-panel-header span{display:block;margin-bottom:4px;color:var(--eiva-caption);font-size:var(--eiva-font-small);line-height:var(--eiva-line-small);font-weight:800}.cabinet-panel-header h2{margin:0;color:var(--eiva-text);font-size:var(--eiva-font-page-title);line-height:var(--eiva-line-page-title);font-weight:850}.cabinet-panel-header strong{flex:0 0 auto;border-radius:var(--eiva-radius-pill);padding:8px 12px;background:#ff4d331a;color:var(--eiva-primary);font-size:var(--eiva-font-button);line-height:var(--eiva-line-button);font-weight:850}.cabinet-muted{max-width:760px;margin:0;color:var(--eiva-muted);font-size:var(--eiva-font-body);line-height:var(--eiva-line-body);font-weight:650}.cabinet-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.cabinet-card-grid.compact{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.cabinet-person-card{display:grid;justify-items:start;gap:7px;min-height:112px;border:1px solid #e1e5eb;border-radius:14px;padding:14px;background:#fff;color:#343941;text-align:left}.cabinet-person-card:hover,.cabinet-person-card:focus-visible,.cabinet-person-card.selected{border-color:#ff4d338f;box-shadow:0 10px 22px #ff4d3314;outline:none}.cabinet-person-card.pending{background:#f5f6f8;color:#6f7782}.cabinet-person-card strong{font-size:15px;line-height:1.2;font-weight:850}.cabinet-person-card small,.cabinet-list-row small{color:#7d8691;font-size:12px;font-weight:750}.cabinet-avatar{display:block;width:34px;height:34px;border:2px solid #ffffff;border-radius:50%;background:linear-gradient(135deg,#ffb24f,#fb6f6a 45%,#5267d8);box-shadow:0 0 0 2px #ff4d333d}.cabinet-relationship-strip{display:flex;flex-wrap:wrap;gap:8px}.cabinet-relationship-strip button{min-height:34px;border:1px solid #dfe4eb;border-radius:999px;padding:0 12px;background:#fff;color:#58616d;font-size:12px;font-weight:800}.cabinet-relationship-strip button.selected{border-color:#ff4d338f;background:#ff4d331a;color:#ff4d33}.cabinet-placeholder-form,.cabinet-detail-grid,.cabinet-settings-list{display:grid;gap:10px}.cabinet-placeholder-form span,.cabinet-detail-grid span,.cabinet-setting-row{display:grid;gap:4px;border:1px solid #e1e5eb;border-radius:12px;padding:12px 14px;background:#f9fafc;color:#343941;font-size:14px;font-weight:750}.cabinet-detail-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.cabinet-detail-grid small{color:#8b949f;font-size:11px;text-transform:uppercase}.cabinet-panel h3{margin:4px 0 -6px;color:#343941;font-size:16px}.cabinet-list{display:grid;gap:10px}.cabinet-list-row{display:grid;gap:5px;width:100%;border:1px solid #e1e5eb;border-radius:14px;padding:14px;background:#fff;color:#343941;text-align:left}.cabinet-list-row.selected{border-color:#ff4d338f;background:#ff4d3314}.cabinet-list-row strong{color:#343941;font-size:15px}.cabinet-list-row p{margin:0;color:#5e6874;font-size:14px;line-height:1.4;font-weight:650}.cabinet-setting-row{display:flex;align-items:center;justify-content:space-between;border:1px solid #e1e5eb;text-align:left}.cabinet-setting-row strong{color:#ff4d33}.messages-section{display:grid;justify-items:center;gap:var(--eiva-page-gap)}.messages-module{position:relative;width:min(960px,100%)}.messages-module.is-expanded .messages-shell{width:100%;min-height:calc(100vh - var(--eiva-nav-height) - 48px);height:calc(100vh - var(--eiva-nav-height) - 48px)}.messages-module.is-expanded{width:min(calc(100vw - 96px),1360px)}.messages-shell{display:grid;grid-template-columns:minmax(280px,300px) minmax(0,1fr);width:100%;min-height:540px;height:min(560px,calc(100vh - 160px));overflow:hidden;border:1px solid var(--eiva-border);border-radius:var(--eiva-radius-panel);background:#fffffff5;box-shadow:var(--eiva-shadow-soft)}.messages-side-actions{position:absolute;top:16px;left:calc(100% + 12px);display:grid;gap:6px;padding:0;background:transparent}.messages-side-actions button,.contacts-side-actions button{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--eiva-muted)}.messages-side-actions button:hover,.messages-side-actions button:focus-visible,.contacts-side-actions button:hover,.contacts-side-actions button:focus-visible{background:var(--eiva-primary-soft);color:var(--eiva-primary);outline:none}.messages-side-actions .ui-icon,.contacts-side-actions .ui-icon,.messages-side-actions [data-testid=messages-close] .ui-icon,.contacts-side-actions [data-testid=contacts-close] .ui-icon{width:16px;height:16px;background:currentColor}.messages-sidebar{display:grid;grid-template-rows:auto auto minmax(0,1fr);border-right:1px solid var(--eiva-border-soft);background:var(--eiva-surface);min-width:0}.messages-sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 10px}.messages-sidebar-header span{display:block;color:var(--eiva-primary);font-size:var(--eiva-font-small);line-height:var(--eiva-line-small);font-weight:900}.messages-sidebar-header h2{margin:2px 0 0;color:var(--eiva-text);font-size:var(--eiva-font-section-title);line-height:var(--eiva-line-section-title);font-weight:950}.messages-sidebar-header button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffd2ca;border-radius:var(--eiva-radius-input);background:#fff7f5;color:var(--eiva-primary);font-size:18px;font-weight:900}.messages-search{display:flex;align-items:center;gap:8px;min-height:40px;margin:0 14px 10px;border:1px solid #dfe4eb;border-radius:var(--eiva-radius-pill);padding:0 12px;background:var(--eiva-surface)}.messages-search span{color:#9aa3ae;font-size:18px}.messages-search input{width:100%;min-width:0;border:0;outline:none;background:transparent;color:var(--eiva-text);font:inherit;font-size:var(--eiva-font-button);line-height:var(--eiva-line-button);font-weight:750}.conversation-list{overflow:auto;min-height:0}.conversation-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:62px;border:0;border-top:1px solid var(--eiva-border-soft);padding:8px 12px 8px 14px;background:var(--eiva-surface);color:var(--eiva-text);text-align:left}.conversation-row:hover,.conversation-row:focus-visible,.conversation-row.selected{background:var(--eiva-primary-soft);outline:none}.conversation-row.is-unavailable{opacity:.78}.conversation-avatar{position:relative;display:grid;place-items:center;width:42px;height:42px;border:2px solid #ffffff;border-radius:50%;background:linear-gradient(135deg,#ff9f43,var(--eiva-primary) 44%,#6e67dd);color:var(--eiva-surface);font-size:var(--eiva-font-small);font-weight:950;box-shadow:0 0 0 2px #ff4d332e}.conversation-row.is-active .conversation-avatar:after{content:"";position:absolute;right:0;top:0;width:9px;height:9px;border:2px solid #ffffff;border-radius:50%;background:var(--eiva-primary)}.conversation-avatar.large{width:46px;height:46px;font-size:13px}.conversation-copy{display:grid;gap:3px;min-width:0}.conversation-copy strong{overflow:hidden;color:var(--eiva-text);font-size:15px;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.conversation-copy small,.conversation-copy span{overflow:hidden;color:#7a8490;font-size:var(--eiva-font-small);line-height:var(--eiva-line-small);font-weight:750;text-overflow:ellipsis;white-space:nowrap}.conversation-copy small{color:var(--eiva-primary)}.conversation-meta{display:grid;justify-items:end;gap:5px}.conversation-meta small{color:var(--eiva-primary);font-size:var(--eiva-font-caption);line-height:var(--eiva-line-caption);font-weight:800;white-space:nowrap}.conversation-meta strong{display:grid;place-items:center;min-width:20px;height:20px;border-radius:var(--eiva-radius-pill);background:var(--eiva-primary);color:var(--eiva-surface);font-size:var(--eiva-font-caption);line-height:var(--eiva-line-caption);font-weight:950}.messages-thread-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;background:linear-gradient(135deg,#f8fafc,#fff7f5)}.message-thread-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid var(--eiva-border-soft);padding:10px 14px;background:#fffffff0}.message-thread-header h3{margin:0;color:var(--eiva-text);font-size:var(--eiva-font-card-title);line-height:var(--eiva-line-card-title);font-weight:950}.message-thread-header small{display:block;margin-top:4px;color:#7a8490;font-size:var(--eiva-font-small);line-height:var(--eiva-line-small);font-weight:800}.message-thread-actions{display:flex;gap:6px}.message-thread-actions button,.messages-empty-state button,.message-compose button{min-height:32px;border:0;border-radius:var(--eiva-radius-pill);padding:0 11px;background:var(--eiva-primary);color:var(--eiva-surface);font-size:var(--eiva-font-small);line-height:var(--eiva-line-small);font-weight:950}.message-thread-actions button{background:var(--eiva-primary-soft);color:var(--eiva-primary);box-shadow:inset 0 0 0 1px #ff4d332e}.message-thread{display:flex;flex-direction:column;gap:10px;overflow:auto;min-height:0;padding:16px;background:radial-gradient(circle at 18% 18%,rgba(255,77,51,.08),transparent 28%),radial-gradient(circle at 78% 22%,rgba(110,103,221,.1),transparent 32%),#f7f8fb}.message-bubble{max-width:min(420px,76%);border-radius:var(--eiva-radius-card);padding:9px 12px 7px;box-shadow:0 10px 24px #29303a0f}.message-bubble.is-me{align-self:flex-end;border-bottom-right-radius:6px;background:#fff2ef}.message-bubble.is-participant{align-self:flex-start;border-bottom-left-radius:6px;background:#fff}.message-bubble p{margin:0;color:var(--eiva-text);font-size:var(--eiva-font-body);line-height:var(--eiva-line-body);font-weight:720}.message-bubble small{display:block;margin-top:6px;color:#8f98a4;font-size:10px;font-weight:800;text-align:right}.message-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border-top:1px solid var(--eiva-border-soft);padding:10px 12px;background:var(--eiva-surface)}.message-compose input{min-height:40px;border:1px solid #dfe4eb;border-radius:var(--eiva-radius-pill);padding:0 12px;outline:none;color:var(--eiva-text);font:inherit;font-size:var(--eiva-font-body);line-height:var(--eiva-line-body);font-weight:750}.message-compose input:disabled{background:#f2f4f7;color:#8f98a4}.message-compose button:disabled{background:#dfe4eb;color:#8f98a4}.messages-empty-state{display:grid;justify-items:center;align-content:center;gap:8px;min-height:180px;padding:18px;color:var(--eiva-muted);text-align:center}.messages-empty-state.sidebar{min-height:140px;border-top:1px solid var(--eiva-border-soft)}.messages-empty-state.centered{min-height:100%}.messages-empty-state.unavailable{align-self:stretch;min-height:0}.messages-empty-state strong{color:var(--eiva-text);font-size:var(--eiva-font-card-title);line-height:var(--eiva-line-card-title);font-weight:950}.messages-empty-state p{max-width:360px;margin:0;font-size:var(--eiva-font-body);line-height:var(--eiva-line-body);font-weight:720}.messages-empty-state div{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.messages-online-strip{display:flex;justify-content:center;margin-bottom:4px}.messages-online-strip span{display:grid;place-items:center;width:34px;height:34px;margin-left:-6px;border:2px solid #f7f8fb;border-radius:50%;background:linear-gradient(135deg,#ff9f43,var(--eiva-primary) 44%,#6e67dd);color:var(--eiva-surface);font-size:var(--eiva-font-caption);font-weight:950}.notifications-section{display:grid;gap:14px;border:1px solid #e4e8ee;border-radius:22px;padding:16px;background:#fffffff0;box-shadow:0 18px 44px #29303a12}.notifications-header,.notifications-list-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.notifications-header span,.notifications-list-heading span{display:block;color:#8f98a4;font-size:12px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}.notifications-header h2,.notifications-list-heading h3{margin:4px 0 0;color:var(--eiva-text);line-height:var(--eiva-line-section-title)}.notifications-header h2{font-size:var(--eiva-font-page-title);line-height:var(--eiva-line-page-title)}.notifications-header p{max-width:760px;margin:8px 0 0;color:#66717e;font-size:15px;line-height:1.45;font-weight:720}.notifications-header>strong,.notifications-list-heading>strong{display:grid;place-items:center;min-width:42px;height:34px;border-radius:999px;background:#ffe8e3;color:#ff4d33;font-size:14px;font-weight:950}.notifications-layout{display:grid;grid-template-columns:minmax(220px,290px) minmax(0,1fr);gap:14px;overflow:hidden;border:1px solid #e5e9ef;border-radius:18px;background:#fff}.notifications-menu{display:grid;align-content:start;gap:4px;border-right:1px solid #edf0f4;padding:18px 0;background:#fbfcfd}.notifications-menu button,.notifications-menu-note{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:54px;border:0;border-left:4px solid transparent;padding:0 18px 0 16px;background:transparent;color:#404852;text-align:left}.notifications-menu button.active{border-left-color:#ff4d33;background:#fff3f0;color:#ff4d33}.notifications-menu span,.notifications-menu-note span{font-size:15px;font-weight:950;line-height:1.15}.notifications-menu strong,.notifications-menu-note strong{display:grid;place-items:center;min-width:28px;height:24px;border-radius:999px;background:#ff4d33;color:#fff;font-size:12px;font-weight:950}.notifications-menu-note{margin-top:8px;color:#7a8490}.notifications-menu-note strong{background:#eef1f4;color:#68727f}.notifications-list{display:grid;align-content:start;gap:0;min-width:0;padding:16px}.notifications-list-heading{margin-bottom:12px}.notifications-list-heading.compact{margin:18px 0 10px}.notifications-list-heading h3{font-size:22px}.notification-card{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr) minmax(170px,210px);gap:16px;align-items:center;border-top:1px solid #edf0f4;padding:18px 0;background:#fff}.notification-card.status-new,.notification-card.status-pending,.notification-card.status-review_required,.notification-card.status-conflicted{background:linear-gradient(90deg,rgba(255,77,51,.045),transparent 72%)}.notification-card.is-past{opacity:.86}.notification-card-main{display:flex;align-items:center;gap:14px;min-width:0}.notification-avatar{position:relative;display:grid;flex:0 0 auto;place-items:center;width:64px;height:64px;border:4px solid #ffffff;border-radius:50%;background:linear-gradient(135deg,#ff9f43,#ff4d33 44%,#6e67dd);color:#fff;font-size:18px;font-weight:950;box-shadow:0 0 0 2px #ff4d3338,0 10px 22px #29303a1a}.notification-avatar:after{content:"";position:absolute;right:2px;top:2px;width:12px;height:12px;border:2px solid #ffffff;border-radius:50%;background:#ff4d33}.notification-avatar.muted{filter:grayscale(.9)}.notification-person{min-width:0}.notification-person strong{display:block;overflow:hidden;color:#343941;font-size:18px;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.notification-person small{display:block;margin-top:5px;color:#8b7cf6;font-size:13px;font-weight:850}.notification-card-body{display:grid;gap:9px;min-width:0;color:#343941}.notification-meta-line{display:flex;flex-wrap:wrap;gap:8px 14px;color:#ff4d33;font-size:13px;font-weight:850}.notification-card-body h4{margin:0;color:#343941;font-size:17px;line-height:1.25}.notification-card-body p{margin:0;color:#5f6874;font-size:14px;line-height:1.45;font-weight:720}.notification-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.notification-context div{border-radius:12px;padding:9px 10px;background:#f7f8fa}.notification-context dt{color:#8f98a4;font-size:10px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}.notification-context dd{margin:3px 0 0;color:#343941;font-size:12px;font-weight:900}.notification-score{display:grid;gap:8px;border-radius:14px;padding:11px 12px;background:#fff8f6}.notification-score strong{color:#ff4d33;font-size:13px;font-weight:950}.notification-score div{display:flex;flex-wrap:wrap;gap:6px}.notification-score span{border-radius:999px;padding:5px 8px;background:#fff;color:#5f6874;font-size:12px;font-weight:850}.notification-review-note,.notification-impact{border-left:3px solid #ff4d33;padding-left:10px}.notification-conflicts{display:grid;gap:8px}.notification-conflicts div{display:grid;gap:4px;border:1px solid #ffd2ca;border-radius:14px;padding:10px 12px;background:#fff7f5}.notification-conflicts strong{color:#343941;font-size:13px}.notification-conflicts span,.notification-conflicts small{color:#5f6874;font-size:12px;font-weight:780}.notification-card-actions{display:grid;justify-items:stretch;gap:10px}.notification-card-actions>div{display:grid;gap:7px}.notification-status{justify-self:start;border-radius:999px;padding:7px 10px;background:#eef1f4;color:#68727f;font-size:12px;font-weight:950}.notification-status.status-new,.notification-status.status-review_required{background:#ffe8e3;color:#ff4d33}.notification-status.status-pending{background:#fff1cf;color:#b7791f}.notification-status.status-accepted{background:#ddf7ea;color:#198754}.notification-status.status-rejected,.notification-status.status-conflicted{background:#ffe6e1;color:#ff4d33}.notification-card-actions button{min-height:36px;border:1px solid #dfe4eb;border-radius:10px;padding:0 12px;background:#fff;color:#4d5662;font-size:13px;font-weight:900}.notification-card-actions button.primary{border-color:#ff4d33;background:#ff4d33;color:#fff}.notification-card-actions button.danger{border-color:#ffd2ca;background:#fff7f5;color:#ff4d33}.notifications-past{display:grid;gap:0}.notifications-section{display:flex;justify-content:center;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}.notifications-module{position:relative;width:min(960px,100%)}.notifications-module.is-expanded{width:min(calc(100vw - 96px),1360px)}.notifications-panel{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;min-height:540px;height:min(560px,calc(100vh - 160px));border:1px solid var(--eiva-border);border-radius:var(--eiva-radius-panel);background:var(--eiva-surface);box-shadow:var(--eiva-shadow-soft)}.notifications-module.is-expanded .notifications-panel{min-height:calc(100vh - var(--eiva-nav-height) - 48px);height:calc(100vh - var(--eiva-nav-height) - 48px)}.notifications-header{align-items:center;border-bottom:1px solid var(--eiva-border-soft);padding:18px 22px;background:#fffffffa}.notifications-header span{color:var(--eiva-caption);font-size:var(--eiva-font-caption);line-height:var(--eiva-line-caption);font-weight:800}.notifications-header h2{margin:3px 0 0;font-size:24px;line-height:30px;font-weight:800}.notifications-header p{display:none}.notifications-header>strong,.notifications-list-heading>strong{min-width:22px;height:20px;padding:0 7px;font-size:11px;font-weight:800}.notifications-layout{grid-template-columns:minmax(246px,276px) minmax(0,1fr);gap:0;overflow:hidden;min-height:0;border:0;border-radius:0}.notifications-menu{gap:2px;border-right:1px solid var(--eiva-border-soft);padding:12px 8px;background:#fbfcfd}.notifications-menu button,.notifications-menu-note{min-height:42px;border-left-width:3px;border-radius:10px;padding:0 10px}.notifications-menu button.active{border-left-color:var(--eiva-primary);background:var(--eiva-primary-soft);color:var(--eiva-primary)}.notifications-menu span,.notifications-menu-note span{font-size:15px;line-height:19px;font-weight:500}.notification-category-label{display:flex!important;align-items:center;gap:8px;min-width:0}.notification-category-icon{display:grid!important;flex:0 0 auto;place-items:center;width:18px;height:18px;color:var(--eiva-muted)}.notification-category-icon .ui-icon{width:18px;height:18px;background:currentColor}.notifications-menu button.active .notification-category-icon{color:var(--eiva-primary)}.notifications-menu strong,.notifications-menu-note strong{min-width:18px;height:18px;font-size:10px;font-weight:800}.notifications-list{overflow:auto;gap:0;min-height:0;padding:14px 16px 18px}.notifications-list-heading{align-items:center;margin-bottom:8px}.notifications-list-heading span{font-size:var(--eiva-font-caption);line-height:var(--eiva-line-caption);font-weight:800}.notifications-list-heading h3{margin-top:2px;font-size:18px;line-height:24px;font-weight:800}.notification-card{grid-template-columns:minmax(190px,250px) minmax(0,1fr) 28px;gap:12px;align-items:start;padding:12px 0;cursor:pointer}.notification-card:hover,.notification-card:focus-visible,.notification-card.details-open{background:linear-gradient(90deg,rgba(255,77,51,.055),transparent 78%);outline:none}.notification-card.status-new,.notification-card.status-pending,.notification-card.status-review_required,.notification-card.status-conflicted{background:linear-gradient(90deg,rgba(255,77,51,.035),transparent 76%)}.notification-card.is-read.status-new,.notification-card.is-read.status-pending,.notification-card.is-read.status-review_required,.notification-card.is-read.status-conflicted{background:var(--eiva-surface)}.notification-card.is-read .notification-avatar:after{opacity:0}.notification-card-main{gap:10px}.notification-avatar{width:44px;height:44px;border-width:2px;font-size:13px;box-shadow:0 0 0 2px #ff4d3324}.notification-avatar:after{right:0;top:0;width:9px;height:9px;border-width:1px}.notification-person strong{display:block;overflow:hidden;max-height:36px;font-size:14px;line-height:18px;font-weight:750;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.notification-person small{margin-top:2px;font-size:11px;line-height:14px;font-weight:650}.notification-card-body{gap:6px}.notification-meta-line{gap:6px 10px;font-size:11px;line-height:14px;font-weight:700}.notification-card-body h4{font-size:14px;line-height:18px;font-weight:800}.notification-card-body p{display:-webkit-box;overflow:hidden;color:var(--eiva-muted);font-size:12px;line-height:16px;font-weight:600;-webkit-box-orient:vertical;-webkit-line-clamp:2}.notification-compact-meta{display:flex;flex-wrap:wrap;gap:5px}.notification-compact-meta span{border-radius:var(--eiva-radius-pill);padding:3px 7px;background:#f2f4f7;color:var(--eiva-muted);font-size:11px;line-height:14px;font-weight:700}.notification-details-panel{display:grid;gap:8px;margin-top:4px}.notification-details-panel .notification-card-body p,.notification-card.details-open .notification-card-body p{display:block;overflow:visible;-webkit-line-clamp:initial}.notification-context{gap:6px}.notification-context div{border-radius:10px;padding:7px 8px}.notification-context dt{font-size:9px}.notification-context dd{font-size:11px;font-weight:750}.notification-score{gap:6px;border-radius:12px;padding:8px 9px}.notification-score strong{font-size:12px;font-weight:800}.notification-score span{padding:3px 7px;font-size:11px;font-weight:700}.notification-conflicts div{border-radius:10px;padding:8px}.notification-card-actions{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:0}.notification-card-actions>div{display:block}.notification-status{padding:4px 8px;font-size:11px;line-height:14px;font-weight:750}.notification-action-menu-root{position:relative}.notification-card-actions .notification-actions-trigger{display:grid;place-items:center;gap:1.5px;min-width:18px;width:18px;min-height:20px;height:20px;border:0;border-radius:5px;padding:0;background:transparent;box-shadow:none;color:var(--eiva-caption);opacity:0;pointer-events:none;transition:background .16s ease,color .16s ease,opacity .16s ease}.notification-card-actions .notification-actions-trigger span{display:block;width:2px;height:2px;border-radius:999px;background:currentColor}.notification-card:hover .notification-actions-trigger,.notification-card:focus-within .notification-actions-trigger,.notification-card.menu-open .notification-actions-trigger{opacity:1;pointer-events:auto}.notification-card-actions .notification-actions-trigger:hover,.notification-card-actions .notification-actions-trigger:focus-visible,.notification-card-actions .notification-actions-trigger[aria-expanded=true]{background:var(--eiva-primary-soft);border:0;box-shadow:none;color:var(--eiva-primary)}.notification-card-actions .notification-actions-trigger:focus-visible{outline:1px solid rgba(255,77,51,.42);outline-offset:1px}.notification-card-actions .notification-actions-trigger:hover,.notification-card-actions .notification-actions-trigger[aria-expanded=true]{outline:none}.notification-actions-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:34;display:grid;gap:2px;width:188px;border:1px solid var(--eiva-border-soft);border-radius:12px;padding:8px;background:var(--eiva-surface);box-shadow:0 14px 34px #141e321f}.notification-card:nth-last-child(-n+2) .notification-actions-menu{top:auto;bottom:calc(100% + 6px)}.notification-actions-menu button,.notification-card-actions .notification-actions-menu button{display:flex;align-items:center;gap:9px;width:100%;min-height:34px;border:0;border-radius:9px;padding:0 8px;background:transparent;color:var(--eiva-text);font-size:13px;line-height:17px;font-weight:500;text-align:left}.notification-actions-menu button:hover,.notification-actions-menu button:focus-visible{background:var(--eiva-primary-soft);color:var(--eiva-primary);outline:none}.notification-actions-menu button.primary,.notification-card-actions .notification-actions-menu button.primary{border:0;background:transparent;color:var(--eiva-primary);font-weight:650}.notification-actions-menu button.danger,.notification-card-actions .notification-actions-menu button.danger{border:0;background:transparent;color:var(--eiva-primary)}.notification-actions-menu .ui-icon{flex:0 0 auto;width:16px;height:16px;background:currentColor}.notification-actions-menu [data-testid=notification-hide] .ui-icon{width:13px;height:13px}@media(hover:none),(pointer:coarse){.notification-actions-trigger{opacity:1;pointer-events:auto}}.notifications-side-actions{position:absolute;top:16px;left:calc(100% + 12px);z-index:8;display:grid;gap:6px;padding:0;background:transparent}.notifications-side-actions button{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--eiva-muted)}.notifications-side-actions button:hover,.notifications-side-actions button:focus-visible{background:var(--eiva-primary-soft);color:var(--eiva-primary);outline:none}.notifications-side-actions .ui-icon{width:16px;height:16px;background:currentColor}.contacts-section{display:grid;gap:14px}.contacts-panel{display:grid;gap:16px;border:1px solid #e4e8ee;border-radius:24px;padding:clamp(16px,2vw,24px);background:#fffffff5;box-shadow:0 18px 44px #29303a12}.contacts-header{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(280px,1fr);gap:18px;align-items:center}.contacts-header>div>span{display:block;color:#8f98a4;font-size:12px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}.contacts-header h2{margin:4px 0 6px;color:var(--eiva-text);font-size:var(--eiva-font-page-title);line-height:var(--eiva-line-page-title);font-weight:950}.contacts-header p{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;color:#7a8490;font-size:14px;line-height:1.3;font-weight:800}.contacts-header p strong{color:#343941;font-weight:950}.contacts-search{display:flex;align-items:center;gap:12px;min-height:56px;border:1px solid #dfe4eb;border-radius:999px;padding:0 18px;background:#fff;box-shadow:inset 0 0 0 1px #29303a05}.contacts-search span{color:#9aa3ae;font-size:24px;line-height:1}.contacts-search input{width:100%;min-width:0;border:0;outline:none;background:transparent;color:#343941;font:inherit;font-size:15px;font-weight:750}.contacts-search input::placeholder{color:#9aa3ae}.contacts-filters{display:flex;flex-wrap:wrap;gap:8px}.contacts-filters button{min-height:34px;border:1px solid #e3e7ed;border-radius:999px;padding:0 12px;background:#fff;color:#68727f;font-size:12px;font-weight:900}.contacts-filters button:hover,.contacts-filters button:focus-visible,.contacts-filters button.selected{border-color:#ff4d3373;background:#fff3f0;color:#ff4d33;outline:none}.contacts-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:16px;align-items:start}.contacts-list{display:grid;grid-template-columns:repeat(3,minmax(210px,1fr));gap:10px;min-width:0}.contact-card{position:relative;display:grid;gap:8px;border:1px solid #e4e8ee;border-radius:18px;padding:12px;background:#fff;box-shadow:0 10px 24px #29303a0a}.contact-card.selected{border-color:#ff4d3385;box-shadow:0 14px 28px #ff4d331a}.contact-card.has-data-alert{background:linear-gradient(135deg,#fff,#fff8f6)}.contact-card-main{display:flex;align-items:center;gap:10px;min-width:0;border:0;padding:0;background:transparent;color:inherit;text-align:left}.contact-avatar,.contact-selected-avatar{position:relative;display:grid;flex:0 0 auto;place-items:center;width:48px;height:48px;border:3px solid #ffffff;border-radius:50%;background:linear-gradient(135deg,#ff9f43,#ff4d33 44%,#6e67dd);color:#fff;font-size:13px;font-weight:950;box-shadow:0 0 0 2px #ff4d332e}.contact-avatar:after{content:"";position:absolute;right:-1px;top:1px;width:10px;height:10px;border:2px solid #ffffff;border-radius:50%;background:#9aa3ae}.contact-card.status-confirmed .contact-avatar:after{background:#2ecc71}.contact-card.status-invited .contact-avatar:after{background:#f6c343}.contact-card.status-rejected .contact-avatar:after,.contact-card.status-conflict .contact-avatar:after{background:#ff4d33}.contact-card.status-deceased .contact-avatar:after,.contact-card.status-unknown .contact-avatar:after{background:#8f98a4}.contact-card-copy{display:grid;gap:3px;min-width:0}.contact-card-copy strong{overflow:hidden;color:#343941;font-size:16px;font-weight:950;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.contact-card-copy small{overflow:hidden;color:#7b8490;font-size:12px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.contact-status,.contact-data-chip,.contact-warning{justify-self:start;border-radius:999px;padding:4px 8px;background:#eef1f4;color:#68727f;font-size:11px;font-weight:950;line-height:1.1}.contact-status.status-confirmed{background:#ddf7ea;color:#198754}.contact-status.status-invited{background:#fff1cf;color:#b7791f}.contact-status.status-rejected,.contact-status.status-conflict,.contact-warning{background:#ffe8e3;color:#ff4d33}.contact-status.status-deceased,.contact-status.status-unknown{background:#eef1f4;color:#68727f}.contact-data-chip{background:#fff3f0;color:#ff4d33}.contact-actions{display:flex;flex-wrap:wrap;gap:6px}.contact-actions button{min-height:28px;border:1px solid #ffd2ca;border-radius:999px;padding:0 9px;background:#fff;color:#ff4d33;font-size:11px;font-weight:950}.contact-actions button:first-child{border-color:#ff4d3352}.contact-actions button:hover,.contact-actions button:focus-visible{background:#ff4d33;color:#fff;outline:none}.contact-actions.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.contact-actions.compact button{min-height:34px;border-radius:10px}.contact-selected-panel{position:sticky;top:18px;display:grid;gap:12px;border:1px solid #e4e8ee;border-radius:22px;padding:18px;background:#fff;box-shadow:0 16px 36px #29303a12}.contact-selected-avatar{width:68px;height:68px;font-size:19px}.contact-selected-panel small{color:#8f98a4;font-size:12px;font-weight:900}.contact-selected-panel h3{margin:3px 0 0;color:#343941;font-size:24px;line-height:1.1;font-weight:950}.contact-selected-panel p{margin:0;color:#5f6874;font-size:14px;line-height:1.45;font-weight:720}.contact-selected-facts{display:grid;gap:8px}.contact-selected-facts span{display:grid;gap:3px;border-radius:14px;padding:10px 11px;background:#f7f8fa;color:#343941;font-size:13px;font-weight:900}.contacts-empty{grid-column:1 / -1;margin:0;border:1px dashed #dfe4eb;border-radius:18px;padding:22px;color:#68727f;font-size:14px;font-weight:780;text-align:center}.contacts-section{display:flex;justify-content:center}.contacts-module{position:relative;width:min(960px,100%)}.contacts-module.is-expanded{width:min(calc(100vw - 96px),1360px)}.contacts-module.is-expanded .contacts-panel{min-height:calc(100vh - var(--eiva-nav-height) - 48px);height:calc(100vh - var(--eiva-nav-height) - 48px)}.contacts-panel{display:grid;grid-template-rows:auto minmax(0,1fr);gap:0;overflow:hidden;min-height:540px;height:min(560px,calc(100vh - 160px));border:1px solid var(--eiva-border);border-radius:var(--eiva-radius-panel);padding:0;background:var(--eiva-surface);box-shadow:var(--eiva-shadow-soft)}.contacts-header{position:relative;z-index:3;display:grid;grid-template-columns:minmax(180px,.7fr) minmax(300px,1.2fr) auto;gap:18px;align-items:center;border-bottom:1px solid var(--eiva-border-soft);padding:20px 24px;background:#fffffffa}.contacts-header h2{margin:0;color:var(--eiva-text);font-size:24px;line-height:30px;font-weight:800}.contacts-header p{display:flex;flex-wrap:wrap;gap:12px;margin:3px 0 0;color:var(--eiva-text);font-size:var(--eiva-font-body);line-height:var(--eiva-line-body);font-weight:600}.contacts-header p strong{color:var(--eiva-text);font-weight:700}.contacts-header p span{color:var(--eiva-primary)}.contacts-search{min-height:42px;gap:10px;border:1px solid var(--eiva-border);border-radius:var(--eiva-radius-pill);padding:0 14px;background:var(--eiva-surface);box-shadow:inset 0 0 0 1px #29303a05}.contacts-search .ui-icon{width:17px;height:17px;background:#9aa3ae}.contacts-search span{color:#9aa3ae;font-size:22px}.contacts-search input{color:var(--eiva-text);font-size:var(--eiva-font-body);line-height:var(--eiva-line-body);font-weight:760}.contacts-toolbar-actions{position:relative;display:flex;align-items:center;gap:10px}.contacts-toolbar-actions>button,.contacts-filter-menu>button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:#343941}.contacts-toolbar-actions>button:hover,.contacts-toolbar-actions>button:focus-visible,.contacts-filter-menu>button:hover,.contacts-filter-menu>button:focus-visible,.contacts-filter-menu>button.active{background:var(--eiva-primary-soft);color:var(--eiva-primary);outline:none}.contacts-toolbar-actions .ui-icon,.contacts-filter-menu .ui-icon{width:21px;height:21px;background:currentColor}.contacts-filter-menu{position:relative}.contacts-filter-dropdown{position:absolute;top:calc(100% + 10px);right:0;z-index:20;display:grid;gap:4px;width:220px;border:1px solid var(--eiva-border);border-radius:14px;padding:8px;background:var(--eiva-surface);box-shadow:var(--eiva-shadow-elevated)}.contacts-filter-dropdown button{display:flex;align-items:center;gap:9px;min-height:30px;border:0;border-radius:9px;padding:0 10px;background:transparent;color:var(--eiva-muted);font-size:var(--eiva-font-small);line-height:var(--eiva-line-small);font-weight:850;text-align:left}.contacts-filter-dropdown .ui-icon{flex:0 0 auto;width:16px;height:16px;background:currentColor}.contacts-filter-dropdown button:hover,.contacts-filter-dropdown button:focus-visible,.contacts-filter-dropdown button.selected{background:var(--eiva-primary-soft);color:var(--eiva-primary);outline:none}.contacts-content{position:relative;display:block;min-height:0}.contacts-list-scroll{overflow:auto;height:100%;padding:24px 24px 34px;scrollbar-color:#a4abb5 transparent;scrollbar-width:thin}.contacts-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:12px;row-gap:10px;min-width:0}.contact-card{position:relative;display:block;min-width:0;border:0;border-radius:12px;padding:0;background:transparent;box-shadow:none}.contact-card.selected{box-shadow:none}.contact-card.has-data-alert{background:transparent}.contacts-content.has-contact-menu-open .contact-card{opacity:.34}.contacts-content.has-contact-menu-open .contact-card.menu-open{z-index:24;opacity:1}.contacts-content.has-contact-menu-open .contact-selected-panel{display:none}.contact-card-main{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;border:0;border-radius:10px;padding:4px 24px 4px 5px;background:transparent;text-align:left}.contact-card-main:hover,.contact-card-main:focus-visible,.contact-card.selected .contact-card-main{background:#ff4d330f;outline:none}.contact-card.menu-open .contact-card-main{background:#fff;box-shadow:0 10px 24px #141e321a}.contact-action-menu-root{position:absolute;top:6px;right:5px;z-index:26}.contact-actions-trigger{display:grid;place-items:center;gap:2px;width:22px;height:26px;border:0;border-radius:7px;background:transparent;color:#9aa3ae;opacity:0;transition:opacity .15s ease,background .15s ease,color .15s ease}.contact-actions-trigger span{display:block;width:3px;height:3px;border-radius:50%;background:currentColor}.contact-card:hover .contact-actions-trigger,.contact-card:focus-within .contact-actions-trigger,.contact-card.menu-open .contact-actions-trigger{opacity:1}.contact-actions-trigger:hover,.contact-actions-trigger:focus-visible,.contact-card.menu-open .contact-actions-trigger{background:var(--eiva-primary-soft);color:var(--eiva-primary);outline:none}.contact-actions-menu{position:absolute;top:0;left:calc(100% + 6px);z-index:30;display:grid;gap:2px;width:178px;border:1px solid var(--eiva-border-soft);border-radius:13px;padding:8px;background:var(--eiva-surface);box-shadow:0 14px 34px #141e321f}.contact-card:nth-child(5n) .contact-actions-menu{right:24px;left:auto}.contact-actions-menu button{display:flex;align-items:center;gap:9px;min-height:34px;border:0;border-radius:9px;padding:0 8px;background:transparent;color:var(--eiva-text);font-size:13px;line-height:17px;font-weight:600;text-align:left}.contact-actions-menu button:hover,.contact-actions-menu button:focus-visible{background:var(--eiva-primary-soft);color:var(--eiva-primary);outline:none}.contact-actions-menu button:disabled{cursor:not-allowed;opacity:.45}.contact-actions-menu button.danger{color:var(--eiva-primary)}.contact-actions-menu .ui-icon{flex:0 0 auto;width:17px;height:17px;background:currentColor}.contact-avatar,.contact-selected-avatar{overflow:visible;width:38px;height:38px;border:2px solid #ffffff;font-size:10px;font-weight:750}.contact-avatar img,.contact-selected-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.contact-avatar:after{display:none;right:-1px;top:1px;width:7px;height:7px;border-width:1px;background:#35c76b}.contact-card.is-online .contact-avatar:after{display:block}.contact-card-copy{gap:2px;min-width:0}.contact-card-copy strong{display:block;overflow:hidden;font-size:14px;line-height:17px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.contact-card:hover .contact-name,.contact-card:focus-within .contact-name{display:-webkit-box;overflow:hidden;max-height:34px;text-overflow:clip;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.contact-card.menu-open .contact-name{overflow:hidden;max-height:none;text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:1}.contact-card-copy small{display:flex;align-items:center;gap:5px;min-width:0;color:var(--eiva-muted);font-size:12px;line-height:15px;font-weight:500}.contact-status{display:inline-grid;flex:0 0 auto;place-items:center;min-width:16px;height:16px;padding:0 4px;color:#fff;font-size:10px;font-weight:650;line-height:1}.contact-status.status-confirmed{background:#72dd3f;color:#fff}.contact-status.status-invited{background:#f0c935;color:#fff}.contact-status.status-unclaimed,.contact-status.status-unknown{background:#827bf1;color:#fff}.contact-status.status-rejected,.contact-status.status-conflict{background:var(--eiva-primary);color:#fff}.contact-status.status-deceased{background:#8b929a;color:#fff}.contacts-possible{display:grid;gap:18px;margin-top:28px}.contacts-possible h3{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;margin:0;color:var(--eiva-text);font-size:18px;line-height:24px;font-weight:900}.contacts-possible h3 span{height:1px;background:var(--eiva-border-soft)}.contact-selected-panel{position:absolute;z-index:15;top:72px;right:28px;width:min(300px,calc(100% - 56px));gap:12px;border-radius:16px;padding:14px;box-shadow:var(--eiva-shadow-elevated)}.contact-selected-summary{display:flex;gap:10px;align-items:center}.contact-selected-avatar{width:46px;height:46px;font-size:12px}.contact-selected-panel small{font-size:var(--eiva-font-caption);line-height:var(--eiva-line-caption)}.contact-selected-panel h3{margin:1px 0;font-size:16px;line-height:20px}.contact-selected-panel p{display:-webkit-box;overflow:hidden;margin:0;color:var(--eiva-muted);font-size:var(--eiva-font-small);line-height:var(--eiva-line-small);-webkit-box-orient:vertical;-webkit-line-clamp:2}.contact-actions{display:grid;gap:4px}.contact-actions button{display:flex;align-items:center;gap:8px;min-height:32px;border:0;border-radius:10px;padding:0 8px;background:transparent;color:var(--eiva-text);font-size:var(--eiva-font-small);line-height:var(--eiva-line-small);font-weight:850}.contact-actions button:hover,.contact-actions button:focus-visible{background:var(--eiva-primary-soft);color:var(--eiva-primary);outline:none}.contact-actions button[data-testid=contact-invite],.contact-actions button[data-testid=contact-resend-invite]{color:var(--eiva-primary)}.contact-actions .ui-icon{width:17px;height:17px;background:currentColor}.contacts-side-actions{position:absolute;top:16px;left:calc(100% + 12px);z-index:8;display:grid;gap:6px;padding:0;background:transparent}.contacts-invite-backdrop{position:fixed;inset:var(--eiva-nav-height) 0 0;z-index:60;display:grid;place-items:center;padding:20px;background:#1c202675}.contacts-invite-modal{position:relative;display:grid;gap:14px;width:min(360px,100%);border-radius:18px;padding:22px;background:var(--eiva-surface);box-shadow:var(--eiva-shadow-elevated)}.contacts-invite-modal h3{margin:0;color:var(--eiva-text);font-size:18px;line-height:24px;font-weight:900}.contacts-invite-modal label{display:grid;gap:7px;color:var(--eiva-text);font-size:var(--eiva-font-small);line-height:var(--eiva-line-small);font-weight:850}.contacts-invite-modal input{min-height:42px;border:1px solid var(--eiva-border);border-radius:var(--eiva-radius-input);padding:0 12px;color:var(--eiva-text);font-size:var(--eiva-font-body);font-weight:760}.contacts-invite-modal p{margin:0;color:var(--eiva-primary);font-size:var(--eiva-font-small);line-height:var(--eiva-line-small);font-weight:850}.contacts-invite-modal button[type=submit]{min-height:42px;border:0;border-radius:12px;background:var(--eiva-primary);color:#fff;font-size:var(--eiva-font-button);line-height:var(--eiva-line-button);font-weight:900}.contacts-invite-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:9px;background:#f2f4f7;color:var(--eiva-muted)}.contacts-invite-close .ui-icon{width:14px;height:14px;background:currentColor}.profile-section{display:grid;gap:16px}.profile-hero,.profile-panel{border:1px solid #e4e8ee;border-radius:22px;background:#fffffff0;box-shadow:0 18px 44px #29303a12}.profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:22px}.profile-avatar,.profile-self-avatar{display:grid;flex:0 0 auto;place-items:center;border:4px solid #ffffff;border-radius:50%;background:linear-gradient(135deg,#ff9f43,#ff4d33 44%,#6e67dd);color:#fff;font-weight:950;box-shadow:0 0 0 2px #ff4d3338,0 12px 28px #29303a1f}.profile-avatar{width:86px;height:86px;font-size:26px}.profile-self-avatar{width:48px;height:48px;font-size:14px}.profile-hero h2{margin:6px 0 0;color:var(--eiva-text);font-size:var(--eiva-font-page-title);line-height:var(--eiva-line-page-title)}.profile-hero strong{display:block;margin-top:8px;color:#343941;font-size:20px;font-weight:950}.profile-hero small{display:block;margin-top:3px;color:#7a8490;font-size:14px;font-weight:760}.profile-hero p,.profile-panel-heading p,.profile-empty{margin:10px 0 0;color:#66717e;font-size:14px;line-height:1.45;font-weight:720}.profile-status{display:inline-flex;width:fit-content;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:950}.profile-status.is-complete{background:#ddf7ea;color:#198754}.profile-status.needs-completion{background:#fff1cf;color:#b7791f}.profile-hero button,.profile-self-card button,.profile-admin-card button,.profile-summary button{min-height:42px;border:0;border-radius:999px;padding:0 16px;background:#ff4d33;color:#fff;font-size:14px;font-weight:950;box-shadow:0 12px 24px #ff4d332e}.profile-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:16px;align-items:start}.profile-grid.secondary{grid-template-columns:minmax(0,1fr) minmax(320px,.75fr)}.profile-panel{display:grid;gap:16px;padding:18px}.profile-panel-heading span{display:block;color:#8f98a4;font-size:12px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}.profile-panel-heading h3{margin:4px 0 0;color:var(--eiva-text);font-size:var(--eiva-font-section-title);line-height:var(--eiva-line-section-title)}.profile-field-grid,.profile-account-list,.profile-summary-list,.profile-privacy-list{display:grid;gap:10px}.profile-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-account-list,.profile-summary-list{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-field,.profile-account-list span,.profile-summary-list span,.profile-privacy-list span{display:grid;gap:4px;border:1px solid #edf0f4;border-radius:14px;padding:12px;background:#f8fafc;color:#343941;font-size:15px;font-weight:900}.profile-field small,.profile-account-list small,.profile-summary-list small,.profile-privacy-list small,.profile-self-card small{color:#8f98a4;font-size:11px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}.profile-self-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border-top:1px solid #edf0f4;padding-top:14px}.profile-self-card strong{display:block;margin-top:3px;color:#343941;font-size:16px;font-weight:950}.profile-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profile-admin-card{display:grid;gap:12px;border:1px solid #e4e8ee;border-radius:18px;padding:14px;background:#fff;box-shadow:0 12px 28px #29303a0f}.profile-admin-card>div{display:flex;align-items:center;gap:12px;min-width:0}.profile-admin-card strong{display:block;color:#343941;font-size:16px;font-weight:950}.profile-admin-card small,.profile-admin-card p{margin:0;color:#66717e;font-size:13px;line-height:1.35;font-weight:780}.profile-admin-card button{justify-self:start;min-height:36px;background:#fff7f5;color:#ff4d33;box-shadow:inset 0 0 0 1px #ff4d333d}.profile-summary-list span{justify-items:start;font-size:28px;color:#ff4d33}.profile-summary button{justify-self:start}.profile-privacy-list span{grid-template-columns:minmax(0,1fr) auto;align-items:center}.profile-privacy-list strong{color:#198754;font-size:14px;font-weight:950}.profile-section{display:flex;justify-content:center}.profile-module{position:relative;width:min(960px,100%)}.profile-module.is-expanded{width:min(calc(100vw - 96px),1360px)}.profile-window{display:grid;grid-template-columns:minmax(240px,280px) minmax(0,1fr);overflow:hidden;min-height:540px;height:min(560px,calc(100vh - 160px));border:1px solid var(--eiva-border);border-radius:var(--eiva-radius-panel);background:var(--eiva-surface);box-shadow:var(--eiva-shadow-soft)}.profile-module.is-expanded .profile-window{min-height:calc(100vh - var(--eiva-nav-height) - 48px);height:calc(100vh - var(--eiva-nav-height) - 48px)}.profile-side-summary{display:grid;align-content:start;gap:16px;min-width:0;border-right:1px solid var(--eiva-border-soft);padding:0 18px 22px;background:#fbfcfd}.profile-hero-avatar{position:relative;display:grid;place-items:center;overflow:visible;width:calc(100% + 36px);height:252px;margin:0 -18px 4px;border:0;border-radius:var(--eiva-radius-panel) 0 18px 0;background:#eef1f4;color:#8d98a5;box-shadow:none}.profile-hero-avatar.has-crest-slot{margin-bottom:36px}.profile-avatar-upload-trigger>img{width:100%;height:100%;object-fit:cover}.profile-avatar-upload-trigger{position:relative;display:grid;place-items:center;overflow:hidden;width:100%;height:100%;border:0;border-radius:inherit;padding:0;background:transparent;color:inherit;cursor:pointer}.profile-avatar-upload-trigger:focus-visible{outline:3px solid rgba(255,77,51,.28);outline-offset:-5px}.profile-hero-avatar-empty{display:grid;gap:10px;justify-items:center;place-items:center;color:#8d98a5;font-size:14px;line-height:18px;font-weight:760;letter-spacing:0;text-align:center}.profile-hero-avatar-empty .ui-icon{width:34px;height:34px;background:currentColor}.profile-hero-avatar-empty strong{font-size:14px;line-height:18px;font-weight:760}.profile-avatar-change-label{position:absolute;right:12px;bottom:12px;opacity:0;border-radius:var(--eiva-radius-pill);padding:7px 12px;background:#29303ab8;color:var(--eiva-surface);font-size:12px;line-height:16px;font-weight:800;transform:translateY(4px);transition:opacity .16s ease,transform .16s ease}.profile-avatar-upload-trigger:hover .profile-avatar-change-label,.profile-avatar-upload-trigger:focus-visible .profile-avatar-change-label{opacity:1;transform:translateY(0)}.profile-avatar-file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.profile-coat-of-arms{position:absolute;right:16px;bottom:-34px;z-index:3;display:grid;place-items:center;overflow:hidden;width:82px;height:82px;border:5px solid var(--eiva-surface);border-radius:50%;padding:0;background:#f7f8fa;color:#98a2ad;box-shadow:0 14px 30px #29303a29;cursor:pointer}.profile-coat-of-arms:focus-visible{outline:3px solid rgba(255,77,51,.32);outline-offset:2px}.profile-coat-of-arms .ui-icon{width:30px;height:30px;background:currentColor}.profile-coat-of-arms img{width:calc(100% - 10px);height:calc(100% - 10px);object-fit:contain}.profile-side-heading{display:grid;gap:6px;min-width:0}.profile-hero-copy{justify-items:start}.profile-side-heading h2{display:-webkit-box;overflow:hidden;margin:0;color:var(--eiva-text);font-size:22px;line-height:27px;font-weight:650;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.profile-side-heading strong{overflow:hidden;color:var(--eiva-muted);font-size:13px;line-height:17px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.profile-hero-meta{display:grid;gap:6px;min-width:0}.profile-hero-meta span{display:flex;flex-wrap:wrap;gap:4px;padding:0;background:transparent;color:#5f6874;font-size:14px;line-height:19px;font-weight:720}.profile-hero-meta small{color:#8b96a3;font-size:inherit;line-height:inherit;font-weight:700;letter-spacing:0;text-transform:none}.profile-side-buttons{display:grid;gap:9px;margin-top:2px}.profile-side-buttons button,.profile-self-card button,.profile-admin-card button,.profile-summary button{min-height:36px;border:0;border-radius:var(--eiva-radius-pill);padding:0 14px;background:var(--eiva-primary);color:var(--eiva-surface);font-size:13px;line-height:17px;font-weight:800;box-shadow:none}.profile-side-buttons button{min-height:40px}.profile-side-buttons button.secondary,.profile-admin-card button{border:1px solid rgba(255,77,51,.24);background:#fff7f5;color:var(--eiva-primary)}.profile-side-buttons button.ghost{border:1px solid var(--eiva-border-soft);background:var(--eiva-surface);color:var(--eiva-muted)}.profile-side-buttons button:hover,.profile-side-buttons button:focus-visible{transform:translateY(-1px)}.profile-main-scroll{display:grid;align-content:start;gap:12px;min-width:0;overflow:auto;padding:0 16px 16px}.profile-tabs{position:sticky;top:0;z-index:3;display:flex;align-items:stretch;gap:22px;min-width:0;min-height:54px;margin:0 -16px 2px;border-bottom:1px solid var(--eiva-border-soft);padding:0 16px;background:#fffffff5}.profile-tabs button{position:relative;display:inline-flex;align-items:center;gap:8px;border:0;border-radius:0;padding:0 2px;background:transparent;color:#6f7883;font-size:13px;line-height:18px;font-weight:780;white-space:nowrap}.profile-tabs button:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:3px;border-radius:3px 3px 0 0;background:transparent}.profile-tabs button:hover,.profile-tabs button:focus-visible{color:var(--eiva-primary);outline:none}.profile-tabs button:focus-visible:after{background:#ff4d335c}.profile-tabs button.is-active{color:var(--eiva-primary)}.profile-tabs button.is-active:after{background:var(--eiva-primary)}.profile-tabs .ui-icon{width:18px;height:18px;background:currentColor}.profile-tab-panel{display:grid;gap:12px;min-width:0}.profile-section-card{display:grid;gap:14px;border:1px solid var(--eiva-border-soft);border-radius:16px;padding:14px;background:var(--eiva-surface)}.profile-section-card .profile-panel-heading h3{font-size:18px;line-height:24px}.profile-section-card .profile-account-list,.profile-section-card .profile-summary-list{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-section-card .profile-field,.profile-section-card .profile-account-list span,.profile-section-card .profile-summary-list span,.profile-section-card .profile-privacy-list span{border-radius:12px;padding:10px;font-size:13px;line-height:17px}.profile-section-card .profile-summary-list span{font-size:22px}.profile-section-card .profile-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-section-card .profile-admin-card{border-radius:14px;padding:12px;box-shadow:none}.profile-section-card .profile-admin-card strong{font-size:14px;line-height:18px}.profile-section-card .profile-self-card{grid-template-columns:auto minmax(0,1fr) auto}.profile-side-actions{position:absolute;top:16px;left:calc(100% + 12px);z-index:8;display:grid;gap:6px;padding:0;background:transparent}.profile-side-actions button{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--eiva-muted)}.profile-side-actions button:hover,.profile-side-actions button:focus-visible{background:var(--eiva-primary-soft);color:var(--eiva-primary);outline:none}.profile-side-actions .ui-icon{width:16px;height:16px;background:currentColor}.settings-section{display:flex;justify-content:center}.settings-module{position:relative;width:min(960px,100%)}.settings-module.is-expanded{width:min(calc(100vw - 96px),1360px)}.settings-window{overflow:hidden;min-height:540px;height:min(560px,calc(100vh - 160px));border:1px solid var(--eiva-border);border-radius:var(--eiva-radius-panel);background:var(--eiva-surface);box-shadow:var(--eiva-shadow-soft)}.settings-module.is-expanded .settings-window{min-height:calc(100vh - var(--eiva-nav-height) - 48px);height:calc(100vh - var(--eiva-nav-height) - 48px)}.settings-main-scroll{display:grid;align-content:start;min-width:0;height:100%;overflow:auto;padding:0 16px 16px}.settings-window-header{display:grid;gap:4px;border-bottom:1px solid var(--eiva-border-soft);margin:0 -16px;padding:18px 16px 16px;background:#fffffff5}.settings-window-header h2{margin:0;color:var(--eiva-text);font-size:28px;line-height:34px;font-weight:850}.settings-window-header p{margin:4px 0 0;color:#66717e;font-size:13px;line-height:18px;font-weight:650}.settings-tabs{position:sticky;top:0;z-index:3;display:flex;align-items:stretch;gap:22px;min-width:0;min-height:54px;margin:0 -16px 12px;border-bottom:1px solid var(--eiva-border-soft);padding:0 16px;background:#fffffff5}.settings-tabs button{position:relative;display:inline-flex;align-items:center;gap:8px;border:0;border-radius:0;padding:0 2px;background:transparent;color:#6f7883;font-size:13px;line-height:18px;font-weight:780;white-space:nowrap}.settings-tabs button:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:3px;border-radius:3px 3px 0 0;background:transparent}.settings-tabs button:hover,.settings-tabs button:focus-visible{color:var(--eiva-primary);outline:none}.settings-tabs button:focus-visible:after{background:#ff4d335c}.settings-tabs button.is-active{color:var(--eiva-primary)}.settings-tabs button.is-active:after{background:var(--eiva-primary)}.settings-tabs .ui-icon{width:18px;height:18px;background:currentColor}.settings-tab-panel,.settings-content-card{display:grid;gap:14px;min-width:0}.settings-content-card{border:1px solid var(--eiva-border-soft);border-radius:16px;padding:14px;background:var(--eiva-surface)}.settings-panel-heading span{display:block;color:#8f98a4;font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.settings-panel-heading h3{margin:4px 0 0;color:var(--eiva-text);font-size:18px;line-height:24px;font-weight:850}.settings-panel-heading p,.settings-toggle-row p{margin:4px 0 0;color:#66717e;font-size:13px;line-height:18px;font-weight:650}.settings-info-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.settings-info-list span{display:grid;gap:4px;border:1px solid #edf0f4;border-radius:12px;padding:10px;background:#f8fafc;color:#343941;font-size:13px;line-height:17px;font-weight:760}.settings-info-list small{color:#8f98a4;font-size:10px;line-height:13px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.settings-actions{display:flex;flex-wrap:wrap;gap:8px}.settings-actions button{min-height:34px;border:0;border-radius:var(--eiva-radius-pill);padding:0 13px;background:var(--eiva-primary);color:var(--eiva-surface);font-size:12px;line-height:16px;font-weight:800;box-shadow:none}.settings-actions button.secondary{background:#f2f4f7;color:#59616c}.settings-toggle-list{display:grid;gap:8px}.settings-toggle-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #edf0f4;border-radius:14px;padding:11px 12px;background:#f8fafc}.settings-toggle-row strong{color:#343941;font-size:14px;line-height:18px;font-weight:780}.settings-switch{display:inline-grid;grid-template-columns:36px auto;align-items:center;gap:8px;min-width:112px;min-height:30px;border:0;border-radius:var(--eiva-radius-pill);padding:0 8px 0 3px;background:transparent;color:#59616c;font-size:12px;line-height:16px;font-weight:760}.settings-switch span{position:relative;display:block;width:36px;height:20px;border-radius:var(--eiva-radius-pill);background:#d8dee6;transition:background .16s ease}.settings-switch span:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--eiva-surface);box-shadow:0 2px 5px #29303a2e;transition:transform .16s ease}.settings-switch.enabled span{background:var(--eiva-primary)}.settings-switch.enabled span:after{transform:translate(16px)}.settings-switch em{font-style:normal}.settings-side-actions{position:absolute;top:16px;left:calc(100% + 12px);z-index:8;display:grid;gap:6px;padding:0;background:transparent}.settings-side-actions button{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--eiva-muted)}.settings-side-actions button:hover,.settings-side-actions button:focus-visible{background:var(--eiva-primary-soft);color:var(--eiva-primary);outline:none}.settings-side-actions button:disabled{opacity:.45;cursor:default}.settings-side-actions .ui-icon{width:16px;height:16px;background:currentColor}.classic-tree-list-view{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:16px;align-items:start}.tree-list-mode{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:18px;align-items:start}.tree-list-board,.tree-list-inspector{border:1px solid #e3e8ef;border-radius:22px;background:#fffffff0;box-shadow:0 18px 44px #29303a12}.tree-list-board{min-height:min(76vh,860px);padding:28px;background:radial-gradient(circle at 47% 37%,rgba(255,246,242,.78),transparent 38%),linear-gradient(135deg,#fff,#fbfaf9 62%,#f7fafc)}.tree-list-board-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.tree-list-board-header span{display:block;color:#8f98a4;font-size:13px;font-weight:900}.tree-list-board-header h3{margin:4px 0 0;color:#343941;font-size:clamp(32px,3.2vw,48px);line-height:1}.tree-list-board-header>strong{flex:0 0 auto;border-radius:999px;padding:10px 16px;background:#ffe8e3;color:#ff4d33;font-size:15px;font-weight:950}.tree-list-generations{display:grid;gap:30px;margin-top:28px}.tree-list-generation{display:grid;justify-items:center;gap:13px}.tree-list-generation h4{margin:0;color:#8f98a4;font-size:13px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;text-align:center}.tree-list-person-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;width:100%}.tree-list-person-card{display:grid;gap:12px;width:min(250px,100%);border:1px solid #e3e8ef;border-radius:18px;padding:14px;background:#fff;box-shadow:0 14px 30px #29303a12}.tree-list-person-card.selected{border-color:#ff7a66;box-shadow:0 0 0 1px #ff4d3347,0 18px 34px #ff4d331f}.tree-list-person-card.claim-invited{background:#fffdf8}.tree-list-person-card.claim-rejected,.tree-list-person-card.is-deceased{background:#f8fafc}.tree-list-person-main{display:flex;align-items:center;gap:12px;width:100%;border:0;padding:0;background:transparent;color:#343941;text-align:left}.tree-list-avatar{display:grid;flex:0 0 auto;place-items:center;width:50px;height:50px;border:3px solid #ffffff;border-radius:50%;background:linear-gradient(135deg,#ff9f43,#ff4d33 44%,#6e67dd);color:#fff;font-size:15px;font-weight:950;box-shadow:0 0 0 2px #ff8a737a}.tree-list-avatar.large{width:74px;height:74px;font-size:23px}.tree-list-person-main strong{display:block;color:#343941;font-size:16px;font-weight:950;line-height:1.15}.tree-list-person-main small{display:block;margin-top:3px;color:#8a94a0;font-size:13px;font-weight:850}.tree-list-badges,.tree-list-card-actions{display:flex;flex-wrap:wrap;gap:7px}.tree-list-badge{border-radius:999px;padding:5px 9px;background:#eef1f4;color:#68727f;font-size:12px;font-weight:950;line-height:1}.tree-list-badge.claim-confirmed{background:#ddf7ea;color:#198754}.tree-list-badge.claim-invited{background:#fff1cf;color:#b7791f}.tree-list-badge.claim-unclaimed,.tree-list-badge.muted{background:#eef1f4;color:#68727f}.tree-list-badge.claim-rejected,.tree-list-badge.warning{background:#ffe6e1;color:#ff4d33}.tree-list-card-actions button{min-height:31px;border:1px solid rgba(255,77,51,.24);border-radius:999px;padding:0 10px;background:#fff7f5;color:#ff4d33;font-size:12px;font-weight:950}.tree-list-inspector{position:sticky;top:92px;display:grid;gap:16px;padding:22px}.tree-list-selected-person{display:flex;align-items:center;gap:15px}.tree-list-selected-person div>span{display:block;color:#ff4d33;font-size:13px;font-weight:950}.tree-list-selected-person h3{margin:3px 0 0;color:#343941;font-size:24px;line-height:1.1}.tree-list-facts{display:grid;gap:9px;margin:0}.tree-list-facts div{border-radius:14px;padding:12px 14px;background:#f7f8fa}.tree-list-facts dt{color:#8f98a4;font-size:12px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}.tree-list-facts dd{margin:4px 0 0;color:#343941;font-size:15px;font-weight:900}.tree-list-open-card{min-height:50px;border:0;border-radius:999px;background:#ff4d33;color:#fff;font-size:16px;font-weight:950;box-shadow:0 14px 26px #ff4d3333}.tree-list-lines{display:grid;gap:10px;border-top:1px solid #edf0f4;padding-top:16px}.tree-list-lines-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.tree-list-lines-header h3{margin:0;color:#343941;font-size:20px}.tree-list-lines-header span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:#ffe8e3;color:#ff4d33;font-size:13px;font-weight:950}.tree-list-line-row{display:grid;gap:5px;width:100%;border:1px solid #e3e8ef;border-radius:14px;padding:12px 14px;background:#fff;color:#343941;text-align:left}.tree-list-line-row.selected{border-color:#ff8a78;background:#fff1ee}.tree-list-line-row strong{color:#343941;font-size:14px;font-weight:950;line-height:1.25}.tree-list-line-row small{color:#7c8794;font-size:12px;font-weight:850}.mock-cabinet{display:grid;grid-template-rows:auto auto minmax(0,1fr);align-content:start;gap:16px;min-height:100vh;padding:16px;background:linear-gradient(135deg,#eef3f7,#f7f2f1 58%,#f2f6f8)}.mock-cabinet-top,.mock-cabinet-panel{border:1px solid #d9e1ec;border-radius:18px;background:#ffffffeb;box-shadow:0 8px 24px #0f172a0f}.mock-cabinet-top{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:76px;padding:12px 16px}.mock-cabinet-top span,.mock-panel-header span,.mock-selected-panel span{display:block;color:#64748b;font-size:12px;font-weight:780}.mock-cabinet-top h2,.mock-panel-header h2{margin:3px 0 0;color:#172033;font-size:24px;line-height:1.15}.mock-cabinet-top strong,.mock-panel-header>strong{flex:0 0 auto;border-radius:999px;padding:7px 10px;background:#ff4d331a;color:#ea580c;font-size:12px;font-weight:820}.mock-cabinet-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:0}.mock-cabinet-nav button{flex:0 0 auto;width:auto;min-height:36px;border:1px solid rgba(203,213,225,.92);border-radius:999px;padding:0 14px;background:#ffffffd1;color:#334155;font-size:13px;font-weight:760;line-height:1;white-space:nowrap}.mock-cabinet-nav button.active{border-color:#f97316;background:#ff4d33;color:#fff;box-shadow:0 8px 18px #ff4d3329}.mock-cabinet-panel{position:relative;display:grid;gap:14px;padding:14px}.mock-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.mock-tree-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px;align-items:start}.mock-tree-main{min-width:0}.mock-selected-panel,.mock-add-panel{display:grid;gap:12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.mock-selected-panel{padding:12px}.mock-selected-panel h3{margin:3px 0 0;color:#172033;font-size:18px;line-height:1.15}.mock-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mock-detail-grid.compact{grid-template-columns:1fr}.mock-detail-grid span,.mock-placeholder-list span,.mock-setting-row{display:grid;gap:3px;border:1px solid #e2e8f0;border-radius:7px;padding:9px 10px;background:#fff;color:#172033;font-size:13px;font-weight:720}.mock-detail-grid small{color:#64748b;font-size:10px;font-weight:820;text-transform:uppercase}.mock-status-pill.claim-confirmed{background:#dcfce7;color:#166534}.mock-status-pill.claim-invited{background:#fef3c7;color:#92400e}.mock-status-pill.claim-rejected{background:#e2e8f0;color:#475569}.mock-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mock-action-grid button,.mock-primary,.mock-add-submit,.mock-add-success button{min-height:34px;border:1px solid #f97316;border-radius:6px;background:#f97316;color:#fff;font-size:13px;font-weight:780}.mock-list,.mock-card-grid,.mock-settings-list,.mock-placeholder-list{display:grid;gap:8px}.mock-list-row,.mock-person-card{display:grid;gap:4px;width:100%;border:1px solid #e2e8f0;border-radius:7px;padding:9px 10px;background:#fff;color:#172033;text-align:left}.mock-list-row.selected{border-color:#f97316;background:#fff7ed}.mock-list-row p{margin:0;color:#475569;font-size:13px;line-height:1.4}.mock-list-row small,.mock-person-card small,.mock-muted,.mock-add-note{color:#64748b;font-size:12px;font-weight:680}.mock-add-panel{position:sticky;bottom:12px;z-index:4;padding:0;overflow:hidden;background:#fff;box-shadow:0 14px 34px #0f172a29}.mock-add-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #e2e8f0}.mock-add-panel-header h3,.mock-add-form h4,.mock-cabinet-panel h3{margin:0;color:#172033}.mock-add-panel-header button{width:30px;height:30px;border:0;border-radius:999px;background:#f1f5f9;color:#475569;font-size:20px}.mock-add-form{display:grid;gap:12px;max-height:min(720px,70vh);overflow:auto;padding:12px 14px 0}.mock-add-form section{display:grid;gap:9px}.mock-add-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mock-add-form label{display:grid;gap:5px;color:#475569;font-size:12px;font-weight:760}.mock-add-form input,.mock-add-form select{width:100%;min-height:34px;border:1px solid #cbd5e1;border-radius:6px;padding:0 10px;background:#fff;color:#172033}.mock-add-error{color:#dc2626;font-size:11px;font-weight:760}.mock-life-status{display:flex;flex-wrap:wrap;gap:7px}.mock-life-status button{min-height:32px;border:1px solid #cbd5e1;border-radius:999px;padding:0 11px;background:#fff;color:#334155;font-size:12px;font-weight:760}.mock-life-status button.selected{border-color:#f97316;background:#fff7ed;color:#ea580c}.mock-wide-field{max-width:260px}.mock-checkbox{display:flex!important;grid-template-columns:auto minmax(0,1fr);align-items:center}.mock-checkbox input{width:auto;min-height:0}.mock-add-submit-row{position:sticky;bottom:0;padding:10px 0 12px;background:linear-gradient(#ffffffc7,#fff 28%)}.mock-add-submit{width:100%}.mock-add-success{display:grid;gap:10px;padding:16px}.mock-add-success p{margin:0;color:#475569}.mock-add-actions{display:flex;flex-wrap:wrap;gap:8px}.mock-add-success button.secondary{border-color:#cbd5e1;background:#fff;color:#334155}.add-relative-section,.person-card-section{display:grid;gap:14px;border:1px solid #e4e8ee;border-radius:20px;padding:16px;background:#ffffffeb;box-shadow:0 12px 32px #29303a12}.add-relative-section-header{display:flex;align-items:center;justify-content:space-between;gap:14px}.add-relative-section-header span,.person-card-title span{display:block;color:#87909b;font-size:12px;font-weight:850}.add-relative-section-header h2,.person-card-title h2{margin:3px 0 0;color:var(--eiva-text);font-size:var(--eiva-font-section-title);line-height:var(--eiva-line-section-title)}.add-relative-section-header button{flex:0 0 auto;min-height:36px;border:1px solid rgba(255,77,51,.34);border-radius:999px;padding:0 14px;background:#ff4d3314;color:#ff4d33;font-size:13px;font-weight:900}.add-relative-section-note{margin:-4px 0 0;color:#68727f;font-size:13px;font-weight:700}.add-relative-section-shell{position:relative;min-height:620px}.add-relative-section-shell .add-relative-side-panel{position:relative;width:min(720px,100%);height:auto;min-height:620px;border:1px solid #e4e8ee;border-radius:20px;box-shadow:0 18px 42px #232a341a}.person-card-hero{display:flex;align-items:center;gap:16px}.person-card-avatar{display:grid;flex:0 0 auto;place-items:center;width:78px;height:78px;border:4px solid #ffffff;border-radius:50%;background:linear-gradient(135deg,#ff9f43,#ff4d33 44%,#5a6bd8);color:#fff;font-size:20px;font-weight:950;box-shadow:0 0 0 3px #ff4d3370,0 12px 24px #2a334024}.person-card-title{display:grid;gap:8px;min-width:0}.person-card-badges{display:flex;flex-wrap:wrap;gap:8px}.person-life-badge{border-radius:999px;padding:7px 10px;background:#eef2f7;color:#4d5662;font-size:12px;font-weight:850}.person-life-badge.is-deceased{background:#f1f3f6;color:#6b7480}.person-life-badge.is-alive{background:#dcfce7;color:#166534}.person-life-badge.is-unknown{background:#fef3c7;color:#92400e}.person-life-badge.claim-confirmed{background:#e7f8ee;color:#116137}.person-life-badge.claim-invited{background:#fff3e8;color:#b45309}.person-life-badge.claim-rejected,.person-life-badge.is-conflicted{background:#fee2e2;color:#991b1b}.person-life-badge.claim-unclaimed{background:#eef2f7;color:#4d5662}.person-card-actions{display:flex;flex-wrap:wrap;gap:8px}.person-card-actions button{min-height:36px;border:1px solid rgba(255,77,51,.28);border-radius:999px;padding:0 14px;background:#fff;color:#ff4d33;font-size:13px;font-weight:900}.person-card-actions button:hover,.person-card-actions button:focus-visible{background:#ff4d3314;outline:none}.person-card-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.person-card-details span{display:grid;gap:4px;border:1px solid #edf0f4;border-radius:12px;padding:12px;background:#f8fafcdb;color:#343941;font-size:14px;font-weight:800}.person-card-details small{color:#87909b;font-size:11px;font-weight:850}.person-card-note{margin:0;border-radius:14px;padding:11px 12px;background:#ff4d3314;color:#ff4d33;font-size:13px;font-weight:850}.person-relationships-list{display:grid;gap:12px}.person-card-block{display:grid;gap:10px}.person-card-block h3,.person-relationship-group h4{margin:0;color:#343941;letter-spacing:0}.person-card-block h3{font-size:18px}.person-relationship-group{display:grid;gap:8px;border:1px solid #edf0f4;border-radius:14px;padding:12px;background:#f8fafca8}.person-relationship-group h4{font-size:14px}.person-card-data-list,.person-card-columns{display:grid;gap:10px}.person-card-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.person-relationship-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #edf0f4;border-radius:12px;padding:11px 12px;background:#fff;color:#343941}.person-relationship-row strong{font-size:14px;font-weight:900}.person-relationship-row small{color:#68727f;font-size:12px;font-weight:750}.person-card-data-row,.person-card-timeline-row{display:grid;gap:5px;border:1px solid #edf0f4;border-radius:12px;padding:11px 12px;background:#fff;color:#343941}.person-card-data-row strong,.person-card-timeline-row strong{font-size:14px;font-weight:900}.person-card-data-row span,.person-card-data-row small,.person-card-timeline-row span,.person-card-timeline-row p,.person-card-timeline-row a{margin:0;color:#68727f;font-size:12px;font-weight:750;line-height:1.35}.person-card-timeline-row a{color:#ff4d33;text-decoration:none}.person-card-empty{margin:0;border:1px dashed #d8dee7;border-radius:12px;padding:11px 12px;background:#f8fafcb8;color:#68727f;font-size:13px;font-weight:750}.classic-tree-screen{display:grid;gap:14px}.classic-tree-screen.is-classic{padding:0;border:0;background:transparent;box-shadow:none}.classic-tree-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e4e8ee;border-radius:18px;padding:14px 16px;background:#ffffffeb;box-shadow:0 12px 32px #29303a12}.classic-tree-topbar span{display:block;margin-bottom:3px;color:#87909b;font-size:12px;font-weight:850}.classic-tree-topbar h2{margin:0;color:var(--eiva-text);font-size:var(--eiva-font-section-title);line-height:var(--eiva-line-section-title)}.tree-view-switcher{display:flex;gap:6px;border-radius:999px;padding:4px;background:#f1f3f6}.tree-view-switcher button{min-height:34px;border:0;border-radius:999px;padding:0 14px;background:transparent;color:#6b7480;font-size:13px;font-weight:900}.tree-view-switcher button.selected{background:#ff4d33;color:#fff;box-shadow:0 8px 18px #ff4d332e}.classic-tree-canvas-shell{position:relative}.classic-tree-canvas{position:relative;min-height:min(72vh,720px);overflow:hidden;border:1px solid rgba(222,227,234,.82);border-radius:22px;background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.92),rgba(255,245,241,.7) 32%,transparent 62%),radial-gradient(circle at 18% 22%,rgba(213,224,233,.88),transparent 38%),radial-gradient(circle at 84% 18%,rgba(255,230,220,.74),transparent 36%),linear-gradient(135deg,#eef3f7,#f8f2f1 56%,#f2f6f8);box-shadow:0 18px 52px #21293414}.classic-tree-canvas:before{content:"";position:absolute;top:-4%;right:-4%;bottom:-4%;left:-4%;opacity:.6;background:radial-gradient(circle at 9% 14%,rgba(116,78,72,.22) 0 16px,transparent 32px),radial-gradient(circle at 18% 72%,rgba(126,94,88,.18) 0 18px,transparent 42px),radial-gradient(circle at 82% 16%,rgba(102,75,70,.18) 0 18px,transparent 42px),radial-gradient(circle at 88% 70%,rgba(169,74,102,.2) 0 16px,transparent 42px),radial-gradient(circle at 27% 28%,rgba(56,118,150,.22) 0 12px,transparent 34px),radial-gradient(circle at 68% 28%,rgba(119,86,79,.18) 0 16px,transparent 40px),radial-gradient(circle at 42% 17%,rgba(82,75,76,.18) 0 12px,transparent 36px),radial-gradient(circle at 73% 78%,rgba(118,85,80,.18) 0 20px,transparent 48px);filter:blur(10px);pointer-events:none}.classic-canvas-content{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:center;transition:transform .18s ease}.classic-canvas-lines{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible}.classic-canvas-line{stroke:#ff4d33;stroke-width:2.1;stroke-linecap:round;opacity:.84;vector-effect:non-scaling-stroke}.classic-canvas-line.is-spouse{stroke:#8c97a4;stroke-width:1.6}.classic-canvas-line.is-step,.classic-canvas-line.status-conflicted{stroke:#8c97a4;stroke-dasharray:6 5}.classic-canvas-line.status-rejected{stroke:#aeb5be;opacity:.5;stroke-dasharray:4 6}.classic-canvas-title{position:absolute;top:18px;left:50%;z-index:2;display:flex;align-items:center;gap:10px;transform:translate(-50%);border-radius:999px;padding:8px 16px 8px 8px;background:#ffffffeb;color:#343941;box-shadow:0 10px 28px #232a3414}.classic-canvas-crest,.classic-canvas-avatar{display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#ff9f43,#ff4d33 44%,#5a6bd8);color:#fff;font-weight:950}.classic-canvas-crest{width:42px;height:42px;font-size:13px}.classic-canvas-title strong{font-size:17px;font-weight:900;white-space:nowrap}.classic-canvas-node,.classic-canvas-add-placeholder,.classic-canvas-person-popup{position:absolute;left:var(--node-x);top:var(--node-y);z-index:3;transform:translate(-50%,-50%)}.classic-canvas-node{display:flex;align-items:center;gap:9px;min-width:176px;min-height:52px;border:0;border-radius:999px;padding:5px 14px 5px 6px;background:#ffffffeb;color:#343941;text-align:left;box-shadow:0 10px 24px #252d381f}.classic-canvas-node.is-self{flex-direction:column;min-width:0;width:104px;min-height:118px;padding:0;background:transparent;box-shadow:none}.classic-canvas-node.selected{box-shadow:0 0 0 3px #ff4d3347,0 14px 30px #ff4d3333}.classic-canvas-node.is-self.selected{box-shadow:none}.classic-canvas-node.claim-invited,.classic-canvas-node.claim-unclaimed{opacity:.72}.classic-canvas-node.claim-rejected{opacity:.54;filter:grayscale(.5)}.classic-canvas-node.is-deceased .classic-canvas-avatar{filter:grayscale(.85)}.classic-canvas-avatar{flex:0 0 auto;width:44px;height:44px;border:3px solid #ffffff;font-size:13px;box-shadow:0 0 0 2px #ff4d338c}.classic-canvas-node.is-self .classic-canvas-avatar{width:96px;height:96px;font-size:22px;box-shadow:0 0 0 4px #ff4d33,0 16px 30px #2a33402e}.classic-canvas-node-copy{display:grid;gap:2px;min-width:0}.classic-canvas-node-copy small{color:#ff4d33;font-size:11px;font-weight:950}.classic-canvas-node-copy strong{color:#343941;font-size:13px;font-weight:900;white-space:nowrap}.classic-canvas-node.is-self .classic-canvas-node-copy{justify-items:center}.classic-canvas-node.is-self .classic-canvas-node-copy strong{margin-top:6px;font-size:14px}.classic-canvas-node.is-self .classic-canvas-node-copy small{display:none}.classic-canvas-more{margin-left:auto;color:#9aa3ae;font-size:20px;line-height:1}.classic-canvas-add-placeholder{z-index:2;display:flex;align-items:center;gap:9px;min-width:178px;min-height:48px;border:0;border-radius:999px;padding:5px 14px 5px 6px;background:#ffffffb8;color:#ff4d33;font-size:13px;font-weight:950;text-align:left;box-shadow:0 8px 20px #252d3814}.classic-canvas-add-placeholder span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#eef0f3;color:#87909b;font-size:22px;font-weight:700}.classic-canvas-person-popup{z-index:5;display:grid;grid-template-columns:1fr auto auto auto;align-items:center;gap:8px;min-width:290px;border-radius:16px;padding:10px 12px;background:#fff;box-shadow:0 14px 34px #232a342e}.classic-canvas-person-popup div{display:grid;gap:2px}.classic-canvas-person-popup strong{color:#343941;font-size:14px;font-weight:900}.classic-canvas-person-popup span{color:#ff4d33;font-size:11px;font-weight:900}.classic-canvas-person-popup button{border:0;border-left:1px solid #edf0f4;padding:0 0 0 8px;background:transparent;color:#4d5662;font-size:12px;font-weight:900}.classic-canvas-person-popup button:last-child{color:#ff4d33}.classic-tree-zoom-controls{position:absolute;right:18px;top:50%;z-index:6;display:grid;gap:8px;transform:translateY(-50%);border-radius:999px;padding:10px 8px;background:#ffffffc2;box-shadow:0 10px 28px #232a3414}.classic-tree-zoom-controls button{width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#343941;font-size:24px;line-height:1}.classic-tree-zoom-controls span{color:#6b7480;font-size:11px;font-weight:900;text-align:center}.add-relative-side-panel{position:absolute;top:0;right:0;z-index:8;display:grid;grid-template-rows:auto minmax(0,1fr);width:min(430px,100%);max-width:100%;height:100%;overflow:auto;border-left:1px solid #e4e8ee;border-radius:20px 0 0 20px;background:#fffffff7;box-shadow:-18px 0 42px #232a3424}.add-relative-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:24px 26px 16px;border-bottom:1px solid #edf0f4}.add-relative-panel-header span{color:#8b949f;font-size:12px;font-weight:900}.add-relative-panel-header h3{margin:4px 0 0;color:#343941;font-size:28px;line-height:1}.add-relative-panel-header button{width:36px;height:36px;border:0;border-radius:50%;background:#f2f4f7;color:#6b7480;font-size:28px;line-height:1}.add-relative-form{display:grid;gap:16px;padding:18px 26px 0}.add-relative-form section{display:grid;gap:12px}.add-relative-form h4{margin:0;color:#5f6874;font-size:17px;font-weight:900}.add-relative-avatar-row{display:flex;align-items:center;gap:12px}.add-relative-avatar{display:grid;place-items:center;width:56px;height:56px;border:2px solid #d7dde6;border-radius:50%;background:#eef1f5;color:#8b949f;font-size:20px;font-weight:950}.add-relative-avatar-row strong{color:#343941;font-size:13px}.add-relative-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.add-relative-form label{display:grid;gap:5px;color:#89919b;font-size:12px;font-weight:850}.add-relative-form input,.add-relative-form select{width:100%;min-height:38px;border:0;border-bottom:1px solid #e0e5ec;border-radius:0;background:transparent;color:#242a31;font:inherit;font-size:14px;font-weight:800}.add-relative-form input:focus,.add-relative-form select:focus{border-bottom-color:#ff4d33;outline:none}.add-relative-error{color:#dc2626;font-size:11px;font-weight:850}.add-relative-life-status{display:flex;flex-wrap:wrap;gap:8px}.add-relative-life-status button{min-height:34px;border:1px solid #dfe4eb;border-radius:999px;padding:0 12px;background:#fff;color:#59616c;font-size:12px;font-weight:900}.add-relative-life-status button.selected{border-color:#ff4d33;background:#ff4d331a;color:#ff4d33}.add-relative-wide{padding-top:4px}.add-relative-note{margin:0;color:#68727f;font-size:12px;font-weight:700}.add-relative-invite{border-top:1px solid #edf0f4;padding-top:14px}.add-relative-checkbox{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:8px;color:#59616c!important}.add-relative-checkbox input{width:auto;min-height:0}.add-relative-submit-row{position:sticky;bottom:0;padding:12px 0 18px;background:linear-gradient(#ffffffc7,#fff 28%)}.add-relative-submit,.add-relative-success button{min-height:48px;border:0;border-radius:10px;background:#ff4d33;color:#fff;font-size:15px;font-weight:950;box-shadow:0 12px 24px #ff4d332e}.add-relative-submit{width:100%}.add-relative-success{display:grid;align-content:center;gap:12px;padding:32px 26px}.add-relative-success strong{color:#343941;font-size:24px}.add-relative-success p{margin:0;color:#68727f;line-height:1.45;font-weight:700}.add-relative-actions{display:flex;flex-wrap:wrap;gap:8px}.add-relative-success button.secondary{background:#fff;color:#59616c;box-shadow:inset 0 0 0 1px #dfe4eb}.classic-tree-graph-placeholder{display:grid;gap:10px;place-items:center;min-height:420px;border:1px dashed #d5dbe4;border-radius:20px;padding:28px;background:#ffffffb8;text-align:center}.classic-tree-graph-placeholder h3{margin:0;color:#343941;font-size:28px}.classic-tree-graph-placeholder p{max-width:560px;margin:0;color:#606a76;font-size:15px;line-height:1.45;font-weight:700}.classic-tree-graph-placeholder span{border-radius:999px;padding:8px 12px;background:#ff4d331a;color:#ff4d33;font-size:12px;font-weight:900}@media(max-width:1100px){.internal-header-right{right:clamp(14px,2vw,22px);left:auto;width:calc(100% - 230px);max-width:none;transform:none}.internal-nav{width:100%}.workspace,.mock-tree-layout,.tree-list-mode{grid-template-columns:1fr}.tree-list-inspector{position:static}.notifications-layout{grid-template-columns:1fr}.notifications-module,.notifications-module.is-expanded{width:100%}.notifications-module.is-expanded .notifications-panel{min-height:0;height:auto}.notifications-side-actions{position:static;justify-self:end;grid-auto-flow:column;grid-template-columns:repeat(3,auto);margin-bottom:8px}.notifications-menu{grid-template-columns:repeat(2,minmax(0,1fr));border-right:0;border-bottom:1px solid #edf0f4;padding:10px}.notifications-menu-note{display:none}.notification-card{grid-template-columns:minmax(190px,240px) minmax(0,1fr)}.notification-card-actions{grid-column:1 / -1;justify-content:flex-start}.notification-card-actions>div{display:block}.messages-shell{grid-template-columns:1fr;height:auto;min-height:0}.messages-module{width:100%}.messages-side-actions{position:static;justify-self:end;grid-auto-flow:column;grid-template-columns:repeat(3,auto);margin-bottom:8px}.messages-sidebar{border-right:0;border-bottom:1px solid #edf0f4}.conversation-list{max-height:360px}.contacts-header,.contacts-content{grid-template-columns:1fr}.contacts-module,.contacts-module.is-expanded{width:100%}.contacts-module.is-expanded .contacts-panel{min-height:0;height:auto}.contacts-side-actions{position:static;justify-self:end;grid-auto-flow:column;grid-template-columns:repeat(3,auto);margin-bottom:8px}.contacts-list{grid-template-columns:repeat(2,minmax(220px,1fr))}.contact-card:nth-child(5n) .contact-actions-menu{right:auto;left:calc(100% + 8px)}.contact-card:nth-child(2n) .contact-actions-menu{right:28px;left:auto}.contact-selected-panel{position:static;width:auto;margin:12px 28px 24px}.profile-module,.profile-module.is-expanded{width:100%}.profile-module.is-expanded .profile-window{min-height:0;height:auto}.profile-window{grid-template-columns:1fr;min-height:0;height:auto}.profile-side-actions{position:static;justify-self:end;grid-auto-flow:column;grid-template-columns:repeat(3,auto);margin-bottom:8px}.profile-side-summary{border-right:0;border-bottom:1px solid var(--eiva-border-soft)}.profile-grid,.profile-grid.secondary{grid-template-columns:1fr}.profile-field-grid,.profile-admin-grid,.profile-section-card .profile-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-module,.settings-module.is-expanded{width:100%}.settings-module.is-expanded .settings-window,.settings-window{min-height:0;height:auto}.settings-side-actions{position:static;justify-self:end;grid-auto-flow:column;grid-template-columns:repeat(3,auto);margin-bottom:8px}.classic-tree-canvas{min-height:660px}.add-relative-side-panel{width:min(400px,100%)}.side-column{grid-row:auto}}@media(max-width:760px){.internal-header{gap:10px;padding-inline:12px}.internal-logo img{width:112px}.internal-header-right{width:calc(100% - 132px);right:8px}.internal-nav{gap:6px}.internal-nav-button{flex-basis:var(--eiva-nav-item-width);width:var(--eiva-nav-item-width);min-width:var(--eiva-nav-item-width)}.internal-nav-button[data-nav-section=messages]{flex-basis:98px;width:98px;min-width:98px}.internal-nav-button[data-nav-section=add-relative],.internal-nav-button[data-nav-section=tree]{flex-basis:var(--eiva-nav-item-compact-width);width:var(--eiva-nav-item-compact-width);min-width:var(--eiva-nav-item-compact-width)}.internal-nav-button[data-nav-section=tree]{margin-left:-3px}.internal-nav-label{max-width:76px;font-size:var(--eiva-nav-label-size)}.internal-nav-separator{height:32px;margin-inline:2px}.topbar{align-items:flex-start;flex-direction:column}.workspace{padding:10px}.form-grid,.mini-grid,.details-grid,.endpoint-grid,.mock-detail-grid,.mock-add-grid,.mock-action-grid{grid-template-columns:1fr}.field.span-2,.span-2{grid-column:auto}.table-row{grid-template-columns:1fr}.graph-canvas{height:440px}.classic-tree-toolbar{align-items:flex-start;flex-direction:column}.classic-tree-scroll{max-height:520px}.classic-tree-topbar{align-items:stretch;flex-direction:column;padding:12px}.tree-list-board,.tree-list-inspector{border-radius:18px}.tree-list-board{min-height:0;padding:18px}.tree-list-board-header{align-items:flex-start;flex-direction:column}.tree-list-person-grid{align-items:stretch}.tree-list-person-card{width:100%}.tree-list-card-actions button{flex:1 1 auto}.tree-list-selected-person{align-items:flex-start}.notifications-section{padding:0}.notifications-header{align-items:flex-start;flex-direction:column;padding:16px}.notifications-menu{grid-template-columns:1fr}.notifications-menu button{min-height:46px}.notifications-list{padding:12px}.notification-card{grid-template-columns:1fr;gap:12px;padding:14px 0}.notification-context{grid-template-columns:1fr}.notification-card-actions>div{display:block}.profile-section{padding:0}.profile-side-summary,.profile-main-scroll{padding:14px}.profile-side-summary{padding-top:0}.profile-hero-avatar{width:calc(100% + 28px);margin:0 -14px 4px}.profile-hero-avatar.has-crest-slot{margin-bottom:36px}.profile-main-scroll{padding-top:0}.profile-tabs{gap:16px;overflow-x:auto;margin:0 -14px;padding:0 14px}.profile-tabs button{flex:0 0 auto}.profile-section-card .profile-account-list,.profile-section-card .profile-summary-list,.profile-section-card .profile-admin-grid,.profile-privacy-list{grid-template-columns:1fr}.profile-self-card,.profile-section-card .profile-self-card{grid-template-columns:auto minmax(0,1fr)}.profile-self-card button{grid-column:1 / -1}.settings-section{padding:0}.settings-main-scroll{padding:0 14px 14px}.settings-window-header{margin:0 -14px;padding:16px 14px 14px}.settings-tabs{gap:16px;overflow-x:auto;margin:0 -14px 12px;padding:0 14px}.settings-tabs button{flex:0 0 auto}.settings-info-list,.settings-toggle-row{grid-template-columns:1fr}.settings-switch{justify-self:start}.messages-shell{min-height:0;height:auto;border-radius:18px}.messages-module.is-expanded .messages-shell{min-height:0;height:auto}.messages-module.is-expanded{width:100%}.messages-sidebar-header,.message-thread-header{grid-template-columns:1fr;align-items:start}.messages-sidebar-header{flex-direction:column;align-items:flex-start}.messages-search{margin-inline:12px}.conversation-row{grid-template-columns:auto minmax(0,1fr)}.conversation-meta{grid-column:2;grid-row:2;justify-items:start;display:flex;align-items:center}.message-thread-actions{flex-wrap:wrap}.message-thread{padding:14px}.message-bubble{max-width:92%}.message-compose{grid-template-columns:1fr}.message-compose button{justify-self:stretch}.contacts-panel{min-height:0;height:auto;padding:0}.contacts-header{gap:12px;grid-template-columns:1fr;padding:16px}.contacts-header h2{font-size:22px;line-height:28px}.contacts-search{min-height:40px}.contacts-toolbar-actions{justify-content:flex-end}.contacts-filter-dropdown{right:0;width:min(220px,calc(100vw - 48px))}.contacts-list-scroll{padding:16px}.contacts-list{grid-template-columns:1fr}.contact-selected-panel{margin:10px 16px 18px}.contact-action-menu-root{top:7px;right:6px}.contact-actions-menu,.contact-card:nth-child(2n) .contact-actions-menu,.contact-card:nth-child(4n) .contact-actions-menu,.contact-card:nth-child(5n) .contact-actions-menu{right:0;left:auto;width:min(220px,calc(100vw - 72px))}.contacts-invite-backdrop{align-items:start;padding-top:20px}.profile-hero{grid-template-columns:1fr;justify-items:start}.profile-field-grid,.profile-account-list,.profile-summary-list,.profile-admin-grid{grid-template-columns:1fr}.profile-self-card{grid-template-columns:auto minmax(0,1fr)}.profile-self-card button{grid-column:1 / -1;justify-self:start}.settings-hero,.settings-panel{padding:14px}.settings-account-summary,.settings-info-list,.settings-toggle-row{grid-template-columns:1fr}.settings-toggle-row button{justify-self:start}.tree-view-switcher{overflow-x:auto}.tree-view-switcher button{flex:1 0 auto}.classic-tree-canvas{min-height:620px;overflow-x:auto}.classic-canvas-content{min-width:760px}.classic-canvas-node{min-width:156px}.classic-canvas-add-placeholder{min-width:152px;font-size:12px}.classic-canvas-person-popup{grid-template-columns:1fr;min-width:190px}.classic-canvas-person-popup button{border-left:0;border-top:1px solid #edf0f4;padding:7px 0 0;text-align:left}.classic-tree-zoom-controls{top:auto;right:12px;bottom:12px;grid-auto-flow:column;transform:none}.add-relative-side-panel{width:100%;border-left:0;border-radius:18px 18px 0 0}.add-relative-grid{grid-template-columns:1fr}.view-switch{width:100%}.view-switch button{flex:1 1 0;padding:0 8px}}
