/* ================= Snow-Leopard-Apps: Menüs, Dashboard, Safari, Mail,
   Notes, Photos, Calendar, iTunes, Paintbrush, Terminal ================= */

/* ---------- Menüleisten-Dropdowns ---------- */
.menu-item.has-menu { position: relative; }
.menu-item.open { background: linear-gradient(#4a90e8, #2a6fd0); color: #fff; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  padding: 4px 0;
  background: rgba(248, 248, 250, 0.96);
  border: 1px solid #a8a8a8;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  z-index: 600;
  cursor: default;
}
.menu-item.open .dropdown { display: block; }

.dd-item {
  padding: 3px 20px;
  font-size: 13px;
  color: #1a1a1a;
  white-space: nowrap;
}
.dd-item:hover { background: linear-gradient(#4a90e8, #2a6fd0); color: #fff; }
.dd-sep { height: 1px; margin: 4px 8px; background: #d5d5d5; }

/* ---------- Safari ---------- */
.window-safari { height: 500px; }

.safari-address {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  border-radius: 5px;
  border: 1px solid #a0a0a0;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.12);
  font-size: 11.5px;
  color: #555;
}
.sf-lock { font-size: 11px; }

.safari-content {
  flex: 1;
  overflow-y: auto;
  background: #fff;
  border-top: 1px solid #8e8e8e;
  padding: 26px 30px;
}

.sf-heading {
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
}

.sf-card {
  display: block;
  border: 1px solid #e2e2e6;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
}

a.sf-card { cursor: pointer; }
a.sf-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

.sf-media {
  position: relative;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #dfe8f5, #cdd9ee 60%, #e8eefc);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-media-pad img { object-fit: contain; padding: 16px 20px 0; }
.sf-hint {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  color: #8a94a8;
}

.sf-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
}
.sf-meta h3 { font-size: 15px; color: #111; margin-bottom: 2px; }
.sf-meta p { font-size: 12px; color: #777; }
.sf-tag {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  border: 1px solid #d5d5d7;
  border-radius: 999px;
  padding: 5px 12px;
}

.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sf-row .sf-media { aspect-ratio: 16 / 9; }

/* ---------- Mail ---------- */
.mail-toolbar {
  display: flex;
  align-items: center;
  padding: 4px 10px 7px;
  margin-top: 22px;
}
.mail-tb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 3px 10px;
  border: 1px solid #999;
  border-radius: 5px;
  background: linear-gradient(#fdfdfd, #d8d8d8);
  font-size: 9.5px;
  color: #444;
  cursor: default;
}
.mail-tb-btn:active { background: linear-gradient(#c8c8c8, #b0b0b0); }

.mail-field-split input + input { border-left: 1px solid #e2e2e2; padding-left: 8px; }

.mail-alt {
  margin-right: auto;
  font-size: 11px;
  color: #4a6fa5;
  text-decoration: none;
}
.mail-alt:hover { text-decoration: underline; }

/* ---------- Notes (gelber Notizblock) ---------- */
.window-notes { height: 480px; }

.notes-paper {
  flex: 1;
  overflow-y: auto;
  padding: 26px 28px 30px;
  background:
    linear-gradient(#fdf8c8, #fdf8c8 28px, #f9f3b8 29px) top / 100% 29px repeat-y,
    #fdf8c8;
  background-image: repeating-linear-gradient(#fdf9d4 0 27px, #e8dfa0 27px 28px);
  background-attachment: local; /* Linien scrollen mit dem Text */
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  color: #3a3222;
  line-height: 28px;
  font-size: 13px;
}
.notes-date { font-size: 10.5px; color: #a2986e; text-align: center; }
.notes-paper h2 { font-size: 19px; line-height: 28px; }
.notes-sub { color: #6e6440; }
.notes-paper h3 { font-size: 14px; line-height: 28px; margin-top: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: #8a7d4a; }
.notes-paper p { margin-bottom: 0; }
.notes-paper strong { color: #2c2718; }
.notes-paper ul { list-style: none; }
.notes-paper li { line-height: 28px; padding-left: 18px; position: relative; }
.notes-paper li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #b3a25f;
}

/* ---------- Photos (iPhoto-Look) ---------- */
.window-photos { height: 460px; }

.photos-content { flex: 1; display: flex; min-height: 0; border-top: 1px solid #555; }

.photos-sidebar {
  width: 150px;
  flex-shrink: 0;
  background: #dde3ea;
  border-right: 1px solid #9a9a9a;
  padding: 8px 0;
  font-size: 11.5px;
}
.ph-item { padding: 3.5px 12px; color: #222; cursor: default; white-space: nowrap; }
.ph-item.selected { background: linear-gradient(#7ba0d0, #5a82b8); color: #fff; font-weight: 600; }

.photos-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #3b3b3b; /* dunkler iPhoto-Hintergrund */
  overflow-y: auto;
}

.photos-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
}

.photo-tile {
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  background: linear-gradient(135deg, #5a6478, #47506b);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  background-size: cover;
  background-position: center;
  position: relative;
}
.photo-tile::after {
  content: attr(data-n);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}
.photo-tile.loaded::after { display: none; }

.photos-hint {
  padding: 8px 14px;
  font-size: 10.5px;
  color: #999;
  background: #2e2e2e;
  border-top: 1px solid #222;
}

/* ---------- Calendar ---------- */
.window-calendar { height: 480px; }

.cal-head {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 52px repeat(5, 1fr);
  background: linear-gradient(#f4f4f4, #e2e2e2);
  border-top: 1px solid #fff;
  border-bottom: 1px solid #b0b0b0;
  font-size: 11.5px;
  font-weight: 600;
  color: #444;
}
.cal-head > div { padding: 6px 4px; text-align: center; }
.cal-head .cal-today { color: #2a6fd0; }

.cal-grid-wrap { flex: 1; overflow-y: auto; background: #fff; }

.cal-grid {
  display: grid;
  grid-template-columns: 52px repeat(5, 1fr);
}
.cal-time {
  font-size: 9.5px;
  color: #999;
  text-align: right;
  padding: 2px 6px 0 0;
  border-top: 1px solid #eee;
  height: 24px;
}
.cal-slot {
  border-top: 1px solid #eee;
  border-left: 1px solid #f0f0f0;
  height: 24px;
  cursor: pointer;
}
.cal-slot:hover { background: #eaf2fd; }
.cal-slot.taken { background: repeating-linear-gradient(45deg, #f3f3f3 0 6px, #ececec 6px 12px); cursor: default; }
.cal-slot.selected { background: #2a6fd0; border-radius: 4px; }

.cal-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  background: linear-gradient(#f0f0f0, #d8d8d8);
  border-top: 1px solid #b0b0b0;
  font-size: 11.5px;
  color: #444;
}

/* ---------- iTunes ---------- */
.window-itunes { height: 480px; }

.itunes-player {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  background: linear-gradient(#f2f2f2, #d5d5d5);
  border-top: 1px solid #fff;
  border-bottom: 1px solid #a8a8a8;
}
.it-controls { display: flex; align-items: center; gap: 8px; }
.it-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid #9a9a9a;
  background: radial-gradient(circle at 50% 35%, #fdfdfd, #d0d0d0);
  font-size: 11px;
  color: #444;
  cursor: default;
}
.it-play { width: 38px; height: 38px; font-size: 14px; }
.it-btn:active { background: radial-gradient(circle at 50% 35%, #d5d5d5, #b8b8b8); }

.it-lcd {
  flex: 1;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid #9aa08a;
  background: linear-gradient(#eef3dc, #dbe3c3);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.18);
  text-align: center;
}
.it-lcd-title { font-size: 11.5px; color: #4a5138; }
.it-lcd-bar {
  height: 4px;
  margin-top: 4px;
  border-radius: 2px;
  background: rgba(0,0,0,0.12);
  overflow: hidden;
}
.it-lcd-bar span { display: block; height: 100%; width: 0; background: #7a8563; }

.itunes-content { flex: 1; display: flex; min-height: 0; }
.itunes-sidebar {
  width: 150px;
  flex-shrink: 0;
  background: #dde3ea;
  border-right: 1px solid #9a9a9a;
  padding: 8px 0;
  font-size: 11.5px;
}
.itunes-main { flex: 1; background: #fff; overflow-y: auto; }

.it-album {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #e2e2e2;
}
.it-cover {
  width: 92px; height: 92px;
  flex-shrink: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #6a5acd, #b44fd0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,0.85);
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}
.it-album-info h3 { font-size: 16px; color: #222; }
.it-album-info p { font-size: 11.5px; color: #888; margin: 3px 0 8px; }

.it-tracks { width: 100%; border-collapse: collapse; font-size: 12px; }
.it-tracks tr { cursor: default; }
.it-tracks tr:nth-child(even) { background: #f3f6fa; }
.it-tracks tr:hover { background: #eaf2fd; }
.it-tracks tr.playing { background: linear-gradient(#7ba0d0, #5a82b8); color: #fff; }
.it-tracks td { padding: 5px 12px; }
.it-num { width: 28px; color: #999; }
.it-tracks tr.playing .it-num { color: #dce8f8; }
.it-art { width: 34%; color: #999; }
.it-time { width: 44px; text-align: right; color: #999; }
.it-tracks tr.playing .it-art, .it-tracks tr.playing .it-time { color: #dce8f8; }

/* ---------- Paintbrush ---------- */
.paint-toolbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: linear-gradient(#f0f0f0, #d8d8d8);
  border-top: 1px solid #fff;
  border-bottom: 1px solid #a8a8a8;
  font-size: 11px;
  color: #444;
}
.paint-swatch {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
  cursor: pointer;
}
.paint-swatch.selected { outline: 2px solid #2a6fd0; }
.paint-divider { width: 1px; height: 22px; background: #b5b5b5; margin: 0 4px; }
.paint-size { display: flex; align-items: center; gap: 6px; }
.paint-size input { width: 90px; }
#paint-eraser.active { background: linear-gradient(#c5d8f0, #9dbfe8); }

#paint-canvas {
  flex: 1;
  min-height: 0;
  background: #fff;
  cursor: crosshair;
  display: block;
  width: 100%;
}

/* ---------- Terminal ---------- */
.window-terminal { height: 420px; }

.term-body {
  flex: 1;
  overflow-y: auto;
  background: #1e1f26;
  padding: 10px 12px;
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  color: #d8dae5;
  cursor: text;
}
#term-out div { white-space: pre-wrap; word-break: break-word; }
.term-accent { color: #e8756a; }
.term-green { color: #7ece81; }
.term-line { display: flex; gap: 7px; align-items: baseline; }
.term-prompt { color: #7ece81; white-space: nowrap; }
#term-in {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  color: #d8dae5;
  caret-color: #d8dae5;
}

/* ---------- Dashboard ---------- */
#dashboard {
  position: absolute;
  inset: 0;
  z-index: 450;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 46px;
  background: rgba(0, 0, 0, 0.45);
}
#dashboard.open { display: flex; }

.widget {
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.3, 1.5, 0.6, 1), opacity 0.2s;
}
#dashboard.open .widget { transform: scale(1); opacity: 1; }

/* Uhr-Widget */
.widget-clock .clock-face {
  position: relative;
  width: 150px; height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.16), rgba(255,255,255,0) 55%),
    radial-gradient(circle, #f8f8f4 0 58%, #2b2b2e 58.5%);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6), inset 0 2px 3px rgba(255,255,255,0.35);
}
.clock-hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform-origin: bottom center;
  border-radius: 3px;
  background: #222;
}
.clock-h { width: 5px; height: 32px; margin-left: -2.5px; }
.clock-m { width: 3.5px; height: 45px; margin-left: -1.75px; }
.clock-s { width: 1.5px; height: 50px; margin-left: -0.75px; background: #d43; }
.clock-dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #222;
}

/* Rechner-Widget */
.widget-calc {
  width: 190px;
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(#3d434f, #23272f);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}
.calc-display {
  height: 38px;
  margin-bottom: 8px;
  border-radius: 6px;
  background: linear-gradient(#dbe3c3, #eef3dc);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 19px;
  color: #333c22;
  overflow: hidden;
}
.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.calc-grid button {
  height: 30px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(#f4f4f4, #c8c8c8);
  font-size: 13px;
  color: #222;
  box-shadow: 0 1px 2px rgba(0,0,0,0.45);
  cursor: default;
}
.calc-grid button.op { background: linear-gradient(#ffb75e, #f5931e); color: #fff; }
.calc-grid button.zero { grid-column: span 2; }
.calc-grid button:active { filter: brightness(0.85); }

/* Wetter-Widget */
.widget-weather {
  width: 190px;
  border-radius: 16px;
  padding: 18px 16px 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(#69a9e8 0%, #3b7ccb 100%);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6), inset 0 1px 2px rgba(255,255,255,0.5);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.weather-city { font-size: 15px; font-weight: 600; }
.weather-icon { font-size: 44px; margin: 6px 0; }
.weather-temp { font-size: 34px; font-weight: 300; }
.weather-desc { font-size: 11px; opacity: 0.9; margin-top: 4px; }

/* ================= System Settings (Tahoe) ================= */
.window-settings { height: 540px; }

.st-content {
  flex: 1;
  display: flex;
  min-height: 0;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.st-sidebar {
  width: 215px;
  flex-shrink: 0;
  background: #f0f0f3;
  border-right: 1px solid #e0e0e2;
  padding: 10px;
  overflow-y: auto;
}

.st-search {
  width: 100%;
  height: 26px;
  border: none;
  border-radius: 7px;
  background: #e2e2e6;
  padding: 0 10px;
  font-size: 12px;
  color: #666;
  outline: none;
  margin-bottom: 10px;
}

.st-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 12px;
}
.st-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a5acd, #b44fd0);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.st-profile strong { display: block; font-size: 12.5px; color: #1d1d1f; }
.st-profile span { font-size: 10.5px; color: #86868b; }

.st-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 12.5px;
  color: #1d1d1f;
  cursor: default;
}
.st-item.selected { background: #2668d9; color: #fff; }

.st-ic {
  width: 21px; height: 21px;
  flex-shrink: 0;
  border-radius: 5.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
}

.st-main {
  flex: 1;
  overflow-y: auto;
  background: #f6f6f9;
  padding: 22px 26px;
}

.st-panel { display: none; }
.st-panel.open { display: block; }

.st-panel h2 { font-size: 21px; font-weight: 700; color: #1d1d1f; margin-bottom: 16px; }
.st-panel h3 { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: #86868b; margin: 18px 0 6px; }

.st-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.08);
}
.st-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  font-size: 13px;
  color: #1d1d1f;
  border-bottom: 0.5px solid #e5e5e7;
}
.st-row:last-child { border-bottom: none; }
.st-row small { color: #86868b; font-size: 11px; }
.st-val { color: #86868b; font-size: 12.5px; text-align: right; }
.st-note { font-size: 11.5px; color: #86868b; margin: 8px 4px 0; }

.st-toggle {
  width: 38px; height: 22px;
  border-radius: 11px;
  background: #d1d1d6;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.st-toggle::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: left 0.2s;
}
.st-toggle.on { background: #34c759; }
.st-toggle.on::after { left: 18px; }

.st-range { width: 180px; accent-color: #2668d9; }
.st-btn {
  border: none;
  border-radius: 6px;
  background: #e9e9ec;
  padding: 5px 14px;
  font-size: 12px;
  color: #1d1d1f;
  cursor: pointer;
}
.st-btn:active { background: #d5d5d9; }

.st-modes { display: flex; gap: 10px; }
.st-mode {
  padding: 24px 26px 6px;
  border-radius: 8px;
  font-size: 11.5px;
  color: #555;
  background: linear-gradient(#fdfdfd 0 60%, #f0f0f2 60%);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.15);
  cursor: pointer;
  text-align: center;
}
.st-mode#st-dark { background: linear-gradient(#3a3a3c 0 60%, #f0f0f2 60%); }
.st-mode.selected { outline: 2.5px solid #2668d9; }

.st-walls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.st-wall {
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.st-wall.selected { outline: 3px solid #2668d9; outline-offset: 1px; }
.st-wall span {
  position: absolute;
  left: 0; right: 0; bottom: -20px;
  text-align: center;
  font-size: 11px;
  color: #555;
}
.st-walls { margin-bottom: 26px; }

/* ================= Finder: Auswahl + Ansichten ================= */
.project-item.sel { background: #d6e4f7; }
.finder-empty { grid-column: 1 / -1; padding: 40px; text-align: center; font-size: 12px; color: #999; }

.finder-main.view-list .project-grid { display: block; }
.finder-main.view-list .project-item {
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
  gap: 10px;
  padding: 4px 8px;
  border-radius: 4px;
}
.finder-main.view-list .project-folder { width: 22px; height: 22px; }
.finder-main.view-list .project-desc { display: none; }

.finder-main.view-big .project-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.finder-main.view-big .project-folder { width: 84px; height: 84px; }

/* ================= Notes (Tahoe): Checklisten-Ansicht ================= */
.notes-modern { display: none; }
body.theme-tahoe .notes-paper { display: none; }
body.theme-tahoe .notes-modern {
  display: flex;
  flex: 1;
  min-height: 0;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.nm-sidebar {
  width: 160px;
  flex-shrink: 0;
  background: #f0f0ed;
  border-right: 1px solid #e0e0dc;
  padding: 12px 8px;
}
.nm-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
  cursor: default;
}
.nm-item span { font-size: 12px; font-weight: 400; color: #86868b; }
.nm-item.selected { background: #ffe3b3; }

.nm-main {
  flex: 1;
  overflow-y: auto;
  background: #fff;
  padding: 20px 26px;
}
.nm-list { display: none; }
.nm-list.open { display: block; }
.nm-list h3 { font-size: 15px; font-weight: 700; color: #1d1d1f; margin: 14px 0 8px; }
.nm-list h3:first-child { margin-top: 0; }

.nm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 13.5px;
  color: #1d1d1f;
  cursor: default;
}
.nm-tick {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid #d1d1d6;
  position: relative;
}
.nm-check.done .nm-tick {
  background: #f5a623;
  border-color: #f5a623;
}
.nm-check.done .nm-tick::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 2.5px;
  width: 4.5px;
  height: 8.5px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.nm-check.done { color: #86868b; }

/* ================= Contacts (Tahoe: About-Me-Karte) ================= */
.window-contacts { height: 520px; }

.ct-content {
  flex: 1;
  display: flex;
  min-height: 0;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.ct-list {
  width: 210px;
  flex-shrink: 0;
  background: #f5f5f7;
  border-right: 1px solid #e0e0e2;
  padding: 10px;
  overflow-y: auto;
}
.ct-me {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  background: #dcdce0;
}
.ct-me strong { display: block; font-size: 12.5px; color: #0a70f5; }
.ct-me span { font-size: 11px; color: #86868b; }

.ct-avatar-s {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a5acd, #b44fd0);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-avatar-s.alt { background: linear-gradient(#8e9bb5, #6b7994); }

.ct-letter {
  font-size: 11px;
  font-weight: 700;
  color: #86868b;
  padding: 10px 8px 2px;
  border-bottom: 1px solid #e5e5e7;
}
.ct-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  font-size: 13px;
  color: #1d1d1f;
}

.ct-card {
  flex: 1;
  overflow-y: auto;
  background: linear-gradient(#b9a897 0%, #8d7f72 42%, #6f6459 100%);
  display: flex;
  flex-direction: column;
}

.ct-hero {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 20px 18px;
}
.ct-avatar-big {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a5acd, #b44fd0);
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  margin-bottom: 14px;
}
.ct-hero h2 {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.ct-info {
  margin: 8px 18px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.ct-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 0.5px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 13.5px;
}
.ct-line:last-child { border-bottom: none; }
.ct-line small {
  display: block;
  font-size: 10.5px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1px;
}
.ct-btn {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}
.ct-btn:hover { background: rgba(255,255,255,0.4); }
