/* Dirección de arte · Terralys: tinta azul, jerarquía editorial y superficies de trabajo. */
:root{--navy:#102b43;--navy2:#173b58;--cyan:#8eb6df;--cyan2:#d6e6f6;--ink:#263e53;--muted:#607487;--line:#e2e8ef;--bg:#f4f6f9;--shadow:none}
body{background:var(--bg);-webkit-font-smoothing:antialiased}
.topbar{background:#10283f;box-shadow:none;gap:18px;padding:0 24px}
.brandbox{box-shadow:none;border-radius:7px}
.product-copy b{font-size:12px;font-weight:600;letter-spacing:.04em}.product-copy span{font-size:10px;letter-spacing:.04em}
.top-control{font-size:12px;font-weight:500;background:#1b354b;border-color:#ffffff20;border-radius:8px}
.user b{font-size:12px;font-weight:600}.user span{font-size:11px}.avatar{background:#d1e2f3;font-weight:600}.sync{font-size:11px;font-weight:500}
.sidebar{background:#fff;padding:24px 14px}.context-card{border:0;background:transparent;padding:6px 10px 18px;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}.context-card small{font-size:12px;font-weight:500;letter-spacing:.06em}.context-card b{font-size:15px;font-weight:600;margin-top:10px}.context-card span{font-size:13px;line-height:1.6;margin-top:7px}
.nav-title{font-size:12px;font-weight:500;letter-spacing:.08em;margin:24px 10px 14px}.side-nav{gap:6px}.side-btn{padding:12px 10px;border-radius:8px}.side-btn b{font-size:14px;font-weight:550}.side-btn span{font-size:12px;line-height:1.5;margin-top:4px}.side-icon{background:transparent!important;color:#65839e!important;font-size:16px;width:28px;flex-basis:28px}.side-btn.active{background:#edf3f9;color:#183e60;border-color:transparent;box-shadow:inset 3px 0 #476f99}.side-btn.active span{color:#617b93}.side-btn.active .side-icon{color:#224b74!important}.sidebar-foot button{font-size:12px;font-weight:500;border:0;background:transparent;padding:12px 10px}
.subbar{background:#f4f6f9;border-bottom-color:#e5eaf0}.breadcrumb{font-size:13px}.mini-btn{font-size:12px;font-weight:500;border-radius:7px;min-height:36px}.sub-meta{font-size:12px}
.content{max-width:1440px;padding:32px}.section-head{margin-bottom:28px;gap:24px}.section-head h1{font-size:34px;font-weight:550;letter-spacing:-.035em;line-height:1.18}.section-head p{font-size:15px;line-height:1.65;margin-top:12px;max-width:65ch}.ey{font-size:12px;letter-spacing:.075em;font-weight:550;margin-bottom:10px}
.grid{gap:22px}.content .card{padding:26px;border:1px solid #e6ebf1;border-radius:14px;box-shadow:none}.content .card.flush{padding:0}.card h3{font-size:18px;font-weight:600;line-height:1.4}.card p.sub,.aguas-context .card p.sub{font-size:14px;line-height:1.7}.card-head{margin-bottom:20px;gap:18px}
.metrics{gap:0;background:#fff;border:1px solid #e6ebf1;border-radius:14px;margin-bottom:26px;padding:22px 0}.metric{border:0;border-right:1px solid #e6ebf1;border-radius:0;background:transparent;padding:4px 24px;min-width:0}.metric:last-child{border-right:0}.metric b,.aguas-context .metric b{font-size:32px;line-height:1.2;font-weight:550;letter-spacing:-.045em;overflow-wrap:normal}.metric span,.aguas-context .metric span{font-size:13px;line-height:1.6;margin-top:9px;color:#61778a}
.primary,.secondary,.aguas-context .primary,.aguas-context .secondary{font-size:14px;font-weight:550;min-height:44px;padding:11px 16px;border-radius:8px}.primary{background:#173b58}.secondary{border-color:#dce4ec}.primary:hover{background:#254e71}.secondary:hover{background:#f3f6fa}.pill,.status,.aguas-context .pill,.aguas-context .status{font-size:12px;font-weight:500;text-transform:none;letter-spacing:0;line-height:1.4;border:0;border-radius:6px;padding:6px 9px}
.list-row{padding:16px 0}.list-row b,.aguas-context .list-row b{font-size:15px;font-weight:550;line-height:1.5}.list-row span,.aguas-context .list-row span{font-size:14px;line-height:1.65}.audit-node{background:#f7f9fb;border:0;padding:16px;border-radius:8px}.audit-node b,.aguas-context .audit-node b{font-size:14px;font-weight:550}.audit-node span,.aguas-context .audit-node span{font-size:14px;line-height:1.7}
.content .aa-priority{background:#132f47;border:0;color:#fff;padding:30px;position:relative}.aa-priority h3{font-size:25px;line-height:1.3;font-weight:550;color:#fff;letter-spacing:-.025em}.aa-priority p.sub{color:#c6d4df!important;font-size:15px!important;margin-top:12px}.aa-priority .card-head{display:block}.aa-priority .pill{display:inline-flex;margin-top:16px;background:#ffffff10;color:#d8e7f4;border:1px solid #ffffff20}.aa-priority .audit-node{padding:16px 0;border-top:1px solid #ffffff20;border-radius:0;background:transparent}.aa-priority .audit-node b{color:#eaf2f9}.aa-priority .audit-node span{color:#becfdd}.aa-priority .primary{background:#f6f9fc!important;color:#183950}.aa-priority .secondary{background:transparent;color:#eef5fa;border-color:#ffffff35}.aa-priority .primary:hover{background:#dceafa!important}.aa-priority .secondary:hover{background:#ffffff0d}
.gt-kpi{font-size:40px;font-weight:500;margin-top:22px}.gt-progress span{font-size:14px}.gt-progress b{font-size:34px;font-weight:500}.gt-tabs{gap:4px;border-bottom:1px solid #dce4ec;padding-bottom:10px}.gt-tabs button{border:0;border-radius:7px;background:transparent!important;color:#536d83;font-weight:500}.gt-tabs button.active{background:#e6eef7!important;color:#214c72}.gt-table th{background:#f8fafc;font-weight:550;text-transform:none;font-size:13px;letter-spacing:0}.gt-table td{padding:20px 16px}.gt-table td b{font-weight:550}.gt-record{padding:24px 0}.gt-record b{font-weight:550}.map-wrap{border-radius:12px}.layer-panel{box-shadow:0 8px 24px #10283f10;border-color:#e1e8ef;border-radius:10px}
body.nexo-mode .content{padding:16px 20px 24px}.nw-shell{border:1px solid #e4eaf0;border-radius:14px;box-shadow:none;background:#fff;grid-template-columns:190px minmax(0,1fr);height:calc(100dvh - 158px);min-height:540px}.nw-history{background:#f5f7fa;border-color:#e8edf2;padding:24px 12px;gap:18px}.nw-brand{font-size:22px;font-weight:550;color:#173b58;letter-spacing:-.04em}.nw-brand i{background:transparent;color:#466d91;font-size:25px}.nw-new{background:#fff;color:#244865;border:1px solid #dce4ec;box-shadow:none;border-radius:8px;font-weight:550}.nw-new:hover{background:#edf3f8}.nw-history input{background:transparent;border:0;border-bottom:1px solid #dfe6ed;border-radius:0;padding:10px 6px;color:#526b80}.nw-thread{padding:12px 10px;border-radius:7px}.nw-thread.active{background:#e6edf5;box-shadow:inset 2px 0 #476f99}.nw-thread b{font-size:14px;font-weight:500}.nw-thread small{font-size:12px}.nw-head{padding:18px 28px;border-bottom:0;align-items:center}.nw-head h2{font-size:18px;font-weight:550;letter-spacing:-.02em}.nw-head p{font-size:12px;margin-top:5px}.nw-head button{background:transparent;border:1px solid #e5ebf1;border-radius:7px;font-size:13px}.nw-head button:hover{background:#f4f7fa}.nw-head .nw-return{background:transparent}.nw-context{margin:0 28px;padding:12px 0;background:transparent;border-bottom:1px solid #e9eef3;font-size:13px;color:#60778c}.nw-context b{font-weight:550}.nw-context button{background:transparent;color:#476b8a}.nw-context-panel{background:#f8fafc;border:0;margin:0 28px;padding:18px;border-radius:8px}
.nw-stream{padding:34px 40px 24px}.nw-stream-inner{max-width:720px}.nw-welcome{padding:35px 0 10px;max-width:660px;text-align:left}.nw-welcome .nw-mark{background:#132f47;color:#d5e5f5;width:48px;height:48px;font-size:24px;border-radius:14px;margin:0 0 26px;box-shadow:none}.nw-welcome h2{font-size:34px;line-height:1.2;font-weight:500;letter-spacing:-.045em;margin:0 0 16px;color:#183a56}.nw-welcome p{font-size:16px;line-height:1.7;color:#607487;max-width:48ch}.nw-starters{gap:0 22px;max-width:none;margin:28px 0 12px}.nw-starters button{border:0;border-top:1px solid #e3eaf1;border-radius:0;min-height:72px;padding:18px 2px;background:transparent;color:#355975;font-size:14px;font-weight:500;transition:color .15s,background .15s}.nw-starters button:hover{background:#f6f9fc;color:#133c61;border-color:#e3eaf1}.nw-turn{font-size:16px;line-height:1.8;margin-bottom:36px}.nw-answer{color:#2c4255}.nw-user-bubble{background:#eef3f8;border-radius:16px;padding:14px 20px;color:#29465f}.nw-assistant-head{font-weight:550;font-size:14px}.nw-assistant-head i{background:#173b58;color:#e7f0f8;border-radius:8px;width:28px;height:28px}.nw-proposal{background:#fff;border:0;border-left:2px solid #537c9f;border-radius:0;padding:4px 0 4px 22px;margin-top:24px}.nw-proposal small{color:#647b8e;font-size:12px}.nw-proposal h3{font-size:19px;line-height:1.4;font-weight:550}.nw-proposal p{font-size:15px;color:#486174}.nw-message-actions button{font-size:13px}.nw-composer-wrap{padding:0 32px 18px}.nw-composer{max-width:780px;border:1px solid #d2dde8;border-radius:22px;padding:16px 20px;box-shadow:0 8px 30px #163a5810,0 1px 3px #163a5805}.nw-composer:focus-within{border-color:#7698b8;box-shadow:0 0 0 3px #537c9f0b,0 8px 30px #163a5810}.nw-composer textarea{min-height:62px;font-size:16px!important;line-height:1.65}.nw-attach{background:transparent;border:1px solid #e1e8ef;border-radius:8px;font-size:13px;color:#54718a}.nw-send{background:#183d5b;border-radius:9px;font-size:14px;font-weight:550}.nw-compose-left>span{font-size:12px;color:#6b8194}.nw-disclosure{font-size:12px;color:#657d90;margin-top:13px;line-height:1.5}
@media(min-width:1100px){body.nexo-mode .workspace{grid-template-columns:185px minmax(0,1fr)}body.nexo-mode .side-btn div>span{display:none}body.nexo-mode .sidebar{padding:22px 10px}body.nexo-mode .side-btn{padding:12px 8px}body.nexo-mode .side-btn b{font-size:13px}body.nexo-mode .context-card span{font-size:12px}body.nexo-mode .context-card b{font-size:14px}}
@media(min-width:821px) and (max-width:1180px){.content{padding:24px}.metric{padding:4px 16px}.metric b,.aguas-context .metric b{font-size:28px}.nw-shell{grid-template-columns:170px minmax(0,1fr)}.nw-history{padding:20px 10px}.nw-stream{padding:28px 24px}.nw-head{padding:16px 22px}.nw-context{margin:0 22px}.nw-welcome h2{font-size:30px}.nw-composer-wrap{padding:0 22px 16px}.nw-compose-left>span{display:none}}
@media(max-width:820px){.topbar{padding:0 12px;gap:10px}.content{padding:20px 16px 110px}.section-head{gap:16px;margin-bottom:22px;flex-wrap:wrap}.section-head h1{font-size:28px}.section-head p{font-size:14px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;margin-bottom:20px}.metric{padding:20px;border-bottom:1px solid #e6ebf1}.metric:nth-child(2n){border-right:0}.metric:nth-last-child(-n+2){border-bottom:0}.metric b,.aguas-context .metric b{font-size:26px}.grid{gap:16px}.content .card{padding:22px}.content .aa-priority{padding:24px}.aa-priority h3{font-size:23px}.aa-priority .secondary{margin-top:8px}.gt-kpi{font-size:34px}.gt-progress{gap:24px;flex-wrap:wrap}.gt-progress b{font-size:28px}.nw-shell{height:calc(100dvh - 212px);min-height:390px;border-radius:12px;display:flex}.nw-history{width:min(270px,85%)}.nw-head{padding:14px 16px;gap:9px}.nw-head h2{font-size:16px}.nw-head-actions{gap:6px}.nw-head button{font-size:12px;min-height:36px}.nw-context{margin:0 16px;padding:10px 0;font-size:12px}.nw-context-panel{margin:0 16px;padding:12px}.nw-stream{padding:22px 18px}.nw-welcome{padding:14px 0}.nw-welcome .nw-mark{width:40px;height:40px;border-radius:11px;margin-bottom:20px}.nw-welcome h2{font-size:28px}.nw-welcome p{font-size:15px}.nw-starters{grid-template-columns:1fr;margin-top:22px}.nw-starters button{min-height:54px;padding:15px 2px}.nw-composer-wrap{padding:0 12px 12px}.nw-composer{padding:12px 14px;border-radius:18px}.nw-composer textarea{min-height:48px}.nw-disclosure{font-size:12px;margin-top:10px}.nw-proposal{padding-left:16px}.nw-proposal h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.nw-starters button{transition:none}}
