:root {
  font:
    16px/1.6 system-ui,
    sans-serif;
  color: #19312f;
  background: #f5f7f5;
}
body {
  margin: 0;
}
header {
  background: #153d36;
  color: white;
  padding: 20px 32px;
  display: flex;
  gap: 12px;
  align-items: center;
}
header button {
  margin-left: auto;
}
main {
  max-width: 1000px;
  margin: 28px auto;
  padding: 0 24px;
}
section {
  background: white;
  border: 1px solid #dce5df;
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
}
h1,
h2 {
  line-height: 1.3;
}
label {
  display: block;
  margin: 12px 0;
}
input {
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  width: 360px;
  padding: 10px;
  border: 1px solid #77918a;
  border-radius: 6px;
  font: inherit;
}
button {
  padding: 10px 16px;
  margin: 8px 8px 8px 0;
  border: 0;
  border-radius: 6px;
  background: #1c6655;
  color: white;
  font: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid #d18a1d;
  outline-offset: 3px;
}
output {
  display: block;
  overflow-wrap: anywhere;
  font-family: monospace;
  background: #eef4ef;
  padding: 12px;
}
#enrollment-qr {
  display: block;
  max-width: 100%;
  height: auto;
  background: white;
}
#enrollment details {
  margin: 16px 0;
}
#notice:not(:empty) {
  background: #fff4d8;
  padding: 12px;
}
#customers {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
#backup-offsite-panel {
  border-top: 1px solid #dce5df;
  margin: 16px 0;
  padding-top: 8px;
  overflow-wrap: anywhere;
}
#backup-offsite-summary {
  overflow-wrap: anywhere;
}
li {
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}

select {
  display: block;
  box-sizing: border-box;
  width: 360px;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #77918a;
  border-radius: 6px;
  font: inherit;
  background: white;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input {
  display: inline;
  width: auto;
}
#platform-account-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
select:focus-visible {
  outline: 3px solid #d18a1d;
  outline-offset: 3px;
}

#platform-account-list button {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}
@media (max-width: 600px) {
  main {
    padding: 0 12px;
  }
  section {
    padding: 16px;
  }
  #workspace > section {
    border: 0;
    padding: 0;
  }
}

#platform-account-title {
  overflow-wrap: anywhere;
}

#customers button,
#deployments button {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}
#deployment-facts {
  padding-left: 20px;
}
#deployment-facts li {
  border-bottom: 1px solid #dce5df;
  padding: 12px 0;
}
#deployment-facts p {
  margin: 4px 0;
  overflow-wrap: anywhere;
}
#deployment-facts details {
  font-size: 0.9rem;
  color: #49635d;
}
#customer-title,
#customer-overview-title,
#fleet-summary {
  overflow-wrap: anywhere;
}

#operation-list,
#audit-list {
  padding-left: 20px;
}
#operation-list li,
#audit-list li {
  border-bottom: 1px solid #dce5df;
  padding: 12px 0;
  overflow-wrap: anywhere;
}
#operation-list button,
#operation-detail {
  max-width: 100%;
  overflow-wrap: anywhere;
}
#operation-record {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 100%;
  font-size: 0.85rem;
}
#operation-title,
#operations-time {
  overflow-wrap: anywhere;
}

#entitlements-panel {
  min-width: 0;
  overflow-wrap: anywhere;
}

#invitation-command-panel {
  min-width: 0;
  overflow-wrap: anywhere;
}

#preparation-panel, #preparation-binding, #preparation-history li { min-width:0;overflow-wrap:anywhere; }
#preparation-panel select, #preparation-panel button { max-width:100%; }
#preparation-history { padding-left:20px; }
#preparation-history li { padding:12px 0;border-bottom:1px solid #dce5df; }
#preparation-review { margin:16px 0;padding:16px;background:#eef4ef;border-radius:8px; }

/* Keep the native date/time segments visible in the nested mobile form. */
#backup-policy-due {
  font-size: 0.875rem;
}
