/* System UI Classic Desktop Nostalgia Theme */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Tahoma, sans-serif;
  color: #111111;
  background-color: #0A6E6E;
  background-image: repeating-linear-gradient(0deg, #0A6E6E, #0A6E6E 2px, #085555 2px, #085555 4px);
  min-height: 100vh;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.desktop-viewport {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.window-frame {
  background-color: #EFE9DC;
  border: 3px solid #111111;
  box-shadow: 4px 4px 0px #111111;
}

.window-titlebar {
  background-color: #0A6E6E;
  color: #EFE9DC;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #111111;
  user-select: none;
}

.window-title {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.window-title-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #EFE9DC;
  border: 1px solid #111111;
}

.window-controls {
  display: flex;
  gap: 4px;
}

.btn-control {
  width: 18px;
  height: 18px;
  background-color: #A8A8A8;
  border-top: 2px solid #EFE9DC;
  border-left: 2px solid #EFE9DC;
  border-right: 2px solid #111111;
  border-bottom: 2px solid #111111;
  color: #111111;
  font-family: Tahoma, monospace;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  cursor: default;
  user-select: none;
}

.menu-toolbar {
  background-color: #EFE9DC;
  border-bottom: 2px solid #A8A8A8;
  padding: 4px 8px;
  display: flex;
  gap: 16px;
}

.menu-item {
  font-family: Tahoma, sans-serif;
  font-size: 12px;
  color: #111111;
  text-decoration: none;
  padding: 2px 6px;
}

.menu-item:hover,
.menu-item.active {
  background-color: #000080;
  color: #EFE9DC;
}

.menu-item u {
  text-decoration: underline;
}

.window-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-inset {
  background-color: #EFE9DC;
  border-top: 2px solid #A8A8A8;
  border-left: 2px solid #A8A8A8;
  border-right: 2px solid #EFE9DC;
  border-bottom: 2px solid #EFE9DC;
  box-shadow: inset 1px 1px 0px #111111;
  padding: 14px;
}

.panel-inset-deep {
  background-color: #EFE9DC;
  border: 2px solid #111111;
  border-top-color: #111111;
  border-left-color: #111111;
  border-right-color: #A8A8A8;
  border-bottom-color: #A8A8A8;
  padding: 14px;
}

h1, h2, h3, h4 {
  font-family: Arial, sans-serif;
  color: #111111;
  margin-bottom: 8px;
}

h1 {
  font-size: 18px;
  line-height: 1.3;
}

h2 {
  font-size: 16px;
  line-height: 1.3;
}

h3 {
  font-size: 14px;
}

p {
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 8px;
  color: #111111;
}

p:last-child {
  margin-bottom: 0;
}

.lead-question {
  font-weight: bold;
  font-size: 14px;
  color: #000080;
}

.system-fieldset {
  border: 2px solid #A8A8A8;
  padding: 12px;
  margin-top: 8px;
  background-color: #EFE9DC;
}

.system-legend {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: #111111;
  padding: 0 6px;
}

.media-frame {
  border: 2px solid #111111;
  padding: 3px;
  background-color: #A8A8A8;
  margin: 10px 0;
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #111111;
}

.button-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.chunky-btn {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  padding: 6px 14px;
  cursor: pointer;
  border-top: 3px solid #EFE9DC;
  border-left: 3px solid #EFE9DC;
  border-right: 3px solid #111111;
  border-bottom: 3px solid #111111;
  box-shadow: 1px 1px 0px #111111;
  text-align: center;
}

.chunky-btn:active {
  border-top: 3px solid #111111;
  border-left: 3px solid #111111;
  border-right: 3px solid #EFE9DC;
  border-bottom: 3px solid #EFE9DC;
  padding: 7px 13px 5px 15px;
}

.btn-primary {
  background-color: #000080;
  color: #EFE9DC;
}

.btn-secondary {
  background-color: #EFE9DC;
  color: #111111;
}

.quote-box {
  background-color: #EFE9DC;
  border-left: 4px solid #000080;
  padding: 8px 12px;
  margin-top: 6px;
}

.quote-author {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: #0A6E6E;
  margin-top: 4px;
}

.status-bar {
  background-color: #EFE9DC;
  border-top: 2px solid #A8A8A8;
  padding: 4px 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
}

.status-cell {
  border-top: 1px solid #111111;
  border-left: 1px solid #111111;
  border-right: 1px solid #EFE9DC;
  border-bottom: 1px solid #EFE9DC;
  padding: 2px 8px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-cell a {
  color: #111111;
  text-decoration: underline;
}

.status-cell a:hover {
  background-color: #000080;
  color: #EFE9DC;
}

.privacy-section {
  margin-top: 8px;
  padding: 10px;
  border: 1px dashed #A8A8A8;
  background-color: #EFE9DC;
  font-size: 11px;
}

@media (max-width: 600px) {
  body {
    padding: 8px;
  }
  
  .window-titlebar {
    font-size: 12px;
  }
  
  .button-strip {
    flex-direction: column;
  }
  
  .chunky-btn {
    width: 100%;
  }
  
  .status-bar {
    flex-direction: column;
  }
}
