:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #24332f;
  background: #f5f6f3;
  font-size: 14px;
  --ink: #182c27;
  --muted: #77837e;
  --yellow: #f3ca53;
  --border: #e4e8e2;
  --green: #355e4a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a {
  color: inherit;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
.layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #142b25;
  color: #c6d0c9;
  padding: 30px 18px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: white;
  font-weight: 700;
  letter-spacing: -0.6px;
  font-size: 20px;
  padding: 0 12px 35px;
}
.mark {
  background: var(--yellow);
  color: #213b30;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 900;
}
.navlabel {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #83988c;
  padding: 17px 14px 9px;
  font-weight: 600;
}
.navbtn {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  width: 100%;
  padding: 12px 14px;
  border-radius: 7px;
  margin: 3px 0;
  font-size: 13px;
}
.navbtn:hover {
  background: #223b31;
}
.navbtn.active {
  background: #2b4538;
  color: #ffe398;
}
.navbtn svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.6;
  flex: none;
}
.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid #3a4a3d;
  padding: 20px 12px 0;
  font-size: 11px;
  line-height: 1.8;
  color: #9cac9f;
}
.sidebar-foot strong {
  color: #f3d880;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 82px;
  border-bottom: 1px solid var(--border);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbfcf9;
  gap: 16px;
}
.crumb {
  font-size: 12px;
  color: #849087;
}
.crumb strong {
  color: #394c42;
  font-weight: 500;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #608d67;
  border-radius: 50%;
  margin-right: 7px;
}
.save-status {
  font-size: 11px;
  color: #6d7c71;
}
.avatar {
  width: 33px;
  height: 33px;
  border: 1px solid #d9dfd6;
  border-radius: 50%;
  background: #f1e9d5;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
}
.project-switch {
  padding: 8px 10px;
  border: 1px solid #dce2d9;
  background: #fff;
  border-radius: 6px;
  max-width: 220px;
  color: #485c4b;
}
.content {
  max-width: 1370px;
  margin: auto;
  padding: 37px 42px 60px;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
  gap: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #7e897f;
  font-weight: 600;
}
.page-title h1 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 7px 0 8px;
  font-weight: 600;
}
.sub {
  color: #7a857e;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 11px 16px;
  background: #fff;
  border: 1px solid #dce2d8;
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  background: #f0f3eb;
}
.btn.primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #243b2e;
}
.btn.dark {
  background: #254b38;
  color: #fff;
  border-color: #254b38;
}
.btn.small {
  padding: 7px 11px;
  font-size: 11px;
}
.btn.ghost {
  background: transparent;
}
.btn.danger {
  color: #a34c3c;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #e9eee1;
  border: 1px solid #dfe5d7;
  border-radius: 12px;
  overflow: hidden;
  min-height: 250px;
  margin-bottom: 25px;
}
.hero-copy {
  padding: 31px;
}
.hero .eyebrow {
  color: #64765c;
}
.hero h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -1.1px;
  margin: 14px 0;
}
.hero p {
  max-width: 370px;
  font-size: 12px;
  line-height: 1.8;
  color: #6e7e65;
  margin: 0 0 24px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.orbit {
  width: 280px;
  height: 280px;
  border: 1px solid #ccd8bf;
  border-radius: 50%;
  position: absolute;
  right: 48px;
  top: -18px;
}
.orbit:before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid #ccd8bf;
  border-radius: 50%;
}
.orbit:after {
  content: "";
  position: absolute;
  inset: 60px;
  border: 1px solid #ccd8bf;
  border-radius: 50%;
}
.hero-card {
  position: relative;
  background: #fafbf4;
  box-shadow: 0 15px 30px #72825b19;
  border: 1px solid #dce2d1;
  border-radius: 10px;
  padding: 19px;
  width: 238px;
  transform: rotate(-5deg);
  z-index: 1;
}
.hero-card .mini-head {
  font-size: 11px;
  color: #76816b;
  display: flex;
  justify-content: space-between;
}
.hero-card h3 {
  font-weight: 550;
  font-size: 18px;
  line-height: 1.4;
  margin: 18px 0;
}
.hero-card .line {
  height: 5px;
  background: #e2e7d7;
  border-radius: 5px;
  margin: 8px 0;
}
.hero-card .line:last-child {
  width: 60%;
}
.float-tag {
  position: absolute;
  bottom: 37px;
  right: 25px;
  background: #fff3c5;
  padding: 13px 17px;
  border-radius: 7px;
  font-size: 11px;
  transform: rotate(4deg);
  z-index: 2;
  box-shadow: 0 4px 15px #697b4920;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 31px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 20px;
}
.stat-top {
  font-size: 11px;
  color: #7c897e;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat strong {
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -0.7px;
  display: block;
  margin: 13px 0 7px;
}
.stat small {
  font-size: 10px;
  color: #8c978e;
}
.stat svg {
  width: 17px;
  height: 17px;
  color: #82997c;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 23px 0 16px;
}
.section-head h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0;
}
.section-head p {
  font-size: 11px;
  color: #81907f;
}
.split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 23px;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 23px;
}
.task-row {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #eef0ea;
  align-items: flex-start;
}
.task-row:last-child {
  border-bottom: 0;
}
.task-row input {
  accent-color: #547750;
  margin: 3px 0;
  width: 15px;
  height: 15px;
  flex: none;
}
.task-row strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
  margin-bottom: 6px;
}
.task-row p {
  font-size: 11px;
  color: #899285;
  line-height: 1.5;
  margin: 0;
}
.task-row.done strong {
  text-decoration: line-through;
  color: #8e988a;
}
.task-row .badge {
  margin-left: auto;
}
.badge {
  font-size: 9px;
  padding: 5px 7px;
  display: inline-block;
  border-radius: 4px;
  background: #f0f2eb;
  color: #75816b;
  white-space: nowrap;
  font-weight: 550;
}
.badge.green {
  background: #e9f2e6;
  color: #5b7b4b;
}
.badge.yellow {
  background: #fcf1cf;
  color: #9b7a20;
}
.badge.blue {
  background: #e9eef6;
  color: #667b99;
}
.badge.red {
  background: #faebe6;
  color: #ae6854;
}
.note {
  background: #f7f8f2;
  border: 1px solid #e8ebde;
  border-radius: 7px;
  padding: 15px;
  line-height: 1.7;
  font-size: 12px;
  color: #718066;
}
.note h3 {
  color: #43583b;
  font-size: 12px;
  margin: 0 0 8px;
}
.note p {
  margin: 0;
}
.note + .note {
  margin-top: 13px;
}
.note.yellow {
  background: #fcf5df;
  border-color: #f2e5b9;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.chip {
  border: 1px solid #e0e6d8;
  padding: 8px 13px;
  border-radius: 5px;
  font-size: 11px;
  color: #7a8571;
}
.chip.active {
  background: #edf1e5;
  color: #49683b;
  border-color: #ccd9bc;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.draft {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
}
.draft-visual {
  height: 155px;
  background: #e7ecde;
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.draft:nth-child(3n + 2) .draft-visual {
  background: #f6eddb;
}
.draft:nth-child(3n + 3) .draft-visual {
  background: #e9eef1;
}
.draft-visual small {
  font-size: 8px;
  letter-spacing: 1px;
  color: #7a876c;
  text-transform: uppercase;
}
.draft-visual h3 {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 550;
  margin: 12px 0;
  letter-spacing: -0.6px;
  max-width: 260px;
}
.draft-visual .format {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 8px;
  background: #ffffff88;
  padding: 5px 7px;
  border-radius: 4px;
}
.draft-body {
  padding: 17px;
}
.draft-body h3 {
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  margin: 8px 0;
}
.draft-body p {
  font-size: 11px;
  color: #8a9387;
  line-height: 1.6;
  max-height: 35px;
  overflow: hidden;
}
.draft-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.empty {
  padding: 42px 24px;
  text-align: center;
  border: 1px dashed #d8e0d0;
  border-radius: 9px;
  background: #fcfdf9;
}
.empty h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 10px;
}
.empty p {
  font-size: 12px;
  color: #85907d;
  max-width: 400px;
  margin: 0 auto 18px;
  line-height: 1.7;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 11px;
  font-weight: 550;
  color: #5d7058;
}
input,
select,
textarea {
  border: 1px solid #dbe2d3;
  border-radius: 6px;
  padding: 11px;
  background: #fff;
  color: #374e31;
  min-width: 0;
}
textarea {
  resize: vertical;
  line-height: 1.65;
  min-height: 120px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #b9cd9d;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}
.prose {
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.prose h3 {
  font-size: 14px;
}
.generator {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 23px;
}
.generator .panel {
  align-self: start;
}
.result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.result-head h2 {
  font-size: 15px;
}
.busy {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5c7250;
  padding: 24px 0;
  font-size: 13px;
}
.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid #dfe7d4;
  border-top-color: #607a49;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 100px);
  transform: translateX(-50%);
  padding: 13px 20px;
  background: #223e2a;
  color: #fff;
  border-radius: 7px;
  font-size: 12px;
  box-shadow: 0 7px 25px #20351e25;
  z-index: 80;
  display: none;
  max-width: 600px;
}
#toast.error {
  background: #943c2d;
}
dialog {
  border: 1px solid #d6dfcd;
  padding: 28px;
  border-radius: 12px;
  width: min(780px, 94vw);
  max-height: 90vh;
  color: #33492b;
}
dialog::backdrop {
  background: #142b2566;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin-top: 0;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.dialog-head button {
  font-size: 22px;
}
.edit-body {
  min-height: 320px;
}
.video-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 25px;
}
.portrait {
  aspect-ratio: 9/16;
  background: #1b3427;
  color: #fff1b6;
  border-radius: 12px;
  position: relative;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-height: 540px;
  margin: auto;
  overflow: hidden;
}
.portrait::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px solid #a3be8140;
  border-radius: 50%;
  left: -100px;
  bottom: -100px;
}
.portrait .slide-no {
  position: absolute;
  top: 25px;
  font-size: 9px;
  letter-spacing: 2px;
  color: #bac6a8;
}
.portrait h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  z-index: 1;
}
.portrait p {
  font-size: 14px;
  line-height: 1.7;
  color: #c5cfb9;
  z-index: 1;
}
.portrait .brand {
  position: absolute;
  bottom: 25px;
  font-size: 10px;
  letter-spacing: 1px;
}
.slide-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin: 15px;
}
.feature-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
.feature-table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #85917b;
  padding: 13px 12px;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.feature-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #eef0e8;
  vertical-align: top;
  line-height: 1.6;
}
.feature-table td:nth-child(1) {
  width: 23%;
  font-weight: 550;
}
.feature-table td:nth-child(2) {
  width: 40%;
  color: #819078;
}
.feature-table td:last-child {
  font-size: 10px;
  color: #85927a;
}
.feature-table a {
  text-decoration: none;
}
.feature-table a:hover {
  text-decoration: underline;
}
.audit-page {
  margin: 20px 0;
}
.audit-page h3 {
  font-size: 13px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.check {
  display: grid;
  grid-template-columns: 22px 190px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0e7;
  font-size: 11px;
  line-height: 1.6;
}
.check .pass {
  color: #6a884f;
}
.check .fail {
  color: #be8853;
}
.check small {
  display: block;
  color: #8a9680;
  overflow-wrap: anywhere;
}
.score {
  height: 85px;
  width: 85px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 6px solid #b9c9a3;
  font-size: 25px;
  flex: none;
}
.audit-summary {
  display: flex;
  align-items: center;
  gap: 24px;
}
.audit-summary h2 {
  font-size: 18px;
}
.calendar-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.scheduled {
  border: 1px solid var(--border);
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}
.scheduled h3 {
  font-size: 14px;
  margin: 10px 0;
}
.scheduled p {
  font-size: 11px;
  color: #839176;
}
.scheduled time {
  font-size: 11px;
  color: #5b734c;
}
.channel-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.channel {
  background: #fff;
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 8px;
}
.channel h3 {
  font-size: 14px;
}
.channel p {
  font-size: 11px;
  color: #85937a;
  line-height: 1.7;
}
.channel .badge {
  margin: 10px 0;
}
.loading {
  padding: 50px;
  text-align: center;
  color: #75876a;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #eaf0e2;
}
.login-card {
  width: min(450px, 90vw);
  padding: 40px;
  background: #fff;
  border: 1px solid #dce5d3;
  border-radius: 15px;
}
.login-card h1 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 25px 0 12px;
}
.login-card p {
  font-size: 13px;
  color: #7b8c70;
  line-height: 1.8;
}
.login-card form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 24px;
}
.mobile-menu {
  display: none;
}
.source {
  font-size: 10px;
  color: #88987b;
  line-height: 1.8;
  margin-top: 20px;
}
.metrics-import {
  max-height: 150px;
  overflow: auto;
}
.statusline {
  font-size: 11px;
  color: #839079;
  margin: 14px 0;
}
.list {
  padding-left: 20px;
  color: #76876b;
  font-size: 12px;
  line-height: 1.9;
}
.linkout {
  color: #527443;
  font-size: 11px;
}
.welcome-list {
  padding: 0;
  list-style: none;
}
.welcome-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.7;
}
.welcome-list li strong {
  color: #45613c;
}
.task-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.task-actions .badge {
  align-self: start;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 45px;
  }
  .hero {
    min-height: 270px;
  }
}
@media (max-width: 1100px) {
  .content {
    padding: 27px;
  }
  .topbar {
    padding: 0 27px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .generator {
    grid-template-columns: 290px 1fr;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .channel-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 10px 0 40px #12291e44;
  }
  .main {
    grid-column: 1;
  }
  .mobile-menu {
    display: block;
    padding: 7px;
  }
  .topbar {
    height: 68px;
    padding: 0 16px;
  }
  .crumb {
    display: none;
  }
  .top-right {
    gap: 8px;
  }
  .save-status {
    display: none;
  }
  .content {
    padding: 25px 18px;
  }
  .page-title h1 {
    font-size: 25px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .hero-copy {
    padding: 25px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 24px;
  }
  .generator,
  .video-layout {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .draft-visual {
    height: 140px;
    padding: 16px;
  }
  .draft-visual h3 {
    font-size: 18px;
  }
  .panel {
    padding: 18px;
  }
  .feature-table th:nth-child(2),
  .feature-table td:nth-child(2) {
    display: none;
  }
  .feature-table td {
    padding: 12px 7px;
  }
  .check {
    grid-template-columns: 18px 130px 1fr;
    gap: 6px;
  }
  .calendar-list {
    grid-template-columns: 1fr;
  }
  .portrait {
    width: 280px;
  }
  .channel-list {
    grid-template-columns: 1fr 1fr;
  }
  #toast {
    left: 50%;
    width: 90%;
    text-align: center;
  }
  .page-title {
    align-items: flex-start;
  }
  .btn {
    padding: 10px 12px;
  }
  .project-switch {
    max-width: 170px;
  }
  .audit-summary {
    gap: 15px;
  }
}
@media (max-width: 450px) {
  .card-grid,
  .channel-list {
    grid-template-columns: 1fr;
  }
  .page-title {
    flex-direction: column;
    gap: 14px;
  }
  .top-right .avatar {
    display: none;
  }
}
