:root{
  --bg:#07090d;--surface:#0d1117;--surface-2:#111722;--surface-3:#171d27;--sidebar:#151b23;--topbar:#121820;
  --text:#f6f8fb;--muted:#9ca8b8;--line:#242c38;--line-2:#313a49;--primary:#5fd0ff;--primary-2:#8b5cf6;
  --success:#2ddc82;--danger:#ff5d5d;--warning:#f6b93b;--info:#6ea8fe;--shadow:0 22px 80px rgba(0,0,0,.45);
  --radius:16px;--field:#090d13;--btn:#111722;--whitebtn:#f8fafc;--whitebtn-text:#071018;
}
body.light{
  --bg:#f4f7fb;--surface:#ffffff;--surface-2:#f8fafc;--surface-3:#eef3f9;--sidebar:#ffffff;--topbar:#ffffff;
  --text:#111827;--muted:#667085;--line:#dbe3ef;--line-2:#c8d3e2;--field:#ffffff;--btn:#f8fafc;--whitebtn:#111827;--whitebtn-text:#ffffff;
  --shadow:0 18px 55px rgba(31,41,55,.12);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 20% 0%,rgba(95,208,255,.12),transparent 34%),var(--bg);color:var(--text);font-family:Inter,Segoe UI,Arial,sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}
.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top,rgba(95,208,255,.18),transparent 36%),linear-gradient(145deg,var(--bg),#020305)}
.login-card{width:min(390px,95vw);background:linear-gradient(180deg,var(--surface-2),var(--surface));border:1px solid var(--line-2);border-radius:24px;padding:36px;text-align:center;box-shadow:var(--shadow)}
.brand-mark,.diamond{width:26px;height:26px;border-radius:7px;background:linear-gradient(135deg,var(--primary),var(--primary-2));display:inline-grid;place-items:center;color:transparent;transform:rotate(45deg)}.diamond{width:18px;height:18px;flex:0 0 18px}.login-card h1{margin:16px 0 4px}.login-card p{color:var(--muted);margin-bottom:24px}.login-card input,.login-card button{width:100%;margin:8px 0 14px}.login-card label,.panel label{display:block;text-align:left;font-size:12px;font-weight:800;margin-top:12px;color:var(--text)}
input,select{background:var(--field);border:1px solid var(--line);color:var(--text);border-radius:12px;padding:12px 14px;outline:none;transition:.18s}input:focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(95,208,255,.12)}
.login-card button,.white{background:var(--whitebtn);color:var(--whitebtn-text);border:0;border-radius:12px;font-weight:900;padding:13px 16px}.app{display:grid;grid-template-columns:220px 1fr;min-height:100vh}.sidebar{background:var(--sidebar);border-right:1px solid var(--line);position:sticky;top:0;height:100vh}.logo{height:92px;display:flex;gap:14px;align-items:center;padding:18px;border-bottom:1px solid var(--line)}.logo b{letter-spacing:-.3px}.logo span{display:block;font-size:10px;color:var(--muted);margin-top:3px}
.nav{display:flex;align-items:center;gap:10px;width:calc(100% - 20px);margin:10px;background:transparent;color:var(--muted);text-align:left;border:1px solid transparent;border-radius:12px;padding:13px 14px;font-weight:800}.nav:hover{background:var(--surface-2);color:var(--text)}.nav.active{background:linear-gradient(135deg,rgba(95,208,255,.18),rgba(139,92,246,.12));border-color:var(--line-2);color:var(--text)}
.workspace{min-width:0}.topbar{height:70px;background:rgba(18,24,32,.86);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:0 20px;position:sticky;top:0;z-index:5}body.light .topbar{background:rgba(255,255,255,.86)}
.ghost,.filters-bar button,.page-head button,.panel button,.toolbar button,.modal-box footer button,.acerto-actions button{background:var(--btn);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:11px 16px;font-weight:850}.ghost:hover,.filters-bar button:hover,.page-head button:hover,.panel button:hover{border-color:var(--primary)}
.page{padding:54px;max-width:1320px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}h2{font-size:28px;line-height:1.1;margin:0 0 8px;letter-spacing:-.7px}.muted{color:var(--muted);margin:0}.artist-picker{width:min(390px,100%);margin:28px auto;border:1px solid var(--line);border-radius:var(--radius);padding:18px;background:linear-gradient(180deg,var(--surface-2),var(--surface));box-shadow:0 10px 35px rgba(0,0,0,.12)}.artist-picker select{width:100%;font-weight:900;margin-top:8px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}.card{border:1px solid var(--line);border-radius:var(--radius);padding:20px;background:linear-gradient(180deg,var(--surface-2),var(--surface));box-shadow:0 12px 35px rgba(0,0,0,.10)}.card span{font-weight:800;color:var(--muted)}.card strong{display:block;margin-top:10px;font-size:24px;letter-spacing:-.4px}.green{color:var(--success)!important}.red{color:var(--danger)!important}
.filters-bar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin-bottom:16px;background:var(--surface)}.filters-bar input{height:45px}.danger{background:rgba(255,93,93,.16)!important;color:var(--danger)!important;border-color:rgba(255,93,93,.35)!important}.table-shell{max-height:560px;overflow:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}table{width:100%;border-collapse:separate;border-spacing:0;min-width:1160px}thead th{position:sticky;top:0;z-index:2;background:var(--surface-3);color:var(--text);text-align:left;font-size:12px;padding:14px 13px;border-bottom:1px solid var(--line);white-space:nowrap}tbody tr{transition:.16s}tbody tr:hover{background:rgba(95,208,255,.055)}td{padding:14px 13px;border-bottom:1px solid var(--line);font-size:13px;font-weight:750;color:var(--text)}.filter{background:transparent;color:var(--muted);border:0;padding:0 2px}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:86px;border-radius:999px;padding:5px 12px;color:#fff;font-size:11px;font-weight:900}.b-Efetivado{background:rgba(45,220,130,.92)}.b-Pendente{background:rgba(246,185,59,.95)}.b-Aguardando{background:rgba(110,168,254,.95)}.pos{color:var(--text)}.neg{color:var(--danger)}
.fab{position:fixed;right:30px;bottom:30px;width:48px;height:48px;border-radius:50%;border:1px solid rgba(95,208,255,.55);background:linear-gradient(135deg,#182638,#111827);color:#fff;font-size:26px;box-shadow:0 16px 40px rgba(0,0,0,.35);z-index:4}body.light .fab{background:linear-gradient(135deg,#111827,#334155)}
.panel{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg,var(--surface-2),var(--surface));padding:18px;margin-bottom:16px}.panel h3,.panel h4{margin:0 0 14px}.small-panel{max-width:760px}.inline-form{display:flex;gap:10px}.inline-form input{flex:1}.list-item{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid var(--line)}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(8px);display:grid;place-items:center;z-index:10;padding:20px}.modal-box{background:var(--surface);border:1px solid var(--line-2);border-radius:20px;padding:22px;max-height:92vh;overflow:auto;position:relative;box-shadow:var(--shadow)}.large{width:min(930px,96vw)}.mid{width:min(680px,96vw)}.x{position:absolute;right:14px;top:10px;background:transparent;color:var(--muted);border:0;font-size:18px}.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.two input{width:100%;margin-top:6px}.check{display:flex!important;align-items:center;gap:9px}.check input{width:auto}.summary b{float:right}.summary strong{display:flex;justify-content:space-between;align-items:center;margin-top:22px;font-size:18px}.summary em{font-style:normal;color:var(--danger)}footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:14px;margin-top:4px}
.action-menu{position:fixed;background:var(--surface);border:1px solid var(--line-2);border-radius:14px;z-index:20;min-width:230px;box-shadow:var(--shadow);overflow:hidden}.action-menu button{display:block;width:100%;background:transparent;color:var(--text);border:0;text-align:left;padding:12px 14px}.action-menu button:hover{background:var(--surface-3)}.acerto-resumo{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border:1px solid var(--line);border-radius:16px;padding:16px;margin:14px 0;text-align:center;background:var(--surface-2)}.acerto-resumo span{font-size:12px;color:var(--muted)}.acerto-resumo b{display:block;font-size:18px;color:var(--danger);margin-top:6px}.acerto-row{display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:12px;margin:8px 0;background:var(--surface-2)}.acerto-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:14px;flex-wrap:wrap}.percent-box{background:var(--surface-3);border-radius:12px;padding:12px;margin-top:10px}.percent-box input{width:130px;margin:8px 0}.summary em.green-text{color:var(--success)}.summary em.red-text{color:var(--danger)}
@media(max-width:900px){.app{grid-template-columns:1fr}.sidebar{display:none}.page{padding:25px}.cards,.modal-grid,.filters-bar{grid-template-columns:1fr}.large,.mid{width:95vw}.topbar{justify-content:space-between}}

/* ===== Deluxe v2 refinements ===== */
:root{
  --bg:#07090d; --panel:#0d1118; --panel-2:#111720; --side:#20252c; --line:#2a313c;
  --text:#f6f8fb; --muted:#9ca8b7; --accent:#d7b46a; --accent-2:#c8a75e;
  --green:#23d18b; --red:#ff4d57; --amber:#d8a32f; --blue:#7aa7ff;
  --shadow:0 24px 70px rgba(0,0,0,.45); --radius:16px;
}
body.theme-dark{--bg:#020304;--panel:#08090b;--panel-2:#121316;--side:#1d222b;--line:#292d35;--text:#fff;--muted:#a3a8b2;--accent:#f5f5f5;--accent-2:#bfc7d4;}
body.theme-light{--bg:#f4f6f9;--panel:#ffffff;--panel-2:#f8fafc;--side:#fdfefe;--line:#d9e0ea;--text:#111827;--muted:#667085;--accent:#1f6feb;--accent-2:#155ac0;--shadow:0 18px 55px rgba(15,23,42,.12)}
body{background:radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 16%, transparent), transparent 35%), var(--bg); color:var(--text)}
.sidebar,.topbar,.card,.panel,.artist-picker,.filters-bar,.table-shell,.modal-box,.action-menu{background:linear-gradient(180deg,var(--panel-2),var(--panel)); border-color:var(--line); box-shadow:var(--shadow)}
.logo .diamond,.brand-mark{color:var(--accent)}
.nav.active,.nav:hover{background:color-mix(in srgb, var(--accent) 15%, transparent); border:1px solid color-mix(in srgb, var(--accent) 25%, transparent)}
button,.ghost,.white{border-radius:12px; border:1px solid var(--line); background:linear-gradient(180deg,var(--panel-2),var(--panel)); color:var(--text)}
.white{background:linear-gradient(180deg,var(--accent),var(--accent-2)); color:#07090d; border:0; font-weight:800}
.theme-icon{width:42px;height:42px;border-radius:999px;font-size:18px;display:grid;place-items:center;background:linear-gradient(135deg,var(--panel),var(--panel-2));color:var(--accent)}
.filters-bar{display:grid;grid-template-columns:minmax(240px,1fr) auto auto auto auto;gap:12px;align-items:center;position:sticky;top:0;z-index:15;border-radius:14px;margin-bottom:10px;backdrop-filter:blur(18px)}
.table-shell{max-height:62vh;overflow:auto;border-radius:14px;position:relative}.table-shell table{border-collapse:separate;border-spacing:0;width:100%;min-width:1100px}.table-shell thead th{position:sticky;top:0;z-index:20;background:linear-gradient(180deg,color-mix(in srgb,var(--panel-2) 92%,var(--accent)),var(--panel-2));box-shadow:0 1px 0 var(--line);white-space:nowrap}.table-shell tbody tr:hover{background:color-mix(in srgb,var(--accent) 8%,transparent)}.rownum{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.badge{border-radius:999px;padding:6px 12px;font-weight:800;font-size:11px}.b-Efetivado{background:rgba(35,209,139,.16);color:var(--green);border:1px solid rgba(35,209,139,.35)}.b-Pendente{background:rgba(216,163,47,.16);color:var(--amber);border:1px solid rgba(216,163,47,.35)}.b-Aguardando{background:rgba(122,167,255,.16);color:var(--blue);border:1px solid rgba(122,167,255,.35)}
.action-menu{min-width:230px;border-radius:14px;padding:8px;z-index:99}.action-menu button,.filter-panel button{width:100%;text-align:left;padding:10px 12px;background:transparent;border:0;color:var(--text)}.filter-panel{min-width:260px;max-height:430px;overflow:auto}.filter-search{width:100%;box-sizing:border-box;margin:8px 0}.filter-options label{display:flex;gap:8px;align-items:center;padding:7px 8px;border-radius:8px}.filter-options label:hover{background:rgba(255,255,255,.06)}.filter-actions{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:8px;margin-top:8px}.filter-actions button{text-align:center;border:1px solid var(--line)}
.fab{background:linear-gradient(180deg,var(--accent),var(--accent-2)); color:#08090b; border:0; box-shadow:0 18px 45px color-mix(in srgb,var(--accent) 25%,transparent)}
.modal-box.large{max-width:960px}.modal-grid{gap:22px}.panel{border-radius:var(--radius)}input,select{border-radius:10px;border:1px solid var(--line);background:color-mix(in srgb,var(--panel) 85%,#000);color:var(--text)}body.theme-light input,body.theme-light select{background:#fff}.percent-box{margin-top:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--accent) 7%,transparent)}.switch-line{justify-content:space-between;background:color-mix(in srgb,var(--panel-2) 75%,var(--accent));padding:10px;border-radius:12px}.switch-line input{accent-color:var(--accent)}
.green,.pos,.green-text{color:var(--green)!important}.red,.neg,.red-text{color:var(--red)!important}.muted{color:var(--muted)}
body.theme-light .red,body.theme-light .neg,body.theme-light .red-text{color:#d92d20!important}body.theme-light .green,body.theme-light .pos,body.theme-light .green-text{color:#027a48!important}

/* ===== Deluxe v3 final visual polish ===== */
body.theme-light{
  --bg:#ffffff; --panel:#ffffff; --panel-2:#fbfcfe; --side:#242933; --line:#e1e6ef; --text:#0f172a; --muted:#667085;
  --accent:#111827; --accent-2:#2f3745; --green:#10b981; --red:#ef4444; --amber:#f59e0b; --blue:#2563eb;
  --shadow:0 12px 34px rgba(15,23,42,.08);
}
body.theme-light{background:#fff;color:var(--text)}
body.theme-light .sidebar{background:#242933;color:#f8fafc;border-right:1px solid #394150;box-shadow:none}
body.theme-light .logo b,body.theme-light .logo span{color:#fff}.logo span{display:block;font-size:11px;color:var(--muted);margin-top:2px}
body.theme-light .nav{color:#dbe4f0;background:transparent;border:1px solid transparent}
body.theme-light .nav.active,body.theme-light .nav:hover{background:#4b5563;color:#fff;border-color:#5b6472}
body.theme-light .topbar{background:#050506;border-bottom:1px solid #16181d;box-shadow:none}
body.theme-light .workspace{background:#fff}
body.theme-light .page{background:#fff}
body.theme-light .card,body.theme-light .panel,body.theme-light .artist-picker,body.theme-light .filters-bar,body.theme-light .table-shell,body.theme-light .modal-box{background:#fff;border-color:#d9e0ea;box-shadow:0 8px 25px rgba(15,23,42,.07)}
body.theme-light button{background:#fff;color:#0f172a;border-color:#d9e0ea}
body.theme-light button:hover{background:#f8fafc}
body.theme-light .white,body.theme-light .primary-action{background:#111827!important;color:#fff!important;border-color:#111827!important}
body.theme-light .danger{background:#ef4444!important;color:#fff!important;border-color:#ef4444!important}
body.theme-light .theme-icon{background:#0b0b0d;color:#fff;border-color:#282a31}
body.theme-light .table-shell thead th{background:#f3f5f8;color:#111827;border-bottom:1px solid #d6dde8;box-shadow:0 1px 0 #d6dde8}
body.theme-light td{color:#111827;border-bottom:1px solid #e3e7ef}body.theme-light tbody tr:hover{background:#f8fafc}
body.theme-light .badge{color:#fff;border:0}.b-Efetivado{background:#13b981!important;color:#fff!important;border:0!important}.b-Pendente{background:#f59e0b!important;color:#fff!important;border:0!important}.b-Aguardando{background:#2563eb!important;color:#fff!important;border:0!important}
body.theme-light input,body.theme-light select{background:#fff;color:#111827;border-color:#d8dee9}.filters-bar .danger{font-weight:900}.fab{z-index:50}.sidebar{transition:width .2s ease, transform .2s ease}.app.sidebar-collapsed{grid-template-columns:0 1fr}.app.sidebar-collapsed .sidebar{transform:translateX(-100%);overflow:hidden}.sidebar-toggle{position:fixed;left:14px;bottom:14px;z-index:60;width:38px;height:38px;border-radius:999px;display:grid;place-items:center}.app.sidebar-collapsed .sidebar-toggle{left:14px}.table-shell{max-height:65vh;overflow-y:auto;overflow-x:auto}.filters-bar{top:0}.table-shell thead th{top:0}.page-head .white{min-width:170px}.action-menu{background:var(--panel);}


/* ===== Ajustes v4: login, tema claro e sidebar recolhivel ===== */
.login-card button{background:#f8fafc!important;color:#0b1220!important;border:1px solid rgba(255,255,255,.18)!important}
.login-msg{min-height:18px;margin-top:4px;font-size:12px;font-weight:800;color:#ef4444;text-align:center}
body.theme-light .topbar{background:#ffffff;border-bottom:1px solid #d9e0eb}
body.theme-light .sidebar{background:#242933;color:#f8fafc;border-right:1px solid #313846}
body.theme-light .logo, body.theme-light .nav, body.theme-light .sidebar .muted{color:#f8fafc}
body.theme-light .nav.active{background:#4b5563;color:#ffffff;border-color:#6b7280}
body.theme-light .nav:hover{background:#374151;color:#fff}
body.theme-light button:not(.white):not(.danger):not(.theme-icon):not(.filter):not(.x){background:#ffffff;color:#111827;border:1px solid #cfd8e3}
body.theme-light .filters-bar button:not(.danger), body.theme-light .page-head .white{background:#111827!important;color:#ffffff!important;border-color:#111827!important}
body.theme-light .danger{background:#dc2626!important;color:#ffffff!important;border-color:#dc2626!important}
body.theme-light .badge{color:#fff!important;border:0!important;box-shadow:none!important}
body.theme-light .b-Efetivado{background:#10b981!important}
body.theme-light .b-Pendente{background:#f59e0b!important}
body.theme-light .b-Aguardando{background:#3b82f6!important}
body.theme-light .table-shell{background:#ffffff;border-color:#d6dee9}
body.theme-light table thead th{background:#eef3f8;color:#111827}
body.theme-light tbody tr{background:#ffffff;color:#111827}
body.theme-light tbody tr:hover{background:#f3f6fa}
body.theme-light .red, body.theme-light .neg{color:#dc2626!important}.theme-icon{width:42px;height:42px;border-radius:999px;font-size:18px;display:grid;place-items:center;background:var(--surface-2);color:var(--text);border:1px solid var(--line-2)}
body.theme-light .theme-icon{background:#ffffff;color:#2563eb;border:1px solid #cfd8e3}.sidebar-toggle{background:#111827!important;color:#fff!important;border:1px solid #334155!important}

/* ===== v6 login fix e visual refinado ===== */
.login-card{position:relative;overflow:hidden}
.login-card:before{content:"";position:absolute;inset:-1px;background:radial-gradient(circle at 50% 0%,rgba(95,208,255,.16),transparent 35%);pointer-events:none}
.login-card>*{position:relative}
.login-field{display:flex;align-items:center;gap:10px;width:100%;margin:8px 0 14px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--field);transition:.18s}
.login-field:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgba(95,208,255,.12)}
.login-field span{opacity:.75;font-size:15px}.login-field input{border:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;padding:12px 0!important;flex:1}
.login-msg{min-height:20px;margin-top:8px;font-size:12px;font-weight:900;color:#ef4444;text-align:center}
.login-msg.ok{color:#10b981}.login-card button{margin-top:6px!important}
body.theme-light .login-page{background:radial-gradient(circle at top,rgba(37,99,235,.12),transparent 36%),#f5f7fb}
body.theme-light .login-card{background:#fff;border-color:#d9e1ec;color:#111827}
body.theme-light .login-card button{background:#111827!important;color:#fff!important;border-color:#111827!important}
body.theme-light .login-field{background:#fff;border-color:#d8dee9}
.login-field .icon-lock{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;color:#8fb3ff}
.login-field .icon-lock svg{width:17px;height:17px;fill:currentColor;opacity:.95}
.login-msg{min-height:20px;margin-top:14px;text-align:center;font-weight:800;font-size:13px;color:#ff6b6b}
.login-msg.ok{color:#2ee59d}
.login-card{box-shadow:0 24px 90px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.05)}
.login-card .brand-mark{background:linear-gradient(135deg,#3b82f6,#705cff);color:white;border-radius:14px;width:38px;height:38px;display:grid;place-items:center;margin:0 auto 16px;box-shadow:0 10px 30px rgba(59,130,246,.35)}

/* ===== v8 login definitivo + temas estabilizados ===== */
body.sidebar-collapsed .app{grid-template-columns:0 1fr}
body.sidebar-collapsed .sidebar{transform:translateX(-100%);overflow:hidden}
.sidebar-toggle{position:fixed;left:14px;bottom:14px;z-index:80;width:38px;height:38px;border-radius:999px;background:#111827!important;color:#fff!important;border:1px solid #334155!important}
body.theme-light .login-card .brand-mark, body.theme-dark .login-card .brand-mark, body.theme-deluxe .login-card .brand-mark{color:#fff;background:linear-gradient(135deg,#2563eb,#6d5dfc);border-radius:14px;box-shadow:0 14px 35px rgba(37,99,235,.32)}
body.theme-light .login-card button{background:#111827!important;color:#fff!important;border-color:#111827!important}
body.theme-dark .login-card button, body.theme-deluxe .login-card button{background:#f8fafc!important;color:#0b1220!important;border-color:#f8fafc!important}
body.theme-light .login-field span{color:#64748b;opacity:1}
body.theme-dark .login-field span, body.theme-deluxe .login-field span{color:#9db5ff;opacity:1}
body.theme-light .page-head .white, body.theme-light .filters-bar button:not(.danger){background:#111827!important;color:#fff!important;border-color:#111827!important}
body.theme-light .danger{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important}
body.theme-light .topbar{background:#fff!important;border-bottom:1px solid #d9e0eb!important}
body.theme-light .sidebar{background:#242933!important;color:#fff!important}
body.theme-light .badge{color:#fff!important;border:0!important}
body.theme-light .b-Efetivado, .b-Efetivado{background:#10b981!important;color:#fff!important;border:0!important}
body.theme-light .b-Pendente, .b-Pendente{background:#f59e0b!important;color:#fff!important;border:0!important}
body.theme-light .b-Aguardando, .b-Aguardando{background:#3b82f6!important;color:#fff!important;border:0!important}
.menu-check{display:flex;align-items:center;gap:9px;padding:8px 12px;cursor:pointer}.menu-check:hover{background:var(--surface-3)}.filter-title{font-size:12px;font-weight:900;color:var(--muted);padding:10px 12px;border-bottom:1px solid var(--line)}.idx{color:var(--muted);font-size:12px}

/* ===== v9: modal acima da tabela fixa e correcoes de overlay ===== */
.modal{z-index:250!important;}
.modal-box{z-index:251!important;}
body.modal-open .filters-bar, body.modal-open .table-shell thead th{z-index:1!important;}
.action-menu{z-index:300!important;}

/* ===== v10: correcoes de calculo, formulario deluxe, responsividade e status configuravel ===== */
.page{max-width:none;width:100%;padding:clamp(28px,4vw,56px);}
.page-head,.cards,.filters-bar,.table-shell,.artist-picker{max-width:100%;}
.cards{grid-template-columns:repeat(3,minmax(220px,1fr));}
.table-shell{width:100%;max-height:calc(100vh - 410px);min-height:280px;}
body.modal-open .filters-bar,body.modal-open .table-shell,body.modal-open .fab{pointer-events:none;}
.modal{align-items:center;justify-items:center;}
.modal-box.large{width:min(1100px,94vw);border-radius:22px;background:linear-gradient(145deg,rgba(21,24,30,.98),rgba(7,9,12,.98));padding:28px;}
.modal-box.large .panel{background:linear-gradient(180deg,rgba(16,18,23,.96),rgba(7,9,12,.96));border-color:#303744;padding:22px;border-radius:18px;}
.modal-box.large label{font-size:12px;color:#f8fafc;margin-top:14px;}
.modal-box.large input,.modal-box.large select{width:100%;min-height:44px;background:#05070a;border-color:#303744;color:#fff;}
#fCidade,#fEvento{width:100%;max-width:100%;}
.modal-grid{grid-template-columns:minmax(0,1fr) minmax(360px,.92fr);gap:24px;}
.modal-box footer{position:sticky;bottom:-28px;background:linear-gradient(180deg,transparent 0,var(--surface) 18%);padding:18px 0 0;margin-top:18px;}
.switch-row{display:flex!important;align-items:center;justify-content:space-between;gap:14px;background:rgba(255,255,255,.06);border:1px solid #303744;border-radius:14px;padding:12px 14px;margin-top:16px!important;cursor:pointer;}
.switch-row input{position:absolute;opacity:0;pointer-events:none;width:1px!important;height:1px!important;}
.switch-row i{width:46px;height:26px;border-radius:999px;background:#05070a;border:1px solid #343b49;position:relative;flex:0 0 auto;transition:.2s;}
.switch-row i:before{content:"";width:20px;height:20px;border-radius:50%;background:#fff;position:absolute;left:3px;top:2px;transition:.2s;box-shadow:0 3px 10px rgba(0,0,0,.35);}
.switch-row input:checked + i{background:linear-gradient(135deg,#10b981,#2563eb);border-color:transparent;}
.switch-row input:checked + i:before{transform:translateX(20px);}
.percent-box{background:rgba(255,255,255,.07);border:1px solid #303744;border-radius:16px;padding:16px;margin-top:12px;}
.percent-inline{display:grid;grid-template-columns:130px 1fr;gap:12px;align-items:center;}
.percent-inline small{color:var(--muted);line-height:1.5;}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:18px;align-items:start;}
.status-add{grid-template-columns:1fr 70px auto;display:grid;margin:16px 0;}
.status-add input[type=color]{padding:4px;min-width:60px;}
.status-config-row{display:grid;grid-template-columns:120px 1fr 70px auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line);}
.status-config-row input[type=color]{height:42px;padding:4px;}
.status-filter-row{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0;}
.pill-check{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:8px 12px;background:var(--surface-2);font-weight:800;cursor:pointer;}
.pill-check input{width:auto;accent-color:var(--primary);}
.badge.mini{min-width:auto;padding:3px 8px;font-size:10px;margin-top:4px;}
.mini-modal{width:min(440px,94vw);}
.mini-modal select{width:100%;margin:10px 0 16px;}
@media(max-width:1050px){.modal-grid,.settings-grid{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.filters-bar{grid-template-columns:1fr 1fr}.table-shell{max-height:60vh}.page-head{flex-direction:column}.modal-box.large{width:96vw}}
@media(min-width:1500px){.page{padding-left:clamp(42px,7vw,110px);padding-right:clamp(42px,7vw,110px)}.table-shell{max-height:calc(100vh - 390px)}}
body.theme-light .modal-box.large{background:#ffffff;color:#111827;}
body.theme-light .modal-box.large .panel{background:#ffffff;border-color:#d9e0ea;}
body.theme-light .modal-box.large input,body.theme-light .modal-box.large select{background:#fff;color:#111827;border-color:#d8dee9;}
body.theme-light .switch-row{background:#f8fafc;border-color:#d8dee9;color:#111827;}
body.theme-light .percent-box{background:#f8fafc;border-color:#d8dee9;}

/* ===== v11 refinamentos solicitados ===== */
:root{--hostinger:#673de6;--hostinger-2:#5025d1;}
button,.nav,.filter,.fab,.theme-icon,.ghost,.badge.status-btn{transition:transform .12s ease,box-shadow .18s ease,background .18s ease,opacity .18s ease;}
button:active,.nav:active,.filter:active,.fab:active,.theme-icon:active,.ghost:active,.badge.status-btn:active{transform:scale(.96)!important;filter:brightness(.96)}
body.theme-light .nav.active,body.theme-light .nav:hover,
body.theme-light .filters-bar button:not(.danger),
body.theme-light .page-head .white,
body.theme-light #saveLaunchBtn,
body.theme-light .login-card button{
  background:var(--hostinger)!important;color:#fff!important;border-color:var(--hostinger)!important;box-shadow:0 8px 18px rgba(103,61,230,.18)!important;
}
body.theme-light .filters-bar button:not(.danger):hover,
body.theme-light .page-head .white:hover,
body.theme-light #saveLaunchBtn:hover,
body.theme-light .login-card button:hover{background:var(--hostinger-2)!important;border-color:var(--hostinger-2)!important}
body.theme-light .danger{background:#ef4444!important;color:#fff!important;border-color:#ef4444!important}
body.theme-light .sidebar{background:#252a34!important}.soft{background:color-mix(in srgb,var(--panel-2) 76%,var(--accent));}

.config-tabs{display:flex;gap:12px;align-items:center;overflow-x:auto;padding:12px;margin:22px 0 18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,color-mix(in srgb,var(--panel) 90%,transparent),color-mix(in srgb,var(--panel-2) 82%,transparent));box-shadow:var(--shadow)}
.config-tab{min-width:150px;padding:16px 18px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;font-weight:900;color:var(--muted);background:transparent;border:1px solid transparent}
.config-tab.active{background:var(--accent);color:#fff;border-color:color-mix(in srgb,var(--accent) 80%,#fff);box-shadow:0 10px 24px rgba(0,0,0,.18)}
body.theme-light .config-tab.active{background:var(--hostinger)!important;border-color:var(--hostinger)!important;color:#fff!important}
.settings-stage{width:100%}.config-panel{padding:24px}.config-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.config-head h3{margin:0 0 6px}.config-panel .inline-form{max-width:none}.status-config-row{display:grid;grid-template-columns:170px minmax(180px,1fr) 72px auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;margin-top:10px;background:color-mix(in srgb,var(--panel-2) 72%,transparent)}

.elegant-check{display:flex!important;align-items:center;gap:12px;margin-top:16px;cursor:pointer;width:max-content;max-width:100%;font-weight:900;color:var(--text)}
.elegant-check input{position:absolute;opacity:0;pointer-events:none}.elegant-check span{width:42px;height:26px;border-radius:999px;border:1px solid var(--line);background:color-mix(in srgb,var(--panel-2) 84%,#000);position:relative;box-shadow:inset 0 1px 3px rgba(0,0,0,.25);flex:0 0 42px}.elegant-check span:before{content:"";position:absolute;width:20px;height:20px;border-radius:999px;left:3px;top:2px;background:#fff;box-shadow:0 3px 10px rgba(0,0,0,.25);transition:.18s}.elegant-check input:checked+span{background:linear-gradient(135deg,var(--hostinger),#3b82f6);border-color:transparent}.elegant-check input:checked+span:before{transform:translateX(16px)}.elegant-check b{font-size:13px;line-height:1.25}.elegant-check.compact{margin:10px 0}.modal .check{display:none!important}

.status-btn{cursor:pointer;font-family:inherit;font-size:12px;padding:7px 14px;border-radius:999px;min-width:94px}.status-menu-item{display:flex!important;align-items:center;gap:9px;width:100%;text-align:left}.status-dot{width:11px;height:11px;border-radius:999px;display:inline-block;box-shadow:0 0 0 3px rgba(255,255,255,.08)}.hidden-row{opacity:.52;background:repeating-linear-gradient(135deg,rgba(148,163,184,.045),rgba(148,163,184,.045) 7px,transparent 7px,transparent 14px)}.hidden-pill{display:inline-flex;margin-left:8px;padding:3px 8px;border-radius:999px;background:rgba(148,163,184,.18);color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.row-dots{font-size:16px;font-weight:900;color:var(--muted)}

.workspace{min-width:0}.page{width:min(100%,1600px);margin-inline:auto}.cards,.filters-bar,.table-shell{width:100%}.cards{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.table-shell{max-height:min(68vh,760px)}.modal-box.large{width:min(94vw,1180px);max-height:90vh;overflow:auto}.modal-grid{grid-template-columns:minmax(360px,1.05fr) minmax(330px,.95fr);gap:24px}.modal .panel{border-radius:18px}.modal input,.modal select{min-height:46px}.modal .two{gap:14px}.modal footer{position:sticky;bottom:0;background:linear-gradient(180deg,transparent,var(--panel) 28%);padding-top:18px}
@media(max-width:1100px){.page{padding-inline:18px}.modal-grid{grid-template-columns:1fr}.config-head{flex-direction:column}.filters-bar{grid-template-columns:1fr 1fr}.filters-bar input{grid-column:1/-1}.config-tab{min-width:128px}.status-config-row{grid-template-columns:1fr}}
@media(min-width:1500px){.page{width:min(100%,1720px)}.table-shell{max-height:70vh}.card{min-height:92px}.modal-box.large{width:min(90vw,1240px)}}

/* ===== v12: sidebar iconica, usuarios e polimento final ===== */
button{transition:transform .12s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;}
button:active{transform:scale(.97);}
body.sidebar-collapsed .app{grid-template-columns:72px 1fr!important;}
body.sidebar-collapsed .sidebar{width:72px!important;transform:none!important;overflow:hidden!important;display:block!important;}
body.sidebar-collapsed .logo{height:72px;padding:12px;justify-content:center;}
body.sidebar-collapsed .logo .diamond{width:26px;height:26px;flex-basis:26px;}
body.sidebar-collapsed .logo b,body.sidebar-collapsed .logo span{display:none!important;}
.nav .nav-ico{font-size:18px;line-height:1;width:22px;text-align:center;display:inline-grid;place-items:center;}
body.sidebar-collapsed .nav{width:48px;height:48px;margin:10px auto;padding:0;justify-content:center;border-radius:14px;}
body.sidebar-collapsed .nav-text{display:none!important;}
body.sidebar-collapsed .sidebar-toggle{left:16px;bottom:18px;width:42px;height:42px;}
body.sidebar-collapsed .page{padding-left:42px;}
.sidebar-toggle{box-shadow:0 10px 30px rgba(0,0,0,.28)}
.config-tabs{display:flex!important;gap:10px;overflow-x:auto;padding:12px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,var(--surface-2),var(--surface));margin:18px 0 22px;}
.config-tab{min-width:150px;min-height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:14px!important;background:transparent;color:var(--muted);border:1px solid transparent;}
.config-tab.active{background:linear-gradient(135deg,rgba(124,58,237,.28),rgba(95,208,255,.12));color:var(--text);border-color:var(--line-2);box-shadow:0 10px 30px rgba(0,0,0,.18)}
body.theme-light .config-tab.active{background:#673de6!important;color:#fff!important;border-color:#673de6!important;}
.user-form{display:grid;grid-template-columns:1.2fr 1.4fr 1fr .9fr auto;gap:12px;align-items:end;margin-bottom:16px;}
.user-form input,.user-form select{width:100%;margin-top:6px;}
.user-row{display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto;gap:10px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:14px;margin-bottom:10px;background:var(--surface-2);}
.user-row small{display:block;color:var(--muted);margin-top:3px}.user-pill{border-radius:999px;padding:6px 12px;background:rgba(45,220,130,.16);color:var(--success);font-weight:900}.danger-mini{color:var(--danger)!important;border-color:rgba(255,93,93,.35)!important;background:rgba(255,93,93,.12)!important}
body.theme-light .page-head .white, body.theme-light .filters-bar button:not(.danger), body.theme-light .login-card button, body.theme-light .user-form button{background:#673de6!important;color:#fff!important;border-color:#673de6!important;}
body.theme-light .nav.active, body.theme-light .nav:hover{background:#673de6!important;color:#fff!important;border-color:#673de6!important;}
body.theme-light .sidebar-toggle{background:#673de6!important;color:#fff!important;border-color:#673de6!important;}
@media(max-width:1100px){.user-form{grid-template-columns:1fr 1fr}.user-form button{grid-column:1/-1}.config-tab{min-width:130px}.page{padding:34px}}
@media(max-width:720px){body.sidebar-collapsed .app,.app{grid-template-columns:1fr!important}.sidebar{display:none!important}.user-form{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.page{padding:22px!important}}

/* ===== v13: tema claro corrigido, menu organizado e modal responsivo ===== */
.sidebar{display:flex;flex-direction:column;}
.sidebar .nav[data-page="config"]{margin-top:auto;margin-bottom:64px;}
body.sidebar-collapsed .sidebar .nav[data-page="config"]{margin-top:auto;margin-bottom:74px;}

/* Paleta lateral: sem contorno pesado por padrao; contorno aparece no hover/ativo */
.nav{border-color:transparent!important;box-shadow:none!important;}
.nav:hover{border-color:var(--line-2)!important;box-shadow:0 10px 24px rgba(0,0,0,.12)!important;}
.nav.active{border-color:color-mix(in srgb,var(--accent) 55%,transparent)!important;box-shadow:0 12px 26px rgba(0,0,0,.16)!important;}
body.theme-light .sidebar{background:#252b36!important;color:#fff!important;}
body.theme-light .nav{background:transparent!important;color:#e5edf7!important;border-color:transparent!important;}
body.theme-light .nav:hover{background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important;}
body.theme-light .nav.active{background:#673de6!important;color:#fff!important;border-color:#673de6!important;box-shadow:0 12px 26px rgba(103,61,230,.28)!important;}
body.theme-light .logo{border-bottom-color:#384151!important;}

/* Tema claro: modal com leitura perfeita */
body.theme-light .modal-box,
body.theme-light .modal-box.large{
  background:linear-gradient(145deg,#f7f9fc,#ffffff)!important;
  color:#0f172a!important;
  border-color:#cbd5e1!important;
  box-shadow:0 35px 90px rgba(15,23,42,.24)!important;
}
body.theme-light .modal-box.large .panel,
body.theme-light .modal .panel{
  background:#f8fafc!important;
  border-color:#cbd5e1!important;
  box-shadow:0 10px 25px rgba(15,23,42,.05)!important;
}
body.theme-light .modal label,
body.theme-light .modal-box.large label,
body.theme-light .modal h3,
body.theme-light .modal h4,
body.theme-light .modal p,
body.theme-light .modal .summary,
body.theme-light .modal .summary b,
body.theme-light .modal .summary strong,
body.theme-light .modal .elegant-check,
body.theme-light .modal .switch-row,
body.theme-light .modal .switch-row b{
  color:#0f172a!important;
}
body.theme-light .modal .muted,
body.theme-light .modal small,
body.theme-light .modal .percent-inline small{color:#475569!important;}
body.theme-light .modal input,
body.theme-light .modal select,
body.theme-light .modal-box.large input,
body.theme-light .modal-box.large select{
  background:#ffffff!important;
  color:#0f172a!important;
  border:1px solid #cbd5e1!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important;
}
body.theme-light .modal input::placeholder{color:#64748b!important;}
body.theme-light .modal input:focus,
body.theme-light .modal select:focus{
  border-color:#673de6!important;
  box-shadow:0 0 0 4px rgba(103,61,230,.13)!important;
}
body.theme-light .modal footer{
  background:linear-gradient(180deg,rgba(247,249,252,0),#f7f9fc 30%,#f7f9fc 100%)!important;
  border-top-color:#cbd5e1!important;
}
body.theme-light .modal .switch-row,
body.theme-light .modal .percent-box{
  background:#eef2f7!important;
  border-color:#cbd5e1!important;
}
body.theme-light .modal .switch-row i,
body.theme-light .elegant-check span{
  background:#e2e8f0!important;
  border-color:#cbd5e1!important;
}
body.theme-light .modal .switch-row input:checked + i,
body.theme-light .elegant-check input:checked + span{
  background:linear-gradient(135deg,#673de6,#2563eb)!important;
  border-color:transparent!important;
}
body.theme-light #saveLaunchBtn,
body.theme-light .modal footer .white{
  background:#673de6!important;color:#fff!important;border-color:#673de6!important;
}
body.theme-light .modal footer button:not(.white){background:#fff!important;color:#0f172a!important;border-color:#cbd5e1!important;}

/* Modal sem barra horizontal e com ajuste por zoom */
.modal-box{overflow-x:hidden!important;}
.modal-box.large{width:min(1120px,92vw)!important;max-width:92vw!important;}
.modal-grid{grid-template-columns:minmax(0,1fr) minmax(0,.95fr)!important;}
.modal .panel{min-width:0!important;}
.modal input,.modal select{max-width:100%!important;}
.modal .two{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
@media(max-width:980px){.modal-grid{grid-template-columns:1fr!important}.modal .two{grid-template-columns:1fr!important}.modal-box.large{width:96vw!important;max-width:96vw!important}}

/* Tema claro: botoes principais roxo Hostinger, sem conflito visual */
body.theme-light .page-head .white,
body.theme-light .filters-bar button:not(.danger),
body.theme-light .login-card button,
body.theme-light .user-form button,
body.theme-light #saveLaunchBtn{
  background:#673de6!important;color:#fff!important;border-color:#673de6!important;
}
body.theme-light .page-head .white:hover,
body.theme-light .filters-bar button:not(.danger):hover,
body.theme-light .login-card button:hover,
body.theme-light .user-form button:hover,
body.theme-light #saveLaunchBtn:hover{background:#5025d1!important;border-color:#5025d1!important;}

/* ===== v14: Pendências, avatar e rolagem rápida ===== */
.top-icon,.avatar-btn{height:42px;min-width:42px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface-2);color:var(--text);display:grid;place-items:center;position:relative;font-weight:900;padding:0 10px;overflow:hidden}
.top-icon small{position:absolute;top:-5px;right:-4px;background:#ef4444;color:#fff;border-radius:999px;font-size:10px;min-width:18px;height:18px;display:grid;place-items:center;border:2px solid var(--surface)}
.avatar-btn{padding:0;width:44px;background:linear-gradient(135deg,#101826,#243244)}
.avatar-btn:before{content:'👤';font-size:18px}.avatar-btn img{width:100%;height:100%;object-fit:cover;display:none}.avatar-btn img[style*="block"] + *{display:none}
.scroll-arrows{position:fixed;right:20px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:8px;z-index:55}
.scroll-arrows button{width:40px;height:40px;border-radius:12px;border:1px solid var(--line-2);background:rgba(17,24,39,.92);color:#fff;font-size:18px;font-weight:900;box-shadow:0 12px 30px rgba(0,0,0,.28)}
.scroll-arrows button:hover{transform:translateY(-1px);border-color:var(--primary)}
.pend-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px;border-bottom:1px solid var(--line);padding-bottom:22px}.pend-head h2{display:flex;align-items:center;gap:12px;margin-bottom:6px}.mini-pill{font-size:12px;background:rgba(255,255,255,.14);color:var(--muted);padding:4px 10px;border-radius:999px}.pend-total{text-align:right}.pend-total span{font-size:12px;color:var(--muted);display:block}.pend-total strong{font-size:28px;color:var(--danger);letter-spacing:-.6px}.pend-actions{display:grid;grid-template-columns:minmax(260px,420px) auto auto;gap:12px;margin:18px 0 24px}.pend-actions input{height:46px}.pend-list{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#101827;max-width:980px}.pend-row{display:grid;grid-template-columns:48px 1fr auto auto;gap:16px;align-items:center;padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(17,24,39,.72)}.pend-row:last-child{border-bottom:0}.pend-avatar{width:40px;height:40px;border-radius:999px;background:#f1f5f9;color:#0f172a;display:grid;place-items:center;font-weight:900}.pend-info b{display:block;color:#fff}.pend-info small{color:#93a4bd}.pend-money{text-align:right}.pend-money strong{display:block;color:#ff5d5d;font-size:20px}.pend-money span{font-size:11px;color:#cbd5e1}.pend-row button{background:transparent;color:#9fb2ce;border:0;font-weight:800}.empty-state{padding:24px;color:var(--muted)}
.profile-config{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.avatar-preview{width:74px;height:74px;border-radius:999px;background:linear-gradient(135deg,#1d4ed8,#7c3aed);display:grid;place-items:center;overflow:hidden;border:1px solid var(--line-2)}.avatar-preview:before{content:'👤';font-size:26px}.avatar-preview img{width:100%;height:100%;object-fit:cover;display:none}.profile-config input[type=file]{padding:12px;background:var(--surface-2)}
body.theme-light .top-icon, body.theme-light .avatar-btn{background:#fff;color:#111827;border-color:#d7deeb}body.theme-light .pend-list{background:#fff;border-color:#d9e0ea}body.theme-light .pend-row{background:#fff;border-color:#e3e7ef}body.theme-light .pend-info b{color:#111827}body.theme-light .pend-info small,body.theme-light .pend-money span{color:#667085}body.theme-light .mini-pill{background:#f3f4f6;color:#475467}body.theme-light .pend-actions button.white{background:#111827!important;color:#fff!important}.page#pendencias{max-width:1200px;margin:0 auto}.nav[data-page="pendencias"] .nav-ico{color:#f59e0b}
@media(max-width:900px){.pend-head{flex-direction:column}.pend-total{text-align:left}.pend-actions{grid-template-columns:1fr}.pend-row{grid-template-columns:44px 1fr}.pend-money{text-align:left}.scroll-arrows{right:10px}.top-icon{display:none}}

/* ===== v15: topo limpo, icones solidos e avatar por usuario ===== */
.topbar{gap:14px;align-items:center;}
.top-icon,.theme-icon,.avatar-btn{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--text)!important;height:38px;min-width:38px;width:38px;border-radius:999px;padding:0;display:grid;place-items:center;overflow:visible;}
.top-icon svg,.theme-icon svg{width:22px;height:22px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;opacity:.92;}
.top-icon:hover,.theme-icon:hover{background:rgba(255,255,255,.08)!important;transform:translateY(-1px)}
.top-icon small{top:-6px;right:-8px;background:#ef2222;color:#fff;border:2px solid var(--surface);font-size:10px;min-width:20px;height:20px;line-height:20px;font-weight:900;}
.theme-icon{font-size:0!important;}
.theme-icon::before{content:"";width:22px;height:22px;display:block;background:currentColor;mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M21 12.8A8.5 8.5 0 1 1 11.2 3a7 7 0 1 0 9.8 9.8Z"/></svg>') center/contain no-repeat;-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M21 12.8A8.5 8.5 0 1 1 11.2 3a7 7 0 1 0 9.8 9.8Z"/></svg>') center/contain no-repeat;}
body.theme-light .theme-icon::before{mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 18a6 6 0 1 0 0-12 6 6 0 0 0 0 12Zm0 6 1.5-4.5h-3L12 24ZM12 0 10.5 4.5h3L12 0ZM0 12l4.5 1.5v-3L0 12Zm24 0-4.5-1.5v3L24 12ZM4.2 4.2l2.1 4.2 2.1-2.1-4.2-2.1Zm15.6 15.6-4.2-2.1-2.1 2.1 4.2 2.1Zm0-15.6-4.2 2.1 2.1 2.1 2.1-4.2ZM4.2 19.8l4.2-2.1-2.1-2.1-2.1 4.2Z"/></svg>') center/contain no-repeat;-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 18a6 6 0 1 0 0-12 6 6 0 0 0 0 12Zm0 6 1.5-4.5h-3L12 24ZM12 0 10.5 4.5h3L12 0ZM0 12l4.5 1.5v-3L0 12Zm24 0-4.5-1.5v3L24 12ZM4.2 4.2l2.1 4.2 2.1-2.1-4.2-2.1Zm15.6 15.6-4.2-2.1-2.1 2.1 4.2 2.1Zm0-15.6-4.2 2.1 2.1 2.1 2.1-4.2ZM4.2 19.8l4.2-2.1-2.1-2.1-2.1 4.2Z"/></svg>') center/contain no-repeat;}
.avatar-btn{width:46px;height:46px;background:#0b1220!important;border:1px solid rgba(255,255,255,.15)!important;overflow:hidden;position:relative;box-shadow:0 8px 26px rgba(0,0,0,.25)!important;}
.avatar-btn:before{display:none!important;content:""!important}.avatar-btn img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;display:none;background:#0b1220}.avatar-btn #avatarFallback{position:absolute;inset:0;display:grid;place-items:center;font-weight:900;color:#fff;background:linear-gradient(135deg,#1e293b,#673de6);font-size:14px;letter-spacing:.3px}.avatar-btn img[style*="block"] ~ #avatarFallback{display:none!important;}
.avatar-preview{background:#0b1220!important;border:1px solid var(--line-2)!important;position:relative;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.avatar-preview:before{content:'UF';font-weight:900;color:#fff;background:linear-gradient(135deg,#1e293b,#673de6);width:100%;height:100%;display:grid;place-items:center;font-size:18px}.avatar-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover!important;background:#0b1220}.avatar-preview img[style*="block"]{display:block!important}.avatar-preview:has(img[style*="block"]):before{display:none;}
.nav .nav-ico{width:24px;height:24px;display:inline-grid;place-items:center;color:inherit}.nav .nav-ico svg{width:19px;height:19px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;opacity:.95}.nav[data-page="pendencias"] .nav-ico{color:#f59e0b!important}.nav.active .nav-ico{color:inherit!important}.nav:hover .nav-ico svg{transform:scale(1.05)}
body.theme-light .top-icon,body.theme-light .theme-icon{color:#111827!important}body.theme-light .avatar-btn{border-color:#d7deeb!important;background:#fff!important}
body.theme-light .top-icon:hover,body.theme-light .theme-icon:hover{background:#eef2ff!important}
@media print{*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}

/* ===== v16: Branding, Empresa, Relatorios e Permissoes ===== */
.nav[data-page="pendencias"] .nav-ico{color:inherit!important;}
.nav .nav-ico svg *{stroke:currentColor!important;}
.diamond.has-logo,.brand-mark.has-logo{background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;color:transparent!important;border-radius:12px;}
.config-tab{min-width:155px;}
.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;}
.settings-grid label,.report-options label,.user-form label{font-weight:800;color:var(--text);}
.settings-grid input,.report-options select{width:100%;margin-top:7px;}
.company-grid{margin-top:10px;}
.branding-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;}
.brand-card{border:1px solid var(--line);border-radius:18px;padding:18px;background:linear-gradient(180deg,var(--surface-2),var(--surface));box-shadow:var(--shadow);}
.brand-card h4{margin:12px 0 6px}.brand-card p{color:var(--muted);font-size:13px;line-height:1.45}.brand-card input{width:100%;}
.brand-preview{width:96px;height:96px;border-radius:22px;border:1px dashed var(--line-2);background:rgba(103,61,230,.12);background-size:contain;background-repeat:no-repeat;background-position:center;display:grid;place-items:center;}
.brand-preview:empty:before{content:'Logo';color:var(--muted);font-size:12px;font-weight:900}.brand-preview.small{width:74px;height:74px}.brand-preview.tiny{width:48px;height:48px;border-radius:12px}.brand-preview.small:empty:before{content:'128'}.brand-preview.tiny:empty:before{content:'32'}
.report-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;align-items:center;}
.report-options .elegant-check{margin-top:0!important;background:var(--surface-2);border:1px solid var(--line);border-radius:14px;padding:12px 14px;}
.rich-user-form{grid-template-columns:repeat(3,minmax(180px,1fr)) auto!important;}
.rich-user-form button{align-self:end;min-height:46px;}
.permission-hint{padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);color:var(--muted);font-size:13px;margin:12px 0 16px;}
.user-card{border:1px solid var(--line);border-radius:16px;background:var(--surface-2);padding:14px;margin-bottom:12px;}
.user-card-head{display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto;gap:10px;align-items:center;margin-bottom:12px;}
.user-card-head small{display:block;color:var(--muted);margin-top:4px;}
.perm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;}
.perm-chip{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:12px;color:var(--text);}
.perm-chip input{accent-color:#673de6;}
body.theme-light .brand-card,body.theme-light .user-card,body.theme-light .permission-hint,body.theme-light .perm-chip,body.theme-light .report-options .elegant-check{background:#f8fafc;border-color:#d9e0ea;color:#0f172a;}
body.theme-light .settings-grid label,body.theme-light .report-options label,body.theme-light .user-form label{color:#0f172a!important;}
body.theme-light .nav .nav-ico{color:inherit!important;}
@media(max-width:900px){.rich-user-form,.user-card-head{grid-template-columns:1fr!important}.report-options,.branding-grid,.settings-grid{grid-template-columns:1fr}.config-tab{min-width:130px}}

/* UnityFinance v7 - ajustes finais Lançamentos */
tbody td, .table-shell td, .pend-list, .list-item, input, select, button { font-weight: 400; }
thead th, .card strong, h1, h2, h3, h4, .badge, .nav { font-weight: 600; }
.table-shell { max-height: calc(100vh - 360px); overflow: auto; position: relative; }
.table-shell thead th { position: sticky; top: 0; z-index: 5; }
.action-menu { position: fixed !important; z-index: 99999 !important; max-height: min(420px, calc(100vh - 24px)); overflow:auto; }
.head-left{display:flex;align-items:center;gap:14px}.back-btn{min-width:88px}.extrato-content.hidden,.select-pane.hidden{display:none!important}.select-pane{min-height:calc(100vh - 120px);display:grid;place-items:start center;padding-top:48px}.select-card{width:min(520px,92vw);padding:28px;border:1px solid var(--border);border-radius:18px;background:var(--panel);box-shadow:0 22px 70px rgba(0,0,0,.22)}.deluxe-select-card h2{margin-bottom:6px}.deluxe-select-card label{display:block;margin-top:16px;margin-bottom:8px}.primary-wide{width:100%;margin-top:16px}.artist-home-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.artist-mini{border:1px solid var(--border);background:var(--panel-2);border-radius:999px;padding:9px 13px;color:var(--text);cursor:pointer}.artist-mini:hover{border-color:#7c3aed;transform:translateY(-1px)}.filters-bar .danger:last-child{background:#7f1d1d;border-color:#ef4444;color:#fff}.row-dots{min-width:34px}.status-menu-item{display:flex!important;align-items:center;gap:8px}.status-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.hidden-row{opacity:.58}.hidden-pill{margin-left:8px;padding:2px 7px;border-radius:999px;background:#334155;color:#fff;font-size:10px}.scroll-arrows{right:24px}.modal{z-index:9999}.modal-box{z-index:10000}.table-shell table td{font-weight:400!important}.table-shell table td:nth-child(2),.table-shell table td:nth-child(7),.table-shell table td:nth-child(8),.table-shell table td:nth-child(9){font-weight:500!important}
body.theme-light .artist-mini, body.theme-light .select-card{background:#fff;color:#0f172a;border-color:#d7deea} body.theme-light .table-shell td{font-weight:400!important;color:#0f172a} body.theme-light .action-menu{background:#fff;color:#0f172a;border-color:#d7deea}

/* v7.1 - correções de login, autofill e leitura da tabela */
.login-field{display:flex;align-items:center;gap:10px;overflow:hidden;box-sizing:border-box;}
.login-field input{width:100%;min-width:0;box-sizing:border-box;background:transparent!important;color:var(--text)!important;}
.login-field input:-webkit-autofill,
.login-field input:-webkit-autofill:hover,
.login-field input:-webkit-autofill:focus,
.login-field input:-webkit-autofill:active{
  -webkit-box-shadow:0 0 0 1000px var(--input-bg, #0b1118) inset!important;
  -webkit-text-fill-color:var(--text, #fff)!important;
  caret-color:var(--text, #fff)!important;
  border-radius:12px!important;
  transition:background-color 9999s ease-in-out 0s;
}
tbody td{font-weight:400!important;}
tbody td strong{font-weight:600!important;}
.badge{font-weight:600!important;}
.action-menu{max-height:min(420px,calc(100vh - 32px));overflow:auto;}

/* ===== v7.2 - refinamento de UX lancamentos ===== */
body{font-size:14px}.page{padding:clamp(24px,3vw,44px)}
.table-shell table td{font-weight:400!important}.table-shell table th{font-weight:700!important}.table-shell b:not(.logo b){font-weight:600}.table-shell .badge{font-weight:600!important}
.extrato-content .artist-picker{display:none!important}
.select-pane{min-height:calc(100vh - 94px);display:grid;place-items:center;padding:24px}.select-card.deluxe-select-card{width:min(520px,92vw);padding:28px;border-radius:24px;background:linear-gradient(145deg,rgba(17,24,39,.92),rgba(8,12,18,.98));border:1px solid rgba(148,163,184,.22);box-shadow:0 28px 70px rgba(0,0,0,.36)}
.select-card h2{font-size:26px;margin-bottom:8px}.select-card label{display:block;margin:18px 0 8px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em}.select-card input,.select-card select{width:100%;height:46px;border-radius:13px;background:#06090d;border:1px solid #2b3442;color:#fff;padding:0 14px}.artist-home-list{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 18px}.artist-home-list button,.artist-home-list .chip{border:1px solid var(--line);background:rgba(255,255,255,.05);color:var(--text);border-radius:999px;padding:8px 12px;font-weight:600}.primary-wide{width:100%;height:48px;border-radius:14px;font-weight:800}.page-head{align-items:center}.page-head h2{font-size:25px}.cards .card{min-height:92px}.card strong{font-size:24px}.filters-bar{grid-template-columns:minmax(220px,1fr) repeat(4,auto);gap:10px;padding:14px}.filters-bar .danger{background:rgba(239,68,68,.10)!important;border-color:rgba(239,68,68,.45)!important;color:#ff6b6b!important;box-shadow:none!important}.filters-bar .danger:hover{background:rgba(239,68,68,.18)!important}.filters-bar button{min-height:42px;padding:0 18px;border-radius:13px;font-weight:700}.sidebar{width:232px}.app{grid-template-columns:232px 1fr}.nav{height:46px;margin:6px 12px;border-radius:14px;font-weight:600}.nav-ico svg{stroke:currentColor;fill:none;stroke-width:1.8}.nav-ico{opacity:.92}.nav.active{box-shadow:none;background:rgba(255,255,255,.10)}.sidebar-toggle{left:184px!important;bottom:20px!important;width:30px!important;height:30px!important;border-radius:10px!important;background:rgba(255,255,255,.07)!important;color:var(--muted)!important;border:1px solid var(--line)!important;font-size:22px!important;line-height:1!important;box-shadow:none!important}.sidebar-toggle:hover{color:#fff!important;background:rgba(255,255,255,.13)!important}.app.sidebar-collapsed{grid-template-columns:64px 1fr}.app.sidebar-collapsed .sidebar{width:64px;transform:none;overflow:hidden}.app.sidebar-collapsed .sidebar .logo div:last-child,.app.sidebar-collapsed .nav-text{display:none}.app.sidebar-collapsed .sidebar-toggle{left:16px!important}.app.sidebar-collapsed .sidebar-toggle{transform:rotate(180deg)}.app.sidebar-collapsed .nav{justify-content:center;margin:6px 8px;padding:0}.app.sidebar-collapsed .nav-ico{margin:0}.action-menu{max-height:min(360px,70vh);overflow:auto;border-radius:14px}.action-menu button{font-weight:500}.row-dots{font-size:18px;letter-spacing:1px}.status-btn{font-weight:600!important}
@media(max-width:980px){.filters-bar{grid-template-columns:1fr 1fr}.filters-bar input{grid-column:1/-1}.app{grid-template-columns:70px 1fr}.sidebar{width:70px}.sidebar .logo div:last-child,.nav-text{display:none}.nav{justify-content:center;margin:6px 8px}.sidebar-toggle{left:18px!important}}
body.theme-light .select-card.deluxe-select-card{background:#fff;border-color:#d8e0ec;box-shadow:0 24px 60px rgba(15,23,42,.12)}body.theme-light .select-card input,body.theme-light .select-card select{background:#fff;color:#0f172a;border-color:#d8e0ec}body.theme-light .artist-home-list button,body.theme-light .artist-home-list .chip{background:#f8fafc;color:#0f172a}

/* ===== v7.3 - forca cache novo, login refinado e UX lancamentos ===== */
.login-page{
  background:
    radial-gradient(circle at 50% 0%, rgba(74,144,255,.18), transparent 36%),
    radial-gradient(circle at 20% 15%, rgba(103,61,230,.10), transparent 28%),
    #020407 !important;
}
.login-card{
  width:min(380px,calc(100vw - 40px)) !important;
  padding:34px 34px 32px !important;
  border-radius:24px !important;
  background:linear-gradient(180deg,#131c2a,#0b111b 70%,#080d14) !important;
  border:1px solid rgba(148,163,184,.28) !important;
  box-shadow:0 26px 90px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.055) !important;
}
.login-card h1{font-size:28px !important;letter-spacing:-.04em !important;margin:18px 0 6px !important;}
.login-card p{font-size:14px !important;color:#b7c4d7 !important;margin-bottom:26px !important;}
.login-card label{font-size:12px !important;color:#e7edf7 !important;font-weight:700 !important;margin:15px 0 7px !important;}
.login-card .brand-mark{
  width:42px !important;height:42px !important;border-radius:16px !important;
  background:linear-gradient(135deg,#3b82f6,#6d5dfc) !important;
  box-shadow:0 16px 38px rgba(79,70,229,.35) !important;
  color:transparent !important;position:relative !important;
}
.login-card .brand-mark:after{content:"";width:8px;height:8px;border-radius:2px;background:#fff;position:absolute;inset:0;margin:auto;}
.login-field{
  height:46px !important;
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 0 16px !important;
  padding:0 14px !important;
  box-sizing:border-box !important;
  background:#070c13 !important;
  border:1px solid #273244 !important;
  border-radius:14px !important;
  overflow:hidden !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025) !important;
}
.login-field:focus-within{border-color:#5b7cfa !important;box-shadow:0 0 0 3px rgba(91,124,250,.16) !important;}
.login-field span{flex:0 0 18px !important;color:#9bb6ff !important;opacity:1 !important;display:grid !important;place-items:center !important;}
.login-field input,
.login-field input:focus,
.login-field input:hover{
  height:44px !important;
  line-height:44px !important;
  flex:1 1 auto !important;
  width:100% !important;
  min-width:0 !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  color:#f8fafc !important;
  box-shadow:none !important;
  border-radius:0 !important;
  font-size:14px !important;
  font-weight:500 !important;
  caret-color:#fff !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}
.login-field input::placeholder{color:#718096 !important;}
.login-field input:-webkit-autofill,
.login-field input:-webkit-autofill:hover,
.login-field input:-webkit-autofill:focus,
.login-field input:-webkit-autofill:active{
  -webkit-text-fill-color:#f8fafc !important;
  caret-color:#f8fafc !important;
  -webkit-box-shadow:0 0 0 1000px #070c13 inset !important;
  box-shadow:0 0 0 1000px #070c13 inset !important;
  border:0 !important;
  border-radius:0 !important;
  transition:background-color 999999s ease-in-out 0s !important;
}
.login-card button#loginButton{
  height:48px !important;margin-top:4px !important;border-radius:14px !important;
  background:#f8fafc !important;color:#080d14 !important;font-weight:800 !important;
  border:0 !important;box-shadow:0 12px 30px rgba(255,255,255,.06) !important;
}
.login-card button#loginButton:hover{transform:translateY(-1px);filter:brightness(.98)}
.login-card button#loginButton:active{transform:scale(.985)!important;}
.login-msg{font-size:12px !important;margin-top:14px !important;min-height:18px !important;}
body.theme-light .login-page{background:#eef3fb !important;}
body.theme-light .login-card{background:#fff !important;border-color:#d9e3f0 !important;}
body.theme-light .login-card h1,body.theme-light .login-card label{color:#111827 !important;}
body.theme-light .login-card p{color:#64748b !important;}
body.theme-light .login-field{background:#f8fafc !important;border-color:#cfd8e6 !important;}
body.theme-light .login-field input{color:#111827 !important;}
body.theme-light .login-field input:-webkit-autofill{ -webkit-text-fill-color:#111827 !important; -webkit-box-shadow:0 0 0 1000px #f8fafc inset !important; box-shadow:0 0 0 1000px #f8fafc inset !important;}
body.theme-light .login-card button#loginButton{background:#673de6 !important;color:#fff !important;}

/* Remove seletor duplicado dentro do extrato; seleção fica só na pré-página */
.extrato-content .artist-picker{display:none !important;}

/* Refinamento da pré-página de artista */
.select-pane{min-height:calc(100vh - 74px) !important;display:flex !important;align-items:center !important;justify-content:center !important;padding:32px !important;}
.select-card.deluxe-select-card{
  width:min(460px,92vw) !important;
  background:linear-gradient(180deg,rgba(15,23,42,.92),rgba(6,10,16,.96)) !important;
  border:1px solid rgba(148,163,184,.22) !important;
  border-radius:24px !important;
  box-shadow:0 25px 90px rgba(0,0,0,.42) !important;
  padding:30px !important;
}
.select-card h2{font-size:25px !important;letter-spacing:-.04em !important;}
.select-card input,.select-card select{height:46px !important;border-radius:14px !important;font-weight:500 !important;}
.primary-wide{height:48px !important;border-radius:14px !important;}

/* Sidebar mais discreto */
.sidebar{width:220px !important;background:linear-gradient(180deg,#101722,#080d14) !important;}
.app{grid-template-columns:220px 1fr !important;}
.nav{height:44px !important;margin:7px 12px !important;border-radius:14px !important;font-weight:600 !important;color:#cbd5e1 !important;}
.nav.active{background:rgba(255,255,255,.12) !important;border-color:rgba(255,255,255,.18) !important;color:#fff !important;box-shadow:none !important;}
.nav-ico{width:20px;height:20px;display:grid;place-items:center;color:currentColor !important;}
.nav-ico svg{width:18px;height:18px;stroke:currentColor !important;fill:none !important;stroke-width:1.85 !important;}
.sidebar-toggle{position:fixed !important;left:186px !important;bottom:22px !important;width:28px !important;height:28px !important;border-radius:10px !important;background:rgba(255,255,255,.06) !important;color:#cbd5e1 !important;border:1px solid rgba(255,255,255,.12) !important;font-size:0 !important;box-shadow:none !important;z-index:30 !important;}
.sidebar-toggle:before{content:'‹';font-size:24px;line-height:1;display:block;margin-top:-1px;}
.sidebar-toggle:hover{background:rgba(255,255,255,.12) !important;color:#fff !important;}
.app.sidebar-collapsed{grid-template-columns:64px 1fr !important;}
.app.sidebar-collapsed .sidebar{width:64px !important;}
.app.sidebar-collapsed .logo div:last-child,.app.sidebar-collapsed .nav-text{display:none !important;}
.app.sidebar-collapsed .sidebar-toggle{left:18px !important;}
.app.sidebar-collapsed .sidebar-toggle:before{content:'›';}
.app.sidebar-collapsed .nav{justify-content:center !important;padding:0 !important;margin:7px 10px !important;}

/* Botoes de risco mais discretos */
.filters-bar .danger{background:rgba(239,68,68,.08) !important;border:1px solid rgba(239,68,68,.34) !important;color:#ff6b6b !important;box-shadow:none !important;}
.filters-bar .danger:hover{background:rgba(239,68,68,.14) !important;border-color:rgba(239,68,68,.55) !important;}
.filters-bar button{font-weight:650 !important;}

/* Menus sempre visiveis */
.action-menu,.status-menu{position:fixed !important;z-index:20000 !important;max-height:min(360px,calc(100vh - 24px)) !important;overflow:auto !important;}

/* Fonte de dados normal, sem peso antigo */
.table-shell tbody td{font-weight:400 !important;}
.table-shell tbody td strong,.table-shell tbody td b{font-weight:500 !important;}
.table-shell thead th{font-weight:650 !important;}

/* ===== v7.4 - polimento visual, PDF direto e simulação de acerto deluxe ===== */
:root{--uf-accent:#6366f1;--uf-accent2:#7c3aed;--uf-blue:#2563eb;}
body{font-size:14px;} .page{max-width:1280px;margin:0 auto;padding-top:42px!important}.workspace{min-width:0}.topbar{height:62px}.page-head{margin-bottom:24px}.page-head h2{font-size:25px;letter-spacing:-.02em}.muted{font-weight:400!important}.artist-picker{display:none!important}.cards{gap:16px}.card{min-height:84px;padding:18px 20px}.card span{font-size:13px}.card strong{font-size:23px}.filters-bar{border-radius:16px;padding:12px!important;gap:10px!important}.filters-bar input{height:42px}.filters-bar button{height:42px;min-height:42px;border-radius:12px;font-size:13px;font-weight:650!important;white-space:nowrap}.filters-bar .danger{background:rgba(239,68,68,.06)!important;border-color:rgba(239,68,68,.38)!important;color:#ff7070!important}.filters-bar .danger:hover{background:rgba(239,68,68,.12)!important;border-color:rgba(239,68,68,.7)!important}.table-shell{border-radius:16px}.table-shell table{font-size:13px}.table-shell th{font-size:12px;letter-spacing:.01em}.table-shell td{font-weight:400!important}.table-shell td:nth-child(2){color:#93a4bb;font-weight:400!important}.table-shell td:nth-child(7),.table-shell td:nth-child(8),.table-shell td:nth-child(9){font-weight:550!important}.badge{font-weight:650!important;box-shadow:none!important}.fab{width:52px;height:52px;font-size:24px;box-shadow:0 18px 40px rgba(0,0,0,.32)}

/* Sidebar moderna e discreta */
.sidebar{width:220px!important;background:linear-gradient(180deg,#141a23,#0b1017)!important;border-right:1px solid rgba(148,163,184,.14)!important}.app{grid-template-columns:220px 1fr!important}.logo{height:86px!important;padding:16px 18px!important}.logo .diamond{box-shadow:0 8px 22px rgba(99,102,241,.28)}.nav{height:44px!important;margin:5px 12px!important;padding:0 16px!important;border:1px solid transparent!important;border-radius:13px!important;background:transparent!important;color:#cbd5e1!important;font-weight:550!important;gap:12px!important}.nav:hover{background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.10)!important;color:#fff!important}.nav.active{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important;box-shadow:none!important}.nav-ico{opacity:.85}.nav-ico svg{width:18px!important;height:18px!important;stroke-width:1.9!important}.sidebar .nav[data-page="config"]{margin-top:auto!important;margin-bottom:62px!important}.sidebar-toggle{left:184px!important;bottom:18px!important;width:30px!important;height:30px!important;border-radius:9px!important;background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.12)!important;color:#94a3b8!important;box-shadow:none!important;font-size:0!important}.sidebar-toggle:before{content:'‹';font-size:23px;line-height:1;display:block;margin-top:-2px}.sidebar-toggle:hover{color:#fff!important;background:rgba(255,255,255,.11)!important}.app.sidebar-collapsed{grid-template-columns:64px 1fr!important}.app.sidebar-collapsed .sidebar{width:64px!important;transform:none!important}.app.sidebar-collapsed .logo{height:72px!important;padding:12px!important;justify-content:center}.app.sidebar-collapsed .logo div:last-child,.app.sidebar-collapsed .nav-text{display:none!important}.app.sidebar-collapsed .nav{justify-content:center!important;padding:0!important;margin:6px 10px!important}.app.sidebar-collapsed .sidebar-toggle{left:18px!important}.app.sidebar-collapsed .sidebar-toggle:before{content:'›'}

/* Tela de seleção de artista */
.select-pane{min-height:calc(100vh - 70px)!important;align-items:center!important;justify-content:center!important;padding:24px!important}.select-card.deluxe-select-card{width:min(460px,92vw)!important;padding:30px!important;border-radius:24px!important;background:linear-gradient(145deg,rgba(17,24,39,.96),rgba(6,10,15,.99))!important;border:1px solid rgba(148,163,184,.18)!important;box-shadow:0 28px 75px rgba(0,0,0,.34)!important}.select-card h2{font-size:25px!important}.select-card input,.select-card select{height:44px!important;border-radius:12px!important}.artist-home-list{margin:14px 0!important}.artist-mini{font-size:13px;font-weight:600;background:rgba(99,102,241,.10)!important;border-color:rgba(99,102,241,.20)!important}.primary-wide{height:46px!important;border-radius:14px!important;background:linear-gradient(135deg,#f8fafc,#dbe4ef)!important;color:#020617!important}

/* PDF direto: botão continua visual */
.filters-bar button:first-of-type{min-width:118px}

/* Simulação de acerto deluxe */
#acertoModal .modal-box.mid{width:min(720px,94vw)!important;border-radius:22px!important;padding:22px!important;background:linear-gradient(150deg,rgba(17,24,39,.97),rgba(6,10,16,.99))!important;border:1px solid rgba(148,163,184,.24)!important;box-shadow:0 32px 100px rgba(0,0,0,.55)!important}#acertoModal h3{font-size:22px;margin-bottom:8px}#acertoModal .muted{font-size:13px}.status-filter-row{display:flex;gap:12px;margin:16px 0 14px!important}.pill-check.acerto-status-pill{position:relative;display:inline-flex;align-items:center;gap:8px;padding:0!important}.pill-check.acerto-status-pill input{position:absolute;opacity:0;pointer-events:none}.pill-check.acerto-status-pill span{display:inline-flex;align-items:center;gap:9px;height:54px;padding:0 22px;border:1px solid rgba(148,163,184,.23);border-radius:999px;background:#111827;color:#f8fafc;font-weight:800;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.pill-check.acerto-status-pill span:before{content:'';width:13px;height:13px;border-radius:3px;background:#fff;border:1px solid rgba(255,255,255,.38);box-shadow:0 0 0 1px rgba(0,0,0,.15)}.pill-check.acerto-status-pill input:checked+span{background:linear-gradient(135deg,rgba(37,99,235,.28),rgba(99,102,241,.22));border-color:rgba(99,102,241,.65)}.pill-check.acerto-status-pill input:checked+span:before{background:#38bdf8;border-color:#38bdf8;box-shadow:inset 0 0 0 3px #0f172a}.acerto-resumo{background:#111827!important;border:1px solid rgba(148,163,184,.22)!important;border-radius:16px!important;padding:18px!important}.acerto-resumo b{font-size:20px!important}.elegant-check.compact{margin:14px 0!important}.elegant-check.compact span{width:42px!important;height:24px!important;border-radius:999px!important;background:#020617!important;border:1px solid rgba(255,255,255,.20)!important;position:relative}.elegant-check.compact span:after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.18s}.elegant-check.compact input:checked+span{background:#2563eb!important}.elegant-check.compact input:checked+span:after{transform:translateX(18px)}.elegant-check.compact b{font-weight:800}.acerto-list{max-height:230px;overflow:auto;border:1px solid rgba(148,163,184,.18);border-radius:14px;background:rgba(255,255,255,.025);padding:7px}.acerto-row-deluxe{grid-template-columns:26px 1fr auto!important;margin:6px 0!important;padding:12px 14px!important;border-radius:12px!important;background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.16)!important}.acerto-row-deluxe input{width:16px;height:16px;accent-color:#38bdf8}.acerto-row-deluxe small{color:#9ca3af;line-height:1.35}.acerto-actions{border-top:1px solid rgba(148,163,184,.18);padding-top:16px;margin-top:16px!important}.acerto-actions input,.acerto-actions select{height:44px;border-radius:12px}.acerto-actions button{height:44px}.empty-acerto{padding:14px;margin:0}

/* Login autofill refinado */
.login-card{width:min(390px,92vw)!important}.login-field{height:46px!important;border-radius:13px!important;padding:0 13px!important;background:#050a10!important}.login-field input{height:44px!important;line-height:44px!important;padding:0!important;border:0!important;outline:0!important}.login-field input:-webkit-autofill,.login-field input:-webkit-autofill:hover,.login-field input:-webkit-autofill:focus{-webkit-text-fill-color:#f8fafc!important;-webkit-box-shadow:0 0 0 1000px #050a10 inset!important;box-shadow:0 0 0 1000px #050a10 inset!important;border-radius:0!important;transition:background-color 9999s ease-out 0s!important}

@media(max-width:980px){.app{grid-template-columns:64px 1fr!important}.sidebar{width:64px!important}.sidebar .logo div:last-child,.nav-text{display:none!important}.nav{justify-content:center!important;padding:0!important;margin:6px 10px!important}.sidebar-toggle{left:18px!important}.page{padding:24px!important}.filters-bar{grid-template-columns:1fr 1fr!important}.filters-bar input{grid-column:1/-1!important}.cards{grid-template-columns:1fr!important}}


/* v7.5 - polimento final do módulo Lançamentos */
.hidden-perm{display:none!important}
body{font-size:14px!important}.page{max-width:1280px;margin:0 auto}.nav-ico svg{stroke:currentColor!important;fill:none!important;stroke-linecap:round;stroke-linejoin:round}.nav{font-weight:550!important}.nav.active .nav-ico{color:inherit!important}.sidebar-toggle{position:absolute!important;left:auto!important;right:14px!important;bottom:18px!important}.app.sidebar-collapsed .sidebar-toggle{right:17px!important;left:auto!important}.filters-bar .subtle-danger{background:rgba(239,68,68,.08)!important;border-color:rgba(239,68,68,.28)!important;color:#fb7185!important;box-shadow:none!important}.filters-bar .subtle-danger:hover{background:rgba(239,68,68,.14)!important;border-color:rgba(239,68,68,.42)!important}.select-pane{place-items:start center!important;padding-top:34px!important;min-height:calc(100vh - 70px)!important}.select-card.deluxe-select-card{width:min(430px,90vw)!important;padding:26px!important}.select-card h2{font-size:24px!important;color:var(--text)!important}.select-card p,.select-card label{color:var(--muted)!important}.select-card input,.select-card select{height:42px!important}.theme-light .select-card.deluxe-select-card{background:linear-gradient(145deg,#f8fafc,#ffffff)!important;color:#0f172a!important}.theme-light .select-card h2{color:#0f172a!important}.theme-light .select-card p,.theme-light .select-card label{color:#475569!important}.theme-light .select-card input,.theme-light .select-card select{background:#fff!important;color:#0f172a!important;border-color:#cbd5e1!important}.theme-light .primary-wide{background:#673de6!important;color:#fff!important}.modal-box.large{width:min(760px,92vw)!important;max-height:calc(100vh - 56px)!important;border-radius:20px!important;padding:20px 20px 0!important;overflow:auto!important}.modal-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}.modal .panel{padding:16px!important;border-radius:14px!important;margin-bottom:12px!important}.modal h3{font-size:18px!important;margin:0 0 14px!important}.modal h4{font-size:14px!important;margin-bottom:12px!important}.modal label{font-size:12px!important;margin-top:10px!important}.modal input,.modal select{height:36px!important;border-radius:10px!important;font-size:13px!important}.modal .two{gap:10px!important}.switch-row{height:44px!important;padding:0 12px!important}.percent-box{padding:12px!important}.summary{min-height:112px!important}.modal footer{position:sticky!important;bottom:0!important;background:linear-gradient(180deg,rgba(15,23,42,.84),rgba(8,12,18,.98))!important;border-top:1px solid var(--line)!important;margin:8px -20px 0!important;padding:14px 20px!important;border-radius:0 0 20px 20px!important}.theme-light .modal footer{background:linear-gradient(180deg,rgba(255,255,255,.86),#fff)!important}.theme-light .modal-box{background:#f8fafc!important;color:#0f172a!important}.theme-light .modal .panel{background:#fff!important;border-color:#d8e0ec!important}.theme-light .modal label,.theme-light .modal h3,.theme-light .modal h4{color:#0f172a!important}.theme-light .modal input,.theme-light .modal select{background:#fff!important;color:#0f172a!important;border-color:#cbd5e1!important}.theme-light .summary span{color:#475569!important}
#acertoModal .modal-box.mid{width:min(720px,92vw)!important;border-radius:20px!important;padding:24px!important} .status-filter-row{display:flex!important;gap:12px!important;flex-wrap:wrap!important;margin:18px 0 14px!important}.acerto-status-card{display:flex;align-items:center;gap:10px;min-width:130px;padding:16px 20px;border:1px solid rgba(148,163,184,.20);border-radius:999px;background:#111827;color:#fff;font-weight:800;cursor:pointer}.acerto-status-card input{accent-color:#22d3ee}.acerto-resumo{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:0!important;background:#101827!important;border:1px solid rgba(148,163,184,.18)!important;border-radius:16px!important;padding:16px!important}.acerto-resumo span{text-align:center;color:#94a3b8}.acerto-resumo b{display:block;margin-top:8px;font-size:20px;color:#ff4d5e!important}.acerto-row-deluxe{display:grid!important;grid-template-columns:auto 130px 1fr auto!important;gap:14px!important;align-items:center!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:12px!important;background:rgba(255,255,255,.05)!important;padding:12px!important}.acerto-row-main small,.acerto-row-desc small{display:block;color:#94a3b8;margin-top:3px}.acerto-actions{display:flex!important;gap:10px!important;justify-content:flex-end!important;align-items:center!important;margin-top:14px!important}.acerto-actions input,.acerto-actions select{height:42px!important;width:auto!important}.table-shell table td{font-weight:400!important}.table-shell table td b,.table-shell table .badge{font-weight:600!important}
@media(max-width:850px){.modal-grid{grid-template-columns:1fr!important}.modal-box.large{width:94vw!important}.acerto-resumo{grid-template-columns:1fr!important;gap:10px!important}.acerto-row-deluxe{grid-template-columns:auto 1fr auto!important}.acerto-row-desc{grid-column:2/4}}


/* ============================== CONTRATOS ============================== */
.contracts-page{max-width:1560px}.contracts-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.contracts-head h2{margin:0;font-size:24px}.contracts-top-actions{display:flex;gap:8px;flex-wrap:wrap}.contracts-top-actions button,.contracts-filters button{height:38px;padding:0 16px;border-radius:10px}.contracts-filters{position:relative;margin-bottom:16px;padding:20px}.filter-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.filter-title button{background:transparent;border:0;color:var(--muted);height:auto;padding:0}.contracts-filter-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:14px}.contracts-filter-grid label{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:7px}.contracts-filter-grid input,.contracts-filter-grid select{height:40px}.search-contracts{float:right;margin-top:12px}.contracts-table-shell{max-height:58vh;overflow:auto}.contracts-table{min-width:1320px}.contracts-table th{position:sticky;top:0;z-index:2}.contracts-table td,.contracts-table th{font-size:12px;font-weight:500;white-space:nowrap}.contracts-table td:nth-child(7),.contracts-table td:nth-child(8){max-width:220px;overflow:hidden;text-overflow:ellipsis}.cell-copy{background:transparent;border:0;padding:0;color:inherit;text-align:left;cursor:pointer;font:inherit;max-width:220px;overflow:hidden;text-overflow:ellipsis}.cell-copy:hover{text-decoration:underline}.two-lines{display:flex;flex-direction:column}.two-lines small{font-size:10px;color:var(--muted)}.tag{border:0;border-radius:999px;padding:5px 11px;color:#fff;font-size:11px;font-weight:800;min-width:78px}.tag-pending{background:#2563eb}.tag-signed{background:#16a34a}.tag-late{background:#f43f5e;color:#fff}.tag-cancel{background:#64748b}.tag-sent{background:#7c3aed}.tag-wait{background:#f59e0b}.mini-link{border-radius:999px;padding:5px 10px;height:28px;background:rgba(255,255,255,.03);border:1px dashed var(--border);font-size:11px}.mini-link.added{border-style:solid;background:rgba(255,255,255,.08)}.row-actions{display:flex;gap:5px;align-items:center}.row-actions button{height:26px;width:26px;padding:0;border-radius:8px;background:transparent;border:1px solid transparent;color:var(--muted)}.row-actions button:hover{border-color:var(--border);color:var(--text)}.contracts-foot{padding:10px 14px;color:var(--muted);font-size:12px}.contrato-box{max-width:620px}.modal-title-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.modal-title-row h3{margin:0 0 6px}.link-btn{background:transparent;border:0;color:var(--muted);height:auto;padding:0}.contrato-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.contrato-form-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--text);font-weight:700}.contrato-form-grid .full{grid-column:1/-1}.input-with-action{display:flex;gap:8px}.input-with-action input{flex:1}.input-with-action button{width:42px;padding:0}.quick-msg-box{max-width:420px}.quick-msg-box textarea{width:100%;height:230px;border-radius:14px;background:var(--input);border:1px solid var(--border);color:var(--text);padding:14px;resize:none;line-height:1.45}.contracts-actions-menu{min-width:210px}.empty-row{text-align:center;color:var(--muted);padding:30px!important}@media(max-width:900px){.contracts-filter-grid{grid-template-columns:1fr}.contracts-head{flex-direction:column}.contrato-form-grid{grid-template-columns:1fr}}


/* ===== v9 contratos + artistas + tipos ===== */
.nav-ico svg{stroke-width:1.8;opacity:.95}.nav.active .nav-ico svg{stroke:#fff}.nav-ico svg{stroke:currentColor}
#contracts .filters-grid{grid-template-columns:repeat(4,minmax(180px,1fr));gap:14px}.contracts-table-wrap{overflow:auto}.contracts-table-wrap table{min-width:1380px}.row-actions{white-space:nowrap}.contracts-actions-menu,.quick-status-pop{z-index:9999!important}.quick-status-pop .filter-title{padding:12px 14px;color:var(--muted);font-weight:900}
.config-tabs{scrollbar-width:thin}.tipo-config-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;margin-top:10px;background:color-mix(in srgb,var(--panel-2) 74%,transparent)}
.artist-rich-list{display:grid;gap:12px}.artist-rich-row{display:grid;grid-template-columns:52px 1fr auto;gap:14px;align-items:center;border:1px solid var(--line);border-radius:16px;background:linear-gradient(180deg,var(--surface-2),var(--surface));padding:14px 16px}.avatar-mini{width:42px;height:42px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary-2),var(--primary));font-weight:900;color:#fff}.artist-rich-row small{display:block;color:var(--muted);margin-top:4px}.artist-rich-actions{display:flex;gap:10px}.artist-profile-box{width:min(620px,94vw)}.artist-contract-block{border:1px solid var(--line);border-radius:16px;background:var(--surface-2);padding:16px;margin:12px 0 18px}.radio-row{display:flex;gap:20px;margin:10px 0 14px}.radio-row label{display:flex!important;align-items:center;gap:8px;margin:0!important}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.artist-profile-box input,.artist-profile-box select{width:100%}
body.theme-light .select-card, body.theme-light #artistSelectPane .select-card{background:#111827;color:#fff}body.theme-light #artistSelectPane input,body.theme-light #artistSelectPane select{background:#fff;color:#111827;border-color:#d5ddeb}body.theme-light #artistSelectPane h2{color:#fff}body.theme-light #artistSelectPane .muted{color:#b8c2d1}
@media(max-width:1100px){#contracts .filters-grid{grid-template-columns:1fr 1fr}.three{grid-template-columns:1fr}.artist-rich-row{grid-template-columns:42px 1fr}.artist-rich-actions{grid-column:1/-1}}

/* v9.1 - Página Artistas completa */
.artists-module-page{max-width:1280px;margin:0 auto;padding-top:34px}.artists-head{align-items:flex-start}.rich-filter-row{display:flex;gap:12px;align-items:center;margin:18px 0 18px}.rich-filter-row input{flex:1;min-height:48px}.rich-filter-row button{min-height:48px}.artist-rich-row.advanced{grid-template-columns:52px minmax(190px,1.4fr) minmax(260px,1.3fr) minmax(180px,1fr) auto}.artist-main-info{display:grid;gap:4px}.artist-pill{display:inline-flex;width:max-content;border:1px solid var(--line);border-radius:999px;padding:3px 9px;font-size:12px;color:var(--muted);background:var(--surface)}.artist-commissions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.artist-commissions span{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:8px 10px;color:var(--muted);font-size:12px}.artist-commissions b{color:var(--text)}.artist-socio{display:grid;gap:3px}.artist-socio small{margin:0}.empty-state{display:flex;justify-content:space-between;align-items:center}.artist-profile-box{width:min(720px,94vw);max-height:90vh;overflow:auto}.artist-profile-box h4{margin:20px 0 10px}.artist-profile-box .modal-title-row{margin-bottom:14px}.artist-contract-block b{display:inline-flex;margin-bottom:10px}.artist-contract-block label,.artist-profile-box label{font-weight:600;color:var(--text)}.artist-profile-box input,.artist-profile-box select{min-height:42px}.artist-profile-box footer{position:sticky;bottom:0;background:linear-gradient(180deg,transparent,var(--surface) 32%);padding-top:18px}.config-tabs{scrollbar-width:thin}.sidebar .nav[data-page="artistas"] svg{stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.sidebar .nav svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}@media(max-width:1180px){.artist-rich-row.advanced{grid-template-columns:52px 1fr}.artist-commissions,.artist-socio,.artist-rich-actions{grid-column:2/-1}.artist-rich-actions{justify-content:flex-start}}@media(max-width:760px){.rich-filter-row{flex-direction:column;align-items:stretch}.artist-commissions{grid-template-columns:1fr}.artist-profile-box .two,.artist-profile-box .three{grid-template-columns:1fr}}

/* ===== v10 ajustes UX ===== */
.contracts-table{min-width:0!important;width:100%!important;table-layout:fixed!important}
.contracts-table td,.contracts-table th{font-size:11px!important;padding:10px 8px!important;white-space:normal!important;line-height:1.25!important}
.contracts-table th:nth-child(1),.contracts-table td:nth-child(1){width:28px}.contracts-table th:nth-child(2),.contracts-table td:nth-child(2){width:45px}.contracts-table th:nth-child(3),.contracts-table td:nth-child(3){width:45px}.contracts-table th:nth-child(4),.contracts-table td:nth-child(4){width:74px}.contracts-table th:nth-child(5),.contracts-table td:nth-child(5){width:120px}.contracts-table th:nth-child(6),.contracts-table td:nth-child(6){width:78px}.contracts-table th:nth-child(7),.contracts-table td:nth-child(7){width:190px}.contracts-table th:nth-child(8),.contracts-table td:nth-child(8){width:175px}.contracts-table th:nth-child(9),.contracts-table td:nth-child(9){width:112px}.contracts-table th:nth-child(10),.contracts-table td:nth-child(10){width:92px}.contracts-table th:nth-child(11),.contracts-table td:nth-child(11){width:90px}.contracts-table th:nth-child(12),.contracts-table td:nth-child(12){width:116px}.contracts-table th:nth-child(13),.contracts-table td:nth-child(13){width:104px}.contracts-table-shell{overflow-x:hidden!important}.cell-copy{max-width:100%!important;white-space:normal!important}.row-actions{gap:3px!important}.row-actions button{width:22px!important;height:22px!important;font-size:12px!important}.tag{min-width:72px!important;padding:5px 8px!important;font-size:10px!important}.mini-link{font-size:10px!important;padding:4px 8px!important}

.period-custom{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(180px,260px));gap:12px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}.period-custom.hidden{display:none!important}.period-custom label{display:flex;flex-direction:column;gap:6px!important;color:var(--muted)!important}

.config-tabs{display:flex!important;gap:8px!important;padding:10px!important;overflow-x:auto!important;border-radius:18px!important;background:linear-gradient(180deg,#111827,#0b1220)!important;border:1px solid rgba(148,163,184,.22)!important;box-shadow:0 22px 60px rgba(0,0,0,.25)!important}.config-tab{min-width:132px!important;height:58px!important;border-radius:14px!important;background:transparent!important;border:1px solid transparent!important;color:#cbd5e1!important;font-weight:800!important}.config-tab:hover{border-color:rgba(148,163,184,.36)!important;background:rgba(255,255,255,.05)!important}.config-tab.active{color:#fff!important;background:linear-gradient(135deg,rgba(124,58,237,.50),rgba(37,99,235,.22))!important;border-color:rgba(124,58,237,.58)!important;box-shadow:0 12px 32px rgba(124,58,237,.20)!important}
body.light .config-tabs{background:#fff!important;border-color:#dbe5f2!important}.light .config-tab{color:#475569!important}.light .config-tab.active{color:#fff!important;background:linear-gradient(135deg,#7c3aed,#2563eb)!important}

.quick-status-pop{min-width:240px!important;padding:8px!important;border-radius:16px!important;background:linear-gradient(180deg,var(--panel),var(--surface))!important;border:1px solid var(--line)!important;box-shadow:0 24px 80px rgba(0,0,0,.5)!important}.quick-status-pop .status-menu-item{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;border-radius:12px!important;padding:11px 12px!important}.status-dot{width:11px;height:11px;border-radius:999px;box-shadow:0 0 0 3px rgba(255,255,255,.08)}

.artist-contract-block .radio-row label{display:inline-flex!important;align-items:center!important;gap:9px!important;padding:10px 14px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--surface)!important}.artist-contract-block input[type="checkbox"],.artist-contract-block input[type="radio"]{width:16px!important;height:16px!important;accent-color:#7c3aed!important}.artist-profile-box{width:min(620px,92vw)!important}.artist-profile-box .modal-title-row{padding-bottom:4px!important}.artist-profile-box h4{font-size:14px!important;color:var(--muted)!important;text-transform:uppercase;letter-spacing:.04em}.artist-profile-box .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.artist-profile-box .three{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}

#acertoModal .modal-box.mid{width:min(680px,92vw)!important}.acerto-status-card{border-radius:16px!important;min-width:126px!important;height:52px!important;padding:0 16px!important;background:linear-gradient(180deg,#111827,#0b1220)!important;border:1px solid rgba(148,163,184,.25)!important;box-shadow:none!important}.acerto-status-card input{width:15px!important;height:15px!important;accent-color:#22d3ee!important}.acerto-status-card:hover{border-color:rgba(34,211,238,.45)!important}.acerto-status-card:has(input:checked){border-color:#22d3ee!important;background:linear-gradient(135deg,rgba(34,211,238,.18),rgba(37,99,235,.20))!important}

#artistSelectPane{margin-top:18px!important;transform:translateY(-28px)}#artistSelectPane .artist-select-card{background:linear-gradient(150deg,var(--panel),var(--surface))!important;border:1px solid var(--line)!important;box-shadow:0 26px 80px rgba(0,0,0,.28)!important}.light #artistSelectPane .artist-select-card{background:#fff!important;color:#0f172a!important}.light #artistSelectPane .artist-select-card h3,.light #artistSelectPane .artist-select-card p,.light #artistSelectPane .artist-select-card label{color:#0f172a!important}

/* v10.1 - Configurações em grade deluxe e Simular Acerto refinado */
.config-hub{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(116px,1fr));
  gap:10px!important;
  padding:12px!important;
  margin:22px 0 18px!important;
  border:1px solid rgba(148,163,184,.22)!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,rgba(17,24,39,.88),rgba(9,15,25,.92))!important;
  box-shadow:0 24px 70px rgba(0,0,0,.28)!important;
  overflow:visible!important;
}
.config-hub .config-tab{
  min-width:0!important;
  width:100%!important;
  height:74px!important;
  padding:10px 8px!important;
  border-radius:15px!important;
  border:1px solid transparent!important;
  background:transparent!important;
  color:#cbd5e1!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
  box-shadow:none!important;
  transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease!important;
}
.config-hub .config-tab .cfg-icon{
  width:25px;height:25px;border-radius:9px;
  display:grid;place-items:center;
  font-size:15px;line-height:1;
  color:#e5e7eb;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(148,163,184,.18);
}
.config-hub .config-tab:hover{transform:translateY(-1px)!important;border-color:rgba(148,163,184,.34)!important;background:rgba(255,255,255,.045)!important;}
.config-hub .config-tab.active{color:#fff!important;background:linear-gradient(135deg,rgba(124,58,237,.55),rgba(37,99,235,.22))!important;border-color:rgba(124,58,237,.58)!important;box-shadow:0 14px 32px rgba(124,58,237,.20)!important;}
.config-hub .config-tab.active .cfg-icon{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22);}
body.light .config-hub, body.theme-light .config-hub{background:#fff!important;border-color:#dbe5f2!important;box-shadow:0 18px 50px rgba(15,23,42,.08)!important;}
body.light .config-hub .config-tab, body.theme-light .config-hub .config-tab{color:#334155!important;}
body.light .config-hub .config-tab .cfg-icon, body.theme-light .config-hub .config-tab .cfg-icon{color:#334155;background:#f8fafc;border-color:#dbe5f2;}
body.light .config-hub .config-tab.active, body.theme-light .config-hub .config-tab.active{color:#fff!important;background:linear-gradient(135deg,#7c3aed,#2563eb)!important;}
body.light .config-hub .config-tab.active .cfg-icon, body.theme-light .config-hub .config-tab.active .cfg-icon{color:#fff;background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.30);}

#acertoModal .modal-box.mid{width:min(760px,92vw)!important;border-radius:24px!important;padding:26px!important;background:linear-gradient(145deg,#111827,#05070b)!important;border:1px solid rgba(148,163,184,.26)!important;box-shadow:0 34px 110px rgba(0,0,0,.62)!important;}
#acertoModal .status-filter-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:20px 0 16px!important;}
.acerto-status-chip{position:relative!important;display:block!important;margin:0!important;cursor:pointer!important;}
.acerto-status-chip input{position:absolute!important;opacity:0!important;pointer-events:none!important;}
.acerto-status-chip span{
  height:54px!important;border-radius:16px!important;padding:0 16px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  background:linear-gradient(180deg,#111827,#0b1220)!important;
  border:1px solid rgba(148,163,184,.24)!important;color:#f8fafc!important;font-weight:800!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;transition:.16s ease!important;
}
.acerto-status-chip span i{width:10px!important;height:10px!important;border-radius:999px!important;display:inline-block!important;box-shadow:0 0 0 3px rgba(255,255,255,.06)!important;}
.acerto-status-chip input:checked + span{border-color:rgba(56,189,248,.72)!important;background:linear-gradient(135deg,rgba(14,165,233,.18),rgba(99,102,241,.22))!important;box-shadow:0 12px 30px rgba(14,165,233,.10), inset 0 1px 0 rgba(255,255,255,.08)!important;}
.acerto-status-chip input:checked + span:before{content:'✓';width:18px;height:18px;border-radius:6px;display:grid;place-items:center;background:#38bdf8;color:#06111f;font-size:12px;font-weight:900;}
.acerto-status-chip:hover span{transform:translateY(-1px);border-color:rgba(148,163,184,.44)!important;}
#acertoModal .acerto-resumo{border-radius:18px!important;background:#101827!important;border:1px solid rgba(148,163,184,.22)!important;padding:18px!important;}
#acertoModal .acerto-list{border-radius:16px!important;background:rgba(255,255,255,.025)!important;border:1px solid rgba(148,163,184,.18)!important;}
@media(max-width:760px){#acertoModal .status-filter-row{grid-template-columns:1fr!important}.config-hub{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* ===== v10.2 ajustes Eduardo: usuarios compactos, contratos alinhados, menus e responsividade ===== */
#lancamentos.page,#contratos.page{width:100%!important;max-width:none!important;margin:0!important;padding-left:clamp(24px,4vw,72px)!important;padding-right:clamp(24px,4vw,72px)!important;}
#lancamentos .table-shell{min-height:calc(100vh - 390px)!important;}
#contratos .contracts-table-shell{min-height:300px!important;max-height:calc(100vh - 430px)!important;overflow:auto!important;}
#contratos .contracts-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;}
#contratos .contracts-table th,#contratos .contracts-table td{vertical-align:middle!important;line-height:1.25!important;padding:12px 10px!important;overflow:hidden!important;text-overflow:ellipsis!important;border-bottom:1px solid var(--line)!important;}
#contratos .contracts-table th:nth-child(1),#contratos .contracts-table td:nth-child(1){width:30px!important;}
#contratos .contracts-table th:nth-child(2),#contratos .contracts-table td:nth-child(2){width:44px!important;}
#contratos .contracts-table th:nth-child(3),#contratos .contracts-table td:nth-child(3){width:44px!important;}
#contratos .contracts-table th:nth-child(4),#contratos .contracts-table td:nth-child(4){width:82px!important;}
#contratos .contracts-table th:nth-child(5),#contratos .contracts-table td:nth-child(5){width:110px!important;}
#contratos .contracts-table th:nth-child(6),#contratos .contracts-table td:nth-child(6){width:76px!important;}
#contratos .contracts-table th:nth-child(7),#contratos .contracts-table td:nth-child(7){width:185px!important;}
#contratos .contracts-table th:nth-child(8),#contratos .contracts-table td:nth-child(8){width:185px!important;}
#contratos .contracts-table th:nth-child(9),#contratos .contracts-table td:nth-child(9){width:112px!important;}
#contratos .contracts-table th:nth-child(10),#contratos .contracts-table td:nth-child(10){width:92px!important;}
#contratos .contracts-table th:nth-child(11),#contratos .contracts-table td:nth-child(11){width:98px!important;}
#contratos .contracts-table th:nth-child(12),#contratos .contracts-table td:nth-child(12){width:112px!important;}
#contratos .contracts-table th:nth-child(13),#contratos .contracts-table td:nth-child(13){width:102px!important;}
#contratos .row-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;white-space:nowrap!important;}
#contratos .row-actions button{flex:0 0 22px!important;display:inline-grid!important;place-items:center!important;}
#contratos .cell-copy{white-space:normal!important;line-height:1.2!important;}
#contratos .tag{display:inline-flex!important;align-items:center!important;justify-content:center!important;max-width:100%!important;}
.actions-menu{position:fixed!important;z-index:20000!important;display:flex!important;flex-direction:column!important;gap:3px!important;min-width:220px!important;padding:8px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:linear-gradient(180deg,var(--surface-2),var(--surface))!important;box-shadow:0 24px 80px rgba(0,0,0,.55)!important;color:var(--text)!important;}
.actions-menu button{width:100%!important;text-align:left!important;background:transparent!important;border:0!important;border-radius:11px!important;color:var(--text)!important;padding:10px 12px!important;font-weight:650!important;}
.actions-menu button:hover{background:rgba(124,58,237,.16)!important;}
.actions-menu .danger-text{color:#ff7070!important;}
.contract-scroll-arrows{display:flex!important;}
#contratos.hidden .contract-scroll-arrows{display:none!important;}
.user-list{display:grid!important;gap:10px!important;}
.user-accordion{border:1px solid var(--line)!important;border-radius:16px!important;background:linear-gradient(180deg,var(--surface-2),var(--surface))!important;overflow:hidden!important;}
.user-accordion summary{list-style:none!important;}
.user-accordion summary::-webkit-details-marker{display:none!important;}
.user-summary{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto 32px!important;gap:12px!important;align-items:center!important;padding:14px 16px!important;cursor:pointer!important;}
.user-avatar-mini{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#673de6,#0f172a);color:#fff;font-weight:900;font-size:13px;}
.user-main b{display:block;font-weight:750!important;}
.user-main small{display:block;margin-top:4px;color:var(--muted);font-weight:400!important;}
.user-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 12px;background:rgba(16,185,129,.18);color:#34d399;font-weight:800;font-size:12px;}
.user-pill.inactive{background:rgba(148,163,184,.15);color:#94a3b8;}
.user-expand{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;border:1px solid var(--line);color:var(--muted);transition:.18s;}
.user-accordion[open] .user-expand{transform:rotate(180deg);background:rgba(124,58,237,.18);color:#fff;}
.user-expanded{padding:0 16px 16px!important;border-top:1px solid var(--line)!important;}
.user-actions-row{display:flex;justify-content:flex-end;gap:10px;margin:12px 0;}
.user-actions-row button{height:38px;padding:0 14px;border-radius:11px;background:var(--btn);border:1px solid var(--line);color:var(--text);font-weight:700;}
.user-actions-row .danger-mini{color:#ff7070;border-color:rgba(239,68,68,.45);background:rgba(239,68,68,.10);}
.user-expanded .perm-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;}
.theme-light .actions-menu,.theme-light .user-accordion{background:#fff!important;color:#111827!important;border-color:#d6deeb!important;}
@media(max-width:1100px){#contratos .contracts-table{min-width:1120px!important}.contracts-table-shell{overflow-x:auto!important}.user-summary{grid-template-columns:38px 1fr auto 28px!important}}

/* ===== hotfix v10.3 Eduardo - menu contratos, tabela e botoes ===== */
.sidebar{position:relative!important;}
.sidebar-toggle{
  position:absolute!important;
  right:12px!important;
  left:auto!important;
  bottom:14px!important;
  width:28px!important;
  height:28px!important;
  border-radius:10px!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(148,163,184,.08)!important;
  border:1px solid rgba(148,163,184,.16)!important;
  color:#94a3b8!important;
  font-size:0!important;
  box-shadow:none!important;
  z-index:20!important;
}
.sidebar-toggle:before{content:'‹';font-size:22px;line-height:1;display:block;margin-top:-2px;}
.sidebar-toggle:hover{background:rgba(148,163,184,.16)!important;color:#fff!important;border-color:rgba(148,163,184,.34)!important;}
.app.sidebar-collapsed .sidebar-toggle{right:16px!important;bottom:14px!important;left:auto!important;}
.app.sidebar-collapsed .sidebar-toggle:before{content:'›';}
.fab{
  right:28px!important;
  bottom:28px!important;
  z-index:1000!important;
  border-radius:18px!important;
  width:52px!important;
  height:52px!important;
  box-shadow:0 18px 48px rgba(0,0,0,.35)!important;
}
#contratos .contracts-table-shell{
  overflow-x:auto!important;
  overflow-y:auto!important;
  padding-bottom:8px!important;
  max-height:calc(100vh - 405px)!important;
}
#contratos .contracts-table{
  width:100%!important;
  min-width:1180px!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
#contratos .contracts-table th,#contratos .contracts-table td{
  box-sizing:border-box!important;
  vertical-align:middle!important;
  line-height:1.22!important;
  padding:11px 9px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  border-bottom:1px solid var(--line)!important;
}
#contratos .contracts-table th:nth-child(1),#contratos .contracts-table td:nth-child(1){width:30px!important;}
#contratos .contracts-table th:nth-child(2),#contratos .contracts-table td:nth-child(2){width:42px!important;}
#contratos .contracts-table th:nth-child(3),#contratos .contracts-table td:nth-child(3){width:44px!important;}
#contratos .contracts-table th:nth-child(4),#contratos .contracts-table td:nth-child(4){width:78px!important;}
#contratos .contracts-table th:nth-child(5),#contratos .contracts-table td:nth-child(5){width:105px!important;}
#contratos .contracts-table th:nth-child(6),#contratos .contracts-table td:nth-child(6){width:72px!important;}
#contratos .contracts-table th:nth-child(7),#contratos .contracts-table td:nth-child(7){width:170px!important;}
#contratos .contracts-table th:nth-child(8),#contratos .contracts-table td:nth-child(8){width:170px!important;}
#contratos .contracts-table th:nth-child(9),#contratos .contracts-table td:nth-child(9){width:108px!important;}
#contratos .contracts-table th:nth-child(10),#contratos .contracts-table td:nth-child(10){width:90px!important;}
#contratos .contracts-table th:nth-child(11),#contratos .contracts-table td:nth-child(11){width:92px!important;}
#contratos .contracts-table th:nth-child(12),#contratos .contracts-table td:nth-child(12){width:128px!important;}
#contratos .contracts-table th:nth-child(13),#contratos .contracts-table td:nth-child(13){width:118px!important;}
#contratos .cell-copy{max-width:100%!important;width:100%!important;display:block!important;text-align:left!important;white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;}
#contratos .two-lines small{display:block!important;line-height:1.1!important;margin-top:2px!important;color:var(--muted)!important;font-weight:400!important;}
#contratos .mini-link{max-width:112px!important;width:112px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
#contratos .row-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
#contratos .row-actions button{
  flex:0 0 25px!important;
  width:25px!important;
  height:25px!important;
  border-radius:8px!important;
  display:inline-grid!important;
  place-items:center!important;
  opacity:.9!important;
}
#contratos .row-actions button:hover{opacity:1!important;background:rgba(124,58,237,.16)!important;}
.actions-menu.contracts-actions-menu,.actions-menu.quick-status-pop{
  position:fixed!important;
  z-index:30000!important;
}
.actions-menu.contracts-actions-menu button{display:flex!important;align-items:center!important;gap:9px!important;}
body.menu-open .contracts-table-shell{overflow-y:auto!important;}
.theme-light #contratos .contracts-table-shell{border-color:#d5deeb!important;}
.theme-light .actions-menu.contracts-actions-menu,.theme-light .actions-menu.quick-status-pop{background:#fff!important;color:#0f172a!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important;}

/* ===== PATCH v10.4 REAL - Contratos: menu flutuante, tabela alinhada e FAB limpo ===== */
#contratos .contracts-table-shell{
  position:relative!important;
  overflow:auto!important;
  max-height:calc(100vh - 392px)!important;
  border-radius:18px!important;
  border:1px solid rgba(148,163,184,.18)!important;
}
#contratos .contracts-table{
  width:100%!important;
  min-width:1120px!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
}
#contratos .contracts-table thead th{
  position:sticky!important;
  top:0!important;
  z-index:4!important;
  background:linear-gradient(180deg,rgba(255,255,255,.105),rgba(255,255,255,.055))!important;
}
#contratos .contracts-table th,
#contratos .contracts-table td{
  height:48px!important;
  padding:9px 8px!important;
  box-sizing:border-box!important;
  vertical-align:middle!important;
  border-bottom:1px solid rgba(148,163,184,.16)!important;
  font-size:12px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#contratos .contracts-table th:nth-child(1),#contratos .contracts-table td:nth-child(1){width:34px!important;text-align:center!important;}
#contratos .contracts-table th:nth-child(2),#contratos .contracts-table td:nth-child(2){width:42px!important;text-align:center!important;}
#contratos .contracts-table th:nth-child(3),#contratos .contracts-table td:nth-child(3){width:42px!important;text-align:center!important;}
#contratos .contracts-table th:nth-child(4),#contratos .contracts-table td:nth-child(4){width:86px!important;}
#contratos .contracts-table th:nth-child(5),#contratos .contracts-table td:nth-child(5){width:112px!important;}
#contratos .contracts-table th:nth-child(6),#contratos .contracts-table td:nth-child(6){width:70px!important;}
#contratos .contracts-table th:nth-child(7),#contratos .contracts-table td:nth-child(7){width:170px!important;}
#contratos .contracts-table th:nth-child(8),#contratos .contracts-table td:nth-child(8){width:190px!important;}
#contratos .contracts-table th:nth-child(9),#contratos .contracts-table td:nth-child(9){width:112px!important;}
#contratos .contracts-table th:nth-child(10),#contratos .contracts-table td:nth-child(10){width:92px!important;text-align:center!important;}
#contratos .contracts-table th:nth-child(11),#contratos .contracts-table td:nth-child(11){width:92px!important;text-align:center!important;}
#contratos .contracts-table th:nth-child(12),#contratos .contracts-table td:nth-child(12){width:132px!important;text-align:center!important;}
#contratos .contracts-table th:nth-child(13),#contratos .contracts-table td:nth-child(13){width:122px!important;text-align:right!important;overflow:visible!important;}
#contratos .contracts-table td:nth-child(8) .two-lines{
  white-space:normal!important;
  line-height:1.12!important;
}
#contratos .row-actions{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  width:100%!important;
  overflow:visible!important;
}
#contratos .row-actions button{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  border-radius:9px!important;
  border:1px solid transparent!important;
  background:transparent!important;
  color:#cbd5e1!important;
  display:inline-grid!important;
  place-items:center!important;
  cursor:pointer!important;
  font-size:14px!important;
}
#contratos .row-actions button:hover{
  background:rgba(124,58,237,.16)!important;
  border-color:rgba(124,58,237,.35)!important;
  color:#fff!important;
}
.actions-menu.contracts-actions-menu,
.actions-menu.quick-status-pop{
  position:fixed!important;
  z-index:2147483000!important;
  min-width:230px!important;
  padding:10px!important;
  border-radius:14px!important;
  background:#0d1118!important;
  border:1px solid rgba(148,163,184,.24)!important;
  box-shadow:0 28px 80px rgba(0,0,0,.55)!important;
  color:#f8fafc!important;
}
.actions-menu.contracts-actions-menu button,
.actions-menu.quick-status-pop button{
  width:100%!important;
  height:38px!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:inherit!important;
  text-align:left!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  font-size:13px!important;
  font-weight:650!important;
  cursor:pointer!important;
}
.actions-menu.contracts-actions-menu button:hover,
.actions-menu.quick-status-pop button:hover{background:rgba(255,255,255,.08)!important;}
.actions-menu.contracts-actions-menu .danger-text{color:#fb7185!important;}
.theme-light .actions-menu.contracts-actions-menu,
.theme-light .actions-menu.quick-status-pop{
  background:#ffffff!important;
  color:#0f172a!important;
  border-color:#d7dfeb!important;
  box-shadow:0 28px 80px rgba(15,23,42,.22)!important;
}
.fab{
  width:52px!important;
  height:52px!important;
  right:28px!important;
  bottom:28px!important;
  border-radius:18px!important;
  display:grid!important;
  place-items:center!important;
  z-index:900!important;
}
.sidebar-toggle{
  position:absolute!important;
  right:14px!important;
  left:auto!important;
  bottom:14px!important;
  width:30px!important;
  height:30px!important;
  border-radius:10px!important;
  z-index:30!important;
}
.app.sidebar-collapsed .sidebar-toggle{right:17px!important;left:auto!important;}
body.menu-open .contracts-table-shell{overflow:auto!important;}

/* v10.6 - ajustes finais do formulario de contratos */
.contrato-box .x{top:18px!important;right:18px!important;z-index:4}
.contrato-title-row{padding-right:54px!important;align-items:flex-start!important}
.clear-contract-btn{margin-top:2px!important;margin-right:8px!important;padding:7px 10px!important;border:1px solid var(--border)!important;border-radius:10px!important;background:rgba(255,255,255,.04)!important;color:var(--muted)!important;font-weight:700!important;white-space:nowrap!important}
.clear-contract-btn:hover{color:var(--text)!important;border-color:rgba(125,92,255,.55)!important;background:rgba(125,92,255,.10)!important}
.contrato-form-grid label button{min-height:34px!important;border-radius:10px!important;font-size:12px!important}
.contrato-form-grid input[readonly]{opacity:.9!important;background:rgba(255,255,255,.04)!important}
body.light .clear-contract-btn{background:#f8fafc!important;color:#475569!important;border-color:#cbd5e1!important}
body.light .clear-contract-btn:hover{background:#ede9fe!important;color:#4c1d95!important;border-color:#7c3aed!important}


/* v10.6.1 - Ajuste cabeçalho modal contrato e datas automáticas corretas */
.contrato-title-row{
  position:relative!important;
  padding-right:120px!important;
  min-height:48px!important;
}
.clear-contract-btn{
  position:absolute!important;
  top:0!important;
  right:44px!important;
  margin:0!important;
  padding:7px 12px!important;
}
.modal .close, .modal-box .close, .modal-close{
  z-index:5!important;
}
#contratoModal .modal-title-row h3,
#contratoModal .modal-title-row p{padding-right:12px!important;}

/* v10.7 - Pagina Lembretes conectada aos Contratos */
.reminders-page{max-width:1440px;margin:0 auto;padding-bottom:80px}
.reminders-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}
.reminders-head h2{margin-bottom:4px;font-size:28px}
.reminders-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.reminders-actions select{height:42px;border-radius:12px;border:1px solid var(--border);background:var(--input);color:var(--text);font-weight:750;padding:0 12px}
.reminders-layout{display:grid;grid-template-columns:390px 1fr;gap:18px;align-items:start}
.reminders-side{display:grid;gap:16px}
.rem-card{border:1px solid var(--border);background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));border-radius:18px;padding:20px;box-shadow:0 24px 60px rgba(0,0,0,.20)}
.rem-card h3{margin:0 0 12px;font-size:18px}
.clock-card{text-align:center}.clock-card h3{text-align:left}.clock-card strong{font-size:32px;display:block;letter-spacing:.5px}.clock-card span{color:var(--muted);font-weight:650;text-transform:capitalize}
.cal-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.cal-top button{width:34px;height:34px;border-radius:11px;padding:0}
.cal-week,.rem-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.cal-week span{font-size:11px;color:var(--muted);font-weight:800;text-align:center}
.rem-calendar button{height:38px;border-radius:12px;border:1px solid transparent;background:rgba(255,255,255,.04);color:var(--text);font-weight:750;position:relative;padding:0}.rem-calendar button:hover{border-color:rgba(125,92,255,.55);background:rgba(125,92,255,.16)}.rem-calendar button.selected{background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff}.rem-calendar button.today{border-color:#e5e7eb}.rem-calendar button.has-events::after{content:'';position:absolute;width:6px;height:6px;border-radius:50%;background:#22c55e;right:7px;top:7px}.rem-calendar .muted-day{opacity:.2}.holiday-list{display:grid;gap:10px}.holiday-list div{display:flex;justify-content:space-between;gap:12px;font-size:13px}.holiday-list span{color:var(--text);font-weight:650}.holiday-list strong{white-space:nowrap;color:var(--text)}
.reminders-main{min-height:560px}.reminders-main-head{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:16px}.reminders-main-head h3{font-size:20px;margin-bottom:4px}.reminders-list{display:grid;gap:10px}.reminder-item{display:grid;grid-template-columns:28px 1fr auto;gap:12px;align-items:center;border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:13px 14px;background:rgba(14,165,233,.12);box-shadow:inset 0 0 0 1px rgba(14,165,233,.12)}.reminder-item.ok{background:rgba(34,197,94,.15);border-color:rgba(34,197,94,.35)}.reminder-item.today{background:rgba(245,158,11,.15);border-color:rgba(245,158,11,.35)}.reminder-item.late{background:rgba(239,68,68,.16);border-color:rgba(239,68,68,.40)}.reminder-dot{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;border:1px solid currentColor;color:#22d3ee}.reminder-item.ok .reminder-dot{color:#22c55e}.reminder-item.today .reminder-dot{color:#f59e0b}.reminder-item.late .reminder-dot{color:#fb7185}.reminder-info strong{display:block;font-size:14px}.reminder-info span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.reminder-actions-row{display:flex;gap:8px}.reminder-actions-row button{width:36px;height:36px;border-radius:12px;padding:0;display:grid;place-items:center}.empty-reminder{padding:28px;border:1px dashed var(--border);border-radius:16px;color:var(--muted);font-weight:700;text-align:center}.top-icon.bell small{display:grid;place-items:center;position:absolute;right:-5px;top:-7px;background:#ef4444;color:#fff;border-radius:999px;min-width:18px;height:18px;font-size:10px;font-weight:900;border:2px solid var(--bg)}
@media(max-width:1050px){.reminders-layout{grid-template-columns:1fr}.reminders-head{flex-direction:column}.reminders-side{grid-template-columns:1fr 1fr}.holidays-card{grid-column:1/-1}}
@media(max-width:720px){.reminders-side{grid-template-columns:1fr}.reminder-item{grid-template-columns:24px 1fr}.reminder-actions-row{grid-column:2;justify-content:flex-start}}
body.light .rem-card,.theme-light .rem-card{background:#fff;border-color:#d7dfeb;box-shadow:0 18px 45px rgba(15,23,42,.08)}
body.light .rem-calendar button,.theme-light .rem-calendar button{background:#f8fafc;color:#0f172a}
body.light .reminder-item,.theme-light .reminder-item{background:#f0f9ff;border-color:#bae6fd}

/* ===== v10.7.1 - Lembretes layout deluxe + remove chips artista ===== */
#artistHomeList.artist-home-list,
.artist-home-list{display:none!important;margin:0!important;padding:0!important;height:0!important;overflow:hidden!important}

#lembretes.reminders-page{
  width:min(1280px, calc(100vw - var(--sidebar-w, 260px) - 72px))!important;
  max-width:1280px!important;
  margin:0 auto!important;
  padding:42px 24px 88px!important;
  box-sizing:border-box!important;
}
body.sidebar-mini #lembretes.reminders-page,
.sidebar-collapsed #lembretes.reminders-page{width:min(1280px, calc(100vw - 110px))!important}

#lembretes .reminders-head{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;
  gap:24px!important;margin:0 0 18px!important;
}
#lembretes .reminders-head h2{font-size:30px!important;line-height:1.05!important;margin:0 0 6px!important;letter-spacing:-.03em!important;color:var(--text)!important}
#lembretes .reminders-head .muted{font-size:14px!important;color:var(--muted)!important}
#lembretes .reminders-actions{display:flex!important;gap:10px!important;align-items:center!important;flex-wrap:wrap!important;justify-content:flex-end!important}
#lembretes .reminders-actions select,
#lembretes .reminders-actions button{height:42px!important;border-radius:12px!important;font-weight:750!important;font-size:13px!important}
#lembretes .reminders-actions select{min-width:170px!important;background:var(--input)!important;color:var(--text)!important;border:1px solid var(--border)!important;padding:0 12px!important}
#lembretes .subtle-danger{background:rgba(185,28,28,.85)!important;border-color:rgba(239,68,68,.45)!important;color:#fff!important;box-shadow:none!important}

#lembretes .reminders-layout{
  display:grid!important;grid-template-columns:390px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;
}
#lembretes .reminders-side{display:grid!important;gap:16px!important;min-width:0!important}
#lembretes .rem-card{
  border:1px solid var(--border)!important;border-radius:16px!important;
  background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012))!important;
  box-shadow:0 18px 55px rgba(0,0,0,.18)!important;
  padding:20px!important;color:var(--text)!important;overflow:hidden!important;
}
#lembretes .clock-card{min-height:116px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;position:relative!important}
#lembretes .clock-card h3{position:absolute!important;left:20px!important;top:17px!important;margin:0!important;font-size:16px!important}
#lembretes .clock-card strong{font-size:30px!important;line-height:1!important;letter-spacing:.02em!important;margin-top:14px!important;color:var(--text)!important}
#lembretes .clock-card span{text-transform:capitalize!important;color:var(--muted)!important;margin-top:6px!important;font-size:13px!important}

#lembretes .calendar-card{padding:18px 18px 20px!important}
#lembretes .cal-top{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:12px!important}
#lembretes .cal-top button{width:34px!important;height:34px!important;border-radius:10px!important;padding:0!important;background:var(--surface)!important;border:1px solid var(--border)!important;color:var(--text)!important;font-size:20px!important}
#lembretes .cal-top strong{font-size:14px!important;color:var(--text)!important}
#lembretes .cal-week{display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:7px!important;margin:8px 0!important;color:var(--muted)!important;font-size:11px!important;text-align:center!important;font-weight:700!important}
#lembretes .rem-calendar{display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:7px!important}
#lembretes .rem-calendar button{height:34px!important;min-width:0!important;padding:0!important;border-radius:10px!important;border:1px solid transparent!important;background:transparent!important;color:var(--text)!important;font-size:13px!important;font-weight:700!important;position:relative!important}
#lembretes .rem-calendar button:not(:disabled):hover{background:rgba(255,255,255,.08)!important;border-color:var(--border)!important;transform:translateY(-1px)!important}
#lembretes .rem-calendar .muted-day{opacity:.18!important;background:transparent!important}
#lembretes .rem-calendar .today{background:rgba(148,163,184,.18)!important;border-color:rgba(148,163,184,.26)!important}
#lembretes .rem-calendar .selected{background:linear-gradient(135deg,var(--primary),var(--primary-2))!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important;box-shadow:0 8px 22px rgba(99,102,241,.22)!important}
#lembretes .rem-calendar .has-events::after{content:"";position:absolute;left:50%;bottom:4px;transform:translateX(-50%);width:4px;height:4px;border-radius:50%;background:#22d3ee!important}
#lembretes .rem-calendar .selected.has-events::after{background:#fff!important}

#lembretes .holidays-card h3{font-size:17px!important;margin:0 0 16px!important}
#lembretes .holiday-list{display:grid!important;gap:11px!important}
#lembretes .holiday-list div{display:flex!important;justify-content:space-between!important;gap:16px!important;align-items:center!important;font-size:13px!important;color:var(--text)!important}
#lembretes .holiday-list strong{font-weight:800!important;color:var(--text)!important;white-space:nowrap!important}

#lembretes .reminders-main{min-height:560px!important;padding:20px!important}
#lembretes .reminders-main-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;margin-bottom:16px!important}
#lembretes .reminders-main-head h3{font-size:20px!important;margin:0 0 5px!important;color:var(--text)!important}
#lembretes .reminders-main-head p{font-size:13px!important;color:var(--muted)!important;margin:0!important}
#lembretes .reminders-main-head button{height:38px!important;border-radius:12px!important;background:var(--surface)!important;color:var(--text)!important;border:1px solid var(--border)!important}
#lembretes .reminders-list{display:grid!important;gap:10px!important}
#lembretes .reminder-item{display:grid!important;grid-template-columns:26px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;min-height:56px!important;border-radius:14px!important;padding:12px 12px!important;border:1px solid rgba(14,165,233,.45)!important;background:linear-gradient(90deg,rgba(8,145,178,.26),rgba(8,47,73,.40))!important;box-shadow:inset 0 0 0 1px rgba(34,211,238,.15),0 10px 22px rgba(0,0,0,.16)!important;color:#22d3ee!important}
#lembretes .reminder-item.ok{border-color:rgba(34,197,94,.55)!important;background:linear-gradient(90deg,rgba(22,101,52,.38),rgba(20,83,45,.32))!important;color:#39ff5a!important}
#lembretes .reminder-item.today{border-color:rgba(245,158,11,.65)!important;background:linear-gradient(90deg,rgba(120,53,15,.45),rgba(69,26,3,.35))!important;color:#fbbf24!important}
#lembretes .reminder-item.late{border-color:rgba(244,63,94,.62)!important;background:linear-gradient(90deg,rgba(127,29,29,.42),rgba(69,10,10,.36))!important;color:#fb7185!important}
#lembretes .reminder-dot{width:22px!important;height:22px!important;border-radius:50%!important;display:grid!important;place-items:center!important;border:1px solid currentColor!important;color:currentColor!important;font-size:12px!important;background:rgba(0,0,0,.15)!important}
#lembretes .reminder-info{min-width:0!important}
#lembretes .reminder-info strong{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:currentColor!important;font-size:14px!important;font-weight:800!important}
#lembretes .reminder-info span{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:rgba(226,232,240,.78)!important;font-size:12px!important;margin-top:3px!important}
#lembretes .reminder-actions-row{display:flex!important;gap:8px!important;align-items:center!important}
#lembretes .reminder-actions-row button{width:34px!important;height:34px!important;border-radius:10px!important;padding:0!important;display:grid!important;place-items:center!important;background:rgba(0,0,0,.18)!important;border:1px solid rgba(255,255,255,.14)!important;color:currentColor!important;font-size:14px!important}
#lembretes .reminder-actions-row button:hover{background:rgba(255,255,255,.10)!important;transform:translateY(-1px)!important}
#lembretes .empty-reminder{border:1px dashed var(--border)!important;border-radius:16px!important;padding:28px!important;text-align:center!important;color:var(--muted)!important;font-weight:700!important;background:rgba(255,255,255,.02)!important}

body.light #lembretes .rem-card, .theme-light #lembretes .rem-card{background:#fff!important;color:#0f172a!important;border-color:#d9e1ef!important;box-shadow:0 18px 48px rgba(15,23,42,.08)!important}
body.light #lembretes .reminders-head h2, body.light #lembretes .clock-card strong, body.light #lembretes .cal-top strong, body.light #lembretes .holiday-list strong, body.light #lembretes .holiday-list div, body.light #lembretes .reminders-main-head h3{color:#0f172a!important}
body.light #lembretes .reminder-info span{color:rgba(15,23,42,.72)!important}
body.light #lembretes .reminder-actions-row button{background:rgba(255,255,255,.55)!important;border-color:rgba(15,23,42,.12)!important}
@media(max-width:1080px){#lembretes.reminders-page{width:100%!important;padding-inline:18px!important}#lembretes .reminders-layout{grid-template-columns:1fr!important}#lembretes .reminders-side{grid-template-columns:1fr 1fr!important}.holidays-card{grid-column:1/-1!important}}
@media(max-width:720px){#lembretes .reminders-head{flex-direction:column!important}#lembretes .reminders-side{grid-template-columns:1fr!important}#lembretes .reminder-item{grid-template-columns:24px 1fr!important}#lembretes .reminder-actions-row{grid-column:2!important;justify-content:flex-start!important}}

/* ===== v10.8 - lembretes manuais, avisos discretos e permissões por página ===== */
.reminder-settings-line{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin:-4px 0 14px}
.mini-switch,.switch-card{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb,var(--panel-2) 70%,transparent);padding:8px 12px;font-size:12px;font-weight:800;color:var(--text)}
.mini-switch input,.switch-card input{position:absolute;opacity:0;pointer-events:none}.mini-switch i,.switch-card span{width:36px;height:20px;border-radius:999px;background:#020617;border:1px solid var(--line);position:relative;display:inline-block}.mini-switch i:before,.switch-card span:before{content:"";position:absolute;width:14px;height:14px;border-radius:999px;background:#fff;left:2px;top:2px;transition:.18s}.mini-switch input:checked+i,.switch-card input:checked+span{background:linear-gradient(135deg,#7c3aed,#2563eb);border-color:transparent}.mini-switch input:checked+i:before,.switch-card input:checked+span:before{transform:translateX(16px)}
.manual-reminder-box{width:min(620px,94vw)!important;border-radius:22px!important;background:linear-gradient(145deg,var(--panel-2),var(--panel))!important}.manual-reminder-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.manual-reminder-grid .full{grid-column:1/-1}.manual-reminder-grid label{font-weight:800;font-size:12px;color:var(--text);display:flex;flex-direction:column;gap:7px}.manual-reminder-grid input,.manual-reminder-grid select,.manual-reminder-grid textarea{width:100%;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--input);color:var(--text);padding:10px 12px}.manual-reminder-grid textarea{min-height:120px;resize:vertical}.switch-card{border-radius:14px;justify-content:flex-start;min-height:44px}.reminder-item.manual{background:rgba(124,58,237,.14);border-color:rgba(124,58,237,.38)}.reminder-item.manual .reminder-dot{color:#a78bfa}
#softNotifyWrap{position:fixed;right:22px;bottom:22px;display:grid;gap:10px;z-index:20000;pointer-events:none}.soft-notify{pointer-events:auto;width:min(360px,calc(100vw - 44px));padding:16px 18px;border:1px solid rgba(148,163,184,.28);border-radius:18px;background:linear-gradient(145deg,#111827,#020617);box-shadow:0 22px 70px rgba(0,0,0,.45);color:#f8fafc;animation:softIn .22s ease-out}.soft-notify button{float:right;border:0;background:transparent;color:#94a3b8;font-size:18px;padding:0 0 4px 10px}.soft-notify strong{display:block;font-size:15px;margin-bottom:4px}.soft-notify span{display:block;color:#cbd5e1;font-size:13px;line-height:1.35}@keyframes softIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
.clean-user.user-accordion{margin-bottom:12px}.clean-user .user-expanded h4{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:16px 0 8px}.page-perms-grid{border:1px solid rgba(124,58,237,.22);border-radius:14px;padding:10px;background:rgba(124,58,237,.06)}.perm-chip.page-perm{background:rgba(59,130,246,.07)!important;border-color:rgba(59,130,246,.22)!important}.hidden-perm{display:none!important}
body.theme-light .manual-reminder-box,body.theme-light .soft-notify{background:#fff!important;color:#111827!important;border-color:#d9e0ea!important}.theme-light .soft-notify span{color:#475569}.theme-light .mini-switch,.theme-light .switch-card{background:#fff;color:#111827;border-color:#d9e0ea}.theme-light .manual-reminder-grid input,.theme-light .manual-reminder-grid select,.theme-light .manual-reminder-grid textarea{background:#fff;color:#111827;border-color:#cbd5e1}
@media(max-width:720px){.manual-reminder-grid{grid-template-columns:1fr}.reminder-settings-line{justify-content:flex-start}}

/* ===== v10.9 Clientes ===== */
.clientes-page{max-width:min(1420px,calc(100vw - 260px));margin-inline:auto}.sidebar-collapsed .clientes-page{max-width:min(1500px,calc(100vw - 120px))}.clientes-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.clientes-head h2{font-size:28px;margin:0}.clientes-actions{display:flex;gap:10px;flex-wrap:wrap}.clientes-sync{padding:20px;margin-bottom:18px}.clientes-sync h3{margin:0 0 8px}.clientes-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) 260px auto auto;gap:12px;align-items:center;margin-bottom:18px;padding:14px}.clientes-toolbar input,.clientes-toolbar select{height:44px}.clientes-table-shell{border-radius:16px;overflow:auto}.clientes-table{width:100%;min-width:980px;border-collapse:collapse}.clientes-table th,.clientes-table td{padding:14px 12px;text-align:left;vertical-align:middle}.clientes-table th{font-size:12px;color:var(--muted);background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03))}.clientes-table tr{border-bottom:1px solid var(--line)}.client-dot{display:inline-block;width:12px;height:12px;border-radius:999px;box-shadow:0 0 0 4px rgba(255,255,255,.05)}.client-dot.ok{background:#22c55e}.client-dot.warn{background:#facc15;box-shadow:0 0 0 4px rgba(250,204,21,.15)}.cliente-box{max-width:620px}.cliente-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cliente-form-grid .full{grid-column:1/-1}.cliente-merge-box{max-width:860px}.merge-clientes-content{display:grid;gap:12px}.merge-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.merge-columns>div{border:1px solid var(--line);border-radius:14px;padding:14px;background:rgba(15,23,42,.45)}.merge-columns small{display:block;color:var(--muted);margin-top:6px}.merge-field{display:grid;grid-template-columns:130px 1fr 1fr;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:10px;background:rgba(255,255,255,.03)}.merge-field label{padding:8px 10px;border-radius:10px;border:1px solid rgba(255,255,255,.08);cursor:pointer}.merge-field input{margin-right:8px}.tag-green{background:#10b981;color:white}.clientes-table .row-actions{white-space:nowrap}.clientes-table .danger-text{color:#ff5a6a}@media(max-width:900px){.clientes-page{max-width:calc(100vw - 30px)}.clientes-head{display:block}.clientes-actions{margin-top:12px}.clientes-toolbar{grid-template-columns:1fr}.cliente-form-grid,.merge-columns,.merge-field{grid-template-columns:1fr}.merge-field span{font-weight:800}}


/* ===== v10.9.1 - correções Clientes, F5 e contraste Lembretes modo claro ===== */
.clientes-page{width:min(1180px,calc(100vw - 310px))!important;max-width:none!important;margin:0 auto!important;padding-bottom:90px!important}
.sidebar-collapsed .clientes-page,body.sidebar-mini .clientes-page{width:min(1220px,calc(100vw - 120px))!important}
.clientes-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;margin:0 0 18px!important}
.clientes-head h2{font-size:30px!important;letter-spacing:-.03em!important;margin:0!important}.clientes-head .muted{font-size:14px!important;color:var(--muted)!important}
.clientes-actions button{height:40px!important;border-radius:12px!important;padding:0 14px!important;font-size:13px!important}
.clientes-actions .white{background:linear-gradient(135deg,#f8fafc,#e2e8f0)!important;color:#020617!important;border:0!important;box-shadow:0 14px 32px rgba(15,23,42,.16)!important}
.clientes-sync.panel{padding:18px 20px!important;margin-bottom:16px!important;border-radius:18px!important;background:linear-gradient(145deg,var(--panel-2),rgba(15,23,42,.38))!important}
.clientes-sync h3{font-size:18px!important;margin-bottom:6px!important}.clientes-sync p{font-size:13px!important;margin-bottom:12px!important;color:var(--muted)!important}
.clientes-toolbar.panel{display:grid!important;grid-template-columns:minmax(260px,1fr) 190px 110px 130px!important;padding:14px!important;border-radius:18px!important;gap:10px!important;background:color-mix(in srgb,var(--panel-2) 75%,transparent)!important}
.clientes-toolbar input,.clientes-toolbar select,.clientes-toolbar button{height:42px!important;border-radius:12px!important;font-size:13px!important}
.clientes-table-shell{border:1px solid var(--line)!important;border-radius:18px!important;background:linear-gradient(180deg,var(--panel-2),rgba(2,6,23,.55))!important;overflow:hidden!important;min-height:230px!important;box-shadow:0 22px 70px rgba(0,0,0,.18)!important}
.clientes-table{min-width:0!important;width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
.clientes-table th,.clientes-table td{padding:13px 12px!important;border-bottom:1px solid var(--line)!important;font-size:13px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.clientes-table th:nth-child(1),.clientes-table td:nth-child(1){width:42px!important;text-align:center!important}.clientes-table th:nth-child(2),.clientes-table td:nth-child(2){width:58px!important;text-align:center!important}.clientes-table th:nth-child(6),.clientes-table td:nth-child(6){width:130px!important}.clientes-table th:nth-child(7),.clientes-table td:nth-child(7){width:110px!important}.clientes-table th:nth-child(8),.clientes-table td:nth-child(8){width:90px!important;text-align:center!important}
.clientes-table .cell-copy{max-width:100%!important;text-align:left!important;background:transparent!important;border:0!important;color:var(--text)!important;padding:0!important;box-shadow:none!important}.clientes-table .cell-copy small{display:block!important;color:var(--muted)!important;font-size:11px!important;margin-top:2px!important;overflow:hidden;text-overflow:ellipsis}
.cliente-box{width:min(560px,94vw)!important;border-radius:22px!important}.cliente-form-grid input,.cliente-form-grid select{height:44px!important;border-radius:12px!important;background:var(--input)!important;color:var(--text)!important;border:1px solid var(--line)!important;padding:0 12px!important}.cliente-form-grid label{font-size:12px!important;font-weight:800!important;color:var(--text)!important;display:flex!important;gap:7px!important;flex-direction:column!important}
.theme-light .clientes-sync.panel,.theme-light .clientes-toolbar.panel,.theme-light .clientes-table-shell{background:#fff!important;border-color:#d9e1ef!important;color:#0f172a!important;box-shadow:0 20px 56px rgba(15,23,42,.08)!important}.theme-light .clientes-table th{background:#f8fafc!important;color:#334155!important}.theme-light .clientes-table td,.theme-light .clientes-table .cell-copy{color:#0f172a!important}.theme-light .clientes-table tr{border-color:#e2e8f0!important}.theme-light .clientes-toolbar input,.theme-light .clientes-toolbar select,.theme-light .cliente-form-grid input,.theme-light .cliente-form-grid select{background:#fff!important;color:#0f172a!important;border-color:#cbd5e1!important}
.theme-light #lembretes .reminders-head h2,.theme-light #lembretes .reminders-main-head h3,.theme-light #lembretes .clock-card strong,.theme-light #lembretes .cal-top strong,.theme-light #lembretes .holiday-list div,.theme-light #lembretes .holiday-list strong{color:#0f172a!important}.theme-light #lembretes .reminders-head .muted,.theme-light #lembretes .reminders-main-head p,.theme-light #lembretes .clock-card span,.theme-light #lembretes .cal-week{color:#334155!important}.theme-light #lembretes .reminder-item{background:#e0f2fe!important;border-color:#38bdf8!important;color:#075985!important}.theme-light #lembretes .reminder-item.ok{background:#dcfce7!important;border-color:#22c55e!important;color:#166534!important}.theme-light #lembretes .reminder-item.today{background:#fef3c7!important;border-color:#f59e0b!important;color:#92400e!important}.theme-light #lembretes .reminder-item.late{background:#ffe4e6!important;border-color:#fb7185!important;color:#9f1239!important}.theme-light #lembretes .reminder-info span{color:#334155!important}.theme-light #lembretes .reminder-actions-row button{background:#fff!important;color:inherit!important;border-color:rgba(15,23,42,.14)!important}
@media(max-width:900px){.clientes-page{width:calc(100vw - 32px)!important}.clientes-head{display:block!important}.clientes-actions{margin-top:12px!important}.clientes-toolbar.panel{grid-template-columns:1fr!important}.clientes-table{min-width:760px!important}.clientes-table-shell{overflow:auto!important}}

/* v10.9.6 */
.contracts-bulk-actions{display:flex;gap:10px;margin:10px 0 14px;justify-content:flex-end;flex-wrap:wrap}.contracts-bulk-actions button{min-height:38px;border-radius:12px}.artist-profile-form input[type=number]::after{content:'%'}


/* v10.9.7 fixes */
.manual-reminder-box select,
.manual-reminder-box select option{background:#0b111b!important;color:#eaf2ff!important;}
body.theme-light .manual-reminder-box select,
body.theme-light .manual-reminder-box select option{background:#fff!important;color:#111827!important;}
.clientes-page tbody tr{display:table-row!important;visibility:visible!important;opacity:1!important;}
.client-dot{width:14px;height:14px;border-radius:50%;display:inline-block;border:0;box-shadow:0 0 0 3px rgba(255,255,255,.06);cursor:pointer}
.client-dot.ok{background:#22c55e}.client-dot.warn{background:#f59e0b}

/* v10.9.10 - formulario de lembretes refeito */
.db-reminder-box{max-width:680px!important;border-radius:24px!important;background:linear-gradient(145deg,#111827,#0b111b)!important;border:1px solid rgba(148,163,184,.28)!important;box-shadow:0 30px 90px rgba(0,0,0,.55)!important;overflow:hidden!important}
.db-reminder-box .reminder-x{top:18px!important;right:20px!important;width:34px!important;height:34px!important;border-radius:12px!important;background:rgba(15,23,42,.72)!important;border:1px solid rgba(148,163,184,.20)!important;color:#e5e7eb!important}
.reminder-modal-hero{padding:26px 28px 8px!important;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;background:radial-gradient(circle at 20% 0%,rgba(99,102,241,.18),transparent 40%)}
.reminder-modal-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:16px;background:linear-gradient(135deg,#7c3aed,#2563eb);box-shadow:0 14px 35px rgba(99,102,241,.3);margin-bottom:12px;font-size:18px}
.db-reminder-box h3{font-size:22px!important;margin:0 0 6px!important;letter-spacing:-.02em}.db-reminder-box .muted{color:#b8c2d2!important}.db-reminder-grid{padding:16px 28px 22px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}.db-reminder-grid label{font-size:12px!important;color:#e7edf7!important;font-weight:700!important;letter-spacing:.01em}.db-reminder-grid label.full{grid-column:1/-1!important}.db-reminder-grid input,.db-reminder-grid select,.db-reminder-grid textarea{width:100%!important;margin-top:7px!important;background:#070b12!important;color:#f8fafc!important;border:1px solid rgba(148,163,184,.30)!important;border-radius:14px!important;min-height:48px!important;padding:0 15px!important;outline:none!important;box-sizing:border-box!important;font-weight:600!important}.db-reminder-grid textarea{min-height:118px!important;padding:14px 15px!important;resize:vertical!important}.db-reminder-grid input:focus,.db-reminder-grid select:focus,.db-reminder-grid textarea:focus{border-color:#7c3aed!important;box-shadow:0 0 0 4px rgba(124,58,237,.16)!important}.db-reminder-grid select option{background:#0b111b!important;color:#f8fafc!important}.reminder-switch-card{display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;background:linear-gradient(145deg,#111827,#0c1220)!important;border:1px solid rgba(148,163,184,.25)!important;border-radius:16px!important;min-height:76px!important;padding:14px!important}.reminder-switch-card input{display:none!important}.reminder-switch-card span{width:48px!important;height:26px!important;border-radius:999px!important;background:#1f2937!important;position:relative!important;display:inline-block!important;border:1px solid rgba(148,163,184,.25)!important;flex:none!important}.reminder-switch-card span:after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background:#fff;left:3px;top:2px;transition:.18s ease;box-shadow:0 4px 12px rgba(0,0,0,.25)}.reminder-switch-card input:checked+span{background:linear-gradient(135deg,#7c3aed,#2563eb)!important}.reminder-switch-card input:checked+span:after{transform:translateX(22px)}.reminder-switch-card b{font-size:13px!important;color:#fff!important;line-height:1.2!important}.reminder-modal-footer{padding:16px 28px!important;background:linear-gradient(180deg,rgba(15,23,42,.55),rgba(15,23,42,.95))!important;border-top:1px solid rgba(148,163,184,.18)!important;display:flex!important;justify-content:flex-end!important;gap:12px!important}.reminder-modal-footer button{min-height:44px!important;border-radius:14px!important;padding:0 22px!important}.reminder-modal-footer button.white{background:linear-gradient(135deg,#fff,#e8eef8)!important;color:#08111f!important;font-weight:800!important}.db-manual-reminder{border-color:rgba(124,58,237,.45)!important;background:linear-gradient(135deg,rgba(124,58,237,.18),rgba(37,99,235,.10))!important}.db-manual-reminder .manual-desc{display:block!important;margin-top:4px!important;color:#cbd5e1!important}.soft-notify{background:linear-gradient(145deg,#111827,#0b111b)!important;border:1px solid rgba(124,58,237,.38)!important;border-radius:18px!important;color:#f8fafc!important;box-shadow:0 20px 60px rgba(0,0,0,.45)!important}.theme-light .db-reminder-box{background:#ffffff!important;color:#111827!important}.theme-light .db-reminder-grid label,.theme-light .db-reminder-box h3{color:#111827!important}.theme-light .db-reminder-box .muted{color:#475569!important}.theme-light .db-reminder-grid input,.theme-light .db-reminder-grid select,.theme-light .db-reminder-grid textarea{background:#f8fafc!important;color:#111827!important;border-color:#cbd5e1!important}.theme-light .db-reminder-grid select option{background:#fff!important;color:#111827!important}.theme-light .reminder-switch-card{background:#f8fafc!important}.theme-light .reminder-switch-card b{color:#111827!important}

/* v10.9.11 - modal lembrete banco */
.uf-reminder-db-box{max-width:760px;width:min(760px,calc(100vw - 48px));background:linear-gradient(145deg,#111821,#0b1017);border:1px solid rgba(148,163,184,.28);box-shadow:0 26px 90px rgba(0,0,0,.55);}
.uf-reminder-db-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.uf-reminder-db-grid .full{grid-column:1/-1}.uf-reminder-db-grid label{display:flex;flex-direction:column;gap:8px;color:#e5eef8;font-weight:800}.uf-reminder-db-grid input,.uf-reminder-db-grid select,.uf-reminder-db-grid textarea{width:100%;background:#070b10!important;color:#f8fafc!important;border:1px solid rgba(148,163,184,.30)!important;border-radius:12px!important;padding:13px 15px!important;box-sizing:border-box}.uf-reminder-db-grid select option{background:#0b1017;color:#fff}.uf-reminder-switch{border:1px solid rgba(148,163,184,.30);border-radius:14px;background:rgba(15,23,42,.55);align-items:center;justify-content:center;text-align:center}.uf-reminder-switch input{display:none}.uf-reminder-switch span{width:42px;height:22px;border-radius:99px;background:#1f2937;position:relative;display:inline-block;margin-bottom:8px}.uf-reminder-switch span:after{content:'';position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;left:2px;top:2px;transition:.18s}.uf-reminder-switch input:checked+span{background:linear-gradient(135deg,#6d4aff,#22d3ee)}.uf-reminder-switch input:checked+span:after{left:22px}.uf-reminder-footer{display:flex;justify-content:flex-end;gap:12px;margin:20px -24px -24px;padding:16px 24px;background:rgba(15,23,42,.75);border-top:1px solid rgba(148,163,184,.20)}
body.light .uf-reminder-db-box{background:#fff;color:#111827}body.light .uf-reminder-db-grid label{color:#111827}body.light .uf-reminder-db-grid input,body.light .uf-reminder-db-grid select,body.light .uf-reminder-db-grid textarea{background:#f8fafc!important;color:#111827!important;border-color:#cbd5e1!important}body.light .uf-reminder-switch{background:#f8fafc}

/* ===== v10.9.13 - contratos lote ===== */
.contracts-bulk-actions{display:flex;gap:10px;align-items:center;margin:12px 0 0 0;position:relative;z-index:4}
.contracts-bulk-actions button{border-radius:12px;padding:9px 14px;border:1px solid var(--border);background:rgba(15,23,42,.88);color:var(--text);font-weight:700;cursor:pointer;box-shadow:0 10px 26px rgba(0,0,0,.18);transition:transform .12s ease,filter .12s ease,border-color .12s ease}
.contracts-bulk-actions button:hover{border-color:rgba(255,255,255,.28);filter:brightness(1.08)}
.contracts-bulk-actions button:active{transform:scale(.97)}
.contracts-bulk-actions .subtle-danger{background:linear-gradient(135deg,rgba(69,10,10,.88),rgba(18,24,38,.92));color:#ffb4b4;border-color:rgba(248,113,113,.34)}
#contratosBulkStatusModal .modal-box{max-width:520px;width:min(92vw,520px)}
#contratosBulkStatusModal .bulk-status-list{display:grid;gap:10px;margin:16px 0}
#contratosBulkStatusModal .bulk-status-option{display:flex;align-items:center;gap:12px;width:100%;border:1px solid var(--border);background:rgba(15,23,42,.78);color:var(--text);border-radius:14px;padding:12px 14px;text-align:left;font-weight:800;cursor:pointer;transition:transform .12s ease,border-color .12s ease,background .12s ease}
#contratosBulkStatusModal .bulk-status-option:hover{border-color:rgba(99,102,241,.7);background:rgba(30,41,59,.95)}
#contratosBulkStatusModal .bulk-status-option:active{transform:scale(.985)}
#contratosBulkStatusModal .bulk-status-option .dot{width:13px;height:13px;border-radius:999px;box-shadow:0 0 0 3px rgba(255,255,255,.08)}
#contratosBulkStatusModal .bulk-status-option small{margin-left:auto;color:var(--muted);font-weight:600}
#contratosBulkDeleteModal .modal-box{max-width:500px;width:min(92vw,500px)}
#contratosBulkDeleteModal .danger-note{background:rgba(127,29,29,.22);border:1px solid rgba(248,113,113,.35);color:#fecaca;border-radius:14px;padding:14px;margin:14px 0;line-height:1.45}
#contratosBulkDeleteModal .danger-confirm{display:flex;gap:10px;align-items:center;margin:14px 0;color:var(--text);font-weight:700}
#contratosBulkDeleteModal .danger-confirm input{width:18px;height:18px}
#contratosBulkDeleteConfirmBtn:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.5)}

/* v10.9.14 - barra real de contratos em lote */
.contratos-real-bulk-bar{position:fixed;z-index:99999;left:50%;top:76px;transform:translateX(-50%);width:min(760px,calc(100vw - 32px));min-height:52px;background:#fff;color:#07111f;border:1px solid rgba(15,23,42,.12);box-shadow:0 18px 45px rgba(0,0,0,.35);border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 12px 9px 16px;font-family:inherit}
.contratos-real-bulk-bar.hidden{display:none!important}.crb-left{display:flex;align-items:center;gap:10px}.crb-check{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:#fff;color:#111827;border:1px solid #111827;font-weight:900}.crb-actions{display:flex;align-items:center;gap:8px}.crb-btn{border:0;border-radius:9px;background:#111827;color:#fff;padding:9px 14px;font-weight:800;cursor:pointer}.crb-btn:hover{filter:brightness(1.12)}.crb-btn.danger{background:#7f1d1d;color:#fecaca}.crb-btn:disabled{opacity:.65;cursor:wait}.crb-x{border:0;background:transparent;color:#111827;font-size:22px;line-height:1;cursor:pointer;padding:6px 8px}.crb-menu{position:absolute;right:42px;top:48px;width:210px;background:#1f2937;color:#fff;border:1px solid rgba(148,163,184,.35);border-radius:10px;box-shadow:0 18px 45px rgba(0,0,0,.45);padding:10px;display:grid;gap:4px}.crb-menu.hidden{display:none!important}.crb-menu-title{font-size:12px;color:#cbd5e1;margin:2px 4px 6px}.crb-menu button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;color:#fff;text-align:left;border-radius:8px;padding:9px 8px;font-weight:800;cursor:pointer}.crb-menu button:hover{background:rgba(255,255,255,.09)}.crb-menu button span{width:10px;height:10px;border-radius:999px;box-shadow:0 0 0 2px rgba(255,255,255,.14)}
body.light .contratos-real-bulk-bar{background:#fff;color:#07111f;border-color:#dbe3ef}.dark .contratos-real-bulk-bar{background:#f8fafc;color:#07111f}

/* v10.9.15 - menu de status em lote definitivo */
.contratos-lote-status-menu-final{
  position:fixed; z-index:99999; width:260px; max-width:calc(100vw - 24px);
  background:#101722; border:1px solid rgba(148,163,184,.28); border-radius:14px;
  box-shadow:0 22px 70px rgba(0,0,0,.55); color:#eef2ff; padding:12px;
}
.clsm-head{display:flex; align-items:center; justify-content:space-between; gap:10px; padding-bottom:8px; border-bottom:1px solid rgba(148,163,184,.18);}
.clsm-close{background:transparent!important; border:0!important; color:#cbd5e1!important; font-size:18px; cursor:pointer; padding:2px 6px!important;}
.clsm-count{font-size:12px; color:#aab6c8; margin:9px 0;}
.clsm-list{display:grid; gap:6px;}
.clsm-option{display:flex!important; align-items:center; gap:9px; width:100%; padding:10px!important; border-radius:10px!important; background:#0b111a!important; border:1px solid rgba(148,163,184,.16)!important; color:#f8fafc!important; text-align:left!important; cursor:pointer; font-weight:700;}
.clsm-option:hover{background:#162033!important; transform:translateY(-1px);}
.clsm-dot{width:10px; height:10px; border-radius:999px; flex:0 0 10px; box-shadow:0 0 0 2px rgba(255,255,255,.08);}


/* v10.10 - Repasse de Sócios */
.repasse-page{max-width:1320px;margin:0 auto;padding:34px 24px 80px}.repasse-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.repasse-head h2{font-size:28px;margin:0 0 4px}.repasse-actions-top{display:flex;gap:10px}.repasse-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.rep-card{border:1px solid var(--border);border-radius:14px;padding:20px;background:linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,.015));box-shadow:0 16px 42px rgba(0,0,0,.18)}.rep-card span{display:block;color:var(--muted);font-size:12px;font-weight:800;margin-bottom:10px}.rep-card strong{font-size:22px}.rep-card strong.ok{color:#16d98c}.rep-card strong.warn{color:#f59e0b}.repasse-filter-panel,.repasse-table-panel,.repasse-log-panel{margin-top:18px;padding:18px}.repasse-filter-panel h3,.repasse-table-panel h3,.repasse-log-panel h3{margin:0 0 14px;font-size:18px}.repasse-filter-grid{display:grid;grid-template-columns:1.1fr 1.1fr 1fr 1fr .8fr .8fr;gap:12px;align-items:end}.repasse-filter-grid label{font-weight:800;color:var(--muted);font-size:12px}.repasse-filter-grid select,.repasse-filter-grid input{width:100%;height:42px;margin-top:6px;border-radius:10px;border:1px solid var(--border);background:var(--input);color:var(--text);padding:0 12px}.repasse-filter-footer{display:flex;justify-content:flex-end;margin-top:14px}.repasse-table{width:100%;border-collapse:collapse}.repasse-table th{background:rgba(255,255,255,.08);font-size:12px;text-align:left;padding:12px}.repasse-table td{border-top:1px solid var(--border);padding:13px 12px;font-size:13px}.rp-dot{width:14px;height:14px;border:1px solid var(--muted);border-radius:50%;display:inline-block}.repasse-logs{display:grid;gap:8px}.rp-log-item{border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:rgba(255,255,255,.03);color:var(--text)}.repasse-acerto-card{max-width:460px}.repasse-acerto-card label{display:block;margin-top:14px;font-weight:800}.repasse-acerto-card input{width:100%;height:44px;margin-top:8px;border-radius:10px;border:1px solid var(--border);background:var(--input);color:var(--text);padding:0 12px}@media(max-width:1100px){.repasse-filter-grid{grid-template-columns:repeat(2,1fr)}.repasse-cards{grid-template-columns:1fr}.repasse-head{flex-direction:column}}
body.theme-light .rep-card,body.theme-light .repasse-filter-panel,body.theme-light .repasse-table-panel,body.theme-light .repasse-log-panel{background:#fff;border-color:#d7e0ef}body.theme-light .repasse-table th{background:#eef3fa;color:#0f172a}

/* ===== v10.10.1 - Repasse de Sócios refinado ===== */
.repasse-page{max-width:1220px;margin:0 auto;padding:42px 28px 90px}.repasse-head.deluxe-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.repasse-head h2{font-size:30px;line-height:1.05;margin:0 0 6px;font-weight:900;letter-spacing:-.03em}.page-mark{display:inline-block;margin-right:8px;color:#fff}.repasse-head .muted{font-size:14px;color:var(--muted)}.repasse-actions-top{display:flex;gap:10px;align-items:center}.repasse-actions-top button{height:42px;border-radius:11px;padding:0 18px;font-weight:850}.repasse-actions-top .white{background:#fff;color:#05070b;border-color:#fff}.repasse-actions-top .btn-soft{background:rgba(17,24,39,.86);color:var(--text);border:1px solid var(--border)}
.repasse-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 18px}.rep-card{min-height:96px;border:1px solid rgba(148,163,184,.25);border-radius:13px;padding:22px 22px;background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.012));box-shadow:none}.rep-card span{display:block;color:var(--muted);font-size:12px;font-weight:800;margin-bottom:10px}.rep-card strong{font-size:23px;letter-spacing:.01em}.rep-card strong.ok{color:#15d989}.rep-card strong.warn{color:#f59e0b}.repasse-filter-panel,.repasse-table-panel,.repasse-log-panel{margin-top:18px;padding:20px;border-radius:14px;background:rgba(8,12,18,.78);border:1px solid rgba(148,163,184,.22)}.panel-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.panel-title-row h3,.repasse-table-panel h3,.repasse-log-panel h3{margin:0;font-size:18px;font-weight:900}.ghost-clean{background:transparent!important;border:0!important;color:var(--muted)!important;font-weight:800;padding:8px 10px!important}.repasse-filter-grid{display:grid;grid-template-columns:1.2fr 1.2fr 1fr 1fr .75fr .75fr;gap:12px;align-items:end}.repasse-filter-grid label{font-weight:850;color:var(--text);font-size:12px}.repasse-filter-grid select,.repasse-filter-grid input{display:block;width:100%;height:42px;margin-top:7px;border-radius:10px;border:1px solid rgba(148,163,184,.25);background:#242424;color:#fff;padding:0 12px;font-weight:750}.repasse-filter-grid input[type="date"]{background:#05070b;color:#fff}.repasse-table-wrap{overflow:hidden;border:1px solid rgba(148,163,184,.22);border-radius:13px;margin-top:14px}.repasse-table{width:100%;border-collapse:collapse;table-layout:fixed}.repasse-table th{height:46px;background:rgba(255,255,255,.09);font-size:12px;text-align:left;padding:0 16px;color:#f7fafc}.repasse-table td{border-top:1px solid rgba(148,163,184,.18);padding:16px;font-size:13px;vertical-align:middle}.repasse-table th:nth-child(1),.repasse-table td:nth-child(1){width:42px;text-align:center}.repasse-table th:nth-child(2),.repasse-table td:nth-child(2){width:150px}.repasse-table th:nth-child(4),.repasse-table td:nth-child(4),.repasse-table th:nth-child(5),.repasse-table td:nth-child(5){width:180px;text-align:right}.repasse-table th:nth-child(6),.repasse-table td:nth-child(6){width:160px;text-align:center}.repasse-table th:nth-child(7),.repasse-table td:nth-child(7){width:90px;text-align:center}.rp-dot{width:16px;height:16px;border:1.5px solid #d9e2ef;border-radius:50%;display:inline-block;background:transparent}.repasse-table .tag{padding:6px 12px;border-radius:999px;background:#fff9ed;color:#b45309;font-size:12px;font-weight:800}.repasse-logs{display:grid;gap:8px}.rp-log-item{display:grid;grid-template-columns:120px 1fr 1fr 120px 1fr;gap:10px;align-items:center;border:1px solid rgba(148,163,184,.22);border-radius:10px;padding:10px 12px;background:rgba(255,255,255,.03);color:var(--text)}.rp-log-item em{font-style:normal;color:var(--muted)}.repasse-acerto-card{max-width:460px}.repasse-acerto-card label{display:block;margin-top:14px;font-weight:800}.repasse-acerto-card input{width:100%;height:44px;margin-top:8px;border-radius:10px;border:1px solid var(--border);background:var(--input);color:var(--text);padding:0 12px}
body.theme-light .repasse-page{color:#0f172a}body.theme-light .repasse-filter-panel,body.theme-light .repasse-table-panel,body.theme-light .repasse-log-panel,body.theme-light .rep-card{background:#fff;border-color:#d8e0ee}body.theme-light .repasse-table-wrap{border-color:#d8e0ee}body.theme-light .repasse-table th{background:#eef3fa;color:#0f172a}body.theme-light .repasse-table td{border-color:#d8e0ee;color:#0f172a}body.theme-light .repasse-filter-grid select{background:#f3f4f6;color:#111827;border-color:#d8e0ee}body.theme-light .repasse-filter-grid input{background:#fff;color:#111827;border-color:#d8e0ee}body.theme-light .repasse-actions-top .btn-soft{background:#fff;color:#111827;border-color:#d8e0ee}
@media(max-width:1180px){.repasse-filter-grid{grid-template-columns:repeat(3,1fr)}.repasse-table{min-width:880px}.repasse-table-wrap{overflow-x:auto}}@media(max-width:820px){.repasse-page{padding:26px 16px 80px}.repasse-head.deluxe-head{flex-direction:column}.repasse-cards{grid-template-columns:1fr}.repasse-filter-grid{grid-template-columns:1fr}.rp-log-item{grid-template-columns:1fr}}

/* ===== v10.11 Contas a Receber ===== */
.cr-page{max-width:1440px;margin:0 auto;padding:28px 28px 80px}.cr-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:14px}.cr-head h2{font-size:30px;margin:0 0 4px}.cr-actions{display:flex;gap:12px}.cr-actions button,.cr-primary{border-radius:12px;border:1px solid var(--border);padding:12px 18px;font-weight:800;background:var(--panel);color:var(--text)}.cr-primary{background:linear-gradient(135deg,#7c3aed,#4f46e5)!important;color:#fff!important;border:0!important;box-shadow:0 12px 26px rgba(124,58,237,.25)}.cr-tabs{display:flex;gap:18px;border-bottom:1px solid var(--border);margin:0 0 16px}.cr-tabs button{background:transparent;border:0;color:var(--muted);padding:14px 22px;font-weight:900}.cr-tabs button.active{color:#7c3aed;border-bottom:3px solid #7c3aed}.cr-filters{display:grid;grid-template-columns:repeat(8,minmax(120px,1fr));gap:10px;margin:16px 0}.cr-filters label{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:8px 12px;color:var(--muted);font-weight:800;font-size:12px}.cr-filters select,.cr-filters input{width:100%;border:0;background:transparent;color:var(--text);font-weight:800;padding-top:4px;outline:0}.cr-summary{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin:14px 0 18px}.cr-card{border:1px solid var(--border);background:var(--panel);border-radius:16px;padding:18px;box-shadow:0 14px 40px rgba(0,0,0,.12)}.cr-card span{display:block;color:var(--muted);font-weight:800}.cr-card strong{display:block;font-size:22px;margin:8px 0}.cr-card small{color:var(--muted)}.cr-card .green,.green{color:#16a34a!important}.cr-card .orange,.orange{color:#f97316!important}.cr-card .blue,.blue{color:#2563eb!important}.cr-card .purple,.purple{color:#7c3aed!important}.cr-card .red,.red{color:#ef4444!important}.cr-layout{display:grid;grid-template-columns:1fr 390px;gap:18px}.cr-events-card,.cr-detail{border:1px solid var(--border);background:var(--panel);border-radius:16px;overflow:hidden}.cr-card-title{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid var(--border)}.cr-card-title h3{margin:0}.cr-table-wrap{overflow:auto}.cr-table{width:100%;border-collapse:collapse;min-width:850px}.cr-table th,.cr-table td{padding:14px 16px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.cr-table th{font-size:12px;color:var(--muted);background:rgba(148,163,184,.08)}.cr-table td small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.cr-table tr.selected{background:rgba(124,58,237,.08)}.cr-progress{height:6px;background:rgba(148,163,184,.25);border-radius:999px;overflow:hidden;margin-top:6px}.cr-progress i{display:block;height:100%;background:#16a34a;border-radius:999px}.cr-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 12px;font-weight:900;font-size:12px;background:#e5e7eb;color:#111827}.theme-dark .cr-badge,.theme-deluxe .cr-badge{color:#fff}.cr-badge.quitado{background:#dcfce7;color:#166534}.cr-badge.parcial{background:#ffedd5;color:#9a3412}.cr-badge.em-aberto{background:#fee2e2;color:#991b1b}.cr-badge.info{background:#ede9fe;color:#5b21b6}.cr-detail{padding:16px;align-self:start}.cr-empty-detail{min-height:260px;display:flex;align-items:center;justify-content:center;color:var(--muted);font-weight:800}.cr-detail-head h3{font-size:22px;margin:0 0 4px}.cr-detail-head{border-bottom:1px solid var(--border);padding-bottom:14px;margin-bottom:14px}.cr-event-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.cr-event-totals div{background:rgba(148,163,184,.08);border:1px solid var(--border);border-radius:12px;padding:12px}.cr-event-totals span{display:block;color:var(--muted);font-size:12px;font-weight:800}.cr-event-totals b{display:block;margin-top:5px}.cr-items table{width:100%;border-collapse:collapse}.cr-items th,.cr-items td{font-size:12px;padding:10px;border-bottom:1px solid var(--border);text-align:left}.cr-primary.full{width:100%;margin-top:16px}.cr-modal-box{max-width:820px}.cr-modal-box.small{max-width:640px}.cr-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cr-form-grid label{font-weight:900;color:var(--text)}.cr-form-grid label.full{grid-column:1/-1}.cr-form-grid input,.cr-form-grid select,.cr-form-grid textarea{width:100%;margin-top:6px;border-radius:12px;border:1px solid var(--border);background:var(--input,#070b12);color:var(--text);padding:12px;font-weight:700}.cr-form-grid textarea{min-height:80px;resize:vertical}.cr-auto-items{margin-top:14px;border:1px solid var(--border);border-radius:14px;background:rgba(124,58,237,.06);padding:14px}.cr-auto-items h4{margin:0 0 10px}.cr-auto-items span{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--border)}.cr-auto-items span:last-child{border-bottom:0}.cr-receipt-filters{grid-template-columns:repeat(6,1fr)}.theme-light .cr-card,.theme-light .cr-events-card,.theme-light .cr-detail,.theme-light .cr-filters label{background:#fff}.theme-light .cr-filters select,.theme-light .cr-filters input,.theme-light .cr-form-grid input,.theme-light .cr-form-grid select,.theme-light .cr-form-grid textarea{background:#fff;color:#111827}.theme-light .cr-table th{background:#f8fafc}@media(max-width:1200px){.cr-summary{grid-template-columns:repeat(3,1fr)}.cr-layout{grid-template-columns:1fr}.cr-filters{grid-template-columns:repeat(4,1fr)}}@media(max-width:800px){.cr-summary,.cr-filters,.cr-receipt-filters,.cr-form-grid{grid-template-columns:1fr}.cr-head{flex-direction:column;gap:12px}}

/* ===== v10.11.2 Contas a Receber funcional ===== */
.cr-modern-page{max-width:1500px;margin:0 auto;padding:36px 28px 42px;background:#f8fafc;color:#0f172a;min-height:calc(100vh - 70px)}
body.dark .cr-modern-page,.theme-dark .cr-modern-page,.app.dark .cr-modern-page{background:#05070a;color:#eef2ff}
.crx-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.crx-head h2{font-size:30px;margin:0 0 6px}.crx-head-actions{display:flex;gap:12px}.crx-btn{min-height:44px;border:1px solid #d9e1ef;background:#fff;border-radius:10px;padding:0 18px;font-weight:700;color:#162033;cursor:pointer}.crx-primary{background:#6d39f4!important;color:#fff!important;border-color:#6d39f4!important;box-shadow:0 16px 30px rgba(109,57,244,.22)}body.dark .crx-btn,.theme-dark .crx-btn,.app.dark .crx-btn{background:#0d1522;color:#fff;border-color:#263244}.crx-tabs{display:flex;gap:28px;border-bottom:1px solid #e5eaf3;margin-bottom:16px}.crx-tabs button{background:transparent;border:0;padding:0 22px 14px;font-weight:800;color:#506078;cursor:pointer}.crx-tabs button.active{color:#6d39f4;border-bottom:3px solid #6d39f4}body.dark .crx-tabs{border-color:#1e293b}.crx-card-soft{background:#fff;border:1px solid #e0e6f1;border-radius:14px;box-shadow:0 10px 24px rgba(15,23,42,.04)}body.dark .crx-card-soft,.theme-dark .crx-card-soft,.app.dark .crx-card-soft{background:#0d1118;border-color:#263244;box-shadow:none}.crx-filter-row{display:grid;grid-template-columns:1.35fr repeat(7,1fr) auto;gap:10px;padding:14px;margin-bottom:16px;align-items:end}.crx-filter-row.receipts{grid-template-columns:1.2fr repeat(7,1fr) auto}.crx-filter-row label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#596579}.crx-filter-row input,.crx-filter-row select{height:48px;border:1px solid #e1e8f2;border-radius:10px;background:#fff;color:#111827;padding:0 12px}.crx-filter-row select{appearance:auto}body.dark .crx-filter-row label{color:#cbd5e1}body.dark .crx-filter-row input,body.dark .crx-filter-row select,.theme-dark .crx-filter-row input,.theme-dark .crx-filter-row select,.app.dark .crx-filter-row input,.app.dark .crx-filter-row select{background:#090d13;color:#fff;border-color:#273348}.crx-more{height:48px;color:#6d39f4}.crx-summary{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin-bottom:18px}.cr-card{background:#fff;border:1px solid #e0e6f1;border-radius:14px;padding:20px 16px;display:grid;gap:8px;min-height:96px}.cr-card span{font-size:13px;color:#61708a}.cr-card strong{font-size:22px;color:#4f46e5}.cr-card small{font-size:12px;color:#334155}.cr-card .green,.green{color:#0a9f3f!important}.cr-card .orange,.orange{color:#f05a1a!important}.cr-card .blue,.blue{color:#2563eb!important}.cr-card .purple,.purple{color:#6d39f4!important}.cr-card .red,.red{color:#ef4444!important}body.dark .cr-card,.theme-dark .cr-card,.app.dark .cr-card{background:#0d1118;border-color:#263244}body.dark .cr-card span,body.dark .cr-card small{color:#cbd5e1}.crx-events-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(360px,.95fr);gap:16px}.crx-list{overflow:hidden}.crx-list h3,.crx-detail h3{margin:0;padding:18px 16px;font-size:18px}.crx-list-title{display:flex;justify-content:space-between;align-items:center;padding:16px}.crx-list-title h3{padding:0}.crx-table-wrap{overflow:auto}.crx-table{width:100%;border-collapse:separate;border-spacing:0}.crx-table th{background:#f7f9fd;color:#334155;text-align:left;font-size:12px;padding:13px 14px;border-bottom:1px solid #e5eaf3}.crx-table td{padding:15px 14px;border-bottom:1px solid #e5eaf3;font-size:13px;vertical-align:middle}.crx-table b{display:block}.crx-table small{display:block;color:#64748b;margin-top:4px}.crx-table tr{cursor:pointer}.crx-table tr.selected,.crx-table tr:hover{background:#f7f4ff}.crx-table button{border:0;background:transparent;font-size:26px;cursor:pointer;color:#64748b}.empty-row{text-align:center;color:#64748b;padding:32px!important}body.dark .crx-table th,.theme-dark .crx-table th,.app.dark .crx-table th{background:#151b24;color:#e5e7eb;border-color:#263244}body.dark .crx-table td,.theme-dark .crx-table td,.app.dark .crx-table td{border-color:#263244;color:#fff}body.dark .crx-table tr.selected,body.dark .crx-table tr:hover{background:#101827}.cr-progress{height:6px;background:#e5e7eb;border-radius:99px;overflow:hidden;margin-top:6px}.cr-progress i{display:block;height:100%;background:#16a34a;border-radius:99px}.cr-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:800;white-space:nowrap;background:#eef2ff;color:#4f46e5}.cr-badge.quitado{background:#dcfce7;color:#15803d}.cr-badge.parcial{background:#ffedd5;color:#ea580c}.cr-badge.em-aberto{background:#fee2e2;color:#ef4444}.cr-badge.info{background:#ede9fe;color:#6d39f4}.crx-detail{padding:0 0 14px}.cr-empty-detail{display:grid;place-items:center;min-height:320px;color:#64748b;font-weight:700}.cr-detail-head{padding:18px 18px 8px}.cr-detail-head h3{padding:0;margin:0 0 5px}.cr-event-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 16px;padding:18px;border:1px solid #e5eaf3;border-radius:12px}.cr-event-totals div{display:grid;gap:5px}.cr-event-totals span{font-size:12px;color:#64748b}.cr-items{margin:14px 16px;border:1px solid #e5eaf3;border-radius:12px;overflow:hidden}.cr-items h4{margin:0;padding:14px}.cr-items table{width:100%;border-collapse:collapse}.cr-items td,.cr-items th{padding:10px;border-top:1px solid #e5eaf3;font-size:12px;text-align:left}.cr-primary.full{width:calc(100% - 32px);margin:0 16px;height:46px;border-radius:10px;border:1px solid #8b5cf6;color:#6d39f4;background:#fff;font-weight:800}.crx-legend{margin-top:16px;padding:16px;display:flex;gap:28px;align-items:flex-start;flex-wrap:wrap}.crx-legend span{font-size:12px;color:#334155}.crx-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px}.crx-legend .q{background:#16a34a}.crx-legend .p{background:#f59e0b}.crx-legend .o{background:#ef4444}.crx-legend .a{background:#3b82f6}.crx-legend .n{background:#6d39f4}.crx-legend .d{background:#eab308}.crx-pager{display:flex;justify-content:space-between;padding:14px 16px;color:#64748b;font-size:12px}.crx-modal{width:min(760px,94vw);max-height:92vh;overflow:auto}.crx-modal h3{margin:0 0 6px}.crx-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.crx-modal-grid label{display:grid;gap:6px;font-weight:700}.crx-modal-grid input,.crx-modal-grid select,.crx-modal-grid textarea{min-height:42px;border:1px solid var(--line,#263244);border-radius:10px;background:var(--field,#0b0f16);color:var(--text,#fff);padding:0 12px}.crx-modal-grid textarea{min-height:88px;padding:10px 12px}.crx-modal-grid .full{grid-column:1/-1}.crx-preview{margin-top:14px;border:1px solid var(--line,#263244);border-radius:12px;padding:12px;display:grid;gap:8px}.crx-preview span{display:flex;justify-content:space-between}.crx-modal footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line,#263244)}@media(max-width:1300px){.crx-filter-row,.crx-filter-row.receipts{grid-template-columns:repeat(4,1fr)}.crx-summary{grid-template-columns:repeat(3,1fr)}.crx-events-grid{grid-template-columns:1fr}.crx-detail{min-height:auto}}@media(max-width:800px){.crx-filter-row,.crx-filter-row.receipts,.crx-summary,.crx-modal-grid{grid-template-columns:1fr}.crx-head{flex-direction:column}.cr-modern-page{padding:20px 12px}.crx-tabs{gap:8px}.crx-events-grid{display:block}}

/* Repasse de Sócios refinado */
.repasse-page{max-width:1280px;margin:0 auto;padding:36px 28px}.repasse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.repasse-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0}.rep-card{border:1px solid var(--line,#263244);border-radius:14px;padding:22px;background:var(--surface,#0d1118);display:grid;gap:12px}.rep-card span{color:var(--muted,#cbd5e1)}.rep-card strong{font-size:24px}.repasse-filter-panel{padding:18px;margin-bottom:16px}.panel-title-row{display:flex;justify-content:space-between;align-items:center}.repasse-filter-grid{display:grid;grid-template-columns:1.1fr 1.1fr 1fr 1fr .8fr .8fr;gap:14px;align-items:end}.repasse-filter-grid label{display:grid;gap:6px;font-weight:700}.repasse-filter-grid select,.repasse-filter-grid input{min-height:44px;border-radius:10px;padding:0 12px;background:var(--field,#0b0f16);color:var(--text,#fff);border:1px solid var(--line,#263244)}.repasse-table-panel,.repasse-log-panel{padding:18px;margin-top:16px}.repasse-table{width:100%;border-collapse:separate;border-spacing:0}.repasse-table th,.repasse-table td{padding:14px;border-bottom:1px solid var(--line,#263244);text-align:left}.repasse-logs{display:grid;gap:8px}.rp-log-item{display:grid;grid-template-columns:100px 1fr 1fr 120px 1fr;gap:10px;border:1px solid var(--line,#263244);border-radius:10px;padding:10px}.ghost-clean{background:transparent;border:0;color:var(--muted,#cbd5e1);font-weight:700;cursor:pointer}.btn-soft{border:1px solid var(--line,#263244);background:var(--surface,#0d1118);border-radius:10px;padding:12px 14px;color:var(--text,#fff);font-weight:700}.repasse-actions-top{display:flex;gap:10px}@media(max-width:1000px){.repasse-cards,.repasse-filter-grid{grid-template-columns:1fr}.repasse-head{flex-direction:column}}

/* v10.11.3 - correções visuais Contas a Receber + Repasse */
.cr-modern-page.crx-fix-page{max-width:1520px;margin:0 auto;padding:34px 28px 80px;background:transparent;color:var(--text,#fff)}
.crx-fix-page .crx-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.crx-fix-page .crx-head h2{font-size:30px;margin:0 0 6px;letter-spacing:-.02em}.crx-head-actions{display:flex;gap:12px}.crx-btn{min-height:44px;border:1px solid rgba(148,163,184,.28);background:rgba(15,23,42,.76);border-radius:10px;padding:0 18px;font-weight:800;color:var(--text,#fff);cursor:pointer}.crx-primary{background:#6d39f4!important;color:#fff!important;border-color:#6d39f4!important;box-shadow:0 16px 30px rgba(109,57,244,.22)}.crx-tabs{display:flex;gap:28px;border-bottom:1px solid rgba(148,163,184,.22);margin-bottom:16px}.crx-tabs button{background:transparent;border:0;padding:0 22px 14px;font-weight:900;color:var(--muted,#cbd5e1);cursor:pointer}.crx-tabs button.active{color:#7c3aed;border-bottom:3px solid #7c3aed}.crx-card-soft{background:rgba(15,23,42,.72);border:1px solid rgba(148,163,184,.22);border-radius:14px;box-shadow:0 10px 24px rgba(0,0,0,.12)}.crx-filter-row{display:grid;grid-template-columns:1.15fr .85fr .85fr repeat(5,1fr) auto;gap:10px;padding:14px;margin-bottom:16px;align-items:end}.crx-filter-row.receipts{grid-template-columns:1.1fr .8fr .8fr repeat(5,1fr) auto}.crx-filter-row label{display:grid;gap:6px;font-size:12px;font-weight:800;color:var(--muted,#cbd5e1)}.crx-filter-row input,.crx-filter-row select{height:48px;border:1px solid rgba(148,163,184,.28);border-radius:10px;background:#090d13;color:var(--text,#fff);padding:0 12px;font-weight:750}.crx-summary{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin:0 0 18px}.cr-card{background:rgba(15,23,42,.72);border:1px solid rgba(148,163,184,.22);border-radius:14px;padding:20px 16px;display:grid;gap:8px;min-height:96px}.cr-card span{font-size:13px;color:var(--muted,#cbd5e1)}.cr-card strong{font-size:22px;color:#7c3aed}.cr-card small{font-size:12px;color:var(--muted,#cbd5e1)}.crx-events-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(360px,.95fr);gap:16px}.crx-list{overflow:hidden}.crx-list h3,.crx-detail h3{margin:0;padding:18px 16px;font-size:18px}.crx-list-title{display:flex;justify-content:space-between;align-items:center;padding:16px}.crx-list-title h3{padding:0}.crx-table-wrap{overflow:auto}.crx-table{width:100%;border-collapse:separate;border-spacing:0}.crx-table th{background:rgba(255,255,255,.05);color:var(--muted,#cbd5e1);text-align:left;font-size:12px;padding:13px 14px;border-bottom:1px solid rgba(148,163,184,.22)}.crx-table td{padding:15px 14px;border-bottom:1px solid rgba(148,163,184,.18);font-size:13px;vertical-align:middle;color:var(--text,#fff)}.crx-table b{display:block}.crx-table small{display:block;color:var(--muted,#cbd5e1);margin-top:4px}.crx-table tr{cursor:pointer}.crx-table tr.selected,.crx-table tr:hover{background:rgba(124,58,237,.12)}.crx-table button{border:0;background:transparent;font-size:26px;cursor:pointer;color:var(--muted,#cbd5e1)}.empty-row{text-align:center;color:var(--muted,#cbd5e1);padding:32px!important}.cr-progress{height:6px;background:rgba(148,163,184,.25);border-radius:99px;overflow:hidden;margin-top:6px}.cr-progress i{display:block;height:100%;background:#16a34a;border-radius:99px}.cr-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900;white-space:nowrap;background:#eef2ff;color:#4f46e5}.cr-badge.quitado{background:#dcfce7;color:#15803d}.cr-badge.parcial{background:#ffedd5;color:#ea580c}.cr-badge.em-aberto{background:#fee2e2;color:#ef4444}.cr-badge.info{background:#ede9fe;color:#6d39f4}.cr-empty-detail{display:grid;place-items:center;min-height:320px;color:var(--muted,#cbd5e1);font-weight:800}.cr-detail-head{padding:18px 18px 8px}.cr-detail-head h3{padding:0;margin:0 0 5px}.cr-event-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 16px;padding:18px;border:1px solid rgba(148,163,184,.22);border-radius:12px}.cr-event-totals div{display:grid;gap:5px}.cr-event-totals span{font-size:12px;color:var(--muted,#cbd5e1)}.cr-items{margin:14px 16px;border:1px solid rgba(148,163,184,.22);border-radius:12px;overflow:hidden}.cr-items h4{margin:0;padding:14px}.cr-items table{width:100%;border-collapse:collapse}.cr-items td,.cr-items th{padding:10px;border-top:1px solid rgba(148,163,184,.18);font-size:12px;text-align:left}.cr-primary.full{width:calc(100% - 32px);margin:0 16px;height:46px;border-radius:10px;border:1px solid #8b5cf6;color:#fff;background:#6d39f4;font-weight:900}.crx-legend{margin-top:16px;padding:16px;display:flex;gap:28px;align-items:flex-start;flex-wrap:wrap}.crx-legend span{font-size:12px}.crx-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px}.crx-legend .q{background:#16a34a}.crx-legend .p{background:#f59e0b}.crx-legend .o{background:#ef4444}.crx-legend .a{background:#3b82f6}.crx-legend .n{background:#6d39f4}.crx-legend .d{background:#eab308}.crx-pager{display:flex;justify-content:space-between;padding:14px 16px;color:var(--muted,#cbd5e1);font-size:12px}.crx-modal{width:min(760px,94vw);max-height:92vh;overflow:auto}.crx-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.crx-modal-grid label{display:grid;gap:6px;font-weight:800}.crx-modal-grid input,.crx-modal-grid select,.crx-modal-grid textarea{min-height:42px;border:1px solid rgba(148,163,184,.28);border-radius:10px;background:#0b0f16;color:#fff;padding:0 12px}.crx-modal-grid textarea{min-height:88px;padding:10px 12px}.crx-modal-grid .full{grid-column:1/-1}.crx-preview{margin-top:14px;border:1px solid rgba(148,163,184,.22);border-radius:12px;padding:12px;display:grid;gap:8px}.crx-preview span{display:flex;justify-content:space-between}.crx-modal footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid rgba(148,163,184,.22)}
body.theme-light .cr-modern-page.crx-fix-page{color:#111827}body.theme-light .crx-card-soft,body.theme-light .cr-card{background:#fff;border-color:#e2e8f0;box-shadow:0 10px 28px rgba(15,23,42,.05)}body.theme-light .crx-filter-row input,body.theme-light .crx-filter-row select{background:#fff;color:#111827;border-color:#e2e8f0}body.theme-light .crx-btn{background:#fff;color:#111827;border-color:#d9e1ef}body.theme-light .crx-table th{background:#f8fafc;color:#334155;border-color:#e2e8f0}body.theme-light .crx-table td{color:#111827;border-color:#e2e8f0}body.theme-light .crx-table tr.selected,body.theme-light .crx-table tr:hover{background:#f7f4ff}body.theme-light .cr-card span,body.theme-light .cr-card small,body.theme-light .crx-filter-row label,body.theme-light .cr-empty-detail,body.theme-light .crx-pager{color:#475569}body.theme-light .crx-modal-grid input,body.theme-light .crx-modal-grid select,body.theme-light .crx-modal-grid textarea{background:#fff;color:#111827;border-color:#d9e1ef}
@media(max-width:1300px){.crx-filter-row,.crx-filter-row.receipts{grid-template-columns:repeat(4,1fr)}.crx-summary{grid-template-columns:repeat(3,1fr)}.crx-events-grid{grid-template-columns:1fr}}@media(max-width:800px){.crx-filter-row,.crx-filter-row.receipts,.crx-summary,.crx-modal-grid{grid-template-columns:1fr}.crx-head{flex-direction:column}.cr-modern-page.crx-fix-page{padding:20px 12px}}

/* ===== v10.11.4 - reparo visual completo CR + Repasse ===== */
.rpv-page{max-width:1320px;margin:0 auto;padding:46px 28px 80px!important;color:#fff}.rpv-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.rpv-head h2{font-size:28px;margin:0 0 8px}.rpv-head p{margin:0;color:#aeb8c7}.rpv-actions{display:flex;gap:10px}.rpv-actions button,.rpv-panel-title button{border:1px solid #263241;background:#111827;color:#f8fafc;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer}.rpv-actions .rpv-primary{background:#fff;color:#111827}.rpv-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.rpv-cards>div{border:1px solid #263241;background:linear-gradient(180deg,#090b0f,#0d1118);border-radius:16px;padding:22px 24px;min-height:92px}.rpv-cards span{display:block;color:#cbd5e1;font-weight:700;font-size:13px;margin-bottom:12px}.rpv-cards strong{font-size:24px}.rpv-green{color:#10d483!important}.rpv-orange{color:#f59e0b!important}.rpv-panel{border:1px solid #263241;background:linear-gradient(180deg,#090b0f,#0d1118);border-radius:16px;padding:20px 22px;margin-bottom:18px}.rpv-panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.rpv-panel-title h3,.rpv-panel h3{margin:0;font-size:18px}.rpv-filter-grid{display:grid;grid-template-columns:1.25fr 1.25fr .95fr .95fr .95fr .95fr;gap:14px;align-items:end}.rpv-filter-grid label{display:flex;flex-direction:column;gap:7px;color:#f8fafc;font-weight:800;font-size:12px}.rpv-filter-grid select,.rpv-filter-grid input{width:100%;height:44px;border-radius:10px;border:1px solid #283545;background:#0a0d12;color:#fff;padding:0 12px;box-sizing:border-box;font-weight:700}.rpv-table-wrap{overflow:auto}.rpv-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.rpv-table th{background:#1b222d;color:#fff;padding:14px;text-align:left}.rpv-table td{border-top:1px solid #273241;padding:15px 14px}.rpv-radio{display:block;width:14px;height:14px;border-radius:999px;border:1px solid #fff}.rpv-status{background:#fff4de;color:#a16207;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:800}.rpv-muted{color:#aeb8c7}.rpv-log{display:grid;grid-template-columns:140px 1fr 1fr 140px;gap:10px;padding:10px 0;border-top:1px solid #222b38}@media(max-width:1100px){.rpv-filter-grid,.rpv-cards{grid-template-columns:1fr 1fr}.rpv-head{flex-direction:column}}@media(max-width:700px){.rpv-filter-grid,.rpv-cards{grid-template-columns:1fr}}

.crp-page{background:#f8faff!important;color:#101828!important;margin:-32px -26px -80px!important;padding:32px 28px 60px!important;min-height:calc(100vh - 64px);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}.crp-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}.crp-head h2{font-size:30px;line-height:1;margin:0 0 8px;color:#101828}.crp-head p{margin:0;color:#536179;font-weight:500}.crp-head>div:last-child{display:flex;gap:12px}.crp-head button,.crp-primary,.crp-outline{border:1px solid #d8e0ee;background:#fff;color:#172033;border-radius:10px;padding:12px 22px;font-weight:800;cursor:pointer;box-shadow:0 1px 2px rgba(16,24,40,.04)}.crp-primary{background:#6738e8!important;color:#fff!important;border-color:#6738e8!important;box-shadow:0 12px 24px rgba(103,56,232,.25)!important}.crp-tabs{display:flex;border-bottom:1px solid #e1e7f0;margin-bottom:20px}.crp-tabs button{background:transparent;border:0;padding:14px 24px;color:#4a556b;font-weight:800;cursor:pointer;border-bottom:3px solid transparent}.crp-tabs button.active{color:#6738e8;border-bottom-color:#6738e8}.crp-filters{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;gap:12px;margin-bottom:20px}.crp-filters label{background:#fff;border:1px solid #e1e7f0;border-radius:10px;padding:10px 12px;color:#667085;font-size:12px;font-weight:800}.crp-filters select,.crp-filters input{display:block;width:100%;border:0;background:transparent;color:#111827;font-weight:700;font-size:14px;outline:0;margin-top:4px}.crp-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin-bottom:20px}.crp-kpis>div{background:#fff;border:1px solid #e3e9f2;border-radius:14px;padding:20px 18px;box-shadow:0 10px 24px rgba(16,24,40,.04)}.crp-kpis span{display:block;color:#667085;font-weight:600;margin-bottom:10px}.crp-kpis strong{font-size:22px;display:block}.crp-kpis small{color:#536179;font-weight:600}.crp-kpis .purple{color:#5b35e6}.crp-kpis .blue{color:#2875e8}.crp-kpis .green{color:#16a34a}.crp-kpis .orange{color:#f06423}.crp-kpis .red{color:#ef4444}.crp-grid{display:grid;grid-template-columns:minmax(0,2fr) 420px;gap:16px}.crp-table-card,.crp-detail{background:#fff;border:1px solid #e1e7f0;border-radius:14px;box-shadow:0 10px 24px rgba(16,24,40,.04);overflow:hidden}.crp-table-card h3{font-size:18px;margin:0;padding:18px;border-bottom:1px solid #e1e7f0;color:#111827}.crp-table-card table{width:100%;border-collapse:collapse}.crp-table-card th{background:#f7f9fc;color:#536179;font-size:12px;text-align:left;padding:14px;border-bottom:1px solid #e1e7f0}.crp-table-card td{padding:14px;border-bottom:1px solid #e1e7f0;color:#111827;vertical-align:middle}.crp-table-card tr{cursor:pointer}.crp-table-card td b{display:block;color:#111827}.crp-table-card td small{display:block;color:#667085;margin-top:4px}.crp-progress{height:5px;background:#e8edf5;border-radius:999px;overflow:hidden;margin-top:6px}.crp-progress i{display:block;height:100%;background:#16a34a}.crp-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:800;white-space:nowrap}.crp-badge.ok{background:#dcfce7;color:#15803d}.crp-badge.warn{background:#ffedd5;color:#ea580c}.crp-badge.bad{background:#fee2e2;color:#ef4444}.crp-detail{padding:20px}.crp-detail-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.crp-detail h3{margin:0 0 6px;color:#111827;font-size:22px}.crp-detail b{color:#6738e8}.crp-detail p{color:#536179}.crp-detail-box{display:grid;grid-template-columns:1fr 1fr;gap:14px;border:1px solid #e1e7f0;border-radius:12px;padding:18px;margin:18px 0}.crp-detail-box span{color:#667085}.crp-detail-box b{display:block;color:#111827;margin-top:8px;font-size:18px}.crp-detail table{width:100%;border-collapse:collapse;margin:12px 0 20px}.crp-detail td{padding:10px;border-bottom:1px solid #eef2f7}.crp-outline{width:100%;background:#fff;color:#6738e8;border-color:#b9a4ff}.crp-modal-back{position:fixed;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(5px);z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px}.crp-modal{width:min(760px,96vw);background:#fff;border-radius:18px;border:1px solid #e1e7f0;box-shadow:0 24px 80px rgba(15,23,42,.3);padding:24px;position:relative;color:#111827}.crp-modal .x{position:absolute;right:16px;top:14px;border:0;background:transparent;font-size:22px;cursor:pointer}.crp-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.crp-form label{font-weight:800;color:#344054;font-size:13px}.crp-form input,.crp-form select{width:100%;box-sizing:border-box;margin-top:7px;height:44px;border-radius:10px;border:1px solid #d8e0ee;padding:0 12px;background:#fff;color:#111827}.crp-modal-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #e1e7f0;padding-top:16px}.crp-modal-actions button{border:1px solid #d8e0ee;background:#fff;border-radius:10px;padding:12px 18px;font-weight:800;cursor:pointer}.green{color:#16a34a!important}.orange{color:#f06423!important}.hidden{display:none!important}@media(max-width:1300px){.crp-filters{grid-template-columns:repeat(4,1fr)}.crp-kpis{grid-template-columns:repeat(3,1fr)}.crp-grid{grid-template-columns:1fr}}@media(max-width:800px){.crp-head{flex-direction:column}.crp-filters,.crp-kpis,.crp-form{grid-template-columns:1fr}.crp-page{margin:0!important;padding:24px 16px!important}}

/* ===== v10.11.5 visual final: Contas a Receber + Repasse ===== */
.cr-pro-page{max-width:1660px;margin:0 auto;padding:34px 30px 70px;color:#0f172a;background:#f8fafc;min-height:100vh;font-family:Inter,system-ui,Segoe UI,Arial,sans-serif}.theme-dark .cr-pro-page,.theme-deluxe .cr-pro-page,body:not(.theme-light) .cr-pro-page{background:#f8fafc;color:#0f172a}.crp-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.crp-head h2{font-size:30px;margin:0 0 6px;font-weight:850;color:#0f172a}.crp-head p{margin:0;color:#64748b;font-weight:500}.crp-actions{display:flex;gap:14px}.crp-actions button,.crp-more,.crp-outline{border:1px solid #dbe3ef;background:#fff;color:#172033;border-radius:10px;padding:13px 22px;font-weight:800;box-shadow:0 8px 20px rgba(15,23,42,.04);cursor:pointer}.crp-actions .crp-primary,.crp-primary{background:linear-gradient(135deg,#7c3aed,#4f46e5);color:#fff;border-color:transparent;box-shadow:0 14px 30px rgba(99,102,241,.28)}.crp-tabs{display:flex;gap:30px;border-bottom:1px solid #e5eaf2;margin-bottom:20px}.crp-tabs button{border:0;background:transparent;color:#536079;font-weight:800;padding:0 22px 14px;cursor:pointer}.crp-tabs button.active{color:#6d28d9;border-bottom:3px solid #6d28d9}.crp-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;margin:16px 0 22px}.crp-card{position:relative;background:#fff;border:1px solid #e1e7f0;border-radius:14px;padding:20px 18px;box-shadow:0 10px 30px rgba(15,23,42,.035);min-height:92px}.crp-card span{display:block;color:#64748b;font-weight:650;margin-bottom:8px}.crp-card strong{display:block;font-size:21px;color:#4f46e5}.crp-card strong.ok{color:#16a34a}.crp-card strong.blue{color:#2563eb}.crp-card strong.purple{color:#6d28d9}.crp-card strong.orange{color:#ea580c}.crp-card strong.danger{color:#ef4444}.crp-card small{display:block;margin-top:7px;color:#344056}.crp-card em{position:absolute;right:18px;top:18px;background:#eef2ff;border-radius:999px;width:38px;height:38px;display:grid;place-items:center;font-style:normal}.crp-filters{display:grid;grid-template-columns:1.35fr repeat(6,1fr) .85fr;gap:10px;align-items:end;margin-bottom:22px}.crp-filters label{display:grid;gap:6px;color:#536079;font-weight:750;font-size:13px}.crp-filters input,.crp-filters select{height:54px;border:1px solid #dfe6f0;border-radius:10px;background:#fff;color:#111827;padding:0 14px;font-weight:700}.crp-period{display:grid;grid-template-columns:1fr 1fr;gap:6px}.crp-grid{display:grid;grid-template-columns:minmax(0,2fr) 560px;gap:16px}.crp-table-card,.crp-detail,.crp-legend{background:#fff;border:1px solid #e1e7f0;border-radius:14px;box-shadow:0 12px 32px rgba(15,23,42,.04);overflow:hidden}.crp-table-card.full{grid-column:1/-1}.crp-table-card h3,.crp-table-top{padding:20px 18px;margin:0;border-bottom:1px solid #e8edf5;display:flex;align-items:center;justify-content:space-between}.crp-table-card table{width:100%;border-collapse:collapse;font-size:13px}.crp-table-card th{background:#f8fafc;color:#536079;text-align:left;font-size:12px;padding:15px 14px}.crp-table-card td{padding:15px 14px;border-top:1px solid #edf1f7;vertical-align:middle}.crp-table-card tr{cursor:pointer}.crp-table-card tr:hover,.crp-table-card tr.sel{background:#faf7ff}.crp-table-card b{display:block;color:#111827}.crp-table-card small{display:block;color:#64748b;margin-top:4px}.bar{height:7px;background:#e5e7eb;border-radius:99px;overflow:hidden;min-width:92px}.bar i{display:block;height:100%;background:#16a34a;border-radius:inherit}.crp-badge{display:inline-flex;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:850}.crp-badge.ok{background:#dcfce7;color:#15803d}.crp-badge.warn{background:#ffedd5;color:#ea580c}.crp-badge.danger{background:#fee2e2;color:#ef4444}.crp-badge.blue{background:#dbeafe;color:#2563eb}.crp-badge.purple{background:#ede9fe;color:#6d28d9}.crp-table-card footer{display:flex;gap:18px;align-items:center;padding:16px 18px;border-top:1px solid #e8edf5;color:#536079}.crp-table-card footer select{border:1px solid #e1e7f0;border-radius:8px;padding:8px 22px;background:white}.pager{margin-left:auto}.pager b{display:inline-flex;background:#ede9fe;color:#6d28d9;border-radius:8px;padding:8px 12px;margin:0 8px}.crp-detail{padding:22px}.crp-detail-head{display:flex;justify-content:space-between;gap:12px}.crp-detail h3{font-size:22px;margin:0 0 4px}.crp-detail a{color:#6d28d9;font-weight:800}.crp-summary{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:22px 0;padding:18px;border:1px solid #e8edf5;border-radius:12px}.crp-summary span{display:grid;gap:8px;color:#536079}.crp-summary b{font-size:16px;color:#111827}.orange{color:#ea580c!important}.ok{color:#16a34a!important}.blue{color:#2563eb!important}.purple{color:#6d28d9!important}.crp-detail table.mini{width:100%;border-collapse:collapse;font-size:12px}.crp-detail table.mini th,.crp-detail table.mini td{padding:12px 8px;border-top:1px solid #e8edf5;text-align:left}.crp-outline{width:100%;margin-top:18px;color:#6d28d9}.crp-side-empty{height:400px;display:grid;place-items:center;color:#536079;font-weight:800}.crp-legend{display:flex;gap:42px;align-items:center;margin-top:20px;padding:18px;color:#536079}.crp-legend b{color:#6d28d9}.dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px}.dot.ok{background:#16a34a}.dot.warn{background:#fb923c}.dot.danger{background:#ef4444}.dot.blue{background:#2563eb}.dot.purple{background:#6d28d9}.dot.gold{background:#eab308}.crp-empty,.crp-error{text-align:center;color:#64748b;padding:36px!important}.crp-modal-back{position:fixed;inset:0;background:rgba(2,6,23,.62);z-index:99999;display:grid;place-items:center;backdrop-filter:blur(8px)}.crp-modal{width:min(760px,94vw);background:#fff;border-radius:18px;padding:28px;position:relative;box-shadow:0 30px 90px rgba(0,0,0,.28);color:#0f172a}.crp-modal .x{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:22px;cursor:pointer}.crp-form.two{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.crp-form label{display:grid;gap:7px;font-weight:800;color:#334155}.crp-form input,.crp-form select{height:44px;border:1px solid #dfe6f0;border-radius:10px;padding:0 12px}.crp-modal footer{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}.crp-modal footer button{border:1px solid #dfe6f0;background:#fff;border-radius:10px;padding:12px 18px;font-weight:800;cursor:pointer}
.rpp-page{max-width:1380px;margin:0 auto;padding:38px 32px 80px;color:#fff}.rpp-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.rpp-head h2{font-size:30px;margin:0 0 8px}.rpp-head p{color:#a9b7c8;margin:0}.rpp-head button,.rpp-panel-head button{border:1px solid #27364b;background:#111827;color:#e5edf7;border-radius:12px;padding:12px 18px;font-weight:850;cursor:pointer}.rpp-head .rpp-primary{background:#fff;color:#111827;border-color:#fff}.rpp-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.rpp-cards>div{border:1px solid #253247;background:linear-gradient(180deg,#111821,#0b1017);border-radius:14px;padding:22px}.rpp-cards span{display:block;color:#cbd5e1;margin-bottom:12px;font-weight:750}.rpp-cards b{font-size:24px}.rpp-cards .warn{color:#f59e0b!important}.rpp-panel{border:1px solid #253247;background:linear-gradient(180deg,#111821,#0b1017);border-radius:14px;padding:20px;margin-bottom:18px}.rpp-panel h3{margin:0 0 16px}.rpp-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.rpp-filter-grid{display:grid;grid-template-columns:1.2fr 1.2fr 1fr 1fr .85fr .85fr;gap:14px;align-items:end}.rpp-filter-grid label{display:grid;gap:8px;color:#dce7f4;font-size:13px;font-weight:850}.rpp-filter-grid select,.rpp-filter-grid input{height:48px;border:1px solid #31435b;background:#090d13;color:#fff;border-radius:10px;padding:0 12px;font-weight:750;min-width:0}.rpp-table{width:100%;border-collapse:collapse}.rpp-table th{background:#18212e;color:#e5edf7;padding:14px;text-align:left}.rpp-table td{padding:16px 14px;border-top:1px solid #263447}.rpp-radio{display:inline-block;width:16px;height:16px;border:1px solid #fff;border-radius:50%}.rpp-status{border-radius:999px;background:#fff7ed;color:#ea580c;padding:5px 12px;font-size:12px;font-weight:850}.rpp-logs{color:#a9b7c8}.rpp-logs>div{display:grid;grid-template-columns:120px 1fr 1fr 130px 160px;gap:10px;padding:12px;border-top:1px solid #263447}.rpp-logs strong{color:#22c55e}@media(max-width:1200px){.crp-metrics{grid-template-columns:repeat(3,1fr)}.crp-filters{grid-template-columns:repeat(3,1fr)}.crp-grid{grid-template-columns:1fr}.rpp-filter-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.crp-metrics,.crp-filters,.crp-grid,.rpp-cards,.rpp-filter-grid,.crp-form.two{grid-template-columns:1fr}.crp-head,.rpp-head{flex-direction:column;gap:14px}.crp-legend{flex-wrap:wrap}.cr-pro-page{padding:22px 14px}.rpp-page{padding:22px 14px}}

/* ===== v10.11.7 EMERGENCIA - CSS Repasse + Contas a Receber ===== */
.uf-rp-page,.uf-cr-page{max-width:1440px!important;margin:0 auto!important;padding:48px 38px 80px!important;color:var(--text,#fff)!important;box-sizing:border-box!important;font-family:inherit!important}.uf-rp-page *,.uf-cr-page *{box-sizing:border-box!important}.uf-rp-head,.uf-cr-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px!important;margin-bottom:22px!important}.uf-rp-head h2,.uf-cr-head h2{font-size:30px!important;line-height:1.1!important;margin:0 0 8px!important}.uf-rp-head p,.uf-cr-head p{margin:0!important;color:var(--muted,#94a3b8)!important}.uf-rp-actions,.uf-cr-head>div:last-child{display:flex!important;gap:10px!important}.uf-rp-page button,.uf-cr-page button,.uf-modal button{border:1px solid var(--line,#263244)!important;background:var(--surface,#0f1724)!important;color:var(--text,#fff)!important;border-radius:12px!important;min-height:42px!important;padding:0 18px!important;font-weight:700!important;cursor:pointer!important}.uf-rp-page button.primary,.uf-cr-page button.primary,.uf-modal button.primary{background:#fff!important;color:#0f1724!important;border-color:#fff!important}.uf-rp-kpis,.uf-cr-kpis{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin-bottom:22px!important}.uf-cr-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}.uf-rp-kpis>div,.uf-cr-kpis>div{border:1px solid var(--line,#263244)!important;border-radius:16px!important;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012))!important;padding:22px!important;min-height:96px!important}.uf-rp-kpis span,.uf-cr-kpis span{display:block!important;color:var(--muted,#9ca3af)!important;font-size:13px!important;margin-bottom:10px!important}.uf-rp-kpis strong,.uf-cr-kpis strong{font-size:24px!important;display:block!important}.uf-rp-kpis .green,.uf-cr-kpis .green{color:#13d98e!important}.uf-rp-kpis .orange,.uf-cr-kpis .orange{color:#ff9f1c!important}.uf-cr-kpis .blue{color:#2f6bff!important}.uf-cr-kpis .purple{color:#6d3df4!important}.uf-cr-kpis .red{color:#ef4444!important}.uf-rp-card,.uf-cr-card,.uf-cr-detail,.uf-cr-legend{border:1px solid var(--line,#263244)!important;border-radius:16px!important;background:linear-gradient(180deg,rgba(17,24,39,.92),rgba(8,12,18,.92))!important;padding:22px!important;margin-bottom:18px!important}.uf-rp-card-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:18px!important}.uf-rp-card h3,.uf-cr-card h3{font-size:18px!important;margin:0 0 14px!important}.uf-rp-filter-grid,.uf-cr-filters{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important;align-items:end!important}.uf-rp-filter-grid label,.uf-cr-filters label,.uf-form-grid label{display:grid!important;gap:8px!important;color:var(--text,#fff)!important;font-weight:700!important;font-size:13px!important}.uf-rp-filter-grid select,.uf-rp-filter-grid input,.uf-cr-filters select,.uf-cr-filters input,.uf-modal input,.uf-modal select,.uf-modal textarea{width:100%!important;min-width:0!important;height:44px!important;border-radius:10px!important;border:1px solid var(--line,#263244)!important;background:var(--input-bg,#05080d)!important;color:var(--text,#fff)!important;padding:0 12px!important;font-weight:600!important}.uf-rp-table-wrap,.uf-cr-table-wrap{overflow:auto!important;border-radius:14px!important;border:1px solid rgba(255,255,255,.06)!important}.uf-rp-table,.uf-cr-card table{width:100%!important;border-collapse:collapse!important;min-width:820px!important}.uf-rp-table th,.uf-rp-table td,.uf-cr-card th,.uf-cr-card td{padding:14px 16px!important;border-bottom:1px solid rgba(148,163,184,.16)!important;text-align:left!important;vertical-align:middle!important}.uf-rp-table th,.uf-cr-card th{background:rgba(255,255,255,.045)!important;color:var(--text,#fff)!important;font-size:12px!important}.uf-rp-radio{display:inline-block!important;width:16px!important;height:16px!important;border:1px solid #cbd5e1!important;border-radius:50%!important}.uf-rp-status,.uf-cr-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;padding:6px 12px!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important}.uf-rp-status{background:#fff7ed!important;color:#c2410c!important}.uf-muted{color:var(--muted,#9ca3af)!important}.uf-rp-log{display:grid!important;grid-template-columns:100px 1fr 1fr auto auto!important;gap:12px!important;padding:10px 0!important;border-bottom:1px solid rgba(255,255,255,.08)!important}.uf-cr-tabs{display:flex!important;gap:24px!important;border-bottom:1px solid var(--line,#e5e7eb)!important;margin:0 0 18px!important}.uf-cr-tabs button{background:transparent!important;border:0!important;border-radius:0!important;color:var(--muted,#475569)!important;min-height:46px!important}.uf-cr-tabs button.active{color:#6d3df4!important;border-bottom:3px solid #6d3df4!important}.uf-cr-filters{grid-template-columns:1.2fr repeat(5,1fr) auto!important;padding:16px!important;margin-bottom:18px!important;border:1px solid var(--line,#e5e7eb)!important;border-radius:14px!important;background:rgba(255,255,255,.5)!important}.uf-cr-grid{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(320px,.95fr)!important;gap:18px!important}.uf-cr-card,.uf-cr-detail,.uf-cr-legend{background:#fff!important;color:#111827!important;border-color:#e5e7eb!important;box-shadow:0 18px 42px rgba(15,23,42,.06)!important}.theme-dark .uf-cr-card,.theme-dark .uf-cr-detail,.theme-dark .uf-cr-legend,body:not(.light) .uf-cr-card,body:not(.light) .uf-cr-detail,body:not(.light) .uf-cr-legend{background:linear-gradient(180deg,rgba(17,24,39,.94),rgba(8,12,18,.94))!important;color:var(--text,#fff)!important;border-color:var(--line,#263244)!important}.uf-cr-table-wrap table{min-width:900px!important}.uf-cr-card td small{display:block!important;color:#64748b!important;margin-top:4px!important}.uf-progress{height:7px!important;background:#e5e7eb!important;border-radius:999px!important;margin-top:5px!important;overflow:hidden!important}.uf-progress i{display:block!important;height:100%!important;background:#16a34a!important}.uf-cr-badge.ok{background:#dcfce7!important;color:#15803d!important}.uf-cr-badge.part{background:#ffedd5!important;color:#ea580c!important}.uf-cr-badge.open{background:#fee2e2!important;color:#ef4444!important}.uf-cr-detail-head{display:flex!important;justify-content:space-between!important;gap:12px!important}.uf-cr-detail-box{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin:18px 0!important;border:1px solid #e5e7eb!important;border-radius:12px!important;padding:18px!important}.uf-cr-detail-box span{display:grid!important;gap:8px!important}.uf-cr-outline{width:100%!important;margin-top:16px!important;color:#6d3df4!important;background:#fff!important;border-color:#a78bfa!important}.uf-cr-pager{display:flex!important;justify-content:space-between!important;padding:14px!important;color:#64748b!important}.uf-cr-legend{display:flex!important;gap:24px!important;align-items:flex-start!important;flex-wrap:wrap!important;background:#f5f3ff!important;border-color:#ddd6fe!important}.uf-cr-legend i{display:inline-block!important;width:10px!important;height:10px!important;border-radius:50%!important;margin-right:8px!important}.uf-cr-legend .ok{background:#16a34a!important}.uf-cr-legend .part{background:#f59e0b!important}.uf-cr-legend .open{background:#ef4444!important}.uf-cr-legend .artist{background:#2563eb!important}.uf-cr-legend .agency{background:#6d3df4!important}.uf-cr-legend .diff{background:#eab308!important}.uf-cr-title-row{display:flex!important;justify-content:space-between!important;align-items:center!important}.uf-modal-back{position:fixed!important;inset:0!important;background:rgba(0,0,0,.65)!important;z-index:99999!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important}.uf-modal{width:min(760px,96vw)!important;max-height:88vh!important;overflow:auto!important;background:#0d121b!important;color:#fff!important;border:1px solid #334155!important;border-radius:18px!important;padding:24px!important;box-shadow:0 28px 80px rgba(0,0,0,.5)!important}.uf-modal .x{float:right!important;min-height:28px!important;padding:0 8px!important;background:transparent!important;border:0!important}.uf-form-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;margin:18px 0!important}.uf-form-grid .full{grid-column:1/-1!important}.uf-modal footer{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin-top:18px!important;padding-top:14px!important;border-top:1px solid #263244!important}@media(max-width:1150px){.uf-rp-filter-grid,.uf-cr-filters,.uf-cr-kpis{grid-template-columns:repeat(2,1fr)!important}.uf-cr-grid{grid-template-columns:1fr!important}.uf-rp-kpis{grid-template-columns:1fr!important}}@media(max-width:700px){.uf-rp-page,.uf-cr-page{padding:24px 14px 70px!important}.uf-rp-head,.uf-cr-head{flex-direction:column!important}.uf-rp-filter-grid,.uf-cr-filters,.uf-cr-kpis,.uf-form-grid{grid-template-columns:1fr!important}}


/* ===== v10.11.8 FINAL EMERGENCIAL UI ===== */
.uf-rp-clean,.uf-cr-clean{max-width:1320px;margin:0 auto;padding:34px 28px 70px;font-family:Inter,system-ui,Arial,sans-serif}.uf-rp-clean h2,.uf-cr-clean h2{font-size:30px;margin:0 0 4px}.uf-rp-clean p,.uf-cr-clean p{color:#9aa7b8;margin:0}.rp-head,.cr-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.rp-actions,.cr-head>div:last-child{display:flex;gap:10px}.rp-actions button,.cr-head button,.rp-title button,.cr-detail button{border:1px solid #273548;background:#101827;color:#fff;border-radius:12px;padding:12px 18px;font-weight:700}.rp-actions .primary,.cr-head .primary{background:#fff;color:#07101c}.rp-kpis,.cr-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:16px 0 22px}.cr-kpis{grid-template-columns:repeat(6,1fr)}.cr-kpis.five{grid-template-columns:repeat(5,1fr)}.rp-kpis>div,.cr-kpis>div{background:linear-gradient(180deg,#101722,#0b1018);border:1px solid #253244;border-radius:16px;padding:22px}.rp-kpis span,.cr-kpis span{display:block;color:#94a3b8;font-size:13px}.rp-kpis b,.cr-kpis b{display:block;font-size:24px;margin-top:10px;color:#fff}.rp-kpis .green{color:#00d084}.rp-kpis .orange,.orange{color:#ff9f0a}.green{color:#18b85a}.rp-card,.cr-table-card,.cr-detail{background:linear-gradient(180deg,#101722,#0b1018);border:1px solid #253244;border-radius:16px;padding:20px;margin-bottom:18px}.rp-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.rp-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:14px}.rp-grid label,.cr-filters label{display:flex;flex-direction:column;gap:7px;color:#d8e0ea;font-weight:700;font-size:13px}.rp-grid select,.rp-grid input,.cr-filters select,.cr-filters input{height:44px;border-radius:10px;border:1px solid #2a3748;background:#05080d;color:#fff;padding:0 12px;min-width:0}.rp-table,.cr-table-card table,.cr-detail table{width:100%;border-collapse:collapse}.rp-table th,.rp-table td,.cr-table-card th,.cr-table-card td,.cr-detail td{padding:14px;border-bottom:1px solid #202a38;text-align:left}.rp-table thead,.cr-table-card thead{background:#151c27}.rp-badge,.cr-badge{display:inline-block;border-radius:999px;padding:6px 10px;background:#eef2ff;color:#2f46d8;font-weight:700;font-size:12px}.cr-badge.ok{background:#dcfce7;color:#15803d}.cr-badge.warn{background:#ffedd5;color:#c2410c}.cr-badge.open{background:#fee2e2;color:#dc2626}.cr-tabs{display:flex;gap:20px;border-bottom:1px solid #e5e7eb;margin-bottom:18px}.cr-tabs button{background:transparent;border:0;padding:14px 22px;font-weight:800;color:#657085}.cr-tabs .active{color:#6d3df5;border-bottom:3px solid #6d3df5}.cr-filters{display:grid;grid-template-columns:1.4fr repeat(5,1fr) .9fr;gap:12px;margin-bottom:18px}.cr-filters button{border:1px solid #e4e7ee;background:#fff;border-radius:12px;font-weight:800}.cr-layout{display:grid;grid-template-columns:1fr 360px;gap:18px}.cr-table-card.full{grid-column:1/-1}.cr-table-card small{display:block;color:#64748b}.cr-detail{background:#fff;color:#111827}.cr-detail h3{font-size:22px}.cr-box{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin:14px 0}.cr-box span{display:flex;flex-direction:column;gap:8px}.cr-legend{background:#f7f3ff;border:1px solid #ddd6fe;border-radius:12px;padding:18px;margin-top:14px;color:#1f2937}.uf-cr-clean{background:#fff;color:#111827;border-radius:0;max-width:none}.uf-cr-clean .cr-head p{color:#64748b}.uf-cr-clean .cr-head button:not(.primary){background:#fff;color:#0f172a;border:1px solid #d8deea}.uf-cr-clean .cr-head .primary{background:#6d3df5;color:#fff;box-shadow:0 12px 24px rgba(109,61,245,.25)}.uf-cr-clean .cr-kpis>div,.uf-cr-clean .cr-table-card{background:#fff;border-color:#e5e7eb;color:#0f172a;box-shadow:0 12px 32px rgba(15,23,42,.05)}.uf-cr-clean .cr-kpis span{color:#64748b}.uf-cr-clean .cr-kpis b{color:#111827}.uf-cr-clean .cr-table-card thead{background:#f8fafc}.uf-cr-clean .cr-table-card th,.uf-cr-clean .cr-table-card td{border-color:#e5e7eb;color:#111827}.uf-cr-clean .cr-filters input,.uf-cr-clean .cr-filters select{background:#fff;color:#111827;border-color:#d8deea}.uf-modal-back{position:fixed;inset:0;background:rgba(0,0,0,.65);display:flex;align-items:center;justify-content:center;z-index:9999}.uf-modal{width:min(760px,94vw);background:#101722;border:1px solid #2a3748;border-radius:18px;padding:24px;color:#fff}.uf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.uf-form-grid label{display:flex;flex-direction:column;gap:7px}.uf-form-grid input,.uf-form-grid select{height:42px;background:#05080d;border:1px solid #2a3748;color:#fff;border-radius:10px;padding:0 12px}.uf-modal footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.uf-modal button{border:1px solid #2a3748;border-radius:10px;padding:10px 16px}.uf-modal .x{float:right}.hidden{display:none!important}@media(max-width:1100px){.rp-grid,.cr-filters,.rp-kpis,.cr-kpis,.cr-layout{grid-template-columns:1fr}.cr-detail{display:none}}

/* ===== v10.11.9 HOTFIX DEFINITIVO UI ===== */
.nav[data-page="contas_receber"],.nav[data-page="repasse_socios"],button[data-page="contas_receber"],button[data-page="repasse_socios"]{display:flex!important;visibility:visible!important;opacity:1!important}
.uf-rp-page,.uf-cr-page{box-sizing:border-box!important;max-width:1360px!important;margin:0 auto!important;padding:44px 28px 80px!important;font-family:Inter,system-ui,Arial,sans-serif!important}.uf-rp-page *,.uf-cr-page *{box-sizing:border-box!important}.uf-rp-head,.uf-cr-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px!important;margin-bottom:20px!important}.uf-rp-head h1,.uf-cr-head h1{font-size:30px!important;line-height:1.1!important;margin:0 0 8px!important;color:var(--text,#fff)!important}.uf-cr-head h1{color:#0f172a!important}.uf-rp-head p,.uf-cr-head p{margin:0!important;color:#9aa7b8!important}.uf-cr-head p{color:#64748b!important}.uf-rp-actions,.uf-cr-actions{display:flex!important;gap:12px!important}.uf-rp-actions button,.uf-cr-actions button,.uf-rp-card-head button,.uf-cr-detail button,.uf-modal button{min-height:42px!important;border-radius:12px!important;border:1px solid #273548!important;background:#0f1722!important;color:#fff!important;padding:0 18px!important;font-weight:800!important;cursor:pointer!important}.uf-rp-actions .uf-white,.uf-cr-actions .primary,.uf-modal .primary{background:#fff!important;color:#0f172a!important;border-color:#fff!important}.uf-cr-actions .primary{background:#6d3df5!important;color:white!important;border-color:#6d3df5!important;box-shadow:0 14px 28px rgba(109,61,245,.25)!important}.uf-rp-kpis,.uf-cr-kpis{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;margin:18px 0 22px!important}.uf-cr-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}.uf-cr-kpis.five{grid-template-columns:repeat(5,minmax(0,1fr))!important}.uf-rp-kpis>div,.uf-cr-kpis>div{border-radius:16px!important;border:1px solid #263244!important;background:linear-gradient(180deg,#0f1621,#080c12)!important;padding:22px!important;min-height:96px!important}.uf-cr-kpis>div{background:#fff!important;border-color:#e5e7eb!important;box-shadow:0 12px 28px rgba(15,23,42,.05)!important}.uf-rp-kpis span,.uf-cr-kpis span{display:block!important;font-size:13px!important;color:#9aa7b8!important;margin-bottom:8px!important}.uf-cr-kpis span{color:#64748b!important}.uf-rp-kpis b,.uf-cr-kpis b{display:block!important;font-size:24px!important;color:#fff!important}.uf-cr-kpis b{color:#111827!important}.green{color:#16a34a!important}.orange{color:#ea580c!important}.uf-rp-card{border-radius:16px!important;border:1px solid #263244!important;background:linear-gradient(180deg,#0f1621,#080c12)!important;padding:22px!important;margin:0 0 18px!important}.uf-rp-card h3{margin:0 0 16px!important;color:#fff!important}.uf-rp-card-head{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:18px!important}.uf-rp-card-head h3{margin:0!important}.uf-rp-filters{display:grid!important;grid-template-columns:1.4fr 1.2fr 1fr 1fr .8fr .8fr!important;gap:16px!important;align-items:end!important}.uf-rp-filters label,.uf-cr-filters label{display:flex!important;flex-direction:column!important;gap:8px!important;font-size:13px!important;font-weight:800!important;color:#dbe6f3!important}.uf-rp-filters select,.uf-rp-filters input{width:100%!important;min-width:0!important;height:44px!important;border-radius:10px!important;border:1px solid #2d3a4c!important;background:#05080d!important;color:#fff!important;padding:0 12px!important}.uf-rp-table,.uf-cr-table-card table,.uf-cr-detail table{width:100%!important;border-collapse:collapse!important}.uf-rp-table thead,.uf-cr-table-card thead{background:#151c27!important}.uf-rp-table th,.uf-rp-table td,.uf-cr-table-card th,.uf-cr-table-card td,.uf-cr-detail td{padding:14px 16px!important;border-bottom:1px solid #253244!important;text-align:left!important;vertical-align:middle!important}.uf-radio{display:inline-block;width:14px;height:14px;border:1px solid #e5e7eb;border-radius:50%}.uf-status-pill,.uf-cr-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;padding:6px 11px!important;background:#e0e7ff!important;color:#1d4ed8!important;font-size:12px!important;font-weight:800!important}.uf-rp-log{display:grid!important;grid-template-columns:100px 1fr 1fr auto!important;gap:12px!important;padding:10px 0!important;border-bottom:1px solid #263244!important}.uf-cr-page{max-width:none!important;background:#fff!important;color:#0f172a!important;min-height:calc(100vh - 70px)!important;border-radius:0!important}.uf-cr-tabs{display:flex!important;gap:24px!important;border-bottom:1px solid #e5e7eb!important;margin:0 0 18px!important}.uf-cr-tabs button{background:transparent!important;border:0!important;border-radius:0!important;min-height:48px!important;padding:0 20px!important;font-weight:800!important;color:#64748b!important}.uf-cr-tabs button.active{color:#6d3df5!important;border-bottom:3px solid #6d3df5!important}.uf-cr-filters{display:grid!important;grid-template-columns:1.3fr repeat(5,1fr) .9fr!important;gap:12px!important;margin:18px 0!important}.uf-cr-filters select,.uf-cr-filters input{height:54px!important;border:1px solid #e2e8f0!important;border-radius:10px!important;background:#fff!important;color:#0f172a!important;padding:0 16px!important;min-width:0!important}.uf-cr-filters button{height:54px!important;border:1px solid #ede9fe!important;background:#fff!important;color:#6d3df5!important;border-radius:10px!important;font-weight:800!important}.uf-cr-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 360px!important;gap:18px!important}.uf-cr-table-card,.uf-cr-detail,.uf-cr-legend{background:#fff!important;border:1px solid #e5e7eb!important;border-radius:14px!important;box-shadow:0 12px 28px rgba(15,23,42,.05)!important;color:#0f172a!important}.uf-cr-table-card{overflow:auto!important}.uf-cr-table-card h3{padding:18px 18px 0!important;margin:0 0 12px!important}.uf-cr-table-card thead{background:#f8fafc!important}.uf-cr-table-card th,.uf-cr-table-card td{border-color:#e5e7eb!important;color:#0f172a!important}.uf-cr-table-card small{display:block!important;color:#64748b!important;margin-top:4px!important}.uf-cr-detail{padding:22px!important}.uf-cr-detail-head{display:flex!important;justify-content:space-between!important;gap:12px!important}.uf-cr-detail h3{margin:0 0 8px!important;font-size:22px!important}.uf-cr-detail a{color:#6d3df5!important}.uf-cr-box{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;border:1px solid #e5e7eb!important;border-radius:12px!important;padding:16px!important;margin:18px 0!important}.uf-cr-box span{display:flex!important;flex-direction:column!important;gap:8px!important;color:#64748b!important}.uf-cr-box b{color:#0f172a!important;font-size:18px!important}.uf-cr-badge.ok{background:#dcfce7!important;color:#15803d!important}.uf-cr-badge.part{background:#ffedd5!important;color:#c2410c!important}.uf-cr-badge.open{background:#fee2e2!important;color:#dc2626!important}.uf-cr-pager{display:flex!important;justify-content:space-between!important;padding:14px 18px!important;color:#64748b!important}.uf-cr-legend{margin-top:18px!important;padding:18px!important;background:#f7f3ff!important;border-color:#ddd6fe!important;display:flex!important;gap:24px!important;align-items:center!important;flex-wrap:wrap!important}.uf-cr-legend i{display:inline-block!important;width:10px!important;height:10px!important;border-radius:50%!important;margin-right:8px!important}.uf-cr-legend .ok{background:#16a34a!important}.uf-cr-legend .part{background:#f59e0b!important}.uf-cr-legend .open{background:#ef4444!important}.uf-cr-legend .artist{background:#2563eb!important}.uf-cr-legend .agency{background:#6d3df5!important}.uf-modal-back{position:fixed!important;inset:0!important;background:rgba(0,0,0,.65)!important;z-index:99999!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:22px!important}.uf-modal{width:min(760px,94vw)!important;background:#101722!important;color:#fff!important;border:1px solid #334155!important;border-radius:18px!important;padding:24px!important}.uf-modal .x{float:right!important;min-height:28px!important;background:transparent!important;border:0!important}.uf-form-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important}.uf-form-grid label{display:flex!important;flex-direction:column!important;gap:7px!important}.uf-form-grid .full{grid-column:1/-1!important}.uf-form-grid input,.uf-form-grid select{height:42px!important;border-radius:10px!important;border:1px solid #2d3a4c!important;background:#05080d!important;color:#fff!important;padding:0 12px!important}.uf-modal footer{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin-top:18px!important;border-top:1px solid #263244!important;padding-top:16px!important}@media(max-width:1150px){.uf-rp-filters,.uf-cr-filters,.uf-rp-kpis,.uf-cr-kpis,.uf-cr-kpis.five,.uf-cr-layout{grid-template-columns:1fr!important}.uf-cr-detail{display:none!important}}@media(max-width:700px){.uf-rp-page,.uf-cr-page{padding:24px 14px 80px!important}.uf-rp-head,.uf-cr-head{flex-direction:column!important}.uf-rp-actions,.uf-cr-actions{width:100%;flex-wrap:wrap}.uf-rp-actions button,.uf-cr-actions button{flex:1}}

/* ===== v10.12.1 FINAL SAFE FIX CSS ===== */
.uf-rp-final,.uf-cr-final{max-width:1380px;margin:0 auto;padding:42px 32px 90px;color:var(--text,#f8fafc)}
.uf-rp-head,.uf-cr-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px}.uf-rp-head h2,.uf-cr-head h2{font-size:30px;margin:0 0 6px}.uf-rp-head p,.uf-cr-head p{margin:0;color:var(--muted,#9ca3af)}
.uf-rp-actions,.uf-cr-actions{display:flex;gap:12px}.uf-rp-actions button,.uf-cr-actions button,.uf-rp-title button,.uf-cr-final button,.uf-modal button{border:1px solid rgba(148,163,184,.25);background:#0f1724;color:#fff;border-radius:12px;padding:11px 18px;font-weight:800;cursor:pointer}.uf-rp-actions .primary,.uf-cr-actions .primary,.uf-modal .primary{background:#fff;color:#020617}.uf-cr-actions .primary{background:linear-gradient(135deg,#7c3aed,#4f46e5);color:#fff;border:0;box-shadow:0 16px 36px rgba(124,58,237,.25)}
.uf-rp-kpis,.uf-cr-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0}.uf-cr-kpis{grid-template-columns:repeat(6,1fr)}.uf-cr-kpis.five{grid-template-columns:repeat(5,1fr)}.uf-rp-kpis>div,.uf-cr-kpis>div{background:linear-gradient(180deg,rgba(15,23,42,.92),rgba(2,6,23,.7));border:1px solid rgba(148,163,184,.23);border-radius:16px;padding:22px;min-height:82px}.uf-cr-final .uf-cr-kpis>div{background:#fff;border-color:#e5e7eb;box-shadow:0 12px 34px rgba(15,23,42,.06);color:#0f172a}.uf-rp-kpis span,.uf-cr-kpis span{display:block;color:var(--muted,#64748b);font-size:13px;margin-bottom:10px}.uf-rp-kpis b,.uf-cr-kpis b{display:block;font-size:24px}.uf-rp-kpis .green,.uf-cr-kpis .k2,.uf-cr-kpis .green,.green{color:#16a34a!important}.uf-rp-kpis .orange,.uf-cr-kpis .k3,.uf-cr-kpis .orange,.orange{color:#ea580c!important}.uf-cr-kpis .k0,.uf-cr-kpis .k1,.uf-cr-kpis .k5{color:#4f46e5}
.uf-rp-card{background:linear-gradient(180deg,rgba(15,23,42,.9),rgba(2,6,23,.75));border:1px solid rgba(148,163,184,.24);border-radius:16px;padding:18px 20px;margin:16px 0}.uf-rp-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.uf-rp-title h3,.uf-rp-card h3{margin:0 0 14px;font-size:18px}.uf-rp-filters{display:grid;grid-template-columns:1.15fr 1.15fr 1fr 1fr .85fr .85fr;gap:14px;align-items:end}.uf-rp-filters label,.uf-cr-filters label,.uf-form-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:800}.uf-rp-filters select,.uf-rp-filters input,.uf-cr-filters select,.uf-cr-filters input,.uf-modal input,.uf-modal select,.uf-modal textarea{height:44px;border-radius:10px;border:1px solid rgba(148,163,184,.3);background:#0b111b;color:#fff;padding:0 12px;outline:none}.uf-rp-filters select{width:100%;min-width:0}.uf-rp-table,.uf-cr-table-card table{width:100%;border-collapse:separate;border-spacing:0}.uf-rp-table th,.uf-rp-table td,.uf-cr-table-card th,.uf-cr-table-card td{padding:14px 16px;border-bottom:1px solid rgba(148,163,184,.15);text-align:left}.uf-rp-table th,.uf-cr-table-card th{background:rgba(148,163,184,.10);font-size:12px;color:#e5e7eb}.uf-radio{display:inline-block;width:14px;height:14px;border:1px solid #cbd5e1;border-radius:50%}.uf-status-pill,.uf-cr-badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900;background:#1d4ed8;color:#fff}.uf-rp-log{display:grid;grid-template-columns:120px 1fr 1fr 130px;gap:16px;padding:10px 0;border-bottom:1px solid rgba(148,163,184,.15)}
.uf-cr-final{background:#f8fafc;color:#0f172a;min-height:calc(100vh - 56px);max-width:none}.uf-cr-tabs{display:flex;gap:18px;border-bottom:1px solid #e5e7eb;margin:12px 0 20px}.uf-cr-tabs button{background:transparent!important;color:#475569!important;border:0!important;border-radius:0!important;padding:14px 22px!important}.uf-cr-tabs button.active{color:#6d28d9!important;border-bottom:3px solid #6d28d9!important}.uf-cr-filters{display:grid;grid-template-columns:1.4fr repeat(5,1fr) .8fr;gap:12px;margin-bottom:16px}.uf-cr-filters label,.uf-cr-filters select,.uf-cr-filters input{color:#0f172a}.uf-cr-filters select,.uf-cr-filters input{background:#fff;border:1px solid #e2e8f0;box-shadow:0 8px 22px rgba(15,23,42,.04)}.uf-cr-filters button{background:#fff!important;color:#6d28d9!important;border:1px solid #e5e7eb!important}.uf-cr-layout{display:grid;grid-template-columns:minmax(0,2.2fr) 430px;gap:18px}.uf-cr-table-card,.uf-cr-detail,.uf-cr-legend{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 12px 36px rgba(15,23,42,.05);overflow:hidden}.uf-cr-table-card h3{padding:18px 18px;margin:0}.uf-cr-table-card table{font-size:13px}.uf-cr-table-card th{background:#f8fafc;color:#475569}.uf-cr-table-card td{color:#0f172a;border-color:#e5e7eb}.uf-cr-table-card tr{cursor:pointer}.uf-cr-table-card small{display:block;color:#64748b;margin-top:4px}.uf-cr-detail{padding:20px}.uf-cr-detail-head{display:flex;justify-content:space-between;gap:16px}.uf-cr-detail-head h3{margin:0 0 5px;font-size:20px}.uf-cr-detail-head a{color:#6d28d9;font-weight:800}.uf-cr-box{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin:18px 0}.uf-cr-box span{color:#64748b}.uf-cr-box b{display:block;color:#0f172a;font-size:17px;margin-top:7px}.uf-cr-badge.ok{background:#dcfce7;color:#15803d}.uf-cr-badge.part{background:#ffedd5;color:#ea580c}.uf-cr-badge.open{background:#fee2e2;color:#dc2626}.uf-cr-pager{display:flex;justify-content:space-between;padding:12px 18px;color:#64748b}.uf-cr-legend{display:flex;gap:38px;align-items:center;padding:16px 20px;margin-top:18px;background:#faf5ff;border-color:#ddd6fe}.uf-cr-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px}.uf-cr-legend i.ok{background:#16a34a}.uf-cr-legend i.part{background:#f59e0b}.uf-cr-legend i.open{background:#ef4444}.uf-cr-legend i.artist{background:#2563eb}.uf-cr-legend i.agency{background:#7c3aed}.uf-cr-legend i.diff{background:#eab308}.uf-modal-back{position:fixed;inset:0;background:rgba(0,0,0,.68);backdrop-filter:blur(8px);display:grid;place-items:center;z-index:9999}.uf-modal{width:min(760px,94vw);background:#0f1724;border:1px solid rgba(148,163,184,.3);border-radius:18px;padding:24px;color:#fff;position:relative}.uf-modal .x{position:absolute;right:14px;top:12px;background:transparent;border:0;color:#cbd5e1}.uf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.uf-form-grid .full{grid-column:1/-1}.uf-modal footer{display:flex;justify-content:flex-end;gap:12px;margin-top:20px;border-top:1px solid rgba(148,163,184,.2);padding-top:16px}
@media(max-width:1100px){.uf-rp-filters,.uf-cr-filters{grid-template-columns:1fr 1fr}.uf-cr-kpis{grid-template-columns:1fr 1fr}.uf-cr-layout{grid-template-columns:1fr}.uf-rp-kpis{grid-template-columns:1fr}.uf-cr-legend{flex-wrap:wrap}.uf-rp-final,.uf-cr-final{padding:24px 16px}}


/* ===== v10.12.19 - Dark elegante e sidebar personalizável ===== */
:root{--uf-sidebar-dark:#0f172a;--uf-sidebar-light:#242933;--uf-dark-panel:#0b1220;}
body.theme-dark,body.theme-deluxe{--bg:#030712!important;--panel:var(--uf-dark-panel)!important;--panel-2:#101827!important;--surface:#0b1220!important;--surface-2:#111827!important;--surface-3:#172033!important;--text:#f8fafc!important;--muted:#b6c2d3!important;}
body.theme-dark .sidebar,body.theme-deluxe .sidebar{background:linear-gradient(180deg,var(--uf-sidebar-dark),color-mix(in srgb,var(--uf-sidebar-dark) 72%,#020617))!important;color:#f8fafc!important;border-right-color:rgba(148,163,184,.18)!important;}
body.theme-light .sidebar,body.light .sidebar{background:linear-gradient(180deg,var(--uf-sidebar-light),color-mix(in srgb,var(--uf-sidebar-light) 82%,#000))!important;color:#f8fafc!important;border-right-color:rgba(15,23,42,.18)!important;}
body.theme-dark .panel,body.theme-dark .card,body.theme-dark .filters-bar,body.theme-dark .table-shell,body.theme-dark .modal-box,body.theme-dark .config-panel,body.theme-dark .config-tabs,
body.theme-deluxe .panel,body.theme-deluxe .card,body.theme-deluxe .filters-bar,body.theme-deluxe .table-shell,body.theme-deluxe .modal-box,body.theme-deluxe .config-panel,body.theme-deluxe .config-tabs{background:linear-gradient(180deg,#101827,var(--uf-dark-panel))!important;border-color:#263449!important;color:#f8fafc!important;box-shadow:0 18px 60px rgba(0,0,0,.22)!important;}
body.theme-dark input,body.theme-dark select,body.theme-dark textarea,body.theme-deluxe input,body.theme-deluxe select,body.theme-deluxe textarea{background:#050b16!important;color:#f8fafc!important;border-color:#334155!important;}
body.theme-dark input::placeholder,body.theme-dark textarea::placeholder,body.theme-deluxe input::placeholder,body.theme-deluxe textarea::placeholder{color:#7f8da3!important;}
body.theme-dark .table-shell tbody tr:hover,body.theme-deluxe .table-shell tbody tr:hover{background:#172033!important;color:#f8fafc!important;}
body.theme-dark .table-shell tbody tr:hover td,body.theme-deluxe .table-shell tbody tr:hover td{color:#f8fafc!important;}
.appearance-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px;margin-top:16px}.appearance-grid label{display:grid;gap:8px;font-weight:800}.appearance-grid input[type=color]{height:46px;padding:4px;border-radius:12px}.appearance-preview{display:grid;grid-template-columns:110px 1fr;gap:14px;margin-top:18px}.appearance-preview .ap-side{border-radius:16px;min-height:86px;background:linear-gradient(180deg,var(--uf-sidebar-dark),#020617);border:1px solid rgba(148,163,184,.22)}.appearance-preview .ap-card{display:grid;align-content:center;gap:6px;border-radius:16px;padding:18px;background:linear-gradient(180deg,#101827,var(--uf-dark-panel));border:1px solid #263449;color:#f8fafc}.appearance-preview .ap-card span{color:#b6c2d3}.config-actions{margin-top:16px;display:flex;justify-content:flex-end}.config-actions .white{min-width:180px}
@media(max-width:900px){.appearance-grid{grid-template-columns:1fr}.appearance-preview{grid-template-columns:1fr}}


/* ===== v10.12.20 - Ajustes finais: sidebar personalizável, status, menu, contratos ===== */
:root{
  --uf-sidebar-dark:#0f172a;
  --uf-sidebar-light:#242933;
  --uf-dark-panel:#0b1220;
}
body.theme-dark .sidebar, body.theme-deluxe .sidebar{background:var(--uf-sidebar-dark,#0f172a)!important;color:#f8fafc!important;}
body.theme-light .sidebar, body.light .sidebar, body:not(.theme-dark):not(.theme-deluxe) .sidebar{background:var(--uf-sidebar-light,#242933)!important;color:#f8fafc!important;}
body.theme-dark .sidebar .nav, body.theme-deluxe .sidebar .nav, body.theme-light .sidebar .nav, body.light .sidebar .nav{color:#e5eefc!important;}
body.theme-dark .sidebar .nav.active, body.theme-deluxe .sidebar .nav.active, body.theme-light .sidebar .nav.active, body.light .sidebar .nav.active{background:rgba(124,58,237,.95)!important;color:#fff!important;box-shadow:0 10px 28px rgba(124,58,237,.28)!important;}
body.theme-dark .sidebar .nav:hover, body.theme-deluxe .sidebar .nav:hover, body.theme-light .sidebar .nav:hover, body.light .sidebar .nav:hover{background:rgba(255,255,255,.10)!important;color:#fff!important;}

/* Aparencia */
.appearance-grid{display:grid!important;grid-template-columns:repeat(3,minmax(180px,1fr))!important;gap:16px!important;margin:18px 0!important;}
.appearance-grid label{display:flex!important;flex-direction:column!important;gap:10px!important;font-weight:800!important;color:var(--text)!important;}
.appearance-grid input[type="color"]{width:100%!important;height:46px!important;padding:4px!important;border-radius:12px!important;background:var(--field)!important;border:1px solid var(--line)!important;}
.appearance-preview{display:grid!important;grid-template-columns:160px 1fr!important;gap:16px!important;align-items:stretch!important;margin-top:12px!important;}
.appearance-preview .ap-side{border-radius:18px!important;min-height:115px!important;background:var(--uf-sidebar-dark,#0f172a)!important;border:1px solid rgba(148,163,184,.25)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)!important;}
body.light .appearance-preview .ap-side, body.theme-light .appearance-preview .ap-side{background:var(--uf-sidebar-light,#242933)!important;}
.appearance-preview .ap-card{border-radius:18px!important;padding:22px!important;background:linear-gradient(180deg,#101827,var(--uf-dark-panel,#0b1220))!important;border:1px solid #263449!important;color:#f8fafc!important;display:flex!important;flex-direction:column!important;gap:8px!important;}
.appearance-preview .ap-card span{color:#cbd5e1!important;}

/* Contratos: cabecalho solido, sem transparencia */
#contratos .contracts-table thead th{background:#182132!important;color:#f8fafc!important;box-shadow:0 1px 0 rgba(148,163,184,.25)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
body.theme-light #contratos .contracts-table thead th, body.light #contratos .contracts-table thead th{background:#f1f5f9!important;color:#0f172a!important;box-shadow:0 1px 0 #dbe3ef!important;}
#contratos .contracts-table thead{background:#182132!important;}
body.theme-light #contratos .contracts-table thead, body.light #contratos .contracts-table thead{background:#f1f5f9!important;}

/* Contas a Receber: menu de ações completo e status */
.crw-status-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-width:132px!important;}
.crw-status-actions .crw-badge{min-width:82px!important;max-width:100px!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;}
.crw-status-actions .crw-dots{width:34px!important;height:34px!important;min-width:34px!important;border-radius:12px!important;}
.crw-action-menu{position:fixed!important;z-index:2147483647!important;min-width:190px!important;background:#ffffff!important;color:#0f172a!important;border:1px solid #dbe3ef!important;border-radius:14px!important;padding:8px!important;box-shadow:0 26px 70px rgba(15,23,42,.25)!important;}
body.theme-dark .crw-action-menu, body.theme-deluxe .crw-action-menu{background:#111827!important;color:#f8fafc!important;border-color:#334155!important;box-shadow:0 26px 80px rgba(0,0,0,.45)!important;}
.crw-action-menu button{display:block!important;width:100%!important;text-align:left!important;background:transparent!important;color:inherit!important;border:0!important;border-radius:10px!important;padding:10px 12px!important;font-weight:800!important;white-space:nowrap!important;}
.crw-action-menu button:hover{background:rgba(124,58,237,.12)!important;}
.crw-action-menu button.danger{color:#ef4444!important;}
.crw-mini-wrap{overflow:hidden!important;padding-right:2px!important;}
.crw-mini{width:100%!important;table-layout:fixed!important;}
.crw-mini th,.crw-mini td{font-size:10px!important;padding:7px 4px!important;line-height:1.15!important;}
.crw-mini th:nth-child(1),.crw-mini td:nth-child(1){width:27%!important;}
.crw-mini th:nth-child(2),.crw-mini td:nth-child(2),.crw-mini th:nth-child(3),.crw-mini td:nth-child(3),.crw-mini th:nth-child(4),.crw-mini td:nth-child(4){width:17%!important;}
.crw-mini th:nth-child(5),.crw-mini td:nth-child(5){width:22%!important;text-align:right!important;overflow:visible!important;}
.crw-mini .crw-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:70px!important;max-width:82px!important;height:22px!important;padding:0 6px!important;font-size:8.5px!important;border-radius:999px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;}
.crw-detail-head>.crw-badge{height:30px!important;min-height:30px!important;min-width:92px!important;border-radius:999px!important;padding:0 14px!important;box-shadow:none!important;background:#fee2e2!important;color:#dc2626!important;}
.crw-receipts-table{table-layout:auto!important;min-width:1180px!important;}
.crw-receipts-table th:nth-child(9),.crw-receipts-table td:nth-child(9){min-width:220px!important;width:22%!important;white-space:normal!important;word-break:break-word!important;overflow:visible!important;}
.crw-receipts-table th:last-child,.crw-receipts-table td:last-child{min-width:110px!important;}

/* v10.12.21 - aparência/sidebar personalizada */
:root{--uf-sidebar-dark:#0f172a;--uf-sidebar-light:#242933;--uf-dark-panel:#0b1220;}
body.theme-dark .sidebar,body.theme-deluxe .sidebar{background:var(--uf-sidebar-dark)!important;}
body.theme-light .sidebar,body.light .sidebar,body:not(.theme-dark):not(.theme-deluxe) .sidebar{background:var(--uf-sidebar-light)!important;color:#f8fafc!important;}
body.theme-dark .panel,body.theme-dark .card,body.theme-dark .contracts-filters,body.theme-dark .table-shell,body.theme-dark .config-panel,body.theme-deluxe .panel,body.theme-deluxe .card,body.theme-deluxe .contracts-filters,body.theme-deluxe .table-shell,body.theme-deluxe .config-panel{background:var(--uf-dark-panel)!important;}
.uf-appearance-grid,.appearance-grid{display:grid!important;grid-template-columns:repeat(3,minmax(180px,1fr))!important;gap:16px!important;margin:18px 0!important;}
.uf-appearance-grid label,.appearance-grid label{display:block!important;border:1px solid rgba(148,163,184,.25)!important;border-radius:14px!important;padding:16px!important;font-weight:900!important;}
.uf-appearance-grid input[type=color],.appearance-grid input[type=color]{display:block!important;width:100%!important;height:46px!important;border:0!important;background:transparent!important;margin-top:10px!important;cursor:pointer!important;}
.appearance-preview{display:grid!important;grid-template-columns:180px 1fr!important;gap:16px!important;border:1px solid rgba(148,163,184,.25)!important;border-radius:16px!important;padding:16px!important;margin:12px 0 18px!important;}
.appearance-preview .ap-side{min-height:120px!important;border-radius:14px!important;background:linear-gradient(180deg,var(--uf-sidebar-dark),var(--uf-sidebar-light))!important;}
.appearance-preview .ap-card{border:1px solid #273448!important;border-radius:14px!important;background:var(--uf-dark-panel)!important;color:#fff!important;padding:18px!important;display:flex!important;flex-direction:column!important;gap:8px!important;justify-content:center!important;}
@media(max-width:900px){.uf-appearance-grid,.appearance-grid{grid-template-columns:1fr!important}.appearance-preview{grid-template-columns:1fr!important}}

/* ===== Eduardo fix - ocupar melhor a área útil nas páginas de lista ===== */
.clientes-page{
  width:calc(100vw - 230px)!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:clamp(24px,3vw,52px)!important;
  padding-right:clamp(24px,3vw,52px)!important;
}
.sidebar-collapsed .clientes-page,body.sidebar-mini .clientes-page{
  width:calc(100vw - 70px)!important;
}
.clientes-page .panel,
.clientes-page .clientes-sync,
.clientes-page .clientes-toolbar,
.clientes-page .clientes-table-shell{width:100%!important;max-width:none!important;}
@media(max-width:900px){.clientes-page{width:100%!important;padding-left:18px!important;padding-right:18px!important;}}
/* Hotfix lembretes manuais: ações, vencidos e sininho */
.db-manual-reminder.due{border-color:#ef4444!important;background:rgba(239,68,68,.10)!important;}
.reminder-actions-row .uf-manual-delete{color:#dc2626!important;}
.reminder-actions-row .uf-manual-read{color:#16a34a!important;}
#bellCount{position:absolute;min-width:16px;height:16px;border-radius:999px;background:#ef4444;color:white;font-size:10px;place-items:center;transform:translate(8px,-8px);}
#softNotifyWrap{position:fixed;right:22px;bottom:22px;z-index:99999;display:grid;gap:10px;max-width:320px;}
.soft-notify{background:var(--card,#fff);color:var(--text,#0f172a);border:1px solid var(--border,#dbe3ef);box-shadow:0 18px 45px rgba(15,23,42,.18);border-radius:16px;padding:14px 38px 14px 14px;display:grid;gap:5px;}
.soft-notify button{position:absolute;right:8px;top:6px;border:0;background:transparent;font-weight:900;cursor:pointer;color:inherit;}
.soft-notify span{font-size:12px;color:var(--muted,#64748b);}

/* =========================================================
   HOTFIX FINAL - LOGO DA SIDEBAR GRANDE E LEGIVEL
   Mantem a paleta existente e apenas corrige o cabecalho da sidebar.
   ========================================================= */
.sidebar .logo{
  height:104px !important;
  min-height:104px !important;
  padding:16px 18px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:14px !important;
}
.sidebar .logo .diamond,
.sidebar .logo .diamond.has-logo{
  width:58px !important;
  height:58px !important;
  min-width:58px !important;
  max-width:58px !important;
  flex:0 0 58px !important;
  border-radius:16px !important;
  transform:none !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-position:center center !important;
  background-color:rgba(255,255,255,.04) !important;
  color:transparent !important;
  box-shadow:0 10px 26px rgba(0,0,0,.28) !important;
  overflow:hidden !important;
}
.sidebar .logo b{
  font-size:17px !important;
  line-height:1.05 !important;
  font-weight:900 !important;
  color:#fff !important;
  letter-spacing:-.25px !important;
}
.sidebar .logo span{
  font-size:12px !important;
  line-height:1.2 !important;
  color:rgba(255,255,255,.86) !important;
  font-weight:700 !important;
  margin-top:4px !important;
}
.app.sidebar-collapsed .sidebar .logo{
  height:86px !important;
  min-height:86px !important;
  padding:14px 8px !important;
  justify-content:center !important;
}
.app.sidebar-collapsed .sidebar .logo .diamond,
.app.sidebar-collapsed .sidebar .logo .diamond.has-logo{
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  max-width:48px !important;
  flex:0 0 48px !important;
  border-radius:14px !important;
}
@media(max-width:980px){
  .sidebar .logo{
    height:86px !important;
    min-height:86px !important;
    padding:14px 8px !important;
    justify-content:center !important;
  }
  .sidebar .logo .diamond,
  .sidebar .logo .diamond.has-logo{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    max-width:48px !important;
    flex:0 0 48px !important;
  }
}

/* =====================================================================
   MODULO INTERNACIONAL - UI
===================================================================== */
.uf-int-page{background:#050505;color:#f8fafc;min-height:100vh}.int-wrap{max-width:1460px;margin:0 auto;padding:42px 28px 80px}.int-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.int-head h1{font-size:28px;margin:0;color:#fff}.int-head p{margin:4px 0 0;color:#94a3b8}.int-head .back{border-radius:50%;width:34px;height:34px;margin-right:10px}.int-head>div:first-child{display:flex;align-items:center;gap:10px}.int-actions{display:flex;gap:10px;align-items:center}.int-actions button,.int-panel button,.int-bottom button,.int-card-actions button,.int-modal button,.pay-line button,.int-tour-card button,.int-filters button{border:1px solid #262626;background:#090909;color:#fff;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer}.int-actions .primary,.int-modal .primary,.int-panel .primary{background:#fff;color:#050505}.int-actions .danger{color:#ff4d4d}.int-bottom .success{background:#00c48c;color:#00140f;border-color:#00c48c}.int-report{background:#101010;border:1px solid #1e1e1e;border-radius:18px;padding:20px 24px;margin-bottom:24px;display:flex;justify-content:space-between;color:#94a3b8}.int-report b{color:#fff}.int-filters{display:flex;gap:12px;margin-bottom:28px;background:#050505;border:1px solid #1c1c1c;border-radius:16px;padding:12px}.int-filters input,.int-filters select{background:#080808;border:1px solid #222;border-radius:12px;color:#fff;padding:12px;min-width:220px}.int-list{display:grid;gap:16px}.int-tour-card{display:grid;grid-template-columns:minmax(340px,1fr) 170px 160px 160px;align-items:center;gap:18px;background:#080808;border:1px solid #202020;border-radius:18px;padding:22px}.int-tour-card h3{margin:6px 0 8px;color:#fff}.int-tour-card p,.int-tour-card small,.int-tour-card span{color:#94a3b8}.int-card-actions{display:flex;gap:8px;justify-content:flex-end}.int-card-actions button:last-child{color:#ffe600}.int-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;background:#202020;color:#fff!important;font-size:11px;font-weight:900;margin-left:8px}.int-badge.efetivado,.int-badge.finalizado{background:#d1fae5;color:#065f46!important}.int-badge.em-simulacao{background:#dbeafe;color:#1d4ed8!important}.int-badge.pago-parcial{background:#fef3c7;color:#92400e!important}.int-badge.quitado,.int-badge.realizado{background:#cffafe;color:#155e75!important}.green{color:#00e08a!important}.int-values{text-align:right}.int-panel{background:#090909;border:1px solid #202020;border-radius:18px;margin:22px 0;overflow:hidden}.int-panel-title{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #1b1b1b}.int-panel-title h2{margin:0;font-size:18px}.int-table-wrap{overflow:auto;padding:14px}.int-table{width:100%;border-collapse:separate;border-spacing:0 8px;min-width:1280px}.int-table th{font-size:10px;text-transform:uppercase;color:#94a3b8;padding:8px}.int-table td{background:#050505;border-top:1px solid #1e1e1e;border-bottom:1px solid #1e1e1e;padding:8px}.int-table td:first-child{border-left:1px solid #1e1e1e;border-radius:12px 0 0 12px}.int-table td:last-child{border-right:1px solid #1e1e1e;border-radius:0 12px 12px 0}.int-table input,.int-table select,.pay-line input,.pay-line select,.int-form input,.int-form select,.int-form textarea{width:100%;background:#0b0b0b;border:1px solid #252525;color:#fff;border-radius:10px;padding:10px;outline:none}.int-table input:focus,.int-form input:focus,.int-form textarea:focus{border-color:#0ea5e9}.pay-row td{background:#070707!important;border-radius:12px!important;border:1px solid #1c1c1c!important}.pay-box{display:grid;gap:10px;padding:10px 14px}.pay-line{display:grid;grid-template-columns:150px 1fr 160px 90px 110px 150px 150px 42px 42px;gap:8px;align-items:center}.int-grid-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:22px}.int-result{background:#080808;border:1px solid #202020;border-radius:18px;overflow:hidden;padding:0 24px 24px}.int-result h2{margin:0 -24px 18px;padding:22px 24px;font-size:18px}.int-result.blue h2{background:linear-gradient(90deg,#0f1a38,#17172d)}.int-result.purple h2{background:linear-gradient(90deg,#321243,#4a1025)}.int-result .line{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #171717}.int-result .line span{color:#fff}.int-result .line b{font-size:16px}.int-result .red b,.int-result .red span{color:#ff3030}.int-result .blue b,.int-result .blue span{color:#0977ff}.int-result .green b,.int-result .green span{color:#00e08a}.int-result .cyan b,.int-result .cyan span{color:#38bdf8}.int-result .strong{font-weight:900}.artist-total{background:rgba(0,196,140,.12);border:1px solid rgba(0,196,140,.4);border-radius:14px;padding:22px;margin-top:18px}.artist-total span{display:block;color:#b9f6df;font-weight:900}.artist-total b{font-size:42px;color:#22c55e}.int-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}.int-summary div{background:#080808;border:1px solid #202020;border-radius:16px;padding:18px}.int-summary span{display:block;color:#94a3b8}.int-summary b{font-size:22px;color:#2386ff}.int-form{display:grid;gap:16px;padding:24px}.int-form.grid2{grid-template-columns:1fr 1fr}.int-form.grid4{grid-template-columns:repeat(4,1fr)}.int-form label{font-size:12px;text-transform:uppercase;color:#cbd5e1;font-weight:900}.int-form .full{grid-column:1/-1}.int-form textarea{min-height:82px;resize:vertical;margin-top:8px}.int-bottom{display:flex;justify-content:flex-end;gap:12px;position:sticky;bottom:0;background:linear-gradient(180deg,transparent,#050505 30%);padding:22px 0}.int-modal-back{position:fixed;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(8px);z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}.int-modal{width:min(780px,96vw);background:#1f1f1f;border:1px solid #444;border-radius:16px;box-shadow:0 20px 80px #000;padding:22px;position:relative}.int-modal h2{margin:0 0 12px}.int-x{position:absolute;right:16px;top:12px;border:0!important;background:transparent!important;font-size:22px!important}.int-modal-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #3a3a3a;padding-top:18px}.int-empty{padding:34px;text-align:center;color:#94a3b8;border:1px dashed #333;border-radius:16px}.small{padding:7px 10px!important;font-size:12px}@media(max-width:1100px){.int-tour-card{grid-template-columns:1fr}.int-grid-cards{grid-template-columns:1fr}.int-summary{grid-template-columns:1fr 1fr}.int-form.grid4,.int-form.grid2{grid-template-columns:1fr}.pay-line{grid-template-columns:1fr 1fr}.int-head{align-items:flex-start;flex-direction:column}}@media print{.sidebar,.topbar,.int-actions,.int-bottom,.nav,.int-panel button,.int-card-actions{display:none!important}.uf-int-page,.int-wrap{background:#fff!important;color:#000!important}.int-result,.int-panel,.int-summary div{break-inside:avoid;background:#fff!important;color:#000!important}}

/* v10.17 - logo sempre visivel quando nao houver imagem enviada */
.diamond:not(.has-logo),.brand-mark:not(.has-logo){color:#fff!important;position:relative!important;}
.diamond:not(.has-logo)::after{content:"";width:7px;height:7px;border-radius:2px;background:#fff;position:absolute;inset:0;margin:auto;}


/* v10.13.11 - correção definitiva dos ícones dos cards (remove SVG gigante/preto) */
#faturas_contas .f-card{position:relative!important;overflow:hidden!important;padding-left:74px!important;min-height:104px!important;height:104px!important;}
#faturas_contas .f-card-icon{position:absolute!important;left:22px!important;top:50%!important;transform:translateY(-50%)!important;width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;border-radius:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;font-style:normal!important;font-size:17px!important;font-weight:900!important;line-height:1!important;background:#f4f0ff!important;color:#673de6!important;border:1px solid rgba(103,61,230,.18)!important;box-shadow:0 8px 20px rgba(103,61,230,.10)!important;}
#faturas_contas .f-card-icon svg,#faturas_contas .f-card-icon svg *{display:none!important;width:0!important;height:0!important;max-width:0!important;max-height:0!important;opacity:0!important;visibility:hidden!important;}
#faturas_contas .f-card-icon:before{content:"▤";display:block!important;font-size:17px!important;color:currentColor!important;line-height:1!important;}
#faturas_contas .f-card-today .f-card-icon{background:#fff7ed!important;color:#ea580c!important;border-color:#fed7aa!important;}
#faturas_contas .f-card-today .f-card-icon:before{content:"◷";font-size:18px!important;}
#faturas_contas .f-card-overdue .f-card-icon{background:#fff1f2!important;color:#dc2626!important;border-color:#fecdd3!important;}
#faturas_contas .f-card-overdue .f-card-icon:before{content:"!";font-size:19px!important;}
#faturas_contas .f-card-paid .f-card-icon{background:#ecfdf5!important;color:#15803d!important;border-color:#bbf7d0!important;}
#faturas_contas .f-card-paid .f-card-icon:before{content:"✓";font-size:19px!important;}
#faturas_contas .f-card-next .f-card-icon{background:#eff6ff!important;color:#1d4ed8!important;border-color:#bfdbfe!important;}
#faturas_contas .f-card-next .f-card-icon:before{content:"□";font-size:18px!important;}


/* === UF 2026-09-21: artistas compactos + acoes de exclusao === */
#artistas.artists-module-page{padding-top:18px!important;max-width:1320px!important}
#artistas .artists-head{margin-bottom:10px!important}
#artistas .artists-head h2{font-size:24px!important;margin-bottom:2px!important}
#artistas .artists-head .muted{font-size:12px!important}
#artistas .rich-filter-row{margin:10px 0!important;padding:10px 12px!important;gap:8px!important;border-radius:12px!important}
#artistas .rich-filter-row input,#artistas .rich-filter-row button{min-height:36px!important;height:36px!important;font-size:12px!important}
#artistas .artist-rich-list{gap:5px!important}
#artistas .artist-rich-row.advanced{grid-template-columns:42px minmax(180px,1.3fr) minmax(245px,1.15fr) minmax(170px,.9fr) auto!important;min-height:62px!important;padding:7px 10px!important;gap:9px!important;border-radius:11px!important}
#artistas .avatar-mini{width:34px!important;height:34px!important;font-size:12px!important}
#artistas .artist-main-info{gap:1px!important}
#artistas .artist-main-info>b{font-size:13px!important;line-height:1.15!important}
#artistas .artist-rich-row small{margin-top:1px!important;font-size:10px!important;line-height:1.15!important}
#artistas .artist-pill{padding:2px 7px!important;font-size:10px!important;line-height:1.2!important}
#artistas .artist-commissions{gap:5px!important}
#artistas .artist-commissions span{padding:5px 7px!important;border-radius:8px!important;font-size:10px!important;white-space:nowrap!important}
#artistas .artist-socio{gap:1px!important;font-size:11px!important}
#artistas .artist-rich-actions{gap:5px!important;flex-wrap:nowrap!important}
#artistas .artist-rich-actions button{min-height:30px!important;height:30px!important;padding:0 9px!important;border-radius:8px!important;font-size:10.5px!important;white-space:nowrap!important}
#artistas .artist-rich-actions .artist-delete-btn{border-color:#fecaca!important;color:#b91c1c!important;background:#fff!important}
body.theme-dark #artistas .artist-rich-actions .artist-delete-btn{background:#281315!important;border-color:#7f1d1d!important;color:#fecaca!important}
.crw-inline-actions{display:flex!important;gap:5px!important;align-items:center!important;white-space:nowrap!important}
.crw-inline-delete,.crw-danger-action{border:1px solid #fecaca!important;background:#fff!important;color:#b91c1c!important;border-radius:8px!important;font-weight:700!important;cursor:pointer!important}
.crw-inline-delete{padding:6px 8px!important;font-size:11px!important}
.crw-danger-action{padding:9px 12px!important}
.crw-footer-spacer{flex:1!important}
body.theme-dark .crw-inline-delete,body.theme-dark .crw-danger-action{background:#281315!important;border-color:#7f1d1d!important;color:#fecaca!important}
@media(max-width:1180px){#artistas .artist-rich-row.advanced{grid-template-columns:42px 1fr!important}#artistas .artist-commissions,#artistas .artist-socio,#artistas .artist-rich-actions{grid-column:2/-1!important}}
