:root {
  font-family:
    Segoe UI,
    system-ui,
    sans-serif;
  color: #17382e;
  background: #f5f7f2;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 42px 24px;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
}
h1 {
  font-size: 44px;
  letter-spacing: -1.5px;
  margin: 8px 0;
}
h2 {
  font-size: 21px;
  margin: 0 0 18px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #557565;
}
p {
  line-height: 1.6;
}
.controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.badge {
  font-size: 13px;
  border-radius: 30px;
  background: #e3ecdf;
  padding: 10px 18px;
  text-align: center;
}
button,
input,
select,
textarea {
  font: inherit;
  border: 1px solid #c6d2c8;
  border-radius: 8px;
  padding: 10px 13px;
  background: white;
  color: inherit;
}
button {
  cursor: pointer;
}
button:hover {
  border-color: #237354;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
#pause,
#save {
  background: #215c44;
  color: white;
}
.toolbar {
  display: flex;
  gap: 14px;
  align-items: end;
  flex-wrap: wrap;
  margin: 20px 0;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
}
textarea {
  width: 100%;
  max-width: 620px;
  margin-bottom: 16px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cards article,
.columns article {
  background: white;
  border: 1px solid #dfe7dd;
  border-radius: 16px;
  padding: 24px;
}
.cards strong {
  display: block;
  font-size: 30px;
  line-height: 1.8;
  font-weight: 600;
}
.cards small,
.note {
  font-size: 13px;
  color: #657469;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}
section {
  margin: 28px 0;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0e9;
}
.row span {
  overflow-wrap: anywhere;
}
.bar {
  height: 4px;
  background: #dfece1;
  border-radius: 4px;
  margin-bottom: 10px;
}
.bar div {
  height: 100%;
  background: #4a8868;
  border-radius: 4px;
}
.empty {
  color: #79847a;
  padding: 18px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  text-align: left;
  color: #667569;
  font-weight: 500;
}
td,
th {
  padding: 12px 10px;
  border-bottom: 1px solid #e0e7dd;
}
td:nth-child(3) {
  overflow-wrap: anywhere;
}
.tablewrap {
  max-height: 480px;
  overflow: auto;
}
details {
  background: #edf1e8;
  border: 1px solid #dce3d8;
  padding: 20px;
  border-radius: 12px;
  margin: 16px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.danger {
  color: #a6382f;
}
#error {
  padding: 18px;
  background: #fff0de;
  color: #70441a;
  border-radius: 10px;
}
.days {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.days button {
  font-size: 13px;
}
footer {
  font-size: 12px;
  color: #788577;
  margin-top: 32px;
}
@media (max-width: 720px) {
  main {
    padding: 24px 16px;
  }
  header {
    align-items: start;
    flex-direction: column;
  }
  .cards,
  .columns {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 36px;
  }
  .cards article {
    padding: 18px;
  }
  .toolbar button {
    font-size: 13px;
  }
}
:root .app-group {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.app-group summary {
  font-weight: 400;
  display: flex;
  align-items: baseline;
  gap: 12px;
  list-style: none;
}
.app-group summary::-webkit-details-marker {
  display: none;
}
.app-group summary::before {
  content: '▸';
  color: #557565;
}
.app-group[open] summary::before {
  content: '▾';
}
.app-group summary span {
  flex: 1;
}
.app-group-items {
  padding-left: 20px;
  border-left: 2px solid #dfe7dd;
  margin: 12px 0 20px;
}
#apps .row strong {
  flex-shrink: 0;
  white-space: nowrap;
}
#apps .note {
  line-height: 1.5;
}
[hidden] {
  display: none !important;
}
#message {
  padding: 18px;
  border-radius: 10px;
  background: #e3ecdf;
}
#login {
  background: white;
  padding: 24px;
  border-radius: 16px;
}
h1 {
  font-size: 38px;
}
#email {
  min-width: 260px;
}
.cards strong {
  font-size: 26px;
}
@media (max-width: 720px) {
  h1 {
    font-size: 30px;
  }
  #email {
    min-width: 0;
    width: 100%;
  }
}
