:root {
	--xp-blue-dark: #245edc;
	--xp-blue-medium: #3b88fd;
	--xp-blue-light: #73b3ff;
	--xp-green-start: #329632;
	--xp-green-light: #9bdc9b;
	--xp-grey-dark: #4a4a4a;
	--xp-grey-medium: #d4d0c8;
	--xp-grey-light: #eff3f7;
	--xp-border-dark: #0055ea;
	--xp-border-light: #a9a9a9;
	--xp-font-color: #000000;
	--xp-window-bg: #ece9d8;
	--xp-sidebar-bg: #e7f1fe;
	--xp-active-title-bg: linear-gradient(to bottom, #0058ee 0%, #3593ff 4%, #288eff 18%, #127dff 20%, #0369fc 39%, #0262ee 41%, #0057e5 100%);
	--xp-inactive-title-bg: linear-gradient(to bottom, #7697e7 0%, #7e9ee3 3%, #94afe8 6%, #97b4e9 8%, #82a5e4 14%, #7c9fe2 17%, #7f96e2 25%, #7b94df 56%, #6a82d5 81%, #657ecf 89%, #6882d9 100%);
	--xp-active-title-text: #ffffff;
	--xp-inactive-title-text: #d8e4f8;
	--xp-button-bg: #ece9d8;
	--xp-button-hover: #f5f4ef;
	--xp-selection-blue: #316ac5;
	--xp-selection-text: #ffffff;
	--xp-taskbar-height: 36px;
	--xp-window-radius: 5px;
	--xp-window-border-width: 1px;
	--xp-window-header-height: 30px;
	--xp-window-header-align: left;
	--xp-scrollbar-width: 16px;
	--xp-inactive-window-opacity: 1;
	--xp-icon-grid-gap-x: 10px;
	--xp-icon-grid-gap-y: 10px;
	--xp-icon-label-color: #ffffff;
	--xp-icon-label-bg: transparent;
	--xp-icon-label-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
	--xp-icon-label-align: center;
	--xp-icon-label-lines: 2;
	--xp-selection-box-bg: rgba(49, 106, 197, 0.3);
	--xp-selection-box-border: #316ac5;
	--xp-taskbar-btn-min-width: 36px;
	--xp-taskbar-btn-max-width: 155px;
}

body.crt-flicker::after {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(18, 16, 16, 0.02);
	opacity: 0;
	z-index: 99999;
	pointer-events: none;
	animation: crtFlickerAnim 0.12s infinite;
}

@keyframes crtFlickerAnim {
	0% { opacity: 0.015; }
	50% { opacity: 0.045; }
	100% { opacity: 0.015; }
}

body.single-click-mode .project-icon:hover span {
	text-decoration: underline;
	cursor: pointer;
}

body.font-tahoma {
	font-family: 'Tahoma', 'Segoe UI', sans-serif !important;
}

body.font-trebuchet {
	font-family: 'Trebuchet MS', sans-serif !important;
}

body.font-sans {
	font-family: Arial, Helvetica, sans-serif !important;
}

body.font-segoe {
	font-family: 'Segoe UI', Tahoma, sans-serif !important;
}

body.font-comic {
	font-family: 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif !important;
}

body.font-scale-large {
	font-size: 16px !important;
}

body.font-scale-xlarge {
	font-size: 18px !important;
}

body.icon-size-small .project-icon {
	width: 60px;
	min-height: 55px;
}
body.icon-size-small .project-icon img {
	width: 32px;
	height: 32px;
}

body.icon-size-large .project-icon {
	width: 95px;
	min-height: 90px;
}
body.icon-size-large .project-icon img {
	width: 56px;
	height: 56px;
}

body.icon-no-shadow .project-icon {
	text-shadow: none !important;
}

body.icon-label-bg .project-icon span {
	background-color: rgba(0, 0, 0, 0.45);
	border-radius: 2px;
}

body.wallpaper-fit-cover #desktop {
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
}

body.wallpaper-fit-stretch #desktop {
	background-size: 100% 100% !important;
	background-repeat: no-repeat !important;
	background-position: 0 0 !important;
}

body.wallpaper-fit-center #desktop {
	background-size: auto !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
}

body.wallpaper-fit-tile #desktop {
	background-size: auto !important;
	background-repeat: repeat !important;
	background-position: top left !important;
}

body.wallpaper-fit-fit #desktop {
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
}

body.anim-fast .xp-window.opening,
body.anim-fast .xp-window.minimizing,
body.anim-fast .xp-window.maximizing {
	transition-duration: 0.12s !important;
}

body.anim-slow .xp-window.opening,
body.anim-slow .xp-window.minimizing,
body.anim-slow .xp-window.maximizing {
	transition-duration: 0.5s !important;
}

body.no-window-animations .xp-window.opening,
body.no-window-animations .xp-window.minimizing,
body.no-window-animations .xp-window.maximizing {
	transition: none !important;
}

.xp-avatar-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 6px;
	padding: 6px;
	background: #ffffff;
	border: 1px solid var(--xp-border-dark);
	max-height: 110px;
	overflow-y: auto;
}

.xp-avatar-item {
	width: 36px;
	height: 36px;
	border: 2px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2px;
}

.xp-avatar-item:hover {
	border-color: var(--xp-blue-light);
	background: #e8f0fe;
}

.xp-avatar-item.selected {
	border-color: var(--xp-selection-blue);
	background: var(--xp-selection-blue);
}

.tray-battery-percentage {
	font-size: 8px;
	font-weight: bold;
	color: #ffffff;
	line-height: 1;
	margin-left: 2px;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
}

.xp-battery-gauge-frame {
	width: 120px;
	height: 20px;
	background: #ffffff;
	border: 2px inset #ffffff;
	position: relative;
	overflow: hidden;
	box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.xp-battery-gauge-fill {
	height: 100%;
	transition: width 0.3s ease, background-color 0.3s ease;
}

.xp-start-flyout-item[data-type="project"] img,
.xp-start-project-icon {
	border: 1px solid #7f9db9 !important;
	background: #ffffff28 !important;
	padding: 2px !important;
	border-radius: 3px !important;
	box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.45) !important;
	transform: perspective(300px) rotateX(-15deg) rotateY(36.5deg) rotateZ(0deg) !important;
	transition: none !important;
}

.markdown-preview-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: #ece9d8;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	user-select: none;
	box-sizing: border-box;
	overflow: hidden;
}

.markdown-preview-toolbar {
	display: flex;
	align-items: center;
	padding: 2px 6px;
	background: linear-gradient(to bottom, #ffffff 0%, #ece9d8 100%);
	border-bottom: 1px solid #aca899;
	gap: 4px;
	flex-shrink: 0;
}

.markdown-preview-viewport {
	flex: 1;
	background: #ffffff;
	border: 2px inset #ffffff;
	margin: 4px;
	overflow-y: auto;
	padding: 18px 24px;
	box-sizing: border-box;
	user-select: text;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.6;
}

.markdown-rendered-body h1,
.markdown-rendered-body h2,
.markdown-rendered-body h3,
.markdown-rendered-body h4 {
	color: #0b3b7a;
	margin-top: 18px;
	margin-bottom: 8px;
	border-bottom: 1px solid #dcdfe5;
	padding-bottom: 4px;
}

.markdown-rendered-body h1 { font-size: 20px; }
.markdown-rendered-body h2 { font-size: 17px; }
.markdown-rendered-body h3 { font-size: 14px; }
.markdown-rendered-body h4 { font-size: 12px; }

.markdown-rendered-body p {
	margin: 0 0 10px 0;
	font-size: 13px;
}

.markdown-rendered-body blockquote {
	margin: 10px 0;
	padding: 6px 14px;
	background: #f4f8ff;
	border-left: 4px solid #316ac5;
	color: #333333;
	font-style: italic;
}

.markdown-rendered-body table {
	border-collapse: collapse;
	width: 100%;
	margin: 12px 0;
	font-size: 12px;
}

.markdown-rendered-body table th,
.markdown-rendered-body table td {
	border: 1px solid #aca899;
	padding: 6px 8px;
	text-align: left;
}

.markdown-rendered-body table th {
	background: #ece9d8;
	font-weight: bold;
}

.markdown-rendered-body pre {
	background: #0f1622;
	color: #00ff66;
	padding: 10px;
	border-radius: 3px;
	overflow-x: auto;
	font-family: 'Lucida Console', Consolas, monospace;
	font-size: 12px;
	line-height: 1.35;
	border: 1px solid #3b4d6a;
}

.markdown-rendered-body code {
	background: #f0ede0;
	padding: 2px 4px;
	border-radius: 2px;
	font-family: 'Lucida Console', Consolas, monospace;
	font-size: 12px;
	color: #b00020;
}

.markdown-rendered-body pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}

.markdown-rendered-body .katex-display {
	margin: 12px 0;
	padding: 8px;
	background: #f9fbfd;
	border: 1px solid #e0e8f6;
	border-radius: 3px;
	overflow-x: auto;
}

.markdown-rendered-body ul,
.markdown-rendered-body ol {
	margin: 6px 0 10px 24px;
	font-size: 13px;
}

.markdown-rendered-body li {
	margin-bottom: 4px;
}

.markdown-task-checkbox {
	margin-right: 6px;
	vertical-align: middle;
}

.xp-avatar-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 3px;
}

.dclick-test-area {
	width: 100%;
	height: 85px;
	background: #ffffff;
	border: 1px solid var(--xp-border-dark);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	user-select: none;
	margin-top: 6px;
}

.dclick-test-icon {
	width: 38px;
	height: 38px;
	transition: transform 0.15s ease;
}

.dclick-test-icon.popped {
	transform: scale(1.2) rotate(-6deg);
}

.sound-test-grid {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-height: 130px;
	overflow-y: auto;
	background: #ffffff;
	border: 1px solid var(--xp-border-dark);
	padding: 4px;
}

.sound-test-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 3px 6px;
	font-size: 11px;
}

.sound-test-row:hover {
	background-color: #f0f4fc;
}

.theme-preview-box {
	height: 48px;
	border: 1px solid #777;
	border-radius: 3px 3px 0 0;
	margin-bottom: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.theme-preview-titlebar {
	height: 18px;
	display: flex;
	align-items: center;
	padding: 0 6px;
	font-size: 10px;
	font-weight: bold;
	color: #ffffff;
}

.theme-preview-body {
	flex-grow: 1;
	background: #ece9d8;
	padding: 4px 6px;
	font-size: 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.crt-scanlines {
	position: relative;
}

.crt-scanlines::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0.03) 50%,
		rgba(0, 0, 0, 0.1) 50%
	);
	background-size: 100% 4px;
	pointer-events: none;
	z-index: 100;
}

.crt-effect::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at center, rgba(0,0,0,0) 75%, rgba(0,0,0,0.3) 100%);
	pointer-events: none;
	z-index: 9999;
}

body {
	margin: 0;
	font-family: 'Roboto Mono', monospace;
	overflow: hidden;
	background: #000000;
	color: var(--xp-font-color);
	font-size: 14px;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

#screen-frame {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background: var(--xp-blue-dark);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	transition: width 0.25s ease, height 0.25s ease, border-radius 0.25s ease, box-shadow 0.25s ease;
	z-index: 1;
}

body.crt-aspect-4-3 #screen-frame {
	position: relative;
	width: min(100vw, calc(100vh * 4 / 3));
	height: min(100vh, calc(100vw * 3 / 4));
	aspect-ratio: 4 / 3;
	margin: auto;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.95), 0 0 100px rgba(0, 0, 0, 0.9);
}

body.crt-res-1024x768 #screen-frame {
	position: relative;
	width: 1024px;
	height: 768px;
	max-width: 100vw;
	max-height: 100vh;
	aspect-ratio: 4 / 3;
	margin: auto;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.95);
}

body.crt-res-800x600 #screen-frame {
	position: relative;
	width: 800px;
	height: 600px;
	max-width: 100vw;
	max-height: 100vh;
	aspect-ratio: 4 / 3;
	margin: auto;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.95);
}

body.crt-res-640x480 #screen-frame {
	position: relative;
	width: 640px;
	height: 480px;
	max-width: 100vw;
	max-height: 100vh;
	aspect-ratio: 4 / 3;
	margin: auto;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.95);
}

body.crt-curvature-active #screen-frame {
	border-radius: var(--crt-corner-radius, 14px);
	transform: perspective(1000px) scale(0.982);
	box-shadow:
		inset 0 0 70px rgba(0, 0, 0, 0.65),
		inset 0 0 16px rgba(0, 0, 0, 0.9),
		0 0 0 10px var(--crt-bezel-color, #161616),
		0 0 0 14px #0a0a0a,
		0 0 45px rgba(0, 0, 0, 0.98);
}

body.crt-curvature-active #screen-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 99998;
	background:
		radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, 0.4) 88%, rgba(0, 0, 0, 0.82) 100%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 0.15) 100%);
	border-radius: var(--crt-corner-radius, 14px);
}

body.crt-curvature-active #screen-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 99999;
	box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7);
	border-radius: var(--crt-corner-radius, 14px);
}

body.crt-filter-applied #screen-frame {
	filter: url(#crt-barrel-filter);
}

#desktop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% - var(--xp-taskbar-height, 36px));
	background-color: var(--xp-blue-dark);
	overflow: hidden;
	z-index: 0;
}

.desktop-wallpaper-layer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	pointer-events: none;
	opacity: 0;
	z-index: 0;
	transform-origin: center center;
	will-change: opacity, transform;
}

.desktop-wallpaper-layer.active {
	opacity: 1;
	z-index: 1;
}

.desktop-wallpaper-layer.trans-fade-in {
	animation: wpFadeIn var(--wp-trans-duration, 1s) cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

.desktop-wallpaper-layer.trans-slide-left-in {
	animation: wpSlideLeftIn var(--wp-trans-duration, 1s) cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.desktop-wallpaper-layer.trans-slide-right-in {
	animation: wpSlideRightIn var(--wp-trans-duration, 1s) cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.desktop-wallpaper-layer.trans-slide-up-in {
	animation: wpSlideUpIn var(--wp-trans-duration, 1s) cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.desktop-wallpaper-layer.trans-slide-down-in {
	animation: wpSlideDownIn var(--wp-trans-duration, 1s) cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.desktop-wallpaper-layer.trans-zoom-in {
	animation: wpZoomIn var(--wp-trans-duration, 1s) cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.desktop-wallpaper-layer.trans-zoom-out {
	animation: wpZoomOut var(--wp-trans-duration, 1s) cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.desktop-wallpaper-layer.trans-rotate-in {
	animation: wpRotateIn var(--wp-trans-duration, 1s) cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes wpFadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes wpSlideLeftIn {
	0% { opacity: 0; transform: translateX(100%); }
	100% { opacity: 1; transform: translateX(0); }
}

@keyframes wpSlideRightIn {
	0% { opacity: 0; transform: translateX(-100%); }
	100% { opacity: 1; transform: translateX(0); }
}

@keyframes wpSlideUpIn {
	0% { opacity: 0; transform: translateY(100%); }
	100% { opacity: 1; transform: translateY(0); }
}

@keyframes wpSlideDownIn {
	0% { opacity: 0; transform: translateY(-100%); }
	100% { opacity: 1; transform: translateY(0); }
}

@keyframes wpZoomIn {
	0% { opacity: 0; transform: scale(1.18); }
	100% { opacity: 1; transform: scale(1); }
}

@keyframes wpZoomOut {
	0% { opacity: 0; transform: scale(0.82); }
	100% { opacity: 1; transform: scale(1); }
}

@keyframes wpRotateIn {
	0% { opacity: 0; transform: scale(0.85) rotate(-8deg); }
	100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

body.taskbar-autohide #desktop {
	height: 100% !important;
}

#window-area {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 50;
}

#window-area > * {
	pointer-events: auto;
}

#taskbar {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: var(--xp-taskbar-height, 36px);
	background: linear-gradient(to bottom, #245edc 0%, #3f8cf3 9%, #245edc 18%, #245edc 92%, #1941a5 100%);
	border-top: 1px solid #143585;
	display: flex;
	align-items: center;
	padding: 0;
	box-sizing: border-box;
	z-index: 50000;
	font-family: 'Tahoma', 'Segoe UI', sans-serif;
	font-size: 11px;
	user-select: none;
	overflow: visible;
}

.xp-taskbar-start {
	height: var(--xp-taskbar-height, 36px);
	padding: 0 12px 0 6px;
	margin: 0;
	background: radial-gradient(circle at 10px 10px, #5cb85c 0%, #388a38 35%, #246824 85%, #184c18 100%);
	border: none;
	border-radius: 0 8px 8px 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.6), 2px 0 4px rgba(0, 0, 0, 0.35);
	position: relative;
	overflow: hidden;
	flex-shrink: 0;
}

.xp-taskbar-start::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.05) 100%);
	border-radius: 0 8px 0 0;
	pointer-events: none;
}

.xp-taskbar-start:hover {
	filter: brightness(1.1);
}

.xp-taskbar-start:active,
.xp-taskbar-start.active {
	background: radial-gradient(circle at 10px 10px, #2a732a 0%, #1e5e1e 50%, #154515 100%);
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.xp-start-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));
}

.windows-logo {
	height: 18px;
	width: auto;
}

.xp-start-text {
	font-family: 'Trebuchet MS', 'Franklin Gothic Medium', sans-serif;
	font-size: 14px;
	font-weight: 900;
	font-style: italic;
	color: #ffffff;
	text-shadow: 1px 1px 2px #0f360f, 0 0 4px rgba(255, 255, 255, 0.3);
	letter-spacing: 0.5px;
}

.quick-launch {
	display: flex;
	align-items: center;
	padding: 0 4px 0 6px;
	height: 100%;
	position: relative;
	gap: 2px;
	flex-shrink: 0;
	user-select: none;
}

.quick-launch-handle {
	width: 3px;
	height: 22px;
	border-left: 1px solid rgba(255, 255, 255, 0.5);
	border-right: 1px solid rgba(0, 0, 0, 0.35);
	margin-right: 4px;
	cursor: ew-resize;
	flex-shrink: 0;
}

body.taskbar-locked .quick-launch-handle {
	display: none;
}

body.taskbar-autohide #taskbar {
	transform: translateY(calc(100% - 3px));
	transition: transform 0.2s ease-in-out;
}

body.taskbar-autohide #taskbar:hover {
	transform: translateY(0);
}

body.taskbar-size-small {
	--xp-taskbar-height: 30px;
}
body.taskbar-size-small .xp-taskbar-start {
	height: 30px;
	padding: 0 10px 0 6px;
}
body.taskbar-size-small .windows-logo {
	height: 16px;
}
body.taskbar-size-small .xp-start-text {
	font-size: 13px;
}
body.taskbar-size-small .quick-launch-icon-wrapper {
	width: 24px;
	height: 24px;
}
body.taskbar-size-small .quick-launch-icon {
	width: 18px;
	height: 18px;
}
body.taskbar-size-small .taskbar-window-btn {
	height: 24px;
	font-size: 11px;
}
body.taskbar-size-small .taskbar-btn-icon {
	width: 16px;
	height: 16px;
}

body.taskbar-size-medium {
	--xp-taskbar-height: 36px;
}
body.taskbar-size-medium .xp-taskbar-start {
	height: 36px;
	padding: 0 13px 0 8px;
}
body.taskbar-size-medium .windows-logo {
	height: 20px;
}
body.taskbar-size-medium .xp-start-text {
	font-size: 15px;
}
body.taskbar-size-medium .quick-launch-icon-wrapper {
	width: 28px;
	height: 28px;
}
body.taskbar-size-medium .quick-launch-icon {
	width: 22px;
	height: 22px;
}
body.taskbar-size-medium .taskbar-window-btn {
	height: 28px;
	font-size: 11px;
}
body.taskbar-size-medium .taskbar-btn-icon {
	width: 18px;
	height: 18px;
}
body.taskbar-size-medium .tray-icon-item {
	width: 20px;
	height: 20px;
}
body.taskbar-size-medium .tray-icon-item img {
	width: 16px;
	height: 16px;
}

body.taskbar-size-large {
	--xp-taskbar-height: 44px;
}
body.taskbar-size-large .xp-taskbar-start {
	height: 44px;
	padding: 0 16px 0 10px;
}
body.taskbar-size-large .windows-logo {
	height: 24px;
}
body.taskbar-size-large .xp-start-text {
	font-size: 17px;
}
body.taskbar-size-large .quick-launch-icon-wrapper {
	width: 34px;
	height: 34px;
}
body.taskbar-size-large .quick-launch-icon {
	width: 26px;
	height: 26px;
}
body.taskbar-size-large .taskbar-window-btn {
	height: 34px;
	font-size: 12px;
}
body.taskbar-size-large .taskbar-btn-icon {
	width: 20px;
	height: 20px;
}
body.taskbar-size-large .tray-icon-item {
	width: 24px;
	height: 24px;
}
body.taskbar-size-large .tray-icon-item img {
	width: 18px;
	height: 18px;
}
body.taskbar-size-large #taskbar-clock {
	font-size: 11px;
}

.quick-launch-icon-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 3px;
	cursor: pointer;
	border: 1px solid transparent;
	box-sizing: border-box;
	transition: background-color 0.1s, border-color 0.1s;
}

.quick-launch-icon-wrapper:hover {
	background: rgba(255, 255, 255, 0.22);
	border-color: rgba(255, 255, 255, 0.45);
}

.quick-launch-icon-wrapper:active {
	background: rgba(0, 0, 0, 0.3);
	border-color: rgba(0, 0, 0, 0.45);
}

.quick-launch-icon-wrapper.ql-dragging {
	opacity: 0.35;
	transform: scale(0.92);
}

.quick-launch-icon-wrapper.ql-drop-before {
	border-left: 2px solid #ffffff !important;
}

.quick-launch-icon-wrapper.ql-drop-after {
	border-right: 2px solid #ffffff !important;
}

.quick-launch.ql-drop-target-active {
	background: rgba(255, 255, 255, 0.12);
	outline: 1px dashed rgba(255, 255, 255, 0.6);
}

.quick-launch-icon {
	width: 22px;
	height: 22px;
	object-fit: contain;
	pointer-events: none;
}

.taskbar-divider {
	width: 2px;
	height: 22px;
	border-left: 1px solid rgba(0, 0, 0, 0.25);
	border-right: 1px solid rgba(255, 255, 255, 0.35);
	margin: 0 4px;
	flex-shrink: 0;
}

#taskbar-windows {
	flex-grow: 1;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 3px;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 0 4px;
}

#taskbar-windows::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.xp-mobile-dialog-overlay {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(2px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.xp-mobile-dialog-window {
	width: 100%;
	max-width: 460px;
	background: #ece9d8;
	border: 2px solid #0055ea;
	border-radius: 6px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	box-sizing: border-box;
}

.xp-mobile-dialog-header {
	height: 30px;
	background: var(--xp-active-title-bg);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px;
	font-weight: bold;
	font-size: 12px;
	text-shadow: 1px 1px 1px #000;
	flex-shrink: 0;
}

.xp-mobile-dialog-body {
	padding: 16px;
	background: #ece9d8;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	font-size: 12px;
	line-height: 1.45;
	color: #000000;
	box-sizing: border-box;
}

.xp-mobile-dialog-icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.xp-mobile-dialog-footer {
	padding: 10px 14px;
	background: #ece9d8;
	border-top: 1px solid #d4d0c8;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: wrap;
}

.xp-mobile-dialog-footer .xp-button {
	min-width: 90px;
	height: 26px;
	font-size: 12px;
}

#taskbar-system-tray {
	height: 100%;
	display: flex;
	align-items: center;
	background: linear-gradient(to bottom, #0c59b2 0%, #106ad2 10%, #136bd5 88%, #0e4c96 100%);
	border-left: 1px solid #143585;
	box-shadow: inset 1px 0 2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	padding: 0 8px 0 4px;
	gap: 4px;
	flex-shrink: 0;
	color: #ffffff;
}

.tray-chevron {
	width: 14px;
	height: 18px;
	background: var(--xp-btn-window-bg);
	border: 1px solid var(--xp-btn-window-border);
	border-radius: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #ffffff;
	font-size: 9px;
	padding: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.tray-chevron:hover {
	filter: brightness(1.15);
}

.tray-chevron.expanded .tray-chevron-arrow {
	transform: rotate(180deg);
}

.tray-chevron-arrow {
	display: inline-block;
	transition: transform 0.15s ease;
	line-height: 1;
}

.tray-hidden-icons {
	display: flex;
	align-items: center;
	gap: 4px;
}

.tray-hidden-icons.hidden {
	display: none;
}

.tray-icon-item {
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 2px;
	position: relative;
	flex-shrink: 0;
	box-sizing: border-box;
	border: 1px solid transparent;
}

.tray-icon-item:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.35);
}

.tray-icon-item:active {
	background: rgba(0, 0, 0, 0.25);
}

.tray-icon-item img {
	width: 15px;
	height: 15px;
	object-fit: contain;
	pointer-events: none;
}

.tray-lang-indicator {
	font-family: 'Tahoma', sans-serif;
	font-size: 10px;
	font-weight: bold;
	color: #ffffff;
	line-height: 1;
	padding: 1px 3px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(0, 0, 0, 0.15);
	border-radius: 2px;
}

.tray-icon-badge {
	position: absolute;
	top: -3px;
	right: -3px;
	background: #cc2222;
	color: #ffffff;
	font-size: 8px;
	font-weight: bold;
	border-radius: 6px;
	padding: 1px 3px;
	line-height: 1;
	pointer-events: none;
}

.tray-icon-badge.hidden {
	display: none;
}

.xp-tray-dialog-panel {
	position: fixed;
	background: #ece9d8;
	border: 2px outset #ffffff;
	box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.5);
	z-index: 55000;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	color: #000000;
	box-sizing: border-box;
	user-select: none;
}

.xp-tray-dialog-panel.hidden {
	display: none !important;
}

.xp-hardware-list {
	background: #ffffff;
	border: 2px inset #ffffff;
	max-height: 130px;
	overflow-y: auto;
	margin: 6px 0;
	padding: 2px;
}

.xp-hardware-item {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 3px 6px;
	cursor: pointer;
	font-size: 11px;
}

.xp-hardware-item:hover {
	background: #e8f0fe;
}

.xp-hardware-item.selected {
	background: var(--xp-selection-blue);
	color: #ffffff;
}

.xp-hardware-item img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.xp-netstatus-grid {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 4px;
	padding: 6px 8px;
	background: #ffffff;
	border: 2px inset #ffffff;
	margin: 6px 0;
	font-size: 11px;
}

.xp-security-status-card {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px;
	background: #ffffff;
	border: 1px solid #d4d0c8;
	margin-bottom: 6px;
}

.xp-security-status-card img {
	width: 24px;
	height: 24px;
}

#taskbar-clock {
	padding: 0 6px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 10px;
	line-height: 1.15;
	color: #ffffff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
	cursor: pointer;
	text-align: center;
	min-width: 54px;
}

.taskbar-clock-time {
	font-weight: normal;
}

.taskbar-clock-date {
	font-size: 9px;
	opacity: 0.9;
}

.xp-volume-popup {
	position: fixed;
	width: 94px;
	background: #ece9d8;
	border: 2px outset #ffffff;
	box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.45);
	z-index: 55000;
	padding: 6px;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	user-select: none;
}

.xp-volume-popup.hidden {
	display: none !important;
}

.xp-volume-header {
	font-size: 11px;
	font-weight: bold;
	color: #000000;
	margin-bottom: 6px;
	text-align: center;
	width: 100%;
	border-bottom: 1px solid #aca899;
	padding-bottom: 3px;
}

.xp-volume-label {
	font-size: 10px;
	color: #444444;
	margin-bottom: 4px;
}

.xp-volume-body {
	height: 114px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 0 8px;
	background: #f5f4ef;
	border: 1px inset #ffffff;
	margin-bottom: 6px;
}

.xp-volume-ticks {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 90px;
	margin-right: 4px;
}

.xp-volume-tick {
	width: 4px;
	height: 1px;
	background: #808080;
}

.xp-vertical-slider {
	writing-mode: bt-lr;
	-webkit-appearance: slider-vertical;
	appearance: slider-vertical;
	width: 12px;
	height: 96px;
	cursor: pointer;
}

.xp-volume-footer {
	font-size: 11px;
	border-top: 1px solid #aca899;
	padding-top: 5px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.xp-volume-footer label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
}

.xp-taskbar-preview {
	position: fixed;
	width: 160px;
	background: #ffffff;
	border: 1px solid var(--xp-border-dark);
	border-radius: 4px;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.45);
	z-index: 55000;
	padding: 4px;
	font-family: 'Tahoma', sans-serif;
	font-size: 11px;
	pointer-events: none;
	user-select: none;
}

.xp-taskbar-preview.hidden {
	display: none;
}

.xp-preview-header {
	display: flex;
	align-items: center;
	gap: 4px;
	font-weight: bold;
	color: #0b3b7a;
	padding-bottom: 4px;
	border-bottom: 1px solid #e0e0e0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.xp-preview-header img {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.xp-preview-header span {
	overflow: hidden;
	text-overflow: ellipsis;
}

.xp-preview-body {
	margin-top: 4px;
	height: 60px;
	background: #f0f4fa;
	border: 1px solid #c5d5ec;
	border-radius: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 4px;
	box-sizing: border-box;
}

.xp-preview-placeholder span {
	font-size: 10px;
	color: #555555;
}

.xp-taskbar-balloon-container {
	position: fixed;
	bottom: 34px;
	right: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 60000;
	pointer-events: none;
}

.xp-taskbar-balloon {
	width: 220px;
	background: #ffffe1;
	border: 1px solid #000000;
	border-radius: 4px;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
	padding: 8px;
	font-family: 'Tahoma', sans-serif;
	font-size: 11px;
	color: #000000;
	pointer-events: auto;
	position: relative;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.xp-taskbar-balloon.fading {
	opacity: 0;
	transform: translateY(6px);
}

.xp-balloon-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 4px;
}

.xp-balloon-icon {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.xp-balloon-close {
	background: none;
	border: none;
	font-size: 12px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
	padding: 0 2px;
	color: #666666;
}

.xp-balloon-close:hover {
	color: #000000;
}

.xp-balloon-body {
	line-height: 1.35;
	font-size: 11px;
	word-break: break-word;
}

.xp-context-menu,
.xp-taskbar-menu,
.oe-context-menu {
	position: fixed;
	background: #ffffff;
	border: 1px solid #716f64;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
	padding: 2px;
	min-width: 175px;
	z-index: 100000;
	font-family: 'Tahoma', 'Segoe UI', sans-serif;
	font-size: 11px;
	user-select: none;
	box-sizing: border-box;
}

.xp-context-menu ul,
.xp-taskbar-menu ul,
.oe-context-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.xp-context-menu li,
.xp-taskbar-menu li,
.oe-context-menu li,
.oe-context-menu-item {
	padding: 3px 24px 3px 28px;
	cursor: pointer;
	color: #000000;
	position: relative;
	white-space: nowrap;
	display: flex;
	align-items: center;
	font-family: inherit;
	font-size: 11px;
	min-height: 18px;
	box-sizing: border-box;
}

.xp-context-menu li:hover,
.xp-taskbar-menu li:hover,
.oe-context-menu li:hover,
.oe-context-menu-item:hover {
	background-color: var(--xp-selection-blue);
	color: #ffffff !important;
}

.xp-context-menu li:hover .xp-menu-arrow,
.xp-context-menu li:hover .xp-menu-shortcut,
.xp-context-menu li:hover .xp-menu-icon,
.xp-context-menu li:hover .xp-menu-check {
	color: #ffffff !important;
}

.xp-context-menu li.default-action,
.xp-taskbar-menu li.default-action {
	font-weight: bold;
}

.xp-context-menu li.disabled,
.xp-taskbar-menu li.disabled,
.oe-context-menu li.disabled {
	color: #888888 !important;
	pointer-events: none;
	text-shadow: 1px 1px 0 #ffffff;
}

.xp-context-menu li.disabled:hover,
.xp-taskbar-menu li.disabled:hover,
.oe-context-menu li.disabled:hover {
	background: transparent !important;
	color: #888888 !important;
}

.xp-context-menu li.separator,
.xp-taskbar-menu li.separator,
.oe-context-menu-separator,
.oe-context-menu li.separator {
	height: 1px;
	background: #d4d0c8;
	border-bottom: 1px solid #ffffff;
	margin: 3px 2px;
	padding: 0;
	pointer-events: none;
}

.xp-menu-icon {
	position: absolute;
	left: 6px;
	width: 16px;
	height: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	color: #000000;
	pointer-events: none;
}

.xp-menu-check {
	position: absolute;
	left: 6px;
	width: 16px;
	height: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: bold;
	color: #000000;
	pointer-events: none;
}

.xp-menu-icon img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.xp-menu-label {
	flex-grow: 1;
}

.xp-menu-shortcut {
	margin-left: 20px;
	color: #666666;
	font-size: 10px;
}

.xp-menu-arrow {
	position: absolute;
	right: 6px;
	font-size: 8px;
	color: #333333;
}

body.theme-classic .xp-context-menu {
	background: #d4d0c8;
	border: 2px outset #ffffff;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
	padding: 2px;
}

body.theme-classic .xp-context-menu li.separator {
	border-top: 1px solid #808080;
	border-bottom: 1px solid #ffffff;
	background: transparent;
}

body.theme-zune .xp-context-menu {
	background: #242424;
	border: 1px solid #f35b04;
	color: #ffffff;
}

body.theme-zune .xp-context-menu li {
	color: #ffffff;
}

body.theme-zune .xp-context-menu .xp-menu-icon,
body.theme-zune .xp-context-menu .xp-menu-arrow,
body.theme-zune .xp-context-menu .xp-menu-check {
	color: #ffffff;
}

body.theme-zune .xp-context-menu li.separator {
	background: #444444;
	border-bottom: 1px solid #2a2a2a;
}

.xp-button {
	background: var(--xp-button-bg);
	border: 1px solid;
	border-color: var(--xp-border-light) var(--xp-grey-dark) var(--xp-grey-dark) var(--xp-border-light);
	padding: 3px 6px;
	font-size: 14px;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 23px;
}

.xp-button:hover {
	background: var(--xp-button-hover);
}

.xp-button:active {
	border-color: var(--xp-grey-dark) var(--xp-border-light) var(--xp-border-light) var(--xp-grey-dark);
	background: var(--xp-button-hover);
}

.xp-button-small {
	background: var(--xp-button-bg);
	border: 1px solid;
	border-color: var(--xp-border-light) var(--xp-grey-dark) var(--xp-grey-dark) var(--xp-border-light);
	padding: 1px 4px;
	font-size: 10px;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 20px;
}

.xp-button-small:hover {
	background: var(--xp-button-hover);
}

.xp-button-small:active {
	border-color: var(--xp-grey-dark) var(--xp-border-light) var(--xp-border-light) var(--xp-grey-dark);
	background: var(--xp-button-hover);
}

.xp-window {
	position: absolute;
	background-color: var(--xp-window-bg);
	border: var(--xp-window-border-width, 1px) solid var(--xp-border-dark);
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
	min-width: 200px;
	min-height: 100px;
	resize: none;
	overflow: hidden;
	z-index: 100;
	display: flex;
	border-radius: var(--xp-window-radius, 5px);
	flex-direction: column;
	transition: opacity 0.15s ease;
}

.xp-window.window-inactive {
	opacity: var(--xp-inactive-window-opacity, 1);
}

.xp-window-header {
	background: var(--xp-active-title-bg);
	height: var(--xp-window-header-height, 30px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 5px;
	color: var(--xp-active-title-text, #ffffff);
	font-weight: bold;
	cursor: grab;
	user-select: none;
	flex-shrink: 0;
	border-radius: var(--xp-window-radius, 5px) var(--xp-window-radius, 5px) 0 0;
	text-shadow: 1px 1px 1px #000;
	font-family: 'Trebuchet MS', sans-serif;
	font-size: 13px;
	overflow: hidden;
}

.xp-window-header.inactive {
	background: var(--xp-inactive-title-bg);
	color: var(--xp-inactive-title-text, #d8e4f8);
	text-shadow: none;
}

.xp-window-header .title {
	flex-grow: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 13px;
	font-family: Arial, sans-serif;
	text-align: var(--xp-window-header-align, left);
}

.xp-window-buttons {
	display: flex;
	gap: 3px;
	margin-right: 2px;
}

.xp-window-button {
	width: 21px;
	height: 21px;
	background: linear-gradient(to bottom, #fff 0%, #e8eaec 10%, #dcdfe3 50%, #c6cad1 50%, #c8cdd3 100%);
	border: 1px solid #fff;
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
	font-family: sans-serif;
	font-size: 11px;
	color: #000;
	box-shadow: 0 0 1px #000;
	text-shadow: none;
	opacity: 0.8;
}

.xp-window-button:hover {
	background: linear-gradient(to bottom, #fff 0%, #e8eaec 10%, #dcdfe3 50%, #c6cad1 50%, #c8cdd3 100%);
	opacity: 1;
	filter: brightness(1.1);
}

.xp-window-button.close-btn {
	background: linear-gradient(to bottom, #e99e9b 0%, #e27d78 10%, #d75d56 50%, #c2403b 50%, #cf635f 100%);
	color: white;
	border-color: #fff;
}

.xp-window-button.close-btn:hover {
	background: linear-gradient(to bottom, #ecaba8 0%, #e78e89 10%, #de706a 50%, #d0534e 50%, #d97874 100%);
}

.xp-window-button.popout-btn {
	color: #0c327d;
	font-size: 10px;
}

.xp-window-button.popout-btn:hover {
	background: linear-gradient(to bottom, #ffffff 0%, #e0e8f6 45%, #b5d1f8 100%);
}

.xp-window-button.rollup-btn {
	color: #0c327d;
	font-size: 9px;
}

.xp-window-button:active {
	border-color: var(--xp-grey-dark) var(--xp-border-light) var(--xp-border-light) var(--xp-grey-dark);
}

.xp-window.window-rolled-up {
	height: var(--xp-window-header-height, 30px) !important;
	min-height: var(--xp-window-header-height, 30px) !important;
	resize: none !important;
}

.xp-window.window-rolled-up .xp-window-content {
	display: none !important;
}

.xp-window.window-detached {
	display: none !important;
}

.taskbar-window-btn.detached {
	border-style: dashed;
	opacity: 0.85;
}

.xp-snap-guide {
	position: fixed;
	pointer-events: none;
	z-index: 49998;
	display: none;
}

#xp-snap-guide-h {
	left: 0;
	width: 100vw;
	height: 1px;
	border-top: 1px dashed rgba(49, 106, 197, 0.85);
	box-shadow: 0 0 4px rgba(49, 106, 197, 0.6);
}

#xp-snap-guide-v {
	top: 0;
	width: 1px;
	height: 100vh;
	border-left: 1px dashed rgba(49, 106, 197, 0.85);
	box-shadow: 0 0 4px rgba(49, 106, 197, 0.6);
}

.xp-window-content {
	flex-grow: 1;
	padding: 10px;
	overflow-y: auto;
	overflow-x: hidden;
	color: var(--xp-font-color);
}

.xp-window-content::-webkit-scrollbar {
	width: var(--xp-scrollbar-width, 16px);
	height: var(--xp-scrollbar-width, 16px);
}

.xp-window-content::-webkit-scrollbar-track {
	background-color: var(--xp-grey-medium);
	border: 1px solid var(--xp-border-light);
	box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
}

.xp-window-content::-webkit-scrollbar-thumb {
	background-color: var(--xp-button-bg);
	border: 1px solid;
	border-color: var(--xp-border-light) var(--xp-grey-dark) var(--xp-grey-dark) var(--xp-border-light);
	box-shadow: inset -1px -1px #808080, inset 1px 1px #ffffff;
}

.xp-window-content::-webkit-scrollbar-thumb:hover {
	background-color: var(--xp-button-hover);
}

.xp-window-content::-webkit-scrollbar-button {
	background-color: var(--xp-button-bg);
	border: 1px solid;
	border-color: var(--xp-border-light) var(--xp-grey-dark) var(--xp-grey-dark) var(--xp-border-light);
	height: 16px;
	width: 16px;
	cursor: pointer;
}

.xp-window-content::-webkit-scrollbar-button:hover {
	background-color: var(--xp-button-hover);
}

.xp-window-content::-webkit-scrollbar-button:vertical:decrement {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23000"><polygon points="8 4 4 12 12 12"></polygon></svg>');
	background-repeat: no-repeat;
	background-position: center;
	transform: rotate(180deg);
}
.xp-window-content::-webkit-scrollbar-button:vertical:increment {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23000"><polygon points="8 4 4 12 12 12"></polygon></svg>');
	background-repeat: no-repeat;
	background-position: center;
}
.xp-window-content::-webkit-scrollbar-button:horizontal:decrement {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23000"><polygon points="4 8 12 4 12 12"></polygon></svg>');
	background-repeat: no-repeat;
	background-position: center;
	transform: rotate(180deg);
}
.xp-window-content::-webkit-scrollbar-button:horizontal:increment {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23000"><polygon points="4 8 12 4 12 12"></polygon></svg>');
	background-repeat: no-repeat;
	background-position: center;
}

#project-icons-container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0;
	z-index: 10;
}

.project-icon {
	width: 75px;
	min-height: 70px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: var(--xp-icon-label-align, center);
	color: var(--xp-icon-label-color, var(--xp-selection-text));
	text-shadow: var(--xp-icon-label-shadow, 1px 1px 2px rgba(0,0,0,0.8));
	cursor: default;
	user-select: none;
	position: absolute;
	vertical-align: top;
	padding: 5px;
	box-sizing: border-box;
	z-index: 11;
}

.project-icon img {
	width: 42px;
	height: 42px;
	object-fit: cover;
	display: block;
	margin-bottom: 2px;
	border: 1px solid transparent;
	border-radius: 4px;
	z-index: 10;
}

.project-icon[data-type="project"] img {
	border: 1px solid #7f9db9;
	background: #ffffff28;
	padding: 2px;
	border-radius: 3px;
	box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.45);
	transform: perspective(300px) rotateX(-15deg) rotateY(36.5deg) rotateZ(0deg);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project-icon[data-type="project"]:hover img {
	transform: perspective(350px) rotateX(5deg) rotateY(-10deg) rotateZ(1deg) scale(1.06);
	box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.55);
}

.project-icon[data-type="project"].selected img {
	transform: perspective(350px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.02);
	box-shadow: 0 0 6px var(--xp-selection-blue);
}

.xp-explorer-item[data-type="project"] img {
	border: 1px solid #7f9db9;
	background: #ffffff28;
	padding: 1px;
	border-radius: 3px;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.35);
	transform: perspective(300px) rotateX(-15deg) rotateY(36.5deg) rotateZ(0deg);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.xp-explorer-item[data-type="project"]:hover img {
	transform: perspective(350px) rotateX(5deg) rotateY(-10deg) rotateZ(1deg) scale(1.05);
	box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.45);
}

.xp-explorer-item[data-type="project"].selected img {
	transform: perspective(350px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
}

.project-icon span {
	font-size: 11px;
	color: inherit;
	line-height: 1.3;
	padding: 0 2px;
	border: 1px solid transparent;
	border-radius: 2px;
	background-color: var(--xp-icon-label-bg, transparent);
	word-wrap: break-word;
	overflow-wrap: break-word;
	word-break: break-word;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--xp-icon-label-lines, 2);
	line-clamp: var(--xp-icon-label-lines, 2);
	max-height: calc(1.3em * var(--xp-icon-label-lines, 2));
	position: relative;
	z-index: 10;
}

.project-icon:hover span,
.project-icon.selected span {
	height: auto;
	max-height: none;
	display: block;
	overflow: visible;
	z-index: 20;
	background-color: var(--xp-blue-dark);
}

.project-icon.selected span {
	background-color: var(--xp-selection-blue);
	border: 1px dotted rgba(255, 255, 255, 0.5);
}

.project-icon.selected img {
	filter: brightness(0.7);
}

.folder-content .project-icon {
	position: relative;
	margin: 5px;
	height: auto;
	color: var(--xp-font-color);
	text-shadow: none;
}

.folder-content .project-icon span {
	color: var(--xp-font-color);
}

.folder-content .project-icon:hover span,
.folder-content .project-icon.selected span {
	color: var(--xp-selection-text);
	text-shadow: none;
}

.project-icon:active {
	filter: brightness(0.8);
}

.project-window .xp-window-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.project-window .project-image-preview {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto 10px auto;
	border: 1px solid var(--xp-border-dark);
}

.project-window .project-description {
	font-size: 14px;
	line-height: 1.4;
}

.project-window .project-links {
	display: flex;
	gap: 10px;
	margin-top: 15px;
	flex-wrap: wrap;
}

.project-window .project-links a {
	text-decoration: none;
	color: var(--xp-font-color);
}

.xp-window.opening {
	transform: scale(0.8);
	opacity: 0;
	transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.xp-window.opened {
	transform: scale(1);
	opacity: 1;
}

.xp-window {
	border-radius: 5px;
}

.xp-window.maximized {
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

.xp-window.maximized .xp-window-header {
	border-radius: 0;
}

.xp-window.minimizing {
	transition: all 0.3s ease-in-out;
	transform-origin: bottom left;
}

.xp-window.maximizing {
	transition: all 0.3s ease-in-out;
}

.taskbar-window-btn {
	height: 24px;
	padding: 0 6px;
	background: linear-gradient(to bottom, #3c8bf0 0%, #2974e6 12%, #1958c8 50%, #164cb3 100%);
	border: 1px solid #143585;
	border-radius: 3px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #ffffff;
	cursor: pointer;
	font-family: 'Tahoma', sans-serif;
	font-size: 11px;
	max-width: var(--xp-taskbar-btn-max-width, 155px);
	min-width: var(--xp-taskbar-btn-min-width, 36px);
	flex: 1 1 140px;
	overflow: hidden;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
	box-sizing: border-box;
}

.taskbar-window-btn:hover {
	background: linear-gradient(to bottom, #53a3ff 0%, #3e8eff 12%, #2972eb 50%, #2264d8 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.taskbar-window-btn.active {
	background: linear-gradient(to bottom, #163e8c 0%, #1f50a8 15%, #2a65bf 50%, #2d6cc9 100%);
	border-color: #0c2560;
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7), inset -1px -1px 0 rgba(255, 255, 255, 0.15);
	color: #ffffff;
	font-weight: bold;
}

.taskbar-window-btn.flashing {
	background: linear-gradient(to bottom, #f7a23b 0%, #e27d14 50%, #c45d04 100%) !important;
	border-color: #8c3f00 !important;
	box-shadow: 0 0 6px #ff9900 !important;
}

.taskbar-btn-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	object-fit: contain;
}

.taskbar-btn-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
}

.quick-launch {
	display: flex;
	align-items: center;
	padding: 0 5px;
	border-right: 1px solid var(--xp-border-light);
	border-left: 1px solid var(--xp-blue-dark);
	height: 100%;
}

.quick-launch-icon {
	width: 22px;
	height: 22px;
	margin: 0 3px;
	cursor: pointer;
	border: 1px solid transparent;
	padding: 1px;
}

.quick-launch-icon:hover {
	border-color: rgba(255,255,255,0.3);
}

.quick-launch-icon:active {
	border-color: var(--xp-border-dark);
	background-color: rgba(0,0,0,0.1);
}

#calendar-popup {
	position: fixed;
	bottom: 42px;
	right: 6px;
	width: 240px;
	min-height: 235px;
	z-index: 55000;
	resize: none;
	overflow: hidden;
	padding: 0;
	display: flex;
	flex-direction: column;
	background: var(--xp-window-bg);
	border: 2px outset #ffffff;
	border-radius: 4px;
	box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.5);
	user-select: none;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	box-sizing: border-box;
}

#calendar-popup.hidden {
	display: none !important;
}

#scanlines-overlay {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 2147483647;
}

#scanlines-overlay::before,
#scanlines-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-repeat: repeat;
	background-size: 100% 5px;
}

#scanlines-overlay::before {
	background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,0.06) 0 1px, rgba(255,255,255,0.02) 1px 4px);
	mix-blend-mode: overlay;
	opacity: 0.85;
	animation: scanMove 20s linear infinite;
}

#scanlines-overlay::after {
	background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,0.12) 0 1px, transparent 1px 6px);
	mix-blend-mode: multiply;
	opacity: 0.18;
	animation: scanPulse 6s ease-in-out infinite;
}

@keyframes scanMove {
	0% { background-position: 0 0; }
	100% { background-position: 0 200%; }
}

@keyframes scanPulse {
	0% { opacity: 0.12; background-position: 0 0; }
	50% { opacity: 0.25; background-position: 0 2px; }
	100% { opacity: 0.12; background-position: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	#scanlines-overlay::before,
	#scanlines-overlay::after {
		animation: none;
	}
}

@supports not (mix-blend-mode: overlay) {
	#scanlines-overlay::before {
		background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,0.06) 0 1px, transparent 1px 4px);
		opacity: 0.6;
	}
	#scanlines-overlay::after { display: none; }
}

#calendar-popup .xp-window-content {
	padding: 0;
}

#calendar-header {
	background: var(--xp-active-title-bg);
	color: #ffffff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 8px;
	font-weight: bold;
	font-size: 11px;
	flex-shrink: 0;
}

.calendar-nav-btn {
	background: linear-gradient(to bottom, #ffffff 0%, #ece9d8 100%);
	border: 1px solid #7f9db9;
	color: #000000;
	font-weight: bold;
	cursor: pointer;
	font-size: 10px;
	width: 20px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 2px;
	padding: 0;
}

.calendar-nav-btn:hover {
	background: #ffffff;
}

#calendar-month-year {
	font-size: 11px;
	letter-spacing: 0.2px;
}

#calendar-days-header {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	font-size: 10px;
	padding: 4px 2px;
	background-color: #f0ede0;
	border-bottom: 1px solid #aca899;
	font-weight: bold;
	color: #444444;
}

#calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	flex-grow: 1;
	padding: 4px 2px;
	background: #ffffff;
	min-height: 130px;
}

.calendar-day {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	cursor: default;
	height: 22px;
	border-radius: 2px;
	margin: 1px;
}

.calendar-day:hover {
	background-color: var(--xp-selection-blue);
	color: #ffffff;
}

.calendar-day.today {
	border: 1px solid #ff0000;
	font-weight: bold;
	background-color: #fffde0;
}

#calendar-footer {
	border-top: 1px solid #aca899;
	padding: 6px;
	text-align: center;
	font-size: 10px;
	font-weight: bold;
	background: #ece9d8;
	flex-shrink: 0;
	cursor: pointer;
	color: #0c327d;
}

#calendar-footer:hover {
	background-color: var(--xp-selection-blue);
	color: #ffffff;
}

.project-icon.drop-target {
	background-color: rgba(49, 106, 197, 0.35) !important;
	outline: 2px dashed #ffffff !important;
	border-radius: 4px;
}

.project-icon.drop-target span {
	background-color: var(--xp-selection-blue) !important;
	color: #ffffff !important;
}

.project-icon.hidden-item,
.xp-explorer-item.hidden-item,
.xp-details-row.hidden-item,
.xp-tree-node.hidden-item,
.xp-fd-item.hidden-item {
	opacity: 0.55 !important;
	z-index: 11 !important;
}

.project-icon.hidden-item img,
.xp-explorer-item.hidden-item img {
	opacity: 0.85 !important;
}

.project-icon.hidden-item span,
.xp-explorer-item.hidden-item span {
	opacity: 0.95 !important;
}

.folder-content.drop-target,
.folder-content-wrapper.drop-target,
#project-icons-container.drop-target,
#desktop.drop-target {
	background-color: rgba(49, 106, 197, 0.15) !important;
	outline: 2px dashed var(--xp-selection-blue) !important;
	outline-offset: -3px;
}

.dragging-icon {
	opacity: 0.4 !important;
}

.project-icon.cut-item,
.xp-explorer-item.cut-item,
.xp-details-row.cut-item {
	opacity: 0.45 !important;
	filter: grayscale(0.25) !important;
}

#xp-alt-tab-overlay {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: var(--xp-window-bg);
	border: 2px outset #ffffff;
	box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.6);
	padding: 12px 16px;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	min-width: 320px;
	font-family: 'Tahoma', 'Segoe UI', sans-serif;
	user-select: none;
	border-radius: 4px;
}

.alt-tab-list {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 480px;
	padding: 6px;
	background: rgba(0, 0, 0, 0.05);
	border: 1px inset #ffffff;
	border-radius: 3px;
}

.alt-tab-item {
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid transparent;
	border-radius: 3px;
	background: transparent;
	box-sizing: border-box;
}

.alt-tab-item.selected {
	border-color: var(--xp-selection-blue);
	background: rgba(49, 106, 197, 0.2);
}

.alt-tab-item img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.alt-tab-title {
	font-size: 11px;
	font-weight: bold;
	color: var(--xp-font-color);
	text-align: center;
	max-width: 360px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.project-icon input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	font-size: 12px;
	font-family: 'Roboto Mono', monospace;
	text-align: center;
	border: 1px solid var(--xp-selection-blue);
	background-color: var(--xp-window-bg);
	color: var(--xp-font-color);
	padding: 1px;
	outline: none;
	position: absolute;
	bottom: 0;
	left: 0;
}

.folder-menu-bar,
.xp-explorer-menubar {
	height: 22px;
	background: #ece9d8;
	border-bottom: 1px solid #d4d0c8;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 0 4px;
	flex-shrink: 0;
	user-select: none;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	box-sizing: border-box;
}

.folder-menu-bar ul,
.xp-menubar-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
	gap: 2px;
}

.folder-menu-bar li,
.xp-menubar-item {
	padding: 2px 6px;
	cursor: pointer;
	border-radius: 2px;
	color: #000000;
	font-size: 11px;
	display: inline-flex;
	align-items: center;
	height: 18px;
	box-sizing: border-box;
	white-space: nowrap;
}

.folder-menu-bar li:hover,
.xp-menubar-item:hover {
	background-color: var(--xp-selection-blue);
	color: #ffffff !important;
}

.xp-menubar-brand {
	margin-left: auto;
	display: flex;
	align-items: center;
	padding-right: 4px;
}

.xp-menubar-brand img {
	height: 16px;
	opacity: 0.85;
}

.folder-toolbar,
.xp-explorer-toolbar {
	height: 38px;
	background: linear-gradient(to bottom, #fbfbfb 0%, #ece9d8 100%);
	border-bottom: 1px solid #d4d0c8;
	display: flex;
	align-items: center;
	padding: 0 4px;
	gap: 2px;
	flex-shrink: 0;
	user-select: none;
	box-sizing: border-box;
}

.folder-nav-buttons,
.xp-tb-group {
	display: flex;
	align-items: center;
	gap: 2px;
}

.folder-nav-btn,
.xp-tb-btn {
	height: 30px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 3px;
	padding: 2px 5px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	font-family: inherit;
	font-size: 11px;
	color: #000000;
	box-sizing: border-box;
}

.folder-nav-btn:hover:not(:disabled),
.xp-tb-btn:hover:not(:disabled) {
	background: linear-gradient(to bottom, #ffffff 0%, #d8e6fb 100%);
	border-color: #7f9db9;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.folder-nav-btn:active:not(:disabled),
.xp-tb-btn:active:not(:disabled),
.folder-nav-btn.active,
.xp-tb-btn.active {
	background: linear-gradient(to bottom, #d8e6fb 0%, #b5d1f8 100%);
	border-color: #316ac5;
	box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.folder-nav-btn:disabled,
.xp-tb-btn:disabled {
	opacity: 0.45;
	cursor: default;
	filter: grayscale(1);
}

.xp-tb-icon-back,
.xp-tb-icon-forward,
.xp-tb-icon-up {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	flex-shrink: 0;
}

.xp-tb-icon-back {
	background: radial-gradient(circle at 7px 7px, #58ca58 0%, #2e8b2e 100%);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.xp-tb-icon-back::after {
	content: "◀";
	color: #ffffff;
	font-size: 10px;
	margin-right: 1px;
}

.xp-tb-icon-forward {
	background: radial-gradient(circle at 7px 7px, #58ca58 0%, #2e8b2e 100%);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.xp-tb-icon-forward::after {
	content: "▶";
	color: #ffffff;
	font-size: 10px;
	margin-left: 1px;
}

.xp-tb-icon-up {
	background: radial-gradient(circle at 7px 7px, #ffcc00 0%, #d48800 100%);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.xp-tb-icon-up::after {
	content: "▲";
	color: #ffffff;
	font-size: 10px;
}

.xp-tb-drop-arrow {
	width: 0;
	height: 0;
	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
	border-top: 4px solid #333333;
	margin-left: 2px;
}

.folder-nav-btn img,
.xp-tb-btn img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.folder-toolbar-separator,
.xp-tb-sep {
	width: 1px;
	height: 24px;
	background: #d4d0c8;
	border-right: 1px solid #ffffff;
	margin: 0 4px;
	flex-shrink: 0;
}

.folder-address-bar-container,
.xp-explorer-addressbar-row {
	height: 26px;
	background: #ece9d8;
	border-bottom: 1px solid #d4d0c8;
	display: flex;
	align-items: center;
	padding: 0 6px;
	gap: 6px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.xp-address-label {
	color: #4a4a4a;
	font-size: 11px;
	flex-shrink: 0;
}

.folder-address-bar,
.xp-address-combo {
	flex: 1;
	height: 20px;
	background: #ffffff;
	border: 1px solid #7f9db9;
	display: flex;
	align-items: center;
	padding: 0 4px;
	border-radius: 1px;
	box-sizing: border-box;
}

.xp-address-icon {
	width: 16px;
	height: 16px;
	margin-right: 4px;
	flex-shrink: 0;
}

.xp-address-input {
	flex: 1;
	border: none;
	outline: none;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	background: transparent;
	padding: 0;
	min-width: 40px;
}

.xp-address-dropdown-arrow {
	font-size: 8px;
	color: #555555;
	padding: 0 4px;
	cursor: pointer;
	user-select: none;
}

.xp-address-dropdown-arrow:hover {
	color: #000000;
}

.xp-address-go-btn {
	height: 20px;
	background: linear-gradient(to bottom, #ffffff 0%, #ece9d8 100%);
	border: 1px solid #7f9db9;
	border-radius: 2px;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0 6px;
	cursor: pointer;
	font-family: inherit;
	font-size: 11px;
	flex-shrink: 0;
}

.xp-address-go-btn:hover {
	background: linear-gradient(to bottom, #ffffff 0%, #d8e6fb 100%);
}

.xp-go-icon {
	color: #2e8b2e;
	font-weight: bold;
}

.folder-window-layout,
.xp-explorer-layout {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ece9d8;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	user-select: none;
	box-sizing: border-box;
	overflow: hidden;
}

.folder-main-layout,
.xp-explorer-body {
	flex: 1;
	display: flex;
	overflow: hidden;
	background: #ffffff;
	position: relative;
}

.folder-sidebar,
.xp-explorer-sidebar {
	width: 215px;
	background: linear-gradient(to bottom, var(--xp-sidebar-gradient-start, #7ba2e7) 0%, var(--xp-sidebar-gradient-end, #6375d6) 100%);
	border-right: 1px solid var(--xp-sidebar-border, #5a6eb2);
	padding: 8px;
	overflow-y: auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
}

.xp-sidebar-tasks-view {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sidebar-section,
.xp-task-box {
	background: var(--xp-taskbox-bg, #d3e5fa);
	border: 1px solid var(--xp-taskbox-border, #ffffff);
	border-radius: 4px 4px 0 0;
	overflow: hidden;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.sidebar-section h3,
.xp-task-header {
	height: 24px;
	background: var(--xp-taskbox-header-bg, linear-gradient(to right, #215dc6 0%, #759fe6 100%));
	color: var(--xp-taskbox-header-text, #ffffff);
	font-weight: bold;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 8px;
	margin: 0;
	cursor: pointer;
}

.xp-task-chevron {
	width: 14px;
	height: 14px;
	background: var(--xp-window-bg, #ffffff);
	border: 1px solid var(--xp-border-dark, #215dc6);
	border-radius: 50%;
	position: relative;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.xp-task-chevron::after {
	content: "▲";
	font-size: 8px;
	color: var(--xp-border-dark, #215dc6);
	display: flex;
	align-items: center;
	justify-content: center;
}

.sidebar-section.collapsed .xp-task-chevron::after,
.xp-task-box.collapsed .xp-task-chevron::after {
	content: "▼";
}

.sidebar-section.collapsed ul,
.sidebar-section.collapsed .details-content,
.xp-task-box.collapsed .xp-task-content {
	display: none !important;
}

.sidebar-section ul,
.xp-task-content {
	padding: 8px;
	background: var(--xp-taskbox-bg, #d3e5fa);
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
	margin: 0;
}

.sidebar-section ul li a,
.xp-task-link {
	display: flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: var(--xp-taskbox-link-color, #0c327d);
	font-size: 11px;
	padding: 2px 4px;
	border-radius: 2px;
}

.sidebar-section ul li a:hover,
.xp-task-link:hover {
	text-decoration: underline;
	color: var(--xp-selection-blue, #1c52a5);
}

.xp-task-link.disabled {
	opacity: 0.4;
	pointer-events: none;
}

.sidebar-section ul li a img,
.xp-task-link img {
	width: 16px;
	height: 16px;
	object-fit: contain;
	flex-shrink: 0;
}

.details-content,
.xp-task-details-body {
	font-size: 11px;
	line-height: 1.4;
	color: var(--xp-font-color, #000000);
	word-break: break-word;
	padding: 8px;
	background: var(--xp-taskbox-bg, #d3e5fa);
}

.xp-details-preview-frame {
	width: 100%;
	height: 90px;
	background: #ffffff;
	border: 1px solid #7f9db9;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
	overflow: hidden;
}

.xp-details-preview-frame img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.xp-details-thumb img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	margin-bottom: 4px;
}

.xp-sidebar-tree-view {
	flex: 1;
	background: #ffffff;
	border: 2px inset #ffffff;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-sizing: border-box;
}

.xp-tree-header {
	height: 20px;
	background: #ece9d8;
	border-bottom: 1px solid #aca899;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 6px;
	font-weight: bold;
	font-size: 11px;
	flex-shrink: 0;
}

.xp-tree-close {
	background: none;
	border: none;
	cursor: pointer;
	font-weight: bold;
	font-size: 13px;
	line-height: 1;
	padding: 0 2px;
}

.xp-tree-content {
	flex: 1;
	overflow-y: auto;
	padding: 4px;
}

.xp-tree-node {
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: 20px;
	height: 20px;
	cursor: pointer;
	white-space: nowrap;
	border: 1px solid transparent;
	border-radius: 2px;
	padding-right: 4px;
	box-sizing: border-box;
}

.xp-tree-node:hover {
	background-color: #e8f0fe;
}

.xp-tree-node.selected,
.xp-tree-node.drop-target {
	background-color: var(--xp-selection-blue) !important;
	color: #ffffff !important;
}

.xp-tree-node.selected .xp-tree-label,
.xp-tree-node.drop-target .xp-tree-label {
	color: #ffffff !important;
}

.xp-tree-expander {
	width: 10px;
	height: 10px;
	border: 1px solid #808080;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	line-height: 1;
	font-family: monospace;
	user-select: none;
	margin-right: 2px;
	flex-shrink: 0;
	color: #000000;
}

.xp-tree-expander.leaf {
	border: none;
	background: transparent;
	visibility: hidden;
}

.xp-tree-node img {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	object-fit: contain;
}

.xp-tree-label {
	padding: 1px 3px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.xp-tree-label.active {
	background: var(--xp-selection-blue);
	color: #ffffff;
}

.xp-tree-children.hidden {
	display: none;
}

.xp-explorer-splitter {
	width: 4px;
	background: #ece9d8;
	cursor: col-resize;
	flex-shrink: 0;
}

.folder-main-content,
.xp-explorer-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #ffffff;
	position: relative;
}

.folder-content-wrapper,
.xp-explorer-view-container {
	flex: 1;
	overflow-y: auto;
	padding: 6px;
	box-sizing: border-box;
}

.xp-file-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-content: flex-start;
	padding: 8px;
	min-height: 100%;
	box-sizing: border-box;
}

.xp-file-grid.view-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-content: flex-start;
}

.xp-file-grid.view-thumbnails {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 14px;
	align-content: flex-start;
}

.xp-file-grid.view-thumbnails .xp-explorer-item {
	width: 100%;
	min-height: 105px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 4px;
	box-sizing: border-box;
}

.xp-thumb-frame {
	width: 96px;
	height: 72px;
	border: 1px solid #7f9db9;
	background: #ffffff;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 4px;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}

.xp-thumb-frame img {
	max-width: 86px;
	max-height: 64px;
	object-fit: contain;
	display: block;
}

.xp-thumb-frame.xp-thumb-image-frame {
	background: #000000;
	border: 2px inset #ffffff;
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.6), 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.xp-thumb-frame.xp-thumb-image-frame img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
}

.xp-file-grid.view-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 8px;
	align-content: flex-start;
}

.xp-explorer-item.mode-tile {
	width: 100%;
	height: 52px;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 4px 6px;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: 2px;
	box-sizing: border-box;
	text-align: left;
}

.xp-explorer-item.mode-tile img {
	width: 36px;
	height: 36px;
	margin: 0;
	flex-shrink: 0;
	object-fit: contain;
}

.xp-tile-texts {
	display: flex;
	flex-direction: column;
	text-align: left;
	overflow: hidden;
}

.xp-tile-texts strong {
	font-size: 11px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.xp-tile-texts span {
	font-size: 10px;
	color: #666666;
}

.xp-file-grid.view-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 2px 8px;
	align-content: flex-start;
}

.xp-file-grid.view-list .xp-explorer-item {
	width: 100%;
	min-height: 22px;
	height: 22px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	padding: 2px 4px;
	text-align: left;
	box-sizing: border-box;
}

.xp-file-grid.view-list .xp-explorer-item img {
	width: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
}

.xp-file-grid.view-list .xp-explorer-item span {
	font-size: 11px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.xp-details-table {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.xp-details-header-row {
	display: grid;
	grid-template-columns: 220px 90px 140px 1fr;
	background: #ece9d8;
	border-bottom: 1px solid #aca899;
	position: sticky;
	top: 0;
	z-index: 2;
}

.xp-details-header-row.rb-details-columns,
.xp-details-row.rb-details-columns {
	grid-template-columns: 200px 180px 140px 90px 1fr;
}

.xp-details-th {
	padding: 3px 6px;
	border-right: 1px solid #aca899;
	border-top: 1px solid #ffffff;
	border-left: 1px solid #ffffff;
	font-weight: normal;
	color: #000000;
	cursor: pointer;
	box-shadow: inset 0 1px 0 #ffffff;
}

.xp-details-th:hover {
	background: #f5f4ef;
}

.xp-details-row {
	display: grid;
	grid-template-columns: 220px 90px 140px 1fr;
	align-items: center;
	padding: 2px 4px;
	cursor: pointer;
	font-size: 11px;
	border-bottom: 1px solid #f0f0f0;
}

.xp-details-row:hover {
	background: #f0f4fa;
}

.xp-details-row.selected {
	background: var(--xp-selection-blue) !important;
	color: #ffffff !important;
}

.xp-details-row.selected span,
.xp-details-row.selected div {
	color: #ffffff !important;
}

.xp-details-td.col-name {
	display: flex;
	align-items: center;
	gap: 6px;
	overflow: hidden;
}

.xp-details-td.col-name img {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.xp-details-td.col-name span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.xp-details-td.col-size {
	text-align: right;
	padding-right: 12px;
}

.xp-details-td.col-type,
.xp-details-td.col-modified,
.xp-details-td.col-location,
.xp-details-td.col-deleted {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.folder-status-bar,
.xp-explorer-statusbar {
	height: 20px;
	background: #ece9d8;
	border-top: 1px solid #aca899;
	display: flex;
	align-items: center;
	font-size: 11px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.status-bar-left,
.xp-sb-pane {
	padding: 0 8px;
	border-right: 1px solid #d4d0c8;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 4px;
}

.xp-sb-count {
	min-width: 120px;
}

.xp-sb-size {
	min-width: 100px;
}

.status-bar-right,
.xp-sb-zone {
	margin-left: auto;
	border-right: none;
	border-left: 1px solid #d4d0c8;
	padding: 0 8px;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 4px;
}

.status-bar-right img,
.xp-sb-zone img {
	width: 14px;
	height: 14px;
}

.project-view-layout {
	display: grid;
	grid-template-columns: 200px 1fr;
	grid-template-rows: 1fr auto;
	height: 100%;
	background-color: var(--xp-window-bg);
}

.project-view-sidebar {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	background-color: #e7f1fe;
	border-right: 1px solid var(--xp-border-light);
	padding: 15px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	overflow-y: auto;
}

.project-view-main {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
	padding: 10px 20px;
	overflow-y: auto;
	background: #ffffff;
}

.project-view-statusbar {
	grid-column: 1 / 3;
	grid-row: 2 / 3;
	display: flex;
	align-items: center;
	padding: 2px 5px;
	border-top: 1px solid var(--xp-border-light);
	font-size: 11px;
	background: var(--xp-window-bg);
	user-select: none;
	gap: 10px;
}

.status-separator {
	border-left: 1px solid rgba(0,0,0,0.14);
	height: 16px;
	margin: 0 6px;
	box-shadow: none;
}

.project-view-image-container {
	padding: 4px;
	border: 1px solid var(--xp-border-light);
	background-color: #ffffff;
	margin-bottom: 10px;
	text-align: center;
}

.project-view-image {
	max-width: 100%;
	height: auto;
	object-fit: cover;
	max-height: 150px;
}

.project-view-sidebar h4 {
	margin: 0;
	font-size: 11px;
	font-weight: bold;
	color: #2c4c89;
	border-bottom: 1px solid #99b9e5;
	padding-bottom: 4px;
}

.project-view-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.project-link-button {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	width: 100%;
	justify-content: flex-start;
	padding: 5px 8px;
	font-size: 12px;
}

.project-link-button img {
	width: 16px;
	height: 16px;
}

.project-details {
	margin-top: auto;
	font-size: 11px;
}

.project-details p {
	margin: 5px 0;
	line-height: 1.4;
}

.project-view-main h2 {
	margin-top: 0;
	margin-bottom: 15px;
	color: var(--xp-blue-dark);
	font-size: 20px;
	font-family: 'Trebuchet MS', sans-serif;
}

.project-long-description {
	font-size: 14px;
	line-height: 1.6;
	color: #333333;
}

.xp-start-menu {
	position: absolute;
	bottom: var(--xp-taskbar-height, 36px);
	left: 0;
	width: 395px;
	max-height: calc(100% - var(--xp-taskbar-height, 36px) - 8px);
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	border: 2px solid var(--xp-border-dark);
	border-bottom: none;
	border-radius: 6px 6px 0 0;
	box-shadow: 4px 4px 22px rgba(0, 0, 0, 0.65);
	z-index: 100005 !important;
	user-select: none;
	font-family: 'Tahoma', 'Segoe UI', sans-serif;
	box-sizing: border-box;
	overflow: visible;
}

.xp-achievement-toast-container {
	position: absolute;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 100010;
	pointer-events: none;
	max-width: calc(100% - 24px);
}

.xp-achievement-toast-container.xp-toast-pos-top-left {
	top: 12px;
	left: 12px;
	bottom: auto;
	right: auto;
}

.xp-achievement-toast-container.xp-toast-pos-top-right {
	top: 12px;
	right: 12px;
	left: auto;
	bottom: auto;
}

.xp-achievement-toast-container.xp-toast-pos-bottom-left {
	bottom: calc(var(--xp-taskbar-height, 36px) + 12px);
	left: 12px;
	top: auto;
	right: auto;
}

.xp-achievement-toast-container.xp-toast-pos-bottom-right {
	bottom: calc(var(--xp-taskbar-height, 36px) + 12px);
	right: 12px;
	top: auto;
	left: auto;
}

.xp-achievement-toast {
	pointer-events: auto;
	width: 290px;
	max-width: calc(100vw - 32px);
	background: #ece9d8;
	border: 2px outset #ffffff;
	border-radius: 4px;
	box-shadow: 3px 3px 14px rgba(0, 0, 0, 0.55), 0 0 0 1px #0055ea;
	overflow: hidden;
	font-family: 'Tahoma', 'Segoe UI', sans-serif;
	user-select: none;
	cursor: pointer;
	box-sizing: border-box;
	opacity: 0;
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.xp-achievement-toast.xp-toast-top-left,
.xp-achievement-toast.xp-toast-bottom-left {
	transform: translateX(-130%);
}

.xp-achievement-toast.xp-toast-top-right,
.xp-achievement-toast.xp-toast-bottom-right {
	transform: translateX(130%);
}

.xp-achievement-toast.visible {
	transform: translateX(0) !important;
	opacity: 1;
}

.xp-achievement-toast.xp-toast-top-left.dismissing,
.xp-achievement-toast.xp-toast-bottom-left.dismissing {
	transform: translateX(-130%);
	opacity: 0;
	transition: transform 0.35s ease-in, opacity 0.25s ease-in;
}

.xp-achievement-toast.xp-toast-top-right.dismissing,
.xp-achievement-toast.xp-toast-bottom-right.dismissing {
	transform: translateX(130%);
	opacity: 0;
	transition: transform 0.35s ease-in, opacity 0.25s ease-in;
}

.xp-toast-header {
	height: 24px;
	background: linear-gradient(to right, #0058ee 0%, #3593ff 40%, #0057e5 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 6px;
	font-size: 11px;
	font-weight: bold;
	text-shadow: 1px 1px 1px #000000;
}

.xp-toast-header-title {
	display: flex;
	align-items: center;
	gap: 5px;
}

.xp-toast-flag {
	width: 14px;
	height: 14px;
	object-fit: contain;
}

.xp-toast-close {
	background: none;
	border: none;
	color: #ffffff;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
	padding: 0 2px;
	opacity: 0.8;
}

.xp-toast-close:hover {
	opacity: 1;
	color: #ffcccc;
}

.xp-toast-body {
	padding: 8px 10px;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #ffffff;
}

.xp-toast-icon-frame {
	position: relative;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border: 2px inset #ffffff;
	background: #ece9d8;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 3px;
	flex-shrink: 0;
}

.xp-toast-icon {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.xp-toast-check {
	position: absolute;
	bottom: -2px;
	right: -2px;
	font-size: 9px;
	font-weight: bold;
	color: #ffffff;
	background: #2e7d32;
	border-radius: 2px;
	padding: 1px 3px;
	line-height: 1;
}

.xp-toast-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
	overflow: hidden;
}

.xp-toast-title {
	font-size: 12px;
	font-weight: bold;
	color: #0b3b7a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.xp-toast-meta {
	display: flex;
	align-items: center;
	gap: 6px;
}

.xp-toast-pts {
	font-size: 10px;
	font-weight: bold;
	background: #eef4fe;
	color: #1b4b9b;
	border: 1px solid #b5c7de;
	padding: 1px 5px;
	border-radius: 2px;
}

.xp-toast-cat {
	font-size: 9px;
	color: #666666;
}

.xp-start-menu.hidden {
	display: none !important;
}

.xp-start-header {
	height: 54px;
	background: linear-gradient(to bottom, #1e52b7 0%, #2f69d3 20%, #1c4dae 100%);
	border-radius: 4px 4px 0 0;
	display: flex;
	align-items: center;
	padding: 0 12px;
	gap: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
	flex-shrink: 0;
	cursor: pointer;
	transition: filter 0.15s ease;
}

.xp-start-header:hover {
	filter: brightness(1.08);
}

.xp-start-user-frame {
	width: 38px;
	height: 38px;
	background: #ffffff;
	border: 2px solid #ffffff;
	border-radius: 4px;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.xp-start-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xp-start-username {
	color: #ffffff;
	font-weight: bold;
	font-size: 14px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.xp-start-body {
	display: flex;
	flex-grow: 1;
	min-height: 340px;
	background-color: #ffffff;
	border-top: 1px solid #163d89;
	overflow: hidden;
}

.xp-start-left-column {
	width: 53%;
	background-color: #ffffff;
	padding: 6px 4px;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.xp-start-pinned-section,
.xp-start-frequent-section {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.xp-start-frequent-section {
	flex-grow: 1;
}

.xp-start-right-column {
	width: 47%;
	background-color: #d3e5fa;
	border-left: 1px solid #95bdee;
	padding: 6px 4px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	box-sizing: border-box;
}

.xp-start-item {
	display: flex;
	align-items: center;
	padding: 4px 6px;
	border-radius: 3px;
	cursor: pointer;
	gap: 8px;
	position: relative;
	transition: background-color 0.08s ease;
}

.xp-start-item:hover {
	background-color: var(--xp-selection-blue);
	color: #ffffff !important;
}

.xp-start-item:hover .xp-start-title,
.xp-start-item:hover .xp-start-subtitle,
.xp-start-item:hover .xp-start-flyout-arrow {
	color: #ffffff !important;
}

.xp-start-item-icon {
	width: 28px;
	height: 28px;
	object-fit: contain;
	flex-shrink: 0;
}

.xp-start-item-texts {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.xp-start-title {
	font-size: 11px;
	color: var(--xp-font-color);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.xp-start-right-column .xp-start-title {
	color: #00136b;
	font-size: 11px;
}

.xp-start-subtitle {
	font-size: 10px;
	color: #777777;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.xp-start-badge {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	background: #cc2222;
	color: #ffffff;
	font-size: 9px;
	font-weight: bold;
	padding: 2px 5px;
	border-radius: 8px;
}

.xp-start-badge.hidden {
	display: none;
}

.xp-start-divider {
	height: 1px;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.02) 100%);
	margin: 5px 4px;
	flex-shrink: 0;
}

.xp-start-divider.right-divider {
	background: linear-gradient(to right, #95bdee 0%, rgba(149, 189, 238, 0.2) 100%);
}

.xp-start-all-programs {
	margin-top: auto;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px;
	font-weight: bold;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	color: #000000;
	background: linear-gradient(to bottom, #ffffff 0%, #f4f3ec 40%, #e6e2d3 100%);
	border: 1px solid #7f9db9;
	border-radius: 3px;
	cursor: pointer;
	box-shadow: inset 0 1px 0 #ffffff, 0 1px 2px rgba(0, 0, 0, 0.15);
	transition: background 0.1s, color 0.1s, border-color 0.1s;
}

.xp-start-all-programs:hover {
	background: linear-gradient(to bottom, #4388e6 0%, #2f73d9 45%, #1852ba 100%);
	color: #ffffff;
	border-color: #153c8f;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.xp-start-all-programs.active {
	background: linear-gradient(to bottom, #184dae 0%, #2566d8 55%, #1952be 100%);
	color: #ffffff;
	border-color: #0c2f7a;
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.xp-start-all-programs-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	background: radial-gradient(circle at 5px 5px, #5cb85c 0%, #2b842b 100%);
	border-radius: 50%;
	color: #ffffff;
	font-size: 8px;
	line-height: 1;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.xp-start-all-programs:hover .xp-start-all-programs-arrow,
.xp-start-all-programs.active .xp-start-all-programs-arrow {
	background: #ffffff;
	color: #1a54bf;
}

.xp-start-flyout-arrow {
	margin-left: auto;
	font-size: 8px;
	color: #555555;
}

.xp-start-footer {
	height: 42px;
	background: linear-gradient(to bottom, #1d4499 0%, #102d68 100%);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0 8px;
	gap: 6px;
	border-top: 1px solid #1e48a3;
	flex-shrink: 0;
}

.xp-start-footer-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: 1px solid transparent;
	color: #ffffff;
	padding: 4px 8px;
	font-size: 11px;
	font-family: inherit;
	cursor: pointer;
	border-radius: 3px;
}

.xp-start-footer-btn:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.35);
}

.xp-start-footer-btn img {
	width: 20px;
	height: 20px;
}

.xp-start-flyout-menu {
	position: fixed;
	background: #ffffff;
	border: 1px solid var(--xp-border-dark);
	box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.45);
	padding: 3px;
	min-width: 210px;
	max-width: 290px;
	max-height: calc(100vh - 50px);
	overflow-y: auto;
	z-index: 100005 !important;
	font-family: 'Tahoma', 'Segoe UI', sans-serif;
	box-sizing: border-box;
}

.xp-start-flyout-menu::-webkit-scrollbar {
	width: 12px;
}

.xp-start-flyout-menu::-webkit-scrollbar-track {
	background: #f0f0f0;
}

.xp-start-flyout-menu::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border: 1px solid #ffffff;
}

.xp-start-search-box {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px 6px;
	background: #f1f4fb;
	border: 1px solid #95bdee;
	border-radius: 2px;
	margin: 2px 4px 5px 4px;
}

.xp-start-search-input {
	border: none;
	outline: none;
	background: transparent;
	font-size: 11px;
	font-family: 'Tahoma', sans-serif;
	width: 100%;
}

.xp-start-clear-recents {
	font-size: 10px;
	color: #666666;
	text-align: center;
	padding: 4px 6px;
	cursor: pointer;
	border-top: 1px dashed #d0d0d0;
	margin-top: 4px;
}

.xp-start-clear-recents:hover {
	background-color: #ffebe8;
	color: #c00000;
}

.xp-start-flyout-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 8px;
	border-radius: 2px;
	cursor: pointer;
	font-size: 11px;
	color: #000000;
}

.xp-start-flyout-item:hover {
	background-color: var(--xp-selection-blue);
	color: #ffffff;
}

.xp-start-flyout-item:hover .xp-start-flyout-arrow {
	color: #ffffff;
}

.xp-start-flyout-item.disabled {
	color: #888888;
	cursor: default;
}

.xp-start-flyout-item.disabled:hover {
	background: transparent;
	color: #888888;
}

.xp-start-flyout-category-header {
	font-size: 9px;
	font-weight: bold;
	color: #666666;
	text-transform: uppercase;
	padding: 4px 8px 2px 8px;
	letter-spacing: 0.05em;
}

body.theme-royale .xp-start-header {
	background: linear-gradient(to bottom, #1d439b 0%, #3876d8 40%, #153c8f 100%);
}
body.theme-royale .xp-start-footer {
	background: linear-gradient(to bottom, #1d439b 0%, #112d6a 100%);
}

body.theme-silver .xp-start-header {
	background: linear-gradient(to bottom, #72757d 0%, #9fa2a8 40%, #5d6168 100%);
}
body.theme-silver .xp-start-right-column {
	background-color: #e5e5e8;
	border-left-color: #b5b5b9;
}
body.theme-silver .xp-start-footer {
	background: linear-gradient(to bottom, #60636b 0%, #3e4045 100%);
}

body.theme-olive .xp-start-header {
	background: linear-gradient(to bottom, #6c843f 0%, #98b368 40%, #566c30 100%);
}
body.theme-olive .xp-start-right-column {
	background-color: #e3ebd4;
	border-left-color: #b8cc97;
}
body.theme-olive .xp-start-footer {
	background: linear-gradient(to bottom, #596e36 0%, #394622 100%);
}

body.theme-classic .xp-start-header {
	background: linear-gradient(to right, #000080, #1084d0);
}
body.theme-classic .xp-start-right-column {
	background-color: #d4d0c8;
}
body.theme-classic .xp-start-footer {
	background: #000080;
}

body.theme-zune .xp-start-header {
	background: linear-gradient(to bottom, #2a2a2a 0%, #444444 50%, #1a1a1a 100%);
}
body.theme-zune .xp-start-footer {
	background: #1c1c1c;
	border-top-color: #f35b04;
}
body.theme-zune .xp-start-all-programs:hover,
body.theme-zune .xp-start-all-programs.active {
	background: linear-gradient(to bottom, #f35b04 0%, #c44700 100%);
	border-color: #c44700;
	color: #ffffff;
}

body.theme-zune .xp-start-all-programs-arrow {
	background: #f35b04;
}

.ie-browser-window {
	user-select: none;
}

.ie-layout-root {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: #ece9d8;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	box-sizing: border-box;
	overflow: hidden;
}

.ie-menubar-container {
	height: 22px;
	background: #ece9d8;
	border-bottom: 1px solid #d4d0c8;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 4px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.ie-menubar-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
	gap: 2px;
}

.ie-menu-item {
	padding: 2px 6px;
	cursor: pointer;
	border-radius: 2px;
	color: #000000;
	font-size: 11px;
	display: inline-flex;
	align-items: center;
	height: 18px;
	white-space: nowrap;
}

.ie-menu-item:hover {
	background-color: var(--xp-selection-blue);
	color: #ffffff !important;
}

.ie-brand-throbber {
	width: 28px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.ie-throbber-globe {
	width: 18px;
	height: 18px;
	background: radial-gradient(circle at 6px 6px, #4285f4 0%, #174ea6 60%, #0d3270 100%);
	border-radius: 50%;
	border: 1px solid #73b3ff;
	box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.8), 0 0 2px rgba(0, 0, 0, 0.4);
	position: relative;
}

.ie-brand-throbber.active .ie-throbber-globe {
	animation: ieThrobberSpin 1s linear infinite;
}

@keyframes ieThrobberSpin {
	0% { transform: rotate(0deg) scale(1); filter: brightness(1.2); }
	50% { transform: rotate(180deg) scale(1.1); filter: brightness(1.4); }
	100% { transform: rotate(360deg) scale(1); filter: brightness(1.2); }
}

.ie-toolbar-standard {
	height: 38px;
	background: linear-gradient(to bottom, #fbfbfb 0%, #ece9d8 100%);
	border-bottom: 1px solid #d4d0c8;
	display: flex;
	align-items: center;
	padding: 0 4px;
	gap: 2px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.ie-tb-group {
	display: flex;
	align-items: center;
	gap: 2px;
}

.ie-tool-button {
	height: 30px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 3px;
	padding: 2px 5px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	font-family: inherit;
	font-size: 11px;
	color: #000000;
	box-sizing: border-box;
}

.ie-tool-button:hover:not(:disabled) {
	background: linear-gradient(to bottom, #ffffff 0%, #d8e6fb 100%);
	border-color: #7f9db9;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.ie-tool-button:active:not(:disabled) {
	background: linear-gradient(to bottom, #d8e6fb 0%, #b5d1f8 100%);
	border-color: #316ac5;
	box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.ie-tool-button:disabled {
	opacity: 0.45;
	cursor: default;
	filter: grayscale(1);
}

.ie-tool-button img {
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ie-icon-back,
.ie-icon-forward {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 7px 7px, #58ca58 0%, #2e8b2e 100%);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	position: relative;
	flex-shrink: 0;
}

.ie-icon-back::after {
	content: "◀";
	color: #ffffff;
	font-size: 10px;
	margin-right: 1px;
}

.ie-icon-forward::after {
	content: "▶";
	color: #ffffff;
	font-size: 10px;
	margin-left: 1px;
}

.ie-tb-arrow {
	width: 0;
	height: 0;
	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
	border-top: 4px solid #333333;
	margin-left: 2px;
}

.ie-tb-separator {
	width: 1px;
	height: 24px;
	background: #d4d0c8;
	border-right: 1px solid #ffffff;
	margin: 0 4px;
	flex-shrink: 0;
}

.ie-address-row {
	height: 26px;
	background: #ece9d8;
	border-bottom: 1px solid #d4d0c8;
	display: flex;
	align-items: center;
	padding: 0 6px;
	gap: 6px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.ie-address-label {
	color: #4a4a4a;
	font-size: 11px;
	flex-shrink: 0;
}

.ie-address-combobox {
	flex: 1;
	height: 20px;
	background: #ffffff;
	border: 1px solid #7f9db9;
	display: flex;
	align-items: center;
	padding: 0 4px;
	border-radius: 1px;
	box-sizing: border-box;
}

.ie-address-icon {
	width: 16px;
	height: 16px;
	margin-right: 4px;
	flex-shrink: 0;
}

.ie-address-input {
	flex: 1;
	border: none;
	outline: none;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	background: transparent;
	padding: 0;
	min-width: 40px;
	color: #000000;
}

.ie-address-arrow {
	font-size: 8px;
	color: #555555;
	padding: 0 4px;
	cursor: pointer;
}

.ie-go-btn {
	height: 20px;
	background: linear-gradient(to bottom, #ffffff 0%, #ece9d8 100%);
	border: 1px solid #7f9db9;
	border-radius: 2px;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0 6px;
	cursor: pointer;
	font-family: inherit;
	font-size: 11px;
	flex-shrink: 0;
}

.ie-go-btn:hover {
	background: linear-gradient(to bottom, #ffffff 0%, #d8e6fb 100%);
}

.ie-go-icon {
	color: #2e8b2e;
	font-weight: bold;
}

.ie-favorites-band {
	height: 22px;
	background: #ece9d8;
	border-bottom: 1px solid #d4d0c8;
	display: flex;
	align-items: center;
	padding: 0 6px;
	gap: 6px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.ie-links-title {
	font-size: 11px;
	color: #666666;
	border-right: 1px solid #aca899;
	padding-right: 6px;
	flex-shrink: 0;
}

.ie-links-container {
	display: flex;
	align-items: center;
	gap: 4px;
	overflow-x: auto;
}

.ie-link-item {
	background: transparent;
	border: 1px solid transparent;
	border-radius: 2px;
	padding: 1px 6px;
	font-size: 11px;
	cursor: pointer;
	color: #000000;
	white-space: nowrap;
}

.ie-link-item:hover {
	background: #ffffff;
	border-color: #7f9db9;
}

.ie-tabs-bar-container {
	height: 26px;
	background: #d4d0c8;
	border-bottom: 1px solid #aca899;
	display: flex;
	align-items: flex-end;
	padding: 0 4px;
	gap: 2px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.ie-tabs-list {
	display: flex;
	align-items: flex-end;
	gap: 2px;
	flex: 1;
	overflow-x: auto;
	height: 100%;
}

.ie-tab-item {
	height: 23px;
	min-width: 110px;
	max-width: 200px;
	background: linear-gradient(to bottom, #ece9d8 0%, #dcd7c6 100%);
	border: 1px solid #aca899;
	border-bottom: none;
	border-radius: 4px 4px 0 0;
	padding: 0 6px;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-size: 11px;
	box-sizing: border-box;
	color: #333333;
}

.ie-tab-item:hover {
	background: #fbf9f2;
}

.ie-tab-item.active {
	background: #ffffff;
	border-color: #7f9db9;
	border-bottom: 1px solid #ffffff;
	color: #000000;
	font-weight: bold;
	height: 24px;
}

.ie-tab-icon {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.ie-tab-icon.ie-spinning {
	animation: ieThrobberSpin 1s linear infinite;
}

.ie-tab-title {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ie-tab-close-btn {
	background: none;
	border: none;
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
	color: #777777;
	border-radius: 2px;
	padding: 0 2px;
}

.ie-tab-close-btn:hover {
	background: #cc3333;
	color: #ffffff;
}

.ie-tab-new-btn,
.ie-quicktabs-btn {
	height: 20px;
	padding: 0 6px;
	background: #ece9d8;
	border: 1px solid #aca899;
	border-radius: 2px;
	cursor: pointer;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2px;
}

.ie-tab-new-btn:hover,
.ie-quicktabs-btn:hover {
	background: #ffffff;
}

.ie-workspace-body {
	flex: 1;
	display: flex;
	overflow: hidden;
	position: relative;
	background: #ffffff;
}

.ie-sidebar-pane {
	width: 220px;
	background: #ece9d8;
	border-right: 1px solid #aca899;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	box-sizing: border-box;
}

.ie-sidebar-header {
	height: 22px;
	background: linear-gradient(to right, #1b4b9b, #3b88fd);
	color: #ffffff;
	font-weight: bold;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 6px;
	flex-shrink: 0;
}

.ie-sidebar-close {
	background: none;
	border: none;
	color: #ffffff;
	font-weight: bold;
	font-size: 12px;
	cursor: pointer;
}

.ie-sidebar-content {
	flex: 1;
	overflow-y: auto;
	background: #ffffff;
	display: flex;
	flex-direction: column;
}

.ie-workspace-splitter {
	width: 4px;
	background: #ece9d8;
	cursor: col-resize;
	flex-shrink: 0;
}

.ie-viewport-container {
	flex: 1;
	display: flex;
	position: relative;
	overflow: hidden;
	background: #ffffff;
}

.ie-tab-viewport {
	display: none;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	position: absolute;
	inset: 0;
	background: #ffffff;
	color: #000000;
	user-select: text;
}

.ie-tab-viewport.active {
	display: block;
}

.ie-statusbar {
	height: 20px;
	background: #ece9d8;
	border-top: 1px solid #aca899;
	display: flex;
	align-items: center;
	font-size: 11px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.ie-sb-status {
	flex: 1;
	padding: 0 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ie-sb-progress-container {
	width: 120px;
	height: 12px;
	border: 1px inset #ffffff;
	background: #f0f0f0;
	margin-right: 8px;
	padding: 1px;
}

.ie-sb-progress-bar {
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(to right, #2e7d32 0 8px, transparent 8px 10px);
	animation: ieProgressAnim 1s linear infinite;
}

@keyframes ieProgressAnim {
	0% { background-position: 0 0; }
	100% { background-position: 20px 0; }
}

.ie-sb-lock {
	padding: 0 6px;
	border-left: 1px solid #aca899;
	display: flex;
	align-items: center;
}

.ie-sb-lock img {
	width: 14px;
	height: 14px;
}

.ie-sb-zone {
	border-left: 1px solid #aca899;
	padding: 0 8px;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 110px;
}

.ie-sb-zone img {
	width: 14px;
	height: 14px;
}

.ie-page-container {
	min-height: 100%;
	box-sizing: border-box;
	user-select: text;
}

.ie-msn-portal {
	background: #f4f6fa;
	font-family: Arial, Tahoma, sans-serif;
	padding: 12px;
}

.ie-msn-header {
	background: #ffffff;
	border: 1px solid #b5c7de;
	border-radius: 4px;
	padding: 10px 14px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.ie-msn-logo-bar {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ie-msn-butterfly {
	width: 24px;
	height: 24px;
	background: linear-gradient(135deg, #e62b1e 0%, #ff9900 50%, #0088cc 100%);
	border-radius: 50% 0 50% 0;
}

.ie-msn-brand {
	font-size: 26px;
	font-weight: 900;
	color: #0c3b88;
	letter-spacing: -1px;
}

.ie-msn-tagline {
	font-size: 11px;
	color: #666666;
	margin-left: 6px;
}

.ie-msn-search-box {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ie-msn-search-input {
	width: 240px;
	padding: 3px 6px;
	border: 1px solid #7f9db9;
	font-size: 11px;
	border-radius: 2px;
}

.ie-msn-content-grid {
	display: grid;
	grid-template-columns: 1fr 260px;
	gap: 12px;
}

.ie-msn-card {
	background: #ffffff;
	border: 1px solid #b5c7de;
	border-radius: 3px;
	margin-bottom: 12px;
	overflow: hidden;
}

.ie-card-header {
	background: linear-gradient(to right, #1b4b9b, #3b88fd);
	color: #ffffff;
	font-weight: bold;
	font-size: 11px;
	padding: 4px 8px;
	letter-spacing: 0.05em;
}

.ie-card-body {
	padding: 10px 12px;
	font-size: 12px;
	line-height: 1.45;
}

.ie-web-link {
	color: #0c3b88;
	text-decoration: underline;
	cursor: pointer;
	font-size: 11px;
}

.ie-web-link:hover {
	color: #cc0000;
}

.ie-hero-actions {
	display: flex;
	gap: 12px;
	margin-top: 8px;
}

.ie-msn-links-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
	padding: 10px;
}

.ie-channel-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: #000000;
	padding: 6px;
	border: 1px solid #e0e8f6;
	background: #f9fbfe;
	border-radius: 3px;
}

.ie-channel-link:hover {
	background: #eef4fe;
	border-color: #7f9db9;
}

.ie-channel-link strong {
	color: #0c3b88;
	font-size: 11px;
}

.ie-channel-link span {
	font-size: 10px;
	color: #666666;
}

.ie-msn-widget {
	background: #ffffff;
	border: 1px solid #b5c7de;
	border-radius: 3px;
	margin-bottom: 10px;
	overflow: hidden;
}

.ie-widget-title {
	background: #ece9d8;
	border-bottom: 1px solid #d4d0c8;
	font-weight: bold;
	font-size: 11px;
	padding: 4px 8px;
	color: #000000;
}

.ie-widget-body {
	padding: 8px 10px;
	font-size: 11px;
}

.ie-msn-quick-list {
	list-style: none;
	padding: 8px 10px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ie-msn-quick-list a {
	color: #0c3b88;
	text-decoration: none;
	font-size: 11px;
}

.ie-msn-quick-list a:hover {
	text-decoration: underline;
}

.ie-infobar {
	background: linear-gradient(to bottom, #ffffe1 0%, #ffffcc 100%);
	border-bottom: 1px solid #d4cb9b;
	padding: 4px 8px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	color: #000000;
	flex-shrink: 0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.ie-infobar-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.ie-infobar-text {
	flex: 1;
}

.ie-infobar-link {
	color: #0c3b88;
	font-weight: bold;
	text-decoration: underline;
}

.ie-infobar-close {
	background: none;
	border: none;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	color: #666666;
	padding: 0 4px;
}

.ie-infobar-close:hover {
	color: #000000;
}

.ie-search-portal {
	background: #ffffff;
	padding: 18px;
	font-family: Arial, Tahoma, sans-serif;
}

.ie-search-top-bar {
	display: flex;
	align-items: center;
	gap: 16px;
	border-bottom: 2px solid #1b4b9b;
	padding-bottom: 12px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.ie-search-brand {
	font-size: 22px;
	font-weight: 900;
	color: #1b4b9b;
	letter-spacing: -0.5px;
}

.ie-search-brand span {
	color: #e62b1e;
}

.ie-search-input-wrapper {
	display: flex;
	gap: 6px;
	flex: 1;
	max-width: 620px;
	align-items: center;
}

.ie-search-input {
	flex: 1;
	padding: 4px 8px;
	border: 1px solid #7f9db9;
	font-size: 12px;
}

.ie-search-options-band {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 8px;
	background: #f0f4fa;
	border: 1px solid #d0dbe9;
	border-radius: 2px;
	margin-bottom: 12px;
}

.ie-search-live-banner {
	background: #e8f0fe;
	border: 1px solid #b5c7de;
	border-radius: 3px;
	padding: 8px 12px;
	margin-bottom: 14px;
	font-size: 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ie-search-results-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ie-search-result-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f0f0f0;
}

.ie-search-result-header {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ie-result-badge {
	font-size: 9px;
	font-weight: bold;
	background: #eef4fe;
	color: #1b4b9b;
	border: 1px solid #b5c7de;
	padding: 1px 5px;
	border-radius: 2px;
	letter-spacing: 0.05em;
}

.ie-result-title {
	font-size: 14px;
	color: #0000cc;
	text-decoration: underline;
	font-weight: bold;
}

.ie-result-title:hover {
	color: #cc0000;
}

.ie-result-url {
	font-size: 11px;
	color: #008000;
}

.ie-result-desc {
	font-size: 12px;
	line-height: 1.45;
	color: #222222;
}

.ie-dir-section {
	margin-bottom: 24px;
}

.ie-dir-section-title {
	font-size: 13px;
	font-weight: bold;
	color: #0c3b88;
	border-bottom: 2px solid #b5c7de;
	padding-bottom: 4px;
	margin: 0 0 12px 0;
	letter-spacing: 0.02em;
}

.ie-dir-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
}

.ie-dir-card {
	background: #ffffff;
	border: 1px solid #b5c7de;
	border-radius: 3px;
	padding: 10px;
	display: flex;
	gap: 10px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.06);
}

.ie-dir-card:hover {
	border-color: #316ac5;
	background: #fbfdff;
}

.ie-dir-card-img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	flex-shrink: 0;
	border: 1px solid #d4d0c8;
	padding: 2px;
	background: #ffffff;
}

.ie-dir-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	overflow: hidden;
}

.ie-dir-card-body h4 {
	margin: 0 0 4px 0;
	font-size: 12px;
	color: #0c3b88;
}

.ie-dir-card-body p {
	margin: 0 0 6px 0;
	font-size: 11px;
	color: #444444;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.ie-dir-badges-row {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.ie-dir-badge {
	font-size: 9px;
	background: #eef4fe;
	color: #1b4b9b;
	padding: 1px 4px;
	border-radius: 2px;
	border: 1px solid #d0dbe9;
}

.ie-dir-actions {
	margin-top: auto;
	display: flex;
	gap: 6px;
}

.ie-winupdate-portal {
	background: #ffffff;
	padding: 20px;
	font-family: Arial, sans-serif;
}

.ie-winupdate-header {
	display: flex;
	align-items: center;
	gap: 12px;
	border-bottom: 2px solid #2e7d32;
	padding-bottom: 10px;
	margin-bottom: 16px;
}

.ie-winupdate-banner {
	background: #e8f5e9;
	border: 1px solid #81c784;
	padding: 12px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 12px;
}

.ie-winupdate-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 11px;
}

.ie-winupdate-table th,
.ie-winupdate-table td {
	border: 1px solid #d4d0c8;
	padding: 6px 8px;
	text-align: left;
}

.ie-winupdate-table th {
	background: #ece9d8;
}

.ie-msdn-portal {
	background: #ffffff;
	font-family: Arial, sans-serif;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ie-msdn-top {
	background: #1b4b9b;
	color: #ffffff;
	padding: 8px 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ie-msdn-logo {
	font-size: 18px;
	font-weight: bold;
}

.ie-msdn-layout {
	display: flex;
	flex: 1;
	overflow: hidden;
}

.ie-msdn-tree {
	width: 220px;
	background: #f0f4fa;
	border-right: 1px solid #d0dbe9;
	padding: 8px;
	overflow-y: auto;
	font-size: 11px;
}

.ie-msdn-node {
	padding: 3px 6px;
	cursor: pointer;
	white-space: nowrap;
}

.ie-msdn-node:hover {
	background: #e0e8f6;
}

.ie-msdn-node.active {
	background: #1b4b9b;
	color: #ffffff;
}

.ie-msdn-article {
	flex: 1;
	padding: 16px 20px;
	overflow-y: auto;
	font-size: 12px;
	line-height: 1.5;
}

.ie-news-portal {
	background: #faf8f5;
	padding: 16px;
	font-family: Georgia, 'Times New Roman', serif;
}

.ie-news-header {
	border-bottom: 3px double #000000;
	padding-bottom: 8px;
	margin-bottom: 16px;
	text-align: center;
}

.ie-news-header h1 {
	margin: 0;
	font-size: 28px;
	letter-spacing: 0.05em;
}

.ie-news-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 16px;
}

.ie-news-lead {
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
}

.ie-news-side {
	border-left: 1px solid #cccccc;
	padding-left: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ie-dir-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
	margin-top: 14px;
}

.ie-dir-card {
	background: #ffffff;
	border: 1px solid #b5c7de;
	border-radius: 4px;
	padding: 10px;
	display: flex;
	gap: 10px;
}

.ie-dir-card img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	flex-shrink: 0;
}

.ie-dir-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	overflow: hidden;
}

.ie-dir-card-body h4 {
	margin: 0 0 4px 0;
	font-size: 12px;
	color: #1b4b9b;
}

.ie-dir-card-body p {
	margin: 0 0 8px 0;
	font-size: 11px;
	color: #444444;
	line-height: 1.35;
}

.ie-qtabs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
	margin-top: 14px;
}

.ie-qtab-card {
	background: #ffffff;
	border: 2px solid #aca899;
	border-radius: 4px;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	overflow: hidden;
	height: 130px;
	display: flex;
	flex-direction: column;
}

.ie-qtab-card:hover {
	border-color: #1b4b9b;
}

.ie-qtab-card.active {
	border-color: #316ac5;
	box-shadow: 0 0 8px rgba(49, 106, 197, 0.6);
}

.ie-qtab-header {
	background: #ece9d8;
	padding: 3px 6px;
	font-size: 10px;
	font-weight: bold;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #d4d0c8;
}

.ie-qtab-close {
	background: none;
	border: none;
	font-weight: bold;
	cursor: pointer;
	padding: 0 2px;
}

.ie-qtab-preview {
	flex: 1;
	background: #f9f9f9;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	font-size: 10px;
	color: #666666;
	word-break: break-all;
	text-align: center;
}

.ie-error-page {
	background: #ffffff;
	padding: 30px;
	font-family: 'Segoe UI', Tahoma, sans-serif;
	max-width: 680px;
}

.ie-error-content h1 {
	font-size: 20px;
	color: #000000;
	margin-top: 0;
}

.ie-error-content hr {
	border: none;
	border-top: 1px solid #cccccc;
	margin: 16px 0;
}

.ie-error-content ul {
	margin: 10px 0 10px 20px;
	font-size: 12px;
	line-height: 1.6;
}

.ie-tree-pane {
	padding: 4px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ie-tree-item {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 3px 6px;
	cursor: pointer;
	font-size: 11px;
	border-radius: 2px;
}

.ie-tree-item:hover {
	background: #e0e8f6;
}

.ie-tree-icon {
	width: 16px;
	height: 16px;
	object-fit: contain;
	flex-shrink: 0;
}

.outlook-window-layout {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--xp-window-bg);
	font-family: 'Tahoma', 'Segoe UI', sans-serif;
	font-size: 11px;
	user-select: none;
}

.outlook-toolbar {
	display: flex;
	align-items: center;
	padding: 2px 4px;
	border-bottom: 1px solid var(--xp-border-light);
	background: var(--xp-window-bg);
	gap: 2px;
	flex-shrink: 0;
}

.outlook-tool-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 6px;
	border: 1px solid transparent;
	border-radius: 2px;
	background: transparent;
	cursor: pointer;
	font-family: inherit;
	font-size: 11px;
	color: var(--xp-font-color);
	height: 24px;
	box-sizing: border-box;
}

.outlook-tool-btn:hover:not(:disabled) {
	border-color: var(--xp-border-dark);
	background-color: var(--xp-button-hover);
}

.outlook-tool-btn:active:not(:disabled) {
	border-color: var(--xp-grey-dark) var(--xp-border-light) var(--xp-border-light) var(--xp-grey-dark);
	background-color: var(--xp-button-hover);
}

.outlook-tool-btn img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.outlook-separator {
	width: 1px;
	height: 18px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.05));
	margin: 0 4px;
}

.outlook-main-content {
	display: flex;
	flex: 1 1 auto;
	overflow: hidden;
	background: var(--xp-window-bg);
	padding: 2px;
	gap: 2px;
}

.outlook-folder-pane {
	width: 180px;
	min-width: 120px;
	max-width: 320px;
	background: #ffffff;
	border: 2px inset #ffffff;
	box-sizing: border-box;
	overflow-y: auto;
	padding: 0;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
}

.outlook-folder-pane.collapsed {
	width: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
	border: none !important;
	overflow: hidden !important;
}

.outlook-folder-pane h4 {
	margin: 0;
	padding: 3px 6px;
	font-size: 11px;
	font-weight: bold;
	color: var(--xp-font-color);
	background: var(--xp-window-bg);
	border-bottom: 1px solid var(--xp-border-light);
}

.outlook-folder-pane ul {
	list-style: none;
	padding: 2px 0;
	margin: 0;
	flex-grow: 1;
	overflow-y: auto;
}

.outlook-folder-pane li {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 2px 6px;
	cursor: pointer;
	border-radius: 0;
	color: #000000;
	font-size: 11px;
	white-space: nowrap;
}

.outlook-folder-pane li:hover {
	background-color: #e8f0fe;
}

.outlook-folder-pane li.active {
	background-color: var(--xp-selection-blue);
	color: var(--xp-selection-text);
}

.outlook-folder-pane li img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.outlook-right-section {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-width: 200px;
	overflow: hidden;
}

.outlook-message-pane {
	flex: 0 0 45%;
	min-height: 80px;
	border: 2px inset #ffffff;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-sizing: border-box;
}

.outlook-message-header {
	display: grid;
	grid-template-columns: 140px 1fr 130px;
	background: var(--xp-window-bg);
	border-bottom: 1px solid var(--xp-border-light);
	font-size: 11px;
	user-select: none;
	flex-shrink: 0;
}

.outlook-message-header > div {
	padding: 2px 6px;
	border-right: 1px solid var(--xp-border-light);
	border-top: 1px solid #ffffff;
	border-left: 1px solid #ffffff;
	border-bottom: 1px solid var(--xp-border-light);
	background: var(--xp-window-bg);
	font-weight: normal;
	color: var(--xp-font-color);
}

.outlook-message-list {
	flex-grow: 1;
	overflow-y: auto;
	list-style: none;
	padding: 0;
	margin: 0;
	background: #ffffff;
}

.outlook-message-list .msg-row {
	display: grid;
	grid-template-columns: 140px 1fr 130px;
	padding: 2px 6px;
	border-bottom: 1px dotted #e0e0e0;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	font-size: 11px;
	color: #000000;
	align-items: center;
}

.outlook-message-list .msg-row:hover {
	background-color: #f0f4fa;
}

.outlook-message-list .msg-row.selected {
	background-color: var(--xp-selection-blue) !important;
	color: var(--xp-selection-text) !important;
}

.outlook-message-list .msg-row.selected .col {
	color: var(--xp-selection-text) !important;
}

.outlook-message-list .col {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.outlook-preview-pane {
	flex: 1 1 auto;
	min-height: 80px;
	border: 2px inset #ffffff;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-sizing: border-box;
}

.outlook-preview-header {
	padding: 4px 8px;
	border-bottom: 1px solid var(--xp-border-light);
	background: var(--xp-window-bg);
	font-size: 11px;
	line-height: 1.4;
	display: flex;
	flex-direction: column;
	gap: 1px;
	flex-shrink: 0;
	color: var(--xp-font-color);
}

.outlook-preview-body {
	flex-grow: 1;
	overflow-y: auto;
	padding: 10px;
	background: #ffffff;
	font-family: 'Tahoma', Arial, sans-serif;
	font-size: 12px;
	line-height: 1.45;
	color: #000000;
	user-select: text;
}

.taskbar-btn-icon {
	width: 16px;
	height: 16px;
	margin-right: 4px;
	flex-shrink: 0;
}

.notepad-layout {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: #ffffff;
	user-select: none;
	box-sizing: border-box;
}

.notepad-menubar {
	height: 20px;
	background: #ece9d8;
	border-bottom: 1px solid #d4d0c8;
	display: flex;
	align-items: center;
	padding: 0 4px;
	flex-shrink: 0;
	user-select: none;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
}

.notepad-menubar ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2px;
}

.notepad-menubar li {
	padding: 1px 6px;
	cursor: pointer;
	border-radius: 2px;
	color: #000000;
	font-size: 11px;
	display: inline-flex;
	align-items: center;
	height: 18px;
	white-space: nowrap;
}

.notepad-menubar li:hover {
	background-color: var(--xp-selection-blue);
	color: #ffffff !important;
}

.notepad-textarea-container {
	flex: 1;
	display: flex;
	position: relative;
	background: #ffffff;
	overflow: hidden;
}

.notepad-textarea {
	flex: 1;
	width: 100%;
	height: 100%;
	border: none;
	outline: none;
	padding: 4px 6px;
	box-sizing: border-box;
	resize: none;
	font-family: 'Lucida Console', 'Consolas', 'Courier New', monospace;
	font-size: 13px;
	line-height: 1.35;
	color: #000000;
	background: #ffffff;
	user-select: text;
	overflow-y: scroll;
	white-space: pre;
}

.notepad-textarea.wrap-enabled {
	white-space: pre-wrap;
	word-break: break-all;
}

.notepad-statusbar {
	height: 20px;
	background: #ece9d8;
	border-top: 1px solid #aca899;
	display: flex;
	align-items: center;
	font-size: 11px;
	font-family: 'Tahoma', sans-serif;
	flex-shrink: 0;
	user-select: none;
	padding: 0;
}

.xp-cmd-window .xp-window-content {
	background-color: #000000 !important;
}

.xp-cmd-container {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.xp-cmd-terminal {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 4px 6px;
	box-sizing: border-box;
	line-height: 1.25;
}

.xp-cmd-line {
	margin: 0;
	padding: 0;
	white-space: pre-wrap;
	word-break: break-all;
	font-family: inherit;
}

.xp-cmd-input-line {
	display: flex;
	align-items: center;
	white-space: pre;
	position: relative;
}

.xp-cmd-prompt-text {
	user-select: none;
	margin-right: 2px;
}

.xp-cmd-visible-input {
	white-space: pre;
}

.xp-cmd-cursor {
	display: inline-block;
	font-weight: bold;
	line-height: 1;
	animation: xpCmdCursorBlink 0.8s infinite;
}

.xp-matrix-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

.notepad-sb-cell {
	padding: 0 8px;
	border-right: 1px solid #d4d0c8;
	height: 100%;
	display: flex;
	align-items: center;
	white-space: nowrap;
	box-sizing: border-box;
}

.notepad-sb-pos {
	min-width: 140px;
}

.notepad-sb-info {
	flex: 1;
}

.notepad-sb-encoding {
	min-width: 90px;
	border-right: none;
	border-left: 1px solid #d4d0c8;
	margin-left: auto;
}

#boot-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: #000000;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	color: #ffffff;
	user-select: none;
}

.boot-logo-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 420px;
	height: 190px;
	margin-bottom: 38px;
}

.boot-logo {
	max-width: 380px;
	max-height: 175px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	cursor: pointer;
}

.boot-logo.preset-pro {
	max-width: 380px;
	max-height: 185px;
}

.boot-logo.preset-win2000 {
	max-width: 420px;
	max-height: 100px;
}

.boot-loading-bar {
	width: 160px;
	height: 12px;
	border: 2px solid #5a5a5a;
	border-radius: 4px;
	background: #000000;
	position: relative;
	overflow: hidden;
	box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.8), 0 0 1px #808080;
}

.boot-loading-progress {
	width: 10px;
	height: 10px;
	background: linear-gradient(to bottom, #73b3ff 0%, #2f73d9 45%, #003da8 100%);
	position: absolute;
	top: 1px;
	left: -35px;
	border-radius: 1px;
	box-shadow: 0 0 3px #539dff;
	animation: bootLoadMarquee 2.2s linear infinite;
}

.boot-loading-progress:nth-child(2) {
	animation-delay: 0.08s;
}

.boot-loading-progress:nth-child(3) {
	animation-delay: 0.16s;
}

@keyframes bootLoadMarquee {
	0% { left: -35px; }
	100% { left: 175px; }
}

.boot-footer-bar {
	position: absolute;
	bottom: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.boot-copyright {
	font-size: 11px;
	text-align: center;
	color: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: 0.02em;
}

#welcome-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: #003399;
	z-index: 99998;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#welcome-screen::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 150px;
	background: linear-gradient(to bottom, #003399 0%, #3765c9 100%);
	border-bottom: 2px solid #e76b20;
}

#welcome-screen::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 150px;
	background: linear-gradient(to top, #003399 0%, #3765c9 100%);
	border-top: 2px solid #e76b20;
}

#welcome-screen.hidden {
	display: none;
}

.welcome-content {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	gap: 40px;
}

.welcome-logo {
	display: flex;
	align-items: center;
	color: white;
	font-family: 'Franklin Gothic Medium', Arial, sans-serif;
}

.welcome-logo img {
	width: 60px;
	height: 60px;
	margin-right: 15px;
}

.welcome-logo span {
	font-size: 24px;
	line-height: 1;
}

.welcome-logo span span {
	font-size: 42px;
	font-weight: bold;
	color: white;
	font-family: Arial, sans-serif;
	font-style: italic;
}

.welcome-divider {
	width: 2px;
	height: 250px;
	background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5), transparent);
}

.welcome-users {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.welcome-user-item {
	display: flex;
	align-items: center;
	padding: 10px 20px;
	border-radius: 10px;
	cursor: pointer;
	color: white;
	border: 2px solid transparent;
	transition: all 0.2s;
	background-color: rgba(0,0,0,0.1);
}

.welcome-user-item:hover {
	background-color: rgba(67, 114, 204, 0.8);
	border-color: #f7d345;
}

.welcome-user-item img {
	width: 50px;
	height: 50px;
	border-radius: 5px;
	border: 2px solid white;
	margin-right: 15px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.welcome-user-info {
	display: flex;
	flex-direction: column;
}

.welcome-username {
	font-size: 20px;
	font-weight: bold;
}

.welcome-status {
	font-size: 11px;
	opacity: 0.8;
}

.welcome-footer {
	height: 100px;
	z-index: 10;
	display: flex;
	align-items: center;
	padding-left: 50px;
}

.turn-off-btn {
	display: flex;
	align-items: center;
	color: white;
	cursor: pointer;
	padding: 5px;
	opacity: 0.8;
	transition: opacity 0.2s;
}

.turn-off-btn:hover {
	opacity: 1;
}

.turn-off-btn img {
	width: 24px;
	height: 24px;
	margin-right: 10px;
	padding: 5px;
	background: #de5307;
	border-radius: 3px;
	border: 1px solid white;
}

.selection-box {
	position: absolute;
	border: 1px solid var(--xp-selection-box-border, var(--xp-selection-blue));
	background-color: var(--xp-selection-box-bg, rgba(49, 106, 197, 0.3));
	z-index: 900;
	pointer-events: none;
}

#xp-window-snap-preview {
	position: fixed;
	pointer-events: none;
	z-index: 49999;
	border: 2px solid var(--xp-selection-blue, #316ac5);
	background: rgba(49, 106, 197, 0.28);
	box-shadow: inset 0 0 16px rgba(49, 106, 197, 0.4), 0 0 12px rgba(49, 106, 197, 0.5);
	box-sizing: border-box;
	border-radius: var(--xp-window-radius, 5px);
	transition: all 0.12s cubic-bezier(0.2, 0.8, 0.2, 1);
	display: none;
}

.xp-window.window-always-on-top {
	box-shadow: 0 0 14px rgba(0, 85, 234, 0.75), 2px 2px 10px rgba(0, 0, 0, 0.4) !important;
}

.xp-window.window-always-on-top .xp-window-header::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 4px;
	background: url("https://img.icons8.com/fluency/48/pin.png") center / contain no-repeat;
	vertical-align: -2px;
	filter: drop-shadow(0 0 2px #ffffff);
}


.calc-window .xp-window-content {
	overflow: hidden;
	background: #ece9d8;
}

.calc-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: #ece9d8;
	font-family: 'Tahoma', 'Segoe UI', sans-serif;
	user-select: none;
	box-sizing: border-box;
}

.calc-menubar {
	height: 20px;
	background: #ece9d8;
	border-bottom: 1px solid #d4d0c8;
	display: flex;
	align-items: center;
	padding: 0 4px;
	flex-shrink: 0;
}

.calc-menubar ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.calc-menubar li {
	padding: 1px 6px;
	cursor: pointer;
	font-size: 11px;
	border-radius: 2px;
}

.calc-menubar li:hover {
	background: var(--xp-selection-blue);
	color: #ffffff;
}

.calc-body {
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.calc-display-frame {
	background: #ffffff;
	border: 2px inset #ffffff;
	padding: 2px;
	display: flex;
	align-items: center;
	height: 24px;
	box-sizing: border-box;
}

.calc-display {
	width: 100%;
	border: none;
	outline: none;
	background: transparent;
	font-family: 'Lucida Console', monospace, sans-serif;
	font-size: 14px;
	font-weight: bold;
	text-align: right;
	padding: 0 4px;
	color: #000000;
	box-sizing: border-box;
}

.calc-top-row {
	display: flex;
	gap: 5px;
	align-items: center;
}

.calc-mem-indicator {
	width: 32px;
	height: 24px;
	border: 2px inset #ffffff;
	background: #ece9d8;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: bold;
	color: #000080;
	box-sizing: border-box;
}

.calc-btn-wide {
	flex: 1;
}

.calc-main-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 4px;
	flex: 1;
}

.calc-btn {
	height: 26px;
	background: #ece9d8;
	border: 1px solid;
	border-color: #ffffff #808080 #808080 #ffffff;
	box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #dfdfdf;
	font-family: 'Tahoma', sans-serif;
	font-size: 11px;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border-radius: 2px;
}

.calc-btn:hover {
	background: #f5f4ef;
}

.calc-btn:active {
	border-color: #808080 #ffffff #ffffff #808080;
	box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.4);
	padding: 1px 0 0 1px;
}

.calc-btn-blue {
	color: #0000ff;
	font-weight: bold;
}

.calc-btn-red {
	color: #ff0000;
}

.wmp-window .xp-window-content {
	background: #000000;
	overflow: hidden;
}

.wmp-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: #0f1622;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	color: #ffffff;
	user-select: none;
	overflow: hidden;
}

.wmp-menubar {
	height: 24px;
	background: linear-gradient(to bottom, #2b3342 0%, #171c26 100%);
	border-bottom: 1px solid #0b0d12;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 8px;
	flex-shrink: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.wmp-menu-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.wmp-menu-item {
	padding: 2px 6px;
	cursor: pointer;
	border-radius: 2px;
	color: #dce4f2;
	font-size: 11px;
}

.wmp-menu-item:hover {
	background: var(--xp-selection-blue);
	color: #ffffff;
}

.wmp-brand-logo {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: bold;
	color: #8da4c4;
	letter-spacing: 0.04em;
}

.wmp-brand-logo img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.wmp-main-workspace {
	flex: 1;
	display: flex;
	overflow: hidden;
	background: #000000;
	position: relative;
}

.wmp-screen-area {
	flex: 1;
	display: flex;
	position: relative;
	background: #000000;
	overflow: hidden;
	align-items: center;
	justify-content: center;
}

.wmp-video-container {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000000;
	z-index: 3;
}

.wmp-video-container video {
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.wmp-visualizer-container {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 50% 45%, #0d2244 0%, #030a16 75%, #000208 100%);
	overflow: hidden;
}

#wmp-visualizer-canvas {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	z-index: 2;
}

.wmp-artwork-overlay {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: blur(28px);
	opacity: 0;
	transition: opacity 0.4s ease, background-image 0.4s ease;
	z-index: 1;
	pointer-events: none;
	transform: scale(1.15);
}

.wmp-artwork-overlay.visible {
	opacity: 0.28;
}

.wmp-albumart-stage {
	position: relative;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 20px;
	text-align: center;
}

.wmp-art-frame {
	width: 160px;
	height: 160px;
	background: #090e17;
	border: 3px solid #3c5277;
	border-radius: 6px;
	box-shadow:
		0 8px 24px rgba(0, 0, 0, 0.8),
		inset 0 0 12px rgba(0, 0, 0, 0.6),
		0 0 0 1px rgba(255, 255, 255, 0.15);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wmp-art-frame:hover {
	transform: scale(1.03);
	box-shadow:
		0 12px 30px rgba(0, 0, 0, 0.9),
		0 0 15px rgba(0, 180, 255, 0.3);
}

.wmp-art-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wmp-art-meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
	max-width: 320px;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

.wmp-art-title {
	font-size: 15px;
	font-weight: bold;
	color: #00f0ff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	letter-spacing: 0.02em;
}

.wmp-enhancements-drawer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: #131b26;
	border-top: 2px solid #3d4f6c;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.85);
	z-index: 25;
	display: flex;
	flex-direction: column;
	height: 195px;
	max-height: 195px;
	box-sizing: border-box;
}

.wmp-enh-header {
	height: 26px;
	background: linear-gradient(to bottom, #2b384c 0%, #1c2534 100%);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 8px;
	border-bottom: 1px solid #364761;
	flex-shrink: 0;
}

.wmp-enh-tabs {
	display: flex;
	gap: 3px;
}

.wmp-enh-tab-btn {
	background: #182230;
	border: 1px solid #3b4d6a;
	border-bottom: none;
	border-radius: 3px 3px 0 0;
	color: #8fa3c0;
	font-family: 'Tahoma', sans-serif;
	font-size: 11px;
	padding: 3px 10px;
	cursor: pointer;
	line-height: 1.2;
}

.wmp-enh-tab-btn:hover {
	background: #222f42;
	color: #ffffff;
}

.wmp-enh-tab-btn.active {
	background: #131b26;
	color: #00f0ff;
	font-weight: bold;
	border-color: #557299;
	border-bottom: 1px solid #131b26;
}

.wmp-enh-close {
	background: #233044;
	border: 1px solid #415574;
	border-radius: 2px;
	color: #dce6f5;
	font-size: 12px;
	font-weight: bold;
	cursor: pointer;
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.wmp-enh-close:hover {
	background: #cc3333;
	border-color: #ffffff;
	color: #ffffff;
}

.wmp-enh-body {
	padding: 8px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	overflow-y: auto;
	flex: 1;
	box-sizing: border-box;
	background: #131b26;
}

.wmp-eq-toolbar {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 12px;
	padding-bottom: 4px;
	border-bottom: 1px solid #233044;
}

.wmp-eq-sliders-grid {
	display: flex;
	justify-content: space-around;
	align-items: center;
	height: 125px;
	padding: 4px 6px;
	box-sizing: border-box;
	background: #0d131c;
	border: 1px solid #253346;
	border-radius: 3px;
}

.wmp-eq-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	width: 32px;
	box-sizing: border-box;
	padding: 2px 0;
}

.wmp-eq-gain-val {
	font-size: 9px;
	color: #00f0ff;
	font-family: 'Lucida Console', monospace;
	line-height: 1;
	text-align: center;
}

.wmp-eq-slider-wrapper {
	position: relative;
	height: 84px;
	width: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wmp-eq-slider {
	writing-mode: vertical-lr;
	direction: rtl;
	-webkit-appearance: slider-vertical;
	appearance: slider-vertical;
	height: 78px;
	width: 14px;
	padding: 0;
	margin: 0;
	cursor: pointer;
	accent-color: #00b4d8;
}

.wmp-eq-freq-label {
	font-size: 9px;
	color: #8fa3c0;
	font-family: 'Tahoma', sans-serif;
	line-height: 1;
	text-align: center;
}

.wmp-srs-panel,
.wmp-speed-panel,
.wmp-video-enh-panel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 6px;
	background: #0d131c;
	border: 1px solid #253346;
	border-radius: 3px;
}

.wmp-playlist-list-wrap.wmp-drop-active {
	outline: 2px dashed #00d2ff;
	background: #192333;
}

.wmp-playlist-row.wmp-pl-dragging {
	opacity: 0.4;
}

.wmp-playlist-row.wmp-pl-dragover {
	border-top: 2px solid #00f0ff;
}

.wmp-art-artist {
	font-size: 12px;
	color: #ffffff;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wmp-art-album {
	font-size: 11px;
	color: #8da4c4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wmp-screen-hud {
	position: absolute;
	top: 10px;
	left: 14px;
	right: 14px;
	z-index: 5;
	pointer-events: none;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.95);
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.wmp-hud-title {
	font-size: 13px;
	font-weight: bold;
	color: #ffffff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	opacity: 0.85;
}

.wmp-hud-artist {
	font-size: 11px;
	color: #00f0ff;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wmp-playlist-sidebar {
	width: 260px;
	background: #141b24;
	border-left: 1px solid #283244;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	box-sizing: border-box;
	z-index: 6;
}

.wmp-playlist-header {
	padding: 8px 10px;
	background: linear-gradient(to bottom, #232c3d 0%, #161e2b 100%);
	border-bottom: 1px solid #283244;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex-shrink: 0;
}

.wmp-playlist-title-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #ffffff;
}

.wmp-playlist-badge {
	font-size: 10px;
	background: #1b4b9b;
	color: #ffffff;
	padding: 1px 6px;
	border-radius: 3px;
}

.wmp-search-input {
	width: 100%;
	background: #0d121a;
	border: 1px solid #3b4b66;
	color: #ffffff;
	padding: 3px 6px;
	font-size: 11px;
	box-sizing: border-box;
	border-radius: 2px;
	outline: none;
}

.wmp-search-input:focus {
	border-color: #00b4d8;
	background: #101622;
}

.wmp-playlist-list-wrap {
	flex: 1;
	overflow-y: auto;
	background: #111720;
}

.wmp-playlist-items {
	list-style: none;
	padding: 0;
	margin: 0;
}

.wmp-playlist-row {
	display: flex;
	align-items: center;
	padding: 5px 8px;
	border-bottom: 1px solid #1c2533;
	cursor: pointer;
	gap: 8px;
	font-size: 11px;
	transition: background-color 0.1s ease;
}

.wmp-playlist-row:hover {
	background: #1e2838;
}

.wmp-playlist-row.active {
	background: #1b4b9b;
	color: #ffffff;
	border-bottom-color: #275ec2;
}

.wmp-pl-col-idx {
	width: 20px;
	color: #8da4c4;
	font-size: 10px;
	text-align: right;
	flex-shrink: 0;
}

.wmp-playlist-row.active .wmp-pl-col-idx {
	color: #ffffff;
	font-weight: bold;
}

.wmp-pl-col-title {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.wmp-pl-col-title strong {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 11px;
}

.wmp-pl-col-title span {
	font-size: 10px;
	color: #8da4c4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wmp-playlist-row.active .wmp-pl-col-title span {
	color: #dce4f2;
}

.wmp-pl-col-dur {
	font-size: 10px;
	color: #8da4c4;
	flex-shrink: 0;
}

.wmp-playlist-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	background: #161e2b;
	border-top: 1px solid #283244;
	flex-shrink: 0;
}

.wmp-control-panel {
	background: linear-gradient(to bottom, #2b3342 0%, #161c26 50%, #0d1117 100%);
	border-top: 1px solid #3b475c;
	padding: 8px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex-shrink: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.wmp-scrubber-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wmp-time-text {
	font-family: 'Lucida Console', Monaco, monospace;
	font-size: 11px;
	color: #00f0ff;
	min-width: 44px;
	text-align: center;
	text-shadow: 0 0 4px rgba(0, 240, 255, 0.4);
}

.wmp-track-slider-wrap {
	flex: 1;
	display: flex;
	align-items: center;
}

.wmp-slider {
	width: 100%;
	height: 8px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	background: #090e17;
	border-radius: 3px;
	border: 1px solid #3b475c;
	box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.7);
	outline: none;
}

.wmp-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 12px;
	height: 16px;
	background: linear-gradient(to bottom, #ffffff 0%, #d4d0c8 45%, #a8a49c 100%);
	border: 1px solid #404040;
	border-radius: 2px;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.wmp-slider::-webkit-slider-thumb:hover {
	background: linear-gradient(to bottom, #ffffff 0%, #e0e8f6 45%, #7fa2d4 100%);
	border-color: #003399;
}

.wmp-slider::-moz-range-thumb {
	width: 12px;
	height: 16px;
	background: linear-gradient(to bottom, #ffffff 0%, #d4d0c8 45%, #a8a49c 100%);
	border: 1px solid #404040;
	border-radius: 2px;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.wmp-vol-slider {
	width: 80px;
}

.xp-slider {
	-webkit-appearance: none;
	appearance: none;
	height: 6px;
	background: #ffffff;
	border: 1px solid #7f9db9;
	border-radius: 2px;
	box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.2);
	outline: none;
}

.xp-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 10px;
	height: 18px;
	background: linear-gradient(to bottom, #ece9d8 0%, #c4c0b4 100%);
	border: 1px solid #707070;
	border-radius: 2px;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
	cursor: pointer;
}

.xp-slider::-webkit-slider-thumb:hover {
	background: linear-gradient(to bottom, #ffffff 0%, #d8e4f8 100%);
	border-color: #316ac5;
}

.wmp-buttons-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}

.wmp-btn-cluster-left,
.wmp-btn-cluster-center,
.wmp-btn-cluster-right {
	display: flex;
	align-items: center;
	gap: 6px;
}

.wmp-tool-btn {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: radial-gradient(circle at 10px 10px, #3b88fd 0%, #153c8f 100%);
	border: 1px solid #73b3ff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.6);
	padding: 0;
}

.wmp-tool-btn:hover {
	filter: brightness(1.18);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 0 6px rgba(0, 180, 255, 0.5);
}

.wmp-tool-btn:active {
	filter: brightness(0.85);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}

.wmp-tool-btn.wmp-btn-primary {
	width: 36px;
	height: 36px;
	background: radial-gradient(circle at 13px 13px, #00e1ff 0%, #0058ee 65%, #002888 100%);
	border-color: #8be0ff;
}

.wmp-icon-play {
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 10px solid #ffffff;
	margin-left: 2px;
}

.wmp-icon-pause {
	width: 8px;
	height: 10px;
	border-left: 3px solid #ffffff;
	border-right: 3px solid #ffffff;
}

.wmp-icon-stop {
	width: 9px;
	height: 9px;
	background: #ffffff;
}

.wmp-icon-prev {
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-right: 7px solid #ffffff;
	position: relative;
}
.wmp-icon-prev::before {
	content: "";
	position: absolute;
	left: -8px;
	top: -5px;
	width: 2px;
	height: 10px;
	background: #ffffff;
}

.wmp-icon-next {
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 7px solid #ffffff;
	position: relative;
}
.wmp-icon-next::before {
	content: "";
	position: absolute;
	right: -8px;
	top: -5px;
	width: 2px;
	height: 10px;
	background: #ffffff;
}

.wmp-icon-vol {
	width: 14px;
	height: 14px;
	background: url('https://api.iconify.design/mdi/volume-high.svg?color=%23ffffff') no-repeat center;
	background-size: contain;
}

.wmp-icon-vol-muted {
	width: 14px;
	height: 14px;
	background: url('https://api.iconify.design/mdi/volume-mute.svg?color=%23ff4444') no-repeat center;
	background-size: contain;
}

.wmp-toggle-btn {
	background: #1b2433;
	border: 1px solid #3a4b66;
	border-radius: 3px;
	color: #dce4f2;
	padding: 3px 8px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	font-family: inherit;
	font-size: 11px;
}

.wmp-toggle-btn img {
	width: 14px;
	height: 14px;
	object-fit: contain;
}

.wmp-toggle-btn:hover {
	background: #253347;
	border-color: #557199;
}

.wmp-toggle-btn.active {
	background: #1b4b9b;
	border-color: #00d2ff;
	color: #ffffff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.wmp-statusbar {
	height: 22px;
	background: #0d1117;
	border-top: 1px solid #202736;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px;
	font-size: 10px;
	color: #8da4c4;
	flex-shrink: 0;
}

.picview-window .xp-window-content {
	background: #ece9d8;
	overflow: hidden;
}

.picview-layout {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	background: #ece9d8;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	user-select: none;
	overflow: hidden;
}

.picview-viewport {
	flex: 1;
	background: #ffffff;
	border: 2px inset #ffffff;
	margin: 6px;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: grab;
}

.picview-stage {
	display: inline-block;
	transform-origin: center center;
	transition: transform 0.05s ease-out;
}

.picview-main-image {
	display: block;
	max-width: none;
	max-height: none;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
}

.picview-toolbar-container {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px 6px;
	background: #ece9d8;
	border-top: 1px solid #aca899;
	flex-shrink: 0;
}

.picview-toolbar-strip {
	display: flex;
	align-items: center;
	gap: 3px;
	background: linear-gradient(to bottom, #ffffff 0%, #ece9d8 100%);
	border: 1px solid #7f9db9;
	border-radius: 3px;
	padding: 2px 6px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
}

.picview-tool-btn {
	width: 26px;
	height: 24px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.picview-tool-btn:hover:not(:disabled) {
	background: linear-gradient(to bottom, #ffffff 0%, #d8e6fb 100%);
	border-color: #316ac5;
}

.picview-tool-btn:active:not(:disabled),
.picview-tool-btn.active {
	background: linear-gradient(to bottom, #d8e6fb 0%, #b5d1f8 100%);
	border-color: #1b4b9b;
}

.picview-tool-btn:disabled {
	opacity: 0.4;
	cursor: default;
	filter: grayscale(1);
}

.picview-tool-btn img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.pv-toolbar-sep {
	width: 1px;
	height: 18px;
	background: #aca899;
	margin: 0 4px;
}

.pv-icon-prev {
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-right: 8px solid #1b4b9b;
}

.pv-icon-next {
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 8px solid #1b4b9b;
}

.picview-statusbar {
	height: 20px;
	background: #ece9d8;
	border-top: 1px solid #aca899;
	display: flex;
	align-items: center;
	padding: 0 8px;
	font-size: 11px;
	gap: 16px;
	flex-shrink: 0;
}

.pv-sb-item {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sound-recorder-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: #ece9d8;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	user-select: none;
	box-sizing: border-box;
	overflow: hidden;
}

.sndrec-menubar {
	height: 20px;
	background: #ece9d8;
	border-bottom: 1px solid #aca899;
	display: flex;
	align-items: center;
	padding: 0 4px;
	flex-shrink: 0;
}

.sndrec-display-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 10px 4px 10px;
	gap: 6px;
	flex-shrink: 0;
}

.sndrec-time-box {
	display: flex;
	flex-direction: column;
	width: 65px;
	flex-shrink: 0;
}

.sndrec-time-label {
	font-size: 10px;
	color: #000000;
}

.sndrec-time-val {
	font-size: 11px;
	font-weight: bold;
	color: #000000;
	white-space: nowrap;
}

.sndrec-scope-container {
	flex: 1;
	height: 58px;
	background: #000000;
	border: 2px inset #ffffff;
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.9);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sndrec-scope-canvas {
	width: 100%;
	height: 100%;
	display: block;
}

.sndrec-slider-row {
	padding: 2px 10px;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.sndrec-slider {
	flex: 1;
	height: 16px;
	margin: 0;
	cursor: pointer;
}

.sndrec-controls-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 4px 10px 8px 10px;
	flex-shrink: 0;
}

.sndrec-btn {
	width: 44px;
	height: 24px;
	background: #ece9d8;
	border: 1px solid;
	border-color: #ffffff #808080 #808080 #ffffff;
	box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #dfdfdf;
	border-radius: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	box-sizing: border-box;
}

.sndrec-btn:hover:not(:disabled) {
	background: #f5f4ef;
}

.sndrec-btn:active:not(:disabled) {
	border-color: #808080 #ffffff #ffffff #808080;
	box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.4);
	padding: 1px 0 0 1px;
}

.sndrec-btn:disabled {
	opacity: 0.4;
	cursor: default;
	filter: grayscale(1);
}

.sndrec-icon-start {
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-right: 6px solid #000000;
	position: relative;
}
.sndrec-icon-start::before {
	content: "";
	position: absolute;
	left: -8px;
	top: -5px;
	width: 2px;
	height: 10px;
	background: #000000;
}

.sndrec-icon-end {
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 6px solid #000000;
	position: relative;
}
.sndrec-icon-end::before {
	content: "";
	position: absolute;
	right: -8px;
	top: -5px;
	width: 2px;
	height: 10px;
	background: #000000;
}

.sndrec-icon-play {
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 9px solid #000000;
	margin-left: 2px;
}

.sndrec-icon-stop {
	width: 8px;
	height: 8px;
	background: #000000;
}

.sndrec-icon-rec {
	width: 10px;
	height: 10px;
	background: #cc0000;
	border-radius: 50%;
	box-shadow: 0 0 2px rgba(204, 0, 0, 0.8);
}

.paint-window .xp-window-content {
	overflow: hidden;
	background: #ece9d8;
}

.paint-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: #ece9d8;
	font-family: 'Tahoma', 'Segoe UI', sans-serif;
	user-select: none;
	box-sizing: border-box;
	overflow: hidden;
}

.paint-menubar {
	height: 20px;
	background: #ece9d8;
	border-bottom: 1px solid #aca899;
	display: flex;
	align-items: center;
	padding: 0 4px;
	flex-shrink: 0;
}

.paint-menubar ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.paint-menubar li {
	padding: 1px 6px;
	cursor: pointer;
	font-size: 11px;
	border-radius: 2px;
}

.paint-menubar li:hover {
	background: var(--xp-selection-blue);
	color: #ffffff;
}

.paint-main-workspace {
	display: flex;
	flex: 1;
	overflow: hidden;
	background: #808080;
	position: relative;
}

.paint-toolbox {
	width: 56px;
	background: #ece9d8;
	border-right: 1px solid #aca899;
	display: flex;
	flex-direction: column;
	padding: 4px 2px;
	gap: 6px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.paint-tools-grid {
	display: grid;
	grid-template-columns: repeat(2, 24px);
	gap: 2px;
	justify-content: center;
}

.paint-tool-btn {
	width: 24px;
	height: 24px;
	background: #ece9d8;
	border: 1px solid;
	border-color: #ffffff #808080 #808080 #ffffff;
	padding: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-sizing: border-box;
}

.paint-tool-btn img {
	width: 16px;
	height: 16px;
	pointer-events: none;
}

.paint-tool-btn:hover {
	background: #ffffff;
}

.paint-tool-btn.active {
	border-color: #808080 #ffffff #ffffff #808080;
	background: #e0e0e0;
	box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.paint-tool-options {
	width: 48px;
	min-height: 60px;
	border: 2px inset #ffffff;
	background: #ece9d8;
	margin: 0 auto;
	padding: 2px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	align-items: center;
	box-sizing: border-box;
}

.paint-opt-line, .paint-opt-brush, .paint-opt-eraser, .paint-opt-shape {
	width: 100%;
	height: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.paint-opt-line:hover, .paint-opt-brush:hover, .paint-opt-eraser:hover, .paint-opt-shape:hover {
	background: #ffffff;
}

.paint-opt-line.selected, .paint-opt-brush.selected, .paint-opt-eraser.selected, .paint-opt-shape.selected {
	background: var(--xp-selection-blue);
}

.paint-opt-line.selected div, .paint-opt-brush.selected div, .paint-opt-eraser.selected div {
	background: #ffffff !important;
}

.paint-canvas-viewport {
	flex: 1;
	overflow: auto;
	padding: 8px;
	background: #808080;
	position: relative;
	box-sizing: border-box;
}

.paint-canvas-wrapper {
	position: relative;
	background: #ffffff;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
	display: inline-block;
}

#paint-main-canvas {
	display: block;
	background: #ffffff;
}

#paint-overlay-canvas {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: auto;
	cursor: crosshair;
}

.paint-resize-handle {
	position: absolute;
	width: 5px;
	height: 5px;
	background: #000080;
	border: 1px solid #ffffff;
}

.paint-handle-r {
	right: -6px;
	top: 50%;
	transform: translateY(-50%);
	cursor: ew-resize;
}

.paint-handle-b {
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	cursor: ns-resize;
}

.paint-handle-br {
	bottom: -6px;
	right: -6px;
	cursor: nwse-resize;
}

.paint-bottom-panel {
	height: 46px;
	background: #ece9d8;
	border-top: 1px solid #aca899;
	display: flex;
	align-items: center;
	padding: 2px 6px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.paint-color-box {
	display: flex;
	align-items: center;
	gap: 6px;
}

.paint-current-colors {
	width: 28px;
	height: 28px;
	position: relative;
	border: 2px inset #ffffff;
	background: #ece9d8;
	box-sizing: border-box;
}

.paint-color-sec {
	position: absolute;
	bottom: 2px;
	right: 2px;
	width: 14px;
	height: 14px;
	border: 1px solid #000000;
	background: #ffffff;
}

.paint-color-pri {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 14px;
	height: 14px;
	border: 1px solid #000000;
	background: #000000;
}

.paint-palette-grid {
	display: grid;
	grid-template-columns: repeat(14, 14px);
	grid-template-rows: repeat(2, 14px);
	gap: 1px;
	border: 2px inset #ffffff;
	padding: 1px;
	background: #ece9d8;
}

.paint-swatch {
	width: 14px;
	height: 14px;
	border: 1px solid #808080;
	box-sizing: border-box;
	cursor: pointer;
}

.paint-swatch:hover {
	border-color: #000000;
}

.paint-statusbar {
	height: 20px;
	background: #ece9d8;
	border-top: 1px solid #aca899;
	display: flex;
	align-items: center;
	font-size: 11px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.paint-sb-hint {
	flex: 1;
	padding: 0 8px;
	border-right: 1px solid #aca899;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.paint-sb-coords, .paint-sb-dim, .paint-sb-sel {
	width: 110px;
	padding: 0 6px;
	border-right: 1px solid #aca899;
	text-align: left;
	font-family: 'Tahoma', sans-serif;
	font-size: 11px;
}

.paint-text-toolbar {
	position: absolute;
	top: 28px;
	left: 68px;
	background: #ece9d8;
	border: 2px outset #ffffff;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
	padding: 4px 6px;
	display: flex;
	gap: 6px;
	align-items: center;
	z-index: 200;
	font-family: 'Tahoma', sans-serif;
	font-size: 11px;
	user-select: none;
}

.paint-text-toolbar.hidden {
	display: none !important;
}

.paint-text-toolbar-title {
	font-weight: bold;
	color: #0b3b7a;
	margin-right: 4px;
	cursor: move;
}

.paint-tb-btn {
	min-width: 22px;
	height: 22px;
	padding: 0 4px;
	font-family: 'Tahoma', sans-serif;
	font-size: 11px;
	font-weight: bold;
	background: #ece9d8;
	border: 1px solid #7f9db9;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.paint-tb-btn.active {
	background: #d8e6fb;
	border-color: #316ac5;
	box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.paint-text-box {
	position: absolute;
	border: 1px dashed #000080;
	background: transparent;
	z-index: 90;
	box-sizing: border-box;
	cursor: move;
}

.paint-text-box textarea {
	width: 100%;
	height: 100%;
	border: none;
	outline: none;
	resize: none;
	background: transparent;
	padding: 2px;
	margin: 0;
	box-sizing: border-box;
	cursor: text;
	overflow: hidden;
	white-space: pre-wrap;
	word-break: break-word;
}

.paint-selection-box {
	position: absolute;
	border: 1px dashed #000000;
	background: transparent;
	cursor: move;
	z-index: 60;
	box-sizing: border-box;
	outline: 1px dashed #ffffff;
}

.paint-grid-canvas {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 30;
}

.paint-fullscreen-preview {
	position: fixed;
	inset: 0;
	background: #ffffff;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.paint-fullscreen-preview img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.paint-custom-colors-grid {
	display: grid;
	grid-template-columns: repeat(8, 18px);
	grid-template-rows: repeat(2, 18px);
	gap: 2px;
	border: 2px inset #ffffff;
	padding: 2px;
	background: #ece9d8;
}

.paint-color-matrix-box {
	display: flex;
	gap: 8px;
	padding: 8px;
	background: #ece9d8;
}

.paint-color-spectrum {
	width: 160px;
	height: 160px;
	border: 2px inset #ffffff;
	cursor: crosshair;
	position: relative;
}

.paint-color-lum-slider {
	width: 18px;
	height: 160px;
	border: 2px inset #ffffff;
	cursor: ns-resize;
	position: relative;
}

.charmap-window .xp-window-content {
	background: #ece9d8;
	overflow: hidden;
}

.charmap-layout {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 8px;
	box-sizing: border-box;
	user-select: none;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	color: #000000;
	position: relative;
	gap: 6px;
}

.charmap-top-controls {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex-shrink: 0;
}

.charmap-form-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.charmap-label {
	font-size: 11px;
	flex-shrink: 0;
}

.charmap-font-dropdown {
	flex: 1;
	height: 22px;
}

.charmap-help-btn {
	min-width: 60px;
	height: 22px;
}

.charmap-grid-container {
	flex: 1;
	background: #ffffff;
	border: 2px inset #ffffff;
	overflow-y: scroll;
	position: relative;
	box-sizing: border-box;
	min-height: 180px;
	outline: none;
}

.charmap-grid {
	display: grid;
	grid-template-columns: repeat(20, 1fr);
	gap: 1px;
	background: #d4d0c8;
	padding: 1px;
	box-sizing: border-box;
}

.charmap-cell {
	aspect-ratio: 1 / 1;
	min-height: 20px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	cursor: pointer;
	box-sizing: border-box;
	border: 1px solid transparent;
}

.charmap-cell:hover {
	background: #e8f0fe;
	border-color: #7f9db9;
}

.charmap-cell.selected {
	background: var(--xp-selection-blue) !important;
	color: #ffffff !important;
	border-color: #0b3b7a;
}

.charmap-empty-notice {
	grid-column: 1 / -1;
	padding: 20px;
	text-align: center;
	color: #666666;
	background: #ffffff;
}

.charmap-magnifier {
	position: absolute;
	width: 36px;
	height: 42px;
	background: #ffffff;
	border: 2px outset #ffffff;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #000000;
	z-index: 100;
	pointer-events: none;
	box-sizing: border-box;
}

.charmap-magnifier.hidden {
	display: none !important;
}

.charmap-selection-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-shrink: 0;
}

.charmap-selection-left {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
}

.charmap-copy-box {
	flex: 1;
	height: 22px;
	padding: 2px 4px;
	font-size: 13px;
}

.charmap-selection-actions {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
}

.charmap-action-btn {
	min-width: 65px;
	height: 23px;
}

.charmap-advanced-section {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex-shrink: 0;
}

.charmap-advanced-toggle-row {
	margin: 0;
}

.charmap-advanced-panel {
	border: 1px solid #aca899;
	background: #ece9d8;
	padding: 6px 8px;
	border-radius: 2px;
}

.charmap-advanced-panel.hidden {
	display: none !important;
}

.charmap-adv-grid {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.charmap-adv-label {
	width: 90px;
	font-size: 11px;
	flex-shrink: 0;
}

.charmap-adv-select,
.charmap-adv-input {
	flex: 1;
	height: 21px;
}

.charmap-adv-btn {
	min-width: 55px;
	height: 21px;
}

.charmap-search-row {
	display: flex;
	align-items: center;
	gap: 4px;
}

.charmap-subrange-modal {
	position: absolute;
	top: 36px;
	right: 12px;
	width: 170px;
	background: #ece9d8;
	border: 2px outset #ffffff;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
	z-index: 200;
	padding: 4px;
	box-sizing: border-box;
}

.charmap-subrange-modal.hidden {
	display: none !important;
}

.charmap-subrange-title {
	font-size: 10px;
	font-weight: bold;
	padding: 2px 4px;
	border-bottom: 1px solid #aca899;
	margin-bottom: 4px;
}

.charmap-subrange-list {
	max-height: 180px;
	overflow-y: auto;
	background: #ffffff;
	border: 1px inset #ffffff;
}

.charmap-subrange-item {
	padding: 2px 4px;
	font-size: 10px;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.charmap-subrange-item:hover {
	background: #e8f0fe;
}

.charmap-subrange-item.selected {
	background: var(--xp-selection-blue);
	color: #ffffff;
}

.charmap-statusbar {
	height: 20px;
	background: #ece9d8;
	border-top: 1px solid #aca899;
	display: flex;
	align-items: center;
	font-size: 11px;
	flex-shrink: 0;
	margin: 0 -8px -8px -8px;
	box-sizing: border-box;
}

.charmap-sb-info {
	flex: 1;
	padding: 0 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border-right: 1px solid #aca899;
	height: 100%;
	display: flex;
	align-items: center;
}

.charmap-sb-keystroke {
	min-width: 140px;
	padding: 0 8px;
	white-space: nowrap;
	height: 100%;
	display: flex;
	align-items: center;
}

.achievements-layout {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ece9d8;
	user-select: none;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	overflow: hidden;
}

.achievements-toolbar {
	flex-wrap: wrap;
	height: auto;
	min-height: 38px;
	padding: 4px 6px;
	gap: 4px;
}

.ach-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	height: 24px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 2px;
	cursor: pointer;
	font-family: inherit;
	font-size: 11px;
}

.ach-filter-btn:hover {
	background: #ffffff;
	border-color: #7f9db9;
}

.ach-filter-btn.active {
	background: linear-gradient(to bottom, #d8e6fb 0%, #b5d1f8 100%);
	border-color: #316ac5;
	font-weight: bold;
}

.ach-filter-btn img {
	width: 14px;
	height: 14px;
}

.achievements-summary-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	background: linear-gradient(to bottom, #ffffff 0%, #edf3fe 100%);
	border-bottom: 1px solid #7f9db9;
	flex-shrink: 0;
}

.ach-summary-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ach-trophy-large-icon {
	width: 44px;
	height: 44px;
	background: radial-gradient(circle at 14px 14px, #ffffff 0%, #e2ecfa 100%);
	border: 1px solid #7f9db9;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

.ach-trophy-large-icon img {
	width: 32px;
	height: 32px;
}

.ach-summary-title {
	font-size: 14px;
	font-weight: bold;
	color: #0b3b7a;
}

.ach-summary-sub {
	font-size: 11px;
	color: #444444;
	margin-top: 2px;
}

.ach-summary-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.ach-points-counter {
	font-size: 13px;
	font-weight: bold;
	color: #0b3b7a;
	letter-spacing: 0.5px;
}

.ach-progress-bar-container {
	width: 160px;
	height: 14px;
	background: #ffffff;
	border: 1px inset #ffffff;
	box-shadow: inset 1px 1px 2px rgba(0,0,0,0.25);
	position: relative;
	overflow: hidden;
}

.ach-progress-bar-fill {
	height: 100%;
	background: repeating-linear-gradient(
		to right,
		#32cd32 0px,
		#32cd32 8px,
		#28a428 8px,
		#28a428 10px
	);
	transition: width 0.3s ease;
}

.achievements-body-container {
	flex: 1;
	background: #ffffff;
	overflow-y: auto;
	padding: 8px;
	box-sizing: border-box;
}

.achievements-list-viewport {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ach-card-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 8px 10px;
	background: #ffffff;
	border: 1px solid #d4d0c8;
	border-radius: 3px;
	box-sizing: border-box;
	transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.ach-card-item:hover {
	background: #f4f8fe;
	border-color: #316ac5;
}

.ach-card-item.locked {
	background: #fafafa;
	opacity: 0.88;
}

.ach-card-item.unlocked {
	background: #ffffff;
	border-color: #95bdee;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.06);
}

.ach-card-item.highlight-target {
	border-color: #ff9900 !important;
	background: #fffbe6 !important;
	box-shadow: 0 0 8px #ffaa00 !important;
}

.ach-card-icon-frame {
	position: relative;
	width: 52px;
	height: 52px;
	min-width: 52px;
	min-height: 52px;
	max-width: 52px;
	max-height: 52px;
	aspect-ratio: 1 / 1;
	border: 2px inset #ffffff;
	background: #ece9d8;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-sizing: border-box;
}

.ach-card-square-img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	display: block;
}

.ach-card-item.locked .ach-card-square-img {
	filter: grayscale(1) opacity(0.65);
}

.ach-lock-overlay {
	position: absolute;
	bottom: 2px;
	right: 2px;
	font-size: 10px;
	line-height: 1;
	background: rgba(0, 0, 0, 0.6);
	padding: 1px 3px;
	border-radius: 2px;
}

.ach-check-overlay {
	position: absolute;
	bottom: 2px;
	right: 2px;
	font-size: 10px;
	font-weight: bold;
	line-height: 1;
	color: #ffffff;
	background: #2e7d32;
	padding: 1px 3px;
	border-radius: 2px;
}

.ach-card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
	overflow: hidden;
}

.ach-card-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ach-card-title {
	font-size: 12px;
	color: #0b3b7a;
}

.ach-card-pts-badge {
	font-size: 10px;
	font-weight: bold;
	background: #eef4fe;
	color: #1b4b9b;
	border: 1px solid #b5c7de;
	padding: 1px 6px;
	border-radius: 3px;
}

.ach-card-desc {
	font-size: 11px;
	color: #333333;
	line-height: 1.35;
	word-break: break-word;
}

.ach-card-desc.scrambled-text {
	font-family: 'Lucida Console', Monaco, monospace;
	color: #777777;
	letter-spacing: 0.8px;
	user-select: none;
}

.ach-card-prog-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
}

.ach-card-prog-track {
	flex: 1;
	height: 10px;
	background: #f0f0f0;
	border: 1px inset #ffffff;
	overflow: hidden;
}

.ach-card-prog-bar {
	height: 100%;
	background: repeating-linear-gradient(
		to right,
		#32cd32 0px,
		#32cd32 6px,
		#28a428 6px,
		#28a428 8px
	);
}

.ach-card-prog-text {
	font-size: 10px;
	color: #555555;
	font-weight: bold;
}

.ach-card-footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 2px;
	font-size: 10px;
	color: #777777;
}

.ach-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	gap: 10px;
	color: #666666;
}

.ach-empty-state img {
	width: 36px;
	height: 36px;
}

.xp-file-dialog {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: #ece9d8;
	font-family: 'Tahoma', 'Segoe UI', sans-serif;
	font-size: 11px;
	user-select: none;
	box-sizing: border-box;
	padding: 8px;
	gap: 6px;
}

.xp-fd-header {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.xp-fd-lookin-row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.xp-fd-lookin-row label {
	width: 60px;
	flex-shrink: 0;
	font-size: 11px;
}

.xp-fd-lookin-combo {
	flex: 1;
	display: flex;
	align-items: center;
	background: #ffffff;
	border: 1px solid #7f9db9;
	height: 22px;
	padding: 0 4px;
	box-sizing: border-box;
}

.xp-fd-lookin-icon {
	width: 16px;
	height: 16px;
	margin-right: 4px;
	flex-shrink: 0;
}

.xp-fd-folder-dropdown {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	font-size: 11px;
	font-family: inherit;
	height: 100%;
	padding: 0;
}

.xp-fd-header-tools {
	display: flex;
	align-items: center;
	gap: 3px;
	flex-shrink: 0;
}

.xp-fd-btn-tool {
	width: 24px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.xp-fd-body {
	display: flex;
	flex: 1;
	gap: 6px;
	overflow: hidden;
	min-height: 200px;
}

.xp-fd-places-bar {
	width: 86px;
	background: #6375d6;
	border: 1px inset #ffffff;
	padding: 4px 2px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex-shrink: 0;
	box-sizing: border-box;
	overflow-y: auto;
}

.xp-fd-place-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 4px 2px;
	color: #ffffff;
	cursor: pointer;
	border-radius: 3px;
	font-size: 10px;
	line-height: 1.15;
}

.xp-fd-place-item:hover {
	background: rgba(255, 255, 255, 0.2);
}

.xp-fd-place-item.active {
	background: rgba(0, 0, 0, 0.25);
	box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.xp-fd-place-item img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	margin-bottom: 2px;
}

.xp-fd-browser-pane {
	flex: 1;
	background: #ffffff;
	border: 2px inset #ffffff;
	overflow-y: auto;
	box-sizing: border-box;
	padding: 2px;
}

.xp-fd-files-container {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.xp-fd-files-container.view-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 2px 4px;
}

.xp-fd-item {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 2px 4px;
	cursor: pointer;
	border: 1px solid transparent;
	font-size: 11px;
	white-space: nowrap;
	overflow: hidden;
	box-sizing: border-box;
}

.xp-fd-item:hover {
	background: #e8f0fe;
}

.xp-fd-item.selected {
	background: var(--xp-selection-blue) !important;
	color: #ffffff !important;
}

.xp-fd-item img {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	object-fit: contain;
}

.xp-fd-item span {
	overflow: hidden;
	text-overflow: ellipsis;
}

.xp-fd-footer {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding-top: 4px;
}

.xp-fd-fields {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.xp-fd-form-row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.xp-fd-form-row label {
	width: 80px;
	flex-shrink: 0;
	font-size: 11px;
}

.xp-fd-form-row input, .xp-fd-form-row select {
	flex: 1;
}

.xp-fd-actions {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex-shrink: 0;
}

.xp-fd-btn-action {
	width: 75px;
	height: 22px;
}

.minesweeper-app-window {
	user-select: none;
}

.minesweeper-layout {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #c0c0c0;
	font-family: 'Tahoma', Arial, sans-serif;
	box-sizing: border-box;
	border-top: 1px solid #ffffff;
}

.minesweeper-menu-bar {
	display: flex;
	background: #ece9d8;
	border-bottom: 1px solid #aca899;
	padding: 1px 2px;
	font-size: 11px;
	user-select: none;
	flex-shrink: 0;
}

.minesweeper-menu-item {
	padding: 2px 6px;
	cursor: pointer;
}

.minesweeper-menu-item:hover {
	background: var(--xp-selection-blue);
	color: #ffffff;
}

.minesweeper-window-body {
	flex: 1;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 6px;
	background: #c0c0c0;
	box-sizing: border-box;
	overflow: auto;
}

.minesweeper-outer-border {
	border: 3px solid;
	border-color: #ffffff #7b7b7b #7b7b7b #ffffff;
	background: #c0c0c0;
	padding: 6px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	box-sizing: border-box;
	align-items: center;
}

.minesweeper-header-panel {
	border: 2px solid;
	border-color: #7b7b7b #ffffff #ffffff #7b7b7b;
	background: #c0c0c0;
	padding: 3px 6px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
}

.minesweeper-digital-display {
	background: #000000;
	color: #ff0000;
	font-family: 'Courier New', Courier, monospace;
	font-size: 20px;
	font-weight: 900;
	line-height: 1;
	padding: 2px 4px;
	border: 1px solid #7b7b7b;
	letter-spacing: 2px;
	height: 24px;
	min-width: 44px;
	text-align: right;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.minesweeper-face-button {
	width: 26px;
	height: 26px;
	background: #c0c0c0;
	border: 2px solid;
	border-color: #ffffff #7b7b7b #7b7b7b #ffffff;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	outline: none;
}

.minesweeper-face-button:active {
	border-color: #7b7b7b #ffffff #ffffff #7b7b7b;
}

.ms-face-icon {
	font-size: 16px;
	line-height: 1;
	pointer-events: none;
	user-select: none;
}

.minesweeper-grid-panel {
	border: 3px solid;
	border-color: #7b7b7b #ffffff #ffffff #7b7b7b;
	background: #7b7b7b;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	overflow: hidden;
}

.minesweeper-board {
	display: grid;
	background: #7b7b7b;
	gap: 0;
	padding: 0;
	margin: 0;
}

.ms-cell {
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
	max-width: 16px;
	max-height: 16px;
	background: #c0c0c0;
	border: 2px solid;
	border-color: #ffffff #7b7b7b #7b7b7b #ffffff;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Tahoma', 'Arial', sans-serif;
	font-size: 11px;
	font-weight: bold;
	cursor: default;
	user-select: none;
	line-height: 1;
	padding: 0;
	margin: 0;
}

.ms-cell.pressed,
.ms-cell.revealed {
	border: 1px solid #7b7b7b;
	background: #c0c0c0;
}

.ms-cell.flagged {
	font-size: 11px;
}

.ms-cell.question {
	color: #000000;
	font-size: 11px;
}

.ms-cell.mine {
	background: #c0c0c0;
	font-size: 10px;
}

.ms-cell.mine-death {
	background: #ff0000 !important;
	font-size: 10px;
}

.ms-cell.mine-wrong {
	background: #c0c0c0;
	color: #ff0000;
	font-size: 10px;
}

.ms-cell[data-num="1"] { color: #0000ff; }
.ms-cell[data-num="2"] { color: #008000; }
.ms-cell[data-num="3"] { color: #ff0000; }
.ms-cell[data-num="4"] { color: #000080; }
.ms-cell[data-num="5"] { color: #800000; }
.ms-cell[data-num="6"] { color: #008080; }
.ms-cell[data-num="7"] { color: #000000; }
.ms-cell[data-num="8"] { color: #808080; }

.solitaire-window .xp-window-content {
	padding: 0 !important;
	overflow: hidden;
	background: #008000;
}

.solitaire-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: #008000;
	user-select: none;
	font-family: 'Tahoma', 'Segoe UI', sans-serif;
	box-sizing: border-box;
	overflow: hidden;
	position: relative;
}

.solitaire-menubar {
	height: 20px;
	background: #ece9d8;
	border-bottom: 1px solid #aca899;
	display: flex;
	align-items: center;
	padding: 0 4px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.solitaire-menubar ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.solitaire-menubar li {
	padding: 1px 6px;
	cursor: pointer;
	font-size: 11px;
	border-radius: 2px;
	color: #000000;
}

.solitaire-menubar li:hover {
	background: var(--xp-selection-blue);
	color: #ffffff;
}

.solitaire-board {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 12px 16px;
	gap: 16px;
	box-sizing: border-box;
	position: relative;
	overflow: auto;
}

.solitaire-top-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
	min-height: 100px;
}

.solitaire-deck-area {
	display: flex;
	gap: 12px;
}

.solitaire-foundations-area {
	display: flex;
	gap: 12px;
}

.solitaire-tableau-row {
	display: grid;
	grid-template-columns: repeat(7, 72px);
	gap: 12px;
	flex: 1;
	min-height: 280px;
}

.solitaire-column {
	position: relative;
	width: 72px;
	min-height: 100px;
}

.solitaire-slot {
	width: 72px;
	height: 96px;
	border-radius: 4px;
	box-sizing: border-box;
	position: relative;
}

.solitaire-slot.empty-slot {
	border: 1px solid rgba(0, 100, 0, 0.8);
	background: rgba(0, 0, 0, 0.15);
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.solitaire-slot.empty-foundation {
	border: 1px solid rgba(0, 100, 0, 0.8);
	background: rgba(0, 0, 0, 0.15);
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.25);
	font-size: 28px;
}

.solitaire-slot.empty-stock {
	border: 1px solid rgba(0, 100, 0, 0.8);
	background: rgba(0, 0, 0, 0.15);
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.4);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.solitaire-slot.empty-stock::after {
	content: "○";
	color: rgba(0, 255, 0, 0.4);
	font-size: 28px;
	font-weight: bold;
}

.solitaire-card {
	width: 72px;
	height: 96px;
	background: #ffffff;
	border: 1px solid #222222;
	border-radius: 4px;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
	position: absolute;
	top: 0;
	left: 0;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 3px 4px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	line-height: 1;
	transition: outline 0.08s ease;
}

.solitaire-card.red {
	color: #d00000;
}

.solitaire-card.black {
	color: #000000;
}

.solitaire-card-corner-top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1px;
	font-size: 11px;
}

.solitaire-card-corner-bottom {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1px;
	font-size: 11px;
	transform: rotate(180deg);
}

.solitaire-card-center {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex: 1;
	pointer-events: none;
}

.solitaire-card-suit-small {
	font-size: 10px;
	line-height: 1;
}

.solitaire-card.face-down {
	background: #104e8b;
	border-color: #0c2b5e;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.solitaire-card.face-down .solitaire-card-corner-top,
.solitaire-card.face-down .solitaire-card-corner-bottom,
.solitaire-card.face-down .solitaire-card-center {
	display: none;
}

.solitaire-card.back-classic-blue {
	background: linear-gradient(135deg, #1f50a8 0%, #103478 50%, #0d2759 100%);
	border: 1px solid #081735;
	position: absolute;
}
.solitaire-card.back-classic-blue::before {
	content: "";
	position: absolute;
	inset: 3px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 2px, transparent 2px, transparent 4px);
	border-radius: 2px;
}

.solitaire-card.back-castle {
	background: linear-gradient(135deg, #1b2838 0%, #2a475e 50%, #171a21 100%);
	border: 1px solid #0d1217;
	position: absolute;
}
.solitaire-card.back-castle::before {
	content: "";
	position: absolute;
	inset: 3px;
	border: 1px solid rgba(102, 192, 244, 0.4);
	background: repeating-linear-gradient(0deg, rgba(102, 192, 244, 0.08) 0, rgba(102, 192, 244, 0.08) 2px, transparent 2px, transparent 6px);
	border-radius: 2px;
}

.solitaire-card.back-beach {
	background: linear-gradient(135deg, #b83a00 0%, #e65100 50%, #f57c00 100%);
	border: 1px solid #7a2600;
	position: absolute;
}
.solitaire-card.back-beach::before {
	content: "";
	position: absolute;
	inset: 3px;
	border: 1px solid rgba(255, 235, 59, 0.45);
	background: repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 2px, transparent 2px, transparent 5px);
	border-radius: 2px;
}

.solitaire-card.back-hand {
	background: linear-gradient(135deg, #4a121a 0%, #800020 50%, #300a10 100%);
	border: 1px solid #200408;
	position: absolute;
}
.solitaire-card.back-hand::before {
	content: "";
	position: absolute;
	inset: 3px;
	border: 1px solid rgba(255, 215, 0, 0.45);
	background: repeating-linear-gradient(-45deg, rgba(255, 215, 0, 0.08) 0, rgba(255, 215, 0, 0.08) 2px, transparent 2px, transparent 6px);
	border-radius: 2px;
}

.solitaire-card.back-robot {
	background: linear-gradient(135deg, #263238 0%, #455a64 50%, #1c2428 100%);
	border: 1px solid #10171a;
	position: absolute;
}
.solitaire-card.back-robot::before {
	content: "";
	position: absolute;
	inset: 3px;
	border: 1px solid rgba(0, 230, 118, 0.4);
	background: repeating-radial-gradient(circle at center, rgba(0, 230, 118, 0.08) 0, rgba(0, 230, 118, 0.08) 2px, transparent 2px, transparent 6px);
	border-radius: 2px;
}

.solitaire-card.back-fish {
	background: linear-gradient(135deg, #004d40 0%, #00897b 50%, #00251a 100%);
	border: 1px solid #001f18;
	position: absolute;
}
.solitaire-card.back-fish::before {
	content: "";
	position: absolute;
	inset: 3px;
	border: 1px solid rgba(128, 222, 234, 0.45);
	background: repeating-linear-gradient(90deg, rgba(128, 222, 234, 0.08) 0, rgba(128, 222, 234, 0.08) 2px, transparent 2px, transparent 5px);
	border-radius: 2px;
}

.solitaire-card.selected {
	outline: 2px solid #00ffff !important;
	outline-offset: 1px;
}

.solitaire-card.hidden-drag-source {
	visibility: hidden !important;
	opacity: 0 !important;
}

.solitaire-drag-container {
	position: fixed;
	pointer-events: none;
	z-index: 999999;
	top: 0;
	left: 0;
	transition: none;
}

.solitaire-drag-container .solitaire-card {
	position: absolute;
	opacity: 0.82;
	box-shadow: 3px 6px 16px rgba(0, 0, 0, 0.45);
	pointer-events: none;
	cursor: grabbing;
}

.solitaire-autocomplete-btn {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 450;
	background: linear-gradient(to bottom, #ffffff 0%, #ece9d8 45%, #dcd7c6 100%);
	border: 2px outset #ffffff;
	border-radius: 3px;
	padding: 4px 14px;
	font-family: 'Tahoma', 'Segoe UI', sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #0b3b7a;
	cursor: pointer;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	user-select: none;
	animation: solPulseBtn 1.6s infinite;
}

.solitaire-autocomplete-btn:hover {
	background: linear-gradient(to bottom, #ffffff 0%, #f5f4ef 45%, #e8e4d8 100%);
	border-color: #316ac5;
	color: #1a54bf;
}

.solitaire-autocomplete-btn:active {
	border-style: inset;
	background: #d4d0c8;
	transform: translateX(-50%) translateY(1px);
}

@keyframes solPulseBtn {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
	70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.solitaire-statusbar {
	height: 20px;
	background: #ece9d8;
	border-top: 1px solid #aca899;
	display: flex;
	align-items: center;
	font-size: 11px;
	flex-shrink: 0;
	box-sizing: border-box;
	padding: 0;
}

.solitaire-sb-pane {
	padding: 0 8px;
	border-right: 1px solid #d4d0c8;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 4px;
}

.solitaire-sb-score {
	min-width: 100px;
}

.solitaire-sb-time {
	min-width: 90px;
}

.solitaire-sb-deals {
	min-width: 90px;
}

.solitaire-sb-status {
	flex: 1;
	border-right: none;
}

.solitaire-win-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: auto;
	z-index: 500;
	cursor: pointer;
}

.solitaire-cardbacks-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	padding: 10px;
	background: #ffffff;
	border: 2px inset #ffffff;
}

.solitaire-cardback-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	padding: 6px;
	border: 2px solid transparent;
	border-radius: 4px;
}

.solitaire-cardback-option:hover {
	background: #e8f0fe;
}

.solitaire-cardback-option.selected {
	border-color: var(--xp-selection-blue);
	background: #d8e6fb;
}

.solitaire-cardback-thumb {
	width: 54px;
	height: 74px;
	border-radius: 3px;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

#webamp {
	z-index: inherit;
}

#taskbar-context-menu {
	position: fixed;
	width: 150px;
	z-index: 50000;
	padding: 2px;
	background-color: var(--xp-window-bg);
	border: 1px solid var(--xp-border-dark);
	display: flex;
	flex-direction: column;
	min-height: auto;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

#taskbar-context-menu.hidden {
	display: none;
}

#taskbar-context-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#taskbar-context-menu li {
	padding: 4px 15px;
	cursor: pointer;
	color: var(--xp-font-color);
	font-family: 'Tahoma', sans-serif;
	font-size: 11px;
}

#taskbar-context-menu li:hover {
	background-color: var(--xp-selection-blue);
	color: var(--xp-selection-text);
}

#taskbar-context-menu li.separator {
	height: 1px;
	background: linear-gradient(to right, rgba(0,0,0,0.22), rgba(0,0,0,0.06));
	margin: 4px 2px;
	padding: 0;
	pointer-events: none;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 1px 0 rgba(0,0,0,0.06);
}

#taskbar-context-menu li.disabled {
	color: #888;
	pointer-events: none;
}

.xp-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: transparent;
	z-index: 20000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.xp-dialog-icon {
	width: 32px;
	height: 32px;
	margin-right: 15px;
	flex-shrink: 0;
}

.xp-dialog-content {
	display: flex;
	align-items: flex-start;
	padding: 15px;
	flex-grow: 1;
}

.xp-dialog-buttons {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 10px;
	background-color: var(--xp-window-bg);
}

.xp-dialog-buttons .xp-button {
	min-width: 75px;
}

.xp-window.xp-cmd-window {
	background-color: #000000;
}

.xp-cmd-container {
	background-color: #000000;
	color: #c0c0c0;
	position: relative;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

.xp-cmd-terminal {
	width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	box-sizing: border-box;
	padding: 4px 6px;
	font-family: Consolas, "Lucida Console", "Courier New", monospace;
	font-size: 13px;
	line-height: 1.25;
	white-space: pre-wrap;
	word-break: break-all;
	user-select: text;
}

.xp-cmd-line {
	margin: 0;
	padding: 0;
	line-height: 1.25;
}

.xp-cmd-input-line {
	display: flex;
	align-items: center;
	position: relative;
	line-height: 1.25;
}

.xp-cmd-prompt-text {
	margin-right: 2px;
	white-space: pre;
}

.xp-cmd-visible-input {
	white-space: pre;
}

.xp-cmd-hidden-input {
	position: absolute;
	opacity: 0;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
}

.xp-cmd-cursor {
	display: inline-block;
	font-weight: bold;
	line-height: 1;
	animation: xpCmdCursorBlink 0.8s infinite;
}

@keyframes xpCmdCursorBlink {
	0%, 49% { opacity: 1; }
	50%, 100% { opacity: 0; }
}

.xp-matrix-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000000;
}

.xp-window iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: none;
	background: white;
}

.iframe-overlay-active iframe {
	pointer-events: none;
}

.splitter-vertical,
#oe-splitter-vertical {
	width: 4px;
	cursor: col-resize;
	background: var(--xp-window-bg);
	flex-shrink: 0;
	z-index: 2;
}

.splitter-horizontal,
#oe-splitter-horizontal {
	height: 4px;
	cursor: row-resize;
	background: var(--xp-window-bg);
	flex-shrink: 0;
	z-index: 2;
}

@media (max-width: 820px) {
	.outlook-folder-pane { display: none !important; }
	.splitter-vertical { display: none !important; }
}

@media (max-width: 800px) {
	.outlook-folder-pane { display: none; }
	.outlook-message-header, .outlook-message-list .msg-row { grid-template-columns: 1fr 120px; }
}

.calendar-day.selectable {
	cursor: pointer;
}

.calendar-day.selectable:hover {
	background-color: rgba(49, 106, 197, 0.2);
}

.calendar-day:not(.selectable) {
	opacity: 0.55;
	cursor: default;
}

.notepad-readonly-banner {
	padding: 6px 10px;
	background: #fff3cd;
	border-bottom: 1px solid #ffe69c;
	font-size: 12px;
	color: #664d03;
	font-family: 'Roboto Mono', monospace;
	flex-shrink: 0;
}

.outlook-folder-pane#oe-folders li.drop-target {
	background: rgba(49, 106, 197, 0.25);
	outline: 1px dashed var(--xp-selection-blue);
}

#context-menu li.disabled {
	color: #888888;
	cursor: default;
	pointer-events: none;
}

#context-menu li.disabled:hover {
	background-color: transparent;
	color: #888888;
}

#taskbar-windows.compact .taskbar-window-btn {
	max-width: 34px;
	padding: 0 6px;
	justify-content: center;
}

#taskbar-windows.compact .taskbar-window-btn span {
	display: none;
}

#taskbar-windows.compact .taskbar-btn-icon {
	margin-right: 0;
}

.oe-unread-badge {
	background: var(--xp-selection-blue);
	color: #ffffff;
	font-size: 9px;
	font-weight: bold;
	line-height: 1;
	border-radius: 2px;
	padding: 1px 4px;
	margin-left: auto;
	flex-shrink: 0;
}

.outlook-tool-btn:disabled,
.outlook-tool-btn.disabled {
	opacity: 0.4;
	cursor: default;
	pointer-events: none;
	box-shadow: none;
}

.outlook-preview-body .anecdote-markdown-body {
	line-height: 1.5;
}

.outlook-preview-body .anecdote-markdown-body p {
	margin: 0 0 10px 0;
}

.outlook-preview-body .anecdote-markdown-body :is(h1, h2, h3, h4) {
	margin: 14px 0 8px 0;
	color: #0b3b7a;
}

.outlook-preview-body .anecdote-markdown-body ul,
.outlook-preview-body .anecdote-markdown-body ol {
	margin: 0 0 10px 20px;
}

.outlook-preview-body .anecdote-markdown-body blockquote {
	margin: 0 0 10px 0;
	padding: 4px 12px;
	border-left: 3px solid var(--xp-border-light);
	color: #555555;
}

.outlook-preview-body .anecdote-markdown-body code {
	background: #f0f0f0;
	padding: 1px 4px;
	border-radius: 3px;
	font-family: 'Roboto Mono', monospace;
	font-size: 12px;
}

.outlook-preview-body .anecdote-markdown-body pre code {
	display: block;
	padding: 8px;
	overflow-x: auto;
}

.outlook-preview-body .anecdote-markdown-body .katex-display {
	overflow-x: auto;
	overflow-y: hidden;
	margin: 10px 0;
}

.info-window-body {
	padding: 12px 14px;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	box-sizing: border-box;
	overflow-x: hidden;
	width: 100%;
}

.info-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--xp-border-light);
}

.info-icon {
	width: 32px;
	height: 32px;
	object-fit: contain;
	flex-shrink: 0;
}

.info-title {
	font-size: 12px;
	font-weight: bold;
	word-break: break-word;
	flex: 1;
}

.ss-dynamic-config-panel {
	margin-top: 8px;
	border-top: 1px dashed #aca899;
	padding-top: 8px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ss-opt-section {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.info-thumbnail {
	display: block;
	max-width: 100%;
	max-height: 120px;
	object-fit: cover;
	margin-bottom: 8px;
	border: 1px solid var(--xp-border-light);
}

.info-preview {
	background: #fff;
	border: 1px solid var(--xp-border-light);
	padding: 8px;
	margin-bottom: 12px;
	line-height: 1.4;
	max-height: 100px;
	overflow-y: auto;
}

.info-rows {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
	box-sizing: border-box;
}

.info-row {
	display: grid;
	grid-template-columns: 115px 1fr;
	gap: 8px;
	border-bottom: 1px dotted rgba(0, 0, 0, 0.12);
	padding-bottom: 3px;
	align-items: baseline;
}

.info-label {
	color: #555555;
	font-weight: normal;
}

.info-value {
	text-align: left;
	word-break: break-word;
	color: #000000;
}

.info-value a {
	color: var(--xp-blue-dark);
}

.quick-launch-icon-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.quick-launch-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	background: #cc3333;
	color: #ffffff;
	font-size: 9px;
	font-weight: bold;
	line-height: 1;
	border-radius: 8px;
	padding: 2px 4px;
	pointer-events: none;
}

.quick-launch-badge.hidden {
	display: none;
}

.oe-context-menu {
	position: fixed;
	background-color: var(--xp-window-bg);
	border: 1px solid var(--xp-border-dark);
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
	padding: 2px;
	min-width: 160px;
}

.oe-context-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.oe-context-menu-item {
	padding: 6px 15px;
	cursor: pointer;
	color: var(--xp-font-color);
	font-size: 12px;
}

.oe-context-menu-item:hover {
	background-color: var(--xp-selection-blue);
	color: var(--xp-selection-text);
}

.oe-context-menu-separator {
	height: 1px;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.06));
	margin: 4px 2px;
	pointer-events: none;
}

.submenu.submenu-flip {
	left: auto;
	right: 100%;
}

.ie-favorites-bar {
	display: flex;
	gap: 6px;
	padding: 4px 6px;
	background: var(--xp-window-bg);
	border-bottom: 1px solid var(--xp-border-light);
	flex-shrink: 0;
}

.ie-fav-btn {
	background: #ffffff;
	border: 1px solid var(--xp-border-light);
	border-radius: 3px;
	padding: 3px 8px;
	font-size: 11px;
	cursor: pointer;
}

.ie-fav-btn:hover {
	background: var(--xp-button-hover);
}

.wallpaper-monitor-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px 4px;
	margin-bottom: 10px;
}

.wallpaper-monitor-bezel {
	width: 140px;
	height: 105px;
	background: linear-gradient(135deg, #7e8794 0%, #5a626e 100%);
	border-radius: 6px 6px 3px 3px;
	border: 2px solid #3c424a;
	box-shadow: inset 1px 1px 0 rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.35);
	padding: 6px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wallpaper-monitor-screen {
	width: 100%;
	height: 100%;
	background-color: #000;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	border: 1px solid #23272d;
	box-shadow: inset 0 0 4px rgba(0,0,0,0.8);
}

.wallpaper-monitor-stand {
	width: 34px;
	height: 12px;
	background: linear-gradient(to right, #4f5661, #6b7482, #4f5661);
	border: 1px solid #32373e;
}

.wallpaper-monitor-base {
	width: 68px;
	height: 6px;
	background: linear-gradient(to bottom, #7e8794, #545b66);
	border-radius: 3px;
	border: 1px solid #32373e;
	box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.wallpaper-grid-view {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 10px;
	padding: 10px;
	align-content: flex-start;
}

.wallpaper-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 6px 4px;
	border: 1px solid transparent;
	border-radius: 3px;
	cursor: pointer;
	user-select: none;
	background-color: transparent;
}

.wallpaper-card:hover {
	background-color: #e0e8f6;
	border-color: #b8cce9;
}

.wallpaper-card.selected {
	background-color: var(--xp-selection-blue);
	border-color: #1f4a9b;
	color: #ffffff;
}

.wallpaper-card-thumb-frame {
	width: 100px;
	height: 65px;
	border: 1px solid var(--xp-border-light);
	background: #000;
	margin-bottom: 6px;
	overflow: hidden;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.wallpaper-card.selected .wallpaper-card-thumb-frame {
	border-color: #ffffff;
}

.wallpaper-card-thumb-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wallpaper-card-title {
	font-size: 11px;
	line-height: 1.25;
	word-break: break-word;
	max-height: 2.5em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
}

.wallpaper-action-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border-top: 1px solid var(--xp-border-light);
	background-color: var(--xp-window-bg);
	flex-shrink: 0;
}

.wallpaper-action-footer .xp-button {
	min-width: 75px;
}

.my-comp-group {
	margin-bottom: 15px;
}

.my-comp-group-title {
	font-size: 11px;
	font-weight: bold;
	color: var(--xp-groupbox-legend-color, #123a6b);
	border-bottom: 1px solid var(--xp-border-light, #b5c7de);
	padding-bottom: 3px;
	margin-bottom: 8px;
}

.my-comp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 8px;
}

.my-comp-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 8px;
	border: 1px solid transparent;
	border-radius: 3px;
	cursor: pointer;
	user-select: none;
	color: var(--xp-main-text, #000000);
}

.my-comp-item:hover {
	background-color: var(--xp-taskbox-bg, #e0e8f6);
	border-color: var(--xp-selection-blue, #b8cce9);
}

.my-comp-item img {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.my-comp-texts {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.my-comp-texts strong {
	font-size: 11px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--xp-main-text, #000000);
}

.my-comp-texts span {
	font-size: 10px;
	color: var(--xp-font-color, #666666);
	opacity: 0.8;
}

.search-companion-sidebar {
	width: 220px;
	background: linear-gradient(180deg, #6b8ece 0%, #4668b2 100%);
	color: #ffffff;
	padding: 12px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-shrink: 0;
	font-size: 11px;
}

.search-companion-dog-card {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(0, 0, 0, 0.15);
	padding: 8px;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-companion-dog-card img {
	width: 36px;
	height: 36px;
}

.search-companion-balloon {
	font-size: 11px;
	line-height: 1.3;
}

.search-results-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.search-result-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border-bottom: 1px dotted #e0e0e0;
	cursor: pointer;
	font-size: 11px;
}

.search-result-row:hover {
	background-color: #edf2fc;
}

.search-result-row img {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.xp-tabs-container {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--xp-window-bg);
	padding: 8px;
	box-sizing: border-box;
	user-select: none;
}

.xp-tabs-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 2px;
	border-bottom: 1px solid var(--xp-border-dark);
	padding-left: 2px;
	padding-right: 2px;
	flex-shrink: 0;
	z-index: 2;
}

.xp-tab-btn {
	background: linear-gradient(to bottom, #f0f0f0 0%, #dcdcdc 100%);
	border: 1px solid var(--xp-border-dark);
	border-bottom: none;
	border-radius: 3px 3px 0 0;
	padding: 3px 7px;
	font-size: 11px;
	cursor: pointer;
	color: var(--xp-font-color);
	font-family: inherit;
	margin-bottom: -1px;
	white-space: nowrap;
	flex: 0 1 auto;
}

.xp-tab-btn:hover {
	background: #ffffff;
}

.xp-tab-btn.active {
	background: var(--xp-window-bg);
	border-bottom: 1px solid var(--xp-window-bg);
	font-weight: bold;
	padding-top: 5px;
	margin-top: -2px;
}

.xp-tab-page-wrapper {
	flex-grow: 1;
	border: 1px solid var(--xp-border-dark);
	border-top: none;
	background-color: var(--xp-window-bg);
	padding: 12px;
	overflow-y: auto;
}

.xp-tab-page {
	display: none;
}

.xp-tab-page.active {
	display: block;
}

.xp-groupbox {
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	padding: 10px;
	margin: 0;
	background: rgba(255, 255, 255, 0.35);
}

.xp-groupbox legend {
	font-size: 11px;
	font-weight: bold;
	color: #0b3b7a;
	padding: 0 4px;
}

.xp-form-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	margin-bottom: 6px;
}

.xp-form-row label {
	flex-shrink: 0;
}

.xp-checkbox-row {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	margin-bottom: 4px;
	cursor: pointer;
}

.xp-checkbox-row input[type="checkbox"] {
	cursor: pointer;
}

.xp-select, .xp-input {
	border: 1px solid var(--xp-border-dark);
	background: #ffffff;
	padding: 2px 4px;
	font-size: 11px;
	font-family: inherit;
	outline: none;
	border-radius: 2px;
}

.xp-slider {
	flex-grow: 1;
	accent-color: var(--xp-selection-blue);
	cursor: pointer;
}

.xp-listbox-frame {
	flex: 1;
	height: 120px;
	background: #ffffff;
	border: 1px solid var(--xp-border-dark);
	overflow-y: auto;
	padding: 2px;
}

.xp-listbox-item {
	padding: 3px 6px;
	font-size: 11px;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.xp-listbox-item:hover {
	background-color: #e8f0fe;
}

.xp-listbox-item.active {
	background-color: var(--xp-selection-blue);
	color: #ffffff;
}

.xp-listbox-loading {
	padding: 8px;
	font-size: 11px;
	color: #666;
}

.xp-info-grid {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 6px;
	font-size: 11px;
}

.xp-dialog-action-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	padding-top: 10px;
	flex-shrink: 0;
}

.xp-dialog-action-footer .xp-button {
	min-width: 75px;
}

.xp-taskmgr-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: #ece9d8;
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	box-sizing: border-box;
	user-select: none;
	overflow: hidden;
}

.xp-taskmgr-menubar {
	height: 20px;
	background: #ece9d8;
	border-bottom: 1px solid #aca899;
	display: flex;
	align-items: center;
	padding: 0 4px;
	flex-shrink: 0;
}

.xp-taskmgr-tabs-header {
	display: flex;
	gap: 2px;
	padding: 4px 6px 0 6px;
	background: #ece9d8;
	border-bottom: 1px solid #919b9c;
	flex-shrink: 0;
}

.xp-taskmgr-body {
	flex: 1;
	background: #ece9d8;
	padding: 8px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-sizing: border-box;
}

.xp-taskmgr-page {
	display: none;
	flex-direction: column;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
}

.xp-taskmgr-page.active {
	display: flex;
}

.xp-taskmgr-table-frame {
	flex: 1;
	background: #ffffff;
	border: 2px inset #ffffff;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-sizing: border-box;
}

.xp-taskmgr-list-header {
	display: grid;
	background: #ece9d8;
	border-bottom: 1px solid #aca899;
	font-weight: normal;
	flex-shrink: 0;
}

.xp-taskmgr-list-header.apps-cols,
.xp-tm-row.apps-cols {
	grid-template-columns: 1fr 110px;
}

.xp-taskmgr-list-header.proc-cols,
.xp-tm-row.proc-cols {
	grid-template-columns: 130px 48px 95px 44px 80px 1fr;
}

.xp-taskmgr-list-header.users-cols,
.xp-tm-row.users-cols {
	grid-template-columns: 110px 40px 75px 95px 1fr;
}

.tm-th {
	padding: 3px 6px;
	border-right: 1px solid #aca899;
	border-top: 1px solid #ffffff;
	border-left: 1px solid #ffffff;
	cursor: pointer;
	box-shadow: inset 0 1px 0 #ffffff;
}

.tm-th:hover {
	background: #f5f4ef;
}

.xp-taskmgr-list-body {
	flex: 1;
	overflow-y: auto;
	background: #ffffff;
}

.xp-tm-row {
	display: grid;
	align-items: center;
	padding: 2px 4px;
	cursor: pointer;
	font-size: 11px;
	border-bottom: 1px solid #f0f0f0;
	white-space: nowrap;
}

.xp-tm-row:hover {
	background: #e8f0fe;
}

.xp-tm-row.selected {
	background: var(--xp-selection-blue) !important;
	color: #ffffff !important;
}

.xp-tm-row.selected span,
.xp-tm-row.selected div {
	color: #ffffff !important;
}

.tm-row-icon {
	width: 16px;
	height: 16px;
	object-fit: contain;
	margin-right: 6px;
	vertical-align: middle;
}

.xp-taskmgr-actions-row {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
	margin-top: 8px;
	flex-shrink: 0;
}

.xp-taskmgr-proc-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 6px;
	flex-shrink: 0;
}

.xp-perf-grid {
	display: grid;
	grid-template-columns: 90px 1fr;
	grid-template-rows: 90px 90px;
	gap: 8px;
	margin-bottom: 8px;
	flex-shrink: 0;
}

.xp-perf-box {
	background: #000000;
	border: 2px inset #ffffff;
	padding: 4px;
	display: flex;
	flex-direction: column;
	position: relative;
	box-sizing: border-box;
}

.xp-perf-box-title {
	font-size: 10px;
	color: #00ff00;
	margin-bottom: 2px;
	font-family: 'Tahoma', sans-serif;
}

.xp-perf-meter-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	justify-content: center;
}

.xp-perf-gauge-frame {
	width: 44px;
	height: 52px;
	background: #001a00;
	border: 1px solid #005500;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
}

.xp-perf-gauge-fill {
	width: 100%;
	background: repeating-linear-gradient(to top, #00ff00 0 2px, #001a00 2px 4px);
	transition: height 0.2s ease;
}

.xp-perf-gauge-fill.mem-fill {
	background: repeating-linear-gradient(to top, #00e5ff 0 2px, #001a00 2px 4px);
}

.xp-perf-numeric-val {
	font-family: 'Courier New', monospace;
	font-size: 11px;
	font-weight: bold;
	color: #00ff00;
	margin-top: 2px;
}

.xp-perf-canvas-wrap {
	flex: 1;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.xp-perf-history-canvas {
	width: 100%;
	height: 100%;
	display: block;
}

.xp-perf-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	flex: 1;
}

.xp-perf-stat-row {
	display: flex;
	justify-content: space-between;
	font-size: 10px;
	margin-bottom: 2px;
}

.xp-net-adapter-row {
	display: flex;
	justify-content: space-between;
	background: #ece9d8;
	color: #000000;
	padding: 4px 6px;
	margin-top: 4px;
	font-size: 11px;
	border: 1px solid #aca899;
}

.xp-taskmgr-statusbar {
	height: 20px;
	background: #ece9d8;
	border-top: 1px solid #aca899;
	display: flex;
	align-items: center;
	font-size: 11px;
	flex-shrink: 0;
	padding: 0 4px;
	box-sizing: border-box;
}

.xp-encarta-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: var(--xp-window-bg);
	font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	color: var(--xp-font-color);
	user-select: none;
	overflow: hidden;
	box-sizing: border-box;
}

.xp-encarta-toolbar {
	flex-wrap: wrap;
	height: auto;
	min-height: 38px;
	padding: 3px 6px;
	gap: 4px;
}

.xp-encarta-body {
	flex: 1;
	display: flex;
	overflow: hidden;
	background: #000814;
	position: relative;
}

.xp-encarta-sidebar-panel {
	width: 250px;
	min-width: 200px;
	max-width: 380px;
	background: var(--xp-window-bg);
	overflow-y: auto;
	box-sizing: border-box;
}

.enc-profile-empty {
	font-size: 11px;
	color: var(--xp-font-color);
	opacity: 0.7;
	text-align: center;
	padding: 14px 6px;
}

.enc-dist-result {
	font-weight: bold;
	color: var(--xp-groupbox-legend-color, #0b3b7a);
	font-size: 12px;
	margin-top: 4px;
	background: var(--xp-main-bg);
	padding: 4px 6px;
	border: 1px inset #ffffff;
}

.xp-encarta-viewport-container {
	flex: 1;
	position: relative;
	overflow: hidden;
	background: #030f24;
	display: flex;
	align-items: center;
	justify-content: center;
}

.encarta-gl-canvas {
	width: 100%;
	height: 100%;
	display: block;
	cursor: grab;
}

.encarta-gl-canvas:active {
	cursor: grabbing;
}

.encarta-gl-canvas.pixel-dither-mode {
	image-rendering: pixelated;
	filter: contrast(135%) brightness(95%);
}

.encarta-viewport-overlay {
	position: absolute;
	bottom: 8px;
	left: 10px;
	right: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
	z-index: 10;
}

.encarta-overlay-hud {
	background: rgba(0, 0, 0, 0.75);
	color: #00f0ff;
	font-family: 'Lucida Console', monospace;
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 3px;
	border: 1px solid #0055aa;
}

.encarta-layer-selector {
	pointer-events: auto;
	background: rgba(0, 0, 0, 0.75);
	padding: 2px 6px;
	border-radius: 3px;
	display: flex;
	align-items: center;
	gap: 6px;
	border: 1px solid #336699;
}

.encarta-quiz-overlay {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--xp-window-bg);
	border: 2px outset #ffffff;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
	padding: 8px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 20;
	min-width: 260px;
	border-radius: 3px;
	color: var(--xp-font-color);
}

.encarta-quiz-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--xp-border-light);
	padding-bottom: 3px;
	font-size: 11px;
}

.encarta-quiz-body {
	font-size: 12px;
	font-weight: bold;
	color: var(--xp-groupbox-legend-color);
}
