:root {
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: #17242d;
  background: #f4f6f5;
  font-synthesis: none;
  --ink: #15232d;
  --muted: #66757b;
  --accent: #087c71;
  --line: #dce4e1;
  --surface: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: var(--accent);
}
button,
.button {
  padding: 11px 16px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover,
.button:hover {
  border-color: var(--accent);
}
button.primary,
.button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
button.danger {
  color: #b52e45;
}
.shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--ink);
  color: #dce7e6;
  padding: 30px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1px;
  color: inherit;
  text-decoration: none;
  padding: 0 12px;
}
.brand b {
  color: #60e0c3;
}
.product {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 13px 32px;
  color: #96b5b5;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav button {
  background: none;
  color: #bfcfce;
  border: 0;
  justify-content: flex-start;
  text-align: start;
  padding: 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.nav button.active {
  background: #2b3e46;
  color: #fff;
}
.nav .icon {
  width: 22px;
  font-size: 18px;
}
.side-note {
  margin-top: auto;
  padding: 20px 12px 0;
  color: #9cafb2;
  font-size: 12px;
  line-height: 1.7;
}
.side-note strong {
  color: #82d8c2;
  display: block;
}
.workspace {
  min-width: 0;
}
.topbar {
  min-height: 80px;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 18px 38px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.topbar .context {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: #e9f4f0;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 700;
}
.topbar select {
  border: 0;
  background: none;
  max-width: 270px;
}
.top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.top-actions button {
  font-size: 12px;
  padding: 8px;
}
.badge {
  display: inline-flex;
  border-radius: 20px;
  padding: 6px 10px;
  background: #e6f4ed;
  color: #35775f;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.badge.amber {
  background: #fff1d7;
  color: #916214;
}
.badge.grey {
  background: #ecf0f1;
  color: #62747b;
}
.content {
  max-width: 1400px;
  margin: auto;
  padding: 34px 38px 60px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 10px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 28px;
}
h1 {
  font-size: 30px;
  letter-spacing: -0.9px;
  margin: 0 0 10px;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  margin: 0 0 14px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 15px;
  margin: 0 0 9px;
}
p {
  line-height: 1.65;
  margin: 0 0 16px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  min-width: 0;
}
.card.soft {
  background: #edf4f0;
}
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 25px;
  background: #eaf2ed;
  border: 1px solid #d5e3da;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}
.hero h2 {
  font-size: 26px;
  line-height: 1.25;
  max-width: 500px;
}
.hero p {
  max-width: 540px;
}
.hero .art {
  display: grid;
  place-items: center;
}
.video-stack {
  width: 130px;
  height: 190px;
  border-radius: 17px;
  background: #182d35;
  border: 5px solid #fff;
  box-shadow: 18px 12px 0 #bcd5ca;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  color: #fff;
  transform: rotate(-5deg);
}
.video-stack .play {
  font-size: 34px;
  color: #6cdec3;
  align-self: center;
}
.video-stack small {
  font-size: 10px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.metric .value {
  font-size: 29px;
  font-weight: 650;
  margin: 12px 0;
}
.metric .label {
  font-size: 12px;
  color: var(--muted);
}
.empty {
  padding: 36px 16px;
  text-align: center;
}
.empty .glyph {
  font-size: 27px;
  color: #76a89c;
  margin-bottom: 15px;
}
.empty h3 {
  font-size: 17px;
}
.empty p {
  max-width: 460px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 14px;
}
.section {
  margin-top: 24px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.section-head h2 {
  margin: 0;
}
.form {
  display: grid;
  gap: 17px;
}
label {
  font-size: 13px;
  font-weight: 600;
  display: grid;
  gap: 8px;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfdad5;
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 90px;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}
.check {
  display: flex;
  align-items: center;
  font-weight: 400;
  line-height: 1.5;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.notice {
  padding: 14px 17px;
  border-inline-start: 3px solid #c89a44;
  background: #fff7e8;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0;
}
.success {
  border-color: var(--accent);
  background: #eaf5f0;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tabs button {
  font-size: 13px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  max-width: 320px;
  overflow-wrap: anywhere;
}
th {
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
}
.item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin-top: 12px;
  background: #fff;
}
.item p {
  font-size: 13px;
}
.item-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
pre {
  font-family: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
  font-size: 13px;
}
.preview {
  background: #f2f5f4;
  border-radius: 10px;
  padding: 18px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.media-grid video,
.media-grid img {
  width: 100%;
  height: 230px;
  background: #14252c;
  object-fit: contain;
  border-radius: 9px;
}
.steps {
  display: flex;
  gap: 7px;
  margin: 18px 0;
}
.steps span {
  height: 5px;
  flex: 1;
  background: #dce7e0;
  border-radius: 3px;
}
.steps .done {
  background: var(--accent);
}
.chat-layout {
  max-width: 860px;
  margin: auto;
}
.chat-messages {
  min-height: 220px;
}
.message {
  padding: 20px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  margin: 16px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.message.user {
  background: #e5f1eb;
  margin-inline-start: 45px;
}
.chat-input {
  position: sticky;
  bottom: 0;
  background: #f4f6f5;
  padding-top: 15px;
}
.chat-input textarea {
  min-height: 105px;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-intro {
  background: var(--ink);
  color: #fff;
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-intro h1 {
  font-size: 46px;
  max-width: 500px;
  line-height: 1.15;
}
.login-intro p {
  color: #a8c1bf;
  max-width: 400px;
}
.login-form {
  padding: 40px;
  display: grid;
  place-items: center;
}
.login-form .card {
  width: 100%;
  max-width: 430px;
  padding: 34px;
}
.login-form select {
  margin-top: 24px;
}
#toast {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  background: #152d35;
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  max-width: 400px;
  display: none;
  z-index: 100;
  box-shadow: 0 5px 30px #0002;
}
.error-text {
  color: #b42d43;
  font-size: 13px;
  line-height: 1.5;
}
.loading {
  padding: 50px;
  text-align: center;
  color: var(--muted);
}
.period {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}
.period input {
  max-width: 155px;
}
.period select {
  max-width: 185px;
}
.mobile-brand {
  display: none;
}
.inline-link {
  font-size: 13px;
}
.footer-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
  line-height: 1.7;
}
bdi {
  overflow-wrap: anywhere;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 42px;
  }
  .hero {
    padding: 40px;
  }
}
@media (max-width: 1050px) {
  .shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .content {
    padding: 28px 24px;
  }
  .topbar {
    padding: 16px 24px;
  }
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .topbar .badge {
    display: none;
  }
}
@media (max-width: 720px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 17px 16px 8px;
  }
  .brand {
    font-size: 22px;
    padding: 0;
  }
  .product {
    display: none;
  }
  .nav {
    display: flex;
    overflow: auto;
    margin-top: 14px;
    padding-bottom: 4px;
    gap: 3px;
  }
  .nav button {
    white-space: nowrap;
    font-size: 12px;
    padding: 10px;
  }
  .nav .icon {
    display: none;
  }
  .side-note {
    display: none;
  }
  .topbar {
    padding: 12px 16px;
    min-height: 65px;
    gap: 8px;
  }
  .topbar select {
    max-width: 175px;
    font-size: 12px;
    padding: 5px;
  }
  .top-actions {
    gap: 5px;
  }
  .top-actions select {
    max-width: 59px;
  }
  .top-actions button {
    font-size: 11px;
    padding: 6px;
  }
  .avatar {
    display: none;
  }
  .content {
    padding: 25px 16px 40px;
  }
  .page-heading {
    display: block;
    margin-bottom: 22px;
  }
  h1 {
    font-size: 26px;
  }
  .page-heading > .actions {
    margin-top: 12px;
  }
  .hero {
    display: block;
    padding: 24px;
  }
  .hero h2 {
    font-size: 24px;
  }
  .hero .art {
    display: none;
  }
  .grid,
  .grid.three {
    grid-template-columns: 1fr;
  }
  .grid.four {
    gap: 10px;
  }
  .card {
    padding: 19px;
  }
  .metric .value {
    font-size: 25px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .media-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .media-grid video,
  .media-grid img {
    height: 170px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-intro {
    padding: 28px;
    gap: 35px;
  }
  .login-intro h1 {
    font-size: 30px;
  }
  .login-intro p {
    display: none;
  }
  .login-form {
    padding: 22px;
  }
  .login-form .card {
    padding: 24px;
  }
  .period input {
    max-width: 140px;
  }
  .period select {
    max-width: 100%;
  }
  .message.user {
    margin-inline-start: 15px;
  }
  .chat-input {
    bottom: 0;
  }
  .badge {
    font-size: 10px;
  }
  #toast {
    inset-inline: 15px;
    bottom: 15px;
  }
  .item-title {
    flex-wrap: wrap;
  }
}
