:root { color-scheme: light; font-family: "Inter",system-ui,sans-serif; color:#182a2e; background:#f3f6f5; font-size:15px; --ink:#182a2e; --muted:#526469; --line:#d9e3e0; --green:#075d49; }
* { box-sizing:border-box; }
body { margin:0; }
.top { background:#102c29;color:white;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem max(5vw,1rem); }
.brand { font-weight:750;display:flex;align-items:center;gap:.65rem;white-space:nowrap; }
.brand small { color:#a5d9c7;font-size:inherit; }
.logo { display:grid;place-items:center;width:2rem;height:2rem;border-radius:.55rem;background:#c5f3a1;color:#102c29; }
nav { display:flex;gap:1.2rem;flex-wrap:wrap; }
nav a { color:#ebf6f2;text-decoration:none;font-size:.9rem; }
nav a:hover { text-decoration:underline; }
main { max-width:1240px;margin:auto;padding:2rem max(3vw,1rem) 4rem; }
h1,h2,h3,p { margin:0; }
h1 { font-size:clamp(2rem,5vw,3.35rem);letter-spacing:-.065em;line-height:1.03;margin:.4rem 0 .65rem; }
h2 { font-size:1.3rem;letter-spacing:-.03em; }
h3 { font-size:1.04rem; }
p { line-height:1.55; }
.eyebrow { font-weight:800;letter-spacing:.12em;color:var(--green);font-size:.75rem; }
.intro,.section-head { display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem; }
.section-head p,.intro p:not(.eyebrow),.muted { color:var(--muted); }
.section { background:#fff;border:1px solid var(--line);border-radius:1rem;padding:clamp(1rem,3vw,1.6rem);margin-top:1.15rem; }
.metrics { display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.65rem;margin:1rem 0; }
.metric { border:1px solid #dcebe5;background:#f5faf7;padding:.85rem;border-radius:.65rem; }
.metric span { color:#456058;font-size:.83rem; }
.metric strong { display:block;font-size:1.75rem;line-height:1.25;letter-spacing:-.045em; }
button,select,input,textarea { font:inherit; }
button { min-height:2.65rem;border:1px solid transparent;border-radius:.55rem;background:var(--green);color:#fff;font-weight:650;padding:.55rem .85rem;cursor:pointer; }
button:hover { filter:brightness(.92); }
button:disabled { opacity:.55;cursor:default; }
.secondary { color:var(--ink);background:#fff;border-color:#bfcfca; }
:focus-visible { outline:3px solid #238b72;outline-offset:2px; }
.controls,.actions { display:flex;flex-wrap:wrap;gap:.45rem;align-items:center; }
.posts,.screens { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:.75rem; }
.post,.screen { border:1px solid var(--line);border-radius:.75rem;padding:1rem;display:grid;align-content:start;gap:.65rem;overflow-wrap:anywhere; }
.post p { white-space:pre-wrap; }
.post img,.screen img,#editor-preview { width:100%;max-height:235px;object-fit:contain;background:#f4f7f6;border:1px solid var(--line);border-radius:.45rem; }
.post-line { display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem; }
.badge { font-size:.75rem;white-space:nowrap;font-weight:700;padding:.22rem .45rem;border-radius:.35rem;background:#ebf1ef; }
.badge.live,.badge.approved { color:#095642;background:#e2f7eb; }
.badge.check { color:#803319;background:#fce9db; }
.fields { display:flex;flex-wrap:wrap;align-items:end;gap:.7rem;margin:.75rem 0; }
.fields label { flex:1 1 170px; }
.fields .check { display:flex;align-items:center;gap:.5rem;align-self:center; }
.fields .check input { width:auto;min-height:auto; }
.stacked { display:grid;justify-items:start; }
.stacked label { width:100%; }
label { display:grid;gap:.28rem;font-size:.9rem;font-weight:650; }
input,select,textarea { width:100%;min-width:0;min-height:2.6rem;padding:.46rem .6rem;border:1px solid #bfcfca;border-radius:.45rem;background:#fff;color:var(--ink); }
.controls select { width:auto; }
textarea { resize:vertical; }
details { border-top:1px solid var(--line);margin-top:.8rem;padding-top:.75rem; }
summary { cursor:pointer;font-weight:700;margin-bottom:.45rem; }
table { width:100%;border-collapse:collapse;margin:.5rem 0; }
th,td { text-align:left;border-bottom:1px solid var(--line);padding:.4rem; }
dialog { width:min(94vw,560px);max-height:90dvh;border:1px solid var(--line);border-radius:1rem;padding:1.15rem;color:var(--ink); }
dialog::backdrop { background:#0b2522a0; }
dialog form { display:grid;gap:.75rem; }
dialog form .section-head { margin:0; }
#feedback { position:sticky;top:.5rem;z-index:2;background:#163932;color:#fff;border-radius:.55rem;padding:.7rem 1rem;margin-top:1rem;box-shadow:0 .2rem .6rem #102c2930; }
a { color:var(--green); }
.sr { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
@media(max-width:600px) { .top,.section-head { align-items:flex-start;flex-direction:column; } nav { gap:.8rem; } main { padding-top:1.15rem; } .intro { align-items:flex-start; } }
.button { display:inline-flex;align-items:center;min-height:2.65rem;border:1px solid #bfcfca;border-radius:.55rem;font-weight:650;padding:.55rem .85rem;text-decoration:none; }
.hero-status { display:inline-flex;align-items:center;gap:.4rem; }
.hero-status::before { content:'';width:.5rem;height:.5rem;border-radius:50%;background:#618c7d; }
[data-preview] .intro { margin-bottom:1.5rem; }
.growth-pick { padding:.9rem 1rem;background:#f2f7f5;border-radius:.65rem;display:flex;gap:.65rem 1rem;flex-wrap:wrap;align-items:center; }
.growth-pick .button { margin-left:auto; }
.history-row { padding:.55rem 0;border-bottom:1px solid var(--line); }
#hashtags button { min-height:2rem;font-size:.78rem;padding:.3rem .5rem; }

:root {
  --sidebar-width: 226px;
  --ink: #172820;
  --muted: #52665d;
  --line: #dce5df;
  --green: #14644c;
  background: #f5f7f5;
}
[hidden] { display: none !important; }
.top {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 3;
  width: var(--sidebar-width);
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 1.55rem 1rem;
  gap: 2rem;
  background: #122a24;
}
.brand { padding-inline: .45rem; }
.brand small { display: block; color: #bcd1c8; font-weight: 500; font-size: .76rem; }
.logo { width: 2.3rem; height: 2.3rem; background: #c8edac; }
nav { display: grid; gap: .3rem; }
nav a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .72rem .7rem;
  color: #d2e1d9;
  border-radius: .55rem;
  white-space: nowrap;
}
nav a:hover, nav a[aria-current] { background: #28473c; color: #fff; text-decoration: none; }
nav a[aria-current] { font-weight: 680; }
nav svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
main { max-width: 1500px; margin-left: var(--sidebar-width); padding: 2.4rem clamp(1.25rem,4vw,4rem) 4rem; }
.intro { margin-bottom: 1.6rem; }
h1 { font-size: clamp(2rem,4vw,2.85rem); letter-spacing: -.05em; margin: .45rem 0 0; }
h2 { font-size: 1.25rem; }
.section { margin: 0; box-shadow: 0 2px 4px #17282007; }
.section-head { margin-bottom: 1.25rem; }
.section-head p { margin-top: .25rem; font-size: .91rem; }
.metrics { grid-template-columns: repeat(auto-fit,minmax(135px,1fr)); gap: .85rem; margin-block: 1.2rem; }
.metric { background: #f6f9f6; border-color: var(--line); padding: 1rem; }
.metric strong { font-size: 2rem; margin-top: .3rem; }
#sync-note, #website-status { font-size: .84rem; margin-block: .8rem; }
.growth-pick { background: #eaf4eb; }
.posts,.screens { grid-template-columns: repeat(auto-fill,minmax(min(100%,310px),1fr)); gap: .85rem; }
.post,.screen { padding: 1.1rem; }
.post { grid-template-rows: auto auto 1fr; }
.post > .muted { font-size: .83rem; }
.post .actions { padding-top: .6rem; border-top: 1px solid var(--line); }
.badge { border-radius: 2rem; padding-inline: .6rem; }
.badge.draft { background: #f7efd9; color: #6c4b13; }
#feedback { margin: 0 0 1rem; }
:focus-visible { outline-color: #49a785; }
@media (max-width: 780px) {
  .top { position: sticky; inset: 0 0 auto; width: auto; padding: .65rem 1rem 0; gap: .35rem; }
  nav { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: .25rem; padding: .25rem 0 .55rem; }
  nav a { padding: .55rem .65rem; }
  main { margin-left: 0; padding-top: 1.4rem; }
  #feedback { position: static; }
}
@media (max-width: 520px) {
  .intro { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric { padding: .75rem; overflow-wrap: anywhere; }
  .growth-pick .button { margin-left: 0; }
}

.reminder-settings { border-top: 1px solid var(--line); margin-top: 1.2rem; padding-top: 1rem; }
.reminder-settings h2 { font-size: 1.05rem; margin-bottom: .3rem; }
.reminder-settings .fields label { flex: 0 1 auto; }

.analytics-breakdown { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr)); gap:1rem; margin-top:1.25rem; }
.analytics-breakdown section { min-width:0; padding:1rem; border:1px solid var(--line); border-radius:.75rem; }
.analytics-breakdown p { font-size:.86rem; margin-top:.25rem; }
.analytics-breakdown td { overflow-wrap:anywhere; }

.sign-out { margin-top:auto; }
.sign-out button { width:100%; }
.login-page { min-height:100dvh; display:grid; place-items:center; padding:1rem; }
.login-card { margin:0; padding:2rem; width:min(100%,420px); background:#fff; border:1px solid var(--line); border-radius:1rem; }
.login-card .brand { padding:0; }
.login-card h1 { font-size:2rem; margin:1.4rem 0 1rem; }
.login-card form { display:grid; gap:1rem; }
.login-card [role=alert] { color:#803319; font-size:.9rem; }
@media (max-width:780px) {
  .sign-out { position:absolute; right:1rem; top:.5rem; }
  .sign-out button { min-height:2rem; font-size:.8rem; padding:.25rem .55rem; }
}
