
/* M1f: página Criativos. Paleta e cards do CLAUDE.md; prefixo cr-. Reaproveita .cm-row/.cm-f/.cm-banner, .es-per e .pg-*. */
#crRoot { max-width: none; } .cr-ctl { padding: 0; margin-bottom: 16px; } body.cr-lock { overflow: hidden; }
#crBanner:empty { display: none; } #crBanner .cm-banner a, #crBanner .mx-link, .cr-bmsg a, .cr-bmsg .mx-link { color: #B8F6FD; } #crBanner .mx-link, .cr-bmsg .mx-link { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 16px; }
@media (min-width: 1200px) { .cr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cr-grid > .cr-card:last-child:nth-child(7) { grid-column: span 2; } .cr-grid .cr-val { white-space: nowrap; font-size: clamp(17px, 1.5vw, 26px) !important; } }   /* 11 cards = 6 + 5 (o último ocupa 2), sem buraco */
.cr-card, .cr-blk { background: #1a1a1a; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.35); padding: 20px; position: relative; min-width: 0; } .cr-card { display: flex; flex-direction: column; gap: 8px; min-height: 104px; } .cr-card.soon { opacity: .75; }
.cr-lab { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: #919eab; } .cr-lab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-val { font-size: 22px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; } .cr-note { font-size: 12px; color: #919eab; line-height: 1.5; }
 .cr-i { flex: 0 0 auto; position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #3a3a3a; background: transparent; color: #919eab; font: italic 600 12px serif; cursor: pointer; padding: 0; vertical-align: middle; } .cr-i::after { content: ''; position: absolute; inset: -11px; } .cr-i:hover, .cr-i:focus-visible { color: #B8F6FD; border-color: #B8F6FD; }
.cr-tipbox { position: absolute; z-index: 30; left: 12px; right: 12px; top: 52px; background: #0a0a0a; color: #e5e7eb; font-size: 12.5px; line-height: 1.55; padding: 12px 14px; border-radius: 6px; box-shadow: 0 6px 24px rgba(0,0,0,.6); font-weight: 400; }
.cr-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(184,246,253,.12); color: #B8F6FD; } .cr-badge.part { background: rgba(245,158,11,.14); color: #f5b84a; } .cr-badge.ok { background: rgba(126,224,161,.16); color: #7ee0a1; } .cr-badge.warn { background: rgba(255,122,122,.16); color: #ff7a7a; }
.cr-vb { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; } .cr-vb.v-na { color: #919eab; border: 1px dashed #5a6672; }
.cr-bh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; } .cr-bh h3 { margin: 0; font-size: 15px; font-weight: 600; color: #fff; } .cr-bsub { font-size: 12px; color: #919eab; }
.cr-bmsg { color: #919eab; font-size: 13px; padding: 24px 0; text-align: center; line-height: 1.7; }
.cr-seg { display: inline-flex; background: #0a0a0a; border-radius: 6px; padding: 2px; } .cr-seg button { min-height: 44px; min-width: 76px; border: 0; border-radius: 4px; background: transparent; color: #919eab; font: inherit; font-size: 13px; cursor: pointer; } .cr-seg button.on { background: #B8F6FD; color: #121635; font-weight: 600; }
.cr-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; } .cr-hide-d { display: none; }
.cr-cc { display: flex; flex-direction: column; text-align: left; background: #121212; border: 0; border-radius: 6px; padding: 0; color: inherit; font: inherit; cursor: pointer; overflow: hidden; min-height: 44px; } .cr-cc:hover, .cr-cc:focus-visible { box-shadow: 0 0 0 2px #B8F6FD; outline: none; }
.cr-tw { background: #0a0a0a; height: 190px; display: flex; align-items: center; justify-content: center; overflow: hidden; } .cr-tw.s { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 6px; }
.cr-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; } .cr-ph { color: #5a6672; font-size: 34px; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; } .cr-ph.big { min-height: 160px; }
.cr-cb { padding: 14px; display: flex; flex-direction: column; gap: 10px; } .cr-ct b { color: #fff; font-size: 14px; overflow: hidden; text-overflow: ellipsis; display: block; white-space: nowrap; } .cr-cbadges { display: flex; gap: 6px; flex-wrap: wrap; }
.cr-cg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; } .cr-cg small { display: block; color: #919eab; font-size: 11px; } .cr-cg b { font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.cr-scroll { overflow-x: auto; } .cr-tbl { width: 100%; border-collapse: collapse; font-size: 13px; color: #d1d5db; } .cr-tbl th { text-align: left; font-weight: 600; font-size: 12px; color: #919eab; padding: 8px 10px; white-space: nowrap; border-bottom: 1px solid #262626; } .cr-tbl th.r, .cr-tbl td.r { text-align: right; font-variant-numeric: tabular-nums; } .cr-tbl td { padding: 10px; border-bottom: 1px solid #202020; vertical-align: middle; white-space: nowrap; } .cr-tbl td.cr-nm { white-space: normal; } .cr-tbl td.soon { color: #5a6672; }
.cr-th { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; min-height: 44px; }
.cr-row { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; min-height: 56px; width: 100%; } .cr-rn { display: flex; flex-direction: column; min-width: 0; } .cr-rn b { color: #fff; font-weight: 600; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cr-rn small { color: #919eab; font-size: 11px; } .cr-nm { min-width: 300px; }
.cr-sk { background: linear-gradient(90deg, #232323, #2c2c2c, #232323); background-size: 200% 100%; animation: crShimmer 1.2s linear infinite; border-radius: 6px; } .cr-sk-v { height: 28px; width: 70%; } .cr-sk-n { height: 12px; width: 50%; } .cr-sk-h { height: 16px; width: 40%; margin-bottom: 16px; } .cr-sk-b { height: 180px; }
@keyframes crShimmer { to { background-position: -200% 0; } } @media (prefers-reduced-motion: reduce) { .cr-sk { animation: none; } }
.cr-ov { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.6); display: flex; justify-content: flex-end; } .cr-dr { background: #121212; width: min(560px, 100%); height: 100%; overflow-y: auto; outline: none; box-shadow: -8px 0 30px rgba(0,0,0,.5); }
.cr-drh { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; position: sticky; top: 0; background: #121212; z-index: 2; border-bottom: 1px solid #262626; } .cr-drh h2 { margin: 0; font-size: 16px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cr-x { min-width: 44px; min-height: 44px; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }
.cr-drb { padding: 20px; display: flex; flex-direction: column; gap: 14px; } .cr-drt { background: #0a0a0a; border-radius: 6px; display: flex; justify-content: center; align-items: center; min-height: 160px; overflow: hidden; } .cr-img.big { max-height: 320px; }
.cr-dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 0 20px 4px; } .cr-dm { background: #1a1a1a; border-radius: 6px; padding: 12px; position: relative; display: flex; flex-direction: column; gap: 4px; } .cr-dm small { color: #919eab; font-size: 11px; } .cr-dm b { color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.cr-ds { padding: 16px 20px 0; position: relative; } .cr-ds h3 { margin: 0 0 10px; font-size: 14px; color: #fff; font-weight: 600; } .cr-chartbox { position: relative; height: 170px; margin-bottom: 12px; }
@media (max-width: 800px) { .cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cr-card { padding: 14px; min-height: 96px; } .cr-val { font-size: 18px; } .cr-ctl { padding: 14px; } .cr-blk { padding: 16px; } .cr-scroll { display: none; } .cr-gal { display: grid !important; grid-template-columns: 1fr; } .cr-dr { width: 100%; } .cr-tw { height: 170px; } }
.cr-card.neg .cr-val { color: #ff7a7a; } .cr-card.pos .cr-val { color: #7ee0a1; } .cr-cc.v-go { box-shadow: inset 3px 0 0 #7ee0a1; } .cr-cc.v-keep { box-shadow: inset 3px 0 0 #f5b84a; } .cr-cc.v-stop { box-shadow: inset 3px 0 0 #ff7a7a; } .cr-cc.v-go:hover, .cr-cc.v-keep:hover, .cr-cc.v-stop:hover, .cr-cc.v-go:focus-visible, .cr-cc.v-keep:focus-visible, .cr-cc.v-stop:focus-visible { box-shadow: 0 0 0 2px #B8F6FD; }
.cr-uncard { cursor: default; border: 1px dashed #3a3a3a; background: transparent; min-height: 0; } .cr-uncard:hover { box-shadow: none; } .cr-tr.cr-un td { background: rgba(255,255,255,.02); } .cr-dgrid0 { padding: 0 0 4px; } .cr-cg b.neg, .cr-dm b.neg, .cr-tbl td.neg { color: #ff7a7a; } .cr-un .cr-row { cursor: default; }
