/* The sample Content Engine on /content (2026-11-02). A week of drafts on the left, the open post on the right.
   Uses the site tokens like workspace.css; everything is scoped to .cs. Phones stack the week above the post. */
.cs{--cs-bg:#0c0f14;--cs-side:#10141b;--cs-card:var(--panel2,#151a22);--cs-ink:#fff;--cs-ok:#8fe0b6;--cs-warn:#ffcf6b;--cs-raise:inset 0 0 0 1px var(--line);
  color-scheme:dark;container-type:inline-size;
  background:var(--cs-bg);color:var(--text);font-family:var(--body);font-size:15px;line-height:1.45;text-align:left;overflow:hidden}
html.light .cs{color-scheme:light;--cs-bg:var(--tray,linear-gradient(180deg,#F6F8FB,#EEF1F6));--cs-side:#fff;--cs-card:#fff;--cs-ink:#15181E;--cs-ok:#1C7C4A;--cs-warn:#8A5A00;
  --cs-raise:var(--raise,0 0 0 1px rgba(16,24,40,.05),0 1px 2px rgba(16,24,40,.06),0 4px 12px -4px rgba(16,24,40,.10))}
.cs-in{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);grid-template-rows:auto 1fr;min-height:520px}
.cs *{box-sizing:border-box}
.cs button,.cs input{font:inherit;color:inherit}
.cs button{cursor:pointer;background:none;border:0}

.cs-top{grid-column:1/-1;min-width:0;display:flex;align-items:center;gap:12px;padding:10px 16px;background:var(--cs-side);box-shadow:0 1px 0 var(--line)}
.cs-biz{display:flex;align-items:center;gap:10px;min-width:0;margin-right:auto}
.cs-biz i{width:30px;height:30px;border-radius:8px;background:var(--blue);color:#fff;display:grid;place-items:center;font-style:normal;font-weight:700}
.cs-biz b{display:block;font-weight:600;color:var(--cs-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-biz small{display:block;font-size:12.5px;color:var(--muted)}
.cs-biz>span{min-width:0}
.cs-wait{font-size:13px;color:var(--muted)}
.cs-count{font-size:14px;color:var(--cs-warn);font-weight:600;white-space:nowrap;flex:none}

.cs-week{display:flex;flex-direction:column;gap:8px;padding:14px;background:var(--cs-side);box-shadow:1px 0 0 var(--line);overflow:auto}
.cs-row{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:8px;border-radius:10px;background:var(--cs-card);box-shadow:var(--cs-raise);text-align:left}
.cs-row:hover,.cs-row.on{box-shadow:inset 0 0 0 2px var(--blue-hi,#5b7cff)}
.cs-row .cs-tile{grid-row:1/3}
.cs-row-t small{display:block;font-size:12.5px;color:var(--muted)}
.cs-row-t b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:600;font-size:14px;color:var(--cs-ink)}
.cs-row em{grid-column:2;justify-self:start;font-style:normal;font-size:12.5px;font-weight:600;padding:1px 8px;border-radius:99px;margin-top:4px}
.cs-row em.st-review{color:var(--cs-warn);box-shadow:inset 0 0 0 1px currentColor}
.cs-row em.st-approved{color:var(--cs-ok);box-shadow:inset 0 0 0 1px currentColor}

/* The post picture, drawn: a coloured card with the headline, like the real covers. */
.cs-tile{width:44px;height:56px;border-radius:6px;padding:5px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;color:#fff}
.cs-tile small{display:none}
.cs-tile b{font-size:6px;line-height:1.15;font-weight:700;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.cs-tile.big{width:100%;max-width:240px;height:auto;aspect-ratio:4/5;padding:18px;border-radius:12px;gap:8px;justify-content:flex-end}
.cs-tile.big small{display:block;font-size:12px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;opacity:.85}
.cs-tile.big b{font-size:22px;-webkit-line-clamp:5}
.cs-tile.big i{font-style:normal;font-size:12.5px;opacity:.85}
.t-a{background:linear-gradient(160deg,#1f3fbf,#0b1a52)}.t-b{background:linear-gradient(160deg,#0f766e,#05302d)}
.t-c{background:linear-gradient(160deg,#b45309,#4a2205)}.t-d{background:linear-gradient(160deg,#4338ca,#1e1b4b)}.t-e{background:linear-gradient(160deg,#be185d,#4a0b25)}

.cs-main{padding:18px;min-width:0;overflow:auto}
.cs-empty{height:100%;display:grid;place-content:center;gap:6px;text-align:center;color:var(--muted)}
.cs-empty b{color:var(--cs-ink);font-size:18px}
.cs-panel{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:20px;align-items:start}
.cs-when{font-size:13px;color:var(--muted)}
.cs-side h4{margin:4px 0 8px;font-size:19px;line-height:1.25;color:var(--cs-ink)}
.cs-cap{margin:0 0 6px;font-size:15.5px}
.cs-word{padding:0 3px!important;border-radius:4px;background:rgba(255,207,107,.18)!important;text-decoration:underline wavy var(--cs-warn);text-underline-offset:3px;font-weight:600}
.cs-note{margin:0 0 12px;font-size:13.5px;color:var(--cs-warn)}
.cs-note.ok{color:var(--cs-ok)}
.cs-approve{margin-top:10px;padding:12px;border-radius:10px;background:var(--cs-card);box-shadow:var(--cs-raise);display:flex;flex-direction:column;gap:10px}
.cs-approve label{display:flex;gap:8px;align-items:flex-start;font-size:14.5px;cursor:pointer}
.cs-approve input{width:18px;height:18px;margin-top:2px;flex:none}
.cs-btn{align-self:flex-start;padding:9px 18px!important;border-radius:8px;font-weight:700}
.cs-btn.primary{background:var(--blue)!important;color:#fff!important}
.cs-btn[disabled]{opacity:.45;cursor:not-allowed}
.cs-ok{margin-top:10px;padding:10px 12px;border-radius:10px;color:var(--cs-ok);box-shadow:inset 0 0 0 1px currentColor;font-weight:600;font-size:14.5px}
.cs-post{margin-top:10px;display:flex;flex-direction:column;gap:8px}
.cs-places{display:flex;flex-wrap:wrap;gap:6px}
.cs-places span{font-size:13px;padding:3px 10px;border-radius:99px;box-shadow:inset 0 0 0 1px var(--line);color:var(--muted)}

/* The sample sits in columns of different widths (page, full screen, phone), so it follows its own width. */
@container (max-width:720px){
 .cs-in{grid-template-columns:minmax(0,1fr);min-height:0}
 .cs-week{flex-direction:row;overflow-x:auto;box-shadow:0 1px 0 var(--line)}
 .cs-row{min-width:210px}
 .cs-panel{grid-template-columns:1fr}
 .cs-tile.big{max-width:180px}
 .cs-count{font-size:12.5px}
}
