.toast-container{position:fixed;top:20px;right:20px;z-index:10001;display:flex;flex-direction:column;gap:12px;pointer-events:none}.toast{display:flex;align-items:center;gap:12px;min-width:300px;max-width:500px;padding:16px 20px;border-radius:8px;box-shadow:0 4px 12px #00000026;background-color:var(--card-bg);border:1px solid;animation:slideInRight .3s ease-out;pointer-events:auto}.toast-icon{flex-shrink:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:700;font-size:16px}.toast-message{flex:1;font-size:14px;line-height:1.5;color:var(--text-primary)}.toast-close{flex-shrink:0;background:none;border:none;font-size:24px;line-height:1;cursor:pointer;color:var(--text-secondary);padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s ease}.toast-close:hover{background-color:#0000001a}.toast-success{border-color:#10b981}.toast-success .toast-icon{background-color:#d1fae5;color:#065f46}.toast-error{border-color:#ec4899}.toast-error .toast-icon{background-color:#fce7f3;color:#9d174d}.toast-warning{border-color:#f59e0b}.toast-warning .toast-icon{background-color:#fef3c7;color:#92400e}.toast-info{border-color:#3b82f6}.toast-info .toast-icon{background-color:#dbeafe;color:#1e40af}@media (prefers-color-scheme: dark){.toast{box-shadow:0 4px 12px #0000004d}.toast-close:hover{background-color:#ffffff1a}.toast-success .toast-icon{background-color:#065f46;color:#d1fae5}.toast-error .toast-icon{background-color:#831843;color:#fce7f3}.toast-warning .toast-icon{background-color:#78350f;color:#fef3c7}.toast-info .toast-icon{background-color:#1e3a8a;color:#dbeafe}}@keyframes slideInRight{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}@media (max-width: 768px){.toast-container{top:10px;right:10px;left:10px}.toast{min-width:0;width:100%}}.theme-toggle-container{display:flex;align-items:center;gap:8px}.theme-toggle-container.compact{gap:0}.theme-label{display:flex;align-items:center;justify-content:center;color:var(--text-secondary);transition:all .3s ease;width:28px;height:28px;border-radius:50%;background:#ffffffb3}[data-theme=dark] .theme-label{background:#1e293bb3}.theme-toggle-slider{position:relative;width:48px;height:26px;background:linear-gradient(135deg,#a8d4f0,pink);border:none;border-radius:13px;cursor:pointer;transition:all .3s ease;padding:0;box-shadow:inset 0 1px 3px #0000001a}.theme-toggle-slider:hover{box-shadow:inset 0 1px 3px #0000001a,0 0 0 2px #3b9eff4d}.theme-toggle-slider:focus{outline:none;box-shadow:inset 0 1px 3px #0000001a,0 0 0 2px #3b9eff80}.theme-toggle-slider.dark{background:linear-gradient(135deg,#1e3a5f,#8b2252)}.toggle-knob{position:absolute;top:3px;left:3px;width:20px;height:20px;background:#fff;border-radius:50%;transition:transform .3s ease,box-shadow .3s ease,background .3s ease;box-shadow:0 1px 3px #0003;display:flex;align-items:center;justify-content:center;color:#f59e0b}.theme-toggle-slider.dark .toggle-knob{transform:translate(22px);background:#374151;box-shadow:0 1px 3px #0000004d;color:#fbbf24}.toggle-knob svg{width:12px;height:12px}@media (max-width: 768px){.theme-toggle-slider{width:44px;height:24px}.toggle-knob{width:18px;height:18px}.theme-toggle-slider.dark .toggle-knob{transform:translate(20px)}.toggle-knob svg{width:10px;height:10px}.theme-label svg{width:14px;height:14px}}.header{position:fixed;top:0;left:0;right:0;color:#fff;padding:20px 0;z-index:1000;transition:all .4s ease;background:transparent;box-shadow:none}.header.scrolled{background-color:#fffffff2;box-shadow:0 4px 12px #0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}[data-theme=dark] .header.scrolled{background-color:#1a202cf2;box-shadow:0 4px 12px #00000026}.header.scrolled.vertical{top:20px;left:20px;right:auto;width:auto;background-color:#fffffffa;border-radius:12px;padding:16px;box-shadow:0 8px 24px #00000026}[data-theme=dark] .header.scrolled.vertical{background-color:#1a202cfa;box-shadow:0 8px 24px #00000040}.header.scrolled.vertical .nav-link.social-link,.header.scrolled.vertical .instagram-link{display:none}.header-content{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center}.header.scrolled.vertical .header-content{flex-direction:column;align-items:flex-start;padding:0;gap:8px}.logo{display:flex;align-items:center;gap:12px;text-decoration:none}.logo h1{font-size:28px;font-weight:700;color:#fff;margin:0;transition:all .3s ease;text-shadow:0 2px 4px rgba(0,0,0,.5)}.header.scrolled .logo h1{color:#1a202c;text-shadow:none}[data-theme=dark] .header.scrolled .logo h1{color:#fff}.header.scrolled.vertical .logo h1{font-size:20px}.logo:hover h1{color:#60a5fa}.site-logo{height:40px;width:auto;max-width:250px;object-fit:contain}.header.scrolled.vertical .site-logo{height:32px}.site-icon{height:40px;width:40px;object-fit:contain}.header.scrolled.vertical .site-icon{height:32px;width:32px}.desktop-nav{display:flex;align-items:center;gap:12px}.desktop-nav.vertical{flex-direction:column;align-items:flex-start;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(0,0,0,.1)}[data-theme=dark] .desktop-nav.vertical{border-top-color:#ffffff1a}.nav-link{color:#fff;font-weight:500;font-size:16px;transition:all .3s ease;text-decoration:none;display:flex;align-items:center;padding:6px 12px;border-radius:6px;text-shadow:0 1px 3px rgba(0,0,0,.5)}.header.scrolled .nav-link{color:#1a202c;text-shadow:none}[data-theme=dark] .header.scrolled .nav-link{color:#fff;text-shadow:none}.nav-link:hover{color:#60a5fa;background-color:#60a5fa1a}.nav-link.social-link{width:36px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#ffffffb3;color:#1a202c;text-shadow:none}.nav-link.social-link:hover{background:#ffffffd9;color:#3b82f6}[data-theme=dark] .nav-link.social-link{background:#1e293bb3;color:#ffffffe6}[data-theme=dark] .nav-link.social-link:hover{background:#1e293bd9;color:#60a5fa}.nav-link.social-link svg{width:20px;height:20px}.nav-link.nav-icon-link{width:36px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#ffffffb3;color:#1a202c;text-shadow:none}.nav-link.nav-icon-link:hover{background:#ffffffd9;color:#3b82f6}[data-theme=dark] .nav-link.nav-icon-link{background:#1e293bb3;color:#ffffffe6}[data-theme=dark] .nav-link.nav-icon-link:hover{background:#1e293bd9;color:#60a5fa}.nav-link.nav-text-link{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:6px;color:#1a202c;text-shadow:none;font-weight:500;font-size:14px}.nav-link.nav-text-link:hover{background:#60a5fa1a;color:#3b82f6}[data-theme=dark] .nav-link.nav-text-link{color:#ffffffe6}[data-theme=dark] .nav-link.nav-text-link:hover{background:#60a5fa26;color:#60a5fa}.nav-link svg{transition:transform .3s ease}.nav-link:hover svg{transform:scale(1.1)}.nav-link.instagram-link{width:36px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#ffffffb3;color:#1a202c;text-shadow:none}.nav-link.instagram-link svg{width:20px;height:20px}.nav-link.instagram-link:hover{background:#ffffffd9;color:#e1306c}[data-theme=dark] .nav-link.instagram-link{background:#1e293bb3;color:#ffffffe6}[data-theme=dark] .nav-link.instagram-link:hover{background:#1e293bd9;color:#e1306c}.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:8px;z-index:1001}.hamburger span{width:28px;height:3px;background:#fff;border-radius:2px;transition:all .3s ease}.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(8px,8px)}.hamburger.open span:nth-child(2){opacity:0}.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(7px,-7px)}.mobile-menu{display:none}.mobile-menu-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;opacity:0;pointer-events:none;transition:opacity .3s ease;z-index:1010}.mobile-menu.open .mobile-menu-overlay{opacity:1;pointer-events:all}.mobile-nav{position:fixed;top:0;right:0;bottom:0;width:280px;background:#fff;box-shadow:-4px 0 24px #00000026;transform:translate(100%);transition:transform .3s ease;z-index:1020;overflow-y:auto}[data-theme=dark] .mobile-nav{background:#1a202c;box-shadow:-4px 0 24px #0000004d}.mobile-menu.open .mobile-nav{transform:translate(0)}.mobile-menu-header{display:flex;justify-content:space-between;align-items:center;padding:24px 20px;border-bottom:1px solid rgba(0,0,0,.1)}[data-theme=dark] .mobile-menu-header{border-bottom-color:#ffffff1a}.mobile-logo{display:flex;align-items:center;gap:12px;color:#1a202c;text-decoration:none;font-weight:700;font-size:20px}[data-theme=dark] .mobile-logo{color:#fff}.mobile-logo img{height:32px;width:auto}.mobile-site-icon{height:32px;width:32px}.close-btn{background:none;border:none;color:#1a202c;font-size:36px;cursor:pointer;padding:0;line-height:1;width:36px;height:36px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}[data-theme=dark] .close-btn{color:#fff}.close-btn:hover{color:#60a5fa;transform:rotate(90deg)}.mobile-nav-links{padding:24px 0}.mobile-nav-link{display:flex;align-items:center;gap:12px;padding:16px 24px;color:#1a202c;font-size:18px;font-weight:500;text-decoration:none;transition:all .2s ease;border-left:3px solid transparent}[data-theme=dark] .mobile-nav-link{color:#fff}.mobile-nav-link svg{width:20px;height:20px;flex-shrink:0}.mobile-nav-link:hover{background:#60a5fa1a;border-left-color:#60a5fa;color:#60a5fa}.mobile-social-links{padding:24px;border-top:1px solid rgba(0,0,0,.1);margin-top:24px;display:flex;flex-direction:column;gap:12px}[data-theme=dark] .mobile-social-links{border-top-color:#ffffff1a}.mobile-social-link{display:flex;align-items:center;gap:12px;padding:12px 16px;color:#1a202c;text-decoration:none;font-weight:500;border-radius:8px;transition:all .2s ease}[data-theme=dark] .mobile-social-link{color:#fff}.mobile-social-link:hover{background:#60a5fa1a;color:#60a5fa}.mobile-social-link.instagram:hover{background:linear-gradient(45deg,#f094331a,#bc18881a);color:#e1306c}.mobile-social-link svg{width:24px;height:24px;flex-shrink:0}.mobile-theme-toggle{display:flex;justify-content:center;padding:20px 24px;margin-top:16px;border-top:1px solid rgba(0,0,0,.1)}[data-theme=dark] .mobile-theme-toggle{border-top-color:#ffffff1a}.desktop-nav .theme-toggle-container{margin-left:8px}@media (max-width: 1024px){.desktop-nav{display:none!important}.hamburger{display:flex}.mobile-menu{display:block}.header.scrolled.vertical{top:0;left:0;right:0;width:100%;border-radius:0;padding:16px 0}.header.scrolled.vertical .header-content{flex-direction:row;align-items:center;padding:0 20px}.header.scrolled.vertical .logo h1{font-size:24px}}@media (min-width: 1025px){.desktop-nav{display:flex!important}.hamburger,.mobile-menu{display:none!important}}@media (max-width: 768px){.header-content{padding:0 16px}.logo h1{font-size:22px}.mobile-nav{width:260px}}.footer{background-color:var(--primary-color);color:#fff;padding:20px;margin-top:auto}.footer-content{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-text{color:#ffffffb3;font-size:14px}.footer-social{display:flex;gap:16px;align-items:center}.social-link{color:#fffc;transition:var(--transition);display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background-color:#ffffff1a}.social-link:hover{color:#fff;background-color:var(--accent-color);transform:translateY(-2px)}.social-link.instagram-link:hover{color:#e1306c;background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888)}.social-link svg{transition:var(--transition)}@media (max-width: 768px){.footer-content{flex-direction:column;text-align:center;gap:12px}.footer-text{order:2}.footer-social{order:1}}.project-card{background-color:var(--card-bg);border-radius:12px;overflow:hidden;box-shadow:var(--shadow);transition:var(--transition);display:flex;flex-direction:column;height:100%}.project-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover)}.project-card-image{width:100%;height:240px;overflow:hidden;background-color:var(--bg-light)}.project-card-image img{width:100%;height:100%;object-fit:cover;transition:var(--transition)}.project-card:hover .project-card-image img{transform:scale(1.05)}.project-card-content{padding:20px;flex:1;display:flex;flex-direction:column}.project-category{display:inline-block;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;color:#fff;text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px;align-self:flex-start}.project-title{font-size:22px;font-weight:700;color:var(--primary-color);margin-bottom:12px;line-height:1.3}.project-description{color:var(--text-light);line-height:1.6;margin-bottom:16px;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.project-meta{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid var(--border-color)}.project-date{font-size:14px;color:var(--text-light)}.home{margin-top:-20px}.hero{text-align:center;padding:140px 20px 80px;background:linear-gradient(135deg,var(--primary-color) 0%,var(--accent-color) 100%);background-size:cover;background-position:center;background-repeat:no-repeat;color:#fff;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%);padding-left:calc(50vw - 50% + 20px);padding-right:calc(50vw - 50% + 20px);position:relative;margin-bottom:60px}[data-theme=dark] .hero{background:linear-gradient(135deg,#09f,#f39)}.hero-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#0040b0d9,#ec4899b3);z-index:1}[data-theme=dark] .hero-overlay{background:linear-gradient(135deg,#0078ff80,#ff50b473)}.hero-content{max-width:800px;margin:0 auto;position:relative;z-index:2}.hero-title{font-size:48px;font-weight:700;margin-bottom:20px;line-height:1.2}.hero-subtitle{font-size:20px;margin-bottom:32px;color:#ffffffe6;line-height:1.6}.hero-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}.featured-projects{margin-bottom:60px}.featured-projects h2{text-align:center;font-size:36px;margin-bottom:40px;color:var(--primary-color)}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;margin-bottom:32px}.view-all{text-align:center;margin-top:32px}.loading{text-align:center;padding:60px 20px;color:var(--text-light);font-size:18px}.no-projects{text-align:center;padding:60px 20px;color:var(--text-light)}@media (max-width: 768px){.home{margin-top:-16px}.hero{padding:100px 20px 60px;padding-left:calc(50vw - 50% + 16px);padding-right:calc(50vw - 50% + 16px)}.hero-title{font-size:32px}.hero-subtitle{font-size:18px}.featured-projects h2{font-size:28px}.projects-grid{grid-template-columns:1fr}}.projects-page{margin-top:-20px}.projects-hero{background:linear-gradient(135deg,#667eea,#764ba2,#f093fb);background-size:100% 100%;background-repeat:no-repeat;padding:60px 20px 80px;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%);padding-left:calc(50vw - 50% + 20px);padding-right:calc(50vw - 50% + 20px);position:relative;margin-bottom:40px}.projects-header{max-width:900px;margin:0 auto;text-align:center;padding-top:80px}.projects-header h1{font-size:48px;color:#fff;margin-bottom:12px;text-shadow:2px 2px 8px rgba(0,0,0,.3)}.projects-header p{font-size:20px;color:#fffffff2;text-shadow:1px 1px 4px rgba(0,0,0,.2)}.projects-content{max-width:1200px;margin:0 auto;padding:0 20px 40px}.filters-section{background-color:var(--bg-secondary);padding:32px;border-radius:12px;margin-bottom:40px}.filter-group{margin-bottom:24px}.filter-group:last-of-type{margin-bottom:0}.filter-group h3{font-size:18px;color:var(--primary-color);margin-bottom:16px;font-weight:600}.tags-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.tags-header h3{margin-bottom:0}.toggle-tags-btn{background:transparent;border:none;color:var(--secondary-color);font-size:14px;font-weight:600;cursor:pointer;padding:4px 8px;transition:var(--transition)}.toggle-tags-btn:hover{color:var(--accent-color);text-decoration:underline}.category-filter{display:flex;gap:12px;flex-wrap:wrap}.filter-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;border:2px solid var(--border-color);background-color:var(--card-bg);border-radius:25px;font-size:15px;font-weight:500;cursor:pointer;transition:var(--transition);color:var(--text-primary)}.filter-btn .filter-icon{font-size:18px}.filter-btn:hover{border-color:var(--secondary-color);color:var(--secondary-color);transform:translateY(-2px)}.filter-btn.active{background-color:var(--secondary-color);border-color:var(--secondary-color);color:#fff}.tag-filter{display:flex;gap:8px;flex-wrap:wrap;position:relative;transition:max-height .3s ease;overflow:hidden}.tag-filter.collapsed{max-height:120px;overflow:hidden;position:relative}.tag-filter.collapsed:after{content:"";position:absolute;bottom:0;left:0;right:0;height:40px;background:linear-gradient(to bottom,transparent,var(--bg-secondary));pointer-events:none}.tag-filter.expanded{max-height:none;overflow:visible}.tag-btn{padding:6px 16px;border:2px solid var(--border-color);background-color:var(--card-bg);border-radius:20px;font-size:14px;font-weight:500;cursor:pointer;transition:var(--transition);color:var(--text-primary)}.tag-btn:hover{border-color:var(--accent-color);color:var(--accent-color);transform:translateY(-1px)}.tag-btn.active{background-color:var(--accent-color);border-color:var(--accent-color);color:#fff}.clear-filters-btn{margin-top:16px;padding:8px 16px;background-color:transparent;color:var(--accent-color);border:none;font-size:14px;font-weight:600;cursor:pointer;transition:var(--transition);text-decoration:underline}.clear-filters-btn:hover{color:var(--secondary-color)}.results-info{text-align:center;margin-bottom:24px;color:var(--text-light);font-size:16px;font-weight:500}.no-projects{text-align:center;padding:60px 20px;color:var(--text-light);font-size:18px}.no-projects p{margin-bottom:20px}@media (max-width: 768px){.projects-hero{padding:40px 20px 60px}.projects-header{padding-top:60px}.projects-header h1{font-size:32px}.projects-header p{font-size:16px}.filters-section{padding:20px}.filter-group h3{font-size:16px}.category-filter{gap:8px}.filter-btn{padding:8px 16px;font-size:14px}.tag-filter{gap:6px}.tag-btn{padding:5px 12px;font-size:13px}.results-info{font-size:14px}}.project-detail{width:100vw;margin:-20px -20px 0;padding:0;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw}.project-hero{width:100%;min-height:220px;background-size:cover;background-position:center;background-repeat:no-repeat;position:relative;display:flex;align-items:flex-end;padding:60px 20px}.project-hero .hero-content{width:100%;max-width:1200px;margin:0 auto;padding:80px 80px 0;color:#fff}.back-link{display:inline-flex;align-items:center;color:#fff;font-weight:500;margin-bottom:20px;margin-top:0;transition:var(--transition);text-decoration:none;opacity:.9;background-color:#00000080;padding:8px 16px;border-radius:6px}.back-link:hover{opacity:1;transform:translate(-4px)}.hero-title{font-size:3.5rem;color:#fff;margin:0 0 20px;line-height:1.2;text-shadow:2px 2px 8px rgba(0,0,0,.7)}.project-meta{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.category-badge{padding:8px 16px;background-color:#007bffe6;color:#fff;border-radius:20px;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.project-meta .date{color:#ffffffe6;font-size:16px}.project-body{max-width:1200px;margin:0 auto;padding:60px 80px}.project-description{font-size:1.25rem;color:#4b5563;line-height:1.8;margin-bottom:40px}.project-description p{margin:0}.project-content{margin-bottom:48px;line-height:1.8;font-size:17px}.project-content h2{font-size:32px;color:var(--primary-color);margin-top:32px;margin-bottom:16px}.project-content h3{font-size:24px;color:var(--primary-color);margin-top:24px;margin-bottom:12px}.project-content p{margin-bottom:16px}.project-content ul,.project-content ol{margin-left:24px;margin-bottom:16px}.project-content li{margin-bottom:8px}.project-content code{background-color:var(--bg-light);padding:2px 6px;border-radius:4px;font-size:.9em}.project-content pre{background-color:var(--bg-light);padding:16px;border-radius:8px;overflow-x:auto;margin-bottom:16px}.project-content img{max-width:100%;border-radius:8px;margin:24px 0}.project-gallery{margin-bottom:48px}.project-gallery h2{font-size:28px;color:var(--primary-color);margin-bottom:24px}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.gallery-image{width:100%;border-radius:12px;box-shadow:var(--shadow);transition:var(--transition);cursor:pointer}.gallery-image:hover{transform:scale(1.02);box-shadow:var(--shadow-hover)}.project-files{margin-bottom:48px}.project-files h2{font-size:28px;color:var(--primary-color);margin-bottom:20px}.files-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.file-item{display:flex;align-items:center;gap:12px;padding:16px;background-color:var(--bg-light);border-radius:8px;transition:var(--transition);border:2px solid transparent;text-decoration:none;color:var(--text-color)}.file-item:hover{background-color:#fff;border-color:var(--secondary-color);box-shadow:var(--shadow);transform:translateY(-2px)}.file-icon{font-size:24px}.file-name{flex:1;font-weight:500;color:var(--text-color)}.project-tags{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px;padding-top:32px;border-top:1px solid var(--border-color)}.tag{padding:8px 16px;background-color:var(--bg-light);color:var(--text-color);border-radius:20px;font-size:14px;font-weight:500}.related-projects{background:linear-gradient(135deg,#f8fafc,#e0e7ff);padding:80px 20px;margin-top:60px}.related-header{max-width:900px;margin:0 auto 48px;text-align:center}.related-header h2{font-size:2.5rem;color:#1f2937;margin-bottom:12px}.related-header p{font-size:1.1rem;color:#6b7280}.related-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:32px}.related-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 6px #0000001a;transition:all .3s ease;text-decoration:none;color:inherit;display:flex;flex-direction:column}.related-card:hover{transform:translateY(-8px);box-shadow:0 12px 24px #00000026}.related-image{width:100%;height:220px;overflow:hidden;background:#f3f4f6}.related-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.related-card:hover .related-image img{transform:scale(1.05)}.related-info{padding:24px;flex:1;display:flex;flex-direction:column}.related-info h3{font-size:1.4rem;color:#1f2937;margin:0 0 12px;line-height:1.3}.related-info p{color:#6b7280;line-height:1.6;margin:0 0 16px;flex:1}.read-more{color:#3b82f6;font-weight:600;font-size:.95rem;margin-top:auto}.related-card:hover .read-more{color:#2563eb}.error-page{max-width:600px;margin:100px auto;padding:60px 20px;text-align:center}.error-page h1{font-size:3rem;color:var(--primary-color);margin-bottom:16px}.error-page p{font-size:1.2rem;color:#6b7280;margin-bottom:32px}.loading{text-align:center;padding:100px 20px;font-size:1.2rem;color:#6b7280}@media (max-width: 1024px){.project-hero .hero-content{padding:0 40px}.hero-title{font-size:2.5rem}.project-body{padding:60px 40px}}@media (max-width: 768px){.project-detail{margin:-16px -16px 0}.project-hero{min-height:180px;padding:40px 20px}.project-hero .hero-content{padding:60px 20px 0}.back-link{margin-top:0}.hero-title{font-size:2rem}.project-body{padding:40px 20px}.project-description{font-size:1.1rem}.project-content{font-size:16px}.gallery-grid,.files-list,.related-grid{grid-template-columns:1fr}.related-projects{padding:60px 20px}.related-header h2{font-size:2rem}}.admin-sidebar{width:250px;background-color:var(--card-bg);border-right:1px solid var(--border-color);display:flex;flex-direction:column;position:fixed;left:0;top:0;height:100vh;transition:width .3s ease;z-index:100;box-shadow:2px 0 8px #0000000d;overflow-y:auto}.admin-sidebar.collapsed{width:70px}.sidebar-header{padding:20px;border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;min-height:80px;flex-shrink:0}.sidebar-header h2{font-size:20px;color:var(--primary-color);margin:0;white-space:nowrap;overflow:hidden}.sidebar-toggle{background:var(--primary-color);color:#fff;border:none;border-radius:4px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px;transition:background-color .2s;flex-shrink:0}.sidebar-toggle:hover{background:var(--primary-hover)}.sidebar-nav{flex:1;display:flex;flex-direction:column;padding:20px 0;gap:4px}.sidebar-section{display:flex;flex-direction:column;margin-bottom:12px}.sidebar-section-label{padding:8px 20px;font-size:11px;font-weight:700;text-transform:uppercase;color:var(--text-muted);letter-spacing:.5px}.sidebar-btn{display:flex;align-items:center;gap:12px;padding:12px 20px;background:transparent;border:none;color:var(--text-primary);font-size:15px;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none;border-left:3px solid transparent}.sidebar-btn:hover{background-color:var(--bg-hover);border-left-color:var(--primary-color)}.sidebar-btn.active{background-color:var(--bg-hover);border-left-color:var(--primary-color);color:var(--primary-color)}.sidebar-icon{flex-shrink:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.sidebar-icon svg{width:20px;height:20px}.sidebar-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-sidebar.collapsed .sidebar-btn{justify-content:center;padding:12px}.admin-sidebar.collapsed .sidebar-section-label{display:none}.sidebar-theme-toggle{padding:16px 20px;display:flex;justify-content:center;margin-top:auto}.admin-sidebar.collapsed .sidebar-theme-toggle{padding:16px 12px}.logout-btn{border-top:1px solid var(--border-color);padding-top:20px!important;color:var(--danger-color)}.logout-btn:hover{background-color:#fce7f3;border-left-color:var(--danger-color)}.admin-mobile-header{display:none;position:fixed;top:0;left:0;right:0;height:60px;background-color:var(--card-bg);border-bottom:1px solid var(--border-color);padding:0 16px;align-items:center;justify-content:space-between;z-index:200;box-shadow:0 2px 8px #0000001a}.admin-mobile-header h2{font-size:18px;color:var(--primary-color);margin:0}.admin-hamburger{display:flex;flex-direction:column;justify-content:center;align-items:center;width:40px;height:40px;background:transparent;border:none;cursor:pointer;padding:8px;gap:5px}.admin-hamburger span{display:block;width:24px;height:2px;background-color:var(--text-primary);border-radius:2px;transition:all .3s ease}.admin-hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}.admin-hamburger.open span:nth-child(2){opacity:0}.admin-hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.admin-mobile-menu{display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:300;pointer-events:none}.admin-mobile-menu.open{pointer-events:auto}.admin-mobile-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#00000080;opacity:0;transition:opacity .3s ease}.admin-mobile-menu.open .admin-mobile-overlay{opacity:1}.admin-mobile-nav{position:absolute;top:0;left:0;width:280px;max-width:85%;height:100%;background-color:var(--card-bg);transform:translate(-100%);transition:transform .3s ease;display:flex;flex-direction:column;overflow-y:auto;box-shadow:4px 0 20px #00000026}.admin-mobile-menu.open .admin-mobile-nav{transform:translate(0)}.admin-mobile-nav-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border-color);min-height:60px}.admin-mobile-nav-header h2{font-size:18px;color:var(--primary-color);margin:0}.admin-mobile-close{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:transparent;border:none;cursor:pointer;color:var(--text-primary);border-radius:8px;transition:background-color .2s}.admin-mobile-close:hover{background-color:var(--bg-hover)}.admin-mobile-nav-content{flex:1;display:flex;flex-direction:column;padding:16px 0}.admin-mobile-nav-content .sidebar-section{margin-bottom:8px}.admin-mobile-nav-content .sidebar-section-label{padding:8px 20px}.admin-mobile-nav-content .sidebar-btn{padding:14px 20px;border-left:3px solid transparent}.admin-mobile-nav-content .sidebar-btn:hover,.admin-mobile-nav-content .sidebar-btn.active{border-left-color:var(--primary-color)}.admin-mobile-nav-content .sidebar-theme-toggle{padding:16px 20px;margin-top:auto}.admin-mobile-nav-content .logout-btn{border-top:1px solid var(--border-color);margin-top:8px;padding-top:20px}@media (max-width: 768px){.admin-mobile-header{display:flex}.admin-mobile-menu{display:block}.admin-sidebar{display:none}}.confirm-dialog-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease-out}.confirm-dialog-content{background-color:var(--card-bg);border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:500px;width:90%;animation:slideUp .2s ease-out;border:1px solid var(--border-color)}.confirm-dialog-header{padding:24px 24px 16px;border-bottom:1px solid var(--border-color)}.confirm-dialog-header h3{margin:0;font-size:20px;font-weight:600;color:var(--text-primary)}.confirm-dialog-body{padding:24px}.confirm-dialog-body p{margin:0;font-size:15px;line-height:1.6;color:var(--text-secondary)}.confirm-dialog-actions{padding:16px 24px 24px;display:flex;gap:12px;justify-content:flex-end}.confirm-dialog-actions .btn{min-width:100px;padding:10px 20px;font-size:14px;font-weight:500;border-radius:8px;border:none;cursor:pointer;transition:all .2s ease}.confirm-dialog-actions .btn:focus{outline:2px solid var(--primary-color);outline-offset:2px}.confirm-dialog-actions .btn-secondary{background-color:var(--button-secondary-bg);color:var(--text-primary)}.confirm-dialog-actions .btn-secondary:hover{background-color:var(--button-secondary-hover)}.confirm-dialog-actions .btn-danger{background-color:#db2777;color:#fff}.confirm-dialog-actions .btn-danger:hover{background-color:#be185d}.confirm-dialog-actions .btn-warning{background-color:#f59e0b;color:#fff}.confirm-dialog-actions .btn-warning:hover{background-color:#d97706}.confirm-dialog-actions .btn-primary{background-color:var(--primary-color);color:#fff}.confirm-dialog-actions .btn-primary:hover{background-color:var(--primary-dark)}@media (max-width: 768px){.confirm-dialog-content{width:95%;max-width:none}.confirm-dialog-header{padding:20px 20px 12px}.confirm-dialog-header h3{font-size:18px}.confirm-dialog-body{padding:20px}.confirm-dialog-actions{padding:12px 20px 20px;flex-direction:column-reverse}.confirm-dialog-actions .btn{width:100%;min-width:0}}.category-select{position:relative;width:100%}.category-select-trigger{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:6px;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease}.category-select-trigger:hover{border-color:var(--primary-color)}.category-select-trigger.open{border-color:var(--primary-color);box-shadow:0 0 0 3px #3b9eff26}.category-select-trigger .selected-category{display:flex;align-items:center;gap:8px}.category-select-trigger .placeholder{color:var(--text-muted)}.category-select-trigger .dropdown-arrow{font-size:12px;color:var(--text-secondary);transition:transform .2s ease}.category-select-trigger.open .dropdown-arrow{transform:rotate(180deg)}.category-select-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;box-shadow:var(--shadow-lg);z-index:100;max-height:320px;overflow:hidden;display:flex;flex-direction:column}.category-options{max-height:200px;overflow-y:auto;padding:4px}.category-option{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;border-radius:6px;transition:background-color .15s ease}.category-option:hover{background-color:var(--bg-hover)}.category-option.selected{background-color:var(--primary-color);color:#fff}.category-option .category-icon{font-size:20px}.category-option .category-label{font-size:14px;font-weight:500}.category-select-divider{height:1px;background-color:var(--border-color);margin:4px 8px}.create-category-trigger{display:flex;align-items:center;gap:10px;padding:12px;cursor:pointer;color:var(--primary-color);font-weight:500;transition:background-color .15s ease;border-radius:0 0 8px 8px}.create-category-trigger:hover{background-color:var(--bg-hover)}.create-category-trigger .create-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background-color:var(--primary-color);color:#fff;border-radius:50%;font-size:16px;font-weight:700}.create-category-form{padding:12px;background-color:var(--bg-secondary);border-radius:0 0 8px 8px}.create-form-header{font-size:13px;font-weight:600;color:var(--text-secondary);margin-bottom:10px;text-transform:uppercase;letter-spacing:.5px}.create-form-error{background-color:var(--danger-bg);color:var(--danger-text);padding:8px 10px;border-radius:4px;font-size:13px;margin-bottom:10px}.create-form-row{display:flex;gap:8px;margin-bottom:8px}.create-form-icon-picker{position:relative}.icon-picker-btn{width:48px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid var(--input-border);border-radius:4px;background-color:var(--input-bg);color:var(--text-primary);cursor:pointer;transition:border-color .2s ease,background-color .2s ease}.icon-picker-btn:hover{border-color:var(--primary-color);background-color:var(--bg-hover)}.mini-icon-picker{position:absolute;bottom:calc(100% + 8px);left:0;background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;box-shadow:var(--shadow-lg);padding:8px;z-index:200;width:220px}.mini-icon-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;max-height:180px;overflow-y:auto}.mini-icon-option{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:6px;background-color:transparent;color:var(--text-primary);cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.mini-icon-option:hover{background-color:var(--bg-hover);border-color:var(--border-color)}.mini-icon-option.selected{background-color:var(--primary-color);color:#fff;border-color:var(--primary-color)}.create-form-label-input{flex:1;padding:8px 10px;border:1px solid var(--input-border);border-radius:4px;background-color:var(--input-bg);color:var(--text-primary);font-size:14px}.create-form-id-input{width:100%;padding:8px 10px;border:1px solid var(--input-border);border-radius:4px;background-color:var(--input-bg);color:var(--text-primary);font-size:14px;margin-bottom:10px}.create-form-icon-input:focus,.create-form-label-input:focus,.create-form-id-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px #3b9eff26}.create-form-actions{display:flex;gap:8px;justify-content:flex-end}.create-form-cancel{padding:6px 12px;border:1px solid var(--border-color);border-radius:4px;background-color:var(--button-secondary-bg);color:var(--text-primary);font-size:13px;cursor:pointer;transition:background-color .15s ease}.create-form-cancel:hover{background-color:var(--button-secondary-hover)}.create-form-cancel:disabled{opacity:.5;cursor:not-allowed}.create-form-submit{padding:6px 14px;border:none;border-radius:4px;background-color:var(--primary-color);color:#fff;font-size:13px;font-weight:500;cursor:pointer;transition:background-color .15s ease}.create-form-submit:hover{background-color:var(--primary-hover)}.create-form-submit:disabled{opacity:.6;cursor:not-allowed}.icon-picker{position:relative}.icon-picker-label{display:block;margin-bottom:8px;font-weight:500;color:var(--text-primary)}.icon-picker-trigger{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:6px;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease;font-family:inherit;font-size:14px;color:var(--text-primary)}.icon-picker-trigger:hover{border-color:var(--primary-color)}.icon-picker-trigger:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #3b9eff26}.icon-picker-preview{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background-color:var(--bg-secondary);border-radius:6px;color:var(--primary-color)}.icon-picker-name{flex:1;text-align:left}.icon-picker-arrow{font-size:10px;color:var(--text-secondary)}.icon-picker-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;box-shadow:var(--shadow-lg);z-index:100;max-height:320px;overflow-y:auto;padding:8px}.icon-picker-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.icon-picker-option{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 8px;background:transparent;border:2px solid transparent;border-radius:8px;cursor:pointer;transition:all .15s ease;color:var(--text-primary)}.icon-picker-option:hover{background-color:var(--bg-hover);border-color:var(--border-color)}.icon-picker-option.selected{background-color:var(--primary-color);border-color:var(--primary-color);color:#fff}.icon-option-label{font-size:11px;text-align:center;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 480px){.icon-picker-grid{grid-template-columns:repeat(2,1fr)}}.admin-login{display:flex;justify-content:center;align-items:center;min-height:70vh;padding:20px}.login-card{background-color:var(--card-bg);padding:48px;border-radius:12px;box-shadow:var(--shadow-hover);max-width:400px;width:100%}.login-card h1{font-size:32px;color:var(--primary-color);margin-bottom:32px;text-align:center}.admin-panel{display:flex;min-height:100vh;background-color:var(--bg-primary)}.admin-content{flex:1;margin-left:250px;padding:40px;transition:margin-left .3s ease;min-height:100vh}.admin-sidebar.collapsed+.admin-content{margin-left:70px}.admin-header,.admin-actions{display:none}.project-form-container{background-color:var(--card-bg);padding:32px;border-radius:12px;box-shadow:var(--shadow);margin-bottom:48px}.project-form-container h2{font-size:28px;color:var(--primary-color);margin-bottom:24px}.project-form{display:flex;flex-direction:column;gap:24px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:600;color:var(--text-primary);font-size:15px}.form-group input,.form-group textarea,.form-group select{padding:12px;border:2px solid var(--border-color);border-radius:8px;font-size:15px;font-family:inherit;transition:var(--transition)}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--accent-color)}.dropzone{border:2px dashed var(--border-color);border-radius:8px;padding:32px;text-align:center;cursor:pointer;transition:var(--transition);background-color:var(--bg-secondary)}.dropzone.active{border-color:var(--accent-color);background-color:#3498db1a}.dropzone:hover{border-color:var(--accent-color)}.dropzone p{color:var(--text-secondary);margin:0}.uploaded-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin-top:16px}.uploaded-item{position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;box-shadow:var(--shadow)}.uploaded-item img{width:100%;height:100%;object-fit:cover}.remove-btn{position:absolute;top:4px;right:4px;width:28px;height:28px;border:none;background-color:var(--secondary-color);color:#fff;border-radius:50%;cursor:pointer;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;transition:var(--transition)}.remove-btn:hover{background-color:#be185d;transform:scale(1.1)}.copy-url-btn{position:absolute;bottom:4px;right:4px;width:28px;height:28px;border:none;background-color:var(--accent-color);color:#fff;border-radius:50%;cursor:pointer;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;transition:var(--transition)}.copy-url-btn:hover{background-color:var(--primary-color);transform:scale(1.1)}.uploaded-files-list{display:flex;flex-direction:column;gap:8px;margin-top:16px}.uploaded-files-list .file-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background-color:var(--bg-secondary);border-radius:8px}.uploaded-files-list .remove-btn{position:static;width:24px;height:24px;font-size:16px}.form-actions{display:flex;gap:12px;margin-top:16px}.error-message{padding:12px;background-color:#fee;color:var(--secondary-color);border-radius:8px;border:1px solid var(--secondary-color)}.projects-list{margin-top:48px}.projects-list h2{font-size:28px;color:var(--primary-color);margin-bottom:24px}.admin-projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}.admin-project-card{background-color:var(--card-bg);border-radius:12px;overflow:hidden;box-shadow:var(--shadow);transition:var(--transition)}.admin-project-card:hover{box-shadow:var(--shadow-hover)}.admin-project-card img{width:100%;height:200px;object-fit:cover}.admin-project-card .project-info{padding:16px}.admin-project-card h3{font-size:18px;color:var(--primary-color);margin-bottom:8px}.admin-project-card .category{font-size:14px;color:var(--text-secondary);text-transform:capitalize;margin-bottom:16px}.card-actions{display:flex;gap:8px}.auth-divider{display:flex;align-items:center;text-align:center;margin:24px 0;color:var(--text-secondary)}.auth-divider:before,.auth-divider:after{content:"";flex:1;border-bottom:1px solid var(--border-color)}.auth-divider span{padding:0 16px;font-size:14px;font-weight:500}.oauth-buttons{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.btn-oauth{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 20px;border:2px solid var(--border-color);background-color:var(--card-bg);color:var(--text-primary);border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:var(--transition)}.btn-oauth:hover{border-color:var(--accent-color);background-color:var(--bg-secondary);transform:translateY(-1px);box-shadow:var(--shadow)}.btn-oauth svg{flex-shrink:0}.btn-google:hover{border-color:#4285f4}.btn-apple{background-color:#000;color:#fff;border-color:#000}.btn-apple:hover{background-color:#333;border-color:#333}.auth-links{display:flex;flex-direction:column;gap:12px;margin-top:24px;align-items:center}.link-button{background:none;border:none;color:var(--accent-color);font-size:14px;cursor:pointer;padding:4px 8px;transition:var(--transition);text-decoration:none}.link-button:hover{text-decoration:underline;color:var(--secondary-color)}.info-message{background-color:var(--bg-secondary);border-left:4px solid var(--accent-color);padding:12px 16px;margin-bottom:20px;border-radius:4px;color:var(--text-primary);font-size:14px;line-height:1.5}.form-hint{color:var(--text-secondary);font-size:13px;margin-top:4px;line-height:1.4}.category-items{display:flex;flex-direction:column;gap:16px}.category-item{display:flex;justify-content:space-between;align-items:center;padding:16px;background-color:var(--card-bg);border-radius:8px;border:2px solid var(--border-color);transition:var(--transition)}.category-item:hover{border-color:var(--accent-color);box-shadow:var(--shadow)}.category-info{display:flex;align-items:center;flex:1}.category-actions{display:flex;gap:8px}@media (max-width: 768px){.admin-panel{flex-direction:column;padding-top:60px}.admin-content{margin-left:0;padding:20px;min-height:calc(100vh - 60px)}.project-form-container{padding:20px}.login-card{padding:32px 24px}.admin-projects-grid{grid-template-columns:1fr}}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.project-plan-card{display:block;border-radius:12px;overflow:hidden;background-color:var(--card-bg);background-size:cover;background-position:center;border:2px solid var(--primary-color);transition:all .3s ease;cursor:pointer;position:relative;min-height:200px;text-decoration:none}.project-plan-card:hover{box-shadow:0 8px 20px #ec489940;transform:translateY(-2px);border-color:var(--primary-hover)}.plan-card-overlay{background:var(--card-bg);color:var(--text-primary);padding:20px;min-height:200px;display:flex;flex-direction:column;justify-content:space-between}.plan-title-section{margin-bottom:16px}.plan-title{font-size:1.5rem;font-weight:700;margin:0 0 8px;color:var(--text-primary)}.project-title{font-size:.9rem;color:var(--text-secondary);margin:0}.plan-progress{margin-top:12px}.progress-text{font-size:.85rem;margin-bottom:6px;opacity:.9}.progress-bar{height:8px;background:var(--border-color);border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,var(--primary-color),var(--primary-hover));transition:width .3s ease}.plan-card-content{margin-top:24px;padding-top:24px;border-top:1px solid var(--border-color)}.plan-description{font-size:.95rem;line-height:1.6;margin-bottom:20px;opacity:.95}.plan-section{margin-bottom:24px}.plan-section h4{font-size:1.1rem;margin:0 0 12px;color:var(--primary-color)}.plan-section ul{list-style:none;padding:0;margin:0}.plan-section li{padding:8px 0 8px 24px;position:relative}.plan-section li:before{content:"→";position:absolute;left:0;color:var(--primary-color)}.milestone{background:var(--bg-secondary);padding:12px;border-radius:8px;border-left:3px solid var(--primary-color)}.milestone.completed{border-left-color:var(--success-color, #10b981);opacity:.7}.milestone-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.milestone-date{font-size:.85rem;opacity:.8}.milestone-description{font-size:.9rem;margin:8px 0 0;opacity:.9}.tasks-list{display:flex;flex-direction:column;gap:10px}.task{display:flex;align-items:flex-start;gap:12px;background:var(--bg-secondary);padding:12px;border-radius:8px;transition:background .2s}.task:hover{background:var(--bg-hover)}.task.completed{opacity:.6}.task.completed .task-title{text-decoration:line-through}.task input[type=checkbox]{margin-top:2px;cursor:pointer;width:18px;height:18px}.task-content{flex:1}.task-title{font-weight:500;margin-bottom:4px}.task-description{font-size:.9rem;opacity:.85;margin-bottom:8px}.task-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:.85rem}.priority-badge{padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:500;text-transform:uppercase}.priority-badge.high{background:#ef4444;color:#fff}.priority-badge.medium{background:#f59e0b;color:#fff}.priority-badge.low{background:#3b82f6;color:#fff}.due-date{opacity:.8}.plan-notes{font-size:.9rem;line-height:1.6;opacity:.9;white-space:pre-wrap}.plan-card-footer{margin-top:16px}.plan-card-footer .plan-description{font-size:.9rem;line-height:1.5;opacity:.85;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.view-link{display:inline-flex;align-items:center;gap:6px;font-size:.9rem;color:var(--primary-color);font-weight:500;transition:all .2s ease}.project-plan-card:hover .view-link{gap:10px;color:var(--primary-hover)}.plan-card-actions{margin-top:24px;padding-top:16px;border-top:1px solid var(--border-color);display:flex;gap:12px}.calendar-layout{display:flex;gap:20px;min-height:600px}.calendar-layout.sidebar-open .calendar-container,.calendar-layout.sidebar-closed .calendar-container{flex:1}.calendar-sidebar{background:var(--card-bg);border-radius:12px;box-shadow:0 2px 4px #0000001a;transition:width .3s ease;overflow:hidden;display:flex;flex-direction:column}.calendar-sidebar.open{width:280px;min-width:280px}.calendar-sidebar.closed{width:48px;min-width:48px}.sidebar-header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid var(--border-color)}.sidebar-header h3{margin:0;font-size:1rem;color:var(--text-primary)}.sidebar-toggle{background:none;border:none;padding:4px;cursor:pointer;color:var(--text-secondary);border-radius:4px;transition:all .2s}.sidebar-toggle:hover{background:var(--bg-secondary);color:var(--text-primary)}.calendar-sidebar.closed .sidebar-header{padding:12px;border-bottom:none}.calendar-sidebar.closed .sidebar-header h3{display:none}.calendar-sidebar.closed .sidebar-toggle{transform:rotate(180deg)}.sidebar-content{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column}.sidebar-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 16px;color:var(--text-muted);text-align:center;gap:12px}.sidebar-empty p{margin:0;font-size:.875rem}.sidebar-expand-btn{display:flex;align-items:center;justify-content:center;background:none;border:none;padding:12px;cursor:pointer;color:var(--text-secondary);flex:1}.sidebar-expand-btn:hover{color:var(--primary-color)}.sidebar-hint{margin-top:auto;padding:12px;background:var(--bg-secondary);border-radius:8px;font-size:.75rem;color:var(--text-muted);text-align:center}.plans-list{display:flex;flex-direction:column;gap:8px;flex:1;margin-bottom:16px}.plan-item{background:var(--bg-secondary);border-radius:8px;overflow:hidden}.plan-header{display:flex;align-items:center;gap:8px;padding:12px;cursor:pointer;transition:background .2s}.plan-header:hover{background:var(--bg-tertiary)}.plan-info{flex:1;min-width:0}.plan-name{display:block;font-weight:500;font-size:.875rem;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plan-project{display:block;font-size:.75rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plan-count{background:var(--primary-color);color:#fff;font-size:.7rem;font-weight:600;padding:2px 8px;border-radius:10px;min-width:20px;text-align:center}.plan-items{padding:0 12px 12px}.items-section{margin-bottom:8px}.items-section:last-child{margin-bottom:0}.items-label{font-size:.7rem;font-weight:600;text-transform:uppercase;color:var(--text-muted);margin-bottom:6px;padding-left:4px}.draggable-item{background:var(--card-bg);border-radius:6px;padding:8px 10px;margin-bottom:4px;cursor:grab;border-left:3px solid var(--primary-color);transition:all .2s;display:flex;flex-direction:column;gap:2px}.draggable-item:hover{box-shadow:0 2px 8px #00000026;transform:translate(2px)}.draggable-item.dragging{opacity:.5;cursor:grabbing}.draggable-item.milestone{border-left-color:#8b5cf6}.draggable-item.task{border-left-color:#3b82f6}.draggable-item .item-title{font-size:.8rem;font-weight:500;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.draggable-item .item-date{font-size:.7rem;color:var(--text-muted)}.drag-overlay-item{background:var(--card-bg);border-radius:6px;padding:10px 14px;border-left:3px solid var(--primary-color);box-shadow:0 8px 24px #0003;font-size:.85rem;font-weight:500;cursor:grabbing;max-width:200px}.drag-overlay-item.milestone{border-left-color:#8b5cf6;background:linear-gradient(135deg,var(--card-bg),rgba(139,92,246,.1))}.drag-overlay-item.task{border-left-color:#3b82f6;background:linear-gradient(135deg,var(--card-bg),rgba(59,130,246,.1))}.calendar-day.drop-target{background:#3b82f626!important;outline:2px dashed var(--primary-color);outline-offset:-2px}.scheduling-overlay{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:var(--card-bg);padding:24px 32px;border-radius:12px;box-shadow:0 8px 32px #0003;display:flex;align-items:center;gap:12px;z-index:1000}.scheduling-spinner{width:24px;height:24px;border:3px solid var(--border-color);border-top-color:var(--primary-color);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.calendar-container{background:var(--card-bg);border-radius:12px;padding:24px;box-shadow:0 2px 4px #0000001a}.calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.calendar-nav{display:flex;align-items:center;gap:20px}.calendar-nav h2{margin:0;font-size:1.5rem;color:var(--text-primary);min-width:200px;text-align:center}.calendar-grid{width:100%}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:var(--border-color);border:1px solid var(--border-color);border-bottom:none}.calendar-weekdays>div{background:var(--card-bg);padding:12px;text-align:center;font-weight:600;color:var(--text-primary);font-size:.9rem}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:var(--border-color);border:1px solid var(--border-color)}.calendar-day{background:var(--card-bg);min-height:120px;padding:8px;position:relative;transition:background .2s}.calendar-day.empty{background:var(--bg-secondary)}.calendar-day.today{background:#ec48991a}.calendar-day.today .day-number{background:var(--primary-color);color:#fff;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center}.day-number{font-size:.9rem;font-weight:600;color:var(--text-primary);margin-bottom:4px}.day-events{display:flex;flex-direction:column;gap:2px;margin-top:8px}.calendar-event{padding:4px 6px;border-radius:4px;font-size:.75rem;cursor:pointer;transition:opacity .2s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-event:hover{opacity:.8}.event-time{font-weight:600;margin-bottom:2px}.event-title{overflow:hidden;text-overflow:ellipsis}@media (max-width: 768px){.calendar-layout{flex-direction:column}.calendar-sidebar{width:100%!important;min-width:100%!important;max-height:300px}.calendar-sidebar.closed{max-height:48px}.calendar-sidebar.closed .sidebar-toggle{transform:rotate(-90deg)}.calendar-sidebar.open .sidebar-toggle,.sidebar-expand-btn{transform:rotate(90deg)}.calendar-container{padding:16px}.calendar-day{min-height:80px;padding:4px}.day-number{font-size:.8rem}.calendar-event{font-size:.65rem;padding:2px 4px}.event-time{display:none}.draggable-item{padding:6px 8px}.draggable-item .item-title{font-size:.75rem}.sidebar-hint{font-size:.7rem;padding:8px}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .2s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:var(--card-bg);border-radius:12px;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 24px 16px;border-bottom:1px solid var(--border-color)}.modal-header h2{margin:0;font-size:1.5rem;color:var(--text-primary)}.modal-close{background:none;border:none;font-size:2rem;line-height:1;cursor:pointer;color:var(--text-secondary);transition:color .2s,background .2s;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px}.modal-close:hover{color:var(--text-primary);background:var(--bg-hover)}.modal-body{padding:24px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:var(--text-primary)}.form-group input,.form-group textarea,.form-group select{width:100%;padding:10px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:1rem;font-family:inherit;transition:border-color .2s;background:var(--input-bg, var(--card-bg));color:var(--text-primary)}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #ec48991a}.form-group textarea{resize:vertical;min-height:80px}.form-group small{display:block;margin-top:4px;font-size:.875rem;color:var(--text-secondary)}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px;border-top:1px solid var(--border-color)}.btn{padding:10px 20px;border-radius:6px;font-weight:500;font-size:1rem;cursor:pointer;transition:all .2s;border:none}.btn-primary:hover{background:var(--primary-hover);transform:translateY(-1px);box-shadow:0 4px 12px #ec48994d}.btn-secondary{background:var(--bg-secondary);color:var(--text-primary)}.btn-secondary:hover{background:var(--bg-hover)}@media (max-width: 768px){.modal-content{width:95%;max-height:95vh}.modal-header{padding:20px 20px 12px}.modal-header h2{font-size:1.25rem}.modal-body{padding:20px}}.empty-state-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;color:var(--text-secondary);min-height:300px}.empty-state-icon{font-size:64px;margin-bottom:24px;opacity:.6;animation:floatIcon 3s ease-in-out infinite}@keyframes floatIcon{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.empty-state-title{font-size:24px;font-weight:600;color:var(--text-primary);margin:0 0 12px}.empty-state-message{font-size:16px;line-height:1.6;color:var(--text-secondary);margin:0 0 32px;max-width:500px}.empty-state-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.empty-state-actions .btn{padding:12px 24px;font-size:15px;font-weight:500;border-radius:8px;border:none;cursor:pointer;transition:all .2s ease}.empty-state-actions .btn-primary{background-color:var(--primary-color);color:#fff}.empty-state-actions .btn-primary:hover{background-color:var(--primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.empty-state-actions .btn-secondary{background-color:var(--button-secondary-bg);color:var(--text-primary)}.empty-state-actions .btn-secondary:hover{background-color:var(--button-secondary-hover)}@media (max-width: 768px){.empty-state-container{padding:40px 20px;min-height:250px}.empty-state-icon{font-size:48px;margin-bottom:20px}.empty-state-title{font-size:20px}.empty-state-message{font-size:14px;margin-bottom:24px}.empty-state-actions{flex-direction:column;width:100%;max-width:300px}.empty-state-actions .btn{width:100%}}.elise-container{max-width:1400px;margin:0 auto;padding:20px}.elise-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid var(--border-color)}.elise-header h1{font-size:2rem;color:var(--text-primary);margin:0}.elise-actions{display:flex;gap:12px}.elise-content{min-height:600px}.view-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.view-header h2{font-size:1.5rem;color:var(--text-primary);margin:0}.project-plans-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}.empty-state{text-align:center;padding:60px 20px;color:var(--text-secondary)}.empty-state p{font-size:1.1rem}.ideas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px;margin-top:24px}.idea-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;padding:20px;transition:box-shadow .2s}.idea-card:hover{box-shadow:0 4px 12px var(--shadow-md)}.idea-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.idea-header h3{margin:0;font-size:1.25rem;color:var(--text-primary)}.priority-badge{padding:4px 12px;border-radius:12px;font-size:.75rem;color:#fff;font-weight:600;text-transform:uppercase}.idea-description{color:var(--text-secondary);margin-bottom:16px;line-height:1.5}.idea-meta{display:flex;gap:16px;margin-bottom:12px;font-size:.875rem;color:var(--text-secondary)}.meta-item{display:flex;align-items:center;gap:4px}.idea-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.tag{background:var(--bg-tertiary);color:var(--text-secondary);padding:4px 10px;border-radius:12px;font-size:.75rem}.idea-status{margin-bottom:16px;font-size:.875rem;color:var(--text-secondary)}.idea-actions{display:flex;gap:8px}.updates-list{display:flex;flex-direction:column;gap:24px;margin-top:24px}.update-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;padding:20px}.update-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.update-header h3{margin:0;font-size:1.25rem;color:var(--text-primary)}.update-date{color:var(--text-secondary);font-size:.875rem}.update-notes{color:var(--text-secondary);margin-bottom:16px;line-height:1.6}.update-meta{margin-bottom:12px;font-size:.875rem;color:var(--text-secondary)}.update-tasks ul{margin:8px 0;padding-left:20px;color:var(--text-secondary)}.update-delays{margin-top:12px}.delay-badge{display:inline-block;background:var(--warning-bg, #fef3c7);color:var(--warning-text, #92400e);padding:4px 12px;border-radius:12px;font-size:.75rem;margin-right:8px;margin-top:8px}.update-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-top:16px}.update-photos img{width:100%;height:200px;object-fit:cover;border-radius:8px}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px;margin-top:24px}.template-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;padding:20px;transition:box-shadow .2s}.template-card:hover{box-shadow:0 4px 12px var(--shadow-md)}.template-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.template-header h3{margin:0;font-size:1.25rem;color:var(--text-primary)}.difficulty-badge{padding:4px 12px;border-radius:12px;font-size:.75rem;color:#fff;font-weight:600;text-transform:uppercase}.template-description{color:var(--text-secondary);margin-bottom:16px;line-height:1.5}.template-category{margin-bottom:12px;font-size:.875rem;color:var(--text-secondary)}.template-stats{display:flex;gap:16px;margin-bottom:12px}.stat-item{font-size:.875rem;color:var(--text-secondary)}.template-meta{margin-bottom:16px;font-size:.875rem;color:var(--text-secondary)}.template-actions{display:flex;gap:8px}.instantiate-form{display:flex;flex-direction:column;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border-color)}.instantiate-form input{padding:8px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:.875rem;background:var(--input-bg);color:var(--text-primary)}.form-container{background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;padding:24px;margin-bottom:24px}.form-container h2{margin-top:0;margin-bottom:20px;font-size:1.5rem;color:var(--text-primary)}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:var(--text-primary);font-size:.875rem}.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:.875rem;background:var(--input-bg);color:var(--text-primary)}.form-group textarea{min-height:100px;resize:vertical}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.form-actions{display:flex;gap:12px;margin-top:24px}.delay-form{display:flex;gap:8px;margin-bottom:12px}.delay-form input{flex:1}.delays-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.delay-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:var(--bg-tertiary);border-radius:6px;color:var(--text-primary)}.photo-list,.photo-item{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:12px}.photo-item{position:relative}.photo-item img{width:100%;height:150px;object-fit:cover;border-radius:6px}.btn{padding:10px 20px;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;text-decoration:none;display:inline-block}.btn-primary{background:var(--primary-color);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn-secondary{background:var(--button-secondary-bg);color:var(--text-primary);border:1px solid var(--border-color)}.btn-secondary:hover{background:var(--button-secondary-hover)}.btn-danger{background:#db2777;color:#fff}.btn-danger:hover{background:#be185d}.btn-sm{padding:6px 12px;font-size:.75rem}.loading{text-align:center;padding:60px 20px;color:var(--text-secondary);font-size:1.1rem}.header-actions{display:flex;gap:12px}.plan-drag-wrapper{position:relative;transition:transform .2s ease,opacity .2s ease}.plan-drag-wrapper:hover .drag-handle{opacity:1}.drag-handle{position:absolute;top:8px;left:8px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#ffffffe6;border-radius:6px;cursor:grab;opacity:0;transition:opacity .2s ease,background-color .2s ease;z-index:10;color:var(--text-secondary);box-shadow:0 1px 3px #0003}[data-theme=dark] .drag-handle{background:#1e293be6}.drag-handle:hover{background:#fff;color:var(--primary-color)}[data-theme=dark] .drag-handle:hover{background:#334155}.plan-drag-wrapper.dragging{opacity:.5;transform:scale(.98)}.plan-drag-wrapper.drag-over{transform:scale(1.02)}.plan-drag-wrapper.drag-over:before{content:"";position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border:2px dashed var(--primary-color);border-radius:12px;pointer-events:none;z-index:5}@media (max-width: 768px){.elise-header{flex-direction:column;align-items:flex-start;gap:16px}.elise-actions{width:100%;flex-wrap:wrap}.project-plans-grid,.ideas-grid,.templates-grid,.form-row{grid-template-columns:1fr}.header-actions{flex-wrap:wrap}.drag-handle{opacity:.7}}.dashboard{padding:2rem;max-width:1400px;margin:0 auto}.dashboard-loading,.dashboard-error{text-align:center;padding:3rem;font-size:1.2rem;color:var(--text-secondary)}.dashboard-error{color:var(--danger-color)}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.dashboard-grid.compact{grid-template-columns:repeat(4,1fr);gap:1rem}.dashboard-grid.compact .stat-card{padding:1rem}.dashboard-grid.compact .stat-value{font-size:1.5rem}.dashboard-grid.compact .stat-label{font-size:.75rem}.stat-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;display:flex;align-items:center;gap:1rem;transition:transform .2s ease,box-shadow .2s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.stat-icon{display:flex;align-items:center;justify-content:center;color:var(--primary-color)}.stat-content{flex:1;min-width:0;overflow:hidden}.stat-value{font-size:2rem;font-weight:700;color:var(--text-primary);line-height:1.2;word-break:break-word;overflow-wrap:break-word}.stat-label{font-size:.875rem;color:var(--text-secondary);margin-top:.25rem;word-break:break-word;overflow-wrap:break-word}.dashboard-section{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:2rem;margin-bottom:2rem}.dashboard-section h2{font-size:1.5rem;font-weight:600;margin-bottom:1.5rem;color:var(--text-primary)}.progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.progress-card h3{font-size:1.25rem;margin-bottom:1rem;color:var(--text-primary)}.progress-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1.5rem}.progress-item{display:flex;justify-content:space-between;align-items:center}.progress-label{color:var(--text-secondary);font-size:.95rem}.progress-value{font-weight:600;font-size:1.1rem;color:var(--text-primary)}.progress-value.completed{color:var(--success-color)}.progress-value.in-progress{color:var(--info-color)}.progress-value.pending{color:var(--warning-color)}.progress-bar{background:var(--bg-secondary);border-radius:8px;height:32px;overflow:hidden;position:relative}.progress-fill{background:linear-gradient(90deg,var(--primary-color),var(--primary-hover));height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:.9rem;transition:width .6s ease}.cost-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:1.5rem}.cost-card{padding:1rem;background:var(--bg-secondary);border-radius:8px}.cost-label{font-size:.875rem;color:var(--text-secondary);margin-bottom:.5rem}.cost-value{font-size:1.5rem;font-weight:700;color:var(--text-primary)}.cost-value.over{color:var(--danger-color)}.cost-value.under{color:var(--success-color)}.budget-breakdown{display:flex;justify-content:space-around;padding:1.5rem;background:var(--bg-secondary);border-radius:8px}.budget-item{text-align:center}.budget-count{display:block;font-size:2rem;font-weight:700;margin-bottom:.5rem}.budget-item.over-budget .budget-count{color:var(--danger-color)}.budget-item.on-budget .budget-count{color:var(--success-color)}.budget-item.under-budget .budget-count{color:var(--info-color)}.budget-label{display:block;font-size:.875rem;color:var(--text-secondary)}.time-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.time-card{padding:1rem;background:var(--bg-secondary);border-radius:8px;text-align:center}.time-label{font-size:.875rem;color:var(--text-secondary);margin-bottom:.5rem}.time-value{font-size:1.75rem;font-weight:700;color:var(--text-primary)}.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}.category-card{padding:1rem;background:var(--bg-secondary);border-radius:8px;text-align:center}.category-name{font-weight:600;margin-bottom:.5rem;color:var(--text-primary);text-transform:capitalize}.category-stats{display:flex;flex-direction:column;gap:.25rem;font-size:.875rem;color:var(--text-secondary)}.activity-list{display:flex;flex-direction:column;gap:1rem}.activity-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:var(--bg-secondary);border-radius:8px;transition:background .2s ease}.activity-item:hover{background:var(--bg-hover)}.activity-icon{display:flex;align-items:center;justify-content:center;color:var(--primary-color)}.activity-content{flex:1}.activity-title{font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.activity-meta{font-size:.875rem;color:var(--text-secondary)}.trends-chart{display:flex;flex-direction:column;gap:.75rem}.trend-bar-container{display:grid;grid-template-columns:80px 1fr 60px;align-items:center;gap:1rem}.trend-label{font-size:.875rem;color:var(--text-secondary);text-align:right}.trend-bar{background:var(--bg-secondary);border-radius:4px;height:24px;overflow:hidden}.trend-fill{background:linear-gradient(90deg,var(--primary-color),var(--primary-hover));height:100%;transition:width .6s ease}.trend-value{font-weight:600;color:var(--text-primary);font-size:.9rem}.project-progress-list{display:flex;flex-direction:column;gap:1rem}.project-progress-item{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;background:var(--bg-secondary);border-radius:8px;transition:background .2s ease}.project-progress-item:hover{background:var(--bg-hover)}.project-progress-title{flex:0 0 200px;font-weight:600;color:var(--text-primary);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-progress-title:hover{color:var(--primary-color)}.project-progress-bar-container{flex:1;display:flex;align-items:center;gap:1rem}.project-progress-bar{flex:1;display:flex;height:24px;background:var(--bg-tertiary);border-radius:4px;overflow:hidden;position:relative}.progress-segment{position:relative;height:100%;min-width:2px;cursor:pointer;transition:filter .2s ease}.progress-segment:hover{filter:brightness(1.1)}.progress-segment-fill{height:100%;background:linear-gradient(90deg,var(--primary-color),var(--primary-hover));transition:width .4s ease}.progress-segment.completed .progress-segment-fill{background:linear-gradient(90deg,var(--success-color),#22c55e)}.milestone-marker{position:absolute;right:0;top:0;bottom:0;width:3px;background:var(--border-color);z-index:1}.milestone-marker:before{content:"";position:absolute;top:50%;right:-3px;transform:translateY(-50%);width:9px;height:9px;background:var(--card-bg);border:2px solid var(--primary-color);border-radius:50%;z-index:2}.milestone-tooltip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);background:var(--card-bg);border:1px solid var(--border-color);border-radius:6px;padding:.5rem .75rem;white-space:nowrap;z-index:100;box-shadow:var(--shadow-md);pointer-events:none}.milestone-tooltip strong{display:block;font-size:.875rem;color:var(--text-primary);margin-bottom:.25rem}.milestone-tooltip span{font-size:.75rem;color:var(--text-secondary)}.project-progress-percent{flex:0 0 48px;font-weight:600;font-size:.875rem;color:var(--text-secondary);text-align:right}.activity-list.compact{gap:.5rem}.activity-item.compact{display:grid;grid-template-columns:100px 1fr 80px;gap:1rem;padding:.75rem 1rem;align-items:center}.activity-type{font-size:.75rem;font-weight:600;text-transform:uppercase;color:var(--primary-color);padding:.25rem .5rem;background:#3b82f61a;border-radius:4px;text-align:center}.activity-title{font-size:.875rem;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-date{font-size:.75rem;color:var(--text-secondary);text-align:right}.cost-grid.compact{grid-template-columns:repeat(3,1fr);gap:1rem}.cost-grid.compact .cost-card{text-align:center}.cost-grid.compact .cost-value{font-size:1.25rem}@media (max-width: 1024px){.dashboard{padding:1.5rem}.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}@media (max-width: 768px){.dashboard{padding:1rem}.dashboard-header{flex-direction:column;align-items:flex-start;gap:1rem}.dashboard-grid{grid-template-columns:repeat(2,1fr);gap:1rem}.dashboard-grid.compact{grid-template-columns:repeat(2,1fr)}.stat-card{flex-direction:column;text-align:center;padding:1rem}.stat-card .stat-content{width:100%}.stat-value{font-size:1.5rem}.stat-label{font-size:.75rem}.progress-grid,.cost-grid,.time-grid,.cost-grid.compact{grid-template-columns:1fr}.budget-breakdown{flex-direction:column;gap:1.5rem}.trend-bar-container{grid-template-columns:60px 1fr 50px;gap:.5rem}.trend-label{font-size:.75rem}.project-progress-item{flex-direction:column;align-items:stretch;gap:.5rem}.project-progress-title{flex:none}.project-progress-bar-container{flex-direction:column;gap:.5rem}.project-progress-percent{text-align:left}.activity-item.compact{grid-template-columns:80px 1fr;gap:.5rem}.activity-date{grid-column:1 / -1;text-align:left;margin-top:-.25rem}}@media (max-width: 480px){.dashboard-grid{grid-template-columns:1fr}}.markdown-editor-container{border:1px solid var(--border-color, #dee2e6);border-radius:8px;overflow:hidden;background:var(--editor-bg, #ffffff)}.markdown-toolbar{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background:var(--toolbar-bg, #f8f9fa);border-bottom:1px solid var(--border-color, #dee2e6);flex-wrap:wrap;gap:.5rem}.toolbar-group{display:flex;gap:.25rem;align-items:center}.toolbar-button{padding:.4rem .75rem;border:1px solid var(--border-color, #dee2e6);background:var(--button-bg, #ffffff);color:var(--text-color, #333);border-radius:4px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s ease}.toolbar-button:hover{background:var(--button-hover-bg, #e9ecef);border-color:var(--button-hover-border, #adb5bd)}.mode-button{padding:.4rem .75rem;border:1px solid var(--border-color, #dee2e6);background:var(--button-bg, #ffffff);color:var(--text-color, #333);border-radius:4px;cursor:pointer;font-size:.875rem;transition:all .2s ease}.mode-button:hover{background:var(--button-hover-bg, #e9ecef)}.mode-button.active{background:var(--primary-color, #007bff);color:#fff;border-color:var(--primary-color, #007bff)}.markdown-content{display:flex;overflow:hidden}.markdown-content.mode-edit,.markdown-content.mode-preview{display:block}.markdown-editor-pane,.markdown-preview-pane{flex:1;overflow-y:auto;padding:1rem}.mode-split .markdown-editor-pane{border-right:1px solid var(--border-color, #dee2e6)}.markdown-textarea{width:100%;height:100%;border:none;outline:none;font-family:Courier New,Courier,monospace;font-size:.95rem;line-height:1.6;resize:none;background:var(--editor-bg, #ffffff);color:var(--text-color, #333);padding:0}.markdown-textarea::placeholder{color:var(--placeholder-color, #adb5bd)}.markdown-preview{min-height:100%;color:var(--text-color, #333)}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3,.markdown-preview h4,.markdown-preview h5,.markdown-preview h6{margin-top:1.5rem;margin-bottom:.75rem;font-weight:600;line-height:1.3}.markdown-preview h1{font-size:2rem;border-bottom:2px solid var(--border-color, #dee2e6);padding-bottom:.5rem}.markdown-preview h2{font-size:1.5rem;border-bottom:1px solid var(--border-color, #e9ecef);padding-bottom:.4rem}.markdown-preview h3{font-size:1.25rem}.markdown-preview p{margin-bottom:1rem;line-height:1.7}.markdown-preview ul,.markdown-preview ol{margin-bottom:1rem;padding-left:2rem}.markdown-preview li{margin-bottom:.5rem;line-height:1.6}.markdown-preview code{background:var(--code-bg, #f8f9fa);padding:.2rem .4rem;border-radius:3px;font-family:Courier New,Courier,monospace;font-size:.875rem;color:var(--code-color, #e83e8c)}.markdown-preview pre{background:var(--code-bg, #f8f9fa);padding:1rem;border-radius:4px;overflow-x:auto;margin-bottom:1rem}.markdown-preview pre code{background:none;padding:0;color:var(--text-color, #333)}.markdown-preview blockquote{border-left:4px solid var(--primary-color, #007bff);padding-left:1rem;margin-left:0;margin-bottom:1rem;color:var(--quote-color, #6c757d);font-style:italic}.markdown-preview a{color:var(--link-color, #007bff);text-decoration:none}.markdown-preview a:hover{text-decoration:underline}.markdown-preview img{max-width:100%;height:auto;border-radius:4px;margin:1rem 0}.markdown-preview table{border-collapse:collapse;width:100%;margin-bottom:1rem}.markdown-preview th,.markdown-preview td{border:1px solid var(--border-color, #dee2e6);padding:.75rem;text-align:left}.markdown-preview th{background:var(--table-header-bg, #f8f9fa);font-weight:600}.markdown-preview tr:nth-child(2n){background:var(--table-row-bg, #f8f9fa)}.preview-placeholder{color:var(--placeholder-color, #adb5bd);font-style:italic;text-align:center;padding:2rem}.markdown-footer{display:flex;justify-content:space-between;align-items:center;padding:.5rem 1rem;background:var(--toolbar-bg, #f8f9fa);border-top:1px solid var(--border-color, #dee2e6);font-size:.875rem}.character-count{color:var(--muted-color, #6c757d)}.markdown-help-link{color:var(--link-color, #007bff);text-decoration:none}.markdown-help-link:hover{text-decoration:underline}[data-theme=dark] .markdown-editor-container{--editor-bg: #1e1e1e;--toolbar-bg: #2d2d2d;--button-bg: #3d3d3d;--button-hover-bg: #4d4d4d;--button-hover-border: #5d5d5d;--border-color: #404040;--text-color: #e0e0e0;--placeholder-color: #888;--code-bg: #2d2d2d;--code-color: #ff6b9d;--quote-color: #aaa;--link-color: #4da6ff;--muted-color: #aaa;--table-header-bg: #2d2d2d;--table-row-bg: #252525}@media (max-width: 768px){.markdown-content.mode-split{flex-direction:column}.mode-split .markdown-editor-pane{border-right:none;border-bottom:1px solid var(--border-color, #dee2e6);min-height:200px}.toolbar-group{flex-wrap:wrap}}.markdown-editor-pane::-webkit-scrollbar,.markdown-preview-pane::-webkit-scrollbar{width:8px}.markdown-editor-pane::-webkit-scrollbar-track,.markdown-preview-pane::-webkit-scrollbar-track{background:var(--toolbar-bg, #f8f9fa)}.markdown-editor-pane::-webkit-scrollbar-thumb,.markdown-preview-pane::-webkit-scrollbar-thumb{background:var(--border-color, #adb5bd);border-radius:4px}.markdown-editor-pane::-webkit-scrollbar-thumb:hover,.markdown-preview-pane::-webkit-scrollbar-thumb:hover{background:var(--button-hover-border, #6c757d)}.shortcuts-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:10001;animation:fadeIn .2s ease-out}.shortcuts-modal{background-color:var(--card-bg);border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:700px;width:90%;max-height:80vh;display:flex;flex-direction:column;animation:slideUp .2s ease-out;border:1px solid var(--border-color)}.shortcuts-header{padding:24px;border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between}.shortcuts-header h2{margin:0;font-size:24px;font-weight:600;color:var(--text-primary)}.shortcuts-close{background:none;border:none;font-size:32px;line-height:1;cursor:pointer;color:var(--text-secondary);padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:background-color .2s ease}.shortcuts-close:hover{background-color:var(--bg-hover)}.shortcuts-content{padding:24px;overflow-y:auto;flex:1}.shortcuts-category{margin-bottom:32px}.shortcuts-category:last-child{margin-bottom:0}.shortcuts-category h3{margin:0 0 16px;font-size:16px;font-weight:600;color:var(--primary-color);text-transform:uppercase;letter-spacing:.5px}.shortcuts-list{display:flex;flex-direction:column;gap:12px}.shortcut-item{display:flex;align-items:center;gap:16px;padding:8px 0}.shortcut-keys{display:flex;align-items:center;gap:4px;min-width:140px}.shortcut-key{background-color:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;padding:4px 8px;font-size:13px;font-weight:600;color:var(--text-primary);font-family:Courier New,monospace;box-shadow:0 1px 2px #0000001a;min-width:32px;text-align:center}.shortcut-plus{color:var(--text-secondary);font-size:12px;margin:0 2px}.shortcut-description{flex:1;font-size:14px;color:var(--text-secondary);line-height:1.5}.shortcuts-footer{padding:16px 24px;border-top:1px solid var(--border-color);background-color:var(--bg-secondary);border-bottom-left-radius:12px;border-bottom-right-radius:12px}.shortcuts-footer p{margin:0;font-size:13px;color:var(--text-secondary);text-align:center}.shortcuts-footer kbd{background-color:var(--bg-primary);border:1px solid var(--border-color);border-radius:3px;padding:2px 6px;font-size:12px;font-weight:600;margin:0 2px;font-family:Courier New,monospace}@media (max-width: 768px){.shortcuts-modal{width:95%;max-height:90vh}.shortcuts-header{padding:20px}.shortcuts-header h2{font-size:20px}.shortcuts-content{padding:20px}.shortcuts-category{margin-bottom:24px}.shortcut-item{flex-direction:column;align-items:flex-start;gap:8px}.shortcut-keys{min-width:0}}.photo-upload{width:100%}.photo-preview{position:relative;width:100%;max-width:400px;margin:0 auto 1rem;border-radius:12px;overflow:hidden;background:var(--bg-secondary)}.photo-preview img{width:100%;height:auto;display:block}.upload-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;padding:2rem}.upload-progress{width:100%;max-width:300px}.progress-bar{width:100%;height:8px;background:#fff3;border-radius:4px;overflow:hidden;margin-bottom:.5rem}.progress-fill{height:100%;background:var(--primary-color);transition:width .3s ease}.progress-text{color:#fff;text-align:center;font-weight:600;font-size:1.2rem}.upload-error{background:var(--danger-color);color:#fff;padding:1rem;border-radius:8px;margin-bottom:1rem;text-align:center}.upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:.75rem}.upload-button{padding:1rem;border:2px dashed var(--border-color);background:var(--bg-secondary);color:var(--text-primary);border-radius:12px;font-size:1rem;cursor:pointer;transition:all .2s ease;font-family:inherit;font-weight:500}.upload-button:hover:not(:disabled){border-color:var(--primary-color);background:var(--bg-hover);transform:translateY(-2px)}.upload-button:active:not(:disabled){transform:translateY(0)}.upload-button:disabled{opacity:.5;cursor:not-allowed}.camera-button{border-color:var(--primary-color)}.gallery-button{border-color:var(--secondary-color)}.upload-info{text-align:center;color:var(--text-secondary)}@media (max-width: 480px){.upload-actions{grid-template-columns:1fr}.upload-button{padding:1.25rem;font-size:1.1rem}}@media (display-mode: standalone){.photo-upload{padding-bottom:env(safe-area-inset-bottom)}.upload-actions{margin-bottom:calc(.75rem + env(safe-area-inset-bottom))}}.plan-detail-container{max-width:1200px;margin:0 auto;padding:0 20px}.plan-detail-header{display:flex;justify-content:space-between;align-items:center;padding:20px 0}.back-button{display:flex;align-items:center;gap:8px;color:var(--text-color);text-decoration:none;font-weight:500;padding:8px 16px;border-radius:8px;transition:all .2s ease}.back-button:hover{background:var(--bg-secondary);color:var(--primary-color)}.plan-detail-hero{position:relative;border-radius:16px;overflow:visible;background:linear-gradient(135deg,var(--primary-color),var(--primary-hover));background-size:cover;background-position:center;margin-bottom:32px;min-height:200px;display:block}.plan-detail-hero .hero-overlay{background:linear-gradient(135deg,#000000b3,#00000080);padding:60px 40px 40px;min-height:200px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;border-radius:16px}.plan-detail-hero h1{color:#fff;font-size:clamp(1.5rem,4vw,2.5rem);margin:0 0 8px;text-shadow:0 2px 4px rgba(0,0,0,.3);word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;line-height:1.2;max-width:100%}.title-section{margin-bottom:8px}.title-display{display:flex;align-items:center;gap:12px}.title-display h1{margin:0}.title-edit-btn{background:#fff3;border:none;border-radius:8px;padding:8px;color:#fff;cursor:pointer;opacity:.7;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.title-edit-btn:hover{opacity:1;background:#ffffff4d}.title-edit{display:flex;flex-direction:column;gap:12px;max-width:600px}.title-input{width:100%;padding:12px 16px;font-size:clamp(1.2rem,3vw,1.8rem);font-weight:700;border:2px solid rgba(255,255,255,.3);border-radius:8px;background:#0000004d;color:#fff;font-family:inherit}.title-input::placeholder{color:#ffffff80}.title-input:focus{outline:none;border-color:#fff}.title-actions{display:flex;gap:8px}.title-actions .btn{font-size:.9rem}.plan-detail-hero .project-link{color:#fffc;font-size:1.1rem;margin:0 0 20px}.progress-section{max-width:400px}.progress-stats{display:flex;justify-content:space-between;color:#ffffffe6;font-size:14px;margin-bottom:8px}.progress-bar-large{height:8px;background:#fff3;border-radius:4px;overflow:hidden}.progress-bar-large .progress-fill{height:100%;background:#22c55e;border-radius:4px;transition:width .3s ease}.plan-detail-content{padding-bottom:60px}.plan-section{margin-bottom:40px}.plan-section h2{font-size:1.5rem;color:var(--text-color);margin:0 0 20px;padding-bottom:12px;border-bottom:2px solid var(--border-color);display:flex;align-items:center;gap:12px}.section-count{font-size:.9rem;font-weight:400;color:var(--text-muted);background:var(--bg-secondary);padding:4px 12px;border-radius:20px}.description-text{font-size:1.1rem;line-height:1.7;color:var(--text-color)}.description-edit{display:flex;flex-direction:column;gap:12px}.description-textarea{width:100%;padding:16px;border:2px solid var(--border-color);border-radius:12px;font-size:1rem;line-height:1.7;font-family:inherit;background:var(--bg-secondary);color:var(--text-color);resize:vertical;min-height:100px}.description-textarea:focus{outline:none;border-color:var(--primary-color)}.objectives-edit{display:flex;flex-direction:column;gap:12px}.objectives-inputs{display:flex;flex-direction:column;gap:8px}.objective-input-row{display:flex;align-items:center;gap:8px}.objective-input{flex:1;padding:12px 16px;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;font-family:inherit;background:var(--bg-secondary);color:var(--text-color)}.objective-input:focus{outline:none;border-color:var(--primary-color)}.btn-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border-radius:8px;flex-shrink:0}.btn-icon.btn-danger{background:transparent;border:1px solid var(--border-color);color:var(--text-muted)}.btn-icon.btn-danger:hover{background:#fce7f3;border-color:#db2777;color:#db2777}.add-objective-btn{align-self:flex-start;display:flex;align-items:center;gap:6px}.objectives-list{list-style:none;padding:0;margin:0}.objectives-list li{background:var(--bg-secondary);border-radius:8px;margin-bottom:8px;position:relative;padding:12px 16px 12px 40px}.objectives-list li:before{content:"";position:absolute;left:16px;top:50%;transform:translateY(-50%);width:8px;height:8px;background:var(--primary-color);border-radius:50%}.milestones-list{display:flex;flex-direction:column;gap:12px}.milestone-card{display:flex;align-items:flex-start;gap:12px;padding:16px;background:var(--bg-secondary);border-radius:12px;border:2px solid var(--border-color);transition:all .2s ease}.milestone-card:hover{border-color:var(--primary-color);box-shadow:0 4px 12px #0000001a}.milestone-card.completed{background:var(--success-bg);border-color:var(--success-text)}.drag-handle{display:flex;align-items:center;justify-content:center;padding:4px;color:var(--text-muted);cursor:grab;border-radius:4px;flex-shrink:0;touch-action:none;transition:color .2s ease,background .2s ease}.drag-handle:hover{color:var(--text-color);background:var(--bg-hover)}.drag-handle:active{cursor:grabbing}.milestone-checkbox{width:24px;height:24px;border:2px solid var(--border-color);border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--success-text);cursor:pointer}.milestone-card.completed .milestone-checkbox{background:var(--success-text);border-color:var(--success-text);color:#fff}.milestone-content h4{margin:0 0 8px;font-size:1rem;color:var(--text-color)}.milestone-content p{margin:0 0 8px;font-size:.9rem;color:var(--text-muted)}.milestone-date{font-size:.8rem;color:var(--text-muted)}.milestone-actions,.task-actions{display:flex;gap:4px;margin-left:auto;flex-shrink:0;opacity:0;transition:opacity .2s ease}.milestone-card:hover .milestone-actions,.task-card:hover .task-actions{opacity:1}.action-btn{background:none;border:none;color:var(--text-muted);padding:6px;border-radius:6px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.action-btn:hover{background:var(--bg-hover);color:var(--primary-color)}.action-btn.schedule:hover{background:var(--primary-color);color:#fff}.action-btn.danger:hover{background:#fce7f3;color:#db2777}.milestone-card.completed .action-btn{color:var(--success-text)}.milestone-card.completed .action-btn:hover{background:#ffffff80}.milestone-card.completed .action-btn.danger:hover{background:#fce7f3;color:#db2777}.task-card.completed .action-btn{color:var(--success-text)}.task-card.completed .action-btn:hover{background:#ffffff80}.task-card.completed .action-btn.danger:hover{background:#fce7f3;color:#db2777}.empty-state{background:var(--bg-secondary);border:2px dashed var(--border-color);border-radius:12px;padding:40px;text-align:center}.empty-state p{color:var(--text-muted);margin:0;font-size:.95rem}.section-header .btn{display:flex;align-items:center;gap:6px}.tasks-list{display:flex;flex-direction:column;gap:12px}.task-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:16px;transition:all .2s ease}.task-card:hover{box-shadow:0 4px 12px #00000014;border-color:var(--primary-color)}.task-card.completed{background:var(--success-bg);border-color:var(--success-text)}.task-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}.task-header .priority-badge{margin-left:auto}.task-checkbox{position:relative;cursor:pointer}.task-checkbox input{position:absolute;opacity:0;cursor:pointer;width:0;height:0}.task-checkbox .checkmark{display:block;width:22px;height:22px;border:2px solid var(--border-color);border-radius:6px;transition:all .2s ease}.task-checkbox input:checked+.checkmark{background:var(--success-text);border-color:var(--success-text)}.task-checkbox input:checked+.checkmark:after{content:"";position:absolute;left:7px;top:3px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.priority-badge{font-size:11px;font-weight:600;text-transform:uppercase;padding:4px 10px;border-radius:20px;letter-spacing:.5px}.priority-badge.high{background:#fce7f3;color:#db2777}.priority-badge.medium{background:#fef3c7;color:#d97706}.priority-badge.low{background:#dbeafe;color:#2563eb}.priority-badge.none{background:var(--bg-secondary);color:var(--text-muted)}.task-body h4{margin:0 0 8px;font-size:1rem;color:var(--text-color);transition:all .2s ease}.task-body h4.strikethrough{text-decoration:line-through;color:var(--text-muted)}.task-description{font-size:.9rem;color:var(--text-muted);margin:0 0 8px;line-height:1.5}.task-due{font-size:.8rem;color:var(--text-muted)}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid var(--border-color)}.section-header h2{margin:0;padding:0;border:none}.notes-box{background:var(--bg-secondary);padding:24px;border-radius:12px;font-size:1rem;line-height:1.7;color:var(--text-color);white-space:pre-wrap}.empty-notes{color:var(--text-muted);font-style:italic}.notes-edit textarea{width:100%;padding:16px;border:2px solid var(--border-color);border-radius:12px;font-size:1rem;line-height:1.7;font-family:inherit;background:var(--bg-secondary);color:var(--text-color);resize:vertical;min-height:150px}.notes-edit textarea:focus{outline:none;border-color:var(--primary-color)}.notes-actions{display:flex;gap:8px;margin-top:12px}.danger-zone{margin-top:60px;border-top:2px solid var(--border-color);padding-top:40px}.danger-zone h2{color:var(--danger-color);border-bottom-color:var(--danger-color)}.danger-zone-content{background:var(--danger-bg);border:2px solid var(--danger-color);border-radius:12px;padding:20px}.danger-zone-item{display:flex;align-items:center;justify-content:space-between;gap:20px}.danger-zone-text{flex:1}.danger-zone-text strong{display:block;color:var(--danger-text);font-size:1rem;margin-bottom:4px}.danger-zone-text p{margin:0;font-size:.9rem;color:var(--danger-text);opacity:.8}.upload-btn{display:flex;align-items:center;gap:6px;cursor:pointer}.reference-files-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}.reference-file-card{background:var(--bg-secondary);border:2px solid var(--border-color);border-radius:12px;overflow:hidden;transition:all .2s ease}.reference-file-card:hover{border-color:var(--primary-color);box-shadow:0 4px 12px #0000001a}.file-preview{display:block;aspect-ratio:1;overflow:hidden}.file-preview img{width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.file-preview:hover img{transform:scale(1.05)}.file-icon-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--bg-tertiary);color:var(--text-muted)}.file-type-icon{display:flex;align-items:center;justify-content:center}.reference-file-card.3d .file-type-icon{color:#8b5cf6}.reference-file-card.pdf .file-type-icon{color:#ef4444}.reference-file-card.cad .file-type-icon{color:#f59e0b}.file-extension{font-size:.75rem;font-weight:600;text-transform:uppercase;margin-top:8px;color:var(--text-secondary)}.file-info{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;gap:8px;border-top:1px solid var(--border-color)}.file-name{font-size:.85rem;color:var(--text-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.file-delete-btn{background:transparent;border:none;padding:4px;color:var(--text-muted);cursor:pointer;border-radius:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;flex-shrink:0}.file-delete-btn:hover{background:#fce7f3;color:#db2777}@media (max-width: 768px){.plan-detail-hero h1{font-size:clamp(1.25rem,6vw,1.75rem);line-height:1.3}.plan-detail-hero .hero-overlay{padding:40px 20px 20px;min-height:180px}.milestones-list,.tasks-list{gap:8px}.drag-handle{padding:8px}.plan-detail-header{flex-direction:column;gap:12px;align-items:flex-start}.progress-section{max-width:100%}.milestone-actions,.task-actions{opacity:1}.milestone-card{flex-wrap:wrap}.milestone-content{flex:1;min-width:0}.section-header{flex-wrap:wrap;gap:12px}.section-header .btn{flex-shrink:0}.empty-state{padding:24px}.reference-files-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}.danger-zone-item{flex-direction:column;align-items:flex-start;gap:16px}.danger-zone-item .btn{width:100%}}.app{min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:20px}.main-content:has(.projects-page){max-width:none;padding:0;margin:0}.main-content:has(.project-detail){max-width:none;padding:0;margin:0}.main-content.full-width{max-width:none;padding:0;margin:0}@media (max-width: 768px){.main-content{padding:16px}.main-content:has(.projects-page),.main-content:has(.project-detail),.main-content.full-width{padding:0}}.error-boundary{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:var(--background-color, #f5f5f5)}.error-boundary-content{max-width:600px;width:100%;background:var(--card-background, white);border-radius:8px;padding:3rem 2rem;box-shadow:0 4px 6px #0000001a;text-align:center}.error-boundary h1{font-size:2rem;margin-bottom:1rem;color:var(--text-color, #333)}.error-message{font-size:1.1rem;color:var(--text-secondary, #666);margin-bottom:2rem;line-height:1.6}.error-details{text-align:left;margin:2rem 0;padding:1rem;background:#f8f9fa;border-radius:4px;border:1px solid #dee2e6}.error-details summary{cursor:pointer;font-weight:600;color:#495057;margin-bottom:1rem;-webkit-user-select:none;user-select:none}.error-details summary:hover{color:#007bff}.error-stack{background:#2d2d2d;color:#f8f8f2;padding:1rem;border-radius:4px;overflow-x:auto;font-size:.875rem;line-height:1.5;max-height:400px;overflow-y:auto}.error-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.error-actions .btn{padding:.75rem 1.5rem;border:none;border-radius:4px;font-size:1rem;cursor:pointer;transition:all .3s ease;font-weight:500}.error-actions .btn-primary{background:#007bff;color:#fff}.error-actions .btn-primary:hover{background:#0056b3;transform:translateY(-2px);box-shadow:0 4px 8px #007bff4d}.error-actions .btn-secondary{background:#6c757d;color:#fff}.error-actions .btn-secondary:hover{background:#5a6268;transform:translateY(-2px);box-shadow:0 4px 8px #6c757d4d}[data-theme=dark] .error-boundary{background:var(--background-color)}[data-theme=dark] .error-boundary-content{background:var(--card-background)}[data-theme=dark] .error-boundary h1{color:var(--text-color)}[data-theme=dark] .error-message{color:var(--text-secondary)}[data-theme=dark] .error-details{background:#ffffff0d;border-color:#ffffff1a}[data-theme=dark] .error-details summary{color:var(--text-color)}@media (max-width: 768px){.error-boundary-content{padding:2rem 1.5rem}.error-boundary h1{font-size:1.5rem}.error-message{font-size:1rem}.error-actions{flex-direction:column}.error-actions .btn{width:100%}}*{margin:0;padding:0;box-sizing:border-box}:root{--primary-color: #0040B0;--secondary-color: #002F80;--accent-color: #ec4899;--accent-light: #f9a8d4;--text-color: #1f2937;--text-light: #6b7280;--bg-color: #fff;--bg-light: #f3f4f6;--border-color: #e5e7eb;--shadow: 0 2px 8px rgba(0, 64, 176, .1);--shadow-hover: 0 4px 16px rgba(236, 72, 153, .15);--transition: all .3s ease}[data-theme=dark]{--primary-color: #3b9eff;--secondary-color: #5db0ff;--text-color: #e0e0e0;--text-light: #b0b0b0;--bg-color: #1a1a1a;--bg-light: #2d2d2d;--border-color: #404040;--shadow: 0 2px 8px rgba(0, 0, 0, .3);--shadow-hover: 0 4px 16px rgba(236, 72, 153, .25)}body{font-family:Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Tahoma,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--text-color);background-color:var(--bg-color);line-height:1.6}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto;display:block}.btn{display:inline-block;padding:12px 24px;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:var(--transition);text-align:center}.btn-primary{background-color:var(--accent-color);color:#fff}.btn-primary:hover{background-color:#db2777;transform:translateY(-2px);box-shadow:var(--shadow-hover)}.btn-secondary{background-color:var(--primary-color);color:#fff}.btn-secondary:hover{background-color:var(--secondary-color);transform:translateY(-2px)}.btn-small{padding:8px 16px;font-size:14px;display:inline-block;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:var(--transition);text-align:center}.btn-danger{background-color:#db2777;color:#fff;display:inline-block;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:var(--transition);text-align:center}.btn-danger:hover{background-color:#be185d;transform:translateY(-1px)}.btn-small.btn-primary{background-color:var(--accent-color);color:#fff}.btn-small.btn-primary:hover{background-color:#db2777;transform:translateY(-1px)}.btn-small.btn-danger{background-color:#db2777;color:#fff}.btn-small.btn-danger:hover{background-color:#be185d;transform:translateY(-1px)}.loading{text-align:center;padding:60px 20px;font-size:18px;color:var(--text-light)}.error-page{text-align:center;padding:60px 20px}.error-page h1{color:var(--secondary-color);margin-bottom:16px}:root,[data-theme=light]{--primary-color: #007bff;--primary-hover: #0056b3;--secondary-color: #6c757d;--accent-color: #ec4899;--success-color: #28a745;--danger-color: #db2777;--warning-color: #ffc107;--info-color: #17a2b8;--bg-primary: #ffffff;--bg-secondary: #f8f9fa;--bg-tertiary: #e9ecef;--bg-hover: #e9ecef;--bg-active: #dee2e6;--text-primary: #212529;--text-secondary: #6c757d;--text-muted: #adb5bd;--text-inverse: #ffffff;--border-color: #dee2e6;--border-light: #e9ecef;--border-dark: #adb5bd;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px rgba(0, 0, 0, .15);--shadow-xl: 0 20px 25px rgba(0, 0, 0, .2);--card-bg: #ffffff;--modal-bg: #ffffff;--modal-overlay: rgba(0, 0, 0, .5);--input-bg: #ffffff;--input-border: #ced4da;--input-focus: #80bdff;--button-secondary-bg: #f8f9fa;--button-secondary-hover: #e9ecef;--warning-bg: #fef3c7;--warning-text: #92400e;--success-bg: #d1fae5;--success-text: #065f46;--danger-bg: #fce7f3;--danger-text: #9d174d;--code-bg: #f8f9fa;--code-color: #e83e8c;--link-color: #007bff;--link-hover: #0056b3}[data-theme=dark]{--primary-color: #3b9eff;--primary-hover: #5db0ff;--secondary-color: #a0a0a0;--accent-color: #ff4da6;--success-color: #5cb85c;--danger-color: #ec4899;--warning-color: #f0ad4e;--info-color: #5bc0de;--bg-primary: #1a1a1a;--bg-secondary: #2d2d2d;--bg-tertiary: #3d3d3d;--bg-hover: #3d3d3d;--bg-active: #4d4d4d;--text-primary: #e0e0e0;--text-secondary: #b0b0b0;--text-muted: #888888;--text-inverse: #1a1a1a;--border-color: #404040;--border-light: #353535;--border-dark: #505050;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);--shadow-md: 0 4px 6px rgba(0, 0, 0, .4);--shadow-lg: 0 10px 15px rgba(0, 0, 0, .5);--shadow-xl: 0 20px 25px rgba(0, 0, 0, .6);--card-bg: #2d2d2d;--modal-bg: #2d2d2d;--modal-overlay: rgba(0, 0, 0, .7);--input-bg: #3d3d3d;--input-border: #505050;--input-focus: #4da6ff;--button-secondary-bg: #3d3d3d;--button-secondary-hover: #4d4d4d;--warning-bg: #854d0e;--warning-text: #fef3c7;--success-bg: #065f46;--success-text: #d1fae5;--danger-bg: #831843;--danger-text: #fce7f3;--code-bg: #2d2d2d;--code-color: #ff6b9d;--link-color: #4da6ff;--link-hover: #66b3ff}body{background-color:var(--bg-primary);color:var(--text-primary);transition:background-color .3s ease,color .3s ease}a{color:var(--link-color);transition:color .2s ease}a:hover{color:var(--link-hover)}.card{background-color:var(--card-bg);border-color:var(--border-color);color:var(--text-primary)}input,textarea,select{background-color:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}input:focus,textarea:focus,select:focus{border-color:var(--input-focus);box-shadow:0 0 0 .2rem #4da6ff40}button{transition:all .2s ease}.btn-primary{background-color:var(--primary-color);border-color:var(--primary-color);color:var(--text-inverse)}.btn-primary:hover{background-color:var(--primary-hover);border-color:var(--primary-hover)}.modal-overlay{background-color:var(--modal-overlay)}.modal-content{background-color:var(--modal-bg);color:var(--text-primary)}code{background-color:var(--code-bg);color:var(--code-color)}table{color:var(--text-primary)}th{background-color:var(--bg-secondary);border-color:var(--border-color)}td{border-color:var(--border-color)}tr:nth-child(2n){background-color:var(--bg-secondary)}[data-theme=dark] ::-webkit-scrollbar{width:10px;height:10px}[data-theme=dark] ::-webkit-scrollbar-track{background:var(--bg-secondary)}[data-theme=dark] ::-webkit-scrollbar-thumb{background:var(--bg-tertiary);border-radius:5px}[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:var(--bg-active)}*{transition-property:background-color,border-color,color;transition-duration:.3s;transition-timing-function:ease}.no-transition *{transition:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}
