:root {
  --background: #f4f7f8;
  --foreground: #111b22;
  --muted: #60717b;
  --line: #d9e3e7;
  --panel: #ffffff;
  --ink: #111b22;
  --navy: #102334;
  --green: #0f8061;
  --green-soft: #e3f4ed;
  --blue: #2267c7;
  --blue-soft: #e7f0ff;
  --amber: #c98513;
  --amber-soft: #fff3d6;
  --rose: #c64d63;
  --rose-soft: #ffe9ee;
  /* 全站内容宽：绝对上限 + 相对边距 */
  --content-max: 1100px;
  --page-gutter: clamp(20px, 5vw, 96px);
  --page-inline: max(var(--page-gutter), calc((100% - var(--content-max)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, #edf4f6 0, rgba(244, 247, 248, 0) 390px),
    var(--background);
  color: var(--foreground);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-shell,
.admin-shell,
.login-page {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 14px var(--page-inline);
  border-bottom: 1px solid rgba(16, 35, 52, 0.1);
  background: rgba(244, 247, 248, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #364852;
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  color: #364852;
  font-weight: 640;
  padding: 6px 2px;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.site-nav a.active {
  color: var(--blue);
  font-weight: 820;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}

.text-link:hover,
.back-link:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-login {
  color: #52636d;
  font-size: 14px;
  font-weight: 760;
}

.header-user {
  max-width: 140px;
  overflow: hidden;
  color: #52636d;
  font-size: 14px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions button.header-login {
  border: 0;
  background: transparent;
  padding: 0;
}

.header-action,
.search-panel button,
.story-link,
.geo-section a,
.geo-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 780;
}

.header-action {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 16px;
}

.ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px var(--page-inline);
  border-bottom: 1px solid rgba(16, 35, 52, 0.08);
  background: #fff;
}

.ticker > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 820;
}

.ticker div {
  display: flex;
  gap: 18px;
  overflow: hidden;
  color: #475963;
  font-size: 13px;
  white-space: nowrap;
}

.ticker a::before {
  color: var(--green);
  content: "• ";
}

/* ========== 门户首页 ========== */
.home-portal {
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(46, 168, 140, 0.16), transparent 58%),
    radial-gradient(760px 360px at 88% 0%, rgba(34, 103, 199, 0.12), transparent 54%),
    linear-gradient(180deg, #0c1926 0%, #102334 42%, #123041 78%, #0f1f2c 100%);
  color: #d7e2e8;
}

.home-portal-stage {
  display: grid;
  gap: 16px;
  padding: 28px var(--page-inline) 64px;
}

.home-promo-cluster {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 16px;
  min-height: 380px;
  overflow: visible;
}

.home-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transform: translateZ(0);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.home-promo:hover {
  z-index: 2;
  transform: scale(1.024);
  box-shadow: 0 22px 48px rgba(6, 14, 22, 0.28);
}

.home-promo-main {
  min-height: 380px;
  background:
    url("/assets/home-promo-viniray.webp") left 18% / cover no-repeat;
  box-shadow: 0 18px 40px rgba(6, 14, 22, 0.22);
}

.home-promo-pair {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 380px;
}

.home-promo-geo {
  min-height: 0;
  background:
    url("/assets/home-promo-geo.webp") left center / cover no-repeat;
  box-shadow: 0 14px 28px rgba(6, 14, 22, 0.14);
}

.home-promo-builder {
  min-height: 0;
  background:
    url("/assets/home-promo-builder.webp") left center / cover no-repeat;
  box-shadow: 0 14px 28px rgba(6, 14, 22, 0.14);
  color: #102334;
}

.home-promo-builder.is-soon {
  cursor: default;
  opacity: 0.92;
}

.home-promo-builder.is-soon:hover {
  z-index: auto;
  transform: none;
  box-shadow: none;
}

.home-promo-tag {
  width: fit-content;
  border-radius: 999px;
  background: rgba(16, 35, 52, 0.08);
  padding: 4px 10px;
  color: inherit;
  font-size: 12px;
  font-weight: 760;
}

.home-promo-builder .home-promo-tag,
.home-promo-builder .home-promo-cta.ghost {
  background: rgba(255, 255, 255, 0.12);
}

.home-promo h3 {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 840;
}

.home-promo-geo p,
.home-promo-builder p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.82;
}

.home-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  margin-top: 18px;
  border-radius: 999px;
  background: #d4533c;
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 780;
}

.home-promo-cta.ghost {
  background: rgba(16, 35, 52, 0.08);
  color: inherit;
}

.home-create-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(6, 14, 22, 0.22);
}

.home-create-banner {
  padding: 20px 18px 18px;
  background:
    linear-gradient(135deg, rgba(15, 128, 97, 0.16), transparent 55%),
    linear-gradient(160deg, #123041 0%, #1a4558 100%);
  color: #eef6f8;
}

.home-create-banner span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 760;
}

.home-create-banner strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
  font-weight: 840;
  line-height: 1.35;
}

.home-create-banner p {
  margin-top: 8px;
  color: rgba(238, 246, 248, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.home-create-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: center;
  padding: 18px 14px;
}

.home-create-item {
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7fafb;
  padding: 18px 10px;
  color: #243846;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.home-create-item:hover {
  border-color: color-mix(in srgb, var(--green) 35%, var(--line));
  background: var(--green-soft);
  color: var(--green);
}

.home-create-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background:
    radial-gradient(circle at 50% 42%, transparent 0 35%, currentColor 36% 38%, transparent 39%),
    linear-gradient(currentColor, currentColor) center 58% / 14px 1.5px no-repeat;
  opacity: 0.9;
}

.home-create-icon.write {
  border-color: #2267c7;
  color: #2267c7;
}

.home-create-icon.upload {
  border-color: #0f8061;
  color: #0f8061;
  background:
    linear-gradient(currentColor, currentColor) 50% 38% / 1.5px 14px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 38% / 14px 1.5px no-repeat;
}

.home-create-item em {
  font-size: 13px;
  font-style: normal;
  font-weight: 780;
}

.home-search {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px 10px 14px;
  box-shadow: 0 12px 28px rgba(6, 14, 22, 0.14);
}

.home-search-modes {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: #eef3f5;
}

.home-search-modes button {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #61727c;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 740;
}

.home-search-modes button.active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 2px 8px rgba(16, 35, 52, 0.08);
}

.home-search-icon {
  display: grid;
  width: 18px;
  height: 18px;
  color: #80919b;
}

.home-search-icon svg {
  width: 18px;
  height: 18px;
}

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

.home-search-btn {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 780;
}

.home-feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 16px;
  align-items: start;
  margin-top: 4px;
}

.home-feed-panel,
.home-side-panel {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(6, 14, 22, 0.16);
}

.home-feed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 4px 18px 0;
}

.home-feed-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: #61727c;
  padding: 0 2px 12px;
  font-size: 15px;
  font-weight: 740;
}

.home-feed-tabs button i {
  border-radius: 4px;
  background: #e4574d;
  color: #fff;
  padding: 1px 5px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.home-feed-tabs button.active {
  color: var(--green);
  font-weight: 820;
}

.home-feed-tabs button.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--green);
}

.home-feed-more {
  margin-left: auto;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.home-feed-more:hover {
  color: var(--green);
}

.home-feed-list {
  display: grid;
}

.home-feed-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 16px 18px;
  color: inherit;
}

.home-feed-item:first-child {
  border-top: 0;
}

.home-feed-item:hover {
  background: #fbfcfd;
}

.home-feed-item:hover strong {
  color: var(--green);
}

.home-feed-main {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}

.home-feed-article .article-cover {
  width: 72px;
  min-width: 72px;
  height: 72px;
  aspect-ratio: auto;
  border-radius: 12px;
  font-size: 16px;
}

.home-feed-article .article-category {
  width: fit-content;
  margin: 0;
}

.home-feed-article .home-feed-main > p,
.home-feed-article .tag-row,
.home-feed-article .article-meta {
  margin-top: 0;
}

.home-feed-doc .document-list-icon {
  width: 64px;
  min-width: 64px;
  height: 64px;
}

.home-feed-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.home-feed-title-row strong {
  flex: 1 1 auto;
  min-width: 0;
}

.home-feed-badge {
  border-radius: 4px;
  background: #e4574d;
  color: #fff;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 800;
}

.home-feed-item strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
  line-height: 1.4;
}

.home-feed-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.home-feed-item .tag-row,
.home-feed-item .article-meta,
.home-feed-item .document-list-meta {
  margin-top: 2px;
}

.home-feed-item .document-list-type {
  margin-left: auto;
}

.home-feed-empty,
.home-side-empty {
  padding: 36px 18px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.home-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 16px 16px 14px;
}

.home-side-head strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
}

.home-side-head a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.home-side-head a:hover {
  color: var(--green);
}

.home-side-list {
  display: grid;
}

.home-side-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 14px 16px;
  color: inherit;
}

.home-side-item:first-child {
  border-top: 0;
}

.home-side-item:hover h3 {
  color: var(--green);
}

.home-side-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: #eef5f7;
  color: #31424d;
  font-size: 11px;
  font-weight: 820;
}

.home-side-item h3 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.home-side-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 6px;
  color: #80919b;
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  padding: 28px var(--page-inline) 18px;
  overflow: visible;
}

.articles-page {
  background: #e7eef2;
}

.articles-page .hero {
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(46, 168, 140, 0.16), transparent 58%),
    radial-gradient(760px 360px at 88% 0%, rgba(34, 103, 199, 0.12), transparent 54%),
    linear-gradient(180deg, #0c1926 0%, #102334 72%, #123041 100%);
  padding-bottom: 32px;
}

.articles-page .headline-small.emptyVisual {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 32px rgba(6, 14, 22, 0.22);
}

.articles-page .headline-small.emptyVisual::after {
  display: none;
}

.articles-page .headline-small.emptyVisual h2 {
  color: var(--ink);
}

.articles-page .headline-small.emptyVisual span {
  color: #fff;
}

.articles-page .headline-side .headline-small.emptyVisual:nth-child(1) {
  background: linear-gradient(165deg, #f7fbf9, #e5f4ee);
  box-shadow: inset 3px 0 0 #0f8061, 0 16px 32px rgba(6, 14, 22, 0.22);
}

.articles-page .headline-side .headline-small.emptyVisual:nth-child(1) span {
  background: #0f8061;
}

.articles-page .headline-side .headline-small.emptyVisual:nth-child(2) {
  background: linear-gradient(165deg, #f7f9fd, #e7f0fb);
  box-shadow: inset 3px 0 0 #2267c7, 0 16px 32px rgba(6, 14, 22, 0.22);
}

.articles-page .headline-side .headline-small.emptyVisual:nth-child(2) span {
  background: #2267c7;
}

.articles-page .headline-side .headline-small.emptyVisual:nth-child(3) {
  background: linear-gradient(165deg, #fbfaf6, #f8f1dc);
  box-shadow: inset 3px 0 0 #c98513, 0 16px 32px rgba(6, 14, 22, 0.22);
}

.articles-page .headline-side .headline-small.emptyVisual:nth-child(3) span {
  background: #c98513;
}

.articles-page .headline-side .headline-small.emptyVisual:nth-child(4) {
  background: linear-gradient(165deg, #f6fbfa, #e4f3f6);
  box-shadow: inset 3px 0 0 #1a7f8c, 0 16px 32px rgba(6, 14, 22, 0.22);
}

.articles-page .headline-side .headline-small.emptyVisual:nth-child(4) span {
  background: #1a7f8c;
}

.articles-page .articles-body {
  padding-top: 28px;
}

.headline-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, #203141, #0f8061);
  background-position: center;
  background-size: cover;
  color: #fff;
  transform: translateZ(0);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.headline-card:hover {
  z-index: 2;
  transform: scale(1.02);
  box-shadow: 0 20px 44px rgba(9, 17, 24, 0.28);
}

.headline-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 17, 24, 0.02) 26%, rgba(9, 17, 24, 0.82) 100%);
  content: "";
  transition: background 0.28s ease;
}

.headline-card:hover::after {
  background: linear-gradient(180deg, rgba(9, 17, 24, 0.01) 22%, rgba(9, 17, 24, 0.74) 100%);
}

.headline-card > * {
  position: relative;
  z-index: 1;
}

.headline-main {
  min-height: 400px;
  align-items: flex-end;
  padding: clamp(22px, 3vw, 32px);
}

.headline-main .article-category {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
}

.headline-main strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.04em;
}

.headline-main h1 {
  max-width: 18em;
  margin-top: 10px;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 860;
  line-height: 1.24;
  letter-spacing: -0.015em;
}

.headline-main p {
  max-width: 36em;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.65;
}

.headline-main time {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.headline-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 400px;
  overflow: visible;
}

.headline-small {
  min-height: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 16px 14px;
}

@media (prefers-reduced-motion: reduce) {
  .home-promo,
  .headline-card {
    transition: none;
  }

  .home-promo:hover,
  .headline-card:hover {
    transform: none;
  }

  .home-promo-builder.is-soon:hover {
    box-shadow: none;
  }
}

.headline-small.emptyVisual {
  background:
    linear-gradient(135deg, rgba(16, 35, 52, 0.96), rgba(15, 128, 97, 0.9)),
    var(--navy);
}

.headline-small span {
  width: fit-content;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  padding: 4px 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 780;
}

.headline-small h2 {
  margin-top: 8px;
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.lead-story,
.radar-panel,
.search-band,
.briefing-panel,
.article-item,
.news-card,
.document-card,
.reserved-card,
.side-panel,
.admin-list-panel,
.admin-editor,
.login-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(16, 35, 52, 0.05);
}

.lead-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  min-height: 470px;
  overflow: hidden;
}

.lead-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 470px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(16, 35, 52, 0.18), rgba(16, 35, 52, 0.72)),
    url("/assets/trade-intelligence-og.png") center / cover;
  color: #fff;
}

.lead-visual span {
  position: relative;
  width: fit-content;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
}

.lead-visual strong {
  position: relative;
  font-size: clamp(62px, 8vw, 104px);
  line-height: 0.95;
}

.lead-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 840;
}

.kicker {
  margin-bottom: 10px;
  text-transform: uppercase;
}

.lead-content h1,
.page-hero h1,
.article-detail h1 {
  color: var(--ink);
  font-weight: 860;
  line-height: 1.1;
  letter-spacing: 0;
}

.lead-content h1 {
  margin-top: 18px;
  font-size: clamp(34px, 4vw, 54px);
}

.lead-content p,
.page-hero p,
.geo-section p {
  color: #40515b;
  font-size: 16px;
  line-height: 1.82;
}

.lead-content p {
  margin-top: 18px;
}

.story-meta,
.article-meta,
.quick-links,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.story-meta {
  margin-top: 22px;
}

.story-meta span,
.article-category,
.quick-links button,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 0;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 780;
}

.story-link {
  align-self: flex-start;
  margin-top: 28px;
  background: var(--navy);
  color: #fff;
  padding: 0 18px;
}

.radar-panel {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.panel-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}

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

.radar-score {
  display: grid;
  min-height: 132px;
  margin-top: 18px;
  place-items: center;
  border: 1px solid rgba(34, 103, 199, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #f6fbff, #eef6f2);
}

.radar-score span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.radar-score strong {
  color: var(--navy);
  font-size: 58px;
  line-height: 1;
}

.radar-bars {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.radar-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px;
  gap: 10px;
  align-items: center;
  color: #41535d;
  font-size: 13px;
  font-weight: 740;
}

.radar-row div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef1;
}

.radar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.radar-row em {
  color: var(--blue);
  font-style: normal;
}

.radar-row small {
  grid-column: 2 / 4;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.search-band,
.section,
.geo-section,
.page-main {
  margin-inline: var(--page-inline);
}

.search-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.search-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid #ccd9de;
  border-radius: 8px;
  background: #fff;
}

.search-panel > span {
  margin-left: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 820;
}

.search-panel input,
.compact-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 15px;
}

.search-panel button,
.geo-section a,
.geo-cta a {
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 0 18px;
}

.quick-links {
  align-items: center;
}

.quick-links button,
.tag-row span {
  background: #f2f6f7;
  color: #4b5e68;
}

.section {
  padding-block: clamp(54px, 7vw, 88px);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h2,
.page-hero h1,
.geo-section h2,
.article-detail h1 {
  font-size: clamp(30px, 4vw, 46px);
}

.text-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #3f515c;
  font-weight: 780;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.article-list,
.article-grid-list {
  display: grid;
  gap: 12px;
}

.article-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.article-item:hover,
.news-card:hover,
.document-card:hover,
.reserved-card:hover {
  border-color: rgba(34, 103, 199, 0.32);
  box-shadow: 0 18px 42px rgba(16, 35, 52, 0.09);
  transform: translateY(-1px);
}

.article-cover {
  display: grid;
  width: 112px;
  min-width: 112px;
  aspect-ratio: 1.18;
  place-items: center;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 850;
  overflow: hidden;
  background-repeat: no-repeat;
}

.article-cover.has-image {
  color: transparent;
  background-color: #d9e3ea;
  text-shadow: none;
}

.article-cover.is-geo {
  background: var(--blue-soft);
  color: var(--blue);
}

.article-cover.is-compliance {
  background: var(--rose-soft);
  color: var(--rose);
}

.article-cover.is-expo {
  background: var(--amber-soft);
  color: var(--amber);
}

.article-cover.is-industry {
  background: #eaf0f2;
  color: var(--navy);
}

.article-cover.is-market {
  background: #e8f3f8;
  color: #1f5f7a;
}

.article-cover.is-buyer {
  background: var(--green-soft);
  color: var(--green);
}

.article-cover.is-beginner {
  background: #f3eef8;
  color: #6b4f8a;
}

.article-cover.has-image.is-geo,
.article-cover.has-image.is-compliance,
.article-cover.has-image.is-expo,
.article-cover.has-image.is-industry,
.article-cover.has-image.is-market,
.article-cover.has-image.is-buyer,
.article-cover.has-image.is-beginner {
  color: transparent;
}

.article-item h3,
.news-card h2 {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.36;
}

.article-item h3 {
  font-size: 20px;
}

.article-item p,
.news-card p,
.briefing-item strong,
.document-card p,
.reserved-card p,
.side-panel p {
  color: #576870;
  line-height: 1.72;
}

.article-item p,
.news-card p {
  margin-top: 10px;
}

.article-meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.article-item > b {
  color: var(--muted);
  font-size: 30px;
  font-weight: 400;
}

.briefing-panel {
  padding: 22px;
}

.briefing-item {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.briefing-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.briefing-item span,
.document-card span,
.reserved-card span {
  width: fit-content;
  border-radius: 8px;
  background: var(--amber-soft);
  color: var(--amber);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}

.briefing-item strong {
  font-size: 14px;
}

.briefing-item time {
  color: var(--muted);
  font-size: 12px;
}

.document-grid,
.reserved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.document-card,
.reserved-card {
  min-height: 210px;
  padding: 22px;
}

.document-card h3,
.document-card h2,
.reserved-card h2 {
  margin-top: 16px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.document-card p,
.reserved-card p {
  margin-top: 10px;
}

.document-library-card {
  display: flex;
  flex-direction: column;
}

.documents-page {
  display: grid;
  gap: 28px;
  margin-inline: 0;
  padding-block: 0 72px;
  background: #e7eef2;
}

.documents-hero {
  position: relative;
  overflow: hidden;
  padding: 28px var(--page-inline) 36px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(46, 168, 140, 0.16), transparent 58%),
    radial-gradient(760px 360px at 88% 0%, rgba(34, 103, 199, 0.12), transparent 54%),
    linear-gradient(180deg, #0c1926 0%, #102334 72%, #123041 100%);
  box-shadow: none;
  color: #d7e2e8;
}

.documents-hero-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.documents-mine-pill {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #2f4a56;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 760;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 6px 16px rgba(16, 35, 52, 0.06);
  transition: background 0.15s ease, color 0.15s ease;
}

.documents-mine-pill:hover {
  background: #fff;
  color: var(--green);
}

.documents-hero-stage {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 8px 12px 4px;
}

.documents-hero-visual {
  position: absolute;
  left: 8px;
  bottom: 18px;
  width: 150px;
  height: 128px;
  pointer-events: none;
  opacity: 0.92;
}

.documents-hero-orb {
  position: absolute;
  left: 18px;
  top: 10px;
  width: 96px;
  height: 96px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.04);
}

.documents-hero-orb::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.documents-hero-sheet {
  position: absolute;
  display: block;
  width: 58px;
  height: 72px;
  border: 1px solid rgba(16, 35, 52, 0.10);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 248, 250, 0.92)),
    repeating-linear-gradient(
      180deg,
      transparent 0 10px,
      rgba(16, 35, 52, 0.06) 10px 11px
    );
  box-shadow: 0 10px 22px rgba(16, 35, 52, 0.10);
}

.documents-hero-sheet-a {
  left: 34px;
  top: 28px;
  transform: rotate(-14deg);
  opacity: 0.78;
}

.documents-hero-sheet-b {
  left: 54px;
  top: 22px;
  transform: rotate(-4deg);
  width: 62px;
  height: 78px;
}

.documents-hero-sheet-c {
  left: 74px;
  top: 18px;
  transform: rotate(8deg);
  width: 56px;
  height: 74px;
  background:
    linear-gradient(180deg, #fff, #eef7f3),
    repeating-linear-gradient(
      180deg,
      transparent 0 10px,
      rgba(15, 128, 97, 0.10) 10px 11px
    );
}

.documents-hero-core {
  width: min(860px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.documents-hero-brand {
  margin: 0;
  color: rgba(215, 226, 232, 0.68);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.documents-hero-core h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 860;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.documents-mine-link {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #40515b;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 760;
}

.documents-mine-link:hover {
  border-color: color-mix(in srgb, var(--green) 35%, var(--line));
  color: var(--green);
}

.documents-search-band {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
}

.documents-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  flex: 1 1 460px;
  max-width: 640px;
  min-height: 52px;
  padding: 6px 6px 6px 14px;
  border: 1px solid rgba(16, 35, 52, 0.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 35, 52, 0.08);
}

.documents-search-icon {
  display: grid;
  width: 18px;
  height: 18px;
  color: #7f919b;
}

.documents-search-icon svg {
  width: 18px;
  height: 18px;
}

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

.documents-search-btn {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: #e39a1c;
  color: #fff;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 780;
}

.documents-search-btn:hover {
  background: #d08912;
}

.documents-upload-btn {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 780;
  box-shadow: 0 10px 22px rgba(15, 128, 97, 0.18);
}

.documents-upload-btn:hover {
  background: #0c6f54;
}

.documents-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 2px;
}

.documents-categories > span {
  color: rgba(215, 226, 232, 0.68);
  font-size: 13px;
  font-weight: 760;
}

.documents-categories > span::after {
  content: '：';
}

.documents-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  justify-content: center;
}

.documents-category-tabs button {
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
}

.documents-category-tabs button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.documents-category-tabs button.active {
  border-color: transparent;
  background: #fff;
  color: var(--navy);
  font-weight: 820;
  box-shadow: none;
}

.documents-plaza {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 18px;
  align-items: start;
  margin-inline: var(--page-inline);
}

.document-list-panel,
.document-side {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 35, 52, 0.04);
}

.document-list-bar,
.document-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.document-list-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
}

.document-list-tabs span {
  position: relative;
  padding: 16px 0;
  color: #7a8b95;
  font-size: 15px;
  font-weight: 720;
}

.document-list-tabs span.active {
  color: var(--ink);
  font-weight: 820;
}

.document-list-tabs span.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

.document-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9aa8b0;
  font-size: 14px;
}

.document-sort button {
  border: 0;
  background: transparent;
  color: #8a99a2;
  padding: 0;
  font-size: 14px;
  font-weight: 720;
}

.document-sort button.active {
  color: var(--green);
  font-weight: 820;
}

.document-list {
  display: grid;
}

.document-list-state {
  margin: 16px;
}

.document-list-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-top: 1px solid #edf2f4;
}

.document-list-card:first-child {
  border-top: 0;
}

.document-list-card:hover {
  background: #fbfcfd;
}

.document-list-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 10px;
  background: #eef3f8;
}

.document-list-icon span,
.document-side-icon span {
  display: grid;
  width: 34px;
  height: 40px;
  place-items: center;
  border-radius: 4px 8px 4px 4px;
  background: #4b6fa8;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 6px 14px rgba(16, 35, 52, 0.12);
}

.document-list-icon[data-type="word"] span,
.document-side-icon[data-type="word"] span {
  background: #2b579a;
}

.document-list-icon[data-type="excel"] span,
.document-side-icon[data-type="excel"] span {
  background: #217346;
}

.document-list-icon[data-type="ppt"] span,
.document-side-icon[data-type="ppt"] span {
  background: #c43e1c;
}

.document-list-icon[data-type="pdf"] span,
.document-side-icon[data-type="pdf"] span {
  background: #d1433f;
}

.document-list-icon[data-type="csv"] span,
.document-list-icon[data-type="txt"] span,
.document-list-icon[data-type="md"] span,
.document-list-icon[data-type="file"] span,
.document-side-icon[data-type="csv"] span,
.document-side-icon[data-type="txt"] span,
.document-side-icon[data-type="md"] span,
.document-side-icon[data-type="file"] span {
  background: #3f6478;
  font-size: 10px;
}

.document-list-main {
  min-width: 0;
}

.document-list-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.document-list-main h2,
.document-list-title {
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
  line-height: 1.35;
}

.document-list-title {
  transition: color 0.15s ease;
}

.document-list-title:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.document-list-type {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 780;
}

.document-list-main p {
  margin-top: 8px;
  color: #667780;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.document-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  color: #8a99a2;
  font-size: 13px;
}

.document-side-head strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
}

.document-side-head button {
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 0;
  font-size: 13px;
  font-weight: 760;
}

.document-side-head button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.document-side-empty {
  padding: 28px 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.document-side-list {
  display: grid;
}

.document-side-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-top: 1px dashed #e4ebef;
}

.document-side-item:first-child {
  border-top: 0;
}

.document-side-item:hover {
  background: #fbfcfd;
}

.document-side-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #f2f6f8;
}

.document-side-icon span {
  width: 24px;
  height: 28px;
  font-size: 10px;
  box-shadow: none;
}

.document-side-item h3 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.document-side-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
  color: #93a1a9;
  font-size: 12px;
}

.document-detail-page {
  display: grid;
  gap: 18px;
}

.document-detail-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.document-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #7f919b;
  font-size: 13px;
}

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

.document-breadcrumb em {
  color: var(--ink);
  font-style: normal;
  font-weight: 760;
}

.document-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.document-detail-upload {
  min-height: 38px;
  padding: 0 14px;
  box-shadow: none;
}

.document-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 18px;
  align-items: start;
}

.document-detail-card,
.document-uploader-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 35, 52, 0.04);
}

.document-detail-card {
  padding: 24px;
}

.document-detail-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.document-detail-icon {
  width: 72px;
  height: 72px;
}

.document-detail-heading h1 {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 840;
  line-height: 1.3;
}

.document-detail-heading p {
  margin-top: 10px;
  color: #667780;
  font-size: 15px;
  line-height: 1.7;
}

.document-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #edf2f4;
}

.document-detail-meta dt {
  color: #8a99a2;
  font-size: 12px;
  font-weight: 720;
}

.document-detail-meta dd {
  margin-top: 6px;
  color: #31424d;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.5;
}

.document-detail-muted {
  color: #9aa8b0;
  font-weight: 640;
}

.document-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.document-detail-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 760;
}

.document-detail-cta {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #edf2f4;
}

.document-detail-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 46px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(15, 128, 97, 0.18);
}

.document-detail-download:hover {
  filter: brightness(0.96);
}

.document-detail-cta p {
  color: #8a99a2;
  font-size: 13px;
  line-height: 1.6;
}

.document-detail-side {
  display: grid;
  gap: 14px;
}

.document-uploader-card {
  padding: 18px;
}

.document-uploader-card > h2,
.document-detail-side-head {
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  min-height: 0;
}

.document-uploader-card > h2 {
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
}

.document-detail-side-head {
  justify-content: flex-start;
}

.document-uploader-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.document-uploader-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), #1f4d63);
  color: #fff;
  font-size: 18px;
  font-weight: 820;
}

.document-uploader-profile strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
}

.document-uploader-profile p {
  margin-top: 4px;
  color: #8a99a2;
  font-size: 12px;
}

.document-uploader-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #edf2f4;
  text-align: center;
}

.document-uploader-stats strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
}

.document-uploader-stats span {
  display: block;
  margin-top: 4px;
  color: #8a99a2;
  font-size: 12px;
}

.document-meta,
.document-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
}

.document-meta {
  margin-top: 16px;
}

.document-meta small,
.document-row-meta small {
  border-radius: 999px;
  background: #f2f6f7;
  padding: 4px 8px;
  font-size: 12px;
}

.document-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: auto;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 780;
}

.document-workspace {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  justify-items: stretch;
}

.document-workspace > * {
  width: 100%;
  min-width: 0;
}

.document-uploader .document-dropzone {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.document-uploader {
  padding: 18px;
}

.document-upload-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
}

.document-upload-head h3,
.document-upload-head .compose-panel-title {
  margin: 0;
}

.document-upload-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.document-dropzone {
  position: relative;
  display: grid;
  gap: 10px;
  place-items: center;
  width: 80%;
  max-width: 100%;
  min-height: 148px;
  margin: 4px auto 0;
  padding: 28px 20px;
  border: 1.5px dashed color-mix(in srgb, var(--green) 42%, #9ecfbe);
  border-radius: 10px;
  background: color-mix(in srgb, var(--green-soft) 72%, #fff);
  color: var(--green);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.document-dropzone:hover,
.document-dropzone.is-dragging {
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent);
}

.document-dropzone.has-file {
  border-style: solid;
  border-color: color-mix(in srgb, var(--green) 35%, var(--line));
  background: #fff;
  color: var(--ink);
}

.document-dropzone.has-file .document-dropzone-action {
  color: var(--ink);
}

.document-dropzone.has-file .document-dropzone-icon {
  color: var(--green);
}

.document-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.document-dropzone-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: min(720px, 100%);
  color: var(--green);
  font-size: 16px;
  font-weight: 780;
  line-height: 1.35;
  pointer-events: none;
}

.document-dropzone-action strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 820;
}

.document-dropzone-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}

.document-dropzone-hint {
  max-width: min(760px, 100%);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  pointer-events: none;
}

.document-upload-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px);
  gap: 14px;
}

.document-summary-field {
  grid-column: 1 / -1;
}

.document-summary-field textarea {
  min-height: 92px;
}

.document-visibility-toggle {
  display: flex !important;
  grid-column: 1 / -1;
  gap: 10px !important;
  align-items: center;
  width: fit-content;
  color: #40515b;
  font-size: 14px;
  font-weight: 760;
}

.document-visibility-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.document-manager {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: 0;
}

.document-manager-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.document-manager-head h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
}

.document-manager-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.document-row-meta {
  margin-top: 10px;
}

.geo-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 72px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.geo-section .kicker,
.geo-section h2,
.geo-section p {
  color: #fff;
}

.geo-section p {
  max-width: 760px;
  margin-top: 12px;
  opacity: 0.82;
}

.geo-section a {
  background: #fff;
  color: var(--navy);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px var(--page-inline);
  border-top: 1px solid rgba(16, 35, 52, 0.1);
  color: var(--muted);
  font-size: 13px;
}

.page-main {
  padding-block: 44px 82px;
}

.documents-page.page-main {
  margin-inline: 0;
  padding: 0 0 72px;
}

.page-hero {
  max-width: 880px;
  padding-block: 24px 34px;
}

.page-hero p {
  max-width: 760px;
  margin-top: 14px;
}

/* 写作 / 上传：深色舞台 + 面包屑，去空头区 AI 感 */
.compose-page {
  margin-inline: 0;
  padding-inline: var(--page-inline);
  padding-block: 26px 72px;
  background:
    radial-gradient(900px 320px at 8% -8%, rgba(46, 168, 140, 0.18), transparent 58%),
    radial-gradient(700px 280px at 92% 0%, rgba(34, 103, 199, 0.12), transparent 52%),
    linear-gradient(165deg, #0c1926 0%, #102334 46%, #123041 100%);
  color: #d5e0e6;
}

.compose-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  max-width: var(--content-max);
  margin: 0 auto 18px;
}

.compose-crumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(213, 224, 230, 0.58);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.01em;
}

.compose-crumb a {
  color: inherit;
  transition: color 0.15s ease;
}

.compose-crumb a:hover {
  color: #f2f7f9;
}

.compose-crumb-sep {
  color: rgba(213, 224, 230, 0.34);
  font-weight: 500;
}

.compose-crumb em {
  color: #3ec9a3;
  font-style: normal;
  font-weight: 760;
}

.compose-page .compose-actions {
  gap: 10px;
}

.compose-btn-ghost,
.compose-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.compose-btn-ghost {
  border: 1px solid rgba(213, 224, 230, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #e8f0f4;
}

.compose-btn-ghost:hover {
  border-color: rgba(62, 201, 163, 0.55);
  color: #3ec9a3;
}

.compose-btn-primary {
  border: 0;
  background: var(--green);
  color: #fff;
}

.compose-btn-primary:hover {
  background: #0c6f54;
}

.compose-panel {
  max-width: var(--content-max);
  margin-inline: auto;
}

.compose-panel > .admin-editor,
.compose-panel.editor-page-layout > .admin-editor,
.compose-panel.document-workspace > .admin-editor {
  border-color: transparent;
  border-radius: 14px 14px 12px 12px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 22px 48px rgba(6, 14, 22, 0.28);
}

.compose-panel.editor-page-layout > .article-composer {
  overflow: visible;
}

.compose-panel-title {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 820;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.composer-topbar .compose-panel-title {
  font-size: 24px;
}

/* 我的文章 / 我的文档：侧栏 + 主区，对齐创作页深色舞台 */
.mine-page .compose-topbar {
  margin-bottom: 20px;
}

.mine-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  max-width: var(--content-max);
  margin: 0 auto;
}

.mine-side {
  display: grid;
  gap: 14px;
}

.mine-profile-card,
.mine-nav-card,
.mine-page .mine-main {
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 40px rgba(6, 14, 22, 0.22);
}

.mine-profile-card {
  padding: 20px 18px 16px;
}

.mine-profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mine-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #163247, #0f8061);
  color: #fff;
  font-size: 18px;
  font-weight: 820;
}

.mine-profile-head strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.35;
  word-break: break-all;
}

.mine-role-badge {
  display: inline-flex;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 760;
}

.mine-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mine-stats div {
  text-align: center;
}

.mine-stats dt {
  color: #7a8b95;
  font-size: 12px;
  font-weight: 640;
}

.mine-stats dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 820;
  letter-spacing: -0.02em;
}

.mine-nav-card {
  padding: 16px 12px;
}

.mine-nav-card h2 {
  margin: 0 8px 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
}

.mine-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  margin-bottom: 4px;
  border-radius: 10px;
  padding: 0 12px;
  color: #40515b;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease;
}

.mine-nav-item:hover {
  background: #f3f7f8;
  color: var(--ink);
}

.mine-nav-item.active {
  background: color-mix(in srgb, var(--green-soft) 78%, #fff);
  color: var(--green);
  box-shadow: inset 3px 0 0 var(--green);
}

.mine-nav-item em {
  color: #80909a;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.mine-nav-item.active em {
  color: var(--green);
}

.mine-page .mine-main.article-manager {
  max-width: none;
  margin: 0;
  overflow: hidden;
}

.mine-page .document-manager {
  max-width: none;
}

.mine-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: flex-end;
  padding: 4px 20px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.mine-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: #61727c;
  padding: 0 2px 12px;
  font-size: 14px;
  font-weight: 720;
}

.mine-tabs button small {
  color: #91a0a9;
  font-size: 12px;
  font-weight: 700;
}

.mine-tabs button.active {
  color: var(--green);
  font-weight: 820;
}

.mine-tabs button.active small {
  color: var(--green);
}

.mine-tabs button.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--green);
}

.mine-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.mine-toolbar .compact-search {
  flex: 1;
  min-width: 200px;
}

.mine-flash {
  margin: 12px 18px 0;
}

.mine-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 64px 28px 72px;
  text-align: center;
  color: var(--muted);
}

.mine-empty strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
}

.mine-empty p {
  max-width: 420px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.mine-empty .compose-btn-primary {
  margin-top: 8px;
  min-height: 42px;
  padding: 0 18px;
}

.article-browser {
  display: grid;
  gap: 18px;
}

.browser-toolbar {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.browser-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.browser-toolbar-row .compact-search {
  flex: 1;
  min-width: 220px;
}

.compose-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn-mine,
.btn-compose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 780;
  white-space: nowrap;
}

.btn-mine {
  border: 1px solid var(--green);
  background: #fff;
  color: var(--green);
}

.btn-compose {
  border: 0;
  background: var(--green);
  color: #fff;
}

.btn-compose:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.workspace-title {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.compact-search {
  padding: 12px 14px;
  border: 1px solid #ccd9de;
  border-radius: 8px;
  background: #fff;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tabs button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #445660;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 760;
}

.category-tabs button.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.news-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.news-card .article-cover {
  width: 132px;
  min-width: 132px;
}

.news-card h2 {
  font-size: clamp(21px, 2.2vw, 28px);
}

.tag-row {
  margin-top: 14px;
}

.state-panel {
  border: 1px dashed #c8d5dc;
  border-radius: 8px;
  background: #fff;
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

.article-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
  width: 100%;
  margin-inline: 0;
  padding-inline: var(--page-inline);
  padding-block: 46px 82px;
  box-sizing: border-box;
}

.article-detail {
  min-width: 0;
  border-radius: 8px;
  background: #fff;
  padding: clamp(26px, 3.5vw, 42px);
}

.article-detail header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-detail h1 {
  margin-top: 18px;
}

.article-detail header p {
  margin-top: 16px;
  color: #40515b;
  font-size: 17px;
  line-height: 1.8;
}

.back-link {
  margin-bottom: 22px;
  font-size: 14px;
}

.article-body {
  padding-top: 18px;
  color: #273843;
  font-size: 16px;
  line-height: 1.9;
}

.article-body h1,
.article-body h2,
.article-body h3 {
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 820;
  line-height: 1.32;
}

.article-body h1 {
  font-size: 30px;
}

.article-body h2 {
  font-size: 24px;
}

.article-body h3 {
  font-size: 20px;
}

.article-body p {
  margin-top: 12px;
}

.article-body ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.article-body ol {
  margin: 14px 0 0;
  padding-left: 22px;
}

.article-body blockquote {
  margin: 18px 0 0;
  border-left: 3px solid #20b486;
  background: #f4fbf8;
  padding: 12px 16px;
  color: #31424d;
}

.article-body pre {
  overflow-x: auto;
  border-radius: 8px;
  background: #101822;
  padding: 14px;
  color: #e8edf2;
  line-height: 1.7;
}

.article-body code {
  border-radius: 5px;
  background: #eef3f6;
  padding: 2px 5px;
  font-size: 0.92em;
}

.article-body pre code {
  background: transparent;
  padding: 0;
}

.article-body img {
  display: block;
  max-width: 100%;
  margin: 18px 0 0;
  border-radius: 8px;
}

.article-body a {
  color: #11795d;
  font-weight: 700;
}

.article-side {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.side-panel {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.side-panel h2 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
  line-height: 1.35;
}

.side-panel:not(.geo-cta) a {
  padding-block: 12px;
  border-top: 1px solid var(--line);
  color: #334650;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.5;
}

.geo-cta {
  background: #f8fbff;
}

.geo-cta a {
  width: 100%;
}

.reserved-grid {
  margin-top: 12px;
}

.reserved-card button {
  min-height: 36px;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f6f7;
  color: var(--muted);
  padding: 0 12px;
  cursor: not-allowed;
}

.login-page {
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, #eef5f7, #f7f8fa);
}

.login-panel {
  width: min(100%, 420px);
  padding: 32px;
}

.back-home {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 760;
}

.admin-shell {
  background: #f7f8fa;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 16px var(--page-inline);
}

.admin-header p {
  color: var(--green);
  font-size: 13px;
  font-weight: 820;
}

.admin-header h1 {
  margin-top: 2px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 820;
}

.admin-user {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.admin-user a {
  color: var(--blue);
  font-weight: 760;
}

.admin-main {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.admin-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-title h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 820;
}

.admin-title p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.admin-overview-panel {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 14px 34px rgba(16, 35, 52, 0.05);
}

.featured-slot-list {
  display: grid;
}

.featured-slot-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.featured-slot-row.active {
  background: #f7fbfc;
}

.featured-slot-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.featured-slot-row:last-child {
  padding-bottom: 0;
}

.featured-slot-row > span {
  width: fit-content;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.featured-slot-row strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.45;
}

.featured-slot-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.featured-slot-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.featured-picker {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.featured-picker-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.featured-picker-head strong,
.featured-picker-head span {
  display: block;
}

.featured-picker-head strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
}

.featured-picker-head span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.featured-candidate-list {
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
}

.featured-candidate-list button {
  position: relative;
  display: grid;
  gap: 5px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px 120px 12px 12px;
  text-align: left;
}

.featured-candidate-list button:hover,
.featured-candidate-list button.selected {
  border-color: rgba(15, 128, 97, 0.42);
  background: #f4fbf8;
}

.featured-candidate-list strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.45;
}

.featured-candidate-list span {
  color: var(--muted);
  font-size: 12px;
}

.featured-candidate-list em {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  padding: 4px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.admin-shortcuts {
  align-content: start;
}

.admin-shortcut {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.admin-shortcut strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 820;
}

.admin-shortcut span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.article-manager,
.editor-page-layout {
  max-width: var(--content-max);
  margin: 0 auto;
}

.article-manager {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 35, 52, 0.05);
}

.manager-filter {
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 220px) auto;
  align-items: center;
}

.article-manager-list {
  display: grid;
}

.manager-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px;
}

.manager-row:first-child {
  border-top: 0;
}

.manager-row .article-cover,
.manager-row .manager-cover {
  display: grid;
  width: 72px;
  min-width: 72px;
  height: 72px;
  aspect-ratio: auto;
  padding: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 850;
  place-items: center;
  overflow: hidden;
}

.row-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.manager-row span {
  display: inline-flex;
  width: fit-content;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
}

.manager-row span.featured-badge {
  background: var(--green-soft);
  color: var(--green);
}

.manager-row h2 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
  line-height: 1.35;
}

.manager-row p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.manager-row time {
  display: block;
  margin-top: 8px;
  color: #80909a;
  font-size: 12px;
}

.manager-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-filter {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.admin-filter select {
  max-width: none;
}

.admin-article-list {
  display: grid;
}

.admin-article-list button {
  display: grid;
  gap: 8px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 16px;
  text-align: left;
}

.admin-article-list button:hover {
  background: #f7fbfc;
}

.admin-article-list button.active {
  background: #eef9f5;
  box-shadow: inset 3px 0 0 #20b486;
}

.admin-article-list span {
  width: fit-content;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
}

.admin-article-list strong {
  color: var(--ink);
  font-size: 16px;
}

.admin-article-list small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-article-list time {
  color: #80909a;
  font-size: 12px;
}

.admin-editor {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.admin-editor h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
}

.admin-editor label {
  display: grid;
  gap: 6px;
}

.admin-editor label > span {
  color: #31424d;
  font-size: 13px;
  font-weight: 760;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-composer {
  padding: 0;
  overflow: visible;
}

.composer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
}

.composer-action-bar {
  position: sticky;
  top: 64px;
  z-index: 12;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(16, 35, 52, 0.04);
}

.composer-topbar p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.composer-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.composer-stats span {
  border-radius: 999px;
  background: #f1f5f7;
  padding: 5px 9px;
  color: #40515b;
  font-size: 12px;
  font-weight: 760;
}

.composer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  min-height: 720px;
  align-items: start;
}

.composer-main {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  padding: 20px 18px 24px;
}

.composer-main > label > span,
.composer-side .field-block > span {
  display: block;
  line-height: 1.4;
  overflow: visible;
}

.composer-main label small {
  color: #80909a;
  font-size: 12px;
  text-align: right;
}

.title-input {
  min-height: 52px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.summary-input {
  min-height: 78px;
}

.editor-toolbar,
.editor-view-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.editor-toolbar button,
.editor-view-switch button {
  border: 1px solid #d7dde4;
  border-radius: 6px;
  background: #fff;
  padding: 8px 10px;
  color: #243140;
  font-size: 13px;
  font-weight: 760;
}

.editor-toolbar button:hover,
.editor-view-switch button:hover,
.editor-view-switch button.active {
  border-color: #20b486;
  background: #eef9f5;
  color: #11795d;
}

.hidden-file {
  display: none;
}

.editor-canvas {
  min-height: 560px;
}

.markdown-editor {
  min-width: 0;
}

.content-input {
  min-height: 600px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.8;
}

.composer-preview {
  min-width: 0;
  min-height: 600px;
  overflow: auto;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.preview-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.preview-heading span {
  color: #11795d;
  font-size: 12px;
  font-weight: 820;
}

.preview-heading strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
}

.preview-heading p {
  margin-top: 8px;
  color: #50626d;
  line-height: 1.7;
}

.composer-side {
  display: grid;
  align-content: start;
  gap: 18px;
  border-left: 1px solid var(--line);
  background: #f8fafb;
  padding: 20px 18px 24px;
}

.composer-side section {
  display: grid;
  gap: 12px;
}

.composer-side h4 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
}

.field-block {
  display: grid;
  gap: 8px;
}

.field-block > span {
  color: #40515b;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.4;
}

.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.cover-uploader {
  display: grid;
  gap: 8px;
}

.cover-upload-trigger {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px dashed #b7c6cf;
  border-radius: 10px;
  background: #fff;
  color: #445660;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.cover-upload-trigger:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
  background: #f4f8fc;
}

.cover-upload-trigger:disabled {
  opacity: 0.7;
  cursor: wait;
}

.cover-preview {
  position: relative;
  min-height: 132px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #d9e3ea center / cover no-repeat;
  overflow: hidden;
}

.cover-preview-actions {
  position: absolute;
  inset: auto 8px 8px auto;
  display: flex;
  gap: 6px;
}

.cover-preview-actions button {
  min-height: 30px;
  border: 0;
  border-radius: 8px;
  background: rgba(10, 20, 28, 0.72);
  color: #fff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 740;
  cursor: pointer;
}

.cover-preview-actions button:hover:not(:disabled) {
  background: rgba(10, 20, 28, 0.88);
}

.choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-chips button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #445660;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 760;
}

.choice-chips button.active {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.choice-chips button.chip-toggle {
  border-style: dashed;
  color: var(--blue);
}

.selected-tag-row,
.custom-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.selected-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border-radius: 999px;
  background: #eef3f5;
  color: #334650;
  padding: 0 10px 0 12px;
  font-size: 12px;
  font-weight: 760;
}

.selected-tag button {
  border: 0;
  background: transparent;
  color: #687984;
  padding: 0;
  font-size: 16px;
  line-height: 1;
}

.custom-tag-row .fti-input {
  flex: 1;
  min-width: 140px;
}

.advanced-settings {
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
}

.advanced-settings summary {
  cursor: pointer;
  color: #40515b;
  font-size: 13px;
  font-weight: 780;
}

.advanced-settings label {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.advanced-settings label > span {
  color: #40515b;
  font-size: 13px;
  font-weight: 760;
}

.composer-status {
  display: grid;
  gap: 6px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.composer-status span {
  color: #687984;
  font-size: 12px;
  font-weight: 760;
}

.composer-status strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
}

.composer-status small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.home-placement select:disabled {
  background: #eef3f5;
  color: #7a8992;
}

.publish-checks {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.publish-checks li {
  border-radius: 6px;
  background: #fff;
  padding: 9px 10px;
  color: #7b4b18;
  font-size: 13px;
}

.publish-checks li.ok {
  color: #11795d;
}

.publish-checks li::before {
  content: "○ ";
}

.publish-checks li.ok::before {
  content: "✓ ";
}

.form-error,
.form-success {
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 760;
}

.form-error {
  background: #fff1f2;
  color: #b91c1c;
}

.form-success {
  background: #eef9f5;
  color: #11795d;
}

.composer-actions {
  display: grid;
}

.composer-sticky-meta {
  min-width: 0;
}

.composer-action-bar p.is-saving {
  color: var(--blue);
}

.composer-action-bar p.is-dirty {
  color: #9a6700;
}

.composer-action-bar p.is-synced {
  color: #11795d;
}

.composer-sticky-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.composer-status-pill.is-draft {
  background: #f4f1ea;
  color: #7a5c2e;
}

.composer-status-pill.is-published {
  background: var(--green-soft);
  color: var(--green);
}

.composer-status-pill.is-archived {
  background: #eef1f4;
  color: #5b6b75;
}

.composer-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
}

.composer-notice strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
}

.composer-notice p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.composer-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.composer-notice.is-success {
  background: #f2faf7;
}

.composer-notice.is-info {
  background: #f4f8fc;
}

.composer-notice.is-warning {
  background: #fff8ef;
}

.publish-checks-panel {
  display: grid;
  gap: 12px;
  border-radius: 10px;
  transition: box-shadow 180ms ease, background 180ms ease;
}

.publish-checks-panel.highlight {
  background: #fff8ef;
  box-shadow: inset 0 0 0 1px #f0c98a;
  padding: 10px;
  margin: -10px;
}

.publish-checks li.miss {
  background: #fff8ef;
  color: #8a5a12;
}

.composer-side-meta {
  display: grid;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.composer-meta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.composer-meta-link {
  border: 0;
  background: transparent;
  padding: 6px 0;
  color: #5b6b75;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
  text-align: left;
}

.composer-meta-link:hover:not(:disabled) {
  color: var(--ink);
}

.composer-meta-link.is-danger {
  color: #b91c1c;
}

.composer-meta-link.is-danger:hover:not(:disabled) {
  color: #991b1b;
}

.composer-meta-link:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.composer-sticky-actions .fti-btn,
.composer-notice-actions .fti-btn {
  min-height: 36px;
}

.fti-toast-host {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 80;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 28px));
  pointer-events: none;
}

.fti-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 35, 52, 0.14);
  padding: 12px 12px 12px 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
  animation: fti-toast-in 180ms ease;
}

.fti-toast.is-success {
  border-color: #b7e4d4;
  background: #f3fbf7;
  color: #0f6d52;
}

.fti-toast.is-error {
  border-color: #fecaca;
  background: #fff5f5;
  color: #b91c1c;
}

.fti-toast.is-warning {
  border-color: #f0d3a0;
  background: #fff8ef;
  color: #8a5a12;
}

.fti-toast.is-info {
  border-color: #c7daf0;
  background: #f4f8fc;
  color: #1f4f7a;
}

.fti-toast-close {
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.55;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.fti-toast-close:hover {
  opacity: 0.9;
}

@keyframes fti-toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fti-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 20, 28, 0.42);
  backdrop-filter: blur(3px);
  animation: fti-toast-in 160ms ease;
}

.fti-modal {
  width: min(440px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 64px rgba(10, 20, 28, 0.24);
  padding: 22px;
}

.fti-modal h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 840;
}

.fti-modal > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.fti-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.fti-modal-actions .fti-btn-danger {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

.fti-modal-success {
  text-align: center;
}

.fti-modal-success .fti-modal-actions {
  justify-content: center;
}

.fti-modal-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 24px;
  font-weight: 800;
}

.fti-btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

a.fti-btn {
  text-decoration: none;
}

.fti-card {
  background: #fff;
  border: 1px solid #e5e9ee;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgb(17 24 34 / 0.05);
}

.fti-input {
  width: 100%;
  border: 1px solid #d7dde4;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  color: #111822;
  outline: none;
}

.fti-input:focus {
  border-color: #20b486;
  box-shadow: 0 0 0 3px rgb(32 180 134 / 0.16);
}

.fti-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 9px 13px;
  font-weight: 700;
  line-height: 1.2;
}

.fti-btn-primary {
  background: #168765;
  color: #fff;
}

.fti-btn-secondary {
  background: #fff;
  border-color: #d7dde4;
  color: #243140;
}

.fti-btn-danger {
  background: #fff;
  border-color: #fecaca;
  color: #b91c1c;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .content-layout,
  .article-page,
  .admin-layout,
  .admin-dashboard,
  .composer-shell,
  .manager-filter,
  .featured-slot-row,
  .documents-plaza,
  .document-detail-layout,
  .home-promo-cluster,
  .home-feed-layout {
    grid-template-columns: 1fr;
  }

  .manager-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .manager-row .article-cover,
  .manager-row .manager-cover {
    width: 56px;
    min-width: 56px;
    height: 56px;
  }

  .manager-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .headline-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-side {
    position: static;
  }

  .composer-side {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .featured-slot-actions {
    justify-content: flex-start;
  }

  .featured-candidate-list button {
    padding-right: 12px;
  }

  .featured-candidate-list em {
    position: static;
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-login,
  .header-user {
    display: none;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .ticker,
  .hero,
  .search-band,
  .section,
  .geo-section,
  .page-main,
  .article-page {
    margin-inline: 0;
    padding-inline: 16px;
  }

  .compose-page {
    padding-inline: 16px;
    padding-block: 20px 56px;
  }

  .compose-topbar {
    gap: 12px;
  }

  .compose-panel-title {
    font-size: 22px;
  }

  .composer-topbar .compose-panel-title {
    font-size: 20px;
  }

  .compose-actions {
    width: 100%;
  }

  .compose-btn-ghost,
  .compose-btn-primary {
    flex: 1 1 auto;
  }

  .mine-layout {
    grid-template-columns: 1fr;
  }

  .mine-stats dd {
    font-size: 18px;
  }

  .mine-tabs {
    gap: 4px 14px;
    padding-inline: 16px;
    overflow-x: auto;
  }

  .mine-empty {
    padding: 48px 20px 56px;
  }

  .home-portal-stage {
    padding: 18px 16px 48px;
  }

  .home-promo-main {
    min-height: 280px;
  }

  .home-promo-main strong {
    font-size: 24px;
  }

  .home-search {
    grid-template-columns: 1fr;
  }

  .home-search-modes,
  .home-search-btn {
    width: 100%;
    justify-content: center;
  }

  .home-search-icon {
    display: none;
  }

  .home-feed-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .home-feed-article .article-cover,
  .home-feed-doc .document-list-icon {
    width: 56px;
    height: 56px;
    font-size: 14px;
  }

  .home-create-actions {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .lead-story,
  .search-band,
  .geo-section,
  .document-grid,
  .reserved-grid,
  .document-upload-grid,
  .document-list-card {
    grid-template-columns: 1fr;
  }

  .documents-page {
    padding-inline: 0;
  }

  .documents-hero {
    padding: 18px 16px 24px;
  }

  .documents-plaza {
    margin-inline: 16px;
  }

  .documents-hero-visual {
    display: none;
  }

  .documents-hero-core {
    gap: 14px;
  }

  .documents-hero-core h1 {
    font-size: 26px;
  }

  .documents-mine-pill {
    min-height: 32px;
    padding: 0 14px;
  }

  .documents-upload-btn {
    width: 100%;
  }

  .documents-search {
    flex: 1 1 100%;
    max-width: none;
  }

  .documents-categories {
    justify-content: flex-start;
  }

  .documents-category-tabs {
    justify-content: flex-start;
  }

  .document-list-bar {
    flex-wrap: wrap;
    padding-bottom: 12px;
  }

  .document-list-card {
    gap: 14px;
  }

  .document-detail-meta {
    grid-template-columns: 1fr;
  }

  .document-detail-actions {
    width: 100%;
  }

  .document-detail-actions .documents-mine-link,
  .document-detail-actions .documents-upload-btn {
    flex: 1;
  }

  .document-list-aside {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: stretch;
    min-height: 0;
    gap: 12px;
  }

  .document-list-aside time {
    justify-self: start;
  }

  .document-dropzone {
    min-height: 132px;
    padding: 22px 16px;
  }

  .document-dropzone-action {
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
  }

  .headline-main {
    min-height: 320px;
  }

  .headline-side {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .headline-small {
    min-height: 160px;
  }

  .lead-story,
  .lead-visual {
    min-height: 0;
  }

  .lead-visual {
    min-height: 260px;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .search-panel > span {
    margin-left: 0;
  }

  .search-panel button {
    width: 100%;
  }

  .browser-toolbar-row .compose-actions {
    width: 100%;
  }

  .compose-actions .btn-mine,
  .compose-actions .btn-compose {
    flex: 1;
  }

  .composer-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .composer-sticky-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .composer-sticky-actions .composer-stats {
    width: 100%;
    justify-content: flex-start;
  }

  .composer-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .composer-stats {
    justify-content: flex-start;
  }

  .fti-toast-host {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }

  .fti-modal-actions {
    justify-content: stretch;
  }

  .fti-modal-actions .fti-btn,
  .fti-modal-actions a.fti-btn {
    flex: 1 1 calc(50% - 4px);
  }

  .article-composer,
  .admin-list-panel {
    margin-inline: 0;
  }

  .article-item,
  .news-card {
    grid-template-columns: 1fr;
  }

  .article-cover,
  .news-card .article-cover {
    width: 100%;
    min-width: 0;
    aspect-ratio: 2.4;
  }

  .article-item > b {
    display: none;
  }

  .section-heading,
  .admin-title,
  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
