:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #243b38;
  background: #f5f7f7;
  font-synthesis: none;
  font-size: 14px;
  --green: #177d68;
  --ink: #243b38;
  --muted: #83928e;
  --border: #e5ebe8;
  --panel: #fff;
  --soft: #edf7f2;
}
* {
  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 {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: var(--green);
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #71b8a4;
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #a8d3c4;
  border-color: var(--green);
}
button {
  border: 0;
  background: none;
  color: inherit;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 650;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  font-weight: 650;
}
h3 {
  font-size: 15px;
  font-weight: 650;
}
small {
  font-size: 11px;
}
p {
  line-height: 1.7;
}
.muted {
  color: var(--muted);
}
.tiny {
  font-size: 11px;
}
.flex {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stack {
  display: grid;
  gap: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  border: 1px solid #dfe7e3;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.15s;
}
.btn:hover {
  background: #f0f5f2;
  border-color: #c6d4cd;
}
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
  box-shadow: 0 3px 5px #177d6810;
}
.btn.primary:hover {
  background: #116452;
}
.btn.subtle {
  background: #f0f7f3;
  border-color: transparent;
  color: var(--green);
}
.btn svg {
  width: 16px;
  height: 16px;
}
.icon-btn {
  padding: 8px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
}
.icon-btn:hover {
  background: #edf3ef;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #edf6f1;
  color: #428571;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.tag.amber {
  background: #fff6e8;
  color: #b18036;
}
.tag.purple {
  background: #f2effc;
  color: #8971b3;
}
.tag.gray {
  background: #f1f4f3;
  color: #7b8a84;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.avatar {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #e8efe2;
  color: #758755;
  font-size: 11px;
  font-weight: 650;
  flex-shrink: 0;
}
.avatar.a1 {
  background: #f3e9e6;
  color: #a27b6e;
}
.avatar.a2 {
  background: #e8edf6;
  color: #748cac;
}
.avatar.a3 {
  background: #eee8f4;
  color: #9477aa;
}
.avatar.a4 {
  background: #f8efdc;
  color: #ab915a;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  letter-spacing: -1px;
  font-weight: 700;
  color: #1d4c40;
}
.brand img {
  width: 35px;
  height: 35px;
}
.brand small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  display: block;
  color: #82958d;
  margin-top: 2px;
}
.layout {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #fcfdfc;
  border-right: 1px solid var(--border);
  padding: 30px 16px 16px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 228px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.sidebar .brand {
  margin: 0 12px 28px;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: white;
  padding: 10px;
  margin-bottom: 26px;
}
.workspace .avatar {
  width: 31px;
  height: 31px;
  border-radius: 7px;
  color: #497061;
  background: #eef4ed;
}
.workspace strong {
  font-size: 12px;
  display: block;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace small {
  color: #90a098;
  font-size: 10px;
}
.nav-label {
  font-size: 9px;
  color: #91a198;
  letter-spacing: 1.4px;
  font-weight: 600;
  margin: 0 12px 10px;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  text-align: left;
  border-radius: 7px;
  color: #72827b;
  font-size: 12px;
}
.nav button svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}
.nav button:hover {
  background: #f0f5f1;
}
.nav button.active {
  background: #eaf4ed;
  color: #287c60;
  font-weight: 600;
}
.nav button .pill {
  margin-left: auto;
  font-size: 10px;
  background: white;
  border: 1px solid #dce9df;
  padding: 1px 5px;
  border-radius: 4px;
}
.nav-separator {
  margin: 25px 12px 13px;
  border-top: 1px solid var(--border);
  padding-top: 23px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 26px;
}
.help-box {
  border: 1px solid #e2ebe2;
  background: linear-gradient(120deg, #f4f7ec, #eaf4ee);
  padding: 15px;
  border-radius: 10px;
  position: relative;
}
.help-box h3 {
  font-size: 12px;
  margin: 8px 0 5px;
}
.help-box p {
  font-size: 10px;
  color: #8b9b8e;
}
.help-box .btn {
  margin-top: 12px;
  width: 100%;
  padding: 8px;
  font-size: 10px;
}
.profile {
  margin-top: 18px;
  padding: 12px 4px 0;
  border-top: 1px solid var(--border);
}
.profile .avatar {
  width: 32px;
  height: 32px;
}
.profile strong {
  font-size: 11px;
  display: block;
}
.profile small {
  font-size: 9px;
  color: #94a19a;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 75px;
  border-bottom: 1px solid var(--border);
  background: #fcfdfc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  gap: 18px;
}
.breadcrumb {
  font-size: 11px;
  color: #8a9a93;
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb strong {
  font-weight: 500;
  color: #42564d;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.top-actions .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 10px;
}
.search-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9aa79f;
  font-size: 11px;
}
.search-top svg {
  width: 16px;
}
.search-top kbd {
  padding: 3px 4px;
  font-size: 9px;
  border: 1px solid #e4e9e5;
  border-radius: 4px;
  margin-left: 15px;
}
.mobile-menu {
  display: none;
}
.content {
  padding: 29px 34px 40px;
  max-width: 1640px;
  margin: auto;
}
.page-heading {
  margin-bottom: 24px;
}
.page-heading p {
  font-size: 12px;
  color: #8a9992;
  margin-top: 7px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 600;
  color: #81978b;
  margin-bottom: 7px;
}
.date {
  font-size: 11px;
  color: #809189;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eaf3ed;
  border: 1px solid #e0ebe3;
  border-radius: 13px;
  padding: 27px 30px;
  margin-bottom: 23px;
  position: relative;
  overflow: hidden;
  min-height: 162px;
}
.hero-copy {
  z-index: 1;
  max-width: 70%;
}
.hero .eyebrow {
  font-size: 9px;
  color: #738a6c;
}
.hero h2 {
  font-size: 25px;
  font-weight: 500;
  color: #31583e;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}
.hero p {
  font-size: 11px;
  color: #7c9482;
  max-width: 390px;
}
.hero-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #377957;
  margin-top: 17px;
  font-weight: 600;
  font-size: 11px;
}
.hero-art {
  position: absolute;
  right: 34px;
  top: 13px;
  width: 245px;
  height: 170px;
}
.orbit {
  position: absolute;
  border: 1px solid #c9decd;
  border-radius: 50%;
  width: 170px;
  height: 170px;
  right: 30px;
  top: -8px;
  transform: rotate(-24deg) scaleY(0.73);
}
.orbit.second {
  transform: rotate(28deg) scaleY(0.7);
  width: 210px;
  height: 210px;
  right: 10px;
  top: -27px;
  border-style: dashed;
}
.hero-icon {
  position: absolute;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #f9fcf7;
  border: 1px solid #dfe9d8;
  border-radius: 12px;
  box-shadow: 0 7px 20px #365c3010;
  color: #6f9164;
}
.hero-icon.center {
  width: 64px;
  height: 64px;
  top: 40px;
  right: 82px;
  background: #73996a;
  color: #fff;
  transform: rotate(-8deg);
  border: 5px solid #d8e5d2;
  box-shadow: 0 9px 22px #52774823;
}
.hero-icon.center svg {
  width: 28px;
  height: 28px;
}
.hero-icon.one {
  top: 10px;
  right: 22px;
  transform: rotate(9deg);
}
.hero-icon.two {
  top: 97px;
  right: 23px;
  transform: rotate(-10deg);
}
.hero-icon.three {
  top: 100px;
  right: 169px;
  transform: rotate(8deg);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 23px;
}
.stat {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 19px;
  background: white;
}
.stat-label {
  font-size: 11px;
  color: #8a9991;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-icon {
  display: grid;
  place-items: center;
  background: #f0f5ed;
  color: #8ca67d;
  width: 29px;
  height: 29px;
  border-radius: 7px;
}
.stat-icon svg {
  width: 15px;
}
.stat strong {
  display: block;
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 550;
  margin-top: 7px;
  color: #314b3e;
}
.stat small {
  display: block;
  color: #91a097;
  font-size: 9px;
  margin-top: 8px;
}
.stat small b {
  color: #65906a;
  font-weight: 500;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr);
  gap: 21px;
}
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
}
.panel-head {
  padding: 20px 21px 16px;
}
.panel-head h2 {
  font-size: 13px;
}
.panel-head p {
  color: #9aa69f;
  font-size: 10px;
  margin-top: 5px;
}
.panel-body {
  padding: 0 21px 21px;
}
.chart {
  height: 193px;
  position: relative;
  padding: 5px 0;
}
.chart svg {
  width: 100%;
  height: 160px;
  overflow: visible;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  color: #9ba89f;
  font-size: 9px;
  margin: 4px 0 0 28px;
}
.legend {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  color: #91a296;
}
.legend .dot {
  background: #90ac79;
}
.channel-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f3f0;
}
.channel-row:last-child {
  border-bottom: 0;
}
.channel-logo {
  width: 33px;
  height: 33px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #e9f6ef;
  color: #519273;
  flex-shrink: 0;
}
.channel-logo.instagram {
  background: #faf0f4;
  color: #bc8398;
}
.channel-logo.telegram {
  background: #eaf4fa;
  color: #75a6c4;
}
.channel-logo.messenger {
  background: #eff0ff;
  color: #788acd;
}
.channel-logo svg {
  width: 18px;
}
.channel-row strong {
  font-size: 11px;
  display: block;
}
.channel-row small {
  font-size: 9px;
  color: #a1aaa4;
}
.channel-row .tag {
  margin-left: auto;
  font-size: 8px;
  padding: 4px 6px;
}
.panel-foot {
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  color: #7f9587;
  font-size: 10px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  font-weight: 500;
  color: #96a399;
  font-size: 9px;
  background: #fcfdfc;
  padding: 12px 20px;
  border-top: 1px solid #eef2ef;
  border-bottom: 1px solid #eef2ef;
}
td {
  padding: 15px 20px;
  border-bottom: 1px solid #f0f3f1;
  font-size: 11px;
  color: #708276;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  color: #405a49;
  font-weight: 550;
  display: block;
  font-size: 11px;
}
td small {
  font-size: 9px;
  color: #9aa79e;
}
.click-row {
  cursor: pointer;
}
.click-row:hover {
  background: #fafcf9;
}
.activity-panel {
  margin-top: 22px;
}
.empty {
  text-align: center;
  padding: 40px 22px;
  color: #8a9c90;
}
.empty > svg {
  width: 35px;
  height: 35px;
  color: #a5b9a7;
  margin-bottom: 12px;
}
.empty h3 {
  color: #536e5b;
  margin-bottom: 7px;
}
.empty p {
  font-size: 12px;
  max-width: 360px;
  margin: 0 auto 18px;
}
.footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a6b2a9;
  padding: 22px 1px 0;
}
.demo-banner {
  background: #fbf3dc;
  border-bottom: 1px solid #eadfbf;
  padding: 8px 25px;
  text-align: center;
  font-size: 11px;
  color: #937b43;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.demo-banner button {
  text-decoration: underline;
  font-weight: 600;
  font-size: 11px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.connector {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
}
.connector .channel-logo {
  width: 43px;
  height: 43px;
  border-radius: 12px;
}
.connector h3 {
  font-size: 15px;
  margin: 0 0 7px;
}
.connector p {
  font-size: 11px;
  color: #94a097;
  line-height: 1.7;
}
.connector .btn {
  margin-top: auto;
  align-self: flex-start;
}
.connector-icon {
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f4eb;
  color: #718c62;
  display: grid;
  place-items: center;
}
.section-title {
  margin: 26px 0 16px;
}
.notice {
  padding: 15px 18px;
  border: 1px solid #dde8dd;
  border-radius: 8px;
  background: #f3f8f0;
  color: #78916e;
  font-size: 12px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.input-search {
  position: relative;
  flex: 1;
  max-width: 330px;
}
.input-search svg {
  position: absolute;
  left: 12px;
  top: 11px;
  width: 16px;
  color: #91a496;
}
.input-search input {
  padding-left: 37px;
  width: 100%;
}
input,
select,
textarea {
  background: white;
  border: 1px solid #dfe7e1;
  border-radius: 7px;
  padding: 10px 12px;
  color: #3e5847;
  font-size: 12px;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #a3afa6;
}
textarea {
  resize: vertical;
  min-height: 90px;
  width: 100%;
}
label {
  display: grid;
  gap: 7px;
  color: #6f8475;
  font-size: 11px;
  font-weight: 500;
}
form {
  display: grid;
  gap: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-error {
  color: #af6358;
  font-size: 12px;
}
.inbox {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) 250px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  height: calc(100vh - 172px);
  min-height: 500px;
  overflow: hidden;
}
.inbox-list {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.inbox-list-head {
  padding: 19px 17px 13px;
  border-bottom: 1px solid var(--border);
}
.inbox-list-head h2 {
  font-size: 16px;
}
.inbox-list-head input {
  width: 100%;
  margin-top: 16px;
  background: #fafcf9;
}
.tabs {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.tabs button {
  font-size: 10px;
  color: #99a59d;
  padding: 5px 0 9px;
  border-bottom: 2px solid transparent;
}
.tabs button.active {
  border-color: #3b8c6c;
  color: #38795b;
  font-weight: 600;
}
.conversation-items {
  overflow-y: auto;
}
.conversation-item {
  display: flex;
  gap: 10px;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid #eff3ef;
  padding: 17px 14px;
  position: relative;
}
.conversation-item.selected {
  background: #eff6f0;
  box-shadow: inset 3px 0 #6d9b6b;
}
.conversation-item:hover {
  background: #f5f8f3;
}
.conversation-item .details {
  min-width: 0;
  flex: 1;
}
.conversation-item strong {
  font-size: 11px;
  font-weight: 600;
}
.conversation-item time {
  font-size: 8px;
  color: #9aa99d;
}
.conversation-item p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  color: #95a299;
  margin: 5px 0 7px;
}
.conversation-item .tag {
  font-size: 8px;
  padding: 2px 5px;
}
.unread {
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  background: #70a378;
  color: #fff;
  font-size: 8px;
}
.chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 16px 21px;
}
.chat-head h3 {
  font-size: 12px;
}
.chat-head small {
  font-size: 9px;
  color: #93a499;
}
.chat-messages {
  flex: 1;
  padding: 22px;
  overflow-y: auto;
  background: #fafcf9;
}
.chat-date {
  text-align: center;
  font-size: 9px;
  color: #a5b0a6;
  margin-bottom: 25px;
}
.message {
  max-width: 85%;
  margin-bottom: 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.message.out {
  margin-left: auto;
  align-items: flex-end;
}
.message .bubble {
  background: white;
  border: 1px solid #e8ede6;
  border-radius: 0 10px 10px 10px;
  padding: 12px 14px;
  color: #6e8271;
  font-size: 11px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message.out .bubble {
  background: #eaf2e6;
  border-color: #e3ecd9;
  border-radius: 10px 0 10px 10px;
  color: #58754e;
}
.message.note .bubble {
  background: #fff7de;
  border-color: #f0e5bc;
}
.message small {
  font-size: 8px;
  color: #a0afa1;
  margin-top: 5px;
}
.message.failed .bubble {
  border-color: #df9f90;
}
.composer {
  padding: 14px 19px;
  border-top: 1px solid var(--border);
}
.composer textarea {
  border: 0;
  padding: 8px 0;
  min-height: 62px;
  font-size: 11px;
}
.composer .btn {
  font-size: 10px;
  padding: 8px 12px;
}
.composer-tools {
  display: flex;
  gap: 9px;
  align-items: center;
}
.composer-tools label {
  display: flex;
  font-size: 10px;
}
.chat-context {
  border-left: 1px solid var(--border);
  padding: 24px 18px;
  overflow: auto;
}
.contact-hero {
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px;
}
.contact-hero .avatar {
  margin: 0 auto 12px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 18px;
}
.contact-hero h3 {
  font-size: 13px;
}
.contact-hero p {
  font-size: 10px;
  color: #94a496;
  margin-top: 4px;
}
.context-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.context-section h3 {
  font-size: 10px;
  margin-bottom: 15px;
}
.context-section dl {
  display: grid;
  gap: 13px;
  margin: 0;
}
.context-section dt {
  font-size: 9px;
  color: #a0afa2;
  margin-bottom: 4px;
}
.context-section dd {
  font-size: 10px;
  margin: 0;
  color: #6e8574;
  overflow-wrap: anywhere;
}
.context-section select {
  width: 100%;
  font-size: 10px;
  padding: 8px;
}
.context-section .tag {
  margin: 2px;
  font-size: 8px;
}
.ai-card {
  background: #f1f5eb;
  border-radius: 8px;
  padding: 14px;
  margin-top: 20px;
}
.ai-card h3 {
  font-size: 11px;
  color: #6f8b5d;
}
.ai-card p {
  font-size: 10px;
  color: #9aa88f;
  margin: 8px 0 12px;
}
.ai-card .btn {
  font-size: 9px;
  padding: 7px 10px;
}
.login {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 100vh;
  background: #fff;
}
.login-art {
  background: #e9f1e9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 55px 65px;
  position: relative;
  overflow: hidden;
}
.login-art h1 {
  font-size: 52px;
  font-weight: 450;
  line-height: 1.15;
  letter-spacing: -2px;
  max-width: 420px;
  color: #385a42;
}
.login-art p {
  max-width: 360px;
  color: #7c947d;
  font-size: 14px;
  margin-top: 22px;
}
.login-art .hero-art {
  transform: scale(1.8);
  right: 100px;
  top: 43%;
  opacity: 0.5;
}
.login-art .intro {
  z-index: 1;
  margin-top: 90px;
}
.login-art small {
  color: #839784;
}
.login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-box {
  width: 100%;
  max-width: 355px;
}
.login-box h2 {
  font-size: 27px;
  margin: 10px 0;
}
.login-box p {
  color: #94a299;
  font-size: 12px;
  margin-bottom: 28px;
}
.login-box .btn {
  width: 100%;
  padding: 13px;
}
.login-box .divider {
  text-align: center;
  font-size: 10px;
  color: #a5afa9;
  margin: 23px 0;
  display: flex;
  align-items: center;
  gap: 15px;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: #e9ede9;
  flex: 1;
}
.login-foot {
  font-size: 10px;
  color: #a6b0a9;
  text-align: center;
  margin-top: 25px;
}
.boot {
  min-height: 80vh;
  display: grid;
  place-items: center;
  color: #87a08e;
}
dialog {
  border: 1px solid #dce5dd;
  border-radius: 15px;
  padding: 28px;
  width: min(540px, calc(100vw - 32px));
  max-height: 90vh;
  box-shadow: 0 24px 100px #1e3d3326;
  color: var(--ink);
}
dialog::backdrop {
  background: #23382b55;
  backdrop-filter: blur(3px);
}
.modal-head {
  margin-bottom: 24px;
}
.modal-head h2 {
  font-size: 20px;
}
.modal-head p {
  font-size: 11px;
  color: #97a59a;
  margin-top: 8px;
}
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.secret-output {
  word-break: break-all;
  background: #f3f6f0;
  border: 1px solid #e4eadf;
  border-radius: 7px;
  padding: 15px;
  font-family: monospace;
  font-size: 12px;
  white-space: pre-wrap;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.settings-grid .panel {
  padding: 23px;
}
.settings-grid h2 {
  margin-bottom: 20px;
}
.record-json {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 11px;
  background: #f7faf5;
  padding: 15px;
  max-height: 180px;
  overflow: auto;
  margin: 0;
}
.record-card h3 {
  font-size: 12px;
}
.record-card .panel-head {
  padding: 15px;
}
.mobile-back {
  display: none;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 13px 21px;
  background: #254b3c;
  color: white;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: 0 8px 35px #193e3930;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #925348;
}
@media (min-width: 1500px) {
  .content {
    padding: 35px 45px;
  }
  .hero {
    min-height: 185px;
  }
  .hero-art {
    right: 65px;
    transform: scale(1.1);
    top: 24px;
  }
  .stat {
    padding: 22px;
  }
  .chart {
    height: 215px;
  }
  .chart svg {
    height: 180px;
  }
  .inbox {
    grid-template-columns: 315px minmax(0, 1fr) 275px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 200px;
  }
  .layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .content {
    padding: 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  }
  .inbox {
    grid-template-columns: 265px minmax(0, 1fr);
  }
  .chat-context {
    display: none;
  }
  .hero-art {
    right: 0;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat {
    padding: 14px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat strong {
    font-size: 26px;
  }
}
@media (max-width: 950px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .hero h2 {
    font-size: 23px;
  }
  .hero-art {
    opacity: 0.6;
    right: -50px;
  }
  .search-top {
    display: none;
  }
  .login-art {
    padding: 40px;
  }
  .login-art h1 {
    font-size: 40px;
  }
  .login-art .hero-art {
    right: 30px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .layout {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: 0.2s;
    width: 228px;
    box-shadow: 15px 0 50px #25483315;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    width: 100%;
  }
  .mobile-menu {
    display: inline-grid;
  }
  .topbar {
    height: 60px;
    padding: 0 16px;
  }
  .content {
    padding: 22px 16px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 7px;
  }
  .top-actions {
    gap: 8px;
  }
  .date {
    display: none;
  }
  h1 {
    font-size: 25px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .btn {
    font-size: 10px;
    padding: 9px 10px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 235px;
  }
  .hero {
    padding: 23px;
    min-height: 180px;
  }
  .hero-copy {
    max-width: 85%;
  }
  .hero h2 {
    font-size: 24px;
    max-width: 230px;
  }
  .hero p {
    max-width: 245px;
  }
  .hero-art {
    opacity: 0.22;
    right: -55px;
    top: 35px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .stat strong {
    font-size: 26px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .footer {
    gap: 12px;
    font-size: 8px;
  }
  .inbox {
    display: block;
    height: calc(100dvh - 127px);
    min-height: 400px;
  }
  .inbox-list {
    height: 100%;
    border: 0;
  }
  .chat {
    display: none;
    height: 100%;
  }
  .inbox.has-selection .inbox-list {
    display: none;
  }
  .inbox.has-selection .chat {
    display: flex;
  }
  .mobile-back {
    display: inline-grid;
  }
  .chat-head {
    padding: 12px;
  }
  .chat-messages {
    padding: 17px;
  }
  .chat-head .btn {
    padding: 8px;
    font-size: 9px;
  }
  .chat-context {
    display: none;
  }
  .login {
    display: block;
  }
  .login-art {
    padding: 25px 30px;
    min-height: 200px;
  }
  .login-art .intro {
    margin-top: 30px;
  }
  .login-art h1 {
    font-size: 29px;
    max-width: 310px;
  }
  .login-art p,
  .login-art > small,
  .login-art .hero-art {
    display: none;
  }
  .login-art .brand {
    font-size: 22px;
  }
  .login-form {
    padding: 35px 26px;
  }
  .login-box h2 {
    font-size: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .demo-banner {
    padding: 8px;
    font-size: 9px;
    gap: 6px;
  }
  .demo-banner button {
    font-size: 9px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar .input-search {
    max-width: none;
  }
  .top-actions > .tag {
    display: none;
  }
}
