*{box-sizing:border-box;margin:0;padding:0}body{color:#1e293b;background:#f8fafc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6}button{cursor:pointer;font:inherit;background:0 0;border:none}input,textarea,select{font:inherit;border:1px solid #d1d5db;border-radius:6px;outline:none;padding:8px 12px}input:focus,textarea:focus,select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.app{max-width:900px;margin:0 auto;padding:24px 16px}.app-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.app-header h1{font-size:1.5rem;font-weight:700}.btn{border-radius:6px;align-items:center;gap:6px;padding:8px 16px;font-size:.875rem;font-weight:500;transition:background .15s;display:inline-flex}.btn-primary{color:#fff;background:#2563eb}.btn-primary:hover{background:#1d4ed8}.btn-secondary{color:#374151;background:#e5e7eb}.btn-secondary:hover{background:#d1d5db}.btn-danger{color:#dc2626;background:#fee2e2}.btn-danger:hover{background:#fecaca}.btn-sm{padding:4px 10px;font-size:.8rem}.btn-icon{border-radius:4px;padding:6px}.btn-icon:hover{background:#f1f5f9}.filter-bar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:24px;display:flex}.filter-bar select,.filter-bar input{font-size:.875rem}.toggle-label{cursor:pointer;align-items:center;gap:6px;font-size:.875rem;display:flex}.timeline{padding-left:40px;position:relative}.timeline:before{content:"";background:#e2e8f0;width:2px;position:absolute;top:0;bottom:0;left:15px}.timeline-item{margin-bottom:24px;position:relative}.timeline-dot{color:#fff;z-index:1;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex;position:absolute;top:16px;left:-33px}.timeline-day-separator{align-items:center;margin-top:40px;margin-bottom:24px;margin-left:-48px;display:flex;position:relative}.timeline-item:first-child .timeline-day-separator,.timeline>div:first-child .timeline-day-separator{margin-top:0}.timeline-day-separator span{color:#fff;white-space:nowrap;letter-spacing:.02em;background:#1e293b;border-radius:6px;padding:6px 16px;font-size:.85rem;font-weight:700}.timeline-day-separator:after{content:"";background:#cbd5e1;flex:1;height:2px;margin-left:12px}.timeline-card{background:#fff;border-left:4px solid;border-radius:10px;padding:16px 20px;box-shadow:0 1px 3px #00000014}.timeline-card-header{justify-content:space-between;align-items:flex-start;margin-bottom:8px;display:flex}.timeline-card-meta{color:#64748b;align-items:center;gap:8px;font-size:.8rem;display:flex}.type-badge{color:#fff;border-radius:12px;align-items:center;gap:4px;padding:2px 8px;font-size:.75rem;font-weight:500;display:inline-flex}.private-badge{color:#92400e;background:#fef3c7;border-radius:12px;padding:2px 8px;font-size:.7rem;font-weight:600}.timeline-card-actions{gap:4px;display:flex}.timeline-card h3{margin-bottom:4px;font-size:1rem;font-weight:600}.timeline-card .post-text{color:#475569;font-size:.9rem}.timeline-card .post-text p{margin:0 0 8px}.timeline-card .post-text p:last-child{margin-bottom:0}.timeline-card .post-text ul,.timeline-card .post-text ol{margin:4px 0 8px;padding-left:20px}.timeline-card .post-text code{background:#f1f5f9;border-radius:3px;padding:1px 4px;font-size:.85em}.timeline-card .post-text pre{background:#f1f5f9;border-radius:6px;margin:8px 0;padding:8px 12px;overflow-x:auto}.timeline-card .post-text pre code{background:0 0;padding:0}.timeline-card .post-text blockquote{color:#64748b;border-left:3px solid #d1d5db;margin:8px 0;padding-left:12px}.timeline-card .post-text a{color:#2563eb;text-decoration:underline}.timeline-card .post-text h1,.timeline-card .post-text h2,.timeline-card .post-text h3{margin:8px 0 4px;font-size:.95rem}.media-grid{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}.media-item{flex-direction:column;align-items:center;max-width:80px;display:flex}.media-description{color:#64748b;text-align:center;word-break:break-word;margin-top:3px;font-size:.7rem;line-height:1.2}.media-thumb{object-fit:cover;cursor:pointer;border:1px solid #e2e8f0;border-radius:6px;width:80px;height:80px;transition:transform .15s}.media-thumb:hover{transform:scale(1.05)}.media-video-thumb{cursor:pointer;background:#1e293b;border:1px solid #e2e8f0;border-radius:6px;width:80px;height:80px;position:relative;overflow:hidden}.video-poster{object-fit:cover;width:100%;height:100%}.video-play-overlay{color:#fff;background:#00000040;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.media-pdf-thumb{color:#dc2626;background:#fee2e2;border:1px solid #e2e8f0;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:80px;height:80px;font-size:.7rem;font-weight:600;text-decoration:none;transition:transform .15s;display:flex}.media-pdf-thumb:hover{transform:scale(1.05)}.lightbox-pdf{background:#fff;border:none;border-radius:8px;width:80vw;height:85vh}.lightbox-overlay{z-index:1000;background:#000000d9;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.lightbox-content{border-radius:8px;max-width:90vw;max-height:90vh}.lightbox-content img,.lightbox-content video{border-radius:8px;max-width:90vw;max-height:85vh}.lightbox-close{color:#fff;z-index:1001;padding:8px;font-size:1.5rem;position:fixed;top:16px;right:16px}.lightbox-description{color:#e2e8f0;text-align:center;margin-top:12px;font-size:.9rem}.post-form-overlay{z-index:100;background:#0006;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.post-form{background:#fff;border-radius:12px;width:100%;max-width:560px;max-height:90vh;padding:24px;overflow-y:auto;box-shadow:0 20px 60px #0003}.post-form h2{margin-bottom:16px;font-size:1.2rem}.form-group{margin-bottom:14px}.form-group label{color:#374151;margin-bottom:4px;font-size:.85rem;font-weight:500;display:block}.form-group input,.form-group textarea,.form-group select{width:100%}.form-group textarea{resize:vertical;min-height:100px}.form-row{gap:12px;display:flex}.form-row .form-group{flex:1}.checkbox-label{cursor:pointer;align-items:center;gap:8px;font-size:.85rem;display:flex}.checkbox-label input[type=checkbox]{width:auto}.drop-zone{text-align:center;color:#9ca3af;cursor:pointer;border:2px dashed #d1d5db;border-radius:8px;padding:24px;font-size:.85rem;transition:border-color .15s,background .15s}.drop-zone.drag-over{background:#eff6ff;border-color:#2563eb}.existing-media-list{flex-direction:column;gap:8px;margin-bottom:10px;display:flex}.existing-media-item{background:#f1f5f9;border-radius:6px;align-items:center;gap:10px;padding:8px;display:flex}.existing-media-thumb{object-fit:cover;border-radius:4px;flex-shrink:0;width:48px;height:48px}.existing-media-video-thumb{color:#fff;background:#1e293b;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.existing-media-details{flex:1;min-width:0}.existing-media-details input{padding:4px 8px;font-size:.8rem}.btn-icon-danger:hover{color:#dc2626;background:#fee2e2}.pending-files{flex-direction:column;gap:8px;margin-top:8px;display:flex}.pending-file-item{background:#f1f5f9;border-radius:6px;padding:8px}.pending-file-header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.pending-file-name{color:#374151;font-size:.8rem;font-weight:500}.pending-file-item input{padding:4px 8px;font-size:.8rem}.form-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.date-group{align-items:center;gap:8px;display:flex}.empty-state{text-align:center;color:#94a3b8;padding:60px 20px}.empty-state p{font-size:1rem}.user-table{border-collapse:collapse;width:100%;font-size:.85rem}.user-table th{text-align:left;color:#64748b;border-bottom:2px solid #e2e8f0;padding:6px 8px;font-size:.8rem;font-weight:500}.user-table td{border-bottom:1px solid #f1f5f9;padding:8px}.user-table tr:last-child td{border-bottom:none}.user-name{align-items:center;gap:6px;font-weight:500;display:flex}
