/* Cotometru RED x AI v4.1 — contextual assistant integrated in existing v3.7 experience */
.cot41 .site-head .links{gap:2px}
.cot41 .site-head .links>a,.cot41 .site-head .links>details>summary{font-size:12px;white-space:nowrap}
.cot41 .cm-ai-nav{background:rgba(94,214,221,.075)!important;color:#9ae9e9!important;border:1px solid rgba(89,209,217,.24)!important;border-radius:10px;font-weight:750!important}
.cot41 .cm-ai-nav:hover{background:rgba(98,210,217,.15)!important;box-shadow:0 0 0 1px rgba(103,220,226,.2),0 6px 15px rgba(0,0,0,.15)}
.cot41 .cot41-admin-dropdown{position:relative;align-self:center;flex:0 0 auto;z-index:120}
.cot41 .cot41-admin-dropdown>summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none;padding:10px 11px;color:#d7e2ee;font-weight:750;outline-offset:3px;border-radius:9px;min-height:38px}
.cot41 .cot41-admin-dropdown>summary::-webkit-details-marker{display:none}
.cot41 .cot41-admin-dropdown[open]>summary,.cot41 .cot41-admin-dropdown>summary:hover{background:#202b38;color:#fff}
.cot41 .cot41-admin-dropdown>summary>span{color:#8edfe1;font-size:15px}
.cot41 .cot41-admin-menu{position:absolute;right:0;top:calc(100% + 10px);width:238px;padding:7px;background:#121c29;border:1px solid #385060;border-radius:14px;box-shadow:0 18px 48px #0009;display:flex;flex-direction:column;gap:2px}
.cot41 .cot41-admin-menu a{padding:10px 12px;display:block;border-radius:9px;color:#e3edf5;text-decoration:none;font-size:12px;font-weight:650}
.cot41 .cot41-admin-menu a:hover,.cot41 .cot41-admin-menu a:focus-visible{background:#253747;color:#fff}
.cot41 .cot41-ai-ask{display:flex;align-items:center;gap:10px;margin:6px 0 14px;background:linear-gradient(95deg,#171e2c,#111923);border:1px solid #33495b;border-radius:14px;padding:7px 8px 7px 13px;min-height:58px;box-shadow:0 7px 22px #0003;position:relative}
.cot41 .cot41-ai-mark{display:inline-flex;align-items:center;justify-content:center;color:#9bebed;background:#203644;border:1px solid #386476;font-size:16px;line-height:1;border-radius:10px;width:34px;height:34px;flex:0 0 34px}
.cot41 .cot41-ai-ask label{font-size:12px;font-weight:800;color:#e6eef5;white-space:nowrap}
.cot41 .cot41-ai-ask input{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;color:#edf7ff;font-size:13px;font-weight:500;line-height:1.45;padding:9px 7px;outline:0}
.cot41 .cot41-ai-ask:focus-within{border-color:#73cdd7;box-shadow:0 0 0 3px #73cdd72d}
.cot41 .cot41-ai-ask input::placeholder{color:#91a9ba;opacity:1}
.cot41 .cot41-ai-ask button{white-space:nowrap;cursor:pointer;font-weight:750;font-size:12px;padding:10px 16px;border:1px solid #ba5260;background:#e44b5d;color:white;border-radius:10px;min-height:39px;transition:background .16s,transform .16s}
.cot41 .cot41-ai-ask button:hover{background:#fb5c6f;transform:translateY(-1px)}
.cot41 .cot41-ai-overview{display:grid;grid-template-columns:minmax(0,1fr) 245px;align-items:center;gap:24px;margin:10px 0 12px;padding:25px 26px;background:linear-gradient(130deg,#141e2a,#121925 70%,#17232f);border:1px solid #344658;border-radius:18px}
.cot41 .cot41-ai-overview h1{font-size:clamp(29px,3.4vw,40px);line-height:1.07;letter-spacing:-.03em;margin:9px 0 10px}
.cot41 .cot41-ai-overview h1 em{font-style:normal;color:#ff9094}
.cot41 .cot41-ai-overview p{color:#b9cbdb;font-size:13px;line-height:1.65;max-width:620px;margin:0}
.cot41 .cot41-ai-facts{background:#101b28;border:1px solid #2d4659;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:10px}
.cot41 .cot41-ai-facts>div{display:flex;flex-direction:column;gap:4px;border-bottom:1px solid #2a3848;padding-bottom:8px}
.cot41 .cot41-ai-facts small{color:#a9bdcc;font-size:11px}
.cot41 .cot41-ai-facts b{color:#edf6fa;font-size:14px}
.cot41 .cot41-ai-facts>a{color:#7fe0e6;font-size:12px;font-weight:750;text-decoration:none}
.cot41 .cot41-ai-wrap{max-width:1120px;margin-top:5px}
.cot41 .cot41-ai-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 17px}
.cot41 .cot41-ai-shortcuts>a{color:#b9ccda;background:#141d29;border:1px solid #304457;border-radius:11px;padding:9px 14px;font-size:12px;font-weight:700;text-decoration:none;transition:background .18s,border-color .18s}
.cot41 .cot41-ai-shortcuts>a:hover{background:#1d2a39;color:#fff;border-color:#65969c}
.cot41 .cm-ai-question{margin-top:12px}
.cot41 .cm-ai-question label{color:#e2e9f3}
.cot41 .cot41-clear-history{text-align:right;margin:8px 0 18px}
.cot41 .cot41-clear-history button{border:0;padding:7px 9px;background:transparent;color:#a7bac9;cursor:pointer;font-size:12px;text-decoration:underline;text-underline-offset:4px}
.cot41 .cot41-clear-history button:hover{color:#fff}
.cot41 .cot41-context-ask,.cot41 .cot41-offer-assist{display:flex;gap:12px;align-items:center;border:1px solid #2e4b5b;background:#13212d;border-radius:12px;padding:12px 15px;margin:12px 0 17px}
.cot41 .cot41-context-ask span:nth-child(2){flex:1;color:#c8d7e4;font-size:12px;font-weight:650}
.cot41 .cot41-context-ask a,.cot41 .cot41-offer-assist>a{font-size:12px;font-weight:780;color:#7fe2e8;text-decoration:none;white-space:nowrap}
.cot41 .cot41-context-ask a:hover,.cot41 .cot41-offer-assist>a:hover{color:#fff;text-decoration:underline}
.cot41 .cot41-offer-assist{justify-content:space-between;align-items:center}
.cot41 .cot41-offer-assist>div{display:flex;align-items:center;gap:10px;min-width:0}
.cot41 .cot41-offer-assist strong,.cot41 .cot41-offer-assist small{display:block}
.cot41 .cot41-offer-assist strong{font-size:12px;color:#e8f2f7}
.cot41 .cot41-offer-assist small{font-size:11px;color:#a7bfcd;margin-top:4px}
.cot41 a:focus-visible,.cot41 button:focus-visible,.cot41 summary:focus-visible{outline:3px solid #83e4e9;outline-offset:3px}
@media(max-width:980px){.cot41 .cot41-ai-overview{grid-template-columns:1fr}.cot41 .cot41-ai-facts{display:grid;grid-template-columns:1fr 1fr;align-items:center}.cot41 .cot41-admin-dropdown{align-self:stretch}.cot41 .cot41-admin-menu{left:0;right:auto;position:static;width:auto;box-shadow:none}.cot41 .cot41-admin-dropdown>summary{padding:12px 16px}}
@media(max-width:650px){.cot41 .cot41-ai-ask{flex-wrap:wrap;gap:5px;padding:10px 11px}.cot41 .cot41-ai-ask label{flex:1}.cot41 .cot41-ai-ask input{order:3;flex-basis:100%;background:#0b1520!important;border-radius:9px;padding:12px 9px;margin-top:3px}.cot41 .cot41-ai-ask button{order:4;width:100%}.cot41 .cot41-ai-overview{padding:19px 16px}.cot41 .cot41-ai-facts{grid-template-columns:1fr}.cot41 .cot41-context-ask,.cot41 .cot41-offer-assist{flex-wrap:wrap}.cot41 .cot41-context-ask a,.cot41 .cot41-offer-assist>a{margin-left:44px}.cot41 .cot41-ai-shortcuts a{padding:8px 11px}}
@media(prefers-reduced-motion:reduce){.cot41 .cot41-ai-ask button,.cot41 .cot41-ai-shortcuts a{transition:none!important}}

.cot41 .cot41-offer-explain{max-width:1080px;margin:8px auto 35px}
.cot41 .cot41-offer-explain .cot41-ai-overview{margin-top:15px}
.cot41 .cot41-offer-questions{display:grid;grid-template-columns:1.12fr .88fr;gap:16px;margin-top:17px}
.cot41 .cot41-offer-questions .panel{padding:20px}
.cot41 .cot41-offer-questions h2{font-size:20px;margin:0 0 10px}
.cot41 .cot41-offer-questions p{color:#b5c8d8;font-size:13px;line-height:1.7}
.cot41 .cot41-leg-list{padding-left:21px}
.cot41 .cot41-leg-list li{font-size:14px;padding:7px 0;border-bottom:1px solid #314454}
.cot41 .cot41-leg-list li small{display:block;color:#a3b8c7;font-size:11px;margin-top:4px}
@media(max-width:760px){.cot41 .cot41-offer-questions{grid-template-columns:1fr}}

/* v4.2 — richer event shells and info cards inspired by boost trackers, while preserving Cotometru data integrity */
.cot41 .v34-events{display:flex;flex-direction:column;gap:18px}
.cot41 .v34-group-count{color:#9cb2c1;font-size:12px;margin:0 0 4px 2px}
.cot41 .v34-event{border-radius:22px;background:linear-gradient(180deg,#0f1724,#0c1320 100%);border:1px solid #293c50;box-shadow:0 16px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.03);overflow:hidden}
.cot41 .v34-event-head{padding:16px 18px;background:linear-gradient(135deg,#071d36 0%,#0c2138 52%,#081628 100%);border-bottom:1px solid rgba(108,143,171,.22);display:flex;align-items:flex-start;justify-content:space-between;gap:18px;position:relative}
.cot41 .v34-event-head::after{content:"";position:absolute;inset:auto 0 0 0;height:1px;background:linear-gradient(90deg,transparent,rgba(111,176,228,.28),transparent)}
.cot41 .v34-event-head h2{font-size:clamp(18px,2vw,22px);line-height:1.16;letter-spacing:-.03em;color:#f5fbff;margin:0}
.cot41 .v34-event-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px;color:#a7bfd1;margin-bottom:7px;font-weight:700}
.cot41 .v34-amount{background:#f5f7fa;color:#1c2430;border:0;padding:9px 14px;border-radius:14px;font-size:12px;font-weight:800;box-shadow:0 8px 20px rgba(0,0,0,.14);white-space:nowrap}
.cot41 .v34-card-grid{padding:16px;background:radial-gradient(520px 220px at 100% 0,rgba(63,152,255,.08),transparent 72%),radial-gradient(420px 180px at 0 100%,rgba(255,83,112,.08),transparent 72%),linear-gradient(180deg,#0d1724,#101827);gap:14px}
.cot41 .v34-card.cot42-card{min-height:0;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));border:1px solid rgba(114,135,154,.25);backdrop-filter:blur(10px);border-radius:20px;box-shadow:0 18px 35px rgba(0,0,0,.22);padding:14px 14px 13px;gap:10px;position:relative;overflow:hidden}
.cot41 .v34-card.cot42-card::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;background:linear-gradient(135deg,rgba(255,255,255,.18),transparent 26%,transparent 74%,rgba(96,194,255,.12));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.cot41 .v34-card.cot42-card::after{content:"";position:absolute;inset:auto -80px -120px auto;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(77,200,255,.14),transparent 66%);pointer-events:none}
.cot41 .v34-card.cot42-card:hover{transform:translateY(-4px);border-color:rgba(129,182,225,.42);box-shadow:0 24px 48px rgba(0,0,0,.34),0 0 0 1px rgba(115,197,255,.09)}
.cot41 .cot42-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.cot41 .cot42-head-left{display:flex;flex-wrap:wrap;gap:7px;align-items:center;min-width:0}
.cot41 .cot42-quick-actions{display:flex;gap:6px;flex:0 0 auto}
.cot41 .cot42-quick-actions .v34-btn{width:34px;min-width:34px;height:34px;min-height:34px;padding:0;border-radius:11px;justify-content:center;background:#162434;border:1px solid rgba(122,150,175,.28);box-shadow:none}
.cot41 .cot42-quick-actions .v34-btn span{display:none}
.cot41 .cot42-quick-actions .v34-btn .cot35-ico{width:15px;height:15px}
.cot41 .cot42-quick-actions .v34-btn:hover{background:#203449;border-color:#5e809e;box-shadow:0 8px 18px rgba(0,0,0,.2)}
.cot41 .cot42-book-line{display:flex;align-items:center;gap:7px;color:#9eb3c4;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.cot41 .cot42-book{color:#dfe9f2}
.cot41 .cot35-card-legs{display:flex;flex-direction:column;gap:8px}
.cot41 .cot35-card-legs li{background:rgba(10,20,31,.35);border:1px solid rgba(103,122,138,.16);border-radius:14px;padding:10px 12px;color:#f0f5fa;line-height:1.42;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
.cot41 .v34-odd-row{display:flex;align-items:center;justify-content:flex-start;gap:12px;border:1px solid rgba(93,123,148,.34);border-radius:16px;background:linear-gradient(135deg,rgba(23,41,60,.9),rgba(18,31,46,.95));padding:11px 12px;min-height:72px}
.cot41 .v34-odd-row strong{font-size:32px;line-height:1;color:#66f0b6;text-shadow:0 0 18px rgba(89,233,176,.16)}
.cot41 .v34-odd-row del{font-size:19px;color:#94a8bc}
.cot41 .v34-odds-arrow{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:rgba(229,66,98,.14);color:#ff8b9e;box-shadow:0 0 0 1px rgba(255,104,132,.14) inset}
.cot41 .cot42-chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.cot41 .cot42-chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:8px 12px;border-radius:12px;background:#edf2f0;color:#28313a;font-size:12px;font-weight:800;line-height:1.15;box-shadow:0 1px 0 rgba(255,255,255,.4) inset}
.cot41 .cot42-chip--ev{background:#e4f7ea;color:#0d845b}
.cot41 .cot42-chip--time{background:#eef1f4;color:#3d4a57}
.cot41 .cot42-chip--phase{background:#eef2f6;color:#425262}
.cot41 .cot42-phase--live{background:#eef1f4;color:#5a6471}
.cot41 .cot42-phase--settled{background:#eef1f4;color:#485767}
.cot41 .cot42-phase--review{background:#fff3d9;color:#8a5b00}
.cot41 .cot42-chip--profit{background:#eef1f4;color:#41505e}
.cot41 .cot42-chip--profit.is-positive{background:#dcf8ea;color:#0b8d59}
.cot41 .cot42-chip--profit.is-negative{background:#ffe6e7;color:#b33245}
.cot41 .cot42-status-line{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.cot41 .cot42-meta-line{display:flex;align-items:center;gap:7px;color:#98aec0;font-size:11px}
.cot41 .cot42-meta-line .cot35-ico{width:13px;height:13px;color:#7f96aa}
.cot41 .cot42-actions{display:flex;justify-content:flex-start;margin-top:2px}
.cot41 .cot42-actions .v34-btn-main{width:100%;justify-content:center;min-height:42px;border-radius:13px;font-size:12px;font-weight:800;letter-spacing:.01em}
.cot41 .v34-phase{font-size:14px;color:#dce7f3;margin:12px 2px 0;font-weight:800}
@media (max-width:980px){.cot41 .v34-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.cot41 .v34-event-head{padding:15px 14px;align-items:flex-start}.cot41 .v34-event-meta{font-size:11px}.cot41 .v34-amount{padding:8px 12px;font-size:11px}.cot41 .v34-card-grid{grid-template-columns:1fr;padding:12px}.cot41 .v34-card.cot42-card{padding:13px}.cot41 .v34-odd-row strong{font-size:26px}.cot41 .cot42-chip{min-height:32px;padding:7px 11px;font-size:11px}}
@media (max-width:460px){.cot41 .v34-event-head{flex-direction:column;gap:10px}.cot41 .v34-amount{align-self:flex-start}.cot41 .cot42-card-head{gap:8px}.cot41 .v34-card.cot42-card{border-radius:18px}.cot41 .cot42-chip-row{gap:7px}.cot41 .cot42-chip{font-size:10.5px;padding:7px 10px}.cot41 .v34-odd-row{gap:10px;padding:10px}.cot41 .v34-odd-row del{font-size:16px}.cot41 .cot42-quick-actions .v34-btn{width:32px;min-width:32px;height:32px;min-height:32px}}
