/* Mobile v2 (14/11/2026): one consistent phone layout on top of the older layers.
   Loaded last; everything is inside max-width:700px. Presentation only. */
@media(max-width:700px){
 :root{--m-pad:14px;--m-radius:16px;--m-text:#111827;--m-muted:#6b7280;--m-faint:#9ca3af;--m-accent:#6d5df0}
 body{-webkit-text-size-adjust:100%}
 #main{padding:8px var(--m-pad) 110px!important}

 /* Page title on every list page, same size everywhere */
 html body #application #main.harmonized-directory>.page-head,html body.mobile-directory #application #main>.page-head,html body #application #main>.page-head{display:flex!important;align-items:center;justify-content:space-between;height:auto!important;min-height:0!important;margin:6px 0 12px!important;padding:0!important;gap:10px}
 html body #application #main>.page-head h1{display:block!important;font-size:28px!important;line-height:1.15!important;letter-spacing:-.02em;margin:0!important;color:var(--m-text)}
 #main>.page-head .eyebrow,#main>.page-head p{display:none!important}
 #main[data-screen=clubs] .club-detail-head,#main .club-hero{margin-top:0}

 /* Readable minimum sizes */
 #main small,#main .cell-caption,#main .ct-helper{font-size:12px}
 #main input,#main select,#main textarea{font-size:16px!important}
 #main input.search,#main select{min-height:44px;border-radius:12px!important}

 /* Bottom navigation: 5 tabs + More sheet */
 .mobile-bottom-nav{grid-template-columns:repeat(5,1fr)!important;padding:6px 6px calc(6px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(12px);border-top:1px solid #e8ebf2!important}
 .mobile-bottom-nav a,.mobile-bottom-nav button{display:flex!important;flex-direction:column;align-items:center;gap:3px;font-size:11px!important;font-weight:600;color:#7a8296;border:0;background:none;padding:6px 0!important;border-radius:12px;font-family:inherit}
 .mobile-bottom-nav svg{width:23px!important;height:23px!important}
 .mobile-bottom-nav .mv2-hidden{display:none!important}
 .mobile-bottom-nav [aria-current=page],.mobile-bottom-nav .active,.mobile-bottom-nav .mv2-more.on{color:var(--m-accent)!important;background:#efedfe!important}
 .mv2-sheet{position:fixed;inset:0;z-index:1000;background:rgba(17,24,39,.35);display:flex;align-items:flex-end}
 .mv2-sheet[hidden]{display:none}
 .mv2-sheet>div{width:100%;background:#fff;border-radius:22px 22px 0 0;padding:10px 14px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px rgba(0,0,0,.12)}
 .mv2-sheet .grab{width:40px;height:5px;border-radius:3px;background:#e5e7eb;margin:2px auto 12px}
 .mv2-sheet a{display:flex;align-items:center;gap:14px;padding:14px 10px;border-radius:14px;color:var(--m-text);font-size:16px;font-weight:600;text-decoration:none}
 .mv2-sheet a:active,.mv2-sheet a.on{background:#f4f3ff;color:var(--m-accent)}
 .mv2-sheet a svg{width:24px;height:24px;color:var(--m-accent)}
 .mv2-sheet a small{display:block;font-size:12.5px;font-weight:400;color:var(--m-muted)}

 /* Cards & panels */
 #main .club-list-panel{border-radius:var(--m-radius)!important;box-shadow:0 1px 2px rgba(16,24,40,.05)!important}

 /* Toolbars: search row, then controls */
 #main .club-toolbar{display:flex!important;flex-wrap:wrap;gap:8px!important;padding:10px!important}
 #main .club-toolbar>*{min-width:0}

 /* Controls: one size everywhere */
 html body #application #main select,html body #application #main input:not([type=checkbox]):not([type=radio]):not([type=file]){font-size:15px!important;min-height:44px}
 html body #application #main .club-toolbar .button,html body #application #main .club-toolbar button{min-height:44px;font-size:14px!important;border-radius:12px!important}

 /* Clubs list: name on top, one quiet line under it */
 html body #application .cll-head{display:none!important}
 html body #application .cll-row{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 10px!important;padding:12px 14px!important;min-height:0!important}
 html body #application .cll-row .cll-club{flex:1 1 calc(100% - 48px);min-width:0;order:1}
 html body #application .cll-row .cll-club b{font-size:15.5px}
 html body #application .cll-row .cll-club small{font-size:12.5px}
 html body #application .cll-row .cll-menu{order:2;flex:none;margin-left:auto}
 html body #application .cll-row .cll-ids{order:3;margin-left:52px;display:flex;gap:6px}
 html body #application .cll-row .cll-deal{order:4;display:flex;align-items:center}
 html body #application .cll-row .cll-deal b{font-size:12.5px;font-weight:600;color:#4b5563;background:#f3f4f6;border-radius:8px;padding:3px 8px}
 html body #application .cll-row .cll-deal small,html body #application .cll-row .cll-margin small{display:none!important}
 html body #application .cll-row .cll-num{order:5;white-space:nowrap;display:flex;align-items:baseline;gap:4px;font-size:12.5px;color:#6b7280;font-weight:600}
 html body #application .cll-row .cll-num small{font-size:12.5px;font-weight:400}
 html body #application .cll-row .cll-margin{order:6;margin-left:auto;font-size:13.5px;font-weight:700}
 html body #application .cll-row .cll-margin:not(.neg):not(.pos){display:none}
 html body #application .cll-row .cll-copy{font-size:12.5px!important;padding:3px 8px!important;border-radius:8px}
 html body #application .cll-row .cll-ref{display:none}

 /* Club page */
 html body #application .club-identity-facts{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px 10px}
 html body #application .club-identity-facts dt{font-size:11.5px!important}
 html body #application .club-identity-facts dd{font-size:14px!important}
 html body #application .club-detail-tabs{display:flex!important;width:100%!important;overflow-x:auto;gap:4px;scrollbar-width:none}
 html body #application .club-detail-tabs>*{flex:1 0 auto;text-align:center;font-size:14px!important}

 /* Contact page tabs */
 html body #application .sfc-tabs{overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap!important}
 html body #application .sfc-tabs>*{flex:0 0 auto;font-size:14px!important}

 /* Contacts directory totals: one row of three */
 html body #application .sfc-dir-totals{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 12px}
 html body #application .sfc-dir-totals .sfc-total{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;border-radius:14px;min-width:0}
 html body #application .sfc-dir-totals .sfc-total small{font-size:11.5px}
 html body #application .sfc-dir-totals .sfc-total b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
 html body #application .sfc-dir-totals .sfc-total em{display:none}

 /* Transactions: three figures on one row */
 html body #application .txu-kpis{grid-template-columns:1fr 1fr!important}
 html body #application .txu-kpis button{grid-column:1/-1!important;display:flex;align-items:center;justify-content:space-between;padding:9px 14px!important}
 html body #application .txu-kpis b{font-size:16px!important}
 html body #application .txu-kpis small{font-size:11px!important}
 html body #application .txu-top .button{white-space:nowrap}

 /* Dashboard: readable labels */
 html body #application #main[data-screen=overview] small,html body #application #main[data-screen=overview] .label{font-size:12px!important}
}
/* Compact top bar + quick "+" (18/11) */
@media(max-width:700px){
 html body #application .sidebar{height:calc(52px + env(safe-area-inset-top))!important;min-height:0!important;padding-top:env(safe-area-inset-top)!important;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:transform .22s ease;border-bottom:1px solid #eef0f4!important;box-shadow:none!important}
 html body #application .sidebar .brand{height:52px;display:flex;align-items:center}
 html body #application .sidebar .brand .splitflow-wordmark{height:24px!important;width:auto!important}
 html body #application .sidebar .brand small{display:none!important}
 html body.mv2-hide-top #application .sidebar{transform:translateY(-110%)}
 .mv2-fab{position:fixed;right:16px;bottom:calc(86px + env(safe-area-inset-bottom));z-index:900;width:56px;height:56px;border-radius:50%;border:0;background:#6d5df0;color:#fff;font-size:30px;line-height:1;display:grid;place-items:center;box-shadow:0 10px 24px rgba(109,93,240,.38);cursor:pointer}
 .mv2-fab:active{transform:scale(.94)}
 body.mv2-no-fab .mv2-fab{display:none}
}
@media(min-width:701px){.mv2-fab{display:none}}

@media(max-width:700px){html body #application .cll-row .cll-num{flex-direction:row!important}html body #application .cll-row .cll-num *{white-space:nowrap}}
@media(max-width:700px){html body #application .cll-row .cll-type{order:3;margin-left:52px;flex:none}html body #application .cll-row .cll-type .cll-type-p{display:none}html body #application .cll-row .cll-type+.cll-ids{margin-left:0}}
