:root {
  color-scheme: light;
  --paper: #f3f5f2;
  --ink: #17211d;
  --muted: #78827c;
  --line: #dce2dd;
  --forest: #173c31;
  --acid: #d5f16a;
  --coral: #e9755b;
  --blue: #6b8ebd;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; }
button, input { font: inherit; }
a { color: inherit; }
.app-shell { width: min(1440px, 100%); min-height: 100vh; margin: 0 auto; padding: 0 6.2%; display: flex; flex-direction: column; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark__symbol { width: 34px; height: 34px; display: grid; place-items: center; position: relative; border-radius: 50%; background: var(--forest); color: white; font-size: 11px; font-weight: 800; }
.wordmark__symbol span { position: absolute; transform: translate(7px, 7px); color: var(--acid); font-size: 9px; }
.wordmark__name, .eyebrow, .live-indicator, .topbar__site, .status-strip__mode, .footer, .profile-link__label, .connect-panel__number { font-family: var(--mono); font-size: 10px; letter-spacing: 0; }
.wordmark__name { font-weight: 500; }
.wordmark__name span { color: var(--coral); padding: 0 3px; }
.topbar__right { display: flex; align-items: center; gap: 28px; }
.live-indicator { display: flex; align-items: center; gap: 8px; color: var(--forest); }
.live-indicator span, .status-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #c4cdc6; }
.live-indicator span { background: var(--coral); box-shadow: 0 0 0 3px #e9755b22; }
.topbar__site { text-decoration: none; color: var(--muted); }
.intro { min-height: 238px; display: flex; align-items: center; justify-content: space-between; padding: 38px 0 30px; }
.eyebrow { margin: 0 0 13px; color: var(--muted); text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(42px, 5vw, 66px); line-height: 1.02; font-weight: 700; letter-spacing: 0; }
h1 span { color: var(--forest); }
.intro__meta { align-self: flex-end; margin-bottom: 8px; font-family: var(--mono); font-size: 10px; line-height: 1.9; color: var(--forest); }
.intro__meta span { color: var(--muted); }
.status-strip { min-height: 52px; display: flex; align-items: center; gap: 27px; padding: 0 18px; background: var(--forest); color: #f4f8f3; }
.status-strip__item { display: flex; align-items: center; gap: 9px; font-size: 11px; }
.status-dot--good { background: var(--acid); box-shadow: 0 0 0 3px #d5f16a22; }
.status-dot--bad { background: var(--coral); box-shadow: 0 0 0 3px #e9755b22; }
.status-strip__mode { margin-left: auto; color: var(--acid); font-size: 9px; }
.workspace { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 8.5%; padding: 42px 0 56px; }
.workspace__main { min-width: 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 6px; }
h2 { margin: 0; font-size: 23px; line-height: 1.25; font-weight: 700; }
.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; border: 0; cursor: pointer; font-size: 12px; font-weight: 700; transition: background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .6; transform: none; }
.button--primary { background: var(--coral); color: white; }
.button--primary:hover { background: #d9654d; }
.button__plus { font-size: 19px; line-height: 1; font-weight: 400; }
.notice { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid var(--coral); background: white; font-size: 12px; line-height: 1.6; }
.post-list { border-top: 1px solid var(--line); }
.post-item { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: arrive .35s ease both; }
.post-item__image { width: 90px; aspect-ratio: 1; object-fit: cover; background: #e3e8e3; }
.post-item__body { min-width: 0; }
.post-item__top { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 8px; }
.post-item__date, .post-item__state, .post-item__source { font-family: var(--mono); font-size: 9px; }
.post-item__date { color: var(--muted); }
.post-item__state { padding: 4px 6px; background: #e7ece8; color: var(--forest); text-transform: uppercase; }
.post-item__state--published { background: var(--acid); }
.post-item__state--failed { background: #f7ded8; color: #973f2e; }
.post-item__title { margin: 0 0 6px; font-size: 14px; line-height: 1.4; }
.post-item__caption { margin: 0; display: -webkit-box; overflow: hidden; color: #66716a; font-size: 11px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-item__error { margin: 8px 0 0; color: #a34432; font-size: 11px; }
.post-item__sources { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.post-item__source { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-item__image-link { align-self: start; color: var(--muted); font-size: 10px; text-decoration: none; }
.empty-state { padding: 34px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.empty-state strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; }
.workspace__aside { display: flex; flex-direction: column; gap: 26px; }
.schedule-panel { padding: 21px; background: var(--acid); }
.schedule-panel .eyebrow { color: #4a5b27; }
.schedule-panel__time { font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: 0; }
.schedule-panel__time span { color: var(--coral); }
.schedule-panel__day { margin: 7px 0 21px; font-size: 12px; font-weight: 600; }
.schedule-panel__day span { color: var(--coral); }
.schedule-panel__rule { height: 1px; margin-bottom: 13px; background: #60733644; }
.schedule-panel__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 10px; }
.schedule-panel__row span { color: #58664a; }
.schedule-panel__row strong { text-align: right; font-weight: 700; }
.connect-panel { padding-top: 2px; }
.connect-panel__head { display: flex; justify-content: space-between; align-items: start; }
.connect-panel__number { color: var(--coral); }
.service-row { min-height: 63px; display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.service-row__icon { width: 27px; height: 27px; display: grid; place-items: center; font-size: 18px; font-weight: 700; }
.service-row__icon--meta { color: #a64e88; }
.service-row__icon--openai { color: var(--forest); }
.service-row__icon--cloud { color: var(--blue); }
.service-row strong, .service-row small { display: block; }
.service-row strong { margin-bottom: 3px; font-size: 11px; }
.service-row small { color: var(--muted); font-size: 10px; }
.service-row__action { color: var(--coral); font-size: 10px; text-decoration: none; }
.service-row__check { color: var(--muted); font-family: var(--mono); }
.service-row__check--good { color: var(--forest); }
.profile-link { min-height: 78px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 4px; padding: 0 15px; border: 1px solid var(--line); text-decoration: none; }
.profile-link__label { grid-column: 1 / -1; color: var(--muted); }
.profile-link strong { font-size: 14px; }
.profile-link__url { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.profile-link__url span { color: var(--coral); }
.footer { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.login-dialog { width: min(420px, calc(100% - 32px)); padding: 0; border: 0; background: transparent; }
.login-dialog::backdrop { background: #17211dbb; backdrop-filter: blur(4px); }
.login-form { padding: 30px; background: var(--paper); }
.login-form h2 { margin-bottom: 24px; font-size: 27px; }
.login-form label { display: block; margin-bottom: 7px; font-size: 11px; }
.login-form input { width: 100%; height: 44px; margin-bottom: 10px; padding: 0 11px; border: 1px solid var(--line); background: white; }
.login-form__error { min-height: 18px; margin: 0 0 8px; color: #a34432; font-size: 11px; }
.login-form .button { width: 100%; }
@keyframes arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .app-shell { padding: 0 5%; }
  .workspace { grid-template-columns: minmax(0, 1fr) 270px; gap: 5%; }
  .status-strip { gap: 15px; }
}

@media (max-width: 680px) {
  .topbar { height: 64px; }
  .topbar__right { gap: 12px; }
  .live-indicator { font-size: 8px; }
  .topbar__site { display: none; }
  .intro { min-height: 206px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 17px; padding: 30px 0 24px; }
  h1 { font-size: 44px; }
  .intro__meta { align-self: auto; margin: 0; font-size: 9px; }
  .status-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; padding: 14px; }
  .status-strip__item { font-size: 10px; }
  .status-strip__mode { grid-column: 1 / -1; margin: 1px 0 0; }
  .workspace { display: flex; flex-direction: column; gap: 34px; padding: 32px 0 40px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading .button { width: 100%; }
  .post-item { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; }
  .post-item__image { width: 68px; }
  .post-item__image-link { display: none; }
  .workspace__aside { display: grid; grid-template-columns: 1fr; gap: 26px; }
  .schedule-panel { padding: 20px; }
  .footer { font-size: 8px; }
}

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