:root { --ink: #172329; --muted: #64737a; --line: #dfe7e8; --paper: #f5f8f7; --card: #fff; --teal: #087f73; --teal-dark: #075c57; --yellow: #f2bd4d; --shadow: 0 14px 35px rgba(23, 35, 41, .07); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.topbar { min-height: 72px; padding: 0 5vw; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--teal); border-radius: 10px; font-weight: 900; }
.brand small { color: var(--teal); font-size: 9px; letter-spacing: .15em; margin-left: 4px; }
.topnav { display: flex; align-self: stretch; gap: 25px; margin-right: auto; }
.topnav a { display: grid; place-items: center; color: var(--muted); font-size: 14px; border-bottom: 2px solid transparent; }
.topnav a.active { color: var(--teal-dark); border-color: var(--teal); }
.sync-tools { display: flex; align-items: center; gap: 7px; margin-left: auto; }.compact-button { min-height: 33px; padding: 6px 10px; font-size: 11px; }.demo-badge { color: #8a5b0b; background: #fff5d9; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }.demo-badge.relay { color: #075c57; background: #e4f3ef; }.demo-badge.error { color: #a32c2c; background: #fff0f0; }
main { max-width: 1320px; margin: auto; padding: 0 5vw 70px; }
.hero { display: flex; justify-content: space-between; align-items: end; gap: 25px; padding: 68px 0 42px; }
.eyebrow { margin: 0 0 8px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 14px; font-size: clamp(34px, 5vw, 62px); line-height: 1.03; letter-spacing: -.055em; }
h2 { margin-bottom: 0; font-size: 22px; letter-spacing: -.025em; }
.hero-copy { max-width: 680px; color: var(--muted); font-size: 17px; }
.hero-card { min-width: 180px; padding: 18px; border: 1px solid #c9e4df; background: #e7f5f1; border-radius: 14px; }
.hero-card span, .hero-card small { display: block; color: var(--teal-dark); font-size: 12px; }.hero-card strong { display: block; margin: 5px 0 2px; }.hero-card small { opacity: .78; }
.public-layout { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; }.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.sidebar { padding: 20px 15px; position: sticky; top: 20px; }.sidebar-heading { display: flex; justify-content: space-between; margin: 0 8px 12px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; }.menu-list { display: grid; gap: 4px; }.menu-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; background: transparent; text-align: left; color: var(--muted); padding: 10px 9px; border-radius: 8px; }.menu-count { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 6px; color: #668079; background: #edf2f1; border-radius: 999px; font-size: 11px; font-weight: 800; }.menu-item:hover, .menu-item.active { color: var(--teal-dark); background: #e9f5f1; font-weight: 700; }.menu-item.active .menu-count { color: var(--teal-dark); background: #cde9e2; }.editor-link { display: block; margin: 25px 8px 3px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--teal); font-size: 12px; font-weight: 700; }
.search-box { padding: 22px; margin-bottom: 28px; }.search-box label, label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 750; }.search-row { display: flex; gap: 10px; }.search-row input { flex: 1; }.hint { margin: 9px 0 0; color: var(--muted); font-size: 12px; }.search-chip { padding: 0; border: 0; color: var(--teal); background: transparent; font-weight: 700; text-decoration: underline; }
input, textarea, select { width: 100%; padding: 11px 12px; color: var(--ink); border: 1px solid #ccd9d9; border-radius: 9px; background: #fff; outline: 0; }.article-form input:focus, textarea:focus, select:focus, .search-box input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8, 127, 115, .1); }
.section-header, .panel-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; }.section-header { margin: 0 0 15px; }.count-pill { padding: 4px 9px; color: var(--teal-dark); background: #e4f3ef; border-radius: 999px; font-size: 12px; font-weight: 750; }.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 17px; }.article-card { overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 7px 20px rgba(23,35,41,.04); }.article-image { width: 100%; height: 150px; object-fit: cover; background: linear-gradient(135deg, #d5ebe6, #eff6f4); }.article-body { padding: 18px; }.article-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; }.tag { padding: 4px 7px; color: var(--teal-dark); background: #e7f4f1; border-radius: 5px; font-size: 10px; font-weight: 800; letter-spacing: .05em; }.article-body h3 { margin-bottom: 8px; font-size: 18px; line-height: 1.2; }.article-body p { margin-bottom: 0; color: var(--muted); font-size: 14px; }.empty { padding: 30px; color: var(--muted); text-align: center; border: 1px dashed #bdccca; border-radius: 12px; }
.editor-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 58px 0 35px; }.editor-heading h1 { margin-bottom: 8px; font-size: clamp(38px, 5vw, 58px); }.editor-heading p:not(.eyebrow) { max-width: 700px; color: var(--muted); }.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.editor-panel { padding: 22px; }.editor-wide { grid-column: 1 / -1; }.panel-title { margin-bottom: 20px; }.status-dot { padding: 5px 9px; color: var(--teal-dark); background: #e6f5f0; border-radius: 999px; font-size: 11px; font-weight: 750; }.editor-panel > label { margin-top: 15px; }.editor-panel > input, .editor-panel > textarea { margin-bottom: 3px; }.inline-form { display: flex; gap: 9px; margin-bottom: 15px; }.inline-form input { flex: 1; }.editor-list { display: grid; gap: 8px; }.editor-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px; background: #f7faf9; border: 1px solid var(--line); border-radius: 9px; }.editor-row strong { font-size: 14px; }.editor-row small { display: block; color: var(--muted); font-size: 11px; }.row-actions { display: flex; gap: 5px; }.icon-button { padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #fff; font-size: 12px; }.icon-button:hover { color: var(--teal-dark); border-color: var(--teal); }.article-form { padding: 18px; margin-bottom: 18px; background: #f7faf9; border: 1px solid var(--line); border-radius: 11px; }.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.article-form label { margin-top: 13px; }.form-actions { display: flex; gap: 8px; margin-top: 16px; }.primary-button, .secondary-button, .ghost-button { display: inline-flex; justify-content: center; align-items: center; min-height: 39px; padding: 9px 14px; border-radius: 8px; font-size: 13px; font-weight: 750; }.primary-button { color: #fff; background: var(--teal); border: 1px solid var(--teal); }.primary-button:hover { background: var(--teal-dark); }.secondary-button { color: var(--teal-dark); border: 1px solid #b8d6d1; background: #e7f5f1; }.ghost-button { color: var(--muted); border: 1px solid var(--line); background: #fff; }.ghost-button:hover { border-color: var(--teal); color: var(--teal-dark); }.demo-note { margin-top: 18px; padding: 16px; color: #71521b; background: #fff6dd; border: 1px solid #f1d795; border-radius: 11px; font-size: 13px; }.search-results { margin: -13px 0 26px; }.result-heading { margin: 0 0 10px; color: var(--muted); font-size: 12px; font-weight: 750; }.result-list { display: grid; gap: 9px; }.result-item { display: flex; justify-content: space-between; gap: 15px; padding: 13px 15px; background: #eff8f5; border: 1px solid #cde6df; border-radius: 10px; }.result-item strong { font-size: 14px; }.result-item p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }.result-item .tag { align-self: start; }.no-results { color: var(--muted); font-size: 13px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 5vw; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.field-hint { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.user-submit-panel { max-width: 900px; margin: 0 auto; padding: 8px; }
.user-entry-form { margin: 0; border: 0; background: #fff; }
.success-note { display: grid; gap: 4px; margin: 18px; padding: 18px; color: var(--teal-dark); background: #e6f5f0; border: 1px solid #b9ddd5; border-radius: 10px; }
.login-wrap { max-width: 520px; margin: 80px auto; padding: 32px; }
.login-wrap h1 { margin-bottom: 12px; font-size: 38px; }
.login-wrap > p:not(.eyebrow) { color: var(--muted); }
.login-wrap form { display: grid; gap: 10px; margin-top: 24px; }
.demo-code { margin-top: 18px; font-size: 13px; }
.error-note { color: #a32c2c !important; font-size: 13px; font-weight: 700; }
.heading-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pending-wrap { margin-bottom: 24px; padding: 16px; background: #fff8e4; border: 1px solid #efd58c; border-radius: 11px; }
.subsection-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; }
.subsection-title h3 { margin: 0; font-size: 16px; }
.pending-wrap .editor-row { background: #fffdf7; border-color: #ead9aa; }
.article-open { width: 100%; margin-top: 15px; }
.record-dialog { width: min(720px, calc(100vw - 30px)); padding: 0; color: var(--ink); background: #fff; border: 0; border-radius: 16px; box-shadow: 0 30px 90px rgba(13, 29, 33, .28); }
.record-dialog::backdrop { background: rgba(15, 29, 33, .58); backdrop-filter: blur(3px); }
.record-dialog-head { display: flex; justify-content: space-between; gap: 20px; padding: 25px 25px 10px; }
.record-dialog-head h2 { font-size: 28px; line-height: 1.15; }
.dialog-close { flex: 0 0 auto; align-self: start; }
.record-dialog > .article-meta { padding: 0 25px 18px; }
.record-detail-image { width: 100%; max-height: 380px; object-fit: cover; }
.record-detail-body { padding: 23px 25px 10px; color: #34454b; font-size: 16px; white-space: pre-wrap; }
.record-detail-author { padding: 10px 25px 25px; color: var(--muted); font-size: 12px; }
@media (max-width: 800px) { .topbar { flex-wrap: wrap; gap: 15px; padding: 13px 5vw; }.topnav { order: 3; width: 100%; height: 35px; }.sync-tools { order: 4; width: 100%; margin-left: 0; flex-wrap: wrap; }.demo-badge { margin-left: auto; }.hero, .editor-heading { display: block; }.hero-card { width: fit-content; margin-top: 25px; }.public-layout { grid-template-columns: 1fr; }.sidebar { position: static; }.menu-list { display: flex; flex-wrap: wrap; }.editor-grid { grid-template-columns: 1fr; }.editor-wide { grid-column: auto; }.form-two { grid-template-columns: 1fr; } footer { display: block; } footer span { display: block; margin: 5px 0; } }
