body{margin:0;font-family:Inter,Segoe UI,sans-serif;background:#111827;color:#f9fafb}*{box-sizing:border-box}img,video{max-width:100%;display:block}button,input,textarea,select{font:inherit}button{border:1px solid transparent;border-radius:8px;padding:.55rem .9rem;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}button:disabled{cursor:not-allowed;opacity:.55}#root{min-height:100vh}.app-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{background:#0f172a;border-right:1px solid rgba(148,163,184,.2);padding:24px 16px}.brand-block{display:flex;align-items:center;gap:12px;margin-bottom:32px}.brand-mark{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#111827;display:grid;place-items:center;font-weight:800}.brand-block h1{margin:0;font-size:1rem}.account-menu{margin-left:auto}.auth-shell{min-height:100vh;display:grid;justify-items:center;align-content:start;padding:24px;background:#111827}.auth-card{width:min(100%,460px);padding:32px;border:1px solid rgba(148,163,184,.2);border-radius:20px;background:#0f172a;box-shadow:0 16px 40px #00000040}.auth-card>.brand-mark{margin-bottom:24px}.auth-card h1{margin-bottom:12px}.auth-copy{color:#cbd5e1;line-height:1.6}.auth-provider,.auth-provider-card{width:100%;box-shadow:none;background:transparent;padding:0}.auth-provider-title,.auth-provider-subtitle{display:none}.auth-social-button{min-height:44px;border:1px solid rgba(148,163,184,.3);color:#f8fafc;background:#1e293b}.auth-social-button:hover{background:#334155}.auth-social-button-text,.auth-field-label,.auth-footer-text{color:#e2e8f0}.auth-divider-line{background:#94a3b833}.auth-divider-text{color:#94a3b8}.auth-field-input{min-height:44px;border-color:#94a3b84d}.auth-submit-button{min-height:44px;background:#f59e0b;color:#111827}.auth-submit-button:hover{background:#fbbf24}.auth-footer{border-top-color:#94a3b826;background:transparent!important}.auth-footer-link{color:#fbbf24}.auth-footer>*{color:#94a3b8}.auth-footer p{color:#94a3b8}.nav-list{display:grid;gap:8px}.nav-link{display:block;padding:10px 12px;border-radius:10px;color:#cbd5e1;text-decoration:none;font-weight:600}.nav-link.active,.nav-link:hover{background:#fbbf241f;color:#fef3c7}.content{background:#111827;padding:32px}.page-shell{max-width:1200px;margin:0 auto}.page-header{margin-bottom:24px}.eyebrow{margin:0 0 8px;text-transform:uppercase;letter-spacing:.12em;color:#fbbf24;font-size:.7rem;font-weight:700}h2,h3,p{margin-top:0}h2{margin-bottom:0;font-size:clamp(2rem,2vw,2.5rem)}.stats-grid,.two-column,.notes-grid,.event-grid,.member-grid,.documents-grid,.media-grid{display:grid;gap:16px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}.grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{background:#0f172ae6;border:1px solid rgba(148,163,184,.15);border-radius:16px;padding:20px;box-shadow:0 10px 24px #0000002e}.stat-card{padding:18px 20px;border-radius:16px;border:1px solid rgba(148,163,184,.15);display:flex;flex-direction:column;gap:8px;background:#0f172a}.stat-card.amber{border-color:#fbbf2459}.stat-card.green{border-color:#22c55e59}.stat-card.blue{border-color:#3b82f659}.stat-card.red{border-color:#ef444459}.stat-card span{color:#cbd5e1;font-size:.82rem}.stat-card strong{font-size:2rem}.stack-list{list-style:none;margin:0;padding:0;display:grid;gap:16px}.stack-list li{display:grid;gap:4px;padding-bottom:12px;border-bottom:1px solid rgba(148,163,184,.1)}.stack-list li:last-child{padding-bottom:0;border-bottom:0}.member-strip{display:flex;flex-wrap:wrap;gap:12px}.member-pill{display:flex;align-items:center;gap:10px;background:#1e293bcc;padding:10px 12px;border-radius:14px;border:1px solid rgba(148,163,184,.15)}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-weight:700}.avatar.large{width:56px;height:56px;font-size:1.1rem}.media-grid,.event-grid,.member-grid,.documents-grid,.notes-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.media-card img,.media-card video{height:200px;object-fit:cover;border-radius:12px;margin-bottom:12px}.type-pill,.status-pill,.tag,.score-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:.3rem .7rem;font-size:.72rem;font-weight:700;text-transform:capitalize}.type-pill.meeting,.status-pill.available,.tag{background:#22c55e26;color:#bbf7d0}.type-pill.outing,.status-pill.low,.tag.alt{background:#3b82f626;color:#bfdbfe}.type-pill.tasting,.status-pill.empty{background:#ef44441f;color:#fecaca}.type-pill.social{background:#a855f71f;color:#e9d5ff}.score-badge{background:#fbbf242e;color:#fef3c7;font-size:.8rem}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;color:#e2e8f0}th,td{padding:14px 10px;text-align:left;border-bottom:1px solid rgba(148,163,184,.12);vertical-align:top}th{color:#f8fafc}td small{display:block;margin-top:6px;color:#cbd5e1}.member-header,.note-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.member-role{display:flex;align-items:center;gap:8px;margin-top:8px}.icon-button{display:inline-grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid rgba(148,163,184,.3);border-radius:8px;background:transparent;color:#cbd5e1}.icon-button:hover:not(:disabled){background:#fbbf241f;color:#fef3c7}.icon-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.tag-cloud{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.document-card,.note-card,.member-card,.event-card{display:grid;gap:12px}.member-actions,.role-editor{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.role-editor select{min-width:120px}.button-primary{background:linear-gradient(135deg,#fbbf24,#f59e0b);border-color:#fbbf24;color:#111827;font-weight:700;box-shadow:0 4px 12px #f59e0b33}.button-primary:hover:not(:disabled){background:linear-gradient(135deg,#fcd34d,#fbbf24);border-color:#fcd34d;box-shadow:0 6px 16px #f59e0b52}.button-primary:focus-visible{outline:2px solid #fef3c7;outline-offset:2px}.button-secondary{background:#334155;border:1px solid #64748b;color:#f8fafc}.button-secondary:hover:not(:disabled){background:#475569;border-color:#94a3b8}.button-secondary:focus-visible{outline:2px solid #fbbf24;outline-offset:2px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;place-items:center;padding:20px;background:#020617b8}.role-modal{width:min(100%,440px);padding:24px;border:1px solid rgba(148,163,184,.25);border-radius:16px;background:#0f172a;box-shadow:0 20px 50px #0006}.modal-header,.modal-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-header h3{margin-bottom:0}.modal-copy{margin:20px 0;color:#cbd5e1}.role-field{display:grid;gap:8px;color:#e2e8f0;font-weight:600}.role-field select{width:100%}.modal-actions{justify-content:flex-end;margin-top:24px}.error-message{color:#fca5a5}@media (max-width: 900px){.app-shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid rgba(148,163,184,.2)}.content{padding:20px 16px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
