:root {
  --cream: #fff3dd;
  --paper: #fffaf1;
  --cocoa: #281813;
  --muted: #7d655b;
  --coral: #ef5b32;
  --orange: #ff8a24;
  --gold: #ffc34c;
  --line: #e8d6c3;
  --green: #16835d;
  --red: #bd3f31;
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--cocoa); background: var(--paper); min-width: 320px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg,var(--coral),var(--orange),var(--gold)); z-index: 5; }
.masthead { max-width: 1800px; margin: auto; padding: 34px 28px 24px; display: flex; align-items: end; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 20px; }
.brand img { border-radius: 23%; box-shadow: 0 12px 28px #8a3e2024; }
h1,h2,h3,p { margin: 0; }
h1 { font: 800 clamp(2.2rem,5vw,4.7rem)/.88 Georgia,serif; letter-spacing: -.055em; }
.brand p:last-child { color: var(--muted); margin-top: 9px; }
.eyebrow { color: var(--coral); text-transform: uppercase; font-size: .69rem; letter-spacing: .18em; font-weight: 900; margin-bottom: 9px; }
.run { text-align: right; }
.run span { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.run strong { font-size: .98rem; }
main { max-width: 1800px; margin: auto; padding: 26px 28px 50px; }
.pulse { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--cream); }
.pulse div { padding: 22px 26px; border-right: 1px solid var(--line); }
.pulse div:last-child { border: 0; }
.pulse b { display: block; font: 800 2.15rem/1 Georgia,serif; color: var(--coral); }
.pulse span { color: var(--muted); font-size: .78rem; }
.section-head { margin: 44px 0 16px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-head h2 { font: 700 clamp(1.7rem,3vw,2.7rem)/1 Georgia,serif; letter-spacing: -.035em; }
.search { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.board-controls { display: flex; align-items: end; gap: 10px; }
.search input { display: block; width: min(260px,56vw); margin-top: 7px; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 11px 13px; color: var(--cocoa); font: inherit; text-transform: none; letter-spacing: 0; }
.discover { min-height: 55px; border: 0; border-radius: 14px; padding: 10px 16px; background: var(--coral); color: white; box-shadow: 0 10px 22px #ef5b3228; cursor: pointer; text-align: left; }
.discover strong,.discover span { display: block; }
.discover strong { font-size: .84rem; }
.discover span { margin-top: 3px; font-size: .66rem; opacity: .82; }
.discover:disabled { opacity: .58; cursor: wait; }
.operation-status { margin-bottom: 12px; padding: 12px 15px; border: 1px solid color-mix(in srgb,var(--orange) 35%,var(--line)); border-radius: 12px; background: color-mix(in srgb,var(--orange) 8%,white); color: var(--cocoa); font-size: .8rem; }
.operation-status.success { border-color: color-mix(in srgb,var(--green) 40%,var(--line)); background: color-mix(in srgb,var(--green) 8%,white); }
.operation-status.error { border-color: color-mix(in srgb,var(--red) 40%,var(--line)); background: color-mix(in srgb,var(--red) 8%,white); }
.section-note { color: var(--muted); margin-top: 7px; font-size: .9rem; }
.board { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; padding: 4px 0 18px; }
.lane { min-width: 0; padding: 13px 9px 10px; border-top: 3px solid var(--lane); background: color-mix(in srgb,var(--lane) 7%,white); border-radius: 4px 4px 16px 16px; }
.lane-head { display: flex; align-items: start; justify-content: space-between; gap: 7px; min-height: 82px; padding: 0 3px 11px; }
.lane-head h3 { font-size: clamp(.72rem,.9vw,.88rem); line-height: 1.15; }
.lane-head p { color: var(--muted); font-size: clamp(.59rem,.67vw,.68rem); line-height: 1.3; margin-top: 6px; }
.lane-head b { color: var(--lane); font-size: .8rem; }
.cards { display: grid; gap: 10px; }
.card { width: 100%; border: 1px solid var(--line); border-radius: 15px; background: white; color: inherit; box-shadow: 0 5px 18px #4022170a; transition: transform .18s ease,box-shadow .18s ease; overflow: hidden; }
.card:hover { transform: translateY(-2px); box-shadow: 0 11px 24px #40221716; }
.card-main { width: 100%; border: 0; background: transparent; padding: 13px 11px; color: inherit; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.card strong { display: block; font: 700 clamp(.78rem,.95vw,1rem)/1.18 Georgia,serif; }
.card small { display: block; color: var(--muted); margin-top: 6px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 5px; border-top: 1px solid var(--line); padding: 8px; }
.mini { flex: 1 1 auto; min-height: 38px; border: 0; border-radius: 9px; padding: 9px 10px; background: var(--cocoa); color: white; text-align: center; text-decoration: none; font-size: .7rem; font-weight: 750; line-height: 1.15; cursor: pointer; }
.mini.whatsapp,.mini.approve { background: var(--green); }
.mini.reject { background: var(--red); }
.mini.secondary { background: #6f625d; }
.mini:disabled { opacity: .55; cursor: wait; }
.metrics { display: flex; gap: 8px; margin-top: 13px; font-size: .72rem; color: var(--muted); }
.score { color: var(--coral); font-weight: 800; }
.empty { color: var(--muted); font-size: .78rem; padding: 10px 5px; }
.paid-zone { display: grid; grid-template-columns: minmax(220px,.28fr) 1fr; gap: 24px; margin-top: 30px; padding: 26px; border: 1px solid color-mix(in srgb,var(--green) 30%,var(--line)); border-radius: 22px; background: color-mix(in srgb,var(--green) 7%,white); }
.paid-title h2 { font: 800 clamp(1.7rem,3vw,2.6rem)/1 Georgia,serif; letter-spacing: -.035em; }
.paid-clients { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 12px; }
footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: .8rem; }
footer a { color: var(--coral); }
dialog { width: min(920px,calc(100vw - 30px)); max-height: calc(100vh - 30px); border: 0; border-radius: 24px; padding: 0; color: var(--cocoa); box-shadow: 0 30px 90px #2d160d55; }
dialog::backdrop { background: #291611aa; backdrop-filter: blur(4px); }
.close { position: sticky; z-index: 2; float: right; top: 14px; margin: 14px 14px 0 0; border: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--cocoa); color: white; font-size: 1.4rem; cursor: pointer; }
.detail-hero { padding: 34px 34px 25px; background: var(--cream); }
.detail-hero h2 { font: 800 clamp(2rem,6vw,4rem)/.95 Georgia,serif; max-width: 720px; letter-spacing: -.05em; }
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; padding: 28px 34px 36px; }
.facts { display: grid; gap: 9px; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; word-break: break-word; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li { display: flex; justify-content: space-between; padding: 10px 12px; background: var(--paper); border-radius: 10px; }
.ok { color: var(--green); } .falhou { color: var(--red); } .pendente { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.actions a,.actions button { border: 0; border-radius: 10px; padding: 11px 14px; background: var(--coral); color: white; text-decoration: none; cursor: pointer; font-weight: 800; }
.actions .secondary { background: var(--cocoa); }
.message { margin-top: 18px; padding: 16px; border-left: 3px solid var(--coral); background: var(--paper); border-radius: 0 12px 12px 0; }
.message p:last-child { margin-top: 8px; line-height: 1.5; }
.errors-title { margin-top: 24px; }
.preview { width: 100%; aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: 14px; margin-top: 20px; object-fit: cover; background: var(--cream); }
@media (max-width:1180px) { .board { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width:900px) { .pulse { grid-template-columns: repeat(2,1fr); } .pulse div:nth-child(2) { border-right: 0; } .pulse div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .detail-grid { grid-template-columns: 1fr; } .paid-zone { grid-template-columns: 1fr; } .section-head { align-items: stretch; flex-direction: column; } .board-controls { justify-content: space-between; } }
@media (max-width:680px) { .masthead,main { padding-left: 18px; padding-right: 18px; } .masthead { align-items: start; } .brand img { width: 64px; height: 64px; } .run { display: none; } .board { grid-template-columns: repeat(2,minmax(0,1fr)); } .board-controls { align-items: stretch; flex-direction: column; } .search input { width: 100%; } .discover { text-align: center; } .pulse div { padding: 18px; } .detail-hero,.detail-grid { padding-left: 20px; padding-right: 20px; } .facts div { grid-template-columns: 100px 1fr; } }
@media (max-width:460px) { .board { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion:reduce) { * { scroll-behavior: auto!important; transition: none!important; } }
