/*
 * Levo demo: the menubar menus and the small windows they open (menus.js).
 * macOS 26 look: glass menus, accent highlight with white text, hairline rim.
 * Uses the scene's tokens (--fg, --accent, --panel, --red); html.dark flips them.
 */

.lvm-layer {
	--lvm-glass: rgba(246, 246, 248, 0.74);
	--lvm-rim: inset 0 0 0 0.5px rgba(255, 255, 255, 0.75), 0 0 0 0.5px rgba(0, 0, 0, 0.14);
	--lvm-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 12px 34px -8px rgba(0, 0, 0, 0.24);
	--lvm-hi: var(--accent);
	--lvm-soft-hi: rgb(var(--fg) / 0.08);
	--lvm-win: rgba(250, 250, 252, 0.92);
	position: absolute;
	inset: 0;
	z-index: 30;
	pointer-events: none;
	overflow: hidden;
	border-radius: inherit;
}
html.dark .lvm-layer {
	--lvm-glass: rgba(38, 38, 42, 0.66);
	--lvm-rim: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 0 0 0.5px rgba(0, 0, 0, 0.6);
	--lvm-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 14px 40px -8px rgba(0, 0, 0, 0.6);
	--lvm-hi: color-mix(in srgb, var(--accent) 78%, #000);
	--lvm-soft-hi: rgba(255, 255, 255, 0.1);
	--lvm-win: rgba(40, 40, 43, 0.94);
}
.lvm-layer > * { pointer-events: auto; }

.lvm-sym { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 0; }
.lvm-sym svg { display: block; overflow: visible; }

/* The pressed menubar title. */
.lv-menubar [data-menu].lvm-on { background: rgb(var(--fg) / 0.15); border-radius: 6px; outline: none !important; }
html.dark .lv-menubar [data-menu].lvm-on { background: rgba(255, 255, 255, 0.2); }

/* ------------------------------------------------------------ Menus */

.lvm-menu {
	position: absolute;
	top: 30px;
	left: 0;
	z-index: 1000;
	min-width: 196px;
	max-width: 440px;
	box-sizing: border-box;
	padding: 5px;
	border-radius: 12px;
	background: var(--lvm-glass);
	-webkit-backdrop-filter: blur(28px) saturate(1.9);
	backdrop-filter: blur(28px) saturate(1.9);
	box-shadow: var(--lvm-rim), var(--lvm-shadow);
	color: rgb(var(--fg) / 0.86);
	font-size: 13px;
	line-height: 16px;
	letter-spacing: -0.08px;
	text-align: left;
	white-space: nowrap;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
	cursor: default;
	transform-origin: 0 0;
	animation: lvm-in .12s ease-out;
}
.lvm-menu::-webkit-scrollbar { display: none; }
.lvm-menu.is-instant { animation: none; }
html.dark .lvm-menu { color: rgb(255 255 255 / 0.88); }

.lvm-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 24px;
	padding: 0 10px 0 20px;
	border-radius: 6px;
}
.lvm-soft .lvm-item { padding-left: 9px; }
.lvm-item.is-hi { background: var(--lvm-hi); color: #fff; }
.lvm-soft .lvm-item.is-hi { background: var(--lvm-soft-hi); color: inherit; }
.lvm-item.is-off { color: rgb(var(--fg) / 0.26); }
.lvm-item.is-off.is-hi { background: transparent; color: rgb(var(--fg) / 0.26); }
.lvm-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lvm-bold { font-weight: 600; }
.lvm-check { position: absolute; left: 5px; top: 0; bottom: 0; width: 12px; display: flex; align-items: center; justify-content: center; }
.lvm-chev { margin: 0 -3px 0 22px; opacity: .75; }
.lvm-item.is-off .lvm-chev { opacity: 1; }

.lvm-keys { display: inline-flex; align-items: baseline; margin-left: 26px; color: rgb(var(--fg) / 0.42); font-variant-numeric: tabular-nums; }
html.dark .lvm-keys { color: rgb(255 255 255 / 0.4); }
.lvm-mods { letter-spacing: 1px; }
.lvm-key { display: inline-block; min-width: 13px; text-align: left; padding-left: 1px; }
.lvm-key.is-word { min-width: 0; padding-left: 2px; }
.lvm-fn { font-size: 11px; margin-right: 3px; }
.lvm-item.is-hi .lvm-keys, .lvm-item.is-hi .lvm-path { color: rgba(255, 255, 255, 0.78); }
.lvm-soft .lvm-item.is-hi .lvm-keys { color: inherit; }
.lvm-item.is-off .lvm-keys { color: inherit; }

.lvm-sep { height: 1px; margin: 5px 9px; background: rgb(var(--fg) / 0.1); }
html.dark .lvm-sep { background: rgba(255, 255, 255, 0.12); }
.lvm-head { padding: 6px 9px 3px 20px; font-size: 11px; line-height: 14px; font-weight: 600; color: rgb(var(--fg) / 0.45); }
.lvm-soft .lvm-head { padding-left: 9px; }
.lvm-head.is-off { color: rgb(var(--fg) / 0.22); }
.lvm-block { padding: 0; }
.lvm-none { padding: 4px 9px 5px 20px; color: rgb(var(--fg) / 0.4); }
.lvm-soft .lvm-none { padding-left: 9px; }
.lvm-empty { padding: 2px 9px; min-height: 18px; }
.lvm-sec { color: rgb(var(--fg) / 0.5); }
.lvm-num { font-variant-numeric: tabular-nums; }

.lvm-ic { color: rgb(var(--fg) / 0.6); margin-right: -1px; }
.lvm-item.is-hi .lvm-ic { color: #fff; }
.lvm-levo-icon { width: 16px; height: 16px; display: block; flex-shrink: 0; border-radius: 4px; }
.lvm-item .lvm-levo-icon { margin-right: -1px; }
.lvm-path { margin-left: 22px; font-size: 12px; color: rgb(var(--fg) / 0.45); }

/* Help: Search and its field. */
.lvm-m-help { min-width: 280px; }
.lvm-hsearch { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 4px 4px 20px; }
.lvm-field {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 5px;
	height: 22px;
	padding: 0 7px;
	border-radius: 7px;
	background: rgb(var(--fg) / 0.06);
	box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.14);
	cursor: text;
}
.lvm-field:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 40%, transparent), inset 0 0 0 0.5px var(--accent); }
.lvm-field-glass { color: rgb(var(--fg) / 0.5); }
.lvm-field input, .lvm-goto-field input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: rgb(var(--fg));
	font: inherit;
	font-size: 13px;
	-webkit-user-select: text;
	user-select: text;
}

/* Wi-Fi, Battery, clock: the softer status menus. */
.lvm-soft { border-radius: 14px; padding: 6px; }
.lvm-m-wifi { width: 300px; }
.lvm-m-battery { width: 270px; }
.lvm-m-clock { width: 272px; }
.lvm-row-head { height: 30px; }
.lvm-row-head.is-hi { background: transparent !important; }
.lvm-switch { position: relative; width: 26px; height: 15px; flex-shrink: 0; border-radius: 8px; background: rgb(var(--fg) / 0.14); transition: background-color .15s; }
.lvm-switch i { position: absolute; top: 1.5px; left: 1.5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0.5px 2px rgba(0, 0, 0, 0.3); transition: transform .18s ease-out; }
.lvm-switch.is-on { background: var(--accent); }
.lvm-switch.is-on i { transform: translateX(11px); }
.lvm-net { height: 34px; }
.lvm-net-ic { width: 26px; height: 26px; margin-left: -3px; border-radius: 50%; background: rgb(var(--fg) / 0.09); color: rgb(var(--fg) / 0.8); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lvm-net-ic.is-on { background: var(--accent); color: #fff; }
.lvm-net-lock { color: rgb(var(--fg) / 0.45); }
.lvm-item.is-off .lvm-net-ic, .lvm-item.is-off .lvm-net-lock { opacity: .45; }
.lvm-row-title { display: flex; align-items: baseline; justify-content: space-between; padding: 5px 9px 1px; }
.lvm-row-title b { font-weight: 600; }
.lvm-row-note { padding: 1px 9px 4px; font-size: 12px; color: rgb(var(--fg) / 0.5); }
.lvm-app { width: 20px; height: 20px; margin-left: -2px; border-radius: 6px; background: rgb(var(--fg) / 0.08); color: rgb(var(--fg) / 0.7); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lvm-m-battery .lvm-item { height: 28px; }

/* The clock. */
.lvm-clock { padding: 6px 9px 6px; }
.lvm-clock-date { font-size: 12px; font-weight: 600; color: rgb(var(--fg) / 0.55); }
.lvm-clock-time { margin-top: 1px; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.4px; color: rgb(var(--fg)); font-variant-numeric: tabular-nums; font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
.lvm-cal { margin-top: 10px; }
.lvm-cal-head { display: flex; align-items: center; justify-content: space-between; height: 22px; }
.lvm-cal-head b { font-size: 13px; font-weight: 600; color: rgb(var(--fg)); }
.lvm-cal-nav { display: inline-flex; align-items: center; gap: 0; margin-right: -4px; }
.lvm-cal-nav button { width: 20px; height: 20px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: rgb(var(--fg) / 0.55); display: inline-flex; align-items: center; justify-content: center; }
.lvm-cal-nav button:hover { background: rgb(var(--fg) / 0.08); color: rgb(var(--fg) / 0.9); }
.lvm-cal-dot i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lvm-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 2px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.lvm-cal-grid span { height: 26px; line-height: 26px; position: relative; z-index: 0; color: rgb(var(--fg) / 0.85); }
.lvm-cal-wd span { height: 20px; line-height: 20px; font-size: 10.5px; font-weight: 600; color: rgb(var(--fg) / 0.45); }
.lvm-cal-grid span.is-out { color: rgb(var(--fg) / 0.25); }
.lvm-cal-grid span.is-today { color: #fff; font-weight: 600; }
.lvm-cal-grid span.is-today::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--accent); }

/* ------------------------------------------------------------ Windows */

.lvm-win {
	position: absolute;
	box-sizing: border-box;
	border-radius: 16px;
	background: var(--lvm-win);
	-webkit-backdrop-filter: blur(30px) saturate(1.6);
	backdrop-filter: blur(30px) saturate(1.6);
	box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.6), 0 0 0 0.5px rgba(0, 0, 0, 0.16), 0 26px 70px -14px rgba(0, 0, 0, 0.42), 0 8px 22px -10px rgba(0, 0, 0, 0.22);
	color: rgb(var(--fg) / 0.88);
	font-size: 13px;
	line-height: 1.3;
	text-align: left;
	cursor: default;
	animation: lvm-win .2s cubic-bezier(.2, .85, .25, 1);
}
html.dark .lvm-win { box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 0 0 0.5px rgba(0, 0, 0, 0.7), 0 26px 70px -14px rgba(0, 0, 0, 0.7); }
.lvm-tb { position: relative; display: flex; align-items: center; height: 40px; padding: 0 14px; }
.lvm-tb-title { position: absolute; left: 0; right: 0; text-align: center; font-weight: 600; font-size: 13px; pointer-events: none; color: rgb(var(--fg) / 0.85); }
.lvm-lights { position: relative; z-index: 1; display: flex; gap: 8px; }
.lvm-light { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; box-sizing: border-box; background: rgb(var(--fg) / 0.12); box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.08); display: inline-flex; align-items: center; justify-content: center; color: rgba(0, 0, 0, 0.55); cursor: default !important; }
.lvm-light.lvm-close { background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.14); }
.lvm-light.lvm-min { background: #FEBC2E; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.14); }
.lvm-light .lvm-sym { opacity: 0; transform: scale(.75); }
.lvm-lights:hover .lvm-light .lvm-sym { opacity: 1; }
.lvm-light .lvm-sym svg { width: 8px !important; height: 8px !important; }

.lvm-btn {
	height: 24px;
	padding: 0 14px;
	border: 0;
	border-radius: 12px;
	background: rgb(var(--fg) / 0.07);
	box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.12), 0 0.5px 1px rgba(0, 0, 0, 0.06);
	color: rgb(var(--fg) / 0.88) !important;
	font-size: 13px !important;
	font-weight: 500;
	white-space: nowrap;
	cursor: default !important;
}
html:not(.dark) .lvm-btn { background: #fff; }
.lvm-btn:active { filter: brightness(.94); }
.lvm-btn-primary, html:not(.dark) .lvm-btn-primary { background: var(--accent); color: #fff !important; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
.lvm-btn:disabled { color: rgb(var(--fg) / 0.35) !important; filter: none; }

/* About This Mac. */
.lvm-about { width: 300px; padding-bottom: 22px; text-align: center; }
.lvm-about .lvm-tb { position: absolute; top: 0; left: 0; right: 0; }
.lvm-about-img { display: flex; justify-content: center; padding-top: 30px; height: 112px; align-items: center; color: rgb(var(--fg) / 0.62); }
.lvm-about-name { margin-top: 14px; font-size: 22px; line-height: 26px; font-weight: 700; letter-spacing: -0.3px; color: rgb(var(--fg) / 0.88); }
.lvm-about-sub { margin-top: 2px; font-size: 11px; color: rgb(var(--fg) / 0.5); }
.lvm-rows { display: grid; grid-template-columns: 1fr 1.35fr; column-gap: 10px; row-gap: 5px; margin: 20px 16px 0; font-size: 11px; line-height: 14px; }
.lvm-rows dt { text-align: right; color: rgb(var(--fg) / 0.85); }
.lvm-rows dd { margin: 0; text-align: left; white-space: nowrap; color: rgb(var(--fg) / 0.5); font-variant-numeric: tabular-nums; }
.lvm-wink { display: block; margin-top: 1px; font-style: italic; color: rgb(var(--fg) / 0.42); }
.lvm-about .lvm-btn { margin-top: 20px; }

/* Force Quit Applications. */
.lvm-fq { width: 360px; }
.lvm-fq-body { padding: 0 18px 16px; font-size: 12px; }
.lvm-fq-body p { margin: 0 0 10px; color: rgb(var(--fg) / 0.8); line-height: 1.35; }
.lvm-fq-list { height: 156px; overflow-y: auto; scrollbar-width: none; border-radius: 8px; background: rgb(var(--fg) / 0.04); box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.14); padding: 4px; }
html:not(.dark) .lvm-fq-list { background: #fff; }
.lvm-fq-row { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 6px; border-radius: 5px; font-size: 13px; }
.lvm-fq-row.is-sel { background: var(--lvm-hi); color: #fff; }
.lvm-fq-row.is-sel .lvm-app { background: rgba(255, 255, 255, 0.22); color: #fff; }
.lvm-fq-row .lvm-app { margin-left: 0; }
.lvm-fq-row .lvm-levo-icon { width: 20px; height: 20px; border-radius: 5px; }
.lvm-fq-body .lvm-fq-foot { margin: 10px 0 12px; font-size: 11px; color: rgb(var(--fg) / 0.5); }
.lvm-fq-btns { display: flex; justify-content: flex-end; }
.lvm-fq-btns .lvm-btn { min-width: 96px; }

/* Alerts: app-modal inside the scene. */
.lvm-shield { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 150px; background: transparent; box-shadow: none; border-radius: 0; animation: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lvm-alert {
	width: 262px;
	box-sizing: border-box;
	padding: 18px 16px 16px;
	border-radius: 22px;
	background: var(--lvm-win);
	-webkit-backdrop-filter: blur(30px) saturate(1.6);
	backdrop-filter: blur(30px) saturate(1.6);
	box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.6), 0 0 0 0.5px rgba(0, 0, 0, 0.16), 0 26px 70px -14px rgba(0, 0, 0, 0.45);
	text-align: left;
	transform-origin: 50% 0;
	animation: lvm-pop .22s cubic-bezier(.2, .85, .25, 1);
}
html.dark .lvm-alert { box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 0 0 0.5px rgba(0, 0, 0, 0.7), 0 26px 70px -14px rgba(0, 0, 0, 0.7); }
.lvm-alert-ic { display: flex; width: 52px; height: 52px; align-items: center; justify-content: flex-start; color: rgb(var(--fg) / 0.6); }
.lvm-alert-t { display: block; margin-top: 10px; font-size: 13px; line-height: 17px; font-weight: 700; color: rgb(var(--fg) / 0.9); }
.lvm-alert-b { margin: 6px 0 0; font-size: 11px; line-height: 14px; color: rgb(var(--fg) / 0.7); }
.lvm-alert-check { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11px; color: rgb(var(--fg) / 0.8); }
.lvm-cb { width: 14px; height: 14px; border-radius: 4px; box-sizing: border-box; background: rgb(var(--fg) / 0.06); box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.25); color: transparent; display: inline-flex; align-items: center; justify-content: center; }
html:not(.dark) .lvm-cb { background: #fff; }
.lvm-cb.is-on, html:not(.dark) .lvm-cb.is-on { background: var(--accent); box-shadow: none; color: #fff; }
.lvm-alert-btns { display: flex; gap: 8px; margin-top: 16px; }
.lvm-alert-btns .lvm-btn { flex: 1; height: 28px; border-radius: 14px; }

/* Go to Folder. */
.lvm-goto { width: 520px; padding: 0; border-radius: 16px; overflow: hidden; }
.lvm-goto-field { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; cursor: text; }
.lvm-goto-field input { font-size: 15px; }
.lvm-goto-field input::placeholder { color: rgb(var(--fg) / 0.35); }
.lvm-goto-ic { color: var(--accent); }
.lvm-goto-list:not(:empty) { border-top: 0.5px solid rgb(var(--fg) / 0.12); padding: 5px; }
.lvm-goto-row { display: flex; align-items: center; gap: 9px; height: 28px; padding: 0 10px; border-radius: 7px; font-size: 13px; white-space: nowrap; overflow: hidden; }
.lvm-goto-row span:last-child { overflow: hidden; text-overflow: ellipsis; }
.lvm-goto-row:hover { background: rgb(var(--fg) / 0.06); }
.lvm-goto-row.is-hi { background: var(--lvm-hi); color: #fff; }
.lvm-goto-f { color: #3DA8F5; }
.lvm-goto-row.is-hi .lvm-goto-f { color: #fff; }
.lvm-goto-err { padding: 5px 10px 6px; font-size: 12px; color: var(--red); }

/* The screen, asleep for a moment. */
.lvm-dim { position: absolute; inset: 0; z-index: 2000; background: #000; opacity: 0; transition: opacity .25s ease; }

/* ------------------------------------------------------------ Compact (phones) */

.lv-scene[data-mode="compact"] .lvm-menu { max-width: 380px; }
.lv-scene[data-mode="compact"] .lvm-goto { width: 376px; }
.lv-scene[data-mode="compact"] .lvm-fq { width: 340px; }
.lv-scene[data-mode="compact"] .lvm-shield { padding-top: 90px; }
.lv-scene[data-mode="compact"] .lvm-m-help { min-width: 260px; }

@keyframes lvm-in { from { opacity: 0; transform: scale(.985); } }
@keyframes lvm-fade { from { opacity: 0; } }
@keyframes lvm-win { from { opacity: 0; transform: scale(.97); } }
@keyframes lvm-pop { from { opacity: 0; transform: scale(.94); } }

@media (prefers-reduced-motion: reduce) {
	.lv-scene .lvm-menu:not(.is-instant), .lv-scene .lvm-win:not(.lvm-shield), .lv-scene .lvm-alert { animation: lvm-fade .12s ease-out !important; }
	.lv-scene .lvm-switch i { transition: none !important; }
}

/* ------------------------------------------------------------ Control Centre */

.lvm-m-control { width: 324px; padding: 10px; border-radius: 22px; }
.lvm-cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lvm-cc-mod {
	box-sizing: border-box;
	border: 0;
	border-radius: 16px;
	background: rgb(var(--fg) / 0.055);
	box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.08);
	color: inherit;
	font: inherit;
	text-align: left;
}
html.dark .lvm-cc-mod { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.1); }
.lvm-cc-conn { padding: 8px 6px; display: flex; flex-direction: column; gap: 6px; }
.lvm-cc-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lvm-cc-btn {
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	flex-shrink: 0;
	background: rgb(var(--fg) / 0.1);
	color: rgb(var(--fg) / 0.85) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .18s, color .18s;
	cursor: default !important;
}
.lvm-cc-btn.is-on { background: var(--accent); color: #fff !important; }
.lvm-cc-tile.is-focus .lvm-cc-btn.is-on { background: #5E5CE6; }
.lvm-cc-dark.is-on { background: #1C1C1E; color: #fff !important; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.25); }
.lvm-cc-dark.is-spin .lvm-sym { animation: lvm-spin .55s cubic-bezier(.2, .85, .25, 1); }
.lvm-cc-txt { display: flex; flex-direction: column; min-width: 0; line-height: 15px; }
.lvm-cc-txt b { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgb(var(--fg) / 0.9); }
.lvm-cc-txt small { font-size: 11px; color: rgb(var(--fg) / 0.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lvm-cc-col { display: flex; flex-direction: column; gap: 10px; }
.lvm-cc-tile { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 8px; min-height: 48px; cursor: default !important; }
.lvm-cc-tile:active, .lvm-cc-btn:active { filter: brightness(.92); }
.lvm-cc-wide { grid-column: 1 / -1; padding: 9px 12px 11px; }
.lvm-cc-wide > b { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; color: rgb(var(--fg) / 0.9); }
.lvm-cc-sound { display: flex; align-items: center; gap: 10px; }
.lvm-cc-sound .lvm-slider { flex: 1; }
.lvm-cc-air { color: rgb(var(--fg) / 0.6); }
.lvm-slider {
	position: relative;
	height: 22px;
	border-radius: 11px;
	overflow: hidden;
	background: rgb(var(--fg) / 0.1);
	box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.1);
	cursor: default;
	touch-action: none;
	outline: none;
}
.lvm-slider:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); }
.lvm-slider i { position: absolute; left: 0; top: 0; bottom: 0; min-width: 22px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12), 1px 0 3px rgba(0, 0, 0, 0.18); }
html.dark .lvm-slider i { background: rgba(255, 255, 255, 0.92); }
.lvm-slider-ic { position: absolute; left: 6px; top: 0; bottom: 0; color: #8E8E93; pointer-events: none; }
.lvm-bright { position: absolute; inset: 0; z-index: 3000; background: #000; pointer-events: none; opacity: 0; transition: opacity .08s linear; }

/* ------------------------------------------------------------ Desktop windows */

.lvm-wlayer { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; border-radius: inherit; }
.lvm-wlayer > * { pointer-events: auto; }
.lvm-w {
	--lvm-wr: 14px;
	display: flex;
	overflow: visible;
	border-radius: var(--lvm-wr);
	background: var(--panel);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 22px 60px -14px rgba(0, 0, 0, 0.38), 0 6px 18px -8px rgba(0, 0, 0, 0.2);
	transition: box-shadow .2s;
}
html.dark .lvm-w { background: #1E1E20; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 0 0 0.5px rgba(0, 0, 0, 0.8), 0 22px 60px -14px rgba(0, 0, 0, 0.7); }
.lvm-w.has-toolbar { --lvm-wr: 22px; }
.lvm-wmain { border-radius: 0 var(--lvm-wr) var(--lvm-wr) 0; }
.lvm-w.is-narrow .lvm-wmain { border-radius: var(--lvm-wr); }
.lvm-w:not(.is-key) { box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.16), 0 12px 32px -12px rgba(0, 0, 0, 0.26); }
.lvm-w.is-zooming { transition: left .26s cubic-bezier(.2, .85, .25, 1), top .26s cubic-bezier(.2, .85, .25, 1), width .26s cubic-bezier(.2, .85, .25, 1), height .26s cubic-bezier(.2, .85, .25, 1); }
.lvm-w.is-minimising { transition: transform .42s cubic-bezier(.55, 0, .8, .2), opacity .42s ease-in; transform-origin: 50% 50%; }
.lvm-wlights { position: absolute; z-index: 5; left: 16px; top: 16px; }
.lvm-w:not(.has-toolbar) .lvm-wlights { top: 10px; left: 12px; }
.lvm-light.lvm-zoom { background: #28C840; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.14); }
.lvm-w:not(.is-key) .lvm-light { background: rgb(var(--fg) / 0.13); box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.06); }
.lvm-w:not(.is-key) .lvm-lights:hover .lvm-light.lvm-close { background: #FF5F57; }
.lvm-w:not(.is-key) .lvm-lights:hover .lvm-light.lvm-min { background: #FEBC2E; }
.lvm-w:not(.is-key) .lvm-lights:hover .lvm-light.lvm-zoom { background: #28C840; }
.lvm-flex { flex: 1; min-width: 4px; }

/* The floating glass sidebar of Finder and System Settings. */
.lvm-side {
	position: relative;
	flex: 0 0 172px;
	margin: 8px 0 8px 8px;
	padding: 0 8px 8px;
	box-sizing: border-box;
	border-radius: 15px;
	background: rgb(var(--fg) / 0.045);
	box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.08), 0 1px 6px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	font-size: 13px;
	color: rgb(var(--fg) / 0.85);
}
html:not(.dark) .lvm-side { background: rgba(244, 244, 247, 0.92); }
.lvm-side-top { height: 36px; }
.lvm-side-head { padding: 4px 8px 4px; font-size: 11px; font-weight: 600; color: rgb(var(--fg) / 0.42); }
.lvm-side-row { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 8px; white-space: nowrap; overflow: hidden; }
.lvm-side-row span:last-child { overflow: hidden; text-overflow: ellipsis; }
.lvm-side-row.is-sel { background: rgb(var(--fg) / 0.09); }
.lvm-side-ic { width: 18px; color: var(--accent); }
.lvm-wmain { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lvm-wtb { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 12px 0 14px; flex-shrink: 0; }
.lvm-wtb-solo { padding-left: 84px; }
.lvm-w.is-narrow .lvm-side { display: none; }
.lvm-w.is-narrow .lvm-wtb { padding-left: 84px; }
.lvm-wtitle { font-size: 15px; font-weight: 700; color: rgb(var(--fg) / 0.88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lvm-cap {
	display: inline-flex;
	height: 30px;
	padding: 0 2px;
	border-radius: 15px;
	background: rgb(var(--fg) / 0.04);
	box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
	flex-shrink: 0;
}
html:not(.dark) .lvm-cap { background: rgba(255, 255, 255, 0.9); }
.lvm-cap button { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 15px; background: transparent; color: rgb(var(--fg) / 0.75) !important; display: inline-flex; align-items: center; justify-content: center; cursor: default !important; }
.lvm-cap button.is-dim { color: rgb(var(--fg) / 0.28) !important; }
.lvm-cap button:not(.is-dim):active { background: rgb(var(--fg) / 0.08); }

/* Finder's icon view. */
.lvm-fw-grid { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 6px 12px 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); grid-auto-rows: max-content; gap: 6px 4px; align-content: start; }
.lvm-fi { display: flex; flex-direction: column; align-items: center; padding: 4px 2px; border-radius: 8px; cursor: default; }
.lvm-fi.is-hidden { opacity: .45; }
.lvm-fi-art { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.lvm-fi.is-sel .lvm-fi-art { background: rgb(var(--fg) / 0.1); }
.lvm-fi-name { max-width: 92px; margin-top: 3px; padding: 1px 4px; border-radius: 4px; font-size: 12px; line-height: 15px; text-align: center; color: rgb(var(--fg) / 0.85); word-break: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lvm-fi.is-sel .lvm-fi-name { background: var(--lvm-hi, var(--accent)); color: #fff; }
.lvm-fi-size { margin-top: 1px; font-size: 11px; line-height: 13px; color: var(--accent); font-variant-numeric: tabular-nums; }
.lvm-fw-status { flex-shrink: 0; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: rgb(var(--fg) / 0.5); border-top: 0.5px solid rgb(var(--fg) / 0.08); font-variant-numeric: tabular-nums; }

.lvm-ic-folder { color: #5BB0F6; filter: drop-shadow(0 1.5px 2px rgba(0, 0, 0, 0.16)); display: flex; }
.lvm-ic-page {
	position: relative;
	width: 44px;
	height: 56px;
	border-radius: 4px;
	background: linear-gradient(180deg, #FFFFFF, #F1F1F3);
	clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
	filter: drop-shadow(0 1.5px 2px rgba(0, 0, 0, 0.2));
}
.lvm-ic-page b { position: absolute; left: 4px; right: 4px; bottom: 5px; height: 12px; border-radius: 3px; background: #8E8E93; color: #fff; font-size: 7.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; letter-spacing: .04em; }
.lvm-ic-zip i { position: absolute; left: 18px; top: 4px; width: 8px; height: 30px; background: repeating-linear-gradient(180deg, #636366 0 3px, #C7C7CC 3px 6px); border-radius: 1px; }
.lvm-ic-zip b { background: #636366; }
.lvm-ic-txt em { position: absolute; left: 8px; right: 10px; height: 2px; border-radius: 1px; background: #C7C7CC; }
.lvm-ic-txt em:nth-of-type(1) { top: 15px; }
.lvm-ic-txt em:nth-of-type(2) { top: 21px; right: 16px; }
.lvm-ic-txt em:nth-of-type(3) { top: 27px; }
.lvm-ic-dmg { position: relative; width: 50px; height: 50px; border-radius: 9px; background: linear-gradient(180deg, #FFFFFF, #E9E9EE); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1.5px 3px rgba(0, 0, 0, 0.2); display: flex; align-items: center; justify-content: center; }
.lvm-ic-dmg i { width: 32px; height: 22px; border-radius: 5px; background: linear-gradient(180deg, #D1D1D6, #AEAEB2); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.lvm-ic-pkg { display: flex; filter: drop-shadow(0 1.5px 2px rgba(0, 0, 0, 0.18)); }
.lvm-ic-app { width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(180deg, #A1A1A6, #6C6C70); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.2); }
.lvm-ic-shot { width: 60px; height: 44px; border-radius: 3px; background: #fff; padding: 2px; box-sizing: border-box; box-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.26); }
.lvm-ic-shot i { display: block; width: 100%; height: 100%; border-radius: 1.5px; background: radial-gradient(60% 80% at 80% 20%, #FFC4A0, transparent 70%), radial-gradient(70% 80% at 10% 90%, #96BEFF, transparent 70%), linear-gradient(160deg, #EEF1F8, #F6EEEA); }

/* TextEdit, and plain title bars. */
.lvm-w-textedit, .lvm-w-custom:not(.has-toolbar) { flex-direction: column; }
.lvm-wbar { border-radius: var(--lvm-wr) var(--lvm-wr) 0 0; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 0 76px; border-bottom: 0.5px solid rgb(var(--fg) / 0.1); }
.lvm-wbar-title { font-size: 13px; font-weight: 600; color: rgb(var(--fg) / 0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lvm-w:not(.is-key) .lvm-wbar-title, .lvm-w:not(.is-key) .lvm-wtitle { color: rgb(var(--fg) / 0.4); }
.lvm-te-edited { margin-left: 6px; font-weight: 400; color: rgb(var(--fg) / 0.42); }
.lvm-te-doc {
	flex: 1;
	min-height: 0;
	overflow: auto;
	padding: 14px 18px;
	background: #fff;
	color: #1D1D1F;
	font: 12px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
	white-space: pre-wrap;
	word-break: break-word;
	outline: none;
	cursor: text;
	-webkit-user-select: text;
	user-select: text;
	scrollbar-width: thin;
	border-radius: 0 0 var(--lvm-wr) var(--lvm-wr);
}
html.dark .lvm-te-doc { background: #1E1E20; color: rgb(255 255 255 / 0.88); }
.lvm-w-custom.has-toolbar { flex-direction: column; }
.lvm-wbody { position: relative; flex: 1; min-height: 0; overflow: auto; border-radius: 0 0 var(--lvm-wr) var(--lvm-wr); }
.lvm-w.is-clear .lvm-wbody { position: absolute; inset: 0; border-radius: var(--lvm-wr); }
.lvm-wdrag { position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 28px; }

/* System Settings, Appearance. */
.lvm-ss-search { display: flex; align-items: center; gap: 6px; height: 26px; margin: 0 2px 8px; padding: 0 8px; border-radius: 8px; background: rgb(var(--fg) / 0.06); color: rgb(var(--fg) / 0.42); font-size: 12px; }
.lvm-ss-user { display: flex; align-items: center; gap: 8px; padding: 4px 8px 10px; }
.lvm-ss-user span:last-child { display: flex; flex-direction: column; line-height: 15px; min-width: 0; }
.lvm-ss-user b, .lvm-ss-user small { overflow: hidden; text-overflow: ellipsis; }
.lvm-ss-user b { font-size: 12.5px; font-weight: 600; }
.lvm-ss-user small { font-size: 11px; color: rgb(var(--fg) / 0.5); white-space: nowrap; }
.lvm-ss-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(180deg, #C7C7CC, #A1A1A6); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lvm-w-settings .lvm-side { display: flex; flex-direction: column; }
.lvm-ss-list { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.lvm-ss-list::-webkit-scrollbar, .lvm-fw-grid::-webkit-scrollbar, .lvm-ss-body::-webkit-scrollbar { display: none; }
.lvm-ss-list .lvm-side-row { height: 26px; gap: 8px; }
.lvm-ss-gap { height: 8px; }
.lvm-ss-tile { width: 20px; height: 20px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.1); }
.lvm-t-blue { background: linear-gradient(180deg, #4BA3FF, #0A7CF2); }
.lvm-t-green { background: linear-gradient(180deg, #5BD873, #29B44A); }
.lvm-t-grey { background: linear-gradient(180deg, #A1A1A6, #75757A); }
.lvm-t-black { background: linear-gradient(180deg, #48484A, #1C1C1E); }
.lvm-t-cyan { background: linear-gradient(180deg, #5ED0F5, #1FA4D6); }
.lvm-t-red { background: linear-gradient(180deg, #FF6B6B, #EB3B3B); }
.lvm-t-pink { background: linear-gradient(180deg, #FF6B8E, #F0365F); }
.lvm-t-indigo { background: linear-gradient(180deg, #7C7AF2, #5452D8); }
.lvm-ss-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 0 18px 18px; font-size: 13px; }
.lvm-ss-group { border-radius: 12px; background: rgb(var(--fg) / 0.035); box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.08); padding: 0 12px; margin-top: 10px; }
.lvm-ss-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 6px 0; box-sizing: border-box; }
.lvm-ss-row + .lvm-ss-row { border-top: 0.5px solid rgb(var(--fg) / 0.08); }
.lvm-ss-row > span:first-child { color: rgb(var(--fg) / 0.85); }
.lvm-ss-ap { align-items: flex-start; padding: 12px 0; }
.lvm-ss-ap > span:first-child { padding-top: 2px; }
.lvm-ap { display: flex; gap: 14px; }
.lvm-ap-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; cursor: default !important; }
.lvm-ap-pic { position: relative; width: 68px; height: 46px; border-radius: 7px; overflow: hidden; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.15); transition: box-shadow .15s; }
.lvm-ap-pic i { position: absolute; left: 9px; top: 9px; width: 44px; height: 28px; border-radius: 4px; }
.lvm-ap-pic i::before { content: ""; position: absolute; left: 4px; top: 4px; width: 14px; height: 3px; border-radius: 2px; background: currentColor; opacity: .35; box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor; }
.lvm-ap-light { background: linear-gradient(150deg, #CFE3FF, #F7DCCB); }
.lvm-ap-light i { background: #fff; color: #000; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.lvm-ap-dark { background: linear-gradient(150deg, #1D2550, #3A1838); }
.lvm-ap-dark i { background: #2C2C2E; color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.lvm-ap-auto { background: linear-gradient(150deg, #CFE3FF, #F7DCCB); }
.lvm-ap-auto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, #1D2550, #3A1838); clip-path: polygon(62% 0, 100% 0, 100% 100%, 30% 100%); }
.lvm-ap-auto i { z-index: 1; background: linear-gradient(105deg, #fff 0 50%, #2C2C2E 50%); color: #888; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.lvm-ap-cap { padding: 1px 8px; border-radius: 9px; font-size: 11px; line-height: 16px; color: rgb(var(--fg) / 0.75); }
.lvm-ap-card.is-on .lvm-ap-pic { box-shadow: 0 0 0 3px var(--accent), 0 1px 3px rgba(0, 0, 0, 0.15); }
.lvm-ap-card.is-on .lvm-ap-cap { background: var(--accent); color: #fff; }
.lvm-dots { display: flex; gap: 7px; }
.lvm-dot { width: 15px; height: 15px; padding: 0; border: 0; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18); cursor: default !important; position: relative; }
.lvm-dot.is-on::after { content: ""; position: absolute; left: 5px; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.lvm-a-multi { background: conic-gradient(#FF5257, #FFB224, #FFD60A, #34C759, #0A84FF, #BF5AF2, #FF5257); }
.lvm-a-blue { background: #0A84FF; } .lvm-a-purple { background: #A550A7; } .lvm-a-pink { background: #F74F9E; }
.lvm-a-red { background: #FF5257; } .lvm-a-orange { background: #F7821B; } .lvm-a-yellow { background: #FFC600; }
.lvm-a-green { background: #62BA46; } .lvm-a-graphite { background: #8C8C8C; }
.lvm-pop { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 6px 0 9px; border-radius: 6px; background: rgb(var(--fg) / 0.05); box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.12); font-size: 12.5px; color: rgb(var(--fg) / 0.85); white-space: nowrap; }
html:not(.dark) .lvm-pop { background: #fff; }
.lvm-switch-lg { width: 38px; height: 22px; padding: 0; border: 0; border-radius: 11px; cursor: default !important; }
.lvm-switch-lg i { top: 2px; left: 2px; width: 18px; height: 18px; }
.lvm-switch-lg.is-on i { transform: translateX(16px); }
.lvm-ss-radios { align-items: flex-start; }
.lvm-ss-radios > div { display: flex; flex-direction: column; gap: 6px; }
.lvm-radio { display: flex; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; font-size: 12.5px !important; color: rgb(var(--fg) / 0.85) !important; text-align: left; cursor: default !important; }
.lvm-radio i { width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box; background: rgb(var(--fg) / 0.06); box-shadow: inset 0 0 0 0.5px rgb(var(--fg) / 0.3); flex-shrink: 0; position: relative; }
html:not(.dark) .lvm-radio i { background: #fff; }
.lvm-radio.is-on i, html:not(.dark) .lvm-radio.is-on i { background: var(--accent); box-shadow: none; }
.lvm-radio.is-on i::after { content: ""; position: absolute; left: 4.5px; top: 4.5px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.lvm-w-settings.is-narrow .lvm-ss-ap { flex-direction: column; gap: 10px; }
.lvm-w-settings.is-narrow .lvm-ss-row > span:first-child { font-size: 12.5px; }
.lvm-w-settings.is-narrow .lvm-dots { gap: 4px; }

@keyframes lvm-spin { from { transform: rotate(-180deg) scale(.6); } }

@media (prefers-reduced-motion: reduce) {
	.lv-scene .lvm-w { animation: lvm-fade .15s ease-out !important; }
	.lv-scene .lvm-w.is-minimising { transition: opacity .3s !important; }
	.lv-scene .lvm-cc-dark.is-spin .lvm-sym { animation: none !important; }
}

/* Resizing: hit areas along every edge and corner. */
.lvm-rz { position: absolute; z-index: 8; display: block; touch-action: none; }
.lvm-rz { --o: -3px; --t: 6px; --c: 16px; }
.lvm-rz-n, .lvm-rz-s { left: 10px; right: 10px; height: var(--t); cursor: ns-resize; }
.lvm-rz-n { top: var(--o); }
.lvm-rz-s { bottom: var(--o); }
.lvm-rz-e, .lvm-rz-w { top: 10px; bottom: 10px; width: var(--t); cursor: ew-resize; }
.lvm-rz-e { right: var(--o); }
.lvm-rz-w { left: var(--o); }
.lvm-rz-nw, .lvm-rz-ne, .lvm-rz-sw, .lvm-rz-se { width: var(--c); height: var(--c); z-index: 9; }
.lvm-rz-nw { left: var(--o); top: var(--o); cursor: nwse-resize; }
.lvm-rz-se { right: var(--o); bottom: var(--o); cursor: nwse-resize; }
.lvm-rz-ne { right: var(--o); top: var(--o); cursor: nesw-resize; }
.lvm-rz-sw { left: var(--o); bottom: var(--o); cursor: nesw-resize; }
@media (pointer: coarse) { .lvm-rz { --o: -8px; --t: 14px; --c: 26px; } }
.lvm-w [data-lvm-drag] { touch-action: none; }
.lvm-wlayer.is-resizing, .lvm-wlayer.is-resizing *, .lvm-wlayer.is-dragging, .lvm-wlayer.is-dragging * { -webkit-user-select: none !important; user-select: none !important; }
.lvm-wlayer[data-rz="n"] *, .lvm-wlayer[data-rz="s"] * { cursor: ns-resize !important; }
.lvm-wlayer[data-rz="e"] *, .lvm-wlayer[data-rz="w"] * { cursor: ew-resize !important; }
.lvm-wlayer[data-rz="nw"] *, .lvm-wlayer[data-rz="se"] * { cursor: nwse-resize !important; }
.lvm-wlayer[data-rz="ne"] *, .lvm-wlayer[data-rz="sw"] * { cursor: nesw-resize !important; }
.lvm-w.is-minimising .lvm-rz { display: none; }

/* ------------------------------------------------------------ macOS 26 (Tahoe) realism
 * Menus: rounder (13 px) Liquid Glass with a lit top rim, concentric 8 px rows,
 * and the SF Symbol column Tahoe adds beside standard items. Finder: a 26 px
 * window with the sidebar as an inset floating glass panel (concentric 18 px),
 * toolbar controls in 34 px glass capsules, and macOS's own file icons.
 */
.lvm-layer {
	--lvm-glass: rgba(250, 250, 252, 0.8);
	--lvm-rim: inset 0 0.5px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 0.5px rgba(255, 255, 255, 0.55), 0 0 0 0.5px rgba(0, 0, 0, 0.12);
	--lvm-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 10px 30px -6px rgba(0, 0, 0, 0.22);
}
html.dark .lvm-layer {
	--lvm-glass: rgba(40, 40, 44, 0.8);
	--lvm-rim: inset 0 0.5px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.55);
}
.lvm-menu { border-radius: 13px; padding: 5px; -webkit-backdrop-filter: blur(32px) saturate(2.1) brightness(1.04); backdrop-filter: blur(32px) saturate(2.1) brightness(1.04); }
html.dark .lvm-menu { -webkit-backdrop-filter: blur(32px) saturate(1.8) brightness(0.9); backdrop-filter: blur(32px) saturate(1.8) brightness(0.9); }
.lvm-item { border-radius: 8px; }
.lvm-soft { border-radius: 18px; }
.lvm-soft .lvm-item { border-radius: 12px; }
.lvm-sep { margin: 5px 10px; height: 0.5px; background: rgb(var(--fg) / 0.14); }
html.dark .lvm-sep { background: rgba(255, 255, 255, 0.16); }
.lvm-mic { width: 16px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; margin-right: -1px; color: rgb(var(--fg) / 0.78); }
html.dark .lvm-mic { color: rgb(255 255 255 / 0.8); }
.lvm-menu:not(:has(.lvm-mic .lvm-sym)) .lvm-mic { display: none; }
.lvm-item.is-hi .lvm-mic { color: #fff; }
.lvm-item.is-off .lvm-mic { color: inherit; }
.lvm-mi.is-flip svg { transform: scaleX(-1); }

/* Control Centre: a deeper glass panel, modules as lighter glass, round toggles. */
.lvm-m-control { width: 328px; padding: 12px; border-radius: 26px; }
.lvm-cc-grid { gap: 10px; }
.lvm-cc-mod { border-radius: 18px; background: rgba(255, 255, 255, 0.42); box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 0.5px rgba(255, 255, 255, 0.5), 0 1px 4px rgba(0, 0, 0, 0.06); }
html.dark .lvm-cc-mod { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 0.5px rgba(255, 255, 255, 0.08); }
.lvm-cc-conn { padding: 10px 8px; gap: 8px; }
.lvm-cc-btn { width: 30px; height: 30px; background: rgb(var(--fg) / 0.08); }
html.dark .lvm-cc-btn { background: rgba(255, 255, 255, 0.12); }
html.dark .lvm-cc-btn.is-on { background: var(--accent); }
html.dark .lvm-cc-tile.is-focus .lvm-cc-btn.is-on { background: #5E5CE6; }
.lvm-cc-btn.is-on { box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.35); }
.lvm-cc-tile { padding: 0 10px; min-height: 52px; }
.lvm-cc-wide { padding: 10px 12px 12px; }
.lvm-slider { height: 24px; border-radius: 12px; background: rgb(var(--fg) / 0.08); }
.lvm-slider i { border-radius: 12px; min-width: 24px; }

/* Windows. */
.lvm-w.has-toolbar { --lvm-wr: 26px; }
.lvm-w { box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 28px 70px -16px rgba(0, 0, 0, 0.4), 0 8px 20px -10px rgba(0, 0, 0, 0.2); }
html.dark .lvm-w { background: #1F1F21; box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 0 0 0.5px rgba(0, 0, 0, 0.8), 0 28px 70px -16px rgba(0, 0, 0, 0.75); }
.lvm-w.has-toolbar .lvm-wlights { left: 20px; top: 20px; }

/* The sidebar: an inset glass panel floating over the window. */
.lvm-side {
	flex-basis: 176px;
	margin: 8px 0 8px 8px;
	padding: 0 10px 10px;
	border-radius: 18px;
	background: rgba(228, 228, 233, 0.8);
	-webkit-backdrop-filter: blur(20px) saturate(1.8);
	backdrop-filter: blur(20px) saturate(1.8);
	box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 0.5px rgba(255, 255, 255, 0.6), 0 0 0 0.5px rgba(0, 0, 0, 0.07), 0 2px 10px rgba(0, 0, 0, 0.08);
}
html:not(.dark) .lvm-side { background: rgba(228, 228, 233, 0.8); }
html.dark .lvm-side { background: rgba(52, 52, 56, 0.62); box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 0.5px rgba(255, 255, 255, 0.08), 0 0 0 0.5px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3); }
.lvm-side-top { height: 44px; }
.lvm-side-head { padding: 6px 8px 4px; font-size: 11px; font-weight: 700; color: rgb(var(--fg) / 0.4); }
.lvm-side-row { height: 28px; padding: 0 8px; gap: 7px; border-radius: 9px; font-size: 13px; }
.lvm-side-row.is-sel { background: rgb(var(--fg) / 0.08); font-weight: 500; }
html.dark .lvm-side-row.is-sel { background: rgba(255, 255, 255, 0.1); }
.lvm-side-ic { width: 18px; color: var(--accent); }
.lvm-wtb { height: 60px; gap: 10px; padding: 0 12px 0 14px; }
.lvm-wtitle { font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }

/* Toolbar items in glass capsules. */
.lvm-cap {
	height: 34px;
	padding: 0 2px;
	border-radius: 17px;
	background: rgba(255, 255, 255, 0.78);
	-webkit-backdrop-filter: blur(12px) saturate(1.6);
	backdrop-filter: blur(12px) saturate(1.6);
	box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 1), 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.1), 0 4px 12px -6px rgba(0, 0, 0, 0.12);
}
html:not(.dark) .lvm-cap { background: rgba(255, 255, 255, 0.78); }
html.dark .lvm-cap { background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 0.5px rgba(255, 255, 255, 0.08), 0 1px 4px rgba(0, 0, 0, 0.3); }
.lvm-cap button { width: 34px; height: 34px; border-radius: 17px; color: rgb(var(--fg) / 0.78) !important; }
.lvm-cap-view button { width: 48px; gap: 4px; }
.lvm-cap-chev { opacity: .6; }

/* Finder's icon view, with macOS's own icons at 64 pt. */
.lvm-fw-grid { padding: 4px 14px 12px; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px 4px; }
.lvm-fi-art { width: 72px; height: 72px; border-radius: 8px; }
.lvm-ic-real { display: block; width: 64px; height: 64px; pointer-events: none; }
.lvm-fi.is-sel .lvm-fi-art { background: rgb(var(--fg) / 0.1); }
.lvm-fi-name { margin-top: 2px; font-size: 12px; line-height: 15px; border-radius: 5px; padding: 0 5px; }
.lvm-fw-status { height: 28px; border-top: 0; color: rgb(var(--fg) / 0.45); }


/* ------------------------------------------------------------ Finder, from finder-light.png and finder-dark.png */

/* The sidebar runs the window's full height on its left, a shade off the content. */
.lvm-w-finder { background: #FFFFFF; }
html.dark .lvm-w-finder { background: #1E1E1E; }
.lvm-fside {
	flex: 0 0 170px;
	margin: 0;
	padding: 0 8px 0 10px;
	display: flex;
	flex-direction: column;
	border-radius: var(--lvm-wr) 0 0 var(--lvm-wr);
	background: rgba(236, 236, 238, 0.86);
	box-shadow: inset -0.5px 0 0 rgba(0, 0, 0, 0.08);
	-webkit-backdrop-filter: blur(24px) saturate(1.6);
	backdrop-filter: blur(24px) saturate(1.6);
}
html:not(.dark) .lvm-fside { background: rgba(236, 236, 238, 0.86); }
html.dark .lvm-fside { background: rgba(43, 43, 45, 0.9); box-shadow: inset -0.5px 0 0 rgba(0, 0, 0, 0.6); }
.lvm-fside .lvm-side-top { flex: none; height: 52px; }
.lvm-side-scroll { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding-bottom: 10px; }
.lvm-side-scroll::-webkit-scrollbar { display: none; }
.lvm-side-sec + .lvm-side-sec { margin-top: 12px; }
.lvm-fside .lvm-side-head { height: 24px; padding: 0 6px; display: flex; align-items: center; font-size: 11px; font-weight: 600; color: rgb(var(--fg) / 0.45); }
.lvm-fside .lvm-side-row { height: 32px; padding: 0 6px; gap: 9px; border-radius: 8px; font-size: 13px; color: rgb(var(--fg) / 0.88); }
.lvm-fside .lvm-side-row > span:not([class]) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lvm-fside .lvm-side-row > span[class] { flex: none; display: inline-flex; justify-content: center; }
.lvm-fside .lvm-side-ic { flex: none; width: 19px; height: 18px; color: var(--accent); }
.lvm-side-sec.is-grey .lvm-side-ic { color: rgb(var(--fg) / 0.55); }
.lvm-side-cloud { flex: none; width: 15px; color: rgb(var(--fg) / 0.3); }
.lvm-tag { flex: none; width: 12px; height: 12px; margin: 0 3px 0 4px; border-radius: 50%; }

/* The toolbar: back and forward, the title, then the view, group, actions and search capsules. */
.lvm-ftb { height: 52px; gap: 8px; padding: 0 10px 0 9px; }
.lvm-ftb .lvm-wtitle { margin-left: 4px; font-size: 15px; font-weight: 700; }
.lvm-ftb .lvm-cap { height: 36px; padding: 0 2px; border-radius: 18px; }
html:not(.dark) .lvm-ftb .lvm-cap { background: #FFFFFF; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08), 0 3px 10px -4px rgba(0, 0, 0, 0.12); }
html.dark .lvm-ftb .lvm-cap { background: #262626; box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.12), 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 1px 4px rgba(0, 0, 0, 0.4); }
.lvm-ftb .lvm-cap button { width: 36px; height: 36px; border-radius: 18px; color: rgb(var(--fg) / 0.8) !important; }
.lvm-ftb .lvm-cap button.is-dim { color: rgb(var(--fg) / 0.25) !important; }
.lvm-cap-nav button + button { position: relative; }
.lvm-cap-nav button + button::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: rgb(var(--fg) / 0.1); }
.lvm-ftb .lvm-cap-view button { width: 38px; }
.lvm-ftb .lvm-cap-view button.is-on { border: 3px solid transparent; background: rgb(var(--fg) / 0.08) padding-box; }
.lvm-ftb .lvm-cap-group button { width: 46px; gap: 3px; }
.lvm-ftb .lvm-cap-empty button { width: auto; padding: 0 14px; font: inherit; font-size: 13px; font-weight: 500; color: rgb(var(--fg) / 0.85) !important; }
.lvm-ftb .lvm-cap-empty button:disabled { color: rgb(var(--fg) / 0.3) !important; }
.lvm-w-finder .lvm-wmain { container-type: inline-size; }
@container (max-width: 640px) { .lvm-cap-acts, .lvm-cap-group { display: none !important; } }
@container (max-width: 430px) { .lvm-cap-view { display: none !important; } }

/* Icon view: 64 pt icons on a 112 pt pitch, names in 12 pt, sizes in blue under them. */
.lvm-w-finder .lvm-fw-grid { padding: 14px 12px 12px; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 12px 4px; }
.lvm-w-finder .lvm-fi-art { width: 72px; height: 68px; }
.lvm-w-finder .lvm-fi-name { max-width: 104px; font-size: 12px; line-height: 16px; color: rgb(var(--fg) / 0.88); }
.lvm-w-finder .lvm-fi-size { font-size: 11px; line-height: 14px; color: #0A6CF0; }
html.dark .lvm-w-finder .lvm-fi-size { color: #4DA3FF; }
.lvm-fi.is-dragged { opacity: .5; }
.lvm-fw-empty { grid-column: 1 / -1; align-self: center; padding-top: 90px; text-align: center; font-size: 15px; color: rgb(var(--fg) / 0.3); }
.lvm-w-finder .lvm-fw-status { height: 30px; border-top: 0.5px solid rgb(var(--fg) / 0.1); font-size: 11px; color: rgb(var(--fg) / 0.5); }

/* A Finder icon being dragged, and the right-click menu. */
.lvm-drag-ghost { position: absolute; z-index: 60; width: 64px; height: 64px; opacity: .85; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25)); }
.lvm-drag-ghost.is-home { transition: transform .3s cubic-bezier(.2, .85, .25, 1), opacity .3s; opacity: 0; }
.lvm-ctx { position: absolute; min-width: 200px; animation: none; }
.lvm-ctx .lvm-item { padding-left: 12px; }
.lvm-ctx .lvm-item:not(.is-off):hover { background: var(--lvm-hi); color: #fff; }
.lvm-ctx .lvm-item:not(.is-off):hover .lvm-keys { color: rgba(255, 255, 255, 0.78); }
.lvm-fi.is-vanish { transform: scale(.2); opacity: 0; transition: transform .32s cubic-bezier(.5, 0, .75, 0), opacity .3s; }

/* Real app, device and folder icons in About This Mac, Force Quit, Battery, Go to Folder and alerts. */
.lvm-app.lvm-app-real, .lvm-fq-row.is-sel .lvm-app.lvm-app-real { background: none; border-radius: 0; }
.lvm-app-real img { width: 20px; height: 20px; }
.lvm-about-img { height: 140px; padding-top: 24px; }
.lvm-about-img img { display: block; width: 128px; height: 128px; }
.lvm-goto-f { flex: none; }
.lvm-alert-ic img { display: block; width: 52px; height: 52px; }

/* ------------------------------------------------------------ macOS 26 menus (round 8)
 * Measured from the 2x screenshots in Levo/design/refs/macos-menus: 12 pt corners, 5 pt padding,
 * 24 pt rows with 8 pt hover corners inset 5 pt, text 15 pt from the edge (an icon's own 16 pt
 * box and 7 pt gap push only its row's text), separators inset to the text, shortcuts one glyph
 * per modifier in secondary colour. Light (the screenshots, taken in light mode): pale glass, dark
 * text. Dark: dark translucent glass, white text, secondary-white shortcuts, the same blue hover.
 */
.lvm-layer {
	--lvm-sys-bg: rgba(242, 242, 244, 0.78);
	--lvm-sys-ink: rgba(0, 0, 0, 0.86);
	--lvm-sys-dim: rgba(0, 0, 0, 0.26);
	--lvm-sys-keys: rgba(0, 0, 0, 0.42);
	--lvm-sys-sep: rgba(0, 0, 0, 0.1);
	--lvm-sys-rim: inset 0 0 0 0.5px rgba(255, 255, 255, 0.7), 0 0 0 0.5px rgba(0, 0, 0, 0.12);
	--lvm-sys-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 14px 36px -10px rgba(0, 0, 0, 0.28);
	--lvm-sys-hi: #0A84FF;
}
html.dark .lvm-layer {
	--lvm-sys-bg: rgba(40, 40, 44, 0.66);
	--lvm-sys-ink: rgba(255, 255, 255, 0.9);
	--lvm-sys-dim: rgba(255, 255, 255, 0.28);
	--lvm-sys-keys: rgba(255, 255, 255, 0.5);
	--lvm-sys-sep: rgba(255, 255, 255, 0.12);
	--lvm-sys-rim: inset 0 0.5px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.6);
	--lvm-sys-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 16px 40px -10px rgba(0, 0, 0, 0.6);
	--lvm-sys-hi: #0A84FF;
}
.lvm-menu:not(.lvm-soft) {
	top: 32px;
	min-width: 200px;
	padding: 5px;
	border-radius: 12px;
	background: var(--lvm-sys-bg);
	-webkit-backdrop-filter: blur(30px) saturate(1.7);
	backdrop-filter: blur(30px) saturate(1.7);
	box-shadow: var(--lvm-sys-rim), var(--lvm-sys-shadow);
	color: var(--lvm-sys-ink);
	font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
}
html.dark .lvm-menu:not(.lvm-soft) { color: var(--lvm-sys-ink); -webkit-backdrop-filter: blur(30px) saturate(1.6) brightness(0.9); backdrop-filter: blur(30px) saturate(1.6) brightness(0.9); }
.lvm-menu:not(.lvm-soft) .lvm-item { height: 24px; gap: 0; padding: 0 14px 0 10px; border-radius: 8px; }
.lvm-menu:not(.lvm-soft) .lvm-check { position: static; width: 16px; margin-right: 4px; flex: none; }
.lvm-menu:not(.lvm-soft) .lvm-mic { width: 16px; margin: 0 7px 0 0; flex: none; color: inherit; }
.lvm-menu:not(.lvm-soft) .lvm-mi svg, .lvm-menu:not(.lvm-soft) .lvm-mi { width: 14px; height: 14px; }
.lvm-menu:not(.lvm-soft) .lvm-mi .lv-sym { width: 14px !important; height: 14px !important; }
.lvm-menu:not(.lvm-soft) .lvm-appic { display: block; width: 16px; height: 16px; }
.lvm-menu:not(.lvm-soft) .lvm-item.is-hi { background: var(--lvm-sys-hi); color: #fff; }
.lvm-menu:not(.lvm-soft) .lvm-item.is-off, .lvm-menu:not(.lvm-soft) .lvm-item.is-off.is-hi { background: transparent; color: var(--lvm-sys-dim); }
.lvm-menu:not(.lvm-soft) .lvm-keys { margin-left: 28px; display: inline-flex; align-items: center; gap: 2px; color: var(--lvm-sys-keys); }
.lvm-menu:not(.lvm-soft) .lvm-mod { display: inline-block; min-width: 11px; text-align: center; }
.lvm-menu:not(.lvm-soft) .lvm-key { min-width: 12px; padding-left: 1px; text-align: center; }
.lvm-menu:not(.lvm-soft) .lvm-key.is-word { min-width: 0; }
.lvm-menu:not(.lvm-soft) .lvm-kglobe svg { width: 11px; height: 11px; }
.lvm-menu:not(.lvm-soft) .lvm-item.is-hi .lvm-keys { color: rgba(255, 255, 255, 0.85); }
.lvm-menu:not(.lvm-soft) .lvm-item.is-off .lvm-keys { color: var(--lvm-sys-dim); }
.lvm-menu:not(.lvm-soft) .lvm-chev { margin: 0 -4px 0 28px; opacity: 1; }
.lvm-menu:not(.lvm-soft) .lvm-sep { height: 1px; margin: 5px 15px; background: var(--lvm-sys-sep); }
.lvm-menu:not(.lvm-soft) .lvm-head { padding: 5px 15px 3px; font-size: 11px; font-weight: 600; color: var(--lvm-sys-keys); }
.lvm-menu:not(.lvm-soft) .lvm-path { color: var(--lvm-sys-keys); }
.lvm-menu:not(.lvm-soft) .lvm-item.is-hi .lvm-path { color: rgba(255, 255, 255, 0.8); }
.lvm-menu:not(.lvm-soft) .lvm-none { padding: 4px 15px; color: var(--lvm-sys-dim); }

/* Help: a rounded search field on top. */
.lvm-m-help { min-width: 340px; }
.lvm-m-help .lvm-hsearch { padding: 4px 5px 6px; display: block; }
.lvm-m-help .lvm-field { height: 26px; padding: 0 10px; gap: 7px; border-radius: 13px; background: rgba(255, 255, 255, 0.86); box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.5); }
.lvm-m-help .lvm-field input { font-size: 13px; color: rgba(0, 0, 0, 0.86); }
.lvm-m-help .lvm-field input::placeholder { color: rgba(0, 0, 0, 0.42); }
html.dark .lvm-m-help .lvm-field { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.5); }
html.dark .lvm-m-help .lvm-field input { color: rgba(255, 255, 255, 0.9); }
html.dark .lvm-m-help .lvm-field input::placeholder { color: rgba(255, 255, 255, 0.4); }

/* The open menu's title: a capsule in the menubar. */
.lv-menubar [data-menu].lvm-on { border-radius: 12px; background: rgb(var(--fg) / 0.1); }
html.dark .lv-menubar [data-menu].lvm-on { background: rgba(255, 255, 255, 0.17); }

/* Finder windows: View's sidebar, toolbar and status bar can be hidden. */
.lvm-w.no-side .lvm-side { display: none; }
.lvm-w.no-side .lvm-wtb { padding-left: 84px; }
.lvm-w.no-side .lvm-wmain { border-radius: var(--lvm-wr); }
.lvm-w.no-toolbar .lvm-ftb > :not(.lvm-wtitle) { visibility: hidden; }
.lvm-w.no-status .lvm-fw-status { display: none; }
