@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: block; src: url('fonts/playfair-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: block; src: url('fonts/playfair-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 900; font-display: block; src: url('fonts/playfair-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 900; font-display: block; src: url('fonts/playfair-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Caroba Esteira — painel (página com [caroba_painel]) */
html:has(body.cb-page), body.cb-page { margin: 0; background: #f2f1e5; scrollbar-width: none; -ms-overflow-style: none; }
html:has(body.cb-page)::-webkit-scrollbar, body.cb-page::-webkit-scrollbar { display: none; }
.cb-root, .cb-root * { scrollbar-width: none; -ms-overflow-style: none; }
.cb-root ::-webkit-scrollbar, .cb-root::-webkit-scrollbar { display: none; width: 0; height: 0; }
body.caroba-screen { background: #f2f1e5; }
html.wp-toolbar:has(body.caroba-screen) { padding-top: 0 !important; }
body.caroba-screen #wpadminbar, body.caroba-screen #adminmenumain, body.caroba-screen #adminmenuback, body.caroba-screen #adminmenuwrap, body.caroba-screen #screen-meta, body.caroba-screen #screen-meta-links { display: none !important; }
body.caroba-screen #wpcontent, body.caroba-screen #wpfooter { margin-left: 0 !important; padding-left: 0 !important; }
body.caroba-screen #wpbody { padding-top: 0 !important; }
body.caroba-screen #wpbody-content > :not(#caroba-app) { display: none !important; }
body.caroba-screen #wpbody-content { padding-bottom: 0; }
body.caroba-screen #wpfooter { display: none; }

.cb-root { --w: #5e3141; --w2: #4b2735; --w3: #3f1f2b; --c: #f2f1e5; --paper: #fffdf8; --lane: #e8e6d4; --rose: #efe2e5; --rose2: #e2c9cf; --ink: #2b1c22; --muted: #7a6a6f; --line: #eee9dc;
  font-family: 'Onest', system-ui, sans-serif; color: var(--ink); color-scheme: light; font-size: 14px; line-height: 1.45; }
.cb-root *, .cb-root *::before, .cb-root *::after { box-sizing: border-box; }
.cb-root h1, .cb-root h2, .cb-root h3, .cb-root h4 { font-family: 'Sora', sans-serif; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.cb-root button { font-family: inherit; cursor: pointer; }
.cb-root a { color: var(--w); }
.cb-root a:hover { color: var(--w3); }
.cb-root :focus-visible { outline: 2px solid var(--w); outline-offset: 2px; box-shadow: none; }
.cb-root ::selection { background: var(--rose2); }
.cb-loading { padding: 60px; text-align: center; color: var(--muted); }
.cb-muted { color: var(--muted); font-size: 13px; }
.cb-wine { color: var(--w); font-family: 'Sora', sans-serif; }
.cb-wine small { font-size: 11px; color: var(--muted); font-weight: 500; }
.cb-row6, .cb-row8, .cb-row10, .cb-row12 { display: flex; align-items: center; }
.cb-row6 { gap: 6px; } .cb-row8 { gap: 8px; } .cb-row10 { gap: 10px; } .cb-row12 { gap: 12px; }
.wrap { flex-wrap: wrap; } .end { justify-content: flex-end; } .between { justify-content: space-between; } .cb-grow, .grow { flex: 1; min-width: 0; }
.cb-right { display: flex; justify-content: flex-end; }
.cb-note { margin: 4px 0 0; max-width: 680px; }

/* shell */
.cb-shell { display: flex; min-height: 100vh; }
.cb-side { width: 236px; flex-shrink: 0; padding: 16px 0 16px 16px; position: sticky; top: 0; height: 100vh; align-self: flex-start; }
.cb-side-in { height: 100%; background: var(--w); color: var(--c); border-radius: 28px; padding: 28px 14px 16px; display: flex; flex-direction: column; gap: 32px; }
.cb-logo { width: 136px; height: auto; margin-left: 8px; }
.cb-side nav { display: flex; flex-direction: column; gap: 4px; }
.cb-nav { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--c); font-size: 15px; font-weight: 500; text-align: left; transition: background .2s; }
.cb-nav:hover { background: rgba(242,241,229,.14); }
.cb-nav i { width: 8px; height: 8px; border-radius: 50%; background: rgba(242,241,229,.35); }
.cb-nav span { flex: 1; }
.cb-nav em { font-style: normal; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(242,241,229,.16); }
.cb-nav.on { background: var(--c); color: var(--w); }
.cb-nav.on i { background: var(--w); }
.cb-nav.on em { background: var(--rose); }
.cb-me { margin-top: auto; background: var(--w3); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.cb-me small { color: #d9c3c9; font-size: 12px; }
.cb-me b { font-size: 13px; color: var(--c); }
.cb-exits { display: flex; gap: 14px; flex-wrap: wrap; }
.cb-exit { display: flex; align-items: center; gap: 8px; color: #d9c3c9 !important; font-size: 12px; text-decoration: none; padding: 2px 0 0; }
.cb-exit:hover { color: var(--c) !important; }
.cb-main { flex: 1; min-width: 0; padding: 30px 34px 80px; display: flex; flex-direction: column; gap: 24px; }
.cb-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cb-sub { font-size: 15px; color: var(--muted); }
.cb-sub::first-letter { text-transform: uppercase; }
.cb-header h1 { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }
.cb-search { display: flex; align-items: center; gap: 8px; background: var(--paper); border-radius: 999px; padding: 0 16px; height: 46px; width: 260px; color: var(--muted); box-shadow: 0 1px 2px rgba(63,31,43,.06); }
.cb-search input { border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none; font-size: 14px; flex: 1; min-width: 0; color: var(--ink); padding: 0 !important; min-height: 0; }

/* buttons & chips */
.cb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--w); color: var(--c) !important; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s; }
.cb-btn:hover { background: var(--w3); }
.cb-btn.ghost { background: transparent; color: var(--w) !important; box-shadow: inset 0 0 0 1.5px var(--w); }
.cb-btn.ghost:hover { background: var(--w); color: var(--c) !important; }
.cb-btn.soft { background: var(--lane); color: var(--ink) !important; }
.cb-btn.soft:hover { background: #ddd9c4; }
.cb-btn.light { background: var(--c); color: var(--w) !important; }
.cb-btn.light:hover { background: #fff; }
.cb-btn.danger { background: transparent; color: #a8392d !important; box-shadow: inset 0 0 0 1.5px #e6c2bb; }
.cb-btn.danger:hover { background: #f8e1dc; }
.cb-btn.tiny { height: 36px; padding: 0 14px; font-size: 13px; }
.cb-btn-new { padding: 0 20px 0 10px; }
.cb-btn-new span { width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: var(--w); display: grid; place-items: center; }
.cb-round { width: 32px; height: 32px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--w); color: var(--c); display: grid; place-items: center; transition: background .2s, transform .2s; }
.cb-round:hover { background: var(--w3); transform: translateX(2px); }
.cb-iconbtn { width: 38px; height: 38px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; font-size: 15px; }
.cb-iconbtn:hover { background: var(--rose); }
.cb-iconbtn.sm { width: 28px; height: 28px; background: transparent; }
.cb-iconbtn.dark { background: var(--w3); color: var(--c); width: 34px; height: 34px; }
.cb-chip { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--c); white-space: nowrap; border: 0; }
.cb-chip.btn { cursor: pointer; }
.cb-chip-wine { background: var(--w); color: var(--c); }
.cb-chip-line { background: transparent; box-shadow: inset 0 0 0 1px #d6cfc0; color: var(--muted); }
.cb-chip-soft { background: var(--c); color: #4b3a40; }
.cb-chip-late { background: #f8e1dc; color: #a8392d; }
.cb-chip-soon { background: #f3e3cc; color: #74461d; }
.cb-chip-ok { background: #e2e8d9; color: #3f4d33; }
.cb-avs { display: flex; }
.cb-av { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--paper); background: var(--rose2); color: var(--w); display: grid; place-items: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.cb-av + .cb-av { margin-left: -8px; }
.cb-av.me { background: var(--w); color: var(--c); }
.cb-av.inv { background: var(--c); color: var(--w); border-color: transparent; }
.cb-av.sm { width: 24px; height: 24px; font-size: 9px; }
.cb-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* summary */
.cb-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.cb-week { grid-column: span 2; min-width: 0; background: var(--w); color: var(--c); border-radius: 26px; padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.cb-week h3 { color: var(--c); font-size: 20px; font-weight: 600; }
.cb-week small { color: #d9c3c9; font-size: 13px; }
.cb-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cb-day { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: transparent; padding: 0; color: inherit; font-family: inherit; }
.cb-day span { width: 100%; max-width: 40px; aspect-ratio: 1; border-radius: 50%; background: var(--w2); color: var(--w); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.cb-day small { font-size: 11px; font-weight: 600; color: #c7a9b1; letter-spacing: .04em; }
.cb-day.past span { background: rgba(242,241,229,.12); }
.cb-day.has span { background: var(--c); }
.cb-day.today span { border: 2px dashed var(--c); color: var(--c); }
.cb-day.today.has span { color: var(--w); }
.cb-day.today small { color: var(--c); }
.cb-stat { text-align: left; border: 0; background: var(--paper); color: var(--ink); border-radius: 26px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; transition: transform .2s; }
.cb-stat:hover { transform: translateY(-2px); }
.cb-stat.rose { background: var(--rose); } .cb-stat.sand { background: var(--lane); }
.cb-stat-ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,253,248,.7); display: grid; place-items: center; font-size: 17px; color: var(--w); font-weight: 700; }
.cb-stat.rose .cb-stat-ic, .cb-stat.sand .cb-stat-ic { background: rgba(255,253,248,.7); }
.cb-stat:not(.rose):not(.sand) .cb-stat-ic { background: var(--c); }
.cb-stat strong { display: block; font-family: 'Sora', sans-serif; font-size: 32px; line-height: 1; }
.cb-stat small { display: block; font-size: 14px; font-weight: 500; margin-top: 6px; color: #4b3a40; }

/* toolbar */
.cb-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.cb-pill { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 1px 2px rgba(63,31,43,.06); }
.cb-pill span { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--c); }
.cb-pill.on { background: var(--ink); color: var(--c); }
.cb-pill.on span { background: var(--w2); }
.cb-seg { display: flex; gap: 4px; background: var(--lane); border-radius: 999px; padding: 4px; }
.cb-seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 600; }
.cb-seg button.on { background: var(--paper); }

/* board */
.cb-board-scroll { padding-bottom: 4px; }
.cb-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
@media (max-width: 1200px) { .cb-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cb-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cb-board { grid-template-columns: 1fr; } }
.cb-lane { background: var(--lane); border-radius: 26px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; min-width: 0; }
.cb-lane header { display: flex; align-items: center; gap: 8px; padding: 6px 6px 4px; }
.cb-lane header b { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; flex: 1; }
.cb-count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cb-empty { border: 1.5px dashed #cfc8b6; border-radius: 20px; padding: 22px 12px; text-align: center; font-size: 13px; color: #8f8378; }
.cb-card { background: var(--paper); border-radius: 20px; padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(63,31,43,.06); transition: box-shadow .2s, transform .2s; }
.cb-card:hover { box-shadow: 0 10px 24px rgba(63,31,43,.12); transform: translateY(-2px); }
.cb-card h4 { font-size: 15px; font-weight: 600; line-height: 1.3; text-wrap: pretty; }
.cb-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.cb-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cb-split { display: flex; flex-direction: column; gap: 6px; background: #f6efe9; border-radius: 14px; padding: 9px 10px; }
.cb-split-row { display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 8px; font-size: 12px; }
.cb-split-row b.muted { color: var(--muted); }
.cb-split-row em { font-style: normal; text-align: right; color: var(--muted); }
.cb-bar { display: block; height: 6px; border-radius: 9px; background: #ead9dd; overflow: hidden; }
.cb-bar i { display: block; height: 100%; background: var(--w); border-radius: 9px; transition: width .4s; }
.cb-bar.alt i { background: #b58f9a; }
.cb-bar.big { height: 10px; background: var(--c); }
.cb-bar.low i { background: #c9a3ad; }
.cb-arrive { animation: cbIn .55s cubic-bezier(.2,.8,.2,1); }
@keyframes cbIn { from { transform: translateY(-14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }

/* list */
.cb-list { display: flex; flex-direction: column; gap: 8px; }
.cb-li { background: var(--paper); border-radius: 20px; padding: 12px 14px 12px 18px; display: grid; grid-template-columns: minmax(0,2.2fr) minmax(0,1.2fr) minmax(0,1.3fr) auto auto; gap: 14px; align-items: center; cursor: pointer; }
.cb-li:hover { box-shadow: 0 8px 20px rgba(63,31,43,.1); }
.cb-li h4 { font-size: 15px; font-weight: 600; }

/* clients */
.cb-clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.cb-client { background: var(--paper); border-radius: 26px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.cb-client h4 { font-size: 16px; font-weight: 600; }
.cb-bigav { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.cb-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--c); border-radius: 16px; padding: 10px 12px; }
.cb-code small { display: block; font-size: 11px; color: var(--muted); }
.cb-code b { font-family: ui-monospace, monospace; font-size: 14px; letter-spacing: .06em; }
.cb-panel { background: var(--paper); border-radius: 26px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.cb-panel h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.cb-panel-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cb-center { align-items: center; text-align: center; padding: 48px; gap: 12px; }
.cb-scroll-x { overflow-x: auto; }

/* finance */
.cb-fin-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cb-fin-hero { background: var(--w); color: var(--c); border-radius: 26px; padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.cb-fin-hero small { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #d9c3c9; margin-bottom: 10px; }
.cb-fin-hero span { font-size: 15px; }
.cb-fin-hero strong { font-family: 'Sora', sans-serif; font-size: clamp(28px, 3.2vw, 44px); font-weight: 700; line-height: 1.05; white-space: nowrap; }
.cb-fin-box { border-radius: 26px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.cb-fin-box.rose { background: var(--rose); } .cb-fin-box.sand { background: var(--lane); }
.cb-fin-box span { font-size: 14px; color: #4b3a40; }
.cb-fin-box strong { font-family: 'Sora', sans-serif; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; white-space: nowrap; }
.cb-fin-row { display: grid; grid-template-columns: minmax(150px,1.3fr) minmax(100px,2fr) 100px minmax(170px,1.3fr); gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.cb-fin-row strong { font-size: 17px; text-align: right; }
.cb-dem-table { min-width: 760px; }
.cb-dem-row { display: grid; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); align-items: center; cursor: pointer; }
.cb-dem-row:hover { background: #faf6ee; }
.cb-dem-row.head { border-top: 0; font-size: 12px; color: var(--muted); font-weight: 600; cursor: default; padding: 4px 0 8px; }
.cb-dem-row.head:hover { background: none; }

/* drawer */
.cb-overlay { position: fixed; inset: 0; z-index: 99990; background: rgba(43,28,34,.35); backdrop-filter: blur(2px); }
.cb-drawer { position: fixed; z-index: 99991; top: 12px; right: 12px; bottom: 12px; width: min(540px, calc(100% - 24px)); border-radius: 30px; overflow-y: auto; background: var(--c); padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 60px rgba(43,28,34,.3); animation: cbDrawer .3s cubic-bezier(.2,.8,.2,1); }
@keyframes cbDrawer { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.cb-drawer h2 { font-size: 25px; font-weight: 700; line-height: 1.2; margin-top: 2px; }
.cb-drawer-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cb-pad4 { padding: 4px 4px 6px; }
.cb-box { background: var(--paper); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.cb-box > b, .cb-box-h b { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; }
.cb-box-h { display: flex; justify-content: space-between; align-items: baseline; }
.cb-stage { border: 0; border-radius: 999px; padding: 8px 12px; background: var(--c); color: var(--muted); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.cb-stage small { font-size: 11px; font-weight: 500; opacity: .75; }
.cb-stage.done { background: var(--rose); color: var(--w); }
.cb-stage.on { background: var(--w); color: var(--c); }
.cb-stage:hover:not(.on) { background: var(--rose2); color: var(--w); }
.cb-group { background: var(--paper); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.cb-group.mine { background: var(--w); color: var(--c); }
.cb-group-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.cb-group-h b { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; }
.cb-group.mine .cb-group-h b { color: var(--c); }
.cb-group.mine .cb-chip { background: var(--w2); color: var(--c); }
.cb-task { display: flex; align-items: center; gap: 12px; border: 0; background: transparent; padding: 4px 0; text-align: left; font-size: 14px; color: inherit; }
.cb-task[disabled] { cursor: default; }
.cb-check { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid #c9b9be; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.cb-group.mine .cb-check { border-color: rgba(242,241,229,.6); }
.cb-task.ok .cb-check { border: 0; background: var(--w); color: var(--c); }
.cb-group.mine .cb-task.ok .cb-check { background: var(--c); color: var(--w); }
.cb-task.ok span:last-child { text-decoration: line-through; opacity: .65; }
.cb-minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.cb-mini { background: var(--c); border-radius: 18px; padding: 12px; }
.cb-mini.rose { background: var(--rose); } .cb-mini.sand { background: var(--lane); }
.cb-mini strong { display: block; font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; }
.cb-mini small { font-size: 12px; color: var(--muted); }
.cb-tbar { display: grid; grid-template-columns: 118px 1fr 40px; gap: 8px; align-items: center; font-size: 12px; }
.cb-tbar .cb-bar { height: 8px; background: var(--c); }
.cb-tbar b { text-align: right; }
.cb-hrow { display: grid; grid-template-columns: 28px 1fr auto 28px; gap: 10px; align-items: center; font-size: 13px; padding: 7px 0; border-top: 1px solid var(--line); }
.cb-hrow .cb-av { border: 0; }
.cb-hrow em { font-style: normal; }
.cb-inline { display: flex; gap: 6px; flex-wrap: wrap; }
.cb-inline .grow2 { flex: 1.4; min-width: 140px; }
.cb-inline .w70 { width: 76px; flex: none; }
.cb-root input.cb-in, .cb-root select.cb-in, .cb-root textarea.cb-in { height: 42px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--c); font-size: 14px; color: var(--ink); box-shadow: none; min-width: 0; width: 100%; max-width: none; line-height: normal; }
.cb-inline .cb-in.grow { width: auto; }
.cb-root textarea.cb-in { font-family: inherit; height: auto; padding: 12px 14px; border-radius: 18px; resize: vertical; line-height: 1.45; }
.cb-root .cb-in:focus { outline: 2px solid var(--w); outline-offset: 1px; box-shadow: none; }
.cb-root .cb-in.rose { background: var(--rose); } .cb-root .cb-in.sand { background: var(--lane); }
.cb-link { display: flex; justify-content: space-between; align-items: center; background: var(--c); border-radius: 16px; padding: 6px 6px 6px 14px; font-size: 14px; font-weight: 600; }
.cb-link a { text-decoration: none; word-break: break-all; }
.cb-wa { background: var(--w); color: var(--c); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cb-wa b { display: block; font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 600; }
.cb-wa small { font-size: 13px; color: #d9c3c9; }
.cb-root .cb-wa textarea { width: 100%; padding: 12px 14px; border: 0; border-radius: 18px; background: var(--w3); color: var(--c); font-size: 14px; line-height: 1.45; resize: vertical; font-family: inherit; }
.cb-hist { display: grid; grid-template-columns: 46px 1fr; gap: 10px; font-size: 13px; }

/* modal */
.cb-modal-bg { position: fixed; inset: 0; z-index: 99995; background: rgba(43,28,34,.4); backdrop-filter: blur(2px); display: grid; place-items: center; padding: 20px; }
.cb-modal { background: var(--c); border-radius: 30px; width: min(580px, 100%); max-height: calc(100vh - 80px); overflow-y: auto; padding: 28px; box-shadow: 0 20px 60px rgba(43,28,34,.3); }
.cb-modal form, .cb-modal { display: flex; flex-direction: column; gap: 14px; }
.cb-modal h2 { font-size: 23px; font-weight: 700; }
.cb-modal p { margin: 0; }
.cb-modal label, .cb-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #4b3a40; }
.cb-modal .cb-in { background: var(--paper); height: 46px; }
.cb-modal textarea.cb-in { height: auto; }
.cb-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cb-grid3 { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; }
.cb-radio { flex-direction: row !important; }
.cb-radio input { position: absolute; opacity: 0; pointer-events: none; }
.cb-radio span { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; display: flex; align-items: center; cursor: pointer; }
.cb-radio input:checked + span { background: var(--w); color: var(--c); }
.cb-radio input:focus-visible + span { outline: 2px solid var(--w); outline-offset: 2px; }
.cb-check-l { flex-direction: row !important; align-items: center; gap: 6px !important; white-space: nowrap; }
.cb-bigcode { font-family: ui-monospace, monospace; font-size: 34px; font-weight: 700; letter-spacing: .12em; text-align: center; background: var(--paper); border-radius: 22px; padding: 22px; color: var(--w); }
.cb-pays { display: flex; flex-direction: column; }
.cb-pay { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #e2dccb; }
.cb-pay small { display: block; }
.cb-pay-form { background: var(--paper); border-radius: 22px; padding: 14px; gap: 10px !important; }
.cb-pay-form .cb-in { background: var(--c) !important; }

/* toast */
.cb-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 99999; background: var(--ink); color: var(--c); border-radius: 999px; padding: 8px 8px 8px 22px; display: flex; align-items: center; gap: 12px; font-size: 14px; box-shadow: 0 14px 36px rgba(43,28,34,.35); max-width: calc(100% - 40px); }

@media (max-width: 960px) {
  .cb-side { width: 84px; }
  .cb-logo, .cb-nav span, .cb-nav em, .cb-me b, .cb-me small, .cb-exit span, .cb-tool span { display: none; }
  .cb-tool { justify-content: center; }
  .cb-nav { justify-content: center; padding: 14px; }
  .cb-main { padding: 24px 18px 80px; }
  .cb-li { grid-template-columns: 1fr auto; }
  .cb-li > :nth-child(2), .cb-li > :nth-child(3) { display: none; }
  .cb-fin-row { grid-template-columns: 1fr 100px; }
  .cb-fin-row > :nth-child(2), .cb-fin-row > :nth-child(4) { display: none; }
}
@media (max-width: 782px) {
  .cb-side { display: none; }
  .cb-shell { min-height: 0; }
  .cb-week { grid-column: auto; }
  .cb-grid2 { grid-template-columns: 1fr; }
}

/* login / sem acesso */
.cb-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.cb-gate-card { background: var(--paper); border-radius: 30px; padding: 36px 32px; width: min(420px, 100%); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 60px rgba(43,28,34,.08); }
.cb-gate-logo { width: 150px; height: auto; margin-bottom: 8px; }
.cb-gate h1 { font-size: 26px; font-weight: 700; }
.cb-gate p { margin: 0; }
.cb-gate form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.cb-gate form p { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: #4b3a40; }
.cb-gate input[type=text], .cb-gate input[type=password], .cb-gate input[type=email] { height: 48px; border: 0; border-radius: 999px; background: var(--c); padding: 0 18px; font-size: 15px; font-family: inherit; color: var(--ink); width: 100%; }
.cb-gate input:focus { outline: 2px solid var(--w); outline-offset: 1px; }
.cb-gate .login-remember label { flex-direction: row; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.cb-gate .login-submit input { height: 48px; width: 100%; border: 0; border-radius: 999px; background: var(--w); color: var(--c); font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; }
.cb-gate .login-submit input:hover { background: var(--w3); }
.cb-gate-link { font-size: 13px; text-align: center; }
.cb-gate .cb-btn { align-self: flex-start; }

/* cronômetro */
.cb-timer { height: 32px; min-width: 32px; padding: 0 9px; border: 0; border-radius: 999px; background: var(--c); color: var(--w); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background .2s; flex-shrink: 0; }
.cb-timer:hover { background: var(--rose); }
.cb-timer.on { background: #2b1c22; color: var(--c); }
.cb-timer.on svg { color: #e98b9b; }
.cb-timer.on:hover { background: var(--w3); }
.cb-timer.big { height: 46px; padding: 0 18px; font-size: 15px; background: var(--w); color: var(--c); }
.cb-timer.big:hover { background: var(--w3); }
.cb-timer.big.on { background: var(--c); color: var(--w); font-size: 18px; }
.cb-timer.big.on svg { color: var(--w); }
.cb-card.cb-live { box-shadow: 0 0 0 2px var(--w), 0 10px 24px rgba(63,31,43,.12); }
.cb-chip-live { background: #f3e3cc; color: #74461d; }
.cb-clockbox { background: var(--w); color: var(--c); border-radius: 24px; padding: 18px 18px 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cb-clockbox b { display: block; font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 600; }
.cb-clockbox small { font-size: 13px; color: #d9c3c9; }
.cb-float { position: fixed; right: 22px; bottom: 22px; z-index: 99980; background: #2b1c22; color: var(--c); border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 14px; box-shadow: 0 14px 36px rgba(43,28,34,.35); max-width: calc(100% - 300px); }
.cb-float-dot { width: 10px; height: 10px; border-radius: 50%; background: #e98b9b; flex-shrink: 0; animation: cbPulse 1.6s ease-in-out infinite; }
@keyframes cbPulse { 50% { opacity: .3; } }
.cb-float-t { border: 0; background: transparent; color: inherit; text-align: left; padding: 0; min-width: 0; display: flex; flex-direction: column; }
.cb-float-t b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.cb-float-t small { font-size: 11px; color: #d9c3c9; }
.cb-float-clock { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cb-round.light { background: var(--c); color: var(--w); width: 38px; height: 38px; }
.cb-round.light:hover { background: #fff; }
.cb-toast { bottom: 84px; }
.cb-tools { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.cb-tool { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 0; border-radius: 999px; background: transparent; color: #e7d6db; font-size: 13px; font-weight: 500; text-align: left; }
.cb-tool:hover { background: rgba(242,241,229,.12); color: var(--c); }
.cb-me { margin-top: 0; }
.cb-money { position: relative; display: block; }
.cb-money i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 14px; color: var(--muted); pointer-events: none; }
.cb-root .cb-money input.cb-in { padding-left: 44px; font-variant-numeric: tabular-nums; }
.cb-steps { background: var(--paper); border-radius: 20px; padding: 16px 18px; font-size: 14px; }
.cb-steps ol { margin: 6px 0 12px 18px; padding: 0; }
.cb-steps li { margin: 4px 0; }
/* janela flutuante */
body.cb-pip-body { margin: 0; background: #f2f1e5; }
.cb-pip { padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.cb-pip-now { background: var(--w); color: var(--c); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.cb-pip-now small { font-size: 11px; color: #d9c3c9; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.cb-pip-now b { font-family: 'Sora', sans-serif; font-size: 15px; color: var(--c); }
.cb-pip-now .cb-muted { color: #d9c3c9; }
.cb-pip-now.idle { background: var(--lane); color: var(--ink); }
.cb-pip-now.idle small { color: var(--muted); }
.cb-pip-now.idle b { color: var(--ink); }
.cb-pip-clock { font-family: 'Sora', sans-serif; font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; margin: 4px 0 8px; }
.cb-pip-list { display: flex; flex-direction: column; gap: 6px; }
.cb-pip-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; background: var(--paper); border-radius: 16px; padding: 10px 10px 10px 14px; text-align: left; color: var(--ink); }
.cb-pip-item:hover { background: #fff; }
.cb-pip-item span { display: flex; flex-direction: column; min-width: 0; }
.cb-pip-item b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-pip-item small { font-size: 11px; color: var(--muted); }
.cb-pip-item i { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--w); color: var(--c); display: grid; place-items: center; }
@media (max-width: 782px) { .cb-float { right: 12px; max-width: calc(100% - 24px); } }

/* campos brancos nos modais (vence o tema e o modo escuro do navegador) */
.cb-root .cb-modal input.cb-in:not(.rose):not(.sand), .cb-root .cb-modal select.cb-in, .cb-root .cb-modal textarea.cb-in:not(.rose):not(.sand) { background: #fff !important; background-color: #fff !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1px #e2dccb !important; color-scheme: light; -webkit-appearance: none; appearance: none; }
.cb-root .cb-modal select.cb-in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235e3141' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; padding-right: 40px; }
.cb-root .cb-modal .cb-in:focus { box-shadow: inset 0 0 0 1.5px var(--w) !important; outline: 0; }
.cb-root .cb-modal input.cb-in:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset !important; -webkit-text-fill-color: var(--ink); }
.cb-root .cb-modal .cb-radio span { background: #fff; box-shadow: inset 0 0 0 1px #e2dccb; }
.cb-root .cb-modal .cb-radio input:checked + span { box-shadow: none; }
.cb-root .cb-modal input[type=checkbox] { accent-color: var(--w); width: 16px; height: 16px; }
.cb-root .cb-modal .cb-pay-form .cb-in { box-shadow: inset 0 0 0 1px #e2dccb !important; }

/* gastos da empresa */
.cb-fin-box.paper { background: var(--paper); }
.cb-fin-box small { font-size: 12px; color: var(--muted); }
.cb-fin-hero em { font-style: normal; font-size: 13px; color: #d9c3c9; }
.cb-neg { color: #a8392d !important; font-family: 'Sora', sans-serif; }
.cb-legend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.cb-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--w); margin-left: 8px; }
.cb-legend i.out { background: #c9a3ad; }
.cb-months { min-width: 560px; }
.cb-month { display: grid; grid-template-columns: 64px minmax(80px, 1fr) 110px 110px 120px; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.cb-month > span:not(.cb-bars), .cb-month > strong { text-align: right; font-variant-numeric: tabular-nums; }
.cb-month > strong { font-size: 15px; }
.cb-month.head { border-top: 0; font-size: 12px; color: var(--muted); font-weight: 600; padding: 4px 0 8px; }
.cb-month.cur b::after { content: ' · atual'; font-weight: 500; color: var(--muted); }
.cb-bars { display: flex; flex-direction: column; gap: 4px; }
.cb-bars .cb-bar { height: 7px; background: var(--c); }
.cb-bars .cb-bar.out i { background: #c9a3ad; }
.cb-fin-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 14px; align-items: start; }
.cb-exp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 28px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.cb-exp-row strong { font-variant-numeric: tabular-nums; }
.cb-exp-t { border: 0; background: transparent; padding: 0; text-align: left; color: var(--ink); min-width: 0; display: flex; flex-direction: column; }
.cb-exp-t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-exp-t small { font-size: 12px; color: var(--muted); }
.cb-exp-t:hover b { color: var(--w); }

/* urgência */
.cb-udot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-right: 6px; vertical-align: middle; }
.cb-udot.big { width: 12px; height: 12px; margin-right: 0; }
.cb-chip-soft.late { color: #a8392d; }
.cb-ulegend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: #d9c3c9; }
.cb-ulegend span { display: flex; align-items: center; }
/* etapa no cartão */
.cb-stline { display: flex; flex-direction: column; gap: 6px; }
.cb-stname { font-size: 12px; font-weight: 600; color: #4b3a40; }
.cb-stname em { font-style: normal; font-weight: 500; color: #74461d; }
.cb-segs { display: flex; gap: 3px; }
.cb-segs i { flex: 1; height: 4px; border-radius: 4px; background: #ead9dd; }
.cb-segs i.done { background: var(--w); }
.cb-segs i.cur { background: #b58f9a; }
/* calendário */
.cb-week-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.cb-seg.dark { background: var(--w2); }
.cb-seg.dark button { color: #d9c3c9; height: 28px; padding: 0 12px; }
.cb-seg.dark button.on { background: var(--c); color: var(--w); }
.cb-calnav { height: 36px; min-width: 36px; padding: 0 8px; border: 0; border-radius: 999px; background: var(--w2); color: var(--c); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.cb-calnav:hover { background: var(--w3); }
.cb-calnav.txt { padding: 0 12px; }
.cb-daydots { display: flex; gap: 3px; height: 6px; justify-content: center; }
.cb-daydots i { width: 6px; height: 6px; border-radius: 50%; }
.cb-day.sel span { box-shadow: 0 0 0 2px var(--c); }
.cb-day:hover span { filter: brightness(1.08); }
.cb-week.month { grid-column: 1 / -1; }
.cb-monthgrid { grid-template-columns: repeat(7, 1fr); gap: 6px 4px; }
.cb-dname { text-align: center; font-size: 11px; font-weight: 600; color: #c7a9b1; letter-spacing: .04em; }
.cb-monthgrid .cb-day span { max-width: none; aspect-ratio: auto; height: 40px; border-radius: 14px; font-size: 13px; font-weight: 600; background: rgba(242,241,229,.08); color: var(--c); }
.cb-monthgrid .cb-day.past span { color: #a98692; }
.cb-monthgrid .cb-day.has span { background: var(--c); color: var(--w); font-weight: 700; }
.cb-monthgrid .cb-day.today span { border: 2px dashed var(--c); }
.cb-daypanel { gap: 2px; }
.cb-dayrow { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cb-dayrow:hover b { color: var(--w); }
.cb-cap { text-transform: none; }
.cb-cap::first-letter { text-transform: uppercase; }
/* concluídas */
.cb-done-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 80px auto; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cb-done-row:hover { background: #faf6ee; }
/* financeiro por mês */
.cb-mesnav b { font-family: 'Sora', sans-serif; font-size: 15px; min-width: 150px; text-align: center; }
.cb-cm-row { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1.2fr 1fr; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.cb-cm-row.head { border-top: 0; font-size: 12px; color: var(--muted); font-weight: 600; padding: 4px 0 8px; }
.cb-rate { margin: 0; font-size: 13px; font-weight: 600; color: var(--w); }
.cb-stinfo { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: #4b3a40; }
.cb-pipe-prev { display: flex; flex-direction: column; gap: 2px; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--paper); border-radius: 14px; padding: 10px 12px; margin-top: 4px; }
.cb-pipe-prev small { font-size: 11px; font-weight: 600; color: #4b3a40; }
.cb-pipe-prev i { font-style: normal; opacity: .5; }
/* bolinha (janela flutuante e barra do cronômetro minimizadas) */
.cb-bubble { width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--w); color: var(--c); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; box-shadow: 0 10px 28px rgba(43,28,34,.35); padding: 0; transition: transform .2s; font-family: 'Sora', sans-serif; }
.cb-bubble:hover { transform: scale(1.05); }
.cb-bubble img { width: 58px; height: auto; }
.cb-bubble span { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cb-bubble.on { box-shadow: 0 0 0 3px #e98b9b, 0 10px 28px rgba(43,28,34,.35); }
.cb-bubble-page { position: fixed; right: 22px; bottom: 22px; z-index: 99980; }
body.cb-pip-body.mini { display: grid; place-items: center; min-height: 100vh; overflow: hidden; }
.cb-pip-mini { display: grid; place-items: center; padding: 6px; }
.cb-pip-top { display: flex; justify-content: space-between; align-items: center; padding: 0 2px; }
.cb-pip-top img { width: 84px; height: auto; }
.cb-pip-item b { display: flex; align-items: center; }
.cb-float .cb-iconbtn.dark { width: 32px; height: 32px; }
@media (max-width: 960px) { .cb-done-row { grid-template-columns: 1fr auto; } .cb-done-row > :nth-child(3), .cb-done-row > :nth-child(4) { display: none; } }
.cb-stat-ic svg { display: block; }

/* orçamentos */
.cb-prop { display: grid; grid-template-columns: minmax(340px, 440px) minmax(0, 1fr); gap: 18px; align-items: start; }
.cb-prop-form { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cb-prop-form .cb-box { gap: 10px; }
.cb-prop-bar { display: flex; gap: 8px; flex-wrap: wrap; position: sticky; top: 12px; z-index: 5; background: var(--c); padding: 6px 0; }
.cb-prop-bar select { flex: 1 1 100%; }
.cb-prop-bar .cb-btn { flex: 1; padding: 0 12px; }
.cb-root .cb-prop-form .cb-in { background: var(--c); }
.cb-root .cb-prop-form textarea.cb-in { min-height: 0; }
.cb-prop-row { display: flex; gap: 6px; align-items: center; }
.cb-prop-row > .cb-in { flex: 1; min-width: 0; }
.cb-root .cb-prop-row .cb-in.w90 { width: 86px; flex: none; }
.cb-prop-hist { display: flex; flex-direction: column; max-height: 260px; overflow-y: auto; }
.cb-prop-h { display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 14px; }
.cb-prop-h + .cb-prop-h { border-top: 1px solid var(--line); }
.cb-prop-h.on { background: var(--rose); }
.cb-prop-col { display: flex; gap: 6px; align-items: center; }
.cb-prop-col > .cb-in { flex: 1; min-width: 0; font-weight: 600; }
.cb-prop-col input[type=range] { width: 90px; flex: none; accent-color: var(--w); }
.cb-prop-grow { font-size: 11px; flex: none; max-width: 120px; line-height: 1.2; }
.cb-prop-al { display: flex; background: var(--c); border-radius: 999px; padding: 3px; flex: none; }
.cb-prop-al button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; padding: 0; }
.cb-prop-al button.on { background: var(--w); color: var(--c); }
.cb-prop-al span { display: flex; flex-direction: column; gap: 2px; width: 12px; }
.cb-prop-al i { display: block; height: 1.5px; background: currentColor; width: 12px; }
.cb-prop-al i:nth-child(2) { width: 8px; }
.cb-prop-al .al-center { align-items: center; } .cb-prop-al .al-right { align-items: flex-end; }
.cb-prop-range { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #4b3a40; }
.cb-prop-range input { flex: 1; accent-color: var(--w); }
.cb-prop-item { display: flex; flex-direction: column; gap: 6px; background: var(--c); border-radius: 18px; padding: 10px; }
.cb-root .cb-prop-item .cb-in { background: var(--paper); height: 38px; }
.cb-root .cb-prop-item textarea.cb-in { height: auto; }
.cb-prop-item .cb-iconbtn.sm { background: var(--paper); }
.cb-prop-tot { flex: 1; text-align: right; font-size: 13px; color: #4b3a40; font-variant-numeric: tabular-nums; }
.cb-prop-block { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid #e2dccb; }
.cb-grid3e { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cb-prop-add { border: 1.5px dashed #cfc8b6; background: transparent; border-radius: 999px; height: 38px; font-size: 13px; font-weight: 600; color: var(--w); }
.cb-prop-add:hover { background: var(--rose); border-color: var(--rose2); }
.cb-prop-add.sm { height: 32px; font-size: 12px; }
.cb-prop-taxa { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #4b3a40; }
.cb-prop-taxa .cb-money { width: 130px; }
.cb-prop-total { margin-left: auto; font-family: 'Sora', sans-serif; font-size: 15px; }
.cb-prop-prev { position: sticky; top: 12px; height: calc(100vh - 24px); overflow: auto; background: #e9e4da; border-radius: 26px; padding: 20px; }
.cb-prop-pages { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cb-ppage, .cb-ppage * { box-sizing: content-box; }
.cb-ppage { font-size: 16px; line-height: normal; letter-spacing: normal; text-align: left; }
.cb-ppage p { margin: 0; }
#cb-print-host { display: none; }
@media (max-width: 1100px) { .cb-prop { grid-template-columns: 1fr; } .cb-prop-prev { position: static; height: auto; } }
@media print {
  @page { size: A4; margin: 0; }
  html:has(body.cb-printing), body.cb-printing { background: #fff !important; margin: 0 !important; padding: 0 !important; }
  body.cb-printing > *:not(#cb-print-host) { display: none !important; }
  body.cb-printing #cb-print-host { display: block !important; }
  #cb-print-host .cb-ppage { zoom: 1 !important; box-shadow: none !important; margin: 0 !important; height: 1122px !important; break-after: page; page-break-after: always; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #cb-print-host .cb-ppage:last-child { break-after: auto; page-break-after: auto; }
  #cb-print-host .cb-ppage * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* cabeçalho: botões lado a lado */
.cb-hbtns { flex-wrap: nowrap; }
.cb-hbtns .cb-btn { white-space: nowrap; }
/* clientes em lista */
.cb-clist { min-width: 860px; }
.cb-cli-row { display: grid; grid-template-columns: 34px minmax(180px, 1.6fr) 140px 150px 100px 110px auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.cb-cli-row.head { border-top: 0; font-size: 12px; color: var(--muted); font-weight: 600; padding: 2px 0 8px; }
.cb-cli-row b { font-size: 14px; }
.cb-cli-row a.cb-iconbtn { text-decoration: none; }
/* cobranças */
.cb-payrow { display: grid; grid-template-columns: minmax(0, 1fr) auto 120px auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.cb-payrow strong { text-align: right; font-variant-numeric: tabular-nums; }
.cb-modal .cb-payrow { grid-template-columns: minmax(0, 1fr) auto 100px auto; }
.cb-modal .cb-payrow > :last-child { grid-column: 1 / -1; justify-content: flex-end; }
.cb-ftag { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--rose); color: var(--w); border-radius: 6px; padding: 3px 6px; }
.cb-filebox { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #e2e8d9; color: #3f4d33; border-radius: 16px; padding: 8px 8px 8px 14px; font-size: 13px; font-weight: 600; }
.cb-filebox > span { display: flex; align-items: center; gap: 6px; flex: 1; }
.cb-upload { position: relative; display: flex !important; align-items: center; justify-content: center; height: 46px; border: 1.5px dashed #cfc8b6; border-radius: 16px; font-size: 13px; font-weight: 600; color: var(--w); cursor: pointer; background: #fff; }
.cb-upload:hover { background: var(--rose); border-color: var(--rose2); }
.cb-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cb-cobrar { display: flex; flex-direction: column; gap: 14px; }
.cb-cobrar .cb-pay { border-top: 0; background: var(--paper); border-radius: 18px; padding: 12px 16px; grid-template-columns: 1fr auto; }
.cb-cobrar textarea { font-size: 13px; line-height: 1.5; }
/* tráfego pago */
.cb-traf { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 14px; align-items: start; }
.cb-traf-side:empty { display: none; }
.cb-traf-side:empty + .cb-traf-main { grid-column: 1 / -1; }
.cb-traf-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cb-traf-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: 16px; color: var(--ink); width: 100%; }
.cb-traf-row span { font-weight: 700; font-variant-numeric: tabular-nums; }
.cb-traf-row small { grid-column: 1 / -1; font-size: 12px; }
.cb-traf-row:hover { background: var(--c); }
.cb-traf-row.on { background: var(--rose); }
.cb-root .cb-traf-sel { width: auto; min-width: 240px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px; }
.cb-traf-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; background: var(--c); border-radius: 20px; padding: 12px; }
.cb-traf-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: #4b3a40; }
.cb-traf-form label.grow { flex: 1 1 160px; }
.cb-root .cb-traf-form .cb-in { background: #fff; box-shadow: inset 0 0 0 1px #e2dccb; }
.cb-traf-form .cb-money { width: 140px; }
.cb-traf-mes + .cb-traf-mes { margin-top: 10px; }
.cb-dep-row { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.cb-dep-row strong { font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .cb-traf { grid-template-columns: 1fr; } .cb-payrow { grid-template-columns: minmax(0, 1fr) auto; } .cb-payrow > :nth-child(2) { display: none; } .cb-payrow > :last-child { grid-column: 1 / -1; } }
