
/*
00-World Dashboard CSS

05-19-2026: World Dashboard CSS
*/

/**
 *  Known Universe Dashboard Visibility Tools CSS
 * 
 *  UPDATED: 05-21-2026 by DBlake
 * 
 *  Purpose:
 *  - Shared styling for Dashboard visibility tools only.
 *  - Formats the reusable [ku_world_asset_visibility] tables so they match
 *    the World Roles table rhythm.
 * 
 *  Used by:
 *  - Featured Content Visibility
 *  - News & Discussion Visibility
 *  - Calendar & Events Visibility
 *  - Important Links (visibility controled by World Roles)
 *  - Members & Invitations Visibility
 *  - World Media Visibility
 * 
 *  This file is intentionally narrower than the earlier dashboard foundation.
 *  Other dashboard features keep their own CSS files.
 */


/* ==========================================================
   Design Tokens
   ========================================================== */

:root {
	--ku-text: #122B46;
	--ku-primary: #122B46;
	--ku-muted: #6B7280;

	--ku-card-border: #E5E7EB;
	--ku-input-border: #CCD0D4;
	--ku-input-bg: #F7F7F7;

	--ku-scroll-thumb: #EDC993;
	--ku-scroll-thumb-hover: #D9B97F;
	--ku-scroll-track: #F3F3F3;

	--ku-radius-small: 7px;
}

/* ==========================================================
   Visibility Tool Wrapper
   ========================================================== */

.ku-world-asset-visibility {
	max-width: 100%;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ku-text);
}

.ku-world-asset-visibility *,
.ku-world-asset-visibility *::before,
.ku-world-asset-visibility *::after {
	box-sizing: border-box;
}

/* ==========================================================
   Section Headings
   ========================================================== */

.ku-world-asset-visibility h3 {
	margin: 4px 0 8px 0;
	font-family: Inter, Arial, sans-serif;
	font-size: 22px;
	line-height: 1.2;
	color: var(--ku-text);
}

.ku-world-asset-visibility h4 {
	margin: 0 0 10px 0;
	font-size: 17px;
	line-height: 1.25;
	color: var(--ku-text);
}

.ku-world-asset-visibility h5,
.ku-calendar-events-setup-card h5 {
	margin: 0 0 8px 0;
	font-size: 15px;
	line-height: 1.25;
	color: var(--ku-text);
}

/* ==========================================================
   Introductory Paragraph Text
   ========================================================== */

.ku-world-asset-visibility p {
	margin-top: 2px;
	margin-bottom: 15px;
	font-size: 15px;
	line-height: 1.4;
}

.ku-world-asset-visibility .description {
	font-size: 15px;
	line-height: 1.4;
	color: var(--ku-text);
}

/* ==========================================================
   Swipe Hint
   ========================================================== */

.ku-swipe-hint {
	font-size: 14px;
	color: var(--ku-muted);
	margin: 6px 0 8px;
}

@media (min-width: 769px) {
	.ku-swipe-hint {
		display: none !important;
	}
}

/* ==========================================================
   Responsive Table Wrapper / Scrollbar
   ========================================================== */

.ku-world-asset-visibility .ku-table-wrapper,
.ku-table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	scrollbar-width: auto;
	scrollbar-color: var(--ku-scroll-thumb) var(--ku-scroll-track);
}

.ku-world-asset-visibility .ku-table-wrapper::-webkit-scrollbar,
.ku-table-wrapper::-webkit-scrollbar {
	height: 14px;
}

.ku-world-asset-visibility .ku-table-wrapper::-webkit-scrollbar-track,
.ku-table-wrapper::-webkit-scrollbar-track {
	background: var(--ku-scroll-track);
	border-radius: 8px;
}

.ku-world-asset-visibility .ku-table-wrapper::-webkit-scrollbar-thumb,
.ku-table-wrapper::-webkit-scrollbar-thumb {
	background: var(--ku-scroll-thumb);
	border-radius: 8px;
	border: 2px solid var(--ku-scroll-track);
}

.ku-world-asset-visibility .ku-table-wrapper::-webkit-scrollbar-thumb:hover,
.ku-table-wrapper::-webkit-scrollbar-thumb:hover {
	background: var(--ku-scroll-thumb-hover);
}

/* ==========================================================
   Main Visibility Tables
   Modeled after World Roles.
   ========================================================== */

.ku-world-asset-visibility table.widefat,
.ku-world-asset-visibility table.ku-world-asset-visibility-table,
.ku-world-asset-visibility table.ku-dashboard-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

/* ==========================================================
   Table Header Rows
   ========================================================== */

.ku-world-asset-visibility table.widefat thead th,
.ku-world-asset-visibility table.ku-world-asset-visibility-table thead th,
.ku-world-asset-visibility table.ku-dashboard-table thead th {
	background: var(--ku-primary) !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	padding: 10px 12px !important;
	line-height: 1.4 !important;
	vertical-align: middle !important;
}

/* ==========================================================
   Standard Table Cells
   ========================================================== */

.ku-world-asset-visibility table.widefat tbody td,
.ku-world-asset-visibility table.ku-world-asset-visibility-table tbody td,
.ku-world-asset-visibility table.ku-dashboard-table tbody td {
	padding: 10px 12px !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	vertical-align: top !important;
}

/* ==========================================================
   Bold Cell Text
   ========================================================== */

.ku-world-asset-visibility table.widefat tbody td strong,
.ku-world-asset-visibility table.ku-world-asset-visibility-table tbody td strong,
.ku-world-asset-visibility table.ku-dashboard-table tbody td strong {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 0;
	line-height: 1.1;
	color: var(--ku-text);
}

/* ==========================================================
   Role / Notes Column
   ========================================================== */

.ku-world-asset-visibility .ku-roles-cell,
.ku-world-asset-visibility table.widefat tbody td:last-child {
	font-size: 14px;
	line-height: 1.3;
	color: var(--ku-text);
}

.ku-world-asset-visibility .ku-role-restriction-note,
.ku-world-asset-visibility .ku-zoom-setup-note {
	margin: 0;
	font-size: 14px;
	line-height: 1.3;
	font-style: italic;
	color: var(--ku-text);
}

/* ==========================================================
   Checkbox Label Groups
   ========================================================== */

.ku-world-asset-visibility .ku-role-checkbox-list label,
.ku-world-asset-visibility .ku-role-checkbox-item {
	display: inline-block;
	margin: 0 14px 6px 0;
	font-size: 14px;
	line-height: 1.3;
	white-space: nowrap;
	color: var(--ku-text);
}

/* ==========================================================
   Checkbox And Radio Styling
   ========================================================== */

.ku-world-asset-visibility input[type="checkbox"],
.ku-world-asset-visibility input[type="radio"] {
	margin-right: 4px;
	transform: scale(1);
	vertical-align: middle;
	accent-color: var(--ku-primary);
	cursor: pointer;
}

/* ==========================================================
   Form Fields Inside Visibility Tables
   ========================================================== */

.ku-world-asset-visibility table.widefat input[type="text"],
.ku-world-asset-visibility table.widefat input[type="url"],
.ku-world-asset-visibility table.widefat select,
.ku-world-asset-visibility .ku-setup-field input[type="url"],
.ku-world-asset-visibility .ku-setup-field select {
	width: 100%;
	max-width: 100%;
	border: 1px solid var(--ku-input-border);
	border-radius: var(--ku-radius-small);
	background: var(--ku-input-bg);
	color: var(--ku-text);
	font-size: 14px;
	line-height: 1.4;
	box-shadow: none;
}

.ku-world-asset-visibility table.widefat input[type="text"],
.ku-world-asset-visibility table.widefat input[type="url"],
.ku-world-asset-visibility .ku-setup-field input[type="url"] {
	padding: 8px 10px;
}

.ku-world-asset-visibility table.widefat select,
.ku-world-asset-visibility .ku-setup-field select {
	padding: 6px 10px;
	min-height: 34px;
}

.ku-world-asset-visibility table.widefat input[type="text"]:focus,
.ku-world-asset-visibility table.widefat input[type="url"]:focus,
.ku-world-asset-visibility table.widefat select:focus,
.ku-world-asset-visibility .ku-setup-field input[type="url"]:focus,
.ku-world-asset-visibility .ku-setup-field select:focus {
	border-color: var(--ku-primary);
	outline: none;
	box-shadow: 0 0 0 2px rgba(18, 43, 70, 0.20);
}

/* ==========================================================
   Calendar & Meeting Setup Cards
   ========================================================== */

.ku-calendar-events-setup-panel {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.ku-calendar-events-setup-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 14px;
}

.ku-calendar-events-setup-card {
	border: 1px solid #dcdcde;
	background: #ffffff;
	padding: 16px;
	border-radius: 6px;
}

.ku-setup-field {
	display: block;
	margin-top: 12px;
}

.ku-setup-field > span:first-child {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 15px;
	line-height: 1.3;
	color: var(--ku-text);
}

.ku-calendar-edits-field {
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.ku-calendar-edits-field input[type="checkbox"] {
	margin-top: 3px;
	flex: 0 0 auto;
}

.ku-zoom-setup-actions {
	margin-top: 14px;
	margin-bottom: 6px;
	text-align: right;
}

.ku-zoom-setup-help {
	margin-top: 0;
	margin-bottom: 0;
}

/* ==========================================================
   Buttons
   ========================================================== */

.ku-world-asset-visibility .button.button-primary,
.ku-world-asset-visibility button.button-primary,
.ku-world-asset-visibility input[type="submit"].button-primary,
.ku-world-asset-visibility .ku-dashboard-actions .button,
.ku-world-asset-visibility .ku-zoom-setup-actions .button {
	background: var(--ku-primary) !important;
	border: 1px solid var(--ku-primary) !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	padding: 8px 14px !important;
	line-height: 1.4 !important;
	min-height: 0 !important;
	height: auto !important;
	border-radius: var(--ku-radius-small) !important;
	box-shadow: none !important;
	text-decoration: none !important;
	cursor: pointer;
}

.ku-world-asset-visibility .button.button-primary:hover,
.ku-world-asset-visibility button.button-primary:hover,
.ku-world-asset-visibility input[type="submit"].button-primary:hover,
.ku-world-asset-visibility .ku-dashboard-actions .button:hover,
.ku-world-asset-visibility .ku-zoom-setup-actions .button:hover,
.ku-world-asset-visibility .button.button-primary:focus,
.ku-world-asset-visibility button.button-primary:focus,
.ku-world-asset-visibility input[type="submit"].button-primary:focus,
.ku-world-asset-visibility .ku-dashboard-actions .button:focus,
.ku-world-asset-visibility .ku-zoom-setup-actions .button:focus {
	background: #ffffff !important;
	border-color: var(--ku-primary) !important;
	color: var(--ku-primary) !important;
	box-shadow: none !important;
	outline: none !important;
}

.ku-world-asset-visibility .ku-dashboard-actions {
	display: flex;
	justify-content: flex-start;
	gap: 8px;
	margin-top: 12px;
}

/* ==========================================================
   Dashboard Accordion Sections
   Used by the Router for split visibility/setup sections.
   ========================================================== */

.ku-dashboard-accordion {
	border: 1px solid var(--ku-card-border);
	border-radius: 10px;
	background: #ffffff;
	margin-bottom: 12px;
	overflow: hidden;
}

.ku-dashboard-accordion-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px;
	color: var(--ku-text);
	font-family: Inter, Arial, sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	cursor: pointer;
	list-style: none;
}

.ku-dashboard-accordion-title::-webkit-details-marker {
	display: none;
}

.ku-dashboard-accordion-title::after {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	border-radius: 50%;
	background: #F3F4F6;
	color: var(--ku-text);
	font-size: 18px;
	line-height: 1;
}

/* Direct-child combinator (>) matters here: without it, this matched any
 * .ku-dashboard-accordion-title nested inside an open accordion, not just
 * that accordion's own title - so a collapsed sub-accordion living inside
 * an open parent (Getting Started's Section Content / Resources inside
 * Field Content, for example) showed the open (minus) icon while still
 * visually collapsed. Scoping to the immediate child fixes that without
 * changing behavior for any accordion that isn't nested. */
.ku-dashboard-accordion[open] > .ku-dashboard-accordion-title {
	border-bottom: 1px solid var(--ku-card-border);
}

.ku-dashboard-accordion[open] > .ku-dashboard-accordion-title::after {
	content: "−";
	background: var(--ku-primary);
	color: #ffffff;
}

.ku-dashboard-accordion-title:hover {
	background: #F8FAFC;
}

.ku-dashboard-accordion-title:focus,
.ku-dashboard-accordion-title:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 2px rgba(18, 43, 70, 0.20);
}

.ku-dashboard-accordion-content {
	padding: 12px;
}

/* ==========================================================
   Mobile Responsive Adjustments
   ========================================================== */

@media (max-width: 768px) {
	.ku-world-asset-visibility {
		font-size: 14px;
	}

	.ku-world-asset-visibility table.widefat thead th,
	.ku-world-asset-visibility table.widefat tbody td {
		padding: 8px !important;
		font-size: 14px !important;
	}

	.ku-world-asset-visibility .ku-role-checkbox-list label,
	.ku-world-asset-visibility .ku-role-checkbox-item {
		display: block;
		margin: 0 0 6px 0;
	}

	.ku-calendar-events-setup-columns {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================
   Visibility Table Column Widths
   ==========================================================
   Column order:
   1. Drag
   2. Button Label
   3. Enabled
   4. Roles

   IMPORTANT:
   Native select dropdown arrows can disappear when table
   auto-layout compresses columns based on long content.
   The table now uses fixed layout with a minimum width so
   the Enabled dropdown always has enough room to render.
*/

/* Force predictable table column sizing */
.ku-world-asset-visibility-table {
	table-layout: fixed !important;
	width: 100% !important;
	min-width: 760px !important;
}

/* Column 1 = Drag */
.ku-world-asset-visibility-table th:nth-child(1),
.ku-world-asset-visibility-table td:nth-child(1) {
	width: 70px !important;
}

/* Column 2 = Button Label */
.ku-world-asset-visibility-table th:nth-child(2),
.ku-world-asset-visibility-table td:nth-child(2) {
	width: 300px !important;
}

/* Column 3 = Enabled */
.ku-world-asset-visibility-table th:nth-child(3),
.ku-world-asset-visibility-table td:nth-child(3) {
	width: 190px !important;
}

/* Column 4 = Roles */
.ku-world-asset-visibility-table th:nth-child(4),
.ku-world-asset-visibility-table td:nth-child(4) {
	width: 200px !important;
}

/* Enabled dropdown */
.ku-world-asset-visibility-table td:nth-child(3) select[name^="ku_asset_visibility"][name*="[enabled]"] {
	width: 150px !important;
	min-width: 150px !important;
	max-width: 150px !important;
	box-sizing: border-box !important;
	padding-right: 36px !important;
}

/* Allow role labels to wrap */
.ku-world-asset-visibility .ku-role-checkbox-list label,
.ku-world-asset-visibility .ku-role-checkbox-item {
	white-space: normal !important;
}


/* ==========================================================
   Dashboard Panel Header And Close Button
   ==========================================================
   Restores the dashboard panel header layout after moving the
   dashboard CSS into Code Snippets. The Close link is an <a>
   element, so it needs button styling here.
*/

.ku-dashboard-panel-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
	margin-bottom: 16px !important;
}

.ku-dashboard-panel-header h2 {
	margin: 0 !important;
	color: var(--ku-text) !important;
}

.ku-dashboard-close {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 80px !important;
	padding: 8px 14px !important;
	background: var(--ku-primary) !important;
	border: 1px solid var(--ku-primary) !important;
	border-radius: var(--ku-radius-small) !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.ku-dashboard-close:hover,
.ku-dashboard-close:focus {
	background: #ffffff !important;
	border-color: var(--ku-primary) !important;
	color: var(--ku-primary) !important;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
}


/* ==========================================================
   Enabled Dropdown Arrow
   ==========================================================
   The select field is now wide enough, but the native browser
   arrow is not reliably rendering in this dashboard context.
   This replaces the native arrow with a controlled CSS arrow.
*/

.ku-world-asset-visibility-table td:nth-child(3) select[name^="ku_asset_visibility"][name*="[enabled]"] {
	display: block !important;
	width: 150px !important;
	min-width: 150px !important;
	max-width: 150px !important;
	box-sizing: border-box !important;
	padding: 6px 34px 6px 10px !important;
	min-height: 34px !important;

	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;

	background-color: var(--ku-input-bg) !important;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--ku-text) 50%),
		linear-gradient(135deg, var(--ku-text) 50%, transparent 50%) !important;
	background-position:
		calc(100% - 18px) 50%,
		calc(100% - 12px) 50% !important;
	background-size:
		6px 6px,
		6px 6px !important;
	background-repeat: no-repeat !important;
}

.ku-world-asset-visibility-table td:nth-child(3) select[name^="ku_asset_visibility"][name*="[enabled]"]:focus {
	border-color: var(--ku-primary) !important;
	outline: none !important;
	box-shadow: 0 0 0 2px rgba(18, 43, 70, 0.20) !important;
}


/* ==========================================================
   Dashboard Accordion Icon Placement
   ==========================================================
   Moves the expand/collapse icon to the left side of the
   section title so users notice that the section opens.
*/

.ku-dashboard-accordion-title {
	justify-content: flex-start !important;
}

.ku-dashboard-accordion-title::after {
	order: -1 !important;
	margin-right: 2px !important;
	margin-left: 0 !important;
	flex: 0 0 22px !important;
}


/* ==========================================================
   Calendar & Events Settings Card Headings
   ==========================================================
   Makes the setup card headings in the Events tool easier to
   scan inside the second accordion section.
*/

.ku-calendar-events-setup-card h5 {
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
}



/* ==========================================================
   Important Links Table Column Widths
   ==========================================================
   Important Links has a different table structure:
   1. Drag
   2. Button Text
   3. URL
   4. Enabled
   5. Roles

   These rules are scoped to the Important Links visibility
   section so they do not affect the standard 4-column tables.
*/

/* TABLE SIZE */
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table {
	table-layout: fixed !important;
	width: 100% !important;
	min-width: 950px !important;
}

/* Column 1 = Drag */
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table th:nth-child(1),
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table td:nth-child(1) {
	width: 50px !important;
	min-width: 50px !important;
	max-width: 50px !important;
	text-align: center;
}

/* Column 2 = Button Text */
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table th:nth-child(2),
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table td:nth-child(2) {
	width: 150px !important;
	min-width: 150px !important;
	max-width: 150px !important;
	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;

}

/* Button Text input */
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table td:nth-child(2) input[type="text"],
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table td:nth-child(3) input[type="url"] {
	width: 100% !important;
	max-width: 100% !important;
	white-space: normal !important;
	font-size: 14px !important;
}

/* Column 3 = URL */
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table th:nth-child(3),
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table td:nth-child(3) {
	min-width: 270px !important;
}

/* Column 4 = Enabled */
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table th:nth-child(4),
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table td:nth-child(4) {
	width: 145px !important;
	min-width: 145px !important;
	max-width: 145px !important;
	padding-right: 4px !important;
}

/* Important Links enabled dropdown sits in column 4 */
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table td:nth-child(4) select[name^="ku_asset_visibility"][name*="[enabled]"] {
	display: block !important;
	width: 115px !important;
	min-width: 115px !important;
	max-width: 115px !important;
	box-sizing: border-box !important;
	font-size: 14px !important;

	padding: 6px 20px 6px 10px !important;
	min-height: 34px !important;

	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;

	background-color: var(--ku-input-bg) !important;

	background-image:
		linear-gradient(45deg, transparent 50%, var(--ku-text) 50%),
		linear-gradient(135deg, var(--ku-text) 50%, transparent 50%) !important;

	background-position:
		calc(100% - 14px) 50%,
		calc(100% - 8px) 50% !important;

	background-size:
		6px 6px,
		6px 6px !important;

	background-repeat: no-repeat !important;
}

/* ==========================================================
   Important Links Roles Column Wrapping
   ==========================================================
   Prevents role text in the last column from being clipped.
   The Roles column is column 5 only in the Important Links
   table because that table includes both Button Text and URL.
*/

.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table th:nth-child(5),
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table td:nth-child(5) {
	width: 200px !important;
	min-width: 200px !important;
	max-width: 200px !important;

	padding-left: 4px !important;

	white-space: normal !important;
	overflow: visible !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
}

.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table td:nth-child(5) .ku-role-checkbox-list {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;

	white-space: normal !important;
	overflow: visible !important;
}

.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table td:nth-child(5) .ku-role-checkbox-item,
.ku-world-asset-visibility-important_links .ku-world-asset-visibility-table td:nth-child(5) .ku-role-checkbox-list label {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;

	margin: 0 0 4px 0 !important;

	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;

	line-height: 1.3 !important;
}


/********** END OF FILE **********/




/* ==========================================================
   Calendar Setup Accordion Cleanup
   ==========================================================
   Makes the Calendar Setup panel follow the same visual rhythm as
   Calendar & Events Visibility instead of using the older nested-card look.
*/

.ku-dashboard-events-tools .ku-world-asset-visibility-setup-only .ku-calendar-events-setup-panel {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: 0 !important;
}

.ku-dashboard-events-tools .ku-world-asset-visibility-setup-only .ku-calendar-events-setup-columns,
.ku-dashboard-events-tools .ku-world-asset-visibility-setup-only .ku-calendar-events-setup-columns-single {
	display: block !important;
	margin-top: 0 !important;
}

.ku-dashboard-events-tools .ku-world-asset-visibility-setup-only .ku-calendar-events-setup-card {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 0 !important;
}

.ku-dashboard-events-tools .ku-world-asset-visibility-setup-only .ku-calendar-events-setup-card h5 {
	margin: 0 0 8px 0 !important;
	font-family: Inter, Arial, sans-serif !important;
	font-size: 22px !important;
	line-height: 1.2 !important;
	font-weight: 600 !important;
	color: var(--ku-text) !important;
}

.ku-dashboard-events-tools .ku-world-asset-visibility-setup-only .ku-dashboard-actions {
	margin-top: 16px !important;
}


/* ==========================================================
   Match Events Setup Card h5 to Section Heading Size
   h5 is promoted to h3-level size inside the setup-only layout.
   ========================================================== */

.ku-dashboard-events-tools .ku-world-asset-visibility-setup-only .ku-calendar-events-setup-card h5 {
	font-family: Inter, Arial, sans-serif !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	margin: 0 0 8px 0 !important;
	color: var(--ku-text, #122B46) !important;
}

/* ==========================================================
   Dashboard Help Zones
   ==========================================================
   Elementor containers used as dashboard help zones should use:
   - CSS class: ku-dashboard-help-zone
   - CSS ID:    ku-help-{tool}

   Example:
   ?ku_tool=events shows #ku-help-events.

   Live pages hide inactive Help Zones. Elementor edit mode keeps
   all Help Zones visible so the containers can be edited.
*/

body:not(.elementor-editor-active) .ku-dashboard-help-zone:not(.ku-dashboard-help-zone-active) {
	display: none !important;
}

body.elementor-editor-active .ku-dashboard-help-zone {
	display: block !important;
	opacity: 1 !important;
	outline: 2px dashed #DD9933;
	padding: 12px;
	margin-bottom: 12px;
}


/* ==========================================================
   Help Zone Links
   ========================================================== */

.ku-dashboard-help-zone a {
	color: #657C91 !important;
	text-decoration: underline !important;
}

.ku-dashboard-help-zone a:hover {
	color: #DD9933 !important;
}


/* ==========================================================
   Dashboard Section Subheading
   Used by the Router for tool panel subheadings (e.g. "Change Button & Tab Colors").
   ========================================================== */

.ku-dashboard-section-heading {
	font-size: 17px !important;
	font-weight: 600 !important;
	color: var(--ku-text) !important;
	margin: 0 0 12px 0 !important;
	line-height: 1.3 !important;
}




/* ==========================================================
   Visibility Table — Badge Spacing
   Ensures badges (e.g. "Profile Available", Silo Frozen/Scheduled)
   that sit directly inside a table cell, below the dropdown above
   them, have breathing room and their own line.

   Scoped to a direct child (>) as of 07-04-2026 - this used to match
   ANY .ku-badge inside a <td>, which also caught the Role badges
   nested inside .ku-role-checkbox-item labels in the Roles column,
   forcing each one onto a full-width block line instead of sitting
   inline next to its checkbox. Direct-child badges (Profile Available,
   Silo Frozen/Scheduled) are unaffected by this fix.
   ========================================================== */

.ku-world-asset-visibility td > .ku-badge {
	display: block;
	margin-top: 4px;
	width: fit-content;
}


/* ==========================================================
   World Profile — Return Link / Badge Row
   Makes the link + badge row flex so badges wrap and gap on
   mobile, and adds space before the first accordion.
   ========================================================== */

.ku-profile-return-link {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 6px !important;
	margin-bottom: 16px !important;
}


/* ==========================================================
   World Roles — Bulk Action Buttons
   Reduces font size and enables flex layout with mobile stacking.
   ========================================================== */

.ku-world-role-bulk-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
}

.ku-world-role-bulk-actions button.button {
	font-size: 14px !important;
	font-weight: 600 !important;
	padding: 6px 12px !important;
	line-height: 1.4 !important;
	height: auto !important;
	min-height: 0 !important;
	white-space: normal !important;
}

@media (max-width: 600px) {
	.ku-world-role-bulk-actions {
		flex-direction: column !important;
		align-items: flex-start !important;
	}

	.ku-world-role-bulk-actions select,
	.ku-world-role-bulk-actions button.button {
		width: 100% !important;
		box-sizing: border-box !important;
	}
}

/* ==========================================================
   Role Notifications — button size standardisation
   ========================================================== */

.ku-role-notifications .button,
.ku-role-notifications input[type="submit"],
.ku-role-notifications button[type="submit"] {
	font-size: 14px !important;
	font-weight: 600 !important;
	padding: 6px 14px !important;
	line-height: 1.4 !important;
	height: auto !important;
	border-radius: 7px !important;
	box-shadow: none !important;
}

@media (max-width: 600px) {
	.ku-role-notifications .button,
	.ku-role-notifications input[type="submit"],
	.ku-role-notifications button[type="submit"] {
		width: 100% !important;
		box-sizing: border-box !important;
	}
}

/* ==========================================================
   Settings Cell (URL / Select Fields in Table)
   ========================================================== */

.ku-world-asset-visibility-table .ku-settings-cell label {
	display: block;
	margin-bottom: 6px;
}

.ku-world-asset-visibility-table .ku-settings-cell input[type="url"],
.ku-world-asset-visibility-table .ku-settings-cell select {
	max-width: 360px;
	width: 100%;
}


/* ==========================================================
   Role Error Note
   ========================================================== */

.ku-world-asset-visibility .ku-role-error-note {
	margin: 0;
	font-size: 14px;
	line-height: 1.3;
	font-style: italic;
	color: var(--ku-text);
}


/* ==========================================================
   Calendar Native Select (overrides appearance reset)
   ========================================================== */

.ku-calendar-events-setup-panel select.ku-native-select {
	-webkit-appearance: menulist !important;
	appearance: auto !important;
	background-color: #fff !important;
	padding-right: 32px !important;
}


/* ==========================================================
   Featured Content — Blank (Ready-To-Name) Row
   ========================================================== */

.ku-world-asset-visibility-table tr.ku-blank-content-slot td {
	background-color: #f9f9f9;
}


/* ==========================================================
   Featured Content — Remove Button
   ========================================================== */

.ku-remove-content-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	color: #b32d2e !important;
	text-decoration: none !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	line-height: 1 !important;
	cursor: pointer;
}

.ku-remove-content-btn:hover,
.ku-remove-content-btn:focus {
	color: #8a1f1f !important;
	outline: none !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.ku-remove-content-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}


/* ==========================================================
   Featured Content Table — 5th Column (Remove)
   ==========================================================
   Featured Content adds a Remove column that the other
   visibility tables do not have. Scope the table width and
   column 5 to the featured_content section wrapper so the
   standard 4-column layout is unaffected.
*/

.ku-world-asset-visibility-featured_content .ku-world-asset-visibility-table {
	min-width: 806px !important;
}

/* Column 5 = Remove */
.ku-world-asset-visibility-featured_content .ku-world-asset-visibility-table .ku-remove-cell,
.ku-world-asset-visibility-featured_content .ku-world-asset-visibility-table th:nth-child(5),
.ku-world-asset-visibility-featured_content .ku-world-asset-visibility-table td:nth-child(5) {
	width: 46px !important;
	text-align: center !important;
	vertical-align: middle !important;
}


/* ==========================================================
   World Profile Dashboard
   ========================================================== */

/* Intro text */
.ku-world-profile-dashboard .ku-profile-content-intro { margin: 0 0 16px 0; }

/* Section manager */
.ku-world-profile-dashboard .ku-profile-section-manager { margin-bottom: 0; }
/* Table — reuses .ku-dashboard-table base styles */
.ku-world-profile-dashboard .ku-world-profile-table { width: 100%; }

/* Drag column */
.ku-world-profile-dashboard .ku-world-profile-table th:nth-child(1),
.ku-world-profile-dashboard .ku-world-profile-table td:nth-child(1) { width: 36px; text-align: center; }

/* Enable column */
.ku-world-profile-dashboard .ku-world-profile-table th:nth-child(2),
.ku-world-profile-dashboard .ku-world-profile-table td:nth-child(2) { width: 60px; text-align: center; vertical-align: middle; }

/* Section Label column */
.ku-world-profile-dashboard .ku-world-profile-table th:nth-child(3),
.ku-world-profile-dashboard .ku-world-profile-table td:nth-child(3) { width: 33%; }

/* Audience column */
.ku-world-profile-dashboard .ku-world-profile-table th:nth-child(4),
.ku-world-profile-dashboard .ku-world-profile-table td:nth-child(4) { width: 130px; }

.ku-world-profile-dashboard .ku-drag-handle { cursor: grab; color: #aaa; font-size: 16px; }
.ku-world-profile-dashboard .ku-profile-section-label-input { width: 100%; min-width: 0; }

.ku-world-profile-dashboard .ku-profile-section-audience {
	font-size: 12px;
	padding: 4px 28px 4px 8px;
	min-width: 110px;
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	background-color: var(--ku-input-bg, #fff) !important;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23333' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 10px center !important;
	background-size: 10px 6px !important;
}
.ku-world-profile-dashboard .ku-profile-section-audience:focus {
	border-color: var(--ku-primary, #122b46);
	outline: none;
	box-shadow: 0 0 0 2px rgba(18, 43, 70, 0.20);
}

/* Roles column */
.ku-world-profile-dashboard .ku-world-profile-table th:nth-child(5),
.ku-world-profile-dashboard .ku-world-profile-table td:nth-child(5) { width: 185px; }

/* Role options */
.ku-world-profile-dashboard .ku-profile-role-options .ku-role-checkbox-list { display: block; width: 100%; }
.ku-world-profile-dashboard .ku-profile-role-options .ku-role-checkbox-item { display: flex; align-items: center; gap: 4px; font-size: 12px; cursor: pointer; margin-bottom: 4px; }

.ku-world-profile-dashboard .ku-profile-section-faded { opacity: 0.45; }

/* Content sections — accordion */
.ku-world-profile-dashboard .ku-profile-content-section {
	margin-bottom: 6px;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 0;
}

.ku-world-profile-dashboard .ku-profile-content-section summary.ku-profile-content-heading {
	display: block;
	cursor: pointer;
	list-style: none;
	padding: 10px 14px;
	background: #f5f5f5;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	margin: 0;
	user-select: none;
}

.ku-world-profile-dashboard .ku-profile-content-section summary.ku-profile-content-heading::-webkit-details-marker { display: none; }
.ku-world-profile-dashboard .ku-profile-content-section summary.ku-profile-content-heading::before { content: '\25B6\00A0'; font-size: 10px; }
.ku-world-profile-dashboard .ku-profile-content-section[open] summary.ku-profile-content-heading { border-radius: 4px 4px 0 0; border-bottom: 1px solid #ddd; }
.ku-world-profile-dashboard .ku-profile-content-section[open] summary.ku-profile-content-heading::before { content: '\25BC\00A0'; }
.ku-world-profile-dashboard .ku-profile-content-section-body { padding: 14px; }

/* Shared field layout */
.ku-world-profile-dashboard .ku-setup-field { margin-bottom: 12px; }
.ku-world-profile-dashboard .ku-setup-field > span,
.ku-world-profile-dashboard .ku-setup-field > label > span { display: block; font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.ku-world-profile-dashboard .ku-setup-field input[type="text"],
.ku-world-profile-dashboard .ku-setup-field input[type="email"],
.ku-world-profile-dashboard .ku-setup-field input[type="url"],
.ku-world-profile-dashboard .ku-setup-field select,
.ku-world-profile-dashboard .ku-setup-field textarea { width: 100%; box-sizing: border-box; }
.ku-world-profile-dashboard .ku-setup-field .description { font-size: 12px; color: #666; display: block; margin-top: 4px; }

/* Team cards */
.ku-world-profile-dashboard #ku-profile-team-list { list-style: none; margin: 0 0 12px 0; padding: 0; }
.ku-world-profile-dashboard .ku-profile-team-card {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 14px;
	margin-bottom: 10px;
	background: #fafafa;
}
.ku-world-profile-dashboard .ku-profile-team-card-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
}
.ku-world-profile-dashboard .ku-profile-team-card-header .ku-drag-handle { cursor: grab; }
.ku-world-profile-dashboard .ku-profile-team-card-label { flex: 1; }
.ku-world-profile-dashboard .ku-profile-team-avatar-preview { margin-bottom: 6px; min-height: 30px; }
.ku-world-profile-dashboard .ku-profile-team-avatar-preview img { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; display: block; }
.ku-world-profile-dashboard .ku-profile-team-avatar-buttons { display: flex; gap: 6px; margin-bottom: 4px; }

/* FAQ rows */
.ku-world-profile-dashboard #ku-profile-faq-list { list-style: none; margin: 0 0 12px 0; padding: 0; }
.ku-world-profile-dashboard .ku-profile-faq-row {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 14px;
	margin-bottom: 10px;
	background: #fafafa;
}
.ku-world-profile-dashboard .ku-profile-faq-row-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
}

/* Links grid */
.ku-world-profile-dashboard .ku-profile-link-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding: 10px 12px;
	margin-bottom: 8px;
	background: #f9f9f9;
	border: 1px solid #eee;
	border-radius: 4px;
}

@media (max-width: 600px) {
	.ku-world-profile-dashboard .ku-profile-link-row { grid-template-columns: 1fr; }
}

/* Actions bar */
.ku-world-profile-dashboard .ku-dashboard-actions { padding: 16px 0 8px; display: flex; gap: 10px; align-items: center; }


/* ============================================================
 * GS Start Button — Rocket Indicator
 * Shared across: Archive Posts, Meetings, Important Links, Courses
 * !important required: theme applies !important to all button elements globally.
 * ============================================================ */

.ku-gs-start-btn {
	display: inline-flex !important;
	align-items: center !important;
	border-radius: 20px !important;
	border: none !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	line-height: 1.4 !important;
	vertical-align: middle !important;
	outline: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-decoration: none !important;
	min-height: 0 !important;
	height: auto !important;
}

.ku-gs-start-btn--on {
	background: var(--ku-toggle-on-bg) !important;
	color: #ffffff !important;
}

.ku-gs-start-btn--off {
	background: #e8e8e8 !important;
	color: #888888 !important;
}

.ku-gs-start-btn[data-gs-type="post"]    { padding: 9px 15px !important;  font-size: 13px !important; }
.ku-gs-start-btn[data-gs-type="meeting"] { padding: 3px 12px !important;  font-size: 12px !important; }
.ku-gs-start-btn[data-gs-type="link"]    { padding: 5px 12px !important;  font-size: 12px !important; }
.ku-gs-start-btn[data-gs-type="course"]  { padding: 0px 12px !important;  font-size: 13px !important; }

.ku-gs-start-btn .ku-gs-rocket {
	font-size: 15px !important;
	margin-right: 5px !important;
	line-height: 1 !important;
	vertical-align: middle !important;
	display: inline-block !important;
}

.ku-gs-start-btn[data-gs-type="post"] .ku-gs-rocket { font-size: 18px !important; }

/* Blog Posts action bar: align GS pill to top of row */
.ku-post-action-buttons .ku-gs-start-btn { align-self: flex-start !important; }

/* Courses: override theme blue inside #nonu_cwm_list with higher specificity */
#nonu_cwm_list .ku-gs-start-btn--on  { background: var(--ku-toggle-on-bg) !important; color: #ffffff !important; }
#nonu_cwm_list .ku-gs-start-btn--off { background: #e8e8e8 !important; color: #888888 !important; }
#nonu_cwm_list .ku-gs-start-btn      { margin-top: 3px !important; }
.ku-gs-start-btn[data-gs-type="course"] .ku-gs-rocket { font-size: 13px !important; }

/* ============================================================
 * GS Start Toggle — Meetings, icon-only on mobile
 * ------------------------------------------------------------
 * Added 07-06-2026. Below 900px the Meeting accordion's summary
 * row (Save Meeting, Enabled/Not Enabled badge, Delete Event,
 * this toggle) already wraps because four items don't fit one
 * line - this toggle was the tightest of the four and was
 * rendering cut off. Below 900px it drops to icon-only (the
 * "Start" label is hidden, not removed - screen readers still
 * get the full "Add to Getting Started" / "Remove from Getting
 * Started" text via the button's own title/aria-label). Radius
 * is tightened from the shared 20px pill to 10px so the small
 * icon-only box reads as a rounded square rather than a circle,
 * matching the move handle it usually sits next to.
 * ============================================================ */

@media (max-width: 900px) {

	.ku-gs-start-btn[data-gs-type="meeting"] .ku-gs-start-btn-label {
		display: none !important;
	}

	.ku-gs-start-btn[data-gs-type="meeting"] {
		padding: 4px 8px !important;
		border-radius: 10px !important;
	}

	.ku-gs-start-btn[data-gs-type="meeting"] .ku-gs-rocket {
		margin-right: 0 !important;
	}
}


/* ------------------------------------------------------------
 * World Profile — Private-World Public Fields Consent Checkbox
 * ------------------------------------------------------------
 * Added 07-27-2026. Sits above the Profile Order & Visibility
 * accordion, Private Worlds only. Styled to stand out on purpose
 * - a Host needs to clearly see what checking this box does
 * before they do it.
 * ============================================================ */

.ku-profile-public-consent {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid #841516;
	border-radius: 4px;
	background: #fdf1f1;
}

.ku-profile-public-consent-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: #841516;
	font-weight: 600;
	cursor: pointer;
}

.ku-profile-public-consent-label input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
}
