/* =========================================================================
   RNGN 95 — Windows 95 showcase voor Thomas van Ringen
   Bespoke CSS, geen frameworks. Kleuren & bevels nagebouwd op de klassieker.
   ========================================================================= */

:root {
  --gray:        #c0c0c0;
  --gray-dark:   #808080;
  --gray-darker: #404040;
  --white:       #ffffff;
  --black:       #000000;
  --teal:        #008080;
  --navy:        #000080;
  --navy-light:  #1084d0;
  --navy-grad-2: #0a64a0;
  --select:      #000080;
  --text:        #000000;
  --shadow:      rgba(0,0,0,.35);
  --font: "MS Sans Serif", "Tahoma", "Pixelated MS Sans Serif", "Segoe UI", system-ui, sans-serif;
  --taskbar-h: 36px;
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
/* het [hidden]-attribuut moet áltijd winnen, ook van .display:flex-regels */
[hidden] { display: none !important; }
html, body {
  margin: 0; padding: 0; height: 100%;
  font-family: var(--font);
  font-size: 13px;
  color: var(--text);
  -webkit-font-smoothing: none;
  user-select: none;
  overflow: hidden;
  background: var(--teal);
  touch-action: manipulation;
}
button, input, textarea, select { font-family: var(--font); font-size: 13px; }
a { color: var(--navy); }

/* ---- 3D bevel helpers (de kern van de Win95-look) ---- */
.bevel-out {            /* verhoogd (knoppen, vensters) */
  border: 2px solid;
  border-color: #ffffff #000000 #000000 #ffffff;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 var(--gray-dark);
}
.bevel-in {             /* verzonken (invoervelden, statusbalk) */
  border: 2px solid;
  border-color: var(--gray-dark) #ffffff #ffffff var(--gray-dark);
  box-shadow: inset 1px 1px 0 #000000, inset -1px -1px 0 #dfdfdf;
}

/* =========================================================================
   BOOT / OPSTARTSCHERM
   ========================================================================= */
.boot {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(ellipse at center, #0a0a3a 0%, #000010 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; gap: 34px; cursor: pointer;
  animation: bootIn .3s ease;
}
@keyframes bootIn { from { opacity: 0; } to { opacity: 1; } }
.boot.hide { animation: bootOut .5s ease forwards; }
@keyframes bootOut { to { opacity: 0; visibility: hidden; } }
.boot-logo { display: flex; align-items: center; gap: 22px; }
.boot-flag {
  width: 92px; height: 92px; display: grid;
  grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 5px;
  transform: perspective(360px) rotateY(-16deg);
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,.6));
}
.boot-flag .q { border-radius: 3px 9px 3px 3px; animation: wave 2.2s ease-in-out infinite; }
.q1 { background: #ff3b30; } .q2 { background: #4cd964; }
.q3 { background: #007aff; } .q4 { background: #ffcc00; }
.q2 { animation-delay: .15s; } .q3 { animation-delay: .3s; } .q4 { animation-delay: .45s; }
@keyframes wave { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.boot-brand { font-size: 40px; font-weight: 400; letter-spacing: 1px; }
.boot-brand b { font-style: italic; font-weight: 700; }
.boot-sub { font-size: 16px; opacity: .8; margin-top: 4px; }
.boot-bar {
  width: 240px; height: 18px; background: #000; border: 1px solid #333; padding: 2px;
}
.boot-bar span {
  display: block; height: 100%; width: 0;
  background: repeating-linear-gradient(90deg,#1e90ff 0 14px,transparent 14px 18px);
  animation: load 2.4s ease forwards;
}
@keyframes load { to { width: 100%; } }
.boot-tip { font-size: 12px; opacity: .55; }

/* =========================================================================
   BUREAUBLAD
   ========================================================================= */
.desktop {
  position: fixed; inset: 0; bottom: var(--taskbar-h);
  background: var(--teal);
  overflow: hidden;
}

/* Bureaubladpictogrammen */
.icons {
  list-style: none; margin: 0; padding: 10px 6px;
  display: flex; flex-direction: column; flex-wrap: wrap;
  gap: 4px; align-content: flex-start; height: 100%;
}
.icon {
  width: 84px; padding: 6px 4px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  text-align: center; border: 1px dotted transparent;
}
.icon .lbl {
  color: #fff; font-size: 12px; line-height: 1.25; padding: 1px 3px;
  text-shadow: 1px 1px 0 rgba(0,0,0,.5);
}
.icon.selected { background: rgba(0,0,128,.4); border: 1px dotted #fff; }
.icon.selected .lbl { background: var(--navy); text-shadow: none; }
.icon:focus { outline: none; }
.icon:focus .lbl { background: var(--navy); text-shadow: none; }

/* =========================================================================
   PICTOGRAMMEN (puur CSS, geen externe afbeeldingen)
   ========================================================================= */
.ico { display: inline-block; width: 32px; height: 32px; flex: 0 0 auto;
       background-repeat: no-repeat; background-position: center; background-size: contain;
       image-rendering: pixelated; }
.ico.sm  { width: 16px; height: 16px; vertical-align: middle; margin-right: 6px; }
.ico.big { width: 48px; height: 48px; }

/* SVG data-URI iconen — scherp en schaalbaar */
.ico-computer { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='3' y='4' width='26' height='17' fill='%23c0c0c0' stroke='%23000' stroke-width='1'/%3E%3Crect x='5' y='6' width='22' height='13' fill='%23008080'/%3E%3Crect x='8' y='22' width='16' height='5' fill='%23c0c0c0' stroke='%23000'/%3E%3Crect x='6' y='27' width='20' height='3' fill='%23808080' stroke='%23000'/%3E%3Crect x='24' y='7' width='2' height='2' fill='%2300ff00'/%3E%3C/svg%3E"); }
.ico-folder   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M3 8h9l3 3h14v16H3z' fill='%23ffcc33' stroke='%23000'/%3E%3Cpath d='M3 11h26v16H3z' fill='%23ffd966' stroke='%23000'/%3E%3C/svg%3E"); }
.ico-folder-open { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M3 8h9l3 3h13v4H3z' fill='%23ffcc33' stroke='%23000'/%3E%3Cpath d='M3 13l4 14h22l3-12H7z' fill='%23ffe089' stroke='%23000'/%3E%3C/svg%3E"); }
.ico-user     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='3' y='3' width='26' height='26' rx='2' fill='%23dfe7f0' stroke='%23000'/%3E%3Ccircle cx='16' cy='13' r='6' fill='%23f0c090' stroke='%23000'/%3E%3Cpath d='M6 29c1-7 6-9 10-9s9 2 10 9z' fill='%23336699' stroke='%23000'/%3E%3C/svg%3E"); }
.ico-mail     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='3' y='7' width='26' height='18' fill='%23fff' stroke='%23000'/%3E%3Cpath d='M3 7l13 10L29 7' fill='none' stroke='%23000'/%3E%3Cpath d='M3 25l9-8M29 25l-9-8' fill='none' stroke='%23808080'/%3E%3C/svg%3E"); }
.ico-phone    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7 4c-2 0-3 1-3 3 0 11 10 21 21 21 2 0 3-1 3-3v-4l-6-3-3 3c-4-2-7-5-9-9l3-3-3-6z' fill='%23202020' stroke='%23000'/%3E%3C/svg%3E"); }
.ico-notepad  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='6' y='3' width='20' height='26' fill='%23fff' stroke='%23000'/%3E%3Cline x1='9' y1='9' x2='23' y2='9' stroke='%230000a0'/%3E%3Cline x1='9' y1='13' x2='23' y2='13' stroke='%23808080'/%3E%3Cline x1='9' y1='17' x2='23' y2='17' stroke='%23808080'/%3E%3Cline x1='9' y1='21' x2='20' y2='21' stroke='%23808080'/%3E%3C/svg%3E"); }
.ico-bin      { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8 9h16l-2 20H10z' fill='%23b0b8c0' stroke='%23000'/%3E%3Crect x='6' y='6' width='20' height='3' fill='%23808890' stroke='%23000'/%3E%3Cline x1='13' y1='12' x2='14' y2='26' stroke='%23606870'/%3E%3Cline x1='19' y1='12' x2='18' y2='26' stroke='%23606870'/%3E%3C/svg%3E"); }
.ico-ie       { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='13' fill='%231ea0e6' stroke='%23000'/%3E%3Cpath d='M5 16c6-4 16-4 22 0M16 3c-4 6-4 20 0 26' fill='none' stroke='%23fff'/%3E%3C/svg%3E"); }
.ico-shutdown { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='17' r='10' fill='none' stroke='%23c00' stroke-width='3'/%3E%3Cline x1='16' y1='5' x2='16' y2='16' stroke='%23c00' stroke-width='3'/%3E%3C/svg%3E"); }
.ico-info     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='13' fill='%231084d0' stroke='%23000'/%3E%3Ctext x='16' y='24' font-size='20' font-family='Georgia,serif' font-style='italic' fill='%23fff' text-anchor='middle'%3Ei%3C/text%3E%3C/svg%3E"); }
.ico-error    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='13' fill='%23e00' stroke='%23000'/%3E%3Cpath d='M11 11l10 10M21 11l-10 10' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E"); }
.ico-doc      { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8 3h12l5 5v21H8z' fill='%23fff' stroke='%23000'/%3E%3Cpath d='M20 3v5h5' fill='%23c0c0c0' stroke='%23000'/%3E%3Cline x1='11' y1='13' x2='22' y2='13' stroke='%23808080'/%3E%3Cline x1='11' y1='17' x2='22' y2='17' stroke='%23808080'/%3E%3Cline x1='11' y1='21' x2='18' y2='21' stroke='%23808080'/%3E%3C/svg%3E"); }

/* =========================================================================
   VENSTERS
   ========================================================================= */
.window {
  position: absolute; min-width: 240px;
  background: var(--gray);
  border: 2px solid; border-color: #ffffff #000000 #000000 #ffffff;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 var(--gray-dark), 2px 2px 6px var(--shadow);
  display: flex; flex-direction: column;
  animation: winOpen .12s ease;
}
@keyframes winOpen { from { transform: scale(.96); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.window.minimized { display: none; }
.window.maximized {
  top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
}

.title-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 3px 3px 3px 5px;
  background: linear-gradient(90deg, var(--navy), var(--navy-grad-2));
  color: #fff; cursor: move; user-select: none;
}
.window.inactive .title-bar { background: linear-gradient(90deg, var(--gray-dark), #b0b0b0); }
.title-bar .t-ico { width: 16px; height: 16px; }
.title-bar .t-text { flex: 1; font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.title-controls { display: flex; gap: 2px; }
.tc {
  width: 18px; height: 16px; line-height: 14px; text-align: center;
  background: var(--gray); color: #000; font-weight: 700; font-size: 11px;
  border: 2px solid; border-color: #ffffff #000000 #000000 #ffffff;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 var(--gray-dark);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.tc:active { border-color: #000000 #ffffff #ffffff #000000; box-shadow: inset 1px 1px 0 var(--gray-dark); }
.tc svg { display: block; }

/* menubalk (sommige vensters) */
.menu-bar {
  display: flex; gap: 0; padding: 2px 2px 3px;
  border-bottom: 1px solid var(--gray-dark);
}
.menu-bar span { padding: 2px 8px; }
.menu-bar span u { text-decoration: underline; }

.window-body {
  flex: 1; padding: 12px; overflow: auto; background: var(--gray);
  -webkit-overflow-scrolling: touch;
}

/* resize-greep rechtsonder */
.resizer {
  position: absolute; right: 0; bottom: 0; width: 16px; height: 16px;
  cursor: nwse-resize; touch-action: none;
}

/* =========================================================================
   VENSTER-INHOUD
   ========================================================================= */
h2 { margin: 0; font-size: 15px; }
p { margin: 0 0 10px; line-height: 1.45; }
.muted { color: #404040; }
.small { font-size: 11px; }

fieldset.grp {
  border: 1px solid var(--gray-dark); box-shadow: 1px 1px 0 #fff inset, -1px -1px 0 #fff;
  margin: 0 0 12px; padding: 10px 12px;
}
fieldset.grp legend { padding: 0 4px; font-weight: 700; }

dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 5px 14px; margin: 0; }
dl.kv dt { font-weight: 700; }
dl.kv dd { margin: 0; }

.dlg-buttons { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap; }

.btn {
  min-width: 78px; padding: 5px 12px; background: var(--gray); color: #000; cursor: pointer;
  border: 2px solid; border-color: #ffffff #000000 #000000 #ffffff;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 var(--gray-dark);
}
.btn:active { border-color: #000000 #ffffff #ffffff #000000; box-shadow: inset 1px 1px 0 var(--gray-dark); padding: 6px 11px 4px 13px; }
.btn:focus { outline: 1px dotted #000; outline-offset: -4px; }
.btn[disabled] { color: var(--gray-dark); text-shadow: 1px 1px 0 #fff; cursor: default; }

/* System properties / about kop */
.sysprops-head, .about-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sysprops-head h2, .about-head h2 { font-size: 16px; }
.sysprops-head p, .about-head p { margin: 2px 0 0; }

/* Contact */
.contact-cols { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-info { flex: 1 1 200px; min-width: 190px; }
.contact-info p { margin: 0 0 8px; }
.contact-form { flex: 1 1 260px; min-width: 240px; display: flex; flex-direction: column; }
.contact-form label { display: flex; flex-direction: column; gap: 3px; margin-bottom: 9px; font-weight: 700; }
.contact-form input, .contact-form textarea {
  padding: 4px 5px; background: #fff; color: #000; font-weight: 400;
  border: 2px solid; border-color: var(--gray-dark) #ffffff #ffffff var(--gray-dark);
  box-shadow: inset 1px 1px 0 #000;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }
.form-status { margin: 8px 0 0; font-weight: 700; min-height: 18px; }
.form-status.ok  { color: #006000; }
.form-status.err { color: #a00000; }

/* Explorer / projecten */
.explorer { display: flex; flex-direction: column; height: 100%; }
.explorer-toolbar { display: flex; align-items: center; gap: 8px; padding: 4px 2px 8px; }
.addr-bar { flex: 1; padding: 3px 6px; background: #fff;
  border: 2px solid; border-color: var(--gray-dark) #ffffff #ffffff var(--gray-dark); box-shadow: inset 1px 1px 0 #000; }
.explorer-body {
  flex: 1; background: #fff; padding: 12px; overflow: auto;
  border: 2px solid; border-color: var(--gray-dark) #ffffff #ffffff var(--gray-dark); box-shadow: inset 1px 1px 0 #000;
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px;
}
.explorer-status {
  margin-top: 6px; padding: 3px 8px;
  border: 1px solid; border-color: var(--gray-dark) #ffffff #ffffff var(--gray-dark);
}
.proj {
  width: 96px; padding: 8px 4px; cursor: pointer; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 1px dotted transparent;
}
.proj:hover { background: #e8eef7; }
.proj.selected { background: var(--navy); }
.proj.selected .proj-name { color: #fff; }
.proj-name { font-size: 12px; line-height: 1.25; }
.proj-thumb { width: 40px; height: 40px; }

.bin-empty { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }

/* Projectdetail */
.project-detail h2 { margin-bottom: 4px; }
.project-detail .tag {
  display: inline-block; background: var(--navy); color: #fff; padding: 1px 8px;
  font-size: 11px; margin: 0 4px 8px 0;
}
.project-detail .meta { color: #404040; margin-bottom: 10px; }
.project-detail .body p { margin-bottom: 10px; }
.project-detail .body ul { margin: 0 0 12px 18px; padding: 0; }
.project-detail .body li { margin-bottom: 4px; line-height: 1.4; }
.project-detail a.visit { display: inline-block; margin-top: 4px; }

/* Notepad */
.notepad { background: #fff; height: 100%;
  border: 2px solid; border-color: var(--gray-dark) #ffffff #ffffff var(--gray-dark); box-shadow: inset 1px 1px 0 #000; }
.notepad pre { margin: 0; padding: 10px; font-family: "Lucida Console","Courier New",monospace; font-size: 13px; white-space: pre-wrap; user-select: text; }

/* Generieke dialoog */
.dlg { padding: 4px; }
.dlg-body { display: flex; gap: 14px; align-items: center; padding: 12px 8px; }
.dlg-ico { width: 32px; height: 32px; flex: 0 0 auto; background-size: contain; background-repeat: no-repeat; }
.dlg-msg { margin: 0; line-height: 1.45; }

/* selecteerbare tekst in inhoudsvensters */
.window-body, .window-body * { user-select: text; }
.title-bar, .title-bar * { user-select: none; }

/* =========================================================================
   TAAKBALK
   ========================================================================= */
.taskbar {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--taskbar-h); z-index: 5000;
  display: flex; align-items: center; gap: 4px; padding: 3px 4px;
  background: var(--gray);
  border-top: 2px solid #ffffff;
  box-shadow: inset 0 1px 0 #dfdfdf;
}
.start-button {
  display: flex; align-items: center; gap: 5px; padding: 3px 8px 3px 5px; cursor: pointer;
  background: var(--gray); font-weight: 700;
  border: 2px solid; border-color: #ffffff #000000 #000000 #ffffff;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 var(--gray-dark);
}
.start-button.active { border-color: #000000 #ffffff #ffffff #000000; box-shadow: inset 1px 1px 0 var(--gray-dark); }
.start-flag, .start-banner b::before {
  width: 18px; height: 16px; display: inline-block; flex: 0 0 auto;
  background:
    linear-gradient(#ff3b30,#ff3b30) 0 0/8px 7px no-repeat,
    linear-gradient(#4cd964,#4cd964) 10px 0/8px 7px no-repeat,
    linear-gradient(#007aff,#007aff) 0 9px/8px 7px no-repeat,
    linear-gradient(#ffcc00,#ffcc00) 10px 9px/8px 7px no-repeat;
  transform: perspective(40px) rotateY(-12deg);
}
.task-divider { width: 0; }
.task-buttons { flex: 1; display: flex; gap: 4px; overflow: hidden; }
.task-btn {
  display: flex; align-items: center; gap: 6px; min-width: 120px; max-width: 170px;
  padding: 3px 8px; cursor: pointer; background: var(--gray); text-align: left;
  border: 2px solid; border-color: #ffffff #000000 #000000 #ffffff;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 var(--gray-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.task-btn .ico { width: 16px; height: 16px; }
.task-btn.active {
  border-color: #000000 #ffffff #ffffff #000000;
  box-shadow: inset 1px 1px 0 var(--gray-dark);
  background-image: repeating-linear-gradient(45deg,#bdbdbd 0 1px,#c8c8c8 1px 2px);
  font-weight: 700;
}
.task-btn span.lbl { overflow: hidden; text-overflow: ellipsis; }
.tray {
  display: flex; align-items: center; gap: 8px; padding: 2px 8px; margin-left: auto;
  border: 1px solid; border-color: var(--gray-dark) #ffffff #ffffff var(--gray-dark);
}
.tray-ico { width: 16px; height: 16px; }
.tray-vol { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6h3l3-3v10l-3-3H3z' fill='%23000'/%3E%3Cpath d='M11 5c1.5 1 1.5 5 0 6' fill='none' stroke='%23000'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.clock { font-size: 13px; min-width: 46px; text-align: center; }

/* =========================================================================
   STARTMENU
   ========================================================================= */
.start-menu {
  position: fixed; left: 4px; bottom: var(--taskbar-h); z-index: 6000;
  width: 232px; display: flex;
  background: var(--gray);
  border: 2px solid; border-color: #ffffff #000000 #000000 #ffffff;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 var(--gray-dark), 3px 3px 8px var(--shadow);
  animation: smOpen .1s ease;
}
@keyframes smOpen { from { transform: translateY(8px); opacity: .5; } to { transform: none; opacity: 1; } }
.start-banner {
  width: 30px; flex: 0 0 30px;
  background: linear-gradient(0deg, var(--navy), #1862a8);
  position: relative;
}
.start-banner span {
  position: absolute; bottom: 10px; left: 50%; transform: rotate(-90deg) translateX(0);
  transform-origin: left bottom; white-space: nowrap;
  color: #fff; font-size: 19px; font-weight: 400; letter-spacing: 1px;
}
.start-banner b { font-style: italic; font-weight: 700; }
.start-list { list-style: none; margin: 0; padding: 3px; flex: 1; }
.start-list li {
  display: flex; align-items: center; padding: 6px 14px 6px 6px; cursor: pointer; font-size: 14px;
}
.start-list li:hover { background: var(--navy); color: #fff; }
.start-list li.sep { height: 0; padding: 0; margin: 4px 2px;
  border-top: 1px solid var(--gray-dark); border-bottom: 1px solid #fff; cursor: default; }
.start-list li.sep:hover { background: none; }

/* =========================================================================
   CONTEXT-MENU
   ========================================================================= */
.context-menu {
  position: fixed; z-index: 7000; min-width: 160px; list-style: none; margin: 0; padding: 2px;
  background: var(--gray);
  border: 2px solid; border-color: #ffffff #000000 #000000 #ffffff;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 var(--gray-dark), 2px 2px 6px var(--shadow);
}
.context-menu li { padding: 4px 18px 4px 22px; cursor: pointer; }
.context-menu li:hover { background: var(--navy); color: #fff; }
.context-menu li.sep { padding: 0; margin: 3px 2px; height: 0;
  border-top: 1px solid var(--gray-dark); border-bottom: 1px solid #fff; cursor: default; }
.context-menu li.sep:hover { background: none; }

/* =========================================================================
   AFSLUITSCHERM
   ========================================================================= */
.shutdown {
  position: fixed; inset: 0; z-index: 9998; background: #000;
  color: #ffcc00; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; text-align: center; font-size: 22px; line-height: 1.6;
  animation: bootIn .4s ease;
}
.shutdown p { text-shadow: 0 0 8px rgba(255,204,0,.4); }
.shutdown button {
  font-size: 14px; padding: 8px 18px; cursor: pointer; color: #000; background: var(--gray);
  border: 2px solid; border-color: #ffffff #000000 #000000 #ffffff;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 var(--gray-dark);
}

/* =========================================================================
   MOBIEL — vensters vullen het scherm netjes, pictogrammen in raster
   ========================================================================= */
@media (max-width: 640px) {
  body { font-size: 14px; }
  .icons { flex-direction: row; height: auto; padding: 12px 8px; gap: 6px; }
  .icon { width: 76px; }
  .window:not(.maximized) {
    left: 8px !important; right: 8px !important; top: 8px !important;
    width: auto !important; max-width: none;
    max-height: calc(100% - 16px);
  }
  .contact-cols { flex-direction: column; }
  .start-menu { width: calc(100% - 8px); }
  .task-btn { min-width: 0; }
  .resizer { display: none; }
}
@media (max-width: 380px) {
  .boot-flag { width: 70px; height: 70px; }
  .boot-brand { font-size: 32px; }
}

/* respecteer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; }
}
