body{margin:0}:root{--primary: #2563eb;--primary-dark: #1d4ed8;--danger: #dc2626;--success: #16a34a;--bg: #f8fafc;--surface: #ffffff;--border: #e2e8f0;--text: #1e293b;--text-muted: #64748b;--radius: 8px;--shadow: 0 1px 3px rgba(0,0,0,.1);--shadow-md: 0 4px 6px -1px rgba(0,0,0,.1)}*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text);line-height:1.6}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%}.navbar{background:var(--surface);border-bottom:1px solid var(--border);padding:0 24px;height:60px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100;box-shadow:var(--shadow)}.navbar-brand{font-size:1.25rem;font-weight:700;color:var(--text);text-decoration:none}.navbar-links{display:flex;align-items:center;gap:16px}.navbar-avatar{border-radius:50%;width:28px;height:28px;object-fit:cover}.main-content{max-width:860px;margin:0 auto;padding:32px 24px}.page-container{max-width:680px;margin:0 auto}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border:none;border-radius:var(--radius);font-size:14px;font-weight:500;cursor:pointer;transition:background .15s,opacity .15s;text-decoration:none}.btn:hover{opacity:.9}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark);color:#fff;text-decoration:none}.btn-secondary{background:var(--border);color:var(--text)}.btn-danger{background:var(--danger);color:#fff}.btn-ghost{background:transparent;color:var(--text);border:1px solid var(--border)}.btn-full{width:100%;justify-content:center}.btn-google{background:#fff;color:#333;border:1px solid var(--border);font-size:14px}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:14px;font-weight:500;margin-bottom:6px}.form-group input,.form-group textarea,.form-group select{width:100%;padding:9px 12px;border:1px solid var(--border);border-radius:var(--radius);font-size:14px;font-family:inherit;transition:border-color .15s;background:var(--surface)}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1a}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(135deg,#dbeafe,#ede9fe)}.auth-card{background:var(--surface);border-radius:16px;padding:40px;width:100%;max-width:420px;box-shadow:var(--shadow-md)}.auth-header{text-align:center;margin-bottom:28px}.auth-icon{font-size:3rem}.auth-header h1{margin:8px 0 4px;font-size:1.75rem}.auth-header p{color:var(--text-muted);margin:0}.auth-form{display:flex;flex-direction:column}.auth-divider{text-align:center;position:relative;margin:20px 0;color:var(--text-muted);font-size:13px}.auth-divider:before,.auth-divider:after{content:"";position:absolute;top:50%;width:40%;height:1px;background:var(--border)}.auth-divider:before{left:0}.auth-divider:after{right:0}.auth-footer{text-align:center;margin-top:20px;font-size:14px;color:var(--text-muted)}.feed-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.feed-header h1{margin:0}.feed{display:flex;flex-direction:column;gap:20px}.update-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;display:block;color:var(--text);text-decoration:none;transition:box-shadow .15s;box-shadow:var(--shadow)}.update-card:hover{box-shadow:var(--shadow-md);text-decoration:none}.update-card-image img{width:100%;height:200px;object-fit:cover}.update-card-body{padding:20px}.update-card-meta{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--text-muted);margin-bottom:8px}.update-card-title{margin:0 0 8px;font-size:1.2rem}.update-card-excerpt{margin:0 0 12px;color:var(--text-muted);font-size:14px}.update-card-footer{display:flex;gap:16px;font-size:13px;color:var(--text-muted)}.ai-badge{display:inline-block;background:#f0fdf4;color:#16a34a;font-size:12px;padding:2px 8px;border-radius:100px;border:1px solid #bbf7d0;margin-bottom:8px}.update-detail{max-width:800px;margin:0 auto}.update-detail-header{margin-bottom:28px}.update-date{color:var(--text-muted);font-size:14px}.update-detail-header h1{margin:8px 0;font-size:2rem}.update-meta{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text-muted)}.image-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;margin-bottom:24px}.gallery-image{width:100%;height:180px;object-fit:cover;border-radius:var(--radius);border:1px solid var(--border)}.ai-summary{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:var(--radius);padding:16px;margin-bottom:24px}.ai-summary-header{font-weight:600;margin-bottom:8px;color:#166534}.ai-summary p{margin:0 0 8px}.ai-summary small{color:var(--text-muted);font-size:12px}.update-body{font-size:16px;line-height:1.8;margin-bottom:32px}.update-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:32px;padding:16px;background:var(--bg);border-radius:var(--radius)}.comments-section{border-top:1px solid var(--border);padding-top:24px}.comments-section h3{margin-top:0}.comment{padding:12px 0;border-bottom:1px solid var(--border)}.comment-meta{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:13px;color:var(--text-muted)}.comment p{margin:0}.comment-form{margin-top:20px;display:flex;flex-direction:column;gap:10px}.comment-form textarea{width:100%;padding:10px;border:1px solid var(--border);border-radius:var(--radius);font-family:inherit;font-size:14px;resize:vertical}.comment-form textarea:focus{outline:none;border-color:var(--primary)}.image-uploader{width:100%}.dropzone{border:2px dashed var(--border);border-radius:var(--radius);padding:24px;text-align:center;cursor:pointer;color:var(--text-muted);transition:border-color .15s,background .15s}.dropzone:hover,.dropzone-active{border-color:var(--primary);background:#eff6ff}.dropzone-disabled{opacity:.5;cursor:not-allowed}.upload-previews{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.upload-preview-thumb{width:80px;height:80px;object-fit:cover;border-radius:var(--radius);border:1px solid var(--border)}.settings-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;margin-bottom:24px}.settings-section h2{margin-top:0}.profile-info{display:flex;align-items:center;gap:16px}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid var(--border)}.inbound-address{display:block;background:var(--bg);padding:8px 12px;border-radius:var(--radius);font-size:13px;margin-top:12px;word-break:break-all}.avatar-xs{width:24px;height:24px;border-radius:50%;object-fit:cover}.avatar-sm{width:32px;height:32px;border-radius:50%;object-fit:cover}.avatar-lg{width:64px;height:64px;border-radius:50%;object-fit:cover}.loading{text-align:center;padding:60px;color:var(--text-muted);font-size:18px}.error-message{text-align:center;padding:40px;color:var(--danger)}.empty-state{text-align:center;padding:60px;color:var(--text-muted);display:flex;flex-direction:column;align-items:center;gap:16px}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:32px}.role-badge{display:inline-block;background:#dbeafe;color:#1e40af;font-size:12px;padding:2px 8px;border-radius:100px;font-weight:600}.text-muted{color:var(--text-muted)}.skeleton{background:linear-gradient(90deg,#f0f4f8 25%,#e2e8f0,#f0f4f8 75%);background-size:200% 100%;animation:shimmer 1.4s infinite;height:200px;border-radius:var(--radius)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.update-form{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;margin-top:24px}@media (max-width: 600px){.main-content{padding:20px 16px}.navbar{padding:0 16px}.navbar-links{gap:8px}.feed-header{flex-direction:column;align-items:flex-start;gap:12px}.auth-card{padding:28px 20px}}
