@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";.iea-topbar{background:#f5f0eb;border-bottom:none}.iea-topbar-inner{max-width:1200px;margin:0 auto;padding:.6rem 2rem;display:flex;justify-content:flex-end;gap:1.5rem}.iea-topbar-inner button{background:none;border:none;font-size:.78rem;color:#1a1a1a;cursor:pointer;font-family:inherit;font-weight:400}.iea-topbar-inner button:hover{text-decoration:underline}.iea-topbar-logout{color:#e8643c!important}.iea-nav{background:#f5f0eb;padding:.75rem 0 1rem}.iea-nav-inner{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;align-items:center;gap:.5rem}.iea-nav-brand{display:flex;align-items:center;gap:.4rem;background:none;border:none;cursor:pointer;font-size:1.15rem;font-weight:700;color:#1a1a1a;font-family:inherit;letter-spacing:-.02em;margin-right:1rem;flex-shrink:0}.iea-nav-brand .icon-inline{color:#e8643c;width:22px;height:22px}.iea-nav-pills{display:flex;gap:.35rem;flex-wrap:wrap}.iea-pill{padding:.45rem 1rem;border:1.5px solid #b5b0ab;border-radius:24px;background:transparent;color:#1a1a1a;font-size:.82rem;font-weight:500;cursor:pointer;font-family:inherit;transition:background .2s,color .2s,border-color .2s;white-space:nowrap}.iea-pill:hover{background:#0000000a}.iea-pill.active{background:#1a1a1a;color:#fff;border-color:#1a1a1a}.iea-nav-right{margin-left:auto;display:flex;gap:.5rem;align-items:center}.iea-hamburger{display:none;background:none;border:none;font-size:1.6rem;cursor:pointer;color:#1a1a1a;padding:.3rem;margin-left:auto;line-height:1;font-family:inherit}.iea-nav-collapse{display:contents}.iea-nav-overlay{display:none}.iea-pill-outline{padding:.45rem 1rem;border:1.5px solid #b5b0ab;border-radius:24px;background:transparent;color:#1a1a1a;font-size:.82rem;font-weight:500;cursor:pointer;font-family:inherit;display:flex;align-items:center;gap:.3rem;transition:background .2s}.iea-pill-outline:hover{background:#0000000a}.iea-pill-accent{padding:.45rem 1.2rem;border:none;border-radius:24px;background:#e8643c;color:#fff;font-size:.82rem;font-weight:600;cursor:pointer;font-family:inherit;transition:opacity .2s}.iea-pill-accent:hover{opacity:.85}.app{display:flex;flex-direction:column;min-height:100vh;background:#f5f0eb}.app-main{flex:1}.iea-frontpage{background:#f5f0eb}.iea-hero{max-width:1200px;margin:0 auto;padding:3rem 2rem 2rem}.iea-hero-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:3rem}.iea-hero-title{font-size:4rem;font-weight:800;color:#1a1a1a;letter-spacing:-.04em;line-height:1.05;max-width:580px;flex:1}.iea-hero-desc{flex:0 1 320px;padding-top:1rem}.iea-hero-desc p{font-size:.92rem;color:#4a4a4a;line-height:1.65}.iea-hero-image{max-width:1200px;margin:0 auto;padding:0 2rem 2rem}.iea-hero-image-inner{position:relative}.iea-big-image{position:relative;width:100%;border-radius:16px;overflow:hidden;aspect-ratio:16/8}.iea-big-image img{width:100%;height:100%;object-fit:cover;display:block}.iea-image-label{position:absolute;top:1.25rem;left:1.5rem;font-size:.9rem;font-weight:500;color:#ffffffe6;text-shadow:0 1px 4px rgba(0,0,0,.3)}.iea-tab-row{max-width:1200px;margin:0 auto;padding:0 2rem;border-bottom:1px solid #d4cfc9}.iea-tab-row-inner{display:flex;gap:2.5rem}.iea-tab{padding:.85rem 0;background:none;border:none;border-bottom:2px solid transparent;font-size:.92rem;font-weight:400;color:#6e6e6e;cursor:pointer;font-family:inherit;transition:color .2s,border-color .2s}.iea-tab.active{font-weight:600;color:#1a1a1a;border-bottom-color:#1a1a1a}.iea-tab:hover{color:#1a1a1a}.iea-question{max-width:1200px;margin:0 auto;padding:3.5rem 2rem 3rem}.iea-question-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:4rem}.iea-question-title{font-size:3rem;font-weight:700;color:#1a1a1a;letter-spacing:-.03em;line-height:1.1;max-width:420px;flex:1}.iea-question-text{flex:0 1 400px;padding-top:.5rem}.iea-question-text p{font-size:.92rem;color:#4a4a4a;line-height:1.65;margin-bottom:1.25rem}.iea-learn-more{padding:.55rem 1.25rem;border:1.5px solid #1a1a1a;border-radius:24px;background:transparent;color:#1a1a1a;font-size:.85rem;font-weight:600;cursor:pointer;font-family:inherit;transition:background .2s,color .2s}.iea-learn-more:hover{background:#1a1a1a;color:#fff}.iea-cards{max-width:1200px;margin:0 auto;padding:0 2rem 3rem}.iea-cards-inner{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem}.iea-card{cursor:pointer;transition:transform .3s ease}.iea-card:hover{transform:translateY(-4px)}.iea-card-img{width:100%;aspect-ratio:3/4;border-radius:14px;overflow:hidden;margin-bottom:.6rem}.iea-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}.iea-card:hover .iea-card-img img{transform:scale(1.05)}.iea-card-label{font-size:.85rem;font-weight:600;color:#1a1a1a;margin:0}.iea-highlights{max-width:1200px;margin:0 auto;padding:0 2rem 4rem}.iea-highlights-inner{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}.iea-hl-card{background:#ece7e1;border-radius:14px;overflow:hidden;transition:box-shadow .3s}.iea-hl-card:hover{box-shadow:0 6px 24px #00000014}.iea-hl-img{width:100%;height:180px;overflow:hidden}.iea-hl-img img{width:100%;height:100%;object-fit:cover}.iea-hl-body{padding:1rem 1.25rem 1.25rem}.iea-hl-tag{display:inline-block;font-size:.68rem;font-weight:700;color:#e8643c;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.4rem}.iea-hl-body h4{font-size:1.05rem;font-weight:700;color:#1a1a1a;margin-bottom:.3rem}.iea-hl-body p{font-size:.84rem;color:#5a5a5a;line-height:1.5;margin:0}.subpage-back{max-width:1200px;margin:0 auto;padding:1rem 2rem 0}.subpage-body{max-width:1200px;margin:0 auto;padding:0 2rem 3rem}.btn-go-back{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .9rem;background:none;border:1.5px solid #b5b0ab;border-radius:24px;color:#1a1a1a;font-size:.85rem;font-weight:600;cursor:pointer;font-family:inherit;margin-bottom:1rem;transition:background .2s}.btn-go-back:hover{background:#0000000a}.app-footer{background:#2c2c2c;color:#ffffff80;text-align:center;padding:2rem 1.5rem;margin-top:auto;font-size:.78rem}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:1rem;color:#8e8e8e}.loading-spinner{width:32px;height:32px;border:3px solid rgba(0,0,0,.08);border-top-color:#e8643c;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-banner{background:#e8643c14;border-left:4px solid #e8643c;color:#c4441a;padding:1rem 1.25rem;margin:1rem 2rem;border-radius:12px;display:flex;justify-content:space-between;align-items:center}.error-banner p{margin:0;flex:1;font-weight:500}.error-banner button{background:#e8643c;color:#fff;border:none;padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-weight:600;font-family:inherit}@media (max-width: 1024px){.iea-hero-inner,.iea-question-inner{flex-direction:column;gap:1.5rem}.iea-hero-title{font-size:2.8rem;max-width:100%}.iea-hero-desc,.iea-question-text{flex:none}.iea-cards-inner{grid-template-columns:repeat(3,1fr)}.iea-highlights-inner{grid-template-columns:1fr}.iea-question-title{font-size:2.2rem;max-width:100%}}@media (max-width: 768px){.iea-nav-inner{padding:0 1rem;flex-wrap:wrap;gap:.5rem}.iea-nav-pills{order:3;width:100%;overflow-x:auto;padding-bottom:.25rem}.iea-topbar-inner{padding:.5rem 1rem}.iea-hero{padding:2rem 1rem 1.5rem}.iea-hero-title{font-size:2.2rem}.iea-hero-image{padding:0 1rem 1.5rem}.iea-big-image{aspect-ratio:16/10}.iea-tab-row{padding:0 1rem;overflow-x:auto}.iea-tab-row-inner{gap:1.5rem}.iea-question{padding:2rem 1rem}.iea-question-title{font-size:1.8rem}.iea-cards{padding:0 1rem 2rem}.iea-cards-inner{grid-template-columns:repeat(2,1fr);gap:.75rem}.iea-highlights{padding:0 1rem 2rem}.subpage-back{padding:.75rem 1rem 0}}@media (max-width: 480px){.iea-hero-title{font-size:1.7rem}.iea-nav-brand span{font-size:.95rem}.iea-cards-inner{grid-template-columns:1fr 1fr}}@media (max-width: 768px){.iea-topbar{display:none}.iea-hamburger{display:block}.iea-nav-inner{flex-wrap:wrap}.iea-nav-collapse{display:none;width:100%;order:3;flex-direction:column;gap:.75rem;padding-top:.75rem;border-top:1px solid #d4cfc9;margin-top:.5rem;animation:menuSlideDown .25s ease}.iea-nav-collapse.open{display:flex}@keyframes menuSlideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.iea-nav-pills{flex-direction:column;gap:.25rem;width:100%;order:1}.iea-pill{width:100%;text-align:center;padding:.65rem 1rem;font-size:.92rem}.iea-nav-right{flex-direction:column;width:100%;gap:.25rem;margin-left:0;padding-top:.5rem;border-top:1px solid #d4cfc9;order:2}.iea-pill-outline,.iea-pill-accent{width:100%;text-align:center;justify-content:center;padding:.65rem 1rem;font-size:.92rem}.iea-nav-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:9;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.iea-nav{position:relative;z-index:10}}.genealogy-tree{background:#f5f0eb;border-radius:16px;padding:1.5rem;box-shadow:0 1px 4px #0000000f;border:1px solid #d4cfc9}.genea-admin-bar{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:1px solid #d4cfc9}.btn-primary-ios{background:#e8643c;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:24px;font-size:.88rem;font-weight:600;cursor:pointer;transition:all .25s ease;box-shadow:0 2px 8px #e8643c4d;display:inline-flex;align-items:center;gap:.4rem;font-family:inherit}.btn-primary-ios:hover{background:#d45530;transform:translateY(-1px);box-shadow:0 4px 12px #e8643c59}.btn-primary-ios:active{transform:translateY(0)}.btn-secondary-ios{background:transparent;color:#1a1a1a;border:1.5px solid #b5b0ab;padding:.55rem 1.2rem;border-radius:24px;font-size:.88rem;font-weight:600;cursor:pointer;transition:all .25s ease;display:inline-flex;align-items:center;gap:.4rem;font-family:inherit}.btn-secondary-ios:hover{background:#0000000a;transform:translateY(-1px);box-shadow:0 4px 12px #0000000f}.btn-secondary-ios:active{transform:translateY(0)}.genea-stat{margin-left:auto;font-size:.85rem;color:#6e6e6e}.genea-stat strong{color:#e8643c;font-size:1.1rem}.genea-footer-stat{text-align:center;padding:1.5rem 0 0;color:#6e6e6e;font-size:.9rem;border-top:1px solid #d4cfc9;margin-top:1.5rem}.genea-footer-stat strong{color:#e8643c}.profile-biography{margin-top:.75rem;padding:.75rem .9rem;background:#e8643c0f;border-left:3px solid #e8643c;border-radius:0 8px 8px 0;text-align:left}.profile-biography strong{display:block;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:#e8643c;margin-bottom:.35rem}.profile-biography p{font-size:.83rem;color:#4a4a4a;line-height:1.6;margin:0;white-space:pre-wrap}.btn-read-more{background:none;border:none;color:#e8643c;font-weight:600;font-size:.8rem;padding:0;margin-left:.3rem;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.btn-read-more:hover{color:#d1522e}.gallery-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;display:flex;align-items:center;justify-content:center;padding:1.5rem;animation:fadeIn .2s ease-out}.gallery-modal.biography-modal{background:#fdfcfb;border-radius:12px;max-width:600px;width:90%;padding:2.5rem;max-height:85vh;display:flex;flex-direction:column;position:relative;box-shadow:0 10px 40px #0003;animation:modalScale .25s cubic-bezier(.16,1,.3,1)}.btn-close-modal{position:absolute;top:1.2rem;right:1.2rem;background:#0000000d;border:none;font-size:.9rem;font-weight:600;color:#1a1a1a;padding:.5rem 1rem;border-radius:20px;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.4rem}.btn-close-modal:hover{background:#0000001a;color:#e8643c}.biography-modal-content{overflow-y:auto;padding-right:1rem;margin-top:1rem}.biography-modal h3{color:#1a1a1a;font-size:1.5rem;margin-top:0;margin-bottom:1.5rem;padding-bottom:.8rem;border-bottom:1px solid #e0dfdc}.biography-full-text p{font-size:.95rem;line-height:1.7;color:#333;margin-bottom:1rem}.genea-search-wrapper{position:relative;margin-bottom:1.5rem}.genea-search-bar{position:relative;display:flex;align-items:center}.genea-search-icon{position:absolute;left:14px;width:20px;height:20px;color:#6e6e6e;pointer-events:none}.genea-search-input{width:100%;padding:.85rem 1rem .85rem 44px;border:1.5px solid #b5b0ab;border-radius:24px;font-size:1rem;background:#ece7e1;transition:all .25s ease;color:#1a1a1a;font-family:inherit}.genea-search-input::placeholder{color:#8e8e8e}.genea-search-input:focus{outline:none;border-color:#e8643c;box-shadow:0 0 0 4px #e8643c1f;background:#fff}.genea-search-results{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border-radius:14px;box-shadow:0 12px 40px #00000026;border:1px solid #d4cfc9;list-style:none;margin:0;padding:6px;z-index:100;max-height:420px;overflow-y:auto;animation:searchSlideIn .2s ease}@keyframes searchSlideIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.genea-search-item{display:flex;align-items:center;gap:.75rem;padding:.65rem .75rem;border-radius:10px;cursor:pointer;transition:background .15s ease}.genea-search-item:hover{background:#e8643c14}.genea-search-avatar{width:42px;height:42px;min-width:42px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:#fff}.genea-search-avatar.gender-m{background:linear-gradient(135deg,#5a6e8a,#3d4f6b)}.genea-search-avatar.gender-f{background:linear-gradient(135deg,#c47a5a,#a5604a)}.genea-search-avatar img{width:100%;height:100%;object-fit:cover}.genea-search-info{flex:1;min-width:0;display:flex;flex-direction:column}.genea-search-name{font-weight:700;font-size:.95rem;color:#1a1a1a;line-height:1.3}.genea-search-alcunha{font-size:.75rem;color:#8e8e8e;font-style:italic}.genea-search-dates{font-size:.78rem;color:#6e6e6e;margin-top:1px}.genea-search-dates span+span{margin-left:0}.today-cards-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.today-card{background:#ece7e1;border:1px solid #d4cfc9;border-radius:14px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.today-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00000014}.today-card-header{display:flex;align-items:center;gap:.5rem;padding:.85rem 1rem;background:#f5f0eb;border-bottom:1px solid #d4cfc9}.today-card-icon{font-size:1.3rem;display:flex;align-items:center}.today-card-icon .icon-inline{width:22px;height:22px}.today-icon-birth{color:#7a9e4a}.today-icon-marriage{color:#c4883a}.today-icon-death{color:#8e8e8e}.today-card-title{font-weight:700;font-size:.9rem;color:#1a1a1a;flex:1}.today-card-count{background:#e8643c;color:#fff;font-weight:700;font-size:.75rem;padding:.15rem .55rem;border-radius:20px;min-width:24px;text-align:center}.today-card-body{padding:.75rem 1rem}.today-card-empty{color:#8e8e8e;font-size:.82rem;margin:0;text-align:center;padding:.5rem 0}.today-card-list{list-style:none;margin:0;padding:0}.today-card-list li{display:flex;justify-content:space-between;align-items:center;padding:.35rem;cursor:pointer;border-radius:6px;transition:background .15s ease}.today-card-list li:hover{background:#e8643c14}.today-item-name{font-weight:600;font-size:.85rem;color:#1a1a1a}.today-item-year{font-size:.78rem;color:#6e6e6e;background:#f5f0eb;padding:.1rem .5rem;border-radius:8px;font-weight:600}.today-item-more{color:#8e8e8e!important;font-size:.78rem;font-style:italic;cursor:default!important;justify-content:center!important}.family-tree-view{display:flex;flex-direction:column;gap:1.5rem}.tree-view-header{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding-bottom:1rem;border-bottom:1px solid #d4cfc9}.btn-back{background:transparent;color:#1a1a1a;border:1.5px solid #b5b0ab;padding:.5rem 1rem;border-radius:24px;cursor:pointer;font-size:.85rem;font-weight:600;transition:background .2s ease;white-space:nowrap;font-family:inherit;display:inline-flex;align-items:center;gap:.35rem}.btn-back:hover{background:#0000000a}.tree-view-title{flex:1;margin:0;color:#1a1a1a;font-size:1.3rem;font-weight:700;letter-spacing:-.02em}.tree-view-actions{display:flex;gap:.5rem}.tree-view-content{position:relative;padding:1.25rem 0;min-height:500px;overflow:hidden}.profile-drawer{position:absolute;top:0;left:0;width:300px;height:100%;z-index:30;pointer-events:none;transform:translate(calc(-100% - 8px));transition:transform .35s cubic-bezier(.4,0,.2,1)}.profile-drawer.drawer-open{transform:translate(0);pointer-events:auto}.profile-drawer-inner{width:100%;height:100%;overflow-y:auto;background:#fdfcfb;border:1px solid #d4cfc9;border-radius:14px;padding:1.5rem;text-align:center;box-shadow:4px 0 24px #00000021}.drawer-toggle-tab{position:absolute;top:1.25rem;left:0;z-index:40;background:#fdfcfb;color:#e8643c;border:1.5px solid #d4cfc9;border-radius:0 10px 10px 0;width:36px;height:44px;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;transition:left .35s cubic-bezier(.4,0,.2,1),background .2s ease,border-color .2s ease,box-shadow .2s ease;box-shadow:2px 0 8px #0000001a}.drawer-toggle-tab.tab-open{left:300px;border-radius:0 10px 10px 0;border-left-color:transparent}.drawer-toggle-tab:hover{background:#f5f0eb;border-color:#e8643c;box-shadow:2px 0 12px #e8643c33}.tree-diagram-panel{width:100%;padding-left:44px;box-sizing:border-box}.profile-photo-large{width:140px;height:140px;margin:0 auto 1rem;border-radius:50%;overflow:hidden;border:3px solid #e8643c;background:#d4cfc9}.profile-photo-large img{width:100%;height:100%;object-fit:cover}.profile-photo-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e8643c,#c4501e)}.gender-icon-large{font-size:3rem;color:#fff}.gender-icon-large.gender-m,.gender-icon-large.gender-f{color:#fff}.profile-name-section{margin-bottom:1rem;padding-bottom:.85rem;border-bottom:1px solid #d4cfc9}.profile-name{margin:0;font-size:1.3rem;color:#1a1a1a;font-weight:700;letter-spacing:-.02em;word-break:break-word;overflow-wrap:break-word;line-height:1.25}.profile-surname{margin:.2rem 0 0;font-size:1rem;color:#4a4a4a;font-weight:500}.profile-alcunha{margin:.4rem 0 0;font-style:italic;color:#6e6e6e;font-size:.9rem}.profile-details{text-align:left}.profile-details .detail-item{margin-bottom:.45rem;font-size:.85rem}.detail-item{font-size:.85rem;color:#4a4a4a;display:flex;gap:.35rem;flex-wrap:wrap;align-items:baseline}.detail-item strong{color:#1a1a1a;white-space:nowrap}.detail-divider{height:1px;background:#d4cfc9;margin:.6rem 0}.link-btn{background:none;border:none;color:#e8643c;cursor:pointer;font-size:inherit;font-weight:600;padding:0;text-decoration:underline;text-underline-offset:2px;transition:color .2s ease;font-family:inherit}.link-btn:hover{color:#c4501e}.btn-edit{background:#0000000d;color:#1a1a1a;border:none;padding:.4rem .85rem;border-radius:24px;cursor:pointer;font-size:.8rem;font-weight:600;transition:all .2s ease;font-family:inherit;display:inline-flex;align-items:center;gap:.3rem}.btn-edit:hover{background:#e8643c;color:#fff}.btn-delete{background:#e8643c1a;color:#e8643c;border:none;padding:.4rem .85rem;border-radius:24px;cursor:pointer;font-size:.8rem;font-weight:600;transition:all .2s ease;font-family:inherit;display:inline-flex;align-items:center;gap:.3rem}.pedigree-heading{margin:0 0 1rem;font-size:1rem;font-weight:700;color:#1a1a1a;letter-spacing:-.01em}:root{--pedigree-slot: 80px;--pedigree-h: 640px}.pedigree-chart{display:flex;align-items:flex-start;gap:0;padding:1rem 0;overflow-x:auto;flex-direction:row-reverse;height:var(--pedigree-h)}.pedigree-col{display:grid;flex-shrink:0;align-items:center;justify-items:center}.pedigree-gen1{grid-template-rows:var(--pedigree-h)}.pedigree-gen2{grid-template-rows:repeat(2,calc(var(--pedigree-h) / 2))}.pedigree-gen3{grid-template-rows:repeat(4,calc(var(--pedigree-h) / 4))}.pedigree-gen4{grid-template-rows:repeat(8,var(--pedigree-slot))}.pedigree-connectors{width:60px;flex-shrink:0;height:var(--pedigree-h);position:relative}.pedigree-svg{width:100%;height:100%;display:block;overflow:visible}.pedigree-line{fill:none;stroke:#c9bfb6;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transition:stroke .2s ease}.pedigree-line.line-dashed{stroke-dasharray:6 4;opacity:.6}.pedigree-node:hover+.pedigree-connectors .pedigree-line,.pedigree-line:hover{stroke:#e8643c}.pedigree-node{display:flex;align-items:center;gap:.6rem;background:#fff;border:1.5px solid #b5b0ab;border-radius:12px;padding:.5rem .75rem;min-width:140px;max-width:200px;cursor:pointer;transition:all .2s ease}.pedigree-node:hover{border-color:#e8643c;background:#e8643c0a;transform:translateY(-1px);box-shadow:0 4px 12px #0000000f}.pedigree-node.pedigree-focus{border-color:#e8643c;background:#e8643c14;box-shadow:0 0 0 3px #e8643c33;cursor:default}.pedigree-node.pedigree-empty{border-style:dashed;opacity:.45;cursor:default}.pedigree-node.pedigree-empty:hover{transform:none;box-shadow:none;border-color:#b5b0ab;background:#fff}.pedigree-empty-label{font-size:.75rem;color:#8e8e8e;font-style:italic}.pedigree-avatar-wrap{width:36px;height:36px;min-width:36px;border-radius:50%;overflow:hidden}.pedigree-avatar{width:100%;height:100%;object-fit:cover}.pedigree-avatar-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:1rem;color:#fff}.pedigree-avatar-ph.gender-m{background:linear-gradient(135deg,#5a6e8a,#3d4f6b)}.pedigree-avatar-ph.gender-f{background:linear-gradient(135deg,#c47a5a,#a5604a)}.pedigree-text{flex:1;min-width:0;display:flex;flex-direction:column}.pedigree-name{font-weight:700;font-size:.8rem;color:#1a1a1a;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pedigree-years{font-size:.7rem;color:#8e8e8e;margin-top:1px}.pedigree-family-section{margin-top:1.5rem;padding-top:1rem;border-top:1px solid #d4cfc9;display:flex;gap:2rem;flex-wrap:wrap}.pedigree-family-group h4{margin:0 0 .65rem;font-size:.85rem;font-weight:700;color:#6e6e6e;text-transform:uppercase;letter-spacing:.04em}.pedigree-children-row{display:flex;gap:.65rem;flex-wrap:wrap}@media (max-width: 900px){.profile-drawer{width:min(90vw,320px)}.drawer-toggle-tab.tab-open{left:min(90vw,320px)}.tree-diagram-panel{padding-left:40px}:root{--pedigree-slot: 64px;--pedigree-h: 512px}.pedigree-chart{flex-direction:row-reverse;align-items:flex-start;overflow-x:auto;-webkit-overflow-scrolling:touch}.pedigree-node{min-width:120px}}@media (max-width: 768px){.genealogy-tree{padding:1rem}.today-cards-row{grid-template-columns:1fr}.genea-admin-bar{flex-direction:column;align-items:stretch}.genea-stat{margin-left:0;text-align:center}.tree-view-header{flex-direction:column;align-items:flex-start}.pedigree-family-section{flex-direction:column;gap:1rem}.pedigree-node{max-width:160px}.pedigree-name{font-size:.75rem;white-space:normal;max-height:2.5em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.profile-name{font-size:1rem;word-break:break-word}.profile-surname{font-size:.85rem}}.profile-name{font-size:1rem;word-break:break-word}.profile-surname{font-size:.85rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0006;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .25s ease}.modal-content{background:var(--bg-white);border-radius:var(--ios-radius-lg);max-width:900px;width:90%;max-height:85vh;overflow-y:auto;animation:slideUp .3s ease;box-shadow:0 20px 60px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:.5px solid var(--separator);background:#ff3b300f}.modal-header h2{margin:0;color:var(--accent-color);font-size:1.3rem;font-weight:600}.modal-close{background:none;border:none;font-size:1.8rem;color:var(--text-muted);cursor:pointer;padding:0;width:2.2rem;height:2.2rem;display:flex;align-items:center;justify-content:center;transition:color .25s ease}.modal-close:hover{color:var(--text-dark)}.modal-body{padding:1.5rem}.modal-description{color:var(--text-secondary);font-size:.92rem;margin:0 0 1.25rem;line-height:1.6}.comparison-container{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem}.person-details{border:.5px solid var(--border-color);border-radius:var(--ios-radius);padding:1.25rem;background:var(--bg-light)}.found-person{border-color:var(--primary-color);border-left:3px solid var(--primary-color)}.found-person h3{color:var(--primary-dark);margin:0 0 1rem;font-size:1.05rem;border-bottom:.5px solid rgba(52,199,89,.15);padding-bottom:.6rem}.new-person{border-color:#007aff;border-left:3px solid #007AFF}.new-person h3{color:#007aff;margin:0 0 1rem;font-size:1.05rem;border-bottom:.5px solid rgba(0,122,255,.15);padding-bottom:.6rem}.detail-group{display:flex;flex-direction:column;margin-bottom:.85rem;padding-bottom:.85rem;border-bottom:.5px solid var(--border-color)}.detail-group:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.detail-label{font-weight:600;color:var(--text-dark);font-size:.8rem;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.2rem;opacity:.7}.detail-value{color:var(--text-dark);font-size:.9rem;word-break:break-word;line-height:1.5}.detail-id{font-family:SF Mono,monospace;background:#0000000a;padding:.2rem .4rem;border-radius:4px}.modal-footer{display:flex;gap:.85rem;padding:1.25rem 1.5rem;border-top:.5px solid var(--separator);background:var(--bg-light)}.btn-secondary,.btn-primary{flex:1;padding:.75rem 1.25rem;border:none;border-radius:10px;font-size:.92rem;font-weight:600;cursor:pointer;transition:all .25s ease}.btn-secondary{background:#e5e5ea;color:var(--text-dark)}.btn-secondary:hover{background:#d1d1d6;transform:translateY(-1px)}.btn-primary{background:var(--primary-color);color:#fff;box-shadow:0 2px 8px #34c7594d}.btn-primary:hover{background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px #34c75959}@media (max-width:768px){.modal-content{width:95%;max-height:90vh}.comparison-container{grid-template-columns:1fr;gap:1rem}.modal-header{flex-direction:column;gap:.75rem;text-align:center}.modal-header h2{font-size:1.15rem}.modal-footer{flex-direction:column}.btn-secondary,.btn-primary{width:100%}.person-details{padding:.85rem}}.quick-add-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0006;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .2s ease}.quick-add-modal{background:var(--bg-white);border-radius:var(--ios-radius-lg);max-width:450px;width:90%;box-shadow:0 20px 60px #0003;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.quick-add-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:.5px solid var(--separator);background:linear-gradient(135deg,#248a3d,#34c759);border-radius:var(--ios-radius-lg) var(--ios-radius-lg) 0 0}.quick-add-header h3{margin:0;color:#fff;font-size:1.1rem;font-weight:600}.quick-add-close{background:none;border:none;font-size:1.6rem;color:#fff;cursor:pointer;padding:0;width:2.2rem;height:2.2rem;display:flex;align-items:center;justify-content:center;transition:transform .2s ease}.quick-add-close:hover{transform:scale(1.1)}.quick-add-form{padding:1.5rem}.quick-add-group{margin-bottom:1.1rem;display:flex;flex-direction:column}.quick-add-group label{font-weight:600;color:var(--text-dark);margin-bottom:.4rem;font-size:.88rem}.quick-add-group input,.quick-add-group select{padding:.7rem .85rem;border:.5px solid var(--separator);border-radius:10px;font-size:.92rem;font-family:inherit;background:var(--bg-white);transition:border-color .25s ease,box-shadow .25s ease}.quick-add-group input:focus,.quick-add-group select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #34c7591f}.quick-add-group select{cursor:pointer;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:1.1em;padding-right:2.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.quick-add-error{background:#ff3b3014;border:1px solid rgba(255,59,48,.2);color:#d70015;padding:.65rem;border-radius:10px;margin-bottom:.85rem;font-size:.85rem;font-weight:500}.quick-add-info{background:#34c7590f;border:.5px solid rgba(52,199,89,.15);color:var(--primary-dark);padding:.65rem;border-radius:10px;font-size:.82rem;margin:.85rem 0 1.25rem}.quick-add-actions{display:flex;gap:.85rem;margin-top:1.25rem;padding-top:.85rem;border-top:.5px solid var(--separator)}.quick-add-btn-cancel,.quick-add-btn-submit{flex:1;padding:.7rem 1rem;border:none;border-radius:10px;font-size:.92rem;font-weight:600;cursor:pointer;transition:all .25s ease}.quick-add-btn-cancel{background:#e5e5ea;color:var(--text-dark)}.quick-add-btn-cancel:hover:not(:disabled){background:#d1d1d6}.quick-add-btn-submit{background:var(--primary-color);color:#fff;box-shadow:0 2px 8px #34c7594d}.quick-add-btn-submit:hover:not(:disabled){background:var(--primary-dark);box-shadow:0 4px 12px #34c75959;transform:translateY(-1px)}.quick-add-btn-cancel:disabled,.quick-add-btn-submit:disabled{opacity:.5;cursor:not-allowed}@media (max-width:480px){.quick-add-modal{width:95%;max-width:none}.quick-add-form{padding:1rem}.quick-add-group{margin-bottom:.85rem}.quick-add-actions{flex-direction:column}}.person-select-container{display:flex;flex-direction:column;margin-bottom:1.25rem;position:relative}.person-select-container label{font-weight:600;margin-bottom:.35rem;color:#1a1a1a;font-size:.85rem}.person-select-input-wrapper{position:relative;display:flex;align-items:center}.person-select-input{width:100%;padding:.7rem 2.2rem .7rem .85rem!important;border:1px solid #d4cfc9!important;border-radius:10px!important;font-size:.92rem;font-family:inherit;background:#fdfcfb;color:#333;transition:all .2s ease;box-sizing:border-box}.person-select-input:focus{outline:none;border-color:#e8643c!important;box-shadow:0 0 0 3px #e8643c1a;background:#fff}.person-select-container.disabled .person-select-input{background:#f0f0f0;color:#888;cursor:not-allowed;border-color:#e0e0e0!important}.select-arrow{position:absolute;right:.85rem;top:50%;transform:translateY(-50%);color:#888;pointer-events:none;font-size:.8rem}.btn-clear-select{position:absolute;right:2rem;top:50%;transform:translateY(-50%);background:#ece7e1;color:#6e6e6e;border:none;border-radius:50%;width:20px;height:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;line-height:1;padding:0;transition:all .2s;z-index:2}.btn-clear-select:hover{background:#d4cfc9;color:#1a1a1a}.person-select-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #d4cfc9;border-radius:10px;box-shadow:0 8px 24px #0000001f;max-height:250px;overflow-y:auto;z-index:1000;list-style:none;padding:.35rem 0;margin:0}.person-select-option{padding:.6rem .85rem;font-size:.9rem;color:#333;cursor:pointer;transition:background .15s ease;border-bottom:1px solid #f5f5f5}.person-select-option:last-child{border-bottom:none}.person-select-option:hover{background:#ece7e1;color:#1a1a1a}.person-select-option.selected{background:#e8643c14;color:#e8643c;font-weight:600}.person-select-empty,.person-select-more{padding:.6rem .85rem;font-size:.85rem;color:#888;font-style:italic;text-align:center}.person-select-more{background:#fafafa;border-top:1px solid #eee}.person-select-dropdown::-webkit-scrollbar{width:6px}.person-select-dropdown::-webkit-scrollbar-track{background:transparent}.person-select-dropdown::-webkit-scrollbar-thumb{background-color:#d4cfc9;border-radius:10px}.person-select-dropdown::-webkit-scrollbar-thumb:hover{background-color:#a8a39d}.person-form-container{max-width:1000px;margin:0 auto;padding:1rem}.form-header{text-align:center;margin-bottom:1.5rem;padding:1.5rem;background:linear-gradient(135deg,#248a3d,#34c759);border-radius:var(--ios-radius-lg);color:#fff}.form-header h2{margin:0;font-size:1.75rem;font-weight:700;letter-spacing:-.02em}.form-header p{margin:.4rem 0 0;font-size:.9rem;opacity:.85}.success-message{background-color:#34c7591a;border:1px solid rgba(52,199,89,.25);color:var(--primary-dark);padding:.85rem;border-radius:10px;margin-bottom:1.25rem;font-weight:500}.success-message small{display:block;margin-top:.4rem;font-size:.82rem;opacity:.8}.person-form{background:var(--bg-white);border-radius:var(--ios-radius-lg);padding:1.5rem;border:.5px solid var(--border-color);box-shadow:var(--shadow)}.form-section{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:.5px solid var(--separator)}.form-section:last-of-type{border-bottom:none;margin-bottom:1rem}.form-section h3{margin:0 0 1.25rem;color:var(--primary-dark);font-size:1.1rem;font-weight:600;border-left:3px solid var(--primary-color);padding-left:.75rem;letter-spacing:-.01em}.subsection{margin-bottom:1.25rem;padding:1rem;background:var(--bg-light);border-radius:10px}.subsection h4{margin:0 0 .85rem;color:var(--text-secondary);font-size:.9rem;font-weight:600}.form-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem;margin-bottom:1rem}.form-group input[type=text],.form-group input[type=date],.form-group select,.form-group textarea{padding:.7rem .85rem;border:.5px solid var(--separator);border-radius:10px;font-size:.92rem;font-family:inherit;background:var(--bg-white);transition:border-color .25s ease,box-shadow .25s ease}.form-group input::placeholder,.form-group textarea::placeholder{color:var(--text-muted)}.form-group small{margin-top:.3rem;color:var(--text-muted);font-size:.78rem}.form-group textarea{resize:vertical;min-height:60px}.form-group select{cursor:pointer;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:1.1em;padding-right:2.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-actions{margin-top:2rem;padding-top:1.5rem;border-top:.5px solid var(--separator);display:flex;flex-direction:column;align-items:center;gap:.85rem}.btn-submit{background:var(--primary-color);color:#fff;padding:.8rem 2.5rem;border:none;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .25s ease;box-shadow:0 2px 8px #34c7594d}.btn-submit:hover{background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px #34c75959}.btn-submit:active{transform:translateY(0)}.form-info{background:#34c7590f;border:.5px solid rgba(52,199,89,.15);border-radius:var(--ios-radius);padding:1.25rem;margin-top:1.5rem}.form-info h3{margin:0 0 .75rem;color:var(--primary-dark);font-size:.95rem;border:none;padding:0}.form-info ul{margin:0;padding-left:1.5rem}.form-info li{margin:.4rem 0;line-height:1.5;font-size:.9rem}.input-with-button{display:flex;gap:.5rem;align-items:center}.input-with-button select{flex:1}.btn-quick-add{padding:.7rem .85rem;background:var(--primary-color);color:#fff;border:none;border-radius:10px;font-size:1rem;cursor:pointer;transition:all .25s ease;box-shadow:0 2px 6px #34c7594d;flex-shrink:0;height:41px;display:flex;align-items:center;justify-content:center;min-width:41px}.btn-quick-add:hover{background:var(--primary-dark);transform:translateY(-1px)}.btn-quick-add:active{transform:translateY(0)}.btn-quick-add:disabled{opacity:.5;cursor:not-allowed;transform:none}@media (max-width: 768px){.person-form{padding:1.25rem}.form-header{padding:1rem;margin-bottom:1.25rem}.form-header h2{font-size:1.4rem}.form-row-2,.form-row-3{grid-template-columns:1fr;gap:.85rem}.form-section{margin-bottom:1.5rem;padding-bottom:1.25rem}.btn-submit{width:100%}}@media (max-width: 480px){.person-form-container{padding:0}.person-form{border-radius:0;padding:1rem}.form-header{margin:0 -1rem 1.25rem;border-radius:0}.form-header h2{font-size:1.2rem}.form-section h3{font-size:1rem}}.relationship-form{background:var(--bg-white);border-radius:var(--ios-radius-lg);padding:1.5rem;box-shadow:var(--shadow);max-width:800px;margin:0 auto;border:.5px solid var(--border-color)}.relationship-form form{background:var(--bg-light);padding:1.25rem;border-radius:var(--ios-radius);margin:1.5rem 0}.relationship-form .form-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem}.relationships-list{margin-top:1.5rem;padding:1.25rem;background:var(--bg-light);border-radius:10px;border-left:3px solid var(--primary-color)}.relationships-list h3{color:var(--primary-dark);margin-bottom:.85rem}.relationships-items{display:flex;flex-direction:column;gap:.6rem}.relationship-item{background:var(--bg-white);padding:.85rem;border-radius:10px;display:flex;justify-content:space-between;align-items:center;transition:all .25s ease;border:.5px solid var(--border-color);border-left:3px solid var(--secondary-color)}.relationship-item:hover{box-shadow:var(--shadow);transform:translate(3px)}.rel-info{display:flex;flex-direction:column;gap:.2rem}.rel-type{font-size:.8rem;color:var(--text-muted);font-weight:600;text-transform:uppercase}.rel-name{font-size:1rem;color:var(--text-dark);font-weight:600}.rel-source{font-size:.72rem;color:var(--primary-dark);font-weight:500;background:#34c7591a;padding:.15rem .5rem;border-radius:4px;width:fit-content;margin-top:.2rem}.btn-delete-rel{padding:.4rem .65rem;background:none;border:none;font-size:1.1rem;cursor:pointer;transition:all .25s ease;border-radius:6px}.btn-delete-rel:hover{background:#ff3b301a}.form-info{margin-top:1.5rem}@media (max-width:768px){.relationship-form{padding:1.25rem}.relationship-form .form-row{grid-template-columns:1fr}.relationship-item{flex-direction:column;align-items:flex-start;gap:.6rem}.btn-delete-rel{align-self:flex-end}}.data-management{background:var(--bg-white);border-radius:var(--ios-radius-lg);padding:1.5rem;box-shadow:var(--shadow);max-width:900px;margin:0 auto;border:.5px solid var(--border-color)}.stats-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin:1.5rem 0}.stat-card{background:var(--bg-light);border:.5px solid var(--border-color);border-radius:var(--ios-radius);padding:1.25rem;display:flex;gap:1.25rem;align-items:center;transition:all .25s ease}.stat-card:hover{border-color:#34c7594d;box-shadow:var(--shadow-lg);transform:translateY(-2px)}.stat-icon{font-size:2.5rem;min-width:60px;text-align:center}.stat-content h3{margin:0 0 .4rem;color:var(--text-dark);font-size:.9rem;font-weight:600}.stat-number{margin:0;font-size:1.8rem;color:var(--primary-dark);font-weight:700}.actions-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin:1.5rem 0}.action-card{background:var(--bg-light);border:2px dashed var(--separator);border-radius:var(--ios-radius);padding:1.5rem;text-align:center;transition:all .25s ease}.action-card:hover{border-color:var(--primary-color);background:#34c7590a}.action-card h3{color:var(--primary-dark);margin:0 0 .4rem}.action-card p{color:var(--text-muted);margin:0 0 1.25rem;font-size:.9rem}.info-section{background:var(--bg-light);border-left:3px solid var(--primary-color);padding:1.25rem;border-radius:10px;margin:1.5rem 0}.info-section h3{color:var(--primary-dark);margin:0 0 .85rem}.info-content p{margin:.6rem 0;color:var(--text-muted);line-height:1.6;font-size:.9rem}.info-content strong{color:var(--text-dark)}.privacy-notice{background:#34c7590f;border:.5px solid rgba(52,199,89,.2);border-radius:var(--ios-radius);padding:1.25rem;text-align:center;margin-top:1.5rem}.privacy-notice p{margin:0;color:var(--text-dark);line-height:1.6;font-size:.9rem}@media (max-width: 768px){.data-management{padding:1.25rem}.stats-container{grid-template-columns:1fr}.actions-container{grid-template-columns:1fr;gap:1rem}.action-card{padding:1.25rem}.stat-card{flex-direction:column;text-align:center}}.excel-import{background:var(--bg-white);border-radius:var(--ios-radius-lg);padding:1.5rem;box-shadow:var(--shadow);max-width:1000px;margin:0 auto;border:.5px solid var(--border-color)}.import-message{padding:.85rem;border-radius:10px;margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem;animation:slideDown .3s ease;font-weight:500}.import-message.success{background-color:#34c7591a;border:1px solid rgba(52,199,89,.25);color:var(--primary-dark)}.import-message.error{background-color:#ff3b3014;border:1px solid rgba(255,59,48,.2);color:#d70015}.import-message.info{background-color:#007aff14;border:1px solid rgba(0,122,255,.2);color:#0051a8}.import-container{margin:1.5rem 0}.file-upload-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-bottom:1.5rem}.upload-card{background:var(--bg-light);border:2px dashed var(--separator);border-radius:var(--ios-radius);padding:1.75rem 1.5rem;text-align:center;transition:all .25s ease;cursor:pointer}.upload-card:hover{border-color:var(--primary-color);background:#34c7590a}.upload-icon{font-size:2.5rem;margin-bottom:.75rem}.upload-card h3{color:var(--primary-dark);margin:0 0 .4rem;font-size:1.1rem}.upload-card p{color:var(--text-muted);margin:0 0 1.25rem;font-size:.85rem}.btn-upload{background:var(--primary-color);color:#fff;border:none;padding:.7rem 1.25rem;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .25s ease;width:100%}.btn-upload:hover{background:var(--primary-dark);transform:translateY(-1px)}.btn-upload:disabled{opacity:.5;cursor:not-allowed;transform:none}.file-name{margin-top:.75rem;color:var(--primary-color);font-weight:600;font-size:.85rem}.preview-section{margin:2rem 0;padding:1.5rem;background:var(--bg-light);border-radius:var(--ios-radius);border-left:3px solid var(--primary-color)}.preview-section h3{color:var(--primary-dark);margin:0 0 1.25rem}.preview-table{margin-bottom:1.5rem}.preview-table h4{color:var(--text-dark);margin:.75rem 0;font-size:.95rem}.table-wrapper{overflow-x:auto;background:var(--bg-white);border-radius:10px;box-shadow:var(--shadow)}.preview-table table{width:100%;border-collapse:collapse;font-size:.82rem}.preview-table th{background:var(--primary-dark);color:#fff;padding:.7rem;text-align:left;font-weight:600;font-size:.8rem}.preview-table td{padding:.65rem;border-bottom:.5px solid var(--border-color)}.preview-table tbody tr:hover{background-color:#34c7590a}.import-actions{display:flex;justify-content:center;margin:1.5rem 0}.btn-submit{background:var(--primary-color);color:#fff;border:none;padding:.85rem 2rem;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .25s ease;box-shadow:0 2px 8px #34c7594d}.btn-submit:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px #34c75959}.btn-submit:disabled{opacity:.5;cursor:not-allowed;transform:none}.import-info{background:var(--bg-light);padding:1.5rem;border-radius:var(--ios-radius);border-left:3px solid var(--primary-color);margin-top:1.5rem}.import-info h3{color:var(--primary-dark);margin:0 0 1rem}.info-card{background:var(--bg-white);padding:1.25rem;border-radius:10px;margin-bottom:.85rem;border-left:3px solid var(--secondary-color)}.info-card h4{color:var(--text-dark);margin:0 0 .6rem;font-size:.95rem}.info-card p{color:var(--text-muted);margin:0 0 .6rem;font-size:.85rem}.info-card ul{list-style:none;padding:0;margin:0}.info-card li{padding:.35rem 0 .35rem 1.5rem;position:relative;color:var(--text-muted);font-size:.85rem}.info-card li:before{content:"→";position:absolute;left:0;color:var(--primary-color);font-weight:700}.info-warning{background:#ff9f0a14;border:1px solid rgba(255,159,10,.2);border-radius:10px;padding:1.25rem;margin-top:.85rem}.info-warning p{margin:0;color:var(--text-dark);font-size:.9rem;line-height:1.5}@media (max-width: 768px){.excel-import{padding:1.25rem}.file-upload-group{grid-template-columns:1fr}.preview-section{padding:1rem}.preview-table table{font-size:.72rem}.preview-table th,.preview-table td{padding:.5rem}.import-info{padding:1.25rem}.info-card{padding:.85rem}.btn-submit{padding:.7rem 1.5rem;font-size:.95rem}}.edit-person-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0006;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .25s ease-out;padding:1rem}.edit-person-modal{background:var(--bg-white);border-radius:var(--ios-radius-lg);width:100%;max-width:700px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0003;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.edit-person-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;background:linear-gradient(135deg,#248a3d,#34c759);color:#fff;border-radius:var(--ios-radius-lg) var(--ios-radius-lg) 0 0}.edit-person-header h3{margin:0;font-size:1.2rem;font-weight:600;letter-spacing:-.01em}.edit-person-close{background:none;border:none;font-size:1.6rem;color:#fff;cursor:pointer;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .25s}.edit-person-close:hover{background-color:#fff3}.edit-person-error{margin:1rem;padding:.85rem;background-color:#ff3b3014;border:1px solid rgba(255,59,48,.2);color:#d70015;border-radius:10px;font-weight:500;font-size:.9rem}.edit-person-success{margin:1rem;padding:.85rem;background-color:#34c7591a;border:1px solid rgba(52,199,89,.25);color:var(--primary-dark);border-radius:10px;font-weight:500;font-size:.9rem}.edit-person-form{padding:1.5rem}.form-section{margin-bottom:1.5rem;padding-bottom:1.25rem;border-bottom:.5px solid var(--separator)}.form-section:last-of-type{border-bottom:none;margin-bottom:0}.form-section h4{margin:0 0 .85rem;color:var(--primary-dark);font-size:.95rem;font-weight:600;border-left:3px solid var(--primary-color);padding-left:.75rem}.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.form-group{display:flex;flex-direction:column}.form-group label{font-weight:600;color:var(--text-dark);margin-bottom:.35rem;font-size:.85rem}.form-group input[type=text],.form-group input[type=date],.form-group select,.form-group textarea{padding:.65rem .85rem;border:.5px solid var(--separator);border-radius:10px;font-size:.9rem;font-family:inherit;background:var(--bg-white);transition:border-color .25s ease,box-shadow .25s ease}.form-group input[type=text]:focus,.form-group input[type=date]:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #34c7591f}.form-group textarea{resize:vertical;min-height:80px}.edit-person-actions{display:flex;gap:1rem;justify-content:center;padding-top:1.25rem;border-top:.5px solid var(--separator);margin-top:1.25rem}.btn-cancel,.btn-save{padding:.7rem 1.75rem;border:none;border-radius:10px;font-size:.92rem;font-weight:600;cursor:pointer;transition:all .25s ease}.btn-cancel{background-color:var(--bg-light);color:var(--text-dark);border:.5px solid var(--separator)}.btn-cancel:hover:not(:disabled){background-color:#e5e5ea}.btn-save{background:var(--primary-color);color:#fff;box-shadow:0 2px 8px #34c7594d}.btn-save:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px #34c75959}.btn-cancel:disabled,.btn-save:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.edit-person-modal{max-height:95vh;border-radius:var(--ios-radius) var(--ios-radius) 0 0}.form-row-2{grid-template-columns:1fr;gap:.8rem}.edit-person-actions{flex-direction:column}.btn-cancel,.btn-save{width:100%}}@media (max-width: 480px){.edit-person-overlay{padding:0}.edit-person-modal{max-width:100%;border-radius:0}.edit-person-header{border-radius:0}.edit-person-form{padding:1rem}.form-section{margin-bottom:1.25rem}}.form-group.photo-upload{position:relative}.photo-upload-input{display:none}.photo-upload-button{cursor:pointer;padding:.75rem;border:2px dashed var(--primary-color);border-radius:10px;background:#34c7590a;color:var(--primary-dark);font-weight:500;transition:all .25s ease;text-align:center}.photo-upload-button:hover{background:#34c7591a;border-color:var(--primary-dark)}.photo-preview{margin-top:.75rem;max-width:140px}.photo-preview img{width:100%;height:auto;border-radius:10px;border:2px solid var(--primary-color)}.freguesia-history{max-width:1000px;margin:0 auto;padding:1.5rem}.freguesia-history h2{font-size:2.5rem;margin-bottom:2rem;color:#1a1a1a;font-weight:700;letter-spacing:-.03em}.btn-add-history{background:#e8643c;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:30px;font-size:.95rem;font-weight:600;cursor:pointer;margin-bottom:1.5rem;transition:all .2s ease}.btn-add-history:hover{opacity:.9;transform:translateY(-1px)}.history-form{background:#fff;padding:1.5rem;border-radius:16px;margin-bottom:2rem;border:.5px solid rgba(0,0,0,.1);box-shadow:0 4px 12px #0000000d}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-bottom:1.25rem}.form-group{display:flex;flex-direction:column;margin-bottom:1.25rem}.form-group label{font-weight:600;margin-bottom:.35rem;color:#1a1a1a;font-size:.85rem}.form-group input,.form-group textarea{padding:.7rem .85rem;border:1px solid #d4cfc9;border-radius:10px;font-size:.92rem;font-family:inherit;background:#f9f9f9}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#e8643c;background:#fff}.btn-submit{background:#1a1a1a;color:#fff;border:none;padding:.75rem 2rem;border-radius:30px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease;width:auto}.btn-submit:hover{background:#333}.history-timeline{position:relative;padding:1.5rem 0}.history-timeline:before{content:"";position:absolute;left:50%;transform:translate(-50%);width:2px;height:100%;background:#d4cfc9}.history-event{margin-bottom:3rem;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;position:relative}.history-event:nth-child(odd) .event-content{grid-column:1}.history-event:nth-child(2n) .event-content{grid-column:2}.event-year{position:absolute;left:50%;transform:translate(-50%);background:#f5f0eb;border:3px solid #1a1a1a;width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700;color:#1a1a1a;z-index:2;top:0}.event-content{background:#ece7e1;padding:2rem;border-radius:16px;border:none;transition:transform .25s}.event-content:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000000f}.event-content h3{font-size:1.4rem;margin-bottom:1rem;color:#1a1a1a;font-weight:700;letter-spacing:-.01em}.event-gallery{display:flex;gap:.5rem;overflow-x:auto;margin-bottom:1rem;scroll-snap-type:x mandatory}.event-image{width:100%;max-height:240px;object-fit:cover;border-radius:12px;flex-shrink:0;scroll-snap-align:start}.event-content p{color:#4a4a4a;line-height:1.65;margin-bottom:.75rem;font-size:.95rem}.event-actions{display:flex;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #d4cfc9}.btn-edit,.btn-delete{padding:.45rem 1rem;border:none;border-radius:24px;cursor:pointer;font-size:.82rem;font-weight:600;transition:all .2s ease}@media (max-width: 768px){.history-timeline:before{left:40px}.history-event{grid-template-columns:1fr;gap:1.5rem}.history-event:nth-child(odd) .event-content,.history-event:nth-child(2n) .event-content{grid-column:1;margin-left:80px}.event-year{left:40px;width:60px;height:60px;font-size:1rem}.form-row{grid-template-columns:1fr}}.freguesia-stories{max-width:1200px;margin:0 auto;padding:1.5rem}.freguesia-stories h2{font-size:2.5rem;margin-bottom:2rem;color:#1a1a1a;font-weight:700;letter-spacing:-.03em}.btn-add-story{background:#e8643c;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:30px;font-size:.95rem;font-weight:600;cursor:pointer;margin-bottom:1.5rem;transition:all .2s ease}.btn-add-story:hover{opacity:.9;transform:translateY(-1px)}.story-form{background:#fff;padding:1.5rem;border-radius:16px;margin-bottom:2.5rem;border:.5px solid rgba(0,0,0,.1);box-shadow:0 4px 12px #0000000d}.story-form .form-group{display:flex;flex-direction:column;margin-bottom:1.25rem}.story-form label{font-weight:600;margin-bottom:.35rem;color:#1a1a1a;font-size:.85rem}.story-form input,.story-form textarea,.story-form select{padding:.7rem .85rem;border:1px solid #d4cfc9;border-radius:10px;font-size:.92rem;font-family:inherit;background:#f9f9f9}.story-form input:focus,.story-form textarea:focus,.story-form select:focus{outline:none;border-color:#e8643c;background:#fff}.story-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-bottom:1.25rem}.story-form .btn-submit{background:#1a1a1a;color:#fff;border:none;padding:.75rem 2rem;border-radius:30px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease;width:auto}.story-form .btn-submit:hover{background:#333}.stories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:1.5rem}.story-card{background:#ece7e1;border-radius:16px;overflow:hidden;transition:transform .25s ease;display:flex;flex-direction:column;border:none}.story-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #00000014}.story-card-image{width:100%;height:200px;overflow:hidden}.story-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.story-card:hover .story-card-image img{transform:scale(1.05)}.story-header{padding:1.5rem;background:transparent;color:#1a1a1a}.story-header h3{margin:0 0 .5rem;font-size:1.35rem;font-weight:700;letter-spacing:-.01em}.story-category{display:inline-block;background:#1a1a1a;color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.story-author{padding:0 1.5rem .5rem;font-weight:600;color:#e8643c;font-size:.9rem}.story-content{padding:.5rem 1.5rem 1.5rem;color:#4a4a4a;line-height:1.65;flex-grow:1;font-size:.95rem}.story-actions{display:flex;gap:.75rem;padding:1.25rem 1.5rem;border-top:1px solid #d4cfc9}.btn-edit,.btn-delete{flex:1;padding:.45rem .85rem;border:none;border-radius:24px;cursor:pointer;font-size:.82rem;font-weight:600;transition:all .2s ease;justify-content:center;display:flex}.btn-edit{background:#0000000d;color:#1a1a1a}.btn-edit:hover{background:#1a1a1a;color:#fff}.btn-delete{background:#e8643c1a;color:#e8643c}.btn-delete:hover{background:#e8643c;color:#fff}@media (max-width: 768px){.stories-grid,.story-form .form-row{grid-template-columns:1fr}}.story-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;z-index:1000;display:flex;justify-content:center;align-items:center;padding:1rem;animation:fadeInModal .2s ease}@keyframes fadeInModal{0%{opacity:0}to{opacity:1}}.story-modal{background:#f5f0eb;width:100%;max-width:800px;max-height:90vh;border-radius:20px;overflow-y:auto;position:relative;box-shadow:0 10px 40px #00000026;display:flex;flex-direction:column}.story-modal-close{position:absolute;top:1rem;right:1rem;background:#fffc;border:none;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.2rem;cursor:pointer;z-index:10;color:#1a1a1a;box-shadow:0 2px 8px #0000001a;transition:all .2s}.story-modal-close:hover{background:#fff;transform:scale(1.05)}.story-modal-content-wrap{padding:2.5rem}.story-modal .story-category{margin-bottom:1rem}.story-modal h2{font-size:2.2rem;margin-bottom:.5rem;color:#1a1a1a}.story-modal .story-author{font-size:1.1rem;margin-bottom:2rem;padding-left:0}.story-modal-text{font-size:1.1rem;line-height:1.8;color:#333;white-space:pre-wrap}@media (max-width: 768px){.story-modal-content-wrap{padding:1.5rem}.story-modal h2{font-size:1.75rem}.story-modal-text{font-size:1rem}}.story-card-body-clickable{cursor:pointer;display:flex;flex-direction:column;flex-grow:1}.btn-read-more{background:none;border:none;color:#e8643c;font-weight:600;cursor:pointer;padding:0;margin-top:.5rem;font-size:.95rem;text-decoration:underline;text-underline-offset:4px}.btn-read-more:hover{color:#c9512b}.notable-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:9990;display:flex;align-items:center;justify-content:center;padding:1.5rem;animation:fadeIn .2s ease-out forwards}.notable-modal{background:#fdfcfb;border-radius:20px;width:100%;max-width:800px;max-height:90vh;position:relative;box-shadow:0 25px 60px #00000026;display:flex;flex-direction:column;overflow:hidden;animation:modalSlideUp .3s cubic-bezier(.16,1,.3,1) forwards}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.notable-modal-close{position:absolute;top:1.2rem;right:1.2rem;width:36px;height:36px;border-radius:50%;border:none;background:#0000000f;color:#333;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10;transition:all .2s}.notable-modal-close svg{width:20px;height:20px}.notable-modal-close:hover{background:#00000026;color:#e8643c;transform:rotate(90deg)}.notable-modal-content{overflow-y:auto;display:flex;flex-direction:column;height:100%}.notable-modal-header{padding:2.5rem 2.5rem 1.5rem;background:linear-gradient(180deg,#ebf0e6cc,#fdfcfb);display:flex;flex-wrap:wrap;align-items:center;gap:2rem;position:relative;border-bottom:1px solid rgba(0,0,0,.04)}.notable-modal-photo{width:140px;height:140px;border-radius:24px;overflow:hidden;box-shadow:0 10px 25px #0000001a;border:4px solid #fff;flex-shrink:0}.notable-modal-photo img{width:100%;height:100%;object-fit:cover}.notable-modal-header-info{flex:1;min-width:250px}.notable-modal-header-info h2{font-size:2.2rem;font-weight:700;color:#1a1a1a;margin:0 0 .5rem;line-height:1.1;letter-spacing:-.02em}.notable-modal-title{font-size:1.15rem;color:#e8643c;font-weight:600;margin:0 0 1rem;display:flex;align-items:center;gap:.4rem}.notable-modal-dates{display:flex;gap:.8rem;flex-wrap:wrap}.date-badge{background:#1a1a1a0d;padding:.4rem .8rem;border-radius:20px;font-size:.85rem;font-weight:500;color:#4a4a4a;display:flex;align-items:center;gap:.4rem}.btn-modal-view-tree{position:absolute;bottom:1.5rem;right:2.5rem;background:#5b7553;color:#fff;border:none;padding:.7rem 1.2rem;border-radius:12px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.5rem;box-shadow:0 4px 12px #5b755340}.btn-modal-view-tree:hover{background:#4a6143;transform:translateY(-2px);box-shadow:0 6px 16px #5b755359}.notable-modal-body{padding:1.5rem 2.5rem 2.5rem;display:flex;flex-direction:column;gap:2rem}.notable-section h3{font-size:1.2rem;color:#1a1a1a;font-weight:700;margin:0 0 1rem;display:flex;align-items:center;gap:.5rem;border-bottom:2px solid #ebf0e6;padding-bottom:.5rem}.highlight-section{background:#ebf0e666;padding:1.5rem;border-radius:16px;border:1px solid #ebf0e6}.highlight-section h3{border-bottom:none;margin-bottom:.5rem}.notable-description-text{font-size:1.05rem;line-height:1.6;color:#333;margin:0;font-weight:500}.biography-section .notable-biography-text{font-size:.95rem;line-height:1.7;color:#333;white-space:pre-wrap;margin:0;background:#fff;padding:1.5rem;border-radius:12px;border:1px solid #ebf0e6;box-shadow:0 2px 10px #00000005}.achievements-section ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.8rem}.achievements-section li{display:flex;align-items:flex-start;gap:.8rem}.achievements-section li:before{content:"✓";color:#5b7553;font-weight:700;font-size:1.1rem;background:#5b75531a;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px}.achievements-section li span{font-size:.95rem;line-height:1.5;color:#333}.relation-section .relation-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}.relation-item{background:#fdfcfb;border:1px solid #ebf0e6;padding:.8rem 1rem;border-radius:10px;font-size:.9rem;color:#4a4a4a}.relation-item strong{display:block;font-size:.8rem;color:#888;margin-bottom:.2rem;text-transform:uppercase;letter-spacing:.05em}.notable-modal-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1rem}.notable-modal-gallery-item{aspect-ratio:1;border-radius:12px;overflow:hidden;cursor:zoom-in;border:1px solid rgba(0,0,0,.05);transition:all .2s}.notable-modal-gallery-item:hover{transform:translateY(-3px);box-shadow:0 8px 20px #0000001a}.notable-modal-gallery-item img{width:100%;height:100%;object-fit:cover}.notable-fullscreen-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000e6;z-index:10000;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s}.notable-fullscreen-overlay img{max-width:95vw;max-height:95vh;object-fit:contain;border-radius:8px;box-shadow:0 0 40px #00000080}.notable-fullscreen-close{position:absolute;top:2rem;right:2rem;background:#fff3;border:none;color:#fff;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}.notable-fullscreen-close svg{width:24px;height:24px}.notable-fullscreen-close:hover{background:#fff6}@media (max-width: 768px){.notable-modal{max-height:95vh}.notable-modal-header{flex-direction:column;text-align:center;padding:2rem 1.5rem 1.5rem;gap:1.5rem}.notable-modal-dates{justify-content:center}.btn-modal-view-tree{position:static;width:100%;justify-content:center;margin-top:1rem}.notable-modal-body{padding:1.5rem}}.notable-people{max-width:1200px;margin:0 auto;padding:1.5rem}.notable-people h2{font-size:1.75rem;margin-bottom:1.5rem;color:#1a1a1a;font-weight:700;letter-spacing:-.02em}.btn-add-notable{background:#e8643c;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:30px;font-size:.95rem;font-weight:600;cursor:pointer;margin-bottom:1.5rem;transition:all .25s ease}.btn-add-notable:hover{opacity:.9;transform:translateY(-1px)}.notable-form{background:#fff;padding:1.5rem;border-radius:16px;margin-bottom:1.5rem;border:.5px solid rgba(0,0,0,.1);box-shadow:0 4px 12px #0000000d}.notable-form .form-group{display:flex;flex-direction:column;margin-bottom:1.25rem}.notable-form label{font-weight:600;margin-bottom:.35rem;color:#1a1a1a;font-size:.85rem}.notable-form input,.notable-form textarea,.notable-form select{padding:.7rem .85rem;border:1px solid #d4cfc9;border-radius:10px;font-size:.92rem;font-family:inherit;background:#f9f9f9}.notable-form input:focus,.notable-form textarea:focus,.notable-form select:focus{outline:none;border-color:#e8643c;background:#fff}.notable-form .btn-submit{background:#1a1a1a;color:#fff;border:none;padding:.7rem 2rem;border-radius:30px;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .25s ease;width:auto}.notable-form .btn-submit:hover{background:#333}.notable-preview-box{margin-top:.8rem;background:#ebf0e666;border:1px dashed rgba(91,117,83,.4);border-radius:12px;padding:1rem}.notable-preview-content{display:flex;gap:1rem;align-items:center}.notable-preview-content img{width:60px;height:60px;border-radius:12px;object-fit:cover;border:2px solid #fff}.notable-preview-content strong{display:block;font-size:1.05rem;color:#1a1a1a;margin-bottom:.2rem}.preview-dates{font-size:.85rem;color:#666;margin:0 0 .3rem}.preview-bio{font-size:.8rem;font-weight:600;color:#5b7553;margin:0;background:#ffffffb3;padding:.2rem .6rem;border-radius:12px;display:inline-flex;align-items:center}.notable-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.summary-card{background:#fdfcfb;border-radius:16px;overflow:hidden;transition:all .3s cubic-bezier(.16,1,.3,1);display:flex;flex-direction:column;border:1px solid rgba(0,0,0,.06);cursor:pointer;position:relative;box-shadow:0 4px 15px #00000008}.summary-card:hover{transform:translateY(-5px);box-shadow:0 12px 30px #00000014;border-color:#0000001a}.summary-card .notable-photo{width:100%;height:240px;overflow:hidden;background:#ece8e2;border-bottom:1px solid rgba(0,0,0,.03);display:flex;align-items:center;justify-content:center}.summary-card .notable-photo img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;transition:transform .5s ease}.summary-card:hover .notable-photo img{transform:scale(1.03)}.notable-card-content{display:flex;flex-direction:column;padding:1.25rem;flex-grow:1}.notable-header{margin-bottom:.8rem}.notable-header h3{margin:0 0 .5rem;font-size:1.25rem;color:#1a1a1a;font-weight:700;line-height:1.2;letter-spacing:-.01em}.notable-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem}.notable-title{color:#e8643c;font-weight:600;font-size:.85rem;margin:0;line-height:1.3;flex:1}.notable-badge-date{font-size:.75rem;font-weight:600;color:#666;background:#f4f4f4;padding:.2rem .5rem;border-radius:10px;white-space:nowrap}.notable-biography-snippet{color:#555;line-height:1.5;font-size:.9rem;margin:.8rem 0 1rem;flex-grow:1}.notable-biography-snippet p{margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.notable-card-footer{margin-top:auto;padding-top:1rem;border-top:1px solid rgba(0,0,0,.05);display:flex;justify-content:flex-end}.read-more-text{font-size:.85rem;font-weight:600;color:#5b7553;transition:opacity .2s}.summary-card:hover .read-more-text{opacity:.8}.notable-actions-overlay{position:absolute;top:1rem;right:1rem;display:flex;gap:.5rem;opacity:0;transform:translateY(-5px);transition:all .25s}.summary-card:hover .notable-actions-overlay{opacity:1;transform:translateY(0)}.btn-edit-icon,.btn-delete-icon{width:34px;height:34px;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #00000026}.btn-edit-icon{background:#fff;color:#1a1a1a}.btn-edit-icon:hover{background:#1a1a1a;color:#fff}.btn-delete-icon{background:#fff;color:#e8643c}.btn-delete-icon:hover{background:#e8643c;color:#fff}.loading,.empty-state{text-align:center;color:#6e6e6e;padding:2rem;font-size:.95rem}@media (max-width:768px){.notable-grid{grid-template-columns:1fr}}.heritage-page{max-width:1100px;margin:0 auto}.heritage-header{margin-bottom:2rem;padding:1.5rem 1.5rem 0}.heritage-header h2{font-size:2.5rem;font-weight:700;color:#1a1a1a;letter-spacing:-.03em;margin-bottom:.5rem}.heritage-subtitle{color:#6e6e6e;font-size:1.05rem}.btn-add-heritage{display:inline-flex;align-items:center;gap:.4rem;padding:.75rem 1.5rem;background:#e8643c;color:#fff;border:none;border-radius:30px;font-size:.95rem;font-weight:600;cursor:pointer;margin:0 1.5rem 2rem;transition:opacity .2s}.btn-add-heritage:hover{opacity:.9}.heritage-form{background:#fff;border-radius:16px;padding:1.5rem;margin:0 1.5rem 2rem;box-shadow:0 4px 12px #0000000d;border:.5px solid rgba(0,0,0,.1)}.heritage-form .form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.heritage-form .form-group{margin-bottom:1.25rem}.heritage-form label{display:block;font-size:.85rem;font-weight:600;color:#1a1a1a;margin-bottom:.35rem}.heritage-form input,.heritage-form select,.heritage-form textarea{width:100%;padding:.7rem .9rem;border:1px solid #d4cfc9;border-radius:10px;font-size:.9rem;font-family:inherit;background:#f9f9f9;color:#1a1a1a;transition:border-color .2s;outline:none}.heritage-form input:focus,.heritage-form select:focus,.heritage-form textarea:focus{border-color:#e8643c;background:#fff}.heritage-form .btn-submit{display:inline-flex;align-items:center;gap:.4rem;padding:.75rem 2rem;background:#1a1a1a;color:#fff;border:none;border-radius:30px;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .2s}.heritage-form .btn-submit:hover{background:#333}.heritage-empty{text-align:center;padding:4rem 2rem;color:#6e6e6e}.heritage-empty .empty-icon{width:3rem;height:3rem;color:#d4cfc9;margin-bottom:1rem}.heritage-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.25rem;padding:0 1.5rem 3rem}.heritage-card{background:#ece7e1;border-radius:16px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;border:none}.heritage-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #00000014}.heritage-card-gallery{width:100%;height:220px;display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.heritage-card-gallery img{width:100%;height:100%;object-fit:cover;flex-shrink:0;scroll-snap-align:start}.heritage-card-body{padding:1.5rem}.heritage-category-badge{display:inline-block;padding:.25rem .75rem;background:#1a1a1a;color:#fff;font-size:.75rem;font-weight:600;border-radius:20px;margin-bottom:.8rem;text-transform:uppercase;letter-spacing:.04em}.heritage-card-body h3{font-size:1.35rem;font-weight:700;color:#1a1a1a;margin-bottom:.4rem;letter-spacing:-.01em}.heritage-location{font-size:.85rem;color:#e8643c;margin-bottom:.75rem;font-weight:600}.heritage-description{font-size:.92rem;color:#4a4a4a;line-height:1.6}.heritage-actions{display:flex;gap:.75rem;margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid #d4cfc9}.heritage-actions .btn-edit,.heritage-actions .btn-delete{display:inline-flex;align-items:center;gap:.3rem;padding:.45rem 1rem;border:none;border-radius:24px;font-size:.82rem;font-weight:600;cursor:pointer;transition:background .2s}.heritage-actions .btn-edit{background:#0000000d;color:#1a1a1a}.heritage-actions .btn-edit:hover{background:#1a1a1a;color:#fff}.heritage-actions .btn-delete{background:#e8643c1a;color:#e8643c}.heritage-actions .btn-delete:hover{background:#e8643c;color:#fff}.upload-preview-grid{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.upload-preview-item{position:relative;width:80px;height:80px;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.upload-preview-item img{width:100%;height:100%;object-fit:cover}.btn-remove-preview{position:absolute;top:4px;right:4px;background:#0009;color:#fff;border:none;border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.btn-remove-preview:hover{background:#e8643ce6}.upload-row{display:flex;align-items:center;gap:1rem}.upload-status{font-size:.8rem;font-weight:600;color:#e8643c;animation:pulse 1.5s infinite}@media (max-width: 768px){.heritage-grid,.heritage-form .form-row-2{grid-template-columns:1fr}}.photo-gallery-page{max-width:1200px;margin:0 auto;padding:1.5rem}.gallery-header{margin-bottom:2rem}.gallery-header h2{font-size:2.5rem;font-weight:700;color:#1a1a1a;letter-spacing:-.03em;margin-bottom:.5rem}.gallery-subtitle{color:#6e6e6e;font-size:1.05rem}.btn-add-photo{display:inline-flex;align-items:center;gap:.4rem;padding:.75rem 1.5rem;background:#e8643c;color:#fff;border:none;border-radius:30px;font-size:.95rem;font-weight:600;cursor:pointer;margin-bottom:1.5rem;transition:opacity .2s}.btn-add-photo:hover{opacity:.9}.gallery-form{background:#fff;border-radius:16px;padding:1.5rem;margin-bottom:2.5rem;box-shadow:0 4px 12px #0000000d;border:.5px solid rgba(0,0,0,.1)}.gallery-form .form-group{margin-bottom:1.25rem}.gallery-form label{display:block;font-size:.85rem;font-weight:600;color:#1a1a1a;margin-bottom:.35rem}.gallery-form textarea{width:100%;padding:.7rem .9rem;border:1px solid #d4cfc9;border-radius:10px;font-size:.9rem;font-family:inherit;background:#f9f9f9;color:#1a1a1a;transition:border-color .2s;outline:none;resize:vertical}.gallery-form textarea:focus{border-color:#e8643c;background:#fff}.upload-box{border:2px dashed #d4cfc9;border-radius:16px;padding:2rem;text-align:center;cursor:pointer;transition:all .2s;background:#f9f9f9;display:flex;align-items:center;justify-content:center;min-height:160px}.upload-box:hover{border-color:#e8643c;background:#e8643c05}.upload-box.has-preview{padding:0;overflow:hidden;border:none}.upload-placeholder{color:#6e6e6e;display:flex;flex-direction:column;align-items:center}.upload-icon{width:2.5rem;height:2.5rem;color:#e8643c;margin-bottom:.75rem}.image-preview{width:100%;height:100%;object-fit:contain;max-height:400px;display:block}.form-actions-inline{display:flex;gap:1rem;align-items:center;margin-top:1.5rem}.btn-submit{display:inline-flex;align-items:center;gap:.4rem;padding:.75rem 2rem;background:#1a1a1a;color:#fff;border:none;border-radius:30px;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-submit:hover:not(:disabled){background:#333}.btn-submit:disabled{opacity:.6;cursor:not-allowed}.btn-cancel{background:transparent;color:#6e6e6e;border:none;font-weight:600;cursor:pointer;padding:.75rem 1rem}.btn-cancel:hover{color:#1a1a1a}.gallery-empty{text-align:center;padding:4rem 2rem;color:#6e6e6e}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.gallery-card{background:#ece7e1;border-radius:16px;overflow:hidden;transition:transform .25s ease;border:none;display:flex;flex-direction:column}.gallery-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #00000014}.gallery-card-image{width:100%;height:260px;overflow:hidden}.gallery-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.gallery-card:hover .gallery-card-image img{transform:scale(1.04)}.gallery-card-body{padding:1.25rem;flex-grow:1}.gallery-caption{font-size:.95rem;color:#4a4a4a;line-height:1.5;margin:0}.gallery-actions{display:flex;padding:1rem;border-top:1px solid #d4cfc9;background:transparent}.gallery-actions .btn-delete{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;padding:.45rem 1rem;border:none;border-radius:24px;font-size:.82rem;font-weight:600;cursor:pointer;transition:background .2s;width:100%}.gallery-actions .btn-delete{background:#e8643c1a;color:#e8643c}.gallery-actions .btn-delete:hover{background:#e8643c;color:#fff}@media (max-width: 768px){.gallery-grid{grid-template-columns:1fr}}.gallery-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000e6;display:flex;align-items:center;justify-content:center;z-index:2000;padding:2rem;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:fadeIn .3s ease}.gallery-modal{position:relative;max-width:90vw;max-height:90vh;display:flex;flex-direction:column;animation:modalScale .3s cubic-bezier(.34,1.56,.64,1)}.gallery-modal-close{position:absolute;top:-40px;right:-40px;background:transparent;border:none;color:#fff;cursor:pointer;padding:8px;transition:transform .2s}.gallery-modal-close:hover{transform:scale(1.1)}.gallery-modal-close .icon-inline{width:32px;height:32px}.gallery-modal-img-container{overflow:hidden;border-radius:12px;background:#000;box-shadow:0 20px 40px #0006}.gallery-modal-img-container img{display:block;max-width:100%;max-height:calc(90vh - 80px);object-fit:contain}.gallery-modal-caption{margin-top:1rem;color:#fff;text-align:center;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1rem;border-radius:12px}.gallery-modal-caption p{margin:0;font-size:1.1rem;font-weight:500}@keyframes modalScale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@media (max-width: 768px){.gallery-modal-overlay{padding:1rem}.gallery-modal-close{top:10px;right:10px;background:#00000080;border-radius:50%}}.login-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}.login-modal{background:#fff;border-radius:20px;padding:2.5rem 2rem 2rem;width:90%;max-width:380px;position:relative;box-shadow:0 24px 80px #0000002e;animation:slideUp .3s ease}.login-close{position:absolute;top:1rem;right:1rem;background:#0000000f;border:none;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#8e8e93;transition:background .2s}.login-close:hover{background:#0000001a}.login-header{text-align:center;margin-bottom:1.5rem}.login-icon-circle{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#248a3d,#34c759);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;color:#fff}.login-header h3{font-size:1.25rem;font-weight:700;color:#1c1c1e;margin-bottom:.3rem}.login-header p{font-size:.85rem;color:#8e8e93}.login-form{display:flex;flex-direction:column;gap:.75rem}.login-form input{padding:.85rem 1rem;border:1.5px solid rgba(60,60,67,.12);border-radius:12px;font-size:1rem;font-family:inherit;background:#f9f9f9;transition:border-color .2s,box-shadow .2s;outline:none}.login-form input:focus{border-color:#34c759;box-shadow:0 0 0 3px #34c75926;background:#fff}.login-form input.input-error{border-color:#ff3b30;box-shadow:0 0 0 3px #ff3b301f}.login-error{font-size:.8rem;color:#ff3b30;text-align:center;font-weight:500}.login-btn{padding:.85rem;background:linear-gradient(135deg,#248a3d,#34c759);color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:600;font-family:inherit;cursor:pointer;transition:opacity .2s,transform .15s}.login-btn:hover{opacity:.9}.login-btn:active{transform:scale(.98)}.login-modal.shake{animation:shake .4s ease}@keyframes shake{0%,to{transform:translate(0)}20%{transform:translate(-12px)}40%{transform:translate(10px)}60%{transform:translate(-6px)}80%{transform:translate(4px)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.bo-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);z-index:1100;display:flex;justify-content:center;align-items:flex-start;padding:2rem 1rem;overflow-y:auto}.bo-modal{background:#fff;border-radius:20px;width:100%;max-width:680px;box-shadow:0 24px 80px #0003;animation:slideUp .3s ease}.bo-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:.5px solid rgba(60,60,67,.12)}.bo-header h2{font-size:1.15rem;font-weight:700;color:#1c1c1e;display:flex;align-items:center;gap:.4rem}.bo-close{background:#0000000f;border:none;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#8e8e93}.bo-close:hover{background:#0000001a}.bo-form{padding:1.25rem 1.5rem 1.5rem;display:flex;flex-direction:column;gap:.75rem}.bo-section{border:1px solid rgba(60,60,67,.1);border-radius:14px;padding:1rem 1.25rem;margin:0}.bo-section legend{font-size:.85rem;font-weight:700;color:#248a3d;padding:0 .5rem}.bo-form label{display:block;font-size:.78rem;font-weight:600;color:#6e6e73;margin-bottom:.2rem;margin-top:.6rem}.bo-form input,.bo-form textarea{width:100%;padding:.6rem .8rem;border:1.5px solid rgba(60,60,67,.12);border-radius:10px;font-size:.88rem;font-family:inherit;background:#f9f9f9;color:#1c1c1e;outline:none;transition:border-color .2s,box-shadow .2s}.bo-form input:focus,.bo-form textarea:focus{border-color:#34c759;box-shadow:0 0 0 3px #34c7591a;background:#fff}.bo-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.bo-card-row{display:flex;align-items:center;gap:.75rem;margin-top:.5rem}.bo-card-label{flex-shrink:0;width:140px;font-size:.82rem;font-weight:600;color:#3c3c43}.bo-card-row input{flex:1}.bo-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.5rem;padding-top:1rem;border-top:.5px solid rgba(60,60,67,.1)}.bo-btn-cancel{padding:.65rem 1.2rem;background:#3c3c430f;border:none;border-radius:10px;font-size:.88rem;font-weight:600;color:#3c3c43;cursor:pointer;font-family:inherit}.bo-btn-cancel:hover{background:#3c3c431a}.bo-btn-save{padding:.65rem 1.5rem;background:linear-gradient(135deg,#248a3d,#34c759);border:none;border-radius:10px;font-size:.88rem;font-weight:600;color:#fff;cursor:pointer;font-family:inherit;display:flex;align-items:center;gap:.3rem;transition:opacity .2s}.bo-btn-save:hover{opacity:.9}@keyframes slideUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.upload-row{display:flex;align-items:center;gap:1rem;margin-top:.2rem;margin-bottom:.5rem}.bo-img-preview{height:40px;width:auto;border-radius:6px;box-shadow:0 2px 5px #0000001a}.bo-img-preview-small{height:28px;width:auto;border-radius:4px}.upload-status{font-size:.75rem;color:#fb8c00;font-weight:600;animation:pulse 1.5s infinite}@keyframes pulse{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}@media (max-width: 768px){.bo-row{grid-template-columns:1fr}.bo-card-row{flex-direction:column;align-items:stretch}.bo-card-label{width:auto}}*{margin:0;padding:0;box-sizing:border-box}:root{--primary-color: #34C759;--primary-dark: #248A3D;--primary-light: #30D158;--secondary-color: #6BC17E;--accent-color: #FF3B30;--success-color: #34C759;--warning-color: #FF9F0A;--bg-light: #F2F2F7;--bg-white: #FFFFFF;--bg-grouped: #F2F2F7;--text-dark: #1C1C1E;--text-secondary: #3C3C43;--text-muted: #8E8E93;--border-color: rgba(60, 60, 67, .12);--separator: rgba(60, 60, 67, .18);--shadow: 0 1px 3px rgba(0, 0, 0, .08);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .12);--ios-radius: 12px;--ios-radius-lg: 16px}body{font-family:Inter,-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-grouped);color:var(--text-dark)}html,body,#root{height:100%;width:100%}.app{display:flex;flex-direction:column;min-height:100vh;background:var(--bg-grouped)}.app-header{background:linear-gradient(135deg,#248a3d,#34c759,#30d158);color:#fff;padding:2.5rem 1rem 2rem;text-align:center;position:relative;overflow:hidden}.app-header:before{content:"";position:absolute;top:-50%;left:-25%;width:150%;height:200%;background:radial-gradient(ellipse,rgba(255,255,255,.08) 0%,transparent 60%);pointer-events:none}.header-content h1{font-size:2rem;margin-bottom:.4rem;font-weight:700;letter-spacing:-.02em}.header-content .subtitle{font-size:1rem;opacity:.85;font-weight:400}.tabs{display:flex;justify-content:center;gap:0;padding:.75rem 1rem;background:var(--bg-white);border-bottom:.5px solid var(--separator);flex-wrap:wrap;gap:.5rem}.tab{padding:.6rem 1.1rem;border:none;background:transparent;color:var(--text-muted);font-size:.85rem;font-weight:600;cursor:pointer;border-radius:8px;transition:all .25s ease;letter-spacing:-.01em}.tab:hover{color:var(--primary-dark);background-color:#34c75914}.tab.active{color:#fff;background:var(--primary-color);box-shadow:0 2px 8px #34c7594d}.app-content{flex:1;max-width:1200px;margin:1rem auto;width:100%;padding:0 1rem}.app-footer{background-color:var(--text-dark);color:#ffffffb3;text-align:center;padding:1.5rem;margin-top:auto;font-size:.8rem;letter-spacing:-.01em}.btn-submit,.btn-primary{background:var(--primary-color);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:var(--ios-radius);font-size:.95rem;font-weight:600;cursor:pointer;transition:all .25s ease;letter-spacing:-.01em}.btn-submit:hover,.btn-primary:hover{background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px #34c7594d}.btn-delete{background:var(--accent-color);color:#fff;border:none;padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:.85rem;font-weight:600;transition:all .25s ease}.btn-delete:hover{background:#d70015;transform:scale(1.03)}.btn-delete-rel{background:none;border:none;color:var(--accent-color);cursor:pointer;font-size:1.2rem;padding:.25rem .5rem;transition:transform .2s ease}.btn-delete-rel:hover{transform:scale(1.2)}.form-header{margin-bottom:1.5rem;text-align:center}.form-header h2{font-size:1.6rem;color:var(--primary-dark);margin-bottom:.4rem;font-weight:700;letter-spacing:-.02em}.form-header p{color:var(--text-muted);font-size:.95rem}.form-group{margin-bottom:1.25rem;display:flex;flex-direction:column}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.form-group label{font-weight:600;margin-bottom:.4rem;color:var(--text-dark);font-size:.85rem;letter-spacing:-.01em}.form-group input,.form-group select,.form-group textarea{padding:.7rem .85rem;border:.5px solid var(--separator);border-radius:10px;font-size:.95rem;font-family:inherit;background:var(--bg-white);transition:border-color .25s ease,box-shadow .25s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #34c7591f}.form-group textarea{resize:vertical;min-height:100px}.success-message{background-color:#34c7591a;border:1px solid rgba(52,199,89,.25);color:var(--primary-dark);padding:.85rem 1rem;border-radius:var(--ios-radius);margin-bottom:1.25rem;animation:slideDown .3s ease;font-weight:500}.warning-message{background-color:#ff9f0a1a;border:1px solid rgba(255,159,10,.25);color:#9a6700;padding:.85rem 1rem;border-radius:var(--ios-radius);margin-bottom:1.25rem}.empty-state{text-align:center;padding:3rem 1rem;color:var(--text-muted)}.empty-text{color:var(--text-muted);font-style:italic}.form-info{background:#34c7590f;padding:1.25rem;border-radius:var(--ios-radius);margin-top:1.5rem;border:.5px solid rgba(52,199,89,.15)}.form-info h3{color:var(--primary-dark);margin-bottom:.75rem;font-size:.95rem}.form-info ul{list-style:none;padding-left:0}.form-info li{padding:.4rem 0 .4rem 1.5rem;position:relative;color:var(--text-muted);font-size:.9rem}.form-info li:before{content:"✓";position:absolute;left:0;color:var(--primary-color);font-weight:700}.icon-inline{width:1.2em;height:1.2em;vertical-align:-.2em;display:inline-block;flex-shrink:0}.icon-inline-lg{width:1.5em;height:1.5em;vertical-align:-.3em;display:inline-block;flex-shrink:0}.icon-stat{width:2rem;height:2rem;color:var(--primary-color)}.icon-upload{width:2.5rem;height:2.5rem;color:var(--primary-color);margin-bottom:.5rem}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.header-content h1{font-size:1.6rem}.app-content{margin:.75rem auto}.tabs{gap:.35rem;padding:.6rem .5rem}.tab{padding:.5rem .8rem;font-size:.8rem}.form-row{grid-template-columns:1fr}}.profile-details{border-top:.5px solid var(--separator);padding-top:1rem;display:flex;flex-direction:column;gap:.5rem}.detail-divider{height:.5px;background-color:var(--separator);margin:.5rem 0;width:100%}
