:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #203832;
  background: #f4f6f2;
  font-synthesis: none;
  --ink: #153d34;
  --muted: #718079;
  --green: #296c50;
  --lime: #c6ef91;
  --line: #e0e7de;
  --white: #fff;
  --danger: #b23b36;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  transition:
    background 0.15s,
    transform 0.15s;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #79b7a3;
  outline-offset: 3px;
}
button svg {
  flex-shrink: 0;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.boot {
  padding: 15vh 10vw;
  color: var(--green);
}
.layout {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #102c29;
  color: #c7d7ce;
  padding: 31px 21px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: white;
  font-size: 27px;
  letter-spacing: -1.3px;
  font-weight: 650;
}
.brand img {
  width: 39px;
  height: 39px;
}
.brand span {
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 550;
  color: #c5eb92;
  border-left: 1px solid #486157;
  padding-left: 11px;
  margin-left: 1px;
}
.workspace {
  margin: 35px 0 27px;
  padding: 13px;
  border: 1px solid #3b5146;
  border-radius: 11px;
  font-size: 13px;
  color: #edf4ee;
  display: flex;
  gap: 10px;
  align-items: center;
}
.workspace small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.1px;
  color: #9aafa2;
  margin-bottom: 5px;
}
.workspace .avatar {
  background: #29483b;
  color: #c6ef91;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #829b8b;
  margin: 0 13px 11px;
  font-weight: 650;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav button {
  background: none;
  border: 0;
  border-radius: 8px;
  color: inherit;
  padding: 12px 13px;
  display: flex;
  gap: 13px;
  align-items: center;
  text-align: left;
  font-size: 13px;
}
.nav button:hover {
  background: #203f35;
}
.nav button.active {
  background: #d4efaf;
  color: #1a3d2a;
  font-weight: 650;
}
.side-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.side-note {
  border: 1px solid #3b5146;
  border-radius: 10px;
  padding: 14px;
  font-size: 12px;
  line-height: 1.6;
}
.side-note b {
  color: #d7edbe;
  display: block;
  margin-bottom: 4px;
}
.side-user {
  border-top: 1px solid #365044;
  margin-top: 24px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.side-user small {
  display: block;
  color: #829b8b;
  margin-top: 4px;
}
.side-user button {
  margin-left: auto;
  color: #afc5b6;
  border: 0;
  background: none;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e9eedf;
  display: grid;
  place-items: center;
  font-weight: 650;
  flex-shrink: 0;
}
.content {
  min-width: 0;
}
.topbar {
  height: 81px;
  border-bottom: 1px solid var(--line);
  background: #fbfcf9;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}
.breadcrumb {
  color: var(--muted);
}
.breadcrumb b {
  color: var(--ink);
  font-weight: 500;
  margin-left: 9px;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3f925d;
  display: inline-block;
  margin-right: 7px;
}
.muted-dot {
  background: #9da99e;
}
.status {
  font-size: 11px;
  color: #47734c;
}
.mobile-menu {
  display: none;
}
.main {
  max-width: 1550px;
  margin: auto;
  padding: 34px 42px 48px;
}
.demo-banner {
  background: #edf4e4;
  color: #516a3b;
  border: 1px solid #dae7c6;
  font-size: 12px;
  padding: 10px 16px;
  margin: -10px 0 25px;
  border-radius: 7px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.demo-banner a {
  font-weight: 650;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  color: #7a8a76;
  margin-bottom: 9px;
}
h1 {
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 0 0 8px;
  line-height: 1.2;
}
h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.35px;
  margin: 0;
}
h3 {
  font-size: 14px;
  margin: 0 0 10px;
  font-weight: 600;
}
p {
  line-height: 1.65;
}
p.sub {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.button {
  border: 1px solid #d7e0d4;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  text-decoration: none;
  line-height: 1.5;
}
.button:hover {
  background: #f1f5eb;
}
.button.primary {
  background: #234e3c;
  color: white;
  border-color: #234e3c;
}
.button.primary:hover {
  background: #173b2a;
}
.button.lime {
  background: var(--lime);
  border-color: var(--lime);
  color: #1a3b28;
}
.button.danger {
  color: #a03a36;
  background: #fff8f6;
  border-color: #efd8d3;
}
.button.small {
  font-size: 11px;
  padding: 6px 10px;
}
.button.ghost {
  border-color: transparent;
  background: transparent;
  color: #5e7566;
}
.hero {
  border: 1px solid #d8e4ce;
  background: #eaf0df;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  margin-bottom: 24px;
  min-height: 224px;
  overflow: hidden;
  position: relative;
}
.hero-copy {
  padding: 29px 30px;
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  color: #627847;
}
.hero h2 {
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 410px;
  margin-bottom: 10px;
}
.hero p {
  font-size: 12px;
  color: #66775b;
  max-width: 385px;
  margin: 0 0 19px;
}
.hero-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 20px;
  background: radial-gradient(ellipse at 70% 50%, #cfdfa9aa 0, transparent 65%);
}
.flow-node {
  background: #fffefb;
  border: 1px solid #d4dfc4;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 6px 22px #34431e08;
  position: relative;
}
.flow-node.main-node {
  width: 168px;
  transform: rotate(-3deg);
}
.node-icon {
  width: 33px;
  height: 33px;
  background: #e5efd7;
  color: #365235;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
}
.flow-node strong {
  font-size: 12px;
  display: block;
}
.flow-node small {
  font-size: 10px;
  color: #80906e;
  display: block;
  margin-top: 5px;
}
.waveform {
  height: 24px;
  display: flex;
  gap: 3px;
  align-items: center;
  margin-top: 16px;
}
.waveform i {
  width: 3px;
  background: #8dab64;
  border-radius: 3px;
}
.flow-branch {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.flow-branch:before {
  content: "";
  position: absolute;
  left: -12px;
  top: 26px;
  bottom: 26px;
  border: 1px solid #a9bd8d;
  border-right: 0;
  width: 10px;
}
.mini-node {
  background: #fdfef9;
  border: 1px solid #d3dfc4;
  border-radius: 8px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  width: 160px;
}
.key {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #dae4ce;
  background: #f3f7eb;
  border-radius: 5px;
  color: #507540;
  font-weight: 650;
  flex-shrink: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  padding: 20px 21px;
  border-radius: 10px;
}
.stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #728073;
  font-size: 11px;
  margin-bottom: 14px;
}
.stat-label svg {
  width: 17px;
  height: 17px;
  color: #8b9e87;
}
.stat-value {
  font-size: 27px;
  font-weight: 550;
  letter-spacing: -0.8px;
  line-height: 1.1;
}
.stat-foot {
  font-size: 10px;
  color: #86917e;
  margin-top: 10px;
}
.stat-foot b {
  font-weight: 500;
  color: #477345;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 22px;
  gap: 10px;
}
.panel-head p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 0;
}
.panel-body {
  padding: 0 22px 22px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 11px;
}
th {
  font-size: 10px;
  font-weight: 500;
  color: #889281;
  background: #fafbf7;
  padding: 11px 19px;
  border-top: 1px solid #edf0e9;
  border-bottom: 1px solid #edf0e9;
  white-space: nowrap;
}
td {
  padding: 17px 19px;
  border-bottom: 1px solid #edf0e9;
  color: #53624e;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  display: block;
  color: #354b37;
  font-weight: 600;
  font-size: 12px;
}
td small {
  display: block;
  font-size: 10px;
  color: #8e9985;
  margin-top: 4px;
}
.badge {
  padding: 4px 8px;
  background: #f1f4eb;
  border-radius: 5px;
  font-size: 10px;
  white-space: nowrap;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #6c7d5b;
}
.badge.running,
.badge.completed,
.badge.interested,
.badge.played {
  color: #32734b;
  background: #eaf4e9;
}
.badge.paused,
.badge.no_answer,
.badge.no_input {
  color: #9a7937;
  background: #faf2df;
}
.badge.stopped,
.badge.failed,
.badge.suppress,
.badge.uncertain {
  color: #a45247;
  background: #f9efea;
}
.badge.draft {
  color: #758372;
  background: #f0f2ed;
}
.progress {
  height: 4px;
  width: 85px;
  background: #edf1e7;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 6px;
}
.progress span {
  height: 100%;
  display: block;
  background: #7ba163;
}
.capacity {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 17px;
}
.capacity h2 {
  font-size: 15px;
}
.capacity p {
  font-size: 11px;
  color: #89917d;
  margin: 7px 0 20px;
}
.capacity-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.capacity-count strong {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
}
.capacity-count span {
  font-size: 12px;
  color: #8d9782;
}
.channels {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 4px;
  margin: 17px 0;
}
.channels i {
  height: 13px;
  background: #ebf0e3;
  border-radius: 2px;
}
.channels i.on {
  background: #7f9d65;
}
.capacity-foot {
  font-size: 10px;
  color: #849378;
  display: flex;
  justify-content: space-between;
}
.rate-card {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px;
}
.rate-card h3 {
  margin-bottom: 16px;
}
.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0e9;
}
.rate-row:last-of-type {
  border: 0;
}
.rate-row span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #6d7b62;
}
.rate-row strong {
  font-size: 13px;
  font-weight: 600;
}
.note {
  font-size: 11px;
  color: #869079;
  line-height: 1.65;
  margin: 14px 0 0;
}
.footline {
  font-size: 10px;
  color: #9ca48f;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.empty {
  padding: 45px 24px;
  text-align: center;
  color: #829178;
}
.empty svg {
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
}
.empty h3 {
  color: #38523b;
}
.empty p {
  font-size: 12px;
  max-width: 380px;
  margin: 7px auto 20px;
}
.actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  align-items: center;
}
.filter-input {
  max-width: 280px;
}
.search {
  position: relative;
}
.search input {
  padding-left: 36px;
}
.search svg {
  position: absolute;
  left: 11px;
  top: 10px;
  width: 17px;
  color: #8c997f;
}
.audio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.audio-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 11px;
  padding: 22px;
}
.audio-card .waveform {
  height: 42px;
  background: #f7f9f1;
  padding: 0 15px;
  border-radius: 7px;
  justify-content: space-between;
  margin: 20px 0;
}
.audio-card audio {
  width: 100%;
  height: 35px;
  margin-top: 12px;
}
.audio-meta {
  font-size: 11px;
  color: #8c987e;
  display: flex;
  justify-content: space-between;
  margin: 8px 0 17px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  margin-bottom: 17px;
}
.field label,
.label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #526747;
  margin-bottom: 7px;
}
.field small {
  display: block;
  font-size: 10px;
  color: #8a967d;
  margin-top: 6px;
  line-height: 1.5;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce4d3;
  background: white;
  border-radius: 6px;
  padding: 10px 11px;
  font-size: 12px;
  color: #32482d;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #7d9f68;
  outline: 2px solid #e4edd8;
}
textarea {
  resize: vertical;
  line-height: 1.65;
}
input[type="checkbox"],
input[type="radio"] {
  width: 15px;
  height: 15px;
  accent-color: #3b6b40;
  vertical-align: middle;
  margin: 0 8px 0 0;
}
.check-label {
  display: flex;
  align-items: flex-start;
  font-size: 11px;
  line-height: 1.65;
  color: #65775a;
}
.check-label input {
  margin-top: 3px;
  flex-shrink: 0;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0e9;
  align-items: center;
}
.setting-row:last-child {
  border: 0;
}
.setting-row b {
  font-size: 12px;
  display: block;
}
.setting-row small {
  font-size: 11px;
  color: #829076;
  display: block;
  margin-top: 5px;
  line-height: 1.5;
}
.tag-neutral {
  border: 1px solid #e1e6db;
  color: #87967c;
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 5px;
}
.info-box {
  padding: 14px 16px;
  background: #f3f6eb;
  border: 1px solid #e0e8d5;
  border-radius: 7px;
  font-size: 11px;
  color: #6b8059;
  line-height: 1.7;
}
.info-box.warning {
  background: #fff7e9;
  border-color: #ede1c7;
  color: #8b763f;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #102c2966;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  backdrop-filter: blur(4px);
}
.modal {
  background: #fafcf7;
  width: 650px;
  max-width: 100%;
  max-height: calc(100dvh - 56px);
  border: 1px solid #e4eadb;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px #102c2940;
  overflow: hidden;
}
.modal.wide {
  width: 1050px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 19px;
}
.modal-head button {
  border: 0;
  background: transparent;
  color: #87947c;
  padding: 7px;
  border-radius: 5px;
}
.modal-content {
  padding: 24px 26px;
  overflow-y: auto;
}
.modal-footer {
  padding: 16px 26px;
  border-top: 1px solid var(--line);
  background: white;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 25px;
}
.builder-section {
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.builder-section:last-child {
  border: 0;
}
.section-title {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 17px;
}
.section-title .key {
  background: #e8efdf;
  color: #597048;
  font-size: 10px;
}
.section-title h3 {
  margin: 0;
}
.mode-options {
  display: flex;
  gap: 10px;
}
.mode-option {
  display: flex;
  align-items: center;
  border: 1px solid #dce4d3;
  border-radius: 7px;
  padding: 11px;
  flex: 1;
  background: #fff;
  font-size: 12px;
}
.key-row {
  display: grid;
  grid-template-columns: 45px 1fr 32px;
  gap: 8px;
  margin-bottom: 10px;
}
.key-row button {
  border: 0;
  background: transparent;
  color: #87947c;
}
.key-row textarea {
  grid-column: 1/-1;
}
.preview-card {
  position: sticky;
  top: 0;
  border: 1px solid #dce6d2;
  border-radius: 9px;
  background: #eef4e6;
  padding: 20px;
  height: fit-content;
}
.preview-card h3 {
  font-size: 12px;
  color: #5e7650;
}
.preview-card p {
  font-size: 11px;
  color: #7b8e6b;
}
.preview-stage {
  background: #fff;
  border: 1px solid #dee7d5;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
}
.preview-keys {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.preview-keys button {
  width: 38px;
  height: 38px;
  border: 1px solid #dce5d1;
  background: white;
  color: #3c6137;
  border-radius: 7px;
}
.preview-result {
  margin-top: 16px;
  min-height: 50px;
  font-size: 11px;
  line-height: 1.6;
  color: #4f7141;
  padding: 12px;
  background: #e1edd5;
  border-radius: 6px;
}
.days {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.days label {
  font-size: 10px;
  display: flex;
  align-items: center;
  color: #6c7f5e;
}
.days input {
  margin-right: 4px;
  width: 13px;
  height: 13px;
}
.contacts-select {
  height: 140px;
  overflow: auto;
  border: 1px solid #dce4d3;
  border-radius: 7px;
  background: white;
  padding: 8px;
}
.contacts-select label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  font-size: 11px;
}
.contacts-select small {
  margin-left: auto;
  color: #97a28b;
}
.error {
  color: #a14135;
  font-size: 12px;
  padding: 10px 0;
  line-height: 1.6;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f7f9f3;
}
.login-brand {
  background: #102c29;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 48px 12%;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-brand:after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid #335443;
  border-radius: 50%;
  right: -190px;
  bottom: -120px;
  box-shadow:
    0 0 0 80px #25463644,
    0 0 0 160px #25463622;
}
.login-brand h1 {
  font-size: 47px;
  letter-spacing: -2px;
  font-weight: 450;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  margin: 70px 0 18px;
}
.login-brand h1 em {
  font-style: normal;
  color: #c5ef91;
}
.login-brand p {
  font-size: 14px;
  color: #9eb49f;
  max-width: 380px;
}
.login-brand .eyebrow {
  color: #a8c48c;
}
.login-footer {
  font-size: 11px;
  color: #789482;
  position: relative;
  z-index: 1;
  padding-top: 70px;
}
.login-form-wrap {
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-form {
  max-width: 350px;
  width: 100%;
}
.login-form h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.7px;
  margin-bottom: 10px;
}
.login-form p {
  font-size: 12px;
  color: #89937f;
  margin: 0 0 28px;
}
.login-form .field {
  margin-bottom: 18px;
}
.login-form .button {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
}
.login-form input {
  padding: 13px;
}
.login-separator {
  text-align: center;
  font-size: 10px;
  color: #9ba58f;
  margin: 22px 0;
}
.result-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.result-summary div {
  border: 1px solid var(--line);
  padding: 16px;
  background: white;
  border-radius: 7px;
}
.result-summary small {
  display: block;
  font-size: 10px;
  color: #89957d;
}
.result-summary b {
  display: block;
  font-size: 22px;
  margin-top: 8px;
  font-weight: 500;
}
#toast {
  position: fixed;
  bottom: 26px;
  right: 27px;
  z-index: 200;
  background: #193e30;
  color: white;
  padding: 13px 19px;
  border-radius: 8px;
  font-size: 12px;
  max-width: 420px;
  box-shadow: 0 8px 30px #102c2922;
  display: none;
}
#toast.show {
  display: block;
}
.nowrap {
  white-space: nowrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1600px) {
  .main {
    padding-top: 43px;
  }
  .hero {
    min-height: 245px;
  }
  .hero-copy {
    padding: 35px;
  }
  .hero h2 {
    font-size: 31px;
  }
  .stat {
    padding: 24px;
  }
  .stat-value {
    font-size: 31px;
  }
}
@media (max-width: 1200px) {
  .layout {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .main {
    padding: 27px;
  }
  .topbar {
    padding: 0 27px;
  }
  .grid-main {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 16px;
  }
  .hero-art {
    gap: 10px;
    padding: 14px;
  }
  .mini-node {
    width: 138px;
    font-size: 10px;
  }
  .flow-node.main-node {
    width: 145px;
    padding: 14px;
  }
  .hero-copy {
    padding: 25px;
  }
  .hero h2 {
    font-size: 25px;
  }
  .stat {
    padding: 18px 15px;
  }
  .stat-value {
    font-size: 25px;
  }
  .sidebar {
    padding: 28px 16px;
  }
  .hero .button {
    font-size: 11px;
    padding: 9px 10px;
  }
  .audio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1000px) {
  .grid-main {
    grid-template-columns: 1fr;
  }
  .grid-main > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .stats {
    gap: 10px;
  }
  .stat-value {
    font-size: 23px;
  }
  .stat-label {
    font-size: 10px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .builder-grid {
    grid-template-columns: 1fr;
  }
  .preview-card {
    position: static;
  }
  .login-brand h1 {
    font-size: 36px;
  }
  .login-brand {
    padding: 40px 10%;
  }
  .login-form-wrap {
    padding: 35px;
  }
}
@media (max-width: 760px) {
  .layout {
    display: block;
  }
  .sidebar {
    display: none;
    position: fixed;
    z-index: 50;
    top: 60px;
    bottom: 0;
    height: calc(100dvh - 60px);
    width: 245px;
    box-shadow: 15px 0 50px #173b2a30;
  }
  .sidebar.open {
    display: flex;
  }
  .mobile-menu {
    display: inline-flex;
    border: 0;
    background: none;
    color: #33543d;
    margin-right: 5px;
  }
  .topbar {
    height: 60px;
    padding: 0 18px;
    position: sticky;
    top: 0;
    z-index: 45;
  }
  .topbar .breadcrumb {
    display: flex;
    align-items: center;
  }
  .topbar .breadcrumb span {
    display: none;
  }
  .top-right {
    gap: 9px;
  }
  .top-right .status {
    display: none;
  }
  .main {
    padding: 24px 18px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 240px;
  }
  .page-heading > .button {
    font-size: 10px;
    padding: 9px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero-copy {
    padding: 23px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .grid-main > aside {
    grid-template-columns: 1fr;
  }
  .capacity {
    margin-bottom: 0;
  }
  .audio-grid {
    grid-template-columns: 1fr;
  }
  .footline {
    flex-direction: column;
    gap: 7px;
  }
  .modal-overlay {
    padding: 10px;
  }
  .modal {
    max-height: calc(100dvh - 20px);
    border-radius: 10px;
  }
  .modal-head {
    padding: 18px;
  }
  .modal-content {
    padding: 18px;
  }
  .modal-footer {
    padding: 14px 18px;
  }
  .form-grid {
    gap: 11px;
  }
  .modal-head h2 {
    font-size: 17px;
  }
  .demo-banner {
    font-size: 10px;
    padding: 9px 11px;
    align-items: center;
    margin-top: -5px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-brand {
    padding: 27px;
    min-height: auto;
  }
  .login-brand .brand {
    font-size: 24px;
  }
  .login-brand h1 {
    font-size: 30px;
    margin: 32px 0 15px;
    letter-spacing: -1px;
  }
  .login-brand p {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .login-footer {
    display: none;
  }
  .login-form-wrap {
    padding: 34px 27px;
  }
  .login-form {
    max-width: 430px;
  }
  .login-form h2 {
    font-size: 23px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar .search {
    width: 100%;
  }
  .filter-input {
    max-width: none;
  }
  .result-summary b {
    font-size: 18px;
  }
  th,
  td {
    padding: 13px 14px;
  }
  .mode-option {
    font-size: 11px;
    padding: 10px;
  }
  .preview-card {
    padding: 15px;
  }
  #toast {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
