@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --ink: #183b33;
  --ink-deep: #12352e;
  --muted: #78857f;
  --green: #176b56;
  --green-bright: #1d8065;
  --mint: #e5f2ec;
  --mint-soft: #f0f7f3;
  --cream: #f6f7f3;
  --white: #fff;
  --line: #e5e9e4;
  --orange: #d98452;
  --orange-soft: #fff1e8;
  --blue: #55788f;
  --blue-soft: #eaf2f7;
  --purple: #7b6c9b;
  --purple-soft: #f0edf7;
  --shadow: 0 12px 40px rgba(24, 59, 51, .08);
  --sidebar: 232px;
  font-family: 'DM Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); }
button, input, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hidden { display: none !important; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); padding: 32px 22px 20px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 9px; }
.brand-mark { width: 38px; height: 38px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 9px; border-radius: 12px 12px 12px 4px; background: var(--ink); transform: rotate(-3deg); }
.brand-mark span { width: 4px; border-radius: 5px; background: #c9f08b; transform: rotate(3deg); }
.brand-mark span:nth-child(1) { height: 9px; }
.brand-mark span:nth-child(2) { height: 18px; }
.brand-mark span:nth-child(3) { height: 13px; }
.brand-type { font-size: 24px; font-weight: 700; letter-spacing: 2px; line-height: 1; display: flex; flex-direction: column; gap: 5px; }
.brand-type small { font-size: 8px; letter-spacing: 4.8px; color: #8b9992; font-weight: 600; }
.workspace-label { margin: 42px 12px 13px; font-size: 11px; color: #9ba59f; letter-spacing: 1px; }
.side-nav { display: grid; gap: 6px; }
.nav-item { border: 0; background: transparent; display: flex; align-items: center; gap: 13px; height: 48px; padding: 0 14px; border-radius: 12px; font-size: 14px; color: #6d7c75; text-align: left; transition: .2s; }
.nav-item svg { width: 19px; }
.nav-item:hover { background: #f5f8f5; color: var(--ink); }
.nav-item.active { background: var(--mint); color: var(--green); font-weight: 600; }
.nav-item .nav-dot { width: 5px; height: 5px; background: var(--green); border-radius: 50%; margin-left: auto; }
.sidebar-note { margin: 40px 5px 24px; background: #f3f6ee; border-radius: 18px; padding: 22px 18px; position: relative; overflow: hidden; }
.sidebar-note::after { content: ''; position: absolute; width: 90px; height: 90px; border: 1px solid #dde7d6; border-radius: 50%; right: -48px; top: -36px; }
.sidebar-note > svg { color: #7d9c60; width: 25px; height: 25px; margin-bottom: 13px; }
.sidebar-note p { font-size: 15px; font-weight: 600; line-height: 1.75; margin: 0 0 12px; }
.sidebar-note span { color: #89948a; font-size: 10px; }
.admin-entry { margin-top: auto; border: 0; border-top: 1px solid var(--line); background: transparent; display: flex; align-items: center; gap: 11px; padding: 20px 8px 14px; font-size: 12px; color: #6f7f77; }
.admin-entry:hover { color: var(--green); }
.admin-entry svg { width: 17px; }
.admin-entry .mini-arrow { margin-left: auto; width: 13px; }
.sidebar-footer { font-size: 9px; color: #b0b8b3; letter-spacing: .8px; padding: 0 8px; }
.workspace { margin-left: var(--sidebar); }
.topbar { height: 78px; background: rgba(255,255,255,.88); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 38px; position: sticky; top: 0; z-index: 15; }
.mobile-brand { display: none; }
.search-box { width: min(340px, 35vw); height: 40px; display: flex; align-items: center; gap: 10px; background: #f4f6f3; border: 1px solid transparent; border-radius: 12px; padding: 0 12px; color: #8a9690; transition: .2s; }
.search-box:focus-within { background: #fff; border-color: #a9c7ba; box-shadow: 0 0 0 3px #e9f3ed; }
.search-box svg { width: 17px; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: none; background: transparent; font-size: 12px; color: var(--ink); }
.search-box input::placeholder { color: #99a49e; }
.search-box kbd { font-family: inherit; font-size: 9px; border: 1px solid #dce2dd; border-radius: 5px; padding: 2px 5px; background: #fff; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 11px; background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: .2s; }
.icon-button:hover { background: var(--mint-soft); border-color: #bfd6ca; }
.icon-button svg { width: 17px; }
.notification-button { position: relative; }
.notification-count { position: absolute; min-width: 16px; height: 16px; padding: 0 4px; border: 2px solid white; border-radius: 10px; background: #cf7256; color: #fff; font-size: 8px; line-height: 12px; text-align: center; top: -4px; right: -4px; box-sizing: content-box; font-weight: 600; }
.avatar { border: 0; width: 38px; height: 38px; border-radius: 12px; background: #e9eee5; color: #5c715e; font-size: 12px; font-weight: 600; }
.button { border: 0; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border-radius: 12px; height: 42px; padding: 0 19px; font-weight: 600; font-size: 13px; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { color: #fff; background: var(--green); box-shadow: 0 5px 15px rgba(23, 107, 86, .16); }
.button-primary:hover { background: #115c49; box-shadow: 0 7px 20px rgba(23, 107, 86, .23); }
.button-primary:disabled { opacity: .55; cursor: wait; transform: none; }
.button svg { width: 17px; }
.main-content { max-width: 1420px; margin: 0 auto; padding: 36px 38px 60px; }
.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.eyebrow { font-size: 9px; letter-spacing: 2px; color: #7c8f83; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.eyebrow > span { width: 16px; height: 1px; background: #88a294; }
.hero h1 { font-size: clamp(29px, 3vw, 39px); letter-spacing: -1.5px; line-height: 1.35; margin: 0 0 10px; font-weight: 700; color: var(--ink-deep); }
.hero h1 span { color: var(--green-bright); position: relative; }
.hero h1 span::after { content: ''; position: absolute; height: 7px; border-radius: 50%; background: #d8edbd; left: 2px; right: 0; bottom: -1px; z-index: -1; }
.hero p { margin: 0; color: #7e8a84; font-size: 12px; line-height: 1.8; }
.mobile-break { display: none; }
.hero-submit { height: 45px; padding: 0 22px; margin-bottom: 4px; }
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 25px; padding: 20px 0; }
.stat-item { padding: 0 25px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.stat-item:last-child { border: 0; }
.stat-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-soft); color: var(--green); }
.stat-icon.orange { color: var(--orange); background: var(--orange-soft); }
.stat-icon.blue { color: var(--blue); background: var(--blue-soft); }
.stat-icon svg { width: 18px; }
.stat-item div { display: flex; flex-direction: column; }
.stat-item strong { font-size: 23px; line-height: 1.1; font-weight: 700; letter-spacing: -.5px; }
.stat-item strong small { font-size: 12px; margin-left: 2px; font-weight: 500; }
.stat-item span { font-size: 10px; color: #8c9892; margin-top: 5px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 25px; align-items: start; }
.feed-section { min-width: 0; }
.feed-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.feed-tabs { display: flex; gap: 27px; }
.feed-tab { border: 0; background: transparent; font-size: 13px; padding: 4px 0 15px; color: #84918a; position: relative; }
.feed-tab.active { color: var(--ink); font-weight: 600; }
.feed-tab.active::after { content: ''; height: 2px; border-radius: 2px; background: var(--green); position: absolute; left: 0; right: 0; bottom: -1px; }
.result-count { font-size: 10px; color: #98a39d; }
.category-scroll { display: flex; gap: 8px; padding: 17px 0; overflow-x: auto; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.filter-chip { flex-shrink: 0; border: 1px solid var(--line); background: #fff; color: #738179; border-radius: 8px; height: 31px; padding: 0 13px; font-size: 11px; transition: .2s; }
.filter-chip:hover { border-color: #b6c9bf; }
.filter-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.active-filter { display: flex; align-items: center; gap: 8px; background: var(--mint); border-radius: 9px; padding: 9px 12px; font-size: 11px; margin-bottom: 12px; }
.active-filter button { margin-left: auto; border: 0; background: transparent; color: var(--green); }
.post-list { display: grid; gap: 13px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 15px; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.post-card:hover { border-color: #bdcec5; transform: translateY(-2px); box-shadow: 0 9px 24px rgba(31, 62, 52, .055); }
.post-top { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.category-tag { display: inline-flex; align-items: center; gap: 5px; border-radius: 6px; padding: 4px 8px; font-size: 10px; font-weight: 500; background: var(--mint-soft); color: var(--green); }
.category-tag::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.category-tag[data-category="流程效率"] { background: var(--blue-soft); color: var(--blue); }
.category-tag[data-category="员工关怀"] { background: var(--orange-soft); color: #b8754e; }
.category-tag[data-category="成长发展"] { background: var(--purple-soft); color: var(--purple); }
.category-tag[data-category="其他"] { background: #f1f1ed; color: #777d6d; }
.status-tag { font-size: 10px; display: inline-flex; align-items: center; gap: 5px; color: #87928c; }
.status-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #b6bdb9; }
.status-tag[data-status="跟进中"] { color: #b5764e; }
.status-tag[data-status="跟进中"]::before { background: #d99b6b; }
.status-tag[data-status="已回复"] { color: #4d7d68; }
.status-tag[data-status="已回复"]::before { background: #6fa18b; }
.status-tag[data-status="已解决"] { color: #758573; }
.status-tag[data-status="已解决"]::before { background: #92a98b; }
.post-time { margin-left: auto; font-size: 10px; color: #a0aaa4; }
.post-card h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.55; letter-spacing: -.2px; color: #213f37; }
.post-excerpt { font-size: 12px; color: #7c8982; line-height: 1.8; margin: 0 0 14px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.official-preview { border-left: 2px solid #b8d5c5; background: #f5f9f6; border-radius: 0 9px 9px 0; padding: 9px 12px; margin-bottom: 14px; display: flex; gap: 8px; align-items: flex-start; }
.official-preview svg { width: 13px; height: 13px; color: var(--green); margin-top: 2px; }
.official-preview p { margin: 0; color: #687b72; font-size: 10px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.official-preview b { color: var(--green); margin-right: 6px; }
.post-bottom { display: flex; align-items: center; border-top: 1px solid #eff1ee; padding-top: 12px; }
.post-author { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #89958e; }
.author-avatar { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 7px; background: #eef1ec; color: #7b897c; font-size: 9px; }
.author-avatar.anonymous { background: #f1f0f4; color: #8e869d; }
.author-avatar svg { width: 12px; height: 12px; }
.post-actions { margin-left: auto; display: flex; align-items: center; gap: 17px; }
.post-action { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; padding: 2px 0; font-size: 10px; color: #8a9690; }
.post-action svg { width: 15px; height: 15px; }
.post-action.like-button:hover, .post-action.liked { color: #c47562; }
.post-action.liked svg { fill: #c47562; }
.post-action.comment-button:hover { color: var(--green); }
.right-rail { display: grid; gap: 16px; }
.response-card, .process-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card-kicker { font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.card-kicker > span { font-size: 7px; letter-spacing: 1px; color: #6d9b83; background: #edf5ef; padding: 3px 5px; border-radius: 4px; }
.response-main { display: flex; align-items: center; gap: 17px; padding: 23px 0; }
.progress-ring { --rate: 0; width: 92px; height: 92px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--green) calc(var(--rate) * 1%), #edf1ec 0); position: relative; }
.progress-ring::after { content: ''; position: absolute; inset: 7px; background: #fff; border-radius: 50%; }
.progress-ring > div { position: relative; z-index: 1; text-align: center; }
.progress-ring strong { font-size: 25px; letter-spacing: -1px; }
.progress-ring small { font-size: 10px; }
.progress-ring span { display: block; font-size: 8px; color: #94a098; margin-top: -1px; }
.response-copy b { font-size: 12px; line-height: 1.65; }
.response-copy p { margin: 7px 0 0; font-size: 9px; color: #95a098; }
.response-footer { border-top: 1px solid var(--line); padding-top: 13px; display: flex; justify-content: space-between; align-items: center; }
.response-footer > span { display: flex; align-items: center; gap: 5px; font-size: 8px; color: #8a958f; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; }
.status-dot.green { background: #62a17f; box-shadow: 0 0 0 3px #e9f4ed; }
.response-footer button { display: flex; align-items: center; gap: 4px; border: 0; background: transparent; font-size: 9px; color: var(--green); }
.response-footer svg { width: 11px; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.section-title h3 { margin: 0; font-size: 12px; }
.section-title > span { font-size: 8px; color: #9aa59e; }
.process-list { list-style: none; padding: 0; margin: 0; }
.process-list li { position: relative; display: flex; gap: 12px; padding-bottom: 19px; }
.process-list li:last-child { padding-bottom: 0; }
.process-list li::after { content: ''; position: absolute; width: 1px; background: #e5eae5; top: 24px; bottom: 1px; left: 10px; }
.process-list li:last-child::after { display: none; }
.process-list i { position: relative; z-index: 1; flex-shrink: 0; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; border: 1px solid #dfe5df; color: #9aa59e; background: #fff; font-style: normal; font-size: 8px; }
.process-list i svg { width: 11px; }
.process-list .done i { background: #eaf4ed; border-color: #d9ebdf; color: var(--green); }
.process-list .current i { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 0 0 4px #edf5f0; }
.process-list div { display: flex; flex-direction: column; gap: 3px; padding-top: 1px; }
.process-list b { font-size: 10px; font-weight: 600; }
.process-list span { font-size: 8px; color: #98a29d; }
.care-card { border-radius: 16px; padding: 22px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.care-card::after { content: ''; position: absolute; width: 130px; height: 130px; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); right: -65px; bottom: -65px; box-shadow: 0 0 0 20px rgba(255,255,255,.02); }
.care-card svg { color: #c2df98; width: 20px; }
.care-card p { font-size: 11px; line-height: 1.85; margin: 12px 0 10px; }
.care-card span { color: #92aaa0; font-size: 8px; }

/* Insights */
.compact-hero { margin-bottom: 28px; }
.insights-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.insight-card { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 25px; }
.insight-card.full { grid-column: 1 / -1; }
.insight-card h3 { margin: 0 0 4px; font-size: 15px; }
.insight-card .sub { margin: 0 0 25px; color: var(--muted); font-size: 11px; }
.bar-row { display: grid; grid-template-columns: 64px 1fr 28px; align-items: center; gap: 12px; margin: 17px 0; font-size: 11px; }
.bar-track { height: 8px; background: #edf1ec; border-radius: 10px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 10px; background: var(--green); transform-origin: left; animation: grow .6s ease both; }
.bar-row:nth-child(3n) .bar-fill { background: #799a85; }
.bar-row strong { text-align: right; }
.status-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.status-stat { background: var(--cream); padding: 18px; border-radius: 12px; }
.status-stat strong { font-size: 24px; display: block; }
.status-stat span { color: var(--muted); font-size: 10px; }
.insight-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--mint); border-radius: 18px; padding: 24px 28px; margin-top: 20px; }
.insight-banner h3 { margin: 0 0 7px; font-size: 15px; }
.insight-banner p { margin: 0; font-size: 11px; color: #6b8176; }
.insight-banner svg { width: 45px; height: 45px; color: var(--green); }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Modal and forms */
.modal-backdrop, .drawer-backdrop { position: fixed; inset: 0; background: rgba(13, 35, 29, .44); backdrop-filter: blur(5px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; animation: fade-in .2s; }
.sheet { width: min(590px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; border-radius: 24px; background: #fff; padding: 29px 32px 28px; box-shadow: 0 25px 90px rgba(7, 28, 21, .24); animation: sheet-in .25s ease; }
.sheet-handle { display: none; }
.sheet-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; }
.sheet-eyebrow { font-size: 8px; letter-spacing: 1.6px; color: #8b9b91; }
.sheet-header h2 { margin: 5px 0 7px; font-size: 24px; letter-spacing: -.6px; }
.sheet-header p { margin: 0; color: #89958e; font-size: 11px; }
.form-group { margin-bottom: 20px; }
.form-group > label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.form-group label em { font-style: normal; color: #a0aaa4; font-size: 9px; font-weight: 400; margin-left: 5px; }
.form-group input, .form-group textarea, #author-field input { width: 100%; border: 1px solid #dfe5df; border-radius: 11px; outline: none; background: #fafbf9; padding: 12px 13px; font-size: 12px; color: var(--ink); transition: .2s; }
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.75; }
.form-group input:focus, .form-group textarea:focus, #author-field input:focus { border-color: #94b9a7; background: #fff; box-shadow: 0 0 0 3px #eef6f1; }
.form-group input::placeholder, .form-group textarea::placeholder, #author-field input::placeholder { color: #adb5b0; }
.field-hint { display: flex; justify-content: space-between; margin-top: 6px; color: #a0aaa4; font-size: 8px; }
.field-hint i { font-style: normal; }
.field-hint b { font-weight: 400; }
.form-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.form-category { position: relative; }
.form-category input { position: absolute; opacity: 0; pointer-events: none; }
.form-category span { display: block; padding: 8px 13px; border: 1px solid var(--line); border-radius: 9px; font-size: 11px; color: #74827a; cursor: pointer; }
.form-category input:checked + span { background: var(--mint); color: var(--green); border-color: #b7d3c4; font-weight: 600; }
.identity-box { background: #f5f7f3; border: 1px solid #e7ebe4; border-radius: 14px; padding: 15px; }
.identity-heading { display: flex; align-items: center; gap: 10px; }
.identity-icon { width: 33px; height: 33px; border-radius: 10px; display: grid; place-items: center; color: var(--green); background: #e5eee6; }
.identity-icon svg { width: 17px; }
.identity-heading > div { display: flex; flex-direction: column; gap: 3px; }
.identity-heading b { font-size: 11px; }
.identity-heading small { font-size: 8px; color: #909c95; }
.policy-badge { margin-left: auto; font-size: 8px; padding: 4px 7px; background: #e6f1e9; color: var(--green); border-radius: 6px; }
.policy-badge.closed { background: var(--orange-soft); color: var(--orange); }
.identity-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.identity-option { position: relative; }
.identity-option input { position: absolute; opacity: 0; }
.identity-option > span { border: 1px solid #dfe5df; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 7px; height: 38px; font-size: 11px; cursor: pointer; color: #7d8982; }
.identity-option svg { width: 14px; }
.identity-option.selected > span { border-color: #7fae99; color: var(--green); background: #f5fbf7; box-shadow: inset 0 0 0 1px #b9d3c5; }
.identity-option.disabled { opacity: .42; }
.identity-option.disabled > span { cursor: not-allowed; }
#author-field { margin-top: 12px; display: flex; align-items: center; gap: 12px; }
#author-field label { font-size: 10px; flex-shrink: 0; }
#author-field input { padding: 9px 11px; background: #fff; }
#author-field input[readonly] { background: #eef1ec; color: #6b7a72; cursor: default; }
.privacy-note { display: flex; gap: 7px; color: #98a39d; font-size: 8px; line-height: 1.7; margin: 15px 0; }
.privacy-note svg { width: 13px; height: 13px; }
.submit-button { width: 100%; height: 46px; }
.submit-button svg { margin-left: auto; }
.submit-button span { margin-left: auto; }

/* Detail */
.drawer-backdrop { justify-content: flex-end; padding: 0; }
.detail-drawer { width: min(590px, 100%); height: 100%; background: #fff; overflow-y: auto; box-shadow: -20px 0 70px rgba(7, 28, 21, .17); animation: drawer-in .25s ease; }
.detail-header { position: sticky; top: 0; z-index: 3; background: rgba(255,255,255,.94); backdrop-filter: blur(15px); display: flex; align-items: center; justify-content: space-between; padding: 19px 27px; border-bottom: 1px solid var(--line); }
.detail-header > span { font-size: 11px; color: #8b9891; }
.detail-body { padding: 28px; }
.detail-meta { display: flex; gap: 9px; align-items: center; }
.detail-body h2 { font-size: 23px; line-height: 1.5; margin: 17px 0 12px; letter-spacing: -.4px; }
.detail-author { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #8d9992; margin-bottom: 23px; }
.detail-text { font-size: 13px; line-height: 2; color: #596e64; white-space: pre-wrap; margin: 0 0 24px; }
.detail-actions { display: flex; gap: 10px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.detail-action { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 14px; display: flex; gap: 7px; align-items: center; font-size: 11px; }
.detail-action svg { width: 15px; }
.detail-action.liked { color: #c47562; border-color: #e8c7bc; background: #fff9f6; }
.detail-action.liked svg { fill: #c47562; }
.admin-status-box { padding: 15px; border-radius: 12px; background: var(--mint-soft); margin-bottom: 22px; }
.admin-status-box label { font-size: 10px; color: var(--green); display: block; margin-bottom: 8px; }
.admin-status-box select { width: 100%; border: 1px solid #cadbd0; background: #fff; color: var(--ink); border-radius: 8px; padding: 9px; font-size: 11px; }
.replies-section { padding-top: 24px; }
.replies-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.replies-title h3 { margin: 0; font-size: 14px; }
.replies-title span { font-size: 9px; color: #99a49e; }
.reply-item { display: flex; gap: 11px; margin-bottom: 19px; }
.reply-avatar { flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #eef1ec; color: #7b897c; font-size: 10px; }
.reply-avatar.official { color: var(--green); background: var(--mint); }
.reply-avatar svg { width: 15px; }
.reply-main { flex: 1; min-width: 0; }
.reply-byline { display: flex; align-items: center; gap: 7px; margin: 1px 0 7px; }
.reply-byline b { font-size: 11px; }
.reply-byline em { font-style: normal; font-size: 7px; color: var(--green); background: var(--mint); border-radius: 4px; padding: 2px 5px; }
.reply-byline span { font-size: 8px; color: #a0aaa4; margin-left: auto; }
.reply-main p { margin: 0; font-size: 11px; line-height: 1.85; color: #63766c; }
.reply-form { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 20px; }
.reply-form h4 { margin: 0 0 11px; font-size: 12px; }
.reply-form textarea { width: 100%; resize: vertical; min-height: 80px; border: 1px solid var(--line); border-radius: 11px; background: #fafbf9; outline: none; padding: 11px; font-size: 11px; line-height: 1.7; }
.reply-form textarea:focus { border-color: #94b9a7; background: #fff; }
.reply-form-bottom { display: flex; align-items: center; margin-top: 10px; gap: 8px; }
.reply-form-bottom input[type="text"] { min-width: 0; width: 105px; border: 1px solid var(--line); border-radius: 8px; padding: 8px; font-size: 10px; }
.reply-form-bottom label { font-size: 9px; color: #85928b; display: flex; align-items: center; gap: 4px; }
.reply-form-bottom .button { margin-left: auto; height: 35px; font-size: 10px; }
.official-toggle { padding: 10px 0; font-size: 10px; display: flex; gap: 6px; align-items: center; color: var(--green); }

/* Admin */
.admin-sheet { width: min(520px, 100%); }
.admin-login { text-align: center; padding: 8px 4px 4px; }
.admin-symbol { margin: 0 auto 15px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--mint); color: var(--green); border-radius: 16px; }
.admin-symbol svg { width: 24px; height: 24px; }
.admin-login h2 { margin: 0 0 8px; font-size: 23px; }
.admin-login > p { color: var(--muted); font-size: 11px; margin: 0 0 22px; }
.admin-login form { text-align: left; }
.admin-login label { display: block; font-size: 11px; margin-bottom: 8px; font-weight: 600; }
.password-row { display: flex; gap: 8px; }
.password-row input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 11px; outline: none; }
.password-row input:focus { border-color: #94b9a7; }
.demo-hint { font-size: 9px; color: #9ba69f; text-align: center; margin: 12px 0 0; }
.admin-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 23px; }
.admin-header h2 { font-size: 22px; margin: 0 0 6px; }
.admin-header p { font-size: 10px; color: var(--muted); margin: 0; }
.admin-panel-section { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 14px; }
.setting-row { display: flex; align-items: center; gap: 12px; }
.setting-row > div { flex: 1; }
.setting-row h3 { font-size: 13px; margin: 0 0 5px; }
.setting-row p { font-size: 9px; color: var(--muted); margin: 0; line-height: 1.7; }
.switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider { position: absolute; inset: 0; border-radius: 20px; background: #c7ceca; cursor: pointer; transition: .2s; }
.switch-slider::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: white; left: 3px; top: 3px; box-shadow: 0 2px 5px rgba(0,0,0,.15); transition: .2s; }
.switch input:checked + .switch-slider { background: var(--green); }
.switch input:checked + .switch-slider::after { transform: translateX(18px); }
.switch input:disabled + .switch-slider { opacity: .55; cursor: wait; }
.setting-impact { display: flex; gap: 7px; background: #f7f8f5; border-radius: 8px; padding: 10px; margin-top: 13px; font-size: 8px; line-height: 1.6; color: #859189; }
.setting-impact svg { width: 13px; height: 13px; }
.admin-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.admin-mini-stat { background: var(--cream); border-radius: 10px; padding: 13px; }
.admin-mini-stat strong { font-size: 21px; display: block; }
.admin-mini-stat span { font-size: 8px; color: var(--muted); }
.admin-tip { text-align: center; color: #9ba69f; font-size: 9px; margin: 17px 0 0; }

/* Notifications */
.notification-drawer { width: min(420px, 100%); height: 100%; background: #fff; overflow-y: auto; box-shadow: -20px 0 70px rgba(7, 28, 21, .17); animation: drawer-in .25s ease; }
.notification-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 22px 23px; background: rgba(255,255,255,.95); backdrop-filter: blur(15px); border-bottom: 1px solid var(--line); }
.notification-header h2 { margin: 0 0 4px; font-size: 19px; }
.notification-header p { margin: 0; font-size: 9px; color: var(--muted); }
.notification-header > div:last-child { display: flex; gap: 7px; }
.notification-list { padding: 12px 20px 30px; }
.notification-item { position: relative; width: 100%; display: flex; gap: 12px; text-align: left; border: 0; border-bottom: 1px solid #edf0ec; background: #fff; padding: 17px 7px; border-radius: 0; }
.notification-item.unread { background: #f4f9f5; border-radius: 12px; padding-left: 12px; padding-right: 12px; margin-bottom: 5px; border-bottom-color: transparent; }
.notification-item.unread::after { content: ''; position: absolute; right: 12px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); }
.notification-icon { flex-shrink: 0; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: var(--green); background: var(--mint); }
.notification-icon.status { color: var(--orange); background: var(--orange-soft); }
.notification-icon.welcome { color: var(--purple); background: var(--purple-soft); }
.notification-icon svg { width: 17px; height: 17px; }
.notification-copy { min-width: 0; padding-right: 10px; }
.notification-copy b { display: block; margin: 1px 0 5px; font-size: 11px; }
.notification-copy p { margin: 0 0 7px; color: #718179; font-size: 10px; line-height: 1.7; }
.notification-copy span { color: #a0aaa4; font-size: 8px; }
.notification-empty { text-align: center; padding: 65px 20px; }
.notification-empty .empty-icon { background: var(--mint); }
.notification-empty h3 { margin: 16px 0 7px; font-size: 14px; }
.notification-empty p { color: var(--muted); font-size: 10px; }
.text-button { border: 0; background: transparent; color: var(--green); font-size: 9px; padding: 6px; }

/* Roles and profile */
.role-permissions { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.role-permissions h3 { margin: 0 0 4px; font-size: 13px; }
.role-permissions > p { margin: 0 0 14px; font-size: 9px; color: var(--muted); line-height: 1.7; }
.permission-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.permission-table th, .permission-table td { padding: 10px 8px; border-bottom: 1px solid #edf0ec; text-align: center; }
.permission-table th:first-child, .permission-table td:first-child { text-align: left; padding-left: 0; }
.permission-table th { color: #8b9891; font-size: 9px; font-weight: 500; background: #fafbf9; }
.permission-table tr:last-child td { border-bottom: 0; }
.permission-name { display: flex; flex-direction: column; gap: 2px; }
.permission-name small { color: #a0aaa4; font-size: 8px; }
.permission-check { color: var(--green); display: inline-flex; }
.permission-check svg { width: 14px; height: 14px; }
.permission-lock { color: #b2bab5; display: inline-flex; }
.permission-lock svg { width: 13px; height: 13px; }
.permission-switch { width: 34px; height: 20px; display: inline-block; }
.permission-switch .switch-slider::after { width: 14px; height: 14px; }
.permission-switch input:checked + .switch-slider::after { transform: translateX(14px); }
.permission-note { display: flex; align-items: flex-start; gap: 6px; margin: 12px 0 0; padding: 9px 10px; border-radius: 8px; background: var(--mint-soft); color: #71857a; font-size: 8px; line-height: 1.6; }
.permission-note svg { width: 12px; height: 12px; }
.profile-sheet { width: min(400px, 100%); position: relative; }
.profile-card { text-align: center; padding: 5px 4px; }
.profile-avatar { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 14px; background: var(--mint); color: var(--green); font-size: 20px; font-weight: 700; }
.profile-card h2 { margin: 0 0 6px; font-size: 21px; }
.profile-card > p { margin: 0 0 20px; color: var(--muted); font-size: 10px; }
.role-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 7px; background: var(--mint); color: var(--green); font-size: 9px; margin-bottom: 20px; }
.role-badge svg { width: 12px; height: 12px; }
.profile-summary { background: var(--cream); border-radius: 12px; padding: 14px; text-align: left; margin-bottom: 15px; }
.profile-summary b { display: block; font-size: 11px; margin-bottom: 6px; }
.profile-summary p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.8; }
.profile-actions { display: grid; gap: 9px; }
.button-secondary { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.button-secondary:hover { background: var(--mint-soft); }
.profile-close { position: absolute; right: 24px; top: 24px; }

/* Feedback states */
.skeleton { height: 198px; border-radius: 16px; background: linear-gradient(100deg, #ecefea 20%, #f7f8f5 40%, #ecefea 60%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
.empty-state { text-align: center; padding: 55px 20px; border: 1px dashed #d9e0da; background: rgba(255,255,255,.5); border-radius: 16px; }
.empty-icon { margin: auto; width: 55px; height: 55px; display: grid; place-items: center; background: var(--mint); color: var(--green); border-radius: 18px; }
.empty-state h3 { margin: 16px 0 8px; font-size: 15px; }
.empty-state p { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.toast-region { position: fixed; z-index: 200; left: 50%; bottom: 30px; transform: translateX(-50%); display: grid; gap: 8px; width: max-content; max-width: calc(100% - 32px); }
.toast { background: var(--ink-deep); color: #fff; border-radius: 11px; padding: 12px 18px; font-size: 11px; box-shadow: 0 8px 25px rgba(11, 39, 30, .22); animation: toast-in .25s; display: flex; align-items: center; gap: 8px; }
.toast.error { background: #8b4f43; }
.toast svg { width: 15px; }
.mobile-nav { display: none; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(15px) scale(.98); } }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes shimmer { to { background-position-x: -200%; } }

@media (max-width: 1180px) {
  :root { --sidebar: 205px; }
  .sidebar { padding-left: 16px; padding-right: 16px; }
  .main-content, .topbar { padding-left: 28px; padding-right: 28px; }
  .content-grid { grid-template-columns: 1fr; }
  .right-rail { grid-template-columns: 1fr 1fr; }
  .care-card { display: none; }
  .response-main { justify-content: center; }
}

@media (max-width: 760px) {
  :root { --sidebar: 0px; }
  body { background: #f7f8f5; }
  .sidebar { display: none; }
  .workspace { margin-left: 0; }
  .topbar { height: 62px; padding: 0 18px; position: sticky; }
  .mobile-brand { display: flex; align-items: center; gap: 8px; }
  .mobile-brand .brand-mark { width: 30px; height: 30px; padding: 7px; border-radius: 9px 9px 9px 3px; }
  .mobile-brand .brand-mark span { width: 3px; }
  .mobile-brand .brand-mark span:nth-child(1) { height: 7px; }
  .mobile-brand .brand-mark span:nth-child(2) { height: 14px; }
  .mobile-brand .brand-mark span:nth-child(3) { height: 10px; }
  .mobile-brand b { font-size: 19px; letter-spacing: 1px; }
  .search-box { width: auto; flex: 1; max-width: 180px; margin-left: 18px; background: #f3f5f2; height: 34px; }
  .search-box kbd { display: none; }
  .search-box input { font-size: 10px; }
  .topbar-actions { gap: 8px; }
  .top-submit { display: none; }
  .avatar { display: block; width: 32px; height: 32px; border-radius: 10px; }
  .notification-button { border: 0; background: transparent; width: 32px; }
  .main-content { padding: 25px 16px 100px; }
  .hero { margin-bottom: 22px; align-items: flex-start; }
  .eyebrow { font-size: 8px; margin-bottom: 10px; }
  .hero h1 { font-size: 29px; line-height: 1.35; letter-spacing: -1px; }
  .hero p { font-size: 11px; line-height: 1.8; max-width: 320px; }
  .mobile-break { display: block; }
  .hero-submit { display: none; }
  .stats-strip { grid-template-columns: repeat(3, 1fr); padding: 15px 0; border-radius: 14px; margin-bottom: 20px; }
  .stat-item { padding: 0 12px; justify-content: center; }
  .stat-item:nth-child(4) { display: none; }
  .stat-icon { display: none; }
  .stat-item strong { font-size: 22px; text-align: center; }
  .stat-item span { font-size: 9px; text-align: center; }
  .feed-tabs { gap: 23px; }
  .feed-tab { font-size: 12px; }
  .result-count { display: none; }
  .category-scroll { margin-right: -16px; padding-right: 16px; }
  .filter-chip { height: 30px; font-size: 10px; }
  .post-card { padding: 17px 16px 13px; border-radius: 14px; }
  .post-card:hover { transform: none; }
  .post-card h3 { font-size: 15px; }
  .post-excerpt { font-size: 11px; -webkit-line-clamp: 2; }
  .post-time { font-size: 9px; }
  .right-rail { display: none; }
  .mobile-nav { position: fixed; display: flex; z-index: 50; bottom: 0; left: 0; right: 0; height: calc(66px + env(safe-area-inset-bottom)); padding: 7px 9px env(safe-area-inset-bottom); background: rgba(255,255,255,.96); backdrop-filter: blur(20px); border-top: 1px solid var(--line); align-items: center; justify-content: space-around; }
  .mobile-nav button { width: 20%; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; color: #8a9690; }
  .mobile-nav button svg { width: 20px; height: 20px; }
  .mobile-nav button.active { color: var(--green); }
  .mobile-nav .mobile-submit { position: relative; color: var(--green); }
  .mobile-nav .mobile-submit i { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 15px; background: var(--green); color: white; margin-top: -25px; box-shadow: 0 6px 15px rgba(23,107,86,.24); }
  .mobile-nav .mobile-submit i svg { width: 22px; }
  .mobile-nav .mobile-submit span { margin-top: -1px; }
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .sheet { width: 100%; max-height: 94vh; border-radius: 23px 23px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); animation: mobile-sheet-in .25s ease; }
  .sheet-handle { display: block; width: 35px; height: 4px; border-radius: 5px; background: #dce2dd; margin: 0 auto 18px; }
  .sheet-header { margin-bottom: 21px; }
  .sheet-header h2 { font-size: 22px; }
  .sheet-header p { font-size: 10px; }
  .form-group { margin-bottom: 17px; }
  .form-category span { padding: 7px 11px; }
  .detail-drawer { width: 100%; height: 94%; margin-top: auto; border-radius: 23px 23px 0 0; animation: mobile-sheet-in .25s ease; }
  .notification-drawer { width: 100%; height: 86%; margin-top: auto; border-radius: 23px 23px 0 0; animation: mobile-sheet-in .25s ease; }
  .drawer-backdrop { align-items: flex-end; }
  .detail-header { padding: 17px 20px; }
  .detail-body { padding: 23px 20px calc(30px + env(safe-area-inset-bottom)); }
  .detail-body h2 { font-size: 21px; }
  .toast-region { bottom: 85px; }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card.full { grid-column: auto; }
  .insight-card { padding: 20px; }
  .insight-banner { padding: 20px; }
  .compact-hero .mobile-break { display: none; }
  @keyframes mobile-sheet-in { from { transform: translateY(100%); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.admin-actions { display: flex; gap: 8px; margin-top: 10px; }
.admin-actions .button { flex: 1; height: 34px; font-size: 11px; padding: 0 10px; }
.reply-mod { display: inline-flex; gap: 8px; margin-top: 6px; }
.reply-mod button { border: 0; background: transparent; color: #9aa59e; font-size: 10px; cursor: pointer; padding: 0; }
.reply-mod button:last-child { color: #c05b4d; }
.reply-mod button:hover { text-decoration: underline; }
.hidden-tag { font-style: normal; font-size: 9px; color: #c05b4d; background: #fff1ee; padding: 1px 6px; border-radius: 4px; }

.admin-actions { margin-bottom: 12px; }
