/* Clarity theme — app-wide: soft blue-grey canvas, white rounded cards, one violet accent.
   Loaded last; restyles existing markup only (no data or behaviour change). */
:root{--cl-bg:#f4f6fb;--cl-card:#ffffff;--cl-line:#e8ebf2;--cl-line-soft:#f0f2f6;--cl-ink:#101828;--cl-text:#344054;--cl-muted:#475467;--cl-accent:#6d5df0;--cl-accent-dark:#5b4bdb;--cl-accent-soft:#f0eefe;--cl-radius:18px;--cl-shadow:0 4px 18px rgba(40,50,90,.05);--sf-accent:#6d5df0;--sf-bg:#f4f6fb}
body,#application,#main{background:var(--cl-bg)!important}
#application{color:var(--cl-ink)}
/* Sidebar */
#application .sidebar{background:#fff!important;border-right:1px solid var(--cl-line)!important}
#application #nav a{border-radius:10px!important;border-left:0!important;font-weight:500;color:var(--cl-muted)!important;transition:background .15s,color .15s}
#application #nav a:hover{background:#f6f7fb!important;color:var(--cl-ink)!important}
#application #nav a.active{background:var(--cl-accent-soft)!important;color:var(--cl-accent)!important;font-weight:600!important;box-shadow:none!important}
#application #nav a.active::before,#application #nav a.active::after{display:none!important}
/* Headings */
#application #main h1{letter-spacing:-.7px}
#application .page-head h1{font-size:28px}
/* Cards */
#application :is(.club-list-panel,.dash-panel,.detail-card,.sf-pure-chart,.dw-week-card,.sf-focus-metric,.statement-clean-panel,.club-summary>div,.ws-notice,.ws-stats>div,.club-profile-card,.dw-money-card,.dw-activity-card,.calendar-panel){background:var(--cl-card)!important;border:1px solid var(--cl-line)!important;border-radius:var(--cl-radius)!important;box-shadow:var(--cl-shadow)!important}
#application :is(.club-list-panel,.dash-panel,.statement-clean-panel){overflow:hidden}
/* Toolbars on top of lists */
#application .club-toolbar{border-bottom-color:var(--cl-line-soft)!important}
/* Tables */
#application #main table th{font-size:11.5px!important;font-weight:700!important;letter-spacing:.6px;text-transform:uppercase;color:var(--cl-muted)!important;background:transparent!important}
#application #main table td{border-color:var(--cl-line-soft)!important}
#application #main table tbody tr{transition:background .12s}
#application #main table tbody tr:hover>td{background:#f8f9fe}
/* Inputs */
#application :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]):not([type=file]),select,textarea){border-radius:11px!important;border:1px solid #d0d5dd!important;background-color:#fff;font-family:inherit}
#application :is(input,select,textarea):focus{outline:2px solid #c9c2fb!important;outline-offset:0;border-color:var(--cl-accent)!important}
#application :is(.search,select){min-height:42px}
/* Buttons */
#application .button{border-radius:11px!important;font-weight:600!important;border-color:#d0d5dd!important;color:var(--cl-text)}
#application .button.primary{background:var(--cl-accent)!important;border-color:var(--cl-accent)!important;color:#fff!important;box-shadow:0 2px 8px rgba(109,93,240,.25)!important}
#application .button.primary:hover{background:var(--cl-accent-dark)!important;border-color:var(--cl-accent-dark)!important}
#application .text-button{color:var(--cl-accent)}
/* Badges & tags */
#application .badge{border-radius:7px!important;font-weight:650!important}
/* Tabs: segmented pill */
#application :is(.club-detail-tabs,.results-workspace-tabs){display:flex;gap:6px;background:#eef1f7;border:0!important;border-radius:12px;padding:4px;width:max-content;max-width:100%;overflow-x:auto}
#application .club-detail-tabs a,#application .results-workspace-tabs button{border:0!important;border-radius:9px!important;padding:8px 15px!important;font-weight:600;color:var(--cl-muted)!important;white-space:nowrap;background:transparent}
#application .club-detail-tabs a.active,#application .results-workspace-tabs button.active{background:#fff!important;color:var(--cl-accent)!important;box-shadow:0 1px 4px rgba(40,50,90,.1)}
/* Dashboard: the margin tile becomes the violet hero; arrows and colours follow amounts */
#application .sf-focus-metric.sf-focus-margin{background:linear-gradient(125deg,#6d5df0,#8f7cf8)!important;border-color:transparent!important;box-shadow:0 10px 24px rgba(109,93,240,.25)!important;color:#fff}
#application .sf-focus-metric.sf-focus-margin :is(span,strong,small){color:#fff!important}
#application .sf-focus-metric.sf-focus-margin small{opacity:.85}
#application .sf-focus-metric.sf-focus-margin .sf-focus-metric-icon{background:rgba(255,255,255,.18)!important;color:#fff!important}
#application .sf-focus-receivables strong{color:#b42318!important}
#application .sf-focus-payables strong{color:#067647!important}
#application .dw-progress-bar,#application .dw-progress-bar>span{border-radius:99px}
#application .sf-chart-tabs{background:#f2f4f7;border-radius:10px;padding:4px}
#application .sf-chart-tabs button{border-radius:8px!important}
#application .sf-chart-tabs button.active{background:#fff!important;color:var(--cl-accent)!important;box-shadow:0 1px 4px rgba(40,50,90,.1)}
/* Modal */
#modal{border-radius:20px!important;border:1px solid var(--cl-line)!important;box-shadow:0 24px 60px rgba(16,24,40,.18)!important}
/* Footer */
#application footer{color:#667085}
/* Dashboard layout: greeting, key figures, then the chart */
#application #main:has(>.cl-dash-head){display:flex;flex-direction:column;gap:20px}
#application #main:has(>.cl-dash-head)>.dashboard-weekly{display:contents}
#application #main:has(>.cl-dash-head)>.cl-dash-head{order:0}
#application #main:has(>.cl-dash-head)>.dashboard-weekly>.sf-focus-metrics{order:1;margin:0!important}
#application #main:has(>.cl-dash-head)>.sf-margin-chart{order:2;margin:0!important}
#application #main:has(>.cl-dash-head)>.dashboard-weekly>*:not(.sf-focus-metrics){order:3;margin-top:0!important}
#application #main:has(>.cl-dash-head)>footer,#application #main:has(>.cl-dash-head)>.app-footer{order:9}
.cl-dash-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}
.cl-dash-head p{margin:0;font-size:13px;color:#475467}.cl-dash-head h1{margin:4px 0 0;font-size:28px;letter-spacing:-.7px;color:#101828}
.cl-dash-actions{display:flex;gap:10px;flex-wrap:wrap}.cl-dash-actions .button{text-decoration:none}
/* Accounts group headers */
#application :is(.pa-group>summary,.pa-club-group>summary,details.pa-group-details>summary){border-radius:12px!important;background:#f8f9fc!important}
@media (max-width:760px){.cl-dash-head h1{font-size:23px}.cl-dash-actions{width:100%}.cl-dash-actions .button{flex:1;justify-content:center;text-align:center}}
/* Same colour rule everywhere: red = owed to you, green = you owe */
#application .dw-balance-card .dw-positive{color:#b42318!important}
#application .dw-balance-card .dw-negative{color:#067647!important}
#application .dw-balance-card{background:#fff!important;border:1px solid var(--cl-line)!important;border-radius:var(--cl-radius)!important;box-shadow:var(--cl-shadow)!important}
#application .statement-clean-directory td.empty{width:auto!important;display:table-cell;text-align:center;padding:24px 12px!important;color:#667085}
@media (max-width:760px){#application .statement-clean-directory tr:has(>td.empty){display:block}#application .statement-clean-directory td.empty{display:block!important;width:100%!important;box-sizing:border-box}}
/* Reset data */
.data-reset-lead{margin:0 0 12px;color:#344054}.data-reset-list{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.data-reset-item{display:flex;gap:12px;align-items:flex-start;border:1px solid #e8ebf2;border-radius:12px;padding:11px 13px;cursor:pointer}
.data-reset-item:has(input:checked){border-color:#f0a3a3;background:#fff8f8}.data-reset-item:has(input:disabled){opacity:.85}
.data-reset-item input{margin-top:3px}.data-reset-item b{font-weight:600;color:#101828}.data-reset-item em{font-style:normal;font-size:12px;color:#475467;background:#f2f4f7;border-radius:99px;padding:1px 8px;margin-left:4px}
.data-reset-item small{display:block;color:#667085;font-size:12.5px;margin-top:2px}.data-reset-note{margin:0 0 10px;color:#b54708;font-size:13px}
#application .button.danger-button,.button.danger-button{background:#d92d20!important;border-color:#d92d20!important;color:#fff!important}.button.danger-button:disabled{opacity:.45}
.text-button.danger{color:#b42318!important}
/* Delete contact */
.sfc-danger{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;border:1px solid #f6d3d3}
.sfc-danger h2{margin:0 0 4px;font-size:16px;color:#b42318}
.sfc-danger p{margin:0;color:#667085;font-size:13px}
.contact-delete-list{list-style:none;margin:6px 0 14px;padding:0;border:1px solid #eef0f5;border-radius:12px}
.contact-delete-list li{display:flex;justify-content:space-between;padding:9px 14px;font-size:14px}
.contact-delete-list li+li{border-top:1px solid #eef0f5}
@media (max-width:640px){.sfc-danger{flex-direction:column;align-items:stretch}}
/* Forms rendered inside a modal: no inner card (the dialog is already the card) */
#modal form.dash-panel{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:0!important;margin:0!important}
#modal .club-form .club-form-grid{gap:16px 18px!important;margin-top:6px}
#modal .club-form .club-form-grid label,#modal .club-form .club-form-grid .field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;color:#475467}
#modal .club-form .club-optional{margin-top:18px;padding-top:14px!important;border-top:1px solid #eef0f5}
#modal .club-form .club-form-bottom{margin-top:18px}
/* ClubGG identities: country flags */
.personal-referral-dialog .referral-avatar.has-flag{width:44px;height:33px;margin:4px 0;border-radius:7px;background:#f4f6fb;padding:0;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(16,24,40,.08)}
.personal-referral-dialog .referral-avatar.has-flag .referral-flag{width:100%;height:100%;object-fit:cover;display:block}
.referral-country{display:flex;align-items:center;gap:10px}
.referral-country select{flex:1;min-width:0}
.referral-country-flag{flex:none;width:36px;height:27px;border-radius:5px;overflow:hidden;background:#f1f3f8;box-shadow:inset 0 0 0 1px rgba(16,24,40,.08)}
.referral-country-flag img{width:100%;height:100%;object-fit:cover;display:block}
.referral-flag-inline{width:18px;height:13.5px;border-radius:2px;object-fit:cover;vertical-align:-2px;margin-right:8px;box-shadow:0 0 0 1px rgba(16,24,40,.08)}
.referral-country select{font-size:13px!important;height:38px}
/* Club photo: progress ring with percentage */
#modal .club-photo-progress.club-photo-ring,.club-photo-progress.club-photo-ring{position:relative;width:64px;height:64px;margin:6px auto 14px;background:none!important;border-radius:50%;overflow:visible;--pct:0}
.club-photo-ring[hidden]{display:none!important}
.club-photo-ring svg{width:64px;height:64px;transform:rotate(-90deg);animation:club-ring-spin 1.4s linear infinite;transform-origin:50% 50%}
.club-photo-ring.is-complete svg{animation:none}
.club-photo-ring circle{fill:none;stroke-width:4.5}
.club-photo-ring .club-ring-track{stroke:#eeecfb}
.club-photo-ring .club-ring-bar{stroke:#6d5df0;stroke-linecap:round;stroke-dasharray:calc(var(--pct)*1) 100;transition:stroke-dasharray .25s linear}
.club-photo-ring.is-complete .club-ring-bar{stroke:#12b76a}
.club-photo-ring .club-ring-pct{position:absolute;inset:0;display:grid;place-items:center;font-size:14px;font-weight:700;color:#34415b;font-variant-numeric:tabular-nums}
.club-photo-ring>span{display:none}
#club-photo-status{text-align:center}
@keyframes club-ring-spin{from{transform:rotate(-90deg)}to{transform:rotate(270deg)}}
@media(prefers-reduced-motion:reduce){.club-photo-ring svg{animation:none}}
/* Currency picker */
.sf-currency-combo{position:relative;display:block}
.sf-currency-combo>input{width:100%;text-transform:uppercase}
.sf-currency-menu{position:fixed;z-index:1000;max-height:260px;box-sizing:border-box;overflow:auto;background:#fff;border:1px solid #e4e7f0;border-radius:12px;box-shadow:0 12px 32px rgba(16,24,40,.14);padding:6px}
.sf-currency-menu[hidden]{display:none}
.sf-currency-menu button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;text-align:left;padding:8px 10px;border-radius:8px;cursor:pointer;font:inherit;font-size:13px;color:#344054}
.sf-currency-menu button b{width:38px;flex:none;font-weight:700;color:#1d2433;font-variant-numeric:tabular-nums}
.sf-currency-menu button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#667085}
.sf-currency-menu button.is-active{background:#f1efff}.sf-currency-menu button.is-active b{color:#6d5df0}
.sf-currency-menu button.is-current span:after{content:" ✓";color:#6d5df0}
.sf-currency-menu p{margin:0;padding:10px;color:#98a2b3;font-size:13px}
/* Club photo: partial AI previews appear behind the ring, sharper at each step */
.club-photo-ring .club-ring-img{display:none}
#modal .club-photo-progress.club-photo-ring.has-image,.club-photo-progress.club-photo-ring.has-image{width:200px;height:200px;border-radius:22px;overflow:hidden;display:grid;place-items:center;box-shadow:0 6px 20px rgba(16,24,40,.12)}
.club-photo-ring.has-image .club-ring-img{display:block;position:absolute;inset:-12px;width:calc(100% + 24px);height:calc(100% + 24px);object-fit:cover;filter:blur(var(--blur,10px));transition:filter .8s ease;animation:club-ring-fade .6s ease}
.club-photo-ring.has-image svg{position:relative;z-index:1;width:64px;height:64px;background:rgba(255,255,255,.82);border-radius:50%;padding:0}
.club-photo-ring.has-image .club-ring-pct{z-index:2}
@keyframes club-ring-fade{from{opacity:0}to{opacity:1}}
.personal-referral-dialog .referral-flag-button{border:0;cursor:pointer;font:inherit;font-size:12px;font-weight:600;transition:box-shadow .15s,transform .15s}
.personal-referral-dialog .referral-flag-button:hover{box-shadow:0 0 0 2px #c9c2fb;transform:scale(1.04)}
.referral-flag-picker{margin:-4px 0 10px;padding:10px;border:1px solid #e8ebf3;border-radius:14px;background:#fafbfe}
.referral-flag-search{width:100%;box-sizing:border-box;height:36px;border:1px solid #e4e7f0;border-radius:10px;padding:0 12px;font:inherit;font-size:13px;background:#fff}
.referral-flag-search:focus{outline:none;border-color:#c9c2fb;box-shadow:0 0 0 3px rgba(109,93,240,.12)}
.referral-flag-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:2px;max-height:210px;overflow:auto;margin-top:8px}
.referral-flag-options button{display:flex;align-items:center;gap:8px;border:0;background:none;border-radius:8px;padding:6px 8px;font:inherit;font-size:12px;color:#344054;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.referral-flag-options button[hidden]{display:none}
.referral-flag-options button:hover,.referral-flag-options button.is-current{background:#f1efff;color:#5a4bd6}
.referral-flag-options img{width:20px;height:15px;border-radius:3px;object-fit:cover;flex:none;box-shadow:0 0 0 1px rgba(16,24,40,.08)}
.referral-flag-options .referral-flag-none{grid-column:1/-1;color:#b42318}
/* New club › Fill from screenshot */
.club-scan{margin:0 0 16px}
.club-scan-button{display:flex;align-items:center;gap:14px;width:100%;border:1.5px dashed #cfc8fb;background:#f8f7ff;border-radius:14px;padding:14px 16px;text-align:left;cursor:pointer;font:inherit;color:#5a4bd6;transition:background .15s,border-color .15s}
.club-scan-button:hover,.club-scan.is-over .club-scan-button{background:#f1efff;border-color:#6d5df0}
.club-scan-button span{display:flex;flex-direction:column;gap:2px}.club-scan-button strong{font-size:14px;font-weight:650}.club-scan-button small{font-size:12px;color:#8a84c9}
.club-scan.is-busy .club-scan-button{cursor:progress;opacity:.75}
.club-scan.is-busy .club-scan-button svg{animation:club-scan-pulse 1s ease-in-out infinite}
.club-scan-status{margin:8px 2px 0;font-size:12px;color:#667085;min-height:0}.club-scan-status:empty{display:none}
.club-scan.is-done .club-scan-status{color:#067647}.club-scan.is-error .club-scan-status{color:#b42318}
#club-settings-form input.club-scan-filled{background:#f1efff!important;transition:background 1.2s}
@keyframes club-scan-pulse{50%{opacity:.35}}
.club-scan-photo{display:flex;align-items:center;gap:8px;margin:8px 2px 0;font-size:12px;font-weight:500;color:#475467;cursor:pointer}
.club-scan-photo[hidden]{display:none}.club-scan-photo input{accent-color:#6d5df0;width:15px;height:15px;margin:0}
#modal .club-photo-progress.club-photo-ring.is-complete{display:none}
/* Dashboard header: profile name + calendar chip */
.cl-dash-head h1{margin:0!important}
.cl-cal-wrap{position:relative}
.cl-cal-chip{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e8ebf3;border-radius:16px;padding:7px 14px 7px 7px;cursor:pointer;font:inherit;color:#101828;box-shadow:0 1px 2px rgba(16,24,40,.04);transition:box-shadow .15s,border-color .15s}
.cl-cal-chip:hover,.cl-cal-chip[aria-expanded="true"]{border-color:#d9d4fd;box-shadow:0 6px 18px rgba(109,93,240,.12)}
.cl-cal-tile{display:flex;flex-direction:column;align-items:center;width:44px;border-radius:11px;overflow:hidden;background:#fff;box-shadow:inset 0 0 0 1px #eceaf9}
.cl-cal-tile em{display:block;width:100%;text-align:center;font-style:normal;font-size:9.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fff;background:linear-gradient(135deg,#7c6cf5,#5b4be0);padding:3px 0}
.cl-cal-tile b{font-size:19px;font-weight:700;line-height:1;padding:5px 0 6px;color:#1d2433;font-variant-numeric:tabular-nums}
.cl-cal-text{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left}
.cl-cal-text strong{font-size:14px;font-weight:650}.cl-cal-text small{font-size:12px;color:#667085}
.cl-cal-caret{color:#98a2b3;margin-left:2px;transition:transform .2s}
.cl-cal-chip[aria-expanded="true"] .cl-cal-caret{transform:rotate(180deg)}
.cl-cal-pop{position:absolute;right:0;top:calc(100% + 10px);z-index:80;width:330px;background:#fff;border:1px solid #e8ebf3;border-radius:18px;box-shadow:0 18px 48px rgba(16,24,40,.16);padding:16px;animation:cl-cal-in .16s ease-out}
@keyframes cl-cal-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.cl-cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.cl-cal-head strong{font-size:15px;font-weight:650;color:#101828}
.cl-cal-head button{width:30px;height:30px;border:0;border-radius:9px;background:#f4f6fb;color:#475467;font-size:18px;line-height:1;cursor:pointer}
.cl-cal-head button:hover{background:#f1efff;color:#6d5df0}
.cl-cal-grid{display:grid;grid-template-columns:26px repeat(7,1fr);gap:2px;align-items:center}
.cl-cal-dow,.cl-cal-wk{font-size:10.5px;font-weight:600;color:#98a2b3;text-align:center;padding:4px 0}
.cl-cal-wk{color:#b5b0e8;font-variant-numeric:tabular-nums}.cl-cal-wk.is-sel{color:#6d5df0}
.cl-cal-day{position:relative;height:34px;border:0;border-radius:10px;background:none;font:inherit;font-size:13px;color:#344054;cursor:pointer;font-variant-numeric:tabular-nums}
.cl-cal-day:hover{background:#f4f3ff}
.cl-cal-day.in-week{background:#f7f6ff}
.cl-cal-day.is-out{color:#c4cad6}
.cl-cal-day.is-today{color:#6d5df0;font-weight:700;box-shadow:inset 0 0 0 1.5px #c9c2fb}
.cl-cal-day.is-sel{background:#6d5df0;color:#fff;font-weight:700;box-shadow:0 4px 10px rgba(109,93,240,.3)}
.cl-cal-day i{position:absolute;left:50%;bottom:4px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:#f59f00}
.cl-cal-day.is-sel i{background:#fff}
.cl-cal-detail{margin-top:12px;padding-top:12px;border-top:1px solid #f0f2f7}
.cl-cal-detail-head{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}
.cl-cal-detail-head strong{font-size:13.5px;color:#101828}.cl-cal-detail-head small{font-size:12px;color:#667085}
.cl-cal-detail p{margin:0;font-size:12.5px;color:#98a2b3}
.cl-cal-detail ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:130px;overflow:auto}
.cl-cal-detail li{display:flex;gap:10px;font-size:13px;color:#344054;background:#f8f9fc;border-radius:9px;padding:7px 10px}
.cl-cal-detail li span{flex:none;min-width:52px;font-size:11.5px;font-weight:600;color:#6d5df0}
.cl-cal-detail li.is-done{color:#98a2b3;text-decoration:line-through}
.cl-cal-foot{display:flex;justify-content:flex-end;margin-top:10px}
.cl-cal-foot button{border:0;background:none;color:#6d5df0;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;padding:4px 6px;border-radius:7px}
.cl-cal-foot button:hover{background:#f1efff}
@media (max-width:760px){.cl-dash-head{flex-wrap:nowrap}.cl-cal-text{display:none}.cl-cal-caret{display:none}.cl-cal-chip{padding:6px}.cl-cal-pop{width:min(330px,calc(100vw - 32px))}}
/* Simplified dashboard */
#application .ds-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
.ds-metrics small.ds-up{color:#067647!important;font-weight:600}.ds-metrics small.ds-down{color:#b42318!important;font-weight:600}
#application .ds-chart{background:#fff;border:1px solid #e8ebf3;border-radius:18px;padding:20px 22px 14px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.ds-chart-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}
.ds-chart-head div>span{display:block;font-size:12.5px;color:#667085;margin-bottom:4px}
.ds-chart-head strong{font-size:24px;font-weight:700;letter-spacing:-.4px;color:#101828;font-variant-numeric:tabular-nums}.ds-chart-head strong.neg{color:#b42318}
.ds-chart-head a{font-size:12.5px;font-weight:600;color:#6d5df0;text-decoration:none;padding:6px 10px;border-radius:9px}.ds-chart-head a:hover{background:#f1efff}
.ds-chart-plot{height:150px}.ds-chart-plot svg{width:100%;height:100%;display:block}
.ds-chart-plot rect.pos{fill:#7c6cf5}.ds-chart-plot rect.neg{fill:#f97066}.ds-chart-plot rect:hover{opacity:.8}
.ds-chart-axis{display:flex;justify-content:space-between;font-size:11px;color:#98a2b3;margin-top:6px}
.ds-empty{margin:28px 0;text-align:center;color:#98a2b3;font-size:13px}
#application .ds-week{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e8ebf3;border-radius:16px;padding:14px 18px;text-decoration:none;color:#344054;font-size:13.5px;box-shadow:0 1px 2px rgba(16,24,40,.04);transition:border-color .15s,box-shadow .15s}
#application .ds-week:hover{border-color:#d9d4fd;box-shadow:0 6px 18px rgba(109,93,240,.1)}
.ds-week-dot{width:10px;height:10px;border-radius:50%;background:#f79009;box-shadow:0 0 0 4px #fef0c7;flex:none}
.ds-week.is-done .ds-week-dot{background:#12b76a;box-shadow:0 0 0 4px #d1fadf}
.ds-week-label{font-weight:650;color:#101828}.ds-week-status{color:#667085}.ds-week-status b{color:#b54708;font-weight:600}
.ds-week-go{margin-left:auto;font-weight:600;color:#6d5df0;white-space:nowrap}
@media(max-width:760px){#application .ds-metrics{grid-template-columns:1fr 1fr!important;gap:12px!important}#application .ds-metrics>.sf-focus-margin{grid-column:1/-1}#application .ds-week{flex-wrap:wrap}.ds-week-go{margin-left:0;width:100%}}
.ds-chart-plot{position:relative;display:grid;grid-template-columns:repeat(12,1fr);gap:10px;height:150px}
.ds-zero{position:absolute;left:0;right:0;top:50%;border-top:1px dashed #e4e7f0}
.ds-col{position:relative;height:100%;cursor:default}
.ds-bar{position:absolute;left:12%;right:12%;border-radius:6px;background:linear-gradient(180deg,#8b7cf8,#6d5df0);transition:filter .15s}
.ds-bar.neg{background:linear-gradient(180deg,#f97066,#f04438)}
.ds-bar.is-empty{height:3px;background:#e9ecf3;border-radius:2px}
.ds-col:hover .ds-bar{filter:brightness(1.08)}
.ds-chart-head a{white-space:nowrap}
/* Clubs list (option B) */
#application .clubs-directory{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
#application .clubs-directory>.club-toolbar{background:#fff;border:1px solid #e8ebf3;border-radius:18px;padding:14px 16px;margin-bottom:14px}
.cll{background:#fff;border:1px solid #e8ebf3;border-radius:18px;overflow:visible;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.cll-head,.cll-row{display:grid;grid-template-columns:minmax(200px,2fr) minmax(90px,.8fr) minmax(120px,1fr) minmax(110px,1fr) 80px 40px;align-items:center;gap:14px;padding:0 18px}
.cll-head{height:38px;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#98a2b3;border-bottom:1px solid #eef0f5}
.cll-head span:nth-child(4),.cll-head span:nth-child(5){text-align:right}
.cll-section-head{display:flex;align-items:center;gap:10px;padding:9px 18px;background:#f7f6ff;border-bottom:1px solid #eeebfd;font-size:12.5px;color:#2d2a6e}
.cll-section-head b{font-weight:650}.cll-section-head>span:last-child{color:#7c78a8}
.cll-cur{font-size:11px;font-weight:700;color:#5a4bd6;background:#e9e5ff;border-radius:999px;padding:2px 8px}
.cll-row{min-height:62px;border-bottom:1px solid #f0f2f7;cursor:pointer;transition:background .12s}
.cll-section:last-child .cll-row:last-child{border-bottom:0;border-radius:0 0 18px 18px}
.cll-row:hover{background:#faf9ff}.cll-row.is-muted{opacity:.6}
.cll-club{display:flex;align-items:center;gap:12px;min-width:0}.cll-club>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.cll-club a{text-decoration:none;color:#101828}.cll-club b{font-size:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.cll-club small{font-size:12px;color:#8a94a6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cll-logo{flex:none;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;overflow:hidden;font-size:12px;font-weight:700;color:hsl(var(--h,250) 50% 36%);background:hsl(var(--h,250) 75% 93%)}
.cll-logo img{width:100%;height:100%;object-fit:cover}
.cll-ids{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.cll-copy{border:0;background:#f4f6fb;border-radius:7px;padding:3px 7px;font:500 12px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;color:#344054;cursor:copy}
.cll-copy:hover{background:#ebe8ff;color:#5a4bd6}.cll-ref{font-size:11px;color:#667085;background:transparent;padding:1px 7px}
.cll-deal{display:flex;flex-direction:column;gap:2px}.cll-deal b{font-size:13.5px;font-weight:650;font-variant-numeric:tabular-nums;color:#1d2433}.cll-deal small{font-size:11.5px;color:#98a2b3}
.cll-none{color:#b0b7c4!important;font-weight:500!important}
.cll-num,.cll-margin{text-align:right;font-size:14px;font-weight:650;font-variant-numeric:tabular-nums;color:#1d2433;display:flex;flex-direction:column;align-items:flex-end}
.cll-num small,.cll-margin small{font-size:10.5px;font-weight:500;color:#98a2b3}
.cll-margin.pos{color:#067647}.cll-margin.neg{color:#b42318}
.cll-menu{position:relative;justify-self:end}.cll-menu summary{list-style:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:#98a2b3;font-size:18px;cursor:pointer}
.cll-menu summary::-webkit-details-marker{display:none}.cll-menu summary:hover,.cll-menu[open] summary{background:#f1efff;color:#6d5df0}
.cll-menu>div{position:absolute;right:0;top:34px;z-index:30;min-width:170px;background:#fff;border:1px solid #e8ebf3;border-radius:12px;box-shadow:0 12px 32px rgba(16,24,40,.14);padding:6px;display:flex;flex-direction:column}
.cll-menu>div>*{border:0;background:none;text-align:left;font:inherit;font-size:13px;color:#344054;padding:8px 10px;border-radius:8px;cursor:pointer;text-decoration:none}
.cll-menu>div>*:hover{background:#f4f3ff;color:#5a4bd6}
.cll-empty{padding:28px;text-align:center;color:#98a2b3;margin:0}
#application .clubs-directory .club-list-foot{background:transparent;border:0;padding:10px 4px}
@media(max-width:760px){
 .cll-head{display:none}
 .cll-row{grid-template-columns:1fr auto auto;grid-template-areas:"club club menu" "ids deal num";gap:8px 12px;padding:12px 14px}
 .cll-club{grid-area:club}.cll-margin{grid-area:margin}.cll-menu{grid-area:menu}.cll-ids{grid-area:ids;flex-direction:row;flex-wrap:wrap}.cll-deal{grid-area:deal;align-items:flex-end}.cll-num{grid-area:num}
}
#application .clubs-directory .cll{border:0;box-shadow:none;border-radius:0;border-top:1px solid #eef0f5}
/* Instagram story / recap (club-social.js) */
#modal.cs-modal{max-width:520px}
.cs-intro{margin:4px 0 14px;font-size:13.5px;line-height:1.5}
.cs-loading{padding:60px 0;text-align:center;color:#7a8095}
.cs-preview{display:flex;justify-content:center;background:#f4f6fb;border-radius:16px;padding:14px}
.cs-preview img{max-height:52vh;max-width:100%;border-radius:12px;box-shadow:0 10px 30px -14px rgba(20,30,60,.35)}
.cs-note{text-align:center;margin-top:8px}
.cs-week{display:flex;align-items:center;gap:8px;margin-bottom:10px}.cs-week span{margin-left:auto;font-weight:600}
.cs-picks{max-height:40vh;overflow:auto;border:1px solid #e6e8f0;border-radius:14px;padding:6px 10px}
.cs-picks label{display:flex;align-items:center;gap:8px;padding:8px 2px;border-bottom:1px solid #f0f1f6;font-weight:500}
.cs-picks label:last-child{border-bottom:0}.cs-picks small{margin-left:auto;color:#7a8095}
.cs-tags{flex-wrap:wrap}.cs-kicker{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-weight:600}.cs-kicker select{flex:1}
.cs-link{display:flex;align-items:center;gap:8px;margin-top:10px}.cs-link code{flex:1;background:#f4f6fb;border-radius:10px;padding:8px 10px;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-intro{color:#667085}.cs-note{color:#667085;text-align:center}
.club-overview-card .club-reference-sections>.club-reference-info{grid-column:1/-1;border-top:1px solid #edf0f6;padding-top:20px}
/* Games & stakes (club-tables.js) */
.club-overview-card .club-reference-sections>.club-reference-tables{grid-column:1/-1;border-bottom:1px solid #edf0f6;padding-bottom:20px}
.ct-chips{display:flex;flex-wrap:wrap;gap:6px}
.ct-chips span{font-size:12px;font-weight:700;padding:4px 10px;border-radius:99px;background:#eef0f7;color:#344054}
.ct-chips .ct-plo5,.ct-chips .ct-plo6{background:#e3f4ea;color:#16794a}.ct-chips .ct-plo4{background:#fde8e6;color:#c2410c}.ct-chips .ct-nlh{background:#e8efff;color:#3157c8}.ct-chips .ct-mtt,.ct-chips .ct-sng{background:#1f2937;color:#fff}
.ct-chips .ct-k{background:#fff;border:1px solid #e4e7f0;color:#667085;font-weight:600}
.ct-meta{display:flex;gap:14px;align-items:center;margin-top:8px;font-size:13px;color:#667085}
.ct-stars{color:#e0a100;letter-spacing:1px}.ct-stars em{font-style:normal;color:#e4e7f0}
.ct-lines{margin-top:6px;font-size:13px;color:#667085}
.ct-editor>label{display:block;margin:14px 0 6px;font-size:12px;font-weight:650;color:#475467}.ct-editor>label small{font-weight:500;color:#98a2b3}
.ct-editor input{width:100%;box-sizing:border-box;border:1px solid #e4e7f0;border-radius:10px;padding:9px 11px;font:inherit}
.ct-toggles{display:flex;flex-wrap:wrap;gap:6px}
.ct-toggle{border:1px solid #e4e7f0;background:#fff;border-radius:99px;padding:6px 12px;font:600 13px inherit;color:#344054;cursor:pointer}
.ct-toggle[aria-pressed=true]{background:#6d5df0;border-color:#6d5df0;color:#fff}
.ct-rate{display:flex;align-items:center;gap:2px}.ct-rate button{border:0;background:none;font-size:24px;line-height:1;color:#e4e7f0;cursor:pointer;padding:0 2px}.ct-rate button[aria-pressed=true]{color:#e0a100}
.ct-rate .ct-rate-clear{font-size:12px;color:#98a2b3;margin-left:10px}
.ct-scan{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f8f9fc;border:1px dashed #d0d5dd;border-radius:12px;padding:10px 12px}
.ct-scan-status{font-size:12.5px;color:#667085}.ct-editor.is-busy .ct-scan{opacity:.7}
/* In-app Assistant removed from the interface (14/11/2026, Arthur). The panel only opens from a Telegram review link (#assistant-review/…). */
#assistant-open,.assistant-fab{display:none!important}
/* Import wizard (import-wizard.js) */
#modal.iw-modal{width:min(640px,96vw);max-width:640px;padding:22px 24px;border-radius:18px}
#iw h2{margin:6px 0 2px;font-size:20px}#iw .iw-sub{color:#6b7280;margin:0 0 14px;font-size:13.5px}
.iw-top{display:flex;align-items:center;justify-content:space-between}.iw-steps{display:flex;gap:6px}.iw-steps span{width:34px;height:5px;border-radius:3px;background:#e5e7eb}.iw-steps span.on{background:#6d5df0}
.iw-drop{display:flex;flex-direction:column;align-items:center;gap:4px;border:2px dashed #c9cdf5;border-radius:14px;padding:22px;background:#f7f7fe;cursor:pointer;text-align:center}.iw-drop.over{border-color:#6d5df0;background:#efedfe}.iw-drop.is-busy{opacity:.7;cursor:wait}.iw-drop small{color:#6b7280}.iw-ic{font-size:22px;color:#6d5df0}
.iw-detect{display:flex;gap:10px;align-items:center;margin-top:10px;padding:10px 12px;border-radius:12px;background:#ecfdf3;border:1px solid #b7ebc9}.iw-detect span{display:block;font-size:12.5px;color:#276749}
.iw-found{margin:8px 0 0;font-size:13px;color:#276749}.iw-status{margin:8px 0 0;font-size:13px;color:#b45309}
.iw-or{margin:16px 0 8px;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:#9ca3af}
.iw-lbl{font-weight:600;font-size:13px;margin:10px 0 6px}.iw-search{width:100%;margin-bottom:8px;padding:9px 12px;border:1px solid #e5e7eb;border-radius:10px;font:inherit;font-size:13.5px}.iw-row b{color:#111827;font-weight:600}
.iw-clubs{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.iw-club{display:flex;gap:8px;align-items:center;padding:8px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;text-align:left;cursor:pointer;font:inherit;font-size:13px}.iw-club small{display:block;color:#9ca3af;font-size:11px}.iw-club.sel{border-color:#6d5df0;box-shadow:0 0 0 2px #6d5df033}.iw-more{justify-content:center;color:#6d5df0}
.iw-logo{flex:none;width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#fff;font-weight:700;overflow:hidden}.iw-logo img{width:100%;height:100%;object-fit:cover}
.iw-weeks{display:flex;flex-wrap:wrap;gap:8px}.iw-wk{padding:7px 12px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;font:inherit;font-size:13px;cursor:pointer}.iw-wk.sel{background:#6d5df0;border-color:#6d5df0;color:#fff}.iw-wk-other{border-radius:999px;font-size:13px;padding:6px 10px}
.iw-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px}.iw-actions .button.primary:only-child{margin-left:auto}
.iw-rate{display:flex;align-items:center;gap:6px;font-size:13px;margin-bottom:10px}.iw-rate input{width:90px}.iw-rate small{color:#9ca3af}
.iw-row{display:grid;grid-template-columns:1.3fr .8fr .7fr 1.6fr;gap:8px;align-items:center;padding:9px 4px;border-bottom:1px solid #f0f1f4;font-size:13.5px}.iw-row.h{font-size:11.5px;color:#9ca3af;text-transform:uppercase;letter-spacing:.04em;padding-top:0}
.iw-row .n{text-align:right;font-variant-numeric:tabular-nums}.neg{color:#c0392b}.pos{color:#1e8a4c}
.iw-rows{max-height:42vh;overflow:auto}
.iw-tag,.iw-new{margin-left:6px;font-size:10px;padding:1px 6px;border-radius:6px;background:#eef0f5;color:#555;vertical-align:1px}.iw-new{background:#fff1e0;color:#c25e00;font-weight:700}
.iw-who{font-size:12.5px;justify-self:start}.iw-who.known{color:#374151}.iw-who.known i{color:#1e8a4c;font-style:normal;margin-left:5px}.iw-who.bad{color:#c0392b}
button.iw-who.new{border:1px solid #f5c79a;background:#fff7ee;color:#c25e00;border-radius:999px;padding:4px 12px;font:inherit;font-size:12.5px;cursor:pointer}button.iw-who.new i{font-style:normal}
.iw-drawer{background:#fafafe;border:1px solid #e7e5fb;border-radius:12px;padding:12px;margin:4px 0 8px}.iw-drawer h4{margin:0 0 8px;font-size:13.5px}
.iw-assign{display:flex;flex-direction:column;gap:8px}.iw-assign select,.iw-assign input{width:100%;padding:9px 12px;border:1px solid #e5e7eb;border-radius:10px;font:inherit;font-size:13.5px;background:#fff}
.iw-seg{display:inline-flex;background:#eef0f5;border-radius:999px;padding:3px;align-self:flex-start}.iw-seg button{border:0;background:none;border-radius:999px;padding:5px 12px;font:inherit;font-size:12.5px;cursor:pointer}.iw-seg button.on{background:#fff;box-shadow:0 1px 2px #0002;font-weight:600}
.iw-deal{font-size:12.5px;display:flex;flex-direction:column;gap:4px}.iw-deal small{color:#9ca3af}.iw-hint{margin:0;font-size:12px;color:#6b7280}
.iw-assign-go{display:flex;justify-content:flex-end;align-items:center;gap:10px}.iw-assign-go .form-error{margin:0;flex:1}
.iw-bulk{margin-top:12px;padding:12px;border-radius:12px;background:#f7f7fe;border:1px solid #e7e5fb}.iw-bulk>b{display:block;margin-bottom:8px;font-size:13px}
.iw-tot{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.iw-tot div{background:#f7f8fb;border-radius:12px;padding:12px}.iw-tot small{display:block;color:#6b7280;font-size:11.5px}.iw-tot b{font-size:18px;font-variant-numeric:tabular-nums}
.iw-list{margin-top:12px}.iw-list div{display:flex;justify-content:space-between;padding:8px 2px;border-bottom:1px solid #f0f1f4;font-size:13.5px}.iw-list span{color:#6b7280}
.iw-note{margin-top:12px;padding:10px 12px;border-radius:10px;background:#fff8e6;font-size:12.5px;color:#7a5a00}
@media(max-width:600px){#modal.iw-modal{padding:16px}.iw-rows{max-height:none}#iw h2{font-size:18px}.iw-row{grid-template-columns:1fr .8fr;row-gap:2px}.iw-row .n:nth-of-type(2),.iw-row.h span:nth-child(3){display:none}.iw-row .iw-who{grid-column:1/-1}.iw-tot{grid-template-columns:1fr}}
/* Transactions (transactions-ui.js) */
.txu-panel{padding:18px 20px}.txu-top{display:flex;gap:10px;align-items:center;margin-bottom:14px}.txu-top .search{flex:1;max-width:420px}.txu-top .button{margin-left:auto}
.txu-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.txu-kpis>*{background:#f7f8fb;border-radius:12px;padding:12px 14px;border:0;text-align:left;font:inherit}.txu-kpis small{display:block;color:#6b7280;font-size:11.5px}.txu-kpis b{font-size:19px;font-variant-numeric:tabular-nums}.txu-kpis button{cursor:pointer}.txu-kpis button.has b{color:#c25e00}
.txu-panel .in{color:#1e8a4c}.txu-panel .out{color:#c0392b}
.txu-pills{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:6px}.txu-pills button{border:0;background:#eef0f5;border-radius:999px;padding:6px 13px;font:inherit;font-size:13px;cursor:pointer}.txu-pills button.on{background:#6d5df0;color:#fff}
.txu-day{font-size:11.5px;letter-spacing:.05em;text-transform:uppercase;color:#9ca3af;font-weight:600;margin:16px 0 2px}
.txu-row{border-bottom:1px solid #f0f1f4}.txu-row>summary{list-style:none;display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;padding:10px 4px;cursor:pointer}.txu-row>summary::-webkit-details-marker{display:none}
.txu-ic{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:17px;font-weight:700}.txu-ic.in{background:#e8f7ee;color:#1e8a4c}.txu-ic.out{background:#fdecea;color:#c0392b}
.txu-main b{font-size:14.5px;font-weight:600;color:#111827}.txu-main small{display:block;color:#6b7280;font-size:12.5px;margin-top:2px}
.txu-amt{font-weight:700;font-size:15px;font-variant-numeric:tabular-nums;text-align:right;color:#6b7280}
.txu-badge{margin-left:7px;font-size:10.5px;border-radius:6px;padding:1px 6px;font-weight:700;vertical-align:1px}.txu-badge.amber{background:#fff1e0;color:#c25e00}.txu-badge.gray{background:#eef0f5;color:#6b7280}
.txu-row.is-dead .txu-main b,.txu-row.is-dead .txu-amt{text-decoration:line-through;color:#9ca3af}.txu-row.is-dead .txu-ic{opacity:.45}
.txu-detail{padding:4px 4px 14px 54px}.txu-detail dl{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:0 0 10px}.txu-detail dt{font-size:11px;color:#9ca3af}.txu-detail dd{margin:0;font-size:13px}
.txu-legend{font-size:12px;color:#9ca3af;margin:14px 0 0}
.txu-seg{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px;grid-column:1/-1}.txu-seg button{border:2px solid #e5e7eb;border-radius:14px;padding:12px;background:#fff;font:inherit;cursor:pointer;text-align:center}.txu-seg b{display:block;font-size:14.5px}.txu-seg small{display:block;color:#6b7280;font-size:12px;margin-top:2px}.txu-seg button.on.in{border-color:#1e8a4c;background:#f1fbf5}.txu-seg button.on.out{border-color:#c0392b;background:#fdf3f2}
@media(max-width:700px){.txu-panel{padding:14px}.txu-kpis{grid-template-columns:1fr 1fr}.txu-kpis button{grid-column:1/-1}.txu-detail{padding-left:4px}.txu-top .search{max-width:none}}
.txu-prev{display:flex;flex-direction:column;gap:3px;font-size:13.5px}.txu-prev b{font-size:12.5px;color:#6b7280;font-weight:600}.txu-prev i{color:#9ca3af;font-style:normal;margin:0 4px}
/* Results summary: Winnings, Rake, Rakeback, Rebate, Tax, PNL, Margin (player side, USD) */
#application .results-wide th.rs-n,#application .results-wide td.rs-n{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}
#application .results-wide th:first-child{width:auto}#application .results-wide th:nth-child(5){width:auto}
#application .results-wide th.rs-n{font-size:11.5px}
#application .results-wide td.rs-n{font-size:13px}
#application .results-wide .neg{color:#c0392b}#application .results-wide .pos{color:#1e8a4c}
#application .results-wide .results-clean-margin.pos{color:#1e8a4c!important;font-weight:600}
#application .results-wide .rs-lbl{display:none}
#application .results-wide .results-clean-total td{text-align:right}#application .results-wide .results-clean-total td:first-child{text-align:left}
@media(max-width:700px){
 #application .results-clean-table.results-wide>tbody>.results-clean-club>td.rs-hm{display:none!important}
 #application .results-clean-table.results-wide>tbody>.results-clean-club>td.rs-m{grid-row:2!important;grid-column:auto!important;position:static!important;text-align:left!important}
 #application .results-clean-table.results-wide>tbody>.results-clean-club>td.rs-status{position:absolute!important;top:22px;right:45px;width:auto!important;max-width:90px;grid-area:auto!important}
 #application .results-wide .rs-lbl{display:block;font-size:10.5px;color:#9ca3af}
 #application .results-wide .results-clean-total{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}#application .results-wide .results-clean-total td.rs-hm{display:none!important}#application .results-wide .results-clean-total td:first-child{grid-column:1/-1}
}
#application .results-wide{table-layout:auto!important;min-width:980px}
#application .results-wide th:first-child{width:auto!important;min-width:210px}
#application .results-wide td:first-child{min-width:210px}
#application .results-wide .results-clean-logo{width:40px!important;height:40px!important;border-radius:10px!important}
#application .results-wide .results-clean-toggle{min-height:44px!important}
#application .results-wide th:nth-child(5),#application .results-wide th:last-child{width:auto!important}
#results-summary{overflow-x:auto}
@media(max-width:700px){#application .results-wide{min-width:0}#application .results-clean-table.results-wide>tbody>.results-clean-club>td.rs-m{background:none!important;padding:0!important}#application .results-clean-table.results-wide td.rs-m::before{display:none!important}#application .results-wide td:first-child{min-width:0}}
#application .results-wide{min-width:0}
#application .results-wide th,#application .results-wide td{padding-left:7px!important;padding-right:7px!important}
#application .results-wide td:first-child,#application .results-wide th:first-child{min-width:180px}
#application .results-wide .results-row-quick-actions{gap:4px}
@media(max-width:700px){#application .results-wide .results-clean-total td{background:none!important}#application .results-wide td.rs-m{font-size:13px!important}}
/* Results on phones: cards instead of the wide table */
.rsm-list{display:none}
@media(max-width:700px){
 #application .results-wide{display:none!important}
 #results-summary{padding:10px!important;overflow:visible}
 .rsm-list{display:flex;flex-direction:column;gap:10px}
 .rsm-total{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;background:#1f2340;color:#fff;border-radius:14px;padding:12px 14px}.rsm-total small{display:block;font-size:10.5px;opacity:.65}.rsm-total b{font-size:15px;font-variant-numeric:tabular-nums}.rsm-total .neg{color:#ff8a80}.rsm-total .pos{color:#7ee2a8}
 .rsm-card{background:#fff;border:1px solid #e8ebf2;border-radius:14px;padding:12px}
 .rsm-card.is-off{opacity:.65}
 .rsm-head{display:flex;align-items:center;gap:8px}
 .rsm-name{flex:1;min-width:0;display:flex;align-items:center;gap:10px;border:0;background:none;padding:0;text-align:left;font:inherit;cursor:pointer}
 .rsm-name>span:last-child{min-width:0}.rsm-name b{display:block;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#111827}.rsm-name small{display:block;font-size:11.5px;color:#9ca3af}
 .rsm-logo{flex:none;width:36px;height:36px;border-radius:9px;overflow:hidden;display:grid;place-items:center;background:#eef0f5;color:#6b7280;font-weight:700}.rsm-logo img{width:100%;height:100%;object-fit:cover}
 .rsm-st{flex:none;font-size:11px;font-weight:600;border-radius:999px;padding:3px 9px;background:#eef0f5;color:#6b7280}.rsm-st.ok{background:#e8f7ee;color:#1e8a4c}.rsm-st.miss{background:#fff1e0;color:#c25e00}
 .rsm-head .results-row-quick-actions{flex:none;display:flex;align-items:center}
 .rsm-head .results-no-activity-button{display:none!important}
 .rsm-nums{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid #f0f1f4}
 .rsm-nums small{display:block;font-size:10.5px;color:#9ca3af}.rsm-nums b{font-size:14px;font-variant-numeric:tabular-nums;color:#111827}
 .rsm-list .neg{color:#c0392b!important}.rsm-list .pos{color:#1e8a4c!important}
 .rsm-more{margin:8px 0 0;font-size:11.5px;color:#9ca3af}
 .rsm-detail{margin-top:10px;overflow-x:auto}
 .rsm-sec{font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:#9ca3af;font-weight:600;margin:8px 2px 0}
}
/* Classic import, lighter (14/11) */
#results-workspace .ct-helper{display:none}
#results-workspace .result-import-context-label strong{font-size:15px}
#results-workspace .result-import-context .text-button,#results-workspace .result-import-steps{font-size:13px!important}
/* Transactions v2 (14/11 21:40): simple list + compact inline form */
.txu-panel .txu-top{margin-bottom:6px}
.txu-filter{min-height:40px;border:1px solid #e5e7eb;border-radius:10px;padding:0 10px;font:inherit;font-size:14px;background:#fff}
.txu-sum{margin:0 0 6px;color:#6b7280;font-size:14px}.txu-sum b{font-weight:700}
.txu-pend{border:0;background:#fff1e0;color:#c25e00;border-radius:999px;padding:3px 10px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.txu-row>summary{grid-template-columns:1fr auto!important;padding:12px 2px!important}
.txu-main b{font-size:15px!important}.txu-main small{color:#9ca3af!important}
.txu-amt{font-size:16px!important}
.txu-detail{padding:0 2px 14px!important}
/* inline form */
.txu-panel #tx-inline-editor:not([hidden]){display:block;background:#f8f9fc;border:1px solid #eceef4;border-radius:14px;padding:14px 16px;margin:10px 0 6px}
.txu-panel #tx-inline-editor .modal-top{display:none}
.txu-panel #ws-payment-form{display:grid;grid-template-columns:auto minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:10px 12px;align-items:end}
.txu-panel #ws-payment-form .form-row{display:contents}
.txu-panel #ws-payment-form .field{margin:0;font-size:12px;color:#6b7280;display:flex;flex-direction:column;gap:4px}
.txu-panel #ws-payment-form .field select,.txu-panel #ws-payment-form .field input{height:42px;font-size:15px;border-radius:10px}
.txu-panel #ws-payment-form .txu-seg{grid-column:auto;display:flex;margin:0;gap:0;background:#eceef4;border-radius:11px;padding:3px;align-self:end;height:42px;box-sizing:border-box}
.txu-panel #ws-payment-form .txu-seg button{border:0!important;background:none;border-radius:9px;padding:0 14px;font-size:14px;font-weight:600;color:#6b7280}
.txu-panel #ws-payment-form .txu-seg button.on{background:#fff!important;box-shadow:0 1px 2px #0002}.txu-panel #ws-payment-form .txu-seg button.on.in{color:#1e8a4c}.txu-panel #ws-payment-form .txu-seg button.on.out{color:#c0392b}
.txu-panel #ws-payment-form .tx-inline-extra{grid-column:1/-1;font-size:13px}.txu-panel #ws-payment-form .tx-inline-extra summary{color:#6d5df0;cursor:pointer;list-style:none}
.txu-panel #ws-payment-form .tx-inline-extra[open]>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:8px}
.txu-panel #ws-payment-form #ws-payment-preview{grid-column:1/3;background:none;padding:0;margin:0}
.txu-panel #ws-payment-form .form-error{grid-column:1/-1;margin:0}.txu-panel #ws-payment-form .form-error:empty{display:none}
.txu-panel #ws-payment-form .modal-actions{grid-column:3/5;display:flex;justify-content:flex-end;gap:8px;margin:0;padding:0;border:0}
.txu-prev{flex-direction:column!important;gap:1px!important}.txu-prev b{font-size:14px!important;color:#111827!important}.txu-prev span{font-size:12.5px;color:#9ca3af}
@media(max-width:700px){.txu-panel #ws-payment-form{grid-template-columns:1fr 1fr}.txu-panel #ws-payment-form .txu-seg{grid-column:1/-1}.txu-panel #ws-payment-form .field:has([name=contact]){grid-column:1/-1}.txu-panel #ws-payment-form #ws-payment-preview,.txu-panel #ws-payment-form .modal-actions{grid-column:1/-1}.txu-panel #ws-payment-form .tx-inline-extra[open]>div{grid-template-columns:1fr 1fr}.txu-filter{max-width:110px}}
.txu-panel #ws-payment-form #ws-payment-preview .txu-prev{padding:0!important;background:none!important;border:0!important}
.txu-panel #ws-payment-form #ws-payment-preview .txu-prev b{font-size:14.5px!important;font-weight:600}
.txu-panel #ws-payment-form #ws-payment-preview .txu-prev span{font-size:13px}
.txu-panel #ws-payment-form #ws-payment-preview,.txu-panel #ws-payment-form #ws-payment-preview>*{padding-left:0!important;margin-left:0!important;border:0!important;background:none!important;box-shadow:none!important}
@media(max-width:700px){.txu-panel .txu-top{flex-wrap:wrap}.txu-panel .txu-top .search{flex:1 1 100%!important;max-width:none}.txu-panel .txu-top .txu-filter{flex:1;max-width:none}.txu-panel .txu-top .button{margin-left:0}}
.txu-panel #ws-payment-form .txu-prev b,.txu-panel #ws-payment-form .txu-prev span{padding:0!important;margin:0!important;display:block}
@media(max-width:700px){
 html body #application .txu-panel #ws-payment-form{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
 html body #application .txu-panel #ws-payment-form>*,html body #application .txu-panel #ws-payment-form .form-row>*{order:0!important;grid-column:1/-1!important;grid-row:auto!important}
 html body #application .txu-panel #ws-payment-form .form-row{display:contents!important}
 html body #application .txu-panel #ws-payment-form .field{font-size:12px!important}
 html body #application .txu-panel #ws-payment-form .txu-seg{order:1!important}
 html body #application .txu-panel #ws-payment-form .field:has([name=contact]){order:2!important;display:flex!important}
 html body #application .txu-panel #ws-payment-form .field:has([name=amount]){order:3!important;display:flex!important}
 html body #application .txu-panel #ws-payment-form .field:has([name=date]){order:4!important;display:flex!important}
 html body #application .txu-panel #ws-payment-form .tx-inline-extra{order:5!important}
 html body #application .txu-panel #ws-payment-form #ws-payment-preview{order:6!important}
 html body #application .txu-panel #ws-payment-form .form-error{order:7!important}
 html body #application .txu-panel #ws-payment-form .modal-actions{order:8!important;display:grid!important;grid-template-columns:auto 1fr;gap:8px}
 html body #application .txu-panel #ws-payment-form .modal-actions .button{display:inline-flex!important;justify-content:center}
 html body #application .txu-panel #ws-payment-form .field input,html body #application .txu-panel #ws-payment-form .field select{width:100%!important}
}
@media(max-width:700px){html body #application .txu-panel #ws-payment-form .modal-actions>[data-close]{display:inline-flex!important}html body #application .txu-panel #ws-payment-form .modal-actions .button{font-size:14px!important}html body #application .txu-panel #ws-payment-form .txu-seg button{flex:1}}
@media(max-width:700px){html body #application .txu-panel #ws-payment-form .modal-actions .button.primary{white-space:normal!important;line-height:1.2;padding:8px 10px!important;font-size:13.5px!important}}
/* Transactions: saved bar + Telegram */
.txu-saved{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#ecfdf3;border:1px solid #b7ebc9;border-radius:12px;padding:10px 12px;margin:10px 0;font-size:14px;color:#14532d}
.txu-saved-act{display:flex;align-items:center;gap:6px}
.txu-saved .button,.txu-tg{display:inline-flex;align-items:center;gap:6px}
.txu-saved .button.primary{background:#229ed9!important;border-color:#229ed9!important}
@media(max-width:700px){.txu-saved-act{width:100%}.txu-saved-act .button{flex:1;justify-content:center}}
/* Transactions form, minimal (18/11): no reference / note; method + tag side by side; compact date */
.txu-panel #ws-payment-form .field:has([name=reference]),.txu-panel #ws-payment-form .field:has([name=note]){display:none!important}
.txu-panel #ws-payment-form .tx-inline-extra[open]>div{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body #application .txu-panel #ws-payment-form .tx-inline-extra[open]>div{display:grid!important;gap:10px!important}
html body #application .txu-panel #ws-payment-form .tx-inline-extra .field{margin:0!important}
html body #application .txu-panel #ws-payment-form input[type=date]{height:42px!important;min-height:42px!important;padding:0 12px!important;text-align:left!important;-webkit-appearance:none;appearance:none;display:flex;align-items:center;line-height:42px;box-sizing:border-box;width:100%!important}
@media(max-width:700px){
 html body #application .txu-panel #ws-payment-form .tx-inline-extra[open]>div{grid-template-columns:1fr 1fr!important}
 html body #application .txu-panel #ws-payment-form .tx-inline-extra .field:has([name=date]){grid-column:1/-1!important}
 html body #application .txu-panel #ws-payment-form .tx-inline-extra summary{padding:4px 0}
 html body #application .txu-panel #tx-inline-editor:not([hidden]){padding:14px!important}
}
/* Transactions v3 (18/11 02:00): flat page, title + New on one line, payment-app style form on phones */
#main>.page-head.txu-head{display:flex;align-items:center;justify-content:space-between}
.txu-head .txu-new{border-radius:12px}
@media(max-width:700px){
 html body #application #main>.page-head.txu-head{margin:4px 0 10px!important}
 html body #application .txu-head .txu-new{min-height:40px;padding:0 16px!important;font-size:15px!important}
 html body #application .txu-panel{background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
 html body #application .txu-panel .txu-top{flex-wrap:nowrap!important;gap:8px;margin-bottom:8px}
 html body #application .txu-panel .txu-top .search{flex:1 1 auto!important;min-width:0;background:#fff}
 html body #application .txu-panel .txu-top .txu-filter{flex:0 0 108px!important;max-width:108px;background:#fff}
 html body #application .txu-sum{font-size:13.5px;margin:0 2px 10px}
 /* form = one white sheet */
 html body #application .txu-panel #tx-inline-editor:not([hidden]){background:#fff!important;border:0!important;border-radius:20px!important;box-shadow:0 6px 24px rgba(17,24,39,.08);padding:16px!important;margin:0 0 14px!important}
 html body #application .txu-panel #ws-payment-form .field:has([name=amount]){order:2!important;align-items:center;text-align:center;font-size:12px!important;color:#9ca3af!important;margin:6px 0 2px!important}
 html body #application #main .txu-panel #ws-payment-form input[name=amount]{height:auto!important;min-height:0!important;border:0!important;box-shadow:none!important;background:none!important;text-align:center;font-size:40px!important;font-weight:700;letter-spacing:-.02em;padding:2px 0!important;color:#111827}
 html body #application #main .txu-panel #ws-payment-form input[name=amount]::placeholder{color:#d1d5db}
 html body #application #main .txu-panel #ws-payment-form input[name=amount]:focus{outline:none}
 html body #application .txu-panel #ws-payment-form .field:has([name=contact]){order:3!important}
 html body #application .txu-panel #ws-payment-form .txu-seg{height:40px!important}
 html body #application .txu-panel #ws-payment-form .tx-inline-extra{text-align:center}
 html body #application .txu-panel #ws-payment-form .tx-inline-extra[open]{text-align:left}
 html body #application .txu-panel #ws-payment-form .tx-inline-extra summary{color:#6d5df0!important;font-size:13.5px}
 html body #application .txu-panel #ws-payment-form #ws-payment-preview .txu-prev{text-align:center;align-items:center}
 html body #application .txu-panel #ws-payment-form .modal-actions{display:flex!important;flex-direction:column-reverse;gap:6px!important}
 html body #application .txu-panel #ws-payment-form .modal-actions .button.primary{width:100%;min-height:50px;border-radius:14px!important;font-size:16px!important}
 html body #application .txu-panel #ws-payment-form .modal-actions [data-close]{border:0!important;background:none!important;box-shadow:none!important;color:#6b7280!important;min-height:36px;font-size:14px!important;width:100%}
 /* list = white card */
 html body #application .txu-panel .txu-day{margin:14px 4px 4px}
 html body #application .txu-panel .txu-row{background:#fff;border:0;margin:0;padding:0 14px}
 html body #application .txu-panel .txu-day+.txu-row{border-radius:16px 16px 0 0}
 html body #application .txu-panel .txu-row:has(+ .txu-day),html body #application .txu-panel .txu-row:last-of-type{border-radius:0 0 16px 16px}
 html body #application .txu-panel .txu-day+.txu-row:has(+ .txu-day),html body #application .txu-panel .txu-day+.txu-row:last-of-type{border-radius:16px}
 html body #application .txu-panel .txu-row+.txu-row>summary{border-top:1px solid #f1f2f5}
 html body #application .txu-saved{margin:0 0 12px}
}
@media(max-width:700px){html body #application #main .txu-panel #ws-payment-form input[name=amount]:focus{border:0!important;box-shadow:none!important;outline:none!important}html body #application #main .txu-panel #ws-payment-form .field:has([name=amount]){border-bottom:1px solid #eef0f4;padding-bottom:8px}}
/* Transactions · design A (18/11 02:10) */
.txu-head-act{display:flex;align-items:center;gap:8px}
.txu-ib{display:none}
.txu-av{display:none}
@media(max-width:700px){
 html body #application .txu-ib{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:0;background:#fff;color:#6b7280;box-shadow:0 1px 3px rgba(16,24,40,.08)}
 html body #application .txu-head .txu-new{width:40px;height:40px;min-height:40px!important;padding:0!important;border-radius:50%!important;display:grid;place-items:center}
 html body #application .txu-head .txu-new .txu-new-t{display:none}
 html body #application .txu-head .txu-new .txu-plus{font-size:24px;line-height:1;font-weight:500}
 html body #application .txu-panel .txu-top{display:none!important}
 html body #application .txu-panel.txu-search-on .txu-top{display:flex!important}
 html body #application .txu-panel .txu-top .txu-filter{display:none!important}
 html body #application .txu-sum{display:none}
 html body #application .txu-sum:has(.txu-pend){display:block}
 html body #application .txu-sum:has(.txu-pend) b{display:none}
 /* rows with initials */
 html body #application .txu-panel .txu-row>summary{grid-template-columns:auto 1fr auto!important;gap:12px}
 html body #application .txu-av{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font-size:12px;font-weight:700}
 html body #application .txu-av.in{background:#e7f6ec;color:#15803d}html body #application .txu-av.out{background:#fde8e8;color:#b42318}
 /* composer card */
 html body #application .txu-panel #tx-inline-editor:not([hidden]){position:relative;border-radius:22px!important;padding:16px 16px 18px!important}
 html body #application #main .txu-panel #ws-payment-form .field:has([name=amount]){font-size:0!important;flex-direction:row!important;justify-content:center;align-items:flex-start;border:0!important;padding:0!important;margin:12px 0 0!important}
 html body #application #main .txu-panel #ws-payment-form .field:has([name=amount])::before{content:'$';font-size:22px;font-weight:700;color:#9ca3af;margin-top:8px;margin-right:2px}
 html body #application #main .txu-panel #ws-payment-form input[name=amount]{font-size:46px!important;font-weight:800!important;width:auto!important;max-width:230px;flex:0 1 auto;letter-spacing:-.03em;text-align:left!important;field-sizing:content;min-width:2ch}
 html body #application #main .txu-panel #ws-payment-form .field:has([name=contact]){flex-direction:row!important;justify-content:center;align-items:center;gap:8px;font-size:15px!important;color:#374151!important;margin:0!important}
 html body #application #main .txu-panel #ws-payment-form select[name=contact]{width:auto!important;max-width:230px;height:36px!important;min-height:36px!important;border:0!important;background:#f3f4f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23374151'/%3E%3C/svg%3E") no-repeat right 12px center!important;border-radius:999px!important;padding:0 30px 0 14px!important;font-size:15px!important;font-weight:600;color:#111827;-webkit-appearance:none;appearance:none}
 html body #application #main .txu-panel #ws-payment-form .tx-inline-extra>summary{display:none!important}
 html body #application #main .txu-panel #ws-payment-form .tx-inline-extra>div{display:flex!important;justify-content:center;flex-wrap:wrap;gap:6px!important;margin:0!important}
 html body #application #main .txu-panel #ws-payment-form .tx-inline-extra .field{font-size:0!important;margin:0!important;display:block!important;grid-column:auto!important}
 html body #application #main .txu-panel #ws-payment-form .tx-inline-extra select,html body #application #main .txu-panel #ws-payment-form .tx-inline-extra input[type=date]{width:auto!important;height:30px!important;min-height:30px!important;line-height:30px!important;border:0!important;border-radius:9px!important;background-color:#f5f6fa!important;font-size:13px!important;color:#4b5563;padding:0 10px!important;-webkit-appearance:none;appearance:none;text-align:center}
 html body #application #main .txu-panel #ws-payment-form .tx-inline-extra select{padding-right:24px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%236b7280'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 9px center!important}
 html body #application #main .txu-panel #ws-payment-form .tx-inline-extra input[type=date]{max-width:140px}
 html body #application #main .txu-panel #ws-payment-form #ws-payment-preview .txu-prev span{display:none}
 html body #application #main .txu-panel #ws-payment-form #ws-payment-preview .txu-prev b{font-weight:500!important;color:#4b5563!important;font-size:14px!important}
 html body #application #main .txu-panel #ws-payment-form .modal-actions [data-close]{position:absolute;top:-2px;right:-2px;width:auto!important;min-height:0!important;font-size:0!important;padding:0!important;display:none!important}
}
@media(max-width:700px){
 html body #application #main .txu-panel #ws-payment-form .tx-inline-extra .field:has([name=reference]),html body #application #main .txu-panel #ws-payment-form .tx-inline-extra .field:has([name=note]),html body #application #main .txu-panel #ws-payment-form .field:has([name=reference]),html body #application #main .txu-panel #ws-payment-form .field:has([name=note]){display:none!important}
 html body #application .txu-sum:has(.txu-pend){font-size:0;margin:0 2px 8px}
 html body #application .txu-sum .txu-pend{font-size:13px}
 html body #application #main .txu-panel #ws-payment-form .field:has([name=contact]){line-height:36px}
}
@media(max-width:700px){html body #application .txu-panel:has(#tx-inline-editor:not([hidden]) #ws-payment-form) ~ * .txu-new,html body #application .txu-head:has(~ .txu-panel #tx-inline-editor:not([hidden]) #ws-payment-form) .txu-plus{display:inline-block;transform:rotate(45deg)}}
/* Clubs › Send on Telegram (club-telegram-share.js) */
#modal.ctg-modal{max-width:560px}
.ctg-top{display:grid;grid-template-columns:150px 1fr;gap:14px;align-items:start;margin-bottom:12px}
.ctg-pic{aspect-ratio:1;border-radius:14px;overflow:hidden;background:#f4f6fb;display:flex;align-items:center;justify-content:center}
.ctg-pic img{width:100%;height:100%;object-fit:cover;display:block}.ctg-pic .cs-loading{padding:0;font-size:12px}
.ctg-opts{display:flex;flex-direction:column;gap:6px}
.ctg-label{display:block;font-size:12px;font-weight:700;color:#667085;text-transform:uppercase;letter-spacing:.4px;margin-top:4px}
.ctg-seg{display:flex;flex-wrap:wrap;gap:6px}
.ctg-seg button{border:1px solid #e4e7f0;background:#fff;border-radius:99px;padding:7px 12px;font:600 13px inherit;color:#344054;cursor:pointer}
.ctg-seg button[aria-pressed=true]{background:#6d5df0;border-color:#6d5df0;color:#fff}.ctg-seg button:disabled{opacity:.45;cursor:default}
.ctg textarea{width:100%;box-sizing:border-box;font:15px/1.45 inherit;border:1px solid #e4e7f0;border-radius:12px;padding:10px 12px;margin-top:6px;resize:vertical}
.ctg-hint{display:block;color:#98a2b3;font-size:12px;margin-top:4px}
.ctg-to{display:flex;justify-content:space-between;align-items:center;margin-top:14px}
.ctg-list{display:flex;flex-direction:column;gap:6px;max-height:34vh;overflow:auto;margin-top:6px}
.ctg-row{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #e4e7f0;background:#fff;border-radius:12px;padding:10px 12px;cursor:pointer;font:inherit;color:#101828;min-height:48px}
.ctg-row b{display:block;font-size:14.5px}.ctg-row small{display:block;color:#98a2b3;font-size:12px}.ctg-row>span:nth-child(2){flex:1;min-width:0}
.ctg-check{width:22px;height:22px;border-radius:50%;border:2px solid #d0d5dd;flex:none;position:relative}
.ctg-row[aria-pressed=true]{border-color:#6d5df0;background:#f5f3ff}.ctg-row[aria-pressed=true] .ctg-check{background:#6d5df0;border-color:#6d5df0}
.ctg-row[aria-pressed=true] .ctg-check::after{content:'';position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.ctg-row em{font-style:normal;font-size:12.5px;font-weight:700;color:#98a2b3}.ctg-row em.ok{color:#079455}.ctg-row em.ko{color:#d92d20}
.ctg-empty{color:#667085;font-size:13.5px;background:#f4f6fb;border-radius:12px;padding:12px}
.ctg-head{display:inline-flex;align-items:center;gap:6px}
@media (max-width:700px){.ctg-top{grid-template-columns:110px 1fr}#modal.ctg-modal .modal-actions .button{flex:1}}
@media (max-width:700px){.ctg-head span{display:none}.ctg-head{padding:0!important;width:44px;height:44px;justify-content:center}
 /* The round + covered Save while editing a club card (Games & stakes, Information…). */
 body:has(.club-reference-editor) .mv2-fab{display:none!important}}
/* Agent deals sheet (agent-sheet.js) */
.ags-intro{font-size:13.5px;color:#4b5563;margin:0 0 12px;line-height:1.5}
.ags-table{border:1px solid #eef0f4;border-radius:12px;overflow:hidden;margin-bottom:10px;max-height:40vh;overflow-y:auto}
.ags-row{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:8px;padding:8px 12px;font-size:13px;border-top:1px solid #f1f2f5}.ags-row:first-child{border-top:0}
.ags-row.h{background:#f7f8fb;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#9ca3af;font-weight:700}
.ags-on{font-size:13px;color:#1e8a4c;margin:4px 0}
.ags-sec{padding:6px 12px;background:#fafbfc;font-size:11px;font-weight:700;color:#6d5df0;letter-spacing:.05em}
.ags-row input{width:100%;min-width:0;height:32px;border:1px solid #e5e7eb;border-radius:8px;padding:0 8px;font:inherit;font-size:13px}
.ags-row{align-items:center}.ags-table{max-height:52vh}
.ags-hint{font-size:12px;color:#6b7280;margin:6px 0 0;line-height:1.45}
#modal:has(.ags){width:min(680px,96vw);max-width:680px}
.ags-mine{font-size:13px;color:#6d5df0;font-weight:600;font-variant-numeric:tabular-nums}
.ags-row{grid-template-columns:1.3fr .8fr 1fr}
.ags-link{display:flex;align-items:center;gap:8px;background:#f5f6fa;border-radius:12px;padding:8px 10px;margin:4px 0 8px}.ags-link span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;color:#4b5563}
.ags-wait{display:flex;align-items:center;gap:8px;font-size:13px;color:#6b7280;background:#f7f7fe;border-radius:12px;padding:10px 12px}
.ags-spin{width:14px;height:14px;border-radius:50%;border:2px solid #d9d6fb;border-top-color:#6d5df0;animation:agsspin 1s linear infinite;flex:none}@keyframes agsspin{to{transform:rotate(360deg)}}

/* Agent deals: fill bar (default agent deals / my deal − margin) 19/11/2026 */
.ags-fill{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px;font-size:13px;color:#4b5563}
.ags-pill{height:32px;padding:0 12px;border-radius:999px;border:1px solid #d9d6fb;background:#f7f6ff;color:#5b4be0;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ags-pill:disabled{opacity:.45;cursor:default}
.ags-margin{display:inline-flex;align-items:center;gap:6px;background:#f7f8fb;border-radius:999px;padding:3px 4px 3px 12px}
.ags-margin input{width:44px;height:28px;border:1px solid #e5e7eb;border-radius:8px;text-align:center;font:inherit;font-size:13px}
.ags-link-btn{border:0;background:none;color:#6d5df0;font:inherit;font-size:13px;font-weight:600;cursor:pointer;padding:4px 2px}
@media (max-width:640px){.ags-margin{flex-wrap:wrap;border-radius:12px}}

/* Club › Games & stakes: tick chips (19/11/2026) */
.ct-picks{display:flex;flex-wrap:wrap;gap:6px}.ct-picks-stakes{margin-top:10px}
.ct-pick{display:inline-flex;align-items:center;gap:5px;border:1px solid #e4e7f0;background:#fff;color:#98a2b3;border-radius:99px;padding:6px 13px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.2;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.ct-pick:hover{border-color:#c9cdd8;color:#475467}
.ct-pick i{font-style:normal;font-size:11px}
.ct-pick[aria-pressed=true]{border-color:transparent;background:#eef0f7;color:#344054}
.ct-pick.ct-nlh[aria-pressed=true]{background:#e8efff;color:#3157c8}.ct-pick.ct-plo4[aria-pressed=true]{background:#fde8e6;color:#c2410c}
.ct-pick.ct-plo5[aria-pressed=true],.ct-pick.ct-plo6[aria-pressed=true]{background:#e3f4ea;color:#16794a}
.ct-pick.ct-mtt[aria-pressed=true],.ct-pick.ct-sng[aria-pressed=true]{background:#1f2430;color:#fff}
.ct-pick.ct-k[aria-pressed=true]{background:#6d5df0;color:#fff}
.ct-union{margin:10px 0 0;font-size:13px;color:#667085}.ct-union b{color:#344054}.ct-union span{color:#98a2b3}
.cll-union{display:inline-block;margin-left:0;padding:2px 8px;border-radius:99px;background:#f1effe;color:#5b4be0;font-size:11px;font-weight:700;letter-spacing:.02em;vertical-align:1px;white-space:nowrap}

/* Club page: Private | Union switch next to the name (19/11/2026) */
.ct-type-row{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:12px;vertical-align:middle;font-size:13px;letter-spacing:0;line-height:1}
.ct-type{display:inline-flex;background:#eef0f7;border-radius:99px;padding:3px}
.ct-type button{border:0;background:transparent;color:#667085;font-family:inherit;font-size:12.5px;font-weight:700;padding:5px 12px;border-radius:99px;cursor:pointer}
.ct-type button[aria-pressed=true]{background:#fff;color:#5b4be0;box-shadow:0 1px 3px rgba(16,24,40,.12)}
.ct-union-input{height:30px;border:1px solid #e4e7f0;border-radius:99px;padding:0 12px;font-family:inherit;font-size:13px;font-weight:600;color:#344054;min-width:150px;max-width:220px}
.ct-union-input:focus{outline:2px solid #d9d6fb;border-color:#6d5df0}

/* Club list: Union column (19/11/2026) */
.cll-type{min-width:0}.cll-type .cll-union{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.cll-type-p{font-size:12px;color:#98a2b3;font-weight:600}.cll-type-u{font-size:12px;color:#5b4be0;font-weight:700}
@media(max-width:760px){.cll-row{grid-template-areas:"club club menu" "type deal num" "ids ids ids"}.cll-type{grid-area:type}}
/* Send on Telegram › Include (19/11/2026) */
.ctg-parts{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.ctg-parts button{border:1px solid #e4e7f0;background:#fff;border-radius:99px;padding:6px 11px;font-family:inherit;font-size:12.5px;font-weight:600;color:#667085;cursor:pointer}
.ctg-parts button[aria-pressed=true]{background:#f1effe;border-color:#d9d6fb;color:#5b4be0}
.ctg-parts button[aria-pressed=true]::before{content:"✓ ";font-size:11px}
.ctg-parts button:disabled{opacity:.4;cursor:default}
.ags-locked{position:relative;display:block}.ags-locked input{background:#f3f4f6!important;color:#6b7280!important;border-color:#eceef2!important;cursor:not-allowed;padding-right:26px!important}.ags-locked i{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-style:normal;font-size:11px;opacity:.6}
/* Statements: "Recalculate week" stays available but quiet (19/11 audit B6; it still asks for confirmation) */
#application .statement-refresh-week{background:transparent!important;border:1px solid transparent!important;color:#667085!important;box-shadow:none!important;font-weight:600}
#application .statement-refresh-week:hover{border-color:#e4e7f0!important;color:#344054!important}
/* One Telegram window per contact (19/11/2026, audit phase 2) */
.sftg{display:grid;gap:10px;min-width:min(520px,86vw)}
.sftg-group{display:flex;align-items:center;gap:6px;margin:0 0 4px;color:#229ed9;font-weight:700;font-size:13.5px}
.sftg-opt{display:flex;gap:12px;align-items:flex-start;border:1px solid #e4e7f0;border-radius:14px;padding:12px 14px;cursor:pointer;background:#fff}
.sftg-opt:has(input:checked){border-color:#c9c2fb;background:#f8f7ff}
.sftg-opt.is-off{opacity:.5;cursor:default}
.sftg-opt input{margin-top:3px;width:18px;height:18px;accent-color:#6d5df0;flex:none}
.sftg-opt span{display:grid;gap:3px;min-width:0;flex:1}.sftg-opt b{font-size:14px;color:#1f2430}.sftg-opt small{color:#667085;font-size:12.5px}
.sftg-opt em{font-style:normal;color:#b54708;font-size:12px;font-weight:600}
.sftg-thumb{width:100%;max-width:260px;border-radius:10px;border:1px solid #eef0f4;margin-top:6px}
.sftg-opt textarea{width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #e4e7f0;border-radius:10px;padding:8px 10px;font:inherit;font-size:13px;resize:vertical}
.sftg-status{margin:0;color:#6d5df0;font-size:13px;font-weight:600;min-height:1em}
/* Audit phase 3: balances = amount + words (no sign), labelled Statements totals */
.statement-clean-closing .statement-bal-word{display:block;font-size:11.5px;color:#667085;font-weight:500;margin-top:1px}
.statement-totals{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;margin:10px 2px 4px;font-size:13px;color:#667085}
.statement-totals>span:first-child{flex:1 1 auto}
.statement-totals .is-owes b{color:#d92d20}.statement-totals .is-owed b{color:#079455}
.sfc-stat small,.sfc-move-after small{text-transform:none}
/* Audit phase 3: a page title on every desktop page (Clubs, Accounts, Results, Statements had theirs hidden) */
@media(min-width:701px){
html body #application #main>.page-head,html body.mobile-directory #application #main>.page-head,html body #application #main:has(.clubs-directory)>.clubs-page-head,html body #application .harmonized-directory>.page-head{display:flex!important;height:auto!important;margin:0 0 14px!important;padding:0!important;min-height:0!important}
html body #application #main>.page-head h1,html body.mobile-directory #application main>.page-head h1{display:block!important;font-size:26px!important;font-weight:800!important;letter-spacing:-.02em;color:#1f2430;margin:0!important}
html body #application #main>.page-head .eyebrow,html body #application #main>.page-head p{display:none!important}
}
/* Settings page + one Share per club (audit phase 4) */
.sfset{display:grid;gap:14px;max-width:880px}
.sfset-card{background:#fff;border:1px solid #e9ecf3;border-radius:18px;padding:18px 20px}
.sfset-head{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}
.sfset-head h2{margin:0 0 3px;font-size:16px;font-weight:750;color:#1f2430}.sfset-head p{margin:0;color:#667085;font-size:13px;line-height:1.45}
.sfset-head .button{flex:none}
.sfset-rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px 18px;margin:14px 0 0;padding-top:12px;border-top:1px solid #f0f2f6}
.sfset-rows div{min-width:0}.sfset-rows dt{font-size:11.5px;color:#98a2b3;text-transform:uppercase;letter-spacing:.04em;font-weight:650}.sfset-rows dd{margin:2px 0 0;font-size:14px;font-weight:600;color:#1f2430;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfset-rows a{color:#6d5df0}.sfset-none{color:#98a2b3;font-weight:500}
.sfshare{display:grid;gap:10px;min-width:min(420px,84vw)}
.sfshare-opt{display:grid;gap:2px;text-align:left;border:1px solid #e4e7f0;border-radius:14px;padding:13px 15px;background:#fff;cursor:pointer;font:inherit}
.sfshare-opt:hover{border-color:#c9c2fb;background:#f8f7ff}.sfshare-opt b{font-size:14.5px;color:#1f2430}.sfshare-opt small{color:#667085;font-size:12.5px}
.club-more-panel .sfset-sheet-link{display:flex;align-items:center;gap:8px;text-decoration:none;color:inherit}
@media(max-width:700px){.sfset-head{flex-direction:column}.sfset-head .button{width:100%}.sfset-rows{grid-template-columns:1fr 1fr}}
.ags-legacy{margin:8px 0 0;padding:10px 12px;border-radius:12px;background:#fffaeb;border:1px solid #fedf89;color:#93370d;font-size:12.5px;line-height:1.45}
.import-mention{display:inline-block;margin-top:6px;border:1px dashed #c9c2fb;background:#f8f7ff;color:#6d5df0;border-radius:999px;padding:3px 10px;font:inherit;font-size:12px;font-weight:600;cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.import-mention.is-on{border-style:solid;background:#efecff}
.import-mention-edit{display:flex;gap:6px;margin-top:6px}.import-mention-edit input{flex:1;min-width:0;border:1px solid #d0d5dd;border-radius:10px;padding:6px 9px;font:inherit;font-size:13px}.import-mention-edit .button{padding:6px 10px}
.sf-follow-banner{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 12px;padding:12px 14px;border-radius:14px;background:#fffaeb;border:1px solid #fedf89;color:#93370d;font-size:13px;line-height:1.45}
.sf-follow-banner .button{flex:none}
.sf-follow-table td.is-diff{color:#b42318;font-weight:700}.sf-follow-table td,.sf-follow-table th{padding:8px 10px;text-align:left}
@media(max-width:700px){.sf-follow-banner{flex-direction:column;align-items:stretch}}
/* Send to <name>: options + Telegram-style preview (20/11/2026) */
#modal:has(.sftg-wide){width:min(1040px,96vw);max-width:min(1040px,96vw)}
.sftg-wide{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:20px;min-width:0;align-items:start}
.sftg-side{display:grid;gap:10px;min-width:0}
.sftg-preview-label{margin:0 0 6px;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#98a2b3}
.tgp{border-radius:18px;overflow:hidden;border:1px solid #d7e3ee;background:#fff;box-shadow:0 10px 30px rgba(16,24,40,.08);display:flex;flex-direction:column;height:min(620px,70vh)}
.tgp-head{display:flex;gap:10px;align-items:center;padding:10px 14px;background:#fff;border-bottom:1px solid #e6edf3}
.tgp-head b{display:block;font-size:14px;color:#111}.tgp-head small{font-size:12px;color:#8a9aa9}
.tgp-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;background:linear-gradient(135deg,#5ab0f0,#2a8ad8);flex:none}
.tgp-pin{display:flex;gap:8px;align-items:center;padding:7px 14px;background:#fff;border-bottom:1px solid #e6edf3;border-left:3px solid #2a8ad8;font-size:12.5px}
.tgp-pin b{display:block;color:#2a8ad8;font-size:12px}.tgp-pin small{color:#333;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}
.tgp-chat{flex:1;overflow:auto;padding:12px 10px 16px;background:radial-gradient(circle at 15% 10%,rgba(255,255,255,.4),transparent 35%),radial-gradient(circle at 85% 70%,rgba(255,255,255,.3),transparent 40%),#b9d39a;display:flex;flex-direction:column;gap:6px}
.tgp-msg{display:flex}.tgp-bubble{position:relative;max-width:88%;background:#fff;border-radius:14px 14px 14px 4px;padding:6px 9px 18px;box-shadow:0 1px 1px rgba(0,0,0,.12);font-size:13px;line-height:1.4;color:#111;min-width:120px}
.tgp-from{display:block;color:#2a8ad8;font-size:12.5px;margin-bottom:2px}
.tgp-bubble p{margin:4px 0 0;word-break:break-word}
.tgp-time{position:absolute;right:8px;bottom:4px;font-size:10.5px;color:#9aa6b2}
.tgp-msg.has-photo .tgp-bubble{padding:4px 4px 18px}.tgp-msg.has-photo .tgp-from{padding:2px 5px 0}.tgp-msg.has-photo p{padding:0 5px}
.tgp-photo{display:block;width:100%;max-height:300px;object-fit:cover;object-position:top;border-radius:10px}
.tgp-photo.is-loading{height:120px;display:grid;place-items:center;background:#eef2f6;color:#8a9aa9;font-size:12px}
.tgp-file{display:flex;gap:10px;align-items:center;padding:2px 0}.tgp-file b{display:block;font-size:12.5px;word-break:break-all}.tgp-file small{color:#8a9aa9;font-size:11.5px}
.tgp-file-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:800;flex:none}
.tgp-file-icon.is-pdf{background:#e5534b}.tgp-file-icon.is-xls{background:#1f9d55}
.tgp-edited{position:absolute;right:44px;bottom:4px;font-size:10.5px;color:#9aa6b2}
.tgp-empty{margin:auto;color:#5d6b4a;font-size:13px;background:rgba(255,255,255,.6);padding:6px 12px;border-radius:12px}
@media(max-width:860px){.sftg-wide{grid-template-columns:1fr}.tgp{height:440px}}

#modal .tgp-bubble,#modal .tgp-bubble p,#modal .tgp-bubble b:not(.tgp-from){color:#111}#modal .tgp-bubble p{font-size:13px;line-height:1.4}
#modal .tgp-from{color:#2a8ad8}#modal .tgp-bubble small{color:#8a9aa9}
.tgp-msg.is-balance .tgp-bubble{min-width:220px}
/* 22/11/2026 page-by-page polish */
dialog[tabindex="-1"]:focus{outline:none}
#toast:empty{visibility:hidden}
.pa-ui-id.is-empty{visibility:hidden}
@media(min-width:901px){html body #application .club-identity-facts{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
html body #application .results-week-waiting td{padding-top:7px!important;padding-bottom:7px!important}
html body #application .results-week-waiting .rs-wait{color:#98a2b3;font-size:12.5px;text-align:left}
@media(max-width:700px){html body #application .club-identity-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){
html body #application .ct-type button{min-height:34px;padding-left:14px;padding-right:14px}
html body #application .club-reference-edit{min-width:40px;min-height:40px;display:inline-grid;place-items:center}
}
html body #application input[data-multi-rate]{min-width:118px;width:118px}

/* 22/11/2026 (Arthur): clubs list without last-week results; Union column all grey, like Private */
.cll-margin{display:none!important}
html body #application .cll-union{background:none!important;color:#98a2b3!important;padding:0!important;font-size:12px!important;font-weight:600!important;letter-spacing:0!important}
html body #application .cll-type-u{color:#98a2b3!important;font-weight:600!important}
.cll-head span:nth-child(4){text-align:left!important}
