
#mkx{display:none;position:fixed;left:0;right:0;top:0;bottom:0;z-index:9000;flex-direction:column;font-family:Inter,"Helvetica Neue",Arial,sans-serif;
--bg:#eef2f7;--cd:#fff;--bd:#e2e8f1;--tx:#0d2347;--mu:#6b7a92;--ln:#e8edf4;--ac:#1a3a6b;--pos:#15803d;--neg:#c0392b;--sg:#e8edf5;--non:#1a3a6b;--pil:#e3eaf5;--ic:#5b6b86;--bk:#1a3a6b;--inb:#dfe5ee;--nt:#7b8aa3;--ph:#8a97ad;--sh:rgba(30,60,110,.05);--sh2:rgba(30,60,110,.12);--st:#fff;
background:var(--bg);color:var(--tx)}
html body:not(.tema-claro) #mkx{--bg:#0e1a2e;--cd:#16263f;--bd:#233654;--tx:#eaf0fb;--mu:#93a3bf;--ln:#223250;--ac:#4a9eda;--pos:#4ade80;--neg:#ff7a7a;--sg:#1a2b47;--non:#8fb8ff;--pil:#24406c;--ic:#9fb0cc;--bk:#cfe0ff;--inb:#2a3d60;--nt:#7f90ad;--ph:#7f90ad;--sh:rgba(0,0,0,.25);--sh2:rgba(0,0,0,.4);--st:#2a3f66}
#mkx.on{display:flex}
#mkx *{box-sizing:border-box;margin:0;padding:0;text-shadow:none}
#mkx .mx-top{background:var(--cd);border-bottom:3px solid #da171b;padding-bottom:10px !important;display:flex;align-items:center;gap:10px;padding:14px 18px 6px;padding-top:calc(14px + env(safe-area-inset-top,0px));flex:none}
#mkx .mx-back,#mkx .mx-ic{width:34px;height:34px;border-radius:12px;background:var(--cd);border:1px solid var(--inb);display:flex;align-items:center;justify-content:center;color:var(--ic);flex:none;cursor:pointer}
#mkx .mx-back{color:var(--bk)}
#mkx .mx-h1{font-size:22px;font-weight:800;color:var(--tx);flex:1}
#mkx .mx-body{padding:6px 16px 0;flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:170px}
#mkx .mx-card{background:var(--cd);border:1px solid var(--bd);border-radius:18px;padding:16px;box-shadow:0 2px 8px var(--sh)}
#mkx .mx-lbl{font-size:12.5px;color:var(--mu);font-weight:600}
#mkx .mx-big{font-size:34px;font-weight:800;color:var(--tx);letter-spacing:-.5px;margin:2px 0 10px}
#mkx .mx-row{display:flex;justify-content:space-between;align-items:center}
#mkx .mx-sub{font-size:12.5px;color:var(--mu)}
#mkx .pos{color:var(--pos);font-weight:700}#mkx .neg{color:var(--neg);font-weight:700}
#mkx .mx-hr{border-top:1px solid var(--ln);margin:10px 0;height:0}
#mkx .mx-mes span{cursor:pointer;padding:4px 12px;font-size:20px;line-height:1}#mkx .mx-mes{display:flex;justify-content:space-between;align-items:center;margin:14px 4px 10px;font-weight:700;color:var(--tx);font-size:15px}
#mkx .mx-mes i{font-style:normal;color:#da171b;cursor:pointer;font-size:12px;font-weight:600;display:block;text-align:center}
#mkx .mx-two{display:flex;gap:10px}#mkx .mx-two .mx-card{flex:1;padding:12px 14px}
#mkx .mx-two b{font-size:17px;display:block;margin-top:4px}
#mkx .mx-h3{font-size:15px;font-weight:800;color:var(--tx);margin:16px 4px 8px}
#mkx .mx-acc{display:flex;align-items:center;gap:12px;padding:10px 0}
#mkx .mx-acc+.mx-acc{border-top:1px solid var(--ln)}
#mkx .mx-dot{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:15px;flex:none}
#mkx .mx-acc b{font-size:14.5px;display:block;color:var(--tx)}#mkx .mx-acc small{color:var(--mu);font-size:12px}#mkx .mx-acc .v{margin-left:auto;font-weight:700;font-size:14.5px;color:var(--tx)}
#mkx .mx-fab{position:absolute;right:18px;bottom:calc(98px + env(safe-area-inset-bottom,0px));width:56px;height:56px;border-radius:18px;background:#da171b;color:#fff;font-size:30px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(218,23,27,.35);cursor:pointer}
#mkx .mx-nav{position:absolute;left:0;right:0;bottom:0;height:78px;background:var(--cd);border-top:1px solid var(--bd);display:flex;justify-content:space-around;align-items:center;padding:0 6px 6px;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px));box-sizing:content-box}
#mkx .mx-ni{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:600;color:var(--nt);width:64px;cursor:pointer}
#mkx .mx-ni svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#mkx .mx-ni.on{color:var(--non)}#mkx .mx-ni.on .mx-pill{background:var(--pil)}
#mkx .mx-pill{padding:5px 16px;border-radius:14px;display:flex}
#mkx .mx-seg{display:flex;background:var(--sg);border-radius:14px;padding:4px;margin:12px 0}
#mkx .mx-seg span{flex:1;text-align:center;padding:8px 0;border-radius:11px;font-size:13px;font-weight:700;color:var(--ic);cursor:pointer}
#mkx .mx-seg .on{background:var(--cd);color:var(--tx);box-shadow:0 1px 4px var(--sh2)}
#mkx .mx-search{display:flex;gap:10px;margin-bottom:6px}
#mkx .mx-in{flex:1;height:42px;background:var(--cd);border:1px solid var(--inb);border-radius:13px;display:flex;align-items:center;padding:0 12px;color:var(--ph);font-size:14px;gap:8px}
#mkx .mx-in input{flex:1;min-width:0;width:auto;height:auto;border:0 !important;border-radius:0 !important;box-shadow:none !important;background:transparent !important;outline:0 !important;padding:0 !important;margin:0 !important;font-size:14px;color:var(--tx);font-family:inherit}
#mkx .mx-in input::placeholder{color:var(--ph)}
#mkx .mx-f{height:42px;padding:0 14px;border:1px solid var(--inb);background:var(--cd);border-radius:13px;display:flex;align-items:center;color:var(--non);font-weight:700;font-size:13px}
#mkx .mx-day{display:flex;justify-content:space-between;font-size:12.5px;color:var(--mu);font-weight:700;margin:14px 4px 6px}
#mkx .mx-lan{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--cd);border:1px solid var(--bd);border-radius:14px;margin-bottom:8px}
#mkx .mx-lan .mx-dot{width:36px;height:36px;font-size:16px}
#mkx .mx-lan b{font-size:14.5px;display:block;color:var(--tx)}#mkx .mx-lan small{font-size:12px;color:var(--mu)}#mkx .mx-lan .v{margin-left:auto;font-weight:800;font-size:14.5px}
#mkx .mx-bar{height:8px;border-radius:5px;background:var(--ln);margin-top:7px;overflow:hidden}#mkx .mx-bar i{display:block;height:100%;border-radius:5px;background:#da171b}
#mkx .mx-cat{padding:11px 0}#mkx .mx-cat+.mx-cat{border-top:1px solid var(--ln)}
#mkx .mx-cat .mx-row b{font-size:14px;color:var(--tx)}#mkx .mx-cat .mx-row span{font-size:13.5px;font-weight:700;color:var(--tx)}
#mkx .mx-cat small{color:var(--mu);font-weight:600;font-size:12px;margin-right:8px}
#mkx .mx-chart{display:flex;align-items:flex-end;gap:14px;height:130px;padding:6px 6px 0;border-bottom:1px solid var(--bd)}
#mkx .mx-chart div{flex:1;display:flex;gap:4px;align-items:flex-end;height:100%}
#mkx .mx-chart i{flex:1;border-radius:5px 5px 0 0;display:block}
#mkx .mx-mon{display:flex;gap:14px;padding:6px 6px 0;font-size:11px;color:var(--mu);font-weight:600}#mkx .mx-mon span{flex:1;text-align:center}
#mkx .mx-two b,#mkx .mx-card b{color:inherit}
#mkx .mx-two b.pos,#mkx .mx-card b.pos{color:var(--pos)}#mkx .mx-two b.neg,#mkx .mx-card b.neg{color:var(--neg)}
#mkx .mx-card b:not(.pos):not(.neg){color:var(--tx)}
#mkx.mx-hide .m{filter:blur(8px)}
#mkx .mx-vazio{padding:18px 6px;color:var(--mu);font-size:13.5px;line-height:1.5;text-align:center}
#mkx .mx-pg{margin-left:auto;border:0;background:var(--pil);color:var(--non);font-weight:800;font-size:12.5px;padding:8px 12px;border-radius:11px;cursor:pointer;font-family:inherit}
#mkx .mx-acc .mx-pg+.v,#mkx .mx-acc .v+.mx-pg{margin-left:10px}
#mkx .mx-btn{width:100%;height:46px;border:1.5px solid var(--inb);background:var(--cd);color:var(--non);font-weight:800;font-size:14px;border-radius:13px;margin-top:10px;cursor:pointer;font-family:inherit}
#mkx .mx-f{cursor:pointer}#mkx .mx-f.on{background:var(--pil);border-color:var(--non)}
#mkx .mx-lan{cursor:pointer}
#mkx .mx-acc>div:nth-child(2),#mkx .mx-lan>div:nth-child(2){min-width:0;flex:1}
#mkx .mx-acc b,#mkx .mx-lan b,#mkx .mx-acc small,#mkx .mx-lan small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#mkx .v{white-space:nowrap;flex:none}
#mkx .mx-leg{display:flex;gap:14px;margin-top:8px;font-size:11.5px;color:var(--mu);font-weight:600}#mkx .mx-leg i{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:5px}
body.tema-claro #modal-lanc>div,body.tema-claro #modal-conta>div{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
#mkx .mx-sheet{position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,.45);display:flex;align-items:flex-end;z-index:5}
#mkx .mx-sheet>div{background:var(--cd);width:100%;border-radius:22px 22px 0 0;padding:18px 18px calc(18px + env(safe-area-inset-bottom,0px));max-height:70%;overflow-y:auto}
#mkx .mx-tit{font-size:18px;font-weight:800;color:var(--tx);line-height:1.3;word-break:break-word;white-space:normal}
#mkx .mx-vv{font-size:26px;font-weight:800;margin:4px 0 10px}
#mkx .mx-det{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-top:1px solid var(--ln);font-size:13.5px;color:var(--mu)}#mkx .mx-det b{color:var(--tx);text-align:right;font-weight:600;word-break:break-word}
#mkx .mx-ent{display:flex;gap:10px;margin-top:12px}
#mkx .mx-eb{flex:1;height:56px;border-radius:16px;background:var(--cd);display:flex;align-items:center;justify-content:center;gap:10px;font-size:16px;font-weight:800;color:var(--tx);cursor:pointer;box-shadow:0 2px 8px var(--sh)}
#mkx .mx-eb i{width:34px;height:34px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:22px;font-weight:800}
#mkx .mx-eb.g{border:2px solid #27ae60}#mkx .mx-eb.g i{background:rgba(39,174,96,.15);color:#27ae60}
#mkx .mx-eb.r{border:2px solid #c0392b}#mkx .mx-eb.r i{background:rgba(192,57,43,.14);color:#c0392b}
#mkx .mx-gr{border:2px solid #27ae60 !important}#mkx .mx-rd{border:2px solid #c0392b !important}
#mkx .mx-sheet .mx-opt{padding:14px 6px;border-top:1px solid var(--ln);font-size:15px;font-weight:600;color:var(--tx);display:flex;justify-content:space-between;cursor:pointer}
#mkx .mx-sheet .mx-opt.on{color:var(--non);font-weight:800}


#modal-lanc select,#modal-lanc input[type=date],#modal-lanc #lanc-obs,#modal-lanc #lanc-descricao{font-size:17px !important;font-weight:600 !important;min-height:48px;color:#0d2347 !important}
html body:not(.tema-claro) #modal-lanc select,html body:not(.tema-claro) #modal-lanc input[type=date],html body:not(.tema-claro) #modal-lanc #lanc-obs,html body:not(.tema-claro) #modal-lanc #lanc-descricao{color:#fff !important}
#modal-lanc input::placeholder{color:#5b6b86 !important;opacity:1 !important;font-weight:500}
html body:not(.tema-claro) #modal-lanc input::placeholder{color:#a9b6cf !important}
#modal-lanc label{font-size:16px !important}
#modal-lanc #lanc-cat-label{font-size:16px !important;color:#4a5a78 !important}
#mkx .mx-lbl{font-size:13.5px}#mkx .mx-sub{font-size:13.5px}#mkx .mx-acc small,#mkx .mx-lan small{font-size:13px}#mkx .mx-ni{font-size:12px}#mkx .mx-day{font-size:13.5px}#mkx .mx-mon{font-size:12px}

html body #modal-lanc label{font-size:19px !important;font-weight:800 !important;color:#0d2347 !important;opacity:1 !important}
html body:not(.tema-claro) #modal-lanc label{color:#f1f5fc !important}
html body #modal-lanc select,html body #modal-lanc input[type=date],html body #modal-lanc input[type=text],html body #modal-lanc #lanc-valor{font-size:21px !important;font-weight:700 !important;min-height:58px !important;color:#0a1a38 !important;background-color:#fff !important;border:2px solid #5b7aa6 !important;opacity:1 !important;-webkit-text-fill-color:#0a1a38 !important}
html body:not(.tema-claro) #modal-lanc select,html body:not(.tema-claro) #modal-lanc input[type=date],html body:not(.tema-claro) #modal-lanc input[type=text],html body:not(.tema-claro) #modal-lanc #lanc-valor{color:#fff !important;-webkit-text-fill-color:#fff !important;background-color:#1a2a47 !important;border-color:#4a6591 !important}
html body #modal-lanc input::placeholder{color:#3d4d6a !important;-webkit-text-fill-color:#3d4d6a !important;opacity:1 !important;font-weight:600 !important}
html body:not(.tema-claro) #modal-lanc input::placeholder{color:#c3cfe6 !important;-webkit-text-fill-color:#c3cfe6 !important}
html body #modal-lanc #lanc-cat-label{font-size:20px !important;font-weight:700 !important;color:#2c3c5a !important;opacity:1 !important}
html body:not(.tema-claro) #modal-lanc #lanc-cat-label{color:#e1e8f5 !important}
html body #modal-lanc #lanc-cat-display{min-height:58px !important;border:2px solid #5b7aa6 !important}
html body #modal-lanc .btn-camera,html body #modal-lanc .btn-galeria{font-size:20px !important;min-height:58px !important;font-weight:800 !important}
html body #modal-lanc .btn-tipo{font-size:20px !important;min-height:54px !important}
html body #modal-lanc button[onclick="salvarLancamento()"]{font-size:21px !important;min-height:60px}
html body #modal-lanc label{font-size:18px !important}
html body #modal-lanc label[style*="Forma"],html body #modal-lanc div[style*="flex:1;text-align:center"]>label{font-size:15.5px !important;white-space:nowrap;text-align:left}
html body #modal-lanc div[style*="flex:1;text-align:center"]{text-align:left !important}
html body #modal-lanc select,html body #modal-lanc input[type=date],html body #modal-lanc input[type=text],html body #modal-lanc #lanc-valor{font-size:20px !important;min-height:54px !important}
html body #modal-lanc select#lanc-forma{font-size:18px !important}
html body #modal-lanc input[type=date]{font-size:18px !important}
html body #modal-lanc #modal-lanc-titulo{font-size:26px !important;font-weight:900 !important}
#mkx .mx-lan b,#mkx .mx-acc b{font-size:17.5px}
#mkx .mx-lan small,#mkx .mx-acc small{font-size:14px}
#mkx .mx-lan .v,#mkx .mx-acc .v{font-size:17px}
#mkx .mx-lan{padding:14px 14px;gap:13px}#mkx .mx-lan .mx-dot{width:42px;height:42px;font-size:19px}
#mkx .mx-day{font-size:15px}
#mkx .mx-lbl{font-size:14.5px}#mkx .mx-two b{font-size:20px}
#mkx .mx-seg span{font-size:15px}#mkx .mx-in,#mkx .mx-in input{font-size:16px}#mkx .mx-f{font-size:15px}
#mkx .mx-h3{font-size:17px}#mkx .mx-cat .mx-row b{font-size:16px}#mkx .mx-cat .mx-row span{font-size:15px}
html body #modal-lanc #lanc-cat-display span:last-child{font-size:17px !important;font-weight:900 !important;color:#1a3a6b !important;letter-spacing:0 !important}
html body:not(.tema-claro) #modal-lanc #lanc-cat-display span:last-child{color:#8fc4f5 !important}
html body #modal-lanc #lanc-cat-label{font-size:18px !important;white-space:nowrap}
html body #modal-lanc #lanc-cat-display span:last-child{font-size:15.5px !important}

/* build 023 - inicio + lancamentos fundidos */
#mkx .mx-tap{cursor:pointer}
#mkx .mx-gr.sel{background:#e3f6ec !important;box-shadow:0 0 0 4px rgba(39,174,96,.28) !important}
#mkx .mx-rd.sel{background:#fbe6e4 !important;box-shadow:0 0 0 4px rgba(192,57,43,.25) !important}
html body:not(.tema-claro) #mkx .mx-gr.sel{background:#16382c !important}
html body:not(.tema-claro) #mkx .mx-rd.sel{background:#3a1d22 !important}

/* build 023 - sheet de cartao legivel (tema claro) */
html body.tema-claro .f2-sheet-in .f2-lb{font-size:15px !important;font-weight:800 !important;color:#1a2f5a !important}
html body.tema-claro .f2-sheet-in .f2-seg button{border:2px solid #b7c6e0 !important;color:#1a2f5a !important;background:#fff !important;font-weight:800 !important;font-size:16px !important}
html body.tema-claro .f2-sheet-in .f2-seg button.on{background:#1a3a6b !important;border-color:#1a3a6b !important;color:#fff !important}
html body.tema-claro .f2-sheet-in .f2-back{background:#eef2f8 !important;border:1.5px solid #b7c6e0 !important}
html body.tema-claro .f2-sheet-in .f2-back svg{stroke:#1a2f5a !important}
html body.tema-claro .f2-sheet-in .f2-in{color:#0d2347 !important;font-weight:600 !important;border:2px solid #b7c6e0 !important;background:#fff !important}
html body.tema-claro .f2-sheet-in .f2-in::placeholder{color:#5f6f88 !important;opacity:1}
html body.tema-claro .f2-sheet-in .f2-sv{background:#1a3a6b !important;color:#fff !important}
html body.tema-claro .f2-sheet-in .f2-sec{border:2px solid #b7c6e0 !important;color:#1a2f5a !important}
html body:not(.tema-claro) .f2-sheet-in .f2-seg button.on{background:#2a5bb0 !important;border-color:#5B8CFF !important;color:#fff !important}
html body .f2-sheet-in .f2-seg{margin:0 !important;padding:0 !important;background:transparent !important}
html body.tema-claro .f2-sheet-in input.f2-in::placeholder{color:#4d5d78 !important;opacity:1 !important;-webkit-text-fill-color:#4d5d78}

/* build 025 - saldo azul mais claro, cards mais baixos, moldura estilo celular */
#mkx .mx-saldo{background:linear-gradient(135deg,#2f63b4 0%,#4179cf 100%) !important;border:0 !important;box-shadow:0 8px 20px rgba(47,99,180,.35) !important}
#mkx .mx-saldo .mx-lbl,#mkx .mx-saldo .mx-sub{color:#dce8fb !important}
#mkx .mx-saldo .mx-big{color:#fff !important}
#mkx .mx-saldo .mx-hr{border-top-color:rgba(255,255,255,.28) !important}
#mkx .mx-saldo .pos{color:#9af5c0 !important}#mkx .mx-saldo .neg{color:#ffd0ca !important}
#mkx .mx-two .mx-card{padding:8px 14px !important}
#mkx .mx-two b{margin-top:1px !important}
#mkx .mx-two + .mx-two{margin-top:8px !important}
#mkx{left:6px !important;right:6px !important;top:6px !important;bottom:6px !important;border-radius:32px !important;overflow:hidden !important;box-shadow:0 0 0 80px #0b1a33,inset 0 0 0 2px #3a5a8c !important}
#mkx .mx-top{border-top-left-radius:30px;border-top-right-radius:30px}
