/* MIGA V76 original CSS section 1  */

:root{--green:#244b3a;--green2:#42705a;--cream:#f6f3eb;--paper:#fffefa;--terr:#c87851;--gold:#d6a84f;--ink:#20382e;--muted:#748077;--line:#e5e8df;--danger:#aa4b41;--ok:#387257;--shadow:0 10px 32px rgba(37,69,49,.075)}*{box-sizing:border-box}body{margin:0;background:var(--cream);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a2c6a5;outline-offset:2px}a{color:var(--green2)}.shell{max-width:1450px;margin:auto;display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{background:var(--green);color:#eaf2e9;padding:29px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{padding:0 15px 30px}.brandname{font-family:Georgia,serif;font-size:38px;letter-spacing:-2px;color:#f5f0e3}.brandname span{color:#e0ad63}.subbrand{font-size:10px;letter-spacing:2.5px;color:#c3d2c8;font-weight:700;margin-top:-4px}.nav{display:grid;gap:7px}.nav button{display:flex;align-items:center;gap:13px;width:100%;background:none;color:#c5d5ca;border:0;padding:13px 15px;border-radius:13px;text-align:left;font-weight:600}.nav button.active,.nav button:hover{background:#406853;color:white}.nav .symbol{width:22px;text-align:center;font-size:18px}.sidefoot{margin-top:auto;color:#b6cabd;padding:15px;font-size:12px;line-height:1.65;border-top:1px solid #57745d}.main{padding:28px 40px 90px;min-width:0}.top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:28px}.eyebrow{text-transform:uppercase;letter-spacing:1.7px;font-size:11px;color:var(--green2);font-weight:800}.page-title{font-family:Georgia,serif;font-size:34px;margin:5px 0 0;font-weight:500;letter-spacing:-.7px}.controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.select,.input{border:1px solid #dbe3d9;border-radius:12px;padding:11px 13px;background:var(--paper);color:var(--ink);min-width:130px;max-width:100%}.btn{border:0;border-radius:12px;padding:12px 16px;background:var(--green);color:white;font-weight:700;display:inline-flex;align-items:center;gap:8px;justify-content:center}.btn.secondary{background:#e8eee6;color:var(--green)}.btn.outline{background:transparent;color:var(--green);border:1px solid #becfc2}.btn.small{padding:8px 11px;font-size:12px}.btn:disabled{opacity:.45;cursor:not-allowed}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:21px;box-shadow:var(--shadow);min-height:138px}.stat .label{font-size:12px;color:var(--muted);font-weight:650}.stat .value{font:normal clamp(19px,2vw,29px) Georgia,serif;margin:15px 0 7px;white-space:nowrap;letter-spacing:-.6px}.stat .smalltext{font-size:11px;color:var(--muted)}.cards{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:18px;margin-top:20px}.panel{background:var(--paper);border-radius:19px;border:1px solid var(--line);padding:22px;box-shadow:var(--shadow);min-width:0}.sectionheading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.sectionheading h2{font:normal 23px Georgia,serif;margin:0}.caption{font-size:12px;color:var(--muted);line-height:1.5}.badge{display:inline-block;border-radius:100px;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap;background:#e5eee6;color:#346147}.badge.warn{background:#fff2d7;color:#8f6315}.badge.bad{background:#fbe5df;color:#a2493d}.badge.neutral{background:#edf0ed;color:#657368}.alert{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.alert:last-child{border-bottom:0}.alert .bubble{display:grid;place-items:center;border-radius:12px;background:#f5e7d7;width:38px;height:38px;flex-shrink:0;font-size:19px}.alert strong{display:block;margin:0 0 4px}.alert p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.quick{display:flex;align-items:center;gap:15px;border:1px dashed #b7c8b7;border-radius:16px;padding:22px;background:#f1f6ee;margin-bottom:18px}.quick .circle{background:var(--green);color:white;border-radius:13px;width:48px;height:48px;display:grid;place-items:center;font-size:24px}.quick p{margin:5px 0 0;color:var(--muted);font-size:12px}.quick .btn{margin-left:auto}.barrow{display:flex;align-items:center;gap:12px;margin:13px 0}.barlabel{width:115px;font-size:12px}.bartrack{height:9px;border-radius:20px;background:#e8ece6;flex:1;overflow:hidden}.barfill{height:100%;border-radius:20px;background:#6a8b72}.barval{width:92px;text-align:right;font-size:12px;font-weight:700}.tablewrap{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;text-align:left;min-width:700px}th{font-size:10px;letter-spacing:.65px;text-transform:uppercase;color:#76857a;background:#f3f6f0;font-weight:800}th,td{padding:13px 12px;border-bottom:1px solid var(--line)}td{font-size:12px}td strong{font-weight:800}.empty{padding:26px;color:var(--muted);text-align:center}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:17px}.toolbar .input{flex:1;min-width:170px}.split{display:grid;grid-template-columns:1fr 1fr;gap:16px}.callout{border:1px solid #eadfcb;background:#fff8ea;border-radius:14px;padding:13px;font-size:12px;line-height:1.55;color:#775c26}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#66786a;font-weight:700}.field input,.field select,.field textarea{width:100%;background:white;border:1px solid #dbe3d9;border-radius:10px;padding:11px;color:var(--ink)}.field textarea{resize:vertical;min-height:75px}.full{grid-column:1/-1}.modalback{position:fixed;inset:0;background:rgba(17,37,27,.55);display:flex;justify-content:center;align-items:center;padding:15px;z-index:60}.modal{background:var(--paper);width:min(680px,100%);max-height:90vh;overflow:auto;border-radius:22px;padding:26px}.modalhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.modalhead h2{font:normal 26px Georgia,serif;margin:0}.xbtn{background:#eef2ec;border:0;border-radius:10px;width:34px;height:34px;font-size:20px}.footer-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px;flex-wrap:wrap}.mobile-nav{display:none}.notice{background:#e9eee6;color:#466550;padding:12px 16px;border-radius:12px;font-size:12px;line-height:1.5;margin-bottom:19px}.pillrow{display:flex;gap:8px;flex-wrap:wrap}.chip{padding:8px 12px;border:1px solid var(--line);border-radius:30px;background:white;font-size:12px;font-weight:700}.chip.active{background:var(--green);color:#fff}.minirow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.minirow:last-child{border:0}.smallmuted{font-size:11px;color:var(--muted)}.locked{opacity:.6;pointer-events:none}.tag{font-size:11px;font-weight:700;color:#8b765d}.hidden{display:none!important}.avatar{background:#d6dfd3;border-radius:50%;width:37px;height:37px;display:grid;place-items:center;font-weight:800;color:#365940}
@media(max-width:1050px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cards{grid-template-columns:1fr}.main{padding:24px}.sidebar{width:210px}.shell{grid-template-columns:210px 1fr}}@media(max-width:700px){.shell{display:block}.sidebar{display:none}.main{padding:20px 15px 110px}.page-title{font-size:29px}.top{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:20px}.controls{width:100%}.controls select{flex:1;min-width:0}.grid{gap:9px}.stat{padding:15px;min-height:115px;border-radius:14px}.stat .value{font-size:clamp(16px,4.2vw,23px)}.stat .label{font-size:11px}.panel{padding:17px}.cards{gap:12px;margin-top:13px}.quick{padding:15px;gap:12px}.quick .circle{width:42px;height:42px}.quick .btn{font-size:11px;padding:10px 11px}.split,.formgrid{grid-template-columns:1fr}.full{grid-column:auto}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;gap:2px;background:#fffefa;border-top:1px solid #e3e8df;padding:9px 5px calc(9px + env(safe-area-inset-bottom));z-index:20}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:transparent;color:#7a897c;font-size:9px;font-weight:700;min-width:0;padding:5px}.mobile-nav button.active{color:var(--green)}.mobile-nav button span{font-size:21px}.barlabel{width:77px}.barval{width:80px}.modal{padding:18px}}

/* MIGA V76 original CSS section 2 id="miga-override-style" */

:root{--brand-ink:#11120E;--brand-olive:#55544A;--brand-bone:#D7D0BE;--brand-cream:#FEFAF6;}
body,button,input,select,textarea,table,h1,h2,h3,h4,.page-title,.sectionheading h2{font-family:Aptos,"Aptos Display","Segoe UI",-apple-system,BlinkMacSystemFont,sans-serif!important;}
body{background:var(--brand-cream);color:var(--brand-ink);}
.sidebar{background:var(--brand-ink);}
.panel,.stat,.select,.input,.modal{border-color:var(--brand-bone);background:#fffdfb;}
.nav button{color:#ddd6c8;}
.nav button.active,.nav button:hover{background:var(--brand-olive);color:#fff;}
.badge,.badge.warn,.badge.bad,.badge.neutral{background:#f2eee7;color:var(--brand-ink);border:1px solid var(--brand-bone);}
.notice,.callout,th{background:#f2eee7;border-color:var(--brand-bone);color:var(--brand-ink);}
.bartrack{background:#e8e1d3;}
.barfill{background:var(--brand-olive)!important;}
.sidebar .brand{display:flex;justify-content:center;align-items:center;padding:0 0 24px;margin:0 auto 6px;}
.sidebar .brand .brandlogo{width:110px;height:110px;object-fit:contain;border-radius:50%;border:1px solid rgba(255,255,255,.9);background:transparent;box-sizing:border-box;}
.sidebar .brand .brandtext{display:none!important;}
.mobilebrand{display:flex;justify-content:center;align-items:center;margin:0 0 12px;}
.mobilebrand img{width:74px;height:74px;object-fit:contain;border-radius:50%;border:1px solid rgba(255,255,255,.9);background:var(--brand-ink);box-sizing:border-box;}
.mobilebrand > div{display:none!important;}

/* MIGA V8: solo isotipo circular negro con borde blanco de 1 px */
.sidebar .brand{display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important;padding:4px 0 18px!important;margin:0 auto 8px!important}
.sidebar .brand .brandlogo{width:112px!important;height:112px!important;border:1px solid #fff!important;outline:none!important;box-shadow:none!important;border-radius:50%!important;background:#11120E!important;object-fit:cover!important}
.sidebar .brand .brandtext{display:none!important}
.mobilebrand{display:flex!important;justify-content:center!important;width:100%!important;background:transparent!important;margin:0 0 12px!important;padding:4px 0!important}
.mobilebrand img{width:78px!important;height:78px!important;border:1px solid #fff!important;border-radius:50%!important;background:#11120E!important;box-shadow:none!important;object-fit:cover!important}
.mobilebrand>div{display:none!important}
@media(min-width:701px){.mobilebrand{display:none!important}}
.muni-config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 16px}
.muni-config label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:700}
.muni-config select,.muni-config input{padding:11px 12px;border:1px solid #D7D0BE;border-radius:9px;background:#FEFAF6;color:#11120E;font:inherit;width:100%}
.muni-flags{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0 15px}
.muni-flags label{display:flex;align-items:center;gap:6px;background:#f1ece3;border:1px solid #D7D0BE;border-radius:25px;padding:8px 10px;font-size:12px;cursor:pointer}
.muni-summary{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 15px}.muni-summary span{border:1px solid #D7D0BE;border-radius:99px;padding:8px 12px;font-size:12px;background:#fff}
.muni-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(110px,.7fr) auto;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid #D7D0BE}
.muni-row h3{font-size:14px;margin:0 0 5px}.muni-row small{font-size:11px;line-height:1.45;color:#55544A}.muni-row .btn{font-size:12px;padding:8px 9px}
.muni-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.muni-actions button{font-size:11px}
.muni-status{font-weight:700;font-size:11px}.muni-status.muni-overdue{color:#a02424}.muni-status.muni-soon{color:#8a6218}.muni-status.muni-ok{color:#39684c}
.muni-section{margin-top:18px;border-top:1px solid #D7D0BE;padding-top:18px}
.muni-description{color:#55544A;font-size:12px;line-height:1.6}.muni-search{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.muni-search .input{flex:1;min-width:180px}
@media(max-width:700px){.muni-config{grid-template-columns:1fr}.muni-row{grid-template-columns:1fr auto}.muni-row>div:first-child{grid-column:1/-1}.muni-actions{justify-content:flex-end}}

/* MIGA V76 original CSS section 3 id="miga-v9-style" */
.muni-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:10px}.muni-toolbar p{margin:5px 0 0}.muni-setup{margin-top:16px;border:1px solid var(--line)}.sidebar .brand .brandlogo,.mobilebrand img{border:1px solid #fff!important;box-sizing:border-box!important;border-radius:50%!important}.sidebar .brand{justify-content:center!important}.sidebar .brandtext,.mobilebrand>div{display:none!important}@media(max-width:700px){.muni-toolbar{align-items:flex-start;flex-direction:column}.muni-toolbar .btn{width:100%}}
/* MIGA V76 original CSS section 4 id="miga-brand-style" */
.sidebar .brand{display:flex;align-items:center;gap:13px;padding:0 9px 24px}.brandlogo{display:block;width:76px;height:76px;object-fit:contain;border-radius:50%;flex-shrink:0;background:#fff}.brandtext{display:flex;flex-direction:column;gap:4px;min-width:0}.brandtext strong{font-size:29px;letter-spacing:-1px;font-weight:850;color:white;line-height:1}.brandtext small{color:#e3ece8;font-weight:700;letter-spacing:.7px;font-size:9px;line-height:1.45}.mobilebrand{display:none}@media(max-width:700px){.mobilebrand{display:flex;align-items:center;gap:11px;margin:0 0 12px}.mobilebrand img{width:53px;height:53px;border-radius:50%;background:white}.mobilebrand strong{display:block;font-size:23px;letter-spacing:-.6px;color:#171717}.mobilebrand small{display:block;font-size:10px;letter-spacing:1.2px;color:#555;font-weight:700}}
/* MIGA V76 original CSS section 5 id="miga-v9-last" */
.sidebar .brand .brandlogo,.mobilebrand img{border:1px solid #ffffff!important;box-sizing:border-box!important;border-radius:50%!important}.sidebar .brand{justify-content:center!important}.sidebar .brandtext,.mobilebrand>div{display:none!important}
/* MIGA V76 original CSS section 6 id="miga-finance-v2" */
:root{--green:#11120E;--green2:#55544A;--cream:#FEFAF6;--paper:#FEFAF6;--terr:#55544A;--gold:#D7D0BE;--ink:#11120E;--muted:#55544A;--line:#D7D0BE}body,button,input,select,textarea,table{font-family:Aptos,"Segoe UI",sans-serif!important}.sidebar{background:#11120E!important}.sidebar .brand{background:#D7D0BE!important;border:0!important;border-radius:0 0 48% 48%/0 0 18% 18%!important;min-height:240px!important;width:calc(100% + 36px)!important;margin:-29px -18px 18px!important;padding:47px 15px 40px!important;display:flex!important;align-items:center!important;justify-content:center!important}.sidebar .brand .brandlogo{width:140px!important;height:140px!important;border:0!important;box-shadow:none!important;outline:none!important;background:transparent!important}.sidebar .brand .brandtext,.mobilebrand>div{display:none!important}.sidebar .nav button{color:#FEFAF6!important}.sidebar .nav button.active,.sidebar .nav button:hover{background:#55544A!important;color:#FEFAF6!important;border-radius:16px!important}.mobilebrand{display:flex!important;justify-content:center!important;align-items:center!important;background:#D7D0BE!important;padding:17px!important}.mobilebrand img{width:90px!important;height:90px!important;border:0!important;box-shadow:none!important}@media(min-width:701px){.mobilebrand{display:none!important}}@media(max-width:700px){.sidebar .brand{display:none!important}.mobilebrand{display:flex!important}}.fin-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.fin-card{border:1px solid #D7D0BE;border-radius:16px;padding:17px;background:#fffefa}.fin-card h3{font-size:13px;margin:0 0 8px}.fin-card strong{font-size:clamp(18px,2.7vw,29px);display:block;overflow-wrap:anywhere}.fin-card small{font-size:11px;color:#55544A}.fin-table-wrap{max-height:510px;overflow:auto}.fin-table{width:100%;min-width:710px;border-collapse:collapse}.fin-table th,.fin-table td{padding:11px 8px;border-bottom:1px solid #D7D0BE;text-align:left;font-size:12px}.fin-table th{background:#f1ede4;position:sticky;top:0}.fin-overdue{color:#a63c2d;font-weight:700}.fin-pill{padding:4px 8px;border-radius:20px;background:#e9e4d5;font-size:11px;font-weight:700}.fin-pill.overdue{background:#f7ddda;color:#992d26}.fin-pill.paid{background:#dcefe3;color:#21633c}.fin-popup-bg{position:fixed;inset:0;background:#11120eaa;z-index:99999;display:flex;align-items:center;justify-content:center;padding:15px}.fin-popup{background:#FEFAF6;border-radius:20px;padding:25px;width:min(460px,100%);max-height:90vh;overflow:auto;box-shadow:0 20px 50px #0003}.fin-popup label{display:block;margin:12px 0;font-size:13px;font-weight:700}.fin-popup input,.fin-popup select{width:100%;padding:12px;border:1px solid #c9c3b4;border-radius:9px;margin-top:5px;background:white}.fin-popup .actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.fin-bar{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.fin-bar select{min-width:145px;flex:1}.fin-msg{padding:11px;border-left:4px solid #8b6f3a;background:#f5f0e5;margin:12px 0}.alert-tabs{display:flex;gap:8px;border-bottom:1px solid #D7D0BE;padding:10px 0}.alert-tab{padding:12px 16px;border:0;background:transparent;border-radius:12px;cursor:pointer;color:#55544A;font-weight:700}.alert-tab.active{background:#55544A;color:white}.alert-row{border-bottom:1px solid #D7D0BE;display:flex;justify-content:space-between;align-items:start;gap:12px;padding:14px 0}.alert-row p{margin:4px 0;font-size:12px;color:#55544A}.mt-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mt-stat{border:1px solid #D7D0BE;border-radius:12px;padding:13px}.mt-stat strong{display:block;font-size:23px}.mt-overflow{overflow:auto;max-height:500px}.mt-overflow table{min-width:620px;width:100%}.mt-overflow td,.mt-overflow th{font-size:12px;padding:8px}@media(max-width:700px){.mt-stats,.fin-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.alert-row{flex-wrap:wrap}}
/* MIGA V76 original CSS section 7 id="miga-reservas-v1" */

.res-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.res-head{font-size:22px;font-weight:800}.res-help{color:#55544A;font-size:12px;max-width:620px}.res-pills{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.res-pill{border:1px solid #D7D0BE;background:#FEFAF6;color:#11120E;border-radius:16px;padding:8px 13px;cursor:pointer;font-weight:700}.res-pill.active{background:#55544A;color:white}.res-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}.res-card{padding:13px;border:1px solid #D7D0BE;background:#fffdf8;border-radius:12px}.res-card small{display:block;color:#55544A}.res-card strong{font-size:25px}.res-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:15px}.res-tablegrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.res-table{background:#f1eee6;border:1px solid #d0c8b8;min-height:77px;border-radius:12px;padding:11px;cursor:pointer;text-align:left;color:#11120E}.res-table strong{display:block}.res-table span{display:block;font-size:11px}.res-table.busy{background:#efe0d1;border-color:#ba977d}.res-table.selected{outline:2px solid #55544A}.res-table.disabled{opacity:.45;cursor:not-allowed}.res-list{max-height:480px;overflow-y:auto}.res-item{padding:12px 0;border-bottom:1px solid #D7D0BE;display:flex;justify-content:space-between;gap:10px}.res-item small{color:#55544A}.res-item strong{display:block}.res-item select{font-size:12px;padding:5px;max-width:135px}.res-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.res-toolbar input,.res-toolbar select{font-size:13px;min-height:39px;padding:9px;border:1px solid #D7D0BE;border-radius:9px;background:white}.res-note{background:#efece4;border-left:3px solid #55544A;padding:10px 12px;border-radius:6px;font-size:12px}.res-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.res-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700}.res-form input,.res-form select,.res-form textarea{border:1px solid #c9c3b4;border-radius:8px;padding:10px;min-height:40px}.res-form .full{grid-column:1/-1}.res-badge{border-radius:50px;padding:4px 8px;font-size:11px;font-weight:700;background:#e4e4df}.res-badge.confirmed{background:#dce8dd}.res-badge.seated{background:#cedfd2}.res-badge.noshow{background:#f0d8d5}.res-badge.waiting{background:#efead5}.res-badge.cancelled{background:#e5e1de}
@media(max-width:900px){.res-layout{grid-template-columns:1fr}.res-tablegrid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.res-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.res-tablegrid{grid-template-columns:repeat(2,minmax(0,1fr))}.res-form{grid-template-columns:1fr}}

/* MIGA V76 original CSS section 8 id="res-walkin-v2" */
.res-config-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #D7D0BE;padding:12px 0;font-size:13px}.res-config-row strong,.res-config-row small{display:block}.res-config-row small{color:#55544A}.res-config-row input{width:20px;height:20px;vertical-align:middle}.res-table.walkin-only{background:#e0e6d6;border-color:#7b8e60}.res-table.walkin-only strong{color:#374b2d}.res-item>div:last-child{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.res-toolbar>button{white-space:nowrap}@media(max-width:700px){.res-config-row{align-items:flex-start;flex-direction:column}.res-item>div:last-child{justify-content:flex-start}}
/* MIGA V76 original CSS section 9 id="miga-inicio-cinco-en-linea" */
#content .home-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;width:100%;margin:0;align-items:stretch}#content .home-kpis .stat{min-width:0;padding:15px 12px;min-height:132px;overflow:hidden}#content .home-kpis .stat .value{font-family:Aptos,"Segoe UI",sans-serif;font-size:clamp(17px,1.5vw,25px);font-weight:750;white-space:normal;overflow-wrap:anywhere;line-height:1.12;margin:12px 0 8px}#content .home-kpis .stat .label{line-height:1.3;font-size:11px}#content .home-kpis .stat .smalltext{font-size:10px;line-height:1.35}@media(max-width:1000px){#content .home-kpis{grid-template-columns:repeat(5,minmax(156px,1fr));overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}#content .home-kpis .stat{scroll-snap-align:start}}@media(max-width:700px){#content .home-kpis{gap:9px}#content .home-kpis .stat{min-height:122px;padding:12px}#content .home-kpis .stat .value{font-size:19px}}
/* MIGA V76 original CSS section 10 id="miga-equipo-v1" */

.eq-notice{background:#f0ece3;padding:13px 14px;border-radius:11px;border-left:3px solid #55544A;font-size:12px;line-height:1.55;color:#403f39;margin:12px 0}
.eq-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}.eq-stat{padding:15px;border:1px solid #D7D0BE;border-radius:12px;background:#fffdf8}.eq-stat small,.eq-stat strong{display:block}.eq-stat small{color:#55544A}.eq-stat strong{font-size:24px}.eq-bar,.eq-clock{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:15px 0}.eq-bar input{flex:1;min-width:210px}.eq-clock label{display:flex;flex-direction:column;gap:6px;min-width:170px;flex:1;font-size:12px;font-weight:700}.eq-clock select,.eq-clock input{width:100%}
.eq-tablewrap{overflow-x:auto}.eq-table{border-collapse:collapse;width:100%;min-width:630px}.eq-table td,.eq-table th{padding:12px 9px;text-align:left;border-bottom:1px solid #D7D0BE;font-size:12px}.eq-table th{background:#eee9df}.eq-muted{font-size:11px;color:#55544A;margin-top:3px}.eq-tag{border-radius:30px;background:#e8e4db;padding:5px 10px;font-size:11px}.eq-tag.active{background:#dce8dd;color:#2c613d}
.eq-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.eq-form>label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;min-width:0}.eq-form input,.eq-form select,.eq-form textarea{padding:10px;border:1px solid #d1c8b7;border-radius:8px;background:white;min-width:0}.eq-form .full{grid-column:1/-1}.eq-form small{font-weight:400;color:#55544A;font-size:11px}.eq-week{padding:12px;border:1px solid #D7D0BE;border-radius:12px}.eq-week h3{font-size:14px;margin:0 0 10px}.eq-weekday{display:grid;grid-template-columns:minmax(110px,1fr) minmax(90px,1fr) 14px minmax(90px,1fr);align-items:center;gap:7px;margin:5px 0}.eq-weekday .eq-day{display:flex;align-items:center;gap:6px;font-size:12px}.eq-weekday input[type=checkbox]{height:17px;width:17px}.eq-doc-status{font-size:11px;color:#55544A}
@media(max-width:700px){.eq-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.eq-form{grid-template-columns:1fr}.eq-weekday{grid-template-columns:1fr 1fr 1fr}.eq-weekday .eq-day{grid-column:1/-1}.eq-weekday span{display:none}}

/* MIGA V76 original CSS section 11 id="eq-contact-v2" */
.eq-subheading{font-weight:800;font-size:13px;padding-top:13px;margin-top:3px;border-top:1px solid #D7D0BE;color:#11120E}.eq-form input[type=email]:invalid{border-color:#b15c46}
/* MIGA V76 original CSS section 12 id="miga-equipo-cumpleanos" */
.eq-subheading{font-weight:800;font-size:13px;padding-top:13px;margin-top:3px;border-top:1px solid #D7D0BE;color:#11120E}
/* MIGA V76 original CSS section 13 id="miga-res-fecha-mesa" */
.res-date-control{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:650}.res-date-inline{display:flex;align-items:stretch;gap:5px}.res-date-inline input[type=date]{min-width:145px}.res-date-arrow{min-width:36px;min-height:39px;border:1px solid #bbb6a9;border-radius:8px;background:#f3efe6;color:#11120E;font-size:19px;font-weight:800;cursor:pointer}.res-date-arrow:hover{background:#ddd7c9}.res-form .res-table-hint{display:block;color:#55544A;font-weight:400;font-size:11px;margin-top:4px}
/* MIGA V76 original CSS section 14 id="miga-res-fecha-arrows-v2" */
.res-date-label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650}.res-date-row{display:flex;align-items:stretch;gap:5px}.res-date-row #resDate{flex:0 1 auto;width:175px;min-width:0}.res-date-arrows{display:flex;flex-direction:column;justify-content:center;gap:3px}.res-date-arrows button{height:20px;min-width:31px;border:1px solid #c7bda9;background:#f4f0e7;border-radius:6px;color:#11120E;cursor:pointer;font-size:12px;font-weight:900;line-height:1}.res-date-arrows button:hover{background:#e4dece}.res-date-arrows button:focus-visible{outline:2px solid #55544A;outline-offset:2px}
/* MIGA V76 original CSS section 15 id="miga-logo-plus-30" */
.sidebar .brand .brandlogo{transform:scale(1.3)!important;transform-origin:center center!important}.mobilebrand img{transform:scale(1.3)!important;transform-origin:center center!important}
/* MIGA V76 original CSS section 16 id="miga-critical-sixmonths" */

.alert-row.alert-critical{border:2px solid #bb232b!important;border-left:7px solid #bb232b!important;background:#fff0f0!important;box-shadow:0 2px 9px rgba(139,0,0,.1);border-radius:12px;padding:14px;margin:12px 0}.alert-critical strong{color:#9b0a14!important}.alert-critical-flag{display:inline-block;background:#b5212b;color:white;font-size:10px;font-weight:900;letter-spacing:.45px;border-radius:4px;padding:5px 8px;margin-bottom:7px}.critical-home{background:#fff0f0;border:2px solid #c1272d;border-left:7px solid #c1272d;border-radius:14px;margin-bottom:16px;padding:17px;color:#891922}.critical-home-head{font-size:14px;font-weight:900;display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.critical-home-head span{font-size:12px}.critical-home-item{margin:12px 0;padding:8px 0;border-bottom:1px solid #eac3c3;font-size:12px;line-height:1.5}.critical-home-item strong{display:block;font-size:14px}.critical-home .btn{background:#ad1d2b;color:white;border-color:#ad1d2b}

/* MIGA V76 original CSS section 17 id="miga-top-selector-labels" */
.top .controls{align-items:flex-end;gap:14px}.top .controls .top-control{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.top .controls .top-control-label{font-size:11px;line-height:1;letter-spacing:1.1px;text-transform:uppercase;font-weight:800;color:#686658;padding-left:5px}.top .controls .top-control .select{width:100%;min-width:0;box-shadow:0 2px 0 rgba(20,20,17,.025)}@media(max-width:700px){.top .controls .top-control{flex:1;min-width:0}.top .controls{gap:10px}.top .controls .top-control-label{font-size:10px}}
/* MIGA V76 original CSS section 18 id="miga-menu-icons" */
.sidebar .nav button .symbol{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px}.miga-menu-icon{display:block;width:23px;height:23px;flex:none;stroke-width:2.1;overflow:visible}.mobile-nav .miga-mobile-icon{display:flex;align-items:center;justify-content:center;width:25px;height:25px}.mobile-nav .miga-mobile-icon .miga-menu-icon{width:24px;height:24px}
/* MIGA V76 original CSS section 19 id="planes-drive-source" */
.planes-drive-panel{margin-bottom:18px;border-left:4px solid #55544A}.planes-drive-panel p{font-size:13px;line-height:1.6}.planes-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 15px}.planes-source-grid>div{padding:11px;border:1px solid #D7D0BE;border-radius:10px;background:#F8F5ED}.planes-source-grid strong,.planes-source-grid small{display:block}.planes-source-grid small{font-size:11px;color:#55544A;margin-top:5px}@media(max-width:700px){.planes-source-grid{grid-template-columns:1fr}}
/* MIGA V76 original CSS section 20 id="planes-demo-notice" */
.planes-synthetic-summary{margin-bottom:18px;border-left:4px solid #8B7C59}.planes-synthetic-summary .planes-source-grid strong{font-size:22px}.planes-synthetic-summary h3{font-size:16px;margin:14px 0}
/* MIGA V76 original CSS section 21 id="miga-responsive-v44" */

.sidebar{background:#fff!important;color:#161616!important;border-right:1px solid #e9e9e9!important;box-shadow:none!important}
.sidebar .brand{display:flex;justify-content:center;align-items:center;padding:4px 0 21px!important}
.brandlogo{width:90px!important;height:90px!important;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;object-fit:contain!important}
.sidebar .nav button{color:#181818!important;background:transparent!important;border-radius:12px!important}
.sidebar .nav button:hover{background:#f3f3f3!important}
.sidebar .nav button.active{background:#eee!important;color:#111!important;box-shadow:none!important}
.sidebar .nav button .symbol,.sidebar .nav button .miga-menu-icon{color:#202020!important}
.sidebar .sidefoot{color:#777!important;border-color:#eee!important}
.mobilebrand img{width:59px!important;height:59px!important;background:transparent!important;border:0!important;outline:none!important;box-shadow:none!important;transform:none!important}
.mobile-nav{background:#fff!important;border-top:1px solid #eee!important;box-shadow:0 -3px 14px rgba(0,0,0,.045)!important}
.mobile-nav button{color:#333!important}.mobile-nav button.active{background:#efefef!important;color:#111!important}
#migaDrawerToggle{display:none}#migaDrawer,#migaDrawerShade{display:none}
@media(max-width:700px){
.main{padding-top:max(14px,env(safe-area-inset-top,14px))!important;padding-bottom:calc(108px + env(safe-area-inset-bottom,0px))!important}
.mobilebrand{position:relative;justify-content:center!important;min-height:64px}
#migaDrawerToggle{display:flex;position:absolute;left:0;top:10px;border:0;background:#f5f5f5;color:#181818;border-radius:10px;width:42px;height:42px;align-items:center;justify-content:center;font-size:23px;cursor:pointer}
.mobile-nav{padding-bottom:env(safe-area-inset-bottom,0px)!important}
#migaDrawerShade{position:fixed;inset:0;background:rgba(0,0,0,.3);z-index:900;opacity:0;pointer-events:none;display:block;transition:opacity .22s ease}
#migaDrawerShade.open{opacity:1;pointer-events:auto}
#migaDrawer{display:flex;position:fixed;z-index:901;inset:0 auto 0 0;width:min(290px,84vw);background:#fff;box-shadow:6px 0 30px rgba(0,0,0,.12);transform:translateX(-105%);transition:transform .23s ease;flex-direction:column;gap:6px;padding:20px;padding-top:max(22px,env(safe-area-inset-top,22px))}
#migaDrawer.open{transform:translateX(0)}
#migaDrawer .miga-drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
#migaDrawer img{width:66px;height:66px;object-fit:contain}
#migaDrawer button{border:0;background:transparent;text-align:left;padding:13px 12px;border-radius:11px;font:600 16px system-ui;color:#111}
#migaDrawer button:hover{background:#f2f2f2}
.modalback{align-items:flex-end!important;padding-bottom:env(safe-area-inset-bottom,0px)!important}
.modal{width:100%!important;max-width:100%!important;max-height:88dvh!important;overflow:auto!important;margin:0!important;border-radius:24px 24px 0 0!important}
}
@media(prefers-reduced-motion:reduce){#migaDrawer,#migaDrawerShade{transition:none}}

/* MIGA V76 original CSS section 22 id="miga-mobile-fix-v45" */

@media (max-width:700px){
html,body{max-width:100%;overflow-x:hidden}
body{background:#fff!important}
.shell,.main,#content{width:100%;max-width:100%;min-width:0}
.main{padding:12px 14px calc(112px + env(safe-area-inset-bottom,0px))!important}
.top{gap:10px!important;margin-bottom:14px!important}
.top .controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important;gap:8px!important}
.top .controls .top-control{min-width:0!important;width:100%!important}
.top .controls select{min-width:0!important;width:100%!important;font-size:13px!important;padding:10px 8px!important}
.page-title{font-size:26px!important}
.mobilebrand{margin:0 0 4px!important;min-height:58px!important}
.mobilebrand img{width:52px!important;height:52px!important}
#migaDrawerToggle{top:6px!important}
#content .home-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0 0 12px!important;width:100%!important}
#content .home-kpis .stat{min-width:0!important;min-height:108px!important;padding:13px 12px!important;border-radius:15px!important;box-shadow:none!important}
#content .home-kpis .stat .label{font-size:11px!important;line-height:1.2!important;word-break:normal!important}
#content .home-kpis .stat .value{font-size:clamp(17px,5.1vw,23px)!important;white-space:normal!important;overflow-wrap:anywhere!important;letter-spacing:-.45px!important;line-height:1.2!important;margin:10px 0 6px!important}
#content .home-kpis .stat .smalltext{font-size:10px!important;line-height:1.3!important}
#content .home-kpis .stat:last-child:nth-child(odd){grid-column:1 / -1!important}
#content .fin-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:13px 0!important}
#content .fin-card{min-width:0!important;padding:13px 10px!important;border-radius:15px!important}
#content .fin-card h3{font-size:11px!important;line-height:1.3!important}
#content .fin-card strong{font-size:clamp(17px,5vw,23px)!important;letter-spacing:-.55px!important;overflow-wrap:anywhere!important}
#content .fin-card small{display:block;font-size:10px!important;line-height:1.3!important}
#content .fin-card .btn{padding:9px 11px!important;font-size:11px!important}
#content .panel{max-width:100%;min-width:0;padding:14px 12px!important;border-radius:16px!important}
#content .panel h2{font-size:18px!important;line-height:1.25!important}
#content .alert-tabs{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
#content .alert-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;padding:13px 11px!important}
#content .alert-row>div{min-width:0!important;overflow-wrap:anywhere!important}
#content .alert-row .btn{align-self:flex-start!important;max-width:100%!important;white-space:normal!important}
#content .alert-row strong{font-size:13px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
#content .alert-row p{font-size:11px!important;line-height:1.5!important;overflow-wrap:anywhere!important}
#content .alert-critical-flag{font-size:10px!important;line-height:1.2!important}
#content .fin-table-wrap,#content .tablewrap{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
#content .fin-bar{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:7px!important;padding-bottom:5px!important}
#content .fin-bar .btn{flex:0 0 auto!important}
.mobile-nav{z-index:80!important;gap:0!important;justify-content:space-around!important}
.mobile-nav button{flex:1 1 0!important;min-width:0!important;font-size:10px!important;line-height:1.1!important;gap:5px!important}
.mobile-nav .miga-mobile-icon{display:block!important}
.mobile-nav .miga-mobile-icon svg{width:22px!important;height:22px!important}
.modalback{z-index:950!important}
}
@media(max-width:360px){
#content .home-kpis .stat .value{font-size:17px!important}
#content .fin-card strong{font-size:17px!important}
#content .home-kpis .stat{padding:11px 9px!important}
}

/* MIGA V76 original CSS section 23 id="miga-mobile-v46" */

@media(max-width:700px){
  html,body,.shell,.main{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body{background:#fff!important;color:#131513!important}
  .main{padding:8px 15px calc(110px + env(safe-area-inset-bottom,0px))!important;background:#fff!important}
  .top{display:block!important;margin:0 0 16px!important;padding:0!important;background:#fff!important}
  .top>div:first-child{width:100%!important}
  .mobilebrand{height:70px!important;min-height:70px!important;width:100%!important;margin:0 0 4px!important;padding:4px 0!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border:0!important;box-shadow:none!important}
  .mobilebrand img{width:56px!important;height:56px!important;flex:0 0 56px!important;border:0!important;background:transparent!important;box-shadow:none!important;transform:none!important}
  #migaDrawerToggle{position:absolute!important;top:12px!important;left:0!important;width:40px!important;height:40px!important;display:flex!important;border-radius:10px!important;background:#f4f4f4!important;color:#111!important;border:0!important}
  #migaBell{position:absolute;top:11px;right:0;width:43px;height:43px;background:#f8f8f8;border:0;border-radius:11px;color:#123b2d;font-size:24px}
  #migaBell::after{content:"";position:absolute;top:7px;right:7px;width:7px;height:7px;border-radius:50%;background:#cb2b2b}
  .eyebrow,#eyebrow{display:none!important}
  .page-title,#pageTitle{font-size:27px!important;line-height:1.15!important;letter-spacing:-.7px!important;margin:6px 0 3px!important}
  .miga-location{display:block!important;color:#666;font-size:13px;margin:0 0 14px}
  .top .controls{display:none!important}
  #migaDrawer .controls{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:12px!important;margin-top:20px!important}
  #migaDrawer .controls .top-control{display:block!important;min-width:0!important;width:100%!important}
  #migaDrawer .controls select{width:100%!important;min-width:0!important;background:#fff!important;color:#171717!important;border:1px solid #ddd!important}
  #migaDrawer .controls .top-control-label{font-size:11px!important;color:#777!important;text-transform:uppercase!important}
  #migaDrawer{background:#fff!important}
  #migaDrawerShade{background:rgba(0,0,0,.3)!important}
  .miga-proto-compact{display:block!important;margin:0 0 14px!important;border-radius:12px!important;background:#f6f6f6!important;padding:9px 12px!important;border:1px solid #ededed!important}
  .miga-proto-compact summary{color:#666;font-size:12px;font-weight:650;cursor:pointer}
  .miga-proto-compact .notice{display:block!important;margin:9px 0 0!important;padding:8px!important;border:0!important;font-size:11px!important;line-height:1.4!important;background:transparent!important;color:#666!important}
  #content>.notice{display:none!important}
  #content .home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0 0 13px!important}
  #content .home-kpis .stat{padding:13px 12px!important;min-height:103px!important;background:#fff!important;border:1px solid #e8e8e8!important;border-radius:14px!important;box-shadow:0 2px 9px rgba(0,0,0,.035)!important}
  #content .home-kpis .stat:nth-child(5){grid-column:1/-1!important}
  #content .home-kpis .stat .label{font-size:11px!important;line-height:1.25!important;color:#363636!important}
  #content .home-kpis .stat .value{font-size:clamp(17px,5.15vw,23px)!important;line-height:1.13!important;white-space:normal!important;overflow-wrap:anywhere!important;margin:9px 0 5px!important}
  #content .home-kpis .stat .smalltext{font-size:10px!important;color:#686868!important;line-height:1.3!important}
  #content .fin-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:13px 0!important}
  #content .fin-card{padding:13px 10px!important;min-width:0!important;background:#fff!important;border:1px solid #e8e8e8!important;border-radius:14px!important;box-shadow:0 2px 9px rgba(0,0,0,.035)!important}
  #content .fin-card h3{font-size:11px!important;line-height:1.25!important}
  #content .fin-card strong{font-size:clamp(17px,5vw,23px)!important;line-height:1.12!important;overflow-wrap:anywhere!important;letter-spacing:-.6px!important}
  #content .fin-card small{font-size:10px!important;line-height:1.35!important;display:block!important}
  #content .fin-card .btn{font-size:11px!important;padding:8px 10px!important}
  #content .panel{background:#fff!important;border:1px solid #e8e8e8!important;border-radius:15px!important;box-shadow:0 2px 9px rgba(0,0,0,.035)!important;padding:13px 12px!important;max-width:100%!important}
  #content .panel h2{font-size:18px!important;line-height:1.25!important}
  #content .alert-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;padding:12px 11px!important;overflow-wrap:anywhere!important}
  #content .alert-row .btn{align-self:flex-start!important;font-size:11px!important}
  #content .alert-row strong{font-size:13px!important;overflow-wrap:anywhere!important}
  #content .alert-row p{font-size:11px!important;line-height:1.45!important}
  #content .alert-tabs{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
  #content .caption{font-size:10px!important;line-height:1.35!important}
  #content .fin-table-wrap,#content .tablewrap{max-width:100%;overflow-x:auto!important}
  #content .fin-bar{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important}
  #content .fin-bar .btn{flex:0 0 auto!important}
  .mobile-nav{position:fixed!important;background:#fff!important;color:#111!important;box-shadow:0 -4px 15px rgba(0,0,0,.045)!important;border-top:1px solid #eee!important;z-index:90!important;padding:8px 3px calc(7px + env(safe-area-inset-bottom,0px))!important}
  .mobile-nav button{flex:1 1 0!important;min-width:0!important;font-size:10px!important;color:#252525!important;gap:4px!important;padding:5px 0!important}
  .mobile-nav button.active{background:#f0f0f0!important;color:#143d2d!important;border-radius:10px!important}
  .mobile-nav .miga-menu-icon{width:23px!important;height:23px!important;color:inherit!important}
  #migaDrawer{z-index:121!important}
  #migaDrawerShade{z-index:120!important}
  .modalback{z-index:130!important}
  .modal{border-radius:22px 22px 0 0!important;width:100%!important;max-height:88dvh!important;overflow-y:auto!important}
}

/* MIGA V76 original CSS section 24 id="miga-beta-mobile-v47" */

@media(max-width:700px){
/* Solo menú superior izquierdo, sin barra inferior */
.mobile-nav,#mobileNav{display:none!important}
.main{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))!important}
.mobilebrand{background:#fff!important;display:flex!important;justify-content:center!important;align-items:center!important}
.mobilebrand img{width:56px!important;height:56px!important;object-fit:contain!important;border:0!important;box-shadow:none!important;background:transparent!important}
#migaDrawerToggle{position:absolute!important;left:0!important;right:auto!important;top:12px!important;display:flex!important;background:#f4f4f4!important;color:#111!important}
#migaBell{position:absolute!important;right:0!important;top:11px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#101010!important;background:#fff!important;border:0!important}
#migaBell svg{width:26px;height:26px;stroke:#111;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
#migaBell::after{background:#dc222b!important;right:6px!important;top:4px!important;width:8px!important;height:8px!important}
/* Menu flotante blanco, desplegado desde la izquierda */
#migaDrawerShade{z-index:120!important}
#migaDrawer{
z-index:121!important;
top:max(84px,env(safe-area-inset-top,84px))!important;
bottom:auto!important;left:10px!important;right:auto!important;
width:min(284px,calc(100vw - 32px))!important;
max-height:calc(100dvh - 112px)!important;
overflow-y:auto!important;
padding:12px!important;
background:#fff!important;
border:1px solid #e1e1e1!important;
border-radius:18px!important;
box-shadow:0 14px 36px rgba(0,0,0,.16)!important;
transform:translateX(calc(-100% - 20px))!important;
}
#migaDrawer.open{transform:translateX(0)!important}
#migaDrawer .miga-drawer-head{display:none!important}
#migaDrawer button[data-nav],#migaDrawer #migaSettingsToggle{
display:flex!important;align-items:center!important;gap:12px!important;
width:100%!important;padding:11px 12px!important;border-radius:11px!important;
font-weight:600!important;color:#1b1b1b!important;min-height:46px!important;
}
#migaDrawer button[data-nav].active{background:#edf1ed!important;color:#173b2b!important}
#migaDrawer button[data-nav] svg,#migaDrawer #migaSettingsToggle svg{width:21px;height:21px;flex:0 0 21px;color:#1d4230}
#migaDrawer #migaSettingsToggle{border-top:1px solid #e7e7e7!important;border-radius:0!important;margin-top:7px!important;padding-top:15px!important}
#migaDrawer .controls{display:none!important;margin-top:7px!important;padding:8px 4px!important;gap:10px!important}
#migaDrawer.settings-open .controls{display:grid!important}
#migaDrawer .controls select{color:#111!important}
}

/* MIGA V76 original CSS section 25 id="miga-sales-v48" */

.sales-import,.sales-preview,.sales-report-box,.sales-empty,.sales-imported{background:#fff;border:1px solid #e3e4e1;border-radius:18px;padding:21px;margin:0 0 18px}
.sales-import{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.sales-import h2,.sales-report-box h3{font-size:22px;font-weight:750;margin:0 0 8px;color:#171a18}
.sales-import p,.sales-report-box p{color:#656b66;font-size:13px;line-height:1.55;margin:5px 0 0}
.sales-import-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.sales-file-button,.sales-preview button,.sales-holiday-tools button{background:#193d2b;color:white;border:0;padding:11px 17px;border-radius:11px;cursor:pointer;font-size:13px;font-weight:750}
#migaSalesFile{position:absolute!important;width:1px;height:1px;opacity:0;overflow:hidden}
.sales-file-button:focus-within{outline:2px solid #193d2b}
.sales-local-tag{font-size:10px;color:#6b716b}
.sales-preview{background:#f4f7f3;border-color:#cadbd0}.sales-preview p{font-size:13px;color:#424b43}
.sales-preview .sales-secondary{background:#fff;color:#222;border:1px solid #ddd}
.sales-period{display:flex;gap:12px;justify-content:space-between;align-items:center;font-weight:750;margin:9px 0 18px;font-size:15px}
.sales-period label{font-size:12px;color:#666}.sales-period select,.sales-unclassified select{padding:9px;border:1px solid #ddd;border-radius:9px;background:#fff;max-width:230px}
.sales-report-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}
.sales-report-tiles button{cursor:pointer;text-align:left;background:#fff;border:1px solid #dedfdb;border-radius:17px;padding:18px;display:flex;flex-direction:column;gap:9px;box-shadow:0 2px 12px #00000007;min-height:150px;color:#161817}
.sales-report-tiles button.selected{border-color:#608c6c;box-shadow:0 0 0 2px #d2e8d6}
.sales-report-tiles strong{font-size:19px}.sales-report-tiles small{font-size:12px;line-height:1.45;color:#747874}
.sales-tile-number{font-size:12px;color:#53735a;font-weight:800}.sales-tile-link{margin-top:auto;font-size:12px;font-weight:800}
.sales-empty{background:#fafafa;color:#343634}.sales-empty p{font-size:13px;line-height:1.5}
.sales-report-box h4{font-size:17px;margin:24px 0 12px}
.sales-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}
.sales-kpis>div{background:#f7f8f6;padding:15px;border-radius:12px;min-width:0}
.sales-kpis small{display:block;color:#747874;font-size:11px;margin-bottom:10px}
.sales-kpis strong{display:block;font-size:21px;overflow-wrap:anywhere;line-height:1.15}
.sales-bars{display:flex;align-items:flex-end;gap:6px;overflow-x:auto;min-height:178px;padding:12px 8px 6px;border-bottom:1px solid #e4e7e4}
.sales-bar-item{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;flex:1 0 30px;min-width:30px}
.sales-bar{background:#436f52;border-radius:5px 5px 0 0;width:70%;min-height:4px;max-width:60px}
.sales-bar-item>span{font-size:11px;color:#626962}
.sales-bar-value{font-size:9px;font-weight:750;color:#465348;white-space:nowrap;transform:rotate(-32deg);transform-origin:center;margin-bottom:7px}
.sales-category-bars{display:grid;gap:16px;margin:23px 0}
.sales-cat>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:13px;margin-bottom:8px}
.sales-cat span{color:#626962}.sales-track{height:9px;background:#f0f1ef;border-radius:99px;overflow:hidden}.sales-track i{display:block;background:#397048;height:100%;border-radius:99px}
.sales-rows>div,.sales-imported>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #ededed;font-size:13px}
.sales-rows>div:last-child,.sales-imported>div:last-child{border:0}.sales-rows strong{white-space:nowrap}.sales-rows small{font-weight:400;color:#8a8a8a;font-size:11px}
.sales-table-scroll{overflow-x:auto}.sales-table{border-collapse:collapse;width:100%;min-width:750px;font-size:12px}
.sales-table th{color:#5d665e;background:#f5f6f3;text-align:left;padding:11px}.sales-table td{padding:11px;border-bottom:1px solid #eee}.sales-table .sales-up{color:#137a3a;font-weight:750}.sales-table .sales-down{color:#c43d40;font-weight:750}
.sales-unclassified{display:grid;gap:9px}.sales-unclassified label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}
.sales-footnote{color:#777;font-size:11px;line-height:1.6;padding:10px 2px;margin:10px 0 25px}
.sales-holiday-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:20px;font-size:12px}.sales-holiday-tools input{padding:8px;border:1px solid #dedede;border-radius:8px}
.sales-imported strong{font-size:15px}.sales-imported button{border:1px solid #e7d1d1;background:#fff;color:#a22;border-radius:9px;padding:7px 10px;cursor:pointer}
@media(max-width:700px){
.sales-import,.sales-preview,.sales-report-box,.sales-empty,.sales-imported{padding:14px 12px;border-radius:15px}
.sales-import-actions{align-items:stretch;width:100%}
.sales-file-button{text-align:center}
.sales-report-tiles{gap:9px}
.sales-report-tiles button{padding:13px 11px;min-height:145px}
.sales-report-tiles strong{font-size:15px;line-height:1.18}
.sales-report-tiles small{font-size:11px}
.sales-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
.sales-kpis strong{font-size:18px}
.sales-period{align-items:flex-start;flex-direction:column}
.sales-rows{overflow:hidden}
.sales-rows>div{font-size:11px}
.sales-cat>div:first-child{flex-direction:column}
.sales-bar-item{flex:1 0 36px}
.sales-imported>div{align-items:flex-start}
}

/* MIGA V76 original CSS section 26 id="miga-reports-v50" */

.miga50-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:18px 0 20px}
.miga50-card{background:#fff;border:1px solid #deddd4;border-radius:19px;padding:19px;min-width:0;min-height:185px;display:grid;grid-template-columns:minmax(0,1fr) minmax(155px,1fr);align-items:center;gap:13px}
.miga50-copy{min-width:0;display:flex;align-items:flex-start;flex-direction:column;height:100%;gap:8px}
.miga50-copy h3{font-size:20px;font-weight:760;line-height:1.15;margin:0;color:#141614;letter-spacing:-.5px}
.miga50-copy p{font-size:12px;line-height:1.45;color:#535a54;margin:0}
.miga50-copy button{margin-top:auto;font-size:12px;font-weight:750;cursor:pointer;background:#f4f2ed;border:1px solid #ddd7cb;border-radius:30px;padding:9px 14px;color:#161616}
.miga50-viz{min-width:0;min-height:95px;display:flex;flex-direction:column;justify-content:center;gap:6px}
.miga50-number{font-size:21px;text-align:right;white-space:nowrap}
.miga50-spark{width:100%;height:75px}
.miga50-rubros{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.miga50-ring{width:85px;height:85px;flex:0 0 85px;border-radius:50%;display:grid;place-items:center}
.miga50-ring span{background:#fff;border-radius:50%;height:48px;width:48px;display:grid;place-items:center;font-size:9px}
.miga50-legend{display:grid;gap:4px;min-width:0;flex:1}
.miga50-legend>div{display:flex;gap:5px;align-items:center;font-size:9px;min-width:0}
.miga50-legend i{width:7px;height:7px;flex:0 0 7px;border-radius:50%}
.miga50-legend span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
.miga50-top{display:grid;gap:9px}
.miga50-topline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;font-size:10px}
.miga50-topline span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.miga50-topline i{height:7px;background:#a5c1a2;border-radius:12px;grid-column:1/3}
.miga50-bars{height:110px;display:flex;align-items:flex-end;gap:7px}
.miga50-bars>div{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px}
.miga50-bars i{display:block;width:80%;min-height:3px;background:#b4cfb1;border-radius:4px 4px 0 0}
.miga50-bars>div:nth-child(6) i{background:#4e8354}
.miga50-bars small{font-size:9px}
.miga50-empty{font-size:12px;color:#777;background:#f8f8f6;border-radius:12px;padding:12px;text-align:center}
.miga50-detail{margin:8px 0 19px}
.miga50-back{border:1px solid #dededb;background:#f4f4f2;border-radius:10px;padding:10px 14px;cursor:pointer;font-weight:700;margin-bottom:10px}
.miga50-divider{display:flex;gap:12px;align-items:center;margin:12px 0 -4px;color:#777;font-size:12px}
.miga50-divider:before,.miga50-divider:after{content:"";height:1px;background:#e3e3de;flex:1}
@media(max-width:1190px){.miga50-card{grid-template-columns:1fr}.miga50-number{text-align:left}}
@media(max-width:880px){.miga50-grid{grid-template-columns:1fr}.miga50-card{grid-template-columns:minmax(0,1fr) minmax(155px,1fr)}}
@media(max-width:550px){.miga50-card{grid-template-columns:1fr}.miga50-grid{gap:10px}.miga50-copy h3{font-size:18px}}

/* MIGA V76 original CSS section 27 id="miga-v51-filter-rubro" */

.miga51-general-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap}
.miga51-general-head>div{flex:1 1 260px}
.miga51-general-head label{display:flex;flex-direction:column;gap:7px;min-width:205px;font-size:12px;font-weight:750;color:#4d574e}
#migaGeneralRubro{appearance:auto;background:#fff;border:1px solid #d5dbd3;border-radius:10px;color:#171817;padding:10px 12px;font-size:13px;font-weight:600;max-width:100%}
@media(max-width:700px){.miga51-general-head label{width:100%;min-width:0}#migaGeneralRubro{width:100%}}

/* MIGA V76 original CSS section 28 id="miga-v52-bar-labels" */

/* Lectura compacta en miles de pesos: los importes completos permanecen en el detalle y tooltip. */
.sales-chart-unit{font-size:12px;color:#667167;font-weight:650;margin:12px 0 4px}
.sales-bars{align-items:flex-end!important;min-height:265px!important;padding:12px 8px 8px!important;gap:8px!important;overflow-x:auto!important}
.sales-bar-item{flex:1 0 35px!important;min-width:35px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important}
.sales-bar-value{writing-mode:vertical-rl!important;transform:rotate(180deg)!important;transform-origin:center center!important;white-space:nowrap!important;font-size:15px!important;font-weight:850!important;line-height:1!important;color:#223f2c!important;margin:0 0 3px!important;letter-spacing:.4px!important;text-align:left!important;min-height:48px!important}
.sales-bar{width:72%!important;max-width:48px!important;flex-shrink:0!important}
.sales-bar-item>span{font-size:12px!important;font-weight:700!important;color:#3b443d!important;white-space:nowrap!important}
@media(max-width:700px){
.sales-bars{min-height:253px!important;padding-left:3px!important;padding-right:3px!important}
.sales-bar-item{flex:1 0 37px!important}
.sales-bar-value{font-size:14px!important}
.sales-bar-item>span{font-size:11px!important}
}

/* MIGA V76 original CSS section 29 id="miga-v53-reports-sections" */

.miga53-purchase-heading{border-top:1px solid #dedbd1;margin:30px 0 18px;padding-top:24px}
.miga53-purchase-heading h2{font-family:Aptos,'Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif!important;font-size:22px!important;line-height:1.25;font-weight:750!important;color:#171a18;margin:0}
.sales-import h2{font-family:Aptos,'Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif!important;font-size:22px!important;line-height:1.25;font-weight:750!important;color:#171a18}
@media(max-width:700px){.miga53-purchase-heading{margin:24px 0 14px;padding-top:20px}.miga53-purchase-heading h2,.sales-import h2{font-size:20px!important}}

/* MIGA V76 original CSS section 30 id="miga-v54-single-invoice-upload" */

.miga54-methods{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:18px 0}
.miga54-method{display:flex;flex-direction:column;gap:10px;text-align:left;border:1px solid #dfe3dc;border-radius:16px;background:#fff;padding:18px;min-height:155px;color:#1c261e;cursor:pointer}
.miga54-method:hover{border-color:#6c9275;background:#f8faf8}
.miga54-method strong{font-size:17px}.miga54-method span{font-size:12px;color:#555;line-height:1.5}.miga54-method small{font-size:11px;font-weight:700;color:#356d44;margin-top:auto}
.miga54-subtitle,.miga54-foot,.miga54-drive p{color:#626a63;line-height:1.5;font-size:13px}
.miga54-drive{display:grid;gap:10px}.miga54-drive .btn{justify-self:start}
.miga54-status{padding:11px 15px;border-radius:11px;margin:0 0 15px;border:1px solid #dce3da;font-weight:700}
.miga54-ok{background:#edf7ee;color:#245637}.miga54-dudas{background:#fff5e5;color:#765015}.miga54-error{background:#fff0ee;color:#a03230}
@media(max-width:700px){.miga54-methods{grid-template-columns:1fr}.miga54-method{min-height:110px;padding:13px}}

/* MIGA V76 original CSS section 31 id="miga-v55-mobile-first-ui" */

:root{--m55-forest:#064c29;--m55-green:#e2f3e7;--m55-ink:#161c19;--m55-muted:#626c65;--m55-border:#e9ebe7;--m55-bg:#fcfdfb}
body{background:var(--m55-bg)!important;color:var(--m55-ink)!important;font-family:Inter,"Segoe UI",Arial,sans-serif!important}
.shell{max-width:none!important;grid-template-columns:228px minmax(0,1fr)!important;background:var(--m55-bg)!important}
.sidebar{background:#fff!important;color:var(--m55-ink)!important;border-right:1px solid #e5e9e5!important;padding:22px 12px!important;box-shadow:none!important}
.sidebar .brand{background:transparent!important;border:0!important;border-radius:0!important;min-height:0!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;margin:0 0 20px!important;padding:8px 0 18px!important;box-shadow:none!important;display:flex!important;justify-content:center!important}
.sidebar .brandlogo{height:72px!important;width:72px!important;object-fit:contain!important;box-shadow:none!important;filter:none!important}
.sidebar .nav{display:flex!important;flex-direction:column!important;gap:8px!important}
.sidebar .nav button{border:0!important;border-radius:15px!important;display:flex!important;gap:13px!important;align-items:center!important;padding:13px 14px!important;font-size:14px!important;font-weight:550!important;color:#131916!important;background:transparent!important;box-shadow:none!important;text-align:left}
.sidebar .nav button .symbol{display:flex!important;align-items:center!important;justify-content:center!important;width:23px!important;height:23px!important;flex:0 0 23px!important}
.sidebar .nav button .symbol svg{width:20px!important;height:20px!important;color:inherit!important}
.sidebar .nav button.active{background:#e3f4e8!important;color:#063e24!important;font-weight:760!important}
.sidebar .nav button:hover{background:#f0f7f0!important;color:#0d402a!important}
.sidebar .sidefoot{font-size:10px!important;color:#89908a!important;border-color:#eee!important;line-height:1.55}
.main{width:100%!important;min-width:0!important;max-width:1700px!important;margin:0 auto!important;padding:29px 34px 42px!important;background:var(--m55-bg)!important}
.top{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin:0 0 25px!important}
.top .eyebrow{display:none!important}
.top .page-title{font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-size:31px!important;letter-spacing:-1px!important;font-weight:800!important;line-height:1.08!important;color:#141a16!important;margin:0 0 5px!important}
.top .miga-location{display:block!important;color:#59615c!important;font-size:15px!important;font-weight:450!important;margin-top:3px!important}
.top .controls{display:flex!important;gap:12px!important;align-items:center!important}
.top .top-control-label{font-size:10px!important;color:#777!important}
.top .select{padding:8px 12px!important;border:1px solid #e6ebe5!important;background:#fff!important;border-radius:11px!important;box-shadow:none!important;font-size:12px!important}
#migaDesktopBell{position:relative!important;background:transparent!important;border:0!important;display:flex!important;align-items:center!important;justify-content:center!important;width:41px!important;height:41px!important;padding:8px!important;color:#103e27!important;flex-shrink:0!important}
#migaDesktopBell svg{width:26px!important;height:26px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#migaDesktopBell::after{content:"";position:absolute;top:5px;right:5px;width:9px;height:9px;border:2px solid #fff;background:#df2734;border-radius:50%}
#migaDesktopAvatar{border:0!important;background:#064327!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:15px!important;font-weight:800!important;border-radius:50%!important;width:40px!important;height:40px!important;flex-shrink:0!important}
#content>.miga-proto-compact{margin:0 0 14px!important}
#content>.miga-proto-compact>summary{font-size:11px!important;color:#7d827d!important;background:transparent!important;border:0!important;padding:2px 0!important}
#content>.notice{display:none!important}
#content .home-kpis{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;margin-bottom:15px!important}
#content .home-kpis .stat{border:1px solid var(--m55-border)!important;box-shadow:0 3px 10px rgba(30,42,29,.045)!important;background:#fff!important;border-radius:19px!important;padding:20px 15px 17px!important;min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;min-height:136px!important}
#content .home-kpis .stat .label{font-size:12px!important;color:#222b25!important;font-weight:620!important;line-height:1.32!important;min-height:31px!important}
#content .home-kpis .stat .value{font-size:22px!important;font-weight:840!important;letter-spacing:-.7px!important;color:#161c19!important;white-space:normal!important;overflow-wrap:anywhere!important;margin:8px 0 3px!important}
#content .home-kpis .stat:nth-child(3) .value{color:#188540!important}
#content .home-kpis .stat .smalltext{font-size:10px!important;color:#969b96!important;line-height:1.35!important}
#content .fin-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:0 0 16px!important}
#content .fin-card{background:#fff!important;border:1px solid var(--m55-border)!important;border-radius:20px!important;box-shadow:0 3px 10px rgba(30,42,29,.045)!important;padding:21px 22px!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important}
#content .fin-card h3{font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-size:15px!important;letter-spacing:-.2px!important;font-weight:750!important;line-height:1.25!important;margin:0 0 7px!important}
#content .fin-card strong{font-size:28px!important;font-weight:850!important;letter-spacing:-.6px!important;line-height:1.15!important}
#content .fin-card small{font-size:12px!important;color:#5d655e!important;margin-top:5px!important}
#content .fin-card p{margin:13px 0 0!important}
#content .fin-card .btn,#content .alert-row .btn{border:0!important;border-radius:50px!important;background:#ddf3e2!important;color:#192c1d!important;font-size:12px!important;font-weight:750!important;padding:9px 17px!important;box-shadow:none!important}
#content .fin-card strong.fin-overdue{color:#d40b17!important}
#content .panel{border:1px solid var(--m55-border)!important;background:#fff!important;border-radius:19px!important;box-shadow:0 3px 10px rgba(30,42,29,.035)!important}
#content .fin-cards + .fin-msg{font-size:11px!important}
#content .panel:has(>.alert-tabs){padding:19px!important;margin-top:12px!important}
#content .panel:has(>.alert-tabs)>h2{font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-size:22px!important;letter-spacing:-.5px!important;font-weight:800!important;margin:0 0 16px!important}
#content .alert-tabs{display:flex!important;gap:8px!important;margin-bottom:13px!important}
#content .alert-tab{border:1px solid #e8ebe8!important;border-radius:30px!important;background:#fff!important;color:#212521!important;padding:10px 17px!important;font-size:12px!important;font-weight:720!important;box-shadow:0 2px 5px rgba(0,0,0,.035)!important}
#content .alert-tab.active{background:#064f2c!important;border-color:#064f2c!important;color:#fff!important}
#content .alert-row{border:1px solid #ecf0eb!important;background:#fff!important;border-radius:15px!important;padding:15px 17px!important;display:flex!important;align-items:center!important;gap:12px!important;box-shadow:none!important;margin:8px 0!important}
#content .alert-row>div{min-width:0!important;flex:1!important}
#content .alert-row strong{font-size:13px!important;font-weight:750!important;line-height:1.35!important}
#content .alert-row p{font-size:11px!important;line-height:1.4!important;margin:3px 0!important;color:#424b43!important}
#content .alert-row.alert-critical{border:1.5px solid #f0222d!important;border-left:5px solid #e30d1b!important;background:linear-gradient(90deg,#fff6f5 0,#fff 82%)!important}
#content .alert-critical-flag{border-radius:20px!important;background:#d60011!important;color:#fff!important;font-size:10px!important;font-weight:790!important;padding:5px 10px!important;margin-right:8px!important}
#content .alert-row.alert-critical strong{color:#d10d17!important}
#content .panel:has(>.alert-tabs)>.caption{font-size:10px!important;color:#8a8e89!important}
@media(max-width:1180px) and (min-width:701px){
.shell{grid-template-columns:198px minmax(0,1fr)!important}
.main{padding:22px 18px 34px!important}
#content .home-kpis{gap:8px!important}
#content .home-kpis .stat{padding:15px 11px!important}
#content .home-kpis .stat .value{font-size:17px!important}
#content .fin-card strong{font-size:23px!important}
}
@media(max-width:850px) and (min-width:701px){
#content .home-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:700px){
html,body,.shell,.main{max-width:100%!important;overflow-x:hidden!important}
.shell{display:block!important}
.sidebar{display:none!important}
.main{padding:10px 14px 34px!important;width:100%!important}
.top{flex-direction:column!important;align-items:stretch!important;gap:8px!important;margin-bottom:17px!important}
.mobilebrand{display:flex!important;width:100%!important;justify-content:center!important;align-items:center!important;min-height:62px!important;background:transparent!important}
.mobilebrand img{width:55px!important;height:55px!important}
#migaDrawerToggle{top:11px!important;left:0!important}
#migaBell{top:11px!important;right:0!important}
.top .page-title{font-size:28px!important;margin:6px 0 3px!important}
.top .miga-location{font-size:12px!important}
.top .controls{display:none!important}
#migaDesktopBell,#migaDesktopAvatar{display:none!important}
#content .home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
#content .home-kpis .stat{padding:14px 12px!important;min-height:108px!important}
#content .home-kpis .stat .label{font-size:11px!important}
#content .home-kpis .stat .value{font-size:19px!important}
#content .home-kpis .stat .smalltext{font-size:10px!important}
#content .fin-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
#content .fin-card{padding:13px 11px!important;min-width:0!important}
#content .fin-card h3{font-size:11px!important}
#content .fin-card strong{font-size:18px!important;overflow-wrap:anywhere!important}
#content .fin-card small{font-size:10px!important}
#content .fin-card .btn{font-size:10px!important;padding:7px 10px!important}
#content .panel:has(>.alert-tabs){padding:13px!important}
#content .panel:has(>.alert-tabs)>h2{font-size:18px!important}
#content .alert-row{flex-direction:column!important;align-items:stretch!important;gap:7px!important;padding:11px!important}
#content .alert-row .btn{align-self:flex-end!important}
#content .alert-critical-flag{display:inline-block!important;margin-bottom:5px!important}
}
