/* Nostra – wersja na iPhone'a. Kolory i karty jak w aplikacji na Androida. */
:root {
  --bg1: #062f26; --bg2: #062f26; --bg3: #062f26; --tile: #0d3d32;
  --cream: #f8f5e7; --muted: #ccdfd5; --ink: #102d25; --ink2: #395b50;
  --gold: #e3bd6a; --goldbtn: linear-gradient(145deg, #ffedb5, #f2d58a 40%, #d0a04b);
  --glass: #f4efe2;
  --good: #2a6e4c; --out: #a9473a; --outdark: #ffb4a2; --inc: #2f7a55; --incdark: #9fe0b8; --amber: #d7a746; --over: #a23f2e; --track: #e3ddcd;
  --chip: #ffffff; --chipline: #d8d1bf;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; min-width: 0; -webkit-tap-highlight-color: transparent; }
html { margin: 0; background: var(--bg3); }
body {
  margin: 0; min-height: 100dvh; background: linear-gradient(170deg, var(--bg1), var(--bg2) 40%, var(--bg3) 100%) var(--bg3) no-repeat; color: var(--cream);
  font: 16px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
[hidden] { display: none !important; }

.screen { padding: calc(var(--safe-t) + 14px) 16px calc(var(--safe-b) + 104px); max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.top { display: flex; align-items: center; gap: 10px; }
.logo { width: 40px; height: 40px; border-radius: 50%; background: var(--goldbtn); display: grid; place-items: center; }
.logo svg { width: 22px; height: 22px; fill: var(--ink); }
.brand { font-weight: 800; font-size: 26px; flex: 1; }
.eye { width: 44px; height: 44px; display: grid; place-items: center; }
.eye svg { width: 26px; height: 26px; fill: var(--cream); }
h1 { font-size: 40px; line-height: 1.05; margin: 2px 0 0; font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: 19px; margin: 6px 0 0; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.glass .kicker, .sheet .kicker { color: var(--ink2); }
.muted { color: var(--muted); font-size: 14px; }
.glass .muted, .sheet .muted { color: var(--ink2); }

.glass { background: var(--glass); color: var(--ink); border-radius: 24px; padding: 16px; }
.glass.tap { cursor: pointer; }
.row { display: flex; gap: 10px; align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat .l { font-size: 12px; color: var(--ink2); }
.stat .v { font-size: 17px; font-weight: 800; white-space: nowrap; }
.big { font-size: 30px; font-weight: 800; white-space: nowrap; }
.bal { display: flex; align-items: flex-end; justify-content: space-between; }
.bal .v { font-size: 28px; font-weight: 800; }
.bal .v.neg { color: #ffb4a2; }
.pool .name { font-weight: 700; }
.pool .v { font-size: 24px; font-weight: 800; margin: 4px 0 8px; }
.meter { height: 8px; border-radius: 9px; background: var(--track); overflow: hidden; flex: 1; }
.meter i { display: block; height: 100%; border-radius: 9px; background: var(--good); }
.meter i.warn { background: var(--amber); }
.pool .s { font-size: 13px; color: var(--ink2); margin-top: 8px; }
.alert { border-left: 0; }
.alert b { display: block; }

.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 99px; background: var(--goldbtn); color: var(--ink); font-weight: 800; font-size: 17px; padding: 0 22px; width: 100%; }
.btn[disabled] { opacity: .5; }
.btn.ghost { background: transparent; border: 1.5px solid #ffffff55; color: var(--cream); }
.glass .btn.ghost, .sheet .btn.ghost { border-color: var(--chipline); color: var(--ink); }
.link { color: var(--ink); font-weight: 700; padding: 10px 4px; min-height: 44px; }
.link.light { color: var(--cream); }
.link.danger { color: var(--over); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 16px; border-radius: 99px; background: var(--chip); border: 1px solid var(--chipline); color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.chip.on { background: #f2d58a; border-color: #d0a04b; }
.chips.dark .chip { background: transparent; border-color: #4c8068; color: var(--cream); }
.chips.dark .chip.on { background: #f2d58a; color: var(--ink); border-color: #d0a04b; }

.field { display: flex; flex-direction: column; gap: 4px; }
.field span { font-size: 13px; color: var(--ink2); font-weight: 600; }
.field input, .field textarea { width: 100%; border: 1.5px solid #7fa595; border-radius: 12px; background: #ffffffb0; color: var(--ink); padding: 12px 14px; font-size: 17px; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.field .hint { font-size: 12.5px; color: var(--ink2); font-weight: 400; }
.amount input { font-size: 26px; font-weight: 800; }
textarea { resize: none; min-height: 96px; }
.preview { font-size: 14px; color: var(--ink2); min-height: 20px; }
.preview b { color: var(--ink); }

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3.actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.action { background: var(--glass); color: var(--ink); border-radius: 20px; padding: 16px; text-align: left; display: flex; flex-direction: column; gap: 14px; font-weight: 800; font-size: 17px; min-height: 120px; }
.action .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--goldbtn); display: grid; place-items: center; }
.action .ic svg { width: 24px; height: 24px; fill: var(--ink); }

.day { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.tx { display: flex; gap: 12px; align-items: center; }
.tx .src { width: 24px; height: 24px; flex: none; }
.tx .src svg { width: 24px; height: 24px; fill: var(--ink2); }
.tx .mid { flex: 1; }
.tx .t { font-weight: 700; font-size: 17px; }
.tx .m { font-size: 14px; color: var(--ink2); }
.tx .m.p { color: #8a6200; }
.tx .n { font-size: 14px; color: var(--ink2); margin-top: 2px; }
.tx .a { font-weight: 800; font-size: 17px; white-space: nowrap; }
.tx .a.in { color: var(--good); }
.dup { color: var(--over); }

nav.bar { position: fixed; left: 0; right: 0; bottom: 0; background: #062f26f2; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 4px calc(var(--safe-b) + 6px); border-top: 1px solid #ffffff14; z-index: 5; }
nav.bar button { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--cream); font-size: 11.5px; font-weight: 600; min-height: 52px; position: relative; }
nav.bar svg { width: 26px; height: 26px; fill: currentColor; }
nav.bar .pill { width: 58px; height: 32px; border-radius: 99px; display: grid; place-items: center; }
nav.bar button.on { color: var(--gold); }
nav.bar button.on .pill { background: var(--gold); }
nav.bar button.on .pill svg { fill: var(--ink); }
nav.bar .badge { position: absolute; top: -2px; left: calc(50% + 8px); background: #f6b3aa; color: var(--ink); font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }

.sheet { position: fixed; inset: 0; background: #0009; z-index: 20; display: flex; align-items: flex-end; }
.sheet .panel { background: #f4efe2; color: var(--ink); width: 100%; max-width: 640px; margin: 0 auto; border-radius: 26px 26px 0 0; padding: 20px 18px calc(var(--safe-b) + 16px);
  max-height: 92dvh; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; animation: up .22s ease-out; }
.sheet .head { display: flex; align-items: center; }
.sheet .head h3 { flex: 1; margin: 0; font-size: 22px; }
.sheet .foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 4px; }
@keyframes up { from { transform: translateY(40px); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .sheet .panel { animation: none; } }

.toast { position: fixed; left: 12px; right: 12px; bottom: calc(var(--safe-b) + 84px); z-index: 30; background: #fff; color: var(--ink); border-radius: 18px;
  padding: 14px 16px; box-shadow: 0 10px 30px #0006; display: flex; gap: 12px; align-items: center; max-width: 616px; margin: 0 auto; }
.toast .txt { flex: 1; }
.toast .txt b { display: block; }
.toast .txt span { font-size: 13.5px; color: var(--ink2); }
.toast button { font-weight: 800; color: var(--ink); padding: 10px; }

.welcome { min-height: 100dvh; justify-content: center; }
.welcome .mark { width: 88px; height: 88px; border-radius: 24px; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.err { color: var(--over); font-weight: 600; }
.ok { color: var(--good); font-weight: 600; }
.spin { width: 18px; height: 18px; border: 2.5px solid #10302566; border-top-color: var(--ink); border-radius: 50%; animation: s .8s linear infinite; }
@keyframes s { to { transform: rotate(360deg); } }

/* Wydatki z minusem w stonowanej czerwieni, wpływy z plusem na zielono */
.neg { color: var(--out) !important; } .pos { color: var(--inc) !important; }
.bal .v.neg { color: var(--outdark) !important; } .bal .v.pos { color: var(--incdark) !important; }
.sums .r { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; }
.sums .r span { color: var(--ink2); font-size: 15px; } .sums .r b { font-size: 19px; font-weight: 800; white-space: nowrap; }

/* ---------- nowy wygląd (kafelki, koło, pierścienie, siatka kategorii) ---------- */
.tile { background: var(--tile); border: 1px solid #ffffff1f; border-radius: 24px; padding: 16px; color: var(--cream); display: flex; flex-direction: column; gap: 2px; }
.tile.tap { cursor: pointer; }
.tile.hero { flex-direction: row; align-items: center; gap: 12px; }
.tile .muted { font-size: 13px; }
.hv { font-size: 34px; font-weight: 800; line-height: 1.15; white-space: nowrap; }
.hv.neg { color: var(--outdark) !important; }
.incd { color: var(--incdark); font-weight: 600; font-size: 14px; margin-top: 6px; } .outd { color: var(--outdark); font-weight: 600; font-size: 14px; }
.tile .num { font-size: 30px; font-weight: 800; line-height: 1.2; } .tile .num.gold { color: #f2cc8f; } .tile .num.neg2 { color: var(--outdark); font-size: 24px; }
.ring { position: relative; flex: none; }
.ring .in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .in b { font-size: 15px; } .ring .in small { font-size: 9px; opacity: .8; }
.donutbox { position: relative; display: grid; place-items: center; margin: 12px 0; }
.donutbox .mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donutbox .mid small { font-size: 12px; color: var(--ink2); } .donutbox .mid b { font-size: 22px; font-weight: 800; }
.leg { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 4px; min-height: 44px; text-align: left; color: var(--ink); border-radius: 12px; }
.leg i, i.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; display: inline-block; }
.leg .n { flex: 1; font-weight: 600; } .leg small { color: var(--ink2); font-size: 13px; margin-right: 4px; } .leg .chev { color: var(--ink2); font-size: 20px; }
.hot { margin-top: 6px; display: inline-block; align-self: flex-start; background: #a9473a14; color: var(--out); border-radius: 10px; padding: 6px 10px; font-size: 13px; font-weight: 600; }
.quick button { aspect-ratio: 1; border-radius: 24px; background: var(--goldbtn); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 15px; }
.quick svg { width: 32px; height: 32px; fill: var(--ink); }
.goal { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0; color: var(--ink); text-align: center; }
.goal b { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .goal small { font-size: 12px; }
.subhead { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 6px; } .subhead h1 { font-size: 26px; margin: 0; }
.backbtn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px 0 14px; border-radius: 26px; border: 1.5px solid #e2b85c; background: rgba(226,184,92,.14); color: var(--cream); font: inherit; font-size: 18px; font-weight: 800; }
.backbtn svg { width: 24px; height: 24px; fill: var(--cream); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #e3ddcd; }
.seg button { flex: 1; min-height: 44px; border-radius: 11px; color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.seg button.on { background: var(--ink); color: #f4efe2; font-weight: 800; }
.catgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.catgrid button { height: 72px; border-radius: 16px; background: #fff; border: 1px solid #d8d1bf; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 4px; font-size: 13px; font-weight: 600; line-height: 1.15; text-align: center; }
.catgrid button i { width: 14px; height: 14px; border-radius: 50%; }
.catgrid button.on { background: #f2cc8f; border: 2px solid var(--ink); font-weight: 800; }
.catgrid button.own { background: transparent; border-color: #6b8a7f; font-weight: 800; } .catgrid button.own b { font-size: 20px; line-height: 1; }
.bigamt { display: flex; align-items: baseline; justify-content: center; gap: 0; font-size: 40px; font-weight: 800; color: var(--ink); }
.bigamt.neg { color: var(--out); } .bigamt.pos { color: var(--inc); }
.bigamt .sg { margin-right: 2px; } .bigamt input + span { margin-left: 8px; }
.bigamt input { border: 0; background: transparent; outline: none; font: inherit; color: inherit; text-align: center; padding: 0; max-width: 60vw; }
.bigamt input::placeholder { color: currentColor; opacity: .35; }
.swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.swatches button { aspect-ratio: 1; border-radius: 50%; } .swatches button.on { box-shadow: 0 0 0 3px #f4efe2, 0 0 0 5px var(--ink); }
.chip.x { display: inline-flex; align-items: center; gap: 2px; padding-right: 4px; }
.chip.x button { width: 32px; height: 32px; font-size: 20px; color: var(--ink2); }
.grid3 { align-items: start; }

/* ---------- Dziś / Analizy (makiety 1.0) ---------- */
#app { position: relative; }
.pano { position: absolute; top: 0; left: 0; right: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.pano img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 50% 50%; }
.pano i { position: absolute; inset: 0; background: linear-gradient(180deg, #062f26cc 0%, #062f2633 35%, #062f2600 70%, var(--bg2) 100%); }
.bgprev { position: relative; height: 120px; border-radius: 16px; overflow: hidden; }
.screen.over { position: relative; z-index: 1; }
.brand2 { flex: 1; display: flex; flex-direction: column; line-height: 1.1; } .brand2 b { font-size: 26px; font-weight: 800; } .brand2 small { font-size: 13px; }
.logo { width: 46px; height: 46px; } .logo svg { width: 26px; height: 26px; }
.bell { position: relative; } .bell .dot { position: absolute; top: 4px; right: 4px; background: #e5674f; color: #fff; font-size: 10px; font-weight: 800; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 3px; }
.hello { flex: 1; font-size: 22px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpill { position: relative; display: inline-flex; align-items: center; gap: 2px; padding: 9px 12px 9px 16px; border-radius: 99px; background: #062f26b3; border: 1px solid #3f8f6b; font-size: 15px; font-weight: 600; white-space: nowrap; }
.mpill svg { width: 20px; height: 20px; fill: var(--cream); } .mpill select { position: absolute; inset: 0; opacity: 0; font-size: 16px; }
.bgbtn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 30px; padding: 7px 12px; border-radius: 99px; background: #062f2699; border: 1px solid #3f8f6b; color: var(--cream); font-size: 14px; font-weight: 600; }
.bgbtn svg { width: 18px; height: 18px; fill: var(--cream); }
.hero2 { display: flex; align-items: center; width: 100%; text-align: left; padding: 18px; border-radius: 26px; background: linear-gradient(180deg, #124a3df0, #0b3a2ff0); border: 1px solid #71c29a55; color: var(--cream); }
.coin { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--goldbtn); display: grid; place-items: center; } .coin svg { width: 34px; height: 34px; fill: var(--ink); }
.coin.sm { width: 44px; height: 44px; } .coin.sm svg { width: 24px; height: 24px; }
.hero2 .sep { width: 1px; height: 72px; background: #71c29a55; margin: 0 14px; flex: none; }
.hero2 .txt { display: flex; flex-direction: column; min-width: 0; } .hero2 .txt span { font-size: 17px; }
.hero2 .txt b { font-size: 38px; font-weight: 800; line-height: 1.1; white-space: nowrap; } .hero2 .txt b.neg { color: var(--outdark) !important; }
.hero2 .txt small { color: #f2d58a; font-size: 14px; font-weight: 600; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.three div { display: flex; flex-direction: column; } .three div + div { border-left: 1px solid #71c29a55; }
.three span { font-size: 15px; } .three b { font-size: 17px; font-weight: 800; white-space: nowrap; letter-spacing: -.2px; }
.three .pos { color: var(--incdark) !important; } .three .neg { color: var(--outdark) !important; } .gold { color: #f2d58a !important; }
.h2 { font-size: 22px; font-weight: 800; margin: 0; } .h2.ink { color: var(--ink); }
.goalrow { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gtile { flex: 1 0 calc((100% - 16px) / 3); min-width: 104px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 20px; background: #0d3d32; border: 1px solid #71c29a55; color: var(--cream); text-align: center; }
.gtile > svg { width: 28px; height: 28px; fill: #f2d58a; } .gtile b { font-size: 15px; line-height: 1.2; } .gtile small { font-size: 13px; } .gtile .ring { margin-top: auto; } .ok2 { color: var(--incdark); }
.actions button { height: 76px; border-radius: 18px; background: var(--goldbtn); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 17px; }
.actions svg { width: 28px; height: 28px; fill: var(--ink); }
.wmg { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.wmg .dn { position: relative; width: 128px; height: 128px; flex: none; } .wmg .dn > span { position: absolute; inset: 0; display: grid; place-items: center; } .wmg .dn > span svg { width: 34px; height: 34px; fill: var(--ink); }
.wmg .lg { flex: 1; border-left: 1px solid #dcd2bb; padding-left: 12px; min-width: 0; }
.wmg .lg button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 36px; color: var(--ink); font-size: 15px; } .wmg .lg button + button { border-top: 1px solid #e6decb; }
.wmg .lg i { width: 12px; height: 12px; border-radius: 50%; flex: none; } .wmg .lg span { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.muted2 { color: var(--ink2); font-size: 14px; margin-top: 6px; } .muted3 { color: var(--muted); font-size: 13px; }
.bl { justify-content: space-between; padding: 3px 0; } .bl.tot { border-top: 1px solid #dcd2bb; padding-top: 8px; font-weight: 800; }
.range { gap: 8px; margin-top: 40px; font-size: 16px; } .range svg { width: 20px; height: 20px; fill: var(--cream); }
.dcard { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 26px; background: #0d3d32f0; border: 1px solid #71c29a55; }
.dcard .row { gap: 12px; } .lgd { gap: 20px !important; font-size: 15px; } .lgd span { display: flex; align-items: center; gap: 8px; } .lgd i { width: 14px; height: 14px; border-radius: 3px; }
.chart { width: 100%; height: auto; touch-action: manipulation; } .chart .ax { fill: #ccdfd5; font-size: 10px; } .chart .ax.b { font-weight: 600; } .chart .axl { stroke: #8fa99c; stroke-width: 1.2; }
.daydet { background: #062f26; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; } .neg2 { color: var(--outdark); }
.tn { width: 30px; height: 30px; fill: #f2cc6b; flex: none; } .tn.dk { fill: #0b4a35; }
.lhead, .lrow { display: grid; grid-template-columns: 1fr 1.1fr 1.2fr; align-items: center; padding: 0 6px; }
.lhead { font-size: 14px; font-weight: 700; }
.ltable { background: var(--glass); color: var(--ink); border-radius: 18px; padding: 0 6px; } .lrow { min-height: 56px; } .lrow + .lrow { border-top: 1px solid #dcd2bb; }
.lrow .c1, .lrow .c2, .lrow .c3 { display: flex; align-items: center; gap: 4px; min-width: 0; } .lrow .c1 svg { width: 22px; height: 22px; fill: var(--ink); flex: none; }
.cb { width: 40px; height: 40px; display: grid; place-items: center; flex: none; } .cb svg { width: 24px; height: 24px; fill: var(--ink); } .cb:disabled { opacity: .35; }
.lim { font-size: 15px; color: var(--ink); min-height: 40px; } .lim.set { color: #7a5718; font-weight: 700; }
.lrow .good { color: #2a6e4c; font-size: 17px; font-weight: 800; } .lrow .bad { color: #a23f2e; font-size: 17px; font-weight: 800; }
.psw { display: flex; gap: 8px; margin: 12px 0 4px; } .psw button { flex: 1; height: 42px; border-radius: 99px; background: #e6decb; color: var(--ink); font-size: 15px; } .psw button.on { background: #0b4a35; color: var(--cream); font-weight: 700; }
.crow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 0; color: var(--ink); text-align: left; } .crow + .crow { border-top: 1px solid #e6decb; }
.crow > svg { width: 24px; height: 24px; fill: var(--ink); flex: none; } .crow .n { flex: 1; display: flex; flex-direction: column; min-width: 0; } .crow .n b { font-size: 18px; } .crow .n small { font-size: 13px; color: var(--ink2); }
.crow .v { font-size: 18px; font-weight: 800; white-space: nowrap; } .crow.sm .n b { font-size: 16px; } .crow.sm .v { font-size: 15px; }
.cbx { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; } .cbx svg { width: 27px; height: 27px; }
.ini { width: 38px; height: 38px; border-radius: 50%; background: #e6decb; display: grid; place-items: center; font-weight: 800; flex: none; }
.h3 { font-size: 18px; font-weight: 800; } .srow { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 8px 0; color: var(--ink); text-align: left; }
.trend { display: flex; gap: 6px; align-items: flex-end; height: 96px; margin-top: 10px; } .trend span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; justify-content: flex-end; height: 100%; }
.trend i { width: 70%; border-radius: 6px; } .trend small { font-size: 11px; }
.review { background: #f7e9c8; color: var(--ink); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 8px; } .review > b { font-size: 17px; }
nav.bar button { font-size: 13px; }

.ggrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .ggrid.one { grid-template-columns: 1fr; }
.gcard { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; background: #0d3d32; border: 1px solid #71c29a55; color: var(--cream); text-align: left; min-width: 0; }
.gcard .ring { flex: none; } .gcard .ring .in b { font-size: 13px; }
.gt { display: flex; flex-direction: column; min-width: 0; } .gt b { font-size: 15px; line-height: 1.2; overflow-wrap: normal; word-break: normal; hyphens: none; }
.gt b svg { width: 15px; height: 15px; fill: #f2d58a; vertical-align: -2px; margin-right: 4px; } .gt small { font-size: 13px; color: var(--muted); } .gt em { font-style: normal; font-size: 12px; font-weight: 600; color: #f2d58a; }
.gt b.long { font-size: 12.5px; letter-spacing: -.2px; }

/* ---------- Dziś: wersja zwarta ---------- */
.dzis.screen { gap: 10px; }
.dzis .bgbtn { align-self: flex-end; margin-top: 22px; padding: 5px 10px; font-size: 12px; } .dzis .bgbtn svg { width: 15px; height: 15px; }
.dzis .hero2 { padding: 12px 14px; border-radius: 22px; } .dzis .coin { width: 50px; height: 50px; } .dzis .coin svg { width: 28px; height: 28px; }
.dzis .hero2 .sep { height: 56px; margin: 0 12px; } .dzis .hero2 .txt span { font-size: 14px; } .dzis .hero2 .txt b { font-size: 34px; } .dzis .hero2 .txt small { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dzis .three span { font-size: 13px; } .dzis .three b { font-size: 17px; }
.dzis .h2 { font-size: 18px; }
.dzis .gcard { flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 10px; border-radius: 16px; }
.gn { display: flex; align-items: center; gap: 5px; font-size: 15px; white-space: nowrap; overflow: hidden; } .gn span { overflow: hidden; text-overflow: ellipsis; } .gn svg { width: 16px; height: 16px; fill: #f2d58a; flex: none; } .gn.long { font-size: 12.5px; }
.gr { display: flex; align-items: center; gap: 8px; margin-top: auto; } .gr .ring .in b { font-size: 11px; }
.gr .gt small { font-size: 13px; } .gr .gt em { font-size: 12px; } .gr .gt em.none { color: var(--muted); font-weight: 400; }
.dzis .actions button { height: 54px; flex-direction: row; gap: 6px; font-size: 15px; border-radius: 16px; } .dzis .actions svg { width: 22px; height: 22px; }
.dzis .glass { padding: 14px; } .dzis .glass > b { font-size: 17px !important; }
.dzis .wmg { margin-top: 6px; gap: 14px; } .dzis .wmg .dn { width: 104px; height: 104px; } .dzis .wmg .dn svg.donut { width: 104px; height: 104px; } .dzis .wmg .dn > span svg { width: 28px; height: 28px; }
.dzis .wmg .lg { border-left: 0; padding-left: 0; } .dzis .wmg .lg button { min-height: 26px; font-size: 14px; } .dzis .wmg .lg button + button { border-top: 0; } .dzis .wmg .lg i { width: 10px; height: 10px; }

.crow2 { display: flex; align-items: center; gap: 10px; background: var(--glass); color: var(--ink); border-radius: 14px; padding: 8px 12px; }
.crow2 .src svg { width: 20px; height: 20px; fill: var(--ink2); } .crow2 .mid { flex: 1; min-width: 0; }
.crow2 .r1 { display: flex; align-items: center; gap: 6px; } .crow2 .r1 b { flex: 1; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow2 .r1 span { font-weight: 800; white-space: nowrap; } .crow2 .r1 .neg { color: var(--out); } .crow2 .r1 .pos { color: var(--inc); } .crow2 .warn { color: #b7791f; font-weight: 400; }
.crow2 .m { font-size: 12px; color: #8a5a00; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reader { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: #f7e9c8; font-size: 13px; } .reader.ok { background: #dbeee2; } .reader span { flex: 1; }

.claude .cst { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; } .claude .cst i { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; flex: none; }
.claude .keyrow { display: flex; gap: 6px; margin: 12px 0 8px; } .claude .keyrow input { flex: 1; font-size: 16px; padding: 12px; border-radius: 12px; border: 1px solid #9fb5ab; background: #fffdf6; }
.claude .eye { width: 48px; border-radius: 12px; border: 1px solid #9fb5ab; background: #fffdf6; font-size: 18px; }
.claude details { margin-top: 12px; } .claude summary { font-weight: 800; font-size: 15px; padding: 6px 0; } .claude ol { margin: 6px 0 0 18px; padding: 0; font-size: 14px; line-height: 1.5; }
.claude .safe { font-size: 13px; color: var(--ink2, #395b50); margin: 10px 0 0; }
.advice p { margin: 4px 0; font-size: 15px; } .advice .spark { color: #e3bd6a; font-size: 20px; margin-right: 8px; }
.advice .tip { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(16,45,37,.08); } .advice .tip:first-of-type { border-top: 0; }
.advice .tip b { font-size: 16px; } .advice .tip p { margin: 2px 0 0; }
.advice .tk { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; margin-top: 2px; }
.advice .tk.u { background: var(--over); } .advice .tk.p { background: var(--good); } .advice .tk.o { background: #8a6a1c; }
.advice small { display: block; margin-top: 8px; font-size: 13px; }
