body {
  margin: 0;
  min-height: 100vh;
  background: #101010;
  color: var(--ink);
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}
.customer-panel {
  box-sizing: border-box;
  width: min(100% - 32px, 560px);
  margin: 8vh auto;
  padding: clamp(20px, 5vw, 40px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  background: var(--glass);
}
.customer-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.customer-header img { display: block; filter: brightness(5) invert(0); }
.customer-panel p { color: var(--muted); }
.customer-panel form, .customer-panel label { display: grid; gap: 12px; }
.customer-panel form { gap: 20px; }
.customer-panel input, .customer-panel button, .customer-panel select {
  box-sizing: border-box;
  min-height: 44px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: #222;
  font: inherit;
}
.customer-panel input { width: 100%; }
.customer-panel button { cursor: pointer; }
.customer-panel button:disabled { opacity: .5; cursor: not-allowed; }
.customer-panel :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.customer-panel [aria-pressed="true"] { background: #444; }
.customer-panel #customer-status[data-error="true"] { color: #ffb8b8; }
.customer-panel [hidden] { display: none; }
.customer-portal { width: min(100% - 32px, 960px); }
.customer-project-controls, .customer-project-pagination { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.customer-project-controls label { flex: 1; min-width: 0; }
.customer-project-controls select { width: 100%; min-width: 0; }
.customer-projects { display: grid; gap: 20px; margin: 20px 0; }
.customer-project-card { padding: 20px; border: 1px solid var(--glass-border); border-radius: 16px; min-width: 0; }
.customer-project-card h3 { margin-top: 0; overflow-wrap: anywhere; }
.customer-project-card dl { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr); gap: 8px 16px; }
.customer-project-card dt { color: var(--muted); }
.customer-project-card dd { margin: 0; overflow-wrap: anywhere; }
.customer-project-notice { white-space: pre-wrap; overflow-wrap: anywhere; }
.customer-project-card details > summary { cursor: pointer; }
.customer-project-pagination { margin-bottom: 24px; }
@media (max-width: 360px) {
  .customer-panel { width: calc(100% - 16px); padding: 16px; }
}
