:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #e4e9e8;
  background: #0c1213;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 960px;
  margin: auto;
  padding: 28px 24px 40px;
}
header,
.row,
.actions,
.status {
  display: flex;
  align-items: center;
  gap: 16px;
}
header {
  justify-content: space-between;
  margin-bottom: 60px;
}
header a {
  font-size: 23px;
  letter-spacing: -1px;
  font-weight: 650;
  color: #fff;
  text-decoration: none;
}
header a span {
  font-size: 14px;
  font-weight: 400;
  color: #8c9b9c;
  letter-spacing: 0;
}
.badge,
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #8baba5;
}
.badge {
  border: 1px solid #30403e;
  padding: 8px 10px;
  border-radius: 20px;
}
.intro {
  margin-bottom: 30px;
}
h1 {
  font-size: clamp(34px, 6vw, 55px);
  font-weight: 500;
  letter-spacing: -2px;
  margin: 14px 0;
}
p {
  color: #9cadaa;
  line-height: 1.6;
}
h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 12px;
}
.panel {
  background: #131d1e;
  border: 1px solid #2b3939;
  border-radius: 22px;
  padding: 26px;
  margin: 18px 0;
}
.status {
  font-size: 15px;
  justify-content: center;
}
.light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #758582;
}
.light.good {
  background: #a8e7bf;
  box-shadow: 0 0 16px #a8e7bf55;
}
.light.warn {
  background: #f7c777;
}
.orb {
  height: 172px;
  width: 172px;
  border-radius: 50%;
  border: 1px solid #51786a;
  box-shadow:
    0 0 40px #91dab00a,
    inset 0 0 40px #91dab00a;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.orb span {
  font-size: 35px;
  font-variant-numeric: tabular-nums;
}
.orb small {
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 8px;
  color: #80938f;
}
.orb.active {
  animation: breathe 2s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    box-shadow:
      0 0 40px #91dab025,
      inset 0 0 30px #91dab018;
    border-color: #a0cbb3;
  }
}
button,
a {
  touch-action: manipulation;
}
button {
  font: inherit;
  font-size: 14px;
  border: 1px solid #3a4f4a;
  border-radius: 12px;
  background: #20302d;
  color: #e5efea;
  padding: 12px 17px;
  cursor: pointer;
}
button:hover {
  border-color: #8ca99d;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
.primary {
  display: block;
  margin: 0 auto;
  width: min(100%, 340px);
  background: #c5e9bf;
  color: #14291c;
  border: 0;
  font-weight: 600;
  padding: 17px;
}
.hint {
  font-size: 12px;
  line-height: 1.6;
  color: #92a3a0;
}
#recorder .hint {
  text-align: center;
  max-width: 350px;
  margin: 18px auto 28px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #2b3939;
  padding-top: 24px;
  gap: 12px;
  margin-top: 25px;
}
.metrics strong {
  display: block;
  font-size: 28px;
  font-weight: 450;
  font-variant-numeric: tabular-nums;
}
.metrics small {
  display: block;
  color: #95a8a2;
  font-size: 11px;
  margin-top: 8px;
}
.detail {
  font-size: 13px;
  margin-bottom: 0;
}
.error {
  background: #462b27;
  padding: 14px;
  border-radius: 10px;
  color: #ffd6c9;
}
input {
  width: 100%;
  font: inherit;
  font-size: 13px;
  padding: 13px;
  background: #0c1514;
  color: #c4d9d0;
  border: 1px solid #344b43;
  border-radius: 10px;
  margin: 5px 0 15px;
}
.actions {
  flex-wrap: wrap;
}
.actions a {
  color: #bdd9c7;
  font-size: 13px;
}
.row {
  justify-content: space-between;
  flex-wrap: wrap;
}
.row h2 {
  margin: 0;
}
.table-wrap {
  overflow: auto;
  max-height: 340px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  white-space: nowrap;
}
th,
td {
  text-align: left;
  padding: 13px 10px;
  border-bottom: 1px solid #2b3939;
}
th {
  color: #a2b3ae;
  font-weight: 400;
  position: sticky;
  top: 0;
  background: #131d1e;
}
.late {
  color: #f3c67e;
}
.danger {
  margin-top: 24px;
  color: #e2ada1;
  background: transparent;
}
footer {
  font-size: 12px;
  color: #718580;
  line-height: 1.8;
  margin-top: 35px;
}
audio {
  width: 100%;
  margin-top: 20px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 550px) {
  main {
    padding: 22px 16px;
  }
  header {
    margin-bottom: 42px;
  }
  header a span {
    display: none;
  }
  .panel {
    padding: 22px 18px;
  }
  .metrics strong {
    font-size: 25px;
  }
  .badge {
    font-size: 9px;
  }
  h1 {
    letter-spacing: -1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .orb.active {
    animation: none;
  }
}

.transcript-box {
  min-height: 140px;
  max-height: 360px;
  overflow: auto;
  font-size: 19px;
  line-height: 1.65;
  color: #9cadaa;
}
.transcript-box p {
  margin: 0 0 16px;
}
.transcript-box .confirmed {
  color: #e5efea;
}
.transcript-box .partial {
  color: #94b8a5;
}

.minutes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.minutes-grid h3 {
  font-size: 15px;
  font-weight: 500;
  color: #b9d7c7;
  margin: 0 0 14px;
}
.minutes-grid article {
  border: 1px solid #344940;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.minutes-grid h4 {
  font-size: 16px;
  font-weight: 550;
  margin: 10px 0 8px;
}
.minutes-grid p {
  font-size: 14px;
  margin: 8px 0;
}
.minutes-grid .minutes-meta {
  font-size: 12px;
  color: #c2d3c9;
}
.minutes-badge {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #b8d8c0;
  border: 1px solid #42604e;
  padding: 3px 7px;
  border-radius: 12px;
}
.minutes-grid details {
  font-size: 12px;
  color: #8ca699;
  margin-top: 14px;
}
.minutes-grid summary {
  cursor: pointer;
}
.minutes-grid blockquote {
  margin: 12px 0 0;
  padding-left: 12px;
  border-left: 2px solid #517860;
  line-height: 1.6;
}
.minutes-empty {
  color: #82928b;
}
@media (max-width: 650px) {
  .minutes-grid {
    grid-template-columns: 1fr;
  }
}

.minutes-grid.minutes-document {
  display: block;
}
.minutes-document > section {
  padding: 22px 0;
  border-top: 1px solid #344940;
}
.minutes-document > .document-title {
  padding-top: 0;
  border-top: 0;
}
.minutes-document h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}
.minutes-document .document-title h3 {
  font-size: 23px;
}
.minutes-document ul {
  padding-left: 22px;
  margin: 12px 0 0;
}
.minutes-document li {
  font-size: 15px;
  line-height: 1.65;
  margin: 10px 0;
}
.minutes-document .document-tasks {
  list-style: none;
  padding: 0;
}
.minutes-document .document-tasks li {
  border-left: 2px solid #82b99b;
  padding: 8px 0 8px 16px;
  margin: 12px 0;
}
.minutes-document .document-tasks p {
  margin: 4px 0 0;
}

.fast-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 12px; }
.fast-grid article { border-left: 2px solid #a6e5c6; padding: 10px 14px; background: #ffffff05; animation: fast-appear .3s ease-out; }
.fast-grid small { color: #a6c6ba; }
.fast-grid p { margin: 8px 0 0; overflow-wrap:anywhere; }
#fast-preview { margin: 16px 0 28px; }
@keyframes fast-appear { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce) { .fast-grid article {animation:none;} }
