/* GRO Boardroom CSS - Matching GRO Community Brand */

:root {
	--gro-primary: #1a3a52;
	--gro-secondary: #2d5a7b;
	--gro-accent: #4a90a4;
	--gro-success: #27ae60;
	--gro-warning: #f39c12;
	--gro-danger: #e74c3c;
	--gro-light: #ecf0f1;
	--gro-dark: #2c3e50;
	--gro-text: #333333;
	--gro-border: #bdc3c7;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Open Sans', sans-serif;
	color: var(--gro-text);
	line-height: 1.6;
	background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Red Hat Display', sans-serif;
	color: var(--gro-primary);
	margin-bottom: 1rem;
}

h1 {
	font-size: 2.5rem;
	font-weight: 700;
}

h2 {
	font-size: 2rem;
	font-weight: 600;
}

h3 {
	font-size: 1.5rem;
	font-weight: 600;
}

/* Dashboard */
.gro-dashboard {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 2rem;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gro-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.gro-dashboard-section {
	padding: 1.5rem;
	background: var(--gro-light);
	border-left: 4px solid var(--gro-primary);
	border-radius: 4px;
}

.gro-dashboard-section h2 {
	margin-bottom: 1rem;
	font-size: 1.3rem;
}

.gro-dashboard-section ul {
	list-style: none;
}

.gro-dashboard-section li {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--gro-border);
}

.gro-dashboard-section li:last-child {
	border-bottom: none;
}

.gro-dashboard-section a {
	color: var(--gro-secondary);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.gro-dashboard-section a:hover {
	color: var(--gro-primary);
}

/* Document Library */
.gro-document-library {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 2rem;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gro-upload-form {
	background: var(--gro-light);
	padding: 2rem;
	border-radius: 8px;
	margin-bottom: 2rem;
	border: 2px dashed var(--gro-primary);
}

.gro-upload-form h2 {
	margin-bottom: 1.5rem;
}

.gro-upload-form form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.gro-upload-form input,
.gro-upload-form textarea,
.gro-upload-form select {
	padding: 0.75rem;
	border: 1px solid var(--gro-border);
	border-radius: 4px;
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
}

.gro-upload-form textarea {
	resize: vertical;
	min-height: 100px;
}

.gro-upload-form button {
	padding: 0.75rem 1.5rem;
	background-color: var(--gro-primary);
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.gro-upload-form button:hover {
	background-color: var(--gro-secondary);
}

.gro-document-category {
	margin-bottom: 2rem;
}

.gro-document-category h2 {
	padding-bottom: 0.5rem;
	border-bottom: 3px solid var(--gro-primary);
	margin-bottom: 1rem;
}

.gro-document-category ul {
	list-style: none;
}

.gro-document-category li {
	padding: 1rem;
	background: var(--gro-light);
	margin-bottom: 0.5rem;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.gro-document-category li:hover {
	background-color: #dfe6e9;
}

.gro-document-category a {
	color: var(--gro-primary);
	text-decoration: none;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.gro-document-category a:before {
	content: "📄";
}

.gro-document-category a:hover {
	text-decoration: underline;
}

/* Voting Center */
.gro-voting-center {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 2rem;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gro-vote-card {
	background: var(--gro-light);
	padding: 2rem;
	margin-bottom: 2rem;
	border-radius: 8px;
	border-left: 5px solid var(--gro-primary);
	transition: box-shadow 0.3s ease;
}

.gro-vote-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gro-vote-card h2 {
	margin-bottom: 1rem;
}

.gro-vote-description {
	margin-bottom: 1.5rem;
	color: var(--gro-text);
	line-height: 1.8;
}

.gro-vote-options {
	background: white;
	padding: 1.5rem;
	border-radius: 4px;
	margin-bottom: 1.5rem;
}

.gro-vote-options label {
	display: block;
	padding: 0.75rem;
	margin-bottom: 0.5rem;
	cursor: pointer;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.gro-vote-options label:hover {
	background-color: var(--gro-light);
}

.gro-vote-options input[type="radio"] {
	margin-right: 0.5rem;
	cursor: pointer;
}

.gro-vote-submit {
	padding: 0.75rem 2rem;
	background-color: var(--gro-success);
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
	margin-bottom: 1.5rem;
}

.gro-vote-submit:hover {
	background-color: #229954;
}

.gro-vote-results {
	background: white;
	padding: 1.5rem;
	border-radius: 4px;
	border-top: 2px solid var(--gro-primary);
}

.gro-vote-results h3 {
	margin-bottom: 1rem;
}

.gro-vote-results p {
	padding: 0.5rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Communications */
.gro-communications {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 2rem;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gro-communication-item {
	padding: 1.5rem;
	background: var(--gro-light);
	margin-bottom: 1.5rem;
	border-radius: 8px;
	border-left: 4px solid var(--gro-accent);
}

.gro-communication-item h2 {
	margin-bottom: 0.5rem;
}

.gro-comm-meta {
	font-size: 0.9rem;
	color: #7f8c8d;
	margin-bottom: 1rem;
	font-style: italic;
}

.gro-comm-content {
	line-height: 1.8;
	color: var(--gro-text);
}

/* Login Page */
.gro-login-page {
	max-width: 500px;
	margin: 4rem auto;
	padding: 2rem;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	text-align: center;
}

.gro-login-page h1 {
	margin-bottom: 1rem;
}

.gro-login-page p {
	margin-bottom: 2rem;
	color: #7f8c8d;
}

#gro-google-login {
	margin-top: 2rem;
}

.gro-google-login-btn {
	display: inline-block;
	padding: 1rem 2rem;
	background-color: var(--gro-primary);
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	transition: background-color 0.3s ease;
	border: 2px solid var(--gro-primary);
}

.gro-google-login-btn:hover {
	background-color: var(--gro-secondary);
	border-color: var(--gro-secondary);
}

/* Responsive */
@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	.gro-dashboard,
	.gro-document-library,
	.gro-voting-center,
	.gro-communications,
	.gro-login-page {
		padding: 1rem;
		margin: 1rem;
	}

	.gro-dashboard-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.gro-upload-form {
		padding: 1rem;
	}

	.gro-vote-card {
		padding: 1rem;
	}
}

/* Utility Classes */
.text-center {
	text-align: center;
}

.mt-2 {
	margin-top: 1rem;
}

.mb-2 {
	margin-bottom: 1rem;
}

.p-2 {
	padding: 1rem;
}

/* =============================================
   Dashboard
   ============================================= */
.gro-dashboard__welcome {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #0a1628 0%, #132744 100%);
    border-radius: 12px;
    color: #fff;
    margin-bottom: 30px;
}
.gro-dashboard__avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
}
.gro-dashboard__info h2 {
    margin: 0 0 4px;
    font-size: 1.5rem;
    color: #fff;
}
.gro-dashboard__title {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
}
.gro-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 8px;
}
.gro-badge--pending {
    background: #fef3cd;
    color: #856404;
}
.gro-badge--pending-sm {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #fef3cd;
    color: #856404;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
}
.gro-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gro-dashboard__card {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}
.gro-dashboard__card:hover {
    border-color: #0a1628;
    box-shadow: 0 4px 12px rgba(10,22,40,0.1);
    transform: translateY(-2px);
}
.gro-dashboard__card h3 {
    margin: 12px 0 6px;
    font-size: 1.05rem;
    color: #0a1628;
}
.gro-dashboard__card p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}
.gro-dashboard__card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.gro-dashboard__card-icon--blue   { background: #2563eb; }
.gro-dashboard__card-icon--green  { background: #16a34a; }
.gro-dashboard__card-icon--purple { background: #7c3aed; }
.gro-dashboard__card-icon--teal   { background: #0d9488; }
.gro-dashboard__card-icon--amber  { background: #d97706; }
.gro-dashboard__card-icon--red    { background: #dc2626; }

/* =============================================
   Profile Editor
   ============================================= */
.gro-profile-editor {
    max-width: 720px;
    margin: 0 auto;
}
.gro-form__section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}
.gro-form__section h3 {
    margin: 0 0 16px;
    font-size: 1.1rem;
    color: #0a1628;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}
.gro-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.gro-form__group {
    margin-bottom: 16px;
}
.gro-form__group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.gro-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.gro-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.gro-input--pending {
    border-color: #d97706;
    background: #fffbeb;
}
textarea.gro-input {
    resize: vertical;
    min-height: 100px;
}
.gro-form__pending-note {
    display: block;
    font-size: 0.75rem;
    color: #d97706;
    margin-top: 4px;
    font-weight: 600;
}
.gro-form__help {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 6px 0 0;
}
.gro-form__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 10px;
}
.gro-form__status {
    font-size: 0.9rem;
    font-weight: 500;
}
.gro-form__status--success { color: #16a34a; }
.gro-form__status--error   { color: #dc2626; }

/* Profile photo */
.gro-profile-photo-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}
.gro-profile-photo-preview {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}
.gro-profile-photo-preview img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}

/* Buttons */
.gro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    font-family: inherit;
}
.gro-btn--primary {
    background: #0a1628;
    color: #fff;
}
.gro-btn--primary:hover {
    background: #132744;
}
.gro-btn--outline {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #334155;
    cursor: pointer;
}
.gro-btn--outline:hover {
    border-color: #0a1628;
    color: #0a1628;
}

/* Notices */
.gro-notice {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.gro-notice--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}
.gro-notice--warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

/* Responsive */
@media (max-width: 768px) {
    .gro-dashboard__welcome {
        flex-direction: column;
        text-align: center;
    }
    .gro-dashboard__grid {
        grid-template-columns: 1fr;
    }
    .gro-form__row {
        grid-template-columns: 1fr;
    }
    .gro-profile-photo-wrap {
        flex-direction: column;
        text-align: center;
    }
}

/* Fix: Choose Photo button contrast */
.gro-profile-photo-actions .gro-btn--outline,
label.gro-btn.gro-btn--outline[for="gro-photo-upload"] {
    background: #e8eef2 !important;
    border: 2px solid #94a3b8 !important;
    color: #1a3a52 !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}
.gro-profile-photo-actions .gro-btn--outline:hover,
label.gro-btn.gro-btn--outline[for="gro-photo-upload"]:hover {
    background: #d0dae0 !important;
    border-color: #1a3a52 !important;
    color: #1a3a52 !important;
}

/* Select dropdown styling */
select.gro-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}
select.gro-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* =============================================
   Invitation / Accept Page
   ============================================= */
.gro-invite-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a52 50%, #2d5a7b 100%);
    padding: 40px 20px;
}
.gro-invite-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
}
.gro-invite-card__header {
    background: linear-gradient(135deg, #0a1628, #1a3a52);
    padding: 32px 36px;
    text-align: center;
}
.gro-invite-card__header h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.5rem;
}
.gro-invite-card__header p {
    margin: 0;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}
.gro-invite-form {
    padding: 32px 36px;
}
.gro-invite-form .gro-field {
    margin-bottom: 18px;
}
.gro-invite-form .gro-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.gro-invite-form .gro-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.gro-invite-form .gro-field input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.gro-invite-form .gro-field input:disabled {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}
.gro-invite-card .gro-notice {
    margin: 0 36px 0;
    padding: 12px 16px;
}
.gro-invite-card .gro-notice--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 8px;
}
.gro-invite-card h2 {
    text-align: center;
}
.gro-invite-card > p,
.gro-invite-card > div > p {
    text-align: center;
    padding: 0 36px;
    color: #4a5568;
}
.gro-invite-card a {
    color: var(--gro-secondary);
    font-weight: 600;
}

/* Welcome Banner (profile page) */
.gro-welcome-banner {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a52 100%);
    color: #fff;
    padding: 28px 32px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: center;
}
.gro-welcome-banner h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.4rem;
}
.gro-welcome-banner p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}
.gro-welcome-banner .gro-welcome-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

@media (max-width: 768px) {
    .gro-invite-page {
        padding: 20px 12px;
    }
    .gro-invite-card__header,
    .gro-invite-form {
        padding: 24px 20px;
    }
    .gro-invite-card .gro-notice {
        margin: 0 20px;
    }
}

/* =============================================
   Document Library Redesign
   ============================================= */

.gro-library__topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:28px 0 24px;flex-wrap:wrap;}
.gro-library__search-wrap{position:relative;flex:1;min-width:260px;max-width:480px;}
.gro-library__search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#94a3b8;pointer-events:none;}
.gro-library__search-input{width:100%;padding:11px 16px 11px 44px;border:1.5px solid #e2e8f0;border-radius:10px;font-size:.92rem;background:#fff;color:#1e293b;outline:none;transition:border-color .2s,box-shadow .2s;box-sizing:border-box;}
.gro-library__search-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1);}
.gro-search-dropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,.12);z-index:500;max-height:360px;overflow-y:auto;}
.gro-search-dropdown__item{display:flex;align-items:center;gap:12px;padding:12px 16px;cursor:pointer;border-bottom:1px solid #f1f5f9;transition:background .15s;}
.gro-search-dropdown__item:last-child{border-bottom:none;}
.gro-search-dropdown__item:hover{background:#f8fafc;}
.gro-search-dropdown__ext{width:36px;height:36px;border-radius:8px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;font-size:.68rem;font-weight:700;color:#475569;flex-shrink:0;letter-spacing:.03em;}
.gro-search-dropdown__info{flex:1;min-width:0;}
.gro-search-dropdown__name{font-weight:600;font-size:.88rem;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.gro-search-dropdown__meta{font-size:.78rem;color:#94a3b8;margin-top:2px;}
.gro-search-dropdown__empty,.gro-search-dropdown__loading{padding:20px 16px;text-align:center;color:#94a3b8;font-size:.88rem;}
.gro-library__cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-bottom:40px;}
.gro-section-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:16px;transition:border-color .2s,box-shadow .2s;}
.gro-section-card:hover{border-color:#cbd5e1;box-shadow:0 4px 20px rgba(0,0,0,.06);}
.gro-section-card__icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.gro-section-card__body{flex:1;}
.gro-section-card__body h3{margin:0 0 6px;font-size:1.05rem;color:#0a1628;font-weight:700;}
.gro-section-card__body p{margin:0 0 10px;font-size:.85rem;color:#64748b;line-height:1.5;}
.gro-section-card__count{display:inline-block;font-size:.78rem;font-weight:600;color:#475569;background:#f1f5f9;padding:3px 10px;border-radius:20px;}
.gro-open-section{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;font-size:.88rem;}

.gro-modal__panel{position:relative;background:#fff;border-radius:16px;width:100%;max-width:860px;max-height:88vh;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.2);overflow:hidden;}
.gro-modal__panel--preview{max-width:900px;}
.gro-modal__panel-header{display:flex;align-items:center;gap:16px;padding:20px 28px;border-bottom:1px solid #e2e8f0;flex-shrink:0;flex-wrap:wrap;}
.gro-modal__panel-title{display:flex;align-items:center;gap:12px;flex:1;min-width:0;}
.gro-modal__panel-title h2{margin:0;font-size:1.15rem;color:#0a1628;white-space:nowrap;}
.gro-modal__panel-filters{display:flex;gap:10px;flex-wrap:wrap;}
.gro-input--sm{padding:7px 12px;font-size:.82rem;min-width:130px;}
.gro-modal__panel-body{flex:1;overflow-y:auto;padding:0;}
.gro-modal__loading{padding:48px;text-align:center;color:#94a3b8;font-size:.92rem;}
.gro-doc-list{width:100%;}
.gro-doc-list__head{display:flex;padding:10px 24px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.75rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;position:sticky;top:0;z-index:2;}
.gro-doc-list__row{display:flex;align-items:center;padding:14px 24px;border-bottom:1px solid #f1f5f9;cursor:pointer;transition:background .15s;gap:4px;}
.gro-doc-list__row:last-child{border-bottom:none;}
.gro-doc-list__row:hover{background:#f8fafc;}
.gro-doc-list__col{display:flex;align-items:center;}
.gro-doc-list__col--name{flex:2.5;gap:12px;min-width:0;}
.gro-doc-list__col--type{flex:1;}
.gro-doc-list__col--date{flex:1;font-size:.83rem;color:#64748b;}
.gro-doc-list__col--size{flex:.6;font-size:.8rem;color:#94a3b8;}
.gro-doc-list__col--actions{flex:.4;justify-content:flex-end;gap:6px;}
.gro-doc-list__icon{width:36px;height:36px;border-radius:8px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:.65rem;font-weight:700;letter-spacing:.03em;}
.gro-doc-list__info{min-width:0;}
.gro-doc-list__name{font-weight:600;font-size:.9rem;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px;}
.gro-doc-list__sub{font-size:.75rem;color:#94a3b8;margin-top:1px;}
.gro-doc-badge{display:inline-block;padding:3px 10px;border-radius:20px;font-size:.75rem;font-weight:600;background:#f1f5f9;color:#475569;}
.gro-doc-action{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:6px;border:none;background:transparent;color:#64748b;cursor:pointer;transition:all .15s;text-decoration:none;flex-shrink:0;}
.gro-doc-action:hover{background:#f1f5f9;color:#1e293b;}
.gro-doc-list__empty{padding:48px 24px;text-align:center;color:#94a3b8;font-size:.9rem;}
.gro-modal__preview-body{flex:1;overflow:auto;background:#f8fafc;display:flex;align-items:center;justify-content:center;min-height:400px;padding:24px;}
.gro-preview-iframe{width:100%;height:70vh;border:none;border-radius:8px;background:#fff;}
.gro-preview-image{max-width:100%;max-height:70vh;border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,.1);}
.gro-preview-unsupported{text-align:center;padding:40px;}
.gro-preview-unsupported p{color:#64748b;margin:0 0 20px;}
.gro-modal__content{position:relative;background:#fff;border-radius:16px;width:100%;max-width:520px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.2);padding:24px;}
.gro-modal__header{display:flex;align-items:center;justify-content:space-between;padding:20px 28px;border-bottom:1px solid #e2e8f0;}
.gro-modal__header h2{margin:0;font-size:1.2rem;color:#0a1628;}
.gro-modal__close{background:none;border:none;font-size:1.6rem;color:#94a3b8;cursor:pointer;line-height:1;padding:0;}
.gro-modal__close:hover{color:#1e293b;}
.gro-modal__form{padding:24px 28px;}
.gro-modal__form .gro-field{margin-bottom:18px;}
.gro-modal__form .gro-field label{display:block;font-size:.85rem;font-weight:600;color:#334155;margin-bottom:6px;}
.gro-modal__form .required{color:#dc2626;}
.gro-modal__actions{display:flex;justify-content:flex-end;gap:12px;padding-top:8px;border-top:1px solid #f1f5f9;margin-top:8px;}
.gro-file-drop{border:2px dashed #d1d5db;border-radius:10px;padding:28px 20px;text-align:center;cursor:pointer;transition:all .2s;}
.gro-file-drop:hover,.gro-file-drop.dragover{border-color:#2563eb;background:#eff6ff;}
.gro-file-drop p{margin:8px 0 0;color:#64748b;font-size:.9rem;}
.gro-file-browse{color:#2563eb;font-weight:600;cursor:pointer;}
.gro-file-selected{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#f1f5f9;border-radius:8px;font-size:.88rem;color:#334155;margin-top:8px;}
@media(max-width:768px){
  .gro-library__topbar{flex-direction:column;align-items:stretch;}
  .gro-library__search-wrap{max-width:100%;}
  .gro-library__cards{grid-template-columns:1fr;}
  .gro-modal__panel{margin:12px;max-height:calc(100vh - 24px);}
  .gro-modal__panel-header{flex-direction:column;align-items:flex-start;}
  .gro-doc-list__head{display:none;}
  .gro-doc-list__row{flex-wrap:wrap;gap:8px;}
  .gro-doc-list__col--name{flex:1 1 100%;}
  .gro-doc-list__col--type,.gro-doc-list__col--date,.gro-doc-list__col--size{flex:none;font-size:.8rem;}
  .gro-doc-list__col--actions{flex:none;margin-left:auto;}
}


/* ---- Document action button variants ---- */
.gro-btn--ghost {
    background: transparent;
    color: #1e3a5f;
    border: 1px solid #cbd5e1;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s, border-color 0.15s;
}
.gro-btn--ghost:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e3a5f;
    text-decoration: none;
}
.gro-btn--sm {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 6px;
    line-height: 1.4;
}
.gro-btn--danger {
    background: transparent;
    color: #dc2626;
    border: 1px solid #fca5a5;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s, border-color 0.15s;
}
.gro-btn--danger:hover {
    background: #fef2f2;
    border-color: #ef4444;
    color: #b91c1c;
}
.gro-doc-actions {
    white-space: nowrap;
}
.gro-doc-actions a,
.gro-doc-actions button {
    vertical-align: middle;
}

/* ---- Icon-only action buttons ---- */
.gro-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    padding: 0;
    vertical-align: middle;
}
.gro-icon-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e3a5f;
    text-decoration: none;
}
.gro-icon-btn--danger {
    color: #dc2626;
    border-color: #fecaca;
}
.gro-icon-btn--danger:hover {
    background: #fef2f2;
    border-color: #ef4444;
    color: #b91c1c;
}
.gro-doc-actions {
    white-space: nowrap;
    text-align: left;
    padding-right: 8px;
}
.gro-doc-actions a,
.gro-doc-actions button {
    vertical-align: middle;
    margin-right: 3px;
}
.gro-doc-actions a:last-child,
.gro-doc-actions button:last-child {
    margin-right: 0;
}

/* ---- Document table column widths ---- */
.gro-doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.gro-doc-table th,
.gro-doc-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.gro-doc-table th {
    font-weight: 600;
    color: #64748b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8fafc;
}
.gro-doc-table td:nth-child(1) { min-width: 180px; }  /* Document name */
.gro-doc-table td:nth-child(2) { min-width: 90px; }   /* Type badge */
.gro-doc-table td:nth-child(3) { min-width: 100px; white-space: nowrap; } /* Date */
.gro-doc-table td:nth-child(4) { min-width: 60px; white-space: nowrap; }  /* Size */
.gro-doc-table td:nth-child(5) { min-width: 120px; }  /* Actions */

/* ---- Document name + extension badge ---- */
.gro-doc-name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.gro-doc-name span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1e3a5f;
    font-weight: 500;
    font-size: 13px;
}
.gro-doc-ext {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-shrink: 0;
    background: #e2e8f0;
    color: #475569;
    line-height: 1.4;
}
.gro-doc-ext--pdf  { background: #fee2e2; color: #dc2626; }
.gro-doc-ext--doc,
.gro-doc-ext--docx { background: #dbeafe; color: #1d4ed8; }
.gro-doc-ext--xls,
.gro-doc-ext--xlsx { background: #dcfce7; color: #16a34a; }
.gro-doc-ext--ppt,
.gro-doc-ext--pptx { background: #ffedd5; color: #ea580c; }
.gro-doc-ext--file { background: #f1f5f9; color: #64748b; }

/* =====================================================
   BOARD ROOM
   ===================================================== */
.gro-br { max-width:1100px; margin:0 auto; padding:24px 16px; }

/* Tabs */
.gro-br__tabs { display:flex; gap:4px; border-bottom:2px solid #e2e8f0; margin-bottom:24px; flex-wrap:wrap; }
.gro-br__tab { background:none; border:none; padding:10px 18px; font-size:.9rem; font-weight:500; color:#64748b; cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-2px; border-radius:4px 4px 0 0; transition:all .2s; }
.gro-br__tab:hover { color:#1e3a5f; background:#f1f5f9; }
.gro-br__tab--active { color:#1e3a5f; border-bottom-color:#1e3a5f; background:#fff; }
.gro-br__tab--exec { margin-left:auto; background:linear-gradient(135deg,#1A237E,#00796B); color:#fff !important; border-radius:6px; border-bottom-color:transparent !important; font-weight:600; }
.gro-br__tab--exec:hover { background:linear-gradient(135deg,#0d1b6e,#005a4f); color:#fff !important; }

/* Panel */
.gro-br__panel { display:none; }
.gro-br__panel--active { display:block; }
.gro-br__panel-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.gro-br__panel-header h2 { font-size:1.2rem; font-weight:600; color:#1e3a5f; margin:0; }

/* Calendar header */
.gro-br__cal-header { display:flex; align-items:center; gap:10px; margin-bottom:16px; flex-wrap:wrap; }
.gro-br__cal-title { font-size:1.2rem; font-weight:600; color:#1e3a5f; margin:0; flex:1; }

/* Calendar grid */
.gro-br__cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:2px; margin-bottom:2px; }
.gro-br__cal-day-label { text-align:center; font-size:.75rem; font-weight:600; color:#94a3b8; padding:6px 0; text-transform:uppercase; }
.gro-br__cal-days { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.gro-br__cal-cell { min-height:80px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:6px; padding:6px; position:relative; }
.gro-br__cal-cell--empty { background:transparent; border-color:transparent; }
.gro-br__cal-cell--today { background:#eff6ff; border-color:#3b82f6; }
.gro-br__cal-num { font-size:.8rem; font-weight:600; color:#475569; display:block; margin-bottom:4px; }
.gro-br__cal-cell--today .gro-br__cal-num { color:#2563eb; }

/* Calendar events */
.gro-br__cal-event { font-size:.7rem; padding:2px 5px; border-radius:3px; margin-bottom:2px; cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:#fff; font-weight:500; }
.gro-br__cal-event--regular   { background:#1e3a5f; }
.gro-br__cal-event--special    { background:#7c3aed; }
.gro-br__cal-event--emergency  { background:#dc2626; }
.gro-br__cal-event--committee  { background:#0891b2; }
.gro-br__cal-event--annual     { background:#059669; }
.gro-br__cal-event:hover { opacity:.85; }

/* Upcoming */
.gro-br__upcoming-card { display:flex; align-items:center; gap:14px; padding:14px 16px; background:#fff; border:1px solid #e2e8f0; border-radius:8px; margin-bottom:10px; }
.gro-br__upcoming-type { font-size:.7rem; font-weight:600; padding:3px 8px; border-radius:4px; color:#fff; text-transform:capitalize; white-space:nowrap; }
.gro-br__upcoming-info { flex:1; display:flex; flex-direction:column; gap:3px; }
.gro-br__upcoming-info strong { font-size:.95rem; color:#1e3a5f; }
.gro-br__upcoming-info span { font-size:.8rem; color:#64748b; }

/* Voting */
.gro-br__vote-filters { display:flex; gap:8px; margin-bottom:16px; }
.gro-br__vote-filter { background:#f1f5f9; border:1px solid #e2e8f0; padding:5px 14px; border-radius:20px; font-size:.82rem; cursor:pointer; color:#475569; }
.gro-br__vote-filter--active { background:#1e3a5f; color:#fff; border-color:#1e3a5f; }
.gro-br__vote-card { background:#fff; border:1px solid #e2e8f0; border-radius:10px; padding:18px; margin-bottom:14px; }
.gro-br__vote-card--open { border-left:4px solid #22c55e; }
.gro-br__vote-card--closed { border-left:4px solid #94a3b8; opacity:.85; }
.gro-br__vote-head { display:flex; align-items:center; gap:10px; margin-bottom:8px; flex-wrap:wrap; }
.gro-br__vote-head strong { font-size:1rem; color:#1e3a5f; flex:1; }
.gro-br__vote-deadline { font-size:.78rem; color:#f59e0b; }
.gro-br__vote-desc { font-size:.85rem; color:#64748b; margin:0 0 12px; }
.gro-br__vote-options { display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.gro-br__vote-opt { background:#f1f5f9; border:1px solid #cbd5e1; padding:8px 16px; border-radius:6px; cursor:pointer; font-size:.9rem; text-align:left; transition:all .2s; }
.gro-br__vote-opt:hover { background:#1e3a5f; color:#fff; border-color:#1e3a5f; }
.gro-br__vote-result { display:flex; align-items:center; gap:10px; font-size:.85rem; }
.gro-br__vote-result--mine { font-weight:600; color:#1e3a5f; }
.gro-br__vote-bar { flex:1; height:8px; background:#e2e8f0; border-radius:4px; overflow:hidden; }
.gro-br__vote-bar div { height:100%; background:#1e3a5f; border-radius:4px; transition:width .4s; }
.gro-br__vote-footer { display:flex; align-items:center; gap:12px; font-size:.78rem; color:#94a3b8; flex-wrap:wrap; margin-top:10px; padding-top:10px; border-top:1px solid #f1f5f9; }
.gro-br__vote-records { margin-top:10px; font-size:.82rem; }
.gro-br__vote-records ul { margin:6px 0 0 16px; padding:0; }

/* Quick Links */
.gro-br__quicklinks { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:14px; }
.gro-br__ql-card { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:24px 16px; background:#fff; border:1px solid #e2e8f0; border-radius:10px; text-decoration:none; color:#1e3a5f; font-size:.9rem; font-weight:500; transition:all .2s; text-align:center; }
.gro-br__ql-card:hover { background:#1e3a5f; color:#fff; border-color:#1e3a5f; transform:translateY(-2px); box-shadow:0 4px 12px rgba(30,58,95,.15); }

/* Meeting detail modal body */
.gro-br__meeting-detail { display:flex; flex-direction:column; gap:16px; }
.gro-br__meeting-meta { display:flex; flex-wrap:wrap; gap:10px; align-items:center; font-size:.85rem; color:#475569; }
.gro-br__meeting-desc { font-size:.9rem; color:#475569; margin:0; }
.gro-br__zoom-box { background:#eff6ff; border:1px solid #bfdbfe; border-radius:8px; padding:14px 16px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.gro-br__zoom-pass { font-size:.82rem; color:#475569; }
.gro-br__meeting-section { border-top:1px solid #f1f5f9; padding-top:14px; }
.gro-br__meeting-section h4 { font-size:.9rem; font-weight:600; color:#1e3a5f; margin:0 0 10px; }
.gro-br__doc-row { display:flex; align-items:center; gap:10px; padding:6px 0; font-size:.85rem; border-bottom:1px solid #f8fafc; }
.gro-br__doc-row a { color:#2563eb; text-decoration:none; flex:1; }
.gro-br__doc-row a:hover { text-decoration:underline; }
.gro-br__rec-row { display:flex; align-items:center; gap:10px; padding:6px 0; font-size:.85rem; }
.gro-br__meeting-actions { border-top:1px solid #f1f5f9; padding-top:14px; display:flex; gap:8px; }
.gro-br__doc-pick { padding:8px 12px; border:1px solid #e2e8f0; border-radius:6px; cursor:pointer; font-size:.85rem; margin-bottom:6px; display:flex; align-items:center; gap:8px; }
.gro-br__doc-pick:hover { background:#f1f5f9; }

/* Zoom button */
.gro-btn--zoom { background:#2d8cff; color:#fff; border-color:#2d8cff; }
.gro-btn--zoom:hover { background:#1a7ae0; }

/* Badges */
.gro-badge--regular   { background:#e0e7ff; color:#3730a3; }
.gro-badge--special   { background:#ede9fe; color:#6d28d9; }
.gro-badge--emergency { background:#fee2e2; color:#991b1b; }
.gro-badge--committee { background:#e0f2fe; color:#0369a1; }
.gro-badge--annual          { background:#dcfce7; color:#166534; }
.gro-badge--open            { background:#dcfce7; color:#166534; }
.gro-badge--closed          { background:#f1f5f9; color:#475569; }
.gro-badge--non_board_related { background:#fef9c3; color:#854d0e; }
.gro-badge--board_related     { background:#e0e7ff; color:#3730a3; }
.gro-badge--training          { background:#f0fdf4; color:#166534; }
.gro-badge--other             { background:#f1f5f9; color:#475569; }

@media(max-width:640px){
    .gro-br__cal-cell { min-height:50px; }
    .gro-br__cal-event { display:none; }
    .gro-br__cal-cell--today::after { content:'●'; color:#2563eb; font-size:.6rem; }
    .gro-br__quicklinks { grid-template-columns:repeat(2,1fr); }
}


/* ---- MODAL Z-INDEX FIX ---- */
.gro-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.gro-modal[style*="flex"] {
    display: flex !important;
}
.gro-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}
.gro-modal__box {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 0;
}
.gro-modal__box--lg {
    max-width: 780px;
}
.gro-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 3;
    border-radius: 12px 12px 0 0;
}
.gro-modal__header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e3a5f;
}
.gro-modal__close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #94a3b8;
    line-height: 1;
    padding: 0 4px;
}
.gro-modal__close:hover { color: #1e3a5f; }
.gro-modal__body {
    padding: 20px 24px;
}
.gro-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

/* ============================================
   SCHEDULE MEETING MODAL — Polished UI
============================================ */
.br-sched__section {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}
.br-sched__section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.br-sched__row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.br-sched__row--datetime {
    display: flex;
    gap: 14px;
    align-items: flex-end;
}
.br-sched__field {
    flex: 1;
    min-width: 0;
}
.br-sched__field--grow { flex: 2; }

.br-sched__label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 5px;
    letter-spacing: .01em;
}
.br-sched__req { color: #dc2626; }

.br-sched__input {
    display: block;
    width: 100%;
    padding: 9px 12px;
    font-size: .88rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
    box-sizing: border-box;
}
.br-sched__input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.br-sched__input--sm {
    width: auto;
    min-width: 52px;
    max-width: 90px;
    padding: 7px 4px;
    text-align: center;
    font-size: 13px;
}
select.br-sched__input {
    cursor: pointer;
    appearance: auto;
}
.br-sched__textarea {
    resize: vertical;
    min-height: 72px;
}

/* Time row — inline selects */
.br-sched__time-row {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}
.br-sched__time-sep {
    font-weight: 700;
    color: #64748b;
    font-size: 1rem;
}

/* Toggle switch */
.br-sched__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: .88rem;
    color: #334155;
    user-select: none;
}
.br-sched__toggle input { display: none; }
.br-sched__toggle-track {
    position: relative;
    width: 38px;
    height: 22px;
    background: #cbd5e1;
    border-radius: 11px;
    transition: background .2s;
    flex-shrink: 0;
}
.br-sched__toggle-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.br-sched__toggle input:checked + .br-sched__toggle-track {
    background: #2563eb;
}
.br-sched__toggle input:checked + .br-sched__toggle-track::after {
    transform: translateX(16px);
}
.br-sched__toggle-label { font-weight: 500; }

/* Places autocomplete wrapper */
.br-sched__places-wrap {
    position: relative;
}
.br-sched__places-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
}
.br-sched__places-wrap .br-sched__input {
    padding-right: 36px;
}

/* Attendee tag picker — like email recipients */
.br-sched__attendee-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    min-height: 42px;
    cursor: text;
    transition: border-color .15s, box-shadow .15s;
}
.br-sched__attendee-box:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.br-sched__attendee-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.br-sched__tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e0e7ff;
    color: #1e40af;
    font-size: .8rem;
    font-weight: 500;
    padding: 3px 8px 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    line-height: 1.4;
}
.br-sched__tag-remove {
    background: none;
    border: none;
    color: #6366f1;
    font-size: 1rem;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    font-weight: 700;
}
.br-sched__tag-remove:hover { color: #dc2626; }

.br-sched__attendee-search {
    border: none;
    outline: none;
    font-size: .88rem;
    flex: 1;
    min-width: 120px;
    padding: 2px 4px;
    background: transparent;
    color: #1e293b;
}
.br-sched__attendee-search::placeholder { color: #94a3b8; }

/* Dropdown */
.br-sched__attendee-dropdown {
    position: relative;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-top: 4px;
    max-height: 180px;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    z-index: 10;
}
.br-sched__attendee-opt {
    padding: 9px 14px;
    font-size: .86rem;
    color: #1e293b;
    cursor: pointer;
    transition: background .1s;
}
.br-sched__attendee-opt:hover {
    background: #e0e7ff;
}

.br-sched__attendee-all {
    margin-top: 8px;
}

/* Google Maps autocomplete dropdown override */
.pac-container {
    z-index: 100001 !important;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    border: 1px solid #e2e8f0;
    font-family: inherit;
}
.pac-item {
    padding: 8px 14px;
    font-size: .86rem;
    cursor: pointer;
}
.pac-item:hover {
    background: #e0e7ff;
}

/* Responsive */
@media (max-width: 640px) {
    .br-sched__row,
    .br-sched__row--datetime {
        flex-direction: column;
        gap: 10px;
    }
    .br-sched__time-row {
        flex-wrap: wrap;
    }
    .gro-modal__box--lg {
        max-width: 98%;
    }
}

/* ── RSVP Section ─────────────────────────────────────────── */
.gro-br__rsvp-section { margin-top: 20px; }
.gro-br__rsvp-section h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #1a3a52; }

.gro-br__rsvp-counts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.gro-rsvp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.gro-rsvp-badge--accepted { background: #dcfce7; color: #16a34a; }
.gro-rsvp-badge--declined { background: #fee2e2; color: #dc2626; }
.gro-rsvp-badge--pending  { background: #fef9c3; color: #92400e; }

.gro-rsvp-group-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin: 10px 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gro-rsvp-list {
    margin: 0 0 8px;
    padding-left: 18px;
    font-size: 13px;
    color: #1e293b;
}
.gro-rsvp-list li { margin-bottom: 3px; }
.gro-rsvp-list li em { color: #64748b; font-style: italic; }
.gro-rsvp-list--pending li { color: #92400e; }

/* ---- AGENDA BROWSE MODAL ---- */
.gro-agenda-row{display:flex;align-items:center;gap:12px;padding:10px 20px;cursor:pointer;border-bottom:1px solid #f1f5f9;}
.gro-agenda-row:hover{background:#f0f9ff;}
.gro-agenda-row__icon{font-size:20px;flex-shrink:0;}
.gro-agenda-row__info{flex:1;min-width:0;}
.gro-agenda-row__title{margin:0;font-size:13px;font-weight:500;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.gro-agenda-row__cat{margin:2px 0 0;font-size:11px;color:#94a3b8;}
.gro-agenda-row__select{font-size:12px;font-weight:600;color:#0ea5e9;flex-shrink:0;}
.gro-agenda-sel{display:inline-flex;align-items:center;gap:8px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:6px;padding:6px 10px;font-size:13px;color:#0369a1;margin-top:4px;}
.gro-agenda-sel__clear{background:none;border:none;font-size:16px;cursor:pointer;color:#64748b;line-height:1;padding:0;}

/* ── Previous Meetings Tab ─────────────────────────────────────── */
.gro-prev__item { background:#fff; border:1px solid #e2e8f0; border-radius:10px; padding:16px 20px; margin-bottom:12px; display:flex; align-items:flex-start; gap:16px; flex-wrap:wrap; }
.gro-prev__date { min-width:80px; text-align:center; background:#f1f5f9; border-radius:8px; padding:8px 10px; }
.gro-prev__date-day { font-size:22px; font-weight:700; color:#1e3a5f; line-height:1; }
.gro-prev__date-mon { font-size:11px; color:#64748b; text-transform:uppercase; letter-spacing:.05em; }
.gro-prev__info { flex:1; min-width:180px; }
.gro-prev__title { font-size:15px; font-weight:600; color:#1e293b; margin:0 0 4px; }
.gro-prev__meta { font-size:12px; color:#64748b; margin:0 0 10px; }
.gro-prev__actions { display:flex; gap:8px; flex-wrap:wrap; }
.gro-prev__badge { font-size:11px; padding:2px 8px; border-radius:12px; font-weight:600; }
.gro-prev__badge--minutes { background:#dcfce7; color:#166534; }
.gro-prev__badge--no-minutes { background:#fef9c3; color:#854d0e; }

/* ── Executive Office Tab ──────────────────────────────────────── */
.exec-tab { background:none; border:none; padding:9px 16px; font-size:13px; font-weight:500; color:#64748b; cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-2px; border-radius:4px 4px 0 0; transition:all .2s; }
.exec-tab:hover { color:#1e3a5f; background:#f1f5f9; }
.exec-tab--active { color:#1A237E; border-bottom-color:#1A237E; background:#fff; font-weight:600; }
.exec-panel { display:none; }
.exec-panel--active { display:block; }
.exec-main-tab { background:none; border:none; padding:10px 20px; font-size:14px; font-weight:500; color:#64748b; cursor:pointer; border-bottom:3px solid transparent; margin-bottom:-2px; border-radius:4px 4px 0 0; transition:all .2s; }
.exec-main-tab:hover { color:#1e3a5f; background:#f1f5f9; }
.exec-main-tab--active { color:#1A237E; border-bottom-color:#1A237E; background:#fff; font-weight:700; }
.exec-main-panel { display:none; }
.exec-main-panel--active { display:block; }

/* ── Agenda Item Builder ───────────────────────────────────────── */
.exec-agenda-item { background:#f8fafc; border:1px solid #e2e8f0; border-radius:8px; padding:12px 14px; display:grid; grid-template-columns:28px 1fr 1fr 80px 100px 32px; gap:8px; align-items:center; }
.exec-agenda-item input, .exec-agenda-item select { padding:6px 8px; border:1px solid #cbd5e1; border-radius:6px; font-size:13px; width:100%; box-sizing:border-box; }
.exec-agenda-item__drag { cursor:grab; color:#94a3b8; font-size:16px; text-align:center; }
.exec-agenda-item__del { background:none; border:none; color:#ef4444; cursor:pointer; font-size:18px; line-height:1; padding:0; }
@media(max-width:640px){ .exec-agenda-item { grid-template-columns:1fr 1fr; } .exec-agenda-item__drag,.exec-agenda-item__del { display:none; } }

/* ── Vote Management ───────────────────────────────────────────── */
.exec-vote-card { background:#fff; border:1px solid #e2e8f0; border-radius:10px; padding:16px; }
.exec-vote-card__title { font-size:14px; font-weight:600; color:#1e293b; margin:0 0 8px; }
.exec-vote-card__results { display:flex; flex-direction:column; gap:6px; margin:10px 0; }
.exec-vote-bar { display:flex; align-items:center; gap:8px; font-size:13px; }
.exec-vote-bar__label { min-width:80px; color:#475569; }
.exec-vote-bar__track { flex:1; background:#e2e8f0; border-radius:4px; height:8px; overflow:hidden; }
.exec-vote-bar__fill { height:100%; background:#1A237E; border-radius:4px; transition:width .4s; }
.exec-vote-bar__count { min-width:30px; text-align:right; color:#64748b; font-size:12px; }

/* ── Members List (exec) ───────────────────────────────────────── */
.exec-member-row { display:flex; align-items:center; gap:12px; padding:10px 14px; background:#fff; border:1px solid #e2e8f0; border-radius:8px; }
.exec-member-row__name { flex:1; font-size:13px; font-weight:500; color:#1e293b; }
.exec-member-row__role { font-size:11px; color:#64748b; background:#f1f5f9; padding:2px 8px; border-radius:10px; }

/* ── Recording modal ───────────────────────────────────────────── */
.gro-agenda-row--selected { background:#f0fdf4; }
.gro-agenda-row--selected .gro-agenda-row__select { color:#16a34a; }

/* Time selects in edit/schedule modals */
.br-sched__time-sel {
    width: auto;
    min-width: 52px;
    max-width: 100px;
    padding: 7px 4px;
    font-size: 13px;
    text-align: center;
}
