/* EXNO dashboard polish (26 Nov 2026, #234): the summary cards of Payouts and Payment links in the same language as the
   dashboard home money row and Products v2 (mono labels, larger numbers; the payout balance is the dark lime card).
   Style only: no markup, text or behaviour changes. Colours come from the app's theme variables. */

/* Payouts: the three balance cards (available, on hold, next payout) */
[data-appearance] main .grid.gap-3:has(> div > p.break-words.tabular-nums){gap:14px}
[data-appearance] main .grid.gap-3:has(> div > p.break-words.tabular-nums) > div{position:relative;border-radius:18px;padding:18px 20px 20px;background:var(--color-surface);box-shadow:0 0 0 1px var(--color-line),0 1px 2px rgb(10 20 38/.04)}
[data-appearance] main .grid.gap-3:has(> div > p.break-words.tabular-nums) > div > p:first-child{font:600 11.5px/1.2 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--color-ink-3)}
[data-appearance] main .grid.gap-3:has(> div > p.break-words.tabular-nums) > div > p.break-words{margin-top:14px;font-size:24px;line-height:1.15;font-weight:650;letter-spacing:-.025em;color:var(--color-ink)}
[data-appearance] main .grid.gap-3:has(> div > p.break-words.tabular-nums) > div > p:nth-child(3){margin-top:8px;font-size:12.5px;line-height:1.45;color:var(--color-ink-3)}
[data-appearance] main .grid.gap-3:has(> div > p.break-words.tabular-nums) > div:first-child{background:radial-gradient(120% 90% at 100% 0%,rgb(180 232 0/.16),transparent 55%),linear-gradient(160deg,#16181e,#1f222a);box-shadow:0 0 0 1px rgb(255 255 255/.07),0 18px 40px -24px rgb(10 20 38/.6)}
[data-appearance] main .grid.gap-3:has(> div > p.break-words.tabular-nums) > div:first-child > p:first-child{color:rgb(255 255 255/.62)}
[data-appearance] main .grid.gap-3:has(> div > p.break-words.tabular-nums) > div:first-child > p:first-child svg{color:#d4f15a}
[data-appearance] main .grid.gap-3:has(> div > p.break-words.tabular-nums) > div:first-child > p.break-words{font-size:30px;color:#fff}
[data-appearance] main .grid.gap-3:has(> div > p.break-words.tabular-nums) > div:first-child > p:nth-child(n+3){color:rgb(255 255 255/.62)}
[data-appearance] main .grid.gap-3:has(> div > p.break-words.tabular-nums) + p{display:flex;gap:8px;align-items:flex-start;margin-top:14px;padding:12px 14px;border-radius:12px;background:var(--color-subtle);box-shadow:0 0 0 1px var(--color-line) inset;max-width:none}

/* Payment links: the totals row */
[data-testid="links-totals"]{gap:14px}
[data-testid="links-totals"] > div{border-radius:16px;padding:16px 18px;box-shadow:0 0 0 1px var(--color-line),0 1px 2px rgb(10 20 38/.04)}
[data-testid="links-totals"] dt{font:600 11.5px/1.2 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--color-ink-3)}
[data-testid="links-totals"] dd{margin-top:12px;font-size:26px;line-height:1.1;font-weight:650;letter-spacing:-.025em}
@media (max-width:640px){[data-appearance] main .grid.gap-3:has(> div > p.break-words.tabular-nums) > div:first-child > p.break-words{font-size:26px}[data-testid="links-totals"] dd{font-size:22px}}
/* Settings menu: the "Appearance" item (a portal from the chat bubble bundle, class ex-stage-seller-settings) had no style
   of its own and rendered as a bare icon over plain text; it now matches the other items of the menu (26 Nov). */
.ex-stage-seller-settings{display:flex;align-items:center;gap:12px;padding:14px 16px;font-size:14.5px;line-height:1.4;font-weight:500;color:var(--color-ink-2);text-align:left;transition:background-color .15s,box-shadow .15s}
.ex-stage-seller-settings:hover{background:var(--color-subtle)}
.ex-stage-seller-settings>span{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:8px;background:var(--color-subtle);color:var(--color-ink-3)}
.ex-stage-seller-settings>span svg{width:18px;height:18px}
.ex-stage-seller-settings[aria-current=page]>span{background:var(--color-primary-soft);color:var(--color-primary)}
@media (min-width:1024px){.ex-stage-seller-settings{padding:10px 12px;border-radius:8px;font-size:14px}.ex-stage-seller-settings>span{width:32px;height:32px}.ex-stage-seller-settings:hover{background:color-mix(in srgb,var(--color-surface) 70%,transparent)}.ex-stage-seller-settings[aria-current=page]{background:var(--color-surface);box-shadow:0 1px 2px rgb(10 20 38/.05),0 0 0 1px var(--color-line)}}
/* Messages window: EXNO's own conversation in the list shows the green hand logo (Zafer 27 Nov 05:31; the list gets it as
   the conversation's logo, src/support/members.mjs + tools/apply_support_hand.py) on the window's dark tile, the same tile
   as the open conversation's header (.ex-chat-support-avatar), in both themes — never an "EX" monogram. */
img.rounded-full[src^="/brand/exno-hand-"]{box-sizing:border-box;padding:6px;background:#121417;object-fit:contain}

/* Existing Appearance preferences, presented as a distinct settings view. */
/* Restore the existing EXNO night palette for the saved dashboard light/dark choice.
   Sidebar variables use the native Classic palette; the saved classic/light value is not changed. */
html[data-dashboard-theme=dark]{color-scheme:dark;--color-canvas:#0e1014;--color-surface:#15181e;--color-subtle:#1a1d24;--color-sunken:#20242c;--color-line:#262a33;--color-line-2:#343a45;--color-ink:#eef1f5;--color-ink-2:#d2d7df;--color-ink-3:#a3a9b6;--color-ink-4:#949ba8;--color-primary:#c5f34b;--color-primary-hover:#d4f15a;--color-primary-soft:#222a12;--color-brand:#b4e800;--color-brand-2:#c5f34b;--color-brand-ink:#d4f15a;--color-earn:#4fd18b;--color-earn-soft:#12291c;--color-earn-ink:#7fe0a6;--color-refund:#ff8e98;--color-refund-soft:#3d2328;--color-star:#f4c45a}
html[data-dashboard-theme=dark] body{background:var(--color-canvas);color:var(--color-ink)}
html[data-dashboard-theme=dark] [data-appearance]{--rail-bg:#1d2026;--rail-line:#2c3038;--rail-ink:#eceef2;--rail-ink-2:#aab0bc;--rail-ink-3:#a3a9b6;--rail-hover:#262a31;--rail-active:#2f343d;--rail-active-ink:#fff;--rail-icon-active:#b4e800;--workspace-bg:#0e1014}
html[data-dashboard-theme=dark] .bg-primary.text-white,html[data-dashboard-theme=dark] .bg-primary .text-white,html[data-dashboard-theme=dark] .bg-ink.text-white,html[data-dashboard-theme=dark] .bg-ink .text-white{color:#0a1426}
.ex-stage-seller-settings{display:flex;align-items:center;gap:12px;min-width:0;min-height:64px;padding:14px 16px;color:var(--color-ink-2);font-size:14.5px;font-weight:500;line-height:1.4;text-align:start;text-decoration:none;transition:background-color .15s,box-shadow .15s}
.ex-stage-seller-settings:hover{background:var(--color-subtle)}
.ex-stage-seller-settings>span{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:8px;background:var(--color-subtle);color:var(--color-ink-3)}
.ex-stage-seller-settings>span svg{width:18px;height:18px}
.ex-stage-seller-settings[aria-current=page]{color:var(--color-ink);font-weight:600;background:var(--color-surface)}
.ex-stage-seller-settings[aria-current=page]>span{background:var(--color-primary-soft);color:var(--color-primary)}
html[data-stage-appearance=seller] [data-testid=settings-nav-account]{background:transparent!important;box-shadow:none!important;color:var(--color-ink-2)}
html[data-stage-appearance=seller] [data-testid=settings-nav-account]>span:first-child{background:var(--color-subtle);color:var(--color-ink-3)}
html[data-stage-appearance=seller] [data-testid=settings-nav-account]>span:nth-child(2)>span:first-child{font-weight:500;color:var(--color-ink-2)}
[data-testid=settings-section-account][data-stage-settings=seller]{display:flex;min-width:0;flex-direction:column;gap:20px;scroll-margin-top:80px}
[data-testid=settings-section-account][data-stage-settings=seller]>*{margin-block:0!important}
[data-testid=settings-section-account][data-stage-settings=seller]>:not(#appearance):not([data-exno-stage-slot=seller]){display:none}
[data-testid=settings-section-account][data-stage-settings=seller]>[data-exno-stage-slot=seller]{order:0;min-width:0}
[data-testid=settings-section-account][data-stage-settings=seller]>#appearance{order:1;min-width:0}
[data-testid=settings-section-account][data-stage-settings=account]>#appearance{display:none}
.ex-panel-themes{display:block;min-width:0;margin:0;padding:20px;border:0;border-radius:12px;background:var(--color-surface);color:var(--color-ink);box-shadow:0 0 0 1px var(--color-line),0 1px 2px rgb(10 20 38/.04)}
.ex-panel-themes>legend{display:block;float:left;width:100%;padding:0;font-size:15px;font-weight:600;line-height:1.4;letter-spacing:-.01em}
.ex-panel-themes>p{clear:both;margin:6px 0 18px;padding-top:6px;font-size:13.5px;line-height:1.55;color:var(--color-ink-3)}
.ex-panel-theme-options{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
.ex-panel-theme-option{display:flex;min-width:0;flex-direction:column;gap:10px;padding:8px;border-radius:12px;cursor:pointer;background:var(--color-surface);box-shadow:0 0 0 1px var(--color-line);transition:background-color .15s,box-shadow .15s}
.ex-panel-theme-option:hover{box-shadow:0 0 0 1px var(--color-line-2)}
.ex-panel-theme-option:has(input:checked){background:var(--color-primary-soft);box-shadow:0 0 0 2px var(--color-primary)}
.ex-panel-theme-option:focus-within{outline:2px solid var(--color-primary);outline-offset:3px}
.ex-panel-sample{display:flex;min-width:0;height:104px;overflow:hidden;border-radius:8px;box-shadow:0 0 0 1px rgb(0 0 0/.05)}
.ex-panel-sample-rail{display:flex;flex:0 0 32%;flex-direction:column;gap:9px;padding:14px 10px;background:#fff;border-inline-end:1px solid #e6e8ee}
.ex-panel-sample-main{display:flex;flex:1;flex-direction:column;gap:10px;min-width:0;padding:14px;background:#f4f5f7}
.ex-panel-sample i{display:block;height:7px;border-radius:6px;background:#d5d9e1}
.ex-panel-sample-rail i:first-child{width:70%;background:#0a1426}
.ex-panel-sample-rail i:nth-child(2){width:85%}
.ex-panel-sample-rail i:nth-child(3){width:58%}
.ex-panel-sample-main i:first-child{width:55%;height:8px}
.ex-panel-sample-main i:nth-child(2){height:30px;background:#fff}
.ex-panel-sample-main i:nth-child(3){width:78%}
[data-palette=dark] .ex-panel-sample-rail{background:#19181d;border-color:#38363e}
[data-palette=dark] .ex-panel-sample-main{background:#25232b}
[data-palette=dark] .ex-panel-sample i{background:#494651}
[data-palette=dark] .ex-panel-sample-rail i:first-child{background:#b4e800}
[data-palette=dark] .ex-panel-sample-main i:nth-child(2){background:#34313c}
.ex-panel-option-name{display:flex;align-items:center;gap:8px;min-width:0;padding:2px 3px 4px;font-size:14px;font-weight:600;line-height:1.4}
.ex-panel-option-name>svg{flex:none}
.ex-panel-option-name>input{flex:none;width:17px;height:17px;margin-inline-start:auto;accent-color:var(--color-primary)}
[data-stage-settings=seller] #appearance [role=radio]{min-width:0;text-align:start}
@media(min-width:640px){.ex-panel-themes{padding:24px}.ex-panel-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.ex-stage-seller-settings{min-height:52px;padding:10px 12px;border-radius:8px;font-size:14px}.ex-stage-seller-settings>span{width:32px;height:32px}.ex-stage-seller-settings[aria-current=page]{box-shadow:0 0 0 1px var(--color-line),0 1px 2px rgb(10 20 38/.04)}}
@media(max-width:639px){[data-stage-settings=seller] #appearance{grid-template-columns:minmax(0,1fr);gap:18px}[data-stage-settings=seller] #appearance [role=radiogroup]{grid-template-columns:minmax(0,1fr)}}
