/* Dark editorial windows — coordinated with the white CS desktop.
   Accent colors identify destinations; charcoal stays the shared UI foundation. */
.xp-window{
  --window-accent:#93d4df;
  --window-accent-soft:#263d43;
  --window-ink:#f3f5f4;
  --window-muted:#b7c1c3;
  --window-surface:#252a2d;
  --window-raised:#30373a;
  --window-line:#454d50;
  background:var(--window-surface);
  color:var(--window-ink);
  border:1px solid #4b5356;
  box-shadow:0 20px 52px rgba(12,17,19,.32),0 2px 8px rgba(12,17,19,.12);
}
.xp-window.active{box-shadow:0 23px 56px rgba(12,17,19,.36),0 3px 10px rgba(12,17,19,.13)}
.xp-window[data-kind="wriedt"]{--window-accent:#5fe0b7;--window-accent-soft:#1d4036;--window-secondary:#e87500}
.xp-window[data-kind="project-frameworked"]{--window-accent:#93d4df;--window-accent-soft:#30434a;--window-secondary:#9e382e}
.xp-window[data-kind="project-football"]{--window-accent:#c4ac82;--window-accent-soft:#3b3931;--window-secondary:#c4ac82}
.xp-window[data-kind="about"],.xp-window[data-kind="about-profile"]{--window-accent:#83C9A5;--window-accent-soft:#284439}
.xp-window[data-kind="projects"]{--window-accent:#93d4df;--window-accent-soft:#293e43}
.xp-window[data-kind="research"]{--window-accent:#5fe0b7;--window-accent-soft:#254037}
.xp-window .xp-titlebar,
.xp-window:not(.active) .xp-titlebar,
.xp-window[data-kind="about"] .xp-titlebar,
.xp-window[data-kind="about"]:not(.active) .xp-titlebar{
  background:#202426;
  color:var(--window-ink);
  border-bottom:1px solid var(--window-line);
  box-shadow:inset 0 -2px 0 var(--window-accent-soft);
}
.xp-window:not(.active) .xp-titlebar{background:#303437}
.xp-window .titlebar-caption,
.xp-window .titlebar-text,
.xp-window:not(.active) .titlebar-caption,
.xp-window:not(.active) .titlebar-text{color:#f1f3f2;text-shadow:none}
.xp-window .window-main,
.xp-window .window-main.no-padding,
.xp-window .content-pad,
.xp-window .explorer-layout,
.xp-window .explorer-main,
.xp-window .destination-project,
.xp-window .destination-content{
  background:var(--window-surface);
  color:var(--window-ink);
}
.xp-window .content-pad h2,
.xp-window .content-pad h3,
.xp-window .content-pad h4,
.xp-window .explorer-main h3,
.xp-window .project-detail-header h2,
.xp-window .info-card h4,
.xp-window .tile-btn strong{color:var(--window-ink)}
.xp-window .content-pad p,
.xp-window .info-card p,
.xp-window .project-item p,
.xp-window .tile-btn small,
.xp-window .eyebrow,
.xp-window .file-item small{color:var(--window-muted)!important}
.xp-window a{color:#a2dfe8}
.xp-window .info-card,
.xp-window .tile-btn,
.xp-window .contact-box,
.xp-window .project-item,
.xp-window .side-box,
.xp-window .explorer-side .side-box{
  color:var(--window-ink);
  background:var(--window-raised);
  border:1px solid var(--window-line);
  box-shadow:none;
}
.xp-window .tile-btn:hover,
.xp-window .project-item:hover,
.xp-window .file-item:hover,
.xp-window .file-item:focus-visible{background:#394247;border-color:#667377}
.xp-window .file-item{color:var(--window-ink)}
.xp-window .window-toolbar,
.xp-window .address-bar,
.xp-window .explorer-side,
.xp-window .side-box h4{background:#30373a;color:var(--window-ink);border-color:var(--window-line)}
.xp-window .win-toolbar-btn,
.xp-window .side-box button{color:#e6eded}
.xp-window .address-bar .path{background:#212729;color:#e9eeee;border-color:#556164}
.xp-window .xp-button,
.xp-window .cs-btn,
.xp-window .quick-back{
  background:#30383b;
  border-color:#515b5f;
  color:#eef3f2;
  box-shadow:none;
}
.xp-window .xp-button:hover,
.xp-window .cs-btn:hover,
.xp-window .quick-back:hover{background:#414b4f;color:#fff}
.xp-window a:focus-visible,
.xp-window button:focus-visible{outline:2px solid var(--window-accent);outline-offset:2px}

/* Project cover + information cards. Keep the same layout and original logos. */
.xp-window .destination-banner{
  background:linear-gradient(120deg,#2c3235,#252b2e);
  border-bottom:1px solid var(--window-line);
  box-shadow:inset 0 3px 0 var(--window-accent);
  color:var(--window-ink);
}
.xp-window .destination-banner h2{color:#f5f7f6!important}
.xp-window .destination-banner .destination-kicker{color:var(--window-accent)}
.xp-window .destination-status{color:#c9d3d2}
.xp-window .destination-status-dot{background:var(--window-accent);border-color:var(--window-accent)}
.xp-window .destination-emblem{
  background:#30383b;
  border:1px solid #596469;
  box-shadow:none;
}
.xp-window .destination-emblem img{filter:drop-shadow(0 1px 2px rgba(0,0,0,.22))}
.xp-window .destination-project .destination-intro{color:#e2e8e7!important}
.xp-window .destination-address{background:var(--window-raised);border:1px solid var(--window-line)}
.xp-window .destination-address span{color:#a6b9bb}
.xp-window .destination-address strong{color:#eef2f1}
.xp-window .destination-project .quick-visit.destination-visit{
  background:var(--window-accent-soft)!important;
  border:1px solid var(--window-accent);
  color:#f5faf9!important;
  box-shadow:none!important;
}
.xp-window .destination-project .quick-visit.destination-visit:hover{
  background:#435258!important;
  border-color:var(--window-accent);
  color:#fff!important;
}
.xp-window[data-kind="wriedt"] .destination-project .quick-visit.destination-visit{border-left:4px solid #e87500}
.xp-window[data-kind="project-frameworked"] .destination-project .quick-visit.destination-visit{border-left:4px solid #9e382e}
.xp-window .destination-open-here{color:#cbd6d7!important}
.xp-window .destination-footer{background:#22282a;border-top:1px solid var(--window-line)}
.xp-window .destination-footer>span{color:#aebec0}
.xp-window .destination-footer .quick-back{color:#eaf3f3;background:#333b3e;border-color:#515b5f}

/* About folder remains an icon directory, with consistent dark surfaces. */
.xp-window[data-kind="about"] .window-main,
.xp-window[data-kind="about"] .about-folder-popover{background:var(--window-surface);color:var(--window-ink)}
.xp-window[data-kind="about"] .about-folder-intro{color:var(--window-accent)}
.xp-window[data-kind="about"] .about-folder-hint,
.xp-window[data-kind="about"] .about-folder-app-label{color:#e5e9e8}
.xp-window[data-kind="about"] .about-folder-app-icon{
  background:transparent;
  border:1px solid transparent;
  box-shadow:none;
}
.xp-window[data-kind="about"] .about-folder-app-icon img{
  filter:none;
  background:transparent;
}
.xp-window[data-kind="about"] .about-folder-app:hover .about-folder-app-icon,
.xp-window[data-kind="about"] .about-folder-app:focus-visible .about-folder-app-icon{
  background:#343a3e;
  border-color:var(--window-accent);
}
.xp-window[data-kind="about"] .about-folder-foot{color:#a8b5b8;border-top:1px solid var(--window-line)}
@media(max-width:740px){
  .xp-window .destination-banner{padding:18px 19px}
  .xp-window .destination-content{padding:18px 19px 15px}
}

/* Projects directory: match the charcoal windows without turning each row
   into a bright card. Per-project accents echo the destination windows. */
.xp-window[data-kind="projects"] .project-hub{background:var(--window-surface);color:var(--window-ink)}
.xp-window[data-kind="projects"] .project-hub-eyebrow{color:var(--window-accent)}
.xp-window[data-kind="projects"] .project-hub h2{color:#f3f6f5}
.xp-window[data-kind="projects"] .project-hub-intro{color:var(--window-muted)}
.xp-window[data-kind="projects"] .project-hub-grid{gap:0;border-top:1px solid var(--window-line)}
.xp-window[data-kind="projects"] .project-hub-item{
  --project-row-accent:#93d4df;
  background:transparent;
  color:var(--window-ink);
  border:0;
  border-bottom:1px solid var(--window-line);
  border-radius:0;
  padding:16px 8px;
  box-shadow:none;
}
.xp-window[data-kind="projects"] .project-hub-item:nth-child(2){--project-row-accent:#c4ac82}
.xp-window[data-kind="projects"] .project-hub-item:nth-child(3){--project-row-accent:#b8a4c3}
.xp-window[data-kind="projects"] .project-hub-item:hover,
.xp-window[data-kind="projects"] .project-hub-item:focus-visible{
  background:#333b3e;
  border-bottom-color:var(--project-row-accent);
}
.xp-window[data-kind="projects"] .project-hub-item:focus-visible{outline:2px solid var(--project-row-accent);outline-offset:-2px}
.xp-window[data-kind="projects"] .project-hub-item strong{color:#f2f5f4}
.xp-window[data-kind="projects"] .project-hub-item small{color:#b7c1c3}
.xp-window[data-kind="projects"] .project-hub-open{color:var(--project-row-accent)}
.xp-window[data-kind="projects"] .project-hub-item img{
  width:44px;height:44px;flex-basis:44px;
  object-fit:contain;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.2));
}

/* Crisp transparent identity icons in title bars; no legacy light tiles. */
.xp-window[data-kind="about"] .titlebar-caption img,
.xp-window[data-kind="about-profile"] .titlebar-caption img{background:transparent;border:0;padding:0}
