
:root{--g:#164e3c;--g2:#247255;--bg:#f3f6f4;--line:#e1e9e4;--muted:#65776d}
body{color:#23392e;letter-spacing:-.012em}.wrap{max-width:1380px;padding:32px 30px 76px}.top{background:#123f32;padding:16px 30px;box-shadow:0 4px 20px #123f3214}.top b{letter-spacing:.08em;font-size:17px}.top small{margin-top:5px}.top button{font-size:13px;padding:11px 15px}.hero{align-items:center;margin-bottom:26px}.hero h1{font-size:36px;font-weight:750;letter-spacing:-.04em}.hero .sub{line-height:1.6;font-size:14px}.card{border:1px solid var(--line);border-radius:20px;box-shadow:0 4px 16px #123f3204;padding:22px}.section-title{font-size:21px;font-weight:700;letter-spacing:-.025em;margin:30px 0 16px}.kpis{gap:16px;margin:20px 0}.kpis>.card{position:relative;overflow:hidden;padding:22px 22px 25px}.kpis>.card:before{content:'';display:block;width:28px;height:4px;border-radius:4px;background:#b6cebf;margin-bottom:18px}.k{font-size:11px;letter-spacing:.065em;font-weight:700;line-height:1.5}.v{font-size:30px;font-weight:750;letter-spacing:-.045em;font-variant-numeric:tabular-nums;margin:9px 0 6px}.note{line-height:1.65}.division-grid{gap:18px;margin:20px 0 32px}.division{min-height:265px;padding:24px;transition:box-shadow .18s,transform .18s}.division:hover{box-shadow:0 12px 30px #123f3210;transform:translateY(-2px)}.division .n{font-size:10px;letter-spacing:.12em}.division h2{font-size:22px;font-weight:700;letter-spacing:-.03em;margin:16px 0 10px;text-transform:none}.division p{font-size:14px;line-height:1.65;max-width:32ch}.division .note{font-size:12px;margin:0 0 22px}.division button{background:#eef5f0;color:var(--g);padding:13px 15px;text-align:left;display:flex;justify-content:space-between;align-items:center}.division button:after{content:'→';font-size:18px}.division button:hover{background:var(--g);color:#fff}.division-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#edf5ef;color:var(--g);margin-bottom:18px}.division-mark svg{height:25px;width:25px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.primary,.secondary,.tab,.btn{font-weight:650;min-height:42px}.primary{background:var(--g);box-shadow:0 2px 4px #123f3210}.secondary{border-color:#d4e2d9;background:#fff}.secondary:hover{background:#f0f6f2}.actions{gap:10px}.tabs{background:#e9efeb;padding:5px;border-radius:13px;width:fit-content;max-width:100%}.tab{border:0;border-radius:9px;background:transparent}.tab.active{box-shadow:0 2px 5px #123f3210}.tablewrap{border-radius:15px}.table th{background:#eef3f0;padding:14px;font-size:10px;letter-spacing:.055em;font-weight:750}.table td{padding:14px;font-size:13px;font-variant-numeric:tabular-nums;line-height:1.5}.table tbody tr:hover{background:#f8faf8}.total-row{background:#eaf2ed;border-top:1px solid #cbdcd1}.total-row td{padding:17px 14px}.rule{border-left:3px solid #b8cebf;background:#eaf1ec;font-size:12px;line-height:1.75;color:#52685b;padding:18px 22px;border-radius:12px}.rule summary{color:var(--g);font-weight:650;cursor:pointer}.rule p{margin:12px 0 0}.pill{font-size:11px;font-weight:650;letter-spacing:.015em}.forms{gap:14px}input,select,textarea{border-color:#d6e1d9;border-radius:10px;min-height:43px}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #82b89b;outline-offset:3px}label{font-weight:650;color:#405b4c}.back{font-size:13px}.section-title-row{flex-wrap:wrap}.loginbox{box-shadow:0 20px 80px #123f3212;padding:34px}dialog::backdrop{background:#102b206b;backdrop-filter:blur(3px)}
@media(prefers-reduced-motion:reduce){.division{transition:none}.division:hover{transform:none}}
@media(max-width:1000px){.wrap{padding:24px 20px 60px}.division-grid{grid-template-columns:1fr}.division{min-height:0;display:grid;grid-template-columns:44px 1fr;column-gap:18px}.division-mark{grid-row:span 4}.division .n,.division h2,.division p,.division .note,.division button{grid-column:2}.division h2{margin-top:8px}.division button{margin-top:0}.hero{align-items:flex-start;flex-wrap:wrap}.hero h1{font-size:30px}}
@media(max-width:520px){.wrap{padding:22px 14px 50px}.top{padding:14px}.hero h1{font-size:28px}.hero .actions{width:100%}.kpis{grid-template-columns:1fr 1fr;gap:10px}.kpis>.card{padding:16px 13px}.v{font-size:23px}.k{font-size:10px}.division{padding:20px}.forms{grid-template-columns:1fr}.forms .wide{grid-column:span 1}.tabs{width:100%}.top .sync-controls span{width:100%}.card{padding:18px}.table td,.table th{white-space:normal}.division p{max-width:none}}
@media print{.top,.back,.actions{display:none!important}.card{box-shadow:none}.division:hover{transform:none}body{background:#fff}}
@media(min-width:700px){#home .kpis{grid-template-columns:repeat(4,minmax(0,1fr))}#home .division-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#home .division{display:flex;min-height:320px;padding:20px}#home .division h2{font-size:20px}#home .division p{font-size:13px}#home .v{font-size:25px}#home .division .note{margin-bottom:18px}}
/* Verde esmeralda con matices de verde plata. */
:root{--g:#087c60;--g2:#059b76;--bg:#f2f7f5;--line:#dce9e3;--muted:#597267}
.top{background:linear-gradient(115deg,#075d49 0%,#087f62 60%,#139b78 100%);box-shadow:0 4px 20px #087c6018}
.top button{color:#07644e}
.primary{background:linear-gradient(115deg,#087b5e,#0a916b);box-shadow:0 3px 10px #087c601a}
.primary:hover{background:#07684f}
.division-mark{background:linear-gradient(135deg,#d8eee4,#eef6f2);color:#087c60;box-shadow:inset 0 1px 0 #fff}
.division button{background:#e3f3eb;color:#076b50}
.division button:hover{background:#087c60;color:#fff}
.kpis>.card:before{background:#30ad83}
.pill{background:#dcf1e6;color:#07664d}
.tabs{background:#e3eee8}
.tab.active{background:#087c60;color:#fff}
.secondary{color:#076b50;border-color:#bfdbce}
.secondary:hover{background:#e9f5ee}
.table th{background:#eaf3ee;color:#4d6e5e}
.rule{background:#e8f3ed;border-left-color:#63b697}
.total-row{background:#e1f1e8;color:#075d47;border-top-color:#b7d9c7}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,summary:focus-visible{outline-color:#28a77b}
/* Verde brillante inspirado en la referencia visual indicada por Alan. */
:root{--g:#087847;--g2:#168c50;--bg:#f2f8f4;--line:#dcebe1;--muted:#597064;--brand-bright:#25d366}
.top{background:linear-gradient(115deg,#075e3e 0%,#0a8f4d 65%,#16aa57 100%);box-shadow:0 4px 20px #08784718}
.top button{color:#075e3e}
.primary{background:#25d366;color:#073b22;box-shadow:0 3px 10px #25d36625}
.primary:hover{background:#20c65e;color:#073b22}
.division-mark{background:#dff7e7;color:#087847;box-shadow:inset 0 1px 0 #fff}
.division button{background:#e1f7e9;color:#08673b}
.division button:hover{background:#25d366;color:#073b22}
.kpis>.card:before{background:#25d366}
.pill{background:#def7e7;color:#075e3e}
.tabs{background:#e3f0e7}
.tab.active{background:#25d366;color:#073b22}
.secondary{color:#076b3d;border-color:#bedfc9}
.secondary:hover{background:#e7f8ed}
.table th{background:#eaf5ee;color:#4d6e59}
.rule{background:#e8f5ed;border-left-color:#25d366}
.total-row{background:#e0f4e7;color:#075d35;border-top-color:#b7ddc4}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,summary:focus-visible{outline-color:#087847}
/* Acento ámbar: verde, blanco y un matiz cálido en detalles. */
:root{--accent-warm:#e8ad43;--accent-warm-ink:#805519;--accent-warm-soft:#fff3d9}
#home .division:nth-child(2) .division-mark{background:var(--accent-warm-soft);color:var(--accent-warm-ink);box-shadow:inset 0 1px 0 #fff}
#home .division:nth-child(2) .n{color:var(--accent-warm-ink)}
#home .division:nth-child(2) button{background:var(--accent-warm-soft);color:#704915}
#home .division:nth-child(2) button:hover{background:#f2ca79;color:#50340f}
#home .kpis>.card:nth-child(3):before{background:var(--accent-warm)}
#home .hero .pill{background:var(--accent-warm-soft);color:#704915}
.rule{border-left-color:var(--accent-warm)}
.brand-lockup{display:flex;gap:12px;align-items:center;min-width:0}.brand-symbol{width:40px;height:40px;display:grid;place-items:center;border:1px solid #ffffff40;border-radius:12px;background:#ffffff12;flex-shrink:0}.brand-symbol svg{width:27px;height:27px;stroke:#c9f6dc;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#home .hero{margin-bottom:20px}#home .division-grid{margin:14px 0 28px}#home .division{min-height:244px;padding:20px}#home .division-mark{width:38px;height:38px;margin-bottom:12px;border-radius:11px}#home .division-mark svg{width:24px;height:24px}#home .division h2{margin:10px 0 8px;font-size:20px}#home .division p{margin-bottom:12px;line-height:1.55}#home .division .note{line-height:1.5;font-size:12px;margin-bottom:16px}#home .division button{min-height:42px;padding:10px 12px;margin-top:auto;font-size:13px}#home .division button:after{font-size:17px}
.financial-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:24px 0 14px}.financial-heading .section-title{margin:0 0 4px}.financial-heading p{margin:0}.financial-heading .pill{max-width:100%;white-space:normal}
#home .kpis{margin:14px 0 20px}#home .kpis>.card{padding:18px;display:flex;flex-direction:column;align-items:flex-start}#home .kpis>.card:before{display:none}.metric-icon{width:30px;height:30px;display:grid;place-items:center;margin-bottom:14px;color:#087847;background:#e7f8ed;border-radius:9px}.metric-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}#home .kpis>.card:nth-child(3) .metric-icon{background:#fff3d9;color:#805519}#home .kpis .k{min-height:33px}#home .kpis .v{margin-top:8px;font-size:clamp(19px,2.3vw,29px);overflow-wrap:anywhere;max-width:100%}
.table tbody tr:nth-child(even){background:#f5f9f6}.table tbody tr:hover{background:#edf7f0}.table tbody .total-row{background:#e0f4e7}.financial-table th:not(:first-child),.financial-table td:not(:first-child){text-align:right}.financial-table td:first-child{font-weight:600}.financial-table{min-width:620px}
button{transition:background-color .16s,box-shadow .16s,transform .16s}.primary:hover,.secondary:hover{box-shadow:0 3px 10px #075e3e14}button:active{transform:translateY(1px)}.panel.active{animation:section-appear .18s ease-out}@keyframes section-appear{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:699px){#home .division{min-height:0}#home .division button{margin-top:0}#home .kpis .v{font-size:25px}.financial-heading{align-items:flex-start}.brand-symbol{width:34px;height:34px}.brand-lockup{gap:9px}}
@media(prefers-reduced-motion:reduce){button{transition:none}button:active{transform:none}.panel.active{animation:none}}
/* Superficies claras y acentos controlados para la propuesta gerencial. */
:root{--bg:#f4f7f5;--line:#e0e8e3;--muted:#627269;--accent-warm:#e8ad43;--accent-warm-soft:#fff3dc;--accent-warm-ink:#79531f}
body{background:var(--bg);color:#243a2d}
.top{background:#075e43;border-bottom:1px solid #ffffff12;box-shadow:0 3px 16px #143a2510}
.brand-symbol{background:#25d36618;border-color:#85e7aa40}.brand-symbol svg{stroke:#8ef0b2}
#home .hero{position:relative;isolation:isolate;overflow:hidden;padding:25px 26px;border:1px solid #d8e9de;border-radius:20px;background:linear-gradient(115deg,#eaf6ee 0%,#f9fcfa 62%,#edf5ef 100%);margin:12px 0 26px}
#home .hero:after{content:'';position:absolute;z-index:-1;right:-34px;top:-100px;width:260px;height:260px;border:1px solid #7dbb9230;box-shadow:0 0 0 28px #81bf960c,0 0 0 58px #81bf9608;border-radius:50%;pointer-events:none}
#home .hero h1{font-size:31px;color:#164d33}#home .hero .sub{color:#526d5d;font-size:13px}#home .hero .pill{background:#fff4dd;color:#74501c;border:1px solid #efdfbd}
#home .section-title{color:#263e30;font-size:20px}#home>.section-title{margin-top:24px}
.card{background:#fff;box-shadow:0 2px 5px #183a2203,0 8px 24px #183a2203}
#home .division{position:relative;border-color:#e0e8e3;box-shadow:0 3px 14px #183a2204;overflow:hidden;transition:border-color .18s,box-shadow .18s,transform .18s}
#home .division:before{content:'';height:3px;position:absolute;top:0;left:24px;right:24px;background:#25d366;border-radius:0 0 4px 4px}
#home .division:nth-child(2):before{background:#e8ad43}#home .division:nth-child(3):before{background:#39795a}
#home .division h2{color:#244733}#home .division .n{color:#65796b;font-size:10px}#home .division p{color:#5b7163}#home .division .note{color:#65796b}
#home .division:hover{border-color:#b3d7bf;box-shadow:0 9px 25px #183a220c}
#home .division:nth-child(2):hover{border-color:#e8d5ae}
#home .division button{border:1px solid #d6eadd;background:#f0f8f3;color:#14663a}
#home .division:nth-child(2) button{border-color:#efdfbd;background:#fff7e7;color:#79531f}
#home .division:nth-child(3) button{background:#edf4ef;color:#285a3f;border-color:#d8e4dc}
#home .division button:hover{background:#25d366;border-color:#25d366;color:#073b22}
#home .division:nth-child(2) button:hover{background:#f3d291;border-color:#ebc777;color:#5c3d13}
#home .division:nth-child(3) button:hover{background:#d8eddf;border-color:#b7d6c2;color:#204b33}
#home .division-mark{background:#e6f9ec;color:#138647;box-shadow:none}#home .division:nth-child(2) .division-mark{background:#fff3dc;color:#97651d;box-shadow:none}#home .division:nth-child(3) .division-mark{background:#e9f1ec;color:#3b6e50}
#home .kpis>.card{border-color:#e1e9e4;box-shadow:0 3px 12px #173a2203}.metric-icon{background:#ecf7ef;color:#21834b}#home .kpis>.card:nth-child(2) .metric-icon{background:#f0f3f1;color:#586e60}#home .kpis>.card:nth-child(3) .metric-icon{background:#fff3dc;color:#8c6222}#home .kpis>.card:nth-child(4) .metric-icon{background:#eaf2ed;color:#3f6e51}
#home .kpis .v{color:#234d32}#home .kpis .v.negative{color:var(--red)}#home .kpis .k{color:#64766a;font-size:10px;letter-spacing:.055em}
.financial-heading .pill{background:#e8f1eb;color:#496b56;border:1px solid #dae7df}.financial-heading .note{color:#677b6d}
.rule{background:#edf3ef;border:1px solid #e0e9e3;border-left:3px solid #dfb65e}.rule summary{color:#4e6957;font-size:12px}
.table th{background:#edf3ef;color:#65776b}.table tbody tr:nth-child(even){background:#f7faf8}.table tbody tr:hover{background:#edf6f0}.table tbody .total-row{background:#e7f3eb}
@media(max-width:699px){#home .hero{padding:20px;gap:14px}#home .hero h1{font-size:28px}#home .hero .actions{margin-bottom:0}#home .hero:after{opacity:.5}#home .division:before{left:20px;right:20px}}
@media(prefers-reduced-motion:reduce){#home .division{transition:none}}
.weekly-access{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;margin:24px 0 30px;background:#e6f3eb;border:1px solid #cce4d4;border-radius:16px}.weekly-access-copy{display:flex;align-items:center;gap:15px;min-width:0}.weekly-access-icon{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:12px;background:#fff;color:#117744}.weekly-access-icon svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.weekly-access h2{font-size:17px;font-weight:700;letter-spacing:-.02em;color:#244d33;margin:0 0 5px}.weekly-access p{font-size:13px;line-height:1.5;color:#557161;margin:0}.weekly-access .primary{flex-shrink:0;padding:12px 18px;min-height:44px}.weekly-access .primary:after{content:' →';margin-left:10px}@media(max-width:600px){.weekly-access{align-items:stretch;flex-direction:column;gap:16px;padding:19px}.weekly-access .primary{width:100%;text-align:center}.weekly-access-copy{align-items:flex-start}}
/* Ámbar presente en accesos corporativos y detalles financieros. */
#home .hero{background:linear-gradient(110deg,#e8f5ed 0%,#f8fbf8 60%,#fff3dc 100%);border-color:#dce7da}
#home .hero:after{border-color:#d7a94d35;box-shadow:0 0 0 28px #e8ad430c,0 0 0 58px #e8ad4308}
.weekly-access{background:linear-gradient(110deg,#fff5e2,#ffefd0);border-color:#ecd5aa;box-shadow:0 3px 12px #91631a05}
.weekly-access-icon{background:#ffe5af;color:#805519}
.weekly-access h2{color:#6c4d20}.weekly-access p{color:#7b6748}
.financial-heading .pill{background:#fff0cf;border-color:#ecd5a6;color:#79531f}
#home .division:nth-child(2){background:linear-gradient(160deg,#fffdf8,#fff8ea);border-color:#ebd9b8}
#home .division:nth-child(2) .division-mark{background:#ffe6b2;color:#8a5c16}
#home .division:nth-child(2) button{background:#ffe8b8;border-color:#ebce93;color:#704915}
#home .division:nth-child(2) button:hover{background:#f4cc7b;border-color:#dfb15b;color:#5c3d13}
#home .kpis>.card:nth-child(3){background:linear-gradient(135deg,#fffdf8,#fff7e7);border-color:#ecdcbc}
#home .kpis>.card:nth-child(3) .metric-icon{background:#ffe5af;color:#805519}
.rule{background:#fff8e9;border-color:#eddfbf;border-left:3px solid #e8ad43}.rule summary{color:#795b2c}
/* AgroBit CA: verde bosque y cian digital. */
:root{--g:#1b4d3e;--g2:#286b55;--bg:#f4f7f6;--line:#dfe8e4;--muted:#60756b;--blue:#076980;--brand-bright:#00d2ff;--accent-warm:#00d2ff;--accent-warm-soft:#e5f9fe;--accent-warm-ink:#075d73}
body{background:var(--bg);color:#253d32}
.top{background:#1b4d3e;box-shadow:0 3px 16px #1b4d3e12}.top button{color:#1b4d3e}
.brand-symbol{background:#00d2ff12;border-color:#00d2ff50}.brand-symbol svg{stroke:#9cecff}
.primary{background:#1b4d3e;color:#fff;box-shadow:0 3px 10px #1b4d3e12}.primary:hover{background:#28634f;color:#fff}
.secondary{color:#1b4d3e;border-color:#c7dcd2}.secondary:hover{background:#edf5f0}
.pill{background:#e5f3ed;color:#1b4d3e}.tabs{background:#e6eeea}.tab.active{background:#1b4d3e;color:#fff}
.division-mark{background:#e8f3ed;color:#1b4d3e}.division button{background:#eef5f1;color:#1b4d3e}.division button:hover{background:#1b4d3e;color:#fff}
#home .hero{background:linear-gradient(110deg,#eaf3ee 0%,#f8fbfa 60%,#e7f8fc 100%);border-color:#d8e8e1}
#home .hero:after{border-color:#00a6ca25;box-shadow:0 0 0 28px #00d2ff09,0 0 0 58px #00d2ff06}
#home .hero h1{color:#1b4d3e}
#home .division{background:#fff;border-color:#dfe8e4}
#home .division:before{background:#1b4d3e}
#home .division:nth-child(2){background:linear-gradient(160deg,#fff,#f1fbfd);border-color:#cce7ee}
#home .division:nth-child(2):before{background:#00d2ff}
#home .division:nth-child(3):before{background:#52816a}
#home .division .n,#home .division:nth-child(2) .n{color:#60756b}
#home .division h2{color:#1b4d3e}
#home .division .division-mark{background:#e8f3ed;color:#1b4d3e;box-shadow:none}
#home .division:nth-child(2) .division-mark{background:#def7fd;color:#076980;box-shadow:none}
#home .division:nth-child(3) .division-mark{background:#e8f1ec;color:#32634c}
#home .division button{background:#eef5f1;color:#1b4d3e;border-color:#d1e3d9}
#home .division:nth-child(2) button{background:#e1f8fd;color:#075d73;border-color:#bce7f1}
#home .division:nth-child(3) button{background:#eef5f1;color:#1b4d3e;border-color:#d1e3d9}
#home .division button:hover,#home .division:nth-child(3) button:hover{background:#1b4d3e;color:#fff;border-color:#1b4d3e}
#home .division:nth-child(2) button:hover{background:#00d2ff;color:#103d46;border-color:#00d2ff}
#home .division:hover{border-color:#a9cdbb}#home .division:nth-child(2):hover{border-color:#8dd7e8}
.weekly-access{background:linear-gradient(110deg,#e9f4ef,#e6f7fb);border-color:#c7e2de;box-shadow:0 3px 12px #1b4d3e05}
.weekly-access-icon{background:#cef3fc;color:#075d73}.weekly-access h2{color:#1b4d3e}.weekly-access p{color:#506f61}
.weekly-access .primary{background:#00d2ff;color:#103d46;box-shadow:0 3px 10px #00a6ca14}.weekly-access .primary:hover{background:#19ddff;color:#103d46}
.financial-heading .pill{background:#e1f7fc;border-color:#bce6f0;color:#075d73}
#home .kpis>.card{background:#fff;border-color:#dfe8e4}
#home .kpis>.card:nth-child(3){background:linear-gradient(135deg,#fff,#effafd);border-color:#cde8ee}
#home .kpis>.card .metric-icon{background:#e9f3ee;color:#28644b}
#home .kpis>.card:nth-child(2) .metric-icon{background:#eff3f1;color:#586e60}
#home .kpis>.card:nth-child(3) .metric-icon{background:#d9f5fc;color:#076980}
#home .kpis>.card:nth-child(4) .metric-icon{background:#e9f3ee;color:#28644b}
#home .kpis .v{color:#1b4d3e}#home .kpis .v.negative{color:var(--red)}
.kpis>.card:before{background:#82cbb6}.rule{background:#eff8fa;border-color:#d3e9ed;border-left:3px solid #00d2ff}.rule summary{color:#165a68}
.table th{background:#edf3f0;color:#597266}.table tbody tr:nth-child(even){background:#f7faf8}.table tbody tr:hover{background:#eef7f4}.table tbody .total-row,.total-row{background:#e5f1eb;color:#1b4d3e;border-top-color:#c3dcd0}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,summary:focus-visible{outline-color:#087c96}
.creator-brand{flex:0 1 240px;min-width:0;padding:7px 10px;background:#fff;border-radius:11px;line-height:0}.creator-brand img{display:block;width:100%;height:auto;max-height:74px;object-fit:contain}#app>.top{gap:18px;flex-wrap:wrap}#app>.top>.creator-brand{margin-left:auto}#app>.top>.sync-controls{justify-content:flex-end}body>header.top>.creator-brand{margin-left:auto}@media(max-width:600px){.creator-brand{flex-basis:180px;padding:6px 8px}.top{gap:12px}.top>.brand-lockup{flex:1 1 180px}.top>.creator-brand{max-width:220px}#app>.top>.sync-controls{width:100%;justify-content:flex-start}}@media print{.creator-brand{display:none}}
/* Componentes compartidos: CEO, propietario y acceso. */
.login{background:radial-gradient(ellipse at 15% 20%,#def2e8 0,transparent 55%),radial-gradient(ellipse at 90% 85%,#dcf5fc 0,transparent 50%),#f4f7f6;padding:32px 20px}.loginbox{width:min(460px,100%);padding:34px;border-radius:24px;border-color:#d8e6de;box-shadow:0 20px 70px #1b4d3e10}.login-brand{padding-bottom:24px;border-bottom:1px solid #e2ece6;margin-bottom:24px}.login-brand img{width:100%;height:auto;display:block;max-width:350px;margin:auto}.loginbox .brand{font-size:23px;letter-spacing:-.025em;font-weight:750}.loginbox .sub{font-size:13px;line-height:1.6;margin-top:5px}.loginbox label{margin-top:20px}.loginbox input{min-height:47px;font-size:16px}.loginbox .primary{min-height:47px;margin-top:24px}.login-signature{font-size:11px;line-height:1.5;color:#63796d;text-align:center;margin:20px 0 0}.loginbox .err:empty{display:none}
main.wrap>section:not(#home)>.hero{padding:22px 24px;border:1px solid #dbe9e2;border-radius:18px;background:linear-gradient(115deg,#edf5f0,#f6fbfa);margin-bottom:22px}main.wrap>section:not(#home)>.hero h1{font-size:30px}.back{min-height:35px;display:inline-flex;align-items:center}.kpis .v{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%}.kpis .card{min-width:0}.kpis .note{margin-top:5px}.forms>div,.forms>label{min-width:0}input,select,textarea{font:inherit;font-size:15px;color:#253d32;background:#fff;border:1px solid #cfdfd5;border-radius:10px;padding:11px;max-width:100%}input[type=checkbox],input[type=radio]{width:auto;min-height:0;accent-color:#1b4d3e}input[type=file]{line-height:1.6}input[type=file]::file-selector-button{border:0;border-radius:6px;padding:6px 9px;background:#e8f3ee;color:#1b4d3e;margin-right:10px;font:inherit}input:disabled,select:disabled,textarea:disabled{background:#f3f6f4;color:#65766c}textarea{width:100%;min-height:90px;resize:vertical}button:disabled{opacity:.5;cursor:not-allowed}button:disabled:hover{transform:none;box-shadow:none}.btn{border:1px solid #cfdfd5;border-radius:10px;padding:10px 14px;font:inherit;font-size:14px;font-weight:650;min-height:42px}.btn.ghost{background:#fff;color:#1b4d3e}.btn.primary{background:#1b4d3e;color:#fff}.cost-structure-tabs{gap:8px}.cost-structure-tabs .btn{min-width:120px}#svTabs{background:#e7efea;border-radius:13px;padding:5px;width:fit-content;max-width:100%}#svTabs button{box-shadow:none;border:0;min-height:40px}#svTabs .secondary{background:transparent}.linkbtn{color:#1b4d3e;font-weight:650;text-underline-offset:3px}.positive{color:#1b4d3e}.info{color:#076980}.negative,.err{color:#a52d36}.pill{line-height:1.5}.status{line-height:1.6;overflow-wrap:anywhere}.status:empty{margin:0}.tablewrap{max-width:100%;overflow-x:auto;border:1px solid #e2eae5;background:#fff}.table{border-radius:0}.table th{white-space:nowrap}.table td{vertical-align:top}.table .empty{white-space:normal}.empty{background:#f7faf8;border-radius:12px;line-height:1.6}.total-row td{font-weight:750}.report-card h3{font-size:18px}.report-card p{line-height:1.65}.card>.card{box-shadow:none}.card details,.wrap details{line-height:1.6}details>summary{padding:10px 0;min-height:40px;font-weight:650;color:#1b4d3e;cursor:pointer}dialog{color:#253d32;background:#fff;box-shadow:0 24px 90px #143c2730;overflow:auto}dialog h2,.crud-dialog h2{color:#1b4d3e;font-size:23px;letter-spacing:-.025em}dialog .actions,.crud-footer{margin-top:20px;flex-wrap:wrap}.crud-dialog{border:1px solid #dce7e0;border-radius:20px;box-shadow:0 24px 90px #143c2730}.crud-overlay{background:#123a2b80;backdrop-filter:blur(3px)}#photoBalanceSection{border-color:#dfc783;background:#fff8e8}#photoBalanceSection .note{color:#715c2e}#photoRows th,#svPhotoRows th{white-space:normal}.report-grid .card{display:flex;flex-direction:column}.report-grid .card .actions{margin-top:auto}.top .sync-controls span{color:#e0efe7;line-height:1.5}.top #syncExcel{background:#e0f7fc;color:#124e5b}.top #logout{background:#ffffff14;color:#fff;border:1px solid #ffffff35}.top .creator-brand{order:3;flex-basis:210px;margin-left:0}.top .sync-controls{margin-left:auto}.top .brand-lockup{flex-shrink:0}
@media(max-width:950px){.top .sync-controls{order:4;width:100%;justify-content:flex-start}.top .creator-brand{margin-left:auto}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.forms{grid-template-columns:repeat(2,minmax(0,1fr))}.hero>label{min-width:120px}.v{font-size:25px}}
@media(max-width:520px){.loginbox{padding:26px 22px}.login-brand{padding-bottom:20px}.loginbox .brand{font-size:22px}.forms{grid-template-columns:1fr}.forms .wide{grid-column:span 1}input,select,textarea{font-size:16px}.actions>button{min-height:44px;max-width:100%;white-space:normal}.hero{gap:14px}main.wrap>section:not(#home)>.hero{padding:18px}main.wrap>section:not(#home)>.hero h1{font-size:26px}.top .creator-brand{flex-basis:165px}.top .brand-lockup{flex:1 1 130px}.top b{font-size:14px}.top small{font-size:11px}.sync-controls{gap:8px}.top .sync-controls span{order:3;max-width:none}.cost-structure-tabs .btn{min-width:0;flex:1 1 130px}.two,.report-grid{grid-template-columns:1fr}.table th,.table td{padding:11px}.crud-dialog{padding:20px}.crud-footer button{flex:1}.section-title-row{align-items:flex-start}.financial-heading{gap:10px}}
@media print{.top,.creator-brand,.back,.actions,button{display:none!important}.card{box-shadow:none}.tablewrap{overflow:visible}.panel.active{animation:none}}

.photo-drop-zone{display:flex;align-items:center;gap:15px;padding:21px;margin:16px 0 10px;border:2px dashed #9ac8b5;border-radius:14px;background:#f0f8f4;color:#1b4d3e;transition:background .15s,border-color .15s;min-height:100px}.photo-drop-zone p{font-size:12px;font-weight:400;color:#59766a;margin:5px 0;line-height:1.5}.photo-drop-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:10px;background:#daf5fc;color:#076980;font-size:25px}.photo-drop-zone.drag-over{background:#def6fc;border-color:#087c96}.photo-drop-name{display:block;font-size:12px;font-weight:600;color:#165a68;overflow-wrap:anywhere}.photo-drop-zone>div{min-width:0}.photo-drop-zone strong{font-size:15px}@media(max-width:520px){.photo-drop-zone{padding:16px;gap:12px}}@media(prefers-reduced-motion:reduce){.photo-drop-zone{transition:none}}
.cost-chart-card{margin:22px 0 20px;padding:22px 24px;border-radius:20px}.cost-chart-card h2{margin:0 0 5px;font-size:22px;font-weight:700;letter-spacing:-.025em;color:#1b4d3e}.cost-chart-card>.note{margin:0 0 10px}.cost-chart-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(250px,1fr);gap:34px;align-items:center}.cost-chart-figure{margin:0;min-width:0;text-align:center}.cost-chart-svg{display:block;width:min(100%,380px);height:auto;margin:0 auto}.cost-chart-segment{transition:opacity .15s}.cost-chart-segment:hover{opacity:.8}.cost-chart-main-share{font-size:12px;font-weight:750;fill:#fff;pointer-events:none}.cost-chart-center-label{font-size:8px;font-weight:650;letter-spacing:.7px;fill:#63796d}.cost-chart-center-value{font-size:18px;letter-spacing:-.5px;font-weight:750;fill:#1b4d3e;font-variant-numeric:tabular-nums}.cost-chart-figure figcaption{font-size:12px;line-height:1.5;color:#63796d;margin-top:5px}.cost-chart-legend{list-style:none;margin:0;padding:0 0 0 28px;border-left:1px solid #e3ece6;min-width:0}.cost-chart-legend li{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid #edf1ee;font-size:13px;line-height:1.4;color:#354f40}.cost-chart-legend li:last-child{border-bottom:0}.cost-chart-swatch{width:12px;height:12px;border-radius:50%;display:block}.cost-chart-legend strong{font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.cost-chart-name{overflow-wrap:anywhere}.cost-chart-empty{padding:24px;text-align:center}@media(max-width:720px){.cost-chart-layout{grid-template-columns:minmax(0,1fr);gap:20px}.cost-chart-legend{border-left:0;padding-left:0}.cost-chart-svg{width:min(100%,340px)}.cost-chart-card{padding:20px}.cost-chart-card h2{font-size:20px}}@media print{.cost-chart-card{break-inside:avoid;box-shadow:none}.cost-chart-layout{grid-template-columns:1fr 1fr}.cost-chart-svg{max-width:280px}.cost-chart-legend li{padding:5px 0;font-size:11px}}@media(prefers-reduced-motion:reduce){.cost-chart-segment{transition:none}}

.app-feedback{position:sticky;top:0;z-index:30;padding:14px 20px;background:#fff5d9;color:#67460d;border:1px solid #e6cc87;font-size:14px;font-weight:600;line-height:1.5}.app-feedback:empty{display:none}
