/* Product checks tab (checks.js). Buttons use .row-actions from press.css; badges and .t-filters from app.css. */
#checkscount { color: #8e1f0b; }
:root { --c-shape: 1; }
.c-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.c-views { display: inline-flex; border: 1px solid #c9c9c9; border-radius: 9px; overflow: hidden; background: #fff; }
.c-view { font: inherit; font-size: 13px; font-weight: 550; padding: 7px 16px; border: 0; background: #fff; color: #4a4a4a; cursor: pointer; }
.c-view + .c-view { border-left: 1px solid #c9c9c9; }
.c-view[aria-pressed="true"] { background: #303030; color: #fff; }
.c-feedback { font-size: 12px; max-width: 420px; }
.c-feedback summary { cursor: pointer; color: #005bd3; }
.c-feedback form { display: grid; gap: 6px; margin-top: 6px; }
.c-feedback textarea { font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid #8a8a8a; border-radius: 8px; resize: vertical; }
.c-feedback button, .c-btn { justify-self: start; font: inherit; font-size: 12px; font-weight: 550; padding: 6px 12px; border: 1px solid #c9c9c9; border-radius: 8px; background: #fff; color: #303030; cursor: pointer; }
.c-feedback button { background: #303030; border-color: #303030; color: #fff; }
.c-intro { margin: 0 0 10px; max-width: 980px; font-size: 13px; line-height: 1.5; color: #4a4a4a; }
.c-shape { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; color: #616161; }
.c-sub { display: block; color: #616161; font-size: 12px; }
.c-warn { color: #8e1f0b; font-weight: 550; }
.c-empty { color: #8a8a8a; font-size: 13px; }
.c-draft { color: #8a6116; font-weight: 550; }
.c-launch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 0; padding: 10px 14px; border: 1px solid #f0d78c; border-radius: 10px; background: #fff8e6; font-size: 13px; }
.c-launch .row-actions { white-space: normal; }

/* one check item: status line, buttons, "needs improvement" form */
.c-state { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 2px 0 6px; font-size: 12px; color: #616161; }
.c-where { font-size: 12px; color: #0c5132; }
.c-where.off { color: #8e1f0b; font-weight: 550; }
.c-note, .c-prev { flex-basis: 100%; padding: 6px 8px; border-radius: 6px; background: #fff4d6; color: #5e4200; white-space: pre-line; }
.c-prev { background: #e0f0ff; color: #00527c; }
.c-improve { display: grid; gap: 8px; margin-top: 8px; padding: 10px; border: 1px solid #e3e3e3; border-radius: 8px; background: #fafafa; }
.c-improve[hidden] { display: none; }
.c-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.c-chips button { font: inherit; font-size: 11px; padding: 3px 9px; border: 1px solid #c9c9c9; border-radius: 999px; background: #fff; color: #303030; cursor: pointer; }
.c-chips button.on { background: #303030; border-color: #303030; color: #fff; }
.c-improve textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid #8a8a8a; border-radius: 8px; resize: vertical; }
.c-hide { display: flex; align-items: center; gap: 6px; font-size: 12px; }

/* players */
.c-frame { position: relative; overflow: hidden; border-radius: 8px; background: #f3f5f4; }
.c-loopframe { aspect-ratio: var(--c-shape); cursor: pointer; }
.c-loopframe video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-loopframe.is-off video { opacity: .55; }
.c-loopframe.is-paused::after { content: "Paused – click to play"; position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(31, 36, 38, .8); color: #fff; font-size: 11px; }
.c-missing { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #8e1f0b; font-size: 12px; }
.c-filmframe { aspect-ratio: 16 / 9; background: #111; }
.c-filmframe iframe, .c-filmframe video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.c-play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: #111; cursor: pointer; }
.c-play img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.c-playicon { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.c-playicon::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #1f2426; }
.c-play:hover img { opacity: 1; }
.c-label { display: flex; align-items: center; gap: 8px; margin: 8px 0 4px; font-size: 12px; color: #616161; }
.c-label strong { color: #303030; font-size: 13px; }
.c-label img { margin-left: auto; width: 38px; height: 38px; flex: none; object-fit: contain; border: 1px solid #e3e3e3; border-radius: 6px; background: #fff; }
.c-label a { color: #005bd3; text-decoration: none; }
.c-head a, .cn-head a, .cn-cands a, .cn-actions a { color: #005bd3; text-decoration: none; }
.c-title { font-size: 13px; font-weight: 650; color: #303030 !important; }

/* Videos view */
.cv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-top: 12px; align-items: start; }
.cv-card { border: 1px solid #e3e3e3; border-radius: 12px; background: #fff; overflow: hidden; }
.cv-card .c-head { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; }
.cv-item { padding: 12px 14px 14px; }
.cv-item + .cv-item { border-top: 1px solid #f0f0f0; }
.cv-item .row-actions, .cn-side .row-actions { white-space: normal; }

/* New products view */
.cn-cands { margin: 0 0 12px; padding: 12px 14px; border: 1px solid #b8ccf5; border-radius: 10px; background: #f0f5ff; }
.cn-cands h3 { margin: 0 0 2px; font-size: 13px; }
.cn-cands ul { list-style: none; margin: 8px 0 0; padding: 0; }
.cn-cands li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 7px 0; border-top: 1px solid #dbe5fb; font-size: 13px; }
#cn-list { display: grid; gap: 12px; margin-top: 10px; }
.cn-card { border: 1px solid #e3e3e3; border-radius: 12px; background: #fff; padding: 12px 16px; }
.cn-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cn-head .c-warn { display: block; margin-top: 3px; font-size: 12px; }
.cn-pills { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0; }
.cn-pill { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #e3e3e3; color: #4a4a4a; }
.cn-pill.s-ready, .cn-pill.s-new { background: #ffeb78; color: #4f4700; }
.cn-pill.s-approved { background: #cdfee1; color: #0c5132; }
.cn-pill.s-improve { background: #fedad9; color: #8e1f0b; }
.cn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; }
.cn-actions button { font: inherit; font-size: 12px; font-weight: 550; padding: 6px 12px; border: 1px solid #c9c9c9; border-radius: 8px; background: #fff; color: #303030; cursor: pointer; }
.cn-actions button.primary { background: #303030; border-color: #303030; color: #fff; }
.cn-body { margin-top: 12px; border-top: 1px solid #f0f0f0; }
.cn-sec { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.cn-sec h3 { margin: 0 0 6px; font-size: 14px; }
.cn-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 8px; }
.cn-photos figure { margin: 0; }
.cn-photos img { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid #eee; border-radius: 6px; background: #fff; }
.cn-photos figcaption { margin-top: 3px; font-size: 11px; color: #616161; line-height: 1.35; }
.cn-story { padding: 10px 12px; border-radius: 8px; background: #f7f7f7; font-size: 13px; }
.cn-story p { margin: 0 0 6px; }
.cn-story ul { margin: 0; padding-left: 18px; }
.cn-subtitle { font-weight: 650; }
.cn-desc { width: 100%; height: 420px; margin-top: 6px; border: 1px solid #e3e3e3; border-radius: 8px; background: #fff; }
.cn-specs { border-collapse: collapse; font-size: 12px; margin-top: 6px; }
.cn-specs th, .cn-specs td { padding: 4px 10px 4px 0; border-bottom: 1px solid #f0f0f0; text-align: left; vertical-align: top; }
.cn-specs th { color: #616161; font-weight: 550; white-space: nowrap; }
.cn-serp { display: grid; gap: 2px; max-width: 600px; padding: 12px 14px; border: 1px solid #e3e3e3; border-radius: 8px; font-family: Arial, sans-serif; }
.cn-serp-url { font-size: 12px; color: #4d5156; }
.cn-serp-title { font-size: 18px; color: #1a0dab; }
.cn-serp-desc { font-size: 13px; color: #4d5156; line-height: 1.5; }
.cn-loop { max-width: 360px; }
.cn-film { max-width: 480px; }
.cn-nomedia { padding: 12px 0; }
@media (max-width: 900px) { .cn-sec { grid-template-columns: 1fr; } .c-shape { margin-left: 0; } }
