:root {
  --bg: #f7f6f2; --card: #ffffff; --ink: #1d1f23; --muted: #686c74; --line: #e6e3dc;
  --brand: #0f766e; --brand-ink: #ffffff; --brand-soft: #e3f3f0; --warm: #f2994a; --warn-soft: #fff4e5;
  --ok: #2f855a; --ok-soft: #e6f4ea; --bad: #b42318; --bad-soft: #fdecea;
  --ig: #d6249f; --fb: #1877f2; --li: #0a66c2; --x: #111111; --yt: #ff0000;
  --radius: 16px; --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 6px 20px rgba(20, 20, 20, .05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif; }
img { display: block; max-width: 100%; }
h1 { font-size: clamp(26px, 4.4vw, 44px); line-height: 1.12; margin: 0 0 12px; letter-spacing: -.5px; }
h2 { font-size: 19px; margin: 32px 0 12px; }
a { color: var(--brand); }
.muted { color: var(--muted); }

.demo-banner { background: #20262e; color: #fff; text-align: center; font-size: 14px; padding: 8px 16px; letter-spacing: .1px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1120px; margin: 0 auto; padding: 16px 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 18px; }
.mark { width: 32px; height: 32px; color: var(--brand); }
.steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.steps a { display: block; padding: 6px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); background: var(--card); }
.steps .done a { color: var(--brand); border-color: var(--brand-soft); }
.steps .on a { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 650; }
main { max-width: 1120px; margin: 0 auto; padding: 8px 20px 32px; }
footer { max-width: 1120px; margin: 0 auto; padding: 16px 20px 40px; color: var(--muted); font-size: 13px; }
.flash { background: var(--ok-soft); color: var(--ok); border-radius: 12px; padding: 10px 14px; margin: 0 0 16px; font-weight: 600; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
button, .primary, .secondary { font: inherit; cursor: pointer; }
.primary, .secondary, .ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 10px 18px; border-radius: 12px; font-weight: 650; text-decoration: none; border: 1px solid transparent; }
.primary { background: var(--brand); color: var(--brand-ink); }
.primary:hover { filter: brightness(1.07); }
.primary:disabled { background: var(--ok-soft); color: var(--ok); cursor: default; }
.secondary { background: var(--card); color: var(--ink); border-color: var(--line); }
.secondary:hover { border-color: var(--brand); color: var(--brand); }
.ghost { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.ghost svg { width: 18px; height: 18px; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 8px 4px; }
.pill { display: inline-block; font-size: 12px; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--warn-soft); color: #9a5b13; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }

/* home */
.home { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; padding-top: 16px; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .8px; margin: 0 0 10px; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 18px; max-width: 60ch; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { padding: 6px 0 6px 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f766e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.resume { display: inline-block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; text-decoration: none; }
.start h2 { margin: 0 0 14px; }
.field { display: block; border: 0; padding: 0; margin: 0 0 14px; font-weight: 600; font-size: 14px; }
.field legend { padding: 0; margin-bottom: 6px; }
.field input:not([type]), .field input[name="business"], .field select { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label, .chip { position: relative; }
.seg input, .chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span, .chip span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 550; background: #fff; }
.seg input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip input:checked + span { border-color: currentColor; background: var(--brand-soft); color: var(--brand); }
.seg input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.drop { display: grid; gap: 4px; place-items: center; text-align: center; border: 2px dashed #cfd8d6; border-radius: 14px; padding: 22px 12px;
  margin: 18px 0 14px; cursor: pointer; background: #fbfcfb; position: relative; }
.drop:hover, .drop.has { border-color: var(--brand); background: var(--brand-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop span { color: var(--muted); font-size: 14px; }
.actions { display: grid; gap: 8px; }
.drive { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.drive .ghost { cursor: not-allowed; }
.fine { color: var(--muted); font-size: 13px; margin: 14px 0 0; }

/* review */
.pagehead { margin: 8px 0 18px; }
.pagehead .lead { margin-bottom: 6px; }
.note { background: var(--warn-soft); border-radius: 10px; padding: 8px 12px; margin: 8px 0 0; font-size: 15px; display: inline-block; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stats .n { display: block; font-size: 28px; font-weight: 750; }
.stats .l { color: var(--muted); font-size: 14px; }
.dropped { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.dropped li { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--bad); border-radius: 12px; padding: 10px; }
.dropped img, .nofile { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex: none; }
.nofile { display: grid; place-items: center; background: var(--bad-soft); color: var(--bad); font-weight: 800; font-size: 22px; }
.fname { display: block; font-weight: 650; font-size: 14px; word-break: break-all; }
.reason { display: block; color: var(--bad); font-size: 14px; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.grid li { position: relative; }
.grid img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 12px; }
.grid .meta { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.badge { position: absolute; top: 8px; left: 8px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.next { margin-top: 24px; display: flex; justify-content: flex-end; }

/* calendar */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.toolbar form { margin: 0; }
.month { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.dow, .week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dow span { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; padding: 4px 0 8px; }
.week { margin-bottom: 6px; }
.cell { min-height: 118px; border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: flex; flex-direction: column; gap: 4px; background: #fcfcfa; }
.cell.out { background: transparent; border-style: dashed; opacity: .45; }
.cell.has { background: #fff; }
.cell.ok { border-color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); }
.dnum { font-size: 13px; font-weight: 650; color: var(--muted); }
.dnum small { font-weight: 600; text-transform: uppercase; font-size: 11px; color: var(--brand); }
.pthumb { position: relative; display: block; }
.pthumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; }
.pk { position: absolute; right: 4px; bottom: 4px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 999px; }
.nets { display: flex; gap: 3px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.net-instagram { background: var(--ig); } .dot.net-facebook { background: var(--fb); } .dot.net-linkedin { background: var(--li); }
.dot.net-x { background: var(--x); } .dot.net-youtube { background: var(--yt); }

.post { margin: 0 0 14px; padding: 0; overflow: hidden; scroll-margin-top: 16px; }
.post.approved { border-color: #b7dfc4; }
.post header, .post footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 18px; }
.post header { border-bottom: 1px solid var(--line); }
.post footer { border-top: 1px solid var(--line); justify-content: flex-end; background: #fbfbf9; }
.pdate { font-weight: 750; }
.kind { color: var(--muted); font-size: 14px; }
.post header .pill { margin-left: auto; }
.pbody { display: grid; grid-template-columns: 260px 1fr; gap: 18px; padding: 16px 18px; }
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; align-content: start; }
.strip img:only-child { grid-column: span 2; }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.cap { display: block; }
.net { display: flex; align-items: center; gap: 6px; font-weight: 650; font-size: 14px; margin-bottom: 4px; }
.net .count { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12px; }
.cap textarea { field-sizing: content; min-height: 4.5em; max-height: 28em; width: 100%; font: inherit; font-size: 14px; line-height: 1.45; padding: 10px; border: 1px solid var(--line); border-radius: 10px; resize: vertical; background: #fff; color: var(--ink); }
.cap textarea:focus, .field input:focus, .field select:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.message { max-width: 560px; margin: 40px auto; }
.message h1 { font-size: 26px; }

@media (max-width: 860px) {
  .home { grid-template-columns: 1fr; gap: 20px; padding-top: 0; }
  .pbody { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .strip img:only-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  main { padding: 4px 14px 24px; }
  .top { padding: 12px 14px; }
  .steps { width: 100%; }
  .steps li { flex: 1; }
  .steps a { text-align: center; padding: 6px 4px; font-size: 13px; }
  .lead { font-size: 16px; }
  .card { padding: 16px; }
  .card.post { padding: 0; }
  .toolbar form:first-child { flex: 1 1 100%; }
  .toolbar form:first-child .primary { width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .dropped { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .grid .meta { display: none; }
  .month { padding: 6px; }
  .dow, .week { gap: 3px; }
  .week { margin-bottom: 3px; }
  .dow span { font-size: 11px; }
  .cell { min-height: 58px; padding: 3px; border-radius: 7px; gap: 2px; }
  .dnum { font-size: 11px; }
  .dnum small { display: none; }
  .nets { display: none; }
  .pk { font-size: 9px; right: 2px; bottom: 2px; padding: 0 4px; }
  .pthumb img { border-radius: 5px; }
  .toolbar .primary, .toolbar .secondary { flex: 1 1 auto; }
  .post header, .post footer { padding: 10px 14px; }
  .pbody { padding: 12px 14px; }
  .caps { grid-template-columns: 1fr; }
  .post footer button { flex: 1; }
  .next .primary { width: 100%; }
}
