:root {
	--background: #070a29;
	--sidebar: #090e2c;
	--panel: #0e1537;
	--border: #26365f;
	--blue: #5da3fa;
	--purple: #6431fe;
	--lilac: #b797fe;
	--muted: #9aaed1;
	--white: #ffffff;
	--sidebar-width: 205px;
	--detail-width: 420px;
}

* {
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
}

body {
	background: var(--background);
	color: var(--white);
	font-family: 'Rajdhani', sans-serif;
	font-size: 17px;
}

button {
	font-family: inherit;
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration: none;
}

button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
}

/* APPLICATION */

.app {
	display: grid;
	grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
	width: 100%;
	height: 100dvh;
	overflow: hidden;
}

/* SIDEBAR */

.sidebar {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	background: var(--sidebar);
	border-right: 1px solid var(--border);
	z-index: 50;
}

.brand {
	padding: 21px 16px;
	border-bottom: 1px solid var(--border);
}

.brand img {
	display: block;
	width: 100%;
	max-width: 170px;
	height: auto;
}

.brand-caption {
	margin-top: 17px;
	color: var(--blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.8px;
}

.brand-title {
	margin-top: 4px;
	font-size: 25px;
	font-weight: 700;
	line-height: 1;
}

.navigation {
	flex: 1;
	padding: 24px 10px;
}

.nav-label {
	padding: 0 11px;
	margin-bottom: 13px;
	color: #7387b5;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.8px;
}

.nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 49px;
	padding: 12px;
	margin-bottom: 6px;
	border: 1px solid transparent;
	border-radius: 8px;
	color: #b6c6e4;
	font-size: 17px;
	font-weight: 600;
	transition: background .2s, border-color .2s;
}

.nav-item i {
	width: 20px;
	flex-shrink: 0;
	color: #9bbcff;
	font-size: 20px;
	text-align: center;
}

.nav-item:hover,
.nav-item.active {
	background: #192b52;
	border-color: #36548a;
	color: var(--white);
}

.nav-item.active i {
	color: var(--blue);
}

.sidebar-footer {
	padding: 17px 15px;
	border-top: 1px solid var(--border);
	color: #7287b2;
	font-size: 12px;
}

/* WORKSPACE */

.workspace {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

.topbar {
	display: flex;
	align-items: center;
	gap: 15px;
	height: 70px;
	min-height: 70px;
	padding: 0 24px;
	background: #0c1232;
	border-bottom: 1px solid var(--border);
}

.topbar-heading {
	flex: 1;
	min-width: 0;
}

.topbar-caption {
	color: var(--blue);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
}

.topbar-title {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.05;
}

.topbar-right {
	display: flex;
	align-items: center;
	gap: 17px;
	flex-shrink: 0;
}

.topbar-status {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #839ac4;
	font-size: 14px;
	white-space: nowrap;
}

.topbar-status i {
	color: var(--blue);
}

/* LANGUAGE SELECTOR */

.language-selector {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px;
	background: #111a3c;
	border: 1px solid #30446e;
	border-radius: 7px;
}

.language-selector a {
	display: grid;
	place-items: center;
	min-width: 34px;
	padding: 6px 7px;
	border-radius: 5px;
	color: #9aaed1;
	font-size: 14px;
	font-weight: 700;
}

.language-selector a:hover {
	color: #ffffff;
}

.language-selector a.active {
	background: #254579;
	color: #ffffff;
}

.menu-toggle {
	display: none;
	width: 38px;
	height: 38px;
	flex-shrink: 0;
	background: #15254b;
	border: 1px solid #355184;
	border-radius: 7px;
	color: var(--white);
	font-size: 21px;
}

.workspace-body {
	display: flex;
	flex: 1;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

/* PROGRAMME */

.program-pane {
	display: flex;
	flex: 1 1 0%;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

/* DAY AND ROOM NAVIGATION */

.program-toolbar {
	flex-shrink: 0;
	background: #0b1130;
	border-bottom: 1px solid var(--border);
}

.day-toolbar {
	padding: 14px 24px 12px;
	border-bottom: 1px solid #1e2d52;
}

.room-toolbar {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 11px 24px;
	min-width: 0;
}

.day-navigation,
.room-navigation {
	display: flex;
	gap: 8px;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.day-navigation::-webkit-scrollbar,
.room-navigation::-webkit-scrollbar {
	display: none;
}

.day-button {
	min-width: 76px;
	padding: 11px 16px;
	background: #121b3d;
	border: 1px solid #283b65;
	border-radius: 7px;
	color: #a9bad9;
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
	transition: background .2s, border-color .2s;
}

.day-button:hover {
	border-color: var(--blue);
}

.day-button.active {
	background: #1c3562;
	border-color: var(--blue);
	color: var(--white);
}

.room-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 39px;
	padding: 8px 15px;
	background: #111a3a;
	border: 1px solid #2a3e69;
	border-radius: 6px;
	color: #aabddd;
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
	transition: background .2s, border-color .2s;
}

.room-button:hover {
	background: #19284e;
	border-color: #527ab5;
}

.room-button.active {
	background: #213e70;
	border-color: var(--blue);
	color: #ffffff;
}

/* PROGRAMME BACKGROUND */

.program-scroll {
	position: relative;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 25px 24px 60px;
	background-color: #070a29;
	background-image:
		linear-gradient(
			to right,
			rgba(93, 163, 250, 0.035) 1px,
			transparent 1px
		),
		linear-gradient(
			to bottom,
			rgba(93, 163, 250, 0.035) 1px,
			transparent 1px
		),
		radial-gradient(
			ellipse at 50% 0%,
			rgba(93, 163, 250, 0.055),
			transparent 65%
		);
	background-size:
		18px 18px,
		18px 18px,
		100% 100%;
	scrollbar-width: thin;
	scrollbar-color: #354d7d transparent;
}

.program-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.program-heading h2 {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0;
	font-size: 23px;
	font-weight: 700;
}

.program-heading h2 i {
	color: var(--blue);
	font-size: 22px;
}

.program-count {
	color: #9aaed1;
	font-size: 15px;
	white-space: nowrap;
}

.program-location {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	color: #8fa8d2;
	font-size: 15px;
}

.program-location i {
	color: var(--blue);
}

.program-location strong {
	color: #d3e2fa;
	font-weight: 700;
}

/* SESSION CONTAINER */

.session {
	width: 100%;
	margin-bottom: 9px;
}

/* SCIENTIFIC SESSIONS — TRANSPARENT BLUE */

.session-card {
	display: block;
	width: 100%;
	min-width: 0;
	background: rgba(93, 163, 250, 0.11);
	border: 1px solid rgba(93, 163, 250, 0.40);
	border-radius: 8px;
	cursor: pointer;
	transition:
		background .2s ease,
		border-color .2s ease;
}

.session-card:hover {
	background: rgba(93, 163, 250, 0.18);
	border-color: #5da3fa;
}

.session-card.selected {
	background: rgba(93, 163, 250, 0.22);
	border-color: #5da3fa;
}

.session-card-content {
	display: grid;
	grid-template-columns: 65px minmax(0, 1fr) 32px;
	align-items: center;
	gap: 16px;
	min-height: 76px;
	padding: 13px 18px;
}

.session-time {
	align-self: center;
	color: #8bc0ff;
	font-size: 18px;
	font-weight: 700;
	white-space: nowrap;
}

.session-main {
	min-width: 0;
}

.session-type {
	margin: 0 0 4px;
	color: #8bc0ff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.2px;
}

.session-title {
	display: block;
	margin: 0;
	color: #ffffff;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: break-word;
}

.session-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 15px;
	margin-top: 7px;
	color: #aebfe0;
	font-size: 14px;
}

.session-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.session-meta i {
	color: #8bc0ff;
	font-size: 13px;
}

.session-action {
	display: grid;
	place-items: center;
	width: 31px;
	height: 31px;
	background: rgba(12, 22, 55, 0.65);
	border: 1px solid #365080;
	border-radius: 6px;
	color: #9bbcff;
	font-size: 16px;
}

.session-card:hover .session-action {
	border-color: #5da3fa;
	color: #ffffff;
}

/* SATELLITE SYMPOSIUM — TRANSPARENT LILAC */

.session-card.symposium {
	background: rgba(183, 151, 254, 0.22);
	border: 1px solid rgba(183, 151, 254, 0.85);
}

.session-card.symposium:hover {
	background: rgba(183, 151, 254, 0.29);
	border-color: #b797fe;
}

.session-card.symposium.selected {
	background: rgba(183, 151, 254, 0.34);
	border-color: #b797fe;
}

.session-card.symposium .session-time,
.session-card.symposium .session-type,
.session-card.symposium .session-meta i {
	color: #d4baff;
}

.session-card.symposium .session-title {
	color: #ffffff;
}

.session-card.symposium .session-meta {
	color: #d4c5ed;
}

/* BREAK — TRANSPARENT PURPLE */

.session-card.break {
	background: rgba(100, 49, 254, 0.13);
	border: 1px solid rgba(100, 49, 254, 0.85);
}

.session-card.break:hover {
	background: rgba(100, 49, 254, 0.20);
	border-color: #6431fe;
}

.session-card.break.selected {
	background: rgba(100, 49, 254, 0.25);
	border-color: #6431fe;
}

.session-card.break .session-time,
.session-card.break .session-type,
.session-card.break .session-meta i {
	color: #a47cff;
}

.session-card.break .session-meta {
	color: #b9a5e6;
}

/* EMPTY STATE */

.empty-state {
	padding: 50px 20px;
	background: rgba(14, 21, 55, 0.75);
	border: 1px dashed #26365f;
	border-radius: 9px;
	color: #9aaed1;
	text-align: center;
}

/* DETAIL PANEL */

.detail-pane {
	display: flex;
	flex: 0 0 0px;
	flex-direction: column;
	width: 0;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background: #0c1334;
	border-left: 0 solid var(--border);
	visibility: hidden;
	transition: flex-basis .25s ease;
}

.workspace-body.detail-open .detail-pane {
	flex-basis: var(--detail-width);
	border-left-width: 1px;
	visibility: visible;
}

.detail-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 65px;
	min-height: 65px;
	padding: 0 20px;
	border-bottom: 1px solid var(--border);
}

.detail-header-title {
	color: var(--blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
}

.detail-close {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	background: #172347;
	border: 1px solid #35476e;
	border-radius: 6px;
	color: #c7d3e9;
	font-size: 18px;
}

.detail-scroll {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	padding: 24px;
	scrollbar-width: thin;
	scrollbar-color: #354d7d transparent;
}

.detail-identity {
	padding-bottom: 23px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--border);
}

.detail-category {
	color: var(--lilac);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
}

.detail-title {
	margin: 12px 0 21px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.18;
	overflow-wrap: break-word;
}

.detail-info {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 12px;
	color: #c5d2e9;
	font-size: 17px;
}

.detail-info i {
	width: 18px;
	color: var(--blue);
	text-align: center;
}

.detail-tabs {
	display: flex;
	gap: 22px;
	margin-bottom: 25px;
	border-bottom: 1px solid var(--border);
}

.detail-tab {
	padding: 12px 0;
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	color: var(--muted);
	font-size: 17px;
	font-weight: 700;
}

.detail-tab.active {
	color: var(--blue);
	border-bottom-color: var(--blue);
}

.detail-section-label {
	margin-bottom: 16px;
	color: var(--blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
}

.detail-description {
	color: #c5d2e9;
	font-size: 17px;
	line-height: 1.6;
}

.detail-observation {
	padding: 13px 15px;
	margin-bottom: 10px;
	background: #141e42;
	border-left: 2px solid var(--blue);
	border-radius: 5px;
	color: #c5d2e9;
	font-size: 16px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.break-detail-icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin-bottom: 20px;
	background: linear-gradient(135deg, #6431fe, #382071);
	border: 1px solid #9671fa;
	border-radius: 13px;
	color: var(--white);
	font-size: 30px;
}

/* LECTURES */

.lecture {
	padding: 17px 0;
	border-bottom: 1px solid #202e52;
}

.lecture-title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: break-word;
}

.lecture-speakers {
	margin-top: 10px;
}

.lecture-speaker {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin-top: 7px;
	color: #b9c9e4;
	font-size: 16px;
}

.lecture-speaker i {
	margin-top: 2px;
	color: var(--blue);
	font-size: 15px;
}

.lecture-observations {
	margin-top: 12px;
}

.lecture-observation {
	margin-top: 6px;
	color: #aebfdd;
	font-size: 15px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

/* SPEAKERS */

.speaker {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 14px 0;
	border-bottom: 1px solid var(--border);
}

.speaker-avatar {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	background: #1c3159;
	border-radius: 50%;
	color: var(--blue);
	font-size: 23px;
}

.speaker-name {
	font-size: 18px;
	font-weight: 700;
}

.speaker-role {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.35;
}

/* CALENDAR */

.detail-footer {
	position: relative;
	padding: 17px 20px;
	border-top: 1px solid var(--border);
}

.calendar-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 13px;
	background: #1b3563;
	border: 1px solid var(--blue);
	border-radius: 7px;
	color: var(--white);
	font-size: 17px;
	font-weight: 700;
}

.calendar-button:hover {
	background: #254a83;
}

.calendar-button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.calendar-options {
	display: none;
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: calc(100% + 7px);
	z-index: 10;
	padding: 8px;
	background: #111b3e;
	border: 1px solid #36558a;
	border-radius: 9px;
	box-shadow: 0 -12px 35px #0007;
}

.calendar-options.open {
	display: block;
}

.calendar-option {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 13px;
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: var(--white);
	font-size: 17px;
	font-weight: 600;
	text-align: left;
}

.calendar-option:hover {
	background: #1e3059;
}

.calendar-option i {
	width: 24px;
	color: var(--blue);
	font-size: 20px;
	text-align: center;
}

.mobile-backdrop {
	display: none;
}

/* TABLET */

@media(max-width: 1200px) {

	:root {
		--sidebar-width: 195px;
		--detail-width: 350px;
	}

	.program-scroll {
		padding: 21px 16px 45px;
	}

	.day-toolbar {
		padding: 13px 16px;
	}

	.room-toolbar {
		padding: 10px 16px;
	}

	.session-card-content {
		grid-template-columns: 57px minmax(0, 1fr) 30px;
		gap: 12px;
		padding: 13px;
	}

	.session-time {
		font-size: 16px;
	}

	.session-title {
		font-size: 18px;
	}

	.session-meta {
		font-size: 14px;
	}

	.topbar-status {
		display: none;
	}
}

/* MOBILE NAVIGATION */

@media(max-width: 950px) {

	.app {
		display: block;
	}

	.sidebar {
		position: fixed;
		top: 0;
		left: 0;
		width: 255px;
		height: 100dvh;
		transform: translateX(-100%);
		transition: transform .25s ease;
	}

	.sidebar.open {
		transform: translateX(0);
	}

	.workspace {
		height: 100dvh;
	}

	.menu-toggle {
		display: grid;
		place-items: center;
	}

	.mobile-backdrop.open {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 40;
		background: #000a;
	}
}

/* PHONE */

@media(max-width: 700px) {

	.topbar {
		height: 66px;
		min-height: 66px;
		padding: 0 11px;
		gap: 10px;
	}

	.topbar-caption {
		font-size: 9px;
		letter-spacing: 1px;
	}

	.topbar-title {
		font-size: 19px;
	}

	.topbar-right {
		gap: 0;
	}

	.language-selector {
		gap: 1px;
		padding: 3px;
	}

	.language-selector a {
		min-width: 27px;
		padding: 6px 4px;
		font-size: 12px;
	}

	.day-toolbar {
		padding: 11px;
	}

	.room-toolbar {
		padding: 9px 11px;
	}

	.day-navigation,
	.room-navigation {
		gap: 6px;
	}

	.day-button {
		min-width: 65px;
		padding: 10px 12px;
		font-size: 15px;
	}

	.room-navigation {
		width: 100%;
	}

	.room-button {
		min-height: 36px;
		padding: 7px 10px;
		font-size: 14px;
	}

	.program-scroll {
		padding: 20px 11px 45px;
	}

	.program-heading {
		margin-bottom: 10px;
	}

	.program-heading h2 {
		font-size: 19px;
	}

	.program-heading h2 i {
		font-size: 19px;
	}

	.program-count {
		font-size: 12px;
	}

	.program-location {
		margin-bottom: 19px;
		font-size: 13px;
	}

	.session {
		margin-bottom: 8px;
	}

	.session-card-content {
		grid-template-columns: 49px minmax(0, 1fr) 25px;
		gap: 9px;
		padding: 12px 10px;
		min-height: 66px;
	}

	.session-time {
		font-size: 15px;
		padding: 0;
		text-align: left;
	}

	.session-main {
		min-width: 0;
	}

	.session-type {
		font-size: 10px;
		letter-spacing: .8px;
		margin-bottom: 4px;
	}

	.session-title {
		font-size: 17px;
		margin: 0;
		line-height: 1.22;
	}

	.session-meta {
		font-size: 12px;
		gap: 4px 10px;
		margin-top: 6px;
	}

	.session-action {
		width: 25px;
		height: 25px;
		font-size: 13px;
	}

	.detail-pane {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100dvh;
		z-index: 100;
		transform: translateX(100%);
		transition: transform .25s ease;
		visibility: hidden;
	}

	.workspace-body.detail-open .detail-pane {
		width: 100%;
		flex-basis: auto;
		transform: translateX(0);
		visibility: visible;
	}

	.detail-title {
		font-size: 27px;
	}

	.detail-info {
		font-size: 16px;
	}

	.lecture-title {
		font-size: 18px;
	}
}

/* REDUCED MOTION */

@media(prefers-reduced-motion: reduce) {

	* {
		transition-duration: 0s !important;
	}
}
