/* HockAI — Banquier IA Cockpit Dark V4.0
 * Surcouche de présentation limitée à la section Banquier IA.
 * Ne modifie ni les règles de mise, ni la sécurité Supabase, ni les vues natives.
 */
#tab-banquier.hcv-ready {
  --hcv-cyan:#50e1f2; --hcv-mint:#65ebb0; --hcv-ice:#b8f4ff;
  --hcv-white:#eef8ff; --hcv-muted:#94aec5; --hcv-subtle:#66849f;
  --hcv-border:rgba(111,173,205,.21); --hcv-border-strong:rgba(89,201,229,.48);
  --hcv-bg:#05111f; --hcv-surface:#091c2d; --hcv-purple:#a98cff;
  background:radial-gradient(ellipse 66% 34% at 52% -5%,rgba(28,161,231,.12),transparent 85%),
             radial-gradient(ellipse 46% 32% at 96% 64%,rgba(77,54,172,.11),transparent 80%),#06101d!important;
  color:var(--hcv-white); min-height:0; overflow-y:auto!important; overflow-x:hidden!important;
  scroll-behavior:auto!important; overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch; padding-bottom:max(30px,env(safe-area-inset-bottom,0px));
}
#tab-banquier.hcv-ready *,#tab-banquier.hcv-ready *::before,#tab-banquier.hcv-ready *::after{box-sizing:border-box}
#tab-banquier.hcv-ready button{touch-action:manipulation}
#tab-banquier.hcv-ready .bk8-shell{width:min(1580px,100%);max-width:1580px;min-height:0;margin-inline:auto;padding-inline:clamp(10px,1.6vw,26px)}
#tab-banquier.hcv-ready #mc-shell{font-family:Montserrat,system-ui,-apple-system,sans-serif;display:block;isolation:isolate}
#tab-banquier.hcv-ready #mc-shell .mc-minihead,
#tab-banquier.hcv-ready #mc-shell .mc-desktop-nav,
#tab-banquier.hcv-ready #bk8-desktop-tabs,
#tab-banquier.hcv-ready .bk8-bottom-nav,
#tab-banquier.hcv-ready #mc-cockpit > .mc-hero,
#tab-banquier.hcv-ready #mc-cockpit > .mc-metrics,
#tab-banquier.hcv-ready .mc-mobile-nav{display:none!important}
#tab-banquier.hcv-ready #mc-cockpit[hidden]{display:none!important}
#tab-banquier.hcv-ready #mc-cockpit{padding:0;margin:0!important;background:none!important}
#tab-banquier.hcv-ready .hcv-topbar{
 display:flex;align-items:center;justify-content:space-between;gap:16px;
 min-height:73px;padding:9px clamp(13px,2vw,22px);margin:0 0 11px;
 border:1px solid rgba(76,174,203,.23);border-radius:18px;
 background:linear-gradient(105deg,rgba(12,35,55,.98),rgba(8,22,42,.96));
 box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 42px #01081665;
}
#tab-banquier.hcv-ready .hcv-brand{display:flex;gap:12px;align-items:center;min-width:0}
#tab-banquier.hcv-ready .hcv-brand .hcv-glyph{width:43px;height:43px;flex:none;display:grid;place-items:center;border:1px solid #68e7f9;border-radius:12px 4px 12px 4px;background:linear-gradient(145deg,#6aefff,#039ed7);color:#082039;font:italic 1000 27px/1 Montserrat,system-ui,sans-serif;box-shadow:0 4px 18px #00cde646}
#tab-banquier.hcv-ready .hcv-brand-name>span{display:block;font-size:19px;font-weight:1000;letter-spacing:-.07em;line-height:1;color:#f4fbff}
#tab-banquier.hcv-ready .hcv-brand-name>span span{color:#5ceafa}
#tab-banquier.hcv-ready .hcv-brand-name small{display:block;margin-top:5px;font-size:9px;font-weight:800;letter-spacing:.055em;color:#779bb8}
#tab-banquier.hcv-ready .hcv-head-right{display:flex;align-items:center;gap:9px}
#tab-banquier.hcv-ready .hcv-sync{display:inline-flex;align-items:center;gap:7px;color:#b9efdb;background:rgba(40,153,114,.11);border:1px solid rgba(82,226,170,.23);border-radius:20px;font:800 10px/1.2 Montserrat,sans-serif;white-space:nowrap;padding:9px 12px}
#tab-banquier.hcv-ready .hcv-sync i{color:#57e9b4}
#tab-banquier.hcv-ready .hcv-icon-action{min-width:39px;min-height:39px;display:grid;place-items:center;color:#b9d8e7;background:#10283f;border:1px solid var(--hcv-border);border-radius:11px}
#tab-banquier.hcv-ready .hcv-desktop-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;align-items:stretch;margin-bottom:13px;padding:5px;border:1px solid var(--hcv-border);border-radius:15px;background:#081a2d}
#tab-banquier.hcv-ready .hcv-navbtn{display:flex;min-width:0;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:9px;border-radius:11px;background:transparent;border:1px solid transparent;color:#a5bed3;font:900 11px/1.25 Montserrat,sans-serif;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
#tab-banquier.hcv-ready .hcv-navbtn i{font-size:15px;color:#5ec9ed;flex:none}
#tab-banquier.hcv-ready .hcv-navbtn[data-hcv-view="series"] i{color:#d2a7ff}
#tab-banquier.hcv-ready .hcv-navbtn[data-hcv-view="plan"] i{color:#ffd27f}
#tab-banquier.hcv-ready .hcv-navbtn[data-hcv-view="portfolio"] i{color:#7bd5ff}
#tab-banquier.hcv-ready .hcv-navbtn[data-hcv-view="analysis"] i{color:#77e9b9}
#tab-banquier.hcv-ready .hcv-navbtn[data-hcv-view="journal"] i{color:#b49aff}
#tab-banquier.hcv-ready .hcv-navbtn.is-active{background:linear-gradient(110deg,#173c56,#19415d);border-color:#2a80a5;color:#eefbff;box-shadow:inset 0 0 0 1px #6bceea19}
#tab-banquier.hcv-ready .hcv-navbtn:focus-visible,#tab-banquier.hcv-ready .hcv-panel button:focus-visible{outline:2px solid var(--hcv-cyan);outline-offset:2px}
#tab-banquier.hcv-ready .hcv-hero{min-height:208px;display:flex;position:relative;isolation:isolate;align-items:center;justify-content:space-between;gap:15px;overflow:hidden;padding:clamp(22px,2.5vw,36px) clamp(20px,3vw,40px);margin:0 0 12px;border:1px solid rgba(88,200,235,.29);border-radius:23px;background:radial-gradient(ellipse at 87% 36%,#184a738a,transparent 37%),linear-gradient(115deg,#092b44 0%,#0d2945 53%,#101733 100%)}
#tab-banquier.hcv-ready .hcv-hero:after{content:"";position:absolute;z-index:-1;inset:0;background:repeating-radial-gradient(circle at 75% 75%,transparent 0 39px,rgba(90,209,234,.065) 40px 41px);mask-image:linear-gradient(90deg,transparent,black)}
#tab-banquier.hcv-ready .hcv-eyebrow{display:block;margin-bottom:7px;color:#6aebfa;font-weight:950;font-size:10px;letter-spacing:.13em;line-height:1.5}
#tab-banquier.hcv-ready .hcv-eyebrow i{margin-right:5px}
#tab-banquier.hcv-ready .hcv-hero h1{font-size:clamp(26px,3.3vw,47px);line-height:1.12;letter-spacing:-.052em;margin:0 0 9px;font-weight:1000;color:#fff}
#tab-banquier.hcv-ready .hcv-hero h1 em{font-style:normal;color:#77f0f5}
#tab-banquier.hcv-ready .hcv-hero p{max-width:615px;font:600 12px/1.65 Montserrat,sans-serif;color:#b3cbdd;margin:0}
#tab-banquier.hcv-ready .hcv-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
/* Glace NHL en filigrane : asset local, aucun chargement distant. */
#tab-banquier.hcv-ready .hcv-hero{
 background:radial-gradient(ellipse at 87% 36%,rgba(28,102,160,.28),transparent 38%),
 linear-gradient(115deg,rgba(7,29,48,.92),rgba(8,35,65,.86) 56%,rgba(12,24,50,.74)),
 url('../assets/hockai-cockpit-ice-v4.svg') center/cover no-repeat;
}
#tab-banquier.hcv-ready .hcv-btn{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 16px;border-radius:11px;font:950 11px/1.3 Montserrat,sans-serif;border:1px solid #4dcce87a}
#tab-banquier.hcv-ready .hcv-btn-primary{color:#041d2c;background:linear-gradient(100deg,#76f1f4,#37cce6);box-shadow:0 8px 22px #04b8dc2a}
#tab-banquier.hcv-ready .hcv-btn-ghost{color:#d3eafb;background:#11283f;border-color:#416683}
#tab-banquier.hcv-ready .hcv-hero-emblem{flex:none;min-width:200px;min-height:153px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#b7ecff;transform:rotate(-5deg);opacity:.83}
#tab-banquier.hcv-ready .hcv-hero-emblem i{font-size:58px;color:#66e6ef;filter:drop-shadow(0 0 20px #32bbee80)}
#tab-banquier.hcv-ready .hcv-hero-emblem span{font-size:22px;font-weight:1000;letter-spacing:.12em}
#tab-banquier.hcv-ready .hcv-hero-emblem small{font:900 9px/1.4 Montserrat,sans-serif;letter-spacing:.25em;color:#8cddec}
#tab-banquier.hcv-ready .hcv-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
#tab-banquier.hcv-ready .hcv-kpi{display:flex;min-width:0;align-items:center;gap:12px;min-height:114px;padding:16px;border:1px solid var(--hcv-border);border-radius:17px;background:linear-gradient(130deg,#102b43e8,#0a1c2fe8)}
#tab-banquier.hcv-ready .hcv-kpi[data-tone="cyan"]{border-color:#4fcee969}
#tab-banquier.hcv-ready .hcv-kpi[data-tone="green"]{background:linear-gradient(145deg,#0b3a36d8,#0d2231e8)}
#tab-banquier.hcv-ready .hcv-kpi[data-tone="purple"]{background:linear-gradient(145deg,#231e42,#0b2035)}
#tab-banquier.hcv-ready .hcv-kpi-icon{width:41px;height:41px;flex:none;display:grid;place-items:center;border-radius:12px;background:#103952;color:#76e6fa;font-size:18px}
#tab-banquier.hcv-ready .hcv-kpi[data-tone="green"] .hcv-kpi-icon{color:#64eab2;background:#104738}
#tab-banquier.hcv-ready .hcv-kpi[data-tone="purple"] .hcv-kpi-icon{color:#c7a4ff;background:#352856}
#tab-banquier.hcv-ready .hcv-kpi div{min-width:0}
#tab-banquier.hcv-ready .hcv-kpi small{display:block;color:#b8ccdc;font:900 9px/1.3 Montserrat,sans-serif;text-transform:uppercase;letter-spacing:.035em}
#tab-banquier.hcv-ready .hcv-kpi strong{display:block;margin:7px 0 4px;color:#f3fcff;font:1000 clamp(20px,2.15vw,30px)/1.2 Montserrat,sans-serif;letter-spacing:-.04em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tab-banquier.hcv-ready .hcv-kpi[data-tone="green"] strong{color:#73f0bd}
#tab-banquier.hcv-ready .hcv-kpi[data-tone="purple"] strong{color:#d1b8ff}
#tab-banquier.hcv-ready .hcv-kpi span:last-child{color:#7e9eaf;font:700 9px/1.3 Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-workspace{display:grid;grid-template-columns:minmax(246px,.75fr) minmax(0,2fr);gap:12px;margin:0 0 25px;align-items:start}
#tab-banquier.hcv-ready .hcv-primary,#tab-banquier.hcv-ready .hcv-aside{min-width:0;display:grid;gap:12px}
#tab-banquier.hcv-ready .hcv-panel{min-width:0;overflow:hidden;border:1px solid var(--hcv-border);border-radius:18px;padding:19px;background:linear-gradient(150deg,#0c253a,#071728);box-shadow:inset 0 1px #ffffff08}
#tab-banquier.hcv-ready .hcv-panel h2{margin:0;color:#f0f8ff;font:1000 clamp(16px,1.45vw,21px)/1.25 Montserrat,sans-serif;letter-spacing:-.025em}
#tab-banquier.hcv-ready .hcv-score h2,#tab-banquier.hcv-ready .hcv-trend h2,#tab-banquier.hcv-ready .hcv-shortcuts h2{padding-bottom:14px;border-bottom:1px solid #7794a32c;font-size:15px}
#tab-banquier.hcv-ready .hcv-score h2 i,#tab-banquier.hcv-ready .hcv-trend h2 i,#tab-banquier.hcv-ready .hcv-shortcuts h2 i{color:#63e5f0;margin-right:8px}
#tab-banquier.hcv-ready .hcv-score-row{display:flex;justify-content:space-between;gap:9px;align-items:center;border-bottom:1px solid #5c84991a;padding:12px 0;color:#a2bdd0;font:700 11px/1.35 Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-score-row:last-child{border:0;padding-bottom:0}
#tab-banquier.hcv-ready .hcv-score-row strong{font:1000 15px/1.15 Montserrat,sans-serif;color:#f4fbff}
#tab-banquier.hcv-ready .hcv-trend{background:linear-gradient(145deg,#0b2235,#0b182a)}
#tab-banquier.hcv-ready #hcv-graph{height:140px;margin:8px 0 0;display:grid;place-items:center}
#tab-banquier.hcv-ready #hcv-graph svg{width:100%;max-width:420px;height:100%}
#tab-banquier.hcv-ready .hcv-empty-graph{color:#779eb4;font:700 11px/1.5 Montserrat,sans-serif;text-align:center}
#tab-banquier.hcv-ready #hcv-graph-caption{font:650 10px/1.5 Montserrat,sans-serif;color:#7a9aaf;margin:7px 0 0}
#tab-banquier.hcv-ready .hcv-shortcuts button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;text-align:left;margin-top:8px;padding:9px 12px;border:1px solid #355e76;border-radius:11px;color:#d1e8f7;background:#0a2a3f;font:850 11px/1.3 Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-shortcuts button i{color:#60e6f5;font-size:14px;width:18px;text-align:center}
#tab-banquier.hcv-ready .hcv-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
#tab-banquier.hcv-ready .hcv-section-heading .hcv-eyebrow{margin-bottom:5px;font-size:8.5px}
#tab-banquier.hcv-ready .hcv-linkbtn{flex:none;display:inline-flex;align-items:center;gap:7px;color:#a5edfa;border:1px solid #3a789b;background:#153149;padding:9px 11px;border-radius:10px;font:850 10px/1.3 Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-filterline{display:flex;gap:7px;margin-bottom:10px}
#tab-banquier.hcv-ready .hcv-team-search{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:0 13px;min-height:44px;background:#061a2c;border:1px solid #315872;border-radius:11px;color:#61daef}
#tab-banquier.hcv-ready .hcv-team-search input{display:block;min-width:0;width:100%;height:42px;background:transparent!important;border:0!important;box-shadow:none!important;outline:none!important;color:#eafaff;font:700 12px Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-team-search input::placeholder{color:#7495a9}
#tab-banquier.hcv-ready #hcv-reset-filters{flex:none;width:44px;border-radius:11px;border:1px solid #315872;background:#0c283c;color:#93eaf6}
#tab-banquier.hcv-ready .hcv-chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}
#tab-banquier.hcv-ready .hcv-chips button{background:#0a2337;border:1px solid #315671;color:#8fb5ca;border-radius:99px;padding:9px 13px;min-height:34px;font:900 10px Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-chips button.is-active{background:#0a4b5e;border-color:#48d4e8;color:#acf6ff}
#tab-banquier.hcv-ready .hcv-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#tab-banquier.hcv-ready .hcv-placeholder{grid-column:1/-1;border:1px dashed #315572;border-radius:12px;background:#081d30;color:#90b4c9;padding:24px 15px;font:700 11px/1.65 Montserrat,sans-serif;text-align:center}
#tab-banquier.hcv-ready .hcv-teamcard{min-width:0;position:relative;display:block;text-align:left;border:1px solid #31536a;border-left:3px solid var(--hcv-team,#3ed4e3);border-radius:13px;padding:13px;background:linear-gradient(125deg,#102c42,#0a1b30);color:#f2fcff;transition:border-color .15s,background .15s}
#tab-banquier.hcv-ready .hcv-teamcard.is-selected{border-color:#6ee7f5;border-left-color:var(--hcv-team,#58dce9);background:linear-gradient(120deg,#15374e,#102a43);box-shadow:inset 0 0 0 1px #7dddf626}
#tab-banquier.hcv-ready .hcv-teamcard-top{display:flex;align-items:center;gap:9px;min-width:0}
#tab-banquier.hcv-ready .hcv-teamabbr{display:grid;place-items:center;min-width:41px;height:39px;flex:none;border:1px solid var(--hcv-team,#46d9e7);border-radius:10px;background:#102535;font:1000 11px Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-teamcard-top strong{font:950 12px/1.2 Montserrat,sans-serif;min-width:0}
#tab-banquier.hcv-ready .hcv-teamstatus{display:inline-block;margin:9px 0 6px;padding:4px 8px;background:#112b41;border:1px solid #315470;border-radius:99px;color:#a5c5d6;font:800 8px/1.4 Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-teamstatus[data-status="active"]{color:#f0ca80;border-color:#9f7a43;background:#44321b66}
#tab-banquier.hcv-ready .hcv-teamstatus[data-status="pending"]{color:#b7daff;border-color:#5c86b7;background:#24476f55}
#tab-banquier.hcv-ready .hcv-teamstatus[data-status="done"]{color:#91efbe;border-color:#43876a;background:#0b493c66}
#tab-banquier.hcv-ready .hcv-teammeta{display:block;min-height:19px;color:#9fbbce;font:650 9px/1.5 Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-teamsep{display:block;height:1px;background:#718b9c30;margin:9px 0}
#tab-banquier.hcv-ready .hcv-teamrow{display:flex;justify-content:space-between;align-items:center;gap:5px;margin:5px 0}
#tab-banquier.hcv-ready .hcv-teamrow small{color:#90b1c3;font:700 9px/1.4 Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-teamrow b{font:950 12px/1.2 Montserrat,sans-serif;color:#9cf4c9}
#tab-banquier.hcv-ready .hcv-entry{border-color:#3c6c86;background:linear-gradient(135deg,#0d2d45,#10213b)}
#tab-banquier.hcv-ready .hcv-tag{display:inline-flex;align-items:center;justify-content:center;max-width:48%;padding:8px 10px;border:1px solid #4a7e91;border-radius:20px;color:#a9eff6;background:#0a3348;font:800 9px Montserrat,sans-serif;text-align:center}
#tab-banquier.hcv-ready .hcv-entry-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:13px}
#tab-banquier.hcv-ready .hcv-entry-steps span{min-width:0;padding:10px 7px;border:1px solid #385670;background:#0c2236;border-radius:9px;color:#91afc5;text-align:center;font:800 9px/1.4 Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-entry-steps span.is-current{color:#a2f0fa;border-color:#46b7c9;background:#104554}
#tab-banquier.hcv-ready .hcv-entry-steps span i{margin-right:3px}
#tab-banquier.hcv-ready .hcv-entry-highlight{display:flex;align-items:center;justify-content:space-between;gap:13px;border:1px solid #315e79;border-radius:12px;background:#061b2f;padding:15px;margin-bottom:11px}
#tab-banquier.hcv-ready .hcv-entry-highlight>div{min-width:0}
#tab-banquier.hcv-ready .hcv-entry-highlight small{display:block;color:#8caec3;text-transform:uppercase;font:800 9px/1.45 Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-entry-highlight strong{display:block;color:#eefbff;font:1000 17px/1.3 Montserrat,sans-serif;margin:4px 0}
#tab-banquier.hcv-ready .hcv-entry-highlight span{color:#a2c4d9;font:700 10px/1.4 Montserrat,sans-serif}
#tab-banquier.hcv-ready #hcv-selected-code{display:grid;place-items:center;width:48px;height:48px;flex:none;background:#10344e;border:1px solid #4d92ad;border-radius:12px;color:#9cebf3;font:1000 13px/1 Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-entry-info>p{color:#9db8ca;font:650 11px/1.65 Montserrat,sans-serif;margin:11px 0 14px}
#tab-banquier.hcv-ready .hcv-entry-footer{display:flex;align-items:center;justify-content:space-between;gap:14px}
#tab-banquier.hcv-ready .hcv-entry-footer>span{font:650 10px/1.5 Montserrat,sans-serif;color:#91b2c7;max-width:53%}
#tab-banquier.hcv-ready .hcv-entry-footer>span i{color:#6ee1ce}
#tab-banquier.hcv-ready .hcv-advanced{border:1px solid #284763;background:#081a2c;border-radius:15px;margin:15px 0 22px;overflow:hidden}
#tab-banquier.hcv-ready .hcv-advanced>summary{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:52px;padding:15px 20px;color:#d6eafa;font:850 12px/1.5 Montserrat,sans-serif;list-style:none}
#tab-banquier.hcv-ready .hcv-advanced>summary::-webkit-details-marker{display:none}
#tab-banquier.hcv-ready .hcv-advanced>summary>span{font:650 10px/1.5 Montserrat,sans-serif;color:#83a4bb;margin-left:auto}
#tab-banquier.hcv-ready .hcv-advanced>summary>i:first-child{color:#66e9eb}
#tab-banquier.hcv-ready .hcv-advanced[open]>summary{border-bottom:1px solid #31506e}
#tab-banquier.hcv-ready .hcv-advanced-body{display:grid;gap:13px;padding:13px}
#tab-banquier.hcv-ready .hcv-advanced-body>*{margin:0!important;max-width:none!important}
#tab-banquier.hcv-ready .hcv-mobile-nav{display:none}
#tab-banquier.hcv-ready .hcv-more-layer{position:fixed;inset:0;z-index:1450;background:#020d18bf;backdrop-filter:blur(10px);display:grid;place-items:center;padding:16px}
#tab-banquier.hcv-ready .hcv-more-layer[hidden]{display:none!important}
#tab-banquier.hcv-ready .hcv-more-dialog{width:min(430px,100%);border:1px solid #4e9cb6;background:linear-gradient(155deg,#112b44,#061726);border-radius:20px;padding:18px;box-shadow:0 24px 80px #000b}
#tab-banquier.hcv-ready .hcv-more-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
#tab-banquier.hcv-ready .hcv-more-head h2{font:950 18px Montserrat,sans-serif;color:#fff}
#tab-banquier.hcv-ready .hcv-more-head button{display:grid;place-items:center;width:37px;height:37px;border:1px solid #446480;border-radius:10px;color:#e4f7ff}
#tab-banquier.hcv-ready .hcv-more-dialog>button{display:flex;align-items:center;gap:13px;text-align:left;width:100%;min-height:48px;border:1px solid #345877;background:#0d2840;border-radius:11px;padding:12px;color:#d7f2ff;font:850 12px Montserrat,sans-serif;margin:8px 0}
#tab-banquier.hcv-ready .hcv-more-dialog>button i{color:#72e4f5}
#tab-banquier.hcv-ready .hcv-toast{position:fixed;z-index:1600;left:50%;bottom:100px;transform:translateX(-50%);width:min(440px,calc(100% - 28px));border:1px solid #59c2d9;border-radius:13px;background:#12344a;color:#e1fbff;padding:12px;font:800 12px/1.6 Montserrat,sans-serif;text-align:center;box-shadow:0 15px 45px #000a}
#tab-banquier.hcv-ready .hcv-toast[hidden]{display:none!important}
/* Les contrôles bancaires et le journal Supabase restent natifs. On harmonise uniquement leurs contours. */
#tab-banquier.hcv-ready [data-bk8-view-panel]:not(.hidden) {min-width:0;max-width:100%;padding-bottom:24px}
#tab-banquier.hcv-ready .bk8-card,#tab-banquier.hcv-ready #sn-wrapper .sn-team{border-radius:16px}
#tab-banquier.hcv-ready #sn-form-dialog[open],#tab-banquier.hcv-ready #sn-history-dialog[open]{z-index:2000;max-height:100dvh}
@media(min-width:1100px){
 #tab-banquier.hcv-ready .hcv-workspace{grid-template-columns:260px minmax(0,1fr)}
 #tab-banquier.hcv-ready .hcv-primary{grid-template-columns:minmax(0,1.25fr) minmax(260px,.8fr);align-items:start}
 #tab-banquier.hcv-ready .hcv-franchises{grid-row:1/3}
 #tab-banquier.hcv-ready .hcv-entry{grid-column:2}
 #tab-banquier.hcv-ready .hcv-teams{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1099px){
 #tab-banquier.hcv-ready .hcv-workspace{grid-template-columns:minmax(210px,.8fr) minmax(0,1.6fr)}
 #tab-banquier.hcv-ready .hcv-kpi{padding:12px;gap:8px}
 #tab-banquier.hcv-ready .hcv-kpi-icon{width:34px;height:34px}
 #tab-banquier.hcv-ready .hcv-teams{grid-template-columns:1fr 1fr}
}
@media(max-width:767px){
 #tab-banquier.hcv-ready{padding-bottom:calc(117px + env(safe-area-inset-bottom,0px))!important;scroll-padding-bottom:calc(116px + env(safe-area-inset-bottom,0px))}
 #tab-banquier.hcv-ready .bk8-shell{padding:0 9px!important;max-width:100%!important;margin:0 auto}
 #tab-banquier.hcv-ready .hcv-topbar{min-height:64px;margin-bottom:9px;padding:8px 13px;border-radius:15px}
 #tab-banquier.hcv-ready .hcv-brand .hcv-glyph{width:36px;height:36px;font-size:23px}
 #tab-banquier.hcv-ready .hcv-brand-name>span{font-size:17px}
 #tab-banquier.hcv-ready .hcv-brand-name small{font-size:8px}
 #tab-banquier.hcv-ready .hcv-sync{font-size:0;min-width:32px;height:32px;padding:0;display:grid;place-items:center}
 #tab-banquier.hcv-ready .hcv-sync i{font-size:11px}
 #tab-banquier.hcv-ready .hcv-icon-action{width:34px;min-width:34px;min-height:34px}
 #tab-banquier.hcv-ready .hcv-desktop-nav{display:none!important}
 #tab-banquier.hcv-ready .hcv-hero{min-height:0;margin:0 0 9px;border-radius:17px;padding:20px 17px}
 #tab-banquier.hcv-ready .hcv-eyebrow{font-size:8px;letter-spacing:.095em}
 #tab-banquier.hcv-ready .hcv-hero h1{font-size:clamp(24px,7.8vw,32px);margin-bottom:9px}
 #tab-banquier.hcv-ready .hcv-hero p{font-size:11px;max-width:100%}
 #tab-banquier.hcv-ready .hcv-hero-emblem{display:none}
 #tab-banquier.hcv-ready .hcv-hero-actions{margin-top:16px;gap:7px}
 #tab-banquier.hcv-ready .hcv-hero-actions .hcv-btn{flex:1;min-width:130px;min-height:42px;font-size:10px;padding:9px}
 #tab-banquier.hcv-ready .hcv-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:9px}
 #tab-banquier.hcv-ready .hcv-kpi{display:block;min-height:103px;border-radius:14px;padding:11px 12px}
 #tab-banquier.hcv-ready .hcv-kpi-icon{width:auto;height:auto;display:inline-block;background:none!important;font-size:13px;margin-bottom:5px}
 #tab-banquier.hcv-ready .hcv-kpi small{font-size:8px}
 #tab-banquier.hcv-ready .hcv-kpi strong{font-size:clamp(20px,6vw,26px);margin:5px 0 3px}
 #tab-banquier.hcv-ready .hcv-kpi span:last-child{font-size:8px}
 #tab-banquier.hcv-ready .hcv-workspace{grid-template-columns:minmax(0,1fr);gap:10px}
 #tab-banquier.hcv-ready .hcv-primary{order:1;gap:10px}
 #tab-banquier.hcv-ready .hcv-aside{order:2;gap:10px}
 #tab-banquier.hcv-ready .hcv-panel{border-radius:16px;padding:14px}
 #tab-banquier.hcv-ready .hcv-section-heading{margin-bottom:12px}
 #tab-banquier.hcv-ready .hcv-panel h2{font-size:16px}
 #tab-banquier.hcv-ready .hcv-linkbtn{font-size:9px;padding:8px}
 #tab-banquier.hcv-ready .hcv-chips{display:grid;grid-template-columns:1fr 1fr;gap:7px}
 #tab-banquier.hcv-ready .hcv-chips button{font-size:9px;min-height:39px}
 #tab-banquier.hcv-ready .hcv-teams{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #tab-banquier.hcv-ready .hcv-teamcard{padding:10px}
 #tab-banquier.hcv-ready .hcv-teamcard-top{gap:6px}
 #tab-banquier.hcv-ready .hcv-teamabbr{min-width:33px;height:34px;font-size:9px}
 #tab-banquier.hcv-ready .hcv-teamcard-top strong{font-size:10px}
 #tab-banquier.hcv-ready .hcv-teamstatus{font-size:7.5px;padding:3px 5px;margin:8px 0 5px}
 #tab-banquier.hcv-ready .hcv-teammeta,#tab-banquier.hcv-ready .hcv-teamrow small{font-size:8px}
 #tab-banquier.hcv-ready .hcv-teamrow b{font-size:11px}
 #tab-banquier.hcv-ready .hcv-entry-steps span{font-size:7.5px;padding:8px 4px}
 #tab-banquier.hcv-ready .hcv-entry-footer{display:grid;gap:10px}
 #tab-banquier.hcv-ready .hcv-entry-footer>span{max-width:100%}
 #tab-banquier.hcv-ready .hcv-entry-footer .hcv-btn{width:100%;min-height:49px}
 #tab-banquier.hcv-ready .hcv-mobile-nav{position:fixed;z-index:1035;left:max(7px,env(safe-area-inset-left,0px));right:max(7px,env(safe-area-inset-right,0px));bottom:calc(5px + env(safe-area-inset-bottom,0px));height:74px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;gap:1px;background:rgba(7,22,40,.975);border:1px solid rgba(88,167,204,.5);border-radius:19px;padding:4px;box-shadow:0 13px 38px #000b;backdrop-filter:blur(18px)}
 #tab-banquier.hcv-ready .hcv-mobile-nav .hcv-navbtn{display:flex;min-width:0;min-height:63px;padding:6px 1px;gap:4px;flex-direction:column;align-items:center;justify-content:center;border-radius:13px;white-space:normal;text-align:center;font-size:8px;line-height:1.15}
 #tab-banquier.hcv-ready .hcv-mobile-nav .hcv-navbtn i{font-size:18px}
 #tab-banquier.hcv-ready .hcv-mobile-nav .hcv-navbtn.is-active{background:#153f55;border-color:#4f8fac}
 #tab-banquier.hcv-ready .hcv-mobile-nav .hcv-navbtn span{max-width:100%;overflow:hidden;text-overflow:ellipsis}
 #tab-banquier.hcv-ready .hcv-mobile-nav #hcv-mobile-more i{color:#a4adfe}
 #tab-banquier.hcv-ready .hcv-more-layer{padding:14px}
 #tab-banquier.hcv-ready .hcv-more-dialog{padding:15px}
 #tab-banquier.hcv-ready .hcv-advanced>summary{font-size:11px;flex-wrap:wrap}
 #tab-banquier.hcv-ready .hcv-advanced>summary>span{flex-basis:100%;margin-left:27px}
 #tab-banquier.hcv-ready #sn-wrapper .sn-dialog[open]{position:fixed!important;z-index:2000;max-height:100dvh;overscroll-behavior:contain}
 #tab-banquier.hcv-ready #bk8-view-plan,#tab-banquier.hcv-ready #bk8-view-portfolio,#tab-banquier.hcv-ready #bk8-view-analysis,#tab-banquier.hcv-ready #bk8-view-recommendations,#tab-banquier.hcv-ready #bk8-view-betlab{padding-bottom:100px!important}
}
@media(max-width:365px){
 #tab-banquier.hcv-ready .hcv-teams{grid-template-columns:1fr}
 #tab-banquier.hcv-ready .hcv-mobile-nav .hcv-navbtn{font-size:7px}
 #tab-banquier.hcv-ready .hcv-brand-name small{font-size:7px}
 #tab-banquier.hcv-ready .hcv-section-heading .hcv-linkbtn{max-width:100px}
}
@media(prefers-reduced-motion:reduce){#tab-banquier.hcv-ready .hcv-navbtn,#tab-banquier.hcv-ready .hcv-teamcard{transition:none}}
#tab-banquier.hcv-ready .hcv-teamaction{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:#91e5f1;margin-top:9px;font:900 8px/1.3 Montserrat,sans-serif}
#tab-banquier.hcv-ready .hcv-teamaction i{font-size:9px}
@media(max-width:767px){
 #tab-banquier.hcv-ready .hcv-mobile-nav .hcv-navbtn{font-size:9.5px}
 #tab-banquier.hcv-ready .hcv-kpi small{font-size:9px}
 #tab-banquier.hcv-ready .hcv-score-row{font-size:12px}
 #tab-banquier.hcv-ready .hcv-teamcard-top strong{font-size:11px}
}

/* V4.2 — navigation directe iPhone, cockpit de session, reprise contextuelle.
   Ajout strictement circonscrit à #tab-banquier. */
#tab-banquier.hcv-ready .hcv-desktop-nav{grid-template-columns:repeat(7,minmax(0,1fr))}
#tab-banquier.hcv-ready .hcv-context-nav{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:0 1px 10px;margin-top:-3px;margin-bottom:2px}
#tab-banquier.hcv-ready .hcv-context-nav::-webkit-scrollbar{display:none}
#tab-banquier.hcv-ready .hcv-context-btn{flex:0 0 auto;min-height:37px;padding:8px 13px;border:1px solid rgba(94,154,191,.27);border-radius:20px;background:#0a1e30;color:#9fbed2;font:800 11px/1.2 Montserrat,system-ui,sans-serif;white-space:nowrap;touch-action:manipulation;transition:background .14s ease,color .14s ease}
#tab-banquier.hcv-ready .hcv-context-btn.is-active{background:linear-gradient(110deg,#164764,#122c4f);border-color:#47c8e4;color:#e8fcff;box-shadow:inset 0 0 0 1px #6ceaff1c}
#tab-banquier.hcv-ready .hcv-context-btn:focus-visible{outline:2px solid #58e7f0;outline-offset:2px}
#tab-banquier.hcv-ready .hcv-session{display:grid;gap:13px;margin:0 0 13px;border:1px solid #3b75965e;border-radius:18px;padding:19px 20px;background:linear-gradient(140deg,#08263d,#0a1a31 78%)}
#tab-banquier.hcv-ready .hcv-session-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
#tab-banquier.hcv-ready .hcv-session-head h2{color:#edfaff;font:950 21px/1.15 Montserrat,system-ui,sans-serif}
#tab-banquier.hcv-ready .hcv-session-head p{margin-top:5px;color:#94b7ce;font:550 11px/1.45 Montserrat,system-ui,sans-serif}
#tab-banquier.hcv-ready .hcv-session-head .hcv-btn{white-space:nowrap;font-size:11px;min-height:39px}
#tab-banquier.hcv-ready .hcv-session-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#tab-banquier.hcv-ready .hcv-session-stats>span{display:flex;flex-direction:column;gap:4px;padding:10px 13px;background:#07192c;border:1px solid #244963;border-radius:11px;color:#9fc1d4;font:700 10px/1.35 Montserrat,system-ui,sans-serif}
#tab-banquier.hcv-ready .hcv-session-stats strong{color:#e8f8ff;font-size:21px;font-weight:1000}
#tab-banquier.hcv-ready .hcv-session-stats>span:nth-child(1) strong{color:#71e4f7}
#tab-banquier.hcv-ready .hcv-session-stats>span:nth-child(2) strong{color:#ffd187}
#tab-banquier.hcv-ready .hcv-session-draft:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #52dabb;border-radius:12px;background:#0b393b}
#tab-banquier.hcv-ready .hcv-session-draft>span{display:grid;gap:3px;color:#b0ecdf;font-size:11px;min-width:0}
#tab-banquier.hcv-ready .hcv-session-draft strong{color:#effffa;font-size:12px}
#tab-banquier.hcv-ready .hcv-session-draft small{font-size:9px}
#tab-banquier.hcv-ready .hcv-session-draft button{flex:none;border:1px solid #7af0c3;color:#052a29;background:#65e6bf;border-radius:10px;padding:11px 13px;font-weight:900;font-size:11px}
#tab-banquier.hcv-ready .hcv-session-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#tab-banquier.hcv-ready .hcv-session-teams>button{display:flex;align-items:center;text-align:left;gap:10px;min-height:57px;padding:10px 12px;border:1px solid #2d5876;border-radius:13px;color:#edfaff;background:#0a2137;min-width:0}
#tab-banquier.hcv-ready .hcv-session-teams .hcv-session-code{display:grid;place-items:center;min-width:39px;height:35px;border-radius:9px;background:#113a55;border:1px solid #357b9d;color:#7de8fd;font-weight:1000;font-size:11px}
#tab-banquier.hcv-ready .hcv-session-teams>button>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}
#tab-banquier.hcv-ready .hcv-session-teams strong{font:850 11px/1.2 Montserrat,system-ui,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tab-banquier.hcv-ready .hcv-session-teams small{font:600 10px/1.2 Montserrat,system-ui,sans-serif;color:#9dbdd1}
#tab-banquier.hcv-ready .hcv-session-teams>button>i{color:#75d6ed}
#tab-banquier.hcv-ready .hcv-quick-entry{display:none}
#tab-banquier.hcv-ready .hcv-more-layer .hcv-more-dialog{max-height:min(90dvh,660px);overflow-y:auto}
@media(max-width:767px){
  #tab-banquier.hcv-ready{padding-bottom:calc(164px + env(safe-area-inset-bottom,0px))!important;scroll-padding-bottom:calc(164px + env(safe-area-inset-bottom,0px))!important}
  #tab-banquier.hcv-ready .hcv-mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important;height:76px;z-index:1036}
  #tab-banquier.hcv-ready .hcv-mobile-nav .hcv-navbtn{font-size:10px;min-height:64px;gap:5px;padding:6px 2px}
  #tab-banquier.hcv-ready .hcv-mobile-nav .hcv-navbtn i{font-size:20px}
  #tab-banquier.hcv-ready .hcv-mobile-nav .hcv-navbtn[data-hcv-view="journal"] i{color:#c29cff}
  #tab-banquier.hcv-ready .hcv-context-nav{position:relative;z-index:2;gap:7px;margin:0 0 9px;padding:0 2px 9px}
  #tab-banquier.hcv-ready .hcv-context-btn{min-height:38px;font-size:10px;padding:9px 12px}
  #tab-banquier.hcv-ready .hcv-session{gap:11px;padding:13px;margin-bottom:11px;border-radius:16px}
  #tab-banquier.hcv-ready .hcv-session-head{align-items:start}
  #tab-banquier.hcv-ready .hcv-session-head h2{font-size:17px}
  #tab-banquier.hcv-ready .hcv-session-head p{font-size:10px}
  #tab-banquier.hcv-ready .hcv-session-head .hcv-btn{font-size:9px;min-height:37px;padding:7px 9px}
  #tab-banquier.hcv-ready .hcv-session-stats{gap:6px}
  #tab-banquier.hcv-ready .hcv-session-stats>span{font-size:9px;padding:8px}
  #tab-banquier.hcv-ready .hcv-session-stats strong{font-size:17px}
  #tab-banquier.hcv-ready .hcv-session-teams{grid-template-columns:1fr}
  #tab-banquier.hcv-ready .hcv-session-draft:not([hidden]){flex-wrap:wrap}
  #tab-banquier.hcv-ready .hcv-session-draft button{width:100%}
  #tab-banquier.hcv-ready .hcv-teams{grid-template-columns:1fr!important}
  #tab-banquier.hcv-ready .hcv-teamcard{min-height:140px}
  #tab-banquier.hcv-ready .hcv-quick-entry:not([hidden]){position:fixed;right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(86px + env(safe-area-inset-bottom,0px));z-index:1033;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;max-width:calc(100vw - 24px);padding:8px 15px;border:1px solid #75e9f4;border-radius:22px;background:linear-gradient(120deg,#39d7e9,#6af0ef);color:#042337;box-shadow:0 8px 25px #0009;font:900 11px/1.2 Montserrat,system-ui,sans-serif;white-space:nowrap;touch-action:manipulation}
  #tab-banquier.hcv-ready .hcv-quick-entry.has-draft{background:linear-gradient(110deg,#5decc4,#84f6cd);border-color:#67f7c8}
  #tab-banquier.hcv-ready .hcv-quick-entry[hidden]{display:none!important}
  #tab-banquier.hcv-ready #bk8-view-plan,#tab-banquier.hcv-ready #bk8-view-portfolio,#tab-banquier.hcv-ready #bk8-view-analysis,#tab-banquier.hcv-ready #bk8-view-recommendations,#tab-banquier.hcv-ready #bk8-view-betlab{padding-bottom:calc(130px + env(safe-area-inset-bottom,0px))!important}
  #tab-banquier.hcv-ready #sn-form-dialog[open]{max-height:100dvh;max-height:100svh;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}
  #tab-banquier.hcv-ready #sn-form input,#tab-banquier.hcv-ready #sn-form select,#tab-banquier.hcv-ready #sn-form textarea{font-size:max(16px,1em)}
  #tab-banquier.hcv-ready .hcv-toast{bottom:calc(144px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:359px){
  #tab-banquier.hcv-ready .hcv-mobile-nav .hcv-navbtn{font-size:9px}
  #tab-banquier.hcv-ready .hcv-session-head .hcv-btn{font-size:0;min-width:39px}
  #tab-banquier.hcv-ready .hcv-session-head .hcv-btn i{font-size:13px}
}
@media(prefers-reduced-motion:reduce){#tab-banquier.hcv-ready .hcv-context-btn{transition:none}}
