/* Terralys 360 — Integrated workspace */
:root{--t360-navy:#173e62;--t360-blue:#2f6196;--t360-text:#1a344c;--t360-muted:#687f93;--t360-border:#dbe6f0;--t360-bg:#f2f6fb;--t360-azure:#eaf2fc}
body{background:#f1f5fa}#app{overflow:visible}#nav .nav-group-toggle{font-size:11px;letter-spacing:.035em}#nav .nav-group-items button{line-height:1.2;font-size:12px}
.t360-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:5px 0 23px}.t360-kicker{font-size:10px;font-weight:800;color:#3775b5;letter-spacing:.145em;margin-bottom:9px}.t360-heading h1{margin:0;color:#183954;font-size:clamp(25px,2.7vw,38px);letter-spacing:-.045em;line-height:1.18;font-weight:800}.t360-heading p{color:#617b92;font-size:14px;max-width:660px;margin:9px 0 0;line-height:1.6}.t360-heading-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.t360-heading button,.t360-entry button,.t360-context-links button,.t360-surface button,.t360-source button,.t360-chat button,.t360-aside-card button,.t360-comm-row button,.t360-source a{border:1px solid #d3e1ee;background:#fff;border-radius:10px;padding:10px 14px;color:#20527f;font-weight:700;cursor:pointer;text-decoration:none;font-size:12px;transition:background .15s,border-color .15s,transform .15s}.t360-heading button:hover,.t360-entry button:hover,.t360-context-links button:hover,.t360-surface button:hover,.t360-source button:hover,.t360-chat button:hover,.t360-aside-card button:hover,.t360-comm-row button:hover{background:#edf4fc;border-color:#94b5da}.t360-heading button.primary,.t360-entry button.primary,.t360-source button.primary,.t360-chat button.primary,.t360-surface button.primary{background:#295d91;color:#fff;border-color:#295d91}.t360-heading button.primary:hover,.t360-entry button.primary:hover,.t360-chat button.primary:hover{background:#194774}.t360-context-hero{background:linear-gradient(110deg,#173c60,#285d90);color:white;border-radius:17px;padding:25px 27px;display:flex;justify-content:space-between;gap:25px;align-items:center;box-shadow:0 7px 24px rgba(25,70,111,.09);margin:17px 0 21px}.t360-context-hero small{font-size:10px;letter-spacing:.13em;font-weight:800;color:#a9cce7}.t360-context-hero h2{font-size:21px;letter-spacing:-.035em;color:#fff;margin:6px 0}.t360-context-hero p{font-size:12px;color:#c6dbed;margin:0 0 15px}.t360-context-links{display:flex;gap:7px;flex-wrap:wrap}.t360-context-links button{background:rgba(255,255,255,.10);color:#fff;border-color:rgba(255,255,255,.23);padding:8px 12px}.t360-context-links button:hover{background:rgba(255,255,255,.2)}.t360-mini-metrics{display:grid;grid-template-columns:repeat(3,minmax(75px,1fr));gap:14px;min-width:355px}.t360-mini-metrics>div{border-left:1px solid rgba(255,255,255,.19);padding:8px 0 8px 15px}.t360-mini-metrics strong{font-size:27px;letter-spacing:-.04em;display:block;color:white}.t360-mini-metrics span{font-size:10px;display:block;color:#c2d8ec;max-width:95px;line-height:1.5}.t360-pillar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.t360-entry{background:white;display:flex;flex-direction:column;align-items:flex-start;padding:25px 23px 22px;border:1px solid var(--t360-border);border-radius:17px;min-height:273px;box-shadow:0 1px 3px rgba(20,50,80,.02)}.t360-entry-top{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.t360-symbol{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;font-size:27px;background:#e8f1fc;color:#285e9c;font-weight:600}.t360-entry-02 .t360-symbol{color:#6c52a0;background:#f1edfb}.t360-entry-03 .t360-symbol{color:#24777b;background:#e6f4f2}.t360-entry-index{letter-spacing:.08em;color:#92a5b6;font-weight:800;font-size:10px}.t360-entry h2{margin:0;color:#173a58;font-size:19px;letter-spacing:-.04em}.t360-entry>p{color:#657d92;font-size:12.5px;line-height:1.65;flex:1;margin:10px 0 16px}.t360-tagrow{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.t360-tagrow span{background:#f3f7fb;padding:6px 9px;font-size:10px;border-radius:7px;color:#526f8a;font-weight:600}.t360-entry>button{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;font-size:12px}.t360-two{display:grid;grid-template-columns:1.32fr 1fr;gap:17px;margin:19px 0 18px}.t360-surface{background:white;border:1px solid var(--t360-border);border-radius:17px;padding:22px 22px 24px;min-width:0}.t360-surface-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.t360-surface-head small,.t360-aside-card>small{font-size:10px;letter-spacing:.12em;font-weight:800;color:#6f91b3}.t360-surface-head h3,.t360-aside-card h3{margin:5px 0 0;color:#1c405e;font-size:17px;letter-spacing:-.03em}.t360-cards{display:flex;flex-direction:column;gap:5px}.t360-line{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #ecf1f5;padding:11px 0}.t360-line:last-child{border:0}.t360-marker{width:8px;height:8px;border-radius:50%;background:#3e83b7;margin-top:6px;flex:none}.t360-marker.t360-warn{background:#d8993e}.t360-line>div{flex:1;min-width:0}.t360-line strong{font-size:12px;color:#2c4962;line-height:1.45;display:block}.t360-line small{font-size:10.5px;color:#71899d;display:block;margin-top:3px}.t360-line button{padding:7px 10px}.t360-pulse{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #eef3f8;padding:11px 0;color:#698095;font-size:12px}.t360-pulse strong{color:#24537c;font-size:12px;white-space:nowrap}.t360-note{font-size:11px;color:#778ca0;line-height:1.55;margin-top:12px}.t360-empty{color:#74899c;font-size:13px;line-height:1.6;margin:15px 0}.t360-nexo-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;align-items:start}.t360-chat{background:white;border:1px solid var(--t360-border);border-radius:17px;overflow:hidden;min-width:0}.t360-chat-top{padding:16px 19px;background:#f8fbff;border-bottom:1px solid #e1eaf3;display:flex;gap:11px;align-items:center}.t360-chat-top>div{flex:1}.t360-chat-top strong{font-size:14px;color:#254968;display:block}.t360-chat-top small{font-size:11px;color:#7591a8;display:block;margin-top:3px}.t360-nexo-avatar{width:41px;height:41px;border-radius:12px;background:#e8eef9;color:#345da4;display:grid;place-items:center;font-size:25px}.t360-mode{background:#e9f3f9;color:#38748b;font-size:10px;font-weight:800;border-radius:12px;padding:6px 9px}.t360-thread{height:390px;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:13px}.t360-msg{display:flex;align-items:flex-start;max-width:90%}.t360-msg>div{background:#edf4fb;border:1px solid #e1ebf5;border-radius:14px 14px 14px 5px;padding:12px 15px;min-width:0}.t360-msg-user{align-self:flex-end}.t360-msg-user>div{background:#225785;color:white;border-color:#225785;border-radius:14px 14px 5px 14px}.t360-msg small{font-size:10px;font-weight:800;color:#49749d}.t360-msg-user small{color:#c4ddf0}.t360-msg p{font-size:12.5px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}.t360-refs{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.t360-refs span{background:rgba(65,120,175,.12);padding:5px 7px;border-radius:5px;font-size:10px;color:#385f83}.t360-chat-welcome{text-align:center;max-width:440px;margin:auto}.t360-chat-welcome>span{font-size:42px;color:#4172a9}.t360-chat-welcome h3{font-size:18px;color:#234866;margin:8px 0}.t360-chat-welcome p{font-size:12px;line-height:1.7;color:#73879a}.t360-suggestions{display:flex;gap:7px;flex-wrap:wrap;padding:10px 17px;border-top:1px solid #edf3f8}.t360-suggestions button{font-size:10.5px;padding:7px 10px;background:#f6f9fc}.t360-chat-compose{display:flex;gap:9px;padding:13px 17px;border-top:1px solid #edf3f8;align-items:flex-end}.t360-chat-compose textarea{flex:1;resize:vertical;min-height:51px;max-height:130px;border-radius:10px;border:1px solid #d7e3ed;padding:11px;font-size:13px;font-family:inherit;outline:0}.t360-chat-compose textarea:focus{border-color:#6294c5;box-shadow:0 0 0 3px #eaf2fb}.t360-chat-compose button{flex:none}.t360-chat-aside{display:flex;flex-direction:column;gap:15px}.t360-aside-card{background:white;border:1px solid var(--t360-border);border-radius:15px;padding:19px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.t360-aside-card h3{font-size:16px;margin:0}.t360-aside-card p{font-size:11.5px;line-height:1.7;color:#6c8195;margin:0}.t360-aside-card button{font-size:11px;padding:8px 10px}.t360-remote-state{display:block;font-size:10px;color:#4c7f91;background:#e8f4f6;padding:8px;border-radius:7px}.t360-source-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px;background:linear-gradient(120deg,#eaf3fb,#fff)}.t360-source-hero h2{font-size:19px;color:#204967;margin:8px 0}.t360-source-hero p{color:#6b8196;font-size:12px;line-height:1.6;max-width:620px}.t360-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:16px}.t360-source{background:white;border:1px solid var(--t360-border);border-radius:15px;padding:21px;min-width:0}.t360-source-icon{width:38px;height:38px;border-radius:10px;background:#ebf3fc;color:#3469a2;font-size:25px;text-align:center;line-height:38px;margin-bottom:14px}.t360-source>span{font-size:10px;letter-spacing:.08em;color:#6280a0;font-weight:800}.t360-source h3{font-size:16px;color:#234a6b;margin:8px 0}.t360-source p{font-size:12px;line-height:1.55;color:#6d8399}.t360-source-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:20px}.t360-source-aux{grid-template-columns:repeat(2,minmax(0,1fr))}.t360-cap{display:flex;gap:7px;flex-direction:column;border-top:1px solid #e3ebf5;margin-top:14px;padding-top:13px}.t360-cap small{color:#67829a}.t360-cap select{width:100%;padding:10px;border:1px solid #d9e3ee;border-radius:8px;background:white;color:#274c70;font-size:12px}.t360-source-error{background:#fff5e9;color:#855921!important;padding:10px;border-radius:8px}.t360-comm-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:16px}.t360-comm-aside{display:flex;flex-direction:column;gap:14px}.t360-comm-row{padding:15px 0;border-top:1px solid #e9f0f6;display:flex;gap:13px;align-items:center}.t360-comm-row>div{flex:1;min-width:0}.t360-comm-row h3{font-size:14px;color:#244766;margin:8px 0 4px}.t360-comm-row p,.t360-comm-row small{display:block;font-size:11.5px;color:#6e849a;line-height:1.6;margin:0}.t360-comm-meta{display:flex;align-items:center;gap:9px}.t360-status{display:inline-flex;border-radius:8px;padding:5px 8px;font-size:10px;font-weight:800}.t360-status.pending{background:#fff1da;color:#956327}.t360-status.progress{background:#e7f2ff;color:#256494}.t360-status.ok{background:#e2f4ed;color:#287a5a}.t360-buttons{display:flex;gap:5px}.t360-buttons button.active{background:#285d91;border-color:#285d91;color:white}.t360-none{padding:25px;text-align:center;color:#71879a}.t360-none h3{color:#264c69}.t360-none p{font-size:12px}.t360-comm-history>div{background:#f4f8fc;padding:12px;border-radius:9px;margin:9px 0}.t360-comm-history strong{display:block;color:#25496a;font-size:12px}.t360-comm-history small{display:block;font-size:10px;color:#8295a7}.t360-comm-history p{font-size:12px;line-height:1.5}.t360-test-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.t360-test-row{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--t360-border);border-radius:12px;padding:15px}.t360-test-row>span{display:grid;place-items:center;border-radius:8px;width:31px;height:31px;background:#e7f3ec;color:#267e5f;font-weight:800;flex:none}.t360-test-row>span.off{background:#fff2e1;color:#a36e28}.t360-test-row strong{display:block;color:#264a69;font-size:12px}.t360-test-row small{display:block;color:#7b8fa3;font-size:10.5px;margin-top:4px}.t360-steps{font-size:12px;color:#59748a;line-height:1.8;display:flex;flex-direction:column;gap:9px;margin:17px 0}.t360-steps b{color:#265477}
@media(max-width:1200px){.t360-context-hero{align-items:stretch;flex-direction:column}.t360-mini-metrics{min-width:0}.t360-entry{padding:20px 17px}.t360-entry h2{font-size:16px}.t360-source-grid{gap:10px}}
@media(max-width:980px){.t360-pillar-grid{grid-template-columns:1fr}.t360-entry{min-height:0}.t360-entry>p{flex:0}.t360-two,.t360-nexo-layout,.t360-comm-grid{grid-template-columns:1fr}.t360-chat-aside,.t360-comm-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.t360-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.t360-heading{align-items:stretch;flex-direction:column;gap:10px}.t360-heading-actions{justify-content:flex-start}.t360-context-hero{padding:18px}.t360-mini-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.t360-mini-metrics>div{padding:5px 7px}.t360-mini-metrics strong{font-size:21px}.t360-mini-metrics span{font-size:9px}.t360-source-grid,.t360-source-aux,.t360-chat-aside,.t360-comm-aside,.t360-test-grid{grid-template-columns:1fr}.t360-surface{padding:16px}.t360-source-hero{flex-direction:column;align-items:flex-start}.t360-thread{height:370px;padding:13px}.t360-chat-top{padding:12px}.t360-chat-compose{flex-direction:column;align-items:stretch}.t360-chat-compose textarea{width:100%;box-sizing:border-box}.t360-msg{max-width:97%}.t360-mode{display:none}.t360-comm-row{flex-direction:column;align-items:stretch}}
.t360-param-decision{margin:22px 0 28px}.t360-param-decision>p{color:#667e94;font-size:12px;line-height:1.65}.t360-param-decision>small{color:#7791a7;font-size:10px}.t360-weight-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:10px;align-items:end;margin:15px 0}.t360-weight-form label{font-size:11px;font-weight:700;color:#496b86;display:flex;flex-direction:column;gap:7px}.t360-weight-form input{padding:10px 12px;border:1px solid #d6e4ef;border-radius:8px;font:inherit;width:100%;box-sizing:border-box}.t360-weight-form button{white-space:nowrap}.t360-check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;color:#577891}.t360-check input{width:16px;height:16px}.t360-surface button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1100px){.t360-weight-form{grid-template-columns:repeat(2,minmax(0,1fr))}.t360-weight-form button{grid-column:span 2}}@media(max-width:560px){.t360-weight-form{grid-template-columns:1fr}.t360-weight-form button{grid-column:auto}}
