:root {
  --bg: #f2f3ef;
  --app: #f8f7f1;
  --paper: #fffef9;
  --ink: #171813;
  --muted: #70766b;
  --soft: #eef2ea;
  --line: rgba(23, 24, 19, 0.1);
  --green: #315a45;
  --green-2: #557864;
  --gold: #b88935;
  --red: #a64b3c;
  --blue: #486f90;
  --purple: #75639b;
  --shadow: 0 24px 70px rgba(22, 28, 22, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  font: inherit;
}

.stage {
  min-height: 100vh;
  padding: 34px 24px 44px;
  display: grid;
  place-items: start center;
}

.board-stage {
  min-height: 100vh;
  padding: 34px 32px 44px;
}

.board-title {
  max-width: 1260px;
  margin: 0 auto 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.board-title h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}

.board-title span {
  color: var(--muted);
  font-size: 14px;
}

.board-grid {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 390px);
  gap: 28px;
  justify-content: center;
  align-items: start;
}

.prototype-wrap {
  width: 390px;
}

.prototype-meta {
  min-height: 54px;
  padding: 0 4px 10px;
}

.prototype-meta strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
}

.prototype-meta span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.phone-frame {
  width: 390px;
  height: 844px;
  padding: 10px;
  border-radius: 44px;
  overflow: hidden;
  background: #181917;
  box-shadow: var(--shadow);
}

.phone-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 34px;
  display: block;
  background: var(--app);
}

.app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: var(--app);
}

body.embed {
  background: transparent;
}

body.embed .stage {
  min-height: 100vh;
  padding: 0;
  display: block;
}

body.embed .prototype-wrap,
body.embed .phone-frame {
  width: 100vw;
  height: 100vh;
}

body.embed .prototype-meta {
  display: none;
}

body.embed .phone-frame {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.embed .app {
  border-radius: 0;
}

.scroll-view {
  height: 100%;
  overflow-y: auto;
  padding-bottom: 92px;
  scrollbar-width: none;
}

.scroll-view::-webkit-scrollbar,
.category-row::-webkit-scrollbar,
.pill-row::-webkit-scrollbar {
  display: none;
}

.status-bar {
  height: 44px;
  padding: 13px 20px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}

.status-icons {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
}

.top-nav {
  min-height: 66px;
  padding: 4px 18px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-nav.compact {
  min-height: 58px;
}

.nav-title {
  flex: 1;
  min-width: 0;
}

.nav-title strong {
  display: block;
  font-size: 23px;
  line-height: 1.16;
  letter-spacing: 0;
}

.nav-title span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-btn {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 19px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.content {
  padding: 0 16px;
}

.focus-card {
  margin-bottom: 12px;
  min-height: 128px;
  border-radius: 24px;
  padding: 17px;
  background: linear-gradient(135deg, #315a45, #5e7f64);
  color: #fff;
  box-shadow: 0 12px 36px rgba(31, 42, 31, 0.07);
}

.focus-card.blue {
  background: linear-gradient(135deg, #3f6585, #6f8c9b);
}

.focus-card.gold {
  background: linear-gradient(135deg, #8f6630, #c19a58);
}

.focus-card.red {
  background: linear-gradient(135deg, #91483e, #bd7356);
}

.focus-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.focus-kicker {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.focus-card h2 {
  margin: 18px 0 8px;
  font-size: 25px;
  line-height: 1.14;
  letter-spacing: 0;
}

.focus-card p {
  width: 285px;
  margin: 0;
  font-size: 13px;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.82);
}

.task-edit-hero {
  min-height: 104px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(145, 72, 62, 0.13);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff8f4, #fffdf8);
  display: flex;
  align-items: center;
  gap: 14px;
}

.task-edit-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #a45448;
  color: #fff;
  font-size: 20px;
}

.task-type-label {
  color: #985247;
  font-size: 11px;
  font-weight: 800;
}

.task-edit-hero h2 {
  margin: 5px 0;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.task-edit-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.section-head {
  margin: 16px 2px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-head h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: 0;
}

.section-head span,
.section-head a,
.section-head button {
  background: transparent;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.quick-list {
  display: grid;
  gap: 8px;
}

.list-item {
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.93);
  display: flex;
  gap: 10px;
  align-items: center;
}

.list-item.tall {
  align-items: flex-start;
  padding: 12px;
}

.mini-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #edf3ed;
}

.mini-icon.gold {
  color: #8f6630;
  background: #f7f0df;
}

.mini-icon.red {
  color: var(--red);
  background: #faece8;
}

.mini-icon.blue {
  color: var(--blue);
  background: #eaf0f5;
}

.mini-icon.purple {
  color: var(--purple);
  background: #f1eef8;
}

.list-text {
  flex: 1;
  min-width: 0;
}

.list-text strong {
  display: block;
  font-size: 14px;
  letter-spacing: 0;
}

.list-text span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.one-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chev {
  color: #b4b8b0;
}

.tab-panel,
.soft-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.knowledge-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 6px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.knowledge-tab {
  min-height: 40px;
  border-radius: 16px;
  background: transparent;
  color: #3f453e;
  font-size: 13px;
  font-weight: 700;
}

.knowledge-tab.active {
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(49, 90, 69, 0.18);
}

.panel-body {
  padding: 12px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.category-row,
.pill-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 0 10px;
  scrollbar-width: none;
}

.category-chip,
.pill {
  flex: 0 0 auto;
  min-width: 58px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #4d554c;
  font-size: 12px;
  font-weight: 700;
}

.category-chip.active,
.pill.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.date-strip {
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.date-chip {
  min-height: 58px;
  padding: 8px 5px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.date-chip span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.date-chip strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.date-chip.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.date-chip.active span {
  color: rgba(255, 255, 255, 0.75);
}

.news-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(31, 42, 31, 0.05);
}

.news-card + .news-card {
  margin-top: 9px;
}

.news-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.badge,
.permission-badge {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eef2ea;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}

.badge.gold {
  background: #f7f0df;
  color: #8f6630;
}

.badge.red {
  background: #faece8;
  color: var(--red);
}

.news-card h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
}

.news-card p {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.news-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.metric-row {
  display: flex;
  gap: 10px;
  color: #596057;
  font-size: 11px;
  font-weight: 650;
}

.metric-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.detail-btn,
.primary-btn,
.ghost-btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f7f0df;
  color: #8f6630;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn {
  height: 42px;
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
}

.ghost-btn {
  height: 42px;
  padding: 0 16px;
  background: #fff;
  color: var(--green);
  border: 1px solid var(--line);
}

.folder-tree {
  margin-top: 12px;
  padding: 12px;
  border-radius: 18px;
  background: #fffaf0;
  border: 1px solid rgba(184, 137, 53, 0.18);
}

.folder-node {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  color: #383d36;
  font-size: 12px;
  font-weight: 700;
}

.folder-node + .folder-node {
  margin-top: 7px;
}

.folder-node.child {
  margin-left: 24px;
  padding-left: 12px;
  border-left: 1px solid rgba(184, 137, 53, 0.28);
}

.folder-node i {
  color: var(--gold);
  font-size: 14px;
}

.folder-node span {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.folder-node .folder-chevron {
  color: #a7a99f;
  font-size: 10px;
}

.rank-preview,
.library-preview {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.preview-item {
  min-height: 54px;
  padding: 10px 12px;
  border: 1px dashed rgba(49, 90, 69, 0.22);
  border-radius: 16px;
  background: rgba(255, 254, 249, 0.82);
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-rank {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.upload-card {
  margin-top: 12px;
  min-height: 76px;
  padding: 13px;
  border-radius: 18px;
  background: #f7faf4;
  border: 1px solid rgba(49, 90, 69, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
}

.upload-card .mini-icon {
  width: 40px;
  height: 40px;
  border-radius: 16px;
}

.library-summary,
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.library-stat,
.stat-card {
  min-height: 58px;
  padding: 9px 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.library-stat strong,
.stat-card strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0;
}

.library-stat span,
.stat-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.knowledge-card {
  min-height: 70px;
  padding: 12px;
  border-radius: 17px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.knowledge-card strong {
  font-size: 14px;
  letter-spacing: 0;
}

.knowledge-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: start;
}

.time {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  padding-top: 12px;
}

.agenda-card,
.form-card,
.article-card {
  padding: 13px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.agenda-card {
  display: grid;
  gap: 8px;
}

.agenda-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.agenda-title strong {
  font-size: 14px;
}

.agenda-card p,
.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.48;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.info-cell {
  min-height: 56px;
  padding: 10px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.info-cell span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.info-cell strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.action-bar {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.action-bar > * {
  flex: 1;
}

.article-hero {
  margin-bottom: 12px;
  min-height: 168px;
  padding: 16px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(49, 90, 69, 0.92), rgba(88, 124, 100, 0.78)),
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.22), transparent 32%);
  color: #fff;
  display: grid;
  align-content: end;
}

.article-hero span {
  font-size: 12px;
  font-weight: 750;
  color: rgba(255, 255, 255, 0.8);
}

.article-hero h2 {
  margin: 10px 0 0;
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: 0;
}

.article-card h3,
.form-card h3 {
  margin: 0 0 9px;
  font-size: 16px;
}

.article-card + .article-card,
.form-card + .form-card {
  margin-top: 10px;
}

.check-list {
  display: grid;
  gap: 8px;
}

.check-line {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #3c433b;
  font-size: 12px;
  line-height: 1.42;
}

.check-line i {
  color: var(--green);
  margin-top: 2px;
}

.ai-summary {
  margin-top: 10px;
  padding: 13px;
  border-radius: 18px;
  border: 1px solid rgba(72, 111, 144, 0.16);
  background: #f3f7f8;
}

.ai-summary h3 {
  margin: 0 0 8px;
  color: #31536a;
  font-size: 15px;
}

.ai-summary p {
  margin: 0;
  color: #56636a;
  font-size: 12px;
  line-height: 1.48;
}

.step-list {
  display: grid;
  gap: 8px;
}

.step-row {
  min-height: 48px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.step-no {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.step-row strong {
  display: block;
  font-size: 13px;
}

.step-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.36;
}

.input-row {
  display: grid;
  gap: 7px;
}

.input-row + .input-row {
  margin-top: 10px;
}

.input-row label {
  color: #3c433b;
  font-size: 12px;
  font-weight: 800;
}

.field,
.textarea,
.select-field {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fffef9;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.field,
.select-field {
  height: 42px;
  padding: 0 12px;
}

.textarea {
  min-height: 94px;
  padding: 11px 12px;
  resize: none;
}

.compact-textarea {
  min-height: 68px;
}

.form-info-grid {
  margin: 10px 0;
}

.setting-list {
  display: grid;
}

.setting-row {
  min-height: 58px;
  padding: 9px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.setting-row + .setting-row {
  border-top: 1px solid var(--line);
}

.setting-row > div {
  min-width: 0;
}

.setting-row strong,
.setting-row span {
  display: block;
}

.setting-row strong {
  color: #30362f;
  font-size: 13px;
}

.setting-row > div > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.setting-value {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.setting-value i {
  margin-left: 4px;
  color: #a8afa6;
  font-size: 10px;
}

.switch {
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  position: relative;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch > span {
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: #d8ddd6;
  transition: background 0.2s ease;
}

.switch > span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(31, 42, 31, 0.18);
  transition: transform 0.2s ease;
}

.switch input:checked + span {
  background: var(--green);
}

.switch input:checked + span::after {
  transform: translateX(18px);
}

.upload-zone {
  min-height: 124px;
  padding: 18px;
  border: 1px dashed rgba(49, 90, 69, 0.32);
  border-radius: 20px;
  background: #f7faf4;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.upload-zone i {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 24px;
}

.news-article {
  padding-bottom: 18px;
}

.article-heading {
  padding: 6px 2px 12px;
}

.article-category {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 12px;
  background: #eef3ec;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.article-heading h1 {
  margin: 11px 0 9px;
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: 0;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  color: var(--muted);
  font-size: 11px;
}

.article-cover {
  display: block;
  width: 100%;
  height: 184px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
}

.article-ai-summary {
  margin-top: 12px;
}

.ai-summary-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ai-summary-title h3 {
  margin: 0 0 8px;
}

.ai-summary-title h3 i {
  margin-right: 5px;
}

.ai-summary-title > span {
  color: #6a7c86;
  font-size: 10px;
  font-weight: 750;
}

.article-ai-summary small {
  display: block;
  margin-top: 8px;
  color: #819099;
  font-size: 9px;
  line-height: 1.4;
}

.article-body {
  padding: 3px 2px 0;
}

.article-body p {
  margin: 13px 0 0;
  color: #3f443e;
  font-size: 13px;
  line-height: 1.78;
}

.article-body .lead {
  color: #30362f;
  font-size: 14px;
}

.article-body h2 {
  margin: 21px 0 0;
  font-size: 17px;
  line-height: 1.42;
  letter-spacing: 0;
}

.article-checklist {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #dfe8dc;
  border-radius: 16px;
  background: #f7faf4;
  display: grid;
  gap: 9px;
}

.article-checklist h3 {
  margin: 0 0 2px;
  font-size: 15px;
}

.article-source {
  margin-top: 18px;
  padding: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}

.source-avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
}

.article-source strong,
.article-source span {
  display: block;
}

.article-source strong {
  font-size: 13px;
}

.article-source span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.news-engagement {
  padding: 14px 4px 2px;
  display: flex;
  justify-content: center;
  gap: 26px;
}

.news-engagement button {
  border: 0;
  background: transparent;
  color: #596057;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}

.news-engagement i {
  font-size: 16px;
}

.article-action-bar {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 0.85fr 1.55fr;
  gap: 8px;
}

.draft-header {
  min-height: 86px;
  margin-bottom: 12px;
  padding: 15px;
  border: 1px solid #dbe3e7;
  border-radius: 18px;
  background: #f7fafb;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.draft-header h2 {
  margin: 7px 0 0;
  font-size: 20px;
  letter-spacing: 0;
}

.draft-header > span {
  color: var(--muted);
  font-size: 10px;
}

.draft-label {
  padding: 3px 7px;
  border-radius: 10px;
  background: #e7edf0;
  color: #53666f;
  font-size: 10px;
  font-weight: 800;
}

.article-textarea {
  min-height: 168px;
  line-height: 1.62;
}

.cover-upload,
.attachment-row {
  width: 100%;
  border: 1px dashed rgba(49, 90, 69, 0.28);
  border-radius: 15px;
  background: #f8faf6;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.cover-upload {
  min-height: 76px;
  padding: 12px;
}

.cover-upload > i:first-child {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eaf1e7;
  color: var(--green);
  font-size: 18px;
}

.cover-upload span {
  min-width: 0;
  flex: 1;
}

.cover-upload strong,
.cover-upload small {
  display: block;
}

.cover-upload strong {
  font-size: 13px;
}

.cover-upload small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.cover-upload > i:last-child {
  color: #9ba29a;
  font-size: 10px;
}

.attachment-row {
  min-height: 44px;
  margin-top: 9px;
  padding: 0 12px;
  border-style: solid;
  background: #fff;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.attachment-row span {
  flex: 1;
}

.inline-head {
  margin: 0 0 10px;
}

.check-status {
  padding: 11px;
  border-radius: 14px;
  background: #f2f7f0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-status > i {
  color: var(--green);
  margin-top: 2px;
}

.check-status strong,
.check-status span {
  display: block;
}

.check-status strong {
  font-size: 11px;
  line-height: 1.42;
}

.check-status span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.38;
}

.agreement {
  margin-top: 11px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #596057;
  font-size: 10px;
  line-height: 1.45;
}

.agreement input {
  margin: 2px 0 0;
  accent-color: var(--green);
}

.review-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.folder-breadcrumb {
  min-height: 28px;
  padding: 2px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
}

.folder-breadcrumb a {
  color: var(--green);
}

.folder-breadcrumb i {
  font-size: 8px;
}

.folder-summary-card {
  min-height: 96px;
  margin-top: 7px;
  padding: 14px;
  border: 1px solid rgba(184, 137, 53, 0.2);
  border-radius: 18px;
  background: #fffaf0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.folder-summary-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #f3e8c9;
  color: #a67828;
  font-size: 20px;
}

.folder-summary-card > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.folder-summary-card h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.folder-summary-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.folder-toolbar {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
}

.folder-search {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8d948b;
}

.folder-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}

.square-tool {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
}

.compact-pills {
  margin-top: 10px;
}

.subfolder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.subfolder-card {
  min-width: 0;
  min-height: 82px;
  padding: 11px;
  border: 1px solid rgba(184, 137, 53, 0.18);
  border-radius: 14px;
  background: #fffaf0;
}

.subfolder-card i,
.subfolder-card strong,
.subfolder-card span {
  display: block;
}

.subfolder-card i {
  color: var(--gold);
  font-size: 18px;
}

.subfolder-card strong {
  margin-top: 8px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subfolder-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.file-list {
  display: grid;
  gap: 8px;
}

.file-row {
  min-height: 78px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  display: grid;
  grid-template-columns: 38px 1fr 20px;
  align-items: center;
  gap: 9px;
}

.file-type {
  width: 38px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f7e9e5;
  color: #a24f43;
  font-size: 17px;
}

.file-type.doc {
  background: #eaf1f6;
  color: #477091;
}

.file-type.link {
  background: #e9f1e6;
  color: var(--green);
}

.file-type.image {
  background: #f4edda;
  color: #9a742d;
}

.file-main {
  min-width: 0;
}

.file-main strong,
.file-main span {
  display: block;
}

.file-main strong {
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-main span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.file-main .file-owner {
  color: #71806e;
}

.file-row > button {
  width: 20px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #9da39b;
}

.selected-file-card {
  min-height: 104px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #eadbd7;
  border-radius: 18px;
  background: #fff9f6;
  display: grid;
  grid-template-columns: 46px 1fr 32px;
  align-items: center;
  gap: 11px;
}

.selected-file-icon {
  width: 46px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #f5e3de;
  color: #a34e42;
  font-size: 21px;
}

.selected-file-main {
  min-width: 0;
}

.selected-file-main strong,
.selected-file-main > span {
  display: block;
}

.selected-file-main strong {
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selected-file-main > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.upload-complete {
  margin-top: 7px;
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
}

.selected-file-card > button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: #7f887d;
}

.optional-label {
  margin-left: 4px;
  color: #9aa198;
  font-size: 9px;
  font-weight: 650;
}

.ai-result-head {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ai-result-head h3 {
  margin: 0;
  color: #31536a;
}

.ai-result-head h3 i {
  margin-right: 5px;
}

.ai-result-head > div > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.ai-result-head > button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #477091;
  font-size: 10px;
  font-weight: 750;
}

.ai-result-text {
  min-height: 92px;
  border-color: #dbe5e9;
  background: #f7fafb;
  line-height: 1.55;
}

.keyword-editor {
  margin-top: 11px;
}

.keyword-editor > span {
  display: block;
  margin-bottom: 7px;
  color: #3c433b;
  font-size: 11px;
  font-weight: 800;
}

.keyword-editor > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.keyword-editor button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #dbe5e9;
  border-radius: 14px;
  background: #f5f9fa;
  color: #49616e;
  font-size: 10px;
}

.keyword-editor button i {
  margin-left: 4px;
  color: #88979f;
}

.keyword-editor button[aria-label] {
  width: 28px;
  padding: 0;
}

.keyword-editor button[aria-label] i {
  margin: 0;
}

.ai-usage-note {
  margin: 10px 0 0;
  padding-top: 9px;
  border-top: 1px solid #e5ebed;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.visibility-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.visibility-options button {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #6d756b;
  font-size: 10px;
  font-weight: 750;
}

.visibility-options button.active {
  border-color: var(--green);
  background: #eef3ec;
  color: var(--green);
}

.member-settings {
  margin-top: 9px;
  padding-top: 2px;
  border-top: 1px solid var(--line);
}

.upload-save-card {
  background: #f8faf6;
}

.save-destination {
  display: flex;
  align-items: center;
  gap: 9px;
}

.save-destination > i {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #efe6cd;
  color: #9a742d;
}

.save-destination strong,
.save-destination small {
  display: block;
}

.save-destination strong {
  font-size: 11px;
}

.save-destination small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.bottom-tab {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  padding: 8px 18px 11px;
  border-top: 1px solid var(--line);
  background: rgba(255, 254, 249, 0.94);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 3;
}

.tab-item {
  display: grid;
  place-items: center;
  gap: 3px;
  color: #899087;
  font-size: 10px;
  font-weight: 700;
}

.tab-item i {
  font-size: 18px;
}

.tab-item.active {
  color: var(--green);
}

@media (max-width: 1260px) {
  .board-grid {
    grid-template-columns: repeat(2, 390px);
  }
}

@media (max-width: 860px) {
  .board-grid {
    grid-template-columns: 390px;
  }
}
