html,body,#root{width:100%;overflow-x:hidden}*{box-sizing:border-box}body{color:#2c2c2c;background:#f8f4ee;margin:0;font-family:Arial,sans-serif;overflow-y:scroll}.page{flex-direction:column;min-height:100vh;display:flex}.navbar{z-index:1000;background:#f8f4ee;justify-content:space-between;align-items:center;min-height:140px;padding:15px 60px;display:flex;position:sticky;top:0}.logo{align-items:center;display:flex}.logo img{object-fit:contain;width:auto;height:120px;transition:all .3s}.logo img:hover{transform:scale(1.03)}.navbar nav{align-items:center;display:flex}nav a{color:#5b3a29;margin-left:30px;font-size:18px;font-weight:500;text-decoration:none;transition:all .3s}nav a:hover,nav a:visited{color:#5b3a29}nav a.active{color:#3a2418;border-bottom:2px solid #c9a86a;font-weight:700}.hero{text-align:center;justify-content:center;align-items:center;min-height:calc(100vh - 140px);padding:60px;display:flex}.heroText{max-width:700px}.heroText h1{color:#3a2418;margin-bottom:20px;font-size:60px;line-height:1.1}.heroText p{color:#6b5b50;margin:20px auto;font-size:19px;line-height:1.7}.arabic{color:#8b6f5a;direction:rtl;margin-top:15px;font-family:Tahoma,Segoe UI,sans-serif;font-size:26px;display:block}.buttons{margin-top:30px}button{cursor:pointer;border:none;border-radius:30px;margin-right:15px;padding:14px 26px;font-size:16px;transition:all .3s}.primaryBtn{color:#fff;background:#5b3a29}.primaryBtn:hover{background:#3e261a}.secondaryBtn{color:#5b3a29;background:#fff;border:1px solid #d8c7b8}.secondaryBtn:hover{background:#f3ece4}.authPage{justify-content:center;align-items:center;min-height:calc(100vh - 140px);padding:60px;display:flex}.authCard{background:#fff;border-radius:24px;width:420px;padding:40px;box-shadow:0 20px 50px #00000014}.authCard h2{color:#3a2418;margin:0 0 10px;font-size:34px}.authCard p{color:#7a6a60;margin-bottom:30px;line-height:1.6}.authCard form{flex-direction:column;display:flex}.authCard label{color:#5b3a29;margin-bottom:8px;font-weight:600}.authCard input,.authCard textarea{border:1px solid #d8c7b8;border-radius:14px;outline:none;margin-bottom:20px;padding:14px 16px;font-size:15px}.authCard input:focus,.authCard textarea:focus{border-color:#c9a86a}.authCard textarea{resize:vertical;min-height:120px;font-family:Arial,sans-serif}.authCard button{width:100%;margin-top:10px}.authNote{text-align:center;color:#8b6f5a;margin-top:25px;font-size:14px;display:block}.linkBtn{color:#8b6f5a;cursor:pointer;background:0 0;border:none;margin:0;padding:0;font-size:14px;font-weight:700}.linkBtn:hover{color:#5b3a29;text-decoration:underline}.languageFlags{justify-content:center;gap:20px;margin:30px 0;display:flex}.languageFlags img{cursor:pointer;border-radius:6px;width:40px;height:30px;transition:transform .2s}.languageFlags img:hover{transform:scale(1.1)}.activeFlag{border:2px solid #c9a86a}.footer{text-align:center;color:#8b6f5a;border-top:1px solid #e5dcd3;padding:20px;font-size:14px}.accountNav{align-items:center;display:flex}.accountMenu{position:relative}.accountLink{color:#3a2418;cursor:pointer;background:0 0;border:none;border-radius:18px;align-items:center;gap:12px;margin:0;padding:10px 18px;font-size:18px;font-weight:600;transition:all .3s;display:flex}.accountLink:hover{background:#f3ece4}.accountIcon{background:#fff;border:1px solid #c9a86a;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.accountArrow{color:#8b6f5a;margin-left:5px;font-size:16px}.accountDropdown{z-index:5000;background:#fff;border-radius:18px;width:220px;padding:10px;animation:.2s dropdownFade;position:absolute;top:60px;right:0;box-shadow:0 20px 50px #0000001f}.accountDropdown button{text-align:left;color:#5b3a29;cursor:pointer;background:0 0;border:none;border-radius:12px;width:100%;margin:0;padding:14px 16px;font-size:15px}.accountDropdown button:hover{background:#f3ece4}@keyframes dropdownFade{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.dashboardPage{min-height:calc(100vh - 140px);padding:60px}.dashboardHeader{justify-content:space-between;align-items:center;display:flex}.dashboardHeaderOnly{align-items:flex-start}.dashboardHeader h1{color:#3a2418;margin:0 0 12px;font-size:52px}.dashboardHeader p{color:#7a6a60;margin:0;font-size:20px}.dashboardDivider{background:#e5dcd3;height:1px;margin:35px 0}.dashboardStats{grid-template-columns:1fr 1fr;gap:25px;margin-bottom:35px;display:grid}.statCard{background:#fff;border-radius:22px;align-items:center;gap:30px;padding:35px;display:flex;box-shadow:0 20px 50px #0000000f}.statIcon{background:#f3ece4;border-radius:50%;justify-content:center;align-items:center;width:90px;height:90px;font-size:38px;display:flex}.statCard h3{color:#8b6f5a;margin:0 0 12px;font-size:22px}.statCard p{color:#3a2418;margin:0 0 8px;font-size:36px;font-weight:700}.statCard span{color:#7a6a60}.memorialSection{background:#fff;border-radius:24px;padding:35px;box-shadow:0 20px 50px #0000000f}.memorialSection h2{text-align:center;color:#3a2418;font-size:30px}.sectionLine{background:#e5dcd3;height:1px;margin:25px 0}.emptyState{text-align:center;color:#7a6a60;padding:25px}.emptyIcon{background:#f3ece4;border-radius:50%;justify-content:center;align-items:center;width:76px;height:76px;margin:0 auto 20px;font-size:34px;display:flex}.memorialGrid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;display:grid}.memorialCard{background:#f8f4ee;border:1px solid #e5dcd3;border-radius:20px;padding:25px}.memorialCard h3{color:#3a2418;margin:0 0 10px;font-size:24px}.memorialCard p{color:#7a6a60;margin:0 0 12px}.memorialCard span{color:#8b6f5a;margin-bottom:20px;font-size:14px;display:block}.memorialCardPhoto,.memorialCardPhotoPlaceholder{border-radius:18px;width:100%;height:180px;margin-bottom:18px}.memorialCardPhoto{object-fit:cover}.memorialCardPhotoPlaceholder{background:#f3ece4;justify-content:center;align-items:center;font-size:42px;display:flex}.memorialCardActions{gap:10px;margin-top:18px;display:flex}.memorialCardActions button{flex:1;margin:0}.fullCardBtn{width:100%;margin-top:12px}.createMemorialPage{padding:50px 60px}.createHeader{justify-content:space-between;align-items:center;margin-bottom:35px;display:flex}.createHeader h1{color:#3a2418;margin:0 0 10px;font-size:42px}.createHeader p{color:#7a6a60;margin:0;font-size:18px}.createLayout{grid-template-columns:280px 1fr;gap:25px;display:grid}.createSidebar{background:#fff;border-radius:24px;height:fit-content;padding:18px;box-shadow:0 20px 50px #0000000f}.sideItem{color:#5b3a29;border-radius:16px;align-items:center;gap:12px;padding:18px;font-weight:600;display:flex}.sideItem.active{background:#f3ece4}.createSidebar button.sideItem{text-align:left;cursor:pointer;background:0 0;border:none;width:100%;margin:0}.createContent{flex-direction:column;gap:18px;display:flex}.formPanel,.createSections{background:#fff;border-radius:24px;padding:28px;box-shadow:0 20px 50px #0000000f}.formGrid{grid-template-columns:1fr 1fr;gap:22px;display:grid}.formGroup{flex-direction:column;display:flex}.formGroup.full{grid-column:1/-1}.formGroup label{color:#3a2418;margin-bottom:8px;font-weight:600}.formGroup input,.formGroup textarea{border:1px solid #d8c7b8;border-radius:14px;outline:none;padding:14px 16px;font-size:15px}.formGroup textarea{resize:vertical;min-height:140px}.formGroup small{text-align:right;color:#8b6f5a;margin-top:6px}.createActions{justify-content:space-between;gap:20px;display:flex}.saveMemorialBtn{flex:1}.photoUploadBox{text-align:center;background:#f8f4ee;border:2px dashed #d8c7b8;border-radius:22px;margin-top:25px;padding:30px}.photoUploadBox img{object-fit:cover;border-radius:22px;width:220px;height:220px;margin-bottom:20px}.photoPlaceholder{background:#fff;border-radius:22px;justify-content:center;align-items:center;width:180px;height:180px;margin:0 auto 20px;font-size:54px;display:flex}.publicMemorialPage{background:radial-gradient(circle at 0 0,#c9a86a2e,#0000 32%),#f8f4ee;min-height:calc(100vh - 140px);padding:50px 60px;overflow-x:hidden}.publicHero{background:#fff;border-radius:32px;align-items:center;gap:45px;max-width:1100px;margin:0 auto 35px;padding:45px;display:flex;box-shadow:0 20px 60px #00000014}.publicPhotoWrap{flex:0 0 260px;justify-content:center;display:flex}.publicProfilePhotoLarge,.publicProfilePlaceholder{border-radius:50%;width:240px;height:240px}.publicProfilePhotoLarge{object-fit:cover;border:8px solid #f3ece4}.publicProfilePlaceholder{background:#f3ece4;justify-content:center;align-items:center;font-size:70px;display:flex}.publicHeroText{flex:1;min-width:0}.publicHeroText h1{color:#3a2418;word-break:break-word;margin:18px 0 12px;font-size:48px;line-height:1.15}.memoryLabel{color:#8b6f5a;letter-spacing:1px;text-transform:uppercase;font-size:16px}.dates{color:#7a6a60;font-size:20px}.publicQuote{color:#8b6f5a;margin-top:22px;font-size:22px;font-style:italic}.publicDetailsGrid{grid-template-columns:repeat(4,1fr);gap:20px;max-width:1100px;margin:0 auto 35px;display:grid}.detailBox{text-align:center;background:#fff;border-radius:24px;padding:26px;box-shadow:0 20px 50px #0000000f}.detailBox span{font-size:32px}.detailBox h3{color:#3a2418;margin:15px 0 8px;font-size:18px}.detailBox p{color:#7a6a60;word-break:break-word;margin:0}.publicBioSection{background:#fff;border-radius:28px;max-width:1100px;margin:0 auto 35px;padding:45px;box-shadow:0 20px 50px #0000000f}.publicBioSection h2{color:#3a2418;margin:0 0 18px;font-size:34px}.publicBioSection p{color:#5b3a29;font-size:20px;line-height:1.8}.publicFooterNote{text-align:center;color:#8b6f5a}@media (width<=1000px){.createLayout,.formGrid{grid-template-columns:1fr}.publicDetailsGrid{grid-template-columns:repeat(2,1fr)}}@media (width<=900px){.dashboardStats{grid-template-columns:1fr}.dashboardHeader{flex-direction:column;align-items:flex-start;gap:20px}.hero{text-align:center;flex-direction:column}}@media (width<=850px){.publicHero{text-align:center;flex-direction:column;gap:25px;width:100%;padding:30px 20px}.publicHeroText{width:100%}.publicHeroText h1{font-size:38px}.publicMemorialPage{padding:20px 12px}.publicDetailsGrid{grid-template-columns:1fr}}@media (width<=700px){.navbar{flex-direction:column;justify-content:center;align-items:center;gap:18px;min-height:auto;padding:20px 16px}.logo img{width:180px;height:auto}.navbar nav{flex-wrap:wrap;justify-content:center;gap:22px}nav a{margin-left:0;font-size:18px}.authPage,.dashboardPage,.createMemorialPage{padding:30px 16px}.authCard{width:100%}.hero{padding:40px 20px}.heroText h1{font-size:42px}}@media (width<=600px){.publicDetailsGrid{grid-template-columns:1fr}}.educationList{gap:15px;margin-top:25px;display:grid}.educationCard{background:#f8f4ee;border:1px solid #e5dcd3;border-radius:16px;padding:18px}.educationCard h3{color:#3a2418;margin:0 0 8px}.educationCard p{color:#7a6a60;margin:0}.mediaUploadActions{gap:15px;margin-bottom:25px;display:flex}.mediaUploadActions label{text-align:center;cursor:pointer;margin:0}.galleryGrid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;display:grid}.galleryCard{background:#f8f4ee;border:1px solid #e5dcd3;border-radius:18px;overflow:hidden}@media (width<=700px){.mediaUploadActions{flex-direction:column}}.publicTimeline{gap:18px;display:grid}.publicTimelineItem{background:#f8f4ee;border:1px solid #e5dcd3;border-radius:18px;padding:22px}.publicTimelineItem h3{color:#3a2418;margin:0 0 8px}.publicTimelineItem p{color:#7a6a60;margin:0 0 8px;font-size:17px}.publicTimelineItem span{color:#8b6f5a;font-weight:700}.publicGalleryGrid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;display:grid}.publicGalleryCard{background:#f8f4ee;border:1px solid #e5dcd3;border-radius:20px;overflow:hidden}.publicGalleryCard img,.publicGalleryCard video{object-fit:cover;width:100%;height:240px;display:block}.publicGalleryCard p{color:#7a6a60;margin:0;padding:14px;font-size:15px}.educationList{flex-direction:column;gap:20px;margin-top:30px;display:flex}.galleryGrid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;margin-top:25px;display:grid}.galleryCard{background:#f8f4ee;border:1px solid #e5dcd3;border-radius:18px;padding-bottom:15px;overflow:hidden}.galleryCard img,.galleryCard video{object-fit:cover;width:100%;height:220px;display:block}.galleryCard button{margin:15px}.licenseGrid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin:25px 0;display:grid}.licenseOption{text-align:left;color:#3a2418;cursor:pointer;background:#f8f4ee;border:1px solid #e5dcd3;border-radius:20px;margin:0;padding:25px}.licenseOption.selected{background:#fffaf1;border:2px solid #c9a86a}.licenseOption h3{margin:0 0 10px}.licenseOption p{color:#7a6a60}.licenseOption strong{color:#3a2418;margin:15px 0;font-size:24px;display:block}.licenseOption span{color:#8b6f5a}.paymentBox{text-align:center;background:#f8f4ee;border:1px solid #e5dcd3;border-radius:20px;margin-top:25px;padding:25px}.whishQrImage{background:#fff;border-radius:18px;width:240px;max-width:100%;padding:12px}.plateImage{object-fit:cover;border-radius:16px;width:100%;height:160px;margin-bottom:15px}.licenseForm{margin-top:25px}.licenseWarningBox h3{color:#3a2418;margin:0 0 10px}.licenseWarningBox{color:#5b3a29;background:#fff7e8;border:1px solid #e2c27d;border-radius:22px;margin-bottom:30px;padding:25px}.mediaSubPanel{box-shadow:none;border:1px solid #e5dcd3;margin-top:25px}.familyAvatar{background:#f3ece4;border-radius:50%;justify-content:center;align-items:center;width:90px;height:90px;margin:20px auto 10px;font-size:38px;display:flex}.sectionHeader{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.dangerZone{color:#5c1f1f;background:#fff5f5;border:1px solid #d49a9a;border-radius:20px;margin-top:35px;padding:24px}.dangerZone h3{color:#8a1f1f;margin:0 0 8px}.dangerZone p{color:#7a4a4a;margin-bottom:18px}.dangerBtn{color:#fff;cursor:pointer;background:#9f2a2a;border:none;border-radius:999px;padding:11px 20px;font-weight:700}.dangerBtn:hover{background:#7d1f1f}.authLinks{text-align:center;margin-top:16px}.authLinks a{color:#7a4d2b;font-weight:700;text-decoration:none}.authLinks a:hover{text-decoration:underline}.paymentSummaryBox{background:#fffaf3;border:1px solid #e5d5c5;border-radius:22px;margin-bottom:24px;padding:22px}.paymentSummaryLine,.paymentSummaryTotal{border-bottom:1px solid #eadfd3;justify-content:space-between;gap:16px;padding:12px 0;display:flex}.paymentSummaryTotal{color:#3a2418;border-bottom:none;font-size:1.2rem}.paymentSummaryTotal strong{font-size:1.35rem}.licenseOptionInner{width:100%;color:inherit;text-align:inherit;cursor:pointer;background:0 0;border:none;padding:0}.platePreviewBtn{width:100%;margin-top:12px}.imagePreviewOverlay{z-index:9999;background:#23160ec7;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.imagePreviewModal{text-align:center;background:#fffaf3;border-radius:24px;width:min(920px,96vw);max-height:92vh;padding:22px;position:relative;overflow:auto;box-shadow:0 18px 60px #00000059}.imagePreviewModal h3{color:#3a2418;margin:0 0 16px}.imagePreviewModal img{object-fit:contain;border-radius:18px;max-width:100%;max-height:75vh}.imagePreviewClose{color:#fff;cursor:pointer;background:#3a2418;border:none;border-radius:50%;width:38px;height:38px;font-size:28px;line-height:1;position:absolute;top:12px;right:14px}img,video,iframe,input,textarea,select,button{max-width:100%}@media (width<=1000px){.navbar{padding:14px 28px}.dashboardPage,.createMemorialPage,.publicMemorialPage{padding-left:28px;padding-right:28px}.dashboardHeader h1,.createHeader h1{font-size:40px}.heroText h1{font-size:48px}.memorialSection,.statCard{padding:28px}}@media (width<=700px){html,body,#root{width:100%;max-width:100%;overflow-x:hidden}body{overflow-y:auto}.navbar{gap:10px;min-height:auto;padding:12px 12px 16px;position:relative}.logo img{width:auto;max-width:190px;height:auto;max-height:95px}.navbar nav{justify-content:center;gap:8px;width:100%}nav a{margin:0;padding:8px 6px;font-size:15px}.accountNav,.accountMenu{width:100%}.accountLink{justify-content:center;gap:8px;width:100%;padding:10px 12px;font-size:15px}.accountIcon{flex:0 0 32px;width:32px;height:32px}.accountDropdown{width:100%;box-shadow:none;border:1px solid #e5dcd3;margin-top:8px;position:static}.hero{min-height:auto;padding:32px 16px}.heroText h1{font-size:34px;line-height:1.15}.heroText p{font-size:16px}.arabic{font-size:21px}.buttons{flex-direction:column;gap:12px;display:flex}.buttons button,.primaryBtn,.secondaryBtn,.dangerBtn{width:100%;margin:0}.authPage,.dashboardPage,.createMemorialPage,.publicMemorialPage{padding:22px 12px}.authCard{border-radius:20px;width:100%;padding:26px 18px}.authCard h2{font-size:28px}.dashboardHeader h1,.createHeader h1{font-size:32px;line-height:1.15}.dashboardHeader p,.createHeader p{font-size:16px}.dashboardDivider{margin:24px 0}.dashboardStats{gap:16px;margin-bottom:22px}.statCard{align-items:flex-start;gap:16px;padding:20px}.statIcon{flex:0 0 56px;width:56px;height:56px;font-size:26px}.statCard h3{font-size:17px}.statCard p{font-size:26px}.memorialSection,.formPanel,.createSections{border-radius:20px;padding:20px 14px}.memorialSection h2{font-size:24px;line-height:1.2}.memorialGrid,.licenseGrid,.galleryGrid,.publicGalleryGrid{grid-template-columns:1fr;gap:16px}.licenseOption,.memorialCard,.educationCard,.publicTimelineItem{border-radius:18px;padding:18px}.licenseOption strong{font-size:20px}.createLayout{gap:16px}.createSidebar{border-radius:20px;padding:10px}.sideItem{padding:13px 12px;font-size:14px}.formGrid{gap:16px}.formGroup input,.formGroup textarea,.authCard input,.authCard textarea{font-size:16px}.createActions,.memorialCardActions,.mediaUploadActions{flex-direction:column;gap:12px}.createActions button,.memorialCardActions button,.mediaUploadActions button,.mediaUploadActions label{width:100%}.photoUploadBox{padding:20px 14px}.photoUploadBox img,.photoPlaceholder{width:160px;height:160px}.galleryCard img,.galleryCard video,.publicGalleryCard img,.publicGalleryCard video{height:210px}.publicHero{border-radius:24px}.publicPhotoWrap{flex:none;width:100%}.publicProfilePhotoLarge,.publicProfilePlaceholder{width:180px;height:180px}.publicHeroText h1{font-size:32px}.dates,.publicBioSection p{font-size:17px}.publicQuote{font-size:19px}.publicBioSection{border-radius:22px;padding:24px 18px}.publicBioSection h2{font-size:26px}.detailBox{padding:20px}.paymentSummaryBox{padding:18px 14px}.paymentSummaryLine,.paymentSummaryTotal{flex-direction:column;gap:6px}.paymentSummaryTotal{font-size:1.05rem}.paymentSummaryTotal strong{font-size:1.2rem}.paymentBox{padding:18px 14px}.whishQrImage{width:min(260px,100%)}.plateImage{height:auto;max-height:260px}.imagePreviewOverlay{padding:10px}.imagePreviewModal{border-radius:18px;width:96vw;max-height:90vh;padding:18px 12px}.imagePreviewModal img{max-height:68vh}.imagePreviewClose{top:8px;right:8px}}@media (width<=420px){.logo img{max-width:160px;max-height:82px}nav a{font-size:14px}.heroText h1,.dashboardHeader h1,.createHeader h1{font-size:28px}.memorialSection,.formPanel,.createSections,.authCard{padding-left:14px;padding-right:14px}.statCard{flex-direction:column}.publicProfilePhotoLarge,.publicProfilePlaceholder{width:150px;height:150px}.publicHeroText h1{font-size:28px}}img,video,iframe,input,textarea,select,button{max-width:100%}p,span,h1,h2,h3,label,strong,a,button{overflow-wrap:anywhere}button,.primaryBtn,.secondaryBtn,.dangerBtn{white-space:normal;line-height:1.25}.navbar{width:100%}.navbar nav,.accountNav{min-width:0}.accountLink{min-width:0;max-width:100%}.accountLink,.accountDropdown button{overflow-wrap:anywhere}.accountDropdown{max-width:calc(100vw - 24px)}.memorialSection+.memorialSection{margin-top:28px}.licenseOption{width:100%;min-width:0;display:block}.licenseOptionInner{display:block}.licenseOption h3,.licenseOption p,.licenseOption strong,.licenseOption span,.educationCard h3,.educationCard p,.memorialCard h3,.memorialCard p{overflow-wrap:anywhere}.paymentSummaryLine,.paymentSummaryTotal{align-items:flex-start}.paymentSummaryLine span,.paymentSummaryTotal span,.paymentSummaryLine strong,.paymentSummaryTotal strong{min-width:0}.whishQrImage{object-fit:contain;height:auto}.plateImage{object-fit:contain;background:#fff}.formGroup input[type=file]{background:#fff;width:100%;padding:12px}@media (width<=1000px){.navbar{padding:14px 28px}.dashboardPage,.createMemorialPage,.publicMemorialPage{padding-left:28px;padding-right:28px}.dashboardHeader h1,.createHeader h1{font-size:40px}.heroText h1{font-size:48px}.memorialSection,.statCard{padding:28px}}@media (width<=700px){html,body,#root{width:100%;max-width:100%;overflow-x:hidden}body{overflow-y:auto}.navbar{gap:10px;min-height:auto;padding:12px 12px 16px;position:relative}.logo img{width:auto;max-width:190px;height:auto;max-height:95px}.navbar nav{justify-content:center;gap:8px;width:100%}nav a{margin:0;padding:8px 6px;font-size:15px}.accountNav,.accountMenu{width:100%}.accountLink{justify-content:center;gap:8px;width:100%;padding:10px 12px;font-size:15px}.accountIcon{flex:0 0 32px;width:32px;height:32px}.accountDropdown{width:100%;box-shadow:none;border:1px solid #e5dcd3;margin-top:8px;position:static}.hero{min-height:auto;padding:32px 16px}.heroText h1{font-size:34px;line-height:1.15}.heroText p{font-size:16px}.arabic{font-size:21px}.buttons{flex-direction:column;gap:12px;display:flex}.buttons button,.primaryBtn,.secondaryBtn,.dangerBtn{width:100%;margin:0}.authPage,.dashboardPage,.createMemorialPage,.publicMemorialPage{padding:22px 12px}.authCard{border-radius:20px;width:100%;padding:26px 18px}.authCard h2{font-size:28px}.dashboardHeader h1,.createHeader h1{font-size:32px;line-height:1.15}.dashboardHeader p,.createHeader p{font-size:16px}.dashboardDivider{margin:24px 0}.dashboardStats{gap:16px;margin-bottom:22px}.statCard{align-items:flex-start;gap:16px;padding:20px}.statIcon{flex:0 0 56px;width:56px;height:56px;font-size:26px}.statCard h3{font-size:17px}.statCard p{font-size:26px}.memorialSection,.formPanel,.createSections{border-radius:20px;padding:20px 14px}.memorialSection h2{font-size:24px;line-height:1.2}.memorialGrid,.licenseGrid,.galleryGrid,.publicGalleryGrid{grid-template-columns:1fr;gap:16px}.licenseOption,.memorialCard,.educationCard,.publicTimelineItem{border-radius:18px;padding:18px}.licenseOption strong{font-size:20px}.createLayout{gap:16px}.createSidebar{border-radius:20px;padding:10px}.sideItem{padding:13px 12px;font-size:14px}.formGrid{gap:16px}.formGroup input,.formGroup textarea,.authCard input,.authCard textarea{font-size:16px}.createActions,.memorialCardActions,.mediaUploadActions{flex-direction:column;gap:12px}.createActions button,.memorialCardActions button,.mediaUploadActions button,.mediaUploadActions label{width:100%}.photoUploadBox{padding:20px 14px}.photoUploadBox img,.photoPlaceholder{width:160px;height:160px}.galleryCard img,.galleryCard video,.publicGalleryCard img,.publicGalleryCard video{height:210px}.publicHero{border-radius:24px}.publicPhotoWrap{flex:none;width:100%}.publicProfilePhotoLarge,.publicProfilePlaceholder{width:180px;height:180px}.publicHeroText h1{font-size:32px}.dates,.publicBioSection p{font-size:17px}.publicQuote{font-size:19px}.publicBioSection{border-radius:22px;padding:24px 18px}.publicBioSection h2{font-size:26px}.detailBox{padding:20px}.paymentSummaryBox{padding:18px 14px}.paymentSummaryLine,.paymentSummaryTotal{flex-direction:column;gap:6px}.paymentSummaryTotal{font-size:1.05rem}.paymentSummaryTotal strong{font-size:1.2rem}.paymentBox{padding:18px 14px}.whishQrImage{width:min(260px,100%)}.plateImage{height:auto;max-height:260px}.imagePreviewOverlay{padding:10px}.imagePreviewModal{border-radius:18px;width:96vw;max-height:90vh;padding:18px 12px}.imagePreviewModal img{max-height:68vh}.imagePreviewClose{top:8px;right:8px}}@media (width<=420px){.logo img{max-width:160px;max-height:82px}nav a{font-size:14px}.heroText h1,.dashboardHeader h1,.createHeader h1{font-size:28px}.memorialSection,.formPanel,.createSections,.authCard{padding-left:14px;padding-right:14px}.statCard{flex-direction:column}.publicProfilePhotoLarge,.publicProfilePlaceholder{width:150px;height:150px}.publicHeroText h1{font-size:28px}}[dir=rtl] .accountDropdown button,html[lang=ar] .accountDropdown button{text-align:right}[dir=rtl] .dashboardHeader,html[lang=ar] .dashboardHeader{direction:rtl}[dir=rtl] .formGroup,html[lang=ar] .formGroup{text-align:right}html[dir=rtl] body,html[dir=rtl] .navbar nav{direction:rtl}html[dir=rtl] .accountDropdown button,html[dir=rtl] .formGroup{text-align:right}html[dir=rtl] .dashboardHeader,html[dir=rtl] .createHeader,html[dir=rtl] .publicHeroText{direction:rtl}html[dir=rtl] .licenseOption,html[dir=rtl] .memorialCard,html[dir=rtl] .educationCard{text-align:right}html[dir=rtl] .paymentSummaryLine,html[dir=rtl] .paymentSummaryTotal{direction:rtl}:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}
