:root {
  --accent: #e95420;
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --ui-scale: 1;
  --wallpaper: url('../assets/wallpapers/aubergine.svg');
  --panel: #faf9f8;
  --window: #f5f4f2;
  --titlebar: #ebe9e6;
  --sidebar: #ebe9e6;
  --text: #2d2c2c;
  --muted: #777471;
  --line: rgba(0, 0, 0, .11);
  --hover: rgba(0, 0, 0, .065);
  --selected: color-mix(in srgb, var(--accent) 17%, white);
  --radius: 12px;
  --font: Ubuntu, 'Ubuntu Sans', Cantarell, 'Noto Sans', 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { font-family: var(--font); font-size: calc(13px * var(--ui-scale)); color: #fff; background: #24172d; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input, textarea { user-select: text; }
::selection { background: var(--accent); color: white; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(120, 118, 116, .45); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: 0 0 auto; fill: currentColor; }
.icon.small { width: 15px; height: 15px; }
.icon.large { width: 26px; height: 26px; }
.app-icon { width: 42px; height: 42px; display: block; flex: 0 0 auto; fill: currentColor; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .12)); }
.app-icon.small { width: 22px; height: 22px; }
.app-icon.medium { width: 32px; height: 32px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.spacer { flex: 1; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: linear-gradient(145deg, #d77755, #9a3f31); font-weight: 600; font-size: 16px; border: 2px solid rgba(255, 255, 255, .35); }
.avatar-large { width: 86px; height: 86px; font-size: 35px; border-width: 3px; }

.desktop { position: fixed; inset: 0; isolation: isolate; color: var(--text); }
.desktop-wallpaper { position: absolute; inset: 0; background: var(--wallpaper) center / cover no-repeat; transition: background-image .45s ease, filter .35s ease; }
.desktop[data-theme='dark'] { --panel: #2d2c2b; --window: #353331; --titlebar: #403d3a; --sidebar: #302e2c; --text: #f4f2f0; --muted: #aaa5a1; --line: rgba(255, 255, 255, .1); --hover: rgba(255, 255, 255, .075); --selected: color-mix(in srgb, var(--accent) 28%, #353331); color-scheme: dark; }
.desktop[data-wallpaper='dune'] { --wallpaper: url('../assets/wallpapers/dune.svg'); }
.desktop[data-wallpaper='lake'] { --wallpaper: url('../assets/wallpapers/lake.svg'); }
.desktop[data-wallpaper='grid'] { --wallpaper: url('../assets/wallpapers/grid.svg'); }
.desktop-surface { position: absolute; inset: 0; outline: 0; }
.desktop[data-theme='dark'] .desktop-wallpaper { filter: brightness(.72) saturate(.88); }
.desktop[data-nightLight='true'] .desktop-wallpaper { filter: sepia(.28) saturate(1.12) brightness(.92); }
.desktop[data-theme='dark'][data-nightLight='true'] .desktop-wallpaper { filter: sepia(.28) saturate(1.12) brightness(.65); }
.dock-autohide .dock { transform: translate(-105%, -50%); opacity: 0; pointer-events: none; }
.dock-autohide.dock-revealed .dock, .dock-autohide .dock:hover { transform: translate(0, -50%); opacity: 1; pointer-events: auto; }

.top-bar { position: absolute; z-index: 6000; top: 0; left: 0; right: 0; height: calc(34px * var(--ui-scale)); background: rgba(20, 17, 22, .78); color: #fff; display: flex; align-items: center; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px rgba(0, 0, 0, .2); font-size: calc(13px * var(--ui-scale)); }
.top-button { height: 100%; padding: 0 11px; color: white; background: transparent; border-radius: 0; display: flex; align-items: center; gap: 7px; }
.top-button:hover, .top-button[aria-expanded='true'] { background: rgba(255, 255, 255, .12); }
.activities-button { font-weight: 600; padding-left: 13px; }
.clock-button { position: absolute; left: 50%; transform: translateX(-50%); font-variant-numeric: tabular-nums; white-space: nowrap; }
.top-status { margin-left: auto; align-self: stretch; }
.status-button { gap: 9px; }
.status-symbol { display: flex; align-items: center; }
.status-symbol .icon { width: 16px; height: 16px; }
#status-chevron .icon { width: 12px; height: 12px; }
#status-battery .icon { width: 21px; height: 21px; }
#battery-fill { transform-box: fill-box; transform-origin: left center; }

.desktop-icons { position: absolute; z-index: 10; top: calc(50px * var(--ui-scale)); right: 18px; display: flex; flex-direction: column; gap: 10px; }
.desktop-icon { width: 82px; min-height: 82px; border-radius: 7px; color: white; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding: 8px 3px 5px; text-shadow: 0 1px 3px rgba(0, 0, 0, .85); }
.desktop-icon .app-icon { width: 43px; height: 43px; }
.desktop-icon span:last-child { font-size: 12px; line-height: 1.2; max-width: 78px; padding: 2px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.desktop-icon:hover { background: rgba(255, 255, 255, .1); }
.desktop-icon.selected { background: rgba(255, 255, 255, .18); }
.desktop-icon.selected span:last-child { background: var(--accent); text-shadow: none; }

.windows-layer { position: absolute; inset: 0; pointer-events: none; }
.window { position: absolute; z-index: 100; display: flex; flex-direction: column; min-width: 330px; min-height: 220px; background: var(--window); color: var(--text); border: 1px solid rgba(0, 0, 0, .28); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0, 0, 0, .26), 0 2px 7px rgba(0, 0, 0, .2); overflow: hidden; pointer-events: auto; transition: opacity .16s ease, transform .16s ease, box-shadow .16s ease; animation: window-open .22s cubic-bezier(.18, .8, .25, 1); }
.window.focused { box-shadow: 0 22px 55px rgba(0, 0, 0, .38), 0 3px 10px rgba(0, 0, 0, .25); border-color: rgba(0, 0, 0, .38); }
.window.minimized { opacity: 0; transform: translate(-40%, 90vh) scale(.25); pointer-events: none; }
.window.closing { opacity: 0; transform: scale(.92); pointer-events: none; }
.window.maximized { border-radius: 0 !important; }
.window-titlebar { height: calc(45px * var(--ui-scale)); flex: 0 0 auto; display: flex; align-items: center; padding: 0 10px 0 13px; background: var(--titlebar); border-bottom: 1px solid var(--line); cursor: default; touch-action: none; user-select: none; }
.window-title { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: calc(13px * var(--ui-scale)); font-weight: 600; }
.window-title .app-icon { width: 19px; height: 19px; filter: none; }
.window-title span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.window-controls { display: flex; align-items: center; gap: 8px; margin-left: auto; padding-left: 15px; }
.window-control { width: calc(25px * var(--ui-scale)); height: calc(25px * var(--ui-scale)); min-width: 25px; min-height: 25px; border-radius: 50%; background: color-mix(in srgb, var(--text) 10%, transparent); color: color-mix(in srgb, var(--text) 70%, transparent); display: flex; align-items: center; justify-content: center; transition: background .12s, color .12s, transform .12s; }
.window-control .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.window-control:hover { background: color-mix(in srgb, var(--text) 18%, transparent); color: var(--text); }
.window-control.close:hover { background: #e95420; color: white; }
.window-control:active { transform: scale(.92); }
.window-content { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--panel); }
.resize-handle { position: absolute; z-index: 5; touch-action: none; }
.resize-handle.n { top: 0; left: 8px; right: 8px; height: 5px; cursor: ns-resize; }
.resize-handle.s { bottom: 0; left: 8px; right: 8px; height: 6px; cursor: ns-resize; }
.resize-handle.e { top: 8px; bottom: 8px; right: 0; width: 6px; cursor: ew-resize; }
.resize-handle.w { top: 8px; bottom: 8px; left: 0; width: 6px; cursor: ew-resize; }
.resize-handle.ne { top: 0; right: 0; width: 12px; height: 12px; cursor: nesw-resize; }
.resize-handle.nw { top: 0; left: 0; width: 12px; height: 12px; cursor: nwse-resize; }
.resize-handle.se { bottom: 0; right: 0; width: 14px; height: 14px; cursor: nwse-resize; }
.resize-handle.sw { bottom: 0; left: 0; width: 14px; height: 14px; cursor: nesw-resize; }
.window.maximized .resize-handle { display: none; }
.snap-preview { position: absolute; z-index: 9000; display: none; border: 3px solid rgba(255, 255, 255, .8); background: color-mix(in srgb, var(--accent) 32%, transparent); border-radius: 12px; box-shadow: inset 0 0 40px rgba(255, 255, 255, .16); pointer-events: none; transition: all .12s ease; }
.snap-preview.visible { display: block; }

.dock { position: absolute; z-index: 5500; left: 8px; top: 50%; transform: translateY(-50%); width: calc(61px * var(--ui-scale)); padding: 7px 5px; display: flex; flex-direction: column; gap: 5px; background: rgba(32, 29, 33, .77); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 8px 28px rgba(0, 0, 0, .28); transition: transform .25s ease, opacity .25s ease; }
.dock-item { position: relative; height: calc(48px * var(--ui-scale)); width: calc(48px * var(--ui-scale)); padding: 4px; border-radius: 11px; background: transparent; display: flex; align-items: center; justify-content: center; transition: background .15s, transform .15s; }
.dock-item .app-icon { width: 42px; height: 42px; transition: transform .16s cubic-bezier(.2, .8, .3, 1.4); }
.dock-item:hover { background: rgba(255, 255, 255, .12); }
.dock-item:hover .app-icon { transform: scale(1.13) translateY(-1px); }
.dock-item.running::before { content: ''; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 2px rgba(0, 0, 0, .4); }
.dock-item.running.focused::before { width: 5px; height: 15px; border-radius: 3px; background: var(--accent); }
.dock-item.urgent { animation: dock-urgent 1s ease-in-out infinite; }
.dock-separator { width: 34px; height: 1px; margin: 3px auto; background: rgba(255, 255, 255, .17); }
.dock-item.trash .app-icon { width: 38px; height: 38px; }

[data-tooltip] { position: relative; }
[data-tooltip]::after { content: attr(data-tooltip); position: absolute; z-index: 20000; left: calc(100% + 13px); top: 50%; transform: translateY(-50%) translateX(-4px); padding: 6px 9px; border-radius: 6px; background: rgba(24, 22, 25, .96); color: white; font-size: 12px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s, transform .12s; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
[data-tooltip]:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.top-bar [data-tooltip]::after { left: 50%; top: calc(100% + 7px); transform: translateX(-50%) translateY(-4px); }
.top-bar [data-tooltip]:hover::after { transform: translateX(-50%) translateY(0); }
.window-control[data-tooltip]::after { left: 50%; top: calc(100% + 8px); transform: translateX(-50%) translateY(-4px); }
.window-control[data-tooltip]:hover::after { transform: translateX(-50%) translateY(0); }

.popover { position: absolute; z-index: 7000; color: #fff; background: rgba(42, 39, 43, .97); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; box-shadow: 0 16px 50px rgba(0, 0, 0, .45); backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px); animation: popover-in .15s ease-out; overflow: hidden; }
.popover[hidden] { display: none; }
.calendar-popover { width: 356px; top: calc(41px * var(--ui-scale)); left: 50%; transform: translateX(-50%); }
.calendar-header { display: flex; align-items: center; padding: 15px 16px 8px; gap: 8px; }
.calendar-month { font-size: 14px; font-weight: 700; }
.calendar-nav { margin-left: auto; display: flex; gap: 2px; }
.icon-button { width: 31px; height: 31px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: inherit; }
.icon-button:hover { background: var(--hover); }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0 12px; text-align: center; }
.calendar-weekdays span { font-size: 10px; color: #b9b3b7; padding: 5px 0; }
.calendar-day { height: 34px; border-radius: 50%; margin: 1px; background: transparent; color: #eee; font-size: 12px; }
.calendar-day:hover { background: rgba(255, 255, 255, .12); }
.calendar-day.other { color: #716c70; }
.calendar-day.today { background: var(--accent); color: white; font-weight: 700; }
.calendar-day.selected:not(.today) { background: rgba(255, 255, 255, .15); }
.calendar-notifications { border-top: 1px solid rgba(255, 255, 255, .1); padding: 12px; max-height: 270px; overflow: auto; }
.calendar-notifications-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #c8c3c6; margin-bottom: 8px; }
.text-button { padding: 4px 7px; border-radius: 5px; background: transparent; color: #cfc8cc; font-size: 11px; }
.text-button:hover { background: rgba(255, 255, 255, .09); }
.notification-row { display: flex; gap: 10px; align-items: flex-start; padding: 9px; border-radius: 8px; position: relative; }
.notification-row:hover { background: rgba(255, 255, 255, .07); }
.notification-row .app-icon { width: 27px; height: 27px; }
.notification-row strong { display: block; font-size: 12px; margin-bottom: 2px; }
.notification-row p { font-size: 11px; line-height: 1.4; margin: 0; color: #c8c3c6; }
.notification-row time { display: block; font-size: 10px; color: #8f898e; margin-top: 4px; }
.notification-dismiss { position: absolute; top: 5px; right: 5px; width: 23px; height: 23px; opacity: 0; }
.notification-row:hover .notification-dismiss { opacity: 1; }
.notification-empty { color: #b7b0b5; font-size: 12px; text-align: center; padding: 25px 0; }

.system-menu { width: 356px; top: calc(41px * var(--ui-scale)); right: 8px; padding: 12px; }
.quick-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick-tile { min-height: 73px; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; color: white; background: rgba(255, 255, 255, .11); text-align: left; }
.quick-tile:hover { background: rgba(255, 255, 255, .17); }
.quick-tile.active { background: var(--accent); }
.quick-tile .icon { width: 19px; height: 19px; }
.quick-tile span { font-size: 11px; line-height: 1.2; }
.quick-tile.wide { grid-column: span 2; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
.system-volume { display: flex; align-items: center; gap: 10px; padding: 16px 5px 12px; }
.system-volume .icon { color: #d8d3d6; }
input[type='range'] { appearance: none; -webkit-appearance: none; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .23); outline: none; accent-color: var(--accent); cursor: pointer; }
.system-volume input[type='range'] { flex: 1; }
input[type='range']::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.system-menu-footer { display: flex; align-items: center; gap: 3px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 9px; margin-top: 2px; }
.system-menu-footer .icon-button { width: 38px; height: 38px; }
.system-menu-footer .avatar { width: 28px; height: 28px; font-size: 13px; margin: 0 5px; }

.notification-layer { position: absolute; z-index: 11000; top: calc(44px * var(--ui-scale)); right: 12px; width: 358px; display: flex; flex-direction: column; gap: 9px; pointer-events: none; }
.notification-banner { pointer-events: auto; display: flex; align-items: flex-start; gap: 11px; padding: 13px; background: rgba(47, 43, 48, .96); border: 1px solid rgba(255, 255, 255, .13); border-radius: 12px; color: white; box-shadow: 0 8px 30px rgba(0, 0, 0, .3); backdrop-filter: blur(20px); animation: notification-in .28s cubic-bezier(.2, .8, .2, 1); }
.notification-banner.leaving { opacity: 0; transform: translateX(30px); transition: .2s; }
.notification-banner .app-icon { width: 31px; height: 31px; }
.notification-banner strong { display: block; font-size: 12px; margin-bottom: 3px; }
.notification-banner p { font-size: 11px; color: #d1cbcf; line-height: 1.45; margin: 0; }
.notification-banner .notification-close { position: absolute; top: 6px; right: 6px; opacity: 0; width: 25px; height: 25px; }
.notification-banner:hover .notification-close { opacity: 1; }
.notification-actions { display: flex; gap: 6px; margin-top: 9px; }
.notification-actions button { background: rgba(255, 255, 255, .12); padding: 5px 9px; border-radius: 6px; font-size: 11px; }
.notification-actions button:hover { background: var(--accent); }
.toast-layer { position: absolute; z-index: 12000; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { padding: 10px 16px; background: rgba(34, 31, 35, .96); border: 1px solid rgba(255, 255, 255, .13); border-radius: 9px; color: white; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); font-size: 12px; animation: toast-in .2s ease; display: flex; align-items: center; gap: 8px; }
.toast.leaving { opacity: 0; transform: translateY(10px); transition: .2s; }

.context-menu-layer { position: absolute; inset: 0; z-index: 13000; pointer-events: none; }
.context-menu { position: absolute; min-width: 210px; padding: 5px; background: color-mix(in srgb, var(--panel) 97%, transparent); color: var(--text); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); pointer-events: auto; animation: context-in .1s ease; backdrop-filter: blur(20px); }
.context-menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 5px; background: transparent; color: var(--text); text-align: left; font-size: 12px; }
.context-menu button:hover { background: var(--accent); color: white; }
.context-menu button.danger { color: #c23c24; }
.context-menu button.danger:hover { background: #c23c24; color: white; }
.context-menu button .icon { width: 16px; height: 16px; }
.context-menu button .shortcut { margin-left: auto; font-size: 10px; color: var(--muted); }
.context-menu button:hover .shortcut { color: rgba(255, 255, 255, .7); }
.menu-separator { height: 1px; background: var(--line); margin: 4px 7px; }
.menu-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 7px 10px 3px; font-weight: 700; }

.dialog-layer { position: absolute; inset: 0; z-index: 14000; display: flex; align-items: center; justify-content: center; background: rgba(13, 10, 16, .48); backdrop-filter: blur(3px); padding: 20px; }
.dialog-layer:empty { display: none; }
.dialog { width: 420px; max-width: 100%; background: var(--panel); color: var(--text); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; box-shadow: 0 25px 70px rgba(0, 0, 0, .42); padding: 25px; animation: dialog-in .18s cubic-bezier(.2, .8, .2, 1); }
.dialog-head { display: flex; gap: 14px; align-items: flex-start; }
.dialog-icon { width: 43px; height: 43px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.dialog-icon .icon { width: 23px; height: 23px; }
.dialog h2 { font-size: 17px; margin: 1px 0 8px; font-weight: 700; }
.dialog p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0; white-space: pre-line; }
.dialog-input { width: 100%; margin-top: 18px; padding: 9px 11px; background: var(--window); color: var(--text); border: 1px solid var(--line); border-radius: 7px; outline: none; }
.dialog-input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.button { padding: 8px 15px; border-radius: 7px; background: var(--hover); color: var(--text); font-size: 12px; font-weight: 600; border: 1px solid transparent; }
.button:hover { background: color-mix(in srgb, var(--text) 12%, transparent); }
.button.primary { background: var(--accent); color: white; }
.button.primary:hover { filter: brightness(1.08); }
.button.danger { background: #c0392b; color: white; }
.button.outline { border-color: var(--line); background: transparent; }

@keyframes window-open { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes popover-in { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes context-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes notification-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dock-urgent { 50% { background: rgba(233, 84, 32, .55); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Activities and application grid */
.overview { position: absolute; z-index: 5000; inset: 0; background: rgba(17, 13, 21, .66); backdrop-filter: blur(24px) saturate(.8); -webkit-backdrop-filter: blur(24px) saturate(.8); color: white; animation: overview-in .22s ease; }
.overview[hidden] { display: none; }
.overview-active .dock { opacity: 0; pointer-events: none; transform: translateX(-110%); }
.overview-search-wrap { position: absolute; z-index: 3; top: 50px; left: 50%; transform: translateX(-50%); width: min(540px, 48vw); }
.overview-search { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 15px; border-radius: 22px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 4px 15px rgba(0, 0, 0, .12); }
.overview-search .icon { color: #ddd7dd; }
.overview-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: white; font-size: 14px; }
.overview-search input::placeholder { color: #bdb6bd; }
.overview-search kbd { font: 10px var(--font); padding: 3px 6px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 4px; color: #bdb6bd; }
.overview-workspaces { position: absolute; z-index: 3; top: 52px; right: 24px; display: flex; gap: 8px; align-items: center; }
.workspace-chip { width: 54px; height: 37px; padding: 3px; background: rgba(255, 255, 255, .08); border: 2px solid transparent; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #d9d2d9; font-size: 11px; position: relative; }
.workspace-chip:hover { background: rgba(255, 255, 255, .16); }
.workspace-chip.active { border-color: var(--accent); background: rgba(233, 84, 32, .17); color: white; }
.workspace-chip.drop-target { border-color: white; background: rgba(255, 255, 255, .2); }
.workspace-chip .workspace-thumb { width: 33px; height: 21px; border-radius: 3px; background: linear-gradient(135deg, #7d426d, #e56c44); position: relative; }
.workspace-chip .workspace-thumb::after { content: ''; position: absolute; width: 8px; height: 5px; left: 4px; top: 3px; background: rgba(255, 255, 255, .55); border-radius: 1px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.workspace-add { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .09); color: white; display: flex; align-items: center; justify-content: center; }
.workspace-add:hover { background: rgba(255, 255, 255, .18); }
.overview-main { position: absolute; inset: 118px 110px 116px; display: flex; align-items: center; justify-content: center; }
.overview-windows { width: 100%; height: 100%; display: flex; align-content: center; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; overflow: auto; padding: 20px; }
.overview-empty { color: rgba(255, 255, 255, .65); text-align: center; font-size: 14px; }
.overview-empty .icon { width: 48px; height: 48px; opacity: .45; margin-bottom: 10px; }
.overview-card { width: clamp(230px, 26vw, 390px); height: clamp(150px, 19vw, 250px); border-radius: 11px; overflow: hidden; border: 2px solid transparent; background: #35312f; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); cursor: pointer; display: flex; flex-direction: column; transition: transform .16s, border-color .16s; animation: overview-card-in .2s ease backwards; }
.overview-card:hover, .overview-card.active { transform: translateY(-5px); border-color: rgba(255, 255, 255, .55); }
.overview-card.dragging { opacity: .4; }
.overview-card-head { height: 33px; flex: 0 0 auto; display: flex; align-items: center; gap: 7px; padding: 0 10px; background: #e5e2de; color: #282525; font-size: 11px; font-weight: 600; }
.overview-card-head .app-icon { width: 16px; height: 16px; }
.overview-card-head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-card-body { flex: 1; min-height: 0; overflow: hidden; position: relative; }
.overview-card-label { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); background: rgba(20, 18, 21, .75); color: white; padding: 3px 9px; border-radius: 10px; font-size: 10px; white-space: nowrap; }
.overview-mini { height: 100%; padding: 12px; font-size: 9px; color: #5e5a57; background: #faf9f7; }
.mini-files { display: grid; grid-template-columns: 44px 1fr; height: 100%; }
.mini-sidebar { background: #ebe8e4; padding: 9px 5px; display: flex; flex-direction: column; gap: 8px; }
.mini-sidebar i { display: block; height: 4px; border-radius: 3px; background: #c8c3be; }
.mini-file-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; align-content: start; padding: 8px; }
.mini-file { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mini-file .app-icon { width: 26px; height: 26px; }
.mini-file i { width: 33px; height: 3px; background: #d8d3ce; border-radius: 2px; }
.mini-terminal { background: #2c2b2b; color: #e7e5e3; padding: 13px; font: 9px/1.7 monospace; white-space: pre-wrap; }
.mini-terminal .prompt { color: #83d17d; }
.mini-settings { display: grid; grid-template-columns: 90px 1fr; height: 100%; background: #f7f6f4; }
.mini-settings-side { background: #e8e5e1; padding: 12px 8px; display: flex; flex-direction: column; gap: 9px; }
.mini-settings-side i { width: 70%; height: 5px; background: #c7c2bc; border-radius: 3px; }
.mini-settings-side i:first-child { background: var(--accent); width: 85%; }
.mini-settings-main { padding: 16px; }
.mini-settings-main b { font-size: 11px; color: #373331; }
.mini-swatches { display: flex; gap: 6px; margin-top: 12px; }
.mini-swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); }
.mini-swatches i:nth-child(2) { background: #7751a4; }
.mini-swatches i:nth-child(3) { background: #3584e4; }
.mini-swatches i:nth-child(4) { background: #3b9e62; }
.mini-swatches i:nth-child(5) { background: #d9534f; }
.mini-generic { display: flex; align-items: center; justify-content: center; height: 100%; background: linear-gradient(145deg, var(--panel), #dedbd6); }
.mini-generic .app-icon { width: 64px; height: 64px; opacity: .72; }
.overview-dock { position: absolute; z-index: 4; left: 50%; bottom: 17px; transform: translateX(-50%); display: flex; gap: 7px; padding: 8px 11px; border-radius: 17px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.overview-dock .dock-item { width: 46px; height: 46px; }
.overview-dock .dock-item .app-icon { width: 39px; height: 39px; }
.overview-dock [data-tooltip]::after { display: none; }
.overview-results { width: min(690px, 84vw); max-height: 100%; overflow: auto; background: rgba(42, 38, 44, .92); border: 1px solid rgba(255, 255, 255, .12); border-radius: 13px; padding: 14px; box-shadow: 0 15px 50px rgba(0, 0, 0, .3); }
.result-section-title { color: #aaa2aa; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; padding: 5px 8px 10px; }
.result-list { display: flex; flex-direction: column; gap: 3px; }
.result-item { display: flex; align-items: center; gap: 11px; padding: 9px; border-radius: 8px; background: transparent; color: white; text-align: left; }
.result-item:hover, .result-item.selected { background: rgba(255, 255, 255, .12); }
.result-item .app-icon { width: 33px; height: 33px; }
.result-item strong { display: block; font-size: 12px; font-weight: 600; }
.result-item small { display: block; font-size: 10px; color: #aaa2aa; margin-top: 2px; }
.result-item .result-kind { margin-left: auto; font-size: 10px; color: #9e969f; }
.no-results { color: #aaa2aa; text-align: center; padding: 36px 12px; font-size: 13px; }

.app-grid { position: absolute; inset: 108px 14% 112px; display: flex; flex-direction: column; }
.app-grid-head { display: flex; align-items: center; justify-content: center; gap: 18px; color: #d8d1d8; font-size: 12px; margin-bottom: 24px; }
.app-grid-head button { background: rgba(255, 255, 255, .1); color: white; padding: 5px 12px; border-radius: 15px; }
.app-grid-page { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 105px; gap: 20px 12px; align-content: center; flex: 1; padding: 10px 5%; }
.app-grid-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: transparent; color: white; border-radius: 11px; padding: 8px 3px; }
.app-grid-item:hover { background: rgba(255, 255, 255, .1); }
.app-grid-item .app-icon { width: 59px; height: 59px; transition: transform .15s; }
.app-grid-item:hover .app-icon { transform: scale(1.08); }
.app-grid-item span { font-size: 12px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.app-folder { position: relative; width: 67px; height: 57px; display: grid; grid-template-columns: repeat(2, 28px); gap: 3px; align-content: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, .13); }
.app-folder .app-icon { width: 28px; height: 28px; }
.app-folder::after { content: attr(data-count); position: absolute; right: -3px; bottom: -3px; min-width: 17px; height: 17px; border-radius: 9px; background: #514b50; border: 1px solid rgba(255,255,255,.3); font-size: 9px; display: flex; align-items: center; justify-content: center; }
.app-grid-pagination { display: flex; justify-content: center; gap: 8px; margin: 18px 0 8px; }
.page-dot { width: 7px; height: 7px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.page-dot.active { background: white; width: 20px; border-radius: 4px; }
.folder-view { position: absolute; z-index: 6; inset: 0; background: rgba(30, 26, 32, .97); border-radius: 15px; padding: 20px; }
.folder-view-head { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.folder-view-head h2 { margin: 0; font-size: 20px; }
.folder-view .app-grid-page { padding: 0 14%; }

/* Common application controls */
.app-toolbar { height: 47px; display: flex; align-items: center; gap: 4px; padding: 6px 10px; border-bottom: 1px solid var(--line); background: var(--panel); flex: 0 0 auto; }
.app-toolbar .icon-button { color: var(--text); }
.app-toolbar .icon-button:hover { background: var(--hover); }
.toolbar-separator { width: 1px; height: 20px; background: var(--line); margin: 0 5px; }
.toolbar-title { font-weight: 600; font-size: 12px; margin-left: 6px; }
.search-field { display: flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 6px; background: var(--hover); min-width: 130px; }
.search-field .icon { width: 15px; height: 15px; color: var(--muted); }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; }
.search-field input::placeholder { color: var(--muted); }
.statusbar { height: 25px; flex: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 0 11px; border-top: 1px solid var(--line); background: var(--window); color: var(--muted); font-size: 10px; }
.empty-state { height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--muted); text-align: center; padding: 30px; }
.empty-state .app-icon { width: 76px; height: 76px; opacity: .4; }
.empty-state h3 { color: var(--text); font-size: 15px; margin: 0; }
.empty-state p { font-size: 12px; margin: 0; line-height: 1.5; }
.loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%; color: var(--muted); font-size: 12px; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.progress-bar { height: 5px; border-radius: 3px; background: var(--hover); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .2s; }
.switch { width: 38px; height: 21px; padding: 2px; border-radius: 12px; background: #aaa5a1; display: flex; align-items: center; transition: background .18s; flex: 0 0 auto; }
.switch::before { content: ''; display: block; width: 17px; height: 17px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .18s; }
.switch.on { background: var(--accent); }
.switch.on::before { transform: translateX(17px); }
.setting-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border-bottom: 0; }
.setting-row .setting-copy { flex: 1; min-width: 0; }
.setting-row strong { display: block; font-size: 12px; font-weight: 600; }
.setting-row small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.setting-row .icon { color: var(--muted); }
.panel-header { padding: 22px 25px 12px; }
.panel-header h2 { margin: 0 0 5px; font-size: 20px; font-weight: 650; }
.panel-header p { margin: 0; font-size: 11px; color: var(--muted); }
.settings-group { margin: 8px 25px 22px; }
.settings-group h3 { margin: 0 0 5px; font-size: 12px; font-weight: 700; }

/* Files */
.files-app { display: flex; height: 100%; }
.files-sidebar { width: 170px; flex: 0 0 auto; background: var(--sidebar); border-right: 1px solid var(--line); padding: 13px 9px; overflow: auto; }
.sidebar-label { color: var(--muted); font-size: 10px; font-weight: 700; padding: 9px 11px 5px; text-transform: none; }
.sidebar-item { width: 100%; display: flex; align-items: center; gap: 9px; padding: 7px 10px; background: transparent; color: var(--text); border-radius: 6px; font-size: 12px; text-align: left; }
.sidebar-item:hover { background: var(--hover); }
.sidebar-item.active { background: var(--selected); color: var(--accent); font-weight: 600; }
.sidebar-item .icon { width: 16px; height: 16px; }
.sidebar-item .app-icon { width: 18px; height: 18px; }
.files-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.files-toolbar .search-field { margin-left: auto; width: 180px; }
.breadcrumbs { height: 37px; flex: 0 0 auto; display: flex; align-items: center; gap: 2px; padding: 0 15px; border-bottom: 1px solid var(--line); background: var(--panel); overflow: auto; white-space: nowrap; }
.breadcrumb { border-radius: 4px; padding: 4px 6px; background: transparent; color: var(--muted); font-size: 11px; }
.breadcrumb:hover { background: var(--hover); color: var(--text); }
.breadcrumb:last-child { color: var(--text); font-weight: 600; }
.breadcrumb-sep { color: var(--muted); font-size: 10px; }
.files-view { flex: 1; min-height: 0; overflow: auto; padding: 14px; position: relative; }
.files-view.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); grid-auto-rows: 112px; align-content: start; gap: 7px; }
.file-item { display: flex; align-items: center; border-radius: 7px; color: var(--text); cursor: default; user-select: none; }
.files-view.grid .file-item { flex-direction: column; justify-content: center; gap: 7px; padding: 8px 4px; text-align: center; }
.files-view.grid .file-item .app-icon { width: 49px; height: 49px; }
.file-item .file-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files-view.grid .file-item .file-name { font-size: 11px; line-height: 1.3; max-height: 29px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; white-space: normal; }
.file-item:hover { background: var(--hover); }
.file-item.selected { background: var(--selected); }
.file-item.selected .file-name { color: var(--accent); }
.files-view.list { padding: 7px 0; }
.files-view.list .file-head, .files-view.list .file-item { display: grid; grid-template-columns: minmax(150px, 1fr) 120px 90px 70px; align-items: center; gap: 10px; padding: 7px 16px; }
.files-view.list .file-head { color: var(--muted); font-size: 10px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); z-index: 2; }
.files-view.list .file-item { font-size: 11px; }
.files-view.list .file-item .file-name-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.files-view.list .file-item .app-icon { width: 22px; height: 22px; }
.files-view.list .file-meta { color: var(--muted); font-size: 10px; }
.files-view.list .file-item.selected .file-name { color: var(--accent); }
.files-app .statusbar { justify-content: space-between; }
.file-search-match { color: var(--accent); font-weight: 600; }
.file-path-error { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); gap: 12px; text-align: center; }
.file-path-error .icon { width: 50px; height: 50px; opacity: .5; }

/* Text editor */
.editor-app { display: flex; flex-direction: column; height: 100%; }
.editor-toolbar { gap: 5px; }
.editor-toolbar .button { padding: 6px 10px; }
.editor-toolbar .button .icon { width: 14px; height: 14px; margin-right: 4px; }
.editor-document { flex: 1; min-height: 0; display: flex; position: relative; background: var(--panel); }
.editor-textarea { width: 100%; height: 100%; resize: none; border: 0; outline: 0; background: var(--panel); color: var(--text); padding: 24px 28px; font: 13px/1.7 'Ubuntu Mono', 'DejaVu Sans Mono', monospace; tab-size: 4; }
.editor-textarea.dirty { background: color-mix(in srgb, var(--panel) 96%, var(--accent)); }
.editor-find { position: absolute; top: 10px; right: 15px; display: flex; gap: 4px; padding: 5px; background: var(--window); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.editor-find input { width: 160px; border: 0; outline: 0; padding: 4px 6px; background: transparent; color: var(--text); font-size: 11px; }
.editor-status-left { display: flex; align-items: center; gap: 14px; }

/* Terminal */
.terminal-app { height: 100%; background: #2c2b2b; color: #f2f0ed; font: 12px/1.55 'Ubuntu Mono', 'DejaVu Sans Mono', monospace; display: flex; flex-direction: column; padding: 12px 14px; overflow: hidden; }
.terminal-output { flex: 1; min-height: 0; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; padding-bottom: 8px; }
.terminal-line { min-height: 18px; }
.terminal-line.dim { color: #a7a29e; }
.terminal-line.error { color: #ff897d; }
.terminal-line.success { color: #8bdc82; }
.terminal-line.info { color: #8fc5f4; }
.terminal-prompt { color: #83d17d; font-weight: 700; }
.terminal-path { color: #84b8ef; }
.terminal-input-row { display: flex; align-items: baseline; gap: 7px; flex: 0 0 auto; }
.terminal-input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #f2f0ed; font: inherit; padding: 0; caret-color: #fff; }
.terminal-table { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; margin: 4px 0 10px; }
.terminal-table span:nth-child(odd) { color: #84b8ef; }
.neofetch { display: flex; gap: 22px; align-items: center; margin: 7px 0 12px; }
.neofetch-art { color: #e95420; font-size: 11px; line-height: 1.15; white-space: pre; }
.neofetch-info { color: #ddd8d5; white-space: pre; }
.neofetch-info b { color: #83d17d; }
.apt-progress { color: #8bdc82; margin: 3px 0; }

/* Settings */
.settings-app { display: flex; height: 100%; }
.settings-sidebar { width: 205px; flex: 0 0 auto; background: var(--sidebar); border-right: 1px solid var(--line); padding: 12px 9px; overflow: auto; }
.settings-side-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 7px; background: transparent; color: var(--text); text-align: left; font-size: 12px; }
.settings-side-item:hover { background: var(--hover); }
.settings-side-item.active { background: var(--selected); color: var(--accent); font-weight: 600; }
.settings-side-item .app-icon, .settings-side-item .icon { width: 19px; height: 19px; }
.settings-content { flex: 1; min-width: 0; overflow: auto; background: var(--panel); }
.settings-panel { padding-bottom: 20px; }
.accent-options { display: flex; gap: 11px; margin: 14px 0 20px; }
.accent-option { width: 31px; height: 31px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); position: relative; }
.accent-option.active::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--swatch); }
.accent-option.active::before { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 14px; }
.wallpaper-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 13px; }
.wallpaper-option { padding: 3px; border: 2px solid transparent; border-radius: 9px; background: transparent; text-align: left; }
.wallpaper-option:hover { border-color: var(--line); }
.wallpaper-option.active { border-color: var(--accent); }
.wallpaper-preview { height: 88px; border-radius: 6px; background-size: cover; background-position: center; display: block; }
.wallpaper-option span:last-child { display: block; font-size: 10px; padding: 5px 3px 2px; color: var(--muted); }
.appearance-preview { height: 114px; margin: 15px 0 5px; border-radius: 10px; border: 1px solid var(--line); background: var(--wallpaper) center / cover; position: relative; overflow: hidden; }
.appearance-window { position: absolute; width: 65%; height: 73px; left: 18%; top: 21px; border-radius: 7px; background: var(--window); box-shadow: 0 6px 14px rgba(0,0,0,.3); overflow: hidden; }
.appearance-window-bar { height: 17px; background: var(--titlebar); position: relative; }
.appearance-window-bar::after { content: ''; position: absolute; right: 6px; top: 5px; width: 18px; height: 5px; background: radial-gradient(circle at 3px 2.5px, #777 2px, transparent 2.5px) 0 0 / 6px 5px; }
.appearance-window-body { display: flex; height: 56px; }
.appearance-window-body i { display: block; width: 23%; background: var(--sidebar); border-right: 1px solid var(--line); }
.appearance-window-body span { display: block; flex: 1; margin: 10px; height: 8px; border-radius: 4px; background: var(--hover); box-shadow: 0 14px 0 -1px var(--hover); }
.display-preview { height: 145px; border-radius: 9px; background: #25222a; display: flex; align-items: center; justify-content: center; margin: 16px 0; position: relative; }
.display-screen { width: 62%; height: 92px; border: 5px solid #514c55; border-radius: 6px; background: var(--wallpaper) center / cover; box-shadow: 0 5px 12px rgba(0,0,0,.35); }
.display-screen::after { content: ''; display: block; width: 28px; height: 12px; background: #514c55; margin: 92px auto -12px; }
.display-preview span { position: absolute; bottom: 10px; color: #aaa3ad; font-size: 10px; }
.settings-select { background: var(--window); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 6px 9px; font-size: 11px; }
.network-list { margin-top: 10px; }
.network-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 9px; border-radius: 8px; background: transparent; color: var(--text); text-align: left; }
.network-row:hover { background: var(--hover); }
.network-row.connected { background: var(--selected); }
.network-row .network-copy { flex: 1; }
.network-row strong { display: block; font-size: 12px; }
.network-row small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.network-row .icon { color: var(--muted); }
.sound-output { display: flex; gap: 14px; align-items: center; background: var(--window); border: 1px solid var(--line); border-radius: 9px; padding: 14px; margin: 14px 0; }
.sound-output .app-icon { width: 37px; height: 37px; }
.sound-output .setting-copy { flex: 1; }
.sound-test { background: var(--accent); color: white; padding: 6px 12px; border-radius: 6px; font-size: 11px; }
.about-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 25px 0 20px; }
.about-hero .app-icon { width: 92px; height: 92px; }
.about-hero h2 { margin: 14px 0 2px; font-size: 23px; }
.about-hero p { margin: 0; color: var(--muted); font-size: 12px; }
.about-specs { margin: 10px 30px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.about-specs div { display: flex; padding: 10px 13px; border-bottom: 1px solid var(--line); font-size: 11px; }
.about-specs div:last-child { border-bottom: 0; }
.about-specs span:first-child { width: 130px; color: var(--muted); }
.user-profile { display: flex; align-items: center; gap: 16px; margin: 15px 0 20px; }
.user-profile .avatar { width: 68px; height: 68px; font-size: 28px; }
.user-profile input { width: 100%; padding: 7px 9px; background: var(--window); border: 1px solid var(--line); border-radius: 6px; color: var(--text); outline: none; }

/* Calculator */
.calculator-app { display: flex; flex-direction: column; height: 100%; background: var(--window); padding: 13px; }
.calculator-display { min-height: 86px; padding: 13px 8px 10px; text-align: right; display: flex; flex-direction: column; justify-content: flex-end; }
.calculator-expression { height: 20px; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calculator-value { font-size: 35px; font-weight: 300; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calculator-keys { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, 1fr); gap: 7px; min-height: 0; }
.calc-key { border-radius: 8px; background: color-mix(in srgb, var(--panel) 80%, white); color: var(--text); font-size: 17px; box-shadow: inset 0 0 0 1px var(--line); }
.desktop[data-theme='dark'] .calc-key { background: #4a4744; }
.calc-key:hover { background: var(--hover); }
.calc-key:active { transform: scale(.96); }
.calc-key.operator { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.calc-key.equals { background: var(--accent); color: white; }
.calc-key.function { color: var(--muted); }

/* Browser */
.browser-app { display: flex; flex-direction: column; height: 100%; background: var(--panel); }
.browser-tabs { height: 38px; flex: 0 0 auto; display: flex; align-items: center; gap: 2px; padding: 5px 7px 0; background: var(--titlebar); overflow: auto; }
.browser-tab { min-width: 115px; max-width: 210px; height: 32px; display: flex; align-items: center; gap: 7px; padding: 0 7px 0 10px; border-radius: 8px 8px 0 0; background: transparent; color: var(--muted); font-size: 11px; }
.browser-tab.active { background: var(--panel); color: var(--text); }
.browser-tab .app-icon { width: 15px; height: 15px; }
.browser-tab span { flex: 1; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-tab .icon-button { width: 21px; height: 21px; opacity: 0; }
.browser-tab:hover .icon-button, .browser-tab.active .icon-button { opacity: 1; }
.browser-new-tab { color: var(--muted); }
.browser-toolbar { height: 45px; display: flex; align-items: center; gap: 4px; padding: 5px 8px; border-bottom: 1px solid var(--line); }
.browser-address { flex: 1; height: 31px; display: flex; align-items: center; gap: 7px; background: var(--window); border: 1px solid var(--line); border-radius: 16px; padding: 0 11px; }
.browser-address .icon { width: 14px; height: 14px; color: var(--muted); }
.browser-address input { flex: 1; min-width: 0; background: transparent; color: var(--text); border: 0; outline: 0; font-size: 11px; }
.browser-page { flex: 1; min-height: 0; overflow: auto; background: #fff; color: #24212a; user-select: text; --panel: #fff; --window: #faf7f5; --text: #24212a; --muted: #827689; --line: #eee9f0; --hover: #f3eef5; }
.browser-start { min-height: 100%; padding: 34px 10%; background: linear-gradient(150deg, #faf7f5, #f0e9f5); }
.browser-start-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 15px 0 30px; }
.browser-start-brand .app-icon { width: 70px; height: 70px; }
.browser-start-brand h1 { font-size: 25px; margin: 0; color: #3c3142; font-weight: 650; }
.browser-start-brand p { margin: 0; color: #827689; font-size: 12px; }
.browser-big-search { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 22px; background: white; border: 1px solid #e0d9e2; box-shadow: 0 4px 16px rgba(64,42,70,.08); }
.browser-big-search .icon { color: #9a8a9f; }
.browser-big-search input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 13px; color: #3c3142; }
.browser-shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin: 30px 0; }
.browser-shortcut { display: flex; flex-direction: column; align-items: center; gap: 8px; background: transparent; color: #5b5060; font-size: 11px; }
.browser-shortcut i { width: 46px; height: 46px; border-radius: 13px; background: white; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(60,40,70,.08); }
.browser-shortcut .app-icon { width: 27px; height: 27px; }
.browser-news { background: white; border-radius: 13px; padding: 20px; box-shadow: 0 2px 12px rgba(60,40,70,.06); }
.browser-news h3 { margin: 0 0 12px; font-size: 14px; }
.browser-news-item { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid #eee9f0; text-align: left; width: 100%; background: transparent; color: inherit; }
.browser-news-item i { width: 60px; height: 45px; border-radius: 7px; background: linear-gradient(135deg, #8f527f, #e97d51); flex: 0 0 auto; }
.browser-news-item:nth-child(3) i { background: linear-gradient(135deg, #3f7592, #79b2a5); }
.browser-news-item:nth-child(4) i { background: linear-gradient(135deg, #564e82, #ba6b91); }
.browser-news-item strong { font-size: 12px; display: block; }
.browser-news-item small { font-size: 10px; color: #8a7d8f; }
.local-page { max-width: 780px; margin: 0 auto; padding: 45px 55px; font-size: 13px; line-height: 1.7; }
.local-page .page-kicker { color: var(--accent); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.local-page h1 { font-size: 31px; line-height: 1.2; margin: 8px 0 18px; color: #342a38; }
.local-page h2 { font-size: 18px; margin-top: 28px; color: #342a38; }
.local-page p { color: #655c69; }
.local-page .hero-art { height: 180px; margin: 22px 0; border-radius: 14px; background: var(--wallpaper) center / cover; }
.local-page .callout { padding: 16px 18px; border-left: 4px solid var(--accent); background: #f7f2f8; border-radius: 0 8px 8px 0; color: #5a4e61; }
.browser-offline { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; background: #faf7f5; }
.browser-offline .app-icon { width: 72px; height: 72px; opacity: .65; }
.browser-offline h2 { color: #413647; margin: 18px 0 8px; }
.browser-offline p { color: #827689; max-width: 360px; font-size: 12px; line-height: 1.6; }
.browser-offline button { margin-top: 15px; background: var(--accent); color: white; border-radius: 7px; padding: 9px 16px; }
.search-results-page { padding: 30px 8%; }
.search-results-page h2 { color: #4b3e51; font-size: 19px; }
.search-result { padding: 15px 0; border-bottom: 1px solid #ece5ef; }
.search-result small { color: #3b9164; }
.search-result h3 { margin: 4px 0; color: #6241a0; font-size: 15px; }
.search-result p { margin: 0; font-size: 12px; color: #756a79; }

/* Software */
.software-app { display: flex; flex-direction: column; height: 100%; }
.software-nav { height: 43px; flex: 0 0 auto; display: flex; align-items: center; gap: 5px; padding: 5px 12px; border-bottom: 1px solid var(--line); }
.software-nav button { padding: 6px 12px; border-radius: 6px; background: transparent; color: var(--muted); font-size: 11px; }
.software-nav button:hover { background: var(--hover); }
.software-nav button.active { background: var(--selected); color: var(--accent); font-weight: 600; }
.software-content { flex: 1; overflow: auto; padding: 20px 25px 35px; }
.software-feature { height: 155px; display: flex; align-items: center; gap: 25px; border-radius: 13px; padding: 25px 30px; background: linear-gradient(120deg, #472345, #9b4258 55%, #d56d49); color: white; position: relative; overflow: hidden; }
.software-feature::after { content: ''; position: absolute; width: 270px; height: 270px; border: 40px solid rgba(255,255,255,.07); border-radius: 50%; right: -70px; top: -80px; }
.software-feature-copy { position: relative; z-index: 1; max-width: 440px; }
.software-feature small { text-transform: uppercase; letter-spacing: .13em; font-size: 9px; opacity: .8; font-weight: 700; }
.software-feature h2 { margin: 7px 0; font-size: 22px; }
.software-feature p { margin: 0 0 14px; font-size: 11px; opacity: .85; line-height: 1.5; }
.software-feature button { background: white; color: #7d3548; border-radius: 7px; padding: 7px 14px; font-size: 11px; font-weight: 700; }
.software-feature .app-icon { width: 105px; height: 105px; position: relative; z-index: 1; margin-left: auto; }
.software-section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 27px 0 14px; }
.software-section-head h3 { font-size: 15px; margin: 0; }
.software-section-head span { font-size: 10px; color: var(--muted); }
.software-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.software-card { border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.software-card-top { display: flex; align-items: flex-start; gap: 11px; }
.software-card .app-icon { width: 43px; height: 43px; }
.software-card strong { font-size: 12px; display: block; }
.software-card small { font-size: 10px; color: var(--muted); line-height: 1.4; }
.software-card .rating { color: #d8942d; font-size: 10px; letter-spacing: 1px; }
.software-card p { margin: 0; font-size: 10px; line-height: 1.45; color: var(--muted); flex: 1; }
.software-install { align-self: flex-start; border: 1px solid var(--accent); color: var(--accent); background: transparent; border-radius: 6px; padding: 5px 11px; font-size: 10px; font-weight: 600; }
.software-install.installed { color: var(--muted); border-color: var(--line); }
.software-install.busy { color: white; background: var(--accent); border-color: var(--accent); }
.software-install-progress { width: 100%; }
.software-list-row { display: flex; align-items: center; gap: 13px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.software-list-row .app-icon { width: 34px; height: 34px; }
.software-list-row .setting-copy { flex: 1; }
.software-list-row strong { font-size: 12px; }
.software-list-row small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.software-list-row button { padding: 6px 13px; border-radius: 6px; background: var(--hover); font-size: 10px; color: var(--text); }
.software-list-row button.update { background: var(--accent); color: white; }

/* Clock, images and system monitor */
.clock-app { display: flex; flex-direction: column; height: 100%; }
.clock-tabs { height: 43px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px; border-bottom: 1px solid var(--line); }
.clock-tabs button { padding: 6px 13px; border-radius: 6px; background: transparent; color: var(--muted); font-size: 11px; }
.clock-tabs button.active { background: var(--selected); color: var(--accent); font-weight: 600; }
.clock-content { flex: 1; overflow: auto; }
.clock-main { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: 25px; }
.analog-clock { width: 180px; height: 180px; border-radius: 50%; background: var(--panel); border: 5px solid var(--titlebar); box-shadow: 0 6px 20px rgba(0,0,0,.12); position: relative; }
.clock-tick { position: absolute; left: 50%; top: 5px; width: 2px; height: 8px; background: var(--muted); transform-origin: 1px 80px; }
.clock-hand { position: absolute; left: 50%; bottom: 50%; background: var(--text); transform-origin: bottom center; border-radius: 3px; }
.clock-hand.hour { width: 5px; height: 49px; margin-left: -2.5px; }
.clock-hand.minute { width: 3px; height: 68px; margin-left: -1.5px; }
.clock-hand.second { width: 1px; height: 73px; background: var(--accent); }
.clock-center { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.clock-digital { margin-top: 22px; font-size: 29px; font-weight: 300; font-variant-numeric: tabular-nums; }
.clock-date { color: var(--muted); font-size: 12px; margin-top: 4px; }
.world-list { padding: 15px 25px; }
.world-row { display: flex; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.world-row strong { font-size: 13px; }
.world-row small { display: block; color: var(--muted); margin-top: 3px; font-size: 10px; }
.world-time { margin-left: auto; font-size: 24px; font-weight: 300; font-variant-numeric: tabular-nums; }
.stopwatch-content { display: flex; flex-direction: column; align-items: center; padding: 35px; gap: 20px; }
.stopwatch-time { font-size: 48px; font-weight: 250; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.stopwatch-controls, .timer-controls { display: flex; gap: 10px; }
.stopwatch-controls .button, .timer-controls .button { min-width: 83px; }
.lap-list { width: min(360px, 100%); max-height: 150px; overflow: auto; }
.lap-row { display: flex; justify-content: space-between; padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.timer-content { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; padding: 30px; }
.timer-inputs { display: flex; align-items: center; gap: 8px; }
.timer-inputs input { width: 78px; text-align: center; padding: 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--window); color: var(--text); font-size: 22px; outline: none; }
.timer-inputs span { font-size: 22px; color: var(--muted); }

.image-app { display: flex; height: 100%; background: #252328; color: #e9e5e8; }
.image-sidebar { width: 152px; flex: 0 0 auto; background: #302d31; border-right: 1px solid rgba(255,255,255,.08); padding: 12px 8px; overflow: auto; }
.image-thumb { width: 100%; display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 7px; background: transparent; color: #d2ccd1; text-align: left; }
.image-thumb:hover { background: rgba(255,255,255,.08); }
.image-thumb.active { background: rgba(255,255,255,.14); }
.image-thumb img { width: 39px; height: 27px; border-radius: 4px; object-fit: cover; }
.image-thumb span { font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.image-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.image-toolbar { height: 42px; display: flex; align-items: center; justify-content: center; gap: 5px; background: #302d31; border-bottom: 1px solid rgba(255,255,255,.08); }
.image-toolbar .icon-button { color: #d9d2d8; }
.image-toolbar .icon-button:hover { background: rgba(255,255,255,.1); }
.image-canvas { flex: 1; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 25px; background: radial-gradient(circle at center, #343036, #222025); }
.image-canvas img { max-width: 100%; max-height: 100%; border-radius: 4px; box-shadow: 0 8px 25px rgba(0,0,0,.35); transition: transform .18s; transform-origin: center; }
.image-info { padding: 7px 13px; background: #302d31; color: #9e969e; font-size: 10px; display: flex; justify-content: space-between; }

.monitor-app { display: flex; flex-direction: column; height: 100%; }
.monitor-tabs { display: flex; gap: 6px; padding: 10px 15px; border-bottom: 1px solid var(--line); }
.monitor-tabs button { padding: 5px 10px; border-radius: 5px; background: transparent; color: var(--muted); font-size: 11px; }
.monitor-tabs button.active { background: var(--selected); color: var(--accent); }
.monitor-content { flex: 1; min-height: 0; overflow: auto; }
.monitor-resources { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 18px; }
.resource-card { border: 1px solid var(--line); border-radius: 9px; padding: 15px; }
.resource-card h3 { font-size: 11px; margin: 0 0 10px; color: var(--muted); font-weight: 500; }
.resource-graph { height: 60px; display: flex; align-items: flex-end; gap: 3px; padding: 5px 0; }
.resource-graph i { flex: 1; border-radius: 2px 2px 0 0; background: var(--accent); opacity: .8; min-height: 3px; transition: height .5s; }
.resource-graph.memory i { background: #3584e4; }
.resource-big { font-size: 23px; font-weight: 300; }
.process-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.process-table th { position: sticky; top: 0; background: var(--panel); text-align: left; font-size: 10px; color: var(--muted); font-weight: 500; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.process-table td { padding: 9px 14px; border-bottom: 1px solid var(--line); }
.process-table td:first-child { display: flex; align-items: center; gap: 8px; }
.process-table .app-icon { width: 19px; height: 19px; }
.process-table tr.selected { background: var(--selected); }
.process-table .end-task { background: transparent; color: #c23c24; font-size: 10px; }
.disk-row { padding: 14px 20px; border-bottom: 1px solid var(--line); }
.disk-row-top { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 8px; }
.disk-row .progress-bar { height: 7px; }
.disk-row small { color: var(--muted); font-size: 10px; }

/* Help and logs */
.help-app { height: 100%; overflow: auto; background: var(--panel); user-select: text; }
.help-hero { padding: 35px 45px 27px; background: linear-gradient(135deg, #4a2546, #aa4c49); color: white; }
.help-hero .app-icon { width: 66px; height: 66px; }
.help-hero h1 { margin: 15px 0 6px; font-size: 25px; }
.help-hero p { margin: 0; opacity: .8; font-size: 12px; max-width: 560px; line-height: 1.6; }
.help-body { padding: 25px 45px 40px; }
.help-body h2 { font-size: 15px; }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 15px; }
.help-card { border: 1px solid var(--line); border-radius: 9px; padding: 15px; }
.help-card strong { font-size: 12px; }
.help-card p { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 6px 0 0; }
.shortcut-list { margin-top: 20px; }
.shortcut-row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 9px 0; font-size: 11px; }
.shortcut-row kbd { font: 10px var(--font); padding: 4px 7px; border: 1px solid var(--line); background: var(--window); border-radius: 4px; color: var(--muted); }
.logs-app { height: 100%; display: flex; flex-direction: column; }
.logs-toolbar { height: 43px; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.logs-output { flex: 1; overflow: auto; padding: 13px; background: #29282a; color: #d7d1d5; font: 11px/1.7 monospace; user-select: text; }
.log-line { display: flex; gap: 12px; }
.log-line time { color: #847d85; flex: 0 0 72px; }
.log-line.error { color: #ff9489; }
.log-line.success { color: #9bd78f; }

/* Lock and power flows */
.lock-screen, .power-screen { position: absolute; z-index: 20000; inset: 0; }
.lock-screen[hidden], .power-screen[hidden] { display: none; }
.lock-background { position: absolute; inset: 0; background: var(--wallpaper) center / cover; filter: blur(5px) brightness(.55); transform: scale(1.04); }
.lock-screen::after { content: ''; position: absolute; inset: 0; background: rgba(20, 14, 24, .22); }
.lock-content { position: absolute; z-index: 2; top: 17%; left: 0; right: 0; text-align: center; color: white; text-shadow: 0 2px 15px rgba(0,0,0,.2); }
.lock-time { font-size: clamp(64px, 8vw, 112px); font-weight: 300; letter-spacing: -3px; font-variant-numeric: tabular-nums; line-height: 1; }
.lock-date { margin-top: 12px; font-size: 20px; font-weight: 400; }
.lock-user { position: absolute; z-index: 3; left: 50%; bottom: 15%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; color: white; }
.lock-username { margin: 12px 0; font-size: 16px; font-weight: 600; }
.unlock-button { background: rgba(255,255,255,.19); border: 1px solid rgba(255,255,255,.27); color: white; padding: 8px 28px; border-radius: 8px; backdrop-filter: blur(10px); }
.unlock-button:hover { background: rgba(255,255,255,.3); }
.unlock-hint { font-size: 10px; opacity: .65; margin-top: 8px; }
.lock-footer { position: absolute; z-index: 3; bottom: 16px; left: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.8); }
.ubuntu-wordmark-small { font-size: 14px; font-weight: 500; letter-spacing: .03em; }
.power-screen { background: #0d0b10; color: white; display: flex; align-items: center; justify-content: center; }
.power-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.power-content .app-icon { width: 94px; height: 94px; filter: drop-shadow(0 0 25px rgba(233,84,32,.25)); }
.boot-dots { display: flex; gap: 8px; margin-top: 9px; }
.boot-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: boot-pulse 1.2s infinite; }
.boot-dots i:nth-child(2) { animation-delay: .15s; }
.boot-dots i:nth-child(3) { animation-delay: .3s; }
.boot-dots i:nth-child(4) { animation-delay: .45s; }
.boot-dots i:nth-child(5) { animation-delay: .6s; }
.power-content h2 { margin: 5px 0 0; font-size: 18px; font-weight: 400; }
.power-content p { margin: 0; color: #9f979f; font-size: 12px; }
.power-on-button { background: var(--accent); color: white; padding: 10px 24px; border-radius: 8px; }
@keyframes boot-pulse { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes overview-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes overview-card-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Responsive and reduced motion */
@media (max-width: 1050px) {
  .app-grid { left: 8%; right: 8%; }
  .overview-main { left: 75px; right: 75px; }
  .files-sidebar { width: 145px; }
  .settings-sidebar { width: 175px; }
  .software-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browser-shortcuts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .top-bar { height: 31px; }
  .activities-button { padding: 0 9px; }
  .clock-button { font-size: 11px; }
  .status-button { padding: 0 7px; gap: 5px; }
  #status-volume { display: none; }
  .desktop-icons { right: 8px; top: 42px; }
  .desktop-icon { width: 68px; min-height: 70px; }
  .desktop-icon .app-icon { width: 35px; height: 35px; }
  .dock { left: 6px; width: 52px; padding: 5px 4px; gap: 3px; }
  .dock-item { width: 42px; height: 42px; }
  .dock-item .app-icon { width: 36px; height: 36px; }
  .window { min-width: 280px; }
  .window-titlebar { height: 39px; padding-left: 10px; }
  .window-controls { gap: 6px; }
  .window-control { width: 22px; height: 22px; min-width: 22px; min-height: 22px; }
  .calendar-popover { width: min(356px, calc(100vw - 16px)); }
  .system-menu { width: min(356px, calc(100vw - 16px)); right: 8px; }
  .overview-search-wrap { width: calc(100vw - 220px); left: 68px; transform: none; top: 42px; }
  .overview-search { height: 38px; }
  .overview-workspaces { top: 86px; right: 12px; left: 68px; justify-content: center; }
  .overview-main { inset: 132px 12px 94px; }
  .overview-card { width: min(300px, 75vw); height: 185px; }
  .overview-dock { gap: 3px; padding: 5px; }
  .overview-dock .dock-item { width: 36px; height: 36px; }
  .overview-dock .dock-item .app-icon { width: 32px; height: 32px; }
  .app-grid { inset: 140px 55px 90px 65px; }
  .app-grid-page { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 92px; gap: 10px 4px; padding: 5px 0; }
  .app-grid-item .app-icon { width: 48px; height: 48px; }
  .app-grid-item span { font-size: 10px; }
  .files-sidebar { width: 120px; padding-left: 5px; padding-right: 5px; }
  .sidebar-item { padding: 6px 7px; font-size: 10px; }
  .files-toolbar .search-field { width: 110px; }
  .files-view.list .file-head, .files-view.list .file-item { grid-template-columns: minmax(130px, 1fr) 80px; }
  .files-view.list .file-head span:nth-child(3), .files-view.list .file-head span:nth-child(4), .files-view.list .file-item .file-meta:nth-child(3), .files-view.list .file-item .file-meta:nth-child(4) { display: none; }
  .settings-sidebar { width: 55px; padding: 8px 5px; }
  .settings-side-item { justify-content: center; padding: 9px 5px; }
  .settings-side-item span { display: none; }
  .settings-group, .panel-header { margin-left: 15px; margin-right: 15px; padding-left: 0; padding-right: 0; }
  .wallpaper-options { grid-template-columns: 1fr; }
  .software-feature { padding: 18px; }
  .software-feature .app-icon { display: none; }
  .software-cards { grid-template-columns: 1fr; }
  .software-content { padding: 15px; }
  .browser-start { padding: 25px 7%; }
  .browser-toolbar .icon-button { width: 27px; }
  .local-page { padding: 30px 25px; }
  .image-sidebar { width: 105px; }
  .monitor-resources { grid-template-columns: 1fr; }
  .help-hero, .help-body { padding-left: 22px; padding-right: 22px; }
  .help-grid { grid-template-columns: 1fr; }
  .notification-layer { width: min(358px, calc(100vw - 22px)); right: 10px; }
  .lock-date { font-size: 16px; }
}
@media (max-height: 650px) {
  .dock { gap: 2px; padding-top: 4px; padding-bottom: 4px; }
  .dock-item { height: 40px; width: 43px; }
  .dock-item .app-icon { width: 35px; height: 35px; }
  .app-grid { top: 65px; bottom: 90px; }
  .app-grid-page { grid-auto-rows: 86px; gap: 8px; }
  .lock-user { bottom: 8%; }
  .lock-content { top: 10%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
