/* ============================================================
   PROJECTS APP — Editorial magazine / case study reader.
   Character: Curated, thoughtful, design-forward. Like a portfolio journal.
   ============================================================ */

.window.app-projects .window-body {
  overflow: hidden;
  height: 100%;
}

.window.app-projects .app-layout {
  height: 100%;
  display: grid;
  grid-template-columns: 200px 1fr 180px;
}

/* Product list sidebar */
.window.app-projects .sidebar {
  background: linear-gradient(180deg, #fffcf0, #f8f0d4);
  border-right: 1px solid rgba(170,100,30,0.20);
  padding: 12px 10px;
  overflow: auto;
}

.window.app-projects .pane-title {
  color: #7a4808;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  border-bottom-color: rgba(170,100,30,0.20);
}

.window.app-projects .list-button {
  color: #6a4020;
  font-family: var(--sans);
  font-size: 0.80rem;
  border-radius: 6px;
  padding: 10px 10px 9px;
  margin-bottom: 2px;
  line-height: 1.3;
}

.window.app-projects .list-button small {
  display: block;
  color: #a07840;
  font-size: 0.68rem;
  margin-top: 3px;
  font-family: var(--mono);
}

.window.app-projects .list-button:hover {
  background: rgba(220,165,60,0.16);
  border-color: rgba(170,100,30,0.28);
  color: #3a1a00;
}

.window.app-projects .list-button.active {
  background: linear-gradient(180deg, #ffe4a8, #ffd060);
  border-color: rgba(170,110,20,0.50);
  color: #2a1200;
}

.window.app-projects .list-button.active small { color: #8a5010; }

/* Main content — editorial typography */
.window.app-projects .content-pane {
  background: linear-gradient(180deg, #fffcf2, #faf5e0);
  color: #2e1a04;
  padding: 28px 32px;
  overflow: auto;
}

/* Category tag above heading */
.window.app-projects .content-pane::before {
  content: "CASE STUDY";
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: #b07030;
  margin-bottom: 10px;
}

.window.app-projects .doc h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  color: #280e00;
  line-height: 0.95;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.window.app-projects .doc p {
  color: #5a3818;
  line-height: 1.75;
  font-size: 0.92rem;
  max-width: 62ch;
  margin-bottom: 14px;
}

/* Mode-switched copy */
.window.app-projects .dev-detail {
  background: rgba(170,100,30,0.08);
  border-left: 3px solid rgba(170,100,30,0.40);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  margin: 10px 0;
  font-size: 0.84rem;
  color: #4a2c0a;
}

.window.app-projects .pill {
  background: rgba(180,110,20,0.12);
  border-color: rgba(170,100,20,0.30);
  color: #8a5010;
  font-weight: 500;
}

/* Inspector / metadata panel */
.window.app-projects .inspector {
  background: linear-gradient(180deg, #fff8e4, #f5e8c0);
  border-left: 1px solid rgba(170,100,30,0.20);
  padding: 14px 12px;
  overflow: auto;
}

.window.app-projects .inspector .pane-title { color: #7a4808; }

.window.app-projects .inspector p {
  font-size: 0.80rem;
  color: #5a3818;
  line-height: 1.5;
  margin-bottom: 12px;
}

.window.app-projects .inspector strong {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a6020;
  margin-bottom: 3px;
}

.window.app-projects .inspector .bar-button {
  margin-top: 8px;
  width: 100%;
  background: linear-gradient(180deg, #ffe090, #ffc840);
  border-color: rgba(170,110,20,0.50);
  color: #2a1200;
  font-weight: 600;
}
