/* Tokens, boot sequence, desktop, windows and shared content primitives. */
@font-face {
  font-family: "VT323";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/vt323-latin.woff2") format("woff2");
}

:root {
  --xp-blue: #1f65d6;
  --xp-blue-dark: #0b2c79;
  --xp-blue-light: #4f98ff;
  --xp-green: #5db237;
  --xp-green-dark: #3e7d24;
  --xp-sky-top: #7fcbff;
  --xp-sky-mid: #48a4f8;
  --xp-sky-low: #2b82e0;
  --xp-hill-back: #73c94f;
  --xp-hill-mid: #57b13c;
  --xp-hill-front: #3f9a2f;
  --window-bg: #ece9d8;
  --window-border: #0c2458;
  --desktop-start: #2f77d8;
  --desktop-end: #0f4da8;
  --text: #0f1728;
  --shadow: 0 16px 28px rgba(3, 21, 53, 0.34), 0 3px 10px rgba(8, 37, 90, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  font-family: "Trebuchet MS", sans-serif;
  color: var(--text);
  font-size: clamp(14px, 0.85vw + 10px, 18px);
}

body {
  background: linear-gradient(180deg, var(--xp-sky-top), var(--xp-sky-mid) 45%, var(--xp-sky-low));
}

body,
.desktop,
.desktop-icons,
.desktop-icon,
.icon-art,
.icon-label {
  user-select: none;
  -webkit-user-select: none;
}

button,
input,
a {
  font: inherit;
}

.is-hidden {
  display: none !important;
}

.preboot-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 1.15rem 1.35rem;
  background: #000;
  color: #f1f1f1;
  font-family: "VT323", monospace;
  font-size: clamp(1.1rem, 0.5vw + 0.95rem, 1.45rem);
  line-height: 1.3;
}

.preboot-screen.is-blank .preboot-shell,
.preboot-screen.is-blank .preboot-menu {
  opacity: 0;
}

.preboot-shell p,
.preboot-menu__title,
.preboot-option,
.preboot-hint {
  margin: 0;
}

.preboot-shell > *,
.preboot-menu > * {
  opacity: 0;
  transform: translateY(1px);
  transition: opacity 70ms linear, transform 70ms linear;
}

.preboot-shell > .is-visible,
.preboot-menu > .is-visible {
  opacity: 1;
  transform: translateY(0);
}

.preboot-menu {
  width: min(30rem, 92vw);
  margin-top: 1rem;
  border: 1px solid #9ea8b6;
}

.preboot-menu__title {
  padding: 0.35rem 0.7rem;
  background: #4f5b72;
  color: #f4f6fb;
}

.preboot-option {
  padding: 0.26rem 0.7rem;
  border-top: 1px solid rgba(158, 168, 182, 0.35);
}

.preboot-option.is-selected {
  border: none;
  width: 100%;
  background: #f0f0f0;
  color: #000;
  text-align: left;
  cursor: pointer;
}

.preboot-option.is-selected:disabled {
  color: #000;
  cursor: default;
  opacity: 1;
}

.preboot-option.is-disabled {
  color: #6f82a8;
}

.preboot-hint {
  padding: 0.32rem 0.7rem;
  border-top: 1px solid #9ea8b6;
  color: #c7d1e4;
}

.boot-screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #010409;
  color: white;
  z-index: 50;
}

.boot-logo {
  font-family: "VT323", monospace;
  font-size: clamp(3rem, 12vw, 7rem);
  text-transform: lowercase;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.boot-word {
  color: #f4f9ff;
}

.boot-xp {
  color: #e98b17;
}

.boot-subtitle {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #85a7d7;
}

.boot-bar {
  width: min(24rem, 70vw);
  height: 1.4rem;
  border-radius: 999px;
  border: 1px solid #32527f;
  padding: 0.18rem;
  background: #061223;
  overflow: hidden;
}

.boot-bar span {
  display: block;
  width: 35%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7cecff, #2e83ff, #7cecff);
  animation: loading 1.4s linear infinite;
}

.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: grid;
  grid-template-rows: 4rem 1fr 4rem;
  background: linear-gradient(180deg, #5d7fd4, #6889dc);
}

.welcome-screen__top-band,
.welcome-screen__bottom-band {
  position: relative;
  background: linear-gradient(180deg, #1b409f, #13358f);
}

.welcome-screen__top-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
}

.welcome-screen__bottom-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: #f09a18;
}

.welcome-screen__bottom-band::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 7.25rem;
  height: 100%;
  background: linear-gradient(90deg, rgba(87, 43, 170, 0.92), rgba(49, 42, 168, 0));
}

.welcome-screen__panel {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.welcome-screen__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 6% 6%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%);
  pointer-events: none;
}

.welcome-screen__text {
  position: relative;
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 2.4vw + 1.8rem, 4.2rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.desktop {
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.3), transparent 18%),
    radial-gradient(circle at 68% 18%, rgba(255, 255, 255, 0.18), transparent 14%),
    linear-gradient(180deg, #8fd0ff 0%, #66b5ff 18%, #3f95ef 48%, #327fde 78%, #3278d5 100%);
  overflow: hidden;
}

.wallpaper-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.desktop.has-custom-wallpaper .wallpaper-scene {
  background-image: var(--desktop-wallpaper-image);
  background-size: cover;
  background-position: center;
}

.desktop.has-custom-wallpaper .wallpaper-scene > * {
  display: none;
}

.desktop.has-custom-wallpaper .wallpaper-glow {
  background:
    linear-gradient(180deg, rgba(16, 37, 74, 0.04), rgba(16, 37, 74, 0.16)),
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.16), transparent 18%);
}

.cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  filter: blur(1.2px);
  box-shadow:
    3.6rem 0.55rem 0 0 rgba(255, 255, 255, 0.94),
    1.5rem -1.15rem 0 0 rgba(255, 255, 255, 0.9),
    6.4rem -0.45rem 0 0 rgba(255, 255, 255, 0.9);
  opacity: 0.9;
}

.cloud::after {
  content: "";
  position: absolute;
  inset: -1.4rem -2.4rem;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(22px);
}

.cloud-one {
  top: 12%;
  left: 26%;
  width: 6rem;
  height: 1.8rem;
  animation: driftCloud 44s linear infinite;
}

.cloud-two {
  top: 28%;
  left: 60%;
  width: 8.6rem;
  height: 2.6rem;
  transform: scale(1.25);
  animation: driftCloud 58s linear infinite reverse;
}

.cloud-three {
  top: 20%;
  left: 78%;
  width: 7.4rem;
  height: 2.2rem;
  opacity: 0.88;
  animation: driftCloud 52s linear infinite;
}

.cloud-four {
  top: 43%;
  left: 42%;
  width: 4.6rem;
  height: 1.45rem;
  opacity: 0.7;
  animation: driftCloud 62s linear infinite reverse;
}

.cloud-five {
  top: 33%;
  left: 10%;
  width: 5.8rem;
  height: 1.8rem;
  opacity: 0.75;
  animation: driftCloud 56s linear infinite;
}

.cloud-streak {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
  filter: blur(7px);
  opacity: 0.65;
  transform: rotate(10deg);
}

.streak-one {
  top: 8%;
  left: 50%;
  width: 18rem;
  height: 1.8rem;
}

.streak-two {
  top: 36%;
  left: 49%;
  width: 22rem;
  height: 1.2rem;
  transform: rotate(8deg);
  opacity: 0.52;
}

.terrain-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.terrain-mountains {
  fill: url(#mountainFade);
  opacity: 0.6;
}

.terrain-hill {
  fill: url(#hillBase);
}

.terrain-highlight {
  fill: url(#hillGlow);
  opacity: 0.82;
}

.terrain-foreground {
  fill: url(#hillFront);
  opacity: 0.95;
}

.wallpaper-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 44%, rgba(255, 255, 255, 0.16), transparent 18%),
    radial-gradient(circle at 70% 26%, rgba(255, 255, 255, 0.12), transparent 14%),
    radial-gradient(circle at 45% 74%, rgba(216, 255, 142, 0.08), transparent 22%);
  pointer-events: none;
}

.desktop-icons {
  position: absolute;
  inset: 0 0 3.4rem 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 90ms linear;
}

.desktop-icons.is-refreshing {
  opacity: 0;
}

.desktop-icon {
  position: absolute;
  width: 5.5rem;
  height: 6.55rem;
  min-height: 6.55rem;
  border: none;
  background: transparent;
  color: white;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.68),
    0 0 6px rgba(0, 45, 114, 0.18);
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  padding: 0.5rem;
  border-radius: 0.65rem;
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: none;
  overflow: hidden;
}

.desktop-icon .icon-art,
.desktop-icon .icon-label {
  pointer-events: none;
}

.desktop-icon.is-cut {
  opacity: 0.5;
}

.desktop-icon.is-drop-target .icon-art {
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.9),
    0 0 0 3px rgba(37, 94, 203, 0.45),
    0 2px 6px rgba(5, 33, 83, 0.22);
}

.recycle-bin {
  z-index: 2;
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(143, 198, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 6px 12px rgba(16, 68, 157, 0.14);
}

.desktop-icon.is-selected {
  background:
    linear-gradient(180deg, rgba(133, 192, 255, 0.36), rgba(54, 118, 219, 0.28));
  outline: 1px dotted rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 16px rgba(18, 71, 162, 0.14);
}

.desktop-icon.is-selected .icon-label {
  display: inline-block;
  width: auto;
  padding: 0.08rem 0.18rem;
  background: rgba(37, 97, 211, 0.72);
  border: 1px dotted rgba(255, 255, 255, 0.95);
}

.icon-art {
  min-width: clamp(2.75rem, 4.4vw, 3.35rem);
  min-height: clamp(2.75rem, 4.4vw, 3.35rem);
  display: grid;
  place-items: center;
  padding: 0.1rem;
  filter: drop-shadow(0 2px 2px rgba(0, 28, 92, 0.4));
}

.icon-art img {
  display: block;
  width: clamp(2.65rem, 4.2vw, 3.25rem);
  height: clamp(2.65rem, 4.2vw, 3.25rem);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

.icon-label {
  display: -webkit-box;
  width: 100%;
  min-height: 2.1em;
  overflow: hidden;
  font-size: clamp(0.75rem, 0.55vw + 0.55rem, 0.9rem);
  line-height: 1.05;
  text-align: center;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.selection-box {
  position: absolute;
  z-index: 3;
  border: 1px dashed rgba(255, 255, 255, 0.95);
  background: rgba(76, 134, 237, 0.25);
  pointer-events: none;
}

.desktop-context-menu {
  position: fixed;
  z-index: 30020;
  width: min(14rem, calc(100vw - 1rem));
  min-width: min(11.2rem, calc(100vw - 1rem));
  padding: 0.15rem 0;
  background: #f5f5f5;
  border: 1px solid #9aa8bb;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.24);
}

.desktop-context-menu button {
  width: 100%;
  min-height: 1.55rem;
  padding: 0.22rem 1rem 0.22rem 1rem;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 0.92rem;
}

.desktop-context-menu button:hover {
  background: linear-gradient(180deg, #2d74df, #1d5fca);
  color: white;
}

.desktop-context-menu button.is-hidden {
  display: none !important;
}

.desktop-context-menu button:disabled {
  color: #9aa0a8;
  cursor: default;
}

.desktop-context-menu button:disabled:hover {
  background: transparent;
  color: #9aa0a8;
}

.window {
  position: absolute;
  z-index: 2;
  width: min(44rem, calc(100vw - 2rem));
  min-width: min(20rem, calc(100vw - 2rem));
  height: clamp(18rem, 56vh, 34rem);
  min-height: 18rem;
  max-height: calc(100dvh - 5.25rem);
  border: 1px solid #083b89;
  border-radius: 0.65rem 0.65rem 0 0;
  background:
    linear-gradient(180deg, #fdfcf5 0%, #f3efdf 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
  outline: 1px solid rgba(179, 218, 255, 0.42);
}

.window.active {
  display: block;
}

.window.is-resizing,
.window.is-dragging {
  user-select: none;
}

.window.maximized {
  max-height: none;
}

.window-bar {
  position: relative;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.52), transparent 38%),
    linear-gradient(180deg, #5cb8ff 0%, #2f7fe7 45%, #1b5dc7 52%, #1749a8 100%);
  color: white;
  padding: 0.45rem 0.45rem 0.45rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(7, 45, 119, 0.55);
}

.window-title {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
}

.window-title img {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
  filter: drop-shadow(0 1px 0 rgba(0, 30, 95, 0.28));
}

.window-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 40%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.12));
  pointer-events: none;
}

.window-bar.msn {
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.56), transparent 40%),
    linear-gradient(180deg, #81defe 0%, #37a8de 42%, #1b7bbc 60%, #12689e 100%);
}

.window-controls {
  display: flex;
  gap: 0.25rem;
}

.window-control {
  width: 1.8rem;
  height: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(181, 209, 255, 0.92) 55%, rgba(121, 160, 232, 0.96));
  color: #08316d;
  border-radius: 0.28rem;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(12, 48, 111, 0.2);
}

.window-control.close {
  background:
    linear-gradient(180deg, #ffb29d, #f06d4e 52%, #cf4831);
  color: white;
}

.window-content {
  height: calc(100% - 2.45rem);
  padding: 1rem;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #f7f4e7, #eee8d5);
}

.resize-handle {
  position: absolute;
  z-index: 5;
}

.resize-handle.edge-top,
.resize-handle.edge-bottom {
  left: 0.75rem;
  right: 0.75rem;
  height: 0.5rem;
}

.resize-handle.edge-left,
.resize-handle.edge-right {
  top: 0.75rem;
  bottom: 0.75rem;
  width: 0.5rem;
}

.resize-handle.edge-top {
  top: 0;
  cursor: ns-resize;
}

.resize-handle.edge-right {
  right: 0;
  cursor: ew-resize;
}

.resize-handle.edge-bottom {
  bottom: 0;
  cursor: ns-resize;
}

.resize-handle.edge-left {
  left: 0;
  cursor: ew-resize;
}

.resize-handle.corner {
  width: 1rem;
  height: 1rem;
}

.resize-handle.corner-top-left {
  top: 0;
  left: 0;
  cursor: nwse-resize;
}

.resize-handle.corner-top-right {
  top: 0;
  right: 0;
  cursor: nesw-resize;
}

.resize-handle.corner-bottom-right {
  right: 0;
  bottom: 0;
  cursor: nwse-resize;
}

.resize-handle.corner-bottom-left {
  left: 0;
  bottom: 0;
  cursor: nesw-resize;
}

.resize-handle.corner-bottom-right::after {
  content: "";
  position: absolute;
  right: 0.1rem;
  bottom: 0.1rem;
  width: 0.9rem;
  height: 0.9rem;
  border-right: 2px solid rgba(12, 36, 88, 0.7);
  border-bottom: 2px solid rgba(12, 36, 88, 0.7);
  border-bottom-right-radius: 0.1rem;
}

.hero-card {
  padding: 1.2rem;
  border: 1px solid #8ca6d9;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(229, 239, 255, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 4px 10px rgba(45, 91, 170, 0.08);
}

.system-tag {
  margin: 0 0 0.5rem;
  color: #2652a0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.hero-card h1,
.window-content h2 {
  margin-top: 0;
}

.hero-card h1 {
  font-size: clamp(1.7rem, 1.6vw + 1rem, 2.7rem);
}

.hero-actions,
.contact-shortcuts,
.search-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card--split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 0.9fr);
  gap: 1rem;
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.quote-line {
  margin: 0;
  color: #2e4f8c;
  font-style: italic;
}

.persona-chips,
.cv-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.persona-chips span,
.cv-chip-list span {
  padding: 0.28rem 0.55rem;
  border: 1px solid #9cb5dd;
  border-radius: 999px;
  background: linear-gradient(180deg, #fdfefe, #e4efff);
  color: #1d4b91;
  font-size: 0.84rem;
}

.profile-sheet,
.cv-header-card,
.cv-panel,
.drive-card,
.gallery-card {
  border: 1px solid #9eb6da;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 245, 255, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.profile-sheet {
  padding: 0.95rem;
}

.profile-sheet__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 0.8rem;
  border: 1px solid #ffffff;
  border-radius: 0.45rem;
  box-shadow:
    0 0 0 1px rgba(76, 115, 176, 0.35),
    0 0.55rem 1rem rgba(18, 52, 111, 0.16);
}

.profile-sheet h2 {
  margin-bottom: 0.8rem;
}

.info-list,
.project-preview__meta {
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.info-list div,
.project-preview__meta div {
  display: grid;
  gap: 0.15rem;
}

.info-list dt,
.project-preview__meta dt {
  color: #3760a9;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-list dd,
.project-preview__meta dd {
  margin: 0;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.status-grid article,
.project-preview,
.game-panel,
.chat-shell,
.contact-sidebar {
  border: 1px solid #9eb6da;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(238, 245, 255, 0.78));
  padding: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.explorer-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.explorer-card,
.drive-card {
  width: 100%;
  padding: 0.85rem 0.9rem;
  text-align: left;
  cursor: pointer;
}

.explorer-card {
  border: 1px solid #9eb6da;
  background: linear-gradient(180deg, #ffffff, #edf4ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.explorer-card strong,
.drive-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #173d7a;
}

.explorer-card span {
  display: block;
  color: #30476c;
  line-height: 1.25;
}

.drive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.drive-card {
  border-radius: 0.5rem;
  border: 1px solid #98b3de;
}

.drive-card p {
  margin: 0;
  color: #32496f;
}

.drive-card__badge {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 2px 2px rgba(17, 58, 123, 0.22));
}

.drive-card__badge img {
  width: 2.45rem;
  height: 2.45rem;
  object-fit: contain;
}

.folder-toolbar,
.project-row {
  display: grid;
  grid-template-columns: 2fr 1fr 0.7fr;
  gap: 1rem;
  align-items: center;
}

.folder-toolbar {
  background:
    linear-gradient(180deg, #f5f9ff, #dce9ff);
  border: 1px solid #abc1ea;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.project-list {
  margin: 0.8rem 0 1rem;
  display: grid;
  gap: 0.35rem;
}

.project-row {
  border: 1px solid #bed0ec;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  padding: 0.7rem 0.75rem;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.project-row:hover,
.project-row:focus-visible {
  background: #edf4ff;
}

.project-row.is-active {
  background: linear-gradient(180deg, #dceaff, #edf5ff);
  border-color: #88a9de;
}

.project-preview {
  display: grid;
  gap: 0.95rem;
}

.project-preview__header p,
.project-preview__body ul {
  margin: 0;
}

.project-preview__body ul {
  padding-left: 1.1rem;
}

.project-preview__status {
  margin: 0 0 0.55rem;
  color: #305497;
  font-weight: 700;
}

.project-preview__actions {
  margin-top: auto;
}

