:root {
  color-scheme: light;
  --ink:#203028;
  --muted:#4e6257;
  --line:#dbe5dd;
  --white:#fff;
  --paper:#F6F8F5;
  --green:#527D69;
  --green-dark:#365B4B;
  --sage:#E7EFE9;
  font:16px/1.5 Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  color:var(--ink);
  background:var(--paper);
}
* {box-sizing:border-box}
[hidden] {display:none!important}
html {min-width:0}
body {margin:0}
h1,h2,h3,p {margin:0}
h2 {font-size:1.55rem;letter-spacing:-.025em}
h3 {font-size:1rem}
a {color:var(--green-dark);text-underline-offset:.2em}
a:hover {color:var(--green)}
button,select,input,textarea {font:inherit;color:inherit}
select,input,textarea {min-width:0}
button {cursor:pointer}
button:disabled {cursor:default;opacity:.55}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible {outline:3px solid #365B4B;outline-offset:3px}
img,video {display:block;width:100%;object-fit:cover}
.wrap {width:min(1320px,calc(100% - 96px));margin-inline:auto}
.top {background:#fff;border-bottom:1px solid var(--line)}
.top-inner {display:flex;align-items:center;justify-content:space-between;min-height:74px;gap:14px}
.brand {display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:#26392e;font-size:1.26rem;font-weight:800;line-height:1.04;white-space:nowrap;letter-spacing:-.035em}
.brand small {display:block;font-size:.75rem;color:var(--muted);font-weight:600;letter-spacing:.08em;margin-top:5px}
.brand-icon {display:grid;place-items:center;background:var(--green);border-radius:10px;width:37px;height:37px;color:white;font-weight:850;font-size:1.38rem;line-height:1}
.top-nav {display:flex;gap:10px;align-items:center}
.top-nav a {text-decoration:none;color:var(--muted);padding:8px 12px;border-radius:7px;font-size:.875rem;white-space:nowrap}
.top-nav a:hover,.top-nav .nav-active {background:var(--sage);color:var(--green-dark)}
.top-nav .nav-active {font-weight:720}
.hero {margin-top:24px;padding:19px 22px 4px;border-radius:9px;color:#274c3c;background:#e5f1e4}
.hero-head {display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.hero h1 {margin-bottom:13px;font-size:clamp(1.42rem,2.75vw,2.38rem);font-weight:750;line-height:1.24;overflow-wrap:anywhere}
.hero h2 {min-width:0;color:#365B4B;font-size:clamp(.95rem,1.42vw,1.17rem);font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.hero p {flex:none;font-size:clamp(.8rem,1.2vw,1rem);color:#456653}
.stage-track {display:flex;gap:7px;overflow-x:auto;margin:0 -3px;padding:0 3px;scrollbar-width:thin}
.stage-track button {flex:1 0 22px;display:flex;align-items:center;height:42px;padding:0;border:0;border-radius:4px;background:transparent}
.stage-track button::before {content:"";width:100%;height:8px;border-radius:999px;background:#c4d8c6}
.stage-track button[aria-current="step"]::before {background:#90b49c}
.stage-track button[aria-pressed="true"]::before {background:#5b8d70}
.stage-track button:hover::before {background:#709d82}
.stage-track button:focus-visible {outline:2px solid #365B4B;outline-offset:-3px}
.library {padding:30px 0 45px}
.library-head {display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:19px}
.admin-title p {color:var(--muted);margin-top:3px;font-size:.9rem}
.filters,.settings-form,.upload {display:flex;align-items:end;gap:10px;flex-wrap:wrap}
label {display:grid;gap:5px;font-size:.875rem;font-weight:650}
select,input:not([type=file]),textarea {border:1px solid #cad8ce;border-radius:7px;padding:8px 11px;background:var(--white);width:100%;min-height:40px}
select {appearance:none;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2364585b' stroke-width='1.5'/%3E%3C/svg%3E") right 11px center / 11px no-repeat;padding-right:31px}
textarea {resize:vertical}
.btn {display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:6px;border:1px solid #cad8ce;background:white;border-radius:7px;padding:7px 14px;color:var(--ink);font-size:.875rem;font-weight:690;text-decoration:none}
.btn:hover {background:#edf3ee;color:var(--green-dark)}
.btn.primary {background:var(--green);border-color:var(--green);color:white}
.btn.primary:hover {background:#294839}
.btn.small {min-height:34px;padding:4px 10px}
.filters #project {max-width:235px}
.filters #stage {min-width:130px}
.filter-row {display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding:14px 0 17px}
.tabs {display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.tabs button {border:0;border-radius:6px;padding:8px 13px;background:transparent;color:var(--muted);font-size:.875rem;white-space:nowrap}
.tabs button:hover {background:#edf3ee}
.tabs [aria-pressed=true] {background:var(--green-dark);color:white;font-weight:700}
.tabs [aria-pressed=true]:hover {background:var(--green-dark)}
.count {white-space:nowrap;color:var(--muted);font-size:.875rem}
.feed {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.card {display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:none}
.card-cover {position:relative;display:block;overflow:hidden;background:#edf3ee}
.card-cover img {height:auto}
.card-cover:focus-visible {outline-offset:-4px}
.cover-type {position:absolute;top:10px;left:10px;background:#203027e8;color:white;border-radius:4px;padding:3px 8px;font-size:.75rem;font-weight:650}
.play {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;width:44px;height:44px;background:#18251fbd;border:1px solid #ffffff9e;color:white;font-size:.85rem;padding-left:2px}
.card-content {padding:14px 14px 12px;flex:1}
.platform {display:inline-block;border-radius:4px;padding:2px 7px;background:#f2ebee;color:#4d3844;font-size:.78rem;font-weight:700}
.platform.wechat {background:#e2f2e9;color:#216047}
.platform.douyin {background:#eee8fb;color:#5a3890}
.platform.channels {background:#fff0dc;color:#884608}
.platform.redbook {background:#fce7ec;color:#9b2543}
.card h3 {margin:7px 0 6px;line-height:1.45;font-size:1rem}
.card h3 a {text-decoration:none;color:inherit}
.card h3 a:hover {color:var(--green);text-decoration:underline}
.snippet {font-size:.865rem;color:var(--muted);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.58em}
.card-foot {display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e4ece5;padding:9px 14px;font-size:.805rem;color:var(--muted)}
.card-foot a,.files a,.publish-bar a {font-weight:700;text-decoration:none}
.card-foot a:hover,.files a:hover,.publish-bar a:hover {text-decoration:underline}
.empty {grid-column:1/-1;text-align:center;border:1px dashed #cbd9cf;padding:50px 20px;border-radius:10px;color:var(--muted);background:white}
.empty strong {color:var(--ink)}
.empty p {margin-top:4px}
.footer {display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:17px 0 24px;color:var(--muted);font-size:.8rem}
.has-dialog {overflow:hidden}
dialog {width:min(900px,calc(100% - 40px));max-height:min(88dvh,900px);padding:0;border:1px solid var(--line);border-radius:15px;color:var(--ink);box-shadow:0 12px 50px #1b302324}
dialog::backdrop {background:#192b22bd}
.dialog-head {display:flex;position:sticky;z-index:1;top:0;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:white;padding:8px 17px;font-size:.95rem;font-weight:750}
.close {border:0;background:#E7EFE9;border-radius:8px;width:40px;height:40px;color:var(--green-dark);font-size:1.5rem;line-height:1}
.detail-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.72fr);grid-template-rows:auto 1fr;grid-template-areas:"intro preview" "docs preview"}
.preview-column {grid-area:preview;padding:20px;background:#f0f4f0;border-left:1px solid var(--line)}
.preview-column h3 {margin:0 0 13px;text-align:center;color:var(--muted);font-size:.84rem;font-weight:650}
.detail-intro,.detail-docs {padding:20px 23px;min-width:0;overflow-wrap:anywhere}
.detail-intro {grid-area:intro;padding-bottom:0}
.detail-docs {grid-area:docs;padding-top:0}
.detail-intro h2 {margin:6px 0 15px;line-height:1.25}
.publish-bar {display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:15px}
.section-head {display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.subtle {font-size:.85rem;color:var(--muted)}
.copy-value {background:#f6f8f5;font-size:.92rem;font-weight:400}
.detail-heading {margin-top:15px;margin-bottom:7px}
.files,.claim-list {list-style:none;margin:6px 0 11px;padding:0;font-size:.875rem}
.files li,.claim-list li {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:7px;padding:8px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.files small,.claim-list time {color:var(--muted);font-size:.8rem}
.claim-form {background:var(--sage);border-radius:8px;padding:12px;margin-bottom:15px}
.claim-form p {margin:5px 0 9px}
.form-status,.admin-status {font-size:.875rem;color:var(--green-dark)}
.toast {position:fixed;z-index:5;bottom:max(18px,env(safe-area-inset-bottom));left:50%;width:max-content;max-width:calc(100% - 30px);transform:translateX(-50%);background:#294539;color:white;padding:8px 16px;border-radius:8px;visibility:hidden;font-size:.875rem}
.toast.shown {visibility:visible}
.admin-main {padding:28px 0 48px}
.admin-title {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
.admin-title h1 {font-size:2.35rem;line-height:1.2}
.admin-tabs {margin-bottom:8px}
.admin-status {min-height:23px;margin-bottom:6px}
.panel {padding:18px;background:white;border:1px solid var(--line);border-radius:12px;min-width:0;overflow-wrap:anywhere}
.panel > h2 {margin-bottom:7px}
.login {max-width:475px;display:grid;gap:10px;justify-items:start}
.login label {width:100%}
.login p:not(.form-status) {color:var(--muted)}
.admin-layout {display:grid;grid-template-columns:minmax(240px,.45fr) minmax(0,1fr);gap:16px;align-items:start}
.manage-list {list-style:none;padding:0;margin:0;display:grid;gap:6px}
.manage-list button {display:grid;text-align:left;gap:4px;width:100%;padding:9px;background:#f8faf8;border:1px solid var(--line);border-radius:8px;font-size:.875rem;overflow-wrap:anywhere}
.manage-list button:hover,.manage-list button[aria-pressed=true] {background:var(--sage);border-color:#b8cdbf}
.manage-list small {color:var(--muted)}
.stack {display:grid;gap:11px;margin:12px 0}
.form-grid,.settings-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.settings-current {grid-column:1/-1}
.settings-form {margin:10px 0}
.settings-form label {flex:1;min-width:125px}
.settings-current .settings-form {max-width:780px}
.row-form {border-top:1px solid var(--line);padding-top:8px}
.accounts-panel {max-width:740px}
.visibility {padding:4px 8px;background:#eaf0ec;border-radius:5px;color:var(--muted);font-size:.85rem}
.visibility.published {background:#e2f2e9;color:#216047}
.file-actions {display:flex;gap:10px;align-items:center}
.text-danger {background:none;border:0;color:#882f3d;padding:5px}
.publish-bar {margin-top:15px}
.upload input {max-width:270px}
@media(max-width:1120px) {
  .wrap {width:calc(100% - 60px)}
  .feed {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:880px) {
  .library-head {align-items:start;flex-direction:column}
  .feed {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px) {
  .wrap {width:calc(100% - 30px)}
  .top-inner {min-height:62px}
  .brand {font-size:1.1rem;gap:7px}
  .brand-icon {width:30px;height:30px;font-size:1.1rem}
  .brand small {font-size:.66rem}
  .top-nav {gap:3px}
  .top-nav a {font-size:.8rem;padding:7px}
  .hero {margin-top:15px;padding:14px 13px 2px}
  .hero h1 {margin-bottom:10px}
  .stage-track {gap:5px}
  .library {padding-top:20px}
  .library-head {margin-bottom:14px;gap:12px}
  .filters {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);width:100%;gap:7px}
  .filters #project,.filters #stage {min-width:0;max-width:none}
  .filters .reset {grid-column:1/-1;justify-self:start;min-height:34px}
  .filter-row {align-items:flex-start;gap:7px}
  .tabs {gap:2px}
  .tabs button {padding:7px;font-size:.825rem;min-height:37px}
  .count {font-size:.8rem;margin-top:8px}
  .feed {gap:10px}
  .card-content {padding:9px}
  .card-foot {padding:8px 9px}
  .footer {flex-wrap:wrap}
  dialog {width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
  .detail-grid {display:flex;flex-direction:column}
  .detail-intro,.detail-docs,.preview-column {padding:16px}
  .detail-intro {padding-bottom:0}
  .files a {min-height:44px}
  .files a {display:inline-flex;align-items:center}
  .admin-layout,.settings-grid {grid-template-columns:1fr}
  .manage-list {max-height:230px;overflow:auto}
}
@media(max-width:410px) {
  .feed {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {transition:none!important}
}

/* The desktop screen uses the 402 × 874 portrait viewport at a reduced scale.
   The reserved regions use the iOS 27 simulator insets (62 pt / 34 pt). */
.preview-device {
  --preview-ink:#202122;
  --preview-surface:#fff;
  --preview-muted:#53585d;
  --preview-line:#e6e7e9;
  --preview-key:#34373c;
  position:relative;
  container-type:inline-size;
  margin-inline:auto;
  width:min(100%, 282px, 33dvh);
  aspect-ratio:402 / 874;
  border-radius:15.42% / 7.09%;
  outline:4px solid #29322e;
  background:var(--preview-surface);
  color:var(--preview-ink);
  overflow:hidden;
}
.preview-device::before,.preview-device::after {
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  background:var(--preview-ink);
  border-radius:999px;
  pointer-events:none;
}
.preview-device::before {width:29cqw;height:7.5cqw;top:3cqw;background:#111}
.preview-device::after {width:31cqw;height:.85cqw;bottom:2cqw;opacity:.75}
.preview-scroll {
  position:absolute;
  inset:15.4229cqw 0 8.4577cqw;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  scrollbar-width:thin;
  scrollbar-color:var(--preview-line) transparent;
  color:var(--preview-ink);
  font:400 clamp(.78rem,4.25cqw,.96rem)/1.55 "PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}
.preview-scroll:focus-visible,.preview-track:focus-visible {outline:2px solid var(--preview-key);outline-offset:-2px}
.preview-platform {
  background:var(--preview-surface);
  color:var(--preview-key);
  border-bottom:1px solid var(--preview-line);
  padding:.65em 1em;
  font-weight:750;
}
.preview-post {min-width:0;overflow-wrap:anywhere}
.preview-post h4 {margin:0;font-size:1.24em;line-height:1.32;font-weight:760}
.preview-body {white-space:pre-wrap}
.preview-format {font-size:.85em;color:var(--preview-muted)}
.preview-caption {padding:1em}
.preview-caption .preview-body {margin-top:.65em}
.preview-media {display:grid;gap:6px;min-width:0}
.preview-media img,.preview-media video {width:100%;object-fit:contain;max-height:105cqw}
.preview-media video {background:#121214}
.preview-gallery,.preview-track {min-width:0}
.preview-track {overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:none}
.preview-track::-webkit-scrollbar {display:none}
.preview-slides {display:flex}
.preview-slides img {flex:0 0 100%;width:100%;min-width:0;aspect-ratio:4 / 3;scroll-snap-align:start;object-fit:contain;background:var(--preview-line)}
.preview-controls {display:flex;justify-content:center;align-items:center;gap:.5em;padding:.25em;color:var(--preview-muted);font-size:.88em}
.preview-controls button {
  color:var(--preview-ink);
  background:var(--preview-surface);
  border:1px solid var(--preview-line);
  border-radius:5px;
  inline-size:34px;
  block-size:34px;
  font-size:1.3em;
  line-height:1;
}
.preview-controls button:focus-visible {outline-color:var(--preview-key)}
.preview-wechat {--preview-key:#187649;--preview-line:#e4ebe6}
.preview-article {padding:1em}
.preview-article h4 {font-size:1.31em}
.preview-article .preview-media,.preview-article .preview-stitch {margin-top:.85em}
.preview-article .preview-body {margin-top:1em;font-size:1.03em}
.preview-douyin {--preview-surface:#16161d;--preview-ink:#fbfaff;--preview-muted:#cfccd7;--preview-line:#363444;--preview-key:#ff7193}
.preview-short .preview-media video {background:#101016}
.preview-channels {--preview-surface:#171a19;--preview-ink:#f7f9f7;--preview-muted:#d5dbd7;--preview-key:#a6d6ba;--preview-line:#343b37}
.preview-redbook {--preview-key:#bd2149;--preview-line:#f5e6eb}
.preview-note .preview-media > img,.preview-note .preview-slides img {background:#faf4f6}
.preview-note .preview-caption h4 {font-size:1.18em}
.edit-actions {display:flex;gap:8px;flex-wrap:wrap}
#admin-preview {width:min(440px,calc(100% - 40px))}
.admin-preview-body {padding:20px;background:var(--sage)}

.top {padding-top:env(safe-area-inset-top)}
.wrap {padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
.footer {padding-bottom:max(24px,env(safe-area-inset-bottom))}
@media(max-width:680px), (max-width:950px) and (pointer:coarse) {
  .detail-grid {display:flex;flex-direction:column}
  dialog,#admin-preview {width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
  .dialog-head {padding-top:calc(8px + env(safe-area-inset-top))}
  .preview-column,.admin-preview-body {padding:0;background:var(--preview-surface,#fff)}
  .preview-column {border-left:0;border-top:1px solid var(--line)}
  .preview-column h3 {margin:0;padding:10px 16px;background:#f0f4f0;text-align:left}
  .preview-device {width:100%;aspect-ratio:auto;border-radius:0;outline:none}
  .preview-device::before,.preview-device::after {content:none}
  .preview-scroll {position:static;overflow:visible;overscroll-behavior:auto;font-size:.95rem}
  .preview-controls button {inline-size:44px;block-size:44px}
}

.preview-douyin,.preview-redbook {--image-ratio:3 / 4}
.preview-channels {--image-ratio:6 / 7}
:is(.preview-douyin,.preview-channels,.preview-redbook) .preview-media video {aspect-ratio:9 / 16;max-height:none}
:is(.preview-douyin,.preview-channels,.preview-redbook) :is(.preview-media > img,.preview-slides img) {
  aspect-ratio:var(--image-ratio);max-height:none;
}
.stitch-images img {width:100%;height:auto;max-height:none}
.stitch-download {padding:7px 10px;margin-bottom:.5em;background:white;border:1px solid var(--preview-key);border-radius:5px;color:var(--preview-key);font-weight:700}
.stitch-status:not(:empty) {margin-bottom:.5em}

.detail-docs .section-head {padding-top:13px;border-top:1px solid var(--line);margin-bottom:4px}
.copy-action,.detail-docs .stitch-download {background:var(--sage);border:1px solid transparent;color:var(--green-dark)}
.copy-action:hover,.detail-docs .stitch-download:hover {background:#dce9df}
.claim-details {color:var(--muted);font-size:.83rem}
.claim-details summary {cursor:pointer;padding:5px 0}
.detail-docs .detail-heading {margin-top:17px;margin-bottom:4px}
.detail-docs .files {margin-top:0}
.detail-docs .files li {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:3px 0}
.detail-docs .files small {display:block;font-size:.74rem}
.file-download {display:inline-flex;align-items:center;min-height:38px;padding:5px 9px;border-radius:6px;color:var(--green-dark)}
.file-download:hover {background:var(--sage)}
.claim-details {margin-top:11px}
.claim-details summary span {color:var(--muted);font-size:.74rem;margin-left:4px}
.stitch-status {font-size:.8em;color:inherit}
@media(max-width:680px) {
  #detail .dialog-head {padding-bottom:5px}
  #detail .detail-intro {padding-top:13px}
  #detail .detail-docs {padding-top:0}
  #detail .file-download {min-height:44px}
}

.official-publication {display:flex;align-items:center;gap:7px 10px;flex-wrap:wrap;margin-bottom:12px;font-size:.84rem}
.publication-check {display:inline-flex;align-items:center;gap:7px;cursor:pointer;min-height:36px}
.publication-check input {width:17px;height:17px;min-height:0;margin:0;padding:0;accent-color:var(--green-dark)}
.publication-account {color:var(--muted)}
#publication-account {width:auto;min-height:34px}
#publication-status:empty,#copy-status:empty {display:none}
#copy-value {display:block;margin-top:7px;background:#f8faf7;line-height:1.55}
#copy-help {margin-top:5px;font-size:.8rem}

/* Feed descriptions sit above the player controls, leaving those controls usable. */
.feed-frame {position:relative;min-width:0}
.feed-frame > img {aspect-ratio:var(--image-ratio);max-height:none}
.feed-caption {
  position:absolute;
  inset-inline:0;
  bottom:0;
  padding:5.6cqw 2.8cqw 2.2cqw;
  background:linear-gradient(transparent,#101214e6);
  color:#fff;
  pointer-events:none;
}
.feed-frame-video .feed-caption {bottom:44px}
.feed-account {display:flex;align-items:center;flex-wrap:wrap;gap:1.35cqw;line-height:1.3}
.feed-account strong {font-weight:700;font-size:4.45cqw}
.feed-media-tag {padding:.35cqw 1.25cqw;border-radius:1cqw;background:#ffffff29;font-size:3.25cqw;font-weight:550}
.feed-caption .preview-body {
  max-height:4.2em;
  overflow:hidden;
  font-size:3.95cqw;
  line-height:1.4;
  scrollbar-width:thin;
}
.feed-caption.is-expanded .preview-body {max-height:10em;overflow:auto;pointer-events:auto}
.feed-expand {
  margin-top:.55cqw;
  padding:0 0 .35cqw;
  border:0;
  background:transparent;
  color:inherit;
  font-size:3.8cqw;
  font-weight:680;
  line-height:1.3;
  pointer-events:auto;
}
.preview-short .feed-caption {padding-right:20%}
.preview-short .feed-account {margin-bottom:1.8cqw}
.preview-channel .feed-caption {padding-right:2.8cqw}
.preview-channel .feed-account {margin-top:2cqw}
.preview-channel .feed-account strong {font-size:3.75cqw}
.preview-channel .feed-caption .preview-body {font-size:3.8cqw}
.feed-caption :is(.preview-body,.feed-expand):focus-visible {outline:1px solid #fff;outline-offset:1px}

.admin-workspace {display:grid;grid-template-columns:154px minmax(0,1fr);align-items:start;gap:20px}
.admin-content {min-width:0}
.admin-workspace .admin-tabs {display:grid;position:sticky;top:16px;gap:4px;padding:6px;border:1px solid var(--line);border-radius:11px;background:#fff}
.admin-workspace .admin-tabs button {text-align:left;padding:10px 12px}
.admin-workspace .admin-tabs [aria-pressed=true] {background:var(--sage);color:var(--green-dark)}
.admin-status:empty {display:none}
.admin-status:not(:empty) {padding:8px 11px;background:var(--sage);border-radius:7px;margin:0 0 12px}
.admin-layout {grid-template-columns:minmax(265px,.73fr) minmax(0,1fr);gap:16px}
.manage-feed .section-head {align-items:flex-start}
.list-tools {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0 13px}
.list-tools input {grid-column:1/-1}
.manage-list {gap:0}
.manage-row {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;padding:7px 5px;border-bottom:1px solid var(--line)}
.manage-row[data-selected="true"],.manage-row:hover {background:#f3f7f3}
.manage-list .manage-item-title {background:none;border:0;padding:4px;font-size:.875rem}
.manage-list .manage-item-title:hover,.manage-list .manage-item-title[aria-pressed=true] {background:none;border:0;color:var(--green-dark)}
.manage-row-actions,.row-actions {display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.manage-list .manage-row-actions .btn {display:inline-flex;width:auto;padding:4px 7px;text-align:center;background:white}
.manage-list .manage-row-actions .btn:hover,.btn.danger-outline:hover {background:#faeeee}
.btn.danger-outline {color:#913745}
.btn.danger {background:#913745;border-color:#913745;color:#fff}
.btn.danger:hover {background:#742736}
.list-empty {padding:15px 4px;color:var(--muted);font-size:.875rem}
.asset-order-list li {padding:7px 0}
.asset-label {display:flex;min-width:0;align-items:center;gap:8px;overflow-wrap:anywhere}
.asset-label img {width:40px;height:40px;border-radius:5px}
.asset-position {display:grid;place-items:center;flex:none;min-width:24px;height:24px;padding:0 4px;border-radius:6px;background:var(--sage);color:var(--green-dark);font-size:.8rem;font-weight:700}
.asset-order-list .file-actions {flex-wrap:wrap;gap:5px}
.asset-order-list .file-actions a {padding:5px}
.stage-admin-list {padding:0;margin:10px 0 0;list-style:none}
.stage-admin-list > li {display:flex;align-items:flex-start;gap:7px}
.stage-admin-list > li .asset-position {margin-top:18px}
.stage-admin-list .row-form {min-width:0;flex:1}
.stage-admin-list .row-actions {margin-top:1px}
#admin-confirm {
  position:fixed;top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);
  width:min(360px,calc(100% - 32px));height:fit-content;min-height:0;max-height:calc(100dvh - 32px);
  margin:0;padding:0;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;
  box-shadow:0 12px 44px #1b302340;overflow:auto;
}
#admin-confirm::backdrop {background:#192b2266}
#admin-confirm .admin-confirm-body {gap:10px;padding:16px 17px}
#admin-confirm h2 {font-size:1.13rem;font-weight:650;line-height:1.35}
#admin-confirm p {font-size:.88rem;line-height:1.5;overflow-wrap:anywhere}
#admin-confirm .btn {min-height:36px;padding:5px 12px}
.admin-confirm-body {display:grid;gap:12px;padding:20px}
.admin-confirm-body p {color:var(--muted)}
.confirm-actions {display:flex;justify-content:flex-end;gap:8px;margin-top:3px}
@media(max-width:1000px) {
  .admin-workspace {grid-template-columns:125px minmax(0,1fr);gap:12px}
  .admin-layout,.settings-grid {grid-template-columns:minmax(0,1fr)}
  .manage-list {max-height:320px;overflow:auto}
}
@media(max-width:680px) {
  .admin-workspace {display:block}
  .admin-workspace .admin-tabs {display:flex;position:static;margin-bottom:12px}
  .admin-workspace .admin-tabs button {padding:7px 9px}
  .manage-list {max-height:260px}
}

.more-trigger {white-space:nowrap}
.more-trigger span {font-weight:800}
.more-menu {
  position:fixed;
  inset:auto;
  margin:4px 0;
  position-area:block-end span-inline-start;
  position-try-fallbacks:flip-block,flip-inline;
  min-width:112px;
  padding:4px;
  background:white;
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:0 6px 22px #24352b26;
}
.more-menu:popover-open {display:grid}
.more-menu :is(button,a),
.manage-list .more-menu button {
  display:block;width:100%;text-align:left;background:none;border:0;border-radius:4px;padding:7px 9px;
  font-size:.875rem;text-decoration:none;white-space:nowrap;
}
.more-menu :is(button,a):hover,
.manage-list .more-menu button:hover {background:var(--sage)}
.more-menu .danger-outline {color:#913745}
.more-menu .danger-outline:hover {background:#faeeee}
@supports not (position-area:block-end) {
  .more-menu {inset:auto 16px max(16px,env(safe-area-inset-bottom)) auto}
}
.users-list .manage-row small {color:var(--muted);font-size:.75rem}
.users-list .manage-row .visibility {display:inline-block;margin-top:4px;font-size:.75rem;padding:2px 6px}
#user-editor {width:min(430px,calc(100% - 32px));height:auto;margin:auto;max-height:calc(100dvh - 32px);border:1px solid var(--line);border-radius:13px;padding:0}
#user-form-status:empty {display:none}
#user-form-status {color:#913745;font-size:.875rem}
@media(max-width:680px) {
  .more-menu :is(button,a),.manage-list .more-menu button {min-height:42px;padding:10px}
}

.hero {
  padding:22px 25px 5px;
  background:#edf4eb;
  color:#29483a;
  border:1px solid #dfeadf;
  border-radius:11px;
}
.hero h1 {margin-bottom:14px;font-size:clamp(1.45rem,2.54vw,2.25rem);line-height:1.3;letter-spacing:-.022em;font-weight:620}
.hero h2 {color:#3f6151;font-size:.92rem;font-weight:500;letter-spacing:.015em}
.hero p {color:#52695f;font-size:.83rem}
.stage-track {gap:6px}
.stage-track button {height:36px}
.stage-track button::before {height:5px;background:#cfdfd0}
.stage-track button[aria-current="step"]::before {background:#8baa95}
.stage-track button[aria-pressed="true"]::before {background:#658d75}
.library-head {align-items:end}
.library-head h2 {font-weight:620;letter-spacing:-.02em}
.filters label,.filters select,.filters .reset {font-weight:400}
.filters label {color:var(--muted)}
.filters select,.filters .reset {color:var(--ink)}
.filters .reset {background:transparent}

.library-tabs {gap:4px 8px;min-width:0}
.resource-tab-group {display:inline-flex;align-items:center;gap:4px}
.library-divider {color:#789287;font-size:1rem;line-height:1}
.project-downloads {background:white;border:1px solid var(--line);border-radius:9px}
.project-downloads .project-files li:first-child {border-top:0}
.project-files {list-style:none;margin:0;padding:0}
.project-downloads .project-files {padding:0 14px 3px}
.project-files li {
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;
  min-height:44px;padding:4px 0;border-top:1px solid var(--line);font-size:.9rem;
}
.project-files li.resources-empty {display:block;padding:10px 0;color:var(--muted);font-size:.83rem}
.resource-name {overflow-wrap:anywhere}
.resource-meta {color:var(--muted);font-size:.8rem}
.project-files .file-download {font-size:.85rem;text-decoration:none}
.project-files .file-download:hover {text-decoration:underline}
.resource-project {max-width:340px}
.resource-upload {margin:14px 0}

#detail[open] {animation:detail-enter 215ms cubic-bezier(.2,.75,.28,1) both}
#detail[open]::backdrop {animation:detail-backdrop-in 180ms ease-out both}
#detail.is-closing::backdrop {animation:detail-backdrop-out 145ms ease-in both}
@keyframes detail-enter {
  from {opacity:0;transform:translateY(10px)}
  to {opacity:1;transform:translateY(0)}
}
@keyframes detail-backdrop-in {from {opacity:0} to {opacity:1}}
@keyframes detail-backdrop-out {from {opacity:1} to {opacity:0}}
@media(prefers-reduced-motion:reduce) {
  #detail[open],#detail[open]::backdrop {animation:none}
}

.admin-main h1,.admin-main h2 {font-weight:620;letter-spacing:-.02em}
.admin-main h3 {font-weight:600}
.admin-main label,.admin-main .btn:not(.primary),.admin-main .visibility,.admin-main .material-list .platform {font-weight:400}
.admin-main .btn.primary,.admin-main .admin-tabs [aria-pressed=true] {font-weight:650}
.admin-main .material-list .manage-row {display:block;padding:0}
.admin-main .material-list .manage-item-title {padding:10px 7px;gap:3px}
.material-list .manage-item-title strong {font-weight:450}
.material-list .manage-item-title[aria-pressed=true] strong {font-weight:650}
@media(max-width:880px) {.library-head {align-items:start}}
@media(max-width:620px) {
  .hero {padding:16px 14px 3px}
  .hero h1 {margin-bottom:10px}
  .stage-track {gap:4px}
  .project-files li {grid-template-columns:minmax(0,1fr) auto;gap:1px 8px;padding:6px 0}
  .project-files .resource-name {grid-column:1}
  .project-files .resource-meta {grid-column:1}
  .project-files :is(.file-download,.more-trigger) {grid-column:2;grid-row:1 / span 2}
}

.material-editor {--editor-section-gap:24px;padding:19px 21px}
.material-editor-head,.editor-files-head {
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.material-editor-head {margin-bottom:14px}
.material-editor-head .visibility {font-size:.77rem;padding:3px 8px}
.material-form {--editor-field-gap:13px;display:grid;gap:var(--editor-field-gap)}
.material-form > .editor-settings + label {margin-top:calc(var(--editor-section-gap) - var(--editor-field-gap))}
.material-form > label {gap:4px}
.material-form > label :is(input,textarea) {background:#fcfdfc}
.material-form textarea {min-height:116px;max-height:55dvh}
.editor-disclosure {border-top:1px solid var(--line)}
.editor-disclosure summary {
  display:grid;grid-template-columns:auto minmax(0,1fr) 9px;align-items:center;gap:9px;
  min-height:42px;padding:6px 2px;list-style:none;cursor:pointer;font-size:.875rem;
}
.editor-disclosure summary:hover {color:var(--green-dark)}
.editor-disclosure summary::-webkit-details-marker {display:none}
.editor-disclosure summary::after {
  content:"";width:7px;height:7px;border:solid var(--muted);border-width:0 1.5px 1.5px 0;
  transform:translateY(-2px) rotate(45deg);
}
.editor-disclosure[open] summary::after {transform:translateY(2px) rotate(225deg)}
.editor-meta {color:var(--muted);font-size:.78rem;font-weight:400}
.editor-disclosure summary .editor-meta {white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:right}
.editor-settings {padding:13px 14px;background:#f1f6f0;border:1px solid #dfebdf;border-radius:8px}
.editor-settings h3 {margin-bottom:9px;font-size:.94rem;color:var(--green-dark)}
.editor-settings-fields {display:grid;gap:10px}
.editor-settings-fields > label {max-width:55%}
.editor-settings-fields .subtle {font-size:.8rem}
.editor-files {margin-top:var(--editor-section-gap);border-top:1px solid var(--line);padding:12px 0 13px}
.editor-files-head h3 {font-size:.94rem}
.editor-files .files {margin:4px 0 9px}
.editor-files .asset-order-list li {min-height:42px;padding:6px 0}
.editor-files .asset-label img {width:34px;height:34px}
.editor-files .asset-label small {margin-left:4px;font-size:.72rem}
.editor-empty {margin:10px 0}
.editor-disclosure .claim-list {margin:0 0 9px}
.editor-upload {align-items:end;gap:6px}
.editor-upload label {display:grid;gap:3px;flex:1;min-width:0}
.editor-upload input {
  display:block;width:100%;max-width:none;min-height:34px;max-height:38px;
  font-size:.8rem;color:var(--muted);text-overflow:ellipsis;
}
.editor-upload input::file-selector-button {
  margin-right:7px;padding:6px 9px;color:var(--green-dark);font:inherit;
  background:var(--sage);border:1px solid var(--line);border-radius:5px;cursor:pointer;
}
.material-editor-actions {
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;
  margin-top:calc(var(--editor-section-gap) - 7px);border-top:1px solid var(--line);padding-top:12px;
}
.material-primary,.material-secondary {display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.material-primary {margin-left:auto}
.material-editor-actions .btn {font-size:.82rem}
@media(min-width:1001px) {
  .admin-layout {grid-template-columns:minmax(220px,.55fr) minmax(0,1fr)}
}
@media(max-width:680px) {
  .material-editor {--editor-section-gap:18px;padding:13px}
  .material-editor-head {margin-bottom:10px}
  .editor-disclosure summary {gap:6px}
  .editor-settings {padding:11px}
  .editor-settings-fields > label {max-width:none}
}

@media(max-width:680px) {
  .filter-row {display:grid;gap:3px}
  .filter-row .library-tabs {column-gap:4px}
  .filter-row .library-tabs button {padding-inline:4px}
  .filter-row .count {justify-self:end;margin-top:0}
}

.wechat-export {margin-top:15px;padding:10px 11px;background:var(--sage);border-radius:7px}
.wechat-export-actions {display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 5px}
.wechat-export-actions .copy-action {background:#fff;border-color:var(--line)}
.wechat-export .subtle,.wechat-export .form-status {font-size:.8rem}
.wechat-export .form-status:not(:empty),#wechat-copy-fallback {margin-top:6px}

.wechat-import {display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px}
.wechat-import .form-status:not(:empty) {flex-basis:100%}

.preview-import-notice {padding:13px;background:white;border:1px solid var(--line);border-radius:8px}
.preview-import-notice p {margin:5px 0 10px;color:var(--muted);font-size:.88rem}

/* wechat-editorial:start */
.wechat-editorial {container-type:inline-size;background:#fff;color:#211e2b;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;overflow:hidden}
.wechat-editorial *, .wechat-editorial *::before, .wechat-editorial *::after {box-sizing:border-box}
.wechat-editorial :is(h2,h3,p,figure,blockquote,ol) {margin:0}
.wechat-editorial p,.wechat-editorial li,.wechat-editorial blockquote {font-size:clamp(12px,3.12cqw,20px);line-height:1.9;overflow-wrap:anywhere}
.wechat-editorial img {display:block;width:100%;height:auto;max-height:none}
.wx-hero {padding:8.5% 7% 7.2%;background:#f2eef9}
.wx-brand {display:flex;justify-content:space-between;gap:6px;padding-bottom:2.4%;margin-bottom:3.6%;border-bottom:1px solid #b8afd0;color:#493c6c}
.wx-brand span {font-size:clamp(7px,1.75cqw,12px);letter-spacing:.13em;font-weight:750}
.wechat-editorial .wx-kicker {color:#745eaa;font-size:clamp(8px,1.9cqw,13px);letter-spacing:.17em;font-weight:680}
.wx-hero h2 {margin:2.2% 0 4%;font-size:8.35cqw;letter-spacing:-.035em;line-height:1.24;font-weight:740;overflow-wrap:anywhere}
.wx-hero h2 em {color:#6150a3;font-style:normal}
.wx-standfirst {color:#55496d}
.wechat-editorial .wx-standfirst p {font-size:clamp(10px,2.5cqw,16px)}
.wx-cover {position:relative}
.wx-cover figcaption {position:absolute;right:5.5%;top:20%;color:white;font-size:clamp(7px,1.5cqw,11px);font-weight:750;letter-spacing:.18em;writing-mode:vertical-rl;text-shadow:0 1px 4px #211e2b}
.wx-content {padding:6% 7% 8%}
.wx-content p+p {margin-top:3.1%}
.wx-content > img {margin-top:5%}
.wx-lead {margin-bottom:3%;font-weight:720}
.wx-section {border-top:1px solid #d9d2e6;margin-top:7%;padding-top:6%}
.wx-section-head {display:flex;gap:3%;align-items:flex-start;margin-bottom:5%}
.wx-number {color:#8e7ac5;font-size:8.5cqw;line-height:1;font-weight:720;font-style:italic}
.wx-section-head h3 {margin-top:.55em;font-size:5.1cqw;line-height:1.32;font-weight:720}
.wx-section img {border-radius:4px}
.wx-section .wx-figure {margin:4.3% 0}
.wx-figure figcaption {display:flex;justify-content:space-between;gap:4px;margin-top:1.5%;color:#726684;font-size:clamp(7px,1.75cqw,12px);letter-spacing:.07em}
.wechat-editorial blockquote {border-left:3px solid #8e7ac5;margin:5% 0;padding:5% 6%;background:#f0ecf9;color:#49376e;font-size:4.25cqw;font-weight:730}
.wx-feature > img + div {margin-top:3.5%}
.wx-feature .wx-kicker {margin-bottom:1%}
.wechat-editorial .wx-questions {list-style:none;padding:0;margin:4% 0}
.wx-questions li {display:flex;gap:4%;padding:2.8% 0;border-block-start:1px solid #d9d2e6}
.wx-questions li:last-child {border-block-end:1px solid #d9d2e6}
.wx-questions li span {color:#7e68bd;font-style:italic;font-weight:750}
.wx-footer {background:#292338;color:#faf7ff;padding:7%}
.wechat-editorial .wx-footer p+p {margin-top:3.5%;font-size:.84em;color:#d8d0e8}
.wechat-editorial-view {width:min(100%,720px);margin:14px auto 28px}
.wechat-editorial-back {display:inline-block;margin-bottom:10px}
/* wechat-editorial:end */

#wechat-web-editor {
  width:min(1120px,calc(100% - 32px));max-width:none;height:min(870px,calc(100dvh - 32px));max-height:none;
  position:fixed;inset:0;margin:auto;padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;
}
#wechat-web-editor[open] {display:grid;grid-template-rows:auto minmax(0,1fr)}
#wechat-web-editor h2 {font-size:1.05rem;font-weight:650}
.wechat-web-actions {display:flex;gap:7px}
.wechat-web-workspace {min-height:0;display:grid;grid-template-columns:minmax(250px,.65fr) minmax(0,1.35fr)}
.wechat-web-fields {display:grid;align-content:start;gap:12px;padding:16px;overflow:auto}
.wechat-web-fields textarea {min-height:160px}
.wechat-web-text-controls:not([hidden]) {display:grid;gap:12px}
.wechat-web-fields #wechat-web-text-value {min-height:90px}
.wechat-web-fields #wechat-web-status:empty {display:none}
.wechat-web-page-scroll {min-width:0;overflow:auto;padding:16px;background:#f0f4f0;border-left:1px solid var(--line)}
.wechat-web-page {max-width:660px;margin:auto}
#wechat-web-page [data-wechat-image] {cursor:pointer}
#wechat-web-page [data-wechat-image]:is(:hover,:focus-visible) {outline:3px solid var(--green);outline-offset:-3px}
@media(max-width:720px) {
  #wechat-web-editor {width:calc(100% - 16px);height:calc(100dvh - 16px)}
  .wechat-web-workspace {display:block;overflow:auto}
  .wechat-web-fields {gap:8px}
  .wechat-web-fields textarea {min-height:100px;max-height:30dvh}
  .wechat-web-page-scroll {border-left:0;border-top:1px solid var(--line);padding:9px;overflow:visible}
}

.wechat-imported-layout {min-width:0;background:#fff}
.wechat-imported-layout iframe {display:block;width:100%;border:0;background:#fff}
