/* ==========================================================================
   Hari's Ubuntu desktop portfolio — Yaru dark theme
   ========================================================================== */

:root {
  --wallpaper: url('../assets/img/wallpaper.jpg');

  --ink: #f4f0f8;
  --muted: #b7aec6;
  --faint: #8d849c;
  --accent: #e95420;
  --accent-2: #e06ba8;
  --blue: #3584e4;

  --bar-bg: rgba(20, 17, 26, .72);
  --dock-bg: rgba(30, 26, 38, .58);
  --win-bg: #24222b;
  --win-bg-2: #2b2833;
  --headerbar: #34313c;
  --headerbar-inactive: #2b2833;
  --stroke: rgba(255, 255, 255, .10);
  --stroke-2: rgba(255, 255, 255, .18);

  --radius-window: 14px;
  --radius-card: 12px;
  --shadow-window: 0 24px 70px rgba(0, 0, 0, .60), 0 4px 16px rgba(0, 0, 0, .35);

  --font: 'Ubuntu', 'Ubuntu Sans', 'Cantarell', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Ubuntu Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  overflow: hidden;
  color: var(--ink);
  background: #17141d;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button { -webkit-tap-highlight-color: transparent; }

a { color: #ffb28f; }

img { -webkit-user-drag: none; }

::selection {
  background: rgba(233, 84, 32, .40);
  color: #fff;
}

:focus-visible {
  outline: 2px solid rgba(255, 132, 79, .95);
  outline-offset: 2px;
}

kbd {
  display: inline-block;
  padding: 0 4px;
  border: 1px solid var(--stroke-2);
  border-radius: 4px;
  background: rgba(255, 255, 255, .06);
  font-family: var(--mono);
  font-size: .88em;
  line-height: 1.45;
  color: var(--muted);
}

/* thin translucent scrollbars */
* { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .22) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .18);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .30); background-clip: padding-box; }

/* ==========================================================================
   Desktop / wallpaper
   ========================================================================== */

#desktop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
}

#wallpaper {
  position: absolute;
  inset: 0;
  background: var(--wallpaper) center / cover no-repeat;
  z-index: 0;
  transform: scale(1.002);
}

#wallpaper::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 85%, transparent 35%, rgba(9, 6, 15, .38) 100%),
    linear-gradient(180deg, rgba(10, 7, 16, .20) 0%, transparent 18%, transparent 78%, rgba(9, 6, 15, .26) 100%);
}

/* ==========================================================================
   Top bar
   ========================================================================== */

#topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 32px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  background: var(--bar-bg);
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  font-size: 13px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 2px;
  z-index: 2;
}

.topbar-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.topbar-center > .topbar-btn,
.topbar-center > .popover { pointer-events: auto; }

.topbar-btn {
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
  transition: background .12s ease;
}

.topbar-btn:hover { background: rgba(255, 255, 255, .10); }
.topbar-btn.active,
.topbar-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .16); }

.activities { font-weight: 500; letter-spacing: .1px; }

.clock {
  font-variant-numeric: tabular-nums;
  letter-spacing: .15px;
  padding: 0 9px;
}

.tray-item {
  position: relative;
  width: 27px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--ink);
  cursor: pointer;
  transition: background .12s ease;
}

.tray-item:hover { background: rgba(255, 255, 255, .10); }

.tray-item svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .72;
  transition: opacity .12s ease;
}

.tray-item:hover svg { opacity: 1; }

.tray-item.battery { width: auto; padding: 0 5px; }
.battery-label { font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tray-item.chevron { width: 24px; }

/* tray tooltips */
.tray-item::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 8px);
  right: -2px;
  z-index: 95;
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid var(--stroke-2);
  background: rgba(24, 20, 30, .96);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  color: var(--ink);
  font-size: 10.5px;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-3px);
  pointer-events: none;
  transition: opacity .12s ease, transform .12s ease;
}

.tray-item:hover::after { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Popovers (calendar + quick settings)
   ========================================================================== */

.popover {
  position: fixed;
  top: 40px;
  z-index: 80;
  background: rgba(38, 34, 47, .96);
  border: 1px solid var(--stroke-2);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  animation: popover-in .14s ease-out;
}

@keyframes popover-in {
  from { opacity: 0; transform: translateY(-5px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.calendar {
  left: 50%;
  transform: translateX(-50%);
  width: 296px;
  padding: 12px 13px 10px;
  animation-name: popover-in-center;
}

@keyframes popover-in-center {
  from { opacity: 0; transform: translateX(-50%) translateY(-5px) scale(.985); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.cal-head strong { font-size: 12.5px; font-weight: 700; letter-spacing: .01em; }

.cal-nav {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.cal-nav:hover { background: rgba(255, 255, 255, .09); color: var(--ink); }

.cal-weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}

.cal-weekdays span {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--faint);
  padding: 3px 0 5px;
}

.cal-day {
  position: relative;
  height: 31px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--muted);
  border-radius: 50%;
}
.cal-day.other { color: rgba(183, 174, 198, .35); }
.cal-day.today {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(233, 84, 32, .15);
}
.cal-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--stroke);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9.5px;
}
.cal-today-label { color: var(--accent-2); text-transform: uppercase; letter-spacing: .1em; }

.quick-settings {
  right: 9px;
  width: 304px;
  padding: 13px;
}

.qs-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 700;
  margin: 0 2px 9px;
}

.qs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 11px;
}

.qs-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  background: rgba(255, 255, 255, .045);
  color: var(--muted);
  font-size: 11.5px;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}
.qs-pill:hover { background: rgba(255, 255, 255, .08); }
.qs-pill.on {
  color: var(--ink);
  border-color: rgba(53, 132, 228, .48);
  background: rgba(53, 132, 228, .20);
}
.qs-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  flex: none;
}
.qs-pill.on .qs-indicator { background: #74b0ff; box-shadow: 0 0 7px rgba(53, 132, 228, .7); }

.qs-slider {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 8px;
  margin: 9px 2px;
  font-size: 11px;
  color: var(--muted);
}
.qs-slider input {
  width: 100%;
  height: 4px;
  accent-color: var(--accent);
  cursor: pointer;
}
.qs-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid var(--stroke);
  font-size: 10px;
  color: var(--faint);
  font-family: var(--mono);
}

/* ==========================================================================
   Dock
   ========================================================================== */

#dock {
  position: fixed;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 75;
  width: 64px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--dock-bg);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.dock-item {
  position: relative;
  width: 48px;
  height: 48px;
  padding: 2px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .12s ease;
}

.dock-item:hover { background: rgba(255, 255, 255, .07); }
.dock-item:active img { transform: scale(.97); }

.dock-item > img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .32));
  transition: transform .16s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}

.dock-item:hover > img { transform: scale(1.12); }

.dock-apps > img { width: 40px; height: 40px; opacity: .92; }

.dock-divider {
  width: 40%;
  height: 1px;
  margin: 4px 0;
  background: var(--stroke);
  flex: none;
}

/* running / focus dots */
.running-dot {
  position: absolute;
  left: -6px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
  transform: translateY(-50%);
  transition: background .16s ease, height .16s ease, box-shadow .16s ease;
}
.dock-item.has-open .running-dot { background: var(--muted); }
.dock-item.is-active .running-dot {
  background: var(--accent);
  box-shadow: 0 0 7px rgba(233, 84, 32, .9);
}

/* dock tooltips */
.tip {
  position: absolute;
  left: calc(100% + 15px);
  top: 50%;
  transform: translate(-5px, -50%) scale(.98);
  transform-origin: left center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--stroke-2);
  background: rgba(26, 22, 33, .97);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
  color: var(--ink);
  font-size: 11.5px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .13s ease, transform .13s ease;
  z-index: 65;
}
.tip kbd { font-size: 9px; color: var(--faint); }
.dock-item:hover .tip,
.dock-item:focus-visible .tip { opacity: 1; transform: translate(0, -50%) scale(1); }

/* ==========================================================================
   Windows
   ========================================================================== */

#windows {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  transition: opacity .16s ease;
}

/* Hide the real window layer while Activities is open. Overview cards are
   live DOM clones, so they stay visible and nothing is actually torn down. */
body.overview-active #windows {
  opacity: 0;
  pointer-events: none;
}

.window {
  position: absolute;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 360px;
  min-height: 260px;
  pointer-events: auto;
  background: var(--win-bg);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-window);
  box-shadow: var(--shadow-window), inset 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 1;
}

.window:not(.active) {
  box-shadow: 0 16px 44px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .045);
}

.window.active {
  border-color: rgba(255, 255, 255, .14);
}

.window-header {
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px 0 12px;
  background: var(--headerbar);
  border-bottom: 1px solid rgba(0, 0, 0, .32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.window:not(.active) .window-header {
  background: var(--headerbar-inactive);
  color: rgba(244, 240, 248, .72);
}
.window:not(.active) .window-subtitle { opacity: .65; }
.window:not(.active) .window-app-icon { opacity: .8; }

.window-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
}

.window-app-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: none;
  border-radius: 4px;
}

.window-title-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.window-title-main {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-subtitle {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
  flex: none;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.win-btn {
  width: 25px;
  height: 25px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .065);
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.win-btn:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.win-btn:active { background: rgba(255, 255, 255, .24); }
.win-btn.win-close:hover { background: #e01b24; color: #fff; }

.win-btn svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.window-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--win-bg);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .22) transparent;
}

.window-body::-webkit-scrollbar { width: 8px; height: 8px; }
.window-body::-webkit-scrollbar-track { background: transparent; }
.window-body::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, .20);
  background-clip: padding-box;
}
.window-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, .34);
  background-clip: padding-box;
}

/* Soft fade at the bottom of a scrollable window body. */
.window::after {
  content: '';
  position: absolute;
  right: 1px;
  bottom: 1px;
  left: 1px;
  z-index: 2;
  height: 26px;
  border-radius: 0 0 calc(var(--radius-window) - 1px) calc(var(--radius-window) - 1px);
  background: linear-gradient(to top, var(--win-bg) 8%, rgba(36, 34, 43, .62) 55%, rgba(36, 34, 43, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.window.has-scroll:not(.scroll-end)::after { opacity: 1; }

.window.maximized { border-radius: 10px; }
.window.dragging { transition: none !important; user-select: none; }
.window.dragging .window-header { cursor: default; }
.window.resizing { transition: none !important; }

/* Resize grips: thin hit areas on every edge plus larger corners. They sit
   inside the rounded window so overflow:hidden doesn't clip them. */
.resize-handle {
  position: absolute;
  z-index: 12;
  touch-action: none;
}
.resize-handle.n { top: 0; left: 10px; right: 10px; height: 6px; cursor: n-resize; }
.resize-handle.s { bottom: 0; left: 10px; right: 10px; height: 6px; cursor: s-resize; }
.resize-handle.e { right: 0; top: 10px; bottom: 10px; width: 6px; cursor: e-resize; }
.resize-handle.w { left: 0; top: 10px; bottom: 10px; width: 6px; cursor: w-resize; }
.resize-handle.ne { top: 0; right: 0; width: 14px; height: 14px; cursor: ne-resize; z-index: 13; }
.resize-handle.nw { top: 0; left: 0; width: 14px; height: 14px; cursor: nw-resize; z-index: 13; }
.resize-handle.se { bottom: 0; right: 0; width: 14px; height: 14px; cursor: se-resize; z-index: 13; }
.resize-handle.sw { bottom: 0; left: 0; width: 14px; height: 14px; cursor: sw-resize; z-index: 13; }
.resize-handle.se::after {
  content: '';
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(255, 255, 255, .30);
  border-bottom: 1.5px solid rgba(255, 255, 255, .30);
  border-radius: 0 0 2px 0;
  opacity: 0;
  transition: opacity .15s ease;
}
.window:hover .resize-handle.se::after,
.window:focus-within .resize-handle.se::after { opacity: 1; }
.window.maximized .resize-handle { display: none; }

@media (max-width: 860px) {
  .resize-handle { display: none; }
}

.window.geometry-anim {
  transition: left .18s cubic-bezier(.2, .8, .2, 1), top .18s cubic-bezier(.2, .8, .2, 1),
              width .18s cubic-bezier(.2, .8, .2, 1), height .18s cubic-bezier(.2, .8, .2, 1);
}

.window.opening { animation: window-open .18s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 50%; }
.window.closing {
  animation: window-close .15s ease-in forwards;
  pointer-events: none;
}

@keyframes window-open {
  from { opacity: 0; transform: scale(.965); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes window-close {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(.972); }
}

.window.minimizing {
  transition: transform .23s cubic-bezier(.55, 0, .9, .3), opacity .23s ease;
  transform: translate(var(--min-x, 0), var(--min-y, 0)) scale(.075);
  opacity: 0;
  pointer-events: none;
}

.window.restoring {
  animation: window-restore .23s cubic-bezier(.2, .8, .2, 1);
  transform-origin: 50% 50%;
}

@keyframes window-restore {
  from { opacity: .15; transform: translate(var(--min-x, 0), var(--min-y, 0)) scale(.075); }
  to { opacity: 1; transform: translate(0, 0) scale(1); }
}

/* ==========================================================================
   Generic window content
   ========================================================================== */

.view {
  padding: 20px 22px 24px;
  color: var(--ink);
  min-height: 100%;
}

.view h1,
.view h2,
.view h3,
.view p { margin-top: 0; }

.view h2 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .13s ease, border-color .13s ease, transform .13s ease;
}
.btn:hover { background: rgba(255, 255, 255, .115); border-color: var(--stroke-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  border-color: rgba(233, 84, 32, .85);
  background: linear-gradient(180deg, #f06d38, #dd4a16);
  color: #fff;
  box-shadow: 0 5px 16px rgba(233, 84, 32, .22);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #f77a46, #e5531e);
  border-color: rgba(255, 130, 80, .95);
}

.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--ink); }

/* ==========================================================================
   About
   ========================================================================== */

.about-view { padding: 0 0 24px; }

.about-hero {
  display: flex;
  gap: 20px;
  padding: 23px 24px 20px;
  border-bottom: 1px solid var(--stroke);
  background:
    radial-gradient(circle at 92% -18%, rgba(224, 107, 168, .22), transparent 53%),
    radial-gradient(circle at 0% 110%, rgba(233, 84, 32, .10), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent);
}

.about-avatar {
  width: 104px;
  height: 104px;
  flex: none;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid var(--stroke-2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
}

.about-id { flex: 1; min-width: 0; }

.about-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
  margin-bottom: 2px;
}

.about-id h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -.035em;
}

.about-role {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 4px 0 7px;
  color: var(--accent-2);
  font-size: 13.5px;
  font-weight: 500;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(87, 208, 122, .30);
  background: rgba(87, 208, 122, .10);
  color: #a8eabb;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .02em;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #57d07a;
  box-shadow: 0 0 7px rgba(87, 208, 122, .85);
  flex: none;
}

.about-tagline {
  margin: 0;
  max-width: 500px;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.55;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .055);
  color: var(--ink);
  font-size: 11.5px;
  text-decoration: none;
  transition: background .13s ease, border-color .13s ease, transform .13s ease;
}
.chip:hover { background: rgba(255, 255, 255, .115); border-color: var(--stroke-2); transform: translateY(-1px); }
.chip-icon { width: 15px; height: 15px; object-fit: contain; flex: none; }
.chip-phone { color: var(--muted); gap: 7px; font-family: var(--mono); font-size: 10.5px; }
.chip-phone-label {
  font-family: var(--font);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--faint);
}

.about-summary { padding: 18px 24px 4px; }
.about-summary p {
  margin: 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.66;
}

.about-columns {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 24px;
  padding: 18px 24px 4px;
}

.timeline { position: relative; padding-left: 17px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 7px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, rgba(233, 84, 32, .85), rgba(255, 255, 255, .07));
}

.timeline-item { position: relative; margin-bottom: 17px; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -17px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 84, 32, .14);
}

.timeline-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.timeline-head h3 { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.35; }
.timeline-date {
  font-family: var(--mono);
  font-size: 9.8px;
  color: var(--faint);
  white-space: nowrap;
}
.timeline-org {
  margin: 1px 0 5px;
  color: var(--accent-2);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.timeline-place { color: var(--faint); text-transform: none; letter-spacing: 0; font-weight: 400; }

.timeline ul { margin: 0; padding: 0; list-style: none; }
.timeline li {
  position: relative;
  margin: 0 0 4px;
  padding-left: 11px;
  color: var(--muted);
  font-size: 11.8px;
  line-height: 1.5;
}
.timeline li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--faint);
}

.edu-card {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
}
.edu-card h3 { margin: 0 0 3px; font-size: 13.5px; line-height: 1.35; }
.edu-school { margin: 0 0 9px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.edu-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--stroke);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}
.edu-cgpa strong { color: var(--ink); font-size: 11px; }

.hackathon-badge {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 11px;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid rgba(233, 84, 32, .34);
  background: linear-gradient(135deg, rgba(233, 84, 32, .16), rgba(224, 107, 168, .11));
  color: #ffc6ae;
  font-size: 10.2px;
  line-height: 1.45;
}
.hackathon-badge span { color: var(--accent); }

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding: 14px 24px 0;
}
.fact-card {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .032);
  text-align: center;
}
.fact-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
}
.fact-card span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ==========================================================================
   Skills
   ========================================================================== */

.skills-view { padding: 18px 20px 24px; }

.terminal {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: #19161f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  background: rgba(255, 255, 255, .028);
}
.term-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.term-dot.red { background: #e05c5c; }
.term-dot.amber { background: #e5b454; }
.term-dot.green { background: #61c06b; }
.term-title {
  margin-left: 4px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9.5px;
}
.term-body { padding: 9px 12px 11px; font-family: var(--mono); font-size: 11.3px; line-height: 1.62; }
.prompt { color: #7fd39b; }
.cmd { color: var(--ink); }
.term-out { color: var(--muted); }

.core-stack {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(233, 84, 32, .26);
  background: linear-gradient(100deg, rgba(233, 84, 32, .11), rgba(224, 107, 168, .07) 55%, rgba(53, 132, 228, .06));
}
.core-stack-label {
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffb193;
  border-right: 1px solid rgba(255, 255, 255, .13);
  padding-right: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.core-stack-list {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .012em;
}

.skills-layout {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
}

.skills-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 10px;
  border-right: 1px solid var(--stroke);
}

.skill-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.skill-tab:hover { background: rgba(255, 255, 255, .055); color: var(--ink); }
.skill-tab.is-active {
  background: rgba(233, 84, 32, .13);
  color: #ffb392;
  box-shadow: inset 2px 0 0 var(--accent);
}
.skill-tab-count { font-family: var(--mono); font-size: 9.5px; color: var(--faint); }
.skill-tab.is-active .skill-tab-count { color: #ffb392; }

.skills-panel { display: none; }
.skills-panel.is-active { display: block; animation: panel-in .16s ease-out; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.panel-head h2 { margin: 0; font-size: 11px; }
.panel-head > span { font-family: var(--mono); font-size: 9.5px; color: var(--faint); }

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 8px;
}

.skill-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  background: rgba(255, 255, 255, .038);
  transition: background .14s ease, border-color .14s ease, transform .14s ease, box-shadow .14s ease;
}
.skill-tile:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-2);
  background: rgba(255, 255, 255, .075);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}
.skill-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25));
}
.monogram {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid var(--stroke-2);
  background: linear-gradient(135deg, #3b2b3b, #292432);
  color: #f3b7d3;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.skill-name {
  min-width: 0;
  font-size: 11.7px;
  color: #e3dceb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Projects
   ========================================================================== */

.projects-view { padding: 14px 20px 22px; }

.project-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 2px 0 10px;
  margin-top: -2px;
  background: var(--win-bg);
  box-shadow: 0 10px 14px -14px rgba(0, 0, 0, .9);
}

.filters { display: flex; flex-wrap: wrap; gap: 5px; }

.filter-pill {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  padding: 4px 11px;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  transition: background .13s ease, border-color .13s ease, color .13s ease;
}
.filter-pill:hover { background: rgba(255, 255, 255, .085); color: var(--ink); }
.filter-pill.is-active {
  border-color: rgba(233, 84, 32, .52);
  background: linear-gradient(135deg, rgba(233, 84, 32, .22), rgba(224, 107, 168, .16));
  color: #ffd1bd;
}
.filter-count { color: var(--faint); font-size: 10px; font-family: var(--mono); }

.project-featured {
  position: relative;
  padding: 1px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(233, 84, 32, .78), rgba(224, 107, 168, .44) 48%, rgba(53, 132, 228, .36));
  box-shadow: 0 12px 42px rgba(233, 84, 32, .11);
}
.project-featured-inner {
  border-radius: 15px;
  padding: 17px 19px 18px;
  background:
    radial-gradient(circle at 95% 0%, rgba(224, 107, 168, .12), transparent 40%),
    linear-gradient(150deg, #2d2834, #221f29 70%);
}

.featured-head { display: flex; align-items: flex-start; gap: 14px; }
.featured-icon {
  width: 64px;
  height: 64px;
  flex: none;
  object-fit: contain;
  padding: 5px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #17141d;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4);
}
.featured-title-wrap { min-width: 0; }

.badges { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-bottom: 2px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: 8.6px;
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
  line-height: 1.5;
}
.badge-open-source { border-color: rgba(87, 208, 122, .34); background: rgba(87, 208, 122, .10); color: #a6e8b8; }
.badge-production { border-color: rgba(233, 84, 32, .42); background: rgba(233, 84, 32, .13); color: #ffb697; }
.badge-ai { border-color: rgba(224, 107, 168, .40); background: rgba(224, 107, 168, .12); color: #f2b0d0; }
.badge-for-fun { border-color: rgba(229, 180, 84, .38); background: rgba(229, 180, 84, .10); color: #edd29b; }
.badge-featured { border-color: rgba(255, 255, 255, .2); color: var(--ink); }

.featured-title-wrap h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.project-tagline {
  max-width: 650px;
  margin: 4px 0 0;
  color: #e7c8dc;
  font-size: 12.4px;
  font-style: italic;
  line-height: 1.55;
}

.featured-body { margin-top: 11px; }
.feature-bullets {
  display: grid;
  gap: 4px;
  margin: 0 0 11px;
  padding: 0;
  list-style: none;
}
.feature-bullets li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 11.6px;
  line-height: 1.52;
}
.feature-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 10px;
}

.tech-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.tech-chip {
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .075);
  background: rgba(255, 255, 255, .05);
  color: #cdc4d8;
  font-family: var(--mono);
  font-size: 9.4px;
  line-height: 1.5;
}

.project-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 10px;
}

.project-card {
  display: flex;
  flex-direction: column;
  padding: 13px 14px 12px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.project-card:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-2);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .25);
}
.project-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.project-icon {
  width: 36px;
  height: 36px;
  flex: none;
  object-fit: contain;
  padding: 4px;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  background: rgba(255, 255, 255, .04);
}
.project-card-title { min-width: 0; }
.project-card h3 { margin: 0; font-size: 14px; line-height: 1.3; letter-spacing: -.01em; }
.project-meta { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.project-year { color: var(--faint); font-family: var(--mono); font-size: 9px; }
.project-card > p {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 11.4px;
  line-height: 1.55;
}
.project-card .tech-chips { margin-bottom: 11px; }
.project-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .055);
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ffb08f;
  font-size: 10.8px;
  text-decoration: none;
}
.project-link:hover { text-decoration: underline; }
.project-private {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--faint);
  font-size: 10.4px;
}
.private-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-view { padding: 18px 20px 22px; }

.composer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  gap: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(255, 255, 255, .028);
}
.composer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 13px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .032);
}
.composer-title { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ink); }
.composer-title strong { font-weight: 700; }
.draft-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
.composer-hint { font-size: 9.5px; color: var(--faint); font-family: var(--mono); }

.composer-fields { display: flex; flex: 1; flex-direction: column; padding: 3px 13px 0; }

.field-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.field-label {
  width: 52px;
  flex: none;
  padding-top: 3px;
  color: var(--faint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.field-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 2px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12.5px;
}
.field-input[readonly] { color: var(--muted); }
.field-input::placeholder { color: var(--muted); opacity: 1; }

.message-row { flex: 1; border-bottom: 0; min-height: 150px; }
textarea.field-input {
  min-height: 150px;
  height: 100%;
  resize: none;
  line-height: 1.6;
}
.contact-form:focus-within { border-color: var(--stroke-2); }
.field-row:focus-within .field-label { color: #ffb392; }

.composer-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-top: 1px solid var(--stroke);
  background: rgba(0, 0, 0, .10);
}
.composer-kbd { margin-left: auto; color: var(--faint); font-size: 9px; white-space: nowrap; }
.composer-kbd kbd { padding: 0 3px; font-size: 8px; }

.contact-side h2 { margin-bottom: 6px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--ink);
  text-decoration: none;
  transition: background .12s ease, border-color .12s ease;
}
.contact-row:hover { background: rgba(255, 255, 255, .052); border-color: var(--stroke); }
.contact-icon {
  width: 29px;
  height: 29px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
}
.contact-icon-img { width: 17px; height: 17px; object-fit: contain; }
.contact-monogram {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  color: var(--faint);
  letter-spacing: .02em;
}
.contact-row-text { min-width: 0; }
.contact-row-text > span {
  display: block;
  color: var(--faint);
  font-size: 8.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.contact-row-text strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 11.3px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.availability-card {
  margin-top: 10px;
  padding: 10px 11px;
  border: 1px solid rgba(87, 208, 122, .25);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(87, 208, 122, .10), rgba(87, 208, 122, .035));
}
.avail-line {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b9ebc6;
  font-size: 10.7px;
  line-height: 1.4;
}
.avail-note { margin-top: 4px; color: var(--muted); font-size: 9.8px; }
.avail-location {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
}

/* ==========================================================================
   GitHub
   ========================================================================== */

.github-view { padding: 17px 20px 22px; }

.gh-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 3px 2px 13px;
  border-bottom: 1px solid var(--stroke);
}
.gh-avatar {
  width: 64px;
  height: 64px;
  flex: none;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .14);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}
.gh-id { flex: 1; min-width: 0; }
.gh-id h1 { margin: 0; font-size: 19px; line-height: 1.2; letter-spacing: -.02em; }
.gh-handle { margin-top: 1px; color: var(--accent-2); font-family: var(--mono); font-size: 10.5px; }
.gh-bio { margin: 4px 0 0; color: var(--muted); font-size: 11.3px; line-height: 1.5; }
.gh-open { flex: none; }

.gh-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 10.5px;
}
.gh-stats strong { color: var(--ink); font-size: 11.5px; font-weight: 700; }

.repo-list { display: flex; flex-direction: column; padding: 6px 0 0; }
.repo-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 8px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .045);
  transition: background .12s ease;
}
.repo-row:hover { background: rgba(255, 255, 255, .045); }
.repo-icon { width: 16px; height: 16px; flex: none; margin-top: 2px; opacity: .78; }
.repo-main { display: block; flex: 1; min-width: 0; }
.repo-name {
  display: block;
  color: #8fc2ff;
  font-size: 12.3px;
  font-weight: 600;
  line-height: 1.35;
}
.repo-desc { display: block; margin-top: 1px; color: var(--muted); font-size: 10.8px; line-height: 1.45; }
.repo-meta { display: flex; align-items: center; gap: 13px; margin-top: 4px; color: var(--faint); font-size: 9.3px; }
.repo-lang { display: inline-flex; align-items: center; }
.lang-dot { width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; display: inline-block; }
.repo-stars { color: var(--faint); }
.repo-ext {
  margin-top: 2px;
  color: var(--faint);
  font-size: 13px;
  opacity: 0;
  transition: opacity .12s ease;
}
.repo-row:hover .repo-ext { opacity: 1; }

.gh-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 13px;
  padding: 10px 11px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: rgba(255, 255, 255, .032);
  color: var(--muted);
  font-size: 10.8px;
}
.gh-foot .btn { height: 27px; font-size: 10.5px; }

/* ==========================================================================
   Resume / document viewer
   ========================================================================== */

.resume-view {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0;
}

/* Soft edge while there is more of the document below. */
.window[data-app="resume"] .resume-view::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 48px;
  background: linear-gradient(to top, #1b1821 12%, rgba(27, 24, 33, .72) 45%, rgba(27, 24, 33, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.window[data-app="resume"].resume-more .resume-view::after { opacity: 1; }

.doc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: none;
  flex-wrap: wrap;
  padding: 7px 11px;
  border-bottom: 1px solid var(--stroke);
  background: var(--win-bg-2);
}
.doc-file { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--muted); font-size: 10.5px; }
.doc-file-icon { width: 16px; height: 16px; object-fit: contain; }
.doc-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 235px; }

.doc-actions { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.doc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 0 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-size: 9.7px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.doc-btn:hover { background: rgba(255, 255, 255, .105); color: var(--ink); }
.doc-icon-btn { width: 25px; padding: 0; font-size: 14px; }
.page-indicator { margin: 0 4px; color: var(--faint); font-family: var(--mono); font-size: 9.5px; }
.zoom-level { width: 30px; text-align: center; color: var(--faint); font-family: var(--mono); font-size: 8.8px; }

.resume-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 16px 42px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .035), transparent 45%),
    #1b1821;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .22) transparent;
}
.resume-scroll::-webkit-scrollbar { width: 8px; height: 8px; }
.resume-scroll::-webkit-scrollbar-track { background: transparent; }
.resume-scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, .20);
  background-clip: padding-box;
}
.resume-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, .34);
  background-clip: padding-box;
}

.resume-paper {
  width: min(100%, 748px);
  flex: none;
  padding: 29px 30px 32px;
  border-radius: 3px;
  background: #f7f4ef;
  color: #1f1c24;
  font-family: 'Ubuntu', 'Ubuntu Sans', 'Cantarell', sans-serif;
  font-size: calc(10.6px * var(--paper-zoom, 1));
  line-height: 1.44;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .5), 0 1px 3px rgba(0, 0, 0, .3);
}

.paper-head {
  padding-bottom: 8px;
  margin-bottom: 9px;
  border-bottom: 1.6px solid #1f1c24;
  text-align: center;
}
.paper-name {
  margin: 0;
  font-size: 2.1em;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.paper-role {
  margin: 2px 0 3px;
  color: #4d4655;
  font-size: .92em;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.paper-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  color: #4c4554;
  font-size: .8em;
  line-height: 1.5;
}
.paper-contact .sep { color: #a9a1ae; }

.paper-section { margin-top: 8px; }
.paper-section h2 {
  margin: 0 0 3px;
  padding-bottom: 1px;
  border-bottom: 1px solid #cec6bb;
  color: #27222c;
  font-size: .8em;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.paper-section p { margin: 0 0 2px; color: #37313d; font-size: .86em; line-height: 1.42; }
.paper-skills p { margin-bottom: 1px; }
.paper-skills strong { font-weight: 700; }

.paper-columns { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr); gap: 17px; }
.paper-entry { margin-bottom: 5px; }
.paper-entry:last-child { margin-bottom: 0; }
.paper-entry-head { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; }
.paper-entry-head h3 { margin: 0; color: #1f1c24; font-size: .91em; line-height: 1.32; font-weight: 700; }
.paper-entry-head .when { flex: none; color: #5c5566; font-size: .76em; white-space: nowrap; }
.paper-tech { margin: 1px 0 2px; color: #625b6b; font-size: .76em; line-height: 1.35; }
.paper-entry ul { margin: 2px 0 0; padding-left: 11px; }
.paper-entry li { margin-bottom: 1px; color: #3b3542; font-size: .83em; line-height: 1.37; }
.paper-line { margin-top: 3px !important; }

/* ==========================================================================
   Activities overview
   ========================================================================== */

#overview {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  opacity: 0;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(22, 17, 29, .12), rgba(12, 9, 18, .58) 100%),
    rgba(16, 12, 22, .26);
  backdrop-filter: blur(10px) saturate(.92);
  -webkit-backdrop-filter: blur(10px) saturate(.92);
  transition: opacity .20s ease;
}
#overview.open { opacity: 1; }
#overview.closing { opacity: 0; }

.overview-shell {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 15px;
  padding: 56px 24px 17px;
}

.overview-search-wrap {
  position: relative;
  width: min(620px, 92vw);
  margin: 0 auto;
  flex: none;
  z-index: 3;
}

.overview-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(30, 26, 38, .74);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  transition: border-color .15s ease, background .15s ease;
}
.overview-search:focus-within {
  border-color: rgba(233, 84, 32, .55);
  background: rgba(32, 28, 41, .84);
}
.overview-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
}
.overview-search input::placeholder { color: var(--faint); }

.search-glyph {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--muted);
  opacity: .85;
}
.search-glyph::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  width: 9.5px;
  height: 9.5px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
}
.search-glyph::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 6.5px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: right center;
}

.overview-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 330px;
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--stroke-2);
  border-radius: 14px;
  background: rgba(31, 27, 39, .97);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .52);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: results-in .12s ease-out;
}
@keyframes results-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.search-result:hover,
.search-result.selected { background: rgba(53, 132, 228, .34); }
.search-result img { width: 25px; height: 25px; object-fit: contain; flex: none; }
.search-result-text { min-width: 0; flex: 1; }
.search-result-name { display: block; font-size: 12px; line-height: 1.35; }
.search-result-meta { display: block; color: var(--faint); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.search-empty { padding: 13px; text-align: center; color: var(--muted); font-size: 11.5px; }

.overview-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 2px 0;
}

.overview-windows {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 22px;
  width: 100%;
  max-width: 1474px;
  margin: auto;
  padding: 6px;
}

.overview-thumb {
  position: relative;
  display: flex;
  flex: 1 1 330px;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  max-width: 352px;
  animation: thumb-in .22s cubic-bezier(.2, .8, .2, 1) both;
}
.overview-thumb:nth-child(2) { animation-delay: .025s; }
.overview-thumb:nth-child(3) { animation-delay: .05s; }
.overview-thumb:nth-child(4) { animation-delay: .075s; }

@keyframes thumb-in {
  from { opacity: 0; transform: translateY(9px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.thumb-preview {
  position: relative;
  display: block;
  width: 100%;
  height: 200px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 12px;
  background: #18151f;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .05);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.thumb-preview:hover,
.thumb-preview:focus-visible {
  transform: translateY(-3px) scale(1.012);
  border-color: rgba(233, 84, 32, .62);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .55);
}
.thumb-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--win-bg);
}
.thumb-canvas .window {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  pointer-events: none;
  transform-origin: top left;
  opacity: 1 !important;
}
.thumb-canvas .window .window-body { overflow: hidden; }
.thumb-title {
  overflow: hidden;
  color: var(--ink);
  font-size: 12.8px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.thumb-close {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--stroke-2);
  border-radius: 50%;
  background: rgba(12, 9, 17, .78);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .12s ease, transform .12s ease, background .12s ease;
}
.overview-thumb:hover .thumb-close,
.thumb-close:focus-visible { opacity: 1; transform: scale(1); }
.thumb-close:hover { background: #e01b24; }

.overview-empty {
  width: 100%;
  max-width: 640px;
  margin: auto;
  text-align: center;
  animation: thumb-in .22s ease both;
}
.overview-empty > p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.overview-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 118px));
  justify-content: center;
  gap: 13px;
}
.overview-app-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 11px 8px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  color: var(--ink);
  font-size: 10.8px;
  cursor: pointer;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.overview-app-btn:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-2);
  background: rgba(255, 255, 255, .085);
}
.overview-app-btn img { width: 42px; height: 42px; object-fit: contain; }

.overview-footer {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
}
.workspace-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(30, 26, 38, .60);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.workspace-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .30);
  cursor: pointer;
  transition: width .16s ease, background .16s ease, box-shadow .16s ease;
}
.workspace-dot:hover { background: rgba(255, 255, 255, .55); }
.workspace-dot.active {
  width: 21px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 84, 32, .16);
}
.overview-hint {
  margin: 0;
  color: rgba(183, 174, 198, .72);
  font-size: 9.5px;
}
.overview-hint kbd { font-size: 8px; }

/* GNOME-style discoverability OSD */
.desktop-hint {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border: 1px solid var(--stroke-2);
  border-radius: 999px;
  background: rgba(22, 18, 29, .76);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity .22s ease, transform .22s ease;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.desktop-hint.show { opacity: 1; transform: translate(-50%, 0); }
.desktop-hint.leaving { opacity: 0; transform: translate(-50%, 5px); }
.desktop-hint kbd { font-size: 9px; }

/* ==========================================================================
   Toasts
   ========================================================================== */

#toasts {
  position: fixed;
  top: 40px;
  left: 50%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: min(360px, calc(100vw - 20px));
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--stroke-2);
  border-radius: 14px;
  background: rgba(42, 39, 49, .97);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-9px) scale(.985);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: auto;
}
.toast.show { opacity: 1; transform: translateY(0) scale(1); }
.toast.leaving { opacity: 0; transform: translateY(-6px) scale(.985); }
.toast-icon { width: 29px; height: 29px; flex: none; object-fit: contain; }
.toast-content { flex: 1; min-width: 0; }
.toast-title { font-size: 11.8px; font-weight: 700; line-height: 1.35; }
.toast-text { margin-top: 1px; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.toast-close {
  flex: none;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--faint);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.toast-close:hover { background: rgba(255, 255, 255, .09); color: var(--ink); }

/* ==========================================================================
   Responsive — phone / tablet
   ========================================================================== */

@media (max-width: 860px) {
  .desktop-hint { display: none; }
  #topbar { padding: 0 5px; font-size: 12px; }
  .topbar-btn { padding: 0 6px; font-size: 12px; }
  .topbar-right { gap: 0; }
  .tray-item { width: 25px; }
  .tray-item.battery { padding: 0 3px; }
  .battery-label { display: none; }

  /* bottom dock */
  #dock {
    left: 50%;
    top: auto;
    bottom: 10px;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100vw - 14px);
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 7px 9px;
    border-radius: 18px;
  }
  .dock-item { width: 42px; height: 42px; }
  .dock-item > img { width: 38px; height: 38px; }
  .dock-apps > img { width: 34px; height: 34px; }
  .dock-divider { width: 1px; height: 28px; margin: 0 4px; }
  .running-dot {
    left: 50%;
    top: auto;
    bottom: -2px;
    transform: translateX(-50%);
  }
  .tip { display: none; }
  .dock-item:hover > img { transform: scale(1.06); }

  /* full-screen sheets */
  .window {
    border-radius: 12px;
    min-width: 0;
    min-height: 0;
  }
  .window-header { height: 39px; flex-basis: 39px; padding: 0 7px 0 10px; }
  .window-title-main { font-size: 12.5px; }
  .window-subtitle { max-width: 135px; font-size: 10px; }
  .win-btn { width: 23px; height: 23px; }
  .win-btn svg { width: 11px; height: 11px; }

  .view { padding: 15px 15px 20px; }
  .about-view { padding: 0 0 20px; }
  .about-hero { flex-direction: column; gap: 14px; padding: 19px 17px 17px; }
  .about-avatar { width: 82px; height: 82px; border-radius: 20px; }
  .about-id h1 { font-size: 22px; }
  .about-role { font-size: 12.5px; gap: 7px; }
  .about-tagline { font-size: 12.2px; }
  .about-summary { padding: 15px 17px 2px; }
  .about-columns { grid-template-columns: 1fr; gap: 18px; padding: 15px 17px 2px; }
  .quick-facts { padding: 12px 17px 0; gap: 6px; }
  .fact-card { padding: 8px 5px; }
  .fact-card strong { font-size: 15px; }
  .fact-card span { font-size: 8px; letter-spacing: .06em; }
  .timeline li { font-size: 11.5px; }
  .timeline-head { flex-wrap: wrap; }

  .skills-view { padding: 14px 14px 20px; }
  .term-body { font-size: 10.2px; }
  .skills-layout { grid-template-columns: 1fr; gap: 12px; }
  .skills-nav { display: none; }
  .skills-panels { display: block; }
  .skills-panel { display: block; margin-bottom: 14px; }
  .skills-panel:last-child { margin-bottom: 0; }
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-tile { padding: 8px; gap: 8px; }
  .skill-name { font-size: 10.8px; }

  .projects-view { padding: 12px 14px 20px; }
  .project-featured-inner { padding: 14px; }
  .featured-head { gap: 11px; }
  .featured-icon { width: 52px; height: 52px; border-radius: 12px; }
  .featured-title-wrap h2 { font-size: 21px; }
  .project-tagline { font-size: 11.5px; }
  .feature-bullets li { font-size: 11px; }
  .project-grid { grid-template-columns: 1fr; }
  .filter-count { display: none; }

  .contact-view { padding: 14px; }
  .composer { grid-template-columns: 1fr; gap: 14px; }
  .contact-side h2 { margin-top: 2px; }
  .composer-kbd { display: none; }

  .github-view { padding: 14px; }
  .gh-head { flex-wrap: wrap; gap: 11px; }
  .gh-avatar { width: 52px; height: 52px; }
  .gh-id h1 { font-size: 17px; }
  .gh-open { margin-left: 63px; }
  .repo-desc { font-size: 10.4px; }
  .repo-ext { display: none; }

  .resume-scroll { padding: 9px; }
  .resume-paper { padding: 20px 17px 24px; font-size: calc(10px * var(--paper-zoom, 1)); }
  .paper-columns { grid-template-columns: 1fr; gap: 0; }
  .paper-side { border-top: 1px solid #d8d0c6; margin-top: 6px; }
  .doc-file span { max-width: 145px; }
  .doc-toolbar { gap: 5px; }

  .overview-shell { padding: 49px 13px 13px; gap: 12px; }
  .overview-search-wrap { width: 100%; }
  .overview-search { height: 41px; }
  .overview-windows { max-width: 430px; gap: 16px; }
  .overview-thumb { flex: 1 1 100%; max-width: 430px; }
  .thumb-preview { height: 158px; }
  .overview-app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .overview-app-btn { font-size: 9.6px; padding: 9px 5px; }
  .overview-app-btn img { width: 36px; height: 36px; }
  .overview-hint { display: none; }
  .thumb-close { opacity: 1; transform: scale(1); }

  .calendar { width: min(296px, calc(100vw - 20px)); }
  .quick-settings { right: 6px; width: min(304px, calc(100vw - 12px)); }

  .toast { padding: 9px 10px; }
}

@media (max-width: 520px) {
  .tray-item.power { display: none; }
  .window-subtitle { display: none; }
  .overview-empty > p { font-size: 11.5px; }
}

@media (max-width: 390px) {
  .dock-item { width: 40px; height: 40px; }
  .dock-item > img { width: 36px; height: 36px; }
  .dock-divider { margin: 0 3px; }
  #dock { padding: 6px 7px; gap: 1px; }
}

/* ==========================================================================
   Reduced motion + print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .desktop-hint { display: none !important; }
}

@media print {
  @page { size: A4; margin: 10mm; }
  html, body { height: auto; overflow: visible; background: #fff; }
  #topbar, #dock, #overview, #toasts, #wallpaper, .toast, .desktop-hint { display: none !important; }
  #desktop, #windows { position: static !important; inset: auto !important; overflow: visible !important; }
  #windows > .window:not([data-app="resume"]) { display: none !important; }
  .window[data-app="resume"] {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  .window[data-app="resume"] .window-header,
  .window[data-app="resume"] .doc-toolbar { display: none !important; }
  .window[data-app="resume"] .window-body,
  .resume-view,
  .resume-scroll {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    background: #fff !important;
  }
  .resume-paper {
    width: 100% !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 10.4px !important;
  }
}
