
      /* The fonts are NOT imported here any more. This sheet is written into
         the document by React, so an @import inside it could not be seen until
         the whole bundle had arrived and run: measured on a slow link, the
         request went out at 4,726 ms and the files landed at 8,907 ms. It is a
         <link> in index.html and lab.html now, which puts the request beside
         the HTML. Anything that renders this sheet has to carry that link. */
      :root {
        /* Kose yaricaplari (kullanici, 2026-10-28: tasarimlardaki degerler): kart ve
           panel 18, ic kutu 16, kontrol 12, modal 22, alttan acilan sayfa 26. Yeni
           bir yuzey yazarsan sayi degil bunlardan birini kullan. */
        --r-card:18px; --r-panel:18px; --r-inner:16px; --r-ctl:12px; --r-modal:22px; --r-sheet:26px;
        --bg:#F4F7F5; --surface:#FFFFFF; --ink:#0E211B; --ink-soft:#16302A; --dim:#5C6B66; --faint:#94A39D;
        --line:#E4EAE7; --primary:#12B981; --primary-ink:#0B7A55; --mint:#D6F5E7; --sel-bg:#0D855D;
        --green:#0F9F6E; --amber:#B8860B; --amberline:#E0B052; --red:#D14343; --violet:#0E5B4E; --blue:#0E7C64; --st-blue:#2F6FDB;
        --potential:#FFF6E8; --inkfix:#0E211B;
        /* Money leaving. A red pulled towards the amber the app already
           carries, so it reads as spending rather than as an error. Named
           because the Spent so far figure and its bars have to be the same
           colour; they were a hand written mix in one place and bare --red in
           the other. Declared here rather than beside the bars so a palette's
           own --red and --amber (written to :root after this) feed it. */
        --spend:color-mix(in srgb, var(--red) 72%, var(--amber) 28%);
        /* Money still owed. Gold pulled a fifth of the way into the green the
           app already carries, so it reads as energy rather than as a warning
           light, without reading as money that has arrived. Two values, not
           one: a figure sits on white paper here and a bright yellow does not
           survive that (bare --amber measures 3.25 on --surface, already at
           the floor for a figure this size). Light keeps the deep gold, dark
           takes the bright one it can afford, in the DARK overrides. */
        --pending:color-mix(in srgb, var(--amber) 82%, var(--green));
        /* The income chart's four series. A 2px line is a graphical object and
           needs 3:1 against the card: bare --violet measured 2.05 in Emerald
           dark and bare --red 2.65 in Amber dark, both under it. Deepened 70%
           toward --ink (which lightens them in dark mode and darkens them in
           light) the worst of the four is 4.03.
           The legend chips carry white text, which needs 4.5: bare --amber
           gives 3.25 and bare --green 3.38, so the chips take the same hue at
           80% over black, where the worst is 4.83. */
        --ser-gross:color-mix(in srgb, var(--violet) 70%, var(--ink));
        --ser-net:color-mix(in srgb, var(--green) 70%, var(--ink));
        --ser-tax:color-mix(in srgb, var(--amber) 70%, var(--ink));
        --ser-fwd:color-mix(in srgb, var(--red) 70%, var(--ink));
        --serchip-gross:color-mix(in srgb, var(--violet) 80%, #000);
        --serchip-net:color-mix(in srgb, var(--green) 80%, #000);
        --serchip-tax:color-mix(in srgb, var(--amber) 80%, #000);
        --serchip-fwd:color-mix(in srgb, var(--red) 80%, #000);
      }
      /* Tema ve acik/koyu mod degisiminde erime (kullanici, 2026-11-02; fadeTheme, src/theme-fade.js): tarayicinin
         eski ve yeni goruntusu ust uste 1.1 sn'de eriyor (THEME_FADE_MS ile ayni). Yalnizca bu gecis var; baska bir
         view transition yazilirsa kendi adini (view-transition-name) almali. */
      ::view-transition-old(root), ::view-transition-new(root) { animation-duration:1.1s; animation-timing-function:cubic-bezier(.4,0,.2,1); }
      @media (prefers-reduced-motion:reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation:none; } }
      .app.dark { color-scheme:dark; --st-blue:#6EA4F7; }
      .app.dark .infobox { border:1px solid rgba(238,243,240,.4); box-shadow:0 8px 26px rgba(0,0,0,.5); }
      .app.dark tbody tr:hover { outline:1.5px solid #35544A; }
      .app.dark .sectionrow td { background:color-mix(in srgb, var(--primary) 16%, var(--surface)); }
      /* Gider/Fatura satirlarinin zeminleri temadan (kullanici, 2026-11-02): sabit yesil kodlar (#16281F, #12201B,
         #F0F8F4...) Zumrut disindaki her temada yesil satir gosteriyordu. */
      .app.dark .potential { background:#241E12; }
      /* background-color, not background: the shorthand also resets
         background-image, and on a phone that image IS the chevron that says a
         select is a select. In dark mode every dropdown in a field was a plain
         box with no mark on it. */
      .app.dark .field input, .app.dark .field select, .app.dark .field textarea,
      .app.dark .cmnotes, .app.dark .docpanelrow input, .app.dark .linkrow input,
      .app.dark .chipinput, .app.dark .loginbox input { background-color:#101E19; }
      .app.dark .inline:hover, .app.dark .inline:focus { background:#101E19; }
      .app.dark .confirmbox .amt { background:#231C10; }
      .app.dark td { border-bottom-color:#1E2E28; }
      .app.dark tbody tr:hover .num { color:inherit; }
      .app.dark .btn { background:var(--surface); }
      .app.dark .card.score.hero { background:linear-gradient(135deg, var(--mint), var(--surface)); }
      .app.dark .seg.on { background:color-mix(in srgb, var(--primary) 14%, var(--surface)); }
      * { box-sizing:border-box; }
      /* A floor, not a rule (kullanici, 2026-11-01): browsers give a button the
         arrow, and the hand came only from each class remembering to ask for
         it. Time & Tasks entries (switch, coin, edit, play, rate) and the month
         head forgot. :where() has no specificity, so any class that sets its
         own cursor (grab, not-allowed, default) still wins. */
      :where(button:not(:disabled), [role=button], [role=switch], [role=tab], [role=radio], summary, select:not(:disabled), input[type=checkbox]:not(:disabled), input[type=radio]:not(:disabled)) { cursor:pointer; }
      .app { min-height:100vh; background:var(--bg); color:var(--ink); font-family:'Manrope',system-ui,sans-serif; font-size:13.5px; display:flex; }
      /* custom pull-to-refresh indicator — height tracks the live drag distance */
      .pullrefresh { position:fixed; top:0; left:0; right:0; z-index:200; display:flex; align-items:flex-end; justify-content:center; overflow:hidden; pointer-events:none; }
      .pullspin { width:20px; height:20px; margin-bottom:7px; border:2.5px solid var(--line); border-top-color:var(--faint); border-radius:50%; transition:border-color .15s ease; }
      .pullspin.ready { border-top-color:var(--primary); }
      .pullspin.spin { border-top-color:var(--primary); animation:pullspin .7s linear infinite; }
      @keyframes pullspin { to { transform:rotate(360deg); } }
      /* Bosta duran sayfada her sonsuz animasyon yerinde donuyor
         (src/motion-idle.js, 2026-10-22: telefon isiniyordu). Yukleme
         halkalari disarida, duran bir halka "takildi" diye okunur. */
      html.motion-idle *:not(.pullspin):not(.tglspin),
      html.motion-idle *::before, html.motion-idle *::after { animation-play-state:paused !important; }
      .num { font-family:'IBM Plex Mono',ui-monospace,monospace; font-variant-numeric:tabular-nums; }
      /* sidebar */
      /* The layout switches on the SHAPE of the screen, not only its width.
         A phone held sideways is about 930 by 430: wide enough for the sidebar
         by the old rule, and far too short for it in practice, with a 222px
         column eating a third of the width and a top bar eating a third of the
         height. Every phone-layout rule below therefore reads
         "narrow, OR short and sideways". */
      .sidebar { width:264px; flex-shrink:0; background:var(--surface); border-right:1px solid var(--line); display:flex; flex-direction:column; padding:16px 12px; position:sticky; top:0; height:100vh; }
      /* The logo's own colours, so <HesaflexMark /> and <HesaflexLogotype />
         follow light/dark without the mode being plumbed down to them.
         #A3E635 measures 1.51 against white and cannot be used on a light
         ground; #65A30D is the same hue carried down until it clears 3:1. */
      .app { --hf-ring:#0E211B; --hf-letter:#65A30D; --hf-tile:#FFFFFF; --hf-accent:#4D7C0F; }
      .app.dark { --hf-ring:#FFFFFF; --hf-letter:#A3E635; --hf-tile:#0E211B; --hf-accent:#A3E635; }
      /* The green in the navigation marks. It is NOT --hf-letter: #65A30D comes
         to 2.66 against the active item's --mint, under the 3:1 a shape needs to
         register at all. #4D7C0F is the same hue one step down and measures 4.30
         there, 4.99 on white. Like the logo tokens it stays fixed across themes,
         because it is the brand's green rather than the palette's. */
      .brand { display:flex; gap:11px; align-items:center; padding:4px 6px 14px; }
      /* Logo bir dugme: Ozet'e goturuyor. Dugmenin tarayici gorunumu sifir
         (iOS kendi boslugunu ve rengini veriyor). */
      .brandhome { appearance:none; -webkit-appearance:none; background:none; border:0; margin:0;
        font:inherit; color:inherit; text-align:left; cursor:pointer; -webkit-tap-highlight-color:transparent; }
      button.brand { width:100%; }
      .brandhome:focus-visible { outline:2px solid var(--primary); outline-offset:2px; border-radius:10px; }
      .mobapphome { padding:0; display:flex; flex-shrink:0; }
      /* Clear space: half the logomark's height. The sidebar's own padding
         supplies the rest, so only the gap to the name is set here. */
      .brandmark { flex:0 0 auto; display:block; }
      /* Masaustunde sol menu: logo %10 buyuk, menu yazisi 1px buyuk (kullanici, 2026-11-02). Telefonda ust serit ayni. */
      @media (min-width:821px) {
        .sidebar .brand .brandmark { width:33px; height:44px; }
        .sidebar .brand .brandname svg { height:17.2px; width:auto; }
        .sidebar .brand .brandsub { font-size:11.5px; }
        /* Satir 34 -> 38px (kullanici, ayni gun: secili/ustune gelinen zemin yazi buyuyunce basik kaldi). Logonun
           alt boslugu da eski 14px'ine dondu: azaltmak kotu durdu. */
        .sidebar .navitem { font-size:14.5px; line-height:18px; padding-top:10px; padding-bottom:10px; }
      }
      /* Kisa ekranda (1366x768 dizustu) 38px'lik satirlar plan kartini menunun altindan tasiriyordu: orada eski 34px. */
      @media (min-width:821px) and (max-height:820px) { .sidebar .navitem { padding-top:8px; padding-bottom:8px; } }
      .brandname { display:flex; }
      /* The logotype box ends at its overshoot, so the subline sat flush
         against it with nothing between. */
      .brandsub { font-size:10.5px; color:var(--dim); letter-spacing:.3px; margin-top:3px; }
      /* The line above the month. It is the only thing on this page that is
         about today rather than about the month on screen, so it sits above
         the picker and takes the page's own heading size. */
      .hello { display:flex; align-items:center; gap:10px; margin:2px 0 2px; }
      .hello h2 { margin:0; font-size:21px; font-weight:800; letter-spacing:-.01em; color:var(--ink); }
      .hellosky { display:inline-flex; }
      .hellosky svg { width:19px; height:19px; }
      /* The sun keeps its own warmth in every palette, and the moon its own
         cool: this mark says what time it is, not what theme it is.
         --amber on --bg measures 4.15 at worst (Amber light) and the violet
         4.72 (Slate dark); both are icons at 19px, which wants 3. */
      .hellosky.sun { color:color-mix(in srgb, var(--amber) 88%, var(--ink)); }
      .hellosky.moon { color:color-mix(in srgb, var(--violet) 84%, var(--ink)); }
      /* Selamlamaya yapisik (yigin araligi 16px, -11 ile ~5px kaliyor). Puan
         ondan biraz uzakta: 14 + 16 - 12 = 18px, ve ay basligina yine eskisi
         gibi ~28px. Puan yoksa ay basligi eskisi gibi 30px asagida. */
      .hellosub { margin:-11px 0 14px; font-size:13px; color:var(--dim); }
      .helloscore { align-self:flex-start; display:inline-flex; align-items:center; gap:8px;
        margin:-12px 0 12px; padding:2px 12px 2px 0; border:none; background:transparent; font:inherit;
        cursor:pointer; color:var(--dim); border-radius:10px; }
      .helloscorelbl { font-size:10.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
      .helloscore:hover .helloscorelbl { color:var(--ink); }
      .miniring { position:relative; width:28px; height:28px; flex:0 0 auto; }
      .miniring svg { width:28px; height:28px; transform:rotate(-90deg); display:block; }
      .miniring b { position:absolute; inset:0; display:grid; place-items:center; font-size:10px;
        font-weight:800; letter-spacing:-.03em; font-variant-numeric:tabular-nums; }
      @media (min-width:821px) { .helloscore { display:none; } }
      /* Six ways out of the Overview. They are buttons, not cards: every one
         of them goes somewhere, and a card that goes somewhere should look
         like it can be pressed. */
      /* The Received card opens the Income page. It is a button now, so it
         says so: the same mark the tiles carry, in the corner where a card
         has room for one. */
      .scorego { position:relative; }
      .scorego:hover { border-color:var(--primary); }
      /* A sheet the size of the card, behind everything in it. The card reads
         as one target and the controls on top of it still get their own
         clicks. */
      .scocover { position:absolute; inset:0; z-index:1; border:none; background:transparent;
        padding:0; cursor:pointer; border-radius:inherit; }
      /* Only the two things that already do something of their own rise above
         the sheet. Everything else is text, and text on this card means "open
         Income". */
      /* Above the card's own cover sheet, or the mouse never reaches a bar and
         the amounts on hover can never be seen. The strip carries the same
         click the cover does, so the card still opens from anywhere on it. */
      /* (i) de ortunun ustunde (kullanici, 2026-11-02): Alinan kartinin bilgi notu hic acilmiyordu, fare ortuye takiliyordu. */
      .scorego .linkbtn, .scorego .eyebtn, .scorego .rbars, .scorego .info { position:relative; z-index:2; }
      /* No arrow in the corner (kullanici, 2026-10-13): the whole card is the
         way in, and a second mark saying so was one thing too many. */
      .ovtiles { display:grid; grid-template-columns:repeat(3, 1fr); gap:11px; }
      /* Kenarlik --line'dan bir ton koyu (kullanici, 2026-11-01): koyu temada --line kart zeminine 1,3:1
         ve iPhone'da kartlarin alt cizgisi hic gorunmuyordu. Ustune gelme yalnizca gercek farede: dokunmatikte
         :hover dokunustan sonra yapisip karti turuncu birakiyordu. */
      .ovtile { display:flex; flex-direction:column; gap:2px; text-align:left;
        border:1px solid color-mix(in srgb, var(--line) 72%, var(--dim));
        background:var(--surface); border-radius:var(--r-card); padding:12px 13px; font:inherit; cursor:pointer;
        transition:border-color .15s ease; }
      @media (hover:hover) { .ovtile:hover { border-color:var(--primary); } }
      .ovtile:active { border-color:var(--primary); }
      .ovt { display:flex; align-items:center; justify-content:space-between; gap:8px;
        font-size:10px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--faint); }
      /* The mark sits a step darker than the words it leads, or at this size
         it disappears into the card. */
      .ovtl { display:inline-flex; align-items:center; gap:7px; min-width:0; }
      .ovtl svg { width:14px; height:14px; flex:0 0 auto; color:var(--dim); }
      @media (hover:hover) { .ovtile:hover .ovtl svg { color:var(--primary-ink); } }
      .ovarrow { font-size:14px; line-height:1; }
      .ovbig { font-size:18px; font-weight:700; letter-spacing:-.02em; color:var(--ink); }
      /* A masked figure is not a figure, so it does not take a figure's ink.
         Same grey the cards use when they are hiding theirs. */
      .ovbig.masked { color:var(--faint); }
      /* Veri yokken ("Yok") rakam gibi buyuk ve kalin degil: bos bir deger bir sonuc degil (kullanici, 2026-11-01). */
      .ovbig.none { font-size:14px; font-weight:500; letter-spacing:0; color:var(--dim); }
      .ovnote { font-size:11.5px; color:var(--dim); }
      /* The same deepened amber the meter uses when a month is nearly full:
         3.60 at worst across the five palettes, both modes. */
      /* Kredi kartlari karosu (K-683): kart adi, son onayli tutar, odeme tarihi tek satirda. */
      .ovlines { display:grid; gap:3px; margin-top:2px; min-width:0; }
      .ovline { display:grid; grid-template-columns:14px minmax(0,1fr) auto auto; gap:8px 10px; align-items:baseline; font-size:11.5px; font-weight:400; color:color-mix(in srgb, var(--ink) 68%, var(--surface)); }
      .ovline b { font-weight:500; color:inherit; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .ovline .num { color:inherit; white-space:nowrap; }
      .ovline span:last-child { white-space:nowrap; min-width:3.6em; text-align:right; }
      .ovst { display:inline-grid; place-items:center; width:14px; height:14px; align-self:center; font-style:normal; color:color-mix(in srgb, var(--ink) 42%, var(--surface)); }
      .ovst svg { width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
      .ovst.paid { color:var(--green); }
      .ovst.late { color:var(--red); }
      .ovline.more { display:block; font-size:11.5px; padding-left:24px; }
      .ovline .ovplain { font-family:inherit; }
      .ovline .ovlk { display:inline-grid; place-items:center; font-style:normal; vertical-align:-2px; }
      .ovline .ovlk svg, .ovline .ovst svg { width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
      .ovbig .ovpos { color:var(--green); } .ovbig .ovneg { color:var(--red); }
      .ovlines.ovnet { margin:0 0 4px; }
      /* Raporlar karosundaki iki baglanti: mavi duz cizgili degil, karosun kendi renginde noktali alt cizgi. */
      .ovlines.links { gap:5px; }
      .ovlink { color:color-mix(in srgb, var(--ink) 68%, var(--surface)); font-size:11.5px; font-weight:500; width:fit-content; max-width:100%; border-bottom:1.5px dotted currentColor; cursor:pointer; line-height:1.35; outline:none; }
      .ovlink:hover { color:var(--ink); }
      .ovlink:focus-visible { outline:2px solid var(--primary); outline-offset:3px; border-radius:3px; }
      .ovnote.warn { color:color-mix(in srgb, var(--amber) 80%, var(--ink)); font-weight:700; }
      @media (max-width:900px){ .ovtiles { grid-template-columns:repeat(2, 1fr); } }
      @media (max-width:560px){ .ovtiles { grid-template-columns:1fr; } }
      /* Seven columns, three of them dropdowns. On a phone the row stops
         being a row: each cell takes a line, wears its column's name, and the
         card around it is what says where one item ends and the next begins.
         Swiping a 900px table sideways is readable in theory and nobody does
         it. */
      @media (max-width:760px){
        /* Credits and cards become cards too, the same way the recurring table
           does. They sit beside it as sibling tabs now, so one turning into
           cards while the other scrolled sideways was the difference you felt
           every time you switched. Same rules, deliberately: a second dialect
           of the same idea is how they drift apart. */
        .crtable, .crtable tbody, .crtable td { display:block; width:100%; }
        .crtable thead { display:none; }
        .crtable tbody tr { display:grid; grid-template-columns:1fr 1fr; gap:9px 11px;
          border:1px solid var(--line); border-radius:13px; padding:12px;
          margin:0 13px 10px; background:var(--bg); }
        .app.dark .crtable tbody tr { background:#101E19; }
        .crtable tbody tr:not(:has(.footlabel)):last-of-type { margin-bottom:13px; }
        .crtable tbody td { border:none; padding:0; display:flex; flex-direction:column;
          gap:3px; min-width:0; }
        .crtable tbody td::before { content:attr(data-l); font-size:9.5px; font-weight:800;
          letter-spacing:.08em; text-transform:uppercase; color:var(--faint); }
        .crtable tbody td:not([data-l])::before { content:none; }
        .crtable tbody td > * { width:100%; min-width:0; }
        .crtable tbody td.r, .crtable tbody td.c { text-align:left; }
        .crtable tbody td .moneywrap input { text-align:left; }
        /* Two cells stack their own contents and align them for a right-hand
           column. On a card every value hangs off the same left edge as its
           label, so they follow the cell instead of the column they came from. */
        .crtable tbody td .paybackcell, .crtable tbody td .endscell { align-items:flex-start; }
        .crtable tbody td .endscell { flex-direction:row; gap:5px; }
        /* The bank names the card, so it takes the whole first line; the row of
           buttons takes the last one. */
        .crtable tbody td[data-l="Bank"] { grid-column:1 / -1; }
        /* The same footer the recurring cards have: a rule across the card,
           View taking the room and the bin keeping its own square. The two
           tables are siblings in one screen, so their cards end the same way. */
        .crtable tbody td:not([data-l]) { grid-column:1 / -1; padding-top:9px;
          border-top:1px solid var(--line); }
        .app.dark .crtable tbody td:not([data-l]) { border-top-color:#2C3A31; }
        .crtable tbody td:not([data-l]) .rowacts { display:flex; gap:9px; width:100%; justify-content:flex-start; }
        .crtable tbody td:not([data-l]) .rowacts .btn { flex:1 1 auto; justify-content:center; min-height:36px; }
        .crtable tbody td:not([data-l]) .rowacts .iconbtn { flex:0 0 36px; height:36px;
          border:1px solid var(--line); border-radius:10px; }
        /* The totals live in the tbody here, not in a tfoot, so they were
           picking up the card treatment and reading as two more loans. They are
           a summary: a plain strip under the stack, told apart by carrying a
           .footlabel rather than by their position. */
        .crtable tbody tr:has(.footlabel) { display:flex; align-items:baseline;
          justify-content:space-between; gap:10px; border:none; border-radius:0;
          border-top:1px solid var(--line); padding:8px 13px; margin:0; background:transparent; }
        .app.dark .crtable tbody tr:has(.footlabel) { background:transparent; }
        .crtable tbody tr:has(.footlabel) td { flex-direction:row; align-items:baseline; width:auto; }
        .crtable tbody tr:has(.footlabel) td::before { content:none; }
        .crtable tbody tr:has(.footlabel) td:empty { display:none; }
        .crtable tbody tr:has(.footlabel) td.footlabel { text-align:left; }
        .rectable, .rectable tbody, .rectable td { display:block; width:100%; }
        .rectable thead { display:none; }
        /* Two to a line where the answers are short, one where they are not.
           The card sits on the app's own ground rather than on white: a white
           card on a white table is a border pretending to be an object. */
        /* The card is a card, so it stands inside the table's own edge rather
           than running into it. */
        .rectable tr { display:grid; grid-template-columns:1fr 1fr; gap:9px 11px;
          border:1px solid var(--line); border-radius:13px; padding:12px;
          margin:0 13px 10px; background:var(--bg); }
        .app.dark .rectable tr { background:#101E19; }
        .rectable tr:last-child { margin-bottom:13px; }
        /* The label goes above its answer, not beside it. Beside it, a fixed
           column of labels ate the half of the width the answer needed. */
        .rectable td { border:none; padding:0; display:flex; flex-direction:column;
          gap:3px; min-width:0; }
        .rectable td::before { content:attr(data-l); font-size:9.5px; font-weight:800;
          letter-spacing:.08em; text-transform:uppercase; color:var(--faint); }
        .rectable td > * { width:100%; min-width:0; }
        .rectable td.r, .rectable td.c { text-align:left; }
        .rectable td .moneywrap input { text-align:left; }
        /* Type and Category are one answer in two parts, so they keep a line
           of their own and split it. Paid with holds a card's full name. */
        /* Two clean pairs, then the two answers that need a whole line. Left
           to source order, Table sat alone beside a hole because the pair that
           follows it takes the width. */
        .rectable td[data-l="Table"] { order:1; }
        .rectable td[data-l="Due day(s)"] { order:2; }
        .rectable td[data-l="Amount"] { order:3; }
        .rectable td[data-l="Paid with"] { order:4; }
        .rectable td[data-l="Type · Category"] { order:5; grid-column:1 / -1; }
        /* Each of the two takes its OWN name. One label over two controls left
           the second one standing under nothing. */
        .rectable td[data-l="Type · Category"]::before { display:none; }
        .rectable .typecat { display:flex; gap:11px; }
        .rectable .tcf { flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:3px; }
        .rectable .tcf::before { content:attr(data-l); font-size:9.5px; font-weight:800;
          letter-spacing:.08em; text-transform:uppercase; color:var(--faint); }
        .rectable .tcf select { width:100%; }
        /* The name is what you already know; it is the one field you come here
           to read last, so it sits at the foot with the row's own controls. */
        .rectable td[data-l="Name"] { grid-column:1 / -1; order:6; }
        .rectable td[data-l=""] { grid-column:1 / -1; order:7; padding-top:9px;
          border-top:1px solid var(--line); }
        .app.dark .rectable td[data-l=""] { border-top-color:#2C3A31; }
        .rectable td[data-l=""]::before { display:none; }
        /* View takes the room and the bin keeps its own square, so the two do
           not huddle in the corner. */
        .rectable td[data-l=""] .rowacts { display:flex; gap:9px; width:100%; }
        .rectable td[data-l=""] .rowacts .btn { flex:1 1 auto; justify-content:center; min-height:36px; }
        .rectable td[data-l=""] .rowacts .iconbtn { flex:0 0 36px; height:36px; border:1px solid var(--line);
          border-radius:10px; }
        /* Inside a card these are the only thing you can act on, and they were
           drawn the way an inline table cell is drawn: no border, no ground.
           On a row of a table the cell's own lines say where a field is; on a
           card there are no such lines, so the field has to draw its own. */
        .rectable td select, .rectable td input, .rectable td .moneywrap input {
          border-color:var(--line) !important; background:var(--surface); }
        .app.dark .rectable td select, .app.dark .rectable td input,
        .app.dark .rectable td .moneywrap input { border-color:var(--line) !important; background:var(--bg); }
        .rectable .tablewrap, .tablewrap:has(.rectable) { max-height:none; overflow:visible; }
      }
      /* The desktop shape the two used to get from an inline style. */
      .typecat { display:flex; gap:4px; }
      .typecat .tcf { flex:1 1 0; min-width:0; }
      .typecat .tcf select { width:100%; }
      .rtlist { display:flex; flex-direction:column; }
      .rtrow { display:flex; align-items:center; gap:11px; width:100%; text-align:left; border:none;
        background:transparent; font:inherit; padding:9px 15px; border-bottom:1px solid var(--line); cursor:pointer; }
      .rtrow:last-child { border-bottom:none; }
      .rtrow:hover { background:var(--bg); }
      .rtico { width:30px; height:30px; border-radius:10px; display:grid; place-items:center; flex:0 0 auto; }
      .rtico { font-size:14px; font-weight:800; }
      /* The same two grounds the ledger uses for a signed figure, so a row
         reads as income or spend before any number is read. */
      /* Gelir ikonu: Islemler'deki GELIR etiketiyle ayni yesil (Badge "green"). */
      .rtico.in { background:#D6F5E7; color:#0B7A55; }
      .rtico.out { background:color-mix(in srgb, var(--red) 13%, var(--surface)); color:color-mix(in srgb, var(--red) 76%, var(--ink)); }
      .rtmain { min-width:0; flex:1 1 auto; display:flex; flex-direction:column; }
      .rtname { font-size:13px; font-weight:700; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .rtsub { font-size:11px; color:var(--dim); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .rtamt { font-size:13px; font-weight:700; white-space:nowrap; flex:0 0 auto; }
      .rtamt.in { color:var(--primary-ink); }
      .rtamt.out { color:color-mix(in srgb, var(--red) 76%, var(--ink)); }
      /* Karta bagli satirin tutari gidere sayilmiyor: gri (kullanici, 2026-11-01). */
      .rtamt.cov { color:var(--dim); }
      .cardinfo { color:var(--dim); font-size:12px; line-height:1.45; margin-top:4px; }
      /* 1px, not 3: a group is already set apart by its heading and the space
         above it, so loose rows inside one were separating things that belong
         together and making the sidebar taller for no reading gain. */
      .navgroup { display:flex; flex-direction:column; gap:1px; }
      /* The word above a group of nav items. Small, quiet, and not clickable:
         it names the group rather than acting as one more thing to press. */
      .navgrp { font-size:9px; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
        color:var(--faint); padding:13px 11px 4px; }
      .navgroup:first-of-type .navgrp { padding-top:2px; }
      .navspacer { flex:1; }
      /* The spacer above pushes this group to the floor of the sidebar, so
         Setup and the profile sit where the hand expects them however many
         items the navigation has. */
      /* The floor of the sidebar. Setup sits between the rule above it and the
         theme switch below it, and with 8px on one side and nothing on the
         other it read as attached to both. It gets room of its own. */
      /* Ustteki cizgi kaldirildi (kullanici, 2026-11-02): plan karti kendi kutusuyla zaten ayriliyor. */
      .navgroup.bottom { padding-top:14px; margin-top:8px; gap:10px; }
      /* Plan karti: halka, "Free plan" ve parlayan kucuk Upgrade. Sidebar
         yalnizca masaustunde, telefonda .navgroup zaten gizli. */
      .plancard { display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:13px;
        background:var(--surface); border:1px solid var(--line); }
      /* Secenek E (kullanici, 2026-11-02): iki sinir cubukta, Pro'nun getirdigi tek satir ve parlayan
         "Pro'ya gec" (.shinebtn.sm, src/shine-button.jsx). Hediye karti eski halka duzeninde. */
      .plancard.pcb { flex-direction:column; align-items:stretch; gap:8px; padding:12px; border-radius:var(--r-card); }
      /* Sarabiliyor: kenar cubugundaki 213px'lik kartta Ingilizce dugme ("View your account") sigmiyor ve alt satira iniyor. */
      .pcbhd { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
      .pcbm { display:flex; flex-direction:column; gap:4px; }
      .pcbrow { display:flex; justify-content:space-between; align-items:baseline; font-size:11.5px; font-weight:600; color:var(--dim); }
      .pcbrow b { font-size:11.5px; font-weight:800; color:var(--ink); }
      .pcbm.near .pcbrow b { color:color-mix(in srgb, var(--red) 62%, var(--amber)); }
      .pcbm.full .pcbrow b { color:var(--red); }
      .pcbtrack { height:6px; border-radius:99px; background:color-mix(in srgb, var(--ink) 9%, transparent); overflow:hidden; }
      /* Normal cubuk notr: renk yalnizca sinira yaklasinca (Kehribar'da ana renk de turuncuydu, uyariyla karisiyordu). */
      .pcbtrack i { display:block; height:100%; border-radius:99px; background:color-mix(in srgb, var(--ink) 42%, transparent); transform-origin:left;
        animation:pcbfill .7s cubic-bezier(.3,.7,.3,1); }
      .pcbm.near .pcbtrack i { background:color-mix(in srgb, var(--red) 62%, var(--amber)); }
      .pcbm.full .pcbtrack i { background:var(--red); }
      .pcbm.pro .pcbtrack i { background:linear-gradient(90deg, var(--primary), var(--pop)); background:linear-gradient(90deg in oklch, var(--primary), var(--pop)); }
      @keyframes pcbfill { from { transform:scaleX(0); } }
      .pcbpitch { font-size:11.5px; line-height:1.4; color:var(--dim); }
      /* Bekleyen havale (K-440): plan kartinda tanitim cumlesi ve dugmenin yerinde, dokununca Uyelik. */
      .pcbpend { display:flex; align-items:center; gap:7px; width:100%; margin-top:2px; padding:8px 10px; border-radius:var(--r-ctl);
        border:1px solid color-mix(in srgb, var(--amber) 40%, var(--line)); background:color-mix(in srgb, var(--amber) 10%, var(--surface));
        color:color-mix(in srgb, var(--amber) 75%, var(--ink)); font:inherit; font-size:12.5px; font-weight:700; text-align:left; cursor:pointer; }
      .pcbpend i { width:7px; height:7px; border-radius:50%; background:var(--amber); flex:none; }
      .shinebtn.sm { height:34px; width:100%; justify-content:center; padding:0 12px; font-size:12.5px; }
      @media (prefers-reduced-motion:reduce) { .pcbtrack i { animation:none; } }
      .planring { position:relative; width:44px; height:44px; flex:0 0 auto; }
      .planring svg { width:44px; height:44px; transform:rotate(-90deg); }
      /* Sinir gosteriyor, o yuzden yesil degil koyu turuncu (kullanici,
         2026-10-12); dolunca tam kirmizi. */
      .planarc { stroke:color-mix(in srgb, var(--red) 62%, var(--amber)); transition:stroke .3s; animation:planfill .9s cubic-bezier(.3,.7,.3,1); }
      @keyframes planfill { from { stroke-dashoffset:var(--planlen); } }
      /* Hediye Pro (panel, 2026-11-01): halka kalan hediye suresi, mor. */
      .plan-gift .planarc { stroke:#6D5BD0; }
      .plan-gift .planname { color:#5B49C2; }
      .app.dark .plan-gift .planname { color:#B8AEF5; }
      .plan-gift .planwhat.on { color:var(--dim); opacity:1; font-weight:600; }
      .planring b { position:absolute; inset:0; display:grid; place-items:center; font-size:10px;
        font-weight:800; color:var(--ink); letter-spacing:-.02em; animation:planin .4s ease; }
      .plantxt { display:flex; flex-direction:column; gap:1px; min-width:0; flex:1 1 auto; }
      .planname { font-size:12.5px; font-weight:800; color:var(--ink); white-space:nowrap; }
      /* Iki sinir ayni boyda ve agirlikta, kirmizi murekkeple: ikisi de
         sinir (kullanici, 2026-10-12). */
      .planwhat { font-size:11px; line-height:1.3; font-weight:400; color:color-mix(in srgb, var(--red) 76%, var(--ink)); opacity:.55; transition:opacity .3s, font-weight .3s; }
      .planwhat.on { font-weight:700; opacity:1; }
      @keyframes planin { from { opacity:0; transform:translateY(3px); } to { opacity:1; transform:none; } }
      /* Pro'nun ok dugmesi. Yazi yok, yon var: sag ustu gosteren ok uzerine
         gelince SAGA doniyor, yani "disari acilir" hali "ileri git" oluyor.
         Dikeyde ortada: yazili dugmenin alt hizasi iki satirlik Free kartinda
         anlamliydi, Pro'nun tek satirinda havada duruyordu. */
      /* Okun donusu YAYLI: hedefi biraz asip geri oturuyor (geri yaslanmali
         bir back-out egrisi). Duz bir easing'de ok bir yere varmiyor, sadece
         aci degistiriyordu (kullanici, 2026-10-14: "okun fizigi yok").
         Dugme uzerine gelince hafifce BUYUYOR, basilinca ICERI cokuyor: ayni
         yayin dugmedeki karsiligi. */
      /* iPhone'da ok yarim boy ve sag altta duruyordu (kullanici, 2026-10-15):
         iOS Safari bir button'a kendi ic boslugunu veriyor, 30px'lik dairenin
         icini daraltiyor ve ok sikisip kayiyordu. Masaustu Chromium'un bosluğu
         kucuk oldugu icin orada gorunmuyordu. Bosluk ve gorunum sifirlandi,
         okun olcusu de kucultulemez. */
      .plango { flex:0 0 auto; align-self:center; width:30px; height:30px; min-width:30px; display:grid; place-items:center;
        padding:0; margin:0; -webkit-appearance:none; appearance:none; line-height:0;
        border:none; border-radius:50%; background:var(--primary); color:#fff; cursor:pointer;
        -webkit-tap-highlight-color:transparent;
        transition:transform .26s cubic-bezier(.34,1.56,.64,1), filter .15s, box-shadow .2s; }
      .plango svg { display:block; width:17px; height:17px; min-width:17px; flex:none;
        transition:transform .34s cubic-bezier(.34,1.56,.64,1); }
      /* Uzerine gelme yalnizca faresi olan cihazda: dokunmatik ekranda :hover
         dokunustan sonra YAPISIP kaliyor, yani ok donmus ve dugme buyumus
         halde duruyordu. */
      @media (hover:hover) {
        .plango:hover { filter:brightness(1.06); transform:scale(1.1);
          box-shadow:0 4px 12px color-mix(in srgb, var(--primary) 45%, transparent); }
        /* Ok sag ustu gosteriyor; uzerine gelince SAGA doniyor ve bir tik ileri
           kayiyor: donus tek basina yer degistirmiyordu. */
        .plango:hover svg { transform:rotate(45deg) translate(1.5px, 0); }
      }
      .plango:active { transform:scale(.9); transition-duration:.08s; }
      /* Pro kartinin dugmesi. Yazi ve ok tek bir hap dugme, telefonda ve masaustunde (kullanici, 2026-11-02;
         once yalnizca telefondaydi). Ok dairenin hareketi dugmenin hover'ina bagli. */
      .pcbgo { display:inline-flex; align-items:center; gap:8px; padding:0; margin:0; border:none; background:none;
        -webkit-appearance:none; appearance:none; font:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; white-space:nowrap; }
      /* Renk temadan (kullanici, 2026-11-02): yazinin altinda --sel-bg (beyaz yazi en az 4.5), saga dogru pop'a
         kayiyor; ok dairesi pop'un kendisi, ok --on-pop. Kenarda pop renginde yumusak bir isik. Tek renkli bir temada
         --pop = --primary, yani dugme orada da dogru. Koyu modda pop biraz koyulasiyor (ShineButton ile ayni). */
      .pcbgo { --gopop:var(--pop); height:34px; padding:0 4px 0 14px; border-radius:999px; color:#fff;
        background:linear-gradient(90deg, var(--sel-bg) 55%, color-mix(in srgb, var(--sel-bg) 55%, var(--gopop)));
        background:linear-gradient(90deg in oklch, var(--sel-bg) 55%, color-mix(in oklch, var(--sel-bg) 55%, var(--gopop)));
        box-shadow:inset 0 1px 0 rgba(255,255,255,.18), 0 4px 14px -4px color-mix(in srgb, var(--gopop) 60%, transparent);
        font-size:12.5px; font-weight:700; transition:transform .2s cubic-bezier(.34,1.56,.64,1), filter .15s; }
      .app.dark .pcbgo { --gopop:color-mix(in oklch, var(--pop) 80%, #000); }
      .pcbgo .plango { width:26px; height:26px; min-width:26px; background:var(--pop); color:var(--on-pop);
        box-shadow:0 0 0 2px color-mix(in srgb, #fff 30%, transparent); }
      .pcbgo .plango svg { width:14px; height:14px; min-width:14px; }
      /* Hover sakin (kullanici videosu, 2026-11-02: "wonky"): daire eskiden 1.1'e buyuyup hapin kenarindan tasiyor,
         mavi bir golge aliyor ve ok yaylanip asarak donuyordu; fare girip cikinca titriyordu. Simdi daire yerinde, ok
         asmadan saga donup bir tik ilerliyor, hap biraz aydinlaniyor. Basinca yalnizca hap cokuyor. */
      /* Geri donuste titreme (kullanici, ayni gun): hapin aydinlanmasi "filter" ile yapiliyordu; filtre kalkarken yazi
         ve gradyan yeniden ciziliyor, bitiste yarim piksel oynuyordu. Aydinlik artik ayri bir katman (::after, yalnizca
         opacity), ok da kalici kendi katmaninda: donus bitince piksel izgarasina yeniden oturma ani yok. */
      .pcbgo { position:relative; isolation:isolate; transition:transform .2s cubic-bezier(.22,1,.36,1); }
      .pcbgo::after { content:""; position:absolute; inset:0; border-radius:inherit; background:#fff; opacity:0;
        pointer-events:none; transition:opacity .2s ease; z-index:-1; mix-blend-mode:soft-light; }
      .pcbgo > * { position:relative; }
      .pcbgo .plango { transition:none; }
      .pcbgo .plango svg { transition:transform .28s cubic-bezier(.22,1,.36,1); will-change:transform; backface-visibility:hidden; }
      .pcbgo:active { transform:scale(.97); }
      @media (hover:hover) {
        .pcbgo:hover::after { opacity:.22; }
        .pcbgo:hover .plango { filter:none; transform:none; box-shadow:0 0 0 2px color-mix(in srgb, #fff 30%, transparent); }
        .pcbgo:hover .plango svg { transform:rotate(45deg) translateX(1px); }
      }
      .pcbgo:active .plango { transform:none; }
      @media (prefers-reduced-motion:reduce) { .pcbgo, .pcbgo .plango svg { transition:none; } }
      .pcbunl { font-size:11.5px; font-weight:700; color:var(--ink); text-align:left; }
      .pcbttl { display:flex; flex-direction:column; align-items:flex-start; gap:2px; min-width:0; }
      /* Masaustu kenar cubugu: ust satir "Pro plan" + kisa dugme ("My account"), "Sinirsiz musteri" altta tam genislik.
         .pcbttl kutusu cozuluyor, cocuklari izgaranin hucreleri. Telefonda (.mobplan) ikisi ust uste solda, dugme sagda. */
      .pcb:not(.mobplan) .pcbhd { display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:center; gap:6px 8px; }
      .pcb:not(.mobplan) .pcbttl { display:contents; }
      .pcb:not(.mobplan) .pcbttl .planname { grid-column:1; grid-row:1; }
      .pcb:not(.mobplan) .pcbgo { grid-column:2; grid-row:1; }
      .pcb:not(.mobplan) .pcbunl { grid-column:1 / -1; grid-row:2; }
      .pcbgoshort { display:none; }
      .pcb:not(.mobplan) .pcbgotxt { display:none; }
      .pcb:not(.mobplan) .pcbgoshort { display:inline; }
      /* Diger menusundeki kartta "Pro plan" basligi 3px buyuk (kullanici, 2026-11-02). */
      .mobplan .planname { font-size:15.5px; }
      .plango:active svg { transform:rotate(45deg) translate(1.5px, 0) scale(.92); }
      @media (prefers-reduced-motion:reduce) {
        .plango, .plango svg { transition:none; }
        .plango:hover, .plango:active { transform:none; }
      }
      @media (prefers-reduced-motion:reduce) { .planring b, .planarc { animation:none; } .planarc { transition:none; } }
      /* Uyelik ayarlari (/membership, src/membership.jsx). */
      .mbpage { max-width:620px; }
      .mbhead h2 { margin:0 0 4px; }
      .mbhead p { margin:0; color:var(--dim); font-size:13.5px; }
      .mbcard { padding:16px 18px; }
      .mbcard h3 { margin:0 0 12px; font-size:13px; font-weight:800; letter-spacing:.06em;
        text-transform:uppercase; color:var(--dim); }
      .mbplan { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-bottom:12px; }
      .mbbadge { display:inline-flex; align-items:center; padding:4px 11px; border-radius:999px;
        background:color-mix(in srgb, var(--ink) 8%, var(--surface)); color:var(--ink); font-size:14px; font-weight:800; }
      .mbbadge.pro { background:color-mix(in srgb, var(--primary) 16%, var(--surface)); color:var(--primary-ink); }
      .mbcycle { font-size:12.5px; color:var(--dim); }
      .mbgift { font-size:12px; font-weight:800; border-radius:999px; padding:3px 10px; color:#5B49C2;
        background:color-mix(in srgb, #6D5BD0 12%, var(--surface)); border:1px solid color-mix(in srgb, #6D5BD0 35%, var(--line)); }
      .app.dark .mbgift { color:#B8AEF5; }
      .mbgiftgo { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-top:14px; }
      .mbgiftgo .mbnote { margin:0; }
      .mbgiftgo .pzbtn { width:auto; padding-left:22px; padding-right:22px; }
      .giftwel { text-align:center; }
      .giftwel .giftemoji { font-size:40px; line-height:1; margin:4px 0 10px; }
      .giftwel .giftbig { margin:0 0 6px; font-size:19px; font-weight:800; color:var(--ink); }
      .giftwel .giftsub { margin:0 0 14px; font-size:14px; line-height:1.5; color:var(--dim); }
      .giftbox { display:grid; grid-template-columns:1fr 1fr; gap:10px; text-align:left; background:var(--bg); border:1px solid var(--line);
        border-radius:var(--r-inner); padding:12px 14px; }
      .giftbox > div { display:flex; flex-direction:column; gap:2px; min-width:0; }
      .giftbox span { font-size:11.5px; color:var(--dim); }
      .giftbox b { font-size:14px; color:var(--ink); }
      /* Her satir etiket + deger. Etiket sabit genislikte degil: Turkcede
         "Otomatik yenileme" Ingilizcesinden uzun ve sabit bir sutun ya
         kirpar ya da Ingilizcede kocaman bir bosluk birakir. */
      .mblist { display:flex; flex-direction:column; }
      .mbrow { display:flex; align-items:baseline; justify-content:space-between; gap:14px;
        padding:9px 0; border-top:1px solid var(--line); }
      .mbrow:first-child { border-top:none; padding-top:0; }
      .mbrow.dim .mbval { color:var(--dim); }
      .mblab { font-size:13px; color:var(--dim); flex:0 0 auto; }
      .mbval { font-size:14px; color:var(--ink); text-align:right; min-width:0; }
      .mbper { font-size:12px; color:var(--dim); font-weight:400; }
      .mbon { color:var(--primary-ink); font-weight:700; }
      .mboff { color:var(--pending-ink, var(--dim)); font-weight:700; }
      .mbnote { margin:10px 0 0; font-size:12px; color:var(--dim); line-height:1.5; }
      .mbup { margin-top:14px; }
      .mbcardnone { display:flex; align-items:flex-start; gap:12px; }
      .mbcardnone b { display:block; font-size:14px; }
      .mbcardnone p { margin:3px 0 0; font-size:12.5px; color:var(--dim); line-height:1.55; }
      .mbcardgone .mbcardico { color:#C2410C; }
      .app.dark .mbcardgone .mbcardico { color:#FB8A5C; }
      .mbcardnone .paybtn { margin-top:12px; }
      .mbcardnone .mbpayhint { margin-top:8px; font-weight:600; color:var(--ink); }
      .mbcardico { flex:0 0 auto; width:38px; height:38px; display:grid; place-items:center;
        border-radius:10px; background:color-mix(in srgb, var(--ink) 8%, var(--surface)); color:var(--dim); }
      .mbcardico svg { width:21px; height:21px; }
      /* Bir baglanti, dugme degil: okuyacagin bir belge aciyor. */
      .mblink { border:none; background:transparent; padding:0; font:inherit; font-size:13.5px;
        color:var(--primary-ink); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
      .mblink:disabled { color:var(--dim); cursor:default; text-decoration:none; }
      /* Iptal: dugme DEGIL. Sakin bir satir, uzerine gelince kirmizi. Ayni
         dil sayac seridindeki "at" dugmesinde de var (.tmbardiscard). */
      .mbend { padding:2px 4px 8px; }
      /* Paketin blogunda, Otomatik yenileme satirinin altinda. */
      .mbend.inplan { padding:12px 0 0; margin-top:12px; border-top:1px dashed var(--line); }
      /* Bekleyen davetin iki eylemi alt alta: linki kopyala, daveti iptal et. */
      .mbinvacts { flex:0 0 auto; display:flex; flex-direction:column; align-items:stretch; gap:4px; }
      .mbinvacts .mbcopy { justify-content:center; }
      .mbrevoke { font-size:12px; text-align:center; padding:2px 4px; }
      .mbrevask { display:flex; flex-direction:column; align-items:stretch; gap:2px; }
      .mbrevask .mbcancel { font-size:12px; text-align:center; }
      .mbrevask .mblink { font-size:12px; text-align:center; }
      .mbreverr { font-size:11.5px; color:var(--red); text-align:center; }
      .mbcancel { border:none; background:transparent; padding:4px 0; font:inherit; font-size:13px;
        color:var(--dim); cursor:pointer; transition:color .15s; }
      .mbcancel:hover:not(:disabled) { color:var(--red); }
      .mbcancel:disabled { opacity:.5; cursor:default; }
      .mbcancel.strong { border:1px solid var(--line); border-radius:9px; padding:8px 14px; }
      .mbcancel.strong:hover:not(:disabled) { border-color:var(--red); color:var(--red); }
      /* Silme: kartin dibinde, soluk (kullanici, 2026-10-18). Kutu acilinca
         kirmizi bir cerceve; alanlar telefonda 16px (iOS zoom). */
      .propdemo { width:100%; max-width:520px; margin:6px auto 0; text-align:left; }
      .propdemo .lpsm-win { box-shadow:0 12px 34px rgba(0,0,0,.18); }
      .spempty td { padding:14px 12px !important; font-size:13px; color:var(--dim); white-space:normal; }
      .spempty td > span:first-child { display:block; margin-bottom:8px; line-height:1.5; }
      .spemptyacts { display:flex; gap:8px; flex-wrap:wrap; }
      .bkdue { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; color:var(--primary-ink); }
      .bkdue .traildot { margin:0; }
      .mbdel { margin-top:14px; padding-top:10px; border-top:1px dashed var(--line); }
      .mbdellinks { display:flex; gap:16px; flex-wrap:wrap; }
      .mbdellinks .mbcancel { font-size:12px; }
      .mbdelbox { border:1px solid color-mix(in srgb, var(--red) 45%, var(--line)); border-radius:12px; padding:14px; display:flex; flex-direction:column; gap:10px; }
      .mbdelbox h4 { margin:0; font-size:14.5px; font-weight:800; color:var(--red); }
      .mbdelbox p { margin:0; font-size:13px; line-height:1.55; color:var(--ink); }
      .mbdelcheck { display:flex; gap:8px; align-items:flex-start; font-size:13px; line-height:1.45; cursor:pointer; }
      .mbdelcheck input { width:18px; height:18px; flex:0 0 auto; margin:1px 0 0; accent-color:var(--red); }
      .mbdelfield { display:flex; flex-direction:column; gap:5px; font-size:12.5px; font-weight:700; color:var(--dim); }
      .mbdelfield input { width:100%; box-sizing:border-box; padding:9px 11px; border:1px solid var(--line); border-radius:9px; background:var(--surface); color:var(--ink); font:inherit; font-size:14px; font-weight:600; }
      .mbdelerr { color:var(--red) !important; font-weight:700; }
      .mbdelacts { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; }
      .mbdelgo { border:none; border-radius:9px; padding:9px 14px; font:inherit; font-size:13px; font-weight:800; background:var(--red); color:#fff; cursor:pointer; }
      .mbdelgo:disabled { opacity:.45; cursor:default; }
      .mbdeldone { margin:0; font-size:13px; font-weight:700; color:var(--ink); }
      /* "Bu islem geri alinamaz" ayri ve koyu turuncu-kirmizi (kullanici,
         2026-10-19). Iki sinif: .mbdelbox p (0,1,1) tek sinifli kurali ezerdi. */
      .mbdelbox .mbdelwarn { color:#C2410C; font-weight:800; }
      .app.dark .mbdelbox .mbdelwarn { color:#FB8A5C; }
      .mbdelbox .mbdelsure { display:flex; flex-direction:column; gap:10px; padding:12px; border-radius:10px; background:color-mix(in srgb, var(--red) 9%, transparent); border:1px solid color-mix(in srgb, var(--red) 40%, transparent); }
      .mbdelbox .mbdelsure p { font-weight:800; color:var(--red); }
      .mbdelbox .mbdelalt { align-self:flex-start; font-size:12.5px; }
      /* Kurucu devri: silmenin altinda, ayni soluk dilde ama kirmizi degil;
         geri donuslu bir is (kullanici, 2026-10-18). */
      .mbxfer { margin-top:10px; }
      .mbxfer .mbdelbox { border-color:color-mix(in srgb, var(--primary) 55%, var(--line)); }
      .mbxfer .mbdelbox h4 { color:var(--primary-ink); }
      .mbxfer .mbdelgo { background:var(--primary); color:var(--on-primary); }
      .mbxfer .mbdelcheck input { accent-color:var(--primary); }
      .mbxfer .mbcancel:hover:not(:disabled) { color:var(--primary-ink); }
      .mbxfer .mbcancel.strong:hover:not(:disabled) { border-color:var(--primary); }
      .mbxferline, .mbxfernone { margin:0; font-size:12.5px; line-height:1.5; color:var(--dim); }
      .mbxferok { display:flex; align-items:flex-start; gap:8px; }
      .mbxfertick { position:relative; flex:0 0 auto; width:22px; height:22px; margin-top:-2px; }
      .mbrevert { margin-top:8px; display:inline-flex; align-items:center; gap:7px; padding:6px 11px; border-radius:8px;
        border:1px solid var(--line); background:var(--surface); color:var(--ink); font:inherit; font-size:12.5px; font-weight:700;
        cursor:pointer; -webkit-appearance:none; appearance:none; transition:border-color .15s, color .15s; }
      .mbrevert svg { width:13px; height:13px; }
      .mbrevert:hover:not(:disabled) { border-color:var(--red); color:var(--red); }
      .mbrevert:disabled { opacity:.5; cursor:default; }
      .mbdelfield select { width:100%; box-sizing:border-box; padding:9px 11px; border:1px solid var(--line); border-radius:9px; background:var(--surface); color:var(--ink); font:inherit; font-size:14px; font-weight:600; }
      @media (max-width:820px) { .mbdelfield select { font-size:16px; } }
      @media (max-width:820px) { .mbdelfield input { font-size:16px; } }
      .mbresume p { margin:0 0 6px; font-size:13px; color:var(--dim); line-height:1.55; }
      .mbresoff { color:var(--red); font-weight:700; }
      .mbresask { display:flex; align-items:center; flex-wrap:wrap; gap:8px 10px; margin-top:4px; padding:10px 12px;
        border:1px solid var(--line); border-radius:var(--r-ctl); background:var(--surface); }
      .mbresask span { font-size:13px; font-weight:700; color:var(--ink); flex:1 1 180px; }
      .mbresbtns { display:grid; grid-template-columns:1fr 1fr; gap:8px; flex:0 0 auto; }
      .mbresask .pzbtn { width:auto; min-height:40px; padding:0 18px; margin:0; }
      @media (max-width:820px) { .mbresbtns { flex-basis:100%; } .mbresask .pzbtn { min-height:44px; } }
      .mbask .card { padding:16px 18px; border-color:var(--line); }
      .mbask h3 { margin:0 0 6px; font-size:15px; font-weight:800; color:var(--ink);
        letter-spacing:normal; text-transform:none; }
      .mbask p { margin:0 0 12px; font-size:13.5px; color:var(--dim); line-height:1.6; }
      .mbask .formfoot { padding:0; margin-bottom:10px; }
      /* "Pro planda kal": uzerine gelince cercevesi belirginlesiyor ve arka
         plani temanin rengine boyaniyor (kullanici, 2026-10-14). Ghost bir
         dugmeydi, yani hangisinin olumlu secim oldugu okunmuyordu. */
      .mbkeep { position:relative; overflow:hidden; transition:background .15s, border-color .15s, color .15s; }
      .mbkeep:hover { border-color:var(--primary); background:color-mix(in srgb, var(--primary) 16%, var(--surface));
        color:var(--primary-ink); }
      /* Tik ve sacilan noktalar tiklanan NOKTADA. Notlarin bitirme efektiyle
         ayni iki animasyon (qntick, ve qnburst'un dagilan noktalari; burada
         kendi keyframe'i mbspark): ikisi de "tamam" diyor. */
      .mbspark { position:absolute; width:0; height:0; pointer-events:none; color:var(--primary-ink); }
      .mbspark svg { position:absolute; left:-11px; top:-11px; width:22px; height:22px; }
      .mbspark svg path { stroke-dasharray:1; stroke-dashoffset:1; pathLength:1;
        animation:qntick .42s cubic-bezier(.6,0,.3,1) both; }
      .mbspark i { position:absolute; left:-2.5px; top:-2.5px; width:5px; height:5px; border-radius:50%;
        background:var(--primary); animation:mbspark .5s ease-out both; }
      /* Each dot flies to its own --bx/--by and fades (2026-10-21: the rule
         used to name "qnburst", which is a class, not a keyframe, so the dots
         sat still and the offsets below were never read). */
      @keyframes mbspark {
        0% { opacity:0; transform:translate(0, 0) scale(1); }
        15% { opacity:1; }
        100% { opacity:0; transform:translate(var(--bx, 0px), var(--by, 0px)) scale(.4); }
      }
      .mbspark i:nth-child(odd) { background:var(--primary-ink); width:4px; height:4px; }
      .mbspark i:nth-child(2) { --bx:16px; --by:-11px; animation-delay:.04s; }
      .mbspark i:nth-child(3) { --bx:-15px; --by:-13px; animation-delay:.02s; }
      .mbspark i:nth-child(4) { --bx:18px; --by:9px; animation-delay:.06s; }
      .mbspark i:nth-child(5) { --bx:-17px; --by:10px; animation-delay:.03s; }
      .mbspark i:nth-child(6) { --bx:2px; --by:-18px; animation-delay:.05s; }
      .mbspark i:nth-child(7) { --bx:-3px; --by:17px; animation-delay:.07s; }
      @media (prefers-reduced-motion:reduce) { .mbspark svg path, .mbspark i { animation:none; }
        .mbspark svg path { stroke-dashoffset:0; } .mbspark i { opacity:0; } }
      /* Koltuklar. Doluluk TEK bir seritte: dolu bolmeler koyu, bos olanlar
         soluk. Her bos koltugu ayri bir kutu olarak cizmek uc kez ayni
         kelimeyi tekrarliyordu ve hicbiri bilgi tasimiyordu. */
      .mbgauge { display:flex; gap:4px; margin:0 0 8px; }
      .mbpip { flex:1 1 0; height:7px; border-radius:99px; background:var(--line); }
      .mbpip.on { background:var(--primary); }
      .mbgaugetxt { margin:0 0 14px; font-size:12.5px; color:var(--dim); }
      .mbgaugetxt b { font-size:14px; color:var(--ink); }
      /* Kisiler: tek satir, ad solda, rol ve tarih sagda. Satirlar arasinda
         kutu degil ince cizgi; uc kart yerine bir liste. */
      .mbwho { list-style:none; margin:0; padding:0; }
      .mbwho li { display:flex; align-items:center; gap:9px; padding:9px 0; border-top:1px solid var(--line); }
      .mbwho li:first-child { border-top:none; padding-top:0; }
      .mbinitial { flex:0 0 auto; width:26px; height:26px; display:grid; place-items:center; border-radius:50%;
        background:color-mix(in srgb, var(--primary) 16%, var(--surface)); color:var(--primary-ink);
        font-size:12px; font-weight:800; }
      .mbwhoname { flex:1 1 auto; min-width:0; font-size:13.5px; font-weight:700; color:var(--ink);
        overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .mbwhorole { flex:0 0 auto; font-size:11px; font-weight:700; letter-spacing:.03em; text-transform:uppercase;
        color:var(--dim); }
      .mbwhodate { flex:0 0 auto; font-size:11.5px; color:var(--dim); }
      /* Bekleyen davet: ayni satir, kesikli bir bas harf ve linki kopyala. */
      .mbpending .mbinitial { background:transparent; border:1.5px dashed color-mix(in srgb, var(--primary) 60%, var(--line)); }
      .mbpending .mbwhoname { white-space:normal; display:flex; flex-direction:column; gap:1px; }
      .mbpendleft { font-size:11.5px; font-weight:600; color:var(--dim); }
      .mbcopy { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:8px;
        border:1px solid var(--line); background:var(--surface); color:var(--ink); font:inherit; font-size:12.5px; font-weight:700;
        cursor:pointer; -webkit-appearance:none; appearance:none; }
      .mbcopy svg { width:14px; height:14px; }
      .mbcopy:hover { border-color:var(--primary); color:var(--primary-ink); }
      /* Musteriler: koltuklarla ayni serit. Sinir asilinca bolmeler kirmizi. */
      .mbclients { margin-top:16px; padding-top:14px; border-top:1px solid var(--line); }
      .mbclients .mbgaugetxt { margin-bottom:0; }
      .mbseats .mbinvbtn { margin:2px 0 4px; }
      /* Free'de Pro bolumleri: menude kucuk kilit, ekranin ustunde serit. */
      .progated { display:contents; }
      /* Only while it is actually locked. Time & Tasks wraps its entries in a
         .progated that is inert only on Free, and the bare selector took the
         hand off every button there on Pro too (kullanici, 2026-11-01). */
      .progated[inert] * { cursor:default !important; }
      .navpro { display:inline-flex; margin-left:auto; color:var(--faint); flex:none; }
      .navpro svg { width:13px; height:13px; }
      .mobitem .navpro { margin-left:auto; }
      .progate { display:flex; align-items:center; gap:12px; margin:0 0 16px; padding:12px 16px; border-radius:14px;
        border:1px solid color-mix(in srgb, var(--primary) 35%, var(--line)); background:color-mix(in srgb, var(--primary) 7%, var(--surface)); }
      .progateico { display:grid; place-items:center; width:34px; height:34px; flex:none; border-radius:10px;
        background:color-mix(in srgb, var(--primary) 16%, var(--surface)); color:var(--primary-ink); }
      .progateico svg { width:17px; height:17px; }
      .progatetxt { display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; font-size:13px; color:var(--dim); line-height:1.45; }
      .progatetxt b { color:var(--ink); font-size:14px; }
      .progatewho { font-size:12px; color:var(--dim); max-width:200px; text-align:right; }
      @media (max-width:600px) { .progate { flex-wrap:wrap; } .progate .probtn { width:100%; justify-content:center; } .progatewho { max-width:none; text-align:left; } }
      .mbgauge.over .mbpip.on { background:var(--red); }
      .mbclientbig { display:flex; align-items:baseline; gap:7px; margin:0; font-size:13px; color:var(--dim); }
      .mbclientbig b { font-size:28px; line-height:1; font-weight:800; color:var(--ink); }
      /* Sinirsiz: ustte sonsuzluk, altinda yazi, aralarinda bosluk. */
      .mbunl { margin-left:auto; display:flex; flex-direction:column; align-items:center; gap:9px; align-self:flex-end; }
      .mbunl > span { font-size:11px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; }
      .mbinf { display:block; width:46px; height:24px; }
      .mbinfspin { display:block; width:100%; height:100%; overflow:visible; transform:translateY(-4px); filter:drop-shadow(0 2px 3px color-mix(in srgb, var(--primary-ink) 35%, transparent)); }
      /* Donmuyor (kullanici, 2026-10-16: isaret zaten sinirsizi soyluyor).
         Derinligi gradyan ve golge veriyor; ustte yavasca kayan bir isik. */
      /* Dikey isik bandi soldan saga geciyor, arkasinda iz; sonra kisa bir ara. */
      .mbinfsweep { animation:mbinfsweep 3.2s cubic-bezier(.45,.05,.4,1) infinite; }
      @keyframes mbinfsweep { 0% { transform:translateX(0); } 62% { transform:translateX(98px); } 100% { transform:translateX(98px); } }
      @media (prefers-reduced-motion:reduce) { .mbinfsweep { animation:none; transform:translateX(52px); } }
      /* Fiyatlandirma blogu: /pricing'in karti, yorum sutunu olmadan. */
      .mbplans { margin-top:6px; }
      .mbplans h3 { margin:0 0 12px; font-size:13px; font-weight:800; letter-spacing:.06em;
        text-transform:uppercase; color:var(--dim); }
      /* Masaustunde iki sutun: solda plan ve odeme, sagda koltuklar.
         Secici ".mbpage.stack", yalnizca ".mbpage" DEGIL: ".stack" bu bloktan
         SONRA tanimli ve esit spesifiklikte kaynak sirasi kazaniyor, yani
         "display:grid" sessizce "display:flex"e yeniliyordu. Olculdu. */
      @media (min-width:980px) {
        /* Kullanicilar sutunu %5 genis (kullanici, 2026-10-19): 320 -> 336. */
        .mbpage.stack { max-width:960px; display:grid; grid-template-columns:1fr 336px; gap:14px;
          align-items:start; }
        .mbhead, .mbplans, .mbask { grid-column:1 / -1; }
        .mbseats { grid-column:2; grid-row:2 / span 4; }
      }
      /* Sozlesme metni. Olcu okunabilirlik icin: uzun bir hukuk metninde
         satir uzunlugu 70 karakteri gecince goz satir basini kaybediyor. */
      .legalbody { max-height:min(66vh, 560px); overflow-y:auto; font-size:13.5px; line-height:1.7; }
      .legalbody h2 { font-size:17px; margin:0 0 10px; }
      .legalbody h3 { font-size:15px; margin:22px 0 8px; }
      .legalbody h4 { font-size:13.5px; margin:16px 0 6px; }
      .legalbody p { margin:0 0 10px; }
      .legalbody ul { margin:0 0 12px; padding-left:20px; }
      .legalbody li { margin:0 0 5px; }
      .legalbody hr { border:none; border-top:1px solid var(--line); margin:18px 0; }
      .legalnote { margin:0 0 14px; padding:9px 12px; border-radius:9px; background:color-mix(in srgb, var(--ink) 8%, var(--surface));
        font-size:12.5px; color:var(--dim); }
      .lgtable { width:100%; border-collapse:collapse; margin:0 0 14px; font-size:12.5px; }
      .lgtable th, .lgtable td { border:1px solid var(--line); padding:7px 9px; text-align:left; vertical-align:top; }
      .lgtable th { background:color-mix(in srgb, var(--ink) 8%, var(--surface)); color:var(--ink); font-weight:800; }
      /* Belgenin kendi adresi (LegalPage): okunur bir satir uzunlugu, giris
         sayfasinin acik zemininde. */
      .lgpage { max-width:760px; margin:0 auto; padding:28px 20px 48px; color:var(--ink); }
      .lgpagehd { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:22px; }
      .lgpagehome { font-weight:800; font-size:20px; color:#fff; text-decoration:none; }
      .lgpageback, .lgpagenav a { font-size:14px; color:rgba(255,255,255,.86); }
      .lgpagebody { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card);
        padding:26px 28px; font-size:15px; line-height:1.7; }
      .lgpagebody h1 { font-size:24px; margin:0 0 16px; }
      .lgpagebody h2 { font-size:19px; margin:0 0 10px; }
      .lgpagebody h3 { font-size:16px; margin:24px 0 8px; }
      .lgpagebody h4 { font-size:15px; margin:18px 0 6px; }
      .lgpagebody p { margin:0 0 10px; }
      .lgpagebody ul { margin:0 0 12px; padding-left:20px; }
      .lgpagebody li { margin:0 0 5px; }
      .lgpagebody hr { border:none; border-top:1px solid var(--line); margin:18px 0; }
      .lgpagebody .lgtable { display:block; overflow-x:auto; }
      .lgpagenav { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:20px; font-size:14px; }
      @media (max-width:640px) {
        .lgpage { padding:18px 16px 40px; }
        .lgpagebody { padding:18px 16px; font-size:15px; }
        .lgpagebody h1 { font-size:21px; }
      }
      .mbdocs { display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
      .mbdocs button { text-align:left; }
      /* Cerez bandi: altta ortada, sayfa arkada calismaya devam eder. */
      .cookiebar { position:fixed; left:50%; bottom:max(14px, env(safe-area-inset-bottom)); transform:translateX(-50%);
        z-index:90; width:min(640px, calc(100vw - 24px)); box-sizing:border-box; display:flex; align-items:center; gap:16px;
        padding:12px 14px 12px 18px; background:var(--surface); border:1px solid var(--line); border-radius:14px;
        box-shadow:0 14px 40px rgba(14,33,27,.22); color:var(--ink); font-family:'Manrope',system-ui,sans-serif; }
      .cookiebar button { font-family:inherit; }
      .cookietxt { margin:0; flex:1 1 auto; font-size:13px; line-height:1.5; color:var(--ink); }
      .cookielink { border:none; background:none; padding:0; font:inherit; color:var(--primary-ink); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
      .cookiebtns { display:flex; gap:8px; flex:none; }
      @media (max-width:560px) { .cookiebar { flex-direction:column; align-items:stretch; gap:10px; padding:14px; }
        .cookiebtns { justify-content:flex-end; } }
      /* Ikon solda, altini cizgi yalnizca yazida: ikonun altina cizgi cekilmez. */
      .mbdocs .mbdoc { display:inline-flex; align-items:flex-start; gap:9px; text-decoration:none; }
      .mbdoc .mbdocico { display:inline-flex; flex:none; width:18px; height:18px; margin-top:1px; color:var(--primary-ink); }
      .mbdoc .mbdocico svg { width:18px; height:18px; }
      .mbdoc .mbdoctxt { text-decoration:underline; text-underline-offset:3px; }
      /* Onay kapisi. Kapatilamiyor: .xclose gizli, cunku hicbir sey yapmayan
         bir kapatma dugmesi gostermek, gostermemekten kotu. */
      .modal.legalgate .xclose { display:none; }
      .legalgatehd p { margin:0; font-size:13.5px; color:var(--dim); line-height:1.6; }
      .legalgatehd .lgwho { margin-top:6px; color:var(--ink); font-weight:700; }
      /* Kaydirilan alan ve "sona atla" dugmesi ayni sarmalayicida: dugme
         kaydirilan govdenin ICINDE olsaydi onunla birlikte kayardi. */
      .legalscrollwrap { position:relative; }
      .legalscroll { max-height:min(46vh, 420px); overflow-y:auto; border-top:1px solid var(--line);
        border-bottom:1px solid var(--line); }
      .lgsep { margin:26px 0 20px; }
      .lgend { margin:18px 0 4px; text-align:center; font-size:12px; font-weight:700;
        letter-spacing:.06em; text-transform:uppercase; color:var(--dim); }
      /* Temanin renginde (kullanici, 2026-10-16): yuzey renginde koyu temada
         metnin ustunde kayboluyordu. Yazi koyu, cunku acik yesilin ustunde
         beyaz okunmuyor (qnbadge ile ayni secim). */
      .lgskip { position:absolute; right:14px; bottom:14px; padding:7px 13px; border-radius:999px;
        border:1px solid color-mix(in srgb, var(--primary) 70%, #000); background:var(--primary); color:var(--on-primary); font:inherit;
        font-size:12px; font-weight:800; cursor:pointer; box-shadow:0 3px 12px rgba(0,0,0,.28); }
      .lgskip:hover { filter:brightness(1.06); }
      .legalboxes { display:flex; flex-direction:column; gap:10px; }
      /* Kutu ve metni ayni satirda hizali: uzun bir cumlenin ikinci satiri
         kutunun altina degil, metnin altina gelmeli. */
      .lgbox { display:flex; align-items:flex-start; gap:10px; font-size:13px; line-height:1.55;
        cursor:pointer; }
      .lgbox.off { color:var(--dim); cursor:default; }
      .lgbox { position:relative; }
      .sginfo { margin:2px 0 0; font-size:12px; line-height:1.55; color:var(--dim); }
      .sginfo .linkbtn, .sginfo button { font:inherit; }
      /* KVKK satiri kutunun yazisiyla ayni hizada, kutunun degil (kullanici,
         2026-10-31): kutu 17px + aralik. */
      .sgconsent .sginfo { padding-left:26px; }
      .lgbox + .sginfo { padding-left:27px; }
      @media (max-width:820px) { .lgbox + .sginfo { padding-left:29px; } }
      .lgbox.off input { opacity:.45; }
      .lgbox.lgoptional { color:var(--dim); padding-top:4px; border-top:1px dashed var(--line); margin-top:4px; }
      /* Kilitli kutuya dokununca ustunde konusma balonu, 3 sn (legal.jsx
         showTip). Kuyrugu kutunun tam ustunde. */
      .lgtip { position:absolute; left:-6px; bottom:calc(100% + 8px); z-index:2; max-width:min(300px, 80vw);
        padding:8px 12px; border-radius:10px; background:var(--ink); color:var(--surface);
        font-size:12.5px; font-weight:600; line-height:1.4; box-shadow:0 6px 18px rgba(0,0,0,.22);
        pointer-events:none; animation:lgtipin .18s ease-out; }
      .lgtip::after { content:""; position:absolute; left:12px; top:100%; border:7px solid transparent;
        border-top-color:var(--ink); }
      @keyframes lgtipin { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
      @media (prefers-reduced-motion:reduce) { .lgtip { animation:none; } }
      /* accent-color: oteki kutucuklarla ayni renk. Olmayinca tarayicinin
         kendi mavisi ciziliyordu ve yesil bir ekranda yabanci duruyordu. */
      .lgbox input { flex:0 0 auto; margin:2px 0 0; width:17px; height:17px; accent-color:var(--primary-ink); }
      .lghint { margin:0; font-size:12px; color:var(--dim); }
      @media (max-width:820px) {
        .legalscroll { max-height:min(42vh, 360px); }
        .lgbox { font-size:13px; }
        .lgtable { font-size:12px; }
        .lgtable th, .lgtable td { padding:6px 7px; }
      }
      @media (max-width:820px) {
        .mbcard { padding:14px; }
        .mbrow { flex-direction:column; align-items:flex-start; gap:2px; }
        .mbval { text-align:left; }
      }
      /* Planlar ve satin alma (/pricing, src/pricing.jsx). Odeme kapali. */
      /* Masaustunde sagda yorum sutunu; dar ekranda tek sutun ve yorum yok. */
      .pzpage { display:block; overflow-x:clip; }
      .pzquotes { display:none; }
      @media (min-width:1240px) {
        .pzpage { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:24px; align-items:start; max-width:1400px; }
        .pzquotes { display:block; position:sticky; top:16px; padding-top:62px; }
      }
      /* Deste: on kart ve arkasinda iki kart. Yalnizca transform ve opacity
         degisiyor, yani kayma compositor'da. */
      .pzdeckwrap { display:flex; flex-direction:column; gap:14px; }
      .pzdeckhd { display:flex; align-items:baseline; justify-content:space-between; padding:0 4px; }
      .pzdeckttl { font-size:10.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--faint); }
      .pzdeckcount { font-size:13px; font-weight:800; color:var(--ink); }
      .pzdeckcount i { font-style:normal; color:var(--faint); }
      .pzdeck { position:relative; height:390px; perspective:1200px; }
      .pzslide { position:absolute; inset:0 0 26px; margin:0; padding:22px 22px 20px; display:flex; flex-direction:column; gap:16px;
        transform-origin:50% 100%; transition:transform .7s cubic-bezier(.2,.8,.2,1), opacity .5s ease, box-shadow .5s ease;
        will-change:transform, opacity; overflow:hidden; }
      .pzslide::before { content:"“"; position:absolute; right:16px; top:14px; font-size:120px; line-height:.75; height:60px;
        font-weight:800; color:var(--primary); opacity:.1; pointer-events:none; transition:opacity .4s ease; }
      .pzslide:not(.front)::before { opacity:0; }
      .pzslide.front { z-index:4; transform:none; opacity:1; box-shadow:0 18px 40px rgba(10,30,24,.16); }
      .pzslide.b1 { z-index:3; transform:translateY(13px) scale(.94); opacity:.75; }
      .pzslide.b2 { z-index:2; transform:translateY(26px) scale(.88); opacity:.4; }
      .pzslide.wait { z-index:1; transform:translateY(26px) scale(.88); opacity:0; }
      /* Giden kart SAGA, ekranin disina (kullanici, 2026-10-12). Sayfa
         yatayda kirpiliyor (clip, hidden degil), yani kaydirma cubugu cikmiyor. */
      .pzslide.gone { z-index:5; transform:translateX(135%) rotate(9deg); opacity:0; pointer-events:none;
        transition:transform .75s cubic-bezier(.5,0,.75,0), opacity .3s ease .5s; }
      .pzslide.b1 > *, .pzslide.b2 > *, .pzslide.wait > * { opacity:0; transition:opacity .3s ease; }
      .pzslide.front > * { opacity:1; transition:opacity .45s ease .2s; }
      .pzslidehd { display:flex; align-items:center; gap:12px; }
      .pzav { flex:0 0 auto; border-radius:50%; box-shadow:0 0 0 2px var(--surface), 0 0 0 3.5px color-mix(in srgb, var(--primary) 40%, transparent); }
      .pzslide blockquote { margin:0; font-size:15px; line-height:1.55; color:var(--ink); letter-spacing:-.003em; }
      .pzfav { margin-top:auto; padding-top:13px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:5px; }
      .pzfavlbl { font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); }
      .pzfavlbl b { margin-left:6px; padding:2px 8px; border-radius:99px; background:var(--mint); color:var(--primary-ink);
        letter-spacing:.04em; text-transform:none; font-size:11px; }
      .pzfav p { margin:0; font-size:12.5px; line-height:1.5; color:var(--dim); font-style:italic; }
      .pzqwho { display:flex; flex-direction:column; min-width:0; }
      .pzqwho b { font-size:13.5px; color:var(--ink); }
      .pzqwho span { font-size:11.5px; color:var(--dim); }
      .pzdeckctl { display:flex; align-items:center; justify-content:center; gap:10px; padding:0 2px; min-height:34px; }
      .pzdots { display:flex; gap:6px; align-items:center; }
      .pzdot { position:relative; width:8px; height:8px; padding:0; border:none; border-radius:99px; background:var(--line);
        cursor:pointer; overflow:hidden; transition:width .4s ease; }
      .pzdot.on { width:30px; }
      .pzdotfill { position:absolute; inset:0; background:var(--primary); transform-origin:left; animation:pzfill linear forwards; }
      .pzdeckwrap.paused .pzdotfill { animation-play-state:paused; }
      @keyframes pzfill { from { transform:scaleX(0); } to { transform:scaleX(1); } }
      @media (prefers-reduced-motion:reduce) {
        .pzslide, .pzslide > *, .pzdot { transition:none; }
        .pzdotfill { animation:none; transform:none; }
      }
      .pzhead h2 { margin:0; font-size:21px; font-weight:800; color:var(--ink); }
      .pzhead p { margin:4px 0 0; font-size:13px; color:var(--dim); }
      /* Free kartinin icinde, kartin zemininden bir ton ayri. */
      /* Kartin bir parcasi, ayri bir kutu degil (kullanici, 2026-10-12). */
      .pzusage { padding:0; }
      .pzusagehd { margin-bottom:10px; }
      .pzusagecap { font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); }
      .pzmeters { display:grid; grid-template-columns:1fr; gap:10px; }
      .pzmeterhd { display:flex; justify-content:space-between; align-items:baseline; height:20px; font-size:12.5px; font-weight:700; color:var(--dim); margin-bottom:6px; }
      .pzmeterhd b { font-size:15px; color:var(--ink); }
      .pzmeterhd b i { font-style:normal; color:var(--faint); font-weight:700; }
      .pztrack { height:7px; border-radius:99px; background:var(--line); overflow:hidden; }
      /* Koltuk parcalari. Free gri; Pro'nun ek parcalari yesil ve "+1". */
      .pzsegs { display:flex; gap:5px; }
      .pzseg { position:relative; flex:1 1 0; height:7px; border-radius:99px;
        background:color-mix(in srgb, var(--faint) 35%, var(--line)); }
      .pzseg.used { background:color-mix(in srgb, var(--dim) 70%, var(--line)); }
      .pzseg.plus { background:var(--primary); animation:pzplus .5s cubic-bezier(.2,.9,.3,1.3) backwards; }
      .pzseg.plus i { position:absolute; left:50%; bottom:11px; transform:translateX(-50%); font-style:normal;
        font-size:10px; font-weight:800; color:var(--primary-ink); line-height:1; }
      .pzsegs { margin-top:13px; }
      @keyframes pzplus { from { transform:scaleX(0); opacity:0; } to { transform:none; opacity:1; } }
      /* Sinirsiz musteri: ici saga akan bir cizgi ve ucunda ok basi. */
      .pzinf { color:var(--primary-ink) !important; font-size:13px !important; }
      .pzflow { position:relative; height:7px; display:flex; align-items:center; color:var(--primary); }
      .pzflowbar { flex:1 1 auto; height:7px; border-radius:99px; margin-right:5px;
        background:repeating-linear-gradient(90deg, var(--primary) 0 16px, color-mix(in srgb, var(--primary) 35%, transparent) 16px 24px);
        background-size:24px 100%; animation:pzflow .9s linear infinite;
        -webkit-mask-image:linear-gradient(90deg, transparent, #000 18%);
        mask-image:linear-gradient(90deg, transparent, #000 18%); }
      /* Ok, teklif ekranindaki "Edit scope options" okunun hareketi: belirip
         saga kayarak soluyor. */
      .pzflowhead { width:12px; height:14px; flex:0 0 auto; animation:pzhead 1.8s ease-in-out infinite; }
      @keyframes pzhead { 0% { opacity:0; transform:translateX(-3px); } 22% { opacity:1; transform:translateX(0); }
        62% { opacity:0; transform:translateX(9px); } 100% { opacity:0; transform:translateX(9px); } }
      @keyframes pzflow { from { background-position:0 0; } to { background-position:24px 0; } }

      @media (prefers-reduced-motion:reduce) { .pzflowbar, .pzflowhead, .pzseg.plus { animation:none; } }
      .pztrack span { display:block; height:100%; border-radius:99px; background:var(--primary); }
      .pz-near .pztrack span { background:var(--amber); }
      .pz-full .pztrack span { background:var(--red); }
      /* Kartlar subgrid: her kartin alti cocugu (baslik, fiyat, not, sinirlar,
         liste, dugme) ayni satirlarda, yani Clients ve Seats cizgileri iki
         kartta ayni hizada (kullanici, 2026-10-12). */
      .pzplans { display:grid; grid-template-columns:1fr 1fr; grid-auto-rows:auto; column-gap:16px; row-gap:0; }
      /* Donem secici Pro sutununun ustunde (PlanOffer, kullanici 2026-10-14):
         kartlar ikinci satirdan basliyor, Free'nin ustu bos kaliyor. */
      .pzcycle.pzcycle-pro { grid-column:2; grid-row:1; margin-bottom:12px; }
      .pzplans > .pzplan { grid-column:1; grid-row:2 / span 6; }
      .pzplans > .pzplan.pro { grid-column:2; }
      .pzplan { padding:20px 20px 18px; display:grid; grid-row:span 6; grid-template-rows:subgrid; row-gap:14px; }
      .pzslot { display:flex; flex-direction:column; gap:6px; margin-top:-6px; }
      .pzslot:empty { margin:0; }
      .pzlaunch { display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; color:var(--dim); }
      .pzcoins { display:inline-flex; width:26px; height:26px; flex:0 0 auto; align-items:center; justify-content:center;
        margin-left:-2px; }
      .pzgrow { display:flex; align-items:center; gap:7px; font-size:12.5px; font-weight:700; color:var(--dim); }
      .pzgrow em { font-style:normal; color:var(--primary-ink); }
      .pzgrowico { width:18px; height:18px; flex:0 0 auto; color:var(--primary); }
      .pzgstem { stroke-dasharray:10; stroke-dashoffset:10; animation:pzgstem 3.2s ease-out infinite; }
      .pzgleaf { transform-box:fill-box; transform:scale(0); animation:pzgleaf 3.2s cubic-bezier(.3,1.5,.5,1) infinite; }
      .pzgleaf.l { transform-origin:100% 100%; }
      .pzgleaf.r { transform-origin:0% 100%; animation-delay:.12s; }
      /* Opaklik her durakta yazili: yalnizca sonda yazilinca tarayici onu
         butun dongu boyunca 1'den 0'a yayiyordu ve filiz hic gorunmuyordu. */
      @keyframes pzgstem { 0% { stroke-dashoffset:10; opacity:1; } 25%, 85% { stroke-dashoffset:0; opacity:1; } 100% { stroke-dashoffset:0; opacity:0; } }
      @keyframes pzgleaf { 0%, 22% { transform:scale(0); opacity:1; } 42%, 85% { transform:scale(1); opacity:1; } 100% { transform:scale(1); opacity:0; } }
      @media (prefers-reduced-motion:reduce) {
        .pzgstem { animation:none; stroke-dashoffset:0; }
        .pzgleaf { animation:none; transform:none; }
      }
      .pzplan.pro { border:1.5px solid var(--primary); background:linear-gradient(160deg, var(--mint), var(--surface) 55%); }
      .pzplan.pro.picked { box-shadow:0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
      .pzplanhd { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
      .pzplanhd h3 { margin:0; font-size:17px; font-weight:800; color:var(--ink); }
      .pzcur, .pzrec { font-size:10.5px; font-weight:800; letter-spacing:.06em; padding:3px 9px; border-radius:99px; }
      /* Free kartinin sag ustu, Pro'nun "Kisa Sureli Teklif" hapiyla ayni yerde. */
      .pznocc { font-size:10.5px; font-weight:800; letter-spacing:.06em; padding:3px 9px; border-radius:99px; color:var(--primary-ink); background:var(--mint); }
      .pzcur { color:var(--dim); background:var(--bg); border:1px solid var(--line); }
      .pzrec { color:#fff; background:var(--primary); }
      .pzprice { display:flex; flex-wrap:wrap; align-items:baseline; gap:7px; }
      .pzprice b { font-size:32px; font-weight:800; color:var(--ink); letter-spacing:-.02em; }
      .pzprice span { font-size:12.5px; color:var(--dim); }
      /* Dar sutunda (giris sayfasi, 398px) ancak bosluksuz sigiyor; sigmazsa
         fiyatin altina iniyor. */
      .pzprice .pzpricenote { font-style:normal; font-size:12.5px; font-weight:700; color:var(--primary-ink); }
      .pzcycle { align-self:stretch; display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border-radius:12px;
        background:var(--surface); border:1px solid var(--line); }
      .pzcycle button { display:inline-flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; padding:10px 12px; border:none; border-radius:9px;
        background:transparent; font:inherit; font-size:13px; font-weight:700; color:var(--dim); cursor:pointer; }
      .pzcycle button.on { background:var(--mint); color:var(--primary-ink); }
      .pzsave { font-size:10.5px; font-weight:800; padding:2px 7px; border-radius:99px; background:var(--primary); color:#fff; }
      .pzsave.pop { background:transparent; color:var(--primary-ink); box-shadow:inset 0 0 0 1.5px var(--primary); }
      .pzlist { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
      .pzlist li { display:flex; align-items:center; gap:9px; font-size:13.5px; color:var(--ink); }
      .pzlist svg { width:18px; height:18px; flex:0 0 auto; color:var(--primary-ink); }
      .pzlist li.no { color:var(--faint); text-decoration:line-through; text-decoration-color:color-mix(in srgb, var(--faint) 60%, transparent); }
      .pzlist li.no svg { color:color-mix(in srgb, var(--red) 76%, var(--ink)); }
      .pzbtn { position:relative; overflow:hidden; width:100%; padding:11px 14px; border-radius:11px; font:inherit;
        font-size:13.5px; font-weight:700; cursor:pointer; border:1px solid var(--line); background:var(--surface); color:var(--ink); }
      .pzbtn.primary { background:var(--primary); border-color:var(--primary); color:#fff; }
      .pzbtn:disabled { cursor:default; opacity:.6; }
      .pzbtn.ghost:disabled { opacity:1; color:var(--dim); background:var(--bg); }
      .pzcheckout { display:grid; grid-template-columns:minmax(0,1fr); column-gap:16px; row-gap:16px; align-items:start; scroll-margin-top:80px; }
      .pzbill, .pzsum { padding:18px 20px; }
      .pzbill h3, .pzsum h3 { margin:0 0 4px; font-size:15px; font-weight:800; color:var(--ink); }
      .pzhint { margin:0 0 14px; font-size:12.5px; color:var(--dim); }
      .pzwarn { margin:0 0 12px; font-size:12.5px; font-weight:700; color:var(--amber); }
      .pzform { display:grid; grid-template-columns:1fr 1fr; gap:12px 14px; }
      .pzfield { display:flex; flex-direction:column; gap:5px; min-width:0; }
      .pzfield.wide { grid-column:1 / -1; }
      .pzfield span { font-size:11.5px; font-weight:700; color:var(--dim); }
      .pzfield input { width:100%; box-sizing:border-box; padding:10px 12px; border-radius:10px; border:1px solid var(--line);
        background:var(--bg); color:var(--ink); font:inherit; font-size:14px; }
      .pzfield input:focus { outline:none; border-color:var(--primary); }
      .pzsum { display:flex; flex-direction:column; gap:9px; }
      .pzrow { display:flex; justify-content:space-between; gap:10px; font-size:13.5px; color:var(--ink); }
      .pzrow.dim { color:var(--dim); font-size:12.5px; }
      .pzrow.gift { color:var(--primary-ink); font-weight:700; }
      .pzrow.gift s { color:var(--dim); font-weight:600; }
      /* Havale/EFT (kullanici, 2026-11-02, K-440): yontem secici, banka kutusu, bekleyen talep. */
      .pzmeth { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:4px 0 2px; }
      .pzmopt { position:relative; display:flex; align-items:center; gap:9px; min-height:44px; padding:0 12px; border:1.5px solid var(--line);
        border-radius:var(--r-ctl); background:var(--surface); color:var(--ink); font:inherit; font-size:14px; font-weight:700; text-align:left;
        -webkit-appearance:none; appearance:none; }
      .pzmopt svg { width:20px; height:20px; flex:none; }
      .pzmopt.on { border-color:var(--sel-bg); background:color-mix(in srgb, var(--sel-bg) 9%, var(--surface)); color:var(--ink); }
      .pzmopt.on svg { color:var(--sel-bg); }
      .app.dark .pzmopt.on svg { color:var(--primary); }
      .pzmopt.off { color:var(--dim); cursor:not-allowed; }
      .pzsoon { margin-left:auto; font-style:normal; font-size:10.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
        color:var(--dim); border:1px solid var(--line); border-radius:999px; padding:2px 7px; white-space:nowrap; }
      /* Ne icin odendigi (K-703): banka kutusunun ustunde, takvim ikonu donemin ay sayisini tasiyor. */
      .pzwhat { display:flex; align-items:center; gap:12px; margin:12px 0; padding:12px 14px; border-radius:var(--r-inner);
        background:color-mix(in srgb, var(--sel-bg) 7%, var(--surface)); border:1px solid color-mix(in srgb, var(--sel-bg) 22%, var(--line)); }
      .pzwhatico { position:relative; flex:none; width:44px; height:44px; border-radius:12px; display:grid; place-items:center;
        background:var(--surface); color:var(--sel-bg); border:1px solid color-mix(in srgb, var(--sel-bg) 25%, var(--line)); }
      .app.dark .pzwhatico { color:var(--primary); }
      .pzwhatico svg { width:28px; height:28px; grid-area:1/1; }
      .pzwhatico b { grid-area:1/1; margin-top:7px; font-size:11px; font-weight:800; line-height:1; color:var(--ink); font-variant-numeric:tabular-nums; }
      .pzwhattx { display:flex; flex-direction:column; gap:2px; min-width:0; flex:1 1 auto; }
      .pzwhatcap { font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--dim); }
      .pzwhattx > b { font-size:18px; font-weight:800; color:var(--ink); line-height:1.25; }
      .pzwhatsub { font-size:12.5px; color:var(--primary-ink); font-weight:600; }
      .pzwhatsw.segrow { flex:none; margin:0; }
      .pzwhatsw .seg { white-space:nowrap; }
      @media (max-width:560px) {
        .pzwhat { flex-wrap:wrap; }
        .pzwhattx { flex:1 1 0; }
        .pzwhattx > b { font-size:16.5px; }
        .pzwhatsw.segrow { flex-basis:100%; display:grid; grid-template-columns:1fr 1fr; }
      }
      .pzbank { display:flex; flex-direction:column; gap:8px; }
      .pzbankrows { border:1px solid var(--line); border-radius:var(--r-ctl); overflow:hidden; }
      .pzbrow { display:grid; grid-template-columns:96px minmax(0, 1fr) auto; align-items:center; gap:10px; min-height:46px; padding:6px 8px 6px 12px;
        border-bottom:1px solid var(--line); }
      .pzbrow:last-child { border-bottom:0; }
      .pzbrow .k { font-size:12px; font-weight:600; color:var(--dim); }
      .pzbrow .v { font-size:14px; font-weight:700; color:var(--ink); overflow-wrap:anywhere; }
      .pzbrow.code { background:color-mix(in srgb, var(--sel-bg) 9%, var(--surface)); }
      .pzbrow.code .v { font-size:17px; letter-spacing:.06em; color:var(--sel-bg); }
      .app.dark .pzbrow.code .v { color:var(--primary); }
      .pzcopy { height:32px; min-width:32px; padding:0 10px; border:1px solid var(--line); border-radius:9px; background:var(--surface);
        color:var(--dim); font:inherit; font-size:12px; font-weight:700; cursor:pointer; -webkit-appearance:none; appearance:none; white-space:nowrap; }
      .pzcopy:hover { color:var(--ink); }
      .pzcopy.ok { color:var(--green); border-color:var(--green); }
      .pzbankhint { margin:0; font-size:12.5px; line-height:1.5; color:var(--dim); }
      .pzbankhint b { color:var(--ink); }
      .pzsmall { margin:0; font-size:12px; line-height:1.45; color:var(--dim); text-align:center; }
      .pzpend { display:flex; gap:12px; align-items:flex-start; padding:14px; border-radius:var(--r-inner);
        border:1px solid color-mix(in srgb, var(--amber) 45%, var(--line)); background:color-mix(in srgb, var(--amber) 9%, var(--surface)); }
      .pzpend b { display:block; font-size:15px; margin:0 0 3px; color:var(--ink); }
      .pzpend p { margin:0; font-size:13px; line-height:1.5; color:var(--dim); }
      .pzpendring { flex:none; width:30px; height:30px; border-radius:50%; border:3px solid color-mix(in srgb, var(--amber) 28%, transparent);
        border-top-color:var(--amber); animation:pzspin 1.1s linear infinite; }
      @keyframes pzspin { to { transform:rotate(360deg); } }
      @media (prefers-reduced-motion:reduce) { .pzpendring { animation:none; } }
      .pzpendkv { display:grid; grid-template-columns:auto 1fr; gap:4px 14px; margin:10px 0 0; font-size:13px; }
      .pzpendkv dt { color:var(--dim); }
      .pzpendkv dd { margin:0; font-weight:700; color:var(--ink); }
      .pzpendacts { display:flex; flex-wrap:wrap; gap:14px; margin-top:10px; }
      .pzlink { padding:0; border:0; background:none; font:inherit; font-size:12.5px; font-weight:600; color:var(--dim); text-decoration:underline; cursor:pointer; }
      .pzlink:hover { color:var(--ink); }
      .pzpendask { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:10px; font-size:13px; color:var(--ink); }
      .pzpendask span { flex:1 1 100%; }
      .pzpendask .pzbtn { width:auto; min-height:40px; padding:0 14px; }
      .pzpendask .pzbtn.danger { color:var(--red); border-color:color-mix(in srgb, var(--red) 40%, var(--line)); }
      .mbpend { margin:0 0 14px; }
      /* Telefonda etiket ve Kopyala ustte, deger altta tam genislikte: IBAN uc satira bolunuyordu (375'te olculdu). */
      /* Ekranin degil KARTIN genisligine gore (kullanici, 2026-11-02): masaustunde ozet dar bir sutunda da
         kalabiliyor ve orada IBAN uc satira, "Havale / EFT" iki satira bolunuyordu. */
      .pzsum { container-type:inline-size; container-name:pzsum; }
      .pzmopt span { white-space:nowrap; }
      @media (max-width:820px) { .pzpendask .pzbtn { min-height:44px; } }
      @container pzsum (max-width:460px) {
        .pzbrow { grid-template-columns:minmax(0, 1fr) auto; grid-template-areas:"k c" "v v"; row-gap:2px; padding:8px 8px 10px 12px; }
        .pzbrow .k { grid-area:k; } .pzbrow .v { grid-area:v; } .pzbrow > :last-child { grid-area:c; }
        .pzbrow .v.num { font-size:13.5px; }
        .pzbrow.code .v { font-size:17px; }
        .pzmopt { gap:6px; padding:0 9px; font-size:13px; }
        .pzmopt svg { width:18px; height:18px; }
        .pzsoon { padding:2px 6px; font-size:10px; }
      }
      .pzrow.sub { border-top:1px solid var(--line); padding-top:10px; margin-top:2px; align-items:baseline; font-weight:700; }
      .pzrow.sub b { font-size:24px; font-weight:800; letter-spacing:-.02em; }
      .pzrow.total { border-top:1px solid var(--line); padding-top:10px; margin-top:2px; font-weight:800; }
      .pzrow.total b { font-size:18px; }
      @media (max-width:820px) {
        .pzplans, .pzcheckout { grid-template-columns:minmax(0,1fr); }
        .pzplans { row-gap:16px; }
        .pzcycle.pzcycle-pro { grid-column:auto; grid-row:auto; margin-bottom:0; }
        .pzplans > .pzplan, .pzplans > .pzplan.pro { grid-column:auto; grid-row:span 6; }
        .pzslot:empty { display:none; }
        .pzform { grid-template-columns:minmax(0,1fr); }
        .pzfield input { font-size:16px; }
      }
      /* 8px, not 10: the sidebar is desktop-only (the phone has the bottom tab
         bar), so these are pointer targets rather than touch targets and the
         extra height was only spreading a group apart. */
      .navitem { display:flex; align-items:center; gap:11px; padding:8px 11px; border-radius:10px; font-weight:600; color:var(--dim); cursor:pointer; border:none; background:transparent; font:inherit; text-align:left; }
      .navitem svg { width:18px; height:18px; flex-shrink:0; }
      .navitem:hover { background:var(--bg); color:var(--ink); }
      .navitem.on { background:var(--mint); color:var(--primary-ink); }
      /* --primary measured 2.18 on --mint, so the active icon was the faintest
         thing in the sidebar. --primary-ink is 4.60 there, and matches the label
         beside it. */
      .navitem.on svg { color:var(--primary-ink); }
      /* content */
      .content { flex:1; min-width:0; display:flex; flex-direction:column; }
      .topbar { padding:12px 22px 4px; display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
      /* The score reads first and the tools sit at the far end, so the bar has
         a left and a right rather than a row of things in the order they were
         written. */
      .topspacer { flex:1 1 auto; }
      /* Top left, and only as wide as it needs: the bar's spacer takes the
         rest, so this never becomes a row-long target. */
      /* The negative margin is what keeps the ring itself on the same left
         edge as the card under it. The hover surface used to be pulled 20px
         further left by a negative margin so its CONTENT lined up instead, and
         measured: the white box started at 10px while the card below it
         started at 30px, so on hover it visibly stuck out into the gutter. */
      .scorering { display:flex; align-items:center; gap:10px; flex:0 0 auto; padding:7px 20px 7px 10px;
        border:none; background:transparent; font:inherit; cursor:pointer;
        border-radius:14px; text-align:left; }
      .scorering:hover { background:var(--surface); }
      .srring { position:relative; width:48px; height:48px; flex:0 0 auto; }
      /* Rotated so the arc starts at the top rather than at three o'clock. */
      .srring svg { width:48px; height:48px; transform:rotate(-90deg); }
      .srring b { position:absolute; inset:0; display:grid; place-items:center;
        font-size:15px; font-weight:800; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
      .srtxt { display:flex; flex-direction:column; gap:1px; min-width:0; }
      .srtxt i { font-style:normal; font-size:9.5px; font-weight:800; letter-spacing:.12em;
        text-transform:uppercase; color:var(--faint); white-space:nowrap; }
      .srtxt span { font-size:13px; font-weight:800; letter-spacing:.01em; }
      /* The sky sits behind the top of the Overview: the bar, the greeting and
         the month. Everything in .content paints over it, which is why the bar
         and main carry no ground of their own. */
      /* z-index:0 rather than a bare position:relative, and it matters: the
         sky has to sit BEHIND the page, which means a negative z-index, and a
         negative z-index only stays inside the box if the parent is a stacking
         context. Without the 0 it would slip behind .app's own background and
         disappear.
         What must NOT happen is raising .topbar and main to get above it. Both
         at z-index:1 makes each of them a context of its own, main comes
         second in the DOM, and the whole top bar -- the account menu, the bell
         panel -- ends up underneath the page. That shipped, and the menu could
         be opened but not clicked. */
      .content { position:relative; z-index:0; }
      .sky { position:absolute; top:0; left:0; right:0; height:236px; z-index:-1;
        pointer-events:none; }
      /* The fade belongs to the light and the path, not to the clock. */
      .skyveil { position:absolute; inset:0; overflow:hidden;
        -webkit-mask-image:linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
        mask-image:linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); }
      /* Under the arc's crown; its left comes from SKY_CENTRE (kullanici,
         2026-10-13). Quiet on purpose:
         the figures that matter on this page are money, and a 44px clock in
         full ink would outrank all of them. */
      .skyclock { position:absolute; transform:translateX(-50%);
        display:flex; flex-direction:column; align-items:center; gap:3px; }
      .skywhere { display:inline-flex; align-items:center; gap:4px; font-size:10.5px; font-weight:500;
        letter-spacing:.05em; color:var(--faint); white-space:nowrap; margin-bottom:3px; }
      .skywhere svg { width:11px; height:11px; flex:0 0 auto; stroke-width:1.6; }
      .skyclock b { font-size:44px; font-weight:300; letter-spacing:-.02em; line-height:1;
        color:var(--dim); font-variant-numeric:tabular-nums; }
      .skyclock i { font-style:normal; font-size:10.5px; font-weight:800; letter-spacing:.14em;
        color:var(--faint); white-space:nowrap; }
      /* The light reaches further in than the path does. It has no edge of its
         own, so a mask gives it one; the greeting keeps the room it needs and
         the colour arrives after it. */
      /* Long on purpose. One tick moves the sun about 10px, and 10px in under
         a second is a move you watch; spread over two seconds it is drift. */
      .skywash { position:absolute; top:0; right:0; bottom:0;
        transition:background 2000ms ease;
        -webkit-mask-image:linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 14%, rgba(0,0,0,.8) 34%, #000 55%);
        mask-image:linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 14%, rgba(0,0,0,.8) 34%, #000 55%); }
      /* The whole strip. The arc's own fade, at both ends, is an inline mask
         worked out from where the arc ends (SkyStrip, arcFade). */
      .skypath { position:absolute; inset:0; }
      /* Too narrow for an arc that clears both the greeting and the clock
         (skyHalfSpan): the light stays, as on a phone. The clock goes only
         when it would touch the greeting itself. */
      .skytight .skypath, .skynoclock .skyclock { display:none; }
      /* %40 daha seffaf (kullanici, 2026-10-19): .20 idi. */
      .skyarc { position:absolute; inset:0; color:var(--ink); opacity:.12; }
      /* The mark rides the arc: centred on its point, gliding between beats. */
      .skymark { position:absolute; width:0; height:0; transition:left 2000ms ease, top 2000ms ease; }
      .skymark .wxi { position:absolute; transform:translate(-50%,-50%); }
      .skyjump .skymark { transition:none; }
      @media (prefers-reduced-motion:reduce){ .skymark { transition:none; } }

.wxi { overflow:visible; }
.wxi .wxi-drop { animation:wxidrop 1s linear infinite; }
@keyframes wxidrop { 0% { transform:translate(1.5px,-4px); opacity:0; } 15% { opacity:1; } 80% { opacity:1; } 100% { transform:translate(-3px,7px); opacity:0; } }
.wxi .wxi-flake { animation:wxiflake 3s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }
@keyframes wxiflake {
  0% { transform:translate(0,-4px) rotate(0); opacity:0; }
  15% { opacity:1; }
  40% { transform:translate(2px,1px) rotate(70deg); }
  70% { transform:translate(-1.5px,5px) rotate(140deg); opacity:1; }
  100% { transform:translate(1px,9px) rotate(200deg); opacity:0; }
}
.wxi .wxi-flake.b { animation-name:wxiflakeb; }
@keyframes wxiflakeb {
  0% { transform:translate(0,-4px) rotate(0); opacity:0; }
  15% { opacity:1; }
  40% { transform:translate(-2px,1px) rotate(-70deg); }
  70% { transform:translate(1.5px,5px) rotate(-140deg); opacity:1; }
  100% { transform:translate(-1px,9px) rotate(-200deg); opacity:0; }
}
.wxi .wxi-bolt { animation:wxibolt 3.6s linear infinite; }
@keyframes wxibolt { 0%, 58% { opacity:0; } 60% { opacity:1; } 63% { opacity:.2; } 66% { opacity:1; } 82% { opacity:1; } 90%, 100% { opacity:0; } }
.wxi .wxi-storm { animation:wxistorm 3.6s linear infinite; }
@keyframes wxistorm { 0%, 58%, 70%, 100% { filter:none; } 60%, 66% { filter:brightness(1.35); } }
@media (prefers-reduced-motion:reduce){
  .wxi .wxi-drop, .wxi .wxi-flake, .wxi .wxi-storm { animation:none; opacity:1; }
  .wxi .wxi-bolt { animation:none; opacity:1; }
}


  .flexie { position:fixed; left:0; top:0; z-index:55; pointer-events:none; will-change:transform, opacity; }
  .flexie svg { display:block; width:100%; height:100%; overflow:visible; }
  .flexie .feather, .fxsleeper .feather { transform-box:view-box; transform-origin:148px 110px; }
  .flexie .feather.go { animation: fxflick 1.3s ease-in-out; }
  .flexie .feather.f2.go, .fxsleeper .feather.f2.go { animation-delay:.12s; }
  .fxsleeper .feather.go { animation: fxflick 2.6s ease-in-out; }
  .fxbranch { position:absolute; right:0; top:94px; z-index:3; pointer-events:none; }
  .fxlimbs { display:block; overflow:visible; }
  /* Gunduz kahverengi (kullanici, 2026-10-16); gece eskisi gibi. */
  /* Sakura bark (2026-10-16): a red-brown, darker than the plain brown it
     replaced, with pale lenticels across the limbs. */
  .fxlimbs .fxbark { fill:#5C3A30; }
  .fxlimbs .fxlit { fill:#7D5647; }
  .fxlimbs .fxlent { fill:none; stroke:#A07C6C; stroke-width:1; stroke-linecap:round; opacity:.55; }
  .fxlimbs .fxfall { transform-box:fill-box; transform-origin:center; animation:fxfall 7.8s linear infinite; opacity:0; }
  @keyframes fxfall { 0% { opacity:0; transform:translate(0,0) rotate(0); } 10% { opacity:.95; } 50% { transform:translate(-10px,34px) rotate(160deg); } 85% { opacity:.8; } 100% { opacity:0; transform:translate(-4px,74px) rotate(320deg); } }
  @media (prefers-reduced-motion: reduce) { .fxlimbs .fxfall { animation:none; opacity:0; } }
  .fxlimbs .fxgrain { fill:none; stroke:#4A3220; stroke-linecap:round; }
  .fxlimbs .fxknot { fill:#4A3220; }
  .fxlimbs .fxknoteye { fill:#7A5636; }
  .fxlimbs .fxbud { fill:#5A3D25; }
  .fxperch { position:absolute; width:0; height:0; }
  .fxsleeper { position:absolute; padding:0; margin:0; border:0; background:none; cursor:pointer; pointer-events:auto;
    -webkit-appearance:none; appearance:none; border-radius:50%; }
  .fxsleeper svg { display:block; width:100%; height:100%; overflow:visible; transform-origin:48% 79%; }
  /* The gust: up a little, hover with the wings beating, back down. */
  .fxsleeper.gust0 svg { animation: fxgustA 1700ms cubic-bezier(.3,.7,.4,1); }
  .fxsleeper.gust1 svg { animation: fxgustB 1700ms cubic-bezier(.3,.7,.4,1); }
  @keyframes fxgustA { 0% { transform:translateY(0); } 22% { transform:translateY(-13px); } 50% { transform:translateY(-10px); } 75% { transform:translateY(-12px); } 100% { transform:translateY(0); } }
  @keyframes fxgustB { 0% { transform:translateY(0); } 22% { transform:translateY(-13px); } 50% { transform:translateY(-10px); } 75% { transform:translateY(-12px); } 100% { transform:translateY(0); } }
  /* The branch in the wind: it turns about where it comes in from the
     screen's edge, a damped swing that dies out. */
  .fxsway { transform-box:view-box; transform-origin:272px 3px; }
  /* --a: the swing at its widest, in degrees; the wind's level sets it and
     the length (WIND_LEVELS). */
  .fxsway.on0 { animation: fxswayA var(--sd, 2.6s) cubic-bezier(.35,.0,.25,1); }
  .fxsway.on1 { animation: fxswayB var(--sd, 2.6s) cubic-bezier(.35,.0,.25,1); }
  @keyframes fxswayA { 0% { transform:rotate(0); } 18% { transform:rotate(calc(var(--a, 1.7) * -1deg)); } 40% { transform:rotate(calc(var(--a, 1.7) * .65deg)); } 60% { transform:rotate(calc(var(--a, 1.7) * -.35deg)); } 80% { transform:rotate(calc(var(--a, 1.7) * .15deg)); } 100% { transform:rotate(0); } }
  @keyframes fxswayB { 0% { transform:rotate(0); } 18% { transform:rotate(calc(var(--a, 1.7) * -1deg)); } 40% { transform:rotate(calc(var(--a, 1.7) * .65deg)); } 60% { transform:rotate(calc(var(--a, 1.7) * -.35deg)); } 80% { transform:rotate(calc(var(--a, 1.7) * .15deg)); } 100% { transform:rotate(0); } }
  /* What the gust shakes off: carried a little with the wind (left, the way
     the gust blows), down, turning, and gone. */
  .fxlimbs .fxgfall { transform-box:fill-box; transform-origin:center; animation: fxgfall var(--d, 3s) cubic-bezier(.4,.1,.6,1) forwards; }
  @keyframes fxgfall { 0% { opacity:1; transform:translate(0,0) rotate(0); } 25% { opacity:1; } 100% { opacity:0; transform:translate(var(--dx, -26px), var(--dy, 58px)) rotate(var(--r, 200deg)); } }
  /* White on a pale sky needs an edge: a cool blue-grey line, the colour of
     snow in its own shade. */
  /* A line of air: a short wavy stroke, soft at both ends (a gradient
     along it), sliding in from beyond the screen's right edge and out past
     the branch's left, fading in and out as it goes (kullanici, 2026-10-16:
     not appearing in the middle). --tx0 / --tx1 / --wd per line. */
  .fxwline { opacity:0; transform:translateX(var(--tx0, 290px)); }
  .fxwline path { fill:none; stroke-width:1.7; stroke-linecap:round; }
  .fxwgrad stop { stop-color:#60788C; }
  .app.dark .fxwgrad stop { stop-color:#CDDEE8; }
  .fxwline.go { animation: fxwline var(--wd, 1.6s) cubic-bezier(.3,.05,.55,1) both; }
  @keyframes fxwline { 0% { opacity:0; transform:translateX(var(--tx0, 290px)); } 14% { opacity:1; } 55% { opacity:.85; } 100% { opacity:0; transform:translateX(var(--tx1, -330px)); } }
  /* Cizgi kendini cizerek geliyor ve sonerek gidiyor (kullanici, 2026-10-19):
     gorunen parca yolun sag ucundan sol ucuna kayiyor. pathLength 1. */
  .fxwline.go .fxwdraw, .fxfar path { animation: fxwdraw var(--fd, 2s) cubic-bezier(.35,.1,.5,1) var(--fl, 0s) both; }
  @keyframes fxwdraw { 0% { stroke-dashoffset:-1; opacity:0; } 18% { opacity:1; } 55% { opacity:.85; } 100% { stroke-dashoffset:var(--fs, .6); opacity:0; } }
  .fxfar { position:absolute; z-index:2; pointer-events:none; overflow:visible; }
  .fxfar path { fill:none; stroke:#60788C; stroke-linecap:round; }
  .app.dark .fxfar path { stroke:#CDDEE8; }
  .fxfarmove { animation: fxfarmove var(--fd, 4s) cubic-bezier(.3,.05,.55,1) var(--fl, 0s) both; }
  @keyframes fxfarmove { from { transform:translateX(0); } to { transform:translateX(var(--fx, -300px)); } }
  @media (max-width:1023px) { .fxfar { display:none; } }
  @media (prefers-reduced-motion: reduce) { .fxwline.go { animation:none; opacity:0; } .fxfar { display:none; } }
  .fxlimbs .fxsnowedge { fill:none; stroke:#A9BDCB; stroke-width:1.6; stroke-linejoin:round; }
  .fxlimbs .fxsnow { fill:#FFFFFF; }
  .fxlimbs .fxflake { fill:#FFFFFF; stroke:#A9BDCB; stroke-width:.5; }
  .app.dark .fxlimbs .fxsnow { fill:#E3ECF0; }
  .app.dark .fxlimbs .fxsnowedge { stroke:#9FB2BB; }
  .app.dark .fxlimbs .fxflake { fill:#E3ECF0; }
  @media (prefers-reduced-motion: reduce) { .fxsway, .fxlimbs .fxgfall, .fxsleeper.gust0 svg, .fxsleeper.gust1 svg { animation:none; } }
  .fxsleeper:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
  .fxsleeper.away { opacity:0; pointer-events:none; }
  @media (max-width:1023px) { .fxbranch { display:none; } }
  /* On the cards the bird itself is the click target: only its body, so the
     card under the rest of the box stays clickable. */
  .flexie .fxhit { position:absolute; left:22%; top:26%; width:62%; height:52%; padding:0; margin:0; border:0;
    background:none; border-radius:40%; cursor:pointer; pointer-events:none; -webkit-appearance:none; appearance:none; }
  .flexie.wander .fxhit { pointer-events:auto; }
  .flexie .fxhit:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
  /* Koyu tema (kullanici, 2026-10-15): kus ve dal murekkep rengiyle cizili
     ve koyu zeminde eriyordu; ayaklar ve z harfleri hic gorunmuyordu. Zemine
     dogrudan oturan cizgiler aciliyor, govdenin cevresine ince bir isik
     geliyor. Ziyaret kutusu body'de, .app'in disinda; o yuzden :has. */
  .app.dark .fxlimbs .fxbark { fill:#40504A; }
  .app.dark .fxlimbs .fxlit { fill:#52645D; }
  .app.dark .fxlimbs .fxgrain { stroke:#2E3A36; }
  .app.dark .fxlimbs .fxknot, .app.dark .fxlimbs .fxbud { fill:#2E3A36; }
  .app.dark .fxlimbs .fxknoteye { fill:#4A5C55; }
  .app.dark .fxlimbs .fxlent { stroke:#5C6F68; }
  /* At night the colours of the tree are seen in less light. */
  .app.dark .fxlimbs .fxgrow { filter:brightness(.78) saturate(.85); }
  .app.dark .fxleg, body:has(.app.dark) .flexie .fxleg { stroke:#A9BCB4; }
  .app.dark .fxzz, body:has(.app.dark) .flexie .fxzz { fill:#A9BCB4; }
  /* The glow is on the bird (.fxglow), not on its z's: round the letters it
     blurred them into the dark (kullanici, 2026-10-16). */
  .app.dark .fxsleeper svg .fxglow, body:has(.app.dark) .flexie svg .fxglow { filter:drop-shadow(0 0 1.2px rgba(214,236,226,.45)); }
  @keyframes fxflick { 0%, 100% { transform: rotate(0); } 28% { transform: rotate(3.2deg); } 62% { transform: rotate(-2.2deg); } 84% { transform: rotate(.8deg); } }
  /* Setup > Workspace: Flexie & tree anahtarinin yanindaki kus (kullanici,
     2026-10-19). Kapaliyken uyuyor; acilinca gozunu aciyor, kanadini kaldirip
     hafifce havalaniyor ve iniyor. */
  .fxtoggle { display:block; width:84px; height:84px; flex:0 0 84px; align-self:center; }
  .fxtoggle svg { width:100%; height:100%; display:block; overflow:visible; transform-origin:52% 80%; }
  .fxtoggle.hop svg { animation:fxtoghop .9s cubic-bezier(.3,.7,.4,1) both; }
  @keyframes fxtoghop {
    0% { transform:translateY(0) scale(1,1); }
    14% { transform:translateY(2px) scale(1.06,.92); }
    46% { transform:translateY(-15px) scale(.97,1.04); }
    76% { transform:translateY(0) scale(1.05,.94); }
    88% { transform:translateY(-2px) scale(.99,1.01); }
    100% { transform:none; }
  }
  @media (prefers-reduced-motion:reduce) { .fxtoggle.hop svg { animation:none; } }


      .nwbtn { display:flex; align-items:center; gap:10px; width:100%; text-align:left; cursor:pointer;
        font:inherit; border:none; border-bottom:1px solid var(--line); padding:10px 15px;
        background:linear-gradient(100deg, color-mix(in srgb, var(--primary) 13%, var(--surface)), var(--surface) 75%); }
      .nwbtn:hover { background:linear-gradient(100deg, color-mix(in srgb, var(--primary) 22%, var(--surface)), var(--surface) 85%); }
      .nwbtnico { width:30px; height:30px; flex-shrink:0; border-radius:50%; display:flex; align-items:center; justify-content:center;
        background:var(--surface); box-shadow:0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent); }
      .nwbtnbody { flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
      .nwbtnbody b { font-size:13px; color:var(--ink); font-weight:800; }
      .nwbtnbody span { font-size:11.5px; color:var(--dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .nwbtnnew { flex-shrink:0; font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase;
        padding:3px 8px; border-radius:999px; background:var(--primary); color:var(--on-primary); }
      .nwspark { width:18px; height:18px; overflow:visible; }
      .nwspark path { fill:var(--primary); transform-box:fill-box; transform-origin:center; }
      .nwspark2 { opacity:.75; }
      .nwbtn.fresh .nwspark1, .nwbtn:hover .nwspark1 { animation:nwtwinkle 2.4s ease-in-out infinite; }
      .nwbtn.fresh .nwspark2, .nwbtn:hover .nwspark2 { animation:nwtwinkle 2.4s ease-in-out .8s infinite; }
      @keyframes nwtwinkle { 0%, 70%, 100% { transform:scale(1) rotate(0deg); } 80% { transform:scale(1.35) rotate(25deg); } 90% { transform:scale(.85) rotate(-8deg); } }

      /* Kartlar arama kutusunun hizasina kadar (kullanici, 2026-10-19): 680 -> 1100. */
      .nwpage { max-width:1100px; }
      .nwhead { display:flex; align-items:center; gap:12px; }
      .nwhead h2 { margin:0 0 3px; }
      .nwhead p { margin:0; color:var(--dim); font-size:13.5px; }
      .nwheadico { width:44px; height:44px; flex-shrink:0; border-radius:50%; display:flex; align-items:center; justify-content:center;
        background:color-mix(in srgb, var(--primary) 14%, var(--surface)); }
      .nwheadico .nwspark { width:24px; height:24px; }
      /* Basliktaki yildiz donmuyor, yalnizca hafifce buyuyup kuculuyor
         (kullanici, 2026-10-21). */
      .nwheadico .nwspark1 { animation:nwgrow 3.2s ease-in-out infinite; }
      .nwheadico .nwspark2 { animation:nwgrow 3.2s ease-in-out 1s infinite; }
      @keyframes nwgrow { 0%, 100% { transform:scale(1); } 50% { transform:scale(1.18); } }
      .nwgroup { display:flex; flex-direction:column; gap:10px; }
      .nwmonth { margin:6px 0 0; font-size:12px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--dim); }
      .nwlist { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
      .nwitem { padding:16px 18px; }
      .nwmeta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:8px; }
      .nwmeta time { font-size:12.5px; color:var(--dim); }
      .nwkind { font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; padding:3px 9px; border-radius:999px;
        background:color-mix(in srgb, var(--primary) 16%, var(--surface)); color:var(--primary-ink); }
      .nwitem.k-hello .nwkind { background:color-mix(in srgb, var(--amber) 22%, var(--surface)); color:var(--ink); }
      .nwitem.k-fixed .nwkind { background:var(--bg); color:var(--dim); }
      .nwitem.hasart { display:flex; align-items:center; gap:14px; }
      .nwtext { flex:1; min-width:0; }
      .nwart { width:112px; height:112px; flex-shrink:0; margin:-8px -6px -8px 0; }
      .nwart.nwsav { -webkit-appearance:none; appearance:none; padding:0; border:none; background:transparent; cursor:pointer; color:var(--primary); --hf-accent:var(--pop, var(--primary)); width:84px; height:84px; margin:0 6px 0 0; align-self:center; }
      .nwart.nwsav svg { display:block; width:100%; height:100%; }
      .nwart.nwcrumple { width:46px; height:46px; margin:0 14px 0 0; align-self:center; }
      .app.dark .nwart .fxglow { filter:drop-shadow(0 0 1.2px rgba(214,236,226,.45)); }
      @media (max-width:520px) { .nwart { width:78px; height:78px; margin:-4px -8px -4px -4px; } }
      .nwitem h3 { margin:0 0 6px; font-size:16px; color:var(--ink); }
      .nwitem p { margin:0; font-size:14px; line-height:1.55; color:var(--ink); opacity:.86; }
      .nwsw { list-style:none; margin:12px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px 16px; }
      .nwsw li { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color:var(--ink); }
      .nwdots { display:inline-flex; }
      .nwdots i { width:18px; height:18px; border-radius:50%; box-shadow:0 0 0 2px var(--surface), 0 0 0 3px var(--line); }
      .nwdots i + i { margin-left:-6px; }
      @media (prefers-reduced-motion:reduce) { .nwspark path { animation:none !important; } }


      .anncards { display:flex; flex-direction:column; gap:8px; padding:10px 12px; border-bottom:1px solid var(--line);
        background:color-mix(in srgb, var(--primary) 7%, var(--surface)); }
      .anncard { display:flex; flex-direction:column; gap:4px; padding:10px 12px; border-radius:12px;
        background:var(--surface); box-shadow:0 0 0 1px color-mix(in srgb, var(--primary) 30%, transparent); }
      .anntag { font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--primary-ink); }
      .anncard b { font-size:13.5px; color:var(--ink); }
      .anncard p { margin:0; font-size:12.5px; line-height:1.45; color:var(--dim); white-space:pre-line; }
      .annacts { display:flex; justify-content:flex-end; gap:14px; margin-top:2px; }
      .annblock { display:flex; flex-direction:column; margin-bottom:6px; }
      .annsavedhd { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
      .annsaved { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:8px; }
      .annseg { display:flex; align-items:stretch; border-radius:10px; background:var(--surface);
        box-shadow:0 0 0 1px var(--line); min-width:0; }
      .annseg.on { box-shadow:0 0 0 2px var(--primary); }
      .annsegpick { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px; text-align:left;
        border:none; background:none; padding:9px 11px; font:inherit; color:var(--ink); cursor:pointer; }
      .annsegpick b { font-size:13.5px; }
      .annsegpick span { font-size:12px; color:var(--dim); line-height:1.4; }
      .annsegacts { display:flex; align-items:center; gap:2px; padding-right:6px; }
      .annsegacts button { border:none; background:none; font:inherit; font-size:12px; font-weight:700; color:var(--dim);
        padding:6px 7px; cursor:pointer; border-radius:6px; }
      .annsegacts button:hover { color:var(--ink); }
      .annsegacts .annsegdel { color:var(--red); }
      .anneditor { display:flex; flex-direction:column; gap:10px; padding-top:12px; border-top:1px solid var(--line); }
      .anneditor > .hint { margin:0; }
      .annsegmeta { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:12px 20px; }
      .annsegmeta .field { width:auto; min-width:0; margin:0; }
      .annsegmeta input { width:100%; box-sizing:border-box; }
      .annsegfoot { display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
      .annrow { display:flex; flex-direction:column; gap:6px; margin-bottom:12px; min-width:0; }
      .annrow .annmatch { margin:2px 0 0; }
      .anngrid { display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:14px 22px; }
      .anncompose { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px 20px; }
      .anncompose .field, .annfoot .field { width:auto; min-width:0; margin:0; }
      .anncompose input, .anncompose textarea, .annpath input { width:100%; box-sizing:border-box; }
      .anncompose textarea { resize:vertical; }
      .annfoot { display:flex; align-items:flex-end; gap:12px 24px; flex-wrap:wrap; margin-top:12px; }
      .annpath { flex:0 1 220px; }
      .annouts { display:flex; gap:8px 20px; flex-wrap:wrap; padding-bottom:9px; }
      .annrow .hint { margin:0; }
      .annlbl, .annglbl { font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--dim); }
      .anngroups { display:flex; flex-direction:column; gap:10px; padding:12px; margin-bottom:12px; border-radius:12px;
        background:color-mix(in srgb, var(--primary) 5%, var(--surface)); box-shadow:0 0 0 1px var(--line); }
      .anngroups > .hint { margin:0; }
      .anngroup { display:flex; flex-direction:column; gap:5px; }
      .annchips { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
      .annchip { font:inherit; font-size:12.5px; padding:5px 11px; border-radius:999px; cursor:pointer;
        border:1px solid var(--line); background:var(--surface); color:var(--ink); }
      .annchip.on { background:var(--primary); border-color:var(--primary); color:var(--on-primary); font-weight:700; }
      .annwin, .anncode { font:inherit; font-size:12.5px; padding:5px 9px; border-radius:8px; border:1px solid var(--line); background:var(--surface); color:var(--ink); }
      .anncode { width:220px; max-width:100%; text-transform:uppercase; }
      .annmatch { margin:0 0 12px; font-size:13px; font-weight:700; color:var(--ink); }
      @media (max-width:820px) { .annwin, .anncode { font-size:16px; } }
      .annsend { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; margin-left:auto; }
      .annsend .hint { flex:1 1 220px; margin:0; }
      @media (max-width:820px) {
        .anncompose, .annsegmeta, .annsaved { grid-template-columns:minmax(0,1fr); }
        .anngrid { grid-template-columns:minmax(0,1fr); }
        .annpath { flex:1 1 100%; }
        .annsend { width:100%; }
      }


  /* Zemin --sel-bg: beyaz yaziyla en az 4.5 (koyu modda ana renk acik ve beyaz yazi zayifti). */
  .shinebtn { --btnbase:var(--sel-bg, var(--primary)); --btnpop:var(--pop); position:relative; display:inline-flex; align-items:center; gap:8px; height:44px; padding:0 24px;
    border:0; border-radius:999px; cursor:pointer; font:inherit; font-size:15px; font-weight:800; letter-spacing:.01em;
    color:#fff; text-shadow:0 1px 1px rgba(0,0,0,.18);
    background:linear-gradient(100deg, var(--btnbase) 0%, var(--btnbase) 12%, var(--btnpop) 96%);
    box-shadow:0 1px 0 rgba(255,255,255,.25) inset, 0 4px 14px color-mix(in srgb, var(--pop) 22%, transparent);
    transition:transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease; -webkit-appearance:none; appearance:none; }
  /* Koyu modda pop acik (beyaz yazi zayif): Gelir kaydiricisindaki gibi koyulastiriliyor. */
  .app.dark .shinebtn { --btnpop:color-mix(in oklch, var(--pop) 72%, #000); }
  .shinebtn:focus-visible { outline:2px solid var(--pop); outline-offset:3px; }
  .shineclip { position:absolute; inset:0; border-radius:inherit; overflow:hidden; pointer-events:none; }
  .shinebtn.fluid { background:var(--btnbase); }
  .shinefluid { position:absolute; inset:-60% -30%; pointer-events:none;
    background:
      radial-gradient(46% 62% at 72% 48%, var(--btnpop) 0%, color-mix(in srgb, var(--btnpop) 0%, transparent) 70%),
      radial-gradient(40% 56% at 44% 66%, color-mix(in srgb, var(--btnpop) 75%, var(--btnbase)) 0%, color-mix(in srgb, var(--btnpop) 0%, transparent) 70%),
      radial-gradient(30% 44% at 20% 34%, color-mix(in srgb, var(--btnbase) 80%, #fff) 0%, color-mix(in srgb, var(--btnbase) 0%, transparent) 70%);
    transform:translate(0,0) rotate(0deg); animation:shineflow 3.2s ease-in-out infinite alternate; }
  .shinelbl { position:relative; }
  .shinestar { position:absolute; width:14px; height:14px; pointer-events:none;
    fill:color-mix(in oklch, var(--pop) 65%, #fff);
    opacity:0; transform:scale(0) rotate(0deg); filter:drop-shadow(0 0 3px color-mix(in srgb, var(--pop) 60%, transparent)); }
  .shinestar.s1 { left:12px; bottom:-12px; fill:color-mix(in oklch, var(--primary) 65%, #fff);
    filter:drop-shadow(0 0 3px color-mix(in srgb, var(--primary) 60%, transparent)); }
  .shinestar.s2 { left:-6px; top:-8px; width:11px; height:11px; fill:color-mix(in oklch, var(--primary) 65%, #fff);
    filter:drop-shadow(0 0 3px color-mix(in srgb, var(--primary) 60%, transparent)); }
  .shinestar.s3 { right:2px; top:-12px; width:16px; height:16px; }
  .shinestar.s4 { right:-10px; bottom:-6px; width:12px; height:12px; }
  @media (hover:hover) {
    .shinebtn:hover { transform:scale(1.015);
      box-shadow:0 1px 0 rgba(255,255,255,.3) inset, 0 0 0 3px color-mix(in srgb, var(--pop) 22%, transparent),
        0 8px 26px color-mix(in srgb, var(--pop) 45%, transparent), 0 0 18px color-mix(in srgb, var(--primary) 30%, transparent); }
    .shinebtn:hover .shinestar.s1 { animation:shinetw .9s ease-out .25s both; }
    .shinebtn:hover .shinestar.s2 { animation:shinetw .8s ease-out .15s both; }
    .shinebtn:hover .shinestar.s3 { animation:shinetw 1s ease-out .4s both; }
    .shinebtn:hover .shinestar.s4 { animation:shinetw .85s ease-out .55s both; }
  }
  .shinebtn:active { transform:scale(.97); }
  @keyframes shineflow { 0% { transform:translate(0,0) rotate(0deg); } 50% { transform:translate(-9%,6%) rotate(8deg); }
    100% { transform:translate(7%,-5%) rotate(-6deg); } }
  @keyframes shinetw { 0% { opacity:0; transform:scale(0) rotate(0deg); }
    45% { opacity:1; transform:scale(1.15) rotate(45deg); } 100% { opacity:0; transform:scale(.5) rotate(90deg); } }
  @media (prefers-reduced-motion:reduce) {
    .shinebtn, .shinebtn:hover { transition:box-shadow .2s ease; transform:none; }
    .shinebtn:hover .shinestar, .shinefluid { animation:none; }
  }


      .lpwho { max-width:1180px; margin:0 auto; width:100%; padding:16px 24px 72px; }
      .lpwho .lpwho-h { text-align:center; margin:0 0 28px; }
      .lpwho .lpcue { max-width:660px; margin:-10px auto 34px; text-align:center; }
      .lpwho .lpcue p { margin:0 0 14px; font-size:18px; line-height:1.6; font-weight:500; color:#E3EEE9; text-wrap:balance; }
      .lpwho .lpcue p:last-child { margin-bottom:0; }
      .lpwho-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:22px; }
      .lpwho-card { background:rgba(255,255,255,.035); border:1px solid rgba(163,230,53,.14); border-radius:16px; padding:16px 18px 24px; }
      .lpwho-art { background:#F6F1E6; border-radius:12px; margin-bottom:16px; aspect-ratio:22 / 15; display:flex; align-items:flex-end; justify-content:center; overflow:hidden; }
      .lpwho-art svg { width:100%; height:auto; display:block; }
      .lpstart { max-width:1180px; margin:0 auto; width:100%; padding:8px 24px 72px; display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:48px; align-items:center; }
      .lpsm .lpsm-h { margin:0 0 10px; text-align:left; }
      .lpsm .lpsm-copy { font-size:15px; max-width:46ch; margin:0 0 22px; }
      .lpsm-win { position:relative; background:#FBFAF6; border-radius:16px; box-shadow:0 18px 50px rgba(0,0,0,.35); overflow:hidden; color:#1B2420; font-size:13px; }
      .lpsm-bar { display:flex; gap:6px; padding:10px 12px; background:#EFEBE1; }
      .lpsm-bar i { width:9px; height:9px; border-radius:50%; background:#D3CCBC; }
      .lpsm-pane { position:relative; height:270px; padding:16px 18px; box-sizing:border-box; display:flex; flex-direction:column; gap:9px; overflow:hidden; }
      .lpsm-lbl { font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#5C6B66; }
      .lpsm-input { height:38px; border:1.5px solid #12B981; box-shadow:0 0 0 3px rgba(18,185,129,.16); border-radius:9px; background:#fff; display:flex; align-items:center; padding:0 12px; font-weight:700; font-size:15px; transition:border-color .3s, box-shadow .3s; }
      .lpsm-input.set { border-color:#E6E1D4; box-shadow:none; }
      .lpsm-input.sm { height:34px; font-size:13.5px; }
      .lpsm-input { white-space:nowrap; overflow:hidden; min-width:0; }
      .lpsm-caret { display:inline-block; width:2px; height:18px; background:#1B2420; margin-left:2px; animation:lpsmblink 1s steps(1) infinite; }
      .lpsm-wsact { display:flex; align-items:center; gap:14px; margin-top:4px; }
      .lpsm-wsform { display:flex; flex-direction:column; gap:8px; min-width:0; }
      .lpsm-wsgrid { display:grid; grid-template-columns:minmax(0,1fr) 196px; gap:18px; align-items:start; }
      .lpsm-seat.small { min-height:0; padding-bottom:9px; }
      .lpsm-seat.small .lpsm-seatband { height:34px; }
      .lpsm-seat.small .lpsm-seatav { margin-top:10px; width:48px; height:48px; }
      .lpsm-seat.small .lpsm-seatname { font-size:12.5px; margin-top:4px; }
      .lpsm-seat.small .lpsm-seatsub { font-size:10.5px; }
      .lpsm-seat.small .lpsm-invite { margin-top:6px; padding:6px 0; font-size:11px; }
      .lpsm-cta { margin-top:auto; align-self:flex-start; display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-weight:800; font-size:14px; color:#0B5A40;
        background:#D1FAE5; border:1px solid #9FE3C4; padding:9px 14px; border-radius:12px; box-shadow:0 4px 14px rgba(18,185,129,.18); }
      .lpsm-cta svg { display:inline-block; vertical-align:middle; }
      .lpsm-tagline { margin-top:auto; padding:12px 4px 2px; text-align:center; font-size:19px; line-height:1.25; font-weight:800; letter-spacing:-.3px; color:#0B5A40; }
      /* Vurgu bandi yazinin altinda, 10px yuksekliginde ve sagdan biraz
         tasiyor; satir satir (clone), yani iki satira kirilinca ikisinin de
         altinda. Saga gidis yaziyla birlikte. */
      .lpsm-mark { padding:0 8px 0 2px; -webkit-box-decoration-break:clone; box-decoration-break:clone;
        background:linear-gradient(rgba(163,230,53,.6), rgba(163,230,53,.6)) no-repeat left bottom 1px / 0% 10px; animation:lpsmmark .55s cubic-bezier(.4,0,.2,1) .15s forwards; }
      .lpsm-tagline.leave { animation:lpsmleave .45s cubic-bezier(.4,0,1,1) both; }
      /* Landing'in "Start free" dugmesinin kucuk hali (.probtn renkleri). */
      .lpsm-startmini { align-self:flex-start; padding:7px 14px; border-radius:9px; font-weight:800; font-size:12.5px; color:#fff; border:1px solid #0B8A5E;
        background:linear-gradient(180deg,#2DD4A0 0%,#12B981 55%,#0E9F6E 100%);
        box-shadow:inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.18), 0 4px 14px rgba(18,185,129,.35);
        transition:transform .15s; margin-bottom:4px; }
      .lpsm-startmini.press { transform:scale(.92); background:linear-gradient(0deg,#2DD4A0 0%,#12B981 55%,#0E9F6E 100%); }
      .lpsm-btn { display:inline-flex; align-items:center; gap:8px; }
      .lpsm-spin { width:12px; height:12px; border-radius:50%; border:2px solid rgba(255,255,255,.4); border-top-color:#fff; animation:lpsmspin .6s linear infinite; }
      .lpsm-client { display:flex; align-items:baseline; gap:5px; min-width:0; }
      .lpsm-client i { font-style:normal; font-size:11.5px; color:#5C6B66; font-weight:700; white-space:nowrap; }
      .lpsm-stack { position:relative; height:136px; }
      /* Yer "top" ile, inis "transform" ile: ikisi ayni ozellikte olunca
         yeni satirin inisi bitince kayma ayni degerden tekrar basliyor ve
         eski satirlar bir an ust uste biniyordu. */
      .lpsm-stackrow { position:absolute; left:0; right:0; transition:top .8s cubic-bezier(.3,.7,.3,1); }
      .lpsm-stackrow.fresh { animation:lpsmdrop .45s ease both; }
      .lpsm .lpsm-free { color:#12B981; font-weight:800; }
      .lpsm-btn { padding:9px 18px; border-radius:9px; background:#CFE9DD; color:#0B5A40; font-weight:800; transition:background .3s, color .3s, transform .15s; }
      .lpsm-btn.press { transform:scale(.94); background:#12B981; color:#fff; }
      .lpsm-btn.ok { background:#12B981; color:#fff; }
      .lpsm-tick { position:relative; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:#12B981; animation:qnpop .45s ease-out; }
      .lpsm-tick svg { width:20px; height:20px; fill:none; stroke:#fff; stroke-width:2.8; stroke-linecap:round; stroke-linejoin:round; overflow:visible; }
      .lpsm-tick svg path { stroke-dasharray:1; animation:qntick .5s cubic-bezier(.6,0,.3,1) .1s both; }
      .lpsm-burst { position:absolute; left:50%; top:50%; width:0; height:0; pointer-events:none; }
      .lpsm-burst i { position:absolute; left:-2.5px; top:-2.5px; width:5px; height:5px; border-radius:50%; background:#12B981;
        opacity:0; animation:qnspark .6s cubic-bezier(.2,.7,.3,1) .35s both; }
      .lpsm-burst i:nth-child(odd) { background:#A3E635; width:4px; height:4px; }
      .lpsm-form { display:grid; grid-template-columns:minmax(0,1fr) 108px auto; gap:8px; align-items:end; margin-bottom:4px; }
      .lpsm-f { display:flex; flex-direction:column; gap:4px; min-width:0; }
      .lpsm-addbtn { height:34px; display:flex; align-items:center; padding:0 12px; border-radius:9px; background:#12B981; color:#fff; font-weight:800; transition:transform .15s; }
      .lpsm-addbtn.press { transform:scale(.92); }
      .lpsm-row { display:flex; justify-content:space-between; padding:8px 11px; background:#fff; border:1px solid #E6E1D4; border-radius:9px; }
      .lpsm-row b { font-variant-numeric:tabular-nums; }
      .lpsm-doc { background:#fff; border:1px solid #E6E1D4; border-radius:11px; padding:10px; display:flex; flex-direction:column; gap:6px; }
      .lpsm-doc .lpsm-row { border:0; padding:4px 2px; background:none; }
      .lpsm-dochd { display:flex; justify-content:space-between; align-items:center; gap:10px; min-height:34px; padding:0 2px 6px; border-bottom:1px solid #EFEBE1; }
      .lpsm-states { position:relative; width:80px; height:26px; flex:0 0 auto; }
      /* Mini HesaFlex'in icinde dar: durum haplari sola kayarken musteri
         adinin ustune biniyordu (1280'de olculdu). Kendi satirinda. */
      .lpsm-inapp .lpsm-dochd { flex-wrap:wrap; row-gap:8px; }
      .lpsm-inapp .lpsm-states { width:100%; }
      .lpsm-pill { position:absolute; right:0; top:0; width:80px; height:26px; transition:transform .45s cubic-bezier(.34,1.3,.64,1), opacity .4s; }
      .lpsm-pillin { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:11.5px; font-weight:800; border-radius:99px;
        animation:lpsmpop .45s cubic-bezier(.34,1.56,.64,1) both; }
      .lpsm-pill.past { opacity:.5; }
      .lpsm-pillin.draft { background:#EFEBE1; color:#5C6B66; }
      .lpsm-pillin.sent { background:#FDECD9; color:#9A4A12; }
      .lpsm-pillin.ok { background:#D1FAE5; color:#0B5A40; }
      .lpsm-pill .lpsm-burst i { animation-delay:.1s; }
      .lpsm-total { border-top:1px dashed #E6E1D4 !important; padding-top:8px !important; font-weight:800; transition:color .4s; }
      .lpsm-total span, .lpsm-total b { display:inline-block; transition:transform .4s cubic-bezier(.34,1.56,.64,1); }
      .lpsm-total span { transform-origin:left center; }
      .lpsm-total b { transform-origin:right center; }
      .lpsm-total.won { color:#0B8A5E; }
      .lpsm-total.won span, .lpsm-total.won b { transform:scale(1.18); }
      .lpsm-team { justify-content:center; }
      .lpsm-seats { position:relative; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; }
      .lpsm-bust .b-bg { fill:#FDE3CC; }
      .lpsm-bust .b-body { fill:#12B981; }
      .lpsm-bust .b-face { fill:#FFE9D6; }
      .lpsm-bust .b-hair { fill:#7A3E12; }
      .lpsm-seat.s1 .lpsm-bust .b-body { fill:#F97316; }
      .lpsm-seat.s1 .lpsm-bust .b-bg { fill:#DDF5EA; }
      .lpsm-seat.s2 .lpsm-bust .b-body { fill:#0891B2; }
      .lpsm-seat.s2 .lpsm-bust .b-hair { fill:#2B2118; }
      .lpsm-seat { position:relative; min-width:0; min-height:214px; box-sizing:border-box; border:1.5px dashed #E8D9C8; border-radius:14px; padding:0 10px 12px; text-align:center;
        display:flex; flex-direction:column; align-items:center; gap:3px; background:#fff; transition:border-color .4s; }
      .lpsm-seat.filled { border-style:solid; border-color:#12B981; }
      .lpsm-seatband { position:absolute; left:0; right:0; top:0; height:46px; background:#FCEFE2; border-radius:12px 12px 0 0; }
      .lpsm-seatav { position:relative; margin-top:16px; width:64px; height:64px; border-radius:50%; border:3px solid #D1D5DB; background:#fff; overflow:hidden; transition:border-color .5s; }
      .lpsm-seatav .lpsm-bust { width:100%; height:100%; display:block; filter:grayscale(1); opacity:.55; transition:filter .7s, opacity .7s; }
      .lpsm-seat.filled .lpsm-seatav { border-color:#12B981; animation:qnpop .5s ease-out; }
      .lpsm-seat.filled .lpsm-seatav .lpsm-bust { filter:none; opacity:1; }
      .lpsm-seatname { font-size:14px; margin-top:6px; }
      .lpsm-seatsub { font-size:11.5px; color:#5C6B66; min-height:15px; }
      .lpsm-invite { position:relative; margin-top:auto; width:100%; padding:9px 0; border-radius:10px; background:#F97316; color:#fff; font-weight:800; font-size:12.5px; transition:transform .15s, background .4s; }
      .lpsm-invite.press { transform:scale(.93); }
      .lpsm-invite.ok { background:#12B981; }
      .lpsm-joined { display:inline-block; animation:lpsmpop .45s cubic-bezier(.34,1.56,.64,1) both; }
      .lpsm-invite .lpsm-burst i { animation-delay:.1s; }
      .lpsm-app { flex:1; min-height:0; display:grid; grid-template-columns:104px minmax(0,1fr); border:1px solid #E6E1D4; border-radius:12px; overflow:hidden; background:#fff; }
      .lpsm-side { background:#F3F0E7; border-right:1px solid #E6E1D4; padding:10px 8px; display:flex; flex-direction:column; gap:4px; }
      .lpsm-sidelogo { margin:0 0 8px 4px; }
      .lpsm-sidemark { display:none; }
      .lpsm-nav { display:flex; align-items:center; gap:6px; padding:5px 6px; border-radius:7px; font-size:11px; font-weight:700; color:#5C6B66; }
      .lpsm-nav em { font-style:normal; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .lpsm-nav i { flex:0 0 auto; width:9px; height:9px; border-radius:3px; background:#D6D0C2; }
      .lpsm-nav.on { background:#D1FAE5; color:#0B5A40; }
      .lpsm-nav.on i { background:#12B981; }
      .lpsm-main { padding:10px 10px 8px; display:flex; flex-direction:column; gap:8px; min-width:0; }
      .lpsm-maint { font-size:13px; }
      .lpsm-app .lpsm-seats { gap:8px; flex:1; }
      .lpsm-app .lpsm-seat { min-height:0; padding:0 6px 8px; }
      .lpsm-app .lpsm-seatband { height:34px; }
      .lpsm-app .lpsm-seatav { margin-top:10px; width:50px; height:50px; }
      .lpsm-app .lpsm-seatname { font-size:12.5px; margin-top:4px; }
      .lpsm-app .lpsm-seatsub { font-size:10.5px; }
      .lpsm-app .lpsm-invite { padding:7px 0; font-size:11.5px; }
      .lpsm-cursor { position:absolute; bottom:4px; width:22px; height:22px; pointer-events:none; z-index:2; transition:left .45s cubic-bezier(.4,0,.2,1), transform .12s;
        filter:drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
      .lpsm-cursor.press { transform:scale(.82); }
      .lpsm-unlimited { display:flex; align-items:center; gap:10px; height:56px; padding:0 14px; margin-bottom:4px; border-radius:11px; background:#E7F8EF; color:#0B5A40; font-weight:800; font-size:14.5px; }
      .lpsm-unlimited b { font-size:24px; line-height:1; color:#12B981; }
      .lpsm-out { animation:lpsmfade .3s ease both; }
      .lpsm-big { font-size:30px; font-weight:800; letter-spacing:-.5px; font-variant-numeric:tabular-nums; }
      .lpsm-bump { display:inline-block; transform-origin:left center; animation:lpsmbump .45s cubic-bezier(.34,1.56,.64,1); }
      @keyframes lpsmbump { 0% { transform:scale(1.12); color:#0B8A5E; } 100% { transform:none; } }
      .lpsm-bars { flex:1; display:flex; align-items:stretch; gap:8px; min-height:0; }
      .lpsm-barcol { flex:1; display:flex; align-items:flex-end; min-width:0; }
      .lpsm-barfill { width:100%; overflow:hidden; background:#12B981; color:#fff; border-radius:8px 8px 3px 3px; display:flex; flex-direction:column; justify-content:space-between; padding:7px 8px; box-sizing:border-box;
        transition:height .6s cubic-bezier(.34,1.4,.64,1); }
      /* Yukseklik tutarla orantili, ama bir tabanin ustunde: telefonda dikey
         yazilan hizmet adi en kisa cubuga da sigmali. */
      .lpsm-barfill { --floor:52%; height:calc(var(--floor) + (100% - var(--floor)) * var(--r)); padding:6px 6px; }
      .lpsm-barfill { justify-content:flex-start; gap:6px; align-items:center; text-align:center; }
      .lpsm-barfill b { font-size:11px; font-variant-numeric:tabular-nums; white-space:nowrap; }
      /* Ad dikey, asagidan yukari okunuyor, bir ya da iki satir: dikey yazida
         satir genisligi cubugun yuksekligi, sigmayan ikinci satira geciyor. */
      .lpsm-barfill span { flex:1; min-height:0; writing-mode:vertical-rl; transform:rotate(180deg); font-size:10.5px; font-weight:700; line-height:1.15;
        white-space:normal; overflow:hidden; opacity:0; text-align:center; font-size:10px; }
      .lpsm-barfill.up span { animation:lpsmname .5s ease .45s both; }
      .lpsm-barcol:nth-child(1) .lpsm-barfill { background:#F59E0B; }
      .lpsm-barcol:nth-child(2) .lpsm-barfill { background:#F97316; }
      .lpsm-barcol:nth-child(3) .lpsm-barfill { background:#0EA5A0; }
      .lpsm-barcol:nth-child(4) .lpsm-barfill { background:#0891B2; }
      .lpsm-barcol:nth-child(5) .lpsm-barfill { background:#10B981; }
      .lpsm-barcol:nth-child(6) .lpsm-barfill { background:#0B8A5E; }
      .lpsm-prog { height:3px; background:#EFEBE1; }
      .lpsm-prog span { display:block; height:100%; background:#12B981; transform-origin:left; transition:transform .1s linear; }
      .lpsm-in { animation:lpsmin .35s ease both; }
      .lpsm-steps { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
      .lpsm-steps button { font:inherit; font-size:13.5px; font-weight:700; display:flex; align-items:center; gap:9px; padding:7px 14px 7px 7px; border-radius:99px; cursor:pointer;
        background:rgba(255,255,255,.05); border:1px solid rgba(163,230,53,.18); color:#9FB3AD; transition:background .25s, color .25s, border-color .25s; }
      .lpsm-steps button b { width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:11.5px; background:rgba(255,255,255,.08); color:#D7E4DF; }
      .lpsm-steps button.on { background:rgba(163,230,53,.14); border-color:#A3E635; color:#F2F8F5; }
      .lpsm-steps button.on b { background:#A3E635; color:#0E211B; }
      .lpq { max-width:1180px; margin:0 auto; width:100%; padding:8px 24px 72px; box-sizing:border-box; }
      .lpq-hd { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:22px; }
      .lpq .lpq-h { margin:0; text-align:left; }
      .lpq-arrows { display:flex; gap:8px; }
      .lpq-arrows button { width:40px; height:40px; padding:0; appearance:none; -webkit-appearance:none; border-radius:50%; border:1px solid rgba(163,230,53,.3); background:rgba(255,255,255,.05); color:#F2F8F5; font-size:22px; line-height:1; cursor:pointer; }
      .lpq-arrows button:hover { background:rgba(163,230,53,.16); border-color:#A3E635; }
      .lpq-track { display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:4px 2px 8px; }
      .lpq-track::-webkit-scrollbar { display:none; }
      .lpq-card { flex:0 0 calc((100% - 36px) / 3); scroll-snap-align:start; margin:0; box-sizing:border-box; background:#FBFAF6; color:#1B2420; border-radius:16px; padding:20px 20px 18px;
        display:flex; flex-direction:column; gap:14px; }
      .lpq-card blockquote { margin:0; flex:1; font-size:14.5px; line-height:1.6; }
      .lpq-card blockquote::before { content:"“"; display:block; font-size:40px; line-height:.6; color:#12B981; font-weight:800; margin-bottom:6px; }
      .lpq-fav { display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#5C6B66; }
      .lpq-fav b { white-space:nowrap; letter-spacing:0; text-transform:none; font-size:12px; color:#0B5A40; background:#D1FAE5; padding:2px 9px; border-radius:99px; }
      .lpq-card figcaption { display:flex; align-items:center; gap:10px; padding-top:12px; border-top:1px solid #EFEBE1; }
      .lpq-card figcaption span { display:flex; flex-direction:column; min-width:0; }
      .lpq-card figcaption b { font-size:13.5px; }
      .lpq-card figcaption i { font-style:normal; font-size:12px; color:#5C6B66; }
      @keyframes lpsmin { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
      @keyframes lpsmpop { from { opacity:0; transform:scale(.4); } to { opacity:1; transform:none; } }
      @keyframes lpsmblink { 50% { opacity:0; } }
      @keyframes lpsmspin { to { transform:rotate(360deg); } }
      @keyframes lpsmdrop { from { opacity:0; transform:translateY(-14px); } to { opacity:1; transform:translateY(0); } }
      @keyframes lpsmname { from { opacity:0; transform:rotate(180deg) translateY(-14px); } to { opacity:.95; transform:rotate(180deg) translateY(0); } }
      @keyframes lpsmmark { to { background-size:100% 10px; } }
      @keyframes lpsmleave { to { opacity:0; transform:translateX(60px); } }
      @keyframes lpsmfade { to { opacity:0; transform:translateY(-6px); } }
      @media (prefers-reduced-motion:reduce) {
        .lpsm-in, .lpsm-bump, .lpsm-pillin, .lpsm-caret, .lpsm-tick, .lpsm-tick svg path, .lpsm-burst i, .lpsm-joined, .lpsm-seatav, .lpsm-out, .lpsm-tagline.leave { animation:none; }
        .lpsm-mark { animation:none; background-size:100% 10px; }
        .lpsm-burst { display:none; }
        .lpsm-barfill, .lpsm-prog span, .lpsm-pill, .lpsm-total { transition:none; }
      }
      .lpfaq { max-width:1180px; margin:0 auto; width:100%; padding:8px 24px 72px; box-sizing:border-box; }
      .lpfaq .lpfaq-h { text-align:center; margin:0 0 28px; }
      .lpfaq-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:0 28px; align-items:start; }
      .lpfaq-group { margin:0 0 26px; }
      .lpfaq-gh { margin:0 0 8px; font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#A3E635; }
      .lpfaq-item { border-bottom:1px solid rgba(163,230,53,.14); }
      .lpfaq-item summary { list-style:none; cursor:pointer; display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
        padding:13px 2px; font-size:15px; font-weight:700; line-height:1.4; color:#F2F8F5; }
      .lpfaq-item summary::-webkit-details-marker { display:none; }
      .lpfaq-item summary::after { content:"+"; flex:0 0 auto; width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center;
        font-size:16px; line-height:1; color:#0E211B; background:rgba(163,230,53,.85); transition:transform .25s; }
      .lpfaq-item[open] summary::after { transform:rotate(45deg); }
      .lpfaq-item summary:hover { color:#fff; }
      .lpfaq-item summary:focus-visible { outline:2px solid #A3E635; outline-offset:2px; border-radius:6px; }
      .lpfaq-item p { margin:0 0 14px; padding:0 36px 0 2px; font-size:14px; line-height:1.6; color:#B8CBC4; }
      @media (prefers-reduced-motion:reduce) { .lpfaq-item summary::after { transition:none; } }
      @media (max-width:980px) { .lpq-card { flex-basis:calc((100% - 18px) / 2); } }
      @media (max-width:820px) {
        .lpwho { padding:0 16px 40px; }
        .lpwho .lpcue { margin:-14px auto 24px; }
        .lpwho .lpcue p { font-size:16px; }
        .lpwho-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
        .lpstart { grid-template-columns:minmax(0,1fr); gap:24px; padding:0 16px 40px; }
        .lpsm-steps { flex-direction:row; flex-wrap:wrap; }
        .lpsm-steps button { font-size:12.5px; }
        .lpsm-pane { padding:14px 12px; }
        .lpsm-seats { gap:6px; }
        .lpsm-wsgrid { grid-template-columns:minmax(0,1fr) 128px; gap:10px; }
        .lpsm-wsact { gap:8px; }
        .lpsm-wsact .lpsm-btn { padding:8px 12px; font-size:12px; }
        .lpsm-wsact .lpsm-tick { flex:0 0 auto; width:28px; height:28px; }
        .lpsm-app { grid-template-columns:38px minmax(0,1fr); }
        .lpsm-side { padding:8px 6px; align-items:center; }
        .lpsm-sidelogo, .lpsm-nav em { display:none; }
        .lpsm-sidemark { display:block; margin-bottom:6px; }
        .lpsm-nav { padding:6px; }
        .lpsm-main { padding:8px 6px; }
        .lpsm-app .lpsm-seats { gap:5px; }
        .lpsm-app .lpsm-seat { padding:0 3px 6px; }
        .lpsm-app .lpsm-seatav { width:40px; height:40px; }
        .lpsm-app .lpsm-seatname { font-size:11.5px; }
        .lpsm-app .lpsm-seatsub { font-size:9.5px; }
        .lpsm-app .lpsm-invite { font-size:10px; padding:6px 0; }
        /* Telefonda blogun tam genisliginde, owner kartinin altini da dolduruyor
           (kullanici, 2026-10-19). */
        .lpsm-cta { font-size:12.5px; align-self:stretch; justify-content:center; text-align:center; }
        .lpsm-tagline { font-size:15px; padding-top:8px; }
        .lpsm-pane { height:296px; }
        .lpsm-seat { padding:0 5px 8px; min-height:196px; }
        .lpsm-seatav { width:50px; height:50px; }
        .lpsm-seatname { font-size:12.5px; }
        .lpsm-seatsub { font-size:10px; }
        .lpsm-invite { font-size:11px; padding:8px 0; }
        .lpsm-unlimited { font-size:13px; }
        .lpsm-bars { gap:4px; }
        .lpsm-barfill { --floor:62%; padding:5px 3px; align-items:center; }
        .lpsm-barfill b { font-size:8.5px; letter-spacing:-.2px; }
        .lpsm-barfill span { font-size:9px; }
        .lpsm-form { grid-template-columns:minmax(0,1fr) 84px auto; gap:6px; }
        .lpsm-dochd { flex-wrap:wrap; row-gap:8px; }
        .lpsm-states { width:100%; }
        .lpq { padding:0 16px 40px; }
        .lpq-card { flex-basis:86%; }
        .lpfaq { padding:0 16px 40px; }
        .lpfaq-grid { grid-template-columns:minmax(0,1fr); }
        .lpfaq-item summary { font-size:14.5px; }
        .lpfaq-item p { padding-right:4px; }
      }


  .lp-compare { max-width:1180px; width:100%; margin:0 auto; padding:0 24px 72px; }
  @media (max-width:820px) { .lp-compare { padding:0 16px 40px; } }
  .lpcmp { container-type:inline-size; width:100%; color:#F2F8F5; }
  .lpcmp-head { text-align:center; margin:0 auto 22px; max-width:560px; }
  .lpcmp-head h3 { margin:0; font-size:clamp(22px, 3vw, 30px); line-height:1.15; font-weight:800; letter-spacing:-.4px; color:#F2F8F5; }
  .lpcmp-head p { margin:8px 0 0; font-size:14px; line-height:1.6; color:#9FB3AD; }
  .lpcmp-tbl { background:#FFFFFF; color:#0E211B; border-radius:22px; overflow:hidden; box-shadow:0 20px 50px rgba(0,0,0,.28); text-align:left; }
  .lpcmp-row { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr); align-items:stretch; border-top:1px solid #E3EAE6; }
  .lpcmp-row:first-child { border-top:0; }
  .lpcmp-cell { padding:15px 18px; font-size:14.5px; line-height:1.35; }
  .lpcmp-feat { display:flex; flex-direction:column; justify-content:center; }
  .lpcmp-val, .lpcmp-plan { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
  .lpcmp-feat b { display:block; font-weight:700; }
  .lpcmp-feat small { display:block; margin-top:3px; font-size:12.5px; color:#5C6B66; font-weight:500; }
  .lpcmp-val { font-weight:700; font-variant-numeric:tabular-nums; }
  .lpcmp-pro { background:linear-gradient(180deg, #EDF9F3, #E6F6EE); box-shadow:inset 1.5px 0 0 rgba(13,133,93,.35), inset -1.5px 0 0 rgba(13,133,93,.35); }
  .lpcmp-headrow .lpcmp-cell { padding-top:20px; padding-bottom:16px; }
  .lpcmp-plan h4 { margin:0; font-size:18px; font-weight:800; color:#0E211B; }
  .lpcmp-price { margin-top:6px; font-size:22px; font-weight:800; letter-spacing:-.3px; white-space:nowrap; }
  .lpcmp-price span { font-size:12.5px; font-weight:600; color:#5C6B66; margin-left:3px; letter-spacing:0; }
  .lpcmp-per { margin-top:3px; font-size:12px; font-weight:600; color:#5C6B66; }
  .lpcmp-tag { display:inline-block; margin-left:6px; padding:2px 8px; border-radius:999px; font-size:11px; font-weight:800; background:#0D855D; color:#fff; vertical-align:2px; }
  .lpcmp-ok { display:inline-grid; place-items:center; width:26px; height:26px; border-radius:50%; background:#0D855D; }
  .lpcmp-ok svg { width:15px; height:15px; fill:none; stroke:#fff; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
  .lpcmp-no { color:#94A39D; font-size:20px; font-weight:600; }
  .lpcmp-soft { font-size:12.5px; font-weight:600; color:#5C6B66; line-height:1.35; }
  .lpcmp-ctarow .lpcmp-cell { padding-top:18px; padding-bottom:20px; }
  .lpcmp-ctanote { display:none; }
  .lpcmp-btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 18px; border-radius:12px; font:800 14px 'Manrope',system-ui,sans-serif; border:1.5px solid #E3EAE6; background:#fff; color:#0E211B; cursor:pointer; width:100%; max-width:200px; }
  .lpcmp-btn.probtn { border:0; }
  .lpcmp-tipnum { position:relative; cursor:help; text-decoration:underline dotted rgba(14,33,27,.55); text-decoration-thickness:1.5px; text-underline-offset:4px; outline:none; border-radius:4px; }
  .lpcmp-tipnum:focus-visible { box-shadow:0 0 0 2px #0D855D; }
  .lpcmp-numtip { position:absolute; bottom:calc(100% + 8px); left:50%; transform:translate(-50%, 3px); white-space:nowrap; padding:5px 10px; border-radius:8px;
    background:#0E211B; color:#fff; font-size:12px; font-weight:700; line-height:1.3; pointer-events:none; opacity:0; transition:opacity .12s, transform .12s; z-index:2; }
  .lpcmp-numtip::after { content:""; position:absolute; top:100%; left:50%; margin-left:-5px; border:5px solid transparent; border-top-color:#0E211B; }
  .lpcmp-tipnum:hover .lpcmp-numtip, .lpcmp-tipnum:focus .lpcmp-numtip { opacity:1; transform:translate(-50%, 0); }
  .lpcmp-both { margin-top:26px; }
  .lpcmp-both h4 { margin:0 0 16px; text-align:center; font-size:16px; font-weight:800; color:#F2F8F5; }
  .lpcmp-groups { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; isolation:isolate; text-align:left; }
  .lpcmp-grp { position:relative; border:1px solid #23463F; border-radius:16px; padding:14px 16px; background:#103129;
    box-shadow:0 10px 22px -8px rgba(0,0,0,.75), 10px 12px 26px -14px rgba(163,230,53,.35); }
  /* Sag alt kosede kenar boyunca isik, kosede en parlak. */
  .lpcmp-grp::before { content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1.5px; pointer-events:none;
    background:radial-gradient(70% 85% at 100% 100%, rgba(190,242,100,.95), rgba(163,230,53,.35) 45%, transparent 70%);
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; }
  .lpcmp-gh { display:flex; align-items:center; gap:8px; width:100%; font:800 16px 'Manrope',system-ui,sans-serif; color:#F2F8F5; background:none; border:0; padding:0; text-align:left; }
  button.lpcmp-gh { min-height:28px; cursor:pointer; }
  .lpcmp-gh i { width:8px; height:8px; border-radius:50%; background:#A3E635; flex:none; }
  .lpcmp-chev { width:18px; height:18px; margin-left:auto; fill:none; stroke:#9FB3AD; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s; }
  .lpcmp-grp.open .lpcmp-chev { transform:rotate(180deg); }
  .lpcmp-grp ul { margin:8px 0 0; padding:0; list-style:none; }
  .lpcmp-grp li { position:relative; padding-left:15px; margin:5px 0 0; font-size:14px; line-height:1.45; color:#9FB3AD; }
  .lpcmp-grp li::before { content:""; position:absolute; left:2px; top:.6em; width:5px; height:5px; border-radius:50%; background:#3F5F57; }
  /* Genis bolumde dort grup tek sirada (1180px, oteki bloklarla ayni genislik). */
  @container (min-width:1000px) { .lpcmp-groups { grid-template-columns:repeat(4, minmax(0,1fr)); } }
  @container (max-width:560px) {
    .lpcmp-head p { font-size:13.5px; }
    .lpcmp-tbl { border-radius:20px; }
    .lpcmp-row { grid-template-columns:minmax(0,1fr) 90px 96px; }
    .lpcmp-cell { padding:12px 10px; font-size:13.5px; }
    .lpcmp-feat { padding-left:14px; }
    .lpcmp-feat small { font-size:11.5px; }
    .lpcmp-plan h4 { font-size:15px; }
    .lpcmp-price { font-size:16px; }
    .lpcmp-price span { margin-left:2px; font-size:11px; }
    .lpcmp-peryear { display:none; }
    .lpcmp-per { font-size:10.5px; line-height:1.3; }
    .lpcmp-tag { display:block; width:max-content; margin:4px auto 0; font-size:10px; }
    .lpcmp-ok { width:22px; height:22px; } .lpcmp-ok svg { width:13px; height:13px; }
    .lpcmp-ctarow { grid-template-columns:1fr 1fr; gap:10px; padding:14px 14px 16px; align-items:start; }
    .lpcmp-ctarow .lpcmp-cell { padding:0; }
    .lpcmp-ctarow .lpcmp-feat { display:none; }
    .lpcmp-tbl .lpcmp-ctarow > .lpcmp-pro { background:none; box-shadow:none; }
    .lpcmp-ctanote { display:block; margin-top:8px; font-size:min(12px, 3.15cqi); font-weight:800; color:#0E211B; text-align:center; white-space:nowrap; letter-spacing:-.1px; }
    .lpcmp-btn { max-width:none; font-size:13.5px; }
    .lpcmp-groups { grid-template-columns:1fr; gap:12px; }
    .lpcmp-soft { font-size:10.5px; line-height:1.25; }
  }
  @media (prefers-reduced-motion: reduce) { .lpcmp-chev, .lpcmp-numtip { transition:none; } }

      /* "Bildirimleri ac" kutusu (PushAsk). Modal degil; bir katman acikken gizli. */
      .pushask { position:fixed; z-index:58; top:76px; right:22px; width:min(400px, calc(100vw - 32px)); display:flex; gap:14px; align-items:flex-start;
        background:var(--surface); border:1px solid var(--line); border-radius:var(--r-panel); padding:16px 16px 14px; box-shadow:0 18px 44px rgba(14,33,27,.18), 0 2px 6px rgba(14,33,27,.08);
        animation:pushaskin .42s cubic-bezier(.34,1.3,.64,1) both; }
      .pushaskic { flex:none; width:40px; height:40px; border-radius:12px; display:grid; place-items:center; background:color-mix(in srgb, var(--primary) 14%, var(--surface)); color:var(--primary-ink); }
      .pushaskic svg { width:22px; height:22px; }
      .pushaskbody { display:flex; flex-direction:column; gap:4px; min-width:0; }
      .pushaskbody b { font-size:15px; }
      .pushaskbody > span { font-size:13px; color:var(--dim); line-height:1.45; }
      .pushaskacts { display:flex; justify-content:flex-end; align-items:center; gap:14px; margin-top:8px; }
      .pushaskno { appearance:none; border:none; background:none; padding:6px 2px; font:inherit; font-size:13px; font-weight:600; color:var(--dim); cursor:pointer; }
      .pushaskno:hover { color:var(--ink); }
      body:has(.overlay, .cdscrim, .srch, .mobscrim, .qnpeek, .qninbox) .pushask { display:none; }
      @keyframes pushaskin { from { opacity:0; transform:translateY(-10px) scale(.98); } to { opacity:1; transform:none; } }
      @media (prefers-reduced-motion:reduce) { .pushask { animation:none; } }
      /* Zilden konusma balonu (telefon). Kutu sabit, kuyruk --tail ile zilin ortasinda. */
      .bellnudge { position:fixed; z-index:58; right:10px; width:min(272px, calc(100vw - 20px)); display:flex; gap:10px; align-items:flex-start;
        background:var(--surface); border:1px solid var(--line); border-radius:var(--r-inner); padding:11px 12px; box-shadow:0 14px 34px rgba(14,33,27,.18), 0 2px 6px rgba(14,33,27,.08);
        transform-origin:calc(100% - var(--tail, 40px)) 0; animation:bnpop .4s cubic-bezier(.34,1.3,.64,1) both; }
      .bellnudge::before { content:""; position:absolute; top:-7px; right:calc(var(--tail, 40px) - 7px); width:12px; height:12px; background:var(--surface);
        border-left:1px solid var(--line); border-top:1px solid var(--line); transform:rotate(45deg); border-radius:2px 0 0 0; }
      .bnic { flex:none; width:30px; height:30px; border-radius:9px; display:grid; place-items:center; background:color-mix(in srgb, var(--primary) 14%, var(--surface)); color:var(--primary-ink); }
      .bnic svg { width:17px; height:17px; }
      .bnbody { display:flex; flex-direction:column; align-items:flex-start; gap:7px; min-width:0; padding-top:5px; }
      .bnbody b { font-size:14px; line-height:1.3; }
      .bnbtn { appearance:none; border:1px solid var(--line); background:var(--bg); color:var(--ink); border-radius:999px; padding:6px 12px; font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; }
      @keyframes bnpop { from { opacity:0; transform:translateY(-6px) scale(.94); } to { opacity:1; transform:none; } }
      body:has(.overlay, .cdscrim, .srch, .mobscrim, .qnpeek, .qninbox) .bellnudge { display:none; }
      /* Kaydetme seritleri (Gonderilmeyi bekliyor, baglanti yok, kaydedilmedi,
         plan uyarisi) bir pencere acikken onun ustunde duruyordu ve dugmelerini
         ortuyordu (kullanici, 2026-10-21). Pencere acikken boyanmiyorlar,
         kapaninca yerinde. Durum telefonun ust barinda da yaziyor. */
      body:has(.overlay, .cdscrim, .srch, .mobscrim, .qnpeek, .qninbox) .saveerr, body:has(.overlay, .cdscrim, .srch, .mobscrim, .qnpeek, .qninbox) .newver { display:none; }
      @media (min-width:821px) { .bellnudge { display:none; } }
      /* iPhone: Ana Ekran'a ekle. Ust barin altinda, tam genislik. */
      .notifrow { display:flex; align-items:center; justify-content:space-between; gap:12px; }
      .instapp { display:flex; align-items:center; gap:10px; margin:0 16px 12px 0; padding:8px 12px 8px 8px; max-width:340px; border-radius:12px; border:1px solid var(--line); background:var(--surface); color:var(--ink); text-align:left; font:inherit; }
      button.instapp { appearance:none; cursor:pointer; transition:border-color .15s, background .15s; }
      button.instapp:hover { border-color:var(--primary); background:color-mix(in srgb, var(--primary) 8%, var(--surface)); }
      .instappic { flex:none; width:32px; height:32px; border-radius:9px; display:grid; place-items:center; background:color-mix(in srgb, var(--primary) 14%, var(--surface)); color:var(--primary-ink); }
      .instappic svg { width:18px; height:18px; }
      .instapptx { display:flex; flex-direction:column; gap:1px; min-width:0; }
      .instapptx b { font-size:13px; }
      .instapptx span { font-size:12px; color:var(--dim); line-height:1.35; }
      @media (max-width:820px) {
        .notifrow { flex-direction:column; align-items:stretch; gap:0; }
        .instapp { margin:0 16px 14px; max-width:none; }
      }
      @media (prefers-reduced-motion:reduce) { .bellnudge { animation:none; } }
      /* Telefonda yok (pushAskDue desktop): genislik dusunce de gizli. */
      @media (max-width:820px) { .pushask { display:none; } }

      .gs { padding:18px 20px 16px; }
      .gschip.gstop { margin-left:4px; align-self:center; }
      .gschip .gschipdot { display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--primary); margin-right:6px; vertical-align:1px; }
      .gs-hd { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
      .gs .gs-h { margin:0; font-size:17px; font-weight:800; letter-spacing:-.2px; text-transform:none; }
      .gs-lead { margin:4px 0 0; font-size:13px; color:var(--dim); line-height:1.5; }
      .gs-hide { border:none; background:transparent; padding:4px 0; font:inherit; font-size:12.5px; color:var(--dim); cursor:pointer; white-space:nowrap; }
      .gs-hide:hover { color:var(--ink); text-decoration:underline; }
      .gs-prog { margin-top:14px; height:6px; border-radius:99px; background:var(--line); overflow:hidden; }
      .gs-prog span { display:block; height:100%; background:var(--primary); transform-origin:left; transition:transform .5s cubic-bezier(.34,1.3,.64,1); }
      .gs-count { margin:6px 0 10px; font-size:12px; font-weight:700; color:var(--dim); }
      .gs-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
      .gs-step { display:grid; grid-template-columns:30px minmax(0,1fr) auto; gap:12px; align-items:center; padding:11px 12px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
      .gs-step.next { border-color:color-mix(in srgb, var(--primary) 55%, var(--line)); box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }
      .gs-mark { width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-size:13px; font-weight:800; color:var(--dim); border:1.5px solid var(--line); }
      .gs-step.next .gs-mark { color:var(--primary-ink); border-color:var(--primary); }
      .gs-step.done .gs-mark { background:var(--primary); border-color:var(--primary); animation:qnpop .45s ease-out; }
      .gs-mark svg { width:16px; height:16px; fill:none; stroke:#fff; stroke-width:2.8; stroke-linecap:round; stroke-linejoin:round; }
      .gs-mark svg path { stroke-dasharray:1; animation:qntick .5s cubic-bezier(.6,0,.3,1) .1s both; }
      .gs-txt { display:flex; flex-direction:column; gap:2px; min-width:0; }
      .gs-txt b { font-size:14px; }
      .gs-opt { margin-left:8px; font-style:normal; font-size:11px; font-weight:700; color:var(--dim); border:1px solid var(--line); border-radius:99px; padding:1px 7px; vertical-align:1px; }
      .gs-txt span { font-size:12.5px; color:var(--dim); line-height:1.45; }
      .gs-step.done .gs-txt b { color:var(--dim); text-decoration:line-through; text-decoration-color:color-mix(in srgb, var(--dim) 50%, transparent); }
      /* Dugmenin kendisi uygulamanin .btn / .btn.primary'si; burada yalnizca
         yerlesim. */
      .gs-go { white-space:nowrap; }
      .gs-acts { display:flex; flex-direction:column; align-items:center; gap:2px; }
      .gs-later { border:none; background:transparent; font:inherit; font-size:12px; font-weight:700; padding:3px 2px 0;
        color:color-mix(in srgb, var(--ink) 45%, transparent); cursor:pointer; white-space:nowrap; transition:color .15s; }
      .gs-later:hover, .gs-later:focus-visible { color:var(--red); }
      .gs-step.later { opacity:.72; }
      @media (max-width:820px) {
        .gs { padding:16px 14px 14px; }
        .gs-step { grid-template-columns:28px minmax(0,1fr); }
        .gs-acts { grid-column:2; justify-self:start; flex-direction:row; align-items:center; gap:12px; margin-top:4px; }
      }
      @media (prefers-reduced-motion:reduce) {
        .gs-step.done .gs-mark, .gs-mark svg path { animation:none; }
        .gs-prog span { transition:none; }
      }


.svx { --sv-main:var(--primary); --sv-shade:color-mix(in srgb, var(--primary) 78%, #0E211B); --sv-deep:color-mix(in srgb, var(--primary) 42%, #0E211B); --sv-light:color-mix(in srgb, var(--primary) 45%, #fff); --sv-mid:color-mix(in srgb, var(--primary) 72%, #fff); --sv-pop:var(--pop, var(--primary)); --sv-panel:color-mix(in srgb, var(--ink) 5%, var(--surface)); --sv-tip-easy:var(--green); --sv-tip-mid:var(--amber); --sv-tip-long:var(--violet); display:block; }
.svx .sv-ic { display:block; line-height:0; }
.svx .sv-ic svg { display:block; width:100%; height:100%; overflow:visible; }
.sv-muted { color:var(--dim); font-size:14px; }
.sv-err { color:var(--red); font-size:13px; margin:6px 0; }
.sv-sechd { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:22px 0 0; }
.sv-sechd:first-child { margin-top:0; }
.sv-sechd h2 { margin:0; font-size:18px; font-weight:700; letter-spacing:-.01em; }
.sv-cnt { font-size:12px; color:var(--dim); }
.sv-mine { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; margin-top:14px; align-items:start; }
@media (max-width:900px) { .sv-mine { grid-template-columns:1fr; } }
.sv-empty { grid-column:1 / -1; background:var(--surface); border:1px dashed var(--line); border-radius:var(--r-card); padding:30px 20px; text-align:center; display:grid; gap:8px; justify-items:center; }
.sv-empty h3 { margin:0; font-size:17px; } .sv-empty p { margin:0; color:var(--dim); font-size:14px; max-width:44ch; line-height:1.55; }
.sv-hero { width:84px; height:78px; }
.sv-blk { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card); display:flex; flex-direction:column; overflow:hidden; }
.sv-bhd { display:flex; align-items:center; gap:10px; padding:16px 18px 0; }
.sv-bhd h2 { margin:0; font-size:16px; flex:1; min-width:0; overflow-wrap:anywhere; }
.sv-mini { width:30px; height:28px; flex:none; }
.sv-bsub { margin:2px 18px 0; color:var(--dim); font-size:13px; }
.sv-state { font-size:12px; letter-spacing:.06em; text-transform:uppercase; padding:4px 8px; border-radius:999px; background:var(--sv-panel); color:var(--dim); white-space:nowrap; }
.sv-chip { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:800; padding:4px 8px; border-radius:999px; background:color-mix(in srgb, var(--pop, var(--primary)) 22%, var(--surface)); color:var(--ink); }
.sv-chip svg { width:13px; height:13px; }
.sv-state.sh { background:color-mix(in srgb, var(--pop, var(--primary)) 18%, var(--surface)); color:var(--ink); }
.sv-shw { display:inline-flex; }
.sv-pop { position:absolute; left:0; right:0; bottom:calc(100% + 10px); z-index:30; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-inner); box-shadow:0 10px 28px rgba(0,0,0,.18); padding:10px; display:grid; gap:6px; animation:svpop .16s ease-out; }
@keyframes svpop { from { opacity:0; transform:translateY(6px) scale(.97); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce) { .sv-pop { animation:none; } }
.sv-pophd { font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--dim); padding:0 4px; }
.sv-ppl { display:grid; gap:2px; max-height:190px; overflow:auto; }
.sv-pick { all:unset; box-sizing:border-box; cursor:pointer; display:flex; align-items:center; gap:10px; font-size:14px; padding:8px 6px; border-radius:10px; min-height:40px; }
.sv-pick:hover, .sv-pick:focus-visible { background:var(--sv-panel); }
.sv-pick:focus-visible { outline:2px solid var(--primary); outline-offset:-2px; }
.sv-tick { width:20px; height:20px; flex:none; border-radius:50%; border:1.5px solid var(--line); display:grid; place-items:center; font-size:12px; font-weight:800; line-height:1; color:var(--on-primary); }
.sv-pick.on .sv-tick { background:var(--primary); border-color:var(--primary); }
.sv-pick .nm { flex:1; min-width:0; overflow-wrap:anywhere; }
.sv-pick em { font-style:normal; font-size:12px; color:var(--dim); }
.sv-pophint { flex:1; min-width:0; }
.sv-popft { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:4px 4px 0; font-size:12px; color:var(--dim); }
.sv-popok { all:unset; box-sizing:border-box; cursor:pointer; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:var(--primary); color:var(--on-primary); flex:none; }
.sv-popok[disabled] { background:var(--sv-panel); color:var(--faint); cursor:not-allowed; }
.sv-popx { all:unset; box-sizing:border-box; cursor:pointer; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; color:var(--dim); border:1px solid var(--line); flex:none; }
.sv-popx:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.sv-popok:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.sv-goals { margin-top:6px; }
/* auto-fit (auto-fill DEGIL): tek kart varken bos sutunlar cokuyor ve kart tüm genişliği
   kaplıyor; auto-fill bos sutunlari 300px olarak ayirip kartin yaninda büyük bir bosluk
   birakiyordu (kullanici, 2026-11-13). */
.sv-glist { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:14px; margin-top:12px; align-items:start; }
.sv-goal { position:relative; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card); padding:14px 16px; display:grid; gap:6px; }
.sv-ghd { display:flex; align-items:center; gap:8px; }
.sv-ghd h3 { margin:0; font-size:16px; flex:1; min-width:0; overflow-wrap:anywhere; }
.sv-gdate { font-size:12px; color:var(--dim); white-space:nowrap; }
.sv-gnum { display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; }
.sv-gnum b { font-size:26px; letter-spacing:-.01em; font-variant-numeric:tabular-nums; }
.sv-gnum span { font-size:13px; color:var(--dim); }
.sv-gbarrow { display:flex; align-items:center; gap:10px; }
.sv-gbar { flex:1; display:flex; gap:2px; height:12px; border-radius:7px; overflow:hidden; background:var(--sv-panel); }
.sv-gbar i { display:block; height:100%; flex:none; min-width:3px; }
.sv-gpct { font-size:13px; font-variant-numeric:tabular-nums; min-width:34px; text-align:right; }
.t0 { background:var(--sv-main); } .t1 { background:var(--sv-pop, var(--sv-light)); } .t2 { background:var(--sv-shade); } .t3 { background:var(--sv-light); } .t4 { background:var(--sv-mid); } .t5 { background:var(--sv-deep); }
.sv-gleg { list-style:none; margin:0; padding:0; display:grid; gap:4px; font-size:12.5px; color:var(--dim); }
.sv-gleg li { display:flex; align-items:center; gap:8px; }
.sv-gleg u { width:10px; height:10px; border-radius:3px; flex:none; display:inline-block; }
.sv-gleg em { margin-left:auto; font-style:normal; font-variant-numeric:tabular-nums; color:var(--ink); }
.sv-geta { background:var(--sv-panel); border-radius:12px; padding:10px 12px; font-size:13px; line-height:1.5; }
.sv-gsrc { font-size:12px; color:var(--dim); }
.sv-gwarn { display:flex; gap:8px; align-items:flex-start; font-size:12px; line-height:1.45; color:color-mix(in srgb, var(--amber, #b7791f) 55%, var(--ink)); }
.sv-gwarn.lock { color:var(--dim); }
.sv-gwarn svg { width:14px; height:14px; flex:none; margin-top:1px; }
.sv-gwarnbtn { all:unset; cursor:pointer; font-weight:800; text-decoration:underline; color:var(--primary); }
.sv-gwarnbtn:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.sv-grow { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex:0 0 auto; }
/* Tahmin kutusu + dugmeler bir satir; cubuk da dugmeler kadar kisa, yuzde kutunun hizasinda biter (2026-11-14). */
.sv-getarow { display:flex; align-items:center; gap:12px; }
.sv-getarow .sv-geta { flex:1; min-width:0; }
.sv-gbarrow, .sv-gleg { margin-right:calc(var(--sv-gtools, 96px) + 12px); }
.sv-goal { container-type:inline-size; }
@container (max-width:480px) { .sv-getarow { flex-wrap:wrap; } .sv-getarow .sv-grow { flex:1 0 100%; } .sv-gbarrow, .sv-gleg { margin-right:0; } }
.sv-gsheet { display:grid; gap:12px; padding:4px 18px 18px; }
.sv-srchd { font-size:12px; color:var(--dim); margin-bottom:-6px; }
.sv-src { display:grid; gap:2px; }
.sv-srow { all:unset; box-sizing:border-box; cursor:pointer; display:flex; align-items:center; gap:10px; min-height:44px; padding:6px 8px; border-radius:10px; font-size:14px; }
.sv-srow:nth-child(odd) { background:var(--sv-panel); }
.sv-srow:focus-visible { outline:2px solid var(--primary); outline-offset:-2px; }
.sv-srow.on .sv-tick { background:var(--primary); border-color:var(--primary); }
.sv-srow .nm { flex:1; min-width:0; overflow-wrap:anywhere; }
.sv-srow em { font-style:normal; font-size:12px; color:var(--dim); font-variant-numeric:tabular-nums; }
.sv-gfoot { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
/* Kumbaraya para ekle (K-639): tutar + para birimi (+ kumbara) + Ekle tek satirda, telefonda da (sigiyorsa yan yana). */
.sv-topup { display:grid; gap:8px; padding:12px; border-radius:12px; background:var(--sv-panel); }
.sv-topup .sv-srchd { margin:0; }
.sv-toprow { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.sv-toprow input, .sv-toprow select { font:inherit; font-size:16px; color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:8px 10px; min-width:0; height:42px; box-sizing:border-box; font-variant-numeric:tabular-nums; }
.sv-topamt { flex:1 1 110px; }
.sv-topcur { flex:0 0 84px; }
.sv-toppig { flex:1 1 130px; }
.sv-topbtn { flex:0 0 auto; height:42px; }
.sv-tophint { font-size:12.5px; color:var(--dim); }
@media (prefers-reduced-motion: no-preference) { .sv-gbar i { animation:svgrow .5s ease-out 1 both; transform-origin:left; } }
@keyframes svgrow { from { transform:scaleX(0); } to { transform:none; } }
.sv-state.open { background:var(--mint); color:var(--primary-ink); }
.sv-stage { all:unset; box-sizing:border-box; cursor:pointer; display:grid; place-items:center; margin:14px 18px 18px; padding:18px; background:var(--sv-panel); border-radius:var(--r-inner); min-height:200px; position:relative; }
.sv-stage:focus-visible { outline:2px solid var(--primary); outline-offset:3px; }
.sv-big { width:150px; height:140px; }
.sv-lk { position:absolute; right:12px; bottom:12px; width:26px; height:26px; border-radius:50%; background:var(--surface); border:1px solid var(--line); display:grid; place-items:center; color:var(--dim); }
.sv-lk svg { width:13px; height:13px; display:block; }
.sv-lk.open { color:var(--primary-ink); border-color:color-mix(in srgb, var(--primary) 45%, var(--line)); }
.sv-lk.open::after { animation:none; }
.sv-row { all:unset; box-sizing:border-box; cursor:pointer; display:flex; align-items:center; gap:10px; width:100%; min-height:64px; padding:12px 14px 12px 16px; }
.sv-row:focus-visible { outline:2px solid var(--primary); outline-offset:-3px; border-radius:var(--r-card); }
.sv-rowname { flex:1; min-width:0; font-size:16px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sv-rowlk { flex:none; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; background:var(--sv-panel); color:var(--dim); }
.sv-rowlk svg { width:15px; height:15px; display:block; }
.sv-rowlk.open { background:var(--mint); color:var(--primary-ink); }
.sv-row:active { background:var(--sv-panel); }
.sv-lk::after { content:""; position:absolute; inset:-1px; border-radius:50%; border:1.5px solid var(--primary); opacity:0; animation:svglow 2.8s ease-out infinite; }
@keyframes svglow { 0% { transform:scale(1); opacity:.55; } 100% { transform:scale(1.9); opacity:0; } }
.sv-rise { position:absolute; left:50%; top:44px; width:0; height:0; pointer-events:none; }
.sv-rise span { position:absolute; left:0; top:0; display:block; font-weight:800; font-size:15px; line-height:1; white-space:nowrap; opacity:0; animation:svrise 2.4s ease-out 1 both; animation-delay:var(--d); margin-left:var(--x); }
.sv-rise svg { display:block; width:15px; height:15px; overflow:visible; }
@keyframes svrise { 0% { transform:translateY(0) scale(.8); opacity:0; } 20% { opacity:1; } 100% { transform:translateY(-42px) scale(1); opacity:0; } }
.sv-bbody { padding:16px 18px 18px; display:flex; flex-direction:column; gap:14px; }
.sv-metrics { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.sv-met { background:var(--sv-panel); border-radius:12px; padding:10px 12px; min-width:0; }
.sv-met span { display:block; font-size:12px; color:var(--dim); }
.sv-met b { display:block; font-size:18px; font-variant-numeric:tabular-nums; letter-spacing:-.01em; margin-top:2px; overflow-wrap:anywhere; }
.sv-met.big { grid-column:1 / -1; } .sv-met.big b { font-size:24px; }
.sv-met b.pos { color:var(--primary-ink); } .sv-met b.neg { color:var(--red); }
.sv-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.sv-fld { display:grid; gap:4px; font-size:12px; color:var(--dim); min-width:0; }
.sv-fld.full { grid-column:1 / -1; }
.sv-fld input, .sv-fld select { font:inherit; font-size:16px; color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:8px 10px; min-width:0; width:100%; font-variant-numeric:tabular-nums; }
.sv-fld input:focus-visible, .sv-fld select:focus-visible { outline:2px solid var(--primary); outline-offset:1px; }
.sv-note { margin:0; font-size:12px; color:var(--dim); line-height:1.5; }
.sv-rows { display:grid; border:1px solid var(--line); border-radius:12px; overflow:hidden; font-size:13px; }
.sv-rows div { display:grid; grid-template-columns:1fr auto auto; gap:10px; padding:8px 12px; border-top:1px solid var(--line); font-variant-numeric:tabular-nums; }
.sv-rows div:first-child { border-top:0; } .sv-rows em { font-style:normal; color:var(--dim); }
.sv-prog { height:8px; border-radius:99px; background:var(--sv-panel); overflow:hidden; } .sv-prog i { display:block; height:100%; background:var(--primary); border-radius:99px; }
.sv-act .btn.primary[disabled] { background:var(--surface2, #e6ebe8); color:var(--faint); border-color:transparent; opacity:1; cursor:not-allowed; box-shadow:none; }
.sv-act { background:var(--sv-panel); border-radius:14px; padding:12px; display:grid; gap:10px; }
.sv-seg { display:grid; grid-template-columns:1fr 1fr; gap:4px; background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:3px; }
.sv-seg button { font:inherit; font-size:12.5px; font-weight:600; border:0; background:none; color:var(--dim); padding:7px 6px; border-radius:8px; cursor:pointer; min-height:40px; }
.sv-seg button.on { background:var(--mint); color:var(--primary-ink); } .sv-seg button:focus-visible { outline:2px solid var(--primary); outline-offset:1px; }
.sv-hist h4 { margin:0 0 8px; font-size:13px; }
.sv-hist ul { list-style:none; margin:0; padding:0; display:grid; border:1px solid var(--line); border-radius:12px; overflow:hidden; max-height:260px; overflow-y:auto; }
.sv-hist li { display:grid; grid-template-columns:1fr auto; gap:2px 10px; padding:9px 12px; border-top:1px solid var(--line); font-size:13px; }
.sv-hist li:first-child { border-top:0; }
.sv-hist li { position:relative; grid-template-columns:1fr auto 34px; align-items:center; }
.sv-auto { display:grid; gap:10px; margin:2px 0 4px; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.sv-chk { display:flex; align-items:center; gap:10px; min-height:40px; font-size:14px; font-weight:600; cursor:pointer; }
.sv-chk input { width:20px; height:20px; accent-color:var(--primary); flex:0 0 auto; }
.sv-chkrow { display:flex; align-items:center; gap:6px; }
.sv-hist .amt.paid { color:var(--dim); font-weight:600; }
.sv-hm { all:unset; box-sizing:border-box; cursor:pointer; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; color:var(--dim); }
.sv-hm svg { width:16px; height:16px; }
.sv-hm:hover, .sv-hm[aria-expanded="true"] { color:var(--ink); background:var(--bg); }
.sv-hm:focus-visible { outline:2px solid var(--primary); outline-offset:1px; }
.sv-hmenu { position:absolute; right:6px; top:42px; z-index:6; min-width:150px; padding:5px; border:1px solid var(--line); border-radius:12px; background:var(--surface); box-shadow:0 8px 22px rgba(0,0,0,.26); display:grid; }
.sv-hmenu button { all:unset; box-sizing:border-box; cursor:pointer; display:flex; align-items:center; gap:9px; min-height:40px; padding:0 12px; border-radius:8px; font-size:14px; font-weight:600; color:var(--ink); }
.sv-hmenu button:hover, .sv-hmenu button:focus-visible { background:var(--bg); }
.sv-hmenu button.danger { color:var(--red); }
.sv-hmenu svg { width:16px; height:16px; }
.sv-hist li.sv-hedit { grid-template-columns:1fr; gap:10px; padding:12px; }
.sv-hist .sv-hdel { grid-column:1 / -1; margin-top:6px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:var(--bg); }
.sv-hist .sv-hdel p { margin:0 0 8px; font-size:13px; }

.sv-hist .when { font-size:12px; color:var(--dim); font-variant-numeric:tabular-nums; }
.sv-hist .amt { font-weight:600; font-variant-numeric:tabular-nums; text-align:right; } .sv-hist .amt.in { color:var(--primary-ink); } .sv-hist .amt.out { color:var(--red); }
.sv-hist .nt { grid-column:1 / -1; color:var(--dim); font-size:12.5px; overflow-wrap:anywhere; }
.sv-hist .after { grid-column:1 / -1; font-size:12px; color:var(--dim); text-align:right; }
.sv-lockrow { position:relative; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.sv-rowr { display:flex; align-items:center; gap:8px; }
.sv-lockbtn { display:inline-flex; align-items:center; gap:7px; padding:8px 14px; min-height:44px; }
.sv-lockbtn svg { width:16px; height:16px; flex:none; }
.sv-ib { all:unset; box-sizing:border-box; cursor:pointer; width:44px; height:44px; border-radius:50%; border:1px solid var(--line); background:var(--surface); color:var(--dim); display:grid; place-items:center; position:relative; }
.sv-ib svg { width:18px; height:18px; }
.sv-ib:hover { color:var(--ink); border-color:var(--dim); }
.sv-ib:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.sv-ib.on { background:var(--primary); border-color:var(--primary); color:var(--on-primary); }
.sv-cnt2 { position:absolute; top:-3px; right:-3px; min-width:17px; height:17px; border-radius:9px; background:var(--pop, var(--primary)); color:var(--on-pop, var(--on-primary)); font-size:10.5px; font-weight:800; display:grid; place-items:center; padding:0 4px; border:2px solid var(--surface); line-height:1; }
.sv-link { all:unset; cursor:pointer; font-size:12.5px; color:var(--dim); text-decoration:underline; min-height:44px; padding:0 4px; display:inline-flex; align-items:center; }
.sv-link:hover { color:var(--red); } .sv-link:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.sv-confirm { background:var(--sv-panel); border-radius:14px; padding:14px; display:grid; gap:10px; }
.sv-confirm p { margin:0; font-size:13.5px; line-height:1.5; }
.sv-crow { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.sv-crow .btn { min-height:44px; }
.sv-crow .btn.danger { background:var(--red); border-color:var(--red); color:#fff; }
.sv-avail { display:grid; grid-template-columns:repeat(auto-fill, minmax(236px, 1fr)); gap:10px; margin-top:14px; }
.sv-tile { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-inner); padding:12px 14px; display:grid; grid-template-columns:44px 1fr auto; gap:12px; align-items:center; }
.sv-tile .btn { min-height:44px; }
.sv-tile .sv-mini { width:44px; height:40px; }
.sv-tile b { display:block; font-size:14px; } .sv-tile span { display:block; font-size:12px; color:var(--dim); line-height:1.4; margin-top:2px; }
.sv-sum { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card); padding:18px; margin-bottom:6px; display:grid; gap:14px; }
.sv-sumtop { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:16px; align-items:end; }
@media (max-width:700px) { .sv-sumtop { grid-template-columns:1fr; } }
.sv-cap { font-size:12px; color:var(--dim); } .sv-tot { font-size:32px; font-weight:700; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.sv-meta { font-size:12.5px; color:var(--dim); line-height:1.5; }
.sv-sbar { display:flex; height:10px; border-radius:99px; overflow:hidden; background:var(--sv-panel); } .sv-sbar i { display:block; height:100%; }
.sv-srows { display:grid; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.sv-srow { display:grid; grid-template-columns:28px 1fr auto; gap:10px; align-items:center; padding:8px 12px; border-top:1px solid var(--line); font-size:13.5px; }
.sv-srow:first-child { border-top:0; } .sv-srow .sv-mini { width:26px; height:24px; }
.sv-srow .sv-v { font-variant-numeric:tabular-nums; font-weight:600; text-align:right; }
.sv-srow .sv-sub { display:block; font-size:12px; color:var(--dim); font-weight:400; }
.sv-srow.locked { color:var(--dim); } .sv-lkm { display:inline-flex; align-items:center; gap:6px; font-weight:400; } .sv-lkm svg { width:13px; height:13px; }
.sv-pin { --pb:#0B1512; --pl:#22352D; --pi:#E7F0EC; --pd:#8FA39B; --pk:#14231D; width:min(400px, 100%); background:var(--pb); color:var(--pi); border:1px solid var(--pl); border-radius:var(--r-modal); padding:18px 20px 20px; position:relative; overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,.5); font-family:inherit; }
.sv-pin::before { content:""; position:absolute; inset:0; background-image:linear-gradient(var(--pl) 1px, transparent 1px), linear-gradient(90deg, var(--pl) 1px, transparent 1px); background-size:28px 28px; opacity:.35; mask-image:radial-gradient(circle at 50% 0%, #000, transparent 70%); -webkit-mask-image:radial-gradient(circle at 50% 0%, #000, transparent 70%); pointer-events:none; }
.sv-pin > * { position:relative; }
.sv-phd { display:flex; align-items:center; justify-content:center; position:relative; min-height:32px; }
.sv-phd h3 { margin:0; font-size:20px; font-weight:700; letter-spacing:-.01em; text-align:center; }
.sv-shield { position:absolute; left:0; top:5px; color:#4ADE80; display:grid; }
.sv-x { all:unset; position:absolute; right:-6px; top:0; cursor:pointer; width:36px; height:36px; display:grid; place-items:center; border-radius:10px; color:var(--pd); }
.sv-x:hover { background:var(--pk); color:var(--pi); } .sv-x:focus-visible { outline:2px solid #4ADE80; }
.sv-psub { margin:10px 0 0; color:var(--pd); font-size:13.5px; line-height:1.5; min-height:40px; text-align:center; }
.sv-psub.thin { font-size:12px; font-weight:300; line-height:1.45; }
.sv-steps { display:flex; gap:6px; margin:12px 0 0; } .sv-steps i { height:3px; flex:1; border-radius:3px; background:var(--pl); } .sv-steps i.on { background:#4ADE80; }
.sv-choose { display:grid; gap:10px; margin:18px 0 6px; }
.sv-opt { all:unset; box-sizing:border-box; cursor:pointer; display:grid; gap:3px; padding:14px 16px; border-radius:14px; background:var(--pk); border:1.5px solid var(--pl); }
.sv-opt:hover { border-color:#3B5A4B; } .sv-opt:focus-visible { outline:2px solid #4ADE80; }
.sv-opt b { font-size:15px; } .sv-opt span { font-size:12.5px; color:var(--pd); line-height:1.45; }
.sv-forgot { display:grid; gap:12px; margin:16px 0 6px; }
.sv-pwf { display:grid; gap:6px; font-size:13px; color:var(--pd); }
.sv-pwf input { font:inherit; font-size:16px; color:var(--pi); background:var(--pk); border:1px solid var(--pl); border-radius:12px; padding:12px 14px; }
.sv-forgot .gnote { color:var(--pd); }
.sv-otp { display:flex; gap:10px; justify-content:center; margin:18px 0 8px; }
.sv-otp b { width:54px; height:62px; border-radius:14px; border:1.5px solid var(--pl); background:var(--pk); display:grid; place-items:center; transition:border-color .15s; }
.sv-otp b.cur { border-color:#4ADE80; box-shadow:0 0 0 3px rgba(74,222,128,.18); }
.sv-otp b.fill::after { content:""; width:12px; height:12px; border-radius:50%; background:var(--pi); }
.sv-otp.shake { animation:svshake .4s; } .sv-otp.err b { border-color:var(--red); }
@keyframes svshake { 20% { transform:translateX(-8px); } 40% { transform:translateX(8px); } 60% { transform:translateX(-5px); } 80% { transform:translateX(5px); } }
.sv-pmsg { text-align:center; min-height:20px; font-size:13px; color:var(--pd); } .sv-pmsg.err { color:#FF7B7F; }
.sv-keys { display:grid; grid-template-columns:repeat(3, 1fr); gap:10px; margin-top:12px; }
.sv-key { all:unset; box-sizing:border-box; height:54px; border-radius:14px; background:var(--pk); border:1px solid var(--pl); display:grid; place-items:center; font-size:20px; font-weight:600; cursor:pointer; user-select:none; -webkit-tap-highlight-color:transparent; }
.sv-key:hover { border-color:#3B5A4B; } .sv-key:active { transform:scale(.96); background:#1B3027; } .sv-key:focus-visible { outline:2px solid #4ADE80; }
.sv-key.sm { font-size:14px; color:var(--pd); } .sv-key[aria-disabled="true"] { opacity:.35; pointer-events:none; }
.sv-pfoot { margin:14px 0 0; display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:12.5px; color:var(--pd); min-height:18px; }
.sv-pm { display:grid; grid-template-columns:1fr 1fr; gap:3px; background:var(--pk); border:1px solid var(--pl); border-radius:10px; padding:3px; flex:1; min-width:0; }
.sv-pm button { all:unset; box-sizing:border-box; cursor:pointer; text-align:center; font-size:12px; line-height:1.25; padding:6px 6px; border-radius:7px; color:var(--pd); min-height:36px; display:grid; place-items:center; }
.sv-pm button.on { background:#1B3027; color:#4ADE80; font-weight:600; } .sv-pm button:focus-visible { outline:2px solid #4ADE80; }
.sv-forgotbtn { all:unset; cursor:pointer; flex:none; font-size:12px; text-decoration:underline; color:var(--pi); min-height:36px; display:inline-flex; align-items:center; } .sv-forgotbtn:focus-visible { outline:2px solid #4ADE80; }
@media (prefers-reduced-motion: reduce) { .sv-rise { display:none; } .sv-lk::after { animation:none; } .sv-otp.shake { animation:none; } }

/* Tek kart: acil durum fonu + finansal yastik + ipucu geçişi (kullanici, 2026-11-13: ikisi
   "Senin için ipuçları"nın İÇİNE taşındı; "3 gün gizle" kapatma kaldırıldı). Nokta sayfalayıcı
   başlığın yanında, ayrı bir altbilgi satırı ve onun kenar çizgisi hiç açılmıyor: en büyük
   yükseklik kazancı burada. */
.sv-tips { position:relative; overflow:hidden; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card); margin:0 0 14px; }
.sv-tips::before { content:""; position:absolute; left:0; top:14px; bottom:14px; width:4px; border-radius:0 3px 3px 0; background:var(--sv-tc, var(--primary)); }
.sv-tiphd { display:flex; align-items:center; gap:10px; padding:14px 16px 0 20px; }
.sv-tiphd h2 { margin:0; font-size:15px; font-weight:800; white-space:nowrap; }
.sv-tiptools { margin-left:auto; display:flex; align-items:center; gap:10px; }
.sv-tipcnt { font-size:12.5px; font-weight:700; color:var(--dim); white-space:nowrap; }
.sv-tipnav { display:flex; gap:6px; }
.sv-rbtn { width:32px; height:32px; border-radius:50%; border:1px solid var(--line); background:var(--surface); color:var(--ink); display:grid; place-items:center; cursor:pointer; padding:0; }
.sv-rbtn.prev svg { transform:scaleX(-1); }
.sv-rbtn svg { width:13px; height:13px; }
.sv-rbtn:hover:not(:disabled) { background:var(--sv-panel); border-color:color-mix(in srgb, var(--dim) 30%, var(--line)); }
.sv-rbtn:disabled { opacity:.35; cursor:default; }
.sv-rbtn:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.sv-tipdots { display:flex; gap:5px; }
.sv-tipdots button { all:unset; box-sizing:border-box; width:7px; height:7px; border-radius:4px; background:color-mix(in srgb, var(--dim) 55%, var(--line)); cursor:pointer; position:relative; transition:width .2s, background .2s; }
.sv-tipdots button::before { content:""; position:absolute; inset:-10px; }
.sv-tipdots button.on { width:16px; background:var(--sv-tc, var(--primary)); }
.sv-tipdots button:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }

/* Durum kartlarinin (acil durum fonu, finansal yastik) govdesi: artik AYRI bir seritte degil,
   ipucu govdesiyle AYNI .sv-tipbody icinde, dönen listenin bir karesi (kullanici, 2026-11-13). */
.sv-safeval { margin-top:4px; font-size:21px; font-weight:800; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.sv-safeval small { margin-left:4px; font-size:12px; font-weight:700; color:var(--dim); }
.sv-safeval small.sv-sug { color:var(--green); } /* yastikta "oneri" yesil (kullanici, 2026-11-14) */
.sv-meter { position:relative; height:6px; border-radius:3px; background:var(--sv-panel); margin:10px 0 18px; max-width:460px; } /* 280 dardi (kullanici, 2026-11-14) */
.sv-meter i { position:absolute; inset:0 auto 0 0; border-radius:3px; background:var(--amber); }
.sv-meter .t { position:absolute; top:-2px; width:2px; height:10px; background:color-mix(in srgb, var(--dim) 70%, var(--line)); border-radius:1px; }
.sv-meter .t span { position:absolute; top:12px; left:50%; transform:translateX(-50%); font-size:10.5px; font-weight:700; color:var(--dim); white-space:nowrap; }
.sv-meter .t.end span { left:auto; right:0; transform:none; }
.sv-safeline { margin:0; font-size:13px; color:var(--dim); line-height:1.4; }

.sv-tipstack { display:grid; }
.sv-tipstack { touch-action:pan-y; -webkit-user-select:none; user-select:none; }
.sv-tipbody { transition:transform .22s cubic-bezier(.34,1.3,.64,1), opacity .22s; }
.sv-tipbody.in-next { animation:svtipnext .3s cubic-bezier(.22,.9,.3,1); }
.sv-tipbody.in-prev { animation:svtipprev .3s cubic-bezier(.22,.9,.3,1); }
@keyframes svtipnext { from { transform:translateX(34px); opacity:0; } to { transform:none; opacity:1; } }
@keyframes svtipprev { from { transform:translateX(-34px); opacity:0; } to { transform:none; opacity:1; } }
@media (prefers-reduced-motion: reduce) { .sv-tipbody.in-next, .sv-tipbody.in-prev { animation:none; } }
.sv-tipbody { grid-column:1; grid-row:1; padding:10px 20px 2px; min-width:0; }
.sv-tipbody h3 { margin:0 0 4px; font-size:15.5px; font-weight:800; letter-spacing:-.01em; }
.sv-tipbody p { margin:0; font-size:13.5px; line-height:1.5; color:var(--ink-soft, var(--ink)); max-width:62ch; }
.sv-tipchips { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.sv-tipchip { font-size:12px; font-weight:700; background:var(--sv-panel); border-radius:10px; padding:5px 9px; display:inline-flex; gap:7px; white-space:nowrap; }
.sv-tipchip b { color:var(--dim); font-weight:600; font-variant-numeric:tabular-nums; }
.sv-tiprow { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:10px; }
.sv-tippill { font-size:11.5px; font-weight:800; border-radius:999px; padding:4px 10px; white-space:nowrap; color:color-mix(in srgb, var(--sv-tc, var(--primary)) 72%, var(--ink)); background:color-mix(in srgb, var(--sv-tc, var(--primary)) 16%, transparent); }
.sv-tipact { margin-left:auto; display:inline-flex; align-items:center; gap:6px; font-family:inherit; font-size:13px; font-weight:800; color:#fff; background:var(--sel-bg, var(--primary)); border:0; border-radius:12px; padding:0 14px; height:36px; cursor:pointer; }
.sv-tipact:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.sv-tipdisc { margin:0; padding:8px 20px 12px; font-size:11px; color:var(--dim); }
@media (max-width:820px) { .sv-rbtn { min-width:36px; min-height:36px; } .sv-tipact { height:40px; } }
@media (max-width:360px) { .sv-tiphd { padding-left:16px; padding-right:12px; } .sv-tiphd h2 { font-size:14px; } .sv-tiptools { gap:6px; } .sv-tipcnt { display:none; } }


      .modal.twel { width:min(460px,100%); }
      .modal.twel .modalhd h2 { display:flex; align-items:center; }
      /* Satir ici ve kirilmiyor: ttx parcalari ("Welcome to ", wordmark, "!") ayri
         satirlara dusuyordu. Wordmark'in buyuk harfi yazininkiyle ayni boyda. */
      .twttl { display:block; white-space:nowrap; font-family:Manrope, sans-serif; font-weight:800; font-size:28px; line-height:1.2; letter-spacing:-.01em; color:var(--ink); }
      .twmark { display:inline-block; vertical-align:-3px; }
      @media (max-width:420px) { .twttl { font-size:22px; } }
      .twbody { text-align:center; padding-top:2px; }
      .twsub { margin:0 0 4px; font-size:20px; font-weight:700; }
      .twtxt { margin:0 auto; max-width:340px; font-size:15.5px; line-height:1.5; color:var(--ink-soft); }
      .twstage { display:flex; flex-direction:column; align-items:center; margin:10px 0 0; }
      .twbox { position:relative; width:136px; height:136px; margin-left:34px; }
      .twbox svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
      .twfx { pointer-events:none; }
      .twname { margin:-10px 0 0 34px; font-size:11px; font-weight:400; letter-spacing:.06em; color:var(--dim); }
      .twbubfill { fill:var(--surface); stroke:color-mix(in srgb, var(--primary) 55%, var(--line)); stroke-width:1.4; }
      .twbubshine { fill:none; stroke:#fff; stroke-width:2.2; stroke-linecap:round; opacity:.8; }
      .twdot { opacity:0; animation:twdot .3s ease .25s forwards; }
      @keyframes twdot { to { opacity:1; } }
      .twstage.pop .twdot { animation:twfade .18s ease-out forwards; opacity:1; }
      @keyframes twfade { to { opacity:0; } }
      .twburst circle { fill:color-mix(in srgb, var(--primary) 60%, #fff); animation:twdrop .34s ease-out forwards; }
      @keyframes twdrop { from { opacity:1; transform:translate(0,0) scale(1); } to { opacity:0; transform:translate(var(--dx),var(--dy)) scale(.4); } }
      /* Goz kirpma: cizimin kapagi (.lid) arada bir iniyor. */
      .twstage .lid { animation:twblink 3.8s infinite; transform-box:fill-box; transform-origin:center; }
      .twstage.hold .lid { animation-delay:.9s; }
      @keyframes twblink { 0%, 90%, 100% { transform:scaleY(0); } 93%, 95% { transform:scaleY(1); } }
      .app.dark .twbird .fxleg { stroke:#A9BCB4; }
      .app.dark .twbird .fxglow { filter:drop-shadow(0 0 1.2px rgba(214,236,226,.45)); }
      .modal.twel .formfoot.twfoot { display:flex; justify-content:center; }
      .twgreat { position:relative; min-width:170px; font-size:16px; }
      .twgreat.cheer { animation:twjoy .5s cubic-bezier(.3,1.6,.5,1); }
      @keyframes twjoy { 0% { transform:scale(1); } 35% { transform:scale(.92); } 70% { transform:scale(1.1); } 100% { transform:scale(1); } }
      .twsparks { position:absolute; inset:0; pointer-events:none; }
      .twsparks i { position:absolute; left:50%; top:50%; width:6px; height:6px; margin:-3px; border-radius:50%; background:#F2C14E;
        animation:twspark .6s ease-out forwards; }
      @keyframes twspark { from { opacity:1; transform:rotate(var(--a)) translateY(0) scale(1); } to { opacity:0; transform:rotate(var(--a)) translateY(-44px) scale(.3); } }
      @media (prefers-reduced-motion: reduce) { .twstage .lid, .twgreat.cheer { animation:none; } }


      .su-gate { display:flex; justify-content:center; padding:48px 16px; }
      .su-gatebox { width:100%; max-width:380px; display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center;
        background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card); padding:28px 24px; }
      .su-gateicon { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:var(--bg); color:var(--ink); }
      .su-gateicon svg { width:22px; height:22px; }
      .su-gatebox h2 { margin:0; font-size:18px; }
      .su-gatebox p { margin:0; font-size:13px; color:var(--dim); line-height:1.45; }
      .su-pw { width:100%; box-sizing:border-box; font:inherit; font-size:15px; padding:11px 14px; border:1px solid var(--line); border-radius:var(--r-ctl); background:var(--surface); color:var(--ink); }
      .su-segcount { margin-left:6px; }
      .su-mask { -webkit-text-security:disc; text-security:disc; }
      .su-pw:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
      .su-err { font-size:13px; font-weight:700; color:var(--red); }
      .su-field { width:100%; display:flex; flex-direction:column; gap:5px; text-align:left; }
      .su-field > span { font-size:12px; font-weight:700; color:var(--dim); }
      .su-note { font-size:13px; font-weight:700; color:var(--primary-ink); }
      .su-small { margin:0; font-size:12px; color:var(--dim); line-height:1.45; text-align:left; }
      .su-link { border:0; background:none; font:inherit; font-size:13px; font-weight:700; color:var(--dim); cursor:pointer; padding:8px; min-height:40px; }
      .su-link:hover { color:var(--ink); text-decoration:underline; }
      .su-open { width:100%; min-height:42px; justify-content:center; }
      .su-page { display:flex; flex-direction:column; gap:14px; }
      .su-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
      .su-head h2 { margin:0; font-size:20px; }
      .su-head .btn { display:inline-flex; align-items:center; gap:6px; }
      .su-head .btn svg { width:15px; height:15px; }
      /* Bes sekme esit ve genis: sayfanin tamami (kullanici, 2026-11-04). */
      .segrow.su-views { align-self:stretch; display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); width:100%; box-sizing:border-box; }
      .su-views .seg { white-space:nowrap; justify-content:center; text-align:center; }
      @media (max-width:640px) { .segrow.su-views { grid-template-columns:repeat(3, minmax(0,1fr)); } .segrow.su-views .seg { padding-left:6px; padding-right:6px; } }
      .su-stats { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; }
      .su-stat { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-inner); padding:12px 14px; display:flex; flex-direction:column; gap:2px; }
      .su-stat b { font-size:24px; line-height:1.1; color:var(--ink); }
      .su-stat span { font-size:12px; color:var(--dim); }
      .su-stat.hot { border-color:var(--red); }
      .su-stat.hot b { color:var(--red); }
      .su-search { font:inherit; font-size:14px; padding:10px 14px; border:1px solid var(--line); border-radius:var(--r-ctl); background:var(--surface); color:var(--ink); }
      .su-list { display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card); overflow:hidden; }
      .su-row { display:grid; grid-template-columns:minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 1.6fr); gap:12px; align-items:center; padding:12px 16px; border-top:1px solid var(--line); }
      .su-row:first-child { border-top:0; }
      .su-row.new { background:color-mix(in srgb, var(--red) 6%, var(--surface)); }
      .su-who { display:flex; flex-direction:column; gap:2px; min-width:0; }
      .su-who b { font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; display:flex; align-items:center; gap:6px; }
      .su-who > span { font-size:12px; color:var(--dim); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .su-newpill { flex:none; font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#fff; background:var(--red); border-radius:9px; padding:2px 7px; }
      .su-meta { display:flex; flex-direction:column; gap:2px; font-size:13px; min-width:0; }
      .su-meta i { display:block; font-style:normal; color:var(--dim); font-size:12px; }
      .su-k { font-size:11px; color:var(--dim); }
      .su-tags { display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end; }
      .su-tag { font-size:11.5px; font-weight:700; padding:3px 9px; border-radius:20px; background:var(--bg); color:var(--ink); border:1px solid var(--line); }
      .su-tag.pro { background:var(--sel-bg); border-color:var(--sel-bg); color:#fff; }
      .su-tag.warn { color:var(--red); border-color:color-mix(in srgb, var(--red) 45%, var(--line)); }
      .su-stats { grid-template-columns:repeat(5, minmax(0, 1fr)); }
      .su-chips { display:flex; flex-wrap:wrap; gap:6px; }
      .su-chip { font:inherit; font-size:12.5px; font-weight:700; color:var(--dim); background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:6px 12px; min-height:32px; display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
      .su-chip .num { font-size:11px; color:var(--faint); }
      .su-chip:not(.on):hover { color:var(--ink); border-color:var(--ink); }
      .su-chip.on { background:var(--sel-bg); border-color:var(--sel-bg); color:#fff; }
      .su-chip.on .num { color:#fff; opacity:.8; }
      .su-chip.hot:not(.on) .num { color:var(--red); font-weight:800; }
      .su-act { display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--dim); min-width:0; }
      .su-act > span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .su-sig { flex:none; display:inline-flex; align-items:flex-end; gap:2px; height:16px; }
      .su-sig i { width:4px; border-radius:1.5px; background:var(--line); }
      .su-sig i:nth-child(1) { height:5px; } .su-sig i:nth-child(2) { height:8px; } .su-sig i:nth-child(3) { height:12px; } .su-sig i:nth-child(4) { height:16px; }
      .su-sig.l2 i:nth-child(-n+2), .su-sig.l3 i:nth-child(-n+3), .su-sig.l4 i:nth-child(-n+4) { background:var(--primary); }
      .su-sig.l1 i:nth-child(1) { background:var(--amber); }
      .su-row.deleted .su-who b { text-decoration:line-through; text-decoration-color:var(--faint); color:var(--dim); }
      .su-row.deleted .su-who > span { color:var(--faint); }
      .su-pill.del { align-self:flex-start; font-size:11.5px; font-weight:800; border-radius:999px; padding:3px 9px; color:var(--red); background:color-mix(in srgb, var(--red) 10%, transparent); border:1px solid color-mix(in srgb, var(--red) 35%, transparent); white-space:nowrap; }
      .su-tag.gift { color:#5B49C2; background:color-mix(in srgb, #6D5BD0 10%, var(--surface)); border-color:color-mix(in srgb, #6D5BD0 35%, var(--line)); }
      .app.dark .su-tag.gift { color:#B8AEF5; }
      .su-legend { display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 1fr)); gap:8px 16px; font-size:12px; color:var(--dim); padding:4px 2px; }
      .su-legend > div { display:flex; align-items:center; gap:8px; }
      .su-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card); padding:18px; display:flex; flex-direction:column; gap:12px; }
      .su-card h3 { margin:0; font-size:15px; }
      .su-cgrid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px 14px; align-items:end; }
      .su-cgrid .su-wide { grid-column:span 2; }
      .su-cgrid .segrow { width:100%; }
      .su-mono { font-family:var(--mono, ui-monospace, monospace); letter-spacing:.03em; }
      .su-fake { color:var(--faint); background:var(--bg); }
      .su-cact { display:flex; justify-content:flex-end; gap:8px; }
      .su-cact .btn { min-height:40px; }
      .su-crow { display:grid; grid-template-columns:minmax(0, 2fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 2.2fr); gap:12px; align-items:center; padding:12px 16px; border-top:1px solid var(--line); }
      .su-crow:first-child { border-top:0; }
      .su-crow .su-tags { align-items:center; }
      .su-crow.off .su-who b, .su-crow.expired .su-who b { color:var(--dim); }
      .su-pay { display:flex; flex-direction:column; gap:14px; }
      .su-dim { color:var(--dim); font-size:12.5px; font-weight:500; }
      .su-warn { color:var(--amber); font-size:12px; font-weight:700; font-style:normal; }
      .su-payrow { display:grid; grid-template-columns:minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap:12px; align-items:center;
        padding:12px 0; border-top:1px solid var(--line); }
      .su-payrow.done { grid-template-columns:minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.4fr) auto; }
      .su-paywho, .su-paywhat { display:flex; flex-direction:column; gap:2px; min-width:0; font-size:13px; }
      .su-paywho > span { overflow-wrap:anywhere; }
      .su-paywhat .su-tag { align-self:flex-start; }
      .su-payrecv { display:flex; flex-direction:column; gap:4px; font-size:12px; color:var(--dim); font-weight:600; }
      .su-payact { display:flex; gap:8px; justify-content:flex-end; flex-wrap:wrap; }
      .su-payact .btn { min-height:40px; }
      .su-payrej { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
      .su-payrej .su-pw { min-width:200px; }
      .btn.danger { color:var(--red); }
      @media (max-width:820px) { .su-payrow, .su-payrow.done { grid-template-columns:1fr 1fr; } .su-payact { grid-column:1 / -1; } .su-payact .btn { min-height:44px; } }
      .su-empty { padding:28px; text-align:center; color:var(--dim); font-size:14px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card); }
      .navcount { margin-left:auto; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--red); color:#fff; font-size:10.5px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; }
      .tabicon { position:relative; }
      /* Yalnizca telefon alt menusunun ikonundaki rozet: .tabcount TabStrip'in sekme sayilarinda da var
         ve kapsamsiz kural Gelir'in sekme sayilarini kirmizi rozete ceviriyordu (kullanici, 2026-10-30). */
      .tabicon > .tabcount { position:absolute; top:-6px; right:-10px; min-width:16px; height:16px; padding:0 4px; border-radius:8px; background:var(--red); color:#fff; font-size:10px; font-weight:800; display:flex; align-items:center; justify-content:center; box-sizing:border-box; border:2px solid var(--surface); }
      @media (max-width:820px) {
        .su-pw, .su-search { font-size:16px; }
        .su-stats { grid-template-columns:repeat(3, minmax(0, 1fr)); }
        .su-stat { padding:10px 12px; }
        .su-stat b { font-size:20px; }
        .su-row, .su-crow { grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:8px 12px; }
        .su-who, .su-tags { grid-column:1 / -1; }
        .su-cgrid { grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); }
        .su-cgrid > .su-field:nth-child(-n+2), .su-cgrid .su-wide { grid-column:1 / -1; }
        .su-cgrid input[type=date] { min-width:0; }
        .su-cact .btn { min-height:44px; flex:1; justify-content:center; }
        .su-tags { justify-content:flex-start; }
      }

      .dm-grid { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:12px 14px; align-items:end; }
      .dm-grid .segrow { width:100%; }
      .dm-go { min-height:42px; justify-content:center; grid-column:1 / -1; justify-self:end; padding:0 22px; }
      .dm-ask { border:1px solid color-mix(in srgb, var(--amber) 45%, var(--line)); background:color-mix(in srgb, var(--amber) 8%, var(--surface));
        border-radius:var(--r-inner); padding:12px 14px; display:flex; flex-direction:column; gap:10px; }
      .dm-ask p { margin:0; font-size:13.5px; line-height:1.45; }
      .dm-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; flex-wrap:wrap; }
      .dm-btns { display:flex; flex-wrap:wrap; gap:8px; }
      .dm-btns .btn, .dm-ask .btn, .dm-open .btn { min-height:40px; }
      .dm-ask .btn { white-space:nowrap; padding:0 14px; }
      /* Sola yasli ve icerigi kadar genis (kullanici, 2026-11-01): tam genislikte ust bari ve gok seridini kapatiyordu. */
      .dmstrip { display:flex; width:fit-content; max-width:100%; box-sizing:border-box; align-items:center; gap:10px; background:#14231D; color:#fff; border-radius:12px; padding:7px 8px 7px 12px;
        font-size:12.5px; font-weight:700; margin:0 0 12px; }
      .app.dark .dmstrip { background:#0A1310; border:1px solid #24332D; }
      .dmtag { background:#F2C94C; color:#14231D; border-radius:6px; padding:2px 7px; font-size:11px; font-weight:800; letter-spacing:.06em; }
      .dmtxt { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .dmstrip button { margin-left:4px; flex:none; font:inherit; font-size:12.5px; font-weight:700; color:#fff; background:transparent;
        border:1px solid #ffffff55; border-radius:9px; padding:6px 11px; min-height:32px; cursor:pointer; }
      .dmstrip button:hover { background:#ffffff1a; }
      @media (max-width:820px) {
        .dm-grid { grid-template-columns:minmax(0, 1fr); }
        .dm-go, .dm-btns .btn, .dm-ask .btn, .dm-open .btn { min-height:44px; }
        .dm-go { justify-self:stretch; }
        .dm-btns .btn { flex:1 1 100%; justify-content:center; }
        .dmstrip button { min-height:36px; }
      }


      .kb { display:flex; flex-direction:column; gap:12px; }
      .kb-form { position:relative; display:flex; }
      .kb-form .kb-search { flex:1; min-width:0; padding-right:92px; }
      .kb-go { position:absolute; right:5px; top:50%; transform:translateY(-50%); display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:0 12px; border:0; border-radius:calc(var(--r-ctl) - 3px); background:var(--sel-bg); color:#fff; font:inherit; font-size:13px; font-weight:700; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .kb-go:disabled { opacity:.45; cursor:default; }
      .kb-mark { background:color-mix(in srgb, var(--amber) 38%, transparent); color:inherit; border-radius:3px; padding:0 1px; }
      .kb-cols { display:grid; grid-template-columns:240px minmax(0, 1fr); gap:16px; align-items:start; }
      .kb-nav { display:flex; flex-direction:column; gap:2px; position:sticky; top:12px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card); padding:8px; }
      .kb-navbtn { text-align:left; border:0; background:none; font:inherit; font-size:13.5px; font-weight:600; color:var(--ink); padding:9px 10px; border-radius:var(--r-ctl); cursor:pointer; line-height:1.3; }
      .kb-navbtn:hover { background:var(--bg); }
      .kb-navbtn.on { background:var(--sel-bg); color:#fff; }
      .kb-main { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card); padding:20px 24px; min-width:0; }
      .kb-doc { font-size:14px; line-height:1.55; color:var(--ink); }
      .kb-doc h2 { font-size:20px; margin:0 0 12px; }
      .kb-doc h3 { font-size:15.5px; margin:22px 0 8px; padding-top:14px; border-top:1px solid var(--line); }
      .kb-doc h3:first-of-type { border-top:0; padding-top:0; }
      .kb-doc h4 { font-size:14px; margin:16px 0 6px; }
      .kb-doc p { margin:0 0 10px; }
      .kb-doc ul { margin:0 0 12px; padding-left:20px; }
      .kb-doc li { margin:0 0 6px; }
      .kb-doc table { width:100%; border-collapse:collapse; margin:0 0 14px; font-size:13px; }
      .kb-doc th, .kb-doc td { border:1px solid var(--line); padding:7px 9px; text-align:left; vertical-align:top; }
      .kb-doc th { background:color-mix(in srgb, var(--ink) 7%, var(--surface)); font-weight:800; }
      .kb-hits { display:flex; flex-direction:column; gap:10px; }
      .kb-count { font-size:12.5px; font-weight:700; color:var(--dim); }
      .kb-hit { display:block; width:100%; text-align:left; font:inherit; color:inherit; background:var(--bg); border:1px solid var(--line); border-radius:var(--r-inner); padding:10px 14px; cursor:pointer; }
      .kb-hit:hover { border-color:var(--primary); }
      .kb-where { display:block; font-size:11.5px; font-weight:800; color:var(--dim); margin-bottom:4px; }
      .kb-hit .kb-doc ul { margin:0; padding-left:18px; }
      .kb-hit .kb-doc p, .kb-hit .kb-doc table { margin:0; }
      @media (max-width:820px) {
        .kb-cols { grid-template-columns:minmax(0, 1fr); }
        .kb-nav { position:static; flex-direction:row; overflow-x:auto; padding:6px; gap:4px; }
        .kb-navbtn { flex:none; white-space:nowrap; font-size:13px; }
        .kb-main { padding:16px; }
        .kb-doc table { display:block; overflow-x:auto; }
      }


      .lpnh { position:fixed; left:0; top:50%; z-index:9999; display:flex; flex-direction:column; align-items:center; gap:6px;
        padding:12px 8px; background:#0E2E29; border:1px solid rgba(255,255,255,.14); border-left:none; border-radius:0 18px 18px 0;
        box-shadow:8px 12px 30px rgba(0,0,0,.45), 1px 2px 6px rgba(0,0,0,.3);
        font-family:'Manrope', system-ui, sans-serif;
        transform:translate(-110%,-50%); opacity:0; transition:transform .35s cubic-bezier(.16,1,.3,1), opacity .2s ease; }
      /* Bolum yuvasi: kapaliyken 0 yukseklikte ve gorunmez; flex boslugunu
         da geri aliyor (-6px), yani kapali yuvalar rayi hic uzatmiyor. */
      .lpnh-slot { display:grid; place-items:center; height:0; margin-top:-6px; opacity:0; visibility:hidden; pointer-events:none;
        transform:scale(.5); transition:height .38s cubic-bezier(.16,1,.3,1), margin .38s cubic-bezier(.16,1,.3,1),
          opacity .25s ease .08s, transform .38s cubic-bezier(.34,1.3,.64,1) .04s, visibility 0s linear .38s; }
      .lpnh-slot.in { height:36px; margin-top:0; opacity:1; visibility:visible; pointer-events:auto; transform:none;
        transition:height .38s cubic-bezier(.16,1,.3,1), margin .38s cubic-bezier(.16,1,.3,1),
          opacity .25s ease .08s, transform .38s cubic-bezier(.34,1.3,.64,1) .04s, visibility 0s; }
      .lpnh-sep2 { height:0; margin:-6px 0 0; opacity:0; transition:height .3s ease, margin .3s ease, opacity .2s ease; }
      .lpnh-sep2.in { height:1px; margin:4px 0; opacity:1; }
      .lpnh.shown { transform:translate(0,-50%); opacity:1; }
      body:has(.overlay) .lpnh { display:none; }
      .lpnh-b { position:relative; width:36px; height:36px; padding:0; border:0; border-radius:10px; display:grid; place-items:center;
        background:transparent; color:#8FA79F; cursor:pointer; -webkit-appearance:none; appearance:none;
        transition:background .15s, color .15s, transform .15s; }
      .lpnh-b svg { width:18px; height:18px; }
      .lpnh-b:hover { background:rgba(255,255,255,.08); color:#E8F5E2; }
      .lpnh-b.on { background:rgba(163,230,53,.14); color:#A3E635; box-shadow:inset 0 0 0 1px rgba(163,230,53,.35); }
      .lpnh-b:active { transform:scale(.94); }
      .lpnh-b:focus-visible { outline:none; box-shadow:0 0 0 2px #0E2E29, 0 0 0 4px #A3E635; }
      .lpnh-top { width:42px; height:42px; border-radius:12px; background:#A3E635; color:#07201D;
        box-shadow:inset 0 1px 0 rgba(255,255,255,.45), 0 6px 16px -6px rgba(163,230,53,.75); }
      .lpnh-top svg { width:19px; height:19px; }
      .lpnh-top:hover { background:#B5F04A; color:#07201D; }
      /* Ok yukari dogru yavas ve sakin suzuluyor (kullanici, 2026-10-21):
         4px'lik bir gidip gelme, 2.8 sn, ray gorunurken. Once yalnizca
         masaustundeydi; ayni gun telefonun hapina da. */
      @keyframes lpnhfloat { 0%, 100% { transform:translateY(1.5px); } 50% { transform:translateY(-2.5px); } }
      .lpnh.shown .lpnh-top svg { animation:lpnhfloat 2.8s ease-in-out infinite; }
      /* Manrope, ve rakamlar esit genislikte: yuzde artarken yazi kipirdamasin. */
      .lpnh-pct { font-family:'Manrope', system-ui, sans-serif; font-variant-numeric:tabular-nums; font-size:12px; font-weight:800;
        color:#D7E4DF; letter-spacing:.01em; margin:2px 0 0; }
      .lpnh-sep { display:block; width:28px; height:1px; background:rgba(255,255,255,.12); margin:4px 0; }
      .lpnh-in { background:rgba(255,255,255,.08); color:#E8F5E2; }
      .lpnh-in:hover { background:rgba(255,255,255,.14); color:#fff; }
      .lpnh-join { width:42px; height:42px; border-radius:12px; border:1px solid #0B8A5E; color:#fff;
        background:linear-gradient(180deg, #22CC92, #0D9A69);
        box-shadow:inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(0,40,26,.32), 0 6px 14px -8px rgba(18,185,129,.6); }
      .lpnh-join:hover { filter:brightness(1.06); background:linear-gradient(180deg, #22CC92, #0D9A69); color:#fff; }
      /* Etiket: solda bir balon, uzerine gelince ya da odaklaninca. */
      .lpnh-b::after { content:attr(data-tip); position:absolute; left:calc(100% + 12px); top:50%; transform:translate(-4px,-50%);
        white-space:nowrap; padding:6px 10px; border-radius:8px; background:#07201D; color:#E8F5E2; font-family:'Manrope', system-ui, sans-serif; font-size:12.5px; font-weight:700;
        border:1px solid rgba(163,230,53,.35); box-shadow:0 6px 18px rgba(0,0,0,.35); opacity:0; pointer-events:none; transition:opacity .15s, transform .15s; }
      .lpnh-b:focus-visible::after { opacity:1; transform:translate(0,-50%); }
      @media (hover:hover) { .lpnh-b:hover::after { opacity:1; transform:translate(0,-50%); } }
      .lpnh-prog { display:none; }
      /* Telefon: yatay bir hap, altta ortada (kullanici, 2026-10-19: dikey ray
         sagdaki metnin cogunu kapatiyordu). 375px'e sigsin diye yuzde yazisi
         yerine hapin ust kenarinda ince bir ilerleme cizgisi; etiket balonlari
         yok (dokunmatikte hover yok). Gizliyken asagida, ekranin disinda. */
      @media (max-width:820px) {
        .lpnh { top:auto; right:auto; left:50%; bottom:calc(12px + env(safe-area-inset-bottom)); flex-direction:row; gap:2px;
          padding:6px 6px; border:1px solid rgba(255,255,255,.14); border-radius:16px; overflow:hidden;
          box-shadow:0 12px 30px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3); transform:translate(-50%, 160%); }
        .lpnh.shown { transform:translate(-50%, 0); }
        .lpnh-b { width:30px; height:30px; }
        .lpnh-b svg { width:16px; height:16px; }
        .lpnh-top, .lpnh-join { width:34px; height:34px; }
        .lpnh-pct { display:none; }
        .lpnh-sep { width:1px; height:20px; margin:0 4px; }
        /* Telefonda hap yatay: yuva genislikten aciliyor. */
        .lpnh-slot { height:auto; width:0; margin:0 0 0 -2px; }
        .lpnh-slot.in { height:auto; width:30px; margin:0;
          transition:width .38s cubic-bezier(.16,1,.3,1), margin .38s cubic-bezier(.16,1,.3,1),
            opacity .25s ease .08s, transform .38s cubic-bezier(.34,1.3,.64,1) .04s, visibility 0s; }
        .lpnh-slot { transition:width .38s cubic-bezier(.16,1,.3,1), margin .38s cubic-bezier(.16,1,.3,1),
            opacity .25s ease .08s, transform .38s cubic-bezier(.34,1.3,.64,1) .04s, visibility 0s linear .38s; }
        .lpnh-sep2 { width:0; height:20px; margin:0 0 0 -2px; }
        .lpnh-sep2.in { width:1px; height:20px; margin:0 4px; }
        .lpnh-b::after { display:none; }
        .lpnh-prog { display:block; position:absolute; left:0; right:0; top:0; height:2px; background:#A3E635;
          transform-origin:left center; transform:scaleX(0); transition:transform .12s linear; }
      }
      @media (max-width:359px) {
        .lpnh { gap:1px; padding:5px 5px; }
        .lpnh-slot { margin-left:-1px; }
        .lpnh-slot.in { width:27px; margin-left:0; }
        .lpnh-b { width:27px; height:27px; }
        .lpnh-top, .lpnh-join { width:30px; height:30px; }
        .lpnh-sep, .lpnh-sep2.in { margin:0 2px; }
      }
      @media (max-height:520px) and (min-width:821px) { .lpnh { gap:2px; padding:6px 5px; } .lpnh-b { width:28px; height:28px; } .lpnh-top, .lpnh-join { width:30px; height:30px; } .lpnh-pct { display:none; } }
      @media (prefers-reduced-motion:reduce) { .lpnh, .lpnh-b, .lpnh-b::after, .lpnh-slot, .lpnh-slot.in, .lpnh-sep2 { transition:none; }
        .lpnh.shown .lpnh-top svg { animation:none; } }


      [data-fade="r"] { -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent); mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent); }
      [data-fade="l"] { -webkit-mask-image:linear-gradient(90deg,transparent,#000 28px); mask-image:linear-gradient(90deg,transparent,#000 28px); }
      [data-fade="l r"] { -webkit-mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 28px),transparent); mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 28px),transparent); }


      .obitem { align-items:center; }
      .obitem { gap:14px; }
      .obring { position:relative; width:52px; height:52px; flex-shrink:0; display:grid; place-items:center; }
      .obring svg { position:absolute; inset:0; width:100%; height:100%; }
      .obring svg circle:last-child { transition:stroke-dashoffset .6s cubic-bezier(.34,1.3,.64,1); }
      .obring b { position:relative; font-size:13px; font-weight:800; color:var(--primary-ink); font-variant-numeric:tabular-nums; }
      .obsegs { display:flex !important; gap:3px; margin:4px 0 2px; max-width:150px; white-space:normal !important; }
      .obsegs i { flex:1; height:4px; border-radius:2px; background:color-mix(in srgb, var(--dim) 28%, transparent); }
      .obsegs i.on { background:var(--primary); }
      .obleft { font-size:11px !important; }
      /* Zilin cevresinde bir sicrama: bir adim tamamlaninca (kullanici,
         2026-10-18). Bir halka disari acilip soluyor, noktalar sacilip
         kayboluyor. */
      .bellwrap.bellsplash .bellbtn { animation:obbellpop .5s cubic-bezier(.34,1.56,.64,1); }
      .bellwrap.bellsplash::before, .bellwrap.bellsplash::after { content:""; position:absolute; left:50%; top:50%; width:38px; height:38px;
        margin:-19px 0 0 -19px; border-radius:50%; pointer-events:none; }
      .bellwrap.bellsplash::before { border:2px solid var(--primary); animation:obring 1s ease-out forwards; }
      .bellwrap.bellsplash::after { background:radial-gradient(circle, var(--primary) 0 2px, transparent 2.5px) 0 0 / 12px 12px;
        -webkit-mask:radial-gradient(circle, transparent 46%, #000 48%); mask:radial-gradient(circle, transparent 46%, #000 48%);
        animation:obspark .9s ease-out forwards; }
      @keyframes obbellpop { 0% { transform:scale(1); } 40% { transform:scale(1.18) rotate(-8deg); } 70% { transform:scale(.96) rotate(5deg); } 100% { transform:none; } }
      @keyframes obring { from { transform:scale(.8); opacity:.9; } to { transform:scale(2.2); opacity:0; } }
      @keyframes obspark { from { transform:scale(.9); opacity:1; } to { transform:scale(2.6); opacity:0; } }
      /* Eksik alan, yonlendirme (kullanici, 2026-10-18): yumusak bir halka;
         ilki ayrica flashfocus ile nabiz atiyor. */
      .guidefield { box-shadow:0 0 0 2px color-mix(in srgb, var(--primary) 55%, transparent) !important; border-radius:9px; }
      /* Gorsel eksikse halka alana degil, yuklemenin kendisine: yer tutucu
         daire ve "Fotograf yukle" dugmesi. Kaydet de ayni dilde parliyor,
         cunku yazilan hicbir sey ona basilmadan kaydedilmiyor (kullanici,
         2026-10-18). */
      .guidepick .imgacts .btn:first-of-type, .btn.guideglow { animation:obglow 1.8s ease-in-out infinite; }
      .profphoto.guidering { box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 55%, transparent); }
      @keyframes obglow {
        0%,100% { box-shadow:0 0 0 2px color-mix(in srgb, var(--primary) 45%, transparent), 0 0 0 0 color-mix(in srgb, var(--primary) 0%, transparent); }
        50% { box-shadow:0 0 0 2px color-mix(in srgb, var(--primary) 70%, transparent), 0 0 16px 4px color-mix(in srgb, var(--primary) 45%, transparent); }
      }
      @media (prefers-reduced-motion:reduce) {
        .bellwrap.bellsplash .bellbtn, .bellwrap.bellsplash::before, .bellwrap.bellsplash::after { animation:none; display:none; }
        .obring svg circle:last-child { transition:none; }
        .guidepick .imgacts .btn:first-of-type, .btn.guideglow { animation:none; box-shadow:0 0 0 2px var(--primary); }
      }


.gmark{flex:none;display:block}
.gnote{display:flex;align-items:flex-start;gap:8px;margin:2px 0 0;font-size:13.5px;line-height:1.45;color:var(--dim)}
.gnote .gmark{margin-top:1px}
.gbtn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;padding:0 16px;border-radius:var(--r-ctl);border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-weight:600;font-size:15px;cursor:pointer;-webkit-appearance:none;appearance:none}
.gbtn:hover{border-color:var(--dim)}
.gbtn:disabled{opacity:.6;cursor:default}
.gor{display:flex;align-items:center;gap:10px;margin:2px 0;font-size:12.5px;color:var(--dim)}
.gor::before,.gor::after{content:"";flex:1;height:1px;background:var(--line)}
.pwways{display:flex;align-items:flex-start;gap:8px;margin:0 0 12px;font-size:13.5px;line-height:1.45;color:var(--dim);max-width:640px}
.pwways.solo{color:var(--ink)}
.pwways .gmark{margin-top:1px}
.gnotice{margin:0;padding:10px 12px;border-radius:var(--r-ctl);font-size:13.5px;line-height:1.45;background:color-mix(in srgb, var(--primary) 10%, transparent);color:var(--ink)}
.gnotice.warn{background:color-mix(in srgb, var(--amber) 14%, transparent)}

      .lockbtn { -webkit-appearance:none; appearance:none; padding:0; width:34px; height:34px; min-width:34px; border-radius:50%;
        display:inline-flex; align-items:center; justify-content:center; cursor:pointer; flex-shrink:0;
        border:1px solid var(--line); background:var(--surface); color:var(--dim); }
      .lockbtn svg { width:16px; height:16px; }
      .lockbtn.on { color:var(--primary-ink); border-color:color-mix(in srgb, var(--primary) 45%, var(--line));
        background:color-mix(in srgb, var(--primary) 10%, var(--surface)); }
      @media (hover:hover) { .lockbtn:hover { border-color:var(--primary); color:var(--ink); } }
      .lockedval { display:flex; align-items:center; min-height:38px; padding:0 2px; font-weight:700; color:var(--ink); }
      .limitedit, .fxacts { display:flex; align-items:flex-end; gap:8px; flex-wrap:wrap; }
      .limitedit .lockbtn, .fxacts .lockbtn { margin-bottom:2px; }
      .skytemp { letter-spacing:.06em; }
      .skycond { font-size:11px; font-weight:500; color:var(--faint); letter-spacing:.02em; margin-top:1px; white-space:nowrap; }
      /* Placed, not moved: the one render after a long absence. */
      .skyjump .skywash { transition:none; }
      @media (prefers-reduced-motion:reduce){ .skywash { transition:none; } }
      /* A phone gets the light and not the sun. Measured at 390px: the path
         layer would start at x=165 while the greeting runs to 250, the month
         to 296 and the sub-line to 372, so the sun would sit on top of all
         three. The light has no edge, so it can lie under them. */
      @media (max-width:820px), (max-height:480px) and (orientation:landscape){
        /* A phone carries the time in its own status bar, an inch above this
           one, and has no room for a second. */
        .skypath, .skyclock { display:none; }
      }
      /* Telefonun cizimi, seridin tamami. Masaustunde hic cizilmiyor: orada
         gercek yay ve saat zaten duruyor ve ikisi ust uste binerdi. */
      .skymobwrap { position:absolute; inset:0; pointer-events:none; }
      /* Gok cismi kendi katmaninda, yalnizca transform ile 4px inip cikiyor.
         Secici ">" ile: ikonun kendi ic <svg>si de "svg" ve %100 alirsa
         cisim katman boyuna buyuyup kayiyordu (375te olculdu).
         (src/sky-mobile.jsx SkyBody): kompozitorde kosuyor, boyama yok.
         SVG konumlandirilmis ve sonra geliyor, yani tepeler halenin ustunde. */
      .skymobwrap > .skymob { position:relative; }
      .skybody { position:absolute; pointer-events:none; will-change:transform; animation:skybob 7s ease-in-out infinite; }
      .skybody > svg { display:block; width:100%; height:100%; overflow:visible; }
      @keyframes skybob { 0%,100% { transform:translate3d(0,0,0); } 50% { transform:translate3d(0,-4px,0); } }
      @media (prefers-reduced-motion:reduce){ .skybody { animation:none; } }
      @media (min-width:821px) and (min-height:481px){ .skymobwrap { display:none; } }
      /* Yildizlar cok hafif parliyor ve soniyor. Her birinin kendi suresi ve
         gecikmesi var (--t, --d, elemanin kendi style'inda): ayni anda yanip
         sonen bir gokyuzu, gokyuzu degil bir ikaz lambasidir. Sonme tam
         degil, yarisina kadar.
         UC TUR, sonsuz degil (2026-10-22, telefon isiniyordu): maskeli bir
         SVG'nin icindeki her parilti butun seridi her karede yeniden
         boyatiyordu. Uc turdan sonra yildiz kendi parlakliginda duruyor;
         ekrana her donuste yeniden basliyor. */
      .skymob .skystar { opacity:var(--o); animation:skytwinkle var(--t) ease-in-out var(--d) 3; }
      @keyframes skytwinkle {
        0%, 100% { opacity:var(--o); }
        50% { opacity:calc(var(--o) * .3); }
      }
      /* Kus. Dongunun ilk altida biri ucus, geri kalani bekleme; yani
         ekranda seyrek gorunuyor. Sagdan sola ve hafifce yukari gidiyor,
         sola dogru sonen maskenin icinde oldugu icin cikisi kendiliginden
         soluyor.
         Hat gok cisminin SOLUNDAN ve biraz ustunden geciyor; selamlamaya ya
         da skora yaklasmasi telefonda dert degil (kullanici, 2026-10-13).
         Sola dogru ucarken maskenin icinde zaten soluyor. */
      /* TEK gecis (2026-10-22): eskiden 64 sn'lik sonsuz bir donguydu ve
         kus gorunmezken de kanatlari cirpiyordu, yani seridin 5/6'sinda bos
         gokyuzu her karede boyaniyordu. Simdi ekran acilinca bir kez geciyor
         (eski dongunun ucus kismi, ayni hiz). */
      .skymob .skybird { opacity:0; animation:skybird 10.9s linear 1 both; }
      .skymob .skybird path { opacity:.32; }
      @keyframes skybird {
        0% { transform:translate(344px, 74px) scale(1); opacity:0; }
        17.6% { opacity:.5; }
        76.5% { opacity:.5; }
        100% { transform:translate(146px, 46px) scale(.84); opacity:0; }
      }
      /* Kanat cirpma: iki yay dikeyde eziliyor ve aciliyor. Yolun kendisini
         animasyonlamak tarayicilar arasinda guvenilir degil, scaleY her
         yerde ayni. */
      .skymob .skywing { animation:skyflap .62s ease-in-out 18; }
      @keyframes skyflap { 0%, 100% { transform:scaleY(1); } 50% { transform:scaleY(.45); } }
      @media (prefers-reduced-motion:reduce){
        .skymob .skystar, .skymob .skybird, .skymob .skywing { animation:none; }
        .skymob .skybird { display:none; }
      }
      /* Masaustunde gok seridi daha yuksek (kullanici, 2026-10-12): +48px.
         Serit icerigin ARKASINDA durdugu icin yalnizca boyunu buyutmek bos bir
         uzama olurdu; ay satiri da ayni kadar asagi iniyor, yani serit ay
         satirinin ustunde yine ayni yerde sonuyor. 16 selamlamanin ustunde,
         32 alt cumlenin altinda. Saat seridin %40'inda, kendiliginden iniyor. */
      @media (min-width:821px) and (min-height:481px){
        .sky { height:284px; }
        .hello { margin-top:18px; }
        .hellosub { margin-bottom:46px; }
      }
      /* The account face. Same 38px square as the bell beside it, so the two
         read as one pair of tools rather than two unrelated controls. */
      .topuser { position:relative; flex-shrink:0; }
      /* Tam daire ve telefondaki gibi donen renk halkasi (kullanici,
         2026-10-12). Yuz 2.5px iceride, halka onun arkasindan gorunuyor. */
      .topuserbtn { position:relative; display:block; width:38px; height:38px; padding:0; border:none;
        border-radius:50%; background:none; cursor:pointer; }
      /* Halka yuzun USTUNDE ve ici bos (kullanici, 2026-10-20). Altta durup
         donerken ayri bir GPU katmani oluyordu ve ustune binen yuz de kendi
         katmanina aliniyordu; Windows %125'te o katman yarim piksele dusup
         bulaniklasiyordu (olculdu: keskinlik %56, halka ustteyken %101). */
      .topuserring { position:absolute; inset:0; border-radius:50%; z-index:1;
        -webkit-mask:radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
        mask:radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
        background:conic-gradient(from 0deg, var(--primary), color-mix(in srgb, var(--primary) 62%, #FFF),
          var(--primary-ink), color-mix(in srgb, var(--primary) 58%, var(--ink)),
          color-mix(in srgb, var(--primary) 78%, #FFF), var(--primary));
        animation:topuserring 5s linear infinite; }
      /* Whole pixels: a 2.5px inset rounded differently on each side at 100%
         zoom and the ring came out 3px on one side, 2px on the other. */
      .topuserface { position:absolute; inset:2px; border-radius:50%; overflow:hidden; background:var(--surface);
        display:flex; align-items:center; justify-content:center; }
      .topuserbtn .userphoto, .topuserbtn .userdot { width:100%; height:100%; border-radius:50%; object-fit:cover; }
      @keyframes topuserring { to { transform:rotate(360deg); } }
      /* Yuz ve calisma alaninin logosu ust uste (kullanici, 2026-10-19). Arkadaki
         saga ve yukari kaymis, kucuk ve bulanik. Ikisi ortak bir merkezin
         etrafinda yorungede: her fare girisinde yarim tur, hep saat yonunde,
         ve fare cikinca oyle kaliyor. Kap donerken her yuz kendi merkezinde
         ters yone ayni aciyla donuyor, yani hicbiri egilmiyor; ayni egri ve
         sure oldugu icin yay hedefi asarken de dik kaliyorlar. Hangi
         katmanin ustte oldugu (z-index) gecisin ortasinda donuyor. */
      .topuserme { position:absolute; inset:0; border-radius:50%; isolation:isolate; }
      /* Donus yalnizca .spin boyunca bir rotate. Bitince kap 0 dereceye ve
         yuzler donmemis yerlerine (home/off) GECISSIZ geciyor; goruntu ayni,
         ama one gelen gorsel artik dondurulmus bir katmanda degil. */
      .topuserorbit { position:absolute; inset:0; transform-origin:calc(50% + 7.5px) calc(50% - 6px);
        transform:rotate(var(--th, 0deg)); }
      .topuserorbit.spin { transition:transform .95s cubic-bezier(.34,1.25,.64,1); }
      .topuserorbit .topuserme, .topuserorbit .topuserws { position:absolute; inset:0; border-radius:50%;
        transition:filter .7s ease, opacity .7s ease, z-index 0s linear .4s; }
      .topuserorbit.spin .topuserme, .topuserorbit.spin .topuserws {
        transition:transform .95s cubic-bezier(.34,1.25,.64,1), filter .7s ease, opacity .7s ease, z-index 0s linear .4s; }
      /* Logonun da donen halkasi var (kullanici, 2026-10-20), turuncu-pembe:
         yuzunku temanin rengi, ikisi boylece ayri okunuyor. Yapi yuzunkuyle
         ayni (halka ustte ve ici bos), yani ayni keskinlik olcumu gecerli. */
      .topuserorbit .topuserws { pointer-events:none; isolation:isolate; }
      .topuserws .topuserface { background:#FFF; }
      .topuserring.warm { background:conic-gradient(from 0deg, #FF7A3D, #FF9F5A, #F25C8A, #FF6FA0, #FFB070, #FF7A3D); }
      .topuserorbit .home { transform:rotate(calc(var(--th, 0deg) * -1)) scale(var(--s, 1)); }
      .topuserorbit .off { transform:translate(15px,-12px) rotate(calc(var(--th, 0deg) * -1)) scale(var(--s, 1)); }
      .topuserorbit .front { --s:1; z-index:2; }
      .topuserorbit .back { --s:.62; z-index:1; filter:blur(1.4px); opacity:.8; }
      /* Arkadaki halka durur: donen bir katman one gelen logonun altinda
         kalirsa logo ayni sebeple bulaniklasiyordu. */
      .topuserorbit .back .topuserring { animation:none; }
      .topuserws img { width:100%; height:100%; object-fit:cover; display:block; }
      @media (prefers-reduced-motion:reduce) { .topuserorbit, .topuserorbit .topuserme, .topuserorbit .topuserws,
        .topuserorbit.spin, .topuserorbit.spin .topuserme, .topuserorbit.spin .topuserws { transition:none; } }
      @media (prefers-reduced-motion:reduce) { .topuserring { animation:none; } }
      .usermenu { position:absolute; top:calc(100% + 8px); right:0; width:196px; background:var(--surface);
        border:1px solid var(--line); border-radius:13px; box-shadow:0 16px 44px rgba(14,33,27,.22);
        z-index:90; overflow:hidden; padding:5px; }
      .usermhd { display:flex; align-items:center; gap:9px; padding:7px 8px 9px; margin-bottom:4px;
        border-bottom:1px solid var(--line); width:100%; border-left:none; border-right:none; border-top:none;
        background:transparent; font:inherit; cursor:pointer; text-align:left; border-radius:9px 9px 0 0; }
      .usermhd:hover { background:var(--bg); }
      .usermname { font-size:13px; font-weight:800; color:var(--ink); overflow:hidden;
        text-overflow:ellipsis; white-space:nowrap; }
      .usermtag { font-weight:400; color:var(--dim); }
      .usermitem { display:flex; align-items:center; gap:9px; width:100%; padding:8px 9px; border:none;
        background:transparent; border-radius:9px; font:inherit; font-size:12.5px; font-weight:700;
        color:var(--dim); cursor:pointer; text-align:left; }
      .usermitem svg { width:16px; height:16px; flex:0 0 auto; }
      .usermitem .traildot { margin-left:auto; }
      /* A badge on the face, ringed in the bar's own colour so it reads as
         sitting on the button rather than inside it. */
      .topdot { position:absolute; top:-2px; right:-2px; box-shadow:0 0 0 2px var(--bg); }
      .topcount { position:absolute; top:-6px; right:-6px; margin:0; box-shadow:0 0 0 2px var(--bg); z-index:2; pointer-events:none; }
      .topcount ~ .topdot { top:auto; bottom:-2px; }
      .usermitem:hover { background:var(--bg); color:var(--ink); }
      .usermitem.danger:hover { color:var(--red); }
      .mobbell { display:none; }
      @media (max-width:820px), (max-height:480px) and (orientation:landscape){ .topuser, .topbell { display:none !important; } .mobbell { display:inline-flex; margin-right:2px; } }
      .bellwrap { position:relative; flex-shrink:0; }
      .bellbtn { position:relative; display:flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:11px; border:1px solid var(--line); background:var(--surface); color:var(--ink); cursor:pointer; }
      .bellbtn:hover { border-color:var(--primary); color:var(--primary); }
      .bellbtn svg { width:19px; height:19px; }
      /* Masaustu ust bardaki zil cercevesiz (kullanici, 2026-10-19); uzerine
         gelince yalnizca renk degisiyor. Telefonun zili zaten cercevesiz. */
      /* Masaustu zili cercevesiz VE zeminsiz (kullanici, 2026-10-20): kenar
         saydamken beyaz zemin gri ust barda hala bir kutu gibi okunuyordu.
         Uzerine gelince yalnizca hafif bir renk. */
      .topbell .bellbtn, .topbell .bellbtn:hover { border-color:transparent; background:transparent; }
      .topbell .bellbtn:hover { background:color-mix(in srgb, var(--primary) 10%, transparent); }
      /* Zemin gidince ikonun sagindaki 9px bos kaliyordu; zil 4px saga. */
      .topbell { position:relative; left:4px; }
      .bellbadge { position:absolute; top:-5px; right:-5px; min-width:17px; height:17px; padding:0 4px; border-radius:9px; background:var(--dim); color:#fff; font-size:10px; font-weight:800; display:flex; align-items:center; justify-content:center; }
      .bellbadge.urgent { background:var(--red); }
      /* Yalnizca bilgi varken sayisiz nokta (Apple tab-bars.md: rozet kritik bilgiye ayrilir). */
      .bellbadge.dot { min-width:0; width:9px; height:9px; padding:0; top:3px; right:3px; background:var(--primary); box-sizing:content-box; border:2px solid var(--surface); }
      /* Telefonda panelin disina dokunmak YALNIZCA kapatir (kullanici, 2026-11-05): useDismiss mousedown'da kapatinca ardindan gelen
         tiklama altindaki ogeye gidiyordu. Panelle ayni kapsayicida (bellwrap) saydam bir perde tiklamayi yutuyor. */
      .bellscrim { display:none; }
      @media (max-width:820px), (max-height:480px) and (orientation:landscape){ .bellscrim { display:block; position:fixed; inset:0; z-index:89; background:transparent; } }
      .bellpanel { position:absolute; top:calc(100% + 8px); right:0; width:340px; max-width:88vw; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-panel); box-shadow:0 16px 44px rgba(14,33,27,.22); z-index:90; overflow:hidden; }
      .bellhd { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:4px 6px 4px 16px; min-height:52px; border-bottom:1px solid var(--line); font-size:15px; }
      .bellhd .bellhdbtn, .bellfoot .bellhdbtn { min-height:44px; padding:0 10px; text-decoration:none; }
      .bellbody { max-height:min(66vh,520px); overflow-y:auto; overflow-x:hidden; }
      .belldim { color:var(--dim); font-size:12.5px; }
      /* Grup basligi: "Dikkat isteyenler" ve "Bilgi". Aciliyetin ikinci tasiyicisi (ilki etiket ve simge). */
      .bellgl { display:flex; justify-content:space-between; align-items:center; padding:10px 16px 4px; font-size:11.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--dim); }
      .bellgl em { font-style:normal; color:color-mix(in srgb, var(--red) 70%, var(--ink)); }
      /* Satir: onde .bellfg, arkasinda iki kaydirma eylemi (.bellswacts). Dikey kaydirma sayfanin (pan-y), yatay satirin. */
      .bellitem { position:relative; border-top:1px solid var(--line); overflow:hidden; touch-action:pan-y; }
      .bellfg { position:relative; display:flex; align-items:flex-start; gap:12px; padding:10px 2px 10px 16px; min-height:60px; background:var(--surface); transition:transform .22s cubic-bezier(.2,.8,.2,1); }
      .bellitem:hover .bellfg { background:var(--bg); }
      .bellitem.swiped .bellfg { transform:translate3d(-136px,0,0); box-shadow:6px 0 14px rgba(0,0,0,.1); }
      .bellswacts { position:absolute; right:0; top:0; bottom:0; width:136px; display:grid; grid-template-columns:1fr 1fr; }
      .bellswa { border:none; padding:0; font-family:inherit; font-size:12.5px; font-weight:800; line-height:1.2; color:#0E211B; cursor:pointer; }
      .bellswa.read { background:var(--primary); }
      .bellswa.snz { background:#E0B052; }
      /* Simge dairesi: tonu SEKILLE de soyluyor (ucgen, saat, zil); renk ikinci. */
      .bellglyph { width:36px; height:36px; border-radius:50%; display:grid; place-items:center; flex:none; margin-top:1px; background:var(--bg); color:var(--ink); border:1px solid var(--line); }
      .bellglyph svg { width:19px; height:19px; }
      .bellitem.bt-danger .bellglyph { background:color-mix(in srgb, var(--red) 14%, var(--surface)); color:color-mix(in srgb, var(--red) 70%, var(--ink)); border-color:transparent; }
      .bellitem.bt-warn .bellglyph { background:color-mix(in srgb, var(--amber) 18%, var(--surface)); color:color-mix(in srgb, var(--amber) 55%, var(--ink)); border-color:transparent; }
      .bellitem.read .bellglyph { opacity:.55; }
      /* Simge cercevesiz ve zeminsiz, temanin pop renginde (kullanici, 2026-11-10). Ton artik sekilde (ucgen, saat, zil). */
      .bellglyph, .bellitem.bt-danger .bellglyph, .bellitem.bt-warn .bellglyph { background:transparent; border-color:transparent; color:var(--pop); }
      /* Okunmamis satir (kullanici, 2026-11-10: koyu temada hangisi okunmus anlasilmiyordu): solda temanin pop renginde nokta ve
         hafif renkli zemin. Okunmus satir duz yuzeyde, soluk. */
      .bellitem.unread .bellfg { background:color-mix(in srgb, var(--primary) 8%, var(--surface)); }
      .bellitem.unread:hover .bellfg { background:color-mix(in srgb, var(--primary) 13%, var(--surface)); }
      .bellnew { position:absolute; left:5px; top:27px; width:7px; height:7px; border-radius:50%; background:var(--sel-bg); }
      .app.dark .bellnew { background:var(--pop); } /* acik modda limon pop beyaz zeminde kayboluyor */
      .bellrowbody { flex:1; min-width:0; }
      .bellmain { display:block; width:100%; text-align:left; border:none; background:transparent; padding:0; cursor:pointer; font:inherit; color:inherit; }
      .bellitembody { display:flex; flex-direction:column; gap:2px; min-width:0; align-items:flex-start; }
      .bellitembody b { font-size:14px; color:var(--ink); font-weight:700; line-height:1.25; overflow-wrap:anywhere; }
      .bellitembody span { font-size:12.5px; color:var(--dim); overflow-wrap:break-word; }
      .bellchip { display:inline-block; margin-top:3px; padding:1px 8px; border-radius:8px; font-size:11.5px; font-weight:800; font-style:normal; line-height:1.5; }
      .bellchip.late { background:color-mix(in srgb, var(--red) 14%, var(--surface)); color:color-mix(in srgb, var(--red) 70%, var(--ink)); }
      .bellchip.soon { background:color-mix(in srgb, var(--amber) 18%, var(--surface)); color:color-mix(in srgb, var(--amber) 55%, var(--ink)); }
      .bellitem.read .bellitembody b { font-weight:500; color:var(--dim); }
      .bellitem.read .bellitembody span { color:var(--faint); }
      .bellacts { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
      .bellpill { min-height:36px; padding:0 12px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink); font-family:inherit; font-size:12.5px; font-weight:800; cursor:pointer; }
      .bellpill.primary { border-color:var(--primary); color:var(--primary-ink); }
      /* 40px: eskisi 22px'ti (Apple accessibility.md: varsayilan 44, en az 28). */
      .belliconbtn { flex:none; align-self:center; width:40px; height:40px; border-radius:var(--r-ctl); border:none; background:transparent; color:var(--dim); font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
      .belliconbtn:hover { background:var(--line); color:var(--ink); }
      /* Katlanmis satir: "Ipuclari ve yenilikler". Acilinca onboarding ve haberler hemen altinda. */
      .bellmore { display:flex; align-items:center; gap:12px; width:100%; min-height:52px; padding:8px 12px 8px 16px; border:none; border-top:1px solid var(--line); background:transparent; cursor:pointer; font-family:inherit; text-align:left; color:var(--ink); }
      .bellmorelbl { flex:1; font-size:14px; font-weight:700; }
      .bellmore small { color:var(--dim); font-size:12.5px; font-weight:700; }
      .bellmorech { width:16px; height:16px; color:var(--dim); transition:transform .18s ease; }
      .bellmorech.open { transform:rotate(90deg); }
      /* Bos durum: "Hepsi tamam" ve sirada ne var. */
      .bellempty { padding:22px 18px 16px; display:flex; flex-direction:column; align-items:center; gap:2px; text-align:center; }
      .bellempty > b { font-size:17px; color:var(--ink); }
      .bellok { width:52px; height:52px; border-radius:50%; background:var(--mint); color:var(--green); display:grid; place-items:center; margin-bottom:8px; }
      .bellok svg { width:26px; height:26px; }
      .bellnext { margin-top:14px; width:100%; display:flex; gap:12px; align-items:center; text-align:left; padding:10px 14px; border:none; border-radius:var(--r-inner); background:var(--bg); cursor:pointer; font-family:inherit; color:inherit; }
      .bellnext .bellglyph { margin-top:0; }
      .bellnextbody { display:flex; flex-direction:column; min-width:0; }
      .bellnextbody i { font-style:normal; font-size:11.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--dim); }
      .bellnextbody b { font-size:14px; color:var(--ink); }
      .bellnextbody span { font-size:12.5px; color:var(--dim); }
      /* Dibi: yalnizca yapilacak bir sey varsa durum satiri, sonra ayarlara giden tam genislikte satir. */
      .bellfoot { border-top:1px solid var(--line); display:flex; flex-direction:column; align-items:stretch; }
      .bellfoot > .belldim { padding:10px 16px 0; }
      .bellfoot > .linkbtn { text-align:left; padding-left:16px; }
      .bellfootlink { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:48px; padding:0 16px; border:none; background:transparent; cursor:pointer; font-family:inherit; font-size:13px; font-weight:700; color:var(--primary-ink); }
      .bellfootlink svg { width:16px; height:16px; }
      @media (max-width:820px), (max-height:480px) and (orientation:landscape){ .mobbell .bellpanel { position:fixed; top:66px; right:8px; left:8px; bottom:auto; width:auto; max-width:none; max-height:calc(100dvh - 78px); overflow-y:auto; } }
      /* No anchoring: when the whole screen is swapped the browser tries to
         keep "where you were" by picking an element and holding it still,
         which is exactly what a new page must not do. */
      main { width:100%; margin:10px 0 60px; padding:0 22px; overflow-anchor:none; }
      .stack { display:flex; flex-direction:column; gap:16px; }
      .monthpick { display:flex; align-items:center; gap:10px; }
      /* The month heading. Bottoms align rather than centres: the title is two
         lines and everything beside it is one, so a centred row would leave the
         chips floating against the big name's middle. */
      /* The month is the subject of every figure under it, and scrolling used
         to take that away: ten rows down, nothing on the page said which month
         you were reading. So the heading stays.
         It bleeds to the edges of main's padding, because a band that stops
         22px short of each side lets the cards slide past in the gap. The
         fade under it is a gradient from the page's own background, so at
         rest it is invisible (what is below is the same colour) and under a
         card it reads as a soft edge instead of a rule. */
      .mheadwrap { display:flex; flex-direction:column; gap:11px;
        position:sticky; top:0; z-index:20;
        margin:-6px -22px 0; padding:6px 22px 11px; }
      /* Only once the row has actually left its place. At rest the band would
         be the page's own colour over the page's own colour, so painting it
         then buys nothing and costs a visible edge wherever the background is
         not flat.
         A translucent band with a blurred backdrop was tried first, so the
         Overview's sky strip could show through. It was dropped: measured in
         this project's headless Chromium, backdrop-filter:invert works and
         backdrop-filter:blur does nothing at all, so the one thing holding the
         design up could not be verified. The Overview does not stick its month
         header any more (see MonthHead's "sticky"), which removes the problem
         rather than painting over it. */
      .mheadwrap.stuck { background:linear-gradient(var(--bg) calc(100% - 10px), transparent); }
      /* Not every screen sticks it. The Overview is the one page with the sky
         strip painted behind this row, and a band parked over that strip cut
         it with a dark rectangle; it is also the one page that was never asked
         to stick, so it simply does not. */
      /* Ay secicinin acilan paneli buna gore konumlaniyor (.mdrawer), o yuzden relative; z-index auto: akistaki yeri ve ustteki katmanlar eskisi gibi. */
      .mheadwrap.flat { position:relative; z-index:auto; top:auto; }
      /* Out of flow, not merely zero-height: the parent is a flex column with
         a 16px gap, and a zero-height child still counts as a child, so an
         extra gap appeared above the month on every page that carries one.
         Measured at 375px: the column was 1108px tall with the sentinel in
         flow and 1092px without it. Absolutely positioned with no offsets, it
         keeps the place it would have had and takes up none of it.
         It must stay OUTSIDE the sticky element: a sentinel that sticks along
         with the band could never leave the viewport, and the band would then
         never learn that it had stuck. */
      .mspy { position:absolute; height:0; width:0; margin:0; padding:0; }
      /* On a phone the chips live here, below the sticky block, so what sticks
         is the month and nothing else. See MonthHead: a sticky element sticks
         only inside its own parent's box, so this is a different box. */
      .mheadrest { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:11px; }
      .mhead { display:flex; align-items:flex-end; gap:12px; flex-wrap:wrap; }
      .mtitle { border:none; background:transparent; font:inherit; color:var(--ink);
        padding:0; text-align:left; cursor:pointer; min-width:0; }
      .mtitle i { display:block; font-style:normal; font-size:10.5px; font-weight:800;
        letter-spacing:.09em; text-transform:uppercase; color:var(--faint); }
      .mnamewrap { position:relative; display:block; }
      .mghost, .mtitle b { font-size:27px; font-weight:800; letter-spacing:-.02em; line-height:1.1;
        white-space:nowrap; }
      .mghost { display:grid; visibility:hidden; }
      .mghost > span { grid-area:1 / 1; }
      .mtitle b { position:absolute; left:0; top:0; margin:0; }
      .mtitle:hover b, .mtitle:hover .mcar { color:var(--primary-ink); }
      /* Ucgen biraz buyuk ve yazinin ORTASINDA (kullanici, 2026-10-20): taban
         cizgisinde dururken asagida kaliyordu. Hayalet ayni bicimde, yani
         ayrilan genislik ayni kaliyor. */
      .mcar { font-size:15px; font-weight:700; line-height:1; color:var(--faint); margin-left:8px; transform:translateY(-1px); }
      .mtitle b, .mghost > span { display:inline-flex; align-items:center; }
      /* Raporlar'in donem secici: Ay / Ceyrek / Yil, ve ceyrek ile yilda ay
         seridinin yerine baslik + oklar (ay seridinin .mnav oklari). */
      .rngbar { display:flex; }
      .rngseg { flex:0 0 auto; }
      /* Ay / Ceyrek / Yil / Ozel ayni genislikte: en uzun etiketin sutunu
         hepsine yetiyor, "Ay" artik dar bir kutuda kalmiyor. Telefonda
         asagidaki kural zaten tam genislige bolusturuyor. */
      .rngbar .rngseg.segrow { display:inline-grid; grid-auto-flow:column; grid-auto-columns:1fr; }
      .rngbar .rngseg .seg { text-align:center; justify-content:center; }
      .rngnav { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
      .rngtitle { font-size:27px; font-weight:800; letter-spacing:-.02em; line-height:1.1; color:var(--ink); }
      .rngnav .mnav button:disabled { opacity:.4; cursor:default; }
      .rngnav .mnav button:disabled:hover { border-color:var(--line); color:var(--dim); }
      .rngnow { font-size:12.5px; }
      /* Islem satiri okuma penceresini aciyor (TxViewModal). */
      tr.txopen { cursor:pointer; }
      .txvhero { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:2px 0 10px; }
      .txvamt { font-size:28px; font-weight:800; letter-spacing:-.02em; }
      .txvbadges { display:inline-flex; align-items:center; gap:8px; }
      .txvl { display:grid; grid-template-columns:minmax(110px, auto) 1fr; gap:0 18px; margin:0; border-top:1px solid var(--line); }
      .txvl dt, .txvl dd { margin:0; padding:9px 0; border-bottom:1px solid var(--line); font-size:13px; }
      .txvl > :nth-last-child(-n+2) { border-bottom:none; }
      .txvl dt { color:var(--dim); font-weight:600; }
      .txvl dd { color:var(--ink); font-weight:600; text-align:right; min-width:0; overflow-wrap:anywhere; }
      .txvnotes { margin-top:12px; font-size:13px; color:var(--dim); }
      .txvnotes .cellnote { white-space:pre-wrap; }
      .fgtitle { display:inline-flex; align-items:center; gap:9px; }
      .fgtitle svg { width:20px; height:20px; flex:none; color:var(--primary-ink); }
      .lgrangebar { margin-bottom:2px; }
      .lgrngwrap { position:relative; display:inline-flex; }
      .lgrangepanel .lgrnglbl { display:none; }
      .lgrangepanel { position:absolute; top:calc(100% + 8px); right:0; z-index:20; display:flex; align-items:flex-end; gap:14px; flex-wrap:wrap;
        width:min(480px, calc(100vw - 32px)); max-width:calc(100vw - 32px); padding:12px 14px; background:var(--surface); border:1px solid var(--line); border-radius:12px; box-shadow:0 10px 28px rgba(0,0,0,.14); }
      @media (max-width:820px) {
        .lgrngwrap { display:contents; }
        .lgrangepanel { position:static; order:9; flex:1 1 100%; min-width:0; width:auto; max-width:100%; padding:2px 0 4px; background:none; border:0; border-radius:0; box-shadow:none;
          flex-wrap:wrap; align-items:center; gap:8px 10px; }
        /* Telefonda kendi kutusu (K-669): baslik, hazir araliklar, iki tarih yan yana tam genislikte, altta Kaldir ve Tamam. */
        .lgrangepanel { background:var(--bg); border:1px solid var(--line); border-radius:var(--r-inner); padding:12px; gap:10px; }
        .lgrangepanel .lgrnglbl { display:block; flex:1 0 100%; font-size:13px; font-weight:700; line-height:1.25; color:var(--ink); }
        .lgrangepanel .lgrngpre { flex:1 0 100%; }
        .lgrangepanel .drfields { flex:1 1 100%; min-width:0; width:100%; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
        .lgrangepanel .drf { min-width:0; gap:5px; font-size:12px; }
        .lgrangepanel .drf input { min-width:0; width:100%; height:44px; font-size:16px; padding:0 10px; border-radius:var(--r-ctl); -webkit-appearance:none; appearance:none; text-align:left; }
        .lgrangepanel .drfph { left:11px; font-size:16px; }
        .lgrangepanel > .lgrngacts { flex:1 0 100%; justify-content:space-between; }
        .lgrangepanel > .lgrngacts .btn { margin-left:auto; }
        .lgrngacts .btn { min-height:40px; }
      }
      /* Duzenli kalemi durdur (K-672): "Tekrar" seciminin yaninda; durum ve soru altinda tam satir. Dugmeler gercek, 40px (telefonda 44). */
      .recrepeat { display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-width:0; }
      .modal .recrepeat > select, .recrepeat > select { flex:1 1 140px; min-width:0; width:auto !important; }
      /* Tek ayin odemesi (K-699). */
      .modal.mpaymodal { max-width:560px; }
      .mpay { padding:18px 22px 6px; display:flex; flex-direction:column; gap:12px; }
      .mpayhd { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
      .mpayttl { font-weight:700; font-size:15px; }
      .mpaymonth { display:inline-flex; align-items:center; gap:6px; padding:4px 12px 4px 8px; border-radius:999px; background:var(--sel-bg); color:#fff; font-weight:700; font-size:13.5px; white-space:nowrap; }
      .mpaymonth svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; animation:mpaydown 1.6s ease-in-out 2; }
      @keyframes mpaydown { 0%,100% { transform:translateY(-1px); } 50% { transform:translateY(2px); } }
      .mpaynote { margin:0; font-size:13px; color:var(--dim); line-height:1.45; }
      .mpaypart { margin:0; font-size:13px; font-weight:600; }
      .mpaypair { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
      .mpaypair > .field, .mpay > .field { width:auto; min-width:0; margin:0; }
      .mpaypair input, .mpaypair select { min-width:0; }
      .mpaysum { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; font-size:13px; color:var(--dim); margin-top:-4px; }
      .mpaysum b { color:var(--ink); }
      .mpaynorm { display:inline-flex; align-items:center; gap:8px; color:var(--amber-ink, var(--dim)); }
      .mpayhrs { display:flex; gap:6px; }
      .mpayhrs input { width:72px; }
      .mpayfoot { display:flex; justify-content:space-between; align-items:center; gap:10px; }
      .mpaycard { white-space:nowrap; }
      @media (max-width:820px) {
        .mpay { padding:14px 16px 4px; }
        .modal .mpayhrs input { width:72px !important; }
      }
      @media (prefers-reduced-motion: reduce) { .mpaymonth svg { animation:none; } }
      .recpause { display:contents; }
      .recpauserow { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; min-width:0; }
      .recpauserow .recpausest, .recpauserow .recpauseend { flex:0 1 auto; margin-top:0; }
      .recpausebtn { flex:0 0 auto; height:40px; white-space:nowrap; }
      .recpause .btn svg { width:14px; height:14px; }
      .recpausest { flex:1 0 100%; display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:color-mix(in srgb, var(--amber) 70%, var(--ink)); }
      .recpausest svg { width:13px; height:13px; }
      .recpauseend { flex:1 0 100%; font-size:13px; color:var(--dim); margin-top:-4px; }
      @media (max-width:820px) { .recpausebtn { min-height:44px; } .field.recrepeatf { grid-column:1 / -1; } }
      .lgrngacts { display:flex; align-items:center; gap:14px; }
      .lgrangepanel > .lgrngacts { margin-left:auto; }
      .lgrngacts .btn { min-width:76px; justify-content:center; }
      /* Secili aralik dugmenin uzerinde ("15-16 Eki 2026"); dugme ona gore genisliyor. */
      .lgrngbtn .lgrngval { font-family:'IBM Plex Mono',monospace; font-size:12.5px; font-weight:700; white-space:nowrap; }
      .btn.on { border-color:var(--primary); color:var(--primary-ink); background:var(--mint); }
      /* Ozel tarih araligi: iki tarih alani (Raporlar ve Islemler). */
      .rngcustom { gap:14px; }
      /* Masaustunde: secili tarih basligi ve iki tarih kutusu ayni ustten
         baslar (34px'lik tek satir, yazi o satirda ortali); "Baslangic" ve
         "Bitis" yazilari kutularin USTUNE, ayni mesafede biner. Telefonda
         satirlar zaten alt alta, yazilar akista kaliyor. */
      @media (min-width:821px) {
        .rngcustom { align-items:flex-start; flex-wrap:nowrap; margin-top:16px; }
        .rngcustom .rngtitle { line-height:34px; }
        .rngcustom .drfields { align-items:flex-start; }
        .rngcustom .drf { position:relative; }
        .rngcustom .drf > span { position:absolute; left:2px; bottom:100%; margin-bottom:3px; line-height:1; white-space:nowrap; }
      }
      .drfields { display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end; }
      .drfbox { position:relative; display:block; }
      .drf input::-webkit-date-and-time-value { text-align:left; }
      .drfph { position:absolute; left:10px; top:50%; transform:translateY(-50%); pointer-events:none; color:var(--faint); font-weight:500; white-space:nowrap; display:none; }
      /* Yalnizca iOS Safari: oteki tarayicilar bos tarih alaninda kendi ipucunu zaten yaziyor. */
      @supports (-webkit-touch-callout:none) { .drfph { display:block; } }
      .lgrngpre { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; flex:1 0 100%; }
      .lgrngpre::-webkit-scrollbar { display:none; }
      .lgrngpre .crfchip { white-space:nowrap; flex:0 0 auto; }
      .drf { display:flex; flex-direction:column; gap:3px; font-size:11px; font-weight:700; color:var(--dim); }
      .drf input { font:inherit; font-size:13px; font-weight:600; color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:9px; height:34px; padding:0 9px; box-sizing:border-box; }
      .drf input:focus { outline:2px solid var(--primary); outline-offset:1px; }
      @media (max-width:820px) { .drfields { width:100%; } .drf { flex:1 1 0; min-width:0; } .drf input { width:100%; font-size:16px; height:40px; } }
      @media (max-width:820px) { .rngseg { width:100%; } .rngseg .seg { flex:1 1 0; } .rngtitle { font-size:22px; } }
      .mnav { display:inline-flex; gap:4px; flex:0 0 auto; }
      .mnav button { width:32px; height:32px; border:1px solid var(--line); background:var(--surface);
        border-radius:9px; cursor:pointer; color:var(--dim); padding:0; display:grid; place-items:center; }
      .mnav button svg { width:15px; height:15px; }
      .mnav button.back svg { transform:scaleX(-1); }
      .mnav button:hover { border-color:var(--primary); color:var(--primary-ink); }
      /* Gecen ay / Bu ay / Gelecek ay: .segrow + SlideThumb. Masaustunde
         secenekler yazilari kadar, telefonda serit kadar genis (asagida). */
      /* Oklarla AYNI boyda, 32px (kullanici, 2026-10-20: anahtar 35px idi ve
         ustu oklarin 3px ustunde kaliyordu; satir alttan hizali). */
      .mhead .mseg { flex:0 0 auto; height:32px; box-sizing:border-box; padding:2px; align-items:stretch; }
      .mhead .mseg .seg { flex:0 0 auto; display:flex; align-items:center; padding:0 12px; white-space:nowrap; }
      .mhead .mextra .mchip { height:32px; box-sizing:border-box; display:inline-flex; align-items:center; }
      .mextra { display:inline-flex; gap:6px; flex-wrap:wrap; align-items:center; }
      /* Same fill and ink as every other "this one is on" chip in the app, so
         the pairing is one that has already been measured. */
      .mchip { border:1px solid var(--line); background:var(--surface); border-radius:99px;
        padding:6px 13px; font:inherit; font-size:12px; font-weight:700; color:var(--dim);
        cursor:pointer; white-space:nowrap; }
      .mchip:hover { border-color:var(--primary); color:var(--primary-ink); }
      .mchip.on { background:var(--mint); border-color:transparent; color:var(--primary-ink); }
      .mright { margin-left:auto; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
      /* Gider ekraninin ay basligindaki ayar dugmesi (kullanici, 2026-11-08): masaustunde buyuk, telefonda kucuk. */

      /* Gider ekraninin tek listesi (kullanici, 2026-11-09; src/spend-rows.js). Masaustu: tablo + sagda "Gruplara gore" paneli
         (>=1181px), daha darda paneli cipler yerine alir; telefon: kart satirlari. */
      .spbgrid { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; align-items:start; }
      .spbgrid.wide { grid-template-columns:minmax(0,1fr) 320px; }
      .spbcard { overflow:hidden; }
      /* Sabit baslik (kullanici, 2026-11-09, K-580): kartin ust blogu ve sutun basliklari ay seridinin altinda duruyor.
         overflow:hidden ve tablonun yatay kaydiricisi sticky'yi bozuyordu (ikisi de kaydirma kabi kuruyor); clip kurmuyor. */
      .spbcard.spbmain { overflow:clip; }
      @media (min-width:821px) {
        .spbmain .spbstick { position:sticky; top:var(--spbtop, 0px); z-index:4; background:var(--surface); border-radius:var(--r-card, 18px) var(--r-card, 18px) 0 0; }
        .spbmain .scrollx { overflow:clip visible; }
        .spbmain .spbtbl thead th { position:sticky; top:calc(var(--spbtop, 0px) + var(--spbhd, 0px)); z-index:3; background:var(--surface); box-shadow:0 1px 0 var(--line); }
      }
      .spbadd { display:inline-flex; align-items:center; gap:7px; }
      .spbaddcar { display:inline-grid; place-items:center; width:16px; height:16px; margin-right:-4px; padding-left:7px; border-left:1px solid rgba(255,255,255,.35); box-sizing:content-box; }
      .spbaddcar svg { width:13px; height:13px; transform:rotate(90deg); transition:transform .18s ease; }
      .spbaddcar.up svg { transform:rotate(-90deg); }
      .spbtools { display:flex; align-items:center; gap:12px; }
      .spbseg { display:inline-flex; background:var(--bg); border:1px solid var(--line); border-radius:12px; padding:3px; gap:2px; transition:opacity .15s; }
      .spbseg button { border:0; background:transparent; font:inherit; font-size:13px; font-weight:600; color:var(--dim); padding:7px 14px; border-radius:9px; cursor:pointer; }
      .spbseg button.on { background:var(--surface); color:var(--primary-ink); box-shadow:0 1px 2px rgba(14,33,27,.1); }
      .spbseg.faded { opacity:.5; }
      /* Durum suzgeci ve arama (K-594): ozetin altinda tek satir, sabit basligin icinde. */
      .spbfilters { display:flex; align-items:center; gap:12px; padding:10px 22px 12px; }
      .spbfilters .spbsearch { flex:1 1 220px; display:flex; justify-content:flex-end; min-width:0; }
      .spbfilters .spbsearch .searchbox { width:100%; max-width:320px; }
      .spbstat button.st-late.on { color:var(--red); }
      .spbrec { display:inline-flex; width:14px; height:14px; margin-left:6px; vertical-align:-2px; color:var(--dim); flex:none; }
      .spbrec .recring { width:14px; height:14px; }
      .spbseg.hasthumb > .slthumb { border-radius:9px; }
      .app.dark .spbseg.hasthumb > .slthumb { background:color-mix(in srgb, var(--primary) 14%, var(--surface)); }
      .spbaddwrap { position:relative; display:inline-flex; }
      .spbmenu { position:absolute; right:0; top:calc(100% + 6px); z-index:20; min-width:150px; background:var(--surface); border:1px solid var(--line); border-radius:12px; box-shadow:0 8px 24px rgba(14,33,27,.14); padding:5px; display:flex; flex-direction:column; }
      .spbmenu button { border:0; background:transparent; font:inherit; font-size:13.5px; font-weight:600; text-align:left; padding:9px 12px; border-radius:8px; cursor:pointer; color:var(--ink); }
      .spbmenu button:hover { background:var(--bg); }
      .spbsum { padding:4px 22px 10px; display:grid; grid-template-columns:1fr auto; grid-template-areas:"bar val"; column-gap:16px; align-items:center; }
      .spbtrack { grid-area:bar; position:relative; height:17px; display:flex; align-items:center; }
      .spbtrack .spbbar { flex:1; }
      .spbpct { position:absolute; top:50%; left:calc(var(--p) * 1%); transform:translate(calc(var(--p) * -1%), -50%); white-space:nowrap; font-size:11px; font-weight:700; line-height:1; padding:3px 7px; border-radius:999px; background:color-mix(in srgb, color-mix(in srgb, var(--primary) 16%, var(--surface)) 78%, transparent); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); box-shadow:0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent), 0 1px 3px rgba(0,0,0,.08); color:var(--primary-ink); }
      .spbsumv { grid-area:val; display:flex; align-items:baseline; gap:4px; white-space:nowrap; font-size:15px; color:var(--dim); }
      .spbsumv .sl { color:var(--faint); }
      .spbsumv .pd { color:var(--primary-ink); font-weight:600; }
      .spbsumv b { font-size:19px; font-weight:700; color:var(--ink); letter-spacing:-.01em; }
      .spbbar { height:6px; border-radius:999px; background:var(--line); overflow:hidden; }
      .spbbar i { display:block; height:100%; border-radius:inherit; background:var(--primary); }
      .spbtbl { width:100%; border-collapse:collapse; }
      .spbtbl th { font-weight:500; font-size:12px; color:var(--dim); text-align:left; padding:8px 10px; border-bottom:1px solid var(--line); white-space:nowrap; }
      .spbtbl th.r, .spbtbl td.r { text-align:right; }
      .spbtbl th:first-child, .spbtbl td:first-child { padding-left:22px; }
      .spbtbl th:last-child, .spbtbl td:last-child { padding-right:22px; }
      .spbtbl td { padding:0 10px; height:56px; border-bottom:1px solid var(--line); vertical-align:middle; }
      .spbtbl tr:last-child td { border-bottom:0; }
      .spbtbl .nm { font-weight:700; }
      .spbtbl .sub { display:block; font-size:12px; color:var(--faint); margin-top:1px; }
      .spbtbl td .cellmain { gap:6px; }
      .spbst { display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:600; white-space:nowrap; color:var(--dim); }
      .spbst.paid { color:var(--primary-ink); }
      .spbst.late { color:var(--red); }
      .spb .spbdot { width:8px; height:8px; border-radius:50%; display:inline-block; flex:none; border:1.5px solid var(--faint); }
      .spb .paid .spbdot { background:var(--primary); border-color:var(--primary); }
      .spb .late .spbdot { background:var(--red); border-color:var(--red); }
      .spill { display:inline-flex; align-items:center; height:20px; padding:0 8px; border-radius:10px; font-size:12px; font-weight:600; background:var(--bg); border:0; color:var(--dim); white-space:nowrap; }
      .spill.f { background:var(--mint); color:var(--primary-ink); }
      .spbinp { display:inline-flex; align-items:center; justify-content:flex-end; gap:6px; height:36px; width:128px; padding:0 10px; border:1px solid var(--amber, #D8B66A); border-radius:10px; background:color-mix(in srgb, var(--amber, #D8B66A) 8%, var(--surface)); font-weight:700; }
      .spb .num, .spbtbl .num { font-family:inherit; font-variant-numeric:tabular-nums; }
      .spbtbl .spnameacts { gap:2px; opacity:0; transition:opacity .12s; }
      .spbgwrap { border-top:1px solid var(--line); }
      .spbgwrap:first-of-type { border-top:0; }
      .spbgwrap .spbgl { border-top:0; }
      .spbfpin { margin-left:6px; font-size:11px; opacity:.55; cursor:default; }
      .ptnew { display:flex; align-items:center; gap:6px; width:100%; }
      .ptnew input { flex:1 1 110px; min-width:0; width:auto !important; }
      td .ptok { width:30px; height:30px; }
      .modal .ptnew { flex-wrap:wrap; }
      .modal .ptnew input { flex:1 1 100%; width:100% !important; }
      .ptok { width:34px; height:34px; flex:none; display:inline-flex; align-items:center; justify-content:center; padding:0; border:1px solid var(--line); border-radius:10px; background:transparent; color:var(--dim); cursor:pointer; }
      .ptok svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
      .ptok.go { border-color:var(--primary); background:color-mix(in srgb, var(--primary) 14%, transparent); color:var(--primary-ink, var(--primary)); }
      .ptok:hover { border-color:var(--primary); color:var(--primary-ink, var(--primary)); }
      @media (max-width:820px) { .ptok { width:40px; height:40px; } }
      .spbglw { position:relative; }
      .spbgx { position:absolute; left:50%; bottom:3px; transform:translateX(-50%); display:inline-flex; align-items:center; gap:6px; margin:0; padding:2px 10px; border:0; background:transparent; color:var(--dim); font:inherit; font-size:12px; font-weight:600; cursor:pointer; line-height:1; }
      .spbgx:hover, .spbgx.open { color:var(--primary-ink); }
      .spbdc { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; transition:transform .25s cubic-bezier(.34,1.3,.64,1); }
      .spbgx.open .spbdc { transform:rotate(180deg); }
      .spbgx:not(.open) .spbdc path { animation:spbdc 1.8s ease-in-out infinite; }
      .spbgx:not(.open) .spbdc path:nth-child(2) { animation-delay:.3s; }
      @keyframes spbdc { 0%,100% { transform:translateY(-1px); opacity:.45; } 50% { transform:translateY(2px); opacity:1; } }
      @media (prefers-reduced-motion:reduce) { .spbgx:not(.open) .spbdc path { animation:none; } }
      .spbgx .pn { color:var(--amber, #B7791F); }
      .spbopen { margin:0 0 10px; padding:6px 10px; border:1px solid var(--line); border-radius:12px; background:var(--bg); max-height:260px; overflow:auto; }
      .spbopen.sheet { max-height:none; border:0; padding:0; background:transparent; }
      .spbmem { display:flex; align-items:center; gap:8px; padding:7px 0; font-size:13px; border-top:1px solid var(--line); }
      .spbmem:first-child { border-top:0; }
      .spbmem.zero { opacity:.55; }
      /* Katlanmamis grubun kalemleri (K-635): durum noktasi, raptiye yok. */
      .spbmem.plain .nm { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .spbmdot { flex:none; width:7px; height:7px; border-radius:50%; background:var(--faint); }
      .spbmdot.paid { background:var(--green); }
      .spbmdot.pending { background:var(--pending, var(--amber)); }
      .spbmdot.late { background:var(--red); }
      .spbmem .nm em { margin-left:6px; font-style:normal; font-size:11.5px; color:var(--dim); }
      .spbmem .nm { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .spbpin { width:28px; height:28px; flex:none; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:8px; background:transparent; font-size:13px; cursor:pointer; filter:grayscale(1); opacity:.6; padding:0; }
      .spbpin.on { filter:none; opacity:1; border-color:var(--amber, #D8B66A); background:color-mix(in srgb, var(--amber, #D8B66A) 16%, transparent); }
      .spbpin.sm { width:20px; height:20px; border-radius:6px; font-size:11px; vertical-align:middle; }
      .spbpinbar { display:flex; align-items:center; justify-content:space-between; width:100%; margin:0 0 10px; padding:10px 14px; border:1px solid var(--line); border-radius:14px; background:var(--surface); color:var(--ink); font:inherit; font-weight:700; }
      .spbpinbar .x { color:var(--primary-ink); font-size:13px; }
      .tripsum .tsmonth { margin-bottom:14px; }
      .tripsum .tsmh { display:flex; justify-content:space-between; padding:6px 0; border-bottom:1px solid var(--line); font-size:13.5px; }
      .tripsum .tsrow { display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid var(--line); }
      .tripsum .tsrow:last-child { border-bottom:0; }
      .tripsum .tsn { flex:1; min-width:0; display:flex; flex-direction:column; }
      .tripsum .tsn small { font-size:12px; }
      .tripsum .tstotal { display:flex; justify-content:space-between; padding:10px 0 2px; font-size:15px; }
      .spbskip { border:1px solid var(--line); background:var(--surface); color:var(--dim); font:inherit; font-size:12px; font-weight:600; height:26px; padding:0 10px; border-radius:13px; cursor:pointer; white-space:nowrap; }
      .spbskip:hover { border-color:var(--primary); color:var(--primary-ink); }
      .spbundo { white-space:nowrap; border:1px solid var(--line); background:var(--surface); color:var(--ink); font:inherit; font-size:12.5px; font-weight:600; min-height:32px; padding:0 12px; border-radius:16px; cursor:pointer; }
      .spb .skipped .nm, .spb .skipped .spbst { color:var(--dim); }
      .spb .wkdate { font-variant-numeric:tabular-nums; text-decoration:underline dotted; text-underline-offset:3px; }
      .spbtbl tr:hover .spnameacts, .spbtbl tr:focus-within .spnameacts { opacity:1; }
      .spbinp input { border:0 !important; background:transparent !important; box-shadow:none !important; outline:0; width:100% !important; min-width:0; text-align:right; font-weight:700; font-size:14px; padding:0 !important; min-height:0 !important; }
      .spbinp input::placeholder { color:var(--ink); opacity:1; }
      .spbinp:focus-within { outline:2px solid var(--primary); outline-offset:1px; }
      .spbfix .num { font-weight:700; }
      .spbact { width:60px; }
      .spbr.skipped .spbact { width:84px; }
      .spbok { min-width:36px; min-height:36px; }
      .spbfoot { display:flex; justify-content:space-between; align-items:baseline; padding:14px 22px; border-top:1px solid var(--line); font-size:13px; color:var(--dim); }
      .spbfoot b { font-size:17px; }
      .spbnone { padding:26px 22px; text-align:center; color:var(--dim); }
      .spbempty { padding:18px 22px; }
      .spbchips { display:flex; gap:8px; overflow-x:auto; padding:2px 22px 12px; scrollbar-width:none; }
      .spbchips::-webkit-scrollbar { display:none; }
      .spbchip { flex:none; min-width:104px; text-align:left; border:1.5px dashed color-mix(in srgb, var(--dim) 50%, transparent); border-radius:14px; background:var(--surface); padding:7px 12px 8px; font:inherit; cursor:pointer; color:var(--ink); }
      .spbchip { position:relative; }
      /* Grup cipi ve panelindeki durum noktasi. Adi .spbsdot: .spbst tablonun Durum hucresinin adi ve bu kural onu
         8px'lik bir noktaya ceviriyordu, Durum kolonu bos gorunuyordu (K-706). */
      .spbsdot { position:absolute; top:8px; right:8px; width:8px; height:8px; border-radius:50%; background:var(--amber); }
      .spbsdot.late { background:var(--red); } .spbsdot.paid { background:var(--green); }
      .spbchip .n { padding-right:12px; }
      .spbgl .spbsdot { position:static; display:inline-block; vertical-align:middle; margin:-2px 8px 0 0; }
      .spbchip .n { display:block; font-size:12.5px; font-weight:600; white-space:nowrap; }
      .spbchip .a { display:block; font-size:15px; font-weight:700; margin-top:1px; }
      .spbchip .tr { display:block; height:4px; border-radius:2px; background:var(--line); margin-top:6px; overflow:hidden; }
      .spbchip .tr i { display:block; height:100%; background:var(--primary); }
      .spbchip.on { background:var(--mint); border:1.5px solid var(--pop); border-style:solid; color:var(--primary-ink); }
      .spbside { padding:18px 20px 12px; }
      .spbside h3 { margin:0 0 2px; font-size:15px; }
      .spbsidesub { font-size:13px; color:var(--dim); margin-bottom:10px; }
      /* Gruplara gore panelinde arama (K-621): tam genislik, gruplarin ustunde. */
      /* Fatura grubu gider kartlarinin arasinda, kartin etiketinde fatura ikonu (K-630). */
      .taxglbill { display:inline-flex; align-items:center; gap:5px; color:var(--primary-ink); }
      .taxglbill svg { width:11px; height:11px; display:block; }
      .spbgsearch { display:block; margin:0 0 10px; }
      .spbgsearch .searchbox { width:100%; max-width:none; box-sizing:border-box; }
      .spbgnone { font-size:13px; color:var(--dim); padding:6px 0 10px; }
      .spbgl { display:block; width:100%; text-align:left; background:transparent; border:0; border-top:1px solid var(--line); padding:10px 0; font:inherit; color:var(--ink); cursor:pointer; }
      .spbgl:first-of-type { border-top:0; }
      .spbgl .t { display:flex; justify-content:space-between; font-weight:600; font-size:13.5px; }
      .spbgl .t em { font-style:normal; font-weight:500; color:var(--dim); font-size:12px; margin-left:6px; }
      .spbgl .tr { display:block; height:6px; border-radius:3px; background:var(--line); margin-top:7px; overflow:hidden; }
      .spbgl .tr i { display:block; height:100%; background:var(--primary); }
      .spbgl .m { display:flex; justify-content:space-between; font-size:12px; color:var(--faint); margin-top:4px; }
      .spbgl.on { background:var(--mint); margin:0 -10px; width:calc(100% + 20px); padding:10px 10px; border-radius:12px; border-top-color:transparent; }
      .spbgl:hover:not(.on) .t b { color:var(--primary-ink); }
      /* Acik grup tek kart (kullanici, 2026-12-04): baslik ve alt kalemler ayni genislikte, ayni zeminde; arada ince cizgi. */
      .spbgwrap.open { margin:6px -10px 10px; padding:0 10px; border-radius:12px; border-top-color:transparent; background:var(--bg); box-shadow:inset 0 0 0 1px var(--line); }
      .spbgwrap.open.on { background:var(--mint); box-shadow:none; }
      .spbgwrap.open + .spbgwrap { border-top-color:transparent; }
      .spbgwrap.open .spbgl.on { margin:0; width:100%; padding:10px 0; border-radius:0; background:transparent; }
      .spbgwrap.open .spbopen { margin:0; padding:4px 0 8px; border:0; border-top:1px solid color-mix(in srgb, var(--ink) 10%, transparent); border-radius:0; background:transparent; }
      .spb .spchev { display:inline-flex; width:18px; height:18px; color:var(--faint); }
      .spb .spchev svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
      /* Masaustunde katlanan grup satirin altinda aciliyor (K-590): ok asagi doner, kalemler iceriden agac cizgisiyle. */
      .spb .spchev { transition:transform .2s cubic-bezier(.34,1.3,.64,1); }
      .spb .spchev.open { transform:rotate(90deg); color:var(--dim); }
      @media (prefers-reduced-motion: reduce) { .spb .spchev { transition:none; } }
      .spb tr.spbr.foldopen > td { border-bottom-color:transparent; }
      .spb tr.spbkid > td { background:color-mix(in srgb, var(--line) 28%, transparent); }
      .spb tr.spbkid > td.spbname { position:relative; padding-left:40px; --tree:color-mix(in srgb, var(--dim) 45%, var(--line)); }
      /* Agac (K-592): ortadaki kalemlerde satir boyu kesintisiz govde ve yatay dal (T), son kalemde kivrim. Ayirici
         gider metninin hizasindan (40px) basliyor, govdeyi kesmiyor. Telefon da ayni sayilar (sol dolgu 14, agac 22). */
      .spb .spbkid { --tree:color-mix(in srgb, var(--dim) 45%, var(--line)); }
      .spb tr.spbkid > td.spbname::before, .spb .spbrow.spbkid::before { content:""; position:absolute; left:22px; top:0; height:50%; width:11px; border-bottom:1.5px solid var(--tree); }
      .spb tr.spbkid.last > td.spbname::before, .spb .spbrow.spbkid.last::before { border-left:1.5px solid var(--tree); border-bottom-left-radius:6px; }
      .spb tr.spbkid:not(.last) > td.spbname::after, .spb .spbrow.spbkid:not(.last)::after { content:""; position:absolute; left:22px; top:0; bottom:-1px; border-left:1.5px solid var(--tree); }
      .spb tr.spbkid:not(.last) > td { border-bottom-color:transparent; }
      .spb tr.spbkid:not(.last) > td { background-image:linear-gradient(var(--line), var(--line)); background-repeat:no-repeat; background-position:0 100%; background-size:100% 1px; }
      .spb tr.spbkid:not(.last) > td.spbname { background-position:40px 100%; background-size:calc(100% - 40px) 1px; }
      .spb tr.spbkid .nm { font-weight:600; }
      /* Kalem satiri tiklaninca duzenleme aciyor (K-595): imlec el, ustune gelince zemin bir ton koyu. */
      .spb tr.spbkid { cursor:pointer; }
      @media (hover:hover) { .spb tr.spbkid:hover > td { background-color:color-mix(in srgb, var(--line) 55%, transparent); } }
      .spsettings { min-height:40px; padding:0 18px; font-size:14.5px; gap:9px; }
      .spsettings svg { width:19px; height:19px; flex:none; }
      .spsettings .recring { width:19px; height:19px; flex:none; }
      @media (max-width:820px){ .spsettings { min-height:32px; padding:0 12px; font-size:12.5px; gap:7px; } .spsettings svg, .spsettings .recring { width:15px; height:15px; } }
      @media (max-width:820px){
        .spbsumcard { padding:0; }
        .spbsum { padding:10px 16px 10px; column-gap:12px; grid-template-columns:auto 1fr; grid-template-areas:"val bar"; }
        .spbpct { font-size:10.5px; padding:3px 6px; }
        .spbsumv { font-size:13px; }
        .spbsumv b { font-size:17px; }
        .spbchips { padding:2px 0 8px; margin:0; }
        .spbtools { justify-content:space-between; gap:10px; }
        .spbseg { flex:1; max-width:236px; }
        .spbseg button { flex:1; padding:10px 0; }
        .spbfilters { flex-direction:column; align-items:stretch; gap:10px; padding:0; }
        .spbfilters .spbstat { max-width:none; order:2; }
        .spbfilters .spbsearch { flex:none; order:1; }
        .spbfilters .spbsearch .searchbox { max-width:none; }
        .spbtools .btn.spbadd, .spbtools .spbadd { min-height:44px; padding:0 16px; }
        .spblist { padding:0; }
        .spbrow { display:flex; align-items:center; gap:10px; padding:10px 14px; min-height:66px; border-top:1px solid var(--line); }
        .spbrow:first-child { border-top:0; }
        .spbrow.tap { cursor:pointer; }
        .spbrow .rn { flex:1; min-width:0; }
        .spbrow .l1 { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
        .spbrow .nm { font-weight:700; font-size:15px; }
        .spbrow .l2 { font-size:12.5px; margin-top:3px; display:flex; align-items:center; gap:6px; color:var(--dim); flex-wrap:wrap; }
        .spbrow .l2.late { color:var(--red); font-weight:600; }
        .spbrow .l2.paid { color:var(--primary-ink); }
        .spbrow .ra { text-align:right; flex:none; }
        .spbrow .ra b { font-size:15px; }
        .spbrow .bek { font-size:11.5px; color:var(--faint); margin-top:1px; }
        .spbrow.skipped .act { width:auto; }
        .spbrow .act { width:40px; flex:none; display:flex; justify-content:center; }
        .spbrow .spbok { min-width:40px; min-height:40px; border-radius:12px; }
        .spbrow.spbkid { position:relative; padding-left:40px; min-height:58px; border-top-color:transparent; background:color-mix(in srgb, var(--line) 28%, transparent); }
        .spbrow.spbkid + .spbrow.spbkid { background-image:linear-gradient(var(--line), var(--line)); background-repeat:no-repeat; background-position:40px 0; background-size:calc(100% - 40px) 1px; }
        .spbrow.spbkid .nm { font-weight:600; font-size:14.5px; }
        .spbinp { width:104px; height:40px; }
        .spbinp input { font-size:16px; }
        .spbfoot { padding:14px 16px; }
        .spbsheet .spbopt { display:flex; align-items:center; gap:14px; min-height:60px; padding:0 12px; width:100%; text-align:left; border:1px solid var(--line); border-radius:14px; background:var(--surface); margin-bottom:10px; font:inherit; color:var(--ink); cursor:pointer; }
        .spbsheet .spbopt small { display:block; font-weight:500; color:var(--dim); font-size:12.5px; }
        .spbsheet .spbopti { width:38px; height:38px; border-radius:11px; background:var(--mint); color:var(--primary-ink); display:flex; align-items:center; justify-content:center; flex:none; font-weight:700; }
        .spbsheet .spbopti svg { width:18px; height:18px; }
      }
      /* Ay secici ustteki iceriğin USTUNE aciliyor, sayfayi asagi itmiyor (kullanici, 2026-11-04). Baslik satirinin hemen altinda, sol
         kenari icerikle ayni hizada; cerceve ve golge temaya gore: ince, soluk cerceve (--ink'in %20'si) ve koyu golge; parlak beyaz cerceve ya da acik golge yok. Akis disinda (absolute), yani altindaki hicbir sey kaymiyor. */
      .mdrawer { position:absolute; top:calc(100% + 10px); left:22px; z-index:40; width:296px; max-width:calc(100% - 44px);
        border:1px solid color-mix(in srgb, var(--ink) 20%, var(--surface)); border-radius:var(--r-panel); background:var(--surface); padding:12px;
        box-shadow:0 18px 40px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.16);
        transform-origin:top left; animation:mdopen .16s ease-out; }
      @keyframes mdopen { from { opacity:0; transform:translateY(-4px) scale(.98); } to { opacity:1; transform:none; } }
      @media (prefers-reduced-motion: reduce) { .mdrawer { animation:none; } }
      .ledgersearch { display:flex; align-items:center; gap:7px; border:1px solid var(--line);
        background:var(--surface); border-radius:10px; padding:5px 10px; min-width:0; width:230px; }
      /* The three controls on a card header are one row, so they stand the
         same height whatever is inside them. */
      .rowacts .ledgersearch, .rowacts .crview, .rowacts .prnewbtn { height:34px; }
      .rowacts .prnewbtn { padding-top:0; padding-bottom:0; }
      .ledgersearch svg { width:15px; height:15px; color:var(--faint); flex:0 0 auto; }
      .ledgersearch input { border:none; background:transparent; color:var(--ink); font:inherit; font-size:13px;
        outline:none; width:100%; min-width:0; }
      /* The field stays at whatever size it is set to, because that is the
         number iOS reads when it decides to zoom. The prompt inside it is
         set apart: it is a label, not what you are typing. */
      .ledgersearch input::placeholder { font-size:13.5px; color:var(--faint); opacity:1; }
      .ledgersearch:focus-within { border-color:var(--primary-ink); }
      .lsclear { border:none; background:transparent; color:var(--faint); font:inherit; font-size:15px;
        line-height:1; cursor:pointer; padding:0 2px; }
      .lsbtn { display:none; border:1px solid var(--line); background:var(--surface); color:var(--dim);
        border-radius:10px; width:34px; height:32px; place-items:center; cursor:pointer; flex:0 0 auto; }
      .lsbtn svg { width:16px; height:16px; }
      .lsbtn.on { border-color:var(--primary-ink); color:var(--primary-ink); }
      .lsrow { display:none; align-items:center; gap:6px; flex:1 1 100%; width:100%; }
      .lsrow .ledgersearch { flex:1 1 auto; width:auto; }
      /* Phone row: its only x, so a thumb-sized target (36px). */
      .lsrow .lsclear { min-width:36px; min-height:36px; margin:-8px -10px -8px 0; font-size:20px; color:var(--dim); }
      .hidemobf { display:contents; }
      .showmobf { display:none; }
      .monthname { font-size:19px; font-weight:800; letter-spacing:.2px; min-width:170px; text-align:center; }
      .mpwrap { position:relative; display:inline-flex; }
      .mpbtn { border:none; background:transparent; cursor:pointer; font:inherit; font-size:19px; font-weight:800; letter-spacing:.2px; color:var(--ink); padding:4px 10px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; gap:6px; width:195px; min-width:0; }
      .mpbtn:hover { background:var(--bg); }
      .mpcaret { font-size:11px; color:var(--dim); }
      .mppanel { position:absolute; top:calc(100% + 6px); left:50%; transform:translateX(-50%); z-index:80; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-panel); box-shadow:0 16px 44px rgba(14,33,27,.22); padding:12px; width:248px; }
      /* Oklar ay izgarasinin kenarlariyla ayni hizada; yil aralarinda ortada. */
      .mpyear { display:flex; align-items:center; justify-content:space-between; padding:0 0 10px; }
      .mpyear b { font-size:15px; }
      /* Ok bir SVG ve dugmenin tam ortasinda (kullanici, 2026-10-20): "‹" bir
         yazi karakteriydi, yazi tipinin taban cizgisine oturup sol alta
         kayiyordu. iOS button'a kendi boslugunu verdigi icin padding 0. */
      .mpnav { width:32px; height:32px; border-radius:9px; border:1px solid var(--line); background:var(--surface); cursor:pointer; color:var(--ink);
        display:grid; place-items:center; padding:0; -webkit-appearance:none; appearance:none; flex:none; }
      .mpnav svg { width:15px; height:15px; display:block; }
      .mpnav.back svg { transform:scaleX(-1); }
      .mpnav:hover { border-color:var(--primary); color:var(--primary); }
      .mpgrid { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
      .mpmonth { padding:9px 0; border-radius:8px; border:1px solid var(--line); background:var(--surface); cursor:pointer; font:inherit; font-size:12.5px; font-weight:600; color:var(--ink); }
      .mpmonth:hover { border-color:var(--primary); color:var(--primary); }
      .mpmonth.now { border-color:var(--primary); }
      .mpmonth.sel { background:var(--sel-bg); color:#fff; border-color:var(--sel-bg); }
      /* text-align is the one thing a button does not inherit: the browser
         centres its own label. A one word link never showed it, but "Where the
         money went?" wraps on a narrow card and both its lines were centred
         inside a left aligned card. */
      .linkbtn { border:none; background:transparent; color:var(--primary-ink); font:inherit; font-weight:700; cursor:pointer; text-decoration:underline; padding:0; text-align:left; }
      /* The 180px minimum was sized for the old, smaller type: at 27px (32px on
         the hero) a seven-figure amount no longer fits a 180px track and would
         run past the card, since the figure is one unbreakable token. 220px
         both fixes that and is what widens the cards on a laptop — 1280px goes
         from five 194px cards to four 246px ones; 1440px and up is unchanged. */
      .cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
      .cards3 { grid-template-columns:repeat(3,1fr); }
      @media (max-width:900px){ .cards3 { grid-template-columns:repeat(2,1fr); } }
      @media (max-width:560px){ .cards3 { grid-template-columns:1fr; } }
      /* Phone: a fixed 2-up grid instead of auto-fit, so the count doesn't swing
         between one and two columns with the device width, and the hero figure
         takes the full width above its supporting pair(s). */
      @media (max-width:640px){
        /* Two narrow cards to a row, so the desktop type sizes would wrap. */
        .card.score { padding:14px 15px; }
        .scorelabel { font-size:11px; }
        .scoreval { font-size:23px; margin:4px 0 2px; }
        .card.score.hero .scoreval { font-size:26px; }
        /* Two cards to a row leave ~130px for the figure, and "₺2.297.461"
           at 23px needs ~138: it ran out of the card on the Tax tab
           (kullanici, 2026-10-20). The figure is monospaced, so its width is
           its length times ~.6em (the hero's eye button takes 34px more); the card is a size container and the
           figure takes the size that fits, never more than before. The first
           line is the fallback for a browser without container units. */
        .card.score { container-type:inline-size; }
        .card.score .scoreval { font-size:19px; font-size:min(23px, calc(100cqi / (var(--len, 9) * 0.61 + 0.15))); }
        .card.score.hero .scoreval { font-size:21px; font-size:min(26px, calc((100cqi - 34px) / (var(--len, 9) * 0.61 + 0.15))); }
        .scoresub { font-size:11.5px; }
        .cards { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
        /* The two rows of small cards come out to different heights, because
           each row is as tall as whatever its fuller card holds: a delta pill
           and a three line footnote on one, two short lines on another. On a
           phone they sit one above the other and the step between them reads
           as a mistake. Row 1 keeps its own height (the hero has a chart in
           it); every row after it shares one, which is the tallest card's.
           No number written down: the rows measure themselves. */
        .cards:not(.cards3) { grid-template-rows:auto; grid-auto-rows:1fr; }
        .cards > .score.hero { grid-column:span 2; }
        /* The label is text plus a mark, and the mark was being treated as one
           more word: on a narrow card it wrapped on its own and sat alone on a
           line under the title. As a flex row the text wraps within itself and
           the mark stays beside it, on the first line. */
        .cards > .score .scorelabel { display:flex; align-items:baseline; gap:2px; }
        .cards > .score .scorelabel .info { margin-left:3px; flex:0 0 auto; }
        /* One eye, on the hero. The amount and the eye share a row that is
           134px wide on a 375px screen, and the amount alone is 130 of it, so
           on the small cards the button was pushed clean off the card: 21px
           past the edge on the long figures, which is why it could not be seen
           at all, and 4px past on the shorter ones, which is why it looked
           glued to the border. No type size fixes that, because a figure can
           always be longer. The button is a workspace-wide switch, not this
           card's own, so the topmost card's eye hides and shows every amount
           on the page. */
        .cards > .score:not(.hero) .eyebtn { display:none; }
        /* The ring is absolutely placed, so it adds nothing to the card's
           height and was landing on top of the figure. On a phone it gets a
           band of its own at the foot of the card instead of squeezing in
           beside the last line: its own height plus the gap it keeps from the
           bottom edge. Every other card follows, because the rows share a
           height. That also frees the last line, which was holding 52px open
           on its right for a ring that is no longer beside it. */
        /* The spend card's daily bars were desktop only, so the one card with
           room to spare on a phone was the one showing nothing. The income
           hero keeps its own curve; this is the spend variant alone. */
        .cards > .score .rbars.out { display:block; padding-right:0; }
        /* On a phone the card is tall and the bars sat mid way down it with
           empty paper underneath, so they read as one more line of content
           rather than as the card's base line. The card becomes a column so
           the spare room collects above them, and they take back part of the
           card's own bottom padding. Only here: on a desktop row the cards are
           short and the bars are already at the foot. */
        .cards > .score .rbars.out { margin-bottom:-7px; padding-top:7px; }
        /* The caption reads out the day under the pointer. There is no pointer
           here, so it was a permanently blank line holding 15px open. The 26px
           on the right was clearing the eye button, which is not on these
           cards any more either. */
        .cards > .score .rbars.out .rbcap { display:none; }
        .cards > .score.haspring, .cards > .score.hascoin { padding-bottom:59px; }
        .cards > .score.haspring .scoresub { padding-right:0; }
        /* Spanning both columns is what makes room for the trend, so the chart
           appears exactly here. Scoped to .cards so the landing page's mock
           hero card (same classes, no .scoremain) is left alone. */
        .cards > .score.hero { display:flex; align-items:center; gap:14px; }
        .cards > .score.hero .scoremain { flex:1 1 auto; min-width:0; }
        /* The curve is a shape, not text: it can run out into the card's own
           padding, and the 22px of empty paper to its right was the padding
           being spent on nothing. The two labels above it keep their old
           alignment, because those ARE text. */
        .cards > .score.hero .herospark { display:block; margin-right:-11px; }
        .cards > .score.hero .hscap, .cards > .score.hero .hsval { padding-right:11px; }
        /* Daha uzun (kullanici, 2026-10-12): 126 -> 160px. Egri de buyudu
           (H 84); bu alt sinir, egri yokken (ayin ilk odemesi gelmeden) de
           kartin ayni boyda kalmasi icin. */
        .cards > .score.hero { min-height:160px; }
      }
      .herospark { display:none; flex:0 1 46%; max-width:210px; min-width:0; cursor:crosshair; touch-action:pan-y; }
      /* Under a finger the chart sits above the card's cover, so a press can
         reach it; a plain tap still opens Income (ReceivedTrend calls it).
         No text selection or iOS callout while the finger is held. */
      .herospark.touch { position:relative; z-index:2; -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }
      /* While a finger holds the curve the box says it; the corner would say
         the same thing a few pixels away. */
      .herospark.holding .hscap, .herospark.holding .hsval { visibility:hidden; }
      .hstip { position:absolute; transform:translate(-50%,-100%); pointer-events:none; z-index:3;
        display:flex; flex-direction:column; align-items:center; gap:1px; padding:5px 9px 6px; border-radius:10px;
        background:var(--surface); border:1px solid var(--line); box-shadow:0 6px 18px rgba(0,0,0,.14); white-space:nowrap; }
      .hstip .hstipd { font-size:10px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--dim); }
      .hstip b { font-size:14px; font-family:'IBM Plex Mono',monospace; color:var(--green); }
      /* The month's own rhythm along the foot of the card: one bar a day, grey
         and short where nothing came in, green and proportional where it did.
         Desktop only. On a phone the card already carries the running line
         beside it, and two pictures of the same month is one too many. */
      /* Clear of the card's own ›, which sits at right:20px and would
         otherwise be drawn on top of the last few days. */
      .rbars { display:none; margin-top:7px; padding-right:26px; }
      .rbcap { font-size:10px; font-weight:700; letter-spacing:.02em; color:var(--dim);
        white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:3px;
        font-variant-numeric:tabular-nums; }
      .rbrow { display:flex; align-items:flex-end; gap:2px; height:30px; }
      /* flex-basis 0 with grow, so a 28 day month and a 31 day one both fill
         the card exactly and neither leaves a tail. */
      /* A day that has happened takes what it can of the row; a day still to
         come takes a sliver. The caps are what stop the first of the month
         from drawing one block the width of the card -- the leftover becomes
         space between bars rather than one enormous bar. */
      .rbar { flex:2.9 1 0; min-width:0; max-width:9px; border-radius:2px 2px 1px 1px; background:var(--line);
        transition:background .12s ease; }
      .rbar.in { background:var(--green); }
      .rbar.on { background:var(--primary-ink); }
      /* A day that opens in the ledger. Bare of every button default, since it
         has to stay the same shape as the days beside it that are only bars. */
      .rbar.go { border:none; padding:0; font:inherit; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .rbar.go:focus-visible { outline:2px solid var(--primary); outline-offset:1px; }
      .app.dark .rbar { background:#2C3A31; }
      /* A day that has not happened yet. The same grey a day with nothing on
         it already wears -- the row is the month's shape, and an empty slot
         reads the same whether it is empty because nothing was spent or
         because the day is still ahead. */
      .rbar.ahead { flex:1 1 0; max-width:5px; background:var(--line); opacity:.55; }
      .app.dark .rbar.ahead { background:#2C3A31; opacity:.6; }
      /* Expected, not arrived: the same grey as an empty day but solid, so the
         height means a figure rather than an absence. */
      .rbar.ahead.due { opacity:1; background:color-mix(in srgb, var(--dim) 42%, var(--surface)); }
      .app.dark .rbar.ahead.due { background:color-mix(in srgb, var(--dim) 52%, var(--surface)); }
      .app.dark .rbar.in { background:var(--green); }
      /* A red pulled towards the amber the app already carries, so it reads as
         money leaving rather than as an error, and so it follows the palette
         instead of being one more hex in the stylesheet.
         AFTER the dark rules, and naming .app.dark itself: at equal
         specificity source order decides, and written above them this lost in
         dark mode and drew the spend bars green. Measured, not guessed. */
      .rbars.out .rbar.in, .app.dark .rbars.out .rbar.in { background:var(--spend); }
      /* The month along the foot of the card. Both cards that draw it have the
         same rows above it, but the hero sets its figure 7px taller, so the
         two bar rows sat 7px apart and the eye read that as a mistake rather
         than as two different type sizes. The bars take the slack instead of
         the empty paper under them, so they share a line whatever is above. */
      .cards > .score:not(.hero):has(.rbars) { display:flex; flex-direction:column; }
      .cards > .score.hero .scoremain { display:flex; flex-direction:column; flex:1 1 auto; }
      .cards > .score.hero .scoremain .scoredelta { align-self:flex-start; }
      .cards > .score .rbars { margin-top:auto; }
      .rbars.out .rbar.on, .app.dark .rbars.out .rbar.on {
        background:color-mix(in srgb, var(--red) 82%, var(--ink) 18%); }
      @media (min-width:641px){ .cards > .score .rbars { display:block; } }
      .hscap { font-size:9.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--dim); text-align:right; }
      .hsval { font-size:12.5px; font-weight:700; font-family:'IBM Plex Mono',monospace; color:var(--green); text-align:right; margin-top:1px; }
      .hsplus { font-size:10.5px; font-weight:600; color:var(--dim); margin-left:5px; }
      .hschart { display:block; margin-top:2px; }
      .card { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card); overflow:visible; }
      .card.score { padding:17px 19px; }
      .scorelabel { font-size:12px; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--dim); }
      /* CardTitle: each half on its own line on a phone. */
      @media (max-width:820px){
        /* Fills the row like the wrapped text it replaces, so the (i) stays
           in the corner where it was rather than following the title. */
        .scorelabel .sctlw { display:inline-flex; flex-direction:column; flex:1 1 auto; min-width:0; }
        .scorelabel .sctl { white-space:nowrap; }
      }
      /* In the corner the card already leaves empty, not in a column of its
         own. Measured at 1280: the card's inside is 194px and the ring is 44,
         so a column for it left the label 142px and "Pending Payment" plus its
         info mark wrapped to two lines while every other card's stayed on one.
         The sub-line is 112px, so 112 + 8 + 44 still clears 194. */
      /* A long press on a phone was selecting the label or the figure, because
         the card is made of ordinary text. Nothing on it is text worth
         copying: it is a surface with a few links on it. The links keep
         working, since a button is interactive whether or not its words can be
         selected, and they say so for themselves. */
      .cards > .card.score { -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }
      .cards > .card.score .linkbtn, .cards > .card.score .eyebtn { -webkit-tap-highlight-color:transparent; }
      .card.score.haspring, .card.score.hascoin { position:relative; }
      /* Two tones of the palette's own green, so the coin belongs to this app
         rather than to the file it was traced from. */
      /* Para temanin ana rengi (kullanici, 2026-11-02; eskiden birikim payina gore kirmizidan yesile, savingCoinColor). */
      .card.score.hascoin { --coin-rim:color-mix(in srgb, var(--primary) 70%, var(--ink));
        --coin-face:var(--primary); --coin-edge:color-mix(in srgb, var(--primary) 38%, #FFF); }
      .coinhint { position:absolute; right:18px; bottom:19px; }
      /* Dil degisirken bekleme (K-657): ayni para, secicinin altinda, ziplayacak kadar bosluk ustunde. */
      .langload { --coin-rim:color-mix(in srgb, var(--primary) 70%, var(--ink)); --coin-face:var(--primary);
        --coin-edge:color-mix(in srgb, var(--primary) 38%, #FFF);
        display:flex; align-items:center; gap:14px; padding:22px 4px 12px; font-size:13.5px; color:var(--dim); }
      .langload .coin { flex:none; }
      /* Ayri parca olarak gelen bir ekran gelemeyince (lazy-screen.jsx, K-657). */
      .lazyfail { display:grid; gap:14px; justify-items:start; padding:20px; }
      .lazyfail .lazyfailtxt { margin:0; font-size:14px; line-height:1.55; color:var(--dim); max-width:52ch; }
      .coin { position:relative; display:block; width:38px; height:38px; perspective:220px; }
      /* The ground under it. The light comes from straight above, so the
         shadow stays where it is while the coin turns: it used to narrow and
         widen with the turn and read as part of the coin (kullanici,
         2026-10-17). */
      .coin .coinshadow { position:absolute; left:50%; bottom:-9px; width:30px; height:7px;
        margin-left:-15px; border-radius:50%; background:rgba(14,33,27,.22); filter:blur(3.5px); }
      .app.dark .coin .coinshadow { background:rgba(0,0,0,.45); }
      .coin .coinspin { position:relative; display:block; width:100%; height:100%;
        transform-style:preserve-3d; animation:coinspin 4.2s linear infinite; }
      .coin .coinface { position:absolute; inset:0; backface-visibility:hidden;
        -webkit-backface-visibility:hidden; }
      .coin svg { display:block; width:100%; height:100%; }
      /* One strip of the rim. Pale, because this is the milled edge a coin
         would roll on and it catches the light where the struck faces do not:
         a rim the same green as the face read as a flat disc with a thicker
         outline. */
      .coin .coinedge { position:absolute; left:50%; top:50%; background:var(--coin-edge); }
      /* Income's three-coin icon. The slot stays 18px so the sidebar row and
         the tab bar keep their rhythm; the coins paint outside it, in a 26px
         box, which is what overflow:visible is doing here. */
      .coinico { position:relative; display:block; width:18px; height:18px; flex:0 0 18px; overflow:visible; }
      .coinico .coinorb { position:absolute; left:50%; top:50%; width:var(--coind); height:var(--coind);
        margin-left:calc(var(--coind) / -2); margin-top:calc(var(--coind) / -2);
        perspective:calc(var(--coind) * 6);
        transition:transform 620ms cubic-bezier(.22,.86,.26,1), opacity 620ms ease; }
      .coinico .coinspin { position:relative; display:block; width:100%; height:100%;
        transform-style:preserve-3d; }
      .coinico .coinface { position:absolute; inset:0; backface-visibility:hidden;
        -webkit-backface-visibility:hidden; }
      .coinico .coinedge { position:absolute; left:50%; top:50%; background:var(--coin-edge); }
      /* Beats .navitem svg and .tabicon svg, which fix every other icon at 18px. */
      .navitem .coinico svg, .tabicon .coinico svg { display:block; width:100%; height:100%; }
      /* Transactions' two arrows. The shafts take the text colour and the heads
         the brand accent, exactly as the still mark does; the colour belongs to
         the head, so it travels with it and ends up in the other two corners.
         overflow is visible because a head flies well outside the 100x100 box
         on its way round. */
      .ledarrows { overflow:visible; }
      .ledarrows .lpart { transform-box:fill-box; transform-origin:50% 50%; fill:currentColor; }
      .ledarrows .lhead { fill:var(--hf-accent, currentColor); stroke:var(--hf-accent, currentColor);
        stroke-width:10; stroke-linejoin:round; }
      .ledarrows .lghost { opacity:0; }
      /* Recurring's ring. Arcs take the text colour and the arrow the brand
         accent, as the still mark does. overflow is visible because the arrow's
         ghosts sweep outside the 100x100 box. */
      .recring { overflow:visible; }
      .recring .rarc, .recring .rhead { transform-box:view-box; transform-origin:50px 50px; }
      .recring .rarc { stroke:currentColor; stroke-width:14; stroke-linecap:round; fill:none; }
      .recring .rhead { fill:var(--hf-accent, currentColor); stroke:var(--hf-accent, currentColor);
        stroke-width:7; stroke-linejoin:round; }
      .recring .rghost { opacity:0; }
      /* Expenses & bills: the bar in the text colour, the receipt in the brand
         accent. No overflow:visible: the falling receipt leaves through the
         bottom of the box. */
      .expslip .xbar { fill:currentColor; }
      .expslip .xslip { fill:var(--hf-accent, currentColor); }
      .expslip .xghost { opacity:0; }
      /* Time & Tasks' stopwatch: ring and button in the text colour, hand, hub
         and the elapsed slice in the brand accent. */
      .tmrwatch .zring { fill:none; stroke:currentColor; }
      .tmrwatch .zink { fill:currentColor; }
      .tmrwatch .zacc, .tmrwatch .zslice { fill:var(--hf-accent, currentColor); }
      /* Reports' bar chart: base and bars in the text colour, the tallest bar
         in the brand accent. */
      .repbars .rbink { fill:currentColor; }
      .repbars .rbacc { fill:var(--hf-accent, currentColor); }
      /* Calendar and Proposals icons (2026-11-04). Dinlenme hali eski ikonlarla
         ayni; animasyon yalnizca .play iken, bir kez, transform ve opacity. */
      .calflip .cfcell, .calflip .cfring, .calflip .cfmark, .propsign .psline, .propsign .pstitle, .propsign .psdoc { transform-box:fill-box; }
      .navitem svg.calflip, .navitem svg.propsign { width:19px; height:19px; }
      .calflip .cfmark { transform-origin:50% 50%; transform:scale(0); }
      .calflip .cfring { transform-origin:50% 0; }
      .calflip .cfcell { transform-origin:50% 50%; }
      .calflip.play .cfring { animation:cfdrop .5s cubic-bezier(.3,1.5,.5,1) both; }
      .calflip.play .cfring.r1 { animation-delay:.06s; }
      .calflip.play .cfcell { animation:cfopen .42s cubic-bezier(.3,1.6,.5,1) both; }
      .calflip.play .cfcell.c0 { animation-delay:.22s; }
      .calflip.play .cfcell.c1 { animation-delay:.34s; }
      .calflip.play .cfcell.c2 { animation-delay:.46s; }
      .calflip.play .cfcell.c3 { animation-delay:.58s; }
      .calflip.play .cfmark { animation:cfmark .38s cubic-bezier(.3,1.5,.5,1) 1s both; }
      @keyframes cfdrop { from { transform:translateY(-9px); } to { transform:none; } }
      @keyframes cfopen { 0% { transform:scale(0); } 100% { transform:scale(1); } }
      @keyframes cfmark { 0% { transform:scale(0); } 100% { transform:scale(1); } }
      .propsign .psline, .propsign .pstitle { transform-origin:0 50%; }
      .propsign .psdoc { transform-origin:50% 100%; }
      .propsign.play .psdoc { animation:psdoc .5s cubic-bezier(.3,1.4,.5,1) both; }
      .propsign.play .pstitle { animation:pswrite .38s cubic-bezier(.4,0,.2,1) .05s both, psstamp .42s cubic-bezier(.3,1.7,.5,1) 1.2s forwards; }
      .propsign.play .psline.l0 { animation:pswrite .4s cubic-bezier(.4,0,.2,1) .4s both; }
      .propsign.play .psline.l1 { animation:pswrite .32s cubic-bezier(.4,0,.2,1) .78s both; }
      @keyframes psdoc { from { transform:translateY(3px) rotate(-3deg); } to { transform:none; } }
      @keyframes pswrite { from { transform:scaleX(0); } to { transform:scaleX(1); } }
      @keyframes psstamp { 0% { transform:scale(1); } 40% { transform:scale(1.28,1.5); } 100% { transform:scale(1); } }
      @media (prefers-reduced-motion: reduce) { .calflip.play *, .propsign.play * { animation:none !important; } }
      /* 19px like the note glyph it replaces (kullanici, 2026-10-30, workshop). */
      .navitem svg.repbars { width:19px; height:19px; }
      /* Overview's four shapes. Ink and accent as the still mark has them; the
         two trade places in the house. */
      .homeshapes .hpart { transform-box:fill-box; transform-origin:50% 50%; }
      .homeshapes .hink { fill:currentColor; stroke:currentColor; stroke-width:10; stroke-linejoin:round; }
      .homeshapes .hacc { fill:var(--hf-accent, currentColor); }
      /* Clients' queue. The head takes the accent and the bodies the text
         colour, as the mark's left-hand figure does. */
      .cliqueue .cbody { transform-box:view-box; }
      .cliqueue .cshape { fill:currentColor; stroke:currentColor; stroke-width:10; stroke-linejoin:round; }
      .cliqueue .cshape.cflat { stroke:none; }
      .cliqueue .chead { fill:var(--hf-accent, currentColor); }
      /* ---- the spending ring and the client-status bars ---- */
      .snapring { position:relative; flex:0 0 264px; width:264px; height:264px; }
      .snapring svg { display:block; width:100%; height:100%; transform:rotate(-90deg); }
      .snapringmid { position:absolute; inset:0; display:flex; flex-direction:column;
        align-items:center; justify-content:center; text-align:center; pointer-events:none; }
      .snapringmid b { font-size:15px; font-weight:700; color:var(--ink); line-height:1.15; }
      .snapringmid span { font-size:10.5px; color:var(--dim); }
      /* Capped, because the name flexes and the share is pinned to the far end:
         given a wide column the two drifted a screen apart and stopped reading
         as one row. */
      .snapname { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis;
        white-space:nowrap; color:var(--ink-soft); }
      .snapbars b { color:var(--ink); font-variant-numeric:tabular-nums; }
      /* One grid for the three rows, with each row handing its cells to it. The
         label and its count share a line now, so "Paid . 3 clients" and
         "Overdue . 2 clients" are different widths; per-row grids measured each
         one on its own and the bars started in three different places. Shared
         tracks put every bar on the same line, and the label column still takes
         only what the widest of the three needs. */
      .snapbars { list-style:none; margin:0; padding:0; display:grid; font-size:13px;
        grid-template-columns:9px fit-content(220px) minmax(0,1fr) auto;
        align-items:center; column-gap:10px; row-gap:12px; }
      .snapbars li { display:contents; }
      .snapbars .sw { width:9px; height:9px; border-radius:50%; }
      .snapbars .snapname { display:flex; align-items:baseline; gap:5px; white-space:nowrap; font-weight:600; }
      .snapbars .snapname em { font-style:normal; font-weight:400; font-size:11.5px; color:var(--dim); }
      .snapbar { height:7px; border-radius:999px; background:var(--bg); overflow:hidden; }
      .snapbar i { display:block; height:100%; border-radius:999px; min-width:3px; }
      /* The summary at the foot of the income table, separated by the table's
         own rule so it reads as that table continuing rather than as a card of
         its own that happens to sit nearby. */
      .clientsum { padding:14px 16px 16px; border-top:1px solid var(--line); }
      .clientsum h3 { margin:0 0 12px; font-size:14px; font-weight:700; color:var(--ink); }
      /* The tank on the left, bars to its right. The bars column takes the
         room that is left and the tank is a fixed disc, so a long client name
         pushes the numbers, never the circle. */
      .clientsumrow { display:flex; align-items:center; gap:46px; }
      .clientsumrow .snapbars { flex:1 1 auto; min-width:0; }
      .ctank { flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:9px; }
      /* overflow:clip, not hidden: hidden turns overflow-y into auto and makes
         a scroller out of a circle (see the note on <body> elsewhere). */
      /* A rim rather than a hairline: at this size a 1px edge read as a
         screenshot of a circle, and the thicker ring is what makes it a vessel
         with something in it. */
      /* Cam: mavimsi-beyaz bir kenar, icte ince beyaz bir isik cizgisi ve sol
         ustte bir parlama (kullanici, 2026-10-22; eskiden gri --line). */
      .ctankdisc { position:relative; width:236px; height:236px; border-radius:50%;
        overflow:clip; background:var(--bg); border:6px solid #D6E7F1;
        box-shadow:inset 0 0 0 1px rgba(255,255,255,.85), inset 0 2px 10px rgba(14,33,27,.1), 0 1px 3px rgba(60,110,140,.22); }
      .ctankdisc::after { content:""; position:absolute; inset:5%; border-radius:50%; pointer-events:none; z-index:2;
        background:radial-gradient(ellipse 38% 24% at 30% 18%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%); }
      .app.dark .ctankdisc { border-color:#4A6475;
        box-shadow:inset 0 0 0 1px rgba(200,230,250,.25), inset 0 2px 10px rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.4); }
      .app.dark .ctankdisc::after { background:radial-gradient(ellipse 38% 24% at 30% 18%, rgba(220,240,255,.18), rgba(220,240,255,0) 70%); }
      .ctankfill { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
      .ctankblob { position:absolute; width:75%; height:160%; top:-30%; border-radius:50%; will-change:transform;
        animation:ctankblob 13s ease-in-out infinite alternate; }
      /* Lekeler katmanin KENDI renginin tonlari (kullanici: beyaz degil):
         OKLCH'de ayni ton, aydinlik ve doygunluk biraz oynatilmis. Desteklemeyen
         tarayicida deger gecersiz sayilir ve leke hic cizilmez. */
      .ctankblob.l1 { left:-10%; background:radial-gradient(closest-side, oklch(from var(--bc) calc(l + .07) calc(c + .03) h), transparent); }
      .ctankblob.l2 { left:40%; width:55%; background:radial-gradient(closest-side, oklch(from var(--bc) calc(l + .03) calc(c + .05) calc(h + 8)), transparent); animation-duration:17s; }
      .ctankblob.d1 { left:25%; background:radial-gradient(closest-side, oklch(from var(--bc) calc(l - .09) calc(c + .02) h), transparent); animation-duration:15s; animation-direction:alternate-reverse; }
      @keyframes ctankblob {
        0% { transform:translate(0, 0) scale(1); }
        33% { transform:translate(28%, 10%) scale(1.15); }
        66% { transform:translate(-12%, -8%) scale(.9); }
        100% { transform:translate(18%, 4%) scale(1.08); }
      }
      .ctankband { position:absolute; left:0; right:0; cursor:default;
        transition:filter .18s ease; }
      .ctankband.on { filter:brightness(1.08) saturate(1.15); }
      /* Green on top (same order as the bars beside it, K-675), mustard in the middle, and
         an orange that leans red at the bottom. Not --red: that one belongs to
         the Overdue pill and a wash of it at this size reads as an error state
         for the whole block. */
      .ctankband.paid { --bc:#6FBF9A; background:var(--bc); }
      .ctankband.pending { --bc:#E8C75C; background:var(--bc); }
      .ctankband.overdue { --bc:#E07B4F; background:var(--bc); }
      .app.dark .ctankband.paid { --bc:#3E8F6B; }
      .app.dark .ctankband.pending { --bc:#AE9440; }
      .app.dark .ctankband.overdue { --bc:#A85A38; }
      /* An interior boundary moves less than the open surface: water under
         water has nowhere to go. The top one keeps the full swell.
         The blur is what turns a boundary into a mixing: a crisp crest reads
         as two sheets of paper laid on each other, a soft one as two liquids
         meeting. The surface against the air stays sharper, because that edge
         is real. */
      /* The wave reaches DOWN into its own band as well as up, so that the
         blur has solid colour of its own to fade into. Sat exactly on the edge,
         its blurred underside went translucent and let the band above through
         as a thin seam -- the one straight line the whole effect exists to get
         rid of. */
      .ctankwave { position:absolute; left:0; bottom:calc(100% - 8px); width:200%; height:21px;
        filter:blur(2.5px); }
      .ctankwave.top { bottom:calc(100% - 5px); height:21px; filter:blur(.7px); }
      .ctankwave path { fill:currentColor; }
      .ctankband.paid .ctankwave { color:#6FBF9A; }
      .ctankband.pending .ctankwave { color:#E8C75C; }
      .ctankband.overdue .ctankwave { color:#E07B4F; }
      .app.dark .ctankband.paid .ctankwave { color:#3E8F6B; }
      .app.dark .ctankband.pending .ctankwave { color:#AE9440; }
      .app.dark .ctankband.overdue .ctankwave { color:#A85A38; }
      .ctankwave.a { animation:ctankdrift 7s linear infinite; }
      .ctankwave.b { animation:ctankdrift 11s linear infinite reverse; opacity:.6; }
      @keyframes ctankdrift { from { transform:translateX(0); } to { transform:translateX(-50%); } }
      .ctankdot { position:absolute; width:7px; height:7px; border-radius:50%;
        background:rgba(255,255,255,.72); animation:ctankfloat 6s ease-in-out infinite; }
      .app.dark .ctankdot { background:rgba(255,255,255,.5); }
      @keyframes ctankfloat {
        0%, 100% { transform:translate(0, 0); }
        50% { transform:translate(2px, -5px); }
      }
      .ctanktip { font-size:12.5px; color:var(--dim); display:flex; align-items:center; gap:7px;
        height:18px; white-space:nowrap; }
      .ctanktip.on { color:var(--ink); font-weight:600; }
      .ctanktip b { font-weight:700; }
      .ctankkey { width:8px; height:8px; border-radius:50%; flex:0 0 auto; }
      .ctankkey.paid { background:#6FBF9A; }
      .ctankkey.pending { background:#E8C75C; }
      .ctankkey.overdue { background:#E07B4F; }
      /* Nothing here is load-bearing: the same three figures are read off the
         bars beside it. So when motion is unwelcome, it simply stops. */
      @media (prefers-reduced-motion:reduce) {
        .ctankwave, .ctankdot, .ctankblob { animation:none; }
      }
      /* The ranked list, with the ring beside it. */
      .catsplit { display:flex; align-items:flex-start; gap:22px; padding:4px 0 0; }
      .catsplit .snapringmid b { font-size:19px; }
      .catsplit .snapringmid span { font-size:11.5px; }
      .catsplit .snapring { flex:0 0 300px; width:300px; height:300px; margin:4px 0 0 12px; }
      .catsplit .catwrap { flex:1 1 auto; min-width:0; }
      .catdot { width:9px; height:9px; border-radius:50%; flex:0 0 9px;
        display:inline-block; margin-right:7px; vertical-align:middle; }
      /* The slice a pointer is on keeps its colour; the rest step back, so the
         bubble is never read against a ring that is all equally loud. */
      .snapseg { transition:opacity .16s ease; cursor:pointer; outline:none; -webkit-tap-highlight-color:transparent; }
      .snapseg.dim { opacity:.32; }
      /* No focus box: a slice is a ring segment, so the browser's rectangle
         round its bounding box was a thick black frame on the whole ring after
         a click. Focus is already shown the way hover is: the other slices dim. */
      .snapseg:focus, .snapseg:focus-visible, .snapring svg:focus { outline:none; }
      .snaptip { position:absolute; z-index:4; pointer-events:none; white-space:nowrap;
        background:var(--ink); color:var(--surface); border-radius:9px; padding:6px 10px;
        font-size:12px; line-height:1.35; box-shadow:0 6px 18px rgba(14,33,27,.22);
        display:grid; gap:1px; }
      .snaptip b { font-weight:700; }
      .snaptip .num { color:color-mix(in srgb, var(--surface) 78%, var(--ink)); }
      /* Services' four quarters. Two nested frames: the outer turns about the
         icon's centre, the inner slides the quarter along its own diagonal.
         The quarter's own flip is about ITS centre, so that one is a fill-box. */
      .svcquad { overflow:visible; }
      .svcquad .sqseat, .svcquad .sqrad { transform-box:view-box; transform-origin:50px 50px; }
      .svcquad .sqpart { transform-box:fill-box; transform-origin:50% 50%; fill:currentColor; }
      .svcquad .sqacc { fill:var(--hf-accent, currentColor); }
      /* Business Partners. The three wedges turn as ONE group about the icon's
         centre, which is what makes the result a true 180 of the mark. */
      /* Birikim: opak para kutusu, limon para. Siradaki para ust kenardan kayarak geldigi icin svg tasani kirpiyor. */
      .savturn { overflow:hidden; }
      .savturn .svbody { fill:currentColor; }
      .savturn .svcoin { fill:var(--hf-accent, currentColor); }
      .savturn .svrim { fill:none; stroke:color-mix(in srgb, var(--hf-accent, currentColor) 62%, var(--ink)); stroke-width:2.6; }
      .savturn .svscale { transform-box:fill-box; transform-origin:center; }
      .savturn .svbox { transform-box:fill-box; transform-origin:center bottom; }
      .bpturn .bptris { transform-box:view-box; transform-origin:50px 50px; }
      .bpturn .bptri { fill:currentColor; stroke:currentColor; stroke-width:12; stroke-linejoin:round; }
      .bpturn .bpsq { fill:var(--hf-accent, currentColor); }
      /* Tax & Invoicing's Pac-Man. The new piece grows past its size as it
         appears, so the box must not clip it. Fills are set per frame. */
      .taxpac { overflow:hidden; }
      @media (prefers-reduced-motion:reduce){ .coinico .coinorb { transition:none; } }
      @keyframes coinspin { from { transform:rotateY(0deg); } to { transform:rotateY(360deg); } }
      /* A glint across the face, and rarely: a coin catching the light every
         four seconds would be a novelty toy. Once every 11 seconds, over half
         a second, with the rest of the cycle holding it invisible. */
      .coin .coinshine { opacity:0; animation:coinshine 11s ease-in-out infinite; }
      .coin .coinface.back .coinshine { animation-delay:5.5s; }
      @keyframes coinshine {
        0%, 92% { opacity:0; transform:translateX(-30%); }
        95% { opacity:1; }
        100% { opacity:0; transform:translateX(30%); }
      }
      @media (prefers-reduced-motion:reduce){
        .coin .coinspin { animation:none; }
        .coin .coinshine { animation:none; }
      }
      .card.score.haspring .scoresub { padding-right:60px; }
      .pring { position:absolute; right:15px; bottom:13px; width:52px; height:52px; }
      /* Ustune gelince kalan pay kayar (kullanici, 2026-11-08): yalnizca fareyle, telefonda halka durgun. */
      .pring .pringtrack { transition:opacity .35s; }
      .pring .pringrest { transform-origin:26px 26px; opacity:.6; animation:pringspin 7s linear infinite; animation-play-state:paused; }
      /* Uctan ileri acilan maske: dashoffset rl iken bos, 0 iken bos kismin tamami. */
      .pring .pringreveal { stroke-dashoffset:var(--rl); transition:stroke-dashoffset .9s cubic-bezier(.22,1,.36,1); }
      @keyframes pringspin { to { transform:rotate(360deg); } }
      @media (hover:hover) {
        .card.score.haspring:hover .pringrest { animation-play-state:running; }
        .card.score.haspring:hover .pringreveal { stroke-dashoffset:0; }
        .card.score.haspring:hover .pringtrack { opacity:.35; } }
      /* Dokunmatik (pringt): donusu JS suruyor, CSS animasyonu yok. Acilis .35 sn, kapanis yavaslayarak .7 sn. */
      .card.score.haspring.pringt .pringrest { animation:none; }
      .card.score.haspring.pringt.pringon .pringreveal { transition:stroke-dashoffset .35s cubic-bezier(.22,1,.36,1); }
      .card.score.haspring.pringt:not(.pringon) .pringreveal { transition:stroke-dashoffset .7s cubic-bezier(.4,0,.2,1); }
      .card.score.haspring.pringt .pringtrack { transition:opacity .7s ease; }
      .card.score.haspring.pringon .pringrest { animation-play-state:running; }
      @media (max-width:820px) { .card.score.haspring { -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; } } /* uzun basis secim/menu acmasin */
      .card.score.haspring.pringon .pringreveal { stroke-dashoffset:0; }
      .card.score.haspring.pringon .pringtrack { opacity:.35; }
      @media (prefers-reduced-motion:reduce) { .pring .pringrest { animation:none; } .pring .pringreveal { transition:none; } }
      /* Kartin dibinde, halkanin solunda; alt kenari halkanin alt kenariyla ayni. */
      .card.score.haspend { position:relative; container-type:inline-size; }
      /* "n bekliyor" / "n odendi" penceresi: tam tarih, sonda durum. */
      .pendlist .pldate, .pendlist .plstat { white-space:nowrap; }
      .pendlist .plstat { font-size:12.5px; font-weight:500; color:var(--dim); }
      .pendlist .plstat.late { color:var(--red); font-weight:700; }
      .pendlist .plstat.soon { color:var(--amber); font-weight:700; }
      .pendlist .plstat.paid { color:var(--green); font-weight:600; }
      .pendlist .nms { display:none; }
      @media (max-width:820px) { .pendlist .nmf { display:none; } .pendlist .nms { display:inline; white-space:nowrap; }
        .pendlist th, .pendlist td { padding-left:3px; padding-right:3px; font-size:12.5px; } .pendlist .plstat { font-size:12px; white-space:normal; line-height:1.25; } }
      /* Rotated so the arc starts at twelve o'clock, like the score's. */
      .pring svg { width:52px; height:52px; transform:rotate(-90deg); }
      .pring b { position:absolute; inset:0; display:grid; place-items:center;
        font-size:11.5px; font-weight:800; letter-spacing:-.03em; font-variant-numeric:tabular-nums; }
      .scoreval { font-size:27px; font-weight:800; margin:5px 0 2px; }
      /* The eye sits right beside the figure (kullanici, 2026-10-23), on every
         screen size. It still keeps its place when the amount is hidden: the
         hidden mark is laid over an invisible figure of the real width, so the
         row does not get narrower and the eye does not slide. */
      .secretwrap { display:flex; align-items:center; gap:10px; }
      .secnum { display:inline-grid; }
      .secnum > span { grid-area:1 / 1; }
      .secghost { visibility:hidden; }
      /* The card notices the arrival once, and is still again before anyone has
         finished reading the number that arrived. Scale rather than colour: the
         green is already the figure's, and a second green would be a second
         announcement of one thing. */
      .card.score.landed { animation:landed 560ms cubic-bezier(.2,.8,.3,1); }
      @keyframes landed { 0% { transform:scale(1); } 32% { transform:scale(1.028); } 100% { transform:scale(1); } }
      @media (prefers-reduced-motion:reduce){ .card.score.landed { animation:none; } }
      .eyebtn { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:7px; border:none; background:transparent; color:var(--faint); cursor:pointer; flex-shrink:0; padding:0; }
      .eyebtn svg { width:16px; height:16px; }
      /* Goz kartin kendi renginde (kullanici, 2026-11-08): hep yesildi, kartla ilgisizdi. Kartin --k'si yoksa murekkep.
         Yalnizca gercek farede: dokunmatikte :hover dokunustan sonra yapisip kaliyordu. */
      @media (hover:hover) { .eyebtn:hover { color:var(--k, var(--ink)); background:color-mix(in srgb, var(--k, var(--ink)) 12%, transparent); } }
      .scoreval .cur { font-size:12px; color:var(--faint); font-weight:500; }
      .scoresub { font-size:12.5px; color:var(--dim); }
      /* Month-over-month change: a transparent pill between the figure and the
         sub-line, outlined in ink rather than in its own red/green so the
         colour stays on the number where it carries meaning. The outline mixes
         from --ink, so it reads as near-black on light and as its light
         counterpart on dark instead of vanishing into the surface. */
      .scoredelta { position:relative; isolation:isolate; overflow:hidden; display:inline-flex; align-items:center; gap:5px; margin:5px 0; padding:3px 9px; border:1px solid color-mix(in srgb, var(--ink) 62%, transparent); border-radius:20px; background:transparent; font-size:11.5px; font-weight:700; font-family:'IBM Plex Mono',monospace; }
      /* Hover washes the pill with the active theme colour, wiped in from the
         left rather than faded, so the movement runs the way the text reads.
         The wash sits behind the label in the pill's OWN stacking context —
         isolation:isolate is what keeps z-index:-1 from slipping behind the
         card — and overflow:hidden clips it to the rounded shape. */
      .scoredelta::before { content:""; position:absolute; inset:0; z-index:-1; background:color-mix(in srgb, var(--primary) 20%, transparent); transform:scaleX(0); transform-origin:left center; transition:transform .28s cubic-bezier(.4,0,.2,1); }
      .scoredelta:hover::before { transform:scaleX(1); }
      @media (prefers-reduced-motion:reduce){ .scoredelta::before { transition:none; } }
      .scoredelta.up { color:var(--green); }
      .scoredelta.down { color:var(--red); }
      .scoredelta.flat, .scoredelta.na { color:var(--dim); }
      .scoredelta .dvs { font-family:inherit; font-weight:500; font-size:10.5px; color:var(--dim); }
      .cardhd { display:flex; justify-content:space-between; align-items:center; padding:14px 18px 10px; gap:10px; flex-wrap:wrap; }
      /* The strip IS the heading here, so the row has no h2 to align to: the
         tabs sit on the card's own left edge and the tools go to the far end. */
      .tabhd { align-items:flex-end; padding-bottom:0; gap:8px; }
      /* The strip takes only its own width, so the note that follows it sits
         beside the tabs rather than at the far end of the row, and the spacer
         after it pushes the tools right. */
      .tabhd .tabstrip { margin:0; flex:0 0 auto; }
      .tabhd .tabgrow { flex:1 1 auto; }
      .tabhd > .crview, .tabhd > .btn { margin-bottom:9px; }
      .tabhd > .info { margin-bottom:12px; }
      /* The strip keeps its own foot clear so the underline sits on the card's
         edge, which means whatever comes next has to carry the gap. Measured:
         2px under the cards and none at all under the table or the requests
         list, so the tabs were resting on their own content. One rule for all
         three panels, since each has a different first element. */
      .tabhd + * { margin-top:15px; }
      .cardhd h2 { margin:0; font-size:13.5px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; color:var(--ink); }
      table { width:100%; border-collapse:collapse; }
      th { text-align:left; font-size:10.5px; letter-spacing:.8px; text-transform:uppercase; color:var(--dim); font-weight:700; padding:6px 12px; border-bottom:1.5px solid var(--line); }
      td { padding:8px 12px; border-bottom:1px solid #EFF3F1; vertical-align:top; }
      tbody tr:hover { outline:1.5px solid #BFDCCB; outline-offset:-1.5px; }
      .r { text-align:right; } .c { text-align:center; } .dim { color:var(--dim); } .nowrap { white-space:nowrap; }
      .cellmain { display:flex; gap:6px; align-items:center; flex-wrap:wrap; font-weight:600; }
      /* The name is a button now, and has to stop looking like one: a cell is
         read as a cell. Where a pointer can hover, the soft background below
         is the only cue; no underline (kullanici, 2026-10-29). */
      .cellname { border:none; background:transparent; padding:0; font:inherit; color:inherit;
        cursor:pointer; text-align:left; }
      /* Raporlar'daki rakamlarin dili (kullanici, 2026-10-28): ustune gelince
         yumusak bir zemin, satirin durum renginde (--rowbar: odendi, bekliyor, gecikti...;
         satirin kendi vurgusu %13, ad %26 ki ikisi karismasin). Kutu ici bosluk negatif marjla dengeleniyor, yazi kaymiyor. */
      .cellname { border-radius:6px; padding:1px 5px; margin:-1px -5px; transition:background .12s ease; }
      .cellname:hover { background:color-mix(in srgb, var(--rowbar, var(--primary)) 26%, transparent); }
      .cellname:focus-visible { outline:2px solid var(--primary); outline-offset:2px; border-radius:4px; }
      .cellnote { font-size:11.5px; color:var(--dim); margin-top:2px; }
      /* Kart satiri: uygulamanin yazdigi, kimsenin duzenleyemedigi satir. Kucuk
         bir kart cizimiyle basliyor ki elle yazilmis bir not gibi okunmasin. */
      .sysnote { display:flex; align-items:center; gap:5px; }
      .sysnote::before { content:""; flex:0 0 auto; width:9px; height:6px; border:1.4px solid currentColor;
        border-radius:2px; opacity:.75; }
      /* Kart eslestirmesi uyarisi ve gozden gecirme penceresi. */
      .crstrip { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0 0 10px; padding:9px 12px;
        border-radius:10px; font-size:13px; color:var(--ink);
        background:color-mix(in srgb, var(--amber) 14%, var(--surface)); border:1px solid color-mix(in srgb, var(--amber) 45%, transparent); }
      .crstrip span { flex:1 1 220px; }
      .crstripbtn { border:none; background:none; padding:4px 2px; font:inherit; font-weight:700; color:var(--primary-ink);
        cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
      .crlead { margin:0 0 14px; font-size:13px; color:var(--dim); }
      .crok { margin:0; font-size:14px; font-weight:600; color:var(--green); }
      .crsec { padding:14px 0; border-top:1px solid var(--line); }
      .crsec h3 { margin:0 0 4px; font-size:14px; }
      .crsec > p { margin:0 0 10px; font-size:12.5px; }
      .crsec ul { list-style:none; margin:0; padding:0; }
      .crsec li { padding:5px 0; }
      .crgroup { margin-top:8px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; }
      .crgrouphd { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
        margin-bottom:6px; font-size:13px; }
      .crgrouphd select { min-width:180px; font:inherit; font-size:13px; color:var(--ink); background:var(--surface);
        border:1px solid var(--line); border-radius:8px; padding:7px 9px; min-height:33px; }
      .crgrouphd select:focus, .crpickrow select:focus { outline:2px solid var(--primary); outline-offset:-1px; }
      /* Satir basina kart secimi (kullanici, 2026-11-03): masaustunde secim sagda, telefonda satirin altinda tam genislik. */
      .crsec li.crpickrow { display:flex; align-items:center; justify-content:space-between; gap:6px 12px; flex-wrap:wrap;
        padding:7px 0; border-top:1px solid var(--line); }
      .crsec li.crpickrow:first-child { border-top:0; }
      .crpickrow select { flex:0 0 200px; font:inherit; font-size:13px; color:var(--ink); background:var(--surface);
        border:1px solid var(--line); border-radius:8px; padding:7px 9px; min-height:33px; }
      @media (max-width:820px) {
        .crpickrow select, .crgrouphd select { flex:1 1 100%; width:100%; min-width:0; font-size:16px; min-height:40px; }
      }
      .crrow { display:inline-flex; gap:10px; flex-wrap:wrap; align-items:baseline; font-size:13px; }
      /* Kutu solda kendi sutununda, yazi sagda sariyor: tek bir flex satirinda
         uzun yazi kutunun ALTINA dusuyordu (375'te goruldu). */
      .crcheck { display:grid; grid-template-columns:auto 1fr; gap:10px; align-items:start; font-size:13px; cursor:pointer; }
      .crcheck input { width:16px; height:16px; margin:1px 0 0; }
      .rectable td.recadded { vertical-align:middle; font-size:13px; }
      .recapprox { opacity:.8; font-style:italic; cursor:help; }
      /* Haftalik kalemin "Atla"si (K-576): bekleyen odemenin tarihinin altinda kucuk, cerceveli; masaustunde gun hucresinde,
         telefonda kartin tarih satirinda. */
      /* Haftalik kalemin agaci (K-577): odenen ve atlanan odemeler kalemin altinda, kart taksitlerinin cizgisiyle. */
      .sptbl { --treeln:color-mix(in srgb, var(--red) 55%, var(--line)); }
      .sptbl tr.wkkid > td.spname::after { content:""; position:absolute; left:23px; top:18px; width:17px; height:8px;
        background:radial-gradient(circle at 4px 4px, var(--treeln, var(--line)) 3.5px, transparent 4px), linear-gradient(var(--treeln, var(--line)), var(--treeln, var(--line))) 4px 3px / 100% 2px no-repeat; }
      .wkord { color:var(--dim); font-weight:500; }
      .wkstrike { color:var(--dim); text-decoration:line-through; }
      .wkdate { display:inline-flex; align-items:center; padding:2px 6px; margin:-2px -6px; border:0; border-radius:8px; background:none; color:inherit; font:inherit; cursor:pointer;
        text-decoration:underline dotted; text-underline-offset:3px; appearance:none; -webkit-appearance:none; }
      .wkdate:hover { background:var(--hover, rgba(0,0,0,.05)); }
      .spmeta .wkdate { margin:0; padding:0; text-decoration:none; }
      .spmeta .wkdate .spdate { text-decoration:underline dotted; text-underline-offset:3px; }
      .wkrest { margin-top:4px; }
      .wkresthint { font-size:12.5px; margin:4px 0 0 30px; }
      .spdue .spskip, .spdue .wkdate { font-family:'Manrope',system-ui,sans-serif; }
      .spdue .wkdate { font-family:inherit; }
      /* Telefonda satir bir kart (grid): cizgi kartin kendisinde, ebeveynin ad satirina dokunmuyor; cocugun butun
         icerigi iceri aliniyor. Noktali ayirici masaustunun. */
      @media (max-width:820px) {
        .sptbl tr.wkkid::after { content:""; position:absolute; left:21px; top:20px; width:17px; height:8px;
          background:radial-gradient(circle at 4px 4px, var(--treeln) 3.5px, transparent 4px), linear-gradient(var(--treeln), var(--treeln)) 4px 3px / 100% 2px no-repeat; }
      }
      .txrest { width:100%; margin-top:4px; font-size:12.5px; line-height:1.45; }
      .txrest b { color:var(--ink); }
      .crcbody { display:flex; flex-wrap:wrap; gap:3px 10px; align-items:baseline; min-width:0; }
      .crcbody .dim { font-size:12px; }
      .crfoot { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
      .crsum { flex:1 1 200px; font-size:12.5px; color:var(--dim); }
      .crsetup { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:12px; }
      .notecell { font-size:12px; color:var(--dim); max-width:220px; }
      .fxsub { font-size:10.5px; color:var(--faint); }
      .timing { font-family:'IBM Plex Mono',monospace; font-weight:700; font-size:15px; color:var(--primary); }
      /* ---- Clients roster redesign: cards / list, sparkline, badges ---- */
      .crtoolbar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
      /* Musteriler: baslikta "Client Scoreboard" dugmesi, asagi acilan pano. */
      .crhdacts { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
      .btn.sbtn { display:inline-flex; align-items:center; gap:6px; }
      .btn.sbtn.on { background:color-mix(in srgb, var(--primary) 12%, var(--surface)); border-color:var(--primary); }
      .crboard { padding-top:2px; animation:crboardin .22s ease; }
      .crboard .lbembed { border:1px solid var(--line); border-radius:14px; background:var(--surface); overflow:hidden; }
      @keyframes crboardin { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
      @media (prefers-reduced-motion:reduce) { .crboard { animation:none; } }
      /* Higher specificity than the base .searchbox (which caps max-width:360px and
         is declared later in the sheet) so the roster search actually grows to fill
         the row, pinning the filters/sort/view controls to the right edge. */
      .crtoolbar .crsearch { flex:1 1 240px; min-width:150px; max-width:none; margin:0; }
      .crfilters { display:flex; gap:3px; background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:3px; }
      .crfchip { border:none; background:transparent; color:var(--dim); font-weight:600; font-size:12.5px; font-family:inherit; padding:6px 11px; border-radius:7px; cursor:pointer; }
      .crfchip.on { background:var(--mint); color:var(--primary-ink); }
      .crsort { display:inline-flex; align-items:center; gap:7px; font-size:12px; color:var(--dim); font-weight:600; }
      .crsort select { font-weight:600; font-size:12.5px; font-family:inherit; color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:9px; padding:7px 9px; cursor:pointer; }
      /* A card for each person, in the reference's own shape: a band of their
         colour, the face sitting across it, then who they are, what they are,
         and the two things you can do to them. */
      .tmgrid { display:grid; grid-template-columns:repeat(auto-fill, minmax(258px, 1fr)); gap:14px; padding:2px 18px 4px; }
      /* One row that scrolls, rather than a grid that wraps into a wall of
         faces. Snap so a card never stops half off the edge. */
      .tmslide { display:flex; overflow-x:auto; scroll-snap-type:x proximity;
        padding-bottom:12px; scrollbar-width:thin; }
      /* 286, the width the wrapping grid gives a card at a laptop: at 272
         the palette select lost its last letter. */
      .tmslide > .tmcard { flex:0 0 286px; scroll-snap-align:start; }
      .tmcard { position:relative; border:1px solid var(--line); border-radius:16px; background:var(--surface);
        overflow:hidden; display:flex; flex-direction:column; align-items:center; padding:0 15px 15px; }
      .tmband { height:62px; width:calc(100% + 30px); margin:0 -15px; }
      /* Across the band's edge, ringed in the card's own ground so the ring
         reads as a gap rather than as a border. */
      .tmface { width:76px; height:76px; margin-top:-38px; border-radius:50%; background:var(--mint);
        box-shadow:0 0 0 4px var(--surface); overflow:hidden; display:grid; place-items:center; flex:0 0 auto; }
      .tmface img { width:100%; height:100%; object-fit:cover; display:block; }
      .tmfacewrap { position:relative; margin-top:-38px; flex:0 0 auto; display:block; }
      .tmfacewrap > .tmface { margin-top:0; }
      .tmok { position:absolute; top:-2px; right:-4px; width:24px; height:24px; border-radius:50%;
        background:#0F9F6E; color:#fff; display:grid; place-items:center; box-shadow:0 0 0 2.5px var(--surface); }
      .tmok svg { width:14px; height:14px; }
      .tmletter { font-size:28px; font-weight:800; color:var(--primary-ink); }
      .tmwho { text-align:center; margin-top:10px; min-width:0; width:100%; }
      .tmwho b { display:flex; align-items:center; justify-content:center; gap:6px; font-size:15.5px;
        font-weight:800; color:var(--ink); }
      .tmsub { display:block; font-size:12px; color:var(--dim); margin-top:2px;
        overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .tmsub .tmwarn { font-style:normal; color:var(--red); font-weight:700; }
      /* Three columns, evenly, so every card's stats line up across the grid
         whatever is written in them. */
      .tmstats { display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; width:100%; margin:13px 0 12px; }
      /* The child combinator matters: a plain descendant selector also caught
         the Badge's own span nested inside, handing it min-height:46px and a
         column layout, which is why the role pill came out 46px tall. */
      .tmstats > span { display:flex; flex-direction:column; align-items:center; justify-content:space-between;
        gap:3px; min-width:0; min-height:46px; }
      /* The value takes the slack and centres in it, so a role badge sits in
         the middle of its column instead of being stretched to the column's
         full height: a Badge is display:flex and fills whatever box it is
         given. Measured, the badge was coming out 46px tall. */
      .tmstats b { display:flex; align-items:center; justify-content:center; flex:1 1 auto;
        font-size:12.5px; font-weight:800; color:var(--ink); text-align:center;
        max-width:100%; line-height:1.2; overflow-wrap:anywhere; }
      /* Etiket ustte (kullanici, 2026-10-14). Iki satirlik bir etiket
         ("Otomatik cikis") degerini asagi itiyordu; etiketler ayni yukseklikte
         ve alta yasli, yani degerler hep ayni cizgide. */
      .tmstats i { font-style:normal; font-size:9.5px; font-weight:800; letter-spacing:.07em;
        text-transform:uppercase; color:var(--faint); line-height:1.25;
        min-height:2.5em; display:flex; align-items:flex-end; justify-content:center; text-align:center; }
      .tmpal { font-size:12px !important; padding:2px 4px !important; max-width:100%; }
      /* The empty seat: a dashed ring where a face would be, and the one
         control on the card made large enough to be the point of it. */
      .tmcard.tminvite { justify-content:flex-start; border-style:dashed; }
      /* Over the band, the face and the words, and under the button. Behind
         all of them it was never the topmost element under the pointer, so
         clicking the picture did nothing: measured, the click landed on the
         plus sign and stopped there. */
      .tminvcover { position:absolute; inset:0; z-index:1; border:none; background:transparent;
        padding:0; cursor:pointer; border-radius:inherit; }
      .tmcard.tminvite .tmacts { position:relative; z-index:2; }
      .tmbandempty { background:var(--bg); }
      .app.dark .tmbandempty { background:#101E19; }
      .tmfaceempty { background:var(--bg); border:2px dashed var(--line); box-shadow:0 0 0 4px var(--surface); }
      .app.dark .tmfaceempty { background:#101E19; }
      .tmplus { font-size:30px; font-weight:300; line-height:1; color:var(--faint); }
      .tmcard.tminvite .tmwho b { color:var(--dim); }
      /* margin-top:auto pushes the button to the foot while the card is being
         stretched to a neighbour's height. Alone in a column on a phone there
         is no slack to push into, and the button landed against the words. */
      .tmcard.tminvite .tmwho { margin-bottom:18px; }
      .tminvbtn { width:100%; justify-content:center; min-height:44px; font-size:14px; border-radius:12px;
        animation:tmbreath 2.8s ease-in-out infinite; }
      /* Halka temanin rengi (kullanici, 2026-10-16): sabit yesildi ve accent
         baska bir renkken dugmenin cevresinde yabanci bir yesil duruyordu.
         Team'deki davet karti ve uyelikteki "Add new user" ayni kurali kullaniyor.
         Breathing, not blinking: the shadow swells and settles, the button
         itself barely moves, so it invites without pulling the eye off the
         people beside it. */
      @keyframes tmbreath {
        0%, 100% { transform:scale(1); box-shadow:0 0 0 0 color-mix(in srgb, var(--primary) 0%, transparent); }
        50% { transform:scale(1.025); box-shadow:0 0 0 7px color-mix(in srgb, var(--primary) 22%, transparent); }
      }
      .tmcard.tminvite.isfull .tminvbtn { animation:none; }
      @media (prefers-reduced-motion:reduce){ .tminvbtn { animation:none; } }
      .tmacts { display:flex; gap:8px; width:100%; margin-top:auto; }
      .tmacts .btn { flex:1 1 0; justify-content:center; min-height:34px; }
      /* In the corner, the way a card's own removal always sits. */
      .tmkill { position:absolute; top:8px; right:8px; width:26px; height:26px; border-radius:8px;
        border:none; background:rgba(255,255,255,.22); color:#fff; font-size:17px; line-height:1;
        cursor:pointer; display:grid; place-items:center; }
      .tmkill:hover { background:rgba(255,255,255,.4); }
      /* The meter and the Pro card share the row, as they do on Workspace.
         SeatBar's own root is .seatrow, so the wrapper takes a name of its
         own rather than quietly restyling the thing inside it. */
      .seatpair { padding-top:4px; align-items:stretch; }
      .seatpair > .seatrow { flex:1 1 420px; min-width:0; border:1px solid var(--line);
        border-radius:13px; background:var(--bg); padding:13px 15px 14px; }
      .app.dark .seatpair > .seatrow { background:#101E19; }
      .crview { display:flex; gap:2px; background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:3px; }
      .crvbtn { border:none; background:transparent; color:var(--faint); width:32px; height:30px; border-radius:7px; cursor:pointer; display:grid; place-items:center; }
      .crvbtn.on { background:var(--mint); color:var(--primary-ink); }
      .crvbtn svg { width:17px; height:17px; }
      .cravatar { width:44px; height:44px; border-radius:12px; flex:0 0 auto; display:grid; place-items:center; font-weight:700; font-size:16px; color:#fff; overflow:hidden; }
      .cravatar.hasimg { border-radius:0; border:1px solid var(--line); }
      .cravatar img { width:100%; height:100%; object-fit:contain; }
      .cravatar.sm { width:36px; height:36px; font-size:13px; border-radius:10px; }
      .crname { font-weight:600; letter-spacing:-.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .crkebab { flex:0 0 auto; width:28px; height:28px; border-radius:8px; border:1px solid transparent; background:transparent; color:var(--faint); cursor:pointer; display:grid; place-items:center; }
      .crkebab:hover { border-color:var(--line); color:var(--dim); }
      .crkebab svg { width:17px; height:17px; }
      .cspark { display:block; }
      .csparkline { fill:none; stroke:var(--primary); stroke-width:1.7; stroke-linejoin:round; stroke-linecap:round; }
      .csparkarea { fill:color-mix(in srgb, var(--primary) 13%, transparent); stroke:none; }
      .csparkdot { fill:var(--primary); }
      .cspark.muted .csparkline { stroke:var(--faint); } .cspark.muted .csparkdot { fill:var(--faint); } .cspark.muted .csparkarea { fill:transparent; }
      .crbadge { position:absolute; top:-9px; left:15px; font-size:9.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:2px 8px; border-radius:99px; color:#fff; }
      .crbadge.max { background:var(--primary); } .crbadge.low { background:var(--amber); } .crbadge.new { background:#375EFB; }
      .crlbadge { font-size:9px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; padding:1px 5px; border-radius:99px; color:#fff; margin-left:6px; vertical-align:1px; }
      .crlbadge.max { background:var(--primary); } .crlbadge.low { background:var(--amber); } .crlbadge.new { background:#375EFB; }
      /* A gloss that travels across the two badges worth looking at, so a new
         name or a top earner catches the eye on a roster of forty cards. Low
         income is left alone: it is a warning, and glinting at someone about
         it would be the wrong tone. The sweep sits in an ::after rather than a
         moving background so the pill's own colour is untouched, and the badge
         has to clip it (the pill is a rounded rectangle, the gloss is not). */
      /* ".crbadge" is already absolute, and it is the pill's own containing
         block. Setting position here would out-specify that (0,2,0 beats
         0,1,0) and drop the badge back into the flow as a full-width bar,
         which is exactly what the first attempt did. Only the inline list
         badge needs a position, and a box, before it can clip anything. */
      .crbadge.new, .crbadge.max { overflow:hidden; }
      .crlbadge.new, .crlbadge.max { position:relative; overflow:hidden; display:inline-block; }
      .crbadge.new::after, .crbadge.max::after, .crlbadge.new::after, .crlbadge.max::after {
        content:""; position:absolute; top:0; bottom:0; left:-60%; width:45%;
        background:linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
        animation:badgeshine 3.4s ease-in-out infinite; pointer-events:none; }
      .crbadge.max::after, .crlbadge.max::after { animation-delay:.9s; }
      /* left degil transform: left her karede yeniden yerlesim istiyor
         (2026-10-22). Yol ayni: ebeveynin %175'i, seridin kendi %45'lik
         genisligiyle 389%. */
      @keyframes badgeshine { 0% { transform:translateX(0); } 55%,100% { transform:translateX(389%); } }
      /* A pill that glints forever is exactly what a reduced-motion setting is
         asking about, so it stops rather than slows. */
      @media (prefers-reduced-motion: reduce) {
        .crbadge.new::after, .crbadge.max::after, .crlbadge.new::after, .crlbadge.max::after { animation:none; display:none; }
      }
      .crgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:15px; }
      /* A grid item defaults to min-width:auto, which means "never narrower than
         my own content". A client card's head row alone wants 288px before it
         will fold, so on a narrow phone the 1fr track grew to fit the card
         instead of the card shrinking to fit the screen, and the cards ran off
         the right edge. Measured at 360px: track 333 in a 322 grid. */
      .crcard { min-width:0; }
      .crhead, .crrev, .crbar, .crsvcs, .crinfo, .crfoot { min-width:0; }
      .crrenew, .crmo { min-width:0; }
      .crcard { position:relative; background:var(--surface); border:1px solid var(--line); border-radius:15px; padding:16px 16px 14px; display:flex; flex-direction:column; gap:12px; cursor:pointer; text-align:left; transition:box-shadow .16s ease, transform .16s ease; }
      .crcard:hover { box-shadow:0 18px 38px -18px rgba(16,40,32,.24); transform:translateY(-2px); }
      .app.dark .crcard:hover { box-shadow:0 20px 44px -18px rgba(0,0,0,.6); }
      .crcard:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      .crcard.badged { border-color:color-mix(in srgb, var(--primary) 30%, var(--line)); }
      .crcard.ended { opacity:.7; }
      .crhead { display:flex; align-items:center; gap:11px; }
      .crwho { min-width:0; flex:1; }
      .crmeta { display:flex; align-items:center; gap:6px; margin-top:3px; }
      .crrev { display:flex; align-items:flex-end; justify-content:space-between; gap:10px; }
      .crlbl { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; color:var(--faint); }
      .crbig { font-size:22px; font-weight:600; letter-spacing:-.02em; margin-top:2px; line-height:1; }
      .crsparkwrap { text-align:right; }
      .crsparkcap { font-size:10px; color:var(--faint); margin-bottom:2px; }
      .crbar { display:flex; align-items:center; gap:9px; }
      .crbartrack { flex:1; height:6px; border-radius:99px; background:var(--bg); overflow:hidden; }
      .crbartrack > i { display:block; height:100%; border-radius:99px; min-width:3px; background:var(--primary); }
      .crbarpct { flex:0 0 auto; min-width:32px; text-align:right; font-size:11px; color:var(--dim); }
      .crsvcs { display:flex; flex-wrap:wrap; gap:5px; }
      .chip.tiny.more { background:transparent; color:var(--dim); border:1px solid var(--line); }
      .crinfo { display:flex; flex-direction:column; gap:4px; font-size:11.5px; color:var(--dim); }
      .crct { display:flex; align-items:center; gap:6px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--ink-soft); font-weight:500; }
      .crinfo svg { width:13px; height:13px; flex:0 0 auto; color:var(--faint); }
      /* The agreed fee, set in the mono face so it reads as an amount rather
         than as another line of card text. */
      .crmo { display:flex; align-items:center; gap:6px; min-width:0; }
      /* Banknot simgesi kendi boyutunu tasiyor, saat kendininkini: ikisi
         yan yana durdugunda ayni yukseklikte olmalari gerekiyor. */
      .crclock { display:inline-flex; width:14px; height:14px; flex:0 0 auto; }
      .crclock svg { width:100%; height:100%; }
      .crpay { margin-left:auto; flex:none; font-size:10.5px; font-weight:600; line-height:1.5; padding:0 8px; border:1px solid var(--line); border-radius:20px; color:var(--dim); white-space:nowrap; }
      .crmo b { font-family:'IBM Plex Mono',ui-monospace,monospace; font-weight:700; color:var(--ink); }
      .crfoot { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:11px; border-top:1px solid var(--line); }
      /* Teklifi revize et (K-666): iki secenek, ve duzenleme penceresinin basliginda takip anahtari. */
      .prrevpick { display:flex; flex-direction:column; gap:10px; }
      .prrevopt { display:flex; align-items:center; gap:14px; width:100%; text-align:left; padding:16px; border:1px solid var(--line); border-radius:var(--r-inner); background:var(--surface); color:var(--ink); font:inherit; cursor:pointer; transition:border-color .16s ease, background .16s ease; }
      @media (hover:hover) { .prrevopt:hover { border-color:var(--primary); background:color-mix(in srgb, var(--primary) 6%, var(--surface)); } .prrevopt:hover .prrevgo svg { transform:translateX(2px); } }
      .prrevopt:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      .prrevico { width:38px; height:38px; flex:0 0 auto; display:grid; place-items:center; border-radius:var(--r-ctl); background:color-mix(in srgb, var(--primary) 12%, transparent); color:var(--primary-ink); }
      .prrevico svg { width:19px; height:19px; }
      .prrevtxt { display:flex; flex-direction:column; gap:3px; min-width:0; flex:1; }
      .prrevtxt b { font-size:15px; white-space:nowrap; }
      .prrevtxt span { font-size:12.5px; color:var(--dim); line-height:1.4; }
      .prrevgo svg { width:16px; height:16px; color:var(--dim); transition:transform .16s ease; }
      .prtrack { display:inline-flex; align-items:center; gap:8px; margin-right:10px; white-space:nowrap; }
      .prtrack .tgl { flex:0 0 auto; }
      .prtracklbl { font-size:13px; font-weight:600; }
      .prtrackn { font-size:12px; color:var(--dim); }
      @media (max-width:820px) { .prtracklbl { font-size:12.5px; } .prtrackn { display:none; } }
      /* Kartin altindaki teklif baglantisi (K-664): hap degil, noktali alt cizgili yazi ve ok. */
      .crprop { align-self:flex-start; margin:-4px 0; display:inline-flex; align-items:center; gap:4px; background:none; border:0; padding:4px 0; font:inherit; font-size:12.5px; font-weight:600; color:var(--ink); cursor:pointer; white-space:nowrap; }
      .crprop .crproplbl { text-decoration:underline dotted; text-decoration-color:var(--faint); text-underline-offset:4px; text-decoration-thickness:1.5px; }
      .crprop svg { width:13px; height:13px; flex:0 0 auto; transition:transform .16s ease; }
      @media (hover:hover) { .crprop:hover { color:var(--primary-ink); } .crprop:hover .crproplbl { text-decoration-color:currentColor; } .crprop:hover svg { transform:translateX(2px); } }
      .crprop:focus-visible { outline:2px solid var(--primary); outline-offset:2px; border-radius:4px; }
      .crrenew { display:inline-flex; align-items:center; gap:6px; font-size:11.5px; color:var(--dim); }
      .crrenew svg { width:13px; height:13px; }
      .crrenew.soon { color:var(--amber); font-weight:600; }
      .crprofile { font-size:11px; color:var(--faint); }
      /* Per-card amount-privacy eye (replaces the profile label, bottom-right) */
      .creye { display:inline-flex; align-items:center; gap:1px; border:none; background:none; cursor:pointer; color:var(--faint); padding:2px 4px; border-radius:7px; font:inherit; font-size:11px; font-weight:700; line-height:1; }
      .creye:hover { color:var(--dim); background:var(--bg); }
      .creye.dec1, .creye.dec2, .creye.dec3 { color:var(--primary-ink); }
      .creyeglyph { display:inline-flex; }
      .creyeglyph svg { width:16px; height:16px; }
      .creyeL, .creyeR { font-family:'IBM Plex Mono',monospace; font-size:12px; }
      .crmask { letter-spacing:1px; color:var(--faint); }
      .creye.dec0 .eyepupil { animation:eyelook 3.6s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }
      @keyframes eyelook { 0%,100%{ transform:translateX(-2.4px); } 50%{ transform:translateX(2.4px); } }
      @media (prefers-reduced-motion:reduce){ .creye .eyepupil { animation:none; } }
      .crmasked { font-size:12px; color:var(--faint); padding:8px 0; }
      .crlistscroll { overflow-x:auto; }
      .crlisthead, .crlrow { display:grid; grid-template-columns:minmax(230px,1.8fr) 108px 172px 108px 150px 116px 120px 40px; align-items:center; gap:14px; padding:0 12px 0 26px; min-width:1090px; }
      .crlisthead { height:34px; border-bottom:1px solid var(--line); }
      .crlisthead span { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; color:var(--faint); }
      .crlisthead .r, .crlrow .r { text-align:right; justify-self:end; }
      .crlrow { min-height:66px; border-bottom:1px solid var(--line); cursor:pointer; }
      .crlrow:hover { background:var(--bg); }
      .crlrow:focus-visible { outline:2px solid var(--primary); outline-offset:-2px; }
      .crlrow.ended { opacity:.68; }
      .crlclient { display:flex; align-items:center; gap:10px; min-width:0; padding:9px 0; }
      .crlcontact { font-size:11.5px; color:var(--dim); margin-top:3px; display:flex; align-items:center; gap:7px; min-width:0; }
      .crltag { font-size:9px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; padding:1px 5px; border-radius:5px; background:var(--bg); color:var(--dim); }
      .crlsvcs { display:flex; flex-wrap:wrap; gap:5px; }
      .crlbig { font-size:14px; font-weight:600; }
      .crlsub { font-size:10.5px; color:var(--faint); margin-top:1px; }
      /* A held card answers with our menu, so on a touch screen the browser's
         own answers to the same gesture are turned off: the copy/look-up
         callout, and the selection underneath it, which left whatever word the
         thumb landed on highlighted behind the menu. Both, because turning off
         the callout alone still selects. Only the card frames, and only where a
         finger is doing the holding: text in a drawer, a modal or a table stays
         selectable, and on a mouse nothing changes at all. */
      @media (pointer:coarse){
        .crcard, .crlrow, .svccard, .bprow, .prcard, .prrowclick {
          -webkit-touch-callout:none; -webkit-user-select:none; user-select:none;
        }
      }
      .crmenu { position:fixed; z-index:70; background:var(--surface); border:1px solid var(--line); border-radius:11px; box-shadow:0 12px 32px -12px rgba(0,0,0,.3); padding:5px; min-width:170px; }
      .crmenu button { display:flex; width:100%; align-items:center; gap:9px; border:none; background:transparent; font-weight:500; font-size:13px; font-family:inherit; color:var(--ink); padding:8px 10px; border-radius:8px; cursor:pointer; text-align:left; }
      .crmenu button:hover { background:var(--bg); }
      .crmenu button svg { width:15px; height:15px; color:var(--dim); }
      .crmenu .crmdanger { color:var(--red); }
      .crmenu .crmdanger svg { color:inherit; }
      .crmsep { height:1px; background:var(--line); margin:4px 3px; }
      /* a very light theme-tinted card */
      .crcard { background:color-mix(in srgb, var(--primary) 3.5%, var(--surface)); }
      .app.dark .crcard { background:color-mix(in srgb, var(--primary) 7%, var(--surface)); }
      .crfcount { font-weight:700; opacity:.55; margin-left:1px; }
      .crfchip.on .crfcount { opacity:.75; }
      .crrenew { align-items:center; white-space:nowrap; }
      .crrenewlbl { font-size:9px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:var(--faint); }
      .crrenewval { font-size:11.5px; }
      .cstip { position:fixed; transform:translate(-50%,-100%); background:var(--ink); color:var(--surface); font-size:11px; padding:4px 8px; border-radius:7px; pointer-events:none; z-index:120; white-space:nowrap; box-shadow:0 6px 16px -6px rgba(0,0,0,.45); font-family:'IBM Plex Mono',monospace; }
      .cstip b { font-weight:600; margin-right:4px; }
      /* client detail drawer */
      .cdscrim { position:fixed; inset:0; background:rgba(8,20,15,.42); z-index:200; animation:cdfade .2s ease; }
      /* touch-action:pan-y — the body still scrolls natively; the horizontal
         axis is left to the swipe-to-dismiss handler in ClientDrawer. */
      /* overscroll-behavior:contain -- scrolling the drawer to its end used to
         carry on into the page behind it, so closing the drawer left you
         somewhere else in the client list than where you opened it. */
      /* The insets are read into variables rather than used in place, so the
         rules below can be measured at a non-zero inset in a browser that
         reports none. env() is 0 on a desktop, which is why these cost nothing
         there and why the bug they fix could never be seen there either.
         100dvh, not 100%: the drawer has to keep its footer on screen while a
         mobile browser's own bars grow and shrink. */
      .cddrawer { --cd-top:env(safe-area-inset-top, 0px); --cd-bot:env(safe-area-inset-bottom, 0px);
        position:fixed; top:0; right:0; height:100dvh; width:min(430px,94vw); background:var(--surface); border-left:1px solid var(--line); z-index:201; overflow-y:auto; overscroll-behavior:contain; box-shadow:-24px 0 60px -24px rgba(0,0,0,.4); display:flex; flex-direction:column; animation:cdslide .26s cubic-bezier(.4,0,.2,1); touch-action:pan-y; }
      @keyframes cdfade { from { opacity:0; } } @keyframes cdslide { from { transform:translateX(100%); } }
      @media (prefers-reduced-motion:reduce){ .cdscrim, .cddrawer { animation:none; } }
      /* The drawer still reaches the top edge, so its own colour fills the
         notch rather than leaving a strip of the page behind it; what moves
         down is the row inside. Without this the close button sat at y 25-59,
         measured, and an iPhone's status bar is 44px tall: the one control
         that dismisses this panel was underneath it. */
      .cdhead { display:flex; align-items:center; gap:13px;
        padding:calc(20px + var(--cd-top, 0px)) 20px 16px; border-bottom:1px solid var(--line); }
      .cdname { font-size:18px; font-weight:600; letter-spacing:-.01em; }
      .cdmeta { display:flex; align-items:center; gap:8px; margin-top:5px; }
      .cdclose { margin-left:auto; width:34px; height:34px; border-radius:9px; border:1px solid var(--line); background:transparent; color:var(--dim); cursor:pointer; font-size:19px; line-height:1; display:grid; place-items:center; }
      .cdbody { padding:18px 20px; flex:1; }
      .cdchartwrap { background:var(--bg); border:1px solid var(--line); border-radius:12px; padding:12px 14px; margin-bottom:16px; }
      .cdcap { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; color:var(--faint); margin-bottom:6px; }
      .cdchart { width:100%; height:auto; }
      .cdlabel { font-size:9px; font-weight:600; fill:var(--ink-soft); font-family:'IBM Plex Mono',monospace; }
      .cdmonth { font-size:8.5px; fill:var(--faint); text-transform:uppercase; letter-spacing:.03em; }
      .cspark.muted .cdlabel { fill:var(--faint); }
      .cdstats { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:12px; overflow:hidden; margin-bottom:18px; }
      .cdstat { background:var(--surface); padding:11px 13px; }
      .cdstat .k { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; color:var(--faint); }
      .cdstat .v { font-size:16px; font-weight:600; margin-top:3px; }
      /* Gross and net are one fact about the same fee, so they share a block
         instead of competing as two. Gross leads at the size the other stats
         use; net sits under it, quieter, because it's the consequence. */
      .cdamt { display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-top:3px; }
      .cdamt b { font-size:16px; font-weight:600; }
      /* --dim, not the --faint the other stat keys use: these two labels are
         what tells the figures apart, so they have to be readable (--faint at
         9px sits at 2.63:1). */
      .cdamt span { font-size:9px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:var(--dim); white-space:nowrap; }
      .cdamt.net { margin-top:1px; }
      .cdamt.net b { font-size:13px; font-weight:500; color:var(--dim); }
      /* Rank strip: five clients by lifetime share, ascending left to right, so
         the ones earning less than this client sit to its left and the ones
         earning more to its right. The bars are read against each other, not
         against an axis, so the tallest in the window sets the scale. */
      .cdlead { grid-column:1 / -1; }
      .cdleadbars { display:flex; align-items:flex-end; gap:6px; margin-top:9px; }
      .cdlb { flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center; gap:4px; cursor:default; }
      .cdlbrank { font-size:9.5px; font-weight:600; color:var(--dim); font-family:'IBM Plex Mono',ui-monospace,monospace; }
      .cdlbbar { width:100%; height:42px; display:flex; align-items:flex-end; background:var(--bg); border-radius:5px; overflow:hidden; }
      .cdlbbar > i { display:block; width:100%; border-radius:5px; background:color-mix(in srgb, var(--primary) 40%, var(--surface)); }
      /* Full-strength avatars, no opacity: fading them put white initials on a
         washed-out ground at 1.98:1. The ring and the solid bar mark which one
         you're looking at instead. Same hue formula and rounded-square as
         .cravatar, so a client reads as the same object it is on its card.
         Sized up and set heavier than the rank label because 2 letters at
         chip scale are the only thing naming the client here. */
      .cdlbini { width:24px; height:24px; border-radius:7px; display:grid; place-items:center; font-size:9.5px; font-weight:800; letter-spacing:.02em; color:#fff; }
      .cdlb.me .cdlbrank { color:var(--primary-ink); font-weight:700; }
      .cdlb.me .cdlbbar > i { background:var(--primary); }
      .cdlb.me .cdlbini { box-shadow:0 0 0 2px var(--surface), 0 0 0 3.5px var(--primary); }
      .cdsec { font-size:10.5px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; color:var(--faint); margin:0 0 9px; }
      .cdstatusrow { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
      .sticons.wide { display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; width:100%; }
      .sticons.wide .stiitem { display:flex; flex-direction:column; align-items:center; gap:5px; min-width:0; }
      .sticons.wide .stibtn { width:100%; max-width:64px; height:34px; border-radius:20px; }
      .sticons.wide .stibtn svg { width:13px; height:13px; }
      .stilbl { font-size:11px; color:var(--faint); text-align:center; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .stilbl.on { color:var(--ink); font-weight:600; }
      .cdchips { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:18px; }
      .cdcontact { display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
      .cdcline { display:flex; align-items:center; gap:9px; font-size:13.5px; color:var(--ink-soft); text-decoration:none; }
      .cdcline svg { width:15px; height:15px; color:var(--faint); flex:0 0 auto; }
      .cdcline.link { color:var(--primary-ink); }
      .cdprofile { font-size:13.5px; color:var(--ink-soft); margin-bottom:18px; }
      /* Client card notes: a dated log, three lines each, a toggle past that. */
      .cnotes { margin-bottom:18px; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:12px 14px 4px; }
      .cnotes .cnhead { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; }
      .cnotes .cnhead .cdsec { margin:0; }
      .cnotes .cncount { color:var(--faint); font-weight:600; }
      .cnotes .cnadd { appearance:none; -webkit-appearance:none; border:1px solid var(--line); background:transparent; color:var(--primary-ink); font:inherit; font-size:12px; font-weight:700; padding:5px 10px; border-radius:9px; cursor:pointer; white-space:nowrap; }
      .cnotes .cnadd:hover { border-color:var(--primary); }
      .cnotes .cnempty { font-size:13px; color:var(--dim); padding:6px 0 10px; }
      .cnotes .cnitem { padding:9px 0 10px; border-top:1px solid var(--line); }
      .cnotes .cnstamp { display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:11px; color:var(--faint); margin-bottom:3px; }
      .cnotes .cntext { font-size:13.5px; line-height:1.45; color:var(--ink-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .cnotes .cnacts { display:inline-flex; align-items:center; gap:8px; }
      .cnotes .cnopen { appearance:none; -webkit-appearance:none; border:1px solid var(--line); background:transparent; color:var(--primary-ink); font:inherit; font-size:12.5px; font-weight:700; min-height:36px; padding:0 18px; border-radius:10px; cursor:pointer; }
      .cnotes .cnopen:hover { border-color:var(--primary); }
      /* Silme sorusu: iki gercek dugme, cerceveli ve parmaga yetecek boyda. */
      .cnotes .cnaskrow { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; padding:6px 0 4px; font-size:13px; color:var(--ink); }
      .cnotes .cnaskbtns { display:inline-flex; gap:8px; margin-left:auto; }
      .cnotes .cnbtn { appearance:none; -webkit-appearance:none; font:inherit; font-size:13.5px; font-weight:700; min-height:40px; padding:0 20px; border-radius:10px; border:1px solid var(--line); background:var(--surface); color:var(--ink); cursor:pointer; }
      .cnotes .cnbtn:hover { border-color:var(--primary); }
      .cnotes .cnbtn.del { border-color:color-mix(in srgb, var(--red) 55%, var(--line)); color:var(--red); background:color-mix(in srgb, var(--red) 7%, var(--surface)); }
      .cnotes .cnbtn.del:hover { background:color-mix(in srgb, var(--red) 14%, var(--surface)); border-color:var(--red); }
      /* Yazma ve acma penceresi. Ortak "modern metin alani": .txta. */
      .overlay:has(.modal.cnmodal) { z-index:260; }
      .modal.cnmodal { width:min(560px,100%); }
      .modal.cnmodal .cnmstamp { font-size:11.5px; color:var(--faint); margin-bottom:8px; }
      .txta { display:block; width:100%; box-sizing:border-box; font:inherit; font-size:14.5px; line-height:1.5; color:var(--ink); background:var(--surface);
        border:1px solid var(--line); border-radius:12px; padding:12px 14px; min-height:132px; resize:none; outline:none;
        transition:border-color .15s ease, box-shadow .15s ease; }
      .txta::placeholder { color:var(--faint); }
      .txta:hover { border-color:color-mix(in srgb, var(--primary) 40%, var(--line)); }
      .txta:focus { border-color:var(--primary); box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
      .txta[readonly] { background:color-mix(in srgb, var(--ink) 4%, var(--surface)); }
      .cnotes .cnx { appearance:none; -webkit-appearance:none; border:0; background:none; padding:0; width:28px; height:28px; margin:0 0 0 6px; color:var(--faint); cursor:pointer; display:inline-grid; place-items:center; }
      .cnotes .cnx svg { width:13px; height:13px; }
      .cnotes .cnx:hover { color:var(--red); }
      .cdact { display:flex; flex-direction:column; gap:2px; }
      .cdai { display:flex; gap:11px; align-items:center; padding:8px 0; border-bottom:1px solid var(--line); }
      .cdai:last-child { border-bottom:none; }
      .cdaicon { flex:0 0 auto; width:30px; height:30px; border-radius:9px; display:grid; place-items:center; background:var(--mint); }
      .cdaicon svg { width:15px; height:15px; color:var(--primary-ink); }
      /* Sliding on/off switch. The knob is the only thing that moves, so the
         control reads the same whether or not the motion is seen. */
      .tglrow { display:flex; align-items:flex-start; gap:12px; padding:0 18px 16px; }
      /* The sentence a refused switch leaves behind. Indented to the switch's
         own text column so it reads as that switch's answer and not as a note
         about the card. */
      .pushwhy { padding:0 18px 12px 60px; color:var(--amber); }
      /* The off track is a near-white pill on a near-white card: --line around
         it sits at 1.22:1, which is not a visible boundary. This mix clears
         the 3:1 a control outline needs without reading as a heavy border. */
      .tgl { flex:0 0 auto; position:relative; width:44px; height:26px; padding:0; border:1px solid color-mix(in srgb, var(--dim) 70%, var(--line)); border-radius:99px; background:var(--bg); cursor:pointer; transition:background .18s ease, border-color .18s ease; }
      /* White in both modes, not --surface: in dark, a --surface knob on a
         --bg track is near-black on near-black (1.12:1) and the knob — the
         thing whose position tells you the state — disappears. */
      .tglknob { position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.3); transition:transform .18s cubic-bezier(.4,0,.2,1); }
      .tgl.on { background:var(--primary); border-color:var(--primary); }
      .tgl.on .tglknob { transform:translateX(18px); }
      .tgl:focus-visible { outline:2px solid var(--primary-ink); outline-offset:2px; }
      .tgl:disabled { opacity:.45; cursor:not-allowed; }
      /* A section inside the notifications card. The rule sits above the rows,
         not between the sections, so the last section does not end on a line
         with nothing under it. */
      .ntfsec + .ntfsec { border-top:1px solid var(--line); padding-top:13px; margin-top:3px; }
      .ntfhd { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:0 18px 11px; }
      .ntfhdl { display:flex; flex-direction:column; gap:4px; min-width:0; }
      .ntfhd h3 { margin:0; font-size:12.5px; font-weight:800; letter-spacing:.04em;
        text-transform:uppercase; color:var(--dim); display:flex; align-items:center; gap:6px; }
      /* The rows under a heading are indented so the heading reads as the thing
         they belong to rather than as another row. */
      .ntfsec > .tglrow { padding-left:30px; }
      .ntfsec > .pushwhy { padding-left:30px; }
      /* Two columns from 821px. Each column keeps its own rules between
         sections; the line between the columns replaces the one that would
         sit between Bell and Time & Tasks. Stacked on a phone, the second
         column takes that line back as a top rule. */
      .ntfcol + .ntfcol { border-top:1px solid var(--line); padding-top:13px; margin-top:3px; }
      @media (min-width:821px) {
        .ntfcols { display:grid; grid-template-columns:1fr 1fr; align-items:start; }
        .ntfcol + .ntfcol { border-top:0; padding-top:0; margin-top:0; border-left:1px solid var(--line); align-self:stretch; }
      }
      /* === Holiday expenses, as cards on a phone =========================
         Only ever drawn below 820px (MonthHead's useNarrow decides), so there
         is no desktop rule to keep in step with. */
      /* The whole strip is the fold control, so it gets the padding a card
         header has and the cursor a button has. */
      .trhd { padding:13px 14px 11px; cursor:pointer; }
      .trhdtop { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
      .trhdname { flex:1 1 auto; min-width:0; font-size:15px; font-weight:800; color:var(--ink); }
      .trhdacts { display:inline-flex; align-items:center; gap:6px; position:relative; cursor:default; }
      /* Points down when the trip is open and right when it is shut, which is
         the way every folding thing in this app and outside it points. */
      .trchev { flex:0 0 auto; display:inline-flex; width:16px; height:16px; color:var(--faint);
        transform:rotate(90deg); transition:transform .16s ease; }
      .trhd.shut .trchev { transform:rotate(0deg); }
      .trchev svg { width:16px; height:16px; }
      .trhdsub { margin:5px 0 0 24px; font-size:11.5px; line-height:1.4; color:var(--dim); }
      @media (prefers-reduced-motion:reduce) { .trchev { transition:none; } }
      .trsum { display:flex; gap:10px; padding:0 14px 12px; }
      .trsum > span { flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:2px;
        padding:9px 12px; border:1px solid var(--line); border-radius:12px; background:var(--bg); }
      .trsum i { font-style:normal; font-size:10.5px; font-weight:800; letter-spacing:.07em;
        text-transform:uppercase; color:var(--faint); }
      .trsum b { font-size:17px; font-weight:800; color:var(--ink); }
      /* Amber, not red: money still to pay on a holiday is a plan, not a
         problem, and red is what this app uses for what went wrong. */
      .trsumdue b { color:var(--amber); }
      .trcards { display:flex; flex-direction:column; gap:9px; padding:0 14px 14px; }
      .trcard { border:1px solid var(--line); border-radius:13px; background:var(--bg); padding:11px 12px; }
      /* The name wraps, the amount never does: a price broken across two lines
         stops being a price. min-width:0 on the name is what lets it, rather
         than letting it push the amount off the edge. */
      .trctop { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
      .trcname { min-width:0; font-size:14px; font-weight:700; color:var(--ink); }
      .trcamt { flex:0 0 auto; text-align:right; font-size:15px; white-space:nowrap; }
      .trcamt .fxsub { display:block; font-style:normal; font-size:11px; color:var(--faint); font-weight:500; }
      .trcmeta { display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin-top:7px; }
      .trccat { display:inline-flex; align-items:center; gap:5px; font-size:11.5px; font-weight:700;
        color:var(--dim); }
      .trcflight, .trcpend { font-size:10.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
        padding:2px 7px; border-radius:99px; }
      .trcflight { color:var(--blue); background:color-mix(in srgb, var(--blue) 14%, transparent); }
      .trcpend { color:var(--amber); background:color-mix(in srgb, var(--amber) 16%, transparent); }
      /* Its own line and the full width of the card: in the table this was a
         column 60px wide and every note was cut off in the middle of a word. */
      .trcnote { margin:8px 0 0; font-size:12px; line-height:1.45; color:var(--dim); }
      /* One mark, 32px, at the end of the row. The menu it opens is the app's
         own miniMenu, the same one the trip header uses, so a row and a trip
         offer their options the same way. */
      .trcmenu { position:relative; display:inline-flex; margin-left:auto; }
      .trcmenu .iconbtn { width:32px; height:32px; border:1px solid var(--line); border-radius:9px; }

      .trcempty { margin:0; padding:14px 2px; font-size:12.5px; line-height:1.5; color:var(--dim); text-align:center; }
      /* === What each role can do (RoleMatrix, 2026-10-14) ================== */
      /* Seviye renkleri temanin kendi jetonlarindan: bos, nane, yari yesil, tam
         yesil. Sutun bandi Excel'deki gibi hafif, satir boyunca gozu tutuyor.
         Mavi uygulamada jeton olarak yok; "veritabani" rozeti murekkeple
         karistiriliyor, acik temada koyulasip koyu temada aciliyor. */
      .rx { --rxl0:var(--line); --rxl1:var(--mint); --rxl2:color-mix(in srgb, var(--primary) 60%, var(--surface));
        --rxl3:var(--green); --rxband:color-mix(in srgb, var(--ink) 4%, transparent);
        --rxsrv:color-mix(in srgb, #4A7BE0 70%, var(--ink)); --rxsrvbg:color-mix(in srgb, #4A7BE0 15%, transparent); }
      .rx .rxl0 { background:var(--rxl0); } .rx .rxl1 { background:var(--rxl1); }
      .rx .rxl2 { background:var(--rxl2); } .rx .rxl3 { background:var(--rxl3); }
      .rxroles { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; padding:4px 18px 14px; }
      .rxrole { display:grid; gap:9px; padding:12px 14px; border:1px solid var(--line); border-radius:12px;
        background:var(--bg); color:var(--ink); font:inherit; text-align:left; cursor:pointer; }
      .rxrole[aria-pressed="true"] { background:var(--surface); border-color:var(--rxrc); box-shadow:inset 0 0 0 1px var(--rxrc); }
      .rxr-owner { --rxrc:var(--green); } .rxr-admin { --rxrc:#C77B4A; } .rxr-member { --rxrc:var(--dim); }
      .rxrolehd { display:flex; align-items:center; gap:9px; min-width:0; }
      .rxrdot { width:26px; height:26px; flex:0 0 auto; border-radius:50%; display:grid; place-items:center;
        background:var(--rxrc); color:var(--surface); font-size:11px; font-weight:800; }
      .rxrname { display:flex; flex-direction:column; min-width:0; }
      .rxrname b { font-size:14px; font-weight:800; text-transform:capitalize; }
      .rxrname span { font-size:11.5px; color:var(--dim); }
      .rxrfig { margin-left:auto; font-size:15px; font-weight:700; }
      .rxrfig i { font-style:normal; font-size:12px; color:var(--faint); }
      .rxstack { display:flex; gap:2px; height:8px; border-radius:99px; overflow:hidden; background:var(--rxl0); }
      .rxstack span { display:block; height:100%; }
      .rxlegend { grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:6px 14px; font-size:11px; color:var(--dim); }
      .rxlegend i { display:inline-block; width:9px; height:9px; border-radius:3px; margin-right:5px; vertical-align:-1px; }
      .rxfilters { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:0 18px 14px; border-bottom:1px solid var(--line); }
      .rxchip { display:inline-flex; align-items:center; gap:6px; padding:6px 11px; border:1px solid var(--line);
        border-radius:999px; background:var(--surface); color:var(--dim); font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
      .rxchip[aria-pressed="true"] { background:var(--ink); border-color:var(--ink); color:var(--surface); }
      .rxsearch { margin-left:auto; flex:0 1 240px; min-width:0; display:flex; align-items:center; gap:7px;
        padding:5px 12px; border:1px solid var(--line); border-radius:999px; background:var(--bg); color:var(--faint); }
      .rxsearch svg { width:14px; height:14px; flex:0 0 auto; }
      .rxsearch input { flex:1 1 auto; min-width:0; border:0; background:none; outline:none; font:inherit; font-size:13px; color:var(--ink); }
      .rxgroup + .rxgroup { border-top:1px solid var(--line); }
      .rxghd { display:flex; align-items:center; gap:10px; padding:12px 18px; }
      .rxgbtn { display:flex; align-items:center; gap:10px; min-width:0; padding:0; border:0; background:none;
        font:inherit; color:var(--ink); text-align:left; cursor:pointer; }
      .rxchev { display:inline-flex; width:15px; height:15px; flex:0 0 auto; color:var(--faint); transition:transform .16s ease; }
      .rxchev svg { width:15px; height:15px; }
      .rxgroup.open .rxchev { transform:rotate(90deg); }
      .rxgname { display:flex; flex-direction:column; min-width:0; }
      .rxgname b { font-size:13.5px; font-weight:800; }
      .rxgname span { font-size:11.5px; color:var(--dim); }
      .rxheat { margin-left:auto; display:grid; gap:3px; justify-items:end; }
      .rxheatrow { display:flex; align-items:center; gap:6px; }
      .rxhl { font-size:9.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--faint); }
      .rxcells { display:flex; gap:2px; }
      .rxcells i { display:block; width:9px; height:9px; border-radius:2px; }
      .rxcells i.chg { box-shadow:0 0 0 1.5px var(--amber); }
      /* Uzun notlar icin daha buyuk bir (i) (kullanici, 2026-10-14). */
      .info.rxbig { color:var(--dim); margin-left:2px; }
      .info.rxbig svg { width:17px; height:17px; }
      .info.rxtip { margin-left:0; color:var(--faint); }
      .rxrows { padding:0 18px 12px; }
      /* Kolonlar genis: "Yalnizca goruntule" gibi bir seviye iki satira inmesin. */
      .rxrow { display:grid; grid-template-columns:minmax(0,1fr) 76px 276px 276px; align-items:stretch; border-top:1px solid var(--line); }
      .rxthead { border-top:0; font-size:10.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--faint); }
      .rxthead .rxcell { justify-content:center; padding-top:6px; padding-bottom:6px; }
      .rxwhat { display:flex; flex-wrap:wrap; align-items:center; gap:6px; min-width:0; padding:9px 10px 9px 0; }
      .rxthead .rxwhat { padding-top:6px; padding-bottom:6px; }
      .rxlbl { font-weight:600; font-size:13px; }
      .rxcell { display:flex; align-items:center; gap:7px; min-width:0; padding:7px 10px; }
      .rxc-owner, .rxc-member { background:var(--rxband); }
      .rxownok { justify-content:center; }
      .rxownok .info { color:var(--green); }
      .rxsrv { display:inline-flex; align-items:center; gap:4px; padding:2px 7px; border-radius:999px;
        background:var(--rxsrvbg); color:var(--rxsrv); font-size:10.5px; font-weight:800; white-space:nowrap; }
      .rxsrv svg { width:11px; height:11px; }
      .rxsrvinline { padding:1px 5px; vertical-align:-1px; }
      .rxchg { display:inline-flex; align-items:center; gap:6px; font-size:10.5px; font-weight:700; color:var(--amber); }
      .rxchg::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
      .rxchg button { padding:0; border:0; background:none; font:inherit; color:var(--dim); text-decoration:underline; cursor:pointer; }
      .rxsteps { flex:1 1 auto; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:3px; padding:3px;
        border-radius:10px; background:var(--rxl0); }
      .rxsteps.two { grid-template-columns:repeat(2, minmax(0,1fr)); }
      .rxsteps button { padding:6px 2px; border:0; border-radius:7px; background:transparent; color:var(--dim);
        font:inherit; font-size:11.5px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:pointer; }
      .rxsteps button:disabled { cursor:default; }
      .rxsteps button.f1 { background:var(--rxl1); color:var(--primary-ink); }
      .rxsteps button.f2 { background:var(--rxl2); color:#fff; }
      .rxsteps button.f3 { background:var(--rxl3); color:#fff; }
      .rxsteps button.z { background:var(--surface); color:var(--ink); }
      .rxsteps button[aria-checked="true"] { box-shadow:0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); }
      .rxswitch { display:inline-flex; align-items:center; gap:9px; padding:4px 0; border:0; background:none;
        font:inherit; font-size:12px; font-weight:700; color:var(--dim); cursor:pointer; }
      .rxswitch:disabled { cursor:default; }
      .rxswitch[aria-checked="true"] { color:var(--ink); }
      .rxtrack { position:relative; flex:0 0 auto; width:36px; height:20px; border-radius:99px; background:var(--rxl0); transition:background .2s; }
      .rxtrack::after { content:""; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%;
        background:var(--surface); box-shadow:0 1px 2px rgba(0,0,0,.25); transition:transform .2s; }
      .rxswitch[aria-checked="true"] .rxtrack { background:var(--rxl3); }
      .rxswitch[aria-checked="true"] .rxtrack::after { transform:translateX(16px); }
      .rxlocked { color:var(--dim); }
      .rxpill { padding:4px 9px; border-radius:7px; font-size:11.5px; font-weight:700; white-space:nowrap; color:var(--ink); }
      .rxpill.rxl2, .rxpill.rxl3 { color:#fff; }
      .rxempty { padding:24px 18px; text-align:center; color:var(--dim); }
      @media (prefers-reduced-motion:reduce) { .rxchev, .rxtrack, .rxtrack::after { transition:none; } }
      /* Telefon: bu blok ana kurallarin ARKASINDA olmak zorunda. Ilk yazimda
         dosyanin basindaki 820px blogundaydi ve esit spesifiklikte sonra gelen
         ana kural kazaniyordu: rol kartlari uc sutun kaldi (375'te olculdu). */
      @media (max-width:820px) {
        .rxroles { grid-template-columns:1fr; padding:4px 14px 12px; }
        .rxfilters, .rxrows { padding-left:14px; padding-right:14px; }
        .rxghd { flex-wrap:wrap; padding:12px 14px; }
        .rxheat { margin-left:25px; justify-items:start; flex-basis:100%; }
        .rxsearch { flex:1 1 100%; margin-left:0; }
        .rxsearch input { font-size:16px; }
        .rxrow, .rxrows.one .rxrow { grid-template-columns:minmax(0,1fr); }
        .rxthead { display:none; }
        .rxwhat { padding:10px 0 6px; }
        .rxcell { padding:0 0 10px; background:none; }
        .rxownok { justify-content:flex-start; }
      }
      /* A timer that has been running longer than a working day. Amber, not
         red: it is probably forgotten, but it might simply be a long day, and
         this must not look like an error. */
      .tmlong { margin:0 0 9px; padding:9px 12px; border-radius:10px; font-size:12px; line-height:1.45;
        color:var(--amber); background:color-mix(in srgb, var(--amber) 13%, transparent);
        border:1px solid color-mix(in srgb, var(--amber) 32%, transparent); }
      /* Three buttons. On a wide row they sit apart: carry on at the left,
         the two that end the timer together at the right. */
      .tmlongfoot { display:flex; gap:8px; }
      .tmlongfoot .btn:first-child { margin-right:auto; }
      /* On a phone they stack and each takes the width, in the order a person
         reads: carry on, then save, then the one that throws the time away.
         Measured at 375px before this: they wrapped two-and-one, leaving Save
         alone on a second line at the far left, which read as a different
         kind of button from the two above it. */
      @media (max-width:820px), (max-height:480px) and (orientation:landscape) {
        .tmlongfoot { flex-direction:column; align-items:stretch; }
        .tmlongfoot .btn { width:100%; margin-right:0; }
        .tmlongfoot .btn.danger { order:3; }
        .tmlongfoot .btn.primary { order:2; }
      }
      /* One column, one edge. The width comes off the Field's own inline
         "w", which is why it needs !important here: Field writes the number
         into the element's style attribute and nothing in a stylesheet beats
         that without it. The hint keeps its own width, because a sentence
         stretched to the column is not a control. */
      @media (max-width:820px), (max-height:480px) and (orientation:landscape) {
      }
      .tgltxt { min-width:0; padding-top:2px; }
      /* While a switch is waiting on something slower than a click. Sits on the
         label's own line, so the row does not change height and nothing below
         it jumps. */
      .tglbusy { display:inline-flex; align-items:center; gap:5px;
        font-style:normal; font-size:11.5px; font-weight:600; color:var(--dim);
        text-transform:none; letter-spacing:0; }
      .tglspin { width:11px; height:11px; border:2px solid var(--line);
        border-top-color:var(--primary); border-radius:50%; animation:pullspin .7s linear infinite; }
      .tgltxt b { display:block; font-size:13px; font-weight:600; color:var(--ink); }
      .tgltxt em { display:block; font-style:normal; font-size:11.5px; line-height:1.45; color:var(--dim); margin-top:3px; }
      @media (prefers-reduced-motion:reduce){ .tgl, .tglknob { transition:none; } }
      .cdaitxt { min-width:0; }
      .cdat { font-size:13.5px; font-weight:600; display:flex; align-items:baseline; flex-wrap:wrap; }
      /* What kind of payment it was, divided off the amount by a rule rather
         than a bullet: it's a different kind of fact, not more of the number. */
      .cdakind { margin-left:9px; padding-left:10px; border-left:1px solid var(--line); font-size:11px; font-weight:500; color:var(--dim); }
      .cdaw { font-size:11.5px; color:var(--faint); margin-top:1px; }
      /* This month's payment state, beside the service status it isn't: the dot
         carries the colour (the --st-* tones are pale by design, for row bars)
         and the label keeps full contrast. */
      .cdpay { display:inline-flex; align-items:center; gap:5px; font-size:10.5px; font-weight:600; color:var(--dim); border:1px solid var(--line); border-radius:99px; padding:2px 8px 2px 6px; white-space:nowrap; }
      .cdpay::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--st-pending); }
      .cdpay.pay-paid::before { background:var(--st-paid); }
      .cdpay.pay-overdue::before { background:var(--st-overdue); }
      .cdpay.pay-overdue { color:var(--red); border-color:color-mix(in srgb, var(--red) 35%, var(--line)); }
      /* Same at the other end: the bar is flush with the bottom of the glass,
         so it carries its own floor over the home indicator. */
      .cdfoot { display:flex; gap:10px; padding:14px 20px calc(14px + var(--cd-bot, 0px)); border-top:1px solid var(--line); position:sticky; bottom:0; background:var(--surface); }
      .cdfoot .btn { flex:1; }
      .cdfoot .cdback { flex:1.5; display:inline-flex; align-items:center; justify-content:center; gap:6px; }
      .cdfoot .cdback svg { width:15px; height:15px; }
      .cdfoot .cdremove { flex:0.55; }
      /* Phone (kullanici, 2026-11-01): "Musterilerde ac" broke onto two lines
         because Back took the widest share. Back and Remove take only what
         their words need; the main action takes the rest, on one line. */
      @media (max-width:820px) {
        .cdfoot .cdback, .cdfoot .cdremove { flex:0 0 auto; padding-left:16px; padding-right:16px; }
        .cdfoot .btn { white-space:nowrap; }
      }
      /* Recent payments: rows of the same month sit together, no rule between
         them; the line only separates one month from the next. */
      .cdai.samemo { border-bottom:none; padding-bottom:3px; }
      /* Masaustunde cekmece (kullanici, 2026-10-30): %15 genis (430 -> 495)
         ve sayfadan ayrilan bir yuzey. Eskiden ekranin kenarina yapisik,
         sayfayla ayni renkte ve hafif bir perdenin arkasindaydi; iki yuzey
         ic ice gecmis gibi okunuyordu. Simdi kenarlardan 12px iceride yuzen
         bir panel: yuvarlak koseler, belirgin golge, ust kisimda temanin
         renginde hafif bir bant, ve arkadaki sayfa koyulasip bulaniklasiyor. */
      @media (min-width:821px) {
        .cdscrim { background:rgba(4,12,9,.58); backdrop-filter:blur(3px) saturate(.85); -webkit-backdrop-filter:blur(3px) saturate(.85); }
        .cddrawer { top:12px; right:12px; height:calc(100dvh - 24px); width:min(495px, calc(100vw - 24px));
          border:1px solid color-mix(in srgb, var(--ink) 12%, var(--line)); border-radius:var(--r-modal);
          box-shadow:0 30px 80px -20px rgba(0,0,0,.55), 0 10px 24px -12px rgba(0,0,0,.35), inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent);
          animation:cdfloat .3s cubic-bezier(.22,1,.36,1); }
        .cdhead { background:linear-gradient(180deg, color-mix(in srgb, var(--primary) 13%, var(--surface)), var(--surface)); }
        .cdfoot { border-radius:0 0 var(--r-modal) var(--r-modal); }
        /* Kayan sey cekmecenin kendisi degil GOVDESI (kullanici, 2026-10-30): cekmece kaydirinca Windows'un
           kaydirma cubugu sag ustteki ve alttaki yuvarlak koselerin disina tasiyordu. Simdi baslik ve alt
           dugmeler yerinde, cubuk yalnizca aradaki govdede. */
        .cddrawer { overflow:hidden; }
        .cdhead, .cdfoot { flex:0 0 auto; }
        .cdbody { overflow-y:auto; overscroll-behavior:contain; min-height:0; scrollbar-width:thin; }
      }
      @keyframes cdfloat { from { transform:translateX(calc(100% + 24px)); } }
      @media (prefers-reduced-motion:reduce){ .cddrawer { animation:none !important; } }
      /* Musteriye yansitilan sure, Son odemeler'in basinda. */
      .tkgchg { margin-left:auto; font-size:11.5px; font-weight:600; text-transform:none; letter-spacing:0; color:var(--dim); white-space:nowrap; }
      .tkgchg b { color:var(--green); font-weight:700; }
      .crmo.crchg b { color:var(--green); }
      .cdaicon.tm svg { fill:none; }
      @media (max-width:640px){
        /* minmax(0,…) not 1fr: a plain 1fr refuses to shrink below the chip
           row's min-content, so the Sort select in column 2 was stealing width
           from the All/New/Active chips instead of the chips scrolling. */
        .crtoolbar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; }
        .crsearch { grid-column:1; grid-row:1; }
        .crview { grid-column:2; grid-row:1; justify-self:end; }
        /* An input carries an intrinsic width and ignores the track it was
           given: this one ran past column 1 and its rounded end appeared
           behind the view toggle, which read as a background out of place. */
        .crtoolbar .crsearch { width:100%; min-width:0; }
        /* Sort goes away on a phone. Five filter chips and a select do not fit
           in 375px, and the strip that had to scroll sideways to hold them was
           the worse of the two to lose: the chips are the thing you reach for,
           and the roster's unsorted order already leads with what matters. */
        .crsort { display:none; }
        .crfilters { grid-column:1 / -1; grid-row:2; justify-self:stretch; display:flex; }
        /* Chips share the row by their text, not in equal fifths: "Durduruldu"
           is twice "Yeni" and an equal share broke it onto two lines while the
           short ones sat half empty. Never wraps; the gap goes first. */
        .crfilters { gap:1px; }
        .crfchip { flex:1 1 auto; min-width:0; padding:6px 3px; font-size:11.5px; text-align:center; white-space:nowrap; }
        .crsortlbl { display:none; }
        /* and the select itself gives ground: smaller type, tighter padding */
        .crsort select { font-size:11px; padding:6px 5px; border-radius:8px; }
        .crgrid { grid-template-columns:1fr; }
      }
      /* Below 360px (iPhone SE class) the five chips no longer fit at 11.5px. */
      @media (max-width:359px) {
        .crfchip { font-size:10px; padding:6px 2px; }
        .crfcount { margin-left:0; }
      }
      .potential { background:var(--potential); }
      /* Fallback for a section with no tone; also theme-derived so a future
         section can't reintroduce a fixed colour by forgetting its sec- class. */
      /* The green that says a payment landed. On the row itself rather than on
         the page, because the row is what changed, and gone in half a second:
         a colour that stays is a state, and this is an event.
         --green at 22% of the surface leaves --ink where it was, so nothing in
         the row has to be measured again. */
      tr.paidsweep > td { animation:paidsweep 440ms ease-out; }
      @keyframes paidsweep { from { background:color-mix(in srgb, var(--green) 22%, var(--surface)); } to { background:transparent; } }
      tr.paidsettle > td { animation:paidsettle .7s ease-out; }
      @keyframes paidsettle { from { background:color-mix(in srgb, var(--green) 18%, var(--surface)); } to { background:transparent; } }
      /* While it travels it is above the rows it passes. */
      tr.paidsweep, tr.paidsettle { position:relative; z-index:2; }
      @media (prefers-reduced-motion:reduce){ tr.paidsweep > td, tr.paidsettle > td { animation:none; } }
      .sectionrow td { background:color-mix(in srgb, var(--primary) 10%, var(--surface)); font-size:13px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; color:var(--primary-ink); padding:10px 12px; border-top:2px solid transparent; }
      .seccount { font-weight:700; opacity:.7; }
      /* Section tints. Every band and every row body is the SAME hue as the
         active theme, mixed into the surface at different strengths — no fixed
         yellow, green or purple anywhere, so switching palette carries the whole
         table with it. Strength is what tells the three sections apart now, and
         it follows how settled the money is: paid strongest, pending in the
         middle, potential faintest. The dark side is the same idea at higher
         percentages, because a tint has to work harder against a dark surface.
         Keep the two halves in step: a change to one needs the other. */
      /* The band over a section takes the colour of the bars in it, so the whole
         group reads as one thing: yellow over the pending rows, red over the late
         ones, green over paid. All three parts are mixed off the same --st-*
         value, and the text is a deep version of it rather than --primary-ink,
         which was one green sitting on five different tints. */
      .sectionrow.sec-overdue    { --sect:var(--st-overdue); }
      .sectionrow.sec-pending    { --sect:var(--st-pending); }
      .sectionrow.sec-notstarted { --sect:var(--st-notstarted); }
      .sectionrow.sec-paid       { --sect:var(--st-paid); }
      .sectionrow.sec-potential  { --sect:var(--st-potential); }
      .sectionrow[class*="sec-"] td {
        background:color-mix(in srgb, var(--sect) 26%, var(--surface));
        /* 48%, not 58%: yellow is the hard one here and the paler mix put the
           Pending band's own label at 4.07:1 on it. At 48% the five land
           between 5.5 and 7. */
        color:color-mix(in srgb, var(--sect) 48%, #000);
        border-top-color:color-mix(in srgb, var(--sect) 52%, var(--surface)); }
      /* Money that has landed and money that has only been promised should not
         look like the same row at two strengths of the same wash, which is what
         4% against 7% amounted to. Paid keeps the theme wash, because that is
         the settled state and the theme colour reads as done. Everything still
         owed is recessed instead: a neutral grey mixed off --ink, so it adapts
         to every palette and to dark mode without ever introducing a hue of its
         own (an amber wash here is exactly what looked wrong on Ember). What
         separates one unpaid row from another is the edge bar below. */
      tbody tr.sec-pending, tbody tr.sec-potential,
      tbody tr.rowunstarted { background:color-mix(in srgb, var(--ink) 4%, var(--surface)); }
      /* Odenmis satir temanin rengini DEGIL odendi yesilini tasiyor (kullanici,
         2026-10-22: mor temada satirlar lila gorunuyordu). */
      tbody tr.sec-paid { background:color-mix(in srgb, var(--st-paid) 8%, var(--surface)); }
      /* The edge bar says what the row IS, so it is the one colour on this
         table that does NOT follow the palette: paid green, owed amber, late
         red, waiting slate. A theme-coloured bar would make "paid" mean
         something different on every palette, and the whole point of a marker
         you read down the left edge is that it means the same thing every time.
         Light tones, because it is 3px of decoration beside the text, not a
         warning banner. Pending and Potential started 23 apart, close enough to
         be the same colour at 3px wide, so they were pulled to 72. */
      /* Declared once, because the Income tabs paint the same five colours: the
         dot beside a tab and the bar down its rows have to be the same value or
         the filter stops being a key to the table. */
      .app { --st-paid:#6FBF9A; --st-pending:#E8C75C; --st-overdue:#E08B85;
             --st-potential:#DE8348; --st-notstarted:#8AA4BA; }
      /* Deeper on the dark surface, where the light tones glow rather than sit. */
      .app.dark { --st-paid:#3E8F6B; --st-pending:#AE9440; --st-overdue:#A05B57;
                  --st-potential:#A45C33; --st-notstarted:#5B7488; }
      tbody tr[class*="bar-"] { box-shadow:inset 3px 0 0 var(--rowbar, transparent); }
      tbody tr.bar-paid       { --rowbar:var(--st-paid); }
      tbody tr.bar-pending    { --rowbar:var(--st-pending); }
      tbody tr.bar-overdue    { --rowbar:var(--st-overdue); }
      tbody tr.bar-potential  { --rowbar:var(--st-potential); }
      tbody tr.bar-notstarted { --rowbar:var(--st-notstarted); }
      .app.dark .sectionrow[class*="sec-"] td {
        background:color-mix(in srgb, var(--sect) 22%, var(--surface));
        color:color-mix(in srgb, var(--sect) 62%, #FFFFFF);
        border-top-color:color-mix(in srgb, var(--sect) 40%, var(--surface)); }
      .app.dark tbody tr.sec-pending, .app.dark tbody tr.sec-potential,
      .app.dark tbody tr.rowunstarted { background:color-mix(in srgb, var(--ink) 7%, var(--surface)); }
      .app.dark tbody tr.sec-paid { background:color-mix(in srgb, var(--st-paid) 10%, var(--surface)); }
      /* Amber, light mode only: an orange wash over an already warm page turned
         the Income rows muddy, so they sit on the plain surface instead. The
         section bands keep their tint — that is what still separates Pending
         from Paid — and dark mode is untouched, where the wash reads fine. */
      .app.pal-ember:not(.dark) tbody tr.sec-paid { background:var(--surface); }
      /* per-part amounts under the gross / net figures */
      .brkcol { display:flex; flex-direction:column; gap:1px; margin-top:3px; font-size:11px; font-family:'IBM Plex Mono',monospace; color:#B5631A; }
      .brkcol em { font-style:normal; font-weight:700; opacity:.75; margin-right:4px; }
      .brkcol .brknote { font-style:normal; font-weight:500; font-family:'Manrope',system-ui,sans-serif; }
      .app.dark .brkcol { color:#E8A45C; }
      /* collapsible week groups in the ledger */
      /* Islemler satiri: tekrarlayan bir kalemin adinin yaninda Tekrarlayan
         sekmesinin ikonu (kullanici, 2026-10-20). */
      .txname { display:inline-flex; align-items:center; gap:6px; min-width:0; }
      .txrec { display:inline-flex; flex:none; color:var(--primary-ink); }
      .txrec svg { width:13px; height:13px; }
      /* Islemler: satirin basinda yuvarlak ikon (gelir banknot, gider grubunun
         emojisi ya da fis) ve tarihin altinda kayit saati (kullanici, 2026-10-24). */
      .txitemrow { display:flex; align-items:center; gap:10px; min-width:0; }
      .txitemrow .cellmain { min-width:0; flex:1 1 auto; }
      .txico { flex:none; width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-size:15px; line-height:1; }
      .txico svg { width:16px; height:16px; }
      .txico.inc { background:none; }
      .txcoin { display:none; }
      .txico.exp { background:color-mix(in srgb, var(--red) 10%, transparent); color:var(--red); }
      /* Saat ve ikonu ayni taban cizgisine oturuyor (kullanici, 2026-10-25: ikon
         rakamdan yukarida duruyordu). Ortalamak yazi tipinin olculerine bagli;
         taban cizgisi degil. Ikon rakamin boyunda (cap yuksekligi ~0.7em). */
      .txtime { display:flex; align-items:baseline; gap:4px; font-size:11px; line-height:1.2; color:var(--faint); margin-top:2px; }
      .txtime .txclock { display:inline-block; flex:none; line-height:0; position:relative; top:.9px; }
      .txtime .txclock svg { display:block; width:10px; height:10px; }
      .txarr { font-weight:800; margin-right:1px; }
      .txkind { display:none; }
      .txtypesr { display:none; }
      /* Islemler telefon duzeni (kullanici, 2026-10-28): masaustunde yok. */
      .txsub, .lstxt, .lgsum3, .dayhd { display:none; }
      .txnametxt { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      /* Gelir kartinin telefona ozel parcalari masaustunde yok. */
      .ipay, .inctax, .incmk, .incpre, .incok, .incbox { display:none; }
      .mclogo, .mcmeta, .mcsvc, .mcmk, .mcsort { display:none; }
      .mctbl tr.mcrow { cursor:pointer; }
      /* Gider ve Fatura: telefon kartinin parcalari masaustunde yok. Baslik
         ikonu iki boyda da (kullanici, 2026-10-20). */
      .spmeta, .sphint, .spmk, .spchev, .spkalan, .spoklbl, tr.spphone, .sppaidr { display:none; }
      .sptitle { display:flex; align-items:center; gap:10px; }
      .spico { width:30px; height:30px; border-radius:9px; display:grid; place-items:center; flex:0 0 auto; background:color-mix(in srgb, var(--primary) 9%, var(--surface)); color:var(--ink); }
      .spico svg { width:18px; height:18px; }
      .spico.bill { background:color-mix(in srgb, var(--primary) 12%, var(--surface)); color:var(--primary-ink); }
      .app.dark .spico { background:color-mix(in srgb, var(--primary) 12%, var(--surface)); }
      .app.dark .spico.bill { background:color-mix(in srgb, var(--primary) 11%, var(--surface)); }
      .ipay-burst { position:fixed; pointer-events:none; z-index:300; }
      .ipay-burst i { position:absolute; width:6px; height:6px; border-radius:50%; left:-3px; top:-3px; animation:ipaypop .7s cubic-bezier(.2,.7,.3,1) forwards; }
      @keyframes ipaypop { 0% { transform:translate(0,0) scale(.4); opacity:1; } 100% { transform:translate(var(--dx),var(--dy)) scale(1); opacity:0; } }
      /* Duzenli giderler telefonda liste (kullanici, 2026-10-28): her satir tek dokunusluk,
         "Tur . Kategori" ve son odeme gunu. Tablo yalnizca masaustunde DOM'da. */
      .reclist { display:flex; flex-direction:column; }
      /* Durdurulmus duzenli kalem (K-699): rozet ikon + yazi, satir hafif soluk ama ad ve rozet tam okunur. */
      .recpchip { display:inline-flex; align-items:center; gap:4px; flex:0 0 auto; padding:2px 8px 2px 6px; border-radius:999px; font-size:11.5px; font-weight:800; letter-spacing:.02em; white-space:nowrap;
        background:color-mix(in srgb, var(--amber) 16%, var(--surface)); color:var(--ink); border:1px solid color-mix(in srgb, var(--amber) 45%, var(--line)); }
      .recpchip svg { width:12px; height:12px; color:var(--amber); }
      .rectable .cellmain { flex-wrap:nowrap; }
      .rectable .cellmain > input.inline { flex:1 1 auto; min-width:0; }
      .recpchip.compact { width:24px; height:24px; padding:0; justify-content:center; }
      .recpchip.compact svg { width:13px; height:13px; }
      .recpchip.soon { background:transparent; border-style:dashed; color:var(--dim); }
      tr.recpaused > td:not(:first-child), .recrow.recpaused .recside, .recrow.recpaused .recsub { opacity:.62; }
      .recbar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:0 18px 10px; }
      .recbar .recsearch { width:260px; max-width:100%; height:34px; }
      .recfilt { width:max-content; max-width:100%; }
      @media (max-width:820px){ .recbar .recsearch { width:100%; } .recbar .recsearch input { font-size:16px; } }
      .recfilt .crfchip { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
      .recfilt .crfchip svg { width:12px; height:12px; }
      .recrow { display:flex; align-items:center; gap:12px; width:100%; min-height:64px; padding:10px 16px 10px 18px; border:none; border-top:1px solid var(--line); background:transparent; text-align:left; font-family:inherit; color:inherit; cursor:pointer; }
      .recrow:first-child { border-top:none; }
      .recrow:active { background:var(--bg); }
      .recmain { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
      .recname { display:flex; align-items:center; gap:6px; min-width:0; font-size:14.5px; font-weight:700; color:var(--ink); }
      .recnm { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
      .recsub { font-size:12.5px; color:var(--dim); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .recside { flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:2px; }
      .recamt { font-size:15px; font-weight:600; color:var(--ink); }
      .recdue { font-size:12.5px; color:var(--dim); white-space:nowrap; }
      .txdelzone { display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; padding:6px 18px 18px; }
      .txdellink { border:none; background:none; font:inherit; font-size:12.5px; font-weight:600; color:var(--dim); cursor:pointer; padding:8px 10px; border-radius:8px; }
      .txdellink:hover, .txdellink:focus-visible { color:var(--red); }
      .txdelq { font-size:12.5px; font-weight:700; color:var(--red); }
      .txdelbtns { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; }
      .txdelbtns .btn { white-space:nowrap; min-height:40px; padding:0 14px; }
      @media (max-width:820px) { .txdelbtns .btn { min-height:44px; } }
      .txdelzone.plan { flex-direction:column; gap:8px; }
      /* Duzenli gider silme alani: yikici soruda dugmeler gercek, cerceveli, 44px. */
      .recdel { flex-direction:column; align-items:stretch; gap:10px; padding:8px 18px 14px; }
      .recdel .txdelq { text-align:center; font-size:13.5px; }
      .recdel .recdelbtns { display:flex; gap:10px; }
      .recdel .recdelbtns .btn, .recdel .txdellink { flex:1; min-height:44px; display:flex; align-items:center; justify-content:center; border-radius:var(--r-ctl); font-size:14px; font-weight:700; }
      .recdel .txdellink { background:var(--surface); border:1px solid color-mix(in srgb, var(--red) 40%, var(--line)); color:var(--red); padding:0 14px; }
      /* Krediler ve kartlar telefonda (kullanici, 2026-10-28): satir dili Duzenli giderlerle ayni
         (.reclist/.recrow), durum sagda, toplamlar kartin dibinde, dokununca alt sayfa. */
      .recrow .ratepill { margin-right:4px; }
      .recamt.crpaid { color:var(--green); }
      .recdue.crst { font-weight:700; color:var(--amber); }
      .recdue.crst.paid { color:var(--green); }
      .crfoot { display:grid; grid-template-columns:1fr auto; gap:6px 12px; align-items:baseline; padding:12px 18px; border-top:1px solid var(--line); font-size:12.5px; color:var(--dim); }
      .crfoot b { font-size:14px; text-align:right; }
      .crsheet { display:flex; flex-direction:column; gap:12px; padding:14px 18px 18px; }
      .crskv { border:1px solid var(--line); border-radius:var(--r-inner); overflow:hidden; }
      .crskv > div { display:flex; justify-content:space-between; gap:12px; padding:11px 14px; border-top:1px solid var(--line); font-size:13.5px; }
      .crskv > div:first-child { border-top:none; }
      .crskv span { color:var(--dim); }
      .crskv b { text-align:right; font-weight:700; }
      .crsfield { display:flex; flex-direction:column; gap:6px; }
      .crsfield > span { font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); }
      .crsbtn { min-height:44px; width:100%; justify-content:center; border-radius:var(--r-ctl); font-size:14.5px; font-weight:700; }
      .crsbtn.crsdanger { color:var(--red); border-color:color-mix(in srgb, var(--red) 40%, var(--line)); background:var(--surface); }
      .crsdel { display:flex; flex-direction:column; gap:10px; }
      .crsdel .txdelq { text-align:center; font-size:13.5px; }
      .crsdel .recdelbtns { display:flex; gap:10px; }
      .crsdel .recdelbtns .btn { flex:1; min-height:44px; display:flex; align-items:center; justify-content:center; border-radius:var(--r-ctl); font-size:14px; font-weight:700; }
      .weekgroup { cursor:pointer; background:var(--bg); }
      .weekgroup:hover { background:color-mix(in srgb, var(--primary) 9%, var(--bg)); }
      .weekgroup td { font-weight:600; }
      .weekgroup .wgtoggle { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; margin-right:4px; vertical-align:-6px; color:var(--dim);
        border:0; background:transparent; padding:0; font:inherit; cursor:pointer; border-radius:6px; -webkit-appearance:none; appearance:none; }
      .weekgroup .wgtoggle:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      .weekgroup .wgtoggle svg { width:17px; height:17px; transition:transform .18s ease; }
      .weekgroup.open .wgtoggle svg { transform:rotate(90deg); }
      .weekgroup:hover .wgtoggle { color:var(--primary); }
      .weekgroup .wghint { font-size:11px; font-weight:400; color:var(--dim); margin-left:10px; }
      @media (prefers-reduced-motion:reduce){ .weekgroup .wgtoggle svg { transition:none; } }
      .weekgroup.open { border-bottom:1px solid var(--line); }
      /* daily income/spend area chart */
      .dfwrap { position:relative; width:100%; }
      .dfchart { display:block; width:100%; touch-action:pan-y; }
      .dfday { font-size:10px; fill:var(--dim); font-family:'IBM Plex Mono',monospace; }
      .dfin { color:var(--green); font-weight:700; font-family:'IBM Plex Mono',monospace; }
      .dfout { color:var(--red); font-weight:700; font-family:'IBM Plex Mono',monospace; }
      .dftip { position:absolute; top:4px; transform:translateX(-50%); background:var(--surface); border:1px solid var(--line); border-radius:9px; padding:6px 10px; font-size:11.5px; line-height:1.5; box-shadow:0 8px 22px rgba(14,33,27,.16); pointer-events:none; white-space:nowrap; z-index:2; }
      .dftipd { font-weight:700; color:var(--ink); margin-bottom:1px; }
      .ctgtipline { display:flex; align-items:center; gap:6px; color:var(--dim); }
      .ctgtipline b { color:var(--ink); margin-left:2px; }
      /* Category pickers for the trend view. Filled = plotted, outlined =
         available; the colour is the series colour either way, so a chip and
         its line are read as the same thing. The colours themselves are set
         inline, because they are derived per category name in JS. */
      /* The arrows sit outside the scroller so they don't scroll away with it.
         They are the desktop affordance: a finger can flick the strip, a mouse
         has nothing to grab. A vertical wheel over the strip moves it sideways
         too — see the wheel handler. */
      .catchipwrap { display:flex; align-items:flex-start; gap:2px; padding:2px 8px 12px; }
      .catchips { display:flex; flex-wrap:nowrap; gap:6px; padding:0 2px; overflow-x:auto; flex:1; min-width:0;
        -webkit-overflow-scrolling:touch; scrollbar-width:none; }
      .catchips::-webkit-scrollbar { display:none; }
      /* Faded only while something is still off that way, so a short list that
         fits doesn't get a permanently half-dimmed chip at either end. */
      .catchips.more { mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent);
        -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent); }
      .catchips.less { mask-image:linear-gradient(90deg,transparent,#000 26px);
        -webkit-mask-image:linear-gradient(90deg,transparent,#000 26px); }
      .catchips.less.more { mask-image:linear-gradient(90deg,transparent,#000 26px,#000 calc(100% - 26px),transparent);
        -webkit-mask-image:linear-gradient(90deg,transparent,#000 26px,#000 calc(100% - 26px),transparent); }
      .chipnav { flex:none; width:22px; height:28px; border:none; background:transparent; cursor:pointer;
        color:var(--dim); font-size:17px; line-height:1; border-radius:7px; padding:0; }
      .chipnav:hover { background:var(--bg); color:var(--ink); }
      /* Kept in the layout rather than removed, so the strip doesn't jump
         sideways by 24px the moment you scroll it. */
      .chipnav.off { opacity:0; pointer-events:none; }
      .catchip { flex:0 0 auto; white-space:nowrap; border:1px solid var(--line); background:transparent; border-radius:20px;
        padding:4px 11px; font:inherit; font-size:11.5px; font-weight:700; cursor:pointer;
        color:var(--dim); line-height:1.5; transition:background .16s ease, color .16s ease; }
      /* A selected category chip is filled with its own colour by an inline
         style, and white sits on that. "All" has no colour of its own, so the
         same rule left it white on the card: invisible on light paper. It
         takes the app's own selected look instead. */
      .catchip.on { color:#fff; }
      .catchip.all { display:inline-grid; justify-items:center; }
      .catchip.all > span { grid-area:1 / 1; }
      .catchip.all > .catallhid { visibility:hidden; }
      .catchip.all.on { background:var(--mint); border-color:var(--primary); color:var(--primary-ink); }
      .serchips { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
      .catchip:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
      .ghosttext { color:var(--faint); font-style:italic; }
      tfoot td { border-bottom:none; padding:6px 12px; }
      .footlabel { font-size:11px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:var(--dim); }
      tfoot .grand td { border-top:2px solid var(--ink); padding-top:8px; }
      .empty { text-align:center; color:var(--faint); padding:22px; font-style:italic; }
      .legend { font-size:11.5px; color:var(--dim); padding:10px 18px 14px; border-top:1px dashed var(--line); margin-top:2px; }
      .formhint { font-size:11.5px; color:var(--dim); padding:0 18px 6px; }
      /* A dot ahead of the word, in the status's own colour. It is what the eye
         reaches first down a column of these, before it reads anything, and it
         costs nothing: currentColor is the label's colour, which is the status
         colour, already measured. justify-content is pinned for the same reason
         .btn pins it, a flex parent must not left-align the label. */
      .pill { border:none; font:inherit; font-size:11px; font-weight:700; padding:4px 12px; border-radius:20px; cursor:pointer;
        display:inline-flex; align-items:center; justify-content:center; gap:6px; }
      .pill::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; flex:0 0 auto; }
      .pill.paid { background:#D6F5E7; color:#0B7A55; }
      .pill.pending { background:#FBF0D2; color:var(--amber); }
      .pill.overdue { background:#FBE0E0; color:var(--red); }
      /* inline-flex, with justify-content pinned to center: a button stretched
         by a flex parent (".cdfoot .btn { flex:1 }") would otherwise left-align
         its label the moment this stopped being an inline-block. */
      .btn { display:inline-flex; align-items:center; justify-content:center; gap:7px;
        border:1px solid var(--line); background:var(--surface); color:var(--ink); font:inherit; font-weight:600; padding:7px 14px; border-radius:var(--r-ctl); cursor:pointer; }
      .btn svg { width:15px; height:15px; flex-shrink:0; }
      .btn:hover { border-color:var(--faint); }
      /* Nothing in this app moved when it was pressed. A control that does not
         answer reads as broken, and the one that took a moment to work read as
         the most broken of all. One rule, every button: it dips while it is
         held and comes back when it is let go.
         Transform rather than colour, because these buttons come in five
         palettes and two themes and there is no one tint that is right on all
         ten. Nothing here changes what anything measures. */
      .btn:active:not(:disabled), .newver button:active:not(:disabled),
      .saveerr button:active:not(:disabled), .undo button:active:not(:disabled),
      .crvbtn:active, .crmenu button:active, .mobitem:active, .crkebab:active,
      .iconbtn:active, .prnewlink:active {
        transform:translateY(1px);
      }
      /* .bigglow and .fabbtn are left alone: both already answer a press with
         a movement of their own, further down the sheet. */
      /* The exception: a card already answers by sinking as a whole, so a
         button inside one must not sink a second time under the same finger. */
      .prstatbtn:active { transform:none; }
      .btn, .newver button, .saveerr button, .undo button, .crvbtn, .crkebab, .iconbtn {
        transition:transform .06s ease;
      }
      @media (prefers-reduced-motion:reduce){
        .btn, .newver button, .saveerr button, .undo button, .crvbtn, .crkebab, .iconbtn { transition:none; }
      }
      /* Still the full white on the banner's blue while it works: fading the
         label of a button that is doing what it was asked is the moment it
         becomes hardest to read. What says it is busy is the label itself. */
      .newver button:disabled { cursor:default; }
      .btn.sm { padding:4px 10px; font-size:12px; }
      .btn.primary { background:var(--primary); border-color:var(--primary); color:#fff; }
      .btn.primary:hover { background:var(--primary-ink); }
      /* Koyu temada --primary-ink ACIK bir mint (koyu zeminde yazi rengi), yani beyaz yazili dolu
         dugmenin ustune gelince yazi kayboluyordu (olculdu: rgb(95,224,174) uzerinde beyaz, ~1.6).
         --sel-bg beyaz yaziyla en az 4.5 (kullanici, 2026-10-30). */
      .app.dark .btn.primary:hover { background:var(--sel-bg); border-color:var(--sel-bg); }
      .btn.ok { background:#D6F5E7; border-color:#A9E6CC; color:var(--green); font-weight:800; }
      .btn.danger { background:var(--red); border-color:var(--red); color:#fff; }
      .btn[disabled] { opacity:.6; cursor:default; }
      .btn[disabled]:hover { border-color:var(--line); }
      .btn.danger:hover { background:#B83535; }
      .iconbtn { border:none; background:transparent; color:var(--dim); cursor:pointer; padding:4px; border-radius:7px; display:inline-flex; align-items:center; justify-content:center; font-size:16px; line-height:1; }
      .iconbtn svg { width:15px; height:15px; }
      .iconbtn:hover { background:var(--bg); color:var(--ink); }
      /* Delete and remove wear one shape everywhere: a square box rounded all
         the way to a circle, tinted red at rest so the control reads as
         destructive before it is hovered, and filling to solid red under the
         pointer. Three surfaces share it because they had each grown their own
         treatment of the same "x": the row actions, a client's documents and
         the tax categories. A notification's dismiss was the fourth until the
         bell went down to one mark per row. The tint is a
         color-mix on --red rather than the flat #FBE0E0 used elsewhere, which
         is a light-mode pink and turns to mud on a dark surface. */
      .iconbtn.danger, .docx, .taxdel {
        position:relative;
        width:17px; height:17px; padding:0; flex:0 0 auto;
        display:inline-flex; align-items:center; justify-content:center;
        border:1.5px solid var(--red); border-radius:50%; cursor:pointer; line-height:1;
        background:transparent; color:var(--red);
        transition:background .13s ease, color .13s ease; }
      .iconbtn.danger:hover, .docx:hover, .taxdel:hover {
        background:var(--red); color:#fff; }
      /* --red is tuned for a white card. On the dark surface the same red is
         3.59:1, so the ring and the glyph lighten there (4.69:1) while the
         hover fill stays the full red under white, 4.57:1 in both themes. */
      .app.dark .iconbtn.danger, .app.dark .docx, .app.dark .taxdel {
        border-color:color-mix(in srgb, var(--red) 82%, #fff);
        color:color-mix(in srgb, var(--red) 82%, #fff); }
      .app.dark .iconbtn.danger:hover, .app.dark .docx:hover, .app.dark .taxdel:hover {
        border-color:var(--red); background:var(--red); color:#fff; }
      .iconbtn.danger:focus-visible, .docx:focus-visible, .taxdel:focus-visible {
        outline:2px solid var(--red); outline-offset:2px; }
      /* A circle is only a circle if the glyph inside it is centred, and the
         multiplication sign these buttons use sits high in its own em box. */
      .iconbtn.danger, .docx, .taxdel { font-size:11px; }
      /* The drawn circle stays 17px; the area that takes the click is 29px.
         Apple's desktop minimum is 20x20 (accessibility.md, Mobility) and the
         circle alone was 17. A 6px ring of invisible hit area, inside the 6px
         gap of .rowacts, so it never reaches the button beside it. */
      .iconbtn.danger::before, .docx::before, .taxdel::before { content:""; position:absolute; inset:-6px; border-radius:50%; }
      .rowacts .iconbtn:not(.danger) { min-width:28px; min-height:28px; }
      /* An outline reads as destructive without a wall of red down a table of
         twenty rows, and it is the better of the two on contrast as well: the
         glyph sits on the card itself at 4.57:1, where the 13% pink wash the
         first version used put it at 3.82:1. Filling on hover keeps white on
         the full --red, also 4.57:1. */
      .form { display:flex; gap:10px; flex-wrap:wrap; padding:4px 18px 14px; align-items:flex-end; }
      .form.wrap { row-gap:12px; } .form.pad, .pad { padding:14px 18px; }
      .addpanel { position:relative; margin:2px 18px 16px; padding:20px 16px 14px; background:color-mix(in srgb, var(--ink) 3%, var(--surface)); border:1px solid var(--line); border-radius:12px; box-shadow:inset 0 1px 0 rgba(255,255,255,.5); animation:addpanelIn .18s ease; }
      .app.dark .addpanel { background:color-mix(in srgb, var(--ink) 4%, var(--surface)); border-color:var(--line); box-shadow:none; }
      .addpanel-tab { position:absolute; top:-9px; left:16px; background:var(--primary-ink); color:var(--surface); font-size:10px; font-weight:800; letter-spacing:.5px; text-transform:uppercase; padding:2px 9px; border-radius:20px; }
      .app.dark .addpanel-tab { background:#2C3A31; color:#E7F0EC; }
      .spbstick + .addpanel { margin-top:16px; } /* yapiskan suzgec seridi "Yeni gider" etiketinin ustunu kapatiyordu (kullanici, 2026-12-04) */
      .addpanel > .segrow.addmode { display:flex; margin:4px 18px 14px; } .addpanel > .segrow.addmode > .seg { flex:1 1 0; justify-content:center; } /* tek seferlik | duzenli (kullanici, 2026-11-08) */
      .addpanel > .form.addrec { padding:4px 18px 14px; } /* tek seferlikle ayni ic bosluk: alanlar ayni hizada (kullanici, 2026-11-08) */
      .addpanel :is(input, textarea)::placeholder { color:transparent; } /* yeni gider formunda yer tutucu yazi yok (kullanici, 2026-11-08) */
      @media (max-width:820px){ label.checkfield.autopaychk > span { font-size:14px; } } /* telefonda Otomatik odeme 2px kucuk, (i) yok (kullanici, 2026-11-08) */
      @media (max-width:820px){ .addpanel > .form.addgrid, .addpanel > .form.addrec { padding-left:0; padding-right:0; } .addpanel > .segrow.addmode { margin-left:0; margin-right:0; } } /* telefonda cift ic bosluk yok */
      @keyframes addpanelIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
      @media (prefers-reduced-motion:reduce){ .addpanel { animation:none; } }
      .formsection { font-size:11px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; color:var(--faint); padding:8px 18px 2px; }
      .field { display:flex; flex-direction:column; gap:4px; font-size:11px; font-weight:600; color:var(--dim); }
      input, select, textarea { color:var(--ink); }
      .field input, .field select, .field textarea { font:inherit; font-size:13px; color:var(--ink); border:1px solid var(--line); border-radius:8px; padding:7px 9px; background:#FCFEFD; width:100%; }
      .field input:focus, .field select:focus, .field textarea:focus { outline:2px solid var(--primary); outline-offset:-1px; }
      /* Tek bir yukseklik, satirdaki her alan icin. Telefonda bu kural zaten
         vardi (44px); masaustunde yoktu, ve orada yerli bir select ile bir
         tarih alani kendi ic metriginden 33px cikarken duz bir metin alani
         31px kaliyordu. Iki piksel, ama yan yana duran uc alanin ortasindaki
         birinin bir basamak asagida durmasi demek. Onay kutulari disarida:
         onlar alanin icindeki bir isaret, kutusu degil. */
      .field input:not([type=checkbox]):not([type=radio]), .field select, .field .moneywrap input { min-height:33px; }
      .formfoot { display:flex; justify-content:space-between; align-items:center; width:100%; padding-top:4px; gap:10px; flex-wrap:wrap; }
      .formfootbtns { display:flex; gap:8px; align-items:center; margin-left:auto; }
      /* The add panel's fields, in columns. Each one fills its cell whatever
         width it asked for on its own. */
      .addgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:12px; margin-bottom:10px; }
      .addgrid > .field, .addgrid > .checkfield { width:auto !important; min-width:0; }
      .addgrid > .field > input, .addgrid > .field > select, .addgrid > .field > textarea, .addgrid > .field > .moneywrap, .addgrid > .field > .mentionwrap { width:100%; min-width:0; }
      @media (max-width:820px){ .addgrid { grid-template-columns:1fr 1fr; } }
      /* One column on a phone. A select is 16px here (anything smaller makes
         iOS zoom the page and never zoom back), and two columns of a 375px
         screen leave 110px each: "Electricity" came out as "Electric" and a
         date as "09/15/2". A field that cannot show its own value is worse
         than a longer form. */
      @media (max-width:560px){ .addgrid { grid-template-columns:1fr; } }
      /* They are one row of buttons, so they are one height. The accent one
         carried its own vertical padding and the icon-only one had no text to
         set its height, so the row stood at three different heights. The
         height is set here and the padding only spaces them sideways. */
      .formfoot .btn { min-height:36px; padding-top:0; padding-bottom:0; }
      .hint { font-size:11.5px; color:var(--dim); }
      .hint.hinterr { color:var(--red); font-weight:700; }
      /* 20/B warning banner */
      .warnbar { display:flex; align-items:center; gap:12px; background:#FEF6E6; border:1px solid var(--amberline); color:var(--ink); border-radius:11px; padding:11px 15px; font-size:13px; }
      .warnbar.danger { background:#FBE7E4; border-color:var(--red); }
      .warnicon { color:var(--amber); font-size:14px; }
      .warnbar.danger .warnicon { color:var(--red); }
      .warnbody { flex:1; line-height:1.45; }
      .app.dark .warnbar { background:#2A2412; }
      .app.dark .warnbar.danger { background:#2E1A17; }
      /* Kapsam bildirimi, uyari degil: sayinin yanlis oldugunu degil, neyi
         saydigini soyluyor. O yuzden amber degil, kartin uzerinde geri cekilmis
         bir serit. Kendi arka planini --bg'den aliyor, yani koyu mod icin ayri
         bir kural gerekmiyor. */
      .warnbar.quiet { background:var(--bg); border-color:var(--line); color:var(--dim); font-size:12.5px; padding:9px 13px; align-items:center; }
      /* (0,4,0): .app.dark .warnbar amber'i (0,3,0) bu kurali eziyordu ve koyu
         modda serit kahverengi cikiyordu. Olculdu. */
      .app.dark .warnbar.quiet { background:var(--bg); border-color:var(--line); color:var(--dim); }
      /* Cekmecede .cdstats'in altina geliyor ve onun 18px'ini tekrarliyor,
         yoksa serit bir sonraki baslga yapisik duruyor. */
      .cdbody .warnbar.quiet { margin-bottom:18px; }
      .warnbar.quiet .warnicon { color:var(--faint); }
      .warnbar.quiet .linkbtn { flex-shrink:0; }
      .warnbar.quiet .linkbtn[disabled] { opacity:.55; cursor:default; }
      /* Telefonda sariyor: dugme flex-shrink:0 oldugu icin sarmasaydi
         kisilen taraf metin olurdu. */
      /* Telefonda dugme kendi satirina iniyor. flex-wrap tek basina yetmiyor:
         govde kisilebildigi surece sarma hic tetiklenmiyor ve kisilen taraf
         metin oluyordu, uc kelimelik bir sutuna kadar. Inen DUGME, govde
         degil: govdeye flex-basis:100% verilince ikon da tek basina bir
         satirda kaliyor ve serit uc satir oluyor. */
      @media (max-width:820px){
        .warnbar.quiet { flex-wrap:wrap; gap:4px 10px; align-items:flex-start; }
        /* flex-basis 0, auto degil: auto'da taban genislik metnin max-content'i
           oluyor, o da ikonun yanina sigmiyor ve ikon tek basina bir satirda
           kaliyor. Olculdu. */
        .warnbar.quiet .warnbody { flex:1 1 0; min-width:0; }
        .warnbar.quiet .linkbtn { flex:0 0 100%; text-align:right; }
      }
      .closedchip { display:inline-flex; align-items:center; gap:6px; align-self:center; background:var(--mint); color:var(--primary-ink); font-size:12px; font-weight:700; padding:6px 12px; border-radius:20px; }
      /* month-close checklist */
      .closelist { display:flex; flex-direction:column; gap:8px; }
      /* Satir: solda ne oldugu, sagda ne yapilacagi (kullanici, 2026-10-13).
         Dar ekranda eylemler alta iniyor. */
      .closeitem { display:flex; gap:12px; align-items:center; flex-wrap:wrap; border:1px solid var(--line); border-radius:10px; padding:11px 13px; background:var(--surface); }
      .closeitem.on { border-color:var(--green); background:var(--mint); }
      .ci-body { display:flex; flex-direction:column; gap:3px; flex:1 1 240px; min-width:0; }
      .ci-acts { display:flex; gap:4px; flex-wrap:wrap; flex:0 1 auto; padding:3px; border-radius:10px; background:var(--bg); border:1px solid var(--line); }
      .ci-act { border:none; background:transparent; font:inherit; font-size:12.5px; font-weight:600; color:var(--dim); padding:6px 10px; border-radius:7px; cursor:pointer; white-space:nowrap; }
      .ci-act:hover:not(:disabled) { color:var(--ink); }
      .ci-act.on { background:var(--surface); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,.12); }
      .ci-act.on.ci-paid, .ci-act.on.ci-confirm { color:var(--green); }
      .ci-act.on.ci-unpaid { color:color-mix(in srgb, var(--amber) 70%, var(--ink)); }
      .ci-act:disabled { opacity:.4; cursor:not-allowed; }
      .ci-top { display:flex; align-items:center; gap:8px; font-size:13.5px; }
      .ci-detail { font-size:12px; color:var(--dim); }
      .closeclean { text-align:center; padding:22px; color:var(--green); font-weight:700; font-size:14px; }
      /* cash-flow projection */
      /* The forecast mark sits opposite the heading -- .cardhd is already
         space-between, so it needs no placement, only a size and the accent
         the card's white surface can carry. */
      .flowmark { display:inline-flex; color:var(--dim); --hf-accent:var(--green); }
      .flowmark svg { width:22px; height:22px; display:block; }
      .flowwrap { display:flex; gap:10px; padding:8px 18px 4px; align-items:flex-end; }
      .flowcol { flex:1; display:flex; flex-direction:column; align-items:center; gap:5px; padding:6px 2px; border-radius:9px; }
      .flowcol.now { background:var(--mint); }
      .flowbars { display:flex; align-items:flex-end; gap:3px; height:74px; }
      .flowbar { width:11px; border-radius:3px 3px 0 0; min-height:2px; }
      .flowbar.inc { background:var(--green); }
      .flowbar.out { background:var(--red); opacity:.7; }
      .flownet { font-size:11px; font-weight:800; }
      .flownet.pos { color:var(--green); } .flownet.neg { color:var(--red); }
      .flowcum { font-size:10.5px; color:var(--dim); }
      .flowm { font-size:11px; font-weight:700; color:var(--faint); }
      .flowlegend { display:flex; gap:16px; flex-wrap:wrap; padding:6px 18px 14px; font-size:11.5px; color:var(--dim); }
      .flowlegend span { display:flex; align-items:center; gap:6px; }
      .flowanalysis { margin:0 18px 16px; padding:12px 14px; background:var(--bg); border-radius:10px; font-size:12.5px; line-height:1.5; color:var(--ink-soft); }
      .flowanalysis b { color:var(--ink); }
      .sw { width:11px; height:11px; border-radius:3px; }
      .sw.inc { background:var(--green); } .sw.out { background:var(--red); opacity:.7; }
      /* category breakdown */
      /* ONE grid for the whole list, with each row handing its cells straight to
         it. Every row used to be its own grid, which is fine for a fixed column
         but not for a column sized to its content: each row then measured only
         its OWN label and the bars came out ragged, which is exactly what the
         first attempt at this did. Shared tracks mean the column takes what the
         longest label in the month needs and every bar still starts in the same
         place. */
      .catwrap { padding:8px 18px 16px; display:grid;
        grid-template-columns:fit-content(260px) 1fr auto;
        align-items:center; column-gap:10px; row-gap:9px; }
      /* fit-content, not a fixed 150: a two or three word category ("Business
         expenses") was being cut off, and a number picked to fit it would then
         waste the same space on a month of short names. The column takes what
         the longest label needs and stops at 260 so it can never eat the bars;
         the floor keeps it from collapsing when every name is short. */
      .catrow { display:contents; }
      .catnone { grid-column:1 / -1; padding:10px 0; }
      .catlabel { min-width:150px; font-size:12.5px; font-weight:600; color:var(--ink); white-space:nowrap; overflow:hidden;
        display:flex; align-items:center; }
      /* Ad kendi kutusunda kisaliyor: eskiden etiketin tamami tek bir
         inline-flex dugmeydi ve uzun bir ad kalan yere sigmayinca yalnizca
         "..." kaliyordu (kullanici, 2026-10-23). Nokta ve emoji yerinde, ad
         kalan yeri alip kendi icinde kisalir. */
      .catlabel .catdot { flex:0 0 9px; }
      .catlabel .catname { flex:1 1 auto; min-width:0; }
      .catemoji { flex:none; margin-right:5px; }
      .catnametxt { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .cattrack { background:var(--bg); border-radius:20px; height:9px; overflow:hidden; }
      .catfill { height:100%; background:var(--primary); border-radius:20px; }
      .dfnone { fill:var(--faint); font-size:12.5px; font-weight:600; }
      .catval { font-size:12px; text-align:right; white-space:nowrap; }
      .catpct { font-size:11px; color:var(--dim); }
      .cattotal { grid-column:1 / -1; display:flex; justify-content:space-between; border-top:1px solid var(--line); padding-top:10px; margin-top:2px; font-size:12.5px; color:var(--dim); }
      .cattotal b { color:var(--ink); }
      /* Telefonda cubuk yok, ad tam yaziyor (kullanici, 2026-10-23): halka ve
         satirin noktasi rengi zaten soyluyor, cubugun sutunu adin yeri.
         Masaustunde eski hali: ad, cubuk, tutar. */
      @media (max-width:820px), (max-height:480px) and (orientation:landscape){
        .catwrap { grid-template-columns:minmax(0,1fr) auto; column-gap:14px; }
        .catlabel { min-width:0; white-space:normal; overflow:visible; }
        .catnametxt { overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:anywhere; }
        .cattrack { display:none; }
        /* Telefonda satir yalnizca ad ve tutar: yer var, yazi bir kademe buyuk
           (kullanici, 2026-10-24). */
        .txta { font-size:16px; }
        .cnotes .cnbtn { min-height:44px; font-size:14.5px; padding:0 22px; }
        .catlabel { font-size:14.5px; }
        .catval { font-size:14.5px; }
        .catpct { font-size:12.5px; }
        .cattotal { font-size:14px; } }
      /* year P&L */
      table.pnl { font-size:12px; }
      table.pnl th.pnlmo, table.pnl td { white-space:nowrap; }
      table.pnl .pnlrow { text-align:left; font-weight:600; color:var(--ink); position:sticky; left:0; background:var(--surface); z-index:1; }
      table.pnl thead .pnlrow { color:var(--faint); }
      table.pnl th.pnlmo.now { color:var(--primary); }
      table.pnl th.pnlmo .linkbtn { font-weight:800; }
      /* Masaustunde ayin tam adi, telefonda kisaltmasi (kullanici, 2026-10-25). */
      table.pnl th.pnlmo .mshort { display:none; }
      @media (max-width:820px) { table.pnl th.pnlmo .mfull { display:none; } table.pnl th.pnlmo .mshort { display:inline; } }
      /* "Neden degisti?" dugmesi: tutarin hemen solunda kucuk (i). */
      table.pnl .pnlwhy { appearance:none; -webkit-appearance:none; border:0; background:none; padding:4px; margin:-4px 2px -4px 0; color:var(--faint); cursor:pointer; vertical-align:middle; line-height:0; border-radius:50%; }
      table.pnl .pnlwhy:hover, table.pnl .pnlwhy:focus-visible { color:var(--primary); outline:none; }
      table.pnl .pnlwhy { --hf-accent:var(--green); }
      table.pnl .pnlwhy svg { width:16px; height:16px; display:block; }
      /* Tutarin kendisi de ayni pencereyi acar. Fareyle gelmeden de tiklanabilir
         gorunmesi icin noktali alt cizgi (kisaltmalardaki gibi): sessiz ama
         her zaman orada; ustune gelince duzlesiyor ve zemin yumusakca doluyor. */
      table.pnl .pnlnum, table.pnlq .pnlnum, .pnlmdet .pnlnum { appearance:none; -webkit-appearance:none; border:0; background:none; margin:0; padding:1px 4px; margin-right:-4px; font:inherit; color:inherit; cursor:pointer; border-radius:6px;
        text-decoration:underline dotted; text-decoration-thickness:1px; text-underline-offset:4px; text-decoration-color:color-mix(in srgb, currentColor 55%, transparent); }
      table.pnl .pnlnum:hover, table.pnlq .pnlnum:hover, .pnlmdet .pnlnum:hover { text-decoration-style:solid; background:color-mix(in srgb, currentColor 9%, transparent); }
      table.pnl .pnlnum:focus-visible, table.pnlq .pnlnum:focus-visible, .pnlmdet .pnlnum:focus-visible { outline:2px solid var(--primary); outline-offset:1px; }
      /* Telefonda kar-zarar: ceyrek tablosu (aylar yan yana) ve ay listesi (kartlar). */
      .pnlph { padding:2px 14px 6px; }
      .pnlph .pnlseg { width:100%; margin-bottom:10px; }
      .pnlph .pnlseg .seg { flex:1 1 0; padding-left:2px; padding-right:2px; font-size:11.5px; white-space:nowrap; }
      table.pnlq { width:100%; border-collapse:collapse; font-size:12px; table-layout:fixed; }
      table.pnlq th { padding:6px 0; font-size:11px; font-weight:800; text-align:right; color:var(--primary-ink); }
      table.pnlq th:first-child { text-align:left; width:22%; }
      table.pnlq th.r:not(.tot), table.pnlq td.num:not(.tot) { padding-right:9px; }
      table.pnlq th .linkbtn { font-weight:800; }
      table.pnlq th.now .linkbtn { color:var(--primary); }
      table.pnlq th.tot, table.pnlq td.tot { border-left:1px solid var(--line); padding-left:6px; }
      table.pnlq th.tot { color:var(--ink); }
      table.pnlq td { padding:9px 0; border-top:1px solid var(--line); text-align:right; vertical-align:middle; }
      table.pnlq td.lab { text-align:left; padding-right:6px; font-weight:600; font-size:11.5px; color:var(--ink); line-height:1.25; overflow-wrap:anywhere; hyphens:auto; }
      table.pnlq tr.pnlbold td { font-weight:800; }
      table.pnlq td.num { font-size:11.5px; letter-spacing:-.02em; white-space:nowrap; }
      table.pnlq .pnlnum, .pnlmdet .pnlnum { padding:2px 0; margin:0; border-radius:4px; }
      .pnly .pnlsum { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px; margin-bottom:6px; }
      .pnly .pnlsum > div { background:var(--bg); border-radius:10px; padding:8px 10px; min-width:0; }
      .pnly .pnlsum small { display:block; font-size:10.5px; font-weight:700; color:var(--faint); text-transform:uppercase; letter-spacing:.03em; line-height:1.2; min-height:25px; }
      .pnly .pnlsum b { font-size:13px; white-space:nowrap; }
      .pnlmrow { border-top:1px solid var(--line); }
      .pnlmrow:first-of-type { border-top:0; }
      .pnlmtop { appearance:none; -webkit-appearance:none; width:100%; display:flex; align-items:center; gap:10px; border:0; background:none; padding:12px 2px; font:inherit; color:inherit; cursor:pointer; text-align:left; }
      .pnlmname { font-weight:800; min-width:64px; }
      .pnlmtag.act { background:color-mix(in srgb, var(--green) 14%, transparent); color:var(--green-ink, var(--green)); }
      .pnlhidden { font-size:12px; color:var(--dim); padding:6px 2px 10px; }
      .pnlmtag { font-size:10px; font-weight:800; background:#FFF1D6; color:#946A00; border-radius:20px; padding:1px 7px; }
      .pnlbars { flex:1; display:flex; flex-direction:column; gap:3px; min-width:30px; }
      .pnlbars i { display:block; height:5px; border-radius:5px; min-width:2px; }
      .pnlbars i.in { background:var(--green); }
      .pnlbars i.out { background:color-mix(in srgb, var(--red) 40%, var(--surface)); }
      .pnlmtop b { width:86px; text-align:right; font-size:13px; flex:none; }
      .pnlmrow.open { background:var(--bg); border-radius:12px; margin:6px -10px; border-top:0; }
      .pnlmrow.open + .pnlmrow { border-top-color:transparent; }
      .pnlmrow.open .pnlmtop { padding:12px 12px 10px; }
      .pnlmdet { margin:0 12px; padding:0 0 8px; border-top:1px solid var(--line); }
      .pnlmdet > div { display:flex; justify-content:space-between; gap:10px; padding:7px 0; font-size:13px; border-top:1px solid var(--line); }
      .pnlmdet > div:first-child { border-top:0; }
      .pnlmdet > div.b { font-weight:800; }
      .pnlmdet .pnlgo { display:block; width:100%; text-align:right; padding:8px 0 2px; font-size:12.5px; }
      .modal.pnlwhymodal { width:min(520px,100%); }
      .pnlwhymodal .pnlwhyhead { margin:0 0 14px; font-size:15px; font-weight:700; color:var(--ink); line-height:1.4; }
      .pnlwhymodal .pnlwhysub { margin:0 0 6px; font-size:12px; font-weight:700; color:var(--dim); text-transform:uppercase; letter-spacing:.04em; }
      .pnlwhymodal .pnlwhylist { list-style:none; margin:0; padding:0; border:1px solid var(--line); border-radius:12px; }
      .pnlwhymodal .pnlwhylist li { padding:10px 14px; font-size:13.5px; color:var(--ink); }
      .pnlwhymodal .pnlwhyrow { display:flex; justify-content:space-between; align-items:baseline; gap:14px; }
      .pnlwhymodal .pnlwhyrow:has(.pnlwhytag) > b { align-self:flex-end; }
      .pnlwhymodal .pnlwhymore { appearance:none; -webkit-appearance:none; border:0; background:none; font:inherit; font-size:12px; font-weight:700; color:var(--primary-ink); margin-left:8px; padding:4px 0; cursor:pointer; white-space:nowrap; }
      .pnlwhymodal .pnlwhymore:hover { text-decoration:underline; }
      .pnlwhymodal .pnlwhyfoot { margin:3px 0 0; font-size:11.5px; line-height:1.4; color:var(--faint); }
      .pnlwhymodal .pnlwhydetail { margin-top:8px; padding:6px 12px; background:color-mix(in srgb, var(--ink) 4%, var(--surface)); border-radius:10px; }
      .pnlwhymodal .pnlwhydetail p { margin:4px 0 8px; font-size:12px; line-height:1.45; color:var(--dim); }
      .pnlwhymodal .pnlwhydetail p.pnlwhyrest { margin:6px 0 2px; color:var(--faint); }
      .pnlwhymodal .pnlwhyd { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:6px 0; font-size:13px; }
      .pnlwhymodal .pnlwhyd + .pnlwhyd { border-top:1px solid var(--line); }
      .pnlwhymodal .pnlwhyd small { display:block; margin-top:1px; font-size:11.5px; color:var(--faint); }
      .pnlwhymodal .pnlwhyd b { font-size:13px; white-space:nowrap; }
      .pnlwhymodal .pnlwhyd b.good { color:var(--green); }
      .pnlwhymodal .pnlwhyd b.bad { color:var(--red); }
      .pnlwhymodal .pnlwhylist li + li { border-top:1px solid var(--line); }
      .pnlwhymodal .pnlwhytxt { min-width:0; overflow-wrap:anywhere; }
      .pnlwhymodal .pnlwhytag { display:block; width:fit-content; max-width:100%; margin:0 0 4px; padding:2px 10px; border-radius:10px; background:color-mix(in srgb, var(--ink) 7%, var(--surface)); color:var(--dim); font-size:11.5px; font-weight:700; line-height:1.5; }
      .pnlwhymodal .pnlwhytxt small { color:var(--faint); font-size:12px; }
      .pnlwhymodal .pnlwhylist b { white-space:nowrap; font-size:13.5px; }
      .pnlwhymodal .pnlwhylist b.good { color:var(--green); }
      .pnlwhymodal .pnlwhylist b.bad { color:var(--red); }
      .pnlwhymodal .pnlwhynote { margin:12px 0 0; font-size:12px; color:var(--faint); line-height:1.45; }
      table.pnl .pnltot { border-left:1px solid var(--line); font-weight:800; }
      table.pnl tr.pnlbold td { font-weight:800; }
      table.pnl tr.pnlline td { border-top:1px solid var(--line); }
      table.pnl tbody tr:hover .pnlrow { background:var(--bg); }
      .app.dark table.pnl .pnlrow { background:var(--surface); }
      /* calendar */
      .renewsentence { display:inline-flex; align-items:center; gap:8px; border:1px solid var(--line); background:var(--bg); border-radius:20px; padding:7px 14px; font:inherit; font-size:12.5px; color:var(--ink); cursor:pointer; }
      .renewsentence:hover { border-color:var(--primary); }
      /* The dot takes the line's own colour; its ring (ringpulse, with the
         trail dot) inherits that background. */
      .renewsentence .rdot, .closechip .rdot { position:relative; width:8px; height:8px; border-radius:50%; flex:none; background:currentColor; }
      .renewsentence.now .rdot { color:var(--amber); }
      .renewsentence.next .rdot { color:var(--primary); }
      .closechip .rdot { color:var(--amber); }
      /* The same breath the nav's trail dot takes, so a thing waiting on you
         looks the same wherever it is waiting. */
      @media (prefers-reduced-motion:reduce){ .renewsentence .rdot::after, .closechip .rdot::after { animation:none; } }
      .closechip { display:inline-flex; align-items:center; gap:7px; }
      .renewnone { font-size:12px; color:var(--faint); padding:2px 0; }
      .renewcards { display:flex; flex-direction:column; gap:10px; }
      .renewcard { border:1px solid var(--line); border-radius:11px; padding:12px 14px; background:var(--surface); }
      .renewcard-top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
      .renewchan { display:flex; gap:8px; }
      .chanbtn { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:9px; border:1px solid var(--line); }
      .chanbtn svg { width:18px; height:18px; }
      .chanbtn.on.wa { color:#fff; background:#25D366; border-color:#25D366; }
      .chanbtn.on.em { color:#fff; background:var(--primary); border-color:var(--primary); }
      .chanbtn.on:hover { filter:brightness(1.05); }
      .chanbtn.off { color:var(--faint); background:var(--bg); cursor:not-allowed; opacity:.6; }
      .renewcard-meta { display:flex; flex-direction:column; gap:2px; margin-top:6px; font-size:12px; color:var(--ink); }
      .calbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:16px 18px 12px; }
      /* Kartin basligi oteki kartlarinki gibi (.cardhd h2): ay artik kartin ustunde. */
      .calcardtitle { margin:0; font-size:13.5px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; color:var(--ink); }
      .callegend { display:flex; gap:16px; }
      .calgrid { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; padding:0 18px; }
      .caldow { padding-bottom:6px; }
      .dow { text-align:center; font-size:10.5px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; color:var(--faint); padding:4px 0; overflow:hidden; }
      .calgrid + .calgrid { padding-bottom:14px; }
      .calcell { min-width:0; min-height:96px; background:var(--bg); border:1px solid var(--line); border-radius:9px; padding:5px; display:flex; flex-direction:column; gap:4px; }
      .calcell.empty { background:transparent; border:none; }
      .calmore { align-self:flex-start; white-space:nowrap; font-size:10.5px; font-weight:700; color:var(--primary); background:transparent; border:none; padding:1px 3px; cursor:pointer; }
      .calmore:hover { text-decoration:underline; }
      .calcell.istoday { border-color:var(--primary); box-shadow:inset 0 0 0 1px var(--primary); }
      /* The one thing in a day cell that is not money: it sits with the date
         rather than in the list of events, because it is a fact about the day,
         not a row in it. */
      .calflight { margin-left:auto; font-size:12px; line-height:1; cursor:default; }
      .calday { font-size:11.5px; font-weight:700; color:var(--dim); display:flex; align-items:center; gap:4px; padding:1px 3px; }
      .todaydot { width:5px; height:5px; border-radius:50%; background:var(--primary); }
      .calevs { display:flex; flex-direction:column; gap:3px; overflow:hidden; min-width:0; }
      .calevs.mobonly { display:none; }
      .calev { display:flex; align-items:center; gap:5px; min-width:0; background:var(--surface); border:1px solid var(--line); border-radius:6px; padding:3px 5px; cursor:pointer; }
      .calev:hover { border-color:var(--primary); }
      .calev.virt { opacity:.6; border-style:dashed; }
      .calev .caname { font-size:10.5px; font-weight:600; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:1; min-width:0; }
      .calev .caamt { font-size:10px; color:var(--dim); white-space:nowrap; }
      .cadot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
      /* The day sheet reuses the calendar row, but a row in a modal is not a
         row in a 45px cell. In the grid the name shrinks to 8.5px and the
         amount is hidden outright; in a sheet there is room, so both come
         back at a size meant to be read. */
      .modal .calev { padding:10px 12px; border-radius:10px; gap:9px; }
      .modal .calev .caname { font-size:13.5px; }
      .modal .calev .caamt { display:inline; font-size:13px; }
      .modal .calev .cadot { width:8px; height:8px; }
      .calev.paid .cadot, .cadot.paid { background:var(--green); }
      .calev.pending .cadot, .cadot.pending { background:var(--amber); }
      /* Takvimde gider (kullanici, 2026-11-03): kirmizi. Odenmis dolu, bekleyen ve
         planli bos halka; planli olan ayrica .virt ile kesikli ve soluk. */
      .calev.out .cadot, .cadot.out { background:var(--red); }
      .calev.out.pending .cadot, .cadot.out.pending { background:transparent; box-shadow:inset 0 0 0 1.5px var(--red); }
      .calev.out .caamt { color:var(--red); }
      .callegend2 { display:flex; flex-wrap:wrap; gap:6px 16px; padding:10px 18px 0; font-size:12px; color:var(--dim); }
      .callegend2 span { display:inline-flex; align-items:center; gap:6px; }
      /* Takvimin iki sekmesi: esit genislikte (kullanici, 2026-11-03). */
      .segrow.caltabs { display:grid; grid-template-columns:1fr 1fr; width:min(100%, 520px); }
      .caltabs .seg { font-size:13.5px; padding:9px 10px; text-align:center; white-space:normal; line-height:1.25; }
      .caldots.mobonly, .calagenda.mobonly { display:none; }
      @media (max-width:900px) {
        .calgrid { gap:4px; padding:0 12px; }
        .calcell { min-height:78px; }
        .calev { padding:2px 4px; gap:3px; }
        .calev .caamt { display:none; }
        .calev .caname { font-size:10px; }
        .cadot { width:6px; height:6px; }
      }
      @media (max-width:560px) {
        .calgrid { gap:3px; padding:0 8px; }
        .calcell { min-height:58px; padding:3px; border-radius:7px; gap:2px; }
        .calday { font-size:10px; padding:0 2px; }
        .dow { font-size:8.5px; letter-spacing:.2px; }
        .calev { padding:1px 3px; border-radius:4px; }
        .calev .caname { font-size:8.5px; }
        .calev .cadot { width:5px; height:5px; }
      }
      .confmsg { font-size:13.5px; color:var(--ink-soft); line-height:1.5; margin:0; }
      .confirmbox { display:flex; gap:5px; justify-content:flex-end; align-items:center; }
      .confirmbox .amt { width:100%; text-align:right; border:1px solid var(--amberline); border-radius:7px; padding:5px 8px 5px 22px; font-size:12.5px; background:#FFFDF5; }
      .confirmbox .amt.paidgreen { color:var(--green); font-weight:700; }
      /* Sabit tutarli kalem: alan yok, tutar ve metinli dugme (K-478). */
      .chips { display:flex; gap:6px; flex-wrap:wrap; align-items:center; }
      .chip { border:1px solid var(--line); background:var(--surface); font:inherit; font-size:11.5px; font-weight:600; padding:4px 11px; border-radius:20px; cursor:pointer; color:var(--dim); }
      .chip.on { background:var(--sel-bg); border-color:var(--sel-bg); color:#fff; }
      .chip.tiny { font-size:10.5px; padding:2px 8px; cursor:default; }
      .renewquick { display:flex; gap:6px; margin-bottom:6px; flex-wrap:wrap; }
      .rofield { border:0; margin:0; padding:0; min-width:0; display:block; }
      .rofield.rowflow { display:flex; gap:14px; flex-wrap:wrap; align-items:flex-end; }
      .rofield:disabled { opacity:.72; }
      .rolock { color:var(--faint); font-weight:600; font-size:10px; letter-spacing:.4px; }
      .masked { color:var(--faint); letter-spacing:2px; }
      .removeopt.faded { opacity:.6; }
      .removeopt.faded:hover { opacity:1; border-color:var(--red); }
      .removeopt.faded b { color:var(--dim); }
      .picklist { position:relative; display:block; }
      .pickbtn { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; font:inherit; font-size:13px; color:var(--ink); border:1px solid var(--line); border-radius:8px; padding:7px 9px; background:#FCFEFD; cursor:pointer; text-align:left; }
      .app.dark .pickbtn { background:var(--surface); }
      .pickbtn.err { border-color:var(--red); }
      /* Bir alanin icinde, yanindaki select ve tarih alaniyla ayni yukseklikte
         olmali. Yerli bir select kendi ic metriginden 2px daha uzun ciktigi
         icin satirda bir basamak gorunuyordu. Tablo icindeki ince kullanimlar
         .field disinda, onlar etkilenmiyor. */
      .field .pickbtn { min-height:33px; }
      /* Uzun musteri adi alana sigmayinca iki satira kiriliyordu ve alan komsularindan
         uzun kaliyordu (kullanici, 2026-11-06); tek satir ve "..." (sayac satirindaki
         .tmrow .pickbtn ile ayni). Tam ad listede ve title'da duruyor. */
      .field .pickbtn > span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      /* The chevron the selects draw (see ".field select" in the phone block):
         same path, same 13px, same 2.4 stroke, same two greys. */
      .pickcar { flex:0 0 auto; width:13px; height:13px; fill:none; stroke:#6B7C76; stroke-width:2.4;
        stroke-linecap:round; stroke-linejoin:round; }
      .app.dark .pickcar { stroke:#9DB0A8; }
      .pickpop { position:fixed; z-index:120; background:var(--surface); border:1px solid var(--line); border-radius:11px; box-shadow:0 14px 40px rgba(14,33,27,.24); padding:6px; display:flex; flex-direction:column; overflow:hidden; }
      .picksearch { flex:0 0 auto; font:inherit; font-size:12.5px; color:var(--ink); border:1px solid var(--line); border-radius:7px; padding:6px 8px; margin-bottom:5px; background:transparent; }
      /* ClearableInput: x sagda, input'un icinde. Sarmalayici yerlesimi tasir
         (ornegin .crsearch), input onu doldurur. */
      .clrwrap { position:relative; display:flex; align-items:center; min-width:0; }
      .clrwrap > input { flex:1 1 auto; width:100%; min-width:0; max-width:none; box-sizing:border-box; }
      .clrwrap > input.hasclr { padding-right:28px; }
      .clrx { position:absolute; right:5px; top:50%; transform:translateY(-50%); width:20px; height:20px;
        display:grid; place-items:center; border:none; border-radius:50%; background:transparent;
        color:var(--faint); font:inherit; font-size:15px; line-height:1; padding:0; cursor:pointer;
        -webkit-appearance:none; appearance:none; }
      .clrx:hover { color:var(--ink); background:var(--bg); }
      .clrx:focus-visible { outline:2px solid var(--primary); outline-offset:1px; }
      .clrwrap.picksearchwrap { flex:0 0 auto; margin-bottom:5px; }
      .clrwrap .picksearch { margin-bottom:0; }
      .picklistin { flex:1 1 auto; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:1px; }
      .pickopt { flex:0 0 auto; text-align:left; font:inherit; font-size:13px; color:var(--ink); background:transparent; border:none; border-radius:7px; padding:8px 9px; cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .pickopt:hover { background:var(--bg); }
      .pickopt.on { background:var(--primary); color:#fff; font-weight:700; }
      .pickgroup { display:block; padding:8px 10px 3px; font-size:10.5px; font-weight:800; letter-spacing:.07em;
        text-transform:uppercase; color:var(--faint); }
      .pickempty { padding:8px 9px; font-size:12px; color:var(--faint); }
      .mentionwrap { position:relative; display:block; }
      .mentionpop { position:absolute; top:calc(100% + 4px); left:0; z-index:130; background:var(--surface); border:1px solid var(--line); border-radius:10px; box-shadow:0 12px 34px rgba(14,33,27,.22); padding:5px; display:flex; flex-direction:column; gap:1px; min-width:220px; max-width:320px; }
      .mentionopt { text-align:left; font:inherit; font-size:13px; color:var(--ink); background:transparent; border:none; border-radius:7px; padding:7px 9px; cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .mentionopt:hover { background:var(--bg); }
      .searchbox { flex:1 1 auto; max-width:360px; font:inherit; font-size:13px; color:var(--ink); border:1px solid var(--line); border-radius:9px; padding:8px 11px; background:#FCFEFD; }
      .app.dark .searchbox { background:var(--surface); }
      .searchbox:focus { outline:none; border-color:var(--primary); }
      /* type="search" kutusunda tarayicinin kendi silme dugmesi bizim x'imizin yaninda ikinci bir x oluyordu (K-621). */
      .searchbox::-webkit-search-cancel-button, .searchbox::-webkit-search-decoration { -webkit-appearance:none; appearance:none; display:none; }
      /* Each card is as tall as its own list. Stretched to the tallest one in
         the row, a group of three categories was mostly empty paper with its
         handle adrift at the foot of it. */
      .taxgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:12px; margin-bottom:14px; align-items:start; }
      /* The strip and the first row of cards were touching: the strip's own
         underline sat on the top edge of a card. */
      .card > .tabstrip { margin-bottom:12px; }
      .taxcard { position:relative; border:1px solid var(--line); border-radius:12px; padding:10px 12px 26px; background:var(--surface); min-width:0; overflow:hidden; }
      /* The group's own word, so its name is not read as the first category. */
      table.triptbl { table-layout:fixed; width:100%; }
      table.triptbl col.c-item { width:24%; } table.triptbl col.c-cat { width:16%; } table.triptbl col.c-amt { width:13%; }
      table.triptbl col.c-date { width:14%; } table.triptbl col.c-act { width:92px; }
      table.triptbl td { overflow-wrap:anywhere; }
      .taxcard.taxghost { border-style:dashed; background:transparent; padding:10px 12px 12px; min-height:118px; display:flex; flex-direction:column; }
      .taxcard.taxghost.open { border-style:solid; background:var(--surface); }
      .taxghostbtn { flex:1 1 auto; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; border:0; background:transparent; color:var(--dim); font:inherit; font-weight:700; font-size:13px; cursor:pointer; border-radius:8px; min-height:96px; -webkit-appearance:none; appearance:none; }
      .taxghostbtn:hover { color:var(--primary-ink); background:color-mix(in srgb, var(--primary) 7%, transparent); }
      .taxghostplus { width:30px; height:30px; border-radius:50%; border:1.5px dashed currentColor; display:inline-flex; align-items:center; justify-content:center; font-size:18px; line-height:1; }
      .taxghostacts { display:flex; justify-content:flex-end; gap:8px; margin-top:auto; }
      .taxgl { font-size:9.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); margin-bottom:2px; }
      .taxgrip { position:absolute; right:6px; bottom:4px; width:24px; height:24px; display:grid; place-items:center;
        border:none; background:transparent; color:var(--faint); cursor:grab; padding:0;
        touch-action:none; -webkit-tap-highlight-color:transparent; }
      .taxgrip svg { width:15px; height:15px; }
      .taxgrip:hover { color:var(--ink); }
      .taxgrip.on { color:var(--primary-ink); cursor:grabbing; }
      /* The card being carried, and the place it would land. */
      .taxcard.lifted { border-color:var(--primary); box-shadow:0 18px 38px -14px rgba(16,40,32,.45); transition:none; }
      .taxhd { display:flex; align-items:center; gap:8px; margin-bottom:8px; min-width:0; }
      /* min-width:0 is the fix — a flex item defaults to min-width:auto, so a long
         name grows the input past the card instead of scrolling inside it. */
      .taxname { font-weight:800; font-size:13px; flex:1 1 auto; min-width:0; width:100%; }
      /* One category to a line. As pills that wrapped, the field was a fixed
         110px and clipped its own value: "Repairs & maintenance" read as
         "Repairs & mai" with no way to see the rest. These are editable names,
         not tags, so each one takes the row and the name fits in it. */
      .taxcats { display:flex; flex-direction:column; gap:6px; min-width:0; }
      /* The arrows stack in the space one line of text leaves, so a row of
         categories is no taller for having them. */
      /* The arrows were 10px of glyph in 2px of padding: a target of about
         eight pixels square, which is a miss even with a mouse. They get a row
         of their own height each, and the category row grows to hold them. */
      .taxmove { display:flex; flex-direction:column; flex:0 0 auto; margin-left:-2px; gap:1px; }
      .taxmove .ptmove { padding:1px 4px; font-size:13px; line-height:1; }
      .taxcat { display:flex; align-items:center; gap:4px; border:1px solid var(--line); border-radius:20px; padding:1px 4px 1px 6px; background:var(--bg); width:100%; min-width:0; }
      /* Kategori emojisi (2026-10-31): kucuk dugme, bossa kesikli kare. Kartin icindeki panel kartin ustune tasabilsin. */
      .taxcat .emopick.sm > button { border-color:transparent !important; background:transparent !important; display:grid; place-items:center; }
      .taxcat .emopick.sm > button:hover { border-color:var(--line) !important; background:var(--surface) !important; }
      .emoempty { display:inline-block; width:14px; height:14px; border:1.5px dashed color-mix(in srgb, var(--dim) 55%, transparent); border-radius:4px; }
      .emoreset { display:block; margin:0 2px 6px; font-size:12.5px; }
      .taxcat input { flex:1 1 auto; border:none; background:transparent; font-size:12.5px; width:100%; min-width:0; padding:6px 0; }
      .taxcat input:focus { outline:none; }
      .taxmv { width:19px; height:19px; padding:0; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; border:1.5px solid var(--line); border-radius:50%; background:transparent; color:var(--dim); font-size:11px; line-height:1; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .taxmv:hover { border-color:var(--primary); color:var(--primary-ink); }
      .taxstar { width:19px; height:19px; padding:0; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; border:0; background:transparent; color:var(--faint); font-size:15px; line-height:1; cursor:pointer; -webkit-appearance:none; appearance:none; opacity:.55; transition:color .15s ease, opacity .15s ease, transform .15s ease; }
      .taxstar:hover { opacity:1; color:#E3A008; }
      .taxstar.on { opacity:1; color:#F5B400; text-shadow:0 0 6px color-mix(in srgb, #F5B400 55%, transparent); cursor:default; }
      .taxstarhd { color:#F5B400; font-size:16px; line-height:1; }
      .taxdel { flex:0 0 auto; }
      .taxadd { width:100%; font-size:12px; border-style:dashed; }
      @media (max-width:820px), (max-height:480px) and (orientation:landscape) { .taxgrid { grid-template-columns:1fr; } }
      /* While a group is being carried on a phone, every group folds to its
         name. Nine open groups are around two thousand pixels, so the old
         gesture was: hold, then scroll a page and a half with the card in your
         hand, blind to where it was going. Folded, the whole list is on one
         screen and you can see what you are putting where. It lasts exactly as
         long as the hold: the class goes on at the lift and off at the drop. */
      @media (max-width:820px) {
        /* Two selectors for one look, and they are not the same thing. The
           class on <html> is the gesture: it goes on at the lift, BEFORE the
           card is measured, which is what lets the fold be measured rather
           than guessed. The class on the grid is the session: it stays until
           the order is saved or abandoned, so the list does not spring back to
           full height between two moves. */
        html.lifted .taxcard .taxcats, html.lifted .taxcard .taxgl,
        .taxgrid.arranging .taxcard .taxcats, .taxgrid.arranging .taxcard .taxgl { display:none; }
        html.lifted .taxcard, .taxgrid.arranging .taxcard { padding:8px 12px; }
        /* Room on the right for the handle, which stays absolute: static would
           put it on a line of its own and the row would be two rows again. */
        html.lifted .taxhd, .taxgrid.arranging .taxhd { margin-bottom:0; padding-right:26px; }
        html.lifted .taxgrip, .taxgrid.arranging .taxgrip { top:50%; bottom:auto; transform:translateY(-50%); }
      }
      /* Gider gruplari telefonda (kullanici, 2026-10-28): grup listesi + her grup kendi alt sayfasinda.
         Masaustunde .taxgrid duruyor; ikisi ayni anda DOM'da degil. */
      .grpopts { width:34px; height:34px; border-radius:50%; border:1px solid var(--line); background:var(--surface); color:var(--dim); font-size:18px; line-height:1; padding:0; display:inline-flex; align-items:center; justify-content:center; -webkit-appearance:none; appearance:none; }
      .grplist { display:flex; flex-direction:column; padding:0 0 4px; }
      .grprow { position:relative; display:flex; align-items:center; gap:8px; min-height:64px; padding:6px 10px 6px 18px; border-top:1px solid var(--line); background:var(--surface); }
      .grprow.lifted { border:1px solid var(--primary); border-radius:var(--r-inner); box-shadow:0 18px 38px -14px rgba(16,40,32,.45); transition:none; }
      .grpmain { flex:1; min-width:0; display:flex; flex-direction:row; gap:12px; align-items:center; text-align:left; border:none; background:transparent; padding:6px 0; font:inherit; color:inherit; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .grpmain:disabled { cursor:default; opacity:1; }
      .grptile { flex:none; width:38px; height:38px; border-radius:50%; display:grid; place-items:center; font-size:19px; line-height:1; background:var(--bg); border:1px solid var(--line); color:var(--dim); }
      .grptile svg { width:19px; height:19px; }
      .grptile.sm { width:30px; height:30px; font-size:16px; }
      .grptile.sm svg { width:16px; height:16px; }
      .grptxt { min-width:0; max-width:100%; display:flex; flex-direction:column; gap:3px; align-items:flex-start; }
      .grpsttl { display:inline-flex; align-items:center; gap:10px; min-width:0; }
      .grpcemo { display:inline-block; width:30px; font-size:15px; }
      /* Emojisi olmayan kategori: bos, kesikli bir kare. Dokununca kategori aciliyor ve emoji oradan. */
      .grpcemo.empty::before { content:""; display:inline-block; width:16px; height:16px; border:1.5px dashed color-mix(in srgb, var(--dim) 55%, transparent); border-radius:5px; vertical-align:-3px; }
      .grpemo { display:flex; flex-direction:column; align-items:stretch; gap:6px; }
      .grpemo .field { width:auto !important; }
      .grpemo .grpnote { margin:0; }
      .grpnm { display:flex; flex-wrap:wrap; align-items:center; gap:4px 7px; min-width:0; max-width:100%; font-size:15px; font-weight:800; }
      .grpnmt { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
      .grpcnt { flex:none; font-size:11px; font-weight:700; color:var(--dim); background:var(--bg); border:1px solid var(--line); border-radius:99px; padding:0 8px; }
      .grptag { flex:none; font-size:10.5px; font-weight:800; padding:2px 8px; border-radius:99px; background:color-mix(in srgb, var(--amber) 18%, var(--surface)); color:var(--ink); white-space:nowrap; }
      .grpsub { max-width:100%; font-size:12.5px; color:var(--dim); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .grpstarm { color:#E3A008; }
      .grpgrip { flex:none; width:40px; height:44px; display:grid; place-items:center; border:none; background:transparent; color:var(--faint); padding:0; touch-action:none; -webkit-tap-highlight-color:transparent; -webkit-appearance:none; appearance:none; }
      .grpgrip svg { width:16px; height:16px; }
      .grpgrip.on { color:var(--primary-ink); }
      .grpchev { flex:none; width:18px; color:var(--faint); display:grid; place-items:center; }
      .grpchev svg { width:16px; height:16px; }
      .grpaddrow { display:flex; align-items:center; justify-content:center; gap:10px; border-top:1px solid var(--line); background:var(--surface); padding:6px 10px; color:var(--primary-ink); font-weight:700; font-size:14px; cursor:pointer; border-left:none; border-right:none; border-bottom:none; font-family:inherit; width:100%; -webkit-appearance:none; appearance:none; min-height:56px; }
      .grplist .taxarrnote { padding:10px 18px 8px; }
      .grpsheet { display:flex; flex-direction:column; gap:12px; padding:14px 18px 20px; }
      .grpfield { display:flex; flex-direction:column; gap:6px; }
      .grpfield > span { font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); }
      /* "✓ Kaydedildi": Kaydet dugmesi olmayan alanlar kaydettigini boyle soyluyor (kullanici, 2026-10-30). Etiketin
         yaninda, buyuk harf degil, temanin murekkep yesilinde; tik cizilir, 2.2 sn sonra soner. */
      .grpfield > span:has(.savedmark) { display:flex; align-items:center; gap:10px; }
      .savedmark { display:inline-flex; align-items:center; gap:4px; text-transform:none; letter-spacing:0; font-size:12.5px; font-weight:700;
        color:var(--primary-ink); animation:savedfade 2.2s ease both; }
      .savedmark svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
      .savedmark svg path { stroke-dasharray:1; stroke-dashoffset:1; animation:qntick .4s cubic-bezier(.6,0,.3,1) .05s both; }
      @keyframes savedfade { 0% { opacity:0; transform:translateY(2px); } 10% { opacity:1; transform:none; } 80% { opacity:1; } 100% { opacity:0; } }
      @media (prefers-reduced-motion: reduce) { .savedmark { animation:none; } .savedmark svg path { animation:none; stroke-dashoffset:0; } }
      /* Odeme turleri telefonda (kullanici, 2026-10-28): ikonlu satir + alt sayfa. Masaustunde .ptcols. */
      .ptmlist { display:flex; flex-direction:column; padding-bottom:4px; }
      .ptmrow { display:flex; align-items:center; gap:8px; min-height:64px; padding:6px 10px 6px 14px; border-top:1px solid var(--line); background:var(--surface); }
      .ptmrow.lifted { border:1px solid var(--primary); border-radius:var(--r-inner); box-shadow:0 18px 38px -14px rgba(16,40,32,.45); transition:none; }
      .ptmmain { flex:1; min-width:0; display:flex; align-items:center; gap:12px; text-align:left; border:none; background:transparent; padding:6px 0; font:inherit; color:inherit; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .ptico { flex:none; width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:var(--bg); border:1px solid var(--line); color:var(--dim); }
      .ptico svg { width:20px; height:20px; }
      .ptico.on { background:color-mix(in srgb, var(--primary) 14%, var(--surface)); border-color:transparent; color:var(--primary-ink); }
      .ptmtxt { min-width:0; display:flex; flex-direction:column; gap:2px; }
      .ptmname { font-size:15px; font-weight:800; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .ptmkind { font-size:12.5px; color:var(--dim); line-height:1.4; }
      .ptmreview { display:flex; align-items:center; gap:12px; width:100%; min-height:64px; padding:10px 10px 10px 14px; border:none; border-top:1px solid var(--line); background:transparent; text-align:left; font:inherit; color:inherit; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .ptmreview .ptmtxt { flex:1; }
      .ptmreview .ptmname { white-space:normal; }
      .ptsttl { display:inline-flex; align-items:center; gap:10px; min-width:0; }
      .ptsname { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
      .ptspos { flex:none; font-size:11.5px; font-weight:700; color:var(--faint); }
      .ptkinds { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
      .ptkindbtn { display:flex; align-items:flex-start; gap:10px; text-align:left; min-height:52px; padding:10px 12px; border:1px solid var(--line); border-radius:var(--r-inner); background:var(--surface); font:inherit; color:inherit; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .ptkindbtn.on { border-color:var(--primary); background:color-mix(in srgb, var(--primary) 10%, var(--surface)); box-shadow:inset 0 0 0 1px var(--primary); }
      .ptkico { flex:none; width:24px; height:24px; color:var(--dim); display:grid; place-items:center; }
      .ptkico svg { width:22px; height:22px; }
      .ptkindbtn.on .ptkico { color:var(--primary-ink); }
      .ptklbl { display:flex; flex-direction:column; gap:3px; font-size:14px; font-weight:700; min-width:0; }
      .ptklbl small { font-size:11px; font-weight:500; color:var(--dim); line-height:1.35; }
      .ptkindbtn:has(small) { grid-column:1 / -1; }
      .grpfield input, .grpcat.grpnew input { font:inherit; font-size:16px; color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:var(--r-ctl); padding:11px 14px; min-height:44px; width:100%; }
      .grpfield input:focus, .grpcat.grpnew input:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
      .grpback { display:inline-flex; align-items:center; gap:6px; border:none; background:transparent; font:inherit; font-weight:800; color:inherit; padding:0; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .grpback svg { width:16px; height:16px; transform:rotate(180deg); }
      .grpwarn { background:color-mix(in srgb, var(--amber) 16%, var(--surface)); border-radius:var(--r-ctl); padding:10px 12px; font-size:13px; line-height:1.5; }
      .grpcats { border:1px solid var(--line); border-radius:var(--r-inner); overflow:hidden; }
      .grpcat { display:flex; align-items:center; gap:4px; min-height:52px; padding:4px 8px 4px 0; border-top:1px solid var(--line); }
      .grpcat:first-child { border-top:none; }
      .grpcatname { flex:1; min-width:0; text-align:left; border:none; background:transparent; font:inherit; font-size:14.5px; font-weight:600; color:inherit; padding:0 14px; min-height:44px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .grpstar, .grpmv { flex:none; width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; padding:0; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--dim); font-size:15px; line-height:1; -webkit-appearance:none; appearance:none; }
      .grpstar { border-color:transparent; font-size:19px; color:var(--faint); }
      .grpstar.on { color:#F5B400; }
      .grpmv:disabled { opacity:.35; }
      .grpcat.grpnew { padding:6px 8px 6px 14px; gap:8px; }
      .grpcat.grpnew input { flex:1; min-width:0; }
      .grpaddbtn { min-height:44px; flex:none; }
      .grpnote { margin:0; font-size:12.5px; color:var(--dim); line-height:1.5; }
      .grpbtn { min-height:44px; width:100%; justify-content:center; border-radius:var(--r-ctl); font-size:14.5px; font-weight:700; }
      .grpbtn.grpdanger { color:var(--red); border-color:color-mix(in srgb, var(--red) 40%, var(--line)); background:var(--surface); }
      .grptoggle { display:flex; align-items:center; justify-content:space-between; gap:12px; text-align:left; width:100%; min-height:56px; padding:10px 14px; border:1px solid var(--line); border-radius:var(--r-inner); background:var(--surface); font:inherit; color:inherit; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .grptoggle:disabled { opacity:1; cursor:default; }
      .grptoggle b { display:block; font-size:14.5px; font-weight:700; }
      .grptoggle small { display:block; margin-top:2px; font-size:12px; color:var(--dim); font-weight:500; }
      .grpsw { flex:none; width:46px; height:28px; border-radius:99px; background:var(--line); position:relative; transition:background .15s ease; }
      .grpsw::after { content:""; position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; background:#fff; transition:transform .15s ease; }
      .grptoggle.on .grpsw { background:var(--primary); }
      .grptoggle.on .grpsw::after { transform:translateX(18px); }
      .grpask { display:flex; flex-direction:column; gap:10px; }
      .grpask .txdelq { text-align:center; font-size:13.5px; }
      .grpaskbtns { display:flex; gap:10px; }
      .grpaskbtns .btn { flex:1; min-height:44px; display:flex; align-items:center; justify-content:center; border-radius:var(--r-ctl); font-size:14px; font-weight:700; }
      .taxarrnote { font-size:11.5px; color:var(--dim); padding:2px 2px 12px; line-height:1.5; }
      /* While an order is being arranged, the one button on a folded card that
         is not the handle is a delete, sitting right beside it. Arranging is
         moving, not editing, so it is not on offer until the order is saved. */
      .taxgrid.arranging .taxhd .iconbtn { display:none; }
      .crbank { min-width:170px; }
      .paybackcell { display:inline-flex; flex-direction:column; align-items:flex-end; gap:1px; line-height:1.25; }
      .ratepill { font-size:9.5px; font-weight:800; letter-spacing:.2px; padding:1px 6px; border-radius:20px; background:#EFEAFB; color:#5B3FA8; white-space:nowrap; }
      .app.dark .ratepill { background:#2A2140; color:#C3B0F0; }
      .endscell { display:inline-flex; flex-direction:column; align-items:center; line-height:1.2; }
      .errmsg { font-family:'IBM Plex Mono',monospace; font-size:12px; word-break:break-word; }
      .errdetail { font-family:'IBM Plex Mono',monospace; font-size:10.5px; opacity:.75; word-break:break-word; }
      .showmob { display:none; }
      .grocaddbtn { display:flex; align-items:flex-end; padding-bottom:1px; }
      /* Yeni tatil karti: sekmenin basinda (kullanici, 2026-10-24). */
      .tripnew { background:linear-gradient(135deg, color-mix(in srgb, var(--mint) 70%, var(--surface)) 0%, var(--surface) 62%); }
      .tripnewhd { display:flex; align-items:center; gap:14px; padding:16px 18px 4px; }
      .tripnewico { width:42px; height:42px; border-radius:13px; display:grid; place-items:center; flex:none;
        background:var(--surface); color:var(--primary-ink); box-shadow:0 1px 3px rgba(14,33,27,.12); }
      .tripnewico svg { width:22px; height:22px; }
      .tripnewhd h2 { margin:0; font-size:15px; font-weight:800; letter-spacing:-.01em; }
      .tripnewhd p { margin:3px 0 0; font-size:12.5px; color:var(--dim); }
      .tripnewform { display:flex; align-items:flex-end; gap:12px; padding:12px 18px 18px; }
      .tripnewform .field { flex:1 1 0; min-width:0; margin:0; }
      .tripnewform .field:nth-child(2) { flex:1.6 1 0; }
      .tripnewform .field input { width:100%; box-sizing:border-box; }
      .tripnewbtn { height:38px; flex:none; padding:0 22px; white-space:nowrap; }
      .tripnewacts { display:flex; gap:10px; flex:none; }
      .tripnewcancel { height:38px; padding:0 18px; white-space:nowrap; }
      @media (max-width:820px) {
        .tripnewform { flex-direction:column; align-items:stretch; padding:10px 14px 16px; }
        .tripnewhd { padding:14px 14px 2px; }
        .tripnewform .field, .tripnewform .field:nth-child(2) { flex:none; width:100%; }
        .tripnewbtn { width:100%; }
        .tripnewacts .btn { flex:1 1 0; width:auto; height:44px; }
      }
      .tripdates { font-size:12px; white-space:nowrap; }
      .tripdesc { font-size:12px; font-weight:500; color:var(--dim); margin-left:10px; }
      .reqmsg { color:var(--red); font-size:11.5px; font-weight:700; }
      .rvlist { display:flex; flex-direction:column; gap:2px; }
      .rvrow { display:flex; justify-content:space-between; gap:14px; padding:7px 2px; border-bottom:1px solid var(--line); font-size:13px; }
      .rvrow:last-child { border-bottom:none; }
      .rvlabel { color:var(--dim); font-weight:600; }
      .rvval { text-align:right; }
      .rememberrow { display:flex; gap:8px; align-items:center; font-size:12.5px; color:var(--dim); cursor:pointer; user-select:none; }
      .rememberrow input { width:auto; }
      /* Sign-up consent boxes. The input is pinned to its own size: the login
         box inputs are full width, and a checkbox inherits that otherwise. */
      .sgconsent { display:flex; flex-direction:column; gap:9px; }
      .sgbox { display:flex; align-items:flex-start; gap:9px; font-size:12.5px; line-height:1.5; color:var(--ink); cursor:pointer; }
      .sgbox input { flex:0 0 auto; width:17px !important; height:17px; min-width:17px; margin:1px 0 0; padding:0; accent-color:var(--primary-ink); }
      .sgbox.sgoptional { color:var(--dim); padding-top:8px; border-top:1px dashed var(--line); }
      .sglink { font:inherit; font-weight:700; color:var(--primary-ink); background:none; border:0; padding:0; cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
      .storow { display:flex; gap:8px; align-items:center; padding-top:2px; flex-wrap:wrap; }
      .storow select, .storow input { width:auto; }
      /* Odeme turleri masaustunde (kullanici, 2026-10-30; taslak onaylandi): 7'ye kadar tek tablo, fazlasi
         iki esit sutun (ptSplitAt). Sira numarasi, tur ikonu, kullanim, eylemler ⋯ menusunde. */
      .ptcols { display:grid; grid-template-columns:minmax(0,1fr); border-top:1px solid var(--line); }
      .ptcols.two { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
      .ptcols.two .pttbl + .pttbl { border-left:1px solid var(--line); }
      .pttbl { min-width:0; padding:0 8px 6px; }
      .pthd, .ptrow { display:grid; grid-template-columns:32px 26px minmax(0,1fr) 140px minmax(96px,170px) 34px; align-items:center; gap:10px; padding:0 8px; }
      .pthd { min-height:34px; font-size:10.5px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; color:var(--dim); border-bottom:1px solid var(--line); }
      .ptrow { min-height:48px; border-bottom:1px solid color-mix(in srgb, var(--line) 55%, transparent); border-radius:10px; background:var(--surface); }
      .ptrow:last-child { border-bottom:0; }
      .ptrow:hover, .ptrow.menuon { background:color-mix(in srgb, var(--primary) 7%, var(--surface)); }
      .ptrow.dragging { box-shadow:0 14px 30px -14px rgba(16,40,32,.45); outline:1.5px solid var(--primary); outline-offset:-1.5px; transition:none; }
      .ptpos { font-size:12px; color:var(--dim); text-align:right; }
      .ptnamecell { display:flex; align-items:center; gap:10px; min-width:0; }
      .ptico.sm { width:30px; height:30px; border-radius:9px; }
      .ptico.sm svg { width:17px; height:17px; }
      .ptnm { font-weight:700; font-size:14px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:default; }
      .ptrename { flex:1; min-width:0; font:inherit; font-weight:700; font-size:14px; color:var(--ink); background:var(--surface);
        border:1.5px solid var(--primary); border-radius:9px; padding:5px 9px; outline:none; box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
      .ptrow .ptkind { width:100%; font-size:13px; border-color:transparent; background-color:transparent; }
      .ptrow:hover .ptkind, .ptrow .ptkind:focus { border-color:var(--line); background-color:var(--surface); }
      .ptuse { font-size:12.5px; color:var(--dim); font-variant-numeric:tabular-nums; display:flex; align-items:center; gap:6px; flex-wrap:wrap; min-width:0; }
      .ptuse.none { color:var(--faint); }
      .ptstmt { font-size:10.5px; font-weight:800; letter-spacing:.3px; padding:2px 8px; border-radius:99px; background:color-mix(in srgb, var(--amber) 16%, var(--surface)); color:var(--ink); }
      /* Kullanim yazisi bir baglanti: dokununca o satirlar (PtUsageModal, kullanici 2026-10-30). */
      .ptuselink { background:none; border:0; padding:2px 0; margin:0; font:inherit; color:var(--ink); cursor:pointer;
        text-decoration:underline; text-decoration-color:color-mix(in srgb, var(--dim) 45%, transparent); text-underline-offset:3px; }
      .ptuselink:hover { color:var(--primary-ink); text-decoration-color:currentColor; }
      .ptuselink:focus-visible { outline:2px solid var(--primary); outline-offset:2px; border-radius:4px; }
      .ptuse-m { display:flex; flex-direction:column; gap:10px; padding:4px 0 16px; }
      .ptuse-m .ptuseg { margin:0 18px; align-self:flex-start; }
      .ptuse-m .ptuseg .seg { white-space:nowrap; }
      .ptulist { display:flex; flex-direction:column; max-height:min(60vh, 520px); overflow-y:auto; border-top:1px solid var(--line); }
      .ptuitem { border-bottom:1px solid var(--line); }
      .ptuitem.on { background:color-mix(in srgb, var(--primary) 5%, transparent); }
      .ptuhead { width:100%; display:grid; grid-template-columns:32px 1fr auto 16px; align-items:center; gap:12px;
        padding:10px 18px; background:none; border:0; font:inherit; color:var(--ink); text-align:left; cursor:pointer; min-height:56px; }
      .ptuhead:hover { background:color-mix(in srgb, var(--ink) 4%, transparent); }
      .ptuico { width:32px; height:32px; border-radius:10px; display:grid; place-items:center; color:var(--dim);
        background:color-mix(in srgb, var(--ink) 6%, transparent); }
      .ptuico svg { width:17px; height:17px; }
      .ptumain { display:flex; flex-direction:column; gap:2px; min-width:0; }
      .ptuname { font-weight:700; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .ptusub { font-size:12px; color:var(--dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .ptuamt { font-weight:700; font-size:14px; color:var(--red); white-space:nowrap; }
      .ptuamt.inc { color:var(--green); }
      .ptuchev { width:16px; height:16px; color:var(--dim); transition:transform .18s; }
      .ptuchev svg { width:16px; height:16px; }
      .ptuitem.on .ptuchev { transform:rotate(90deg); }
      .ptudl { margin:0; padding:2px 18px 14px 62px; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px 18px; }
      .ptudl > div { min-width:0; }
      /* Taksit planinin satirlari, grubun ici (groupInstalments). */
      .ptuinst { list-style:none; margin:0; padding:0 18px 14px 62px; display:grid; gap:2px; }
      .ptuinst li { display:grid; grid-template-columns:44px 1fr auto auto; gap:12px; align-items:center; font-size:13px; padding:5px 0; border-top:1px dashed var(--line); }
      .ptuinst li .paid { color:var(--green); font-weight:700; font-size:12px; }
      .ptuinst li .dim { color:var(--dim); font-size:12px; }
      .ptuinst li .r { text-align:right; min-width:72px; }
      .ptudl > div.wide { grid-column:1 / -1; }
      .ptudl dt { font-size:11px; font-weight:800; letter-spacing:.5px; text-transform:uppercase; color:var(--dim); }
      .ptudl dd { margin:2px 0 0; font-size:13.5px; color:var(--ink); white-space:pre-wrap; overflow-wrap:anywhere; }
      .ptsuse { display:flex; flex-direction:column; gap:8px; }
      .ptsusebtn { display:flex; align-items:center; gap:10px; width:100%; min-height:48px; padding:8px 12px;
        border:1px solid var(--line); border-radius:var(--r-ctl); background:var(--surface); color:var(--ink);
        font:inherit; font-size:15px; font-weight:600; text-align:left; cursor:pointer; }
      .ptsusebtn .grpchev { margin-left:auto; }
      /* Saatlik musteride zamanlayicinin onerisi (kullanici, 2026-10-30). */
      .dynsug { display:flex; align-items:center; gap:12px; margin:0 0 12px; padding:10px 12px; border-radius:var(--r-ctl);
        border:1px solid color-mix(in srgb, var(--primary) 35%, var(--line)); background:color-mix(in srgb, var(--primary) 7%, var(--surface)); }
      .dynsugico { width:30px; height:30px; flex:0 0 auto; border-radius:50%; display:grid; place-items:center; color:var(--primary-ink);
        background:color-mix(in srgb, var(--primary) 16%, transparent); }
      .dynsugico svg { width:17px; height:17px; }
      .dynsugtxt { display:flex; flex-direction:column; gap:2px; min-width:0; flex:1 1 auto; font-size:13px; }
      .dynsugtxt > span { font-size:12px; color:var(--dim); }
      .dynsugok { font-size:13px; font-weight:700; color:var(--green); white-space:nowrap; }
      @media (max-width:820px) {
        .ptudl { padding-left:18px; gap:10px 14px; }
        .ptuinst { padding-left:18px; }
        .ptuinst li { grid-template-columns:40px 1fr auto auto; gap:8px; }
        .ptuhead { min-height:60px; }
        .dynsug { display:grid; grid-template-columns:30px 1fr; }
        .dynsug .btn, .dynsug .dynsugok { grid-column:1 / -1; }
        .dynsug .btn { min-height:44px; }
      }
      .ptmore { width:32px; height:32px; border-radius:9px; border:1px solid transparent; background:transparent; color:var(--dim);
        font-size:18px; letter-spacing:-1px; line-height:1; cursor:pointer; padding:0; -webkit-appearance:none; appearance:none; }
      .ptrow:hover .ptmore, .ptrow.menuon .ptmore, .ptmore:focus-visible { border-color:var(--line); background:var(--surface); color:var(--ink); }
      /* touch-action:none is what makes the gesture reportable at all: without it the browser pans the page
         and the move is never delivered. 28px target, --dim (5.6:1; the old --faint glyph was 2.6:1). */
      .ptgrip { width:28px; height:28px; display:grid; place-items:center; border:0; background:transparent; color:var(--dim); border-radius:8px;
        cursor:grab; padding:0; user-select:none; touch-action:none; -webkit-tap-highlight-color:transparent; -webkit-appearance:none; appearance:none; }
      .ptgrip svg { width:15px; height:15px; }
      .ptgrip:hover { background:var(--bg); color:var(--ink); }
      .ptgrip:active { cursor:grabbing; }
      .ptgrip:focus-visible, .ptmore:focus-visible { outline:2px solid var(--primary); outline-offset:1px; }
      .crmenu button:disabled { opacity:.4; cursor:default; }
      .crmenu .crmarrow { width:15px; text-align:center; color:var(--dim); font-weight:700; }
      /* Genislik pencereye degil kartin kendisine gore (kenar cubugu yer kaplar): iki sutun ancak kart 880px'ten
         genisse, yoksa ust uste; dar bir yarida sutunlar sikisiyor ki ad sigsin. */
      .ptwrap { container-type:inline-size; container-name:ptwrap; }
      .pttbl { container-type:inline-size; }
      @container ptwrap (max-width:880px) { .ptcols.two { grid-template-columns:minmax(0,1fr); } .ptcols.two .pttbl + .pttbl { border-left:0; border-top:1px solid var(--line); } }
      /* Dar bir yarida (kenar cubuklu 1280 ekran) kullanim adin altina iniyor: ayri sutunda ad 112px'e dusup kirpiliyordu. */
      @container (max-width:560px) {
        .pthd, .ptrow { grid-template-columns:28px 20px minmax(0,1fr) 124px 32px; column-gap:8px; }
        .pthd > span:nth-child(5) { display:none; }
        .ptrow { min-height:56px; padding-block:6px; }
        .ptrow > .ptgrip, .ptrow > .ptpos, .ptrow > .ptkind, .ptrow > .ptmore { grid-row:1 / span 2; }
        .ptrow > .ptnamecell { grid-column:3; grid-row:1; }
        .ptrow > .ptuse { grid-column:3; grid-row:2; padding-left:40px; font-size:12px; }
        .ptrow > .ptkind { grid-column:4; } .ptrow > .ptmore { grid-column:5; }
      }
      .ptmove { border:none; background:none; color:var(--dim); cursor:pointer; font-size:12px; padding:2px; line-height:1; }
      .ptmove:hover:not(:disabled) { color:var(--primary); }
      .ptmove:disabled { opacity:.25; cursor:default; }
      @media (max-width:820px){
        /* A selector and three buttons do not share a phone's width. The
           selector keeps the first line with the one action that is used
           often; the two that are used once in a workspace's life share the
           second. */
        .taxacts { width:100%; display:flex; flex-wrap:wrap; gap:8px; }
        .taxacts > select.inline { flex:0 0 104px; width:104px !important; min-width:0; }
        .taxacts > .btn { flex:1 1 120px; justify-content:center; min-width:0; white-space:nowrap; }
        .taxacts .taxsave, .taxacts .taxreset { flex:1 1 calc(50% - 4px); }
      }
      th.sortable { cursor:pointer; user-select:none; white-space:nowrap; }
      th.sortable:focus-visible { outline:2px solid var(--primary); outline-offset:-3px; border-radius:6px; }
      th.sortable:hover { color:var(--primary); }
      .sortcar { font-size:9px; margin-left:3px; color:var(--primary); display:inline-block; min-width:9px; }
      .chipinput { border:1px dashed var(--faint); border-radius:20px; padding:4px 11px; font:inherit; font-size:11.5px; color:var(--ink); width:130px; background:transparent; }
      /* Musteri formunda "+ Yeni hizmet" (K-468): eski "+ ozel, Enter" alaninin yerinde, ayni kesikli cerceve. */
      .chip.chipadd { display:inline-flex; align-items:center; gap:5px; border-style:dashed; border-color:var(--faint); background:transparent; color:var(--primary-ink); font-weight:700; }
      .chip.chipadd svg { width:12px; height:12px; }
      .chip.chipadd:hover { border-color:var(--primary); }
      /* Free'de dorduncu ve sonraki hizmet kilitli (K-468). */
      .svccard.svclocked { opacity:.55; }
      .svccard.svclocked .svclock { margin-left:auto; display:inline-flex; color:var(--dim); }
      .svccard.svclocked .svclock svg { width:13px; height:13px; }
      .filters { display:flex; gap:6px; flex-wrap:wrap; }
      .filtersep { width:1px; align-self:stretch; background:var(--line); margin:2px 2px; flex-shrink:0; }
      /* On narrow screens a workspace's custom categories can run long — scroll
         one line instead of wrapping into a wall of chips. */
      @media (max-width:820px), (max-height:480px) and (orientation:landscape) {
        .filters { flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
        .filters::-webkit-scrollbar { display:none; }
        .filters .chip { flex-shrink:0; }
      }
      .inline { border:1px solid transparent; background:transparent; font:inherit; font-size:13px; color:var(--ink); padding:3px 5px; border-radius:6px; width:100%; }
      /* Kar ve zarar yil secici (kullanici, 2026-11-12): satir ici alan gibi seffaf kalinca telefonda secilebilir
         gorunmuyordu. Cerceve, ok ve 44px yukseklik; ok currentColor ile, koyu modda da gorunur. */
      select.inline.pnlyear { -webkit-appearance:none; appearance:none; margin-left:auto; width:auto; min-width:92px; height:44px; padding:0 34px 0 14px; border:1px solid var(--line); border-radius:var(--r-ctl); background-color:var(--surface); color:var(--ink); font-size:15px; font-weight:700; cursor:pointer;
        background-image:linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position:calc(100% - 19px) 19px, calc(100% - 14px) 19px; background-size:5px 5px, 5px 5px; background-repeat:no-repeat; }
      select.inline.pnlyear:hover { border-color:var(--dim); }
      select.inline.pnlyear:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      .inline:hover, .inline:focus { border-color:var(--line); background:#FCFEFD; outline:none; }
      /* service continuity: play / pause / stop */
      .statuspick { display:flex; gap:6px; flex-wrap:wrap; }
      .stbtn { display:inline-flex; align-items:center; gap:5px; border:1px solid var(--line); background:var(--surface); color:var(--dim); border-radius:20px; padding:5px 11px; font:inherit; font-size:11.5px; font-weight:700; cursor:pointer; }
      .stbtn .stico { display:flex; } .stbtn .stico svg { width:11px; height:11px; }
      .stbtn.notstart .stico svg, .stibtn.notstart svg { width:12px; height:12px; }
      .stpill.notstart .stico svg { width:10px; height:10px; }
      .stbtn:hover { border-color:var(--faint); }
      .stbtn.on.notstart { color:#3F5A72; background:#EEF3F8; border-color:#BBCDDD; }
      .stbtn.on.play { color:#0B7A55; background:#EDFBF4; border-color:#A9E6CC; }
      .stbtn.on.pause { color:#946A00; background:#FBF6E6; border-color:#EBD79B; }
      .stbtn.on.stop { color:#C0392B; background:#FCEDEC; border-color:#F0BDB7; }
      .sticons { display:inline-flex; gap:3px; }
      .stibtn { width:24px; height:24px; border-radius:50%; border:1px solid var(--line); background:var(--surface); color:var(--faint); cursor:pointer; display:inline-flex; align-items:center; justify-content:center; padding:0; }
      .stibtn svg { width:10px; height:10px; }
      .stibtn:hover { border-color:var(--faint); color:var(--dim); }
      .stibtn.on.notstart { color:#3F5A72; background:#EEF3F8; border-color:#BBCDDD; }
      .stibtn.on.play { color:#0B7A55; background:#EDFBF4; border-color:#A9E6CC; }
      .stibtn.on.pause { color:#946A00; background:#FBF6E6; border-color:#EBD79B; }
      .stibtn.on.stop { color:#C0392B; background:#FCEDEC; border-color:#F0BDB7; }
      .app.dark .cattrack { background:#233A32; }
      .app.dark .catfill { background:linear-gradient(90deg,#12B981,#5FE0AE); }
      .app.dark .stibtn.on.notstart { background:#1B2833; color:#A8C2D8; border-color:#31485C; }
      .app.dark .stibtn.on.play { background:#123A2C; } .app.dark .stibtn.on.pause { background:#3A3116; } .app.dark .stibtn.on.stop { background:#3D1F1C; }
      .stpill { display:inline-flex; align-items:center; gap:4px; font-size:10.5px; font-weight:700; letter-spacing:.4px; padding:2px 8px; border-radius:20px; white-space:nowrap; text-transform:uppercase; }
      .stpill .stico { display:flex; } .stpill .stico svg { width:9px; height:9px; }
      .stpill.notstart { background:#E4EBF2; color:#3F5A72; }
      .stpill.play { background:#D6F5E7; color:#0B7A55; }
      .stpill.pause { background:#FBF0D2; color:#946A00; }
      .stpill.stop { background:#FBE0E0; color:#C0392B; }
      .app.dark .stbtn.on.notstart { background:#1B2833; color:#A8C2D8; border-color:#31485C; }
      .app.dark .stbtn.on.play { background:#123A2C; } .app.dark .stbtn.on.pause { background:#3A3116; } .app.dark .stbtn.on.stop { background:#3D1F1C; }
      /* day / range picker */
      .dp { position:relative; display:inline-block; }
      .dpbtn { display:inline-flex; align-items:center; gap:5px; border:1px solid var(--line); background:var(--surface); border-radius:8px; padding:4px 9px; font:inherit; font-size:12.5px; cursor:pointer; color:var(--ink); }
      .dpcar { font-size:9px; opacity:.6; }
      .dpgrid { position:fixed; z-index:70; background:var(--surface); border:1px solid var(--line); border-radius:12px; box-shadow:0 14px 40px rgba(14,33,27,.22); padding:10px; width:246px; display:block; }
      .dphint { display:block; font-size:12px; line-height:1.4; color:var(--dim); margin-top:8px; min-height:34px; }
      .dpmode { margin-bottom:8px; }
      .dpmode .seg { flex:1 1 0; font-size:12.5px; }
      .dpday.late { color:var(--dim); }
      .dpfoot .done { color:var(--primary-ink); font-weight:700; }
      .dpdays { display:grid; grid-template-columns:repeat(7,1fr); gap:3px; }
      .dpday { border:none; background:transparent; font:inherit; font-size:12px; padding:5px 0; border-radius:7px; cursor:pointer; color:var(--ink); }
      .dpday:hover { background:var(--bg); }
      .dpday.on { background:var(--sel-bg); color:#fff; font-weight:700; }
      .dpday.mid { background:var(--mint); color:var(--primary-ink); }
      /* degisen odeme gunu (K-702): gun izgarasinin altinda uc secenek, yaninda bu ayin gunu */
      .dprules { display:flex; flex-direction:column; gap:4px; margin-top:8px; padding-top:8px; border-top:1px solid var(--line); }
      .dprule { display:flex; align-items:center; justify-content:space-between; gap:8px; border:1px solid var(--line); background:var(--surface); border-radius:8px; padding:7px 9px; font:inherit; font-size:12.5px; color:var(--ink); cursor:pointer; white-space:nowrap; text-align:left; }
      .dprule:not(.on):hover { background:var(--bg); }
      .dprulex { font-size:11.5px; color:var(--dim); }
      .dprule.on { background:var(--sel-bg); border-color:transparent; color:#fff; font-weight:700; }
      .dprule.on .dprulex { color:rgba(255,255,255,.85); font-weight:500; }
      /* .linkbtn has padding:0 everywhere else (it's a shared text-link style) —
         fine on desktop with a mouse, but on a touchscreen "Clear"/"Done" ended up
         with almost no tappable area and no gap between them, so a tap often hit
         neither. Scoped padding+gap here only, not on .linkbtn globally. */
      .dpfoot { display:flex; justify-content:flex-end; align-items:center; gap:18px; margin-top:7px; }
      .dpfoot .linkbtn { padding:10px 4px; }
      /* Always-open inline day picker (client modal Payment period). */
      .dpinline { border:1px solid var(--line); border-radius:10px; padding:9px 11px; background:var(--surface); max-width:340px; }
      .dpinline.collapsed { display:flex; align-items:center; justify-content:space-between; gap:12px; }
      .dpinline .dpsel { font-size:13px; font-weight:600; color:var(--ink); }
      .dpinline .dpfoot { margin-top:8px; gap:14px; }
      .dpinline .dpfoot .done { color:var(--primary-ink); font-weight:700; }
      /* scrollable tables with sticky headers */
      /* UNIVERSAL: tables keep native table layout (full card width, aligned columns);
         horizontal scrolling comes from a real wrapper (.tablewrap / .scrollx) around
         each table — the old display:block trick made tables shrink-to-content on
         desktop because min-width is ignored on anonymous table boxes. */
      main table { width:100%; }
      .scrollx { overflow-x:auto; -webkit-overflow-scrolling:touch; max-width:100%; }
      td.num, td .num, .duedate { white-space:nowrap; }
      .tablewrap { max-height:440px; overflow:auto; }
      .tablewrap thead th { position:sticky; top:0; background:var(--surface); z-index:5; box-shadow:0 1.5px 0 var(--line); border-bottom:none; }
      /* validation */
      .err { outline:2px solid var(--red) !important; outline-offset:-1px; border-color:var(--red) !important; }
      .taxbarwrap { padding:24px 18px 14px; }
      .taxbar2 { position:relative; display:flex; height:30px; background:#E1EDE8; border-radius:20px; overflow:hidden; }
      .taxseg { height:100%; }
      .taxseg.paid { background:linear-gradient(90deg,var(--primary),#3FD79C); }
      .taxseg.pend { background:repeating-linear-gradient(45deg,#B7E6D2,#B7E6D2 7px,#D6F0E4 7px,#D6F0E4 14px); }
      .taxmarker { position:absolute; top:-3px; bottom:-3px; width:2px; background:var(--ink); z-index:3; }
      .taxmarklbl { position:absolute; top:-16px; left:50%; transform:translateX(-50%); font-size:9.5px; font-weight:800; color:var(--ink); white-space:nowrap; }
      .app.dark .taxbar2 { background:#233A32; }
      .app.dark .taxseg.paid { background:linear-gradient(90deg,#12B981,#5FE0AE); }
      .app.dark .taxseg.pend { background:repeating-linear-gradient(45deg,#3B6455,#3B6455 7px,#2C4C41 7px,#2C4C41 14px); }
      .app.dark .taxmarker { background:#E7F0EC; }
      .app.dark .taxmarklbl { color:var(--dim); }
      /* ---- dark-mode chart/bar/line visibility ---- */
      .app.dark .flowbar.inc { background:#3FD79C; }
      .app.dark .flowbar.out { background:#F2836F; opacity:1; }
      .app.dark .sw.inc { background:#3FD79C; }
      .app.dark .sw.out { background:#F2836F; opacity:1; }
      .app.dark .flownet.pos { color:#5FE0AE; }
      .app.dark .flownet.neg { color:#F2836F; }
      .app.dark .flowcol.now { background:#233A32; }
      .app.dark .cvchartwrap { background:color-mix(in srgb, var(--primary) 5%, var(--surface)); }
      .app.dark .cvline { stroke:#5FE0AE; }
      .app.dark .cvdot { fill:#152420; stroke:#5FE0AE; }
      .app.dark .cvavg { stroke:#7E938B; }
      .tlk { display:inline-block; width:9px; height:9px; border-radius:2px; vertical-align:middle; margin-right:3px; }
      .tlk.paid { background:var(--primary); }
      .tlk.pend { background:#BfE8D6; }
      .app.dark .tlk.pend { background:#2A4A3D; }
      .taxscale { display:flex; justify-content:space-between; font-size:10.5px; color:var(--faint); margin-top:4px; }
      /* modal */
      .overlay { position:fixed; inset:0; background:rgba(14,33,27,.42); display:flex; align-items:center; justify-content:center; z-index:60; padding:20px; font-family:'Manrope',system-ui,sans-serif; }
      /* Arkadaki sayfa kilitli (kullanici, 2026-10-20). Bir modal, yan panel,
         arama ya da telefonun More menusu acikken parmak katmanin USTUNDE
         kaydirinca kaydirma arkadaki sayfaya geciyordu: yapiskan ust bar ve
         ay basligi yari saydam perdenin arkasinda ic ice kayiyordu. Kaydiran
         <body> (index.html: html overflow-x:hidden), o yuzden kilit onda;
         html de kilitleniyor, laboratuvarda kaydiran o. overflow:hidden kaydirma
         YERINI koruyor: kapaninca sayfa birakildigi yerde. Katmanlar yalnizca
         aciklarken DOM'da, yani :has kendiliginden acilip kapaniyor. */
      
      html:has(.overlay, .cdscrim, .srch, .mobscrim, .qnpeek, .qninbox), body:has(.overlay, .cdscrim, .srch, .mobscrim, .qnpeek, .qninbox) { overflow:hidden; overscroll-behavior:none; }
      @media (max-width:820px), (max-height:480px) and (orientation:landscape) {
        html:has(.mobbell .bellpanel, .mppanel, .fabmenu, .tmbar.open), body:has(.mobbell .bellpanel, .mppanel, .fabmenu, .tmbar.open) { overflow:hidden; overscroll-behavior:none; }
      }
      /* Katmanin kendi kayan govdesi sona varinca da arkaya gecmesin. */
      .modal, .mobmenu, .bellpanel, .srchpanel, .mppanel { overscroll-behavior:contain; }
      .modal { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-modal); width:min(620px,100%); max-height:88vh; overflow:auto; box-shadow:0 24px 70px rgba(14,33,27,.34); }
      .modal.wide { width:min(820px,100%); }
      .healthwait { margin:0 0 14px; font-size:13px; line-height:1.55; color:var(--dim); text-align:center; }
      .healthbig { font-size:48px; font-weight:800; text-align:center; font-family:'IBM Plex Mono',monospace; margin-bottom:8px; }
      .healthdimlist { display:flex; flex-direction:column; gap:12px; }
      .healthdim { border:1px solid var(--line); border-radius:11px; padding:12px 14px; }
      .healthdim.excluded { border-style:dashed; }
      .healthdimhd { display:flex; align-items:center; gap:8px; margin-bottom:4px; flex-wrap:wrap; }
      .healthdimhd:has(.healthpts) { flex-wrap:nowrap; align-items:flex-start; }
      .healthdimttl { min-width:0; }
      .healthdimttl > b { margin-right:4px; }
      .healthpts { margin-left:auto; padding-left:10px; font-weight:800; font-size:13.5px; white-space:nowrap; font-variant-numeric:tabular-nums; }
      .healthdim.excluded .healthpts { color:var(--dim); }
      .healthdimtext { font-size:13px; line-height:1.5; color:var(--ink); }
      .healthdim.excluded .healthdimtext { color:var(--dim); font-style:italic; }
      /* Sticky everywhere, not only on mobile. The modal itself is the scroll
         container (overflow:auto above), so the title stays put while a long
         body such as the score breakdown scrolls under it, and the close
         button is never scrolled out of reach. */
      .modalhd { display:flex; justify-content:space-between; align-items:center; padding:16px 18px 12px; border-bottom:1px solid var(--line);
        position:sticky; top:0; background:var(--surface); z-index:5; }
      .modalhd-actions { display:flex; align-items:center; gap:10px; }
      .cvbadges { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; }
      .cvgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:10px 18px; margin-bottom:6px; }
      .cvfield { display:flex; flex-direction:column; gap:2px; font-size:13px; min-width:0; }
      .cvfield span { font-size:10.5px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:var(--faint); }
      .cvfield b { color:var(--ink); font-weight:600; overflow:hidden; text-overflow:ellipsis; }
      .cvsection { font-size:11px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; color:var(--primary-ink); padding:16px 0 8px; border-bottom:1px solid var(--line); margin-bottom:12px; }
      .cvchartwrap { background:var(--bg); border:1px solid var(--line); border-radius:11px; padding:12px 12px 8px; }
      .cvchart { width:100%; height:120px; display:block; }
      .cmfoot .btn.cvleft { margin-right:auto; }
      .cvshare { color:var(--dim); text-transform:none; letter-spacing:0; font-weight:600; }
      /* Ay tahmini penceresi (kullanici, 2026-11-12): ForecastModal. Katman renkleri harcamanin kirmizisinin tonlari,
         tahmin ayri ve tarali (kesin olmadigini goze soylesin). */
      .fcmodal .fcm { display:grid; gap:4px; }
      .fcmlead { margin:0 0 8px; font-size:13px; color:var(--dim); }
      .fcmsum { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; }
      .fcmbox { border:1px solid var(--line); border-radius:var(--r-ctl); padding:10px 12px; min-width:0; }
      .fcmbox small { display:block; font-size:11px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--dim); }
      .fcmbox b { display:block; margin-top:4px; font-size:19px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .fcmbox.in b, .fcmbox.net b, .fcmhd .in { color:var(--green); }
      .fcmbox.out b, .fcmhd .out, .fcmbox.net.neg b { color:var(--red); }
      .fcmbox.net { background:color-mix(in srgb, var(--green) 10%, transparent); border-color:transparent; }
      .fcmbox.net.neg { background:color-mix(in srgb, var(--red) 9%, transparent); }
      .fcmbars { display:grid; gap:6px; margin:12px 0 6px; }
      .fcmbrow { display:grid; grid-template-columns:64px 1fr; gap:10px; align-items:center; font-size:11.5px; font-weight:700; color:var(--dim); }
      .fcmtrack { height:14px; border-radius:7px; background:color-mix(in srgb, var(--ink) 6%, transparent); display:flex; overflow:hidden; }
      .fcmtrack i { display:block; height:100%; }
      .fcmtrack i + i { box-shadow:inset 1.5px 0 0 var(--surface); }
      .fcm-in { background:var(--green); }
      .fcm-booked { background:color-mix(in srgb, var(--red) 100%, #000 18%); }
      .fcm-rec { background:var(--red); }
      .fcm-bill { background:color-mix(in srgb, var(--red) 65%, var(--surface)); }
      .fcm-card { background:color-mix(in srgb, var(--red) 40%, var(--surface)); }
      .fcm-est { background:repeating-linear-gradient(135deg, #7C6FD6 0 5px, #A59BE6 5px 10px); }
      .fcmlegend { display:flex; flex-wrap:wrap; gap:4px 12px; padding-left:74px; font-size:11px; color:var(--dim); }
      .fcmlegend i { display:inline-block; width:9px; height:9px; border-radius:3px; margin-right:5px; vertical-align:-1px; }
      .fcmsec { margin-top:8px; }
      .fcmhd { display:flex; align-items:baseline; justify-content:space-between; gap:10px; padding:10px 0 4px; border-top:1px solid var(--line); }
      .fcmhd h3 { margin:0; font-size:17px; font-weight:800; letter-spacing:-.2px; }
      .fcmhd .num { font-size:16px; }
      .fcmhd .num { font-weight:700; }
      .fcmnone { margin:4px 0; font-size:13px; color:var(--dim); }
      .fcmrow, .fcmlrow { display:grid; grid-template-columns:1fr auto; gap:10px; align-items:center; padding:8px 0; }
      .fcmrow + .fcmrow { border-top:1px dashed var(--line); }
      .fcmlrow { grid-template-columns:auto 1fr auto 22px; width:100%; background:none; border:0; text-align:left; font:inherit; color:inherit; cursor:pointer; }
      .fcmlrow:disabled { cursor:default; }
      .fcmlrow:not(:disabled):hover .fcmname { color:var(--primary-ink, var(--primary)); }
      .fcmchev { width:22px; height:22px; border-radius:50%; display:grid; place-items:center; color:var(--dim);
        background:color-mix(in srgb, var(--ink) 6%, transparent); transition:transform .2s ease; transform:rotate(90deg); }
      .fcmchev.off { background:none; }
      .fcmchev svg { width:12px; height:12px; }
      .fcmlrow[aria-expanded="true"] .fcmchev { transform:rotate(-90deg); }
      @media (prefers-reduced-motion:reduce) { .fcmchev { transition:none; } }
      /* Masaustunde pencere %18 genis (kullanici, 2026-11-12); telefonda alttan acilan sayfa zaten tam genislik. */
      .modal.fcmodal { width:min(730px,100%); }
      .fcmfoot .btn { display:inline-flex; align-items:center; gap:8px; }
      /* Menunun kendi ikonlari: paralar CSS ile cizili (.coinico), fis bir SVG; yalnizca dogrudan cocuk olculuyor. */
      .fcmbtnico { display:inline-grid; place-items:center; width:26px; height:26px; flex:none; }
      .fcmbtnico > svg { width:22px; height:22px; }
      .fcmlayer + .fcmlayer { border-top:1px dashed var(--line); }
      .fcmlayer.zero .fcmname, .fcmlayer.zero .fcmamt { color:var(--dim); }
      .fcmdot { width:10px; height:10px; border-radius:3px; }
      .fcmname { font-size:13.5px; font-weight:700; line-height:1.3; min-width:0; }
      .fcmname small { display:block; font-weight:500; font-size:12px; color:var(--dim); margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .fcmamt { text-align:right; font-size:13.5px; font-weight:700; white-space:nowrap; }
      .fcmamt small { display:block; font-family:'Manrope',system-ui,sans-serif; letter-spacing:0; font-size:11px; font-weight:600; color:var(--dim); }
      .fcmtag { display:inline-block; margin-left:6px; padding:1px 7px; border-radius:999px; font-size:10.5px; font-weight:800; font-style:normal; vertical-align:1px; }
      .fcmtag.sure { background:color-mix(in srgb, var(--green) 14%, transparent); color:var(--green); }
      .fcmtag.last { background:color-mix(in srgb, var(--amber) 16%, transparent); color:var(--dim); }
      .fcmtag.est { background:color-mix(in srgb, #7C6FD6 16%, transparent); color:#6A5DCB; }
      .fcmnote { margin:-4px 0 6px 20px; font-size:12px; color:var(--dim); }
      .fcmitems { margin:0 0 8px 20px; display:grid; gap:2px; }
      .fcmitem { display:flex; justify-content:space-between; gap:10px; font-size:12.5px; padding:3px 0; color:var(--dim); }
      .fcmitem b { color:var(--ink); font-weight:600; }
      .fcmest { margin:0 0 10px 20px; padding:10px 12px; border-radius:var(--r-ctl); background:color-mix(in srgb, #7C6FD6 9%, transparent); font-size:12.5px; line-height:1.5; }
      .fcmest p { margin:0 0 8px; }
      .fcmmrow { display:grid; grid-template-columns:68px 1fr auto; gap:8px; align-items:center; padding:2px 0; }
      .fcmmrow span { font-weight:700; }
      .fcmmrow i { display:block; height:8px; border-radius:4px; background:color-mix(in srgb, #7C6FD6 40%, transparent); }
      .fcmmrow.w i { background:#7C6FD6; }
      .fcmmrow b { font-weight:600; font-size:12px; }
      .fcmrest { margin:4px 0 0 !important; color:var(--dim); }
      .fcmflag { margin:8px 0 0 !important; padding:8px 10px; border-radius:10px; background:var(--surface); }
      .fcmwhy { margin-top:12px; padding:12px 14px; border-radius:var(--r-inner); background:color-mix(in srgb, var(--ink) 4%, transparent); }
      .fcmwhy h3 { margin:0 0 2px; font-size:14px; font-weight:800; }
      .fcmwhy > p { margin:0 0 6px; font-size:12.5px; color:var(--dim); }
      .fcmwrow { display:flex; justify-content:space-between; gap:10px; padding:6px 0; font-size:13px; border-top:1px solid var(--line); }
      .fcmwrow small { display:block; font-size:11.5px; color:var(--dim); }
      .fcmwrow .bad { color:var(--red); } .fcmwrow .good { color:var(--green); }
      .fcmwrow b { white-space:nowrap; }
      .fcmhow { margin-left:2px; }
      @media (max-width:820px) {
        .fcmsum { gap:6px; }
        .fcmbox { padding:8px 9px; }
        .fcmbox small { font-size:9.5px; letter-spacing:.02em; }
        .fcmbox b { font-size:14.5px; }
        .fcmbrow { grid-template-columns:52px 1fr; gap:8px; }
        .fcmlegend { padding-left:0; }
        .fcmest, .fcmitems, .fcmnote { margin-left:0; }
      }
      /* Grafikteki ayin tutari (kullanici, 2026-11-11): nokta ustune gelince ya da dokununca balon. */
      .cvplot { position:relative; }
      .cvhit { position:absolute; width:30px; height:30px; margin:-15px 0 0 -15px; padding:0; border:0; border-radius:50%; background:transparent; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .cvhit:focus-visible { outline:2px solid var(--primary); outline-offset:-6px; }
      .cvdot.on { stroke-width:3; r:5; }
      .cvtip { position:absolute; transform:translate(-50%, calc(-100% - 12px)); white-space:nowrap; padding:5px 10px; border-radius:8px; background:var(--ink); color:var(--surface);
        font-size:12.5px; font-weight:800; line-height:1.3; pointer-events:none; z-index:2; font-variant-numeric:tabular-nums; }
      .cvtip em { font-style:normal; font-weight:600; opacity:.75; margin-right:4px; }
      .cvtip.r { transform:translate(calc(-100% + 14px), calc(-100% - 12px)); }
      .cvtip.l { transform:translate(-14px, calc(-100% - 12px)); }
      .cvline { stroke:var(--primary); stroke-width:2; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke; }
      .cvdot { fill:var(--surface); stroke:var(--primary); stroke-width:2; vector-effect:non-scaling-stroke; }
      .cvavg { stroke:var(--faint); stroke-width:1; stroke-dasharray:4 4; vector-effect:non-scaling-stroke; }
      .cvxaxis { display:flex; justify-content:space-between; margin-top:6px; font-size:10px; color:var(--faint); }
      .cvxaxis .now { color:var(--primary); font-weight:800; }
      .cvstats { display:flex; gap:22px; flex-wrap:wrap; margin-top:14px; }
      .cvstats > div { display:flex; flex-direction:column; gap:2px; }
      .cvstatlabel { font-size:10.5px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:var(--faint); }
      .cvstats b { font-size:16px; color:var(--ink); }
      .cvnotes { font-size:13px; color:var(--ink-soft); line-height:1.5; margin:0; }
      .modalhd h2 { margin:0; font-size:15px; font-weight:800; color:var(--ink); }
      .xclose { width:36px; height:36px; border-radius:9px; border:1px solid var(--line); background:var(--surface); font-size:24px; line-height:1; color:var(--dim); cursor:pointer; display:flex; align-items:center; justify-content:center; }
      .xclose:hover { background:#FBE0E0; color:var(--red); border-color:#F2C6C6; }
      .removeopts { display:flex; flex-direction:column; gap:10px; }
      .removeopt { display:flex; flex-direction:column; gap:2px; text-align:left; border:1px solid var(--line); background:var(--surface); border-radius:11px; padding:12px 14px; cursor:pointer; font:inherit; }
      .removeopt b { font-size:14px; color:var(--ink); }
      .removeopt em { font-style:normal; font-size:12px; color:var(--dim); }
      .removeopt:hover { border-color:var(--primary); background:#F6FAF8; }
      .removeopt.danger:hover { border-color:var(--red); background:#FDF2F2; }
      .removeopt.danger b { color:var(--red); }
      /* A save that did not reach the server. Sits above the toast, stays until
         a write succeeds or it is dismissed, and never auto-hides: the whole
         point is that it cannot be missed the way a 2-second toast can. */
      .saveerr { position:fixed; bottom:118px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:12px;
        background:var(--red); color:#fff; padding:10px 12px 10px 16px; border-radius:12px; font-size:12.5px;
        box-shadow:0 10px 30px rgba(0,0,0,.32); z-index:90; width:max-content; max-width:calc(100vw - 24px); }
      .saveerrmsg { min-width:0; }
      /* The same banner, in the colour of good news. Green rather than the
         red it replaces, because the shape is the point: it appears exactly
         where the warning was, so the eye that found the warning finds its
         answer in the same place. */
      .saveerr.landed { background:var(--green); }
      .saveerrraw { display:block; margin-top:3px; font-style:normal; font-size:11px;
        opacity:.75; font-family:"IBM Plex Mono",monospace; word-break:break-word; }
      /* Same shape as the save-failure banner, in a different colour: this is
         information, not a fault, and it must not read as an error.
         --blue, not --primary-ink: dark mode redefines --primary-ink to the
         light mint #5FE0AE, and white on that measures 1.65. --blue is #0E7C64
         in BOTH modes and carries white at 5.14 -- better than the red banner
         beside it, which manages 4.57. */
      .newver { position:fixed; bottom:118px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:12px;
        background:var(--blue); color:#fff; padding:10px 12px 10px 16px; border-radius:12px; font-size:12.5px;
        border:1px solid rgba(255,255,255,.28); /* hafif bir kenar (kullanici, 2026-11-02): koyu zeminde serit kenarsiz kayboluyordu */
        box-shadow:0 10px 30px rgba(0,0,0,.32); z-index:90; width:max-content; max-width:calc(100vw - 24px); }
      .newver button { background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.5); color:#fff;
        font:inherit; font-weight:700; font-size:12px; border-radius:8px; padding:5px 10px; cursor:pointer; white-space:nowrap; }
      .newver button:hover { background:rgba(255,255,255,.28); }
      /* Sabit genislik (kullanici, 2026-11-02): serit en bastan yeterince genis ve degismiyor; Yenile dugmesi
         "Yenileniyor…"a donunce de ayni boyda (en uzun haline gore min-width). Sonra ikincil: zeminsiz. */
      .newver { width:min(360px, calc(100vw - 24px)); gap:8px; }
      .newver .newverlater { padding-left:8px; padding-right:8px; }
      .newver .saveerrmsg { flex:1 1 auto; min-width:0; }
      .newver .newvergo { min-width:96px; text-align:center; }
      .newver .newverlater { background:transparent; border-color:transparent; }
      .newver .newverlater:hover { background:rgba(255,255,255,.14); }
      /* Bigger on a desktop, where there is room for it and where a deploy is
         most likely to catch a tab that has been open for hours. The phone
         keeps the compact size: the same growth there would cover the bottom
         tab bar it sits above. */
      @media (min-width:900px){
        .newver { gap:16px; padding:15px 18px 15px 22px; border-radius:14px; font-size:14.5px; bottom:126px; }
        .newver button { font-size:13.5px; padding:8px 15px; border-radius:9px; }
        .newver { width:440px; }
        .newver .newvergo { min-width:122px; }
      }
      .saveerr button { background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.5); color:#fff;
        font:inherit; font-weight:700; font-size:12px; border-radius:8px; padding:5px 10px; cursor:pointer; white-space:nowrap; }
      .saveerr button:hover { background:rgba(255,255,255,.28); }
      .saveerr .saveerrx { padding:5px 9px; background:transparent; border-color:transparent; font-size:15px; line-height:1; }
      @media (max-width:640px){ .saveerr { flex-wrap:wrap; bottom:96px; } }
      /* Overdue-backup marker. Takes the theme colour rather than a fixed red:
         nothing is broken, it is a nudge, and it should read as part of the
         palette. The pulse stops for reduced-motion. */
      /* A request, on either side of it: what was asked, and what can be done
         about it. One row shape for the member's own list and for the owner's
         queue, because they are the same thing seen from two ends. */
      .reqlist { display:grid; gap:8px; padding-bottom:12px; }
      .reqrow { display:flex; align-items:center; gap:12px; flex-wrap:wrap;
        border:1px solid var(--line); border-radius:11px; padding:10px 12px; background:var(--bg); }
      .app.dark .reqrow { background:#101E19; }
      .reqwhat { flex:1 1 260px; min-width:0; font-size:12.5px; color:var(--ink); }
      .reqwhen { font-size:11px; color:var(--dim); }
      /* ------------------------------------------------------------ PROPOSALS
         Wide cards, two to a row, because a proposal is a line of facts rather
         than a portrait: what was offered, to whom, on what terms, for how
         much. A square would leave the middle empty.

         The status colours are the ones the app already uses for money that is
         owed, waiting or settled, so a proposal reads the same way an invoice
         row does: amber is waiting on someone, green is settled, red is a no. */
      /* Kartlar arasi bosluk (K-667): isik kartin alt ve sag kenarinda, sikisik izgarada gorunmuyordu. */
      .prgrid { display:grid; grid-template-columns:1fr; gap:24px 20px; padding-bottom:22px; }
      @media (min-width:1100px){ .prgrid { grid-template-columns:1fr 1fr; } }
      /* Teklif karti (kullanici, K-654; giris sayfasinin "Ucretsiz planda baska neler var" kartlari gibi): normalde ince
         cerceve ve sag alt kosede durumun renginde bir isik; ustune gelince cercevenin tamami yesil. Eskiden durum ust
         kenarda 3px bir cizgiydi ve ustune gelince cerceveyle ayni renge donup kayboluyordu. Durum yine renkte
         (isik ve zemin tonu) ve kartin altindaki durum dugmelerinde. */
      .prcard { --glow:var(--primary); position:relative; isolation:isolate; border:1px solid var(--line); border-radius:13px;
        padding:14px 15px 12px; background:var(--surface); cursor:pointer; display:flex; flex-direction:column; gap:7px;
        box-shadow:0 10px 22px -14px rgba(14,33,27,.35), 10px 12px 26px -18px color-mix(in srgb, var(--glow) 55%, transparent);
        transition:border-color .15s ease, box-shadow .15s ease; }
      .prcard::before { content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1.5px; pointer-events:none; z-index:-1;
        background:radial-gradient(70% 85% at 100% 100%, color-mix(in srgb, var(--glow) 90%, transparent),
          color-mix(in srgb, var(--glow) 30%, transparent) 45%, transparent 70%);
        -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude;
        transition:opacity .15s ease; }
      .prcard:hover, .prcard:focus-visible { border-color:var(--primary); outline:none;
        box-shadow:0 0 0 1px var(--primary), 0 6px 18px -8px rgba(14,33,27,.25); }
      .prcard:hover::before, .prcard:focus-visible::before { opacity:0; }
      /* Durumun rengi (kullanici, 2026-11-16, K-667): taslak gri, gonderildi altin, inceleniyor mavi, kabul yesil,
         red kirmizi. Kartin zemini, cercevesi, kosedeki isik ve golge ayni renkte; durum hapi ve dugmeleri de. */
      .prcard { --st:var(--dim); }
      .prcard.st-draft { --st:var(--dim); }
      .prcard.st-sent { --st:var(--amber); }
      .prcard.st-negotiating { --st:var(--st-blue); }
      .prcard.st-accepted { --st:var(--green); }
      .prcard.st-declined { --st:var(--red); }
      .prcard[class*="st-"] { --glow:var(--st); border-color:color-mix(in srgb, var(--st) 38%, var(--line));
        background:color-mix(in srgb, var(--st) 7%, var(--surface));
        box-shadow:0 10px 22px -14px rgba(14,33,27,.35), 8px 14px 30px -14px color-mix(in srgb, var(--st) 60%, transparent); }
      .prcard.st-draft { background:var(--surface); border-color:var(--line); box-shadow:0 10px 22px -14px rgba(14,33,27,.35), 8px 14px 30px -16px color-mix(in srgb, var(--st) 45%, transparent); }
      .prcard[class*="st-"]:hover, .prcard[class*="st-"]:focus-visible { border-color:var(--st);
        box-shadow:0 0 0 1px var(--st), 0 8px 22px -10px color-mix(in srgb, var(--st) 55%, transparent); }
      .prcard .prsplit { border-color:color-mix(in srgb, var(--st) 26%, var(--line)); }
      /* Baslikta "4 hizmet" gibi sayi olunca ustune gelince hizmetlerin listesi (K-654). */
      .prheadtip { position:relative; display:inline; }
      /* 4+ hizmet: adlar tek satir, sigmayan "..." ile; baslangic ucreti notu yaninda kalir (K-655). */
      .prgrid > .prcard { min-width:0; }
      .prtitle.many { display:flex; align-items:baseline; gap:5px; }
      .prtitle.many .prheadtip { display:block; min-width:0; flex:0 1 auto; }
      .prtitle.many .prheadtxt { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .prtitle.many .prplus { flex:none; white-space:nowrap; }
      .prheadtip > .prtipbox { position:absolute; left:0; top:calc(100% + 6px); z-index:30; min-width:180px; max-width:280px;
        padding:8px 11px; border-radius:var(--r-ctl); background:var(--ink); color:var(--surface); font-size:12.5px; font-weight:600;
        line-height:1.45; box-shadow:0 10px 24px -10px rgba(0,0,0,.45); opacity:0; transform:translateY(-3px); pointer-events:none;
        transition:opacity .12s ease, transform .12s ease; white-space:normal; }
      .prheadtip > .prtipbox span { display:block; }
      .prheadtip:hover > .prtipbox, .prheadtip:focus-visible > .prtipbox { opacity:1; transform:none; }
      @media (prefers-reduced-motion: reduce) { .prheadtip > .prtipbox { transition:none; transform:none; } }
      .prcellmain { display:flex; align-items:center; gap:8px; min-width:0; }
      .prdrift { display:flex; align-items:center; gap:7px; flex-wrap:wrap;
        font-size:11.5px; font-weight:600; color:var(--dim); margin:-8px 0 14px; }
      /* The row ends where the next section begins, and that needed saying:
         the proposals sat on top of the Billing profile heading below them. */
      .cdcols { display:grid; grid-template-columns:1fr 1fr; gap:0 22px; align-items:start; margin-bottom:14px; }
      .cdcol { min-width:0; }
      @media (max-width:760px){ .cdcols { grid-template-columns:1fr; } }
      .cdprops { display:flex; flex-direction:column; gap:6px; }
      .cdprop { display:flex; flex-direction:column; gap:3px; text-align:left; width:100%;
        border:1px solid var(--line); background:var(--surface); border-radius:10px; padding:8px 10px;
        font:inherit; cursor:pointer; }
      .cdprop:hover { border-color:var(--primary); }
      .cdproptop { display:flex; align-items:center; gap:8px; justify-content:space-between; }
      .cdpropttl { font-size:12.5px; font-weight:800; color:var(--ink); min-width:0; }
      .cdpropsub { font-size:11.5px; color:var(--dim); display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
      /* The two tabs straddle the top border of the box below, so the header
         stands back far enough for them to land on a line of their own. */
      .prtop { display:flex; align-items:flex-start; justify-content:space-between; gap:11px; padding-bottom:20px; }
      .prttls { display:flex; flex-direction:column; gap:2px; flex:1 1 auto; min-width:0; }
      .prcount { font-size:12px; color:var(--dim); }
      .prplus { font-weight:700; color:var(--dim); }
      /* The frame, and the line down the middle of it. The rule is its own grid
         track rather than a border on a column, so it can stop short of the
         frame at both ends instead of running into the corners. */
      .prsplit { border:1px solid var(--line); border-radius:11px;
        display:grid; grid-template-columns:minmax(0,1fr) 1px minmax(0,1.45fr); }
      .prcol { position:relative; padding:19px 13px 12px; display:flex; flex-direction:column; gap:8px; min-width:0; }
      .prrule { background:var(--line); margin:11px 0; }
      /* The heading leaves the column and sits on its edge, the way the expense
         form names what is being added. It stops being a line to read and
         becomes a mark saying what is where, which gives the name and the list
         underneath the whole of the column. The palette's own deep ink rather
         than a neutral grey, so the mark belongs to the theme: --surface on
         --primary-ink measures 4.91 at worst, Amber light, and 9.98 at best. */
      .prtab { position:absolute; top:-9px; left:11px; background:var(--primary-ink); color:var(--surface);
        font-size:10px; font-weight:800; letter-spacing:.5px; text-transform:uppercase;
        padding:3px 9px; border-radius:7px; white-space:nowrap; }
      .acceptfrom { display:flex; align-items:center; gap:10px; flex-wrap:wrap;
        border-top:1px solid var(--line); padding-top:12px; margin-top:4px; }
      .acceptfromlbl { font-size:12.5px; font-weight:700; color:var(--dim); }
      .acceptfrom .mpbtn { font-size:14px; }
      /* One line: the switch with its name, the sentence, then the figures.
         The sentence is the only part that gives way, because it is the only
         part that can be read later. */
      /* Everything on the row sits on the inputs' own line, so the switch, the
         sentence and the figures read as one line rather than three that happen
         to be near each other. The labels above the inputs are what makes the
         field group taller, and the paddings below put the other two back on
         the input's centre.
         min-height is what the block measures with the fields in it, so turning
         the fee on does not move the block: the space above and below it is the
         same whether it is on or off. */
      .obblock { display:flex; align-items:flex-end; gap:14px; flex-wrap:wrap;
        min-height:58px; margin-bottom:14px; }
      .obhead { display:flex; align-items:center; gap:14px; flex:1 1 320px; min-width:0; padding-bottom:9px; }
      .obblock .tglrow { padding:0; flex:0 0 auto; align-items:center; }
      .obhint { font-size:11.5px; color:var(--dim); flex:1 1 200px; min-width:0; }
      .obrow { display:flex; gap:12px; align-items:flex-end; flex-wrap:wrap; flex:0 0 auto; }
      .obrow .prdisc { padding-bottom:9px; }
      /* The way out of the discount sits inside the box it clears, at the end
         of the figure it would remove. Beside the box it was a second item on
         the row and took its own width off the field, so the discounted amount
         ended up in a narrower box than the amount it discounts. It is the
         same number twice and it has to look like it. */
      .prnewcell { position:relative; display:flex; align-items:flex-end; }
      .prnewcell .field { flex:1 1 auto; min-width:0; }
      .prnewcell input { padding-right:34px; }
      .prnewdrop { position:absolute; right:6px; bottom:6px; width:22px; height:22px; padding:0; line-height:1;
        border:1.5px solid var(--red); border-radius:50%; background:transparent; color:var(--red);
        font:inherit; font-size:13px; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; }
      .prnewdrop:hover { background:var(--red); color:#fff; }
      /* Amber, not mint: it sits directly under the scope bar and the two were
         being read as the same control. The mix is measured, five palettes in
         both modes, worst 4.62 (Emerald and Rose, light). The secondary label
         keeps the same ink and drops a weight instead of fading, because a
         faded amber on amber does not clear 4.5 anywhere. */
      /* Two classes, not one: .prscopebar sets the mint further down the
         stylesheet, and at equal specificity the later rule wins. */
      .prscopebar.revbar { margin-bottom:6px;
        background:color-mix(in srgb, var(--amber) 22%, var(--surface));
        color:color-mix(in srgb, var(--amber) 64%, var(--ink)); }
      .prscopebar.revbar:hover { border-color:color-mix(in srgb, var(--amber) 64%, var(--ink)); }
      .revbar .prscopesays { color:inherit; font-weight:600; }
      /* Downward, because that is where the thing it adds ends up: at the foot
         of the document, under everything already agreed. */
      .revbar .prscopechev { animation:prnextdown 2.6s ease-in-out infinite; }
      .revbar.open .prscopechev { animation:none; }
      @keyframes prnextdown {
        0% { opacity:0; transform:translateY(-2px); }
        22% { opacity:.85; transform:translateY(0); }
        62% { opacity:0; transform:translateY(7px); }
        100% { opacity:0; transform:translateY(7px); }
      }
      @media (prefers-reduced-motion:reduce){ .revbar .prscopechev { animation:none; } }
      .reqinput { font:inherit; font-size:13px; color:var(--ink); border:1px solid var(--line);
        border-radius:10px; padding:8px 11px; background:var(--surface); width:100%; resize:vertical; min-height:56px; }
      .reqinput:focus { outline:none; border-color:var(--primary-ink); }
      .reqlist { display:flex; flex-direction:column; gap:6px; margin-bottom:10px; }
      .reqrow { display:flex; align-items:baseline; gap:10px; padding:8px 11px; border:1px solid var(--line);
        border-radius:10px; background:color-mix(in srgb, var(--primary) 3%, var(--surface)); }
      .reqwhen { font-size:11px; font-weight:700; color:var(--primary-ink); white-space:nowrap; flex:0 0 auto; }
      .reqtext { font-size:13px; color:var(--ink); flex:1 1 auto; min-width:0; }
      /* The button is the bar. The fill runs under its own label, which is
         where the finger already is and therefore where the eye already is.
         The first version put this in a box above the finger and people did
         not see it. */
      /* user-select AND touch-callout: holding a word is how a phone offers to
         select it, and the callout alone leaves the selection behind. */
      .holdbtn { position:relative; overflow:hidden; display:inline-flex; align-items:center; gap:7px;
        -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; touch-action:manipulation; }
      .holdbtn * { pointer-events:none; }
      /* A trash can needs more room inside the ring than a cross did: at 17px
         the glyph touched the border. The ring grows, the mark keeps air. */
      .iconbtn.danger.holdbtn { width:22px; height:22px; }
      .holdico { display:inline-flex; }
      .holdbtn .holdico svg { width:14px; height:14px; }
      /* While it fills, the button keeps a light ground whatever :hover thinks.
         A phone has no hover, but mobile Safari sticks one on tap, and a 20%
         red bar on a solid red button is no bar at all. */
      .holdbtn.run, .holdbtn.done, .holdbtn.run:hover, .holdbtn.done:hover {
        background:var(--surface); color:var(--red); }
      .holdfill { position:absolute; inset:0; z-index:0;
        background:color-mix(in srgb, var(--red) 20%, transparent);
        transform-origin:left center; animation:holdfill 1000ms linear forwards; }
      .holdbtn .holdico, .holdbtn .prdroplbl { position:relative; z-index:1; }
      @keyframes holdfill { from { transform:scaleX(0); } to { transform:scaleX(1); } }
      /* The answer: a ring thrown outwards and the mark shaken loose. */
      .holdbtn.done::after { content:""; position:absolute; left:50%; top:50%; width:22px; height:22px;
        margin:-11px 0 0 -11px; border-radius:50%; border:2px solid var(--red); z-index:2;
        animation:holdsplash 520ms ease-out forwards; }
      .holdbtn.done .holdico svg { animation:holdshake 400ms ease-in-out; }
      @keyframes holdsplash { from { transform:scale(.35); opacity:.8; } to { transform:scale(7); opacity:0; } }
      @keyframes holdshake {
        0%, 100% { transform:rotate(0deg); }
        18% { transform:rotate(-16deg); }
        38% { transform:rotate(13deg); }
        58% { transform:rotate(-9deg); }
        78% { transform:rotate(5deg); }
      }
      @media (prefers-reduced-motion:reduce){
        .holdfill { animation:none; background:color-mix(in srgb, var(--red) 12%, transparent); }
        .holdbtn.done::after, .holdbtn.done .holdico svg { animation:none; }
      }
      .prsvcrow { display:flex; align-items:center; gap:8px; min-width:0; }
      /* Hizmet ikonunda hafif yuvarlak kose, yalnizca teklif kartlarinda ve listesinde (K-667). */
      .prsvcrow .svclogo, .prlsvc .svclogo { border-radius:4px; }
      /* Gorunum anahtari 34px'lik siraya sigsin: dugmeler kutunun alt kenarina degiyordu (K-667). */
      .rowacts .crview { align-items:center; box-sizing:border-box; }
      .rowacts .crview .crvbtn { height:26px; }
      .prsrchbtn { width:34px; height:34px; display:grid; place-items:center; border:1px solid var(--line); border-radius:10px; background:var(--bg); color:var(--dim); cursor:pointer; flex:0 0 auto; }
      .prsrchbtn svg { width:16px; height:16px; }
      @media (hover:hover) { .prsrchbtn:hover { color:var(--ink); border-color:var(--primary); } }
      .prsrchbtn:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      /* What they took and what they left, on the same list. The one they left
         keeps its place: an offer is only understood next to what it was. */
      .prsvcrow.took .prsvcname, .prsvcrow.took .prsvcfee { color:var(--primary-ink); }
      .prsvcrow.left { opacity:.55; }
      .prsvcrow.left .prsvcname, .prsvcrow.left .prsvcfee { text-decoration:line-through; }
      .prfee.took { color:var(--primary-ink); }
      .prlsvc.took b { color:var(--primary-ink); }
      .prlsvc.left { opacity:.55; }
      .prlsvc.left b { text-decoration:line-through; }
      .prlfee.left { opacity:.55; text-decoration:line-through; }
      .takelist { display:flex; flex-direction:column; gap:6px; }
      .takerow { display:flex; align-items:center; gap:10px; padding:9px 11px; border:1px solid var(--line);
        border-radius:10px; cursor:pointer; opacity:.62; }
      .takerow.on { opacity:1; border-color:var(--primary-ink); background:color-mix(in srgb, var(--mint) 45%, var(--surface)); }
      .takerow input { width:17px; height:17px; accent-color:var(--primary-ink); flex:0 0 auto; margin:0; }
      .takename { font-size:13px; font-weight:700; flex:1 1 auto; min-width:0; }
      .takefee { font-size:12.5px; color:var(--dim); white-space:nowrap; }
      .prsvcname { font-size:13px; font-weight:700; color:var(--ink); flex:1 1 auto; min-width:0;
        overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .prsvcfee { font-size:12.5px; color:var(--dim); white-space:nowrap; }
      .prwho2 { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
      @media (max-width:700px){
        /* Side by side needs width a phone has not got, so the frame becomes
           one column and the rule lies down between them. */
        .prsplit { grid-template-columns:1fr; }
        .prrule { margin:0 11px; height:1px; }
      }
      .prtitle { font-size:15px; font-weight:800; color:var(--ink); line-height:1.3; min-width:0; }
      .prwho { font-size:12px; color:var(--dim); display:flex; flex-direction:column; gap:1px; min-width:0; }
      .prwho b { color:var(--ink); font-weight:700; }
      .prsep { color:var(--line); }
      .prfee { font-size:14px; font-weight:700; color:var(--ink); }
      /* No rule above it. The frame around the offer already ends where the
         footer starts, so the line was a second edge a few pixels under the
         first one. */
      /* margin-top:auto, not a fixed gap: side by side the two cards are as
         tall as the taller one, and a card with one service used to leave its
         stages floating halfway up while its neighbour's sat on the floor. The
         row of stages is the same row in both, so it reads across them. */
      .prfoot { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:11px; color:var(--faint);
        padding-top:11px; margin-top:auto; }
      /* Five statuses and a sentence do not share a phone's width. They stop
         competing for one line and take one each, both the full width, so
         neither has to be aimed at. */
      @media (max-width:640px){
        .prfoot { flex-direction:column; align-items:stretch; gap:9px; }
        .prfoot .prstatus.mini { width:100%; gap:3px; }
        /* Five words across a phone. The room comes off the sides, where it was
           only air, and not off the height, which is what a thumb aims at. */
        .prfoot .prstatus.mini .prstatbtn { flex:1 1 0; min-width:0; text-align:center;
          padding:6px 2px; font-size:min(8.2px, 2.18vw); letter-spacing:0; }
        .prfoot .btn.accent { width:100%; justify-content:center; }
      }
      /* The onboarding fee is a line of the offer, so it reads as one rather
         than as a tag in the footer. */
      .prline2 { font-size:12px; color:var(--dim); }
      /* Under the fee and quieter than it: the same kind of figure answering a
         smaller question. Only the figure takes the column's monospace, because
         the word beside it is a word. */
      .prfeeob { font-size:12.5px; color:var(--dim); margin-top:-2px; }
      .prfeeob .num { font-weight:700; }
      /* Generate document is the one thing you came to a finished proposal to
         do, so it does not look like duplicate, edit and delete. The mint and
         its ink are the pair the active nav item uses, deepened toward --ink
         because this is a 12px LABEL and not a shape: plain --primary-ink on
         mint measures 4.12 in Amber, under the 4.5 text wants, and 3.89 on the
         hover tint. Deepened it clears 6.09 and 5.76. White on --primary was
         never an option here: 2.54 in Emerald. */
      .btn.accent { background:var(--mint); border-color:transparent; font-weight:700;
        color:color-mix(in srgb, var(--primary-ink) 70%, var(--ink)); }
      .btn.accent:hover { background:color-mix(in srgb, var(--primary) 22%, var(--surface)); }
      .btn.accent.big { padding:0 18px; font-size:13.5px; }
      .prrowclick { cursor:pointer; }
      /* One row, the full width of the modal, each option wearing the colour it
         will wear on the card. The chosen one is filled; the rest are outlines
         of the same hue, so the row reads as a track rather than five buttons
         competing for attention. */
      .prstatus { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
      /* The same row on a card: smaller, wrapping, and carrying no bottom
         margin because the footer already spaces it. */
      .prstatus.mini { gap:4px; margin:0; flex:1 1 auto; min-width:0; }
      .prstatus.mini .prstatbtn { flex:0 1 auto; padding:5px 7px; font-size:9px; letter-spacing:.04em; border-radius:7px; }
      .prwhen { font-size:11.5px; font-weight:600; color:var(--dim); display:flex; align-items:center; gap:2px; }
      /* A service and its price are one fact split across two columns, so they
         are given the same line box and land on the same baseline. */
      /* It grows out of nothing rather than appearing already there, so the
         eye follows it from the pill that was clicked. */
      .modal.statusmodal { width:min(560px,100%); animation:stepgrow .22s cubic-bezier(.2,.85,.3,1) both; }
      @keyframes stepgrow { from { opacity:0; transform:scale(.9); } to { opacity:1; transform:none; } }
      @media (prefers-reduced-motion:reduce){ .modal.statusmodal { animation:none; } }
      /* One line, or the row stops reading as a path from left to right. The
         pills shrink instead of wrapping. */
      .stepsrow { display:flex; align-items:center; justify-content:center; gap:1px; flex-wrap:nowrap; padding-top:4px; }
      .stepsrow .prstatbtn { flex:0 1 auto; min-width:0; padding:7px 7px; font-size:10.5px; border-radius:8px;
        white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .stepsep { color:var(--faint); font-size:12px; flex:0 0 auto; }
      /* A phone cannot hold five of these on one line without cutting the
         words in half, and a truncated label is worse than a second line. */
      @media (max-width:560px){
        /* flex:0 0 auto, because a shrinkable item shrinks before it wraps:
           with min-width 0 the labels were cut to DRA... rather than moving to
           a second line. */
        .stepsrow { flex-wrap:wrap; gap:3px; }
        .stepsrow .prstatbtn { flex:0 0 auto; min-width:auto; overflow:visible;
          font-size:10px; padding:6px 8px; letter-spacing:0; }
      }
      .stepacts { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding-top:12px; }
      .stepacts .btn { width:100%; justify-content:center; }
      .prpillbtn { border:none; font:inherit; cursor:pointer; }
      /* Teklif listesi: tablo degil satirlar (K-669). Kimin icin / teklif ve ucret / durum / eylem. */
      .prlist { padding:0 0 4px; }
      .prlhead, .prlrow { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1.6fr) minmax(0,.9fr) auto; gap:18px; align-items:start; padding:14px 22px; }
      .prlhead { padding-top:6px; padding-bottom:8px; font-size:11.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--dim); text-align:left; }
      .prlrow { border-top:1px solid var(--line); cursor:pointer; }
      .prlrow:hover { background:color-mix(in srgb, var(--ink) 3%, var(--surface)); }
      .prlwho { display:flex; gap:11px; align-items:center; min-width:0; }
      .prlwhot { display:flex; flex-direction:column; min-width:0; }
      .prlwhot b { font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .prlwhot > span { font-size:12px; color:var(--dim); }
      .prlwhot .prsep { color:var(--dim); margin:0 5px; }
      .prloffer { display:flex; flex-direction:column; gap:6px; min-width:0; }
      .prlsvc2 { display:grid; grid-template-columns:16px minmax(0,1fr) auto; gap:9px; align-items:center; }
      .prlsvc2 b { font-weight:700; min-width:0; overflow-wrap:anywhere; }
      .prlsvc2 .num { white-space:nowrap; text-align:right; }
      .prlsvc2.dim { color:var(--dim); font-size:12.5px; }
      .prlsvc2.took b { color:var(--primary-ink); }
      .prlsvc2.left { opacity:.55; }
      .prlsvc2.left b { text-decoration:line-through; }
      .prlstat { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
      .prlnote { font-size:12px; font-weight:700; }
      .prlacts { display:flex; align-items:center; gap:8px; justify-self:end; }
      .prlacts .btn { white-space:nowrap; }
      @media (max-width:820px){
        .prlhead { display:none; }
        .prlrow { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"who stat" "offer offer" "acts acts"; gap:12px; padding:16px 14px; }
        .prlwho { grid-area:who; }
        .prlstat { grid-area:stat; align-items:flex-end; }
        .prloffer { grid-area:offer; padding-left:2px; }
        .prlacts { grid-area:acts; justify-self:stretch; }
        .prlacts .btn { flex:1; justify-content:center; min-height:44px; }
        .prlacts .crkebab { min-width:44px; min-height:44px; }
      }
      /* Karta bagli harcamanin Gecikti'si (K-680): noktali alt cizgi, uzerine gelince ya da odaklaninca mini balon. */
      .latetip { position:relative; display:inline-block; border-bottom:1.5px dotted currentColor; cursor:help; outline:none; }
      .latetipbox { display:none; position:absolute; left:0; bottom:calc(100% + 8px); z-index:40; width:max-content; max-width:min(280px, 70vw);
        padding:9px 12px; border-radius:10px; background:var(--ink); color:var(--surface); font-size:12px; font-weight:500; line-height:1.4;
        text-transform:none; letter-spacing:0; white-space:normal; text-align:left; box-shadow:0 6px 18px rgba(0,0,0,.28); pointer-events:none; }
      .latetip:hover .latetipbox, .latetip:focus .latetipbox, .latetip:focus-visible .latetipbox { display:block; }
      .latetip:focus-visible { outline:2px solid var(--primary); outline-offset:3px; border-radius:3px; }
      .prlsvc { display:flex; align-items:center; gap:7px; min-width:0; height:22px; }
      .prlsvc b { font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .prlfee { height:22px; line-height:22px; white-space:nowrap; }
      .prlfee.dim { color:var(--dim); font-size:12px; }
      .prstatbtn { flex:1 1 110px; min-width:0; padding:9px 8px; border-radius:10px;
        border:1px solid var(--line); background:var(--surface); color:var(--dim);
        font:inherit; font-size:11px; font-weight:800; letter-spacing:.06em;
        text-transform:uppercase; cursor:pointer; transition:background .15s ease, color .15s ease; }
      .prstatbtn:hover { border-color:var(--primary); }
      /* Not yet, rather than not ever. The label keeps --dim, the same ink every
         other pill uses, so nothing here drops under 4.5: what changes is the
         edge, which stops looking like something to press. */
      .prstatbtn.notyet { border-style:dashed; cursor:not-allowed; }
      .prstatbtn.notyet:hover { border-color:var(--line); }
      .prstatwhy { font-size:11.5px; font-weight:600; color:var(--dim); margin:-8px 0 14px; }
      /* The pill you are on points at the one after it: a slow drift out to the
         right, which is what a next step looks like. It inherits the pill's own
         ink, so it is the colour of the word beside it and needs no measuring of
         its own. Nothing moves where the story has ended. */
      /* Bigger than the word it follows, because it is a mark rather than a
         letter: at type size it read as punctuation nobody had noticed. */
      .prstatnext { display:inline-block; margin-left:5px; font-size:1.35em; line-height:0;
        vertical-align:-1px; animation:prnext 2.6s ease-in-out infinite; }
      .prstatus.mini .prstatnext { font-size:1.5em; margin-left:3px; }
      @keyframes prnext {
        0% { opacity:0; transform:translateX(-2px); }
        22% { opacity:.85; transform:translateX(0); }
        62% { opacity:0; transform:translateX(8px); }
        100% { opacity:0; transform:translateX(8px); }
      }
      @media (prefers-reduced-motion:reduce){ .prstatnext { animation:none; opacity:.8; } }
      .prstatbtn.draft.on { background:var(--bg); color:var(--dim); border-color:var(--dim); }
      .prstatbtn.sent.on { background:color-mix(in srgb, var(--amber) 16%, var(--surface));
        color:color-mix(in srgb, var(--amber) 60%, var(--ink)); border-color:transparent; }
      .prstatbtn.negotiating.on { background:color-mix(in srgb, var(--st-blue) 16%, var(--surface));
        color:color-mix(in srgb, var(--st-blue) 65%, var(--ink)); border-color:transparent; }
      .prstatbtn.accepted.on { background:color-mix(in srgb, var(--green) 18%, var(--surface));
        color:color-mix(in srgb, var(--green) 60%, var(--ink)); border-color:transparent; }
      .prstatbtn.declined.on { background:color-mix(in srgb, var(--red) 14%, var(--surface));
        color:color-mix(in srgb, var(--red) 60%, var(--ink)); border-color:transparent; }
      /* One pill, five states. Each pairs a tint with the ink of the same hue,
         both palette tokens, so none of them has to be measured twice. */
      /* Each pill deepens its own hue toward --ink until 10px uppercase clears
         4.5 on its own tint. Plain --amber and --green measured 4.33 and 4.42,
         and --primary-ink on mint 4.12: all just under. Worst now: 5.32 sent,
         5.18 accepted, 4.92 declined, 6.09 negotiating, 5.01 draft. */
      .prpill { flex:0 0 auto; font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
        padding:4px 9px; border-radius:20px; white-space:nowrap; }
      .prpill.draft { background:var(--bg); color:var(--dim); box-shadow:inset 0 0 0 1px var(--line); }
      .prpill.sent { background:color-mix(in srgb, var(--amber) 16%, var(--surface)); color:color-mix(in srgb, var(--amber) 60%, var(--ink)); }
      .prpill.negotiating { background:color-mix(in srgb, var(--st-blue) 16%, var(--surface)); color:color-mix(in srgb, var(--st-blue) 65%, var(--ink)); }
      .prpill.accepted { background:color-mix(in srgb, var(--green) 18%, var(--surface)); color:color-mix(in srgb, var(--green) 60%, var(--ink)); }
      .prpill.declined { background:color-mix(in srgb, var(--red) 14%, var(--surface)); color:color-mix(in srgb, var(--red) 60%, var(--ink)); }
      /* The modal. Each offered service is one row that wraps as a unit. */
      .prrow { display:flex; gap:12px; align-items:flex-end; flex-wrap:wrap; margin-bottom:6px; }
      .prrow > .field { flex:1 1 220px; min-width:0; }
      /* flex-basis 100%: this belongs under the picker, not beside it. */
      /* Sits on the line's baseline, where a field would be, so asking for a
         discount does not shift the row. */
      .prdisc { display:flex; align-items:flex-end; padding-bottom:8px; flex:0 0 auto; }
      @media (max-width:560px){
        .delshort .dellbl { display:none; }
        /* Four buttons and 354px. At the sizes they carry on a desktop they
           came to 372px and the last of them, the one that saves, was the one
           over the edge. A point off the label and two off each side fits the
           row with room to spare, and nothing had to be hidden to do it. */
        .formfoot { gap:8px; }
        .formfoot .btn, .formfoot .btn.accent.big { font-size:12.5px; padding-left:12px; padding-right:12px; }
        .delshort { padding-left:10px; padding-right:10px; }
        /* The accent button keeps its sentence on one line; the footer wraps
           around it instead of wrapping it. */
        .formfoot .btn.accent { white-space:nowrap; }
      }
      .prnew { flex:1 0 100%; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
      .prnew input { flex:1 1 220px; min-width:0; font:inherit; font-size:13px; color:var(--ink);
        border:1px solid var(--line); border-radius:8px; padding:7px 9px; background:#FCFEFD; }
      .app.dark .prnew input { background:var(--surface); }
      .prnewlink { border:0; background:transparent; padding:0; font:inherit; font-size:11.5px; font-weight:800;
        color:color-mix(in srgb, var(--primary-ink) 85%, var(--ink)); cursor:pointer; text-decoration:underline;
        text-underline-offset:2px; }
      .prseg { flex:0 0 auto; align-self:flex-end; }
      /* Two labels that do not share a line on a phone stack instead of
         shrinking to fit, because a legible pair of rows beats one row of
         squeezed text. */
      @media (max-width:560px){
        .prseg.wide { flex-wrap:wrap; }
        .prseg.wide .seg { flex:1 1 100%; }
      }
      .prseg .seg { flex:0 0 auto; padding:8px 14px; }
      .prseg.wide { display:inline-flex; margin-bottom:14px; flex-wrap:wrap; }
      .prlinewrap { margin-bottom:10px; }
      .prlinewrap .prline { margin-bottom:0; }
      /* One line that says whether there is anything to open, and opens it.
         Quiet until it has something to report, which is most of the time. */
      /* It was a grey hairline of a thing and people missed it. Now it is a
         control: the mint the app already uses for a lit row, primary-ink on
         it (4.12 at its worst, Amber light, already measured), and the same
         drifting mark the status pills carry so the eye is led into it. */
      /* The same neutral ground as the panel it opens, so closed and open are
         one object in two states rather than two objects. The ink stays green:
         --primary-ink on this grey measures 4.97 light and 9.79 dark. The
         border is what makes it read as a control on a white card. */
      .prscopebar { display:flex; align-items:center; gap:8px; width:100%;
        border:1px solid var(--line); background:#F6F7F4; font:inherit; font-size:12.5px; font-weight:700;
        color:var(--primary-ink); padding:8px 11px; border-radius:9px; cursor:pointer; text-align:left; }
      .app.dark .prscopebar { background:color-mix(in srgb, var(--ink) 4%, var(--surface)); border-color:var(--line); }
      .prscopebar:hover { border-color:var(--primary-ink); }
      .prscopechev { font-size:1.35em; line-height:0; flex:0 0 auto;
        animation:prnext 2.6s ease-in-out infinite; }
      .prscopebar.open .prscopechev { animation:none; font-size:1em; }
      @media (prefers-reduced-motion:reduce){ .prscopechev { animation:none; } }
      /* Sits on mint too, so it takes the ink that was measured against it
         rather than the faint grey it wore on the page background. */
      .prscopesays { margin-left:auto; font-weight:600; color:color-mix(in srgb, var(--primary-ink) 82%, var(--ink)); }
      /* Closed, the bar is a button and the wrapper is nothing. Open, the
         wrapper IS the panel: neutral ground, one border, and the bar becomes
         its header rather than a separate control above it. Neutral rather
         than mint, so the three-way switches inside are what the eye lands on
         instead of the frame around them. */
      .prscopewrap { margin-top:6px; }
      /* The tab straddles the top border, so the object above has to stand
         back far enough for it to land on a line of its own. */
      .prscopewrap.open { position:relative; border:1px solid var(--line); border-radius:12px;
        background:#F6F7F4; padding:20px 12px 8px; margin:20px 0 12px; }
      .app.dark .prscopewrap.open { background:color-mix(in srgb, var(--ink) 4%, var(--surface)); border-color:var(--line); }
      /* Zeroing the radius left the button's four borders in place, square
         this time, so opening the panel drew a box inside a box. The sides go
         and only the rule under the header stays. */
      .prscopewrap.open .prscopebar { background:transparent; margin:0 0 8px; padding:0 0 9px;
        border-radius:0; border-color:transparent; border-bottom-color:var(--line); }
      .app.dark .prscopewrap.open .prscopebar { border-bottom-color:#2C3A31; }
      .prscopewrap.open .prscopebar:hover { border-color:transparent; border-bottom-color:var(--line); }
      /* Same place and same pairing as the expense form's tab. */
      .prscopetab { position:absolute; top:-9px; left:14px; background:var(--primary-ink); color:var(--surface);
        font-size:10px; font-weight:800; letter-spacing:.5px; text-transform:uppercase;
        padding:3px 9px; border-radius:7px; max-width:calc(100% - 28px);
        overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .prscopebox { border:none; border-radius:0; padding:0; margin:0; background:transparent; }
      /* One track per answer, all the same width, however many there are.
         These words print into the contract, so they are a different kind of
         thing from the three-way switches above them: the rule and the room
         above it say so. */
      .svcfigs { display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 236px));
        justify-content:start; gap:12px; margin-top:16px; padding-top:15px; border-top:1px solid var(--line); }
      /* On a phone the ceiling would strand a column, so they share what
         there is instead. */
      @media (max-width:640px){
        .svcfigs { grid-template-columns:repeat(auto-fit, minmax(130px, 1fr)); }
      }
      .app.dark .svcfigs { border-top-color:#2C3A31; }
      .svcfigs > .field { width:auto; min-width:0; }
      .prscopefoot { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:10px 0 8px; }
      .prscopefoot .hint { flex:1 1 220px; }
      /* What this offer says differently. The mark is the edge rather than the
         text, so the words keep the ink they were measured with. */
      .svcoptrow.changed .seg .on { box-shadow:inset 0 0 0 1.5px var(--primary-ink); }
      .field input.inline.changed { border-color:var(--primary-ink); }
      .prline { display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap; margin-bottom:10px; }
      .prline > .field:first-child { flex:1 1 200px; min-width:0; }
      /* The remove control is not a field, so it does not get a field'''s empty
         label above it holding a line of space. It sits on the inputs''' baseline. */
      .prdrop { display:flex; align-items:center; height:38px; }
      /* On a desktop the row reads left to right and the mark sits at the end
         of the line it belongs to. On a phone the line is a grid and the mark
         ends up alone on a row of its own, where a bare x is a question. */
      .prdroplbl { display:none; }
      /* Holding a word is how a phone offers to select it, which is exactly
         what happens on a button whose whole point is being held. Both are
         needed: the callout alone leaves the selection behind. */
      /* The document preview reads as a page, not as a form field: the same
         line rhythm the PDF uses, on its own sheet. */
      /* The preview is the printed page, shown at the size a modal allows. */
      /* A palette reads as what it will look like, not as a name: the band with
         its ink, accent and tile colour sitting on it. */
      .docpals { display:flex; gap:10px; flex-wrap:wrap; }
      .docpal { display:flex; flex-direction:column; align-items:center; gap:5px; border:1px solid transparent;
        background:transparent; padding:6px; border-radius:11px; cursor:pointer; font:inherit;
        font-size:10.5px; font-weight:700; color:var(--dim); }
      .docpal:hover { border-color:var(--line); }
      .docpal.on { border-color:var(--primary); color:var(--ink); }
      .docpalbar { display:flex; align-items:center; justify-content:center; gap:4px;
        width:74px; height:34px; border-radius:8px; border:1px solid rgba(0,0,0,.10); }
      .docpalbar i { width:9px; height:9px; border-radius:3px; }
      /* Said in the card's own foot rather than as a badge: it is a fact about
         the date beside it, not a status of its own. */
      /* --amberline is the hairline colour, 2.0 on a card: fine for a border,
         unreadable as 11px text. 75% of --amber toward --ink measures 4.83 at
         its worst (Emerald light) and lightens in dark mode, so one rule serves
         both. */
      .prwait { display:inline-flex; align-items:center; gap:5px; font-weight:800;
        color:color-mix(in srgb, var(--amber) 75%, var(--ink)); }
      .prwait .traildot { background:currentColor; }
      .cellnote.prwait { margin-top:3px; font-size:11px; justify-content:center; }
      /* One row per thing that would change, so none of it happens unseen. */
      .acceptlist { display:flex; flex-direction:column; gap:2px; margin-top:12px; }
      .acceptrow { display:grid; grid-template-columns:auto 108px 1fr; align-items:start; gap:9px;
        padding:9px 10px; border-radius:9px; cursor:pointer; font-size:12.5px; }
      .acceptrow:hover { background:var(--mint); }
      .acceptrow input { margin-top:2px; }
      .acceptlabel { font-weight:800; color:var(--dim); }
      .acceptval { color:var(--ink); font-weight:700; white-space:pre-wrap; }
      .acceptrow.off .acceptlabel, .acceptrow.off .acceptval { color:var(--faint); font-weight:400; text-decoration:line-through; }
      /* One line each. The label is as wide as its words, the figure takes the
         rest and sits against the right edge, which is where a figure is read
         from. Only a long service name wraps, and then only its own line. */
      @media (max-width: 560px) {
        /* Not baseline: a checkbox's baseline is its bottom edge, so against
           text it sat a couple of pixels high and read as belonging to the
           line above. Centred on the row is where the eye expects it. */
        .acceptrow { display:flex; align-items:center; gap:9px; }
        .acceptrow input { margin-top:0; }
        .acceptlabel { flex:0 0 auto; }
        .acceptval { flex:1 1 auto; min-width:0; text-align:right; }
      }
      /* Two halves of one answer, side by side while there is room for them. */
      /* The catalogue. Cards rather than rows, because a service now carries a
         mark, a price and a state, and a row would flatten all three into text. */
      .tplcols { display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:start; }
      @media (max-width:1100px){ .tplcols { grid-template-columns:1fr; } }
      .svcgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(258px,1fr)); gap:12px; }
      .svccard { position:relative; background:var(--surface); border:1px solid var(--line); border-radius:15px; padding:14px;
        display:flex; flex-direction:column; gap:9px; cursor:pointer; text-align:left; }
      .svccard:hover { border-color:var(--primary); box-shadow:0 14px 30px -18px rgba(16,40,32,.3); }
      .svccard:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      .svccard.retired { opacity:.68; }
      /* Set aside. Not hidden and not retired: still there, still openable,
         just no longer the thing being looked at. The grey is the card's own
         colour drained rather than a new one, so nothing here is a colour that
         has to be measured. */
      .svccard.dimmed { filter:grayscale(1); opacity:.6; }
      .svccard.dimmed:hover { opacity:.85; }
      .svceye { margin-right:-4px; }
      .svceye.on { color:var(--primary-ink); }
      .svcfoot { display:flex; align-items:center; justify-content:space-between; gap:8px; }
      .svcfoot .svcuse { min-width:0; }
      /* The card ends with what to do next. Full width and under a rule,
         because the rest of the card is a description and this is the one
         thing on it that acts. */
      .svcoffer { width:100%; margin-top:2px; padding:9px 12px; border:1px solid var(--line);
        border-radius:11px; background:var(--bg); color:var(--ink); font:inherit; font-size:13px;
        font-weight:700; cursor:pointer; }
      .svcoffer:hover { border-color:var(--primary); background:var(--mint); color:var(--primary-ink); }
      .svcoffer:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      .svccard.dimmed .svcoffer { pointer-events:auto; }
      /* Sepet (K-646): Teklif et ile Sepete ekle yan yana, ayni boyda. Sepetteki kart temanin renginde. */
      .svcacts { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:2px; }
      .svcacts.stack { grid-template-columns:1fr; }
      /* Bolum basliginin yanindaki aciklama (K-652): buyuk harf ve vurgu rengi basligin, bu duz ve soluk. */
      /* Teklif penceresinde iki not yan yana (K-653), telefonda alt alta. */
      .prnotes2 { display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:start; }
      .prnotes2 > div { min-width:0; }
      .prnotes2 .cmnotes { width:100%; box-sizing:border-box; }
      @media (max-width:820px) { .prnotes2 { grid-template-columns:1fr; gap:4px; } }
      .cmsection .cmsechint { text-transform:none; letter-spacing:0; font-weight:500; color:var(--dim); font-size:12.5px; }
      .svcacts.noico .svccartico { display:none; }
      /* Sepetteki kartin dugmesi: ustune gelince "Cikart" ve kirmizi (K-657). Yazi ayni yerde degisiyor, genislik kayiyor. */
      .svccartrm { display:none; }
      @media (hover:hover) {
        .svcacts .svccart.on:hover { border-color:var(--red); background:color-mix(in srgb, var(--red) 10%, var(--surface)); color:var(--red); }
        .svcacts .svccart.on:hover .svccartlbl { display:none; }
        .svcacts .svccart.on:hover .svccartrm { display:inline; }
        .svcacts .svccart.on:hover .svccartico { display:none; }
      }
      /* Sepet dugmesi (K-657, Gider'in "+ Ekle"si gibi): tek cerceve; solda "Teklif olustur" ve sepet, ince bir
         ayiricidan sonra ok; ok kucuk bir menu aciyor (sepetteki hizmetler, "Sepeti bosalt"). */
      .svcbasketpill { display:inline-flex; align-items:stretch; border:1px solid var(--line); border-radius:var(--r-ctl);
        background:var(--surface); }
      .svcbasketpill:hover { border-color:var(--faint); }
      .svcbasketpill .svcbasketgo, .svcbasketpill .svcbasketcar { -webkit-appearance:none; appearance:none; border:0; background:none;
        font:inherit; color:var(--ink); cursor:pointer; margin:0; }
      .svcbasketpill .svcbasketgo { padding:5px 12px; font-size:12px; font-weight:600; border-radius:var(--r-ctl); }
      .svcbasketpill .svcbasketgo:disabled { opacity:.5; cursor:default; }
      .svcbasketpill .svcbasketcar { display:inline-grid; place-items:center; padding:0 10px 0 0; border-radius:0 var(--r-ctl) var(--r-ctl) 0; }
      .svcbasketpill .svcbasketcar .spbaddcar { border-left-color:var(--line); margin-right:0; }
      .svcbasketpill .svcbasketgo:focus-visible, .svcbasketpill .svcbasketcar:focus-visible { outline:2px solid var(--primary); outline-offset:1px; }
      .svcbasketmenu { min-width:210px; }
      .svcbasketlist { display:flex; flex-direction:column; gap:2px; padding:6px 12px 8px; margin-bottom:4px; border-bottom:1px solid var(--line);
        font-size:12.5px; font-weight:600; color:var(--dim); }
      .svcbasketmenu button.danger { color:var(--red); }
      .svcbasketmenu button.danger:hover { background:color-mix(in srgb, var(--red) 8%, var(--surface)); }
      @media (max-width:820px) {
        .svchdacts .svcbasketwrap { flex:1; }
        .svchdacts .svcbasketpill { flex:1; min-height:40px; }
        .svchdacts .svcbasketpill .svcbasketgo { flex:1; justify-content:center; font-size:13.5px; }
        .svchdacts .svcbasketpill .svcbasketcar { padding-right:14px; }
        .svcbasketmenu button { min-height:44px; }
      }
      .svcacts .svcoffer { margin-top:0; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; padding-left:8px; padding-right:8px; }
      .svccart { display:inline-flex; align-items:center; justify-content:center; gap:6px; }
      .svccartico { display:inline-flex; flex:none; width:16px; height:16px; }
      .svccartico svg { width:16px; height:16px; }
      .svccart.on { border-color:var(--primary); background:var(--mint); color:var(--primary-ink); }
      .svcbasket { display:inline-flex; align-items:center; gap:10px; margin-right:18px; }
      .svcbasketgo { display:inline-flex; align-items:center; gap:10px; overflow:visible; }
      .svcbasketico { position:relative; display:inline-flex; width:20px; height:20px; color:currentColor; }
      .svcbasketico svg { width:20px; height:20px; }
      .svcbasketn { position:absolute; top:-9px; right:-11px; min-width:19px; height:19px; padding:0 5px; border-radius:10px;
        background:var(--sel-bg); color:#fff; font-size:11.5px; font-weight:800; line-height:19px; text-align:center;
        animation:svcbump .32s cubic-bezier(.34,1.56,.64,1); }
      @keyframes svcbump { from { transform:scale(.4); } to { transform:scale(1); } }
      .svcbasketgo:disabled { opacity:.5; cursor:default; }
      @media (prefers-reduced-motion: reduce) { .svcbasketn { animation:none; } }
      @media (max-width:820px) {
        /* Telefonda baslik (kullanici, K-646): sepet ustte kendi satirinda, Siralamayi degistir ve + Yeni hizmet
           altinda yan yana, ikisi de tek satir. */
        .cardhd:has(.svchdacts) { flex-wrap:wrap; }
        .svchdacts { width:100%; display:grid !important; grid-template-columns:1fr 1fr; gap:8px; }
        .svchdacts > * { min-width:0; }
        .svchdacts .svcbasket { grid-column:1 / -1; margin-right:0; padding-top:4px; }
        .svchdacts .svcbasket .svcbasketgo { flex:1; justify-content:center; }
        .svchdacts .btn { min-height:40px; white-space:nowrap; justify-content:center; padding-left:8px; padding-right:8px; font-size:13.5px; }
        @media (max-width:360px) { .svchdacts .btn { font-size:12.5px; padding-left:6px; padding-right:6px; } }
      }

      /* Being arranged. The mark sits over the card at a sixth of full ink:
         enough to say "pick me up", not enough to read the card through. */
      /* While a card is in hand nothing on the page is selectable. Document
         wide rather than surface by surface, because the finger travels over
         everything between where it picked the card up and where it puts it
         down -- and because the next list to get a handle should not have to
         remember this. */
      html.lifting, html.lifting * {
        -webkit-user-select:none !important; user-select:none !important;
        -webkit-touch-callout:none !important; }
      .svccard.reorder { cursor:grab; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; }
      .svccard.reorder:active { cursor:grabbing; }
      /* Held, not ghosted. The card used to fade to 40% because that was the
         only way to say "this one is moving" when it could not move; now it
         moves, so it keeps its face and takes a shadow instead. No transition:
         the transform is set every frame and anything easing it would arrive
         behind the hand. */
      .svccard.dragging { box-shadow:0 18px 38px -14px rgba(16,40,32,.45); border-color:var(--primary); transition:none; }
      .svcmove { position:absolute; inset:0; display:grid; place-items:center; pointer-events:none; z-index:2; }
      /* The handle, not the card. A card-wide touch-action:none would stop the
         grid scrolling while it is being arranged, which is worse than having
         to aim: the mark was already centred and 60px, so the target was
         there, it simply was not listening. */
      .svcgrip { pointer-events:auto; touch-action:none; width:72px; height:72px; border-radius:50%;
        border:none; background:transparent; padding:0; display:grid; place-items:center; cursor:grab;
        -webkit-tap-highlight-color:transparent; }
      .svcgrip:active { cursor:grabbing; }
      .svcgrip:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      /* It was a hint at 16% when the whole card was draggable. It is the only
         way in now, so it has to be seen: the ring says "a control", and the
         mark inside it says which one. */
      .svcmove svg { width:48px; height:48px; color:var(--ink); opacity:.42; }
      .svcgrip { background:color-mix(in srgb, var(--ink) 7%, transparent); }
      .svcgrip:hover svg, .svcgrip:active svg { opacity:.62; }
      .app.dark .svcgrip { background:color-mix(in srgb, #fff 10%, transparent); }
      /* Once, and small. A phone says "these can be moved" with about half a
         degree; anything more reads as an error rather than an invitation. */
      @keyframes svcshiver { 0%,100% { transform:rotate(0deg); } 25% { transform:rotate(-.5deg); } 75% { transform:rotate(.5deg); } }
      .svccard.shiver { animation:svcshiver .22s ease-in-out 3; }
      @media (prefers-reduced-motion:reduce){ .svccard.shiver { animation:none; } }
      /* The outline button: nothing but the theme's own ink. --primary-ink
         rather than --primary for both the edge and the word, because --primary
         on a card measures 2.1 and an edge is a graphical object: --primary-ink
         measures 4.91 at its worst, which clears text as well as shapes. */
      .btn.outline { background:transparent; border-color:var(--primary-ink); color:var(--primary-ink); }
      .btn.outline:hover { background:var(--mint); border-color:var(--primary-ink); }
      .tnaside { margin-left:auto; font-size:11.5px; font-weight:600; color:var(--dim); white-space:nowrap; }
      .svchead { display:flex; align-items:center; gap:10px; min-width:0; }
      /* White, because avatarBg lowers its own lightness until white clears 4.5
         on it. Any other ink here would be unmeasured. */
      /* Square corners on purpose. A service logo arrives as the supplier drew
         it, and a radius here crops the corners of somebody else's mark. */
      .svclogo { border-radius:0; flex:0 0 auto; display:grid; place-items:center; overflow:hidden;
        font-weight:800; color:#fff; }
      .svclogo img { width:100%; height:100%; object-fit:contain; }
      .svcname { font-size:14px; font-weight:800; line-height:1.25; min-width:0; color:var(--ink); flex:1 1 auto; }
      .svchead .crkebab { margin-left:auto; margin-right:-4px; }
      .svctag { font-size:11.5px; color:var(--dim); line-height:1.55; }
      .svcprice { font-size:13.5px; font-weight:800; color:var(--ink); }
      .svcprice small { font-weight:600; color:var(--dim); font-size:11.5px; }
      .svcpills { display:flex; gap:6px; flex-wrap:wrap; margin-top:auto; padding-top:2px; }
      .scopepill.grey { background:var(--bg); color:var(--dim); }
      /* --dim, not --faint: this line says how much work the service has
         brought in, which is the point of the card, and --faint measures
         2.59 on it at its worst. --dim measures 5.48. */
      .svcuse { font-size:11px; color:var(--dim); }
      .svcdetach { display:flex; flex-direction:column; gap:2px; margin-top:12px; max-height:240px; overflow:auto; }
      .svcdetachrow { display:flex; align-items:center; gap:9px; padding:7px 8px; border-radius:9px; }
      .svcdetachrow:nth-child(odd) { background:var(--bg); }
      .svcdetachname { font-size:12.5px; font-weight:700; color:var(--ink); flex:1 1 auto; min-width:0; }
      /* The record: what it looks like on the left, what it says on the right. */
      .svcedit { display:grid; grid-template-columns:230px 1fr; gap:0; padding:0; }
      .svcside { border-right:1px solid var(--line); padding:16px; display:flex; flex-direction:column;
        align-items:stretch; gap:12px; }
      .svcside .svclogo { align-self:center; }
      /* A row, not a column: the mark, then what can be done to it. Centring
         the mark put a third alignment into a block that already had two. */
      /* The label sits close to the thing it names, and the mark starts where
         the first button starts: centring it against a stack of buttons left it
         floating between them. */
      .imgpick { display:flex; flex-direction:column; gap:5px; width:100%; min-width:0; }
      .imglbl { font-size:11px; font-weight:600; color:var(--dim); }
      .imgmedia { display:flex; align-items:flex-start; gap:12px; min-width:0; }
      .imgprev { border-radius:12px; border:1px solid var(--line); background:var(--surface);
        display:grid; place-items:center; overflow:hidden; flex:0 0 auto; }
      .imgprev.round { border-radius:50%; }
      .imgprev img { width:100%; height:100%; object-fit:cover; }
      /* The empty frame's icon is a graphical object and needs 3:1. --faint
         measures 2.59 on the card; 80% of --dim measures 3.58. */
      .imgempty { color:color-mix(in srgb, var(--dim) 80%, var(--surface)); display:grid; place-items:center; }
      .imgempty svg { width:24px; height:24px; }
      .imgbody { display:flex; flex-direction:column; gap:6px; min-width:0; flex:1 1 auto; }
      .imgacts { display:flex; gap:7px; flex-wrap:wrap; align-items:center; }
      /* Beside the preview the two marks stand one above the other and share a
         width, so they read as the two things you can do to this picture
         rather than as a row that happens to start next to it. Not in the bare
         variant, where there is no picture to stand beside. */
      .imgbody .imgacts { flex-direction:column; flex-wrap:nowrap; align-items:stretch; gap:6px;
        width:max-content; max-width:100%; }
      /* A list of decisions, each one a line: what it is on the left, what you
         chose on the right, and the same segmented control the rest of the app
         uses so a choice looks like a choice. */
      .svcopts { display:flex; flex-direction:column; gap:7px; padding-top:4px; }
      .svcoptrow { display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:0; }
      .svcoptname { font-size:12.5px; font-weight:600; color:var(--ink); min-width:0;
        display:flex; align-items:center; gap:4px; }
      /* Only on the options this workspace wrote, and only in the editor. */
      .optmarks { display:inline-flex; gap:1px; }
      .optmarks .iconbtn { padding:3px; }
      .optmarks .iconbtn svg { width:13px; height:13px; }
      .optadd { padding-top:11px; }
      .optform { position:relative; border:1px solid var(--line); border-radius:12px;
        background:#F6F7F4; padding:21px 13px 13px; margin:14px 0 4px; }
      .app.dark .optform { background:color-mix(in srgb, var(--ink) 4%, var(--surface)); border-color:var(--line); }
      .opttab { position:absolute; top:-9px; left:13px; background:var(--primary-ink); color:var(--surface);
        font-size:10px; font-weight:800; letter-spacing:.5px; text-transform:uppercase;
        padding:3px 9px; border-radius:7px; white-space:nowrap; }
      .optform .field { margin-bottom:11px; }
      .optform textarea { min-height:52px; }
      .optacts { display:flex; gap:9px; justify-content:flex-end; }
      /* The one word that says which of the two boxes you are looking at, so
         the eye lands on the difference rather than reading both labels. The
         semantic green and red rather than the palette's own ink: in Amber the
         accent is orange, and an orange "included" says nothing. Both deepened
         toward --ink the way the meter's fill is, because plain --green bottoms
         out at 2.85 and plain --red at 2.60. Measured on this panel's ground
         and on the card's white, five palettes and both modes: green at 70%
         floors at 4.95 and red at 65% at 4.81, both Amber dark. These are
         11px, so the bar is 4.5. */
      .optyes { color:color-mix(in srgb, var(--green) 70%, var(--ink)); }
      .optno { color:color-mix(in srgb, var(--red) 65%, var(--ink)); }
      .svcoptseg { flex:0 0 auto; }
      .svcoptseg .seg { font-size:10.5px; padding:5px 9px; }
      @media (max-width:640px){
        .svcoptrow { flex-direction:column; align-items:stretch; gap:5px; }
        .svcoptseg { width:100%; }
        .svcoptseg .seg { flex:1 1 0; text-align:center; }
      }
      .svcdesc { line-height:1.5; resize:vertical; }
      .svcmain { padding:16px; display:flex; flex-direction:column; gap:2px; min-width:0; }
      .svcmain .cmsection:first-child { margin-top:0; }
      @media (max-width:820px), (max-height:480px) and (orientation:landscape){ .svcedit { grid-template-columns:1fr; }
        .svcside { border-right:none; border-bottom:1px solid var(--line); } }
      .scopecols { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
      .scopecol { display:flex; flex-direction:column; gap:5px; min-width:0; }
      .scopecolhd { font-size:13px; font-weight:800; color:var(--ink); }
      @media (max-width: 760px) { .scopecols { grid-template-columns:1fr; } }
      .docframe { display:block; width:100%; height:56vh; margin-top:12px; border:1px solid var(--line);
        border-radius:10px; background:#fff; }
      .prline .tglrow { padding:0; flex:1 1 260px; }
      .mrauto { margin-right:auto; }
      /* Scopes: a list of services, each either carrying its wording or
         offering the fastest way to get some.
         --primary-ink measured 4.12 on --mint at its worst; 85% of it toward
         --ink measures 5.01 there and 5.53 on the sunk row. */
      .scopepill { display:inline-flex; align-items:center; gap:5px; font-size:10px; font-weight:800;
        letter-spacing:.06em; text-transform:uppercase; padding:4px 9px; border-radius:999px; white-space:nowrap; }
      .scopepill.on { background:var(--mint); color:color-mix(in srgb, var(--primary-ink) 85%, var(--ink)); }
      .scopepill.off { color:var(--dim); border:1px dashed var(--line); }
      /* Fiyati olmayan hizmet (kullanici, 2026-10-18): "Teklife hazir" ile ayni
         hap, turuncuya kacan kirmizida. Duz kucuk yazi gozden kaciyordu. Renk
         sabit bir turuncu-kirmizidan murekkebe dogru karistiriliyor: her
         palette ve iki modda okunsun diye (olculdu, 4.5'in ustunde). */
      .scopepill.noprice { background:color-mix(in srgb, #E8643A 16%, var(--surface));
        color:color-mix(in srgb, #C2410C 82%, var(--ink)); }
      .app.dark .scopepill.noprice { background:color-mix(in srgb, #E8643A 22%, var(--surface));
        color:color-mix(in srgb, #F08A5D 88%, var(--ink)); }
      .scopedot { width:6px; height:6px; border-radius:50%; background:currentColor; }
      /* The AI suggestion sits under the heading it fills rather than in a
         footer, and is dashed because it is an offer, not a field. */
      .scopeai { display:flex; align-items:center; gap:7px; text-align:left; text-decoration:none;
        border:1px dashed var(--line); background:var(--bg); border-radius:9px; padding:7px 10px;
        font-size:11.5px; font-weight:700; line-height:1.4;
        color:color-mix(in srgb, var(--primary-ink) 85%, var(--ink)); }
      .scopeai:hover { border-style:solid; border-color:var(--primary); background:var(--mint); }
      .scopeai .spark { flex:0 0 auto; font-size:12px; }
      /* THE TRAIL DOT.
         One pulsing dot, repeated at every step of the path to whatever wants
         attention: the sidebar item, then the tab inside it, then the card
         itself. Follow the dots and you arrive; when the thing is dealt with,
         every dot on the trail goes at once, because they all read the same
         condition. The backup reminder uses it and so do team requests. This
         is the NAME for the pattern, so it does not have to be described from
         scratch each time (see "trail dot" in GELISTIRME-GUNLUGU.md). */
      /* Nefes bir HALKA, golge degil (2026-10-22, telefon isiniyordu):
         box-shadow canlandirmak her karede yeniden boyatiyor, transform ve
         opacity boyatmiyor. Halka noktanin kendi rengini "inherit" ile
         aliyor, yani .due ve .prwait tonlari ayri kural istemiyor.
         position:relative tek sinifta, .navitem .traildot'un absolute'u
         (0,2,0) onu eziyor ve ikisi de halkanin dayanagi. */
      .traildot { position:relative; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--primary);
        margin-left:6px; flex:none; vertical-align:middle; }
      .traildot::after, .renewsentence .rdot::after, .closechip .rdot::after { content:""; position:absolute; inset:0;
        border-radius:50%; background:inherit; opacity:0; pointer-events:none;
        animation:ringpulse 2s ease-in-out infinite; }
      @keyframes ringpulse { 0%,100% { transform:scale(1); opacity:.55; } 50% { transform:scale(2.4); opacity:0; } }
      /* Gunun isi icin ayri bir ton. Tema rengi degil, cunku o renk "her sey
         yolunda"nin rengi ve bu bir hatirlatma; kirmizi da degil, cunku
         kirmizi bir hata demek, oysa bekleyen bir is hata degil. Koyu turuncu:
         dikkat cekiyor, telas yaratmiyor, ve iki temada da okunuyor. */
      /* Olculdu: #C2620B kendi zeminine karistirilan %10'luk tint uzerinde
         3,75 veriyordu, yani 13,5px bir baslik icin yetmiyor (4,5 gerekiyor).
         #A85108 ayni tint uzerinde 4,76, beyaz uzerinde 5,46. Koyu temada
         #E08A3C kart zemininde 6,89. */
      :root { --due:#A85108; }
      .app.dark { --due:#E08A3C; }
      .traildot.due { background:var(--due); }
      @media (prefers-reduced-motion:reduce){ .traildot::after { animation:none; } }
      /* Out of the line rather than at the end of it. As a flex child with
         margin-left:auto the dot took the width it needed off the label, and
         "Proposals & Contracts" wrapped to two rows the moment one arrived.
         Lifted to the corner it sits over the tail of the label instead, which
         is above the text rather than on it. */
      .navitem { position:relative; }
      .navitem .traildot { position:absolute; right:8px; top:5px; margin-left:0; }
      /* One line, whatever happens. A rail item that folds to two rows pushes
         every item under it down, which is a bigger change than a label losing
         its last word, so a label that still will not fit is cut rather than
         folded. (Only desktop has these: .navgroup is hidden on a phone.) */
      .navitem .lbl { min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      /* The tab and its one action, side by side on the same line. The tab
         keeps the whole row it always had; the plus takes the end of it. */
      .navrow { display:flex; align-items:center; gap:6px; }
      .navrow .navitem { flex:1 1 auto; min-width:0; }
      /* Is Takip Araclari'nin uc sekmesi (kullanici, 2026-11-08): satirin sonunda, uc ikon her zaman sigiyor.
         Sifirsa soluk; sayi yalnizca bugunse altin, gecikmis varsa kirmizi. */
      .navtimerow { gap:0; } .navtimerow .navitem { padding-right:0; }
      .navsubs { flex:0 0 auto; display:flex; gap:0; }
      .navsub { position:relative; width:18px; height:27px; padding:0; border:0; border-radius:8px; background:transparent; cursor:pointer;
        display:grid; place-items:center; color:var(--dim); opacity:.45; transition:opacity .15s, background .15s; }
      .navsub svg { width:17px; height:17px; }
      .navsub.has, .navsub.on { opacity:1; }
      .navsub.on { color:var(--primary-ink); }
      @media (hover:hover) { .navsub:hover { opacity:1; color:var(--primary-ink); } }
      /* Islemler ve Is Takip Araclari: secili ve uzerine gelinmis zemin satirin TAMAMINDA, + ve ikonlar dahil
         (kullanici, 2026-11-08). Zemin satirda, ic dugmede degil. */
      .navrow { border-radius:10px; padding-right:6px; } /* + ve ikonlar sag kenara yapismasin (kullanici, 2026-11-08) */
      .navrow > .navitem, .navrow > .navitem:hover, .navrow > .navitem.on { background:transparent; }
      .navrow:hover { background:var(--bg); }
      .navrow:hover > .navitem:not(.on) { color:var(--ink); }
      .navrow:has(> .navitem.on) { background:var(--mint); }
      .navsub:focus-visible { opacity:1; outline:2px solid var(--primary); outline-offset:1px; }
      .navsubn { position:absolute; top:2px; right:0; width:7px; height:7px; border-radius:50%; pointer-events:none;
        box-shadow:0 0 0 2px var(--surface); } /* yalnizca nokta, sayi ikonu kapatiyordu (kullanici, 2026-11-08) */
      .navsub.today .navsubn { background:#F2C230; color:#3A2C00; }
      .navsub.late .navsubn { background:var(--red); color:#fff; }
      /* It has to read as its own thing whether the row behind it is lit or
         not, so it takes the opposite ground to the row: mint on the plain
         sidebar, and the sidebar's own white once the row goes mint. Both
         pairings are ones --primary-ink was measured against (4.60 on mint,
         4.91 on the surface), so nothing new is introduced. */
      .navadd { flex:0 0 auto; width:27px; height:27px; border-radius:9px; cursor:pointer;
        border:1px solid transparent; background:var(--mint); color:var(--primary-ink);
        display:grid; place-items:center; padding:0;
        animation:navaddbeat 3s ease-in-out infinite; }
      .navadd svg { width:13px; height:13px; }
      .navitem.on + .navadd { background:var(--surface); border-color:var(--primary-ink); }
      /* Not white on --primary. That pairing measures 2.54 on Emerald and 2.96
         on Amber, so the mark disappeared under the pointer in light, and in
         dark --primary-ink is a pale green that white cannot sit on either.
         Hover therefore keeps the ink it already has and puts a ring around it:
         one state, both modes, and --primary-ink on --mint is already measured
         (4.12 at its worst, Amber light). */
      .navadd:hover { background:var(--mint); color:var(--primary-ink); border-color:var(--primary-ink); animation:none; }
      .navadd:active { transform:translateY(1px); animation:none; }
      /* A breath rather than a blink: it should catch the eye on the way past
         and never compete with the screen being read. */
      @keyframes navaddbeat { 0%, 72%, 100% { transform:scale(1); } 84% { transform:scale(1.11); } }
      @media (prefers-reduced-motion:reduce){ .navadd { animation:none; } }
      /* Ustune gelinince gorunen "+" (kullanici, 2026-11-09): satirin yerini tutuyor ki fare girince yazi kaymasin;
         gorunmezken tiklanmiyor. Klavyeyle satira gelince de gorunuyor. Atma animasyonu yalnizca Islemler'inkinde. */
      .navhoveradd .navadd { opacity:0; pointer-events:none; animation:none; transition:opacity .15s ease; }
      .navhoveradd:hover .navadd, .navhoveradd:focus-within .navadd { opacity:1; pointer-events:auto; }
      @media (hover:none) { .navhoveradd .navadd { display:none; } }
      /* toasts */
      /* Kirmizi (kullanici, 2026-10-20): koyulastirilmis amber "cirkin renk"
         bulundu. Ayni kirmizi kaydetme hatasinin seridi; beyaz yazi onun
         uzerinde zaten olculmus. Kapatmak "Anladim" ile, x ile degil: x
         telefonda kendi satirina dusup havada duruyordu. */
      .toast { position:fixed; bottom:78px; left:50%; transform:translateX(-50%); background:var(--inkfix); color:#fff; padding:9px 18px; border-radius:12px; font-size:12.5px; box-shadow:0 6px 20px rgba(0,0,0,.25); z-index:84; cursor:pointer; max-width:min(560px,92vw); }
      /* Fixed colours, like the undo bubble's bar, because the bubble's own
         ground is fixed: --primary would have to clear 3 against it in every
         palette and measures 2.94 in Violet light. White at 55% measures 5.90
         there and everywhere else, and the warning amber measures 8.39. */
      .toast { position:fixed; overflow:hidden; }
      .toastbar { position:absolute; left:0; right:0; bottom:0; height:3px; background:rgba(255,255,255,.55);
        transform-origin:left; animation-name:toastcount; animation-timing-function:linear; animation-fill-mode:forwards; }
      .toast.warn .toastbar { background:#E0B052; }
      @keyframes toastcount { from { transform:scaleX(1); } to { transform:scaleX(0); } }
      @media (prefers-reduced-motion:reduce){ .toastbar { animation:none; opacity:.5; } }
      /* The bubble sizes to its own text (max-content) so a short message never
         wraps onto a second line; the viewport cap is the only thing that can
         wrap it, and the message stays one line down to ~320px screens. */
      .undo { position:fixed; bottom:22px; left:50%; transform:translateX(-50%); background:var(--inkfix); color:#fff; padding:11px 16px 13px; border-radius:14px; box-shadow:0 10px 30px rgba(14,33,27,.3); z-index:82; display:flex; align-items:center; gap:14px; width:max-content; max-width:calc(100vw - 28px); overflow:hidden; animation:undofade 5000ms forwards; }
      .undo span { font-size:12.5px; }
      .undo button { background:transparent; border:none; color:#7FE6BA; font:inherit; font-weight:800; font-size:12.5px; cursor:pointer; padding:0; white-space:nowrap; }
      /* Countdown: the bar's right edge travels leftward as the time runs out,
         so how long is left to hit Revert is visible rather than guessed. The
         red is a literal because the bubble is dark in BOTH themes, so --red
         (tuned for the page background) would sit too dark on it. */
      .undobar { position:absolute; left:0; right:0; bottom:0; height:3px; background:#FF6B6B; transform-origin:left; animation:undocount 5000ms linear forwards; }
      @keyframes undofade { 0%{opacity:0; transform:translate(-50%,8px);} 6%{opacity:1; transform:translate(-50%,0);} 85%{opacity:1; transform:translate(-50%,0);} 100%{opacity:0; transform:translate(-50%,0);} }
      @keyframes undocount { from{transform:scaleX(1);} to{transform:scaleX(0);} }
      /* Phone: the full label costs ~85px and the roomy gap/padding another
         ~10, which together are the difference between one line and two for a
         typical "<client> — <service> deleted" message, so mobile drops to just
         "Revert" and tightens up. A genuinely long name still wraps — 375px
         can't hold it — but the everyday case now stays on one line. */
      @media (max-width:640px){
        .undolong { display:none; }
        .undo { gap:10px; padding:10px 13px 12px; max-width:calc(100vw - 20px); }
      }
      @media (prefers-reduced-motion:reduce){ .undo{ animation:none; } .undobar{ animation:none; } }
      .timingtoggle { font-size:11px; font-weight:600; white-space:nowrap; border:1px solid var(--line); background:var(--surface); border-radius:20px; padding:3px 10px; cursor:pointer; color:var(--dim); }
      .timingtoggle:hover { border-color:var(--primary); color:var(--primary); }
      .timingtoggle.before { background:var(--mint); color:var(--primary-ink); border-color:transparent; }
      /* login */
      .loginwrap {
        flex:1; display:flex; align-items:center; justify-content:center; min-height:100vh; padding:20px;
        background-color:#07201D;
        background-image:
          radial-gradient(circle at 18% 20%, rgba(18,185,129,.34), transparent 45%),
          radial-gradient(circle at 82% 8%, rgba(163,230,53,.22), transparent 50%),
          radial-gradient(circle at 50% 105%, rgba(14,124,100,.26), transparent 55%),
          linear-gradient(180deg, rgba(255,255,255,.05) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
          linear-gradient(160deg, #0C2C27 0%, #08211E 55%, #051512 100%);
        background-size: auto, auto, auto, 42px 42px, 42px 42px, auto;
      }
      .loginbox { width:min(400px,92vw); min-height:560px; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:26px 24px; display:flex; flex-direction:column; gap:14px; box-shadow:0 24px 70px rgba(20,10,0,.45), 0 0 0 1px rgba(163,230,53,.06); }
      .loginerr { color:var(--red); font-size:12.5px; font-weight:700; }
      /* ---------- landing page (signed-out marketing screen) ----------
         Everything structural is lp- prefixed: this renders inside .app, so
         short unprefixed names (.card, .pad, .split, .stack, .content…) are
         already taken globally. The mockup deliberately DOES borrow leaf
         classes (.card score hero, .pill, .stpill, .num) so it looks like the
         real product; .lp-mock{pointer-events:none} keeps those inert. */
      .lp-root { flex:1 1 auto; min-width:0; width:100%; display:flex; flex-direction:column;
        background-color:#07201D;
        background-image:
          radial-gradient(circle at 14% 16%, rgba(18,185,129,.30), transparent 46%),
          radial-gradient(circle at 86% 4%, rgba(163,230,53,.20), transparent 52%),
          radial-gradient(circle at 60% 92%, rgba(14,124,100,.22), transparent 55%),
          linear-gradient(180deg, rgba(255,255,255,.045) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
          linear-gradient(160deg, #0C2C27 0%, #08211E 55%, #051512 100%);
        background-size: auto, auto, auto, 42px 42px, 42px 42px, auto;
      }
      /* The dark ground is set on the .app wrapper as a flat colour too, not
         only via .lp-root's gradient. On iOS Safari a gradient on a tall
         child of a non-root scroller can fail to paint below the first
         viewport, and when it did, .app's own light var(--bg) showed
         through: the sections below the hero turned cream and their
         near-white headings became invisible. A flat colour underneath can't
         fail that way. (background-attachment:fixed was the trigger and is
         gone; this is the belt to that braces.) */
      .app.lp-app { background:#07201D; }
      .lp-hero { position:relative; min-height:100vh; min-height:100dvh; display:flex; align-items:center; padding:32px 24px; }
      .lp-hero-inner { position:relative; z-index:1; width:100%; max-width:1260px; margin:0 auto; display:grid; grid-template-columns:1fr minmax(356px,406px); column-gap:44px; row-gap:0; align-items:start; }
      .lp-copy { min-width:0; }
      .lp-hero-inner > .lp-top { grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:14px 24px; flex-wrap:wrap; padding:0 0 40px; }
      .lp-nav { display:flex; align-items:center; gap:6px 22px; flex-wrap:wrap; }
      /* Teklif sahnesindeki alt basligin vurgu bandi (kullanici, 2026-10-18):
         fareyle gelince soldan dolar, gidince saga dogru cekilir. Yazi rengi
         lime DEGIL: lime bandin ustunde kaybolurdu. */
      .lp-nav a { color:#D7E4DF; font-weight:700; font-size:14.5px; text-decoration:none; padding:6px 4px;
        background:linear-gradient(rgba(163,230,53,.42), rgba(163,230,53,.42)) no-repeat right bottom 5px / 0% 10px;
        transition:background-size .35s cubic-bezier(.4,0,.2,1), color .2s; }
      .lp-nav a:hover, .lp-nav a:focus-visible { color:#fff; background-position:left bottom 5px; background-size:100% 10px; }
      @media (prefers-reduced-motion:reduce) { .lp-nav a { transition:none; } }
      .lp-nav .lp-navcta { width:auto; flex:0 0 auto; padding:10px 18px; font-size:14px; }
      /* Dil menusu (kullanici, 2026-10-19). Menudeki baglantilar .lp-nav a'nin
         vurgu bandini almasin: iki sinifli secici. */
      .lp-lang { position:relative; }
      .lp-langbtn { -webkit-appearance:none; appearance:none; display:inline-flex; align-items:center; gap:6px; padding:7px 9px 7px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.04); color:#D7E4DF; cursor:pointer; font:inherit; }
      .lp-langbtn:hover, .lp-langbtn[aria-expanded="true"] { border-color:rgba(163,230,53,.6); color:#fff; }
      .lp-langbtn .langflag { width:21px; height:14px; }
      .lp-langcaret { width:12px; height:12px; transition:transform .2s; }
      .lp-langbtn[aria-expanded="true"] .lp-langcaret { transform:rotate(180deg); }
      .lp-langmenu { position:absolute; right:0; top:calc(100% + 8px); z-index:40; min-width:168px; padding:6px; border-radius:12px; background:#0E2E29; border:1px solid rgba(255,255,255,.14); box-shadow:0 14px 34px rgba(0,0,0,.45); display:flex; flex-direction:column; gap:2px; }
      .lp-nav .lp-langmenu a { display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:8px; background:none; font-size:14px; color:#D7E4DF; }
      .lp-nav .lp-langmenu a:hover, .lp-nav .lp-langmenu a:focus-visible { background:rgba(255,255,255,.08); color:#fff; }
      .lp-nav .lp-langmenu a.on { color:#fff; }
      .lp-langmenu .langflag { width:21px; height:14px; }
      .lp-langtick { width:16px; height:16px; margin-left:auto; color:#A3E635; }
      /* Wordmark'in viewBox'i harflerin murekkebine tam oturuyor ve svg
         varsayilan olarak kirpiyor: iPhone'da harflerin alt kenari kesik
         gorunuyordu (kullanici, 2026-10-14). Kenar pikselleri disari tassin. */
      .lp-brand .brandname svg { overflow:visible; }
      /* The landing brand is 1.55x the app's, so the strapline and the gap
         under the logotype scale with it rather than staying app-sized. */
      .lp-brand .brandsub { color:#8FA79F; font-size:14px; margin-top:4px; }
      /* Orange survives on this page only where it means money not yet in.
         The app's --amber is hue 43 -- goldenrod, not orange -- so the landing
         uses hue 25, which still clears 4.18 on a white card. */
      .lp-root { --lp-orange:#C2611E; }
      /* The Dashboard's hero two-column layout lives under .cards > .score.hero,
         and this card is not in a .cards grid, so it is restated here at mockup
         scale. The .herospark default is display:none for the same reason. */
      .lp-float-stat.card.score { display:flex; align-items:center; gap:10px; padding:13px 15px; }
      .lp-float-stat .scoremain { flex:1 1 auto; min-width:0; }
      .lp-float-stat .herospark { display:block; flex:0 0 138px; max-width:138px; cursor:default; }
      .lp-float-stat .scorelabel { font-size:10.5px; letter-spacing:.7px; }
      .lp-float-stat .scorelabel .info svg { width:11px; height:11px; }
      .lp-float-stat.card.score.hero .scoreval { font-size:24px; margin:3px 0 1px; gap:4px; }
      .lp-float-stat .eyebtn { width:20px; height:20px; }
      .lp-float-stat .eyebtn svg { width:13px; height:13px; }
      .lp-float-stat .scoredelta { margin:3px 0; padding:2px 7px; font-size:10px; }
      .lp-float-stat .scoredelta .dvs { font-size:9.5px; }
      .lp-float-stat .scoresub { font-size:10.5px; }
      .lp-float-stat .hscap { font-size:9px; }
      .lp-float-stat .hsval { font-size:11.5px; }
      /* The roster card's own row, at mockup scale. */
      .lp-mini-who { display:flex; align-items:center; gap:9px; min-width:0; }
      .lp-mini-who .cravatar.sm { width:26px; height:26px; font-size:9.5px; border-radius:7px; }
      .lp-mini-fee { display:flex; align-items:center; gap:5px; }
      .lp-mini-fee svg { width:12px; height:12px; color:var(--faint); flex:0 0 auto; }
      .lp-mini-fee b { font-family:'IBM Plex Mono',ui-monospace,monospace; font-weight:700; color:var(--ink); }
      .lp-mini-fee span { color:var(--dim); }
      /* Genis ekranda basligin sagindaki bosluga yayiliyor (kullanici,
         2026-10-14); 1120 ve altinda eski olcu, yoksa Ingilizce satir
         sutundan tasiyor. */
      .lp-h1 { margin:0 0 16px; font-size:clamp(30px,4vw,56px); line-height:1.14; font-weight:800; letter-spacing:-.5px; color:#F2F8F5; }
      .lp-h1 span { display:block; }
      /* Basligin ustundeki kitle satiri (kullanici, 2026-10-14), slider'in
         eyebrow'uyla ayni dilde. */
      .lp-eyebrow { margin:0 0 10px; font-size:13px; line-height:1.5; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#A3E635; }
      .lp-sub { margin:0 0 34px; font-size:15.5px; line-height:1.6; color:#9FB3AD; max-width:58ch; }
      /* decorative chart trails, behind the content */
      /* Stops just short of the sign-in card's left edge (the grid is centred,
         so a percentage tracks it well enough at every desktop width) — any
         further right and the arrowheads disappear behind the card, which
         reads as the lines mysteriously stopping halfway. */
      .lp-trails { position:absolute; z-index:0; left:26%; width:38%; bottom:0; height:min(56%,440px); pointer-events:none; }
      .lp-trail { fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
      .lp-trail-in { stroke:#12B981; opacity:.72; filter:drop-shadow(0 0 6px rgba(18,185,129,.45)); }
      .lp-trail-out { stroke:#C2611E; opacity:.62; }
      .lp-trail-lbl { font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:700; letter-spacing:.6px; }
      .lp-lbl-in { fill:#3FD6A0; }
      .lp-lbl-out { fill:#D98B4A; }
      .lp-cardcol { display:flex; justify-content:center; }
      .lp-cardslot { width:100%; display:flex; justify-content:center; }
      .lp-cardslot .loginbox { width:100%; max-width:423px; }
      /* mockup composition */
      .lp-mock { position:relative; pointer-events:none; user-select:none; height:432px; max-width:580px; }
      .lp-mock tbody tr:hover { outline:none; }
      .lp-mock tbody tr:last-child td { border-bottom:none; }
      .lp-mock .cellmain { font-size:12px; }
      .lp-mock .cellnote { font-size:10.5px; }
      .lp-mock td { padding:7px 10px; }
      .lp-mock th { padding:5px 10px; }
      .lp-phone { position:absolute; left:0; top:0; width:212px; height:432px; border-radius:26px; background:#0B0906; border:5px solid #123029;
        box-shadow:0 26px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(163,230,53,.16); overflow:hidden; }
      .lp-phone-notch { position:absolute; top:7px; left:50%; transform:translateX(-50%); width:62px; height:15px; border-radius:9px; background:#0B0906; z-index:2; }
      .lp-phone-screen { position:absolute; inset:0; background:var(--surface); border-radius:21px; padding:26px 0 0; overflow:hidden; }
      .lp-phone-hd { display:flex; align-items:center; justify-content:space-between; padding:6px 12px 8px; }
      .lp-phone-title { font-size:13px; font-weight:800; color:var(--ink); }
      .lp-rowpill { margin-top:3px; }
      .lp-float { position:absolute; }
      /* Sits just past the phone's right edge: any further left and it covers
         the gross figures, which are the point of the phone screen. */
      .lp-float-stat { left:200px; top:10px; width:304px; box-shadow:0 20px 44px rgba(0,0,0,.4); }
      /* Tucked under Received as the smaller, secondary figure rather than a
         second card of equal weight. */
      /* .card.score sets padding at .card.score specificity, so the mockup
         scale has to match it or it never lands -- this card was wearing the
         app's full 17/19 and reading a size too big for the composition. */
      .lp-float-pending { left:348px; top:102px; width:178px; box-shadow:0 18px 38px rgba(0,0,0,.38); }
      .lp-float-pending.card.score { padding:11px 13px; }
      .lp-float-pending .scorelabel { font-size:10px; }
      .lp-float-pending .scoreval { font-size:19px; margin:3px 0 1px; }
      .lp-float-pending .scoresub { font-size:10.5px; }
      .lp-float-clients { left:190px; top:280px; width:320px; padding:12px 14px; box-shadow:0 20px 44px rgba(0,0,0,.4); }
      .lp-mini-hd { font-size:10.5px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; color:var(--dim); margin-bottom:8px; }
      .lp-mini-row { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding:7px 0; border-top:1px solid var(--line); }
      .lp-mini-row:first-of-type { border-top:none; }
      .lp-mini-row .cellmain { font-size:12px; }
      .lp-mini-row .cellnote { font-size:10.5px; }
      /* sections below the fold */
      /* Planlar giris sayfasinda: kartlar ve altinda deste, tek sutun. Iki
         kart yan yana rahat okunsun diye 860px; deste tek kartlik bir sey,
         o yuzden daha dar ve ortada. */
      /* Destenin cikan karti ekranin sagina ucuyor; sayfa yatayda kayamasin
         diye kok kirpiyor (clip, hidden degil: hidden ic ice bir kaydirici
         yaratir). */
      .lp-root:has(.lp-pricing) { overflow-x:clip; }
      .lp-pricing { max-width:860px; margin:0 auto; width:100%; padding:8px 24px 72px; display:flex; flex-direction:column; gap:26px; }
      .lp-pricing-head { text-align:center; }
      .lp-pricing-head .lp-body { margin:6px auto 0; max-width:520px; }
      .lp-plans { gap:16px; }
      .pz-cap .pztrack span { background:color-mix(in srgb, var(--dim) 70%, var(--line)); }
      /* Ozellik slider'i (src/feature-slider.jsx). Giris sayfasi hep koyu
         yesil oldugu icin renkler sabit; mockup'lar uygulamanin ACIK temasini
         taklit ediyor. Hepsi .lpfs altinda ve lpfs- onekli: .card, .pill,
         .row uygulamada zaten var. */
      .lpfs { position:relative; overflow:hidden; padding:56px 0 48px; isolation:isolate; color:#F2F8F5; font-family:'Manrope',system-ui,sans-serif; }
      .lpfs::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.95;
        background:radial-gradient(60% 70% at 20% 30%, #0F3B33 0%, transparent 70%), radial-gradient(55% 50% at 80% 45%, #1C5A3A 0%, transparent 72%); }
      .lpfs-head { text-align:center; padding:0 20px; display:grid; gap:10px; margin-bottom:34px; }
      .lpfs-eyebrow { font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#A3E635; }
      /* Planlar basligi da ayni olcude (kullanici, 2026-10-14): sayfanin iki
         bolum basligi ayni h2, ayni yazi. .lp-h2 kartlarin kucuk basligi,
         o yuzden secici .lp-pricing-head ile daraltiliyor. */
      .lpfs-title, .lp-pricing-head .lp-h2 { margin:0; font-size:clamp(26px, 3.4vw, 38px); line-height:1.15; font-weight:800; letter-spacing:-.5px; text-wrap:balance; color:#F2F8F5; }
      .lpfs-sub { margin:0 auto; max-width:52ch; color:#9FB3AD; font-size:15px; line-height:1.6; }
      .lpfs-stage { position:relative; max-width:1180px; margin:0 auto; height:520px; }
      .lpfs-track { position:absolute; inset:0; touch-action:pan-y; }
      .lpfs-card { position:absolute; top:14px; left:50%; width:340px; height:492px; margin-left:-170px; border-radius:22px; padding:18px 18px 22px; overflow:hidden;
        display:grid; grid-template-rows:250px auto; gap:22px; align-content:start; background:rgba(255,255,255,.07); border:1px solid rgba(163,230,53,.16);
        transition:transform 520ms cubic-bezier(.22,.8,.24,1), opacity 520ms ease, background 520ms ease, box-shadow 520ms ease, top 520ms ease; cursor:pointer; }
      .lpfs-card.on { background:#FFFFFF; border-color:transparent; top:0; box-shadow:0 30px 70px rgba(0,0,0,.35); cursor:default; }
      .lpfs-txt { text-align:center; display:grid; gap:8px; padding:0 8px; }
      .lpfs-txt h3 { margin:0; font-size:23px; font-weight:800; letter-spacing:-.3px; color:#F2F8F5; transition:color 520ms; }
      .lpfs-txt p { margin:0; font-size:15px; line-height:1.55; color:#9FB3AD; transition:color 520ms; }
      .lpfs-card.on .lpfs-txt h3 { color:#0E211B; }
      .lpfs-card.on .lpfs-txt p { color:#3A4A44; }
      .lpfs-cta { justify-self:center; margin-top:8px; font:800 14.5px 'Manrope',system-ui,sans-serif; color:#0E211B; background:none; border:0; border-bottom:2px solid #12B981; border-radius:0; padding:0 0 3px; cursor:pointer; opacity:0; transition:opacity 300ms; pointer-events:none; }
      .lpfs-card.on .lpfs-cta { opacity:1; pointer-events:auto; }
      .lpfs-arrow:focus-visible, .lpfs-dot:focus-visible, .lpfs-cta:focus-visible { outline:2px solid #A3E635; outline-offset:3px; }
      /* Kartin ust bolumu nane yesili, kenara kadar; pencere sag ve altta beyaza
         karisarak biter (kullanici, 2026-11-11, secenek 3c); sagdaki tutar ve rozetler solmanin disinda kalsin diye pencerenin sag ic boslugu 44px (secenek A): eskiden kart + gri zemin
         + pencere sol ustte uc ic ice kose ciziyordu. */
      .lpfs-mock { position:relative; margin:-18px -18px 0; border-radius:0; background:linear-gradient(#DDF3E8 0, #DDF3E8 72%, #FFFFFF 100%); overflow:hidden; color:#0E211B; font-size:12.5px; }
      .lpfs-card:not(.on) .lpfs-mock { opacity:.55; filter:saturate(.6); }
      /* Ic bosluklar siki: ekip kartinin davet dugmesi ilk halinde 11px
         kirpiliyordu (olculdu), telefonda mock 236px'e inince daha fazla. */
      .lpfs-win { position:absolute; left:16px; top:16px; right:-14px; bottom:-14px; background:#FFFFFF; border:1px solid #E4EAE7; border-radius:14px; padding:12px 44px 12px 14px;
        -webkit-mask-image:linear-gradient(to right, #000 86%, transparent 100%), linear-gradient(to bottom, #000 70%, transparent 100%); -webkit-mask-composite:source-in;
        mask-image:linear-gradient(to right, #000 86%, transparent 100%), linear-gradient(to bottom, #000 70%, transparent 100%); mask-composite:intersect; }
      .lpfs-cursor { position:absolute; width:26px; height:26px; pointer-events:none; opacity:0; transition:opacity 300ms .25s; filter:drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
      .lpfs-card.on .lpfs-cursor { opacity:1; }
      .lpfs-hd { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; }
      .lpfs-lbl { font-size:10.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#5C6B66; }
      .lpfs-cum { font-size:9px; }
      .lpfs-big { font-family:'IBM Plex Mono',ui-monospace,monospace; font-weight:700; font-size:26px; letter-spacing:-.5px; color:#0F9F6E; }
      .lpfs-chart { display:block; margin-top:4px; }
      .lpfs-tiles { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:12px; }
      .lpfs-tile { border:1px solid #E4EAE7; border-radius:10px; padding:8px 10px; }
      /* Finansal skor karti (kullanici, 2026-11-11). */
      .lpfs-score { display:flex; align-items:center; gap:12px; margin-bottom:10px; }
      .lpfs-ring { width:56px; height:56px; flex:none; }
      .lpfs-ringv { font-family:'IBM Plex Mono',ui-monospace,monospace; font-size:19px; font-weight:700; fill:#0E211B; }
      .lpfs-scorew { margin-top:2px; font-size:17px; font-weight:800; color:#0F9F6E; }
      .lpfs-dims { display:grid; gap:7px; }
      .lpfs-dim { display:grid; grid-template-columns:minmax(0,1fr) 38%; align-items:center; gap:10px; font-size:11.5px; font-weight:600; color:#0E211B; }
      .lpfs-dim span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .lpfs-dim i { display:block; height:7px; border-radius:4px; background:#EDF2EF; overflow:hidden; }
      .lpfs-dim b { display:block; height:100%; border-radius:4px; }
      .lpfs-v { font-family:'IBM Plex Mono',ui-monospace,monospace; font-weight:700; font-size:14px; margin-top:2px; }
      .lpfs-mock .red { color:#D14343; } .lpfs-mock .amber { color:#B8860B; } .lpfs-mock .green { color:#0F9F6E; } .lpfs-mock .faint { color:#94A39D; }
      .lpfs-pill { display:inline-flex; white-space:nowrap; align-items:center; gap:5px; font-size:10.5px; font-weight:700; padding:3px 8px; border-radius:999px; }
      .lpfs-pill::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
      .lpfs-pill.paid { background:#E3F6EE; color:#0F9F6E; }
      .lpfs-pill.pend { background:#FBF1DA; color:#8C6A08; }
      .lpfs-row { display:grid; grid-template-columns:1fr auto auto; gap:10px; align-items:center; padding:7px 0; border-bottom:1px solid #E4EAE7; }
      .lpfs-row:last-child { border-bottom:0; }
      .lpfs-total { border-top:2px solid #0E211B; margin-top:4px; }
      .lpfs-amt { font-family:'IBM Plex Mono',ui-monospace,monospace; font-weight:700; }
      .lpfs-note { font-size:10.5px; color:#94A39D; margin-top:2px; }
      .lpfs-chip { font-size:10.5px; font-weight:700; padding:3px 8px; border-radius:999px; background:#D6F5E7; color:#0B7A55; }
      .lpfs-chip.gray { background:#EEF2F0; color:#5C6B66; }
      .lpfs-av { width:26px; height:26px; border-radius:50%; display:grid; place-items:center; font-size:11px; font-weight:800; color:#fff; flex:0 0 auto; }
      .lpfs-member { display:flex; align-items:center; gap:9px; padding:5px 0; border-bottom:1px solid #E4EAE7; font-weight:600; }
      .lpfs-member .r { margin-left:auto; }
      .lpfs-perm { display:grid; grid-template-columns:1fr auto; gap:4px 10px; margin-top:8px; font-size:11.5px; color:#5C6B66; align-items:center; }
      .lpfs-btnrow { margin-top:8px; }
      .lpfs-btn { font-size:12px; font-weight:800; color:#fff; background:#0B7A55; border-radius:10px; padding:8px 12px; display:inline-flex; gap:6px; align-items:center; }
      .lpfs-timer { display:flex; align-items:center; gap:10px; background:#0E211B; color:#fff; border-radius:12px; padding:10px 12px; }
      .lpfs-live { width:8px; height:8px; border-radius:50%; background:#A3E635; box-shadow:0 0 0 4px rgba(163,230,53,.25); flex:0 0 auto; }
      .lpfs-clk { font-family:'IBM Plex Mono',ui-monospace,monospace; font-weight:700; font-size:18px; }
      .lpfs-who { font-size:10.5px; color:#A9BDB6; line-height:1.3; }
      .lpfs-pz { margin-left:auto; width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,.12); display:grid; place-items:center; flex:0 0 auto; }
      .lpfs-tasks { margin-top:8px; }
      .lpfs-task { display:flex; align-items:center; gap:9px; padding:7px 0; border-bottom:1px solid #E4EAE7; }
      .lpfs-task:last-child { border-bottom:0; }
      .lpfs-box { width:16px; height:16px; border-radius:50%; border:2px solid #E4EAE7; flex:0 0 auto; display:grid; place-items:center; }
      .lpfs-box.done { background:#12B981; border-color:#12B981; }
      .lpfs-task.done span { color:#94A39D; text-decoration:line-through; }
      .lpfs-t { margin-left:auto; font-family:'IBM Plex Mono',ui-monospace,monospace; font-size:11px; color:#5C6B66; }
      .lpfs-task.done .lpfs-t { text-decoration:none; }
      .lpfs-prop { border:1px solid #E4EAE7; border-radius:12px; padding:10px 12px; display:grid; gap:4px; }
      .lpfs-ttl { font-weight:800; font-size:13.5px; }
      .lpfs-propamt { font-family:'IBM Plex Mono',ui-monospace,monospace; font-weight:700; font-size:20px; }
      .lpfs-step { display:flex; align-items:center; gap:6px; font-size:11px; color:#5C6B66; }
      .lpfs-step i { width:18px; height:18px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-size:10px; font-weight:800; background:#D6F5E7; color:#0B7A55; }
      .lpfs-step.next i { background:#EEF2F0; color:#94A39D; }
      .lpfs-controls { display:flex; justify-content:center; align-items:center; gap:14px; margin-top:18px; }
      .lpfs-arrow { position:absolute; top:50%; transform:translateY(-50%); width:54px; height:54px; border-radius:50%; border:0; padding:0; background:#FFFFFF; color:#0E211B; display:grid; place-items:center; cursor:pointer; box-shadow:0 8px 22px rgba(0,0,0,.25); z-index:20; }
      .lpfs-arrow.prev { left:24px; } .lpfs-arrow.next { right:24px; }
      .lpfs-dots { display:flex; gap:6px; }
      .lpfs-dot { width:8px; height:8px; min-height:0; border-radius:999px; border:0; padding:0; background:rgba(242,248,245,.28); cursor:pointer; transition:width 300ms, background 300ms; }
      .lpfs-dot[aria-current="true"] { width:22px; background:#A3E635; }
      @media (max-width:820px) {
        .lpfs { padding:36px 0 32px; }
        .lpfs-stage { height:500px; }
        .lpfs-title span { display:block; }
        .lpfs-card { width:min(320px, calc(100vw - 56px)); margin-left:calc(min(320px, calc(100vw - 56px)) / -2); height:480px; grid-template-rows:236px auto; }
        .lpfs-arrow { display:none; }
      }
      @media (prefers-reduced-motion: reduce) { .lpfs-card, .lpfs-txt h3, .lpfs-txt p { transition:none; } }
      .lp-h2 { margin:0 0 9px; font-size:17px; line-height:1.3; font-weight:800; color:#F2F8F5; }
      .lp-body { margin:0; font-size:13.5px; line-height:1.65; color:#9FB3AD; }
      .lp-footer { display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap;
        padding:20px 24px calc(62px + env(safe-area-inset-bottom)); font-size:12.5px; color:#7A918A;
        border-top:1px solid rgba(163,230,53,.12); }
      .lp-footer a { color:#A9BDB6; text-decoration:none; font-weight:700; }
      .lp-footer a:hover { color:#A3E635; text-decoration:underline; }
      .lp-footsep { color:#3E5852; }
      .lp-legal { flex-basis:100%; display:flex; justify-content:center; flex-wrap:wrap; gap:4px 18px; margin-top:4px; }
      .lp-legal button { font:inherit; font-size:12px; font-weight:600; color:#7F968F; background:none; border:0; padding:4px 0; cursor:pointer; }
      .lp-legal button:hover { color:#A3E635; text-decoration:underline; }
      /* boot splash (returning visitors only, while auth/workspace loads) */
      .lp-splash { flex:1 1 auto; min-height:100vh; min-height:100dvh; display:flex; flex-direction:column;
        align-items:center; justify-content:center; gap:13px; background:#07201D; }
      .lp-splash-name { display:flex; }
      .lp-splash-bar { width:132px; height:3px; border-radius:3px; background:rgba(163,230,53,.16); overflow:hidden; }
      .lp-splash-bar span { display:block; width:38%; height:100%; border-radius:3px; background:#A3E635; animation:lpsplash 1.1s ease-in-out infinite; }
      @keyframes lpsplash { 0% { transform:translateX(-110%); } 100% { transform:translateX(370%); } }
      @media (prefers-reduced-motion:reduce) { .lp-splash-bar span { animation:none; width:100%; } }
      /* The mockup's pieces are absolutely positioned out to ~514px, so on a
         narrow desktop they'd spill past the copy column. Scale the whole
         composition down instead of letting it overlap the sign-in card. */
      @media (max-width:1120px) {
        .lp-hero-inner { column-gap:36px; }
        .lp-h1 { font-size:clamp(30px,3.6vw,46px); }
        .lp-mock { transform:scale(.88); transform-origin:left center; }
      }
      @media (max-width:980px) {
        .lp-hero-inner { column-gap:28px; }
        .lp-mock { transform:scale(.74); transform-origin:left center; }
        .lp-trails { display:none; }
      }
      @media (max-width:820px), (max-height:480px) and (orientation:landscape) {
        /* A phone mockup on a phone is redundant and heavy — drop it and let
           the copy and the card carry the screen. Stack order is
           brand > headline > card > sections. */
        .lp-mock, .lp-trails { display:none; }
        /* The mobile block hides .brandtext globally (it's for the sidebar
           collapsing into a top bar). On the landing the product name is the
           whole point of the lockup, so put it back. */
        .lp-brand .brandtext { display:block; }
        /* The .lp-copy prefix is load-bearing: the mobile block's own
           ".brand { padding:0 6px 0 2px }" has equal specificity and comes
           later in the sheet, so a bare ".lp-brand" rule loses to it and the
           lockup ends up flush against the headline. */
        .lp-hero-inner > .lp-top { padding:0 0 14px; order:-2; }
        /* Telefonda menu iki satir (kullanici, 2026-10-19: "mobil menu
           patlak", Ucretsiz basla tek basina alt satira dusuyordu). Ustte
           logo, sagda SSS ve dil; altta Planlar, Neler var? ve sagda
           Ucretsiz basla. Nav "display:contents", yani cocuklari bu izgaranin
           hucreleri; 1fr sutun bosluk, CTA onu da kapsayip saga yaslaniyor. */
        .lp-hero-inner > .lp-top { display:grid; grid-template-columns:auto auto 1fr auto auto; align-items:center; gap:12px 14px; }
        .lp-top .lp-brand { grid-column:1 / 4; grid-row:1; min-width:0; }
        /* Logo telefonda biraz kucuk: SSS ve bayrak ayni satira sigsin,
           alt yazi da tek satir kalsin (375'te olculdu). */
        .lp-top .lp-brand .brandmark { width:46px; height:46px; }
        .lp-top .lp-brand .brandname svg { height:20px; width:auto; }
        .lp-top .lp-brand .brandsub { font-size:11.5px; white-space:nowrap; margin-top:2px; }
        .lp-nav { display:contents; }
        .lp-nav .lp-nav-faq { grid-column:4; grid-row:1; }
        .lp-nav .lp-lang { grid-column:5; grid-row:1; }
        .lp-nav .lp-nav-plans { grid-column:1; grid-row:2; }
        .lp-nav .lp-nav-inside { grid-column:2; grid-row:2; }
        .lp-nav > a { white-space:nowrap; }
        .lp-nav .lp-navcta { grid-column:3 / 6; grid-row:2; justify-self:end; padding:8px 14px; }
        /* Telefonda satir sonlari zorunlu degil (kullanici, 2026-10-14):
           metin genislige gore akiyor ve daha buyuk. */
        .lp-h1 { font-size:32px; text-wrap:balance; }
        .lp-eyebrow { font-size:10.5px; }
        .lp-h1 span { display:inline; }
        .lp-hero { min-height:0; padding:26px 16px 30px; }
        .lp-hero-inner { grid-template-columns:1fr; gap:22px; }
        /* On a phone the copy column comes first, which puts the sign-up card
           below a full screen of pitch. Someone holding a working invite came
           to fill that card in, so it moves to the top for them -- and only
           for them, which is why the class is set from the RESOLVED invite
           rather than from the URL. */
        .lp-invite .lp-cardcol { order:-1; }
        .lp-h1 { max-width:none; }
        .lp-sub { margin-bottom:6px; max-width:none; }
        .lp-cardslot .loginbox { max-width:none; min-height:0; }
        .lp-pricing { padding:0 16px 40px; gap:20px; }
      }
      /* explainer copy + numbered setup steps (Setup cards a new user meets cold) */
      /* No max-width: inside a card this copy should fill the card the way
         the rest of the card's content does, and inside a modal the modal
         already bounds it. */
      .setupintro { margin:0 0 10px; color:var(--dim); font-size:13px; line-height:1.65; }
      .setupintro b { color:var(--ink); }
      .optionalpill { font-size:11px; font-weight:800; letter-spacing:.3px; text-transform:uppercase; color:var(--dim); background:var(--bg); border:1px solid var(--line); border-radius:20px; padding:3px 9px; }
      .setupsteps-hd { font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.4px; color:var(--dim); margin:14px 0 6px; }
      .setupsteps { margin:0; padding-left:20px; color:var(--dim); font-size:13px; line-height:1.75; }
      .setupsteps li { margin-bottom:5px; }
      .setupsteps b { color:var(--ink); }
      .setupsteps code, .setupintro code { font-family:'IBM Plex Mono',monospace; font-size:11.5px; background:var(--bg); border:1px solid var(--line); border-radius:5px; padding:1px 5px; color:var(--ink); white-space:nowrap; }
      /* Tax & Invoicing profile switcher — bigger than a plain segrow so it
         doesn't read as decoration; the count says how many clients sit on it. */
      .taxprofrow .seg { padding:11px 16px; font-size:13.5px; }
      /* With all three profiles in use, "Dogrudan hesaba" wrapped on a phone
         and every button grew to 77px (kullanici, 2026-10-20). One line each,
         the count beside the name, and the width follows the label. */
      @media (max-width:640px){
        .taxprofrow .seg { flex:1 1 auto; min-width:0; display:inline-flex; align-items:center; justify-content:center; gap:5px; padding:9px 8px; font-size:12.5px; white-space:nowrap; }
        .taxprofrow .seg .segcount { margin-left:0; }
      }
      .segcount { display:inline-block; margin-left:6px; padding:1px 7px; border-radius:20px; font-size:11px; font-weight:800; background:var(--bg); color:var(--dim); }
      .taxprofrow .seg.on .segcount { background:var(--mint); color:var(--primary-ink); }
      /* first-run empty state (Clients with nothing in it yet) */
      .healthlink { display:inline-flex; align-items:center; gap:6px; margin-top:8px; padding:0;
        border:none; background:none; font:inherit; font-size:12.5px; font-weight:700;
        color:var(--primary-ink); cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
      .healthlink:hover { color:var(--ink); }
      /* Narrow and small: it trails the sentence rather than competing with it. */
      .healthlinkarrow { display:inline-flex; width:11px; height:11px; flex:0 0 auto; }
      .healthlinkarrow svg { width:11px; height:11px; stroke-width:2.6; }
      .healthdetails { margin:8px 0 0; padding:0 0 0 16px; display:flex; flex-direction:column; gap:3px; }
      .healthdetails li { font-size:12.5px; line-height:1.5; color:var(--dim); }
      /* The "paid" stamp answers the Amount column: unpaid, that cell holds the
         figure waiting to be confirmed; paid, it should hold the date it was
         settled. On a wide screen there is room for it beside the bill's name,
         but on a phone the name column is the narrowest thing on screen and the
         stamp pushed it into three lines. Rendered in both cells, one shown per
         width: a table cell cannot be moved across columns by CSS alone. */
      @media (max-width:820px), (max-height:480px) and (orientation:landscape){
      }
      /* Client leaderboard -- one card per client on a sideways rail. */
      .lbnav { width:30px; height:30px; border-radius:9px; border:1px solid var(--line); background:var(--surface);
        color:var(--dim); cursor:pointer; display:inline-flex; align-items:center; justify-content:center; padding:0; }
      .lbnav svg { width:15px; height:15px; }
      .lbnav:hover { color:var(--ink); border-color:var(--dim); }
      .lbnavr svg { transform:rotate(180deg); }
      /* scroll-padding, not just padding: a snap point is measured from the
         scrollport, which ignores padding, so the first card snapped flush to
         the card edge and ate the 14px. Measured: scrollLeft sat at exactly 14. */
      .lbrail { display:flex; gap:12px; overflow-x:auto; padding:4px 14px 14px;
        scroll-snap-type:x proximity; scroll-padding-inline:14px; }
      .lbcard { scroll-snap-align:start; flex:0 0 232px; display:flex; flex-direction:column; gap:10px;
        border:1px solid var(--line); border-radius:16px; padding:14px; background:var(--surface); }
      .lbcard.on { border-color:var(--primary); box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
      .lbcard.nil { opacity:.62; }
      .lbtop { display:flex; align-items:center; justify-content:space-between; gap:8px; }
      /* The numeral IS the medal: large, tabular, in the metal's own colour. */
      .lbmedal { width:34px; height:34px; border-radius:50%; display:grid; place-items:center;
        font-size:17px; font-weight:800; font-variant-numeric:tabular-nums; letter-spacing:-.02em; }
      .lbrank { font-size:13px; font-weight:700; color:var(--faint); font-variant-numeric:tabular-nums; }
      .lbname { font-size:15px; font-weight:700; line-height:1.25; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .lbstatus { margin-top:-4px; }
      .lbsharetop { display:flex; align-items:baseline; gap:6px; }
      .lbsharetop b { font-size:21px; font-weight:800; }
      .lbsharetop span { font-size:11px; color:var(--dim); }
      .lbbar { display:block; height:6px; border-radius:3px; background:var(--bg); overflow:hidden; margin-top:5px; }
      .lbbar i { display:block; height:100%; background:var(--primary); border-radius:3px; }
      .lbfigs { display:grid; grid-template-columns:1fr 1fr; gap:8px 10px; }
      .lbfig { display:flex; flex-direction:column; gap:1px; min-width:0; }
      .lbfig span { font-size:10px; color:var(--dim); text-transform:uppercase; letter-spacing:.4px; }
      .lbfig b { font-size:13px; font-weight:700; }
      .lbspark { margin-top:auto; }
      .lbspark svg { width:100%; height:34px; }
      .emptyfirst { display:flex; flex-direction:column; align-items:center; text-align:center; gap:12px; padding:64px 24px 72px; }
      .emptyfirst h2 { margin:0; font-size:20px; }
      .emptyfirst p { margin:0; max-width:430px; color:var(--dim); font-size:13.5px; line-height:1.6; }
      /* An outlined pill rather than a filled one: this is the line a member
         reads in place of the button staff get, so it takes the button's shape
         without pretending to be pressable. */
      .askpill { display:inline-block; padding:8px 18px; border:1px solid var(--line);
        border-radius:20px; font-size:12.5px; font-weight:600; color:var(--dim); }
      .emptyfirsticon { width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center; background:var(--mint); color:var(--primary-ink); margin-bottom:2px; }
      .emptyfirsticon svg { width:26px; height:26px; }
      .bigglow { margin-top:8px; font-family:inherit; font-size:15px; font-weight:800; color:#fff; background:var(--primary); border:none; border-radius:13px; padding:14px 28px; cursor:pointer; animation:glowpulse 2.6s ease-in-out infinite; transition:transform .12s ease; }
      .bigglow:hover { transform:translateY(-1px); }
      .bigglow:active { transform:translateY(0); }
      @keyframes glowpulse {
        0%,100% { box-shadow:0 0 0 0 rgba(18,185,129,.42), 0 6px 18px rgba(18,185,129,.28); }
        50%     { box-shadow:0 0 0 12px rgba(18,185,129,0), 0 6px 22px rgba(18,185,129,.36); }
      }
      @media (prefers-reduced-motion:reduce) { .bigglow { animation:none; box-shadow:0 6px 18px rgba(18,185,129,.3); } }
      .userphoto { width:24px; height:24px; border-radius:50%; object-fit:cover; flex-shrink:0; }
      /* money input ₺ prefix */
      .moneywrap { position:relative; display:block; width:100%; }
      .moneywrap.inline { display:block; }
      .moneywrap .tlsign { position:absolute; left:9px; top:50%; transform:translateY(-50%); color:var(--faint); font-size:12.5px; pointer-events:none; font-family:'IBM Plex Mono',monospace; z-index:1; }
      .moneywrap input { padding-left:20px !important; }
      .confirmbox .moneywrap { width:118px; flex:0 0 auto; }
      /* profile */
      .profhead { display:flex; align-items:center; gap:14px; }
      .profhead .imgpick.bare { margin-top:9px; }
      .profwho { min-width:0; }
      /* Larger than it was: it is the photograph AND the thing the upload
         controls beside it act on. */
      .profphoto { width:84px; height:84px; border-radius:50%; object-fit:cover; flex-shrink:0; }
      .profphoto.ph { display:flex; align-items:center; justify-content:center; background:var(--mint); color:var(--primary-ink); font-weight:800; font-size:22px; }
      .profname { font-size:17px; font-weight:800; color:var(--ink); }
      .profnick { color:var(--dim); font-weight:600; font-size:13px; margin-left:7px; }
      /* On a phone the block is read at arm's length and the face is the point
         of it, so it grows; the nickname in quotes beside the name goes, since
         the field that sets it is four lines below and says so itself; and the
         handle and the address take a line each instead of sharing one with a
         dot between them. */
      @media (max-width:820px) {
        .profphoto { width:112px; height:112px; }
        .profphoto.ph { font-size:30px; }
        .profnick { display:none; }
        .profmeta span { display:block; }
        /* .profmeta .profsep, not .profsep: the rule above is (0,1,1) and a
           bare class is (0,1,0), so the dot stayed on its own line. */
        .profmeta .profsep { display:none; }
      }
      .userdot { width:24px; height:24px; border-radius:50%; background:var(--mint); color:var(--primary-ink); display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; flex-shrink:0; }
      .modetoggle { display:flex; gap:2px; margin-top:6px; background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:3px; max-width:100%; }
      .modebtn { flex:1; min-width:0; display:flex; align-items:center; justify-content:center; gap:4px; border:none; background:transparent; font:inherit; font-size:11px; font-weight:700; color:var(--dim); padding:6px 3px; border-radius:7px; cursor:pointer; white-space:nowrap; }
      .modebtn svg { width:14px; height:14px; flex:0 0 auto; }
      .modebtn.on { background:var(--surface); color:var(--primary-ink); box-shadow:0 1px 3px rgba(0,0,0,.12); }
      .modewide { max-width:320px; }
      .langflag { width:18px; height:12px; flex:0 0 auto; border-radius:2px; overflow:hidden; display:inline-flex; box-shadow:0 0 0 1px rgba(0,0,0,.08); }
      .langflag svg { width:100%; height:100%; display:block; }
      .langtoggle .modebtn { gap:7px; }
      .swatches { display:flex; gap:10px; flex-wrap:wrap; }
      .swatch { display:flex; flex-direction:column; align-items:center; gap:3px; border:none; background:transparent; cursor:pointer; font:inherit; font-size:10px; color:var(--dim); font-weight:600; }
      .swatchdot { width:22px; height:22px; border-radius:50%; border:2px solid var(--line); position:relative;
        --swp:var(--swpl, var(--swa)); background:var(--swa); background:linear-gradient(135deg, var(--swa) 42%, var(--swp) 100%); }
      .app.dark .swatchdot { --swp:var(--swpd, var(--swa)); }
      /* Neredeyse siyah daire (Gece yarisi) koyu zeminde kayboluyordu: ince acik bir ic kenar. */
      .swatchdot.edge { box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.4); }
      .swatch.on .swatchdot.edge { box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.4), 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
      .swgroups { display:flex; flex-direction:column; gap:14px; }
      .swnight { display:flex; flex-direction:column; gap:8px; }
      .swnighthd { display:flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700; color:var(--dim); }
      .swnighthd > svg { width:13px; height:13px; flex:0 0 auto; }
      /* Mikro metnin yildizi: Info'nun (i) yerine "*", temanin pop renginde, tiklanan alan genis. */
      .info.mcstar { display:inline-grid; place-items:center; width:auto; height:auto; min-width:0; padding:0; margin:0 0 0 1px;
        font-size:14px; font-weight:800; line-height:1; color:var(--pop, var(--primary)); cursor:help; vertical-align:super; position:relative; }
      .info.mcstar::before { content:""; position:absolute; inset:-8px -6px; }
      .info.mcstar:hover, .info.mcstar:focus { color:var(--pop, var(--primary)); filter:brightness(1.15); }
      .swatchmoon { position:absolute; right:-7px; top:-7px; width:14px; height:14px; border-radius:50%; background:var(--surface);
        color:var(--ink); display:grid; place-items:center; box-shadow:0 0 0 1px var(--line); z-index:1; }
      .swatchmoon svg { width:9px; height:9px; }
      .swatch.on .swatchdot { border-color:var(--ink); box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
      .swatch.on { color:var(--ink); }
      /* Telefonda yan dolgu 2px. Renkler 2026-11-02'den beri iki grupta (en fazla dort), yani
         eskisi gibi alti rengi tek satira sigdirmak icin space-between gerekmiyor. */
      @media (max-width:820px) {
        .swatches { flex-wrap:wrap; justify-content:flex-start; gap:12px; }
        .swatch { flex:0 1 auto; min-width:0; padding-left:2px; padding-right:2px; }
      }
      /* trip 3-dot menu */
      .miniMenu { position:absolute; top:calc(100% + 6px); right:0; z-index:70; background:var(--surface); border:1px solid var(--line); border-radius:10px; box-shadow:0 10px 30px rgba(14,33,27,.16); padding:5px; min-width:130px; display:flex; flex-direction:column; }
      .miniMenu button { border:none; background:transparent; font:inherit; font-size:12.5px; font-weight:600; padding:8px 10px; border-radius:7px; cursor:pointer; text-align:left; color:var(--ink); }
      .miniMenu button:hover { background:var(--bg); }
      .miniMenu button.dngr { color:var(--red); }
      .miniMenu button.dngr:hover { background:#FBE0E0; }
      /* document links */
      .doclink { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--line); background:var(--surface); border-radius:8px; padding:4px 8px; font-size:12px; }
      /* Business Partners tab — tall roster rows */
      /* One column template shared by the header and every partner row, and a
         second one shared by the header's inner labels and each source line, so
         Client / Service / Forward type / Payments stay under their headings
         without needing subgrid. */
      .bplist { display:flex; flex-direction:column; --bpcols:minmax(210px,1.3fr) minmax(280px,2fr) 130px 72px; --bpsrccols:minmax(0,1.1fr) minmax(0,1.3fr) 108px 92px; }
      .bphead { display:grid; grid-template-columns:var(--bpcols); gap:16px; align-items:end; padding:2px 14px 8px; border-bottom:1px solid var(--line); font-size:10.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); }
      .bprow { display:grid; grid-template-columns:var(--bpcols); gap:16px; align-items:center; padding:16px 14px; border-bottom:1px solid var(--line); min-height:98px; cursor:pointer; }
      .bprow:hover { background:var(--bg); }
      .bprow:focus-visible { outline:2px solid var(--primary); outline-offset:-2px; }
      .bprow:last-child { border-bottom:none; }
      .bpmain { display:flex; align-items:flex-start; gap:11px; min-width:0; }
      .bpava { width:38px; height:38px; border-radius:11px; color:#fff; font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center; flex:none; }
      .bpname { font-weight:700; font-size:14.5px; color:var(--ink); }
      .bpcontact { font-size:12px; color:var(--dim); margin-top:2px; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
      .bptag { font-size:10.5px; font-weight:700; color:var(--primary-ink); background:var(--mint); border-radius:20px; padding:2px 8px; }
      .bpnotes { font-size:11.5px; color:var(--faint); margin-top:4px; white-space:pre-wrap; }
      .bpsrc { min-width:0; }
      .bpsrcrow { display:grid; grid-template-columns:var(--bpsrccols); gap:10px; align-items:center; font-size:12px; padding:2px 0; }
      .bphead .bpsrchead { font:inherit; color:inherit; padding:0; }
      .bpsrccli { font-weight:600; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .bpsrcsvc { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .bpsrcamt { text-align:right; color:var(--ink); }
      /* Repeat count for the same client + service, so the name is written once */
      .bpx { font-size:10.5px; font-weight:800; color:var(--dim); margin-left:5px; }
      /* Forward terms as a quiet outline pill: Forward ALL, Partly 60%, or a
         direct expense, which has no client forward behind it at all. */
      .bpfwd { display:inline-block; font-size:10.5px; font-weight:700; padding:2px 7px; border-radius:20px; border:1px solid var(--line); color:var(--dim); white-space:nowrap; }
      .bpfwd.all { border-color:color-mix(in srgb, var(--primary) 45%, transparent); color:var(--primary-ink); }
      .bpfwd.split { border-color:var(--amberline); color:var(--amber); }
      .bpmore { font-size:11.5px; color:var(--faint); margin-top:3px; }
      .bptrend { display:flex; align-items:center; gap:8px; margin-top:7px; padding-top:7px; border-top:1px dashed var(--line); }
      .bptrendcap { font-size:10px; text-transform:uppercase; letter-spacing:.05em; color:var(--faint); font-weight:700; }
      .bptotal { text-align:right; }
      .bptval { font-size:15px; }
      .bpacts { display:flex; gap:4px; justify-content:flex-end; }
      /* Partner drawer: the clients that route money here, each with its terms.
         The 18px bottom margin matches .cdchips/.cdcontact/.cdprofile so every
         block sits the same distance from the next section heading. */
      .cdlinked { display:flex; flex-direction:column; gap:6px; margin-bottom:18px; }
      .cdlink { display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid var(--line); border-radius:10px; padding:8px 11px; }
      .cdlinkname { font-size:13px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      /* A button, but it has to sit on the row exactly where the plain name
         did -- so it gives up every default a button brings and takes the
         underline only on hover, the way the rest of the app's text links do. */
      .cdlinkgo { border:none; background:transparent; padding:0; margin:0; font:inherit; font-size:13px;
        font-weight:600; color:var(--primary-ink); cursor:pointer; text-align:left; min-width:0;
        text-decoration:underline; text-decoration-color:transparent; text-underline-offset:3px;
        transition:text-decoration-color .15s ease; }
      .cdlinkgo:hover, .cdlinkgo:focus-visible { text-decoration-color:currentColor; }
      .cdnote { font-size:12.5px; color:var(--dim); white-space:pre-wrap; margin-bottom:18px; }
      .cdmore { margin-top:8px; font-size:12.5px; }
      .doclink a { color:var(--ink); text-decoration:none; font-weight:600; max-width:200px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .doclink a:hover { text-decoration:underline; }
      /* info tooltip */
      .info { display:inline-flex; align-items:center; justify-content:center; color:var(--faint); cursor:help; margin-left:5px; position:relative; vertical-align:middle; outline:none; }
      .info:hover, .info:focus { color:var(--primary); }
      .flashfocus { animation:flashfocus 2.2s ease; }
      /* Bir tablo satirinin golgesi cizilmiyor; satir vurgusu hucrelerde. */
      tr.flashfocus { animation:none; }
      tr.flashfocus td { animation:rowflash 2.2s ease; }
      @keyframes rowflash { 0%,100% { background:transparent; } 15%,60% { background:color-mix(in srgb, var(--primary) 22%, transparent); } }
      .billrecedit { border:none; background:none; padding:2px; margin:0; width:22px; height:22px; display:inline-grid; place-items:center;
        border-radius:6px; color:var(--dim); cursor:pointer; appearance:none; -webkit-appearance:none; flex:0 0 auto; }
      .billrecedit svg { width:14px; height:14px; }
      .billrecedit:hover { color:var(--primary-ink); background:color-mix(in srgb, var(--primary) 14%, transparent); }
      @keyframes flashfocus { 0%,100% { box-shadow:0 0 0 0 rgba(0,0,0,0); } 15%,60% { box-shadow:0 0 0 3px var(--primary); } }
      /* Seats, as a meter, in the same language as the 20/B bar on the Tax tab:
         30px tall, 20px radius, one band, read from the line beneath it.

         The track is --mint and the fill --primary, and that pairing is the whole
         point: both are redefined per palette and per mode, so the bar is correct
         in all five palettes without a single fixed colour. The two attempts
         before this one both failed on exactly that -- a fixed foreground against
         a themed background -- and both were caught only by measuring. There is
         no text on the fill any more, so the question cannot come back. */
      /* Three roles, three colours, chosen by the user from a palette they
         picked. They are fixed in both modes rather than derived from the
         theme: a role is not a palette concept, and the app already keeps its
         status markers (paid, owed, late) out of the palette for the same
         reason.

         Every segment now carries its own words, so the ink had to be measured
         on each fill. Dark ink clears 4.5 on all three (5.10 on the teal, 9.33
         on the peach, 15.06 on the pale green) and white clears it on none of
         them, which is why there is one text colour here and it is --inkfix,
         the one ink that does not flip with the mode.

         The fills themselves are pale against a white card (1.11 to 3.29), and
         that is fine ONLY because the reading no longer depends on them: the
         count is written inside each segment. What the eye still needs is the
         bar's outline, so the track keeps its measured edge and the segments
         are divided by that same edge colour rather than by the surface. */
      .app, .app.dark { --seat-owner:#4599AA; --seat-admin:#FDAF8C; --seat-member:#E5F7ED; }
      .seatrow { padding:18px 18px 16px; border-top:1px solid var(--line); }
      .seathd { display:flex; align-items:baseline; gap:8px; margin-bottom:8px; flex-wrap:wrap; }
      .seatcap { font-size:10px; font-weight:800; letter-spacing:.12em;
        text-transform:uppercase; color:var(--dim); }
      .seatsep { color:var(--line); font-size:11px; }
      .seatplan { font-size:10.5px; color:var(--dim); }
      .seattrack { position:relative; display:flex; height:30px; border-radius:20px;
        background:var(--bg); overflow:hidden; border:1px solid color-mix(in srgb, var(--dim) 80%, var(--surface)); }
      .seatseg { flex:0 1 auto; min-width:0; display:flex; align-items:center;
        justify-content:center; padding:0 8px; border-right:1px solid color-mix(in srgb, var(--dim) 80%, var(--surface));
        font-size:10.5px; font-weight:700; letter-spacing:.04em; color:var(--inkfix);
        white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .seatseg:last-child { border-right:none; }
      .seatseg.seat-owner  { background:var(--seat-owner); }
      .seatseg.seat-admin  { background:var(--seat-admin); }
      .seatseg.seat-member { background:var(--seat-member); }
      /* An empty seat is hatched rather than tinted, so "nothing here" survives
         a palette whose own pale tint happens to sit next to the member colour.
         The Tax tab's pending segment already reads this way. */
      .seatseg.free { color:var(--dim); background:var(--bg);
        background-image:repeating-linear-gradient(45deg,
          color-mix(in srgb, var(--dim) 80%, var(--surface)) 0 1px, transparent 1px 7px); }
      .seatscale { display:flex; justify-content:space-between; align-items:baseline; gap:12px; flex-wrap:wrap; margin-top:7px; }
      .seatadmins.over { color:var(--red); }
      /* The one number anyone comes here for, so it is not left at legend size. */
      .seatcount { font-size:12.5px; font-weight:600; color:var(--ink); }
      .seatcount .num { font-size:13.5px; }
      .seatfullnote { margin:9px 0 0; font-size:11.5px; color:var(--ink); font-weight:600; }
      .seatfullnote::before { content:""; display:inline-block; width:7px; height:7px;
        border-radius:4px; background:color-mix(in srgb, var(--red) 76%, var(--ink));
        margin-right:7px; vertical-align:middle; }
      /* The free plan's client allowance, beside the workspace name: the name
         takes 40% of the row and this takes what is left. Same track, smaller.
         The count is the hero because "how many have I used" is the question it
         answers; the limit is its quiet denominator. */
      .wsrow { display:block; }
      /* One bottom edge across the three. It only reads as a row once the
         empty band under each is gone, which is what the two-line field and
         the caption under each switch are for. */
      .wsboxes { display:flex; gap:14px; flex-wrap:wrap; align-items:stretch; }
      .wsbox { flex:1 1 210px; min-width:0; border:1px solid var(--line); border-radius:var(--r-card);
        padding:13px; background:var(--surface); display:flex; flex-direction:column; }
      /* The name field is the tallest thing in the row and sets the height of
         all three, so what the other two carry is put on the floor rather than
         left hanging under their caption. Title and caption at the top, the
         control you came for at the bottom, on the same line as the one in the
         frame beside it. */
      .wsbox .tglrow { margin-top:auto; }
      /* The frame's own heading, which is a line to read rather than a field's
         mark, so it takes the ink the card's own text takes. */
      .wsboxttl { display:block; font-size:13px; font-weight:600; color:var(--ink); margin-bottom:4px; }
      /* What the switch under it actually does, in the ink a caption takes.
         The title names the setting, this says which way it goes. */
      .wsboxhint { display:block; font-size:11.5px; line-height:1.45; color:var(--dim); margin-bottom:10px; }
      .wsbox .tglrow { padding:0; }
      /* Three frames, not four: the name carries the logo with it, so it asks
         for the most room. Show/hide is one switch and one line of text and
         never needed more than that, so it is capped and the room it was
         holding goes to the sky strip, which has a city to fit as well. */
      .wsbox.wshidebox { flex:0 1 292px; }
      .wsbox.wsskybox { flex:1 1 330px; }
      .wsbox.wsflexbox { flex:1 1 300px; }
      .wsflexrow { display:flex; gap:12px; align-items:stretch; flex:1 1 auto; }
      .wsflexleft { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
      /* Business info, kullanicinin cizimi (2026-10-19). Ust kutu dort sutun:
         logo, ad + yasal ad, vergi no + daire, adres; banka ayri bir kutuda.
         Dar ekranda once adres alta iniyor, telefonda her sey alt alta. */
      .bizhd { display:flex; align-items:baseline; gap:6px 16px; flex-wrap:wrap; min-width:0; }
      .bizsub { font-size:13px; color:var(--dim); display:inline-flex; align-items:center; gap:4px; }
      .bizframes { display:flex; flex-direction:column; gap:14px; padding:0 18px 18px; }
      .bizframe { border:1px solid var(--line); border-radius:14px; padding:14px 16px 16px; min-width:0; }
      .bizmain { display:grid; grid-template-columns:190px minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr); gap:12px 18px; align-items:start; }
      .bizcol { display:flex; flex-direction:column; gap:10px; min-width:0; }
      .bizframe .field { margin:0; }
      .bizaddr textarea { width:100%; min-height:104px; resize:vertical; line-height:1.45; font-family:inherit; font-size:13px; }
      .bizlogo .imgpick { width:auto; }
      .bizlogo .imglimit { white-space:normal; }
      .bizname input { width:100%; padding-right:104px; }
      .bizname .btn { top:50%; bottom:auto; transform:translateY(-50%); }
      .biznote { margin:12px 2px 0; font-size:12.5px; line-height:1.55; color:var(--dim); overflow-wrap:anywhere; }
      .bizttl { margin:0 0 10px; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--ink); }
      .bizbankrow { display:grid; grid-template-columns:repeat(2, minmax(0, 400px)); gap:12px 18px; }
      @media (max-width:1180px) {
        .bizmain { grid-template-columns:170px minmax(0,1fr) minmax(0,1fr); }
        .bizaddr { grid-column:1 / -1; }
        .bizaddr textarea { min-height:72px; }
      }
      @media (max-width:820px) {
        .bizframes { padding:0 12px 14px; }
        .bizframe { padding:12px; }
        .bizmain { grid-template-columns:minmax(0,1fr); }
        .bizbankrow { grid-template-columns:minmax(0,1fr); }
        .bizlogo .imgbody .imgacts { flex-direction:row; flex-wrap:wrap; align-items:center; width:auto; }
      }
      /* Under about 1100px the three cannot hold their inner columns on one
         line. Two columns then, with the name keeping a column to itself and
         the two switches stacking beside it: given the full width instead, the
         name box stretched its three-line field to 800px to hold a word. */
      @media (max-width:1100px){
        .wsboxes { display:grid; grid-template-columns:1fr 1fr; align-items:stretch; }
        .wsboxes .wsbox { flex:none; min-width:0; }
      }
      @media (max-width:620px){
        .wsboxes { grid-template-columns:1fr; }
      }
      /* The name and the mark side by side inside the one frame. The mark is
         content-sized, the name takes the rest. */
      /* Ad alani logodan once gelir (kullanici, 2026-10-18): logo sutunu
         "en fazla 150 KB" notunun boyuna kadar aciliyordu ve adi ~165px'e
         sikistiriyordu. Ad en az 300px istiyor, logo 210px'de duruyor ve not
         iki satira sariyor. */
      /* The switch on the left, where the strip reads from on the right. */
      .wsskyrow { display:flex; gap:14px; align-items:stretch; flex:1 1 auto; }
      .wsskyleft { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
      .skyset { display:flex; flex-direction:column; gap:8px; margin-top:11px; }
      .skyset select { width:100%; }
      .skyset .btn { align-self:flex-start; }
      .skyset .hint { font-size:11.5px; }
      /* In the row it is a column of its own and sits level with the title, so
         it drops the top margin. The city select stops growing: it holds a
         city name, and at full width it was reading as the widest control on
         the page for the shortest piece of text on it. */
      .wsskyrow .skyset { flex:0 0 auto; margin-top:0; max-width:172px; justify-content:flex-end; }
      .wsskyrow .skyset select { width:100%; }
      /* Stacked, the two columns would each be a word wide. */
      @media (max-width:440px){
        .wsskyrow { flex-direction:column; }
        /* align-items:flex-start yan yanayken dogru (logo adin yuksekligine
           uzamasin diye), alt alta gelince yanlis: ekseni degistigi icin ayni
           kural simdi "icerigin genisligi kadar" demek oluyor ve ad alani
           cercevenin 273px'inde 208px kaliyordu. Olculdu. */
        .wsskyrow .skyset { max-width:none; align-self:stretch; }
      }
      .wsbox .tgltxt { flex:1 1 auto; }
      /* Where the workspace stands and what it would cost to stand somewhere
         else, one row, starting from the same left edge as the three frames
         above it. */
      .wsallow { display:flex; gap:14px; align-items:stretch; margin-top:14px; }
      .allow { flex:1 1 420px; min-width:0; border:1px solid var(--line); border-radius:13px;
        background:var(--bg); padding:13px 15px 14px; }
      .wsupg { flex:0 1 360px; min-width:0; display:flex; flex-direction:column;
        border:1px solid var(--line); border-radius:13px;
        background:var(--bg); padding:13px 15px 14px; }
      .app.dark .wsupg { background:#101E19; }
      .wsprook { font-size:13px; font-weight:800; color:var(--primary-ink); display:inline-flex; align-items:center; gap:7px; }
      /* Yesil, nefes alan bir nokta: abonelik canli (kullanici, 2026-10-18). */
      .wsprodot { width:8px; height:8px; border-radius:50%; background:#22C55E; box-shadow:0 0 0 0 rgba(34,197,94,.55), 0 0 8px rgba(34,197,94,.8);
        animation:wsprodot 2s ease-out infinite; }
      @keyframes wsprodot { 0% { box-shadow:0 0 0 0 rgba(34,197,94,.55), 0 0 8px rgba(34,197,94,.8); } 70% { box-shadow:0 0 0 7px rgba(34,197,94,0), 0 0 8px rgba(34,197,94,.8); } 100% { box-shadow:0 0 0 0 rgba(34,197,94,0), 0 0 8px rgba(34,197,94,.8); } }
      @media (prefers-reduced-motion:reduce) { .wsprodot { animation:none; } }
      /* Pro karti (kullanici, 2026-10-29, oneri sayfasindan secilen): yenileme
         tarihi basta, donemin gecen kismi bir serit, donem ve yenileme iki
         sutun. Serit scaleX ile, genislik degil. */
      .wsupg.wspro { gap:12px; background:linear-gradient(160deg, color-mix(in srgb, var(--primary) 14%, var(--surface)), var(--surface) 62%); }
      .app.dark .wsupg.wspro { background:linear-gradient(160deg, color-mix(in srgb, var(--primary) 16%, #101E19), #101E19 62%); }
      .wsprotag { font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; padding:3px 10px; border-radius:20px; background:var(--ink); color:var(--surface); }
      .wsprobig { font-size:15px; font-weight:800; color:var(--ink); }
      .wsprobig small { display:block; font-size:12.5px; font-weight:600; color:var(--dim); margin-top:2px; }
      .wsprobig small::first-letter { text-transform:uppercase; }
      .wsproper { height:6px; border-radius:6px; background:var(--line); overflow:hidden; }
      .wsproper i { display:block; height:100%; background:var(--sel-bg); transform-origin:left center; }
      .wsprofacts { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
      .wsprofacts div { font-size:12px; color:var(--dim); }
      .wsprofacts b { display:block; font-size:13px; color:var(--ink); }
      .wsupg.wspro .upgacts { margin-top:auto; padding-top:2px; }
      /* 30px is the meter's track with its margins, so the sentence under the
         price lands on the same line as the sentence under the bar. */
      .upgwhat { margin:30px 0 0; font-size:12px; font-weight:700; color:var(--ink); }
      /* Pushed to the foot, where the meter's own note is. */
      .upgacts { margin-top:auto; padding-top:10px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
      @media (max-width:760px){
        /* One under the other, and both have to give up their basis: in a
           column that number is a HEIGHT, so 420px and 268px would be two
           mostly empty boxes. */
        .wsallow { flex-direction:column; margin-top:14px; }
        /* The seat meter joins the two above for the same reason: its own
           flex-basis is 420px, and in a column that is a height. Measured, it
           was drawing a 420px box around 130px of content and leaving a 289px
           hole above the Pro card. The comment was already here; the class
           was new and fell outside it. */
        .wsallow .allow, .wsallow .wsupg, .seatpair > .seatrow { flex:0 0 auto; }
        .upgwhat { margin-top:12px; }
        .upgacts { margin-top:12px; padding-top:0; }
      }
      .app.dark .allow { background:#101E19; }
      .allowhd { display:flex; align-items:center; justify-content:space-between; gap:12px; }
      /* On --surface rather than --mint: the badge is 9.5px uppercase, which is
         small text at 4.5:1, and --primary-ink on --mint falls to 4.12 in Amber.
         The same ink on the card's own white is 4.91 at worst. */
      .allowtag { font-size:9.5px; font-weight:800; letter-spacing:.11em; text-transform:uppercase;
        color:var(--primary-ink); background:var(--surface); border:1px solid var(--line);
        padding:3px 8px; border-radius:6px; }
      .allowfig { line-height:1; white-space:nowrap; }
      .allowused { font-size:22px; font-weight:700; color:var(--ink); letter-spacing:-.02em; }
      .allowmax { font-size:13px; font-weight:500; color:var(--dim); }
      .allowtrack { position:relative; height:9px; border-radius:6px; background:var(--mint);
        overflow:hidden; margin:11px 0 8px; border:1px solid color-mix(in srgb, var(--dim) 80%, var(--surface)); }
      .allowtrack i { display:block; height:100%; border-radius:6px;
        background:linear-gradient(90deg, var(--primary), var(--primary-ink)); }
      .allowfoot { display:flex; align-items:baseline; gap:4px 14px; flex-wrap:wrap; }
      /* The rule keeps its line whole. It used to break across two lines while
         the note sat beside it, which made a short sentence look like a column
         of text. */
      .allowrule { margin:0; flex:0 0 auto; white-space:nowrap;
        font-size:12px; color:var(--ink); font-weight:700; }
      /* Beside the rule when there is room for it and under it when there is
         not, reading from the same left edge either way. It used to be pushed
         to the right, which was fine on one line and stranded on two. */
      .allownote { margin:0; flex:1 1 260px; min-width:0;
        font-size:11.5px; color:var(--dim); line-height:1.5; }
      /* Tone paints ONE thing: the fill. Not the badge, not the count, not the
         words -- every one of those failed somewhere when it was tinted. Plain
         --amber against --mint measures 2.63 and plain --red 2.22, so each tone
         is deepened toward --ink, which darkens it in light mode and lightens it
         in dark, exactly as each ground needs: amber at 80% clears 3.60 at worst
         and red at 76% clears 3.38, everywhere.

         The note goes to --ink and gains weight instead of colour. --amber as
         text measured 2.97 on the panel, so the colour was never carrying the
         warning to begin with. */
      .allow-near .allowtrack i { background:color-mix(in srgb, var(--amber) 80%, var(--ink)); }
      .allow-full .allowtrack i { background:color-mix(in srgb, var(--red) 76%, var(--ink)); }
      .allow-near .allownote, .allow-full .allownote { color:var(--ink); font-weight:600; }
      /* Pro: akis cizgisi Free'nin dolum cizgisinin yerinde ve ayni bosluklarla,
         yani sagdaki kartin "... tarihine kadar odendi" satiri yine onun
         altindaki cumleyle ayni hizada. Iki cumle alt alta ve ayni sol
         kenardan: yan yana, iki farkli boyutta, dip dibe duruyorlardi
         (kullanici, 2026-10-19). */
      .allow-pro { display:flex; flex-direction:column; }
      /* The flowing line stops short of the right edge (kullanici, 2026-11-01:
         its arrow sat against the border). */
      .allow-pro .allowflow { margin:12px 44px 9px 0; }
      .allow-pro .allowfoot { flex-direction:column; align-items:flex-start; gap:4px; }
      .allow-pro .allowrule, .allow-pro .allownote { flex:0 0 auto; }
      .allow-pro .allowrule { font-size:15px; white-space:normal; }
      .allow-pro .allownote { font-size:13.5px; }
      .allowprofoot { margin-top:auto; display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
      .allowprofoot > .btn { flex:0 0 auto; }
      @media (max-width:560px) { .allowprofoot { flex-direction:column; align-items:flex-start; } }
      /* One wide column of names against one narrow column per role. The cells
         carry words rather than glyphs: a tick and a dash alone are not an
         answer to anyone using a screen reader or looking at this in
         greyscale, and the words are also what the dropdowns offer. */
      .setpair { display:grid; grid-template-columns:repeat(auto-fit,minmax(360px,1fr)); gap:14px; align-items:start; }
      .setpair > .card { margin:0; }
      /* The pair as one object: both cards take the height of the taller, and
         only the CARD stretches -- the content stays at the top rather than
         being spread out to fill, which would pull a form apart to hide a gap
         nobody minds. */
      /* Two settings abreast. No rule between them: the section labels already
         say where one ends and the other starts, and a line there only added
         weight to a pair of toggles. */
      .calist { display:grid; gap:6px; }
      .carow { display:flex; align-items:center; justify-content:space-between; gap:12px;
        border:1px solid var(--line); border-radius:10px; padding:8px 10px 8px 12px; background:var(--bg); }
      .app.dark .carow { background:#101E19; }
      .cawhat { display:flex; align-items:center; gap:8px; min-width:0; font-size:13px; }
      /* The input takes the 70%; the button takes what it needs and never
         wraps. It was the other way round -- the input grew to fill the row and
         the button was left squeezing "Saved" onto two lines with the rest of
         the card empty beside it. */
      /* The limit warning in the New client modal's own title row. Not plain
         --red: at 12px that measured 2.65 in Amber's dark mode and 3.59 across
         dark generally. Deepened toward --ink it clears 4.67 at worst in all
         five palettes and both modes, and still reads as red. */
      .limitwarn { display:inline-flex; align-items:baseline; gap:7px; min-width:0;
        font-size:12px; line-height:1.45; font-weight:600;
        color:color-mix(in srgb, var(--red) 68%, var(--ink)); }
      .limitdot { flex:0 0 auto; align-self:center; width:7px; height:7px; border-radius:50%;
        background:color-mix(in srgb, var(--red) 68%, var(--ink)); }
      /* The count is a figure, so it is set in the face the app uses for
         figures, with tabular numerals so 28 and 29 do not shift the line. */
      .limitnum { font-family:'IBM Plex Mono',ui-monospace,monospace; font-variant-numeric:tabular-nums;
        font-size:11.5px; font-weight:700; letter-spacing:-.02em; }
      .limitlink { border:none; background:none; padding:0; font:inherit; font-weight:800;
        color:inherit; text-decoration:underline; text-underline-offset:2px; cursor:pointer; }
      .limitlink:hover { text-decoration-thickness:2px; }
      /* On a narrow screen it drops under the title instead of squeezing it. */
      @media (max-width:720px){
        .modalhd { flex-wrap:wrap; }
        .limitwarn { flex:1 1 100%; order:3; }
      }
      /* Save sits inside the box rather than beside it: beside it, the button
         took width off a name that already had three lines to fill, and the
         two read as one control with a tail. The padding underneath is what
         keeps a third line of typing off the button. */
      .wsname { position:relative; }
      .wsname .btn { position:absolute; right:7px; bottom:7px; white-space:nowrap; }
      .emojipanel { width:306px; max-width:calc(100vw - 36px); }
      .emojicell { width:34px; height:34px; }
      /* A 34px square is a mouse target. On a phone the grid gets the room the
         keyboard is no longer taking. */
      @media (max-width:820px){
        .emojicell { width:42px; height:42px; font-size:24px; }
        .emojipanel { max-height:min(328px, 52vh); }
      }
      /* Three of them now, so the count is not written into the rule: two fit
         where two fit, three where three do. */
      .setpair.even { align-items:stretch; }
      /* Only while there are two columns to even out. In one column the row is
         its own content, and height:100% resolved against a track that was not
         its own: the card came out short, its last field clipped, and the gap
         it left sat under it. */
      @media (min-width:821px) and (min-height:481px){ .setpair.even > .card { height:100%; } }
      .setmore { margin:10px 0 0; font-size:12.5px; }
      .vercommit { font-size:11.5px; }
      @media (max-width:820px), (max-height:480px) and (orientation:landscape){ .setpair { grid-template-columns:1fr; } }
      .backupmeta { font-size:12.5px; color:var(--dim); margin-bottom:10px; }
      .dataline { height:1px; background:var(--line); margin:6px 18px 0; }
      .ledgertotal td { border-top:2px solid var(--line); padding-top:10px; }
      .ledgernet { font-size:20px; font-weight:800; letter-spacing:.2px; }
      .tablenote { display:flex; align-items:center; gap:6px; }
      .tnshort { flex:1; min-width:0; }
      .legendsteps { margin:6px 0 0; padding-left:18px; display:flex; flex-direction:column; gap:3px; }
      .legendsteps li { line-height:1.5; }
      .legendsteps code { background:var(--bg); padding:1px 5px; border-radius:5px; font-size:11px; }
      .infobox { position:fixed; transform:translateX(-50%); width:230px; max-width:calc(100vw - 16px); max-height:calc(100vh - 16px); overflow-y:auto; white-space:normal; background:var(--inkfix); color:#fff; font-size:11.5px; font-weight:500; line-height:1.45; letter-spacing:0; text-transform:none; padding:9px 11px; border-radius:9px; box-shadow:0 8px 26px rgba(14,33,27,.32); z-index:9000; pointer-events:none; text-align:left; }
      /* The speech-bubble variant, for a line that is the point of the thing it
         hangs off rather than a footnote about it. Wider and readable at arm's
         length, with a tail so it belongs to what it came from. overflow is
         visible here because the tail is drawn outside the box; the sentence is
         one line of prose, so there is nothing to scroll. Keep the width in
         step with W in HoverHint. */
      .infobox.big { width:268px; font-size:13.5px; line-height:1.5; padding:11px 13px;
        border-radius:12px; overflow:visible; }
      .infobox.big::after { content:""; position:absolute; left:var(--tail); margin-left:-7px;
        border:7px solid transparent; }
      .infobox.big.above::after { top:100%; border-top-color:var(--inkfix); }
      .infobox.big.below::after { bottom:100%; border-bottom-color:var(--inkfix); }
      .tablewrap.grow { max-height:none; overflow-x:auto; overflow-y:visible; }
      /* Gelir tablosu dondurulmus (kullanici, 2026-10-13): sekmeler ve sutun
         basliklari sayfa kayarken ustte kaliyor. Sarmalayicinin kendi
         kaydirmasi kapali, yoksa sticky onun icinde kalir ve sayfa kayarken
         hicbir sey yapmaz. Yalnizca tablonun karta sigdigi genislikte
         (olculdu: 1024'te 732/732); dar ekranda tablo yatay kayiyor. */
      /* K-432'den sonra masaustu tablosu ~1016px istiyor (1024'te 732 degil): dondurma yalnizca tablonun karta sigdigi
         genislikte (>=1366). Daha darda sarmalayici kendi icinde yatay kayiyor ve hucreler sikisiyor (kullanici, 2026-11-03: tablet). */
      @media (min-width:821px) and (max-width:1365px) {
        .app .inctbl.idk thead th { padding-left:10px; padding-right:10px; }
        .app .inctbl.idk tbody tr.idkrow > td:not(.idkname) { padding-left:10px; padding-right:10px; }
        .app .inctbl.idk .idkname { min-width:170px; }
      }
      @media (min-width:1366px) {
        .inccard .incfreeze { position:sticky; top:var(--incfreeze-top, 0px); z-index:7; background:var(--surface); }
        .inccard .incwrap { overflow:visible; }
        .inccard .incwrap thead th { top:calc(var(--incfreeze-top, 0px) + var(--incfreeze-h, 52px)); }
      }
      /* Detay penceresinin dibindeki eylemler (TxViewModal; kullanici, 2026-11-02): gercek, cerceveli,
         en az 44px dugmeler. "Odenmedi yap" kirmizi; tarih degistirmek yerinde acilan bir alan. */
      .txvacts { display:flex; flex-direction:column; gap:8px; margin-top:16px; padding-top:14px; border-top:1px solid var(--line); }
      .txvact { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; width:100%;
        border:1px solid var(--line); border-radius:var(--r-ctl); background:var(--surface); color:var(--ink);
        font:inherit; font-size:14px; font-weight:700; cursor:pointer; -webkit-tap-highlight-color:transparent; }
      .txvact svg { width:16px; height:16px; }
      .txvact.warn { color:var(--red); border-color:color-mix(in srgb, var(--red) 45%, var(--line));
        background:color-mix(in srgb, var(--red) 6%, var(--surface)); }
      .txvact .txvundo { font-size:17px; line-height:1; }
      @media (hover:hover) { .txvact:hover { border-color:var(--ink); } .txvact.warn:hover { border-color:var(--red); background:color-mix(in srgb, var(--red) 11%, var(--surface)); } }
      .txvact:active { transform:scale(.985); }
      .txvday { display:flex; flex-direction:column; gap:10px; }
      .txvday input[type="date"] { width:100%; min-height:44px; }
      .txvdaybtns { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
      .txvdaybtns .btn { min-height:44px; justify-content:center; }
      @media (max-width:820px) { .txvday input[type="date"] { font-size:16px; } }
      /* hero card */
      .card.score.hero { background:linear-gradient(135deg, var(--mint), var(--surface)); border-color:var(--primary); }
      /* The hero card's outline, borrowed as the hover state for the cards
         beside it: the same border colour, no gradient, so hovering previews
         the emphasis rather than competing with it. */
      .cards > .card.score { transition:border-color .18s ease; }
      .cards > .card.score:not(.hero):hover { border-color:var(--primary); }
      /* Ozet kartlari (kullanici, 2026-11-01; oneri sayfalarinda masaustu
         2 Halka + A Kose isigi + Ongorulen gelirde D Filigran, telefon
         "Dokununca halka + Masaustunun aynisi"). Her kart kendi rengini --k
         ile veriyor. Isik ve filigran kartin arkasinda katmanlar: kart
         isolation ile kendi yigini, katman z-index -1, yani zeminin USTUNDE ve
         yazinin ALTINDA; kartin ICINE hicbir sey eklenmedi. overflow:hidden
         YOK, bilerek: (i) balonlari kartin icinde konumlu ve kirpilirdi; isik
         bu yuzden transform ile degil background-size ile buyuyor, kartin
         disina hic cikmiyor. Sonsuz animasyon yok. Masaustunde halka ustune
         gelince, telefonda parmak degerken (:active). */
      /* Ust kartlar alttaki kutucuklardan daha belirgin (kullanici, 2026-11-02): eskiden yalnizca ustune gelince gorunen
         renkli kenarlik artik hep orada; ustune gelince yalnizca parliyor, isik kenardan yavasca yayilarak. */
      .cards > .card.score.ovglow { position:relative; isolation:isolate; border-color:color-mix(in srgb, var(--k) 55%, var(--line));
        transition:border-color .2s, box-shadow .8s cubic-bezier(.2,.7,.2,1), transform .15s; }
      .cards > .card.score.ovglow::before { content:""; position:absolute; inset:0; z-index:-1;
        border-radius:inherit; pointer-events:none;
        background:radial-gradient(closest-side, color-mix(in srgb, var(--k) 22%, transparent), transparent) no-repeat;
        background-size:200px 200px; background-position:right -95px top -105px; }
      /* Filigran: kartin kendi kosesinde, alta yanasik bir ok. */
      .cards > .card.score.ovmark { overflow:clip; } /* ok kartin altina kayar, disina tasmaz (kullanici, 2026-11-08) */
      /* Ok, kullanicinin ayar sayfasindaki secimi (2026-11-08): telefon 103px, sag -7, alt -25, 1 derece, kalinlik 2.25,
         govde 13 (yol M5 19); masaustu 124px, sag 2, alt -34, kalinlik 2.5. Uzerine gelince (telefonda dokununca) -11 derece, 3px kayma. */
      .cards > .card.score.ovmark::after { content:""; position:absolute; right:-7px; bottom:-25px; z-index:-1;
        width:103px; height:103px; pointer-events:none; background:color-mix(in srgb, var(--pop) 22%, #fff); opacity:.9; /* beyaza yakin, pop'un izi (kullanici, 2026-11-08; eskiden pop .09) */
        -webkit-mask:var(--ovmark) center/contain no-repeat; mask:var(--ovmark) center/contain no-repeat;
        transform:rotate(1deg); transition:transform .5s cubic-bezier(.34,1.3,.64,1), opacity .3s;
        --ovmark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19L18 6M9 6h9v9'/%3E%3C/svg%3E"); }
      @media (min-width:821px) {
        .cards > .card.score.ovglow::before { background-size:220px 220px; background-position:right -100px top -110px; opacity:.7;
          transition:background-size .5s cubic-bezier(.34,1.3,.64,1), background-position .5s cubic-bezier(.34,1.3,.64,1), opacity .3s; }
        .cards > .card.score.ovglow:hover::before { background-size:300px 300px; background-position:right -130px top -150px; opacity:1; }
        .cards > .card.score.ovglow:hover, .cards > .card.score.ovglow:not(.hero):hover {
          border-color:color-mix(in srgb, var(--k) 80%, var(--line));
          box-shadow:0 0 0 1px color-mix(in srgb, var(--k) 45%, transparent), 0 0 26px 3px color-mix(in srgb, var(--k) 30%, transparent); }
        .cards > .card.score.ovglow:focus-within:has(:focus-visible) {
          box-shadow:0 0 0 4px color-mix(in srgb, var(--k) 16%, transparent); }
        /* 64px'in %30 fazlasi (kullanici, ayni gun), alta yanasik. */
        .cards > .card.score.ovmark::after { right:2px; bottom:-34px; width:124px; height:124px;
          --ovmark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19L18 6M9 6h9v9'/%3E%3C/svg%3E"); } /* metinden uzak (kullanici, 2026-11-08) */
        .cards > .card.score.ovmark:hover::after { transform:rotate(-11deg) translate(-3px,-3px); opacity:1; }
      }
      /* Telefonda uzerine gelme yok: ayni halka parmak degerken, kart hafifce
         ice basiyor. Grafigi parmakla tarayan Tahsil edilen kartinda kart
         kuculmuyor, yalnizca halka. */
      @media (max-width:820px) {
        .cards > .card.score.ovglow:active, .cards > .card.score.ovglow:not(.hero):active {
          border-color:color-mix(in srgb, var(--k) 55%, var(--line));
          box-shadow:0 0 0 4px color-mix(in srgb, var(--k) 16%, transparent); }
        .cards > .card.score.ovglow:not(.hero):active { transform:scale(.985); }
        /* Ongorulen gelirin oku dokunurken de masaustundeki gibi kosesine kayiyor (kullanici, 2026-11-04). */
        .cards > .card.score.ovmark:active::after { transform:rotate(-11deg) translate(-3px,-3px); opacity:1; }
      }
      /* Telefonda dokununca kenar rengi degismesin (kullanici, 2026-11-04): ustteki genel "uzerine gelince birincil renk" kurali
         dokunmatikte yapisiyor ve kart bir an baska renge donuyordu; kartin kendi rengi ve parlamasi kaliyor. */
      @media (max-width:820px) {
        .cards > .card.score.ovglow:not(.hero):hover { border-color:color-mix(in srgb, var(--k) 55%, var(--line)); }
      }
      /* Tasarruf potansiyeli parasi (kullanici, 2026-11-04): karta gelince ya da dokununca bir "saut de basque": hafifce cokup
         zipliyor (yukselirken yavaslayan, alcalirken hizlanan egri), havadayken kendi ekseninde 3 tur donuyor (yavas baslayip
         hizlaniyor, sonra yavaslayarak bitiyor), iniyor, ezilip iki kez azalan sekmeyle oturuyor. Toplam 2.1 sn.
         "translate", "rotate" ve "scale" ozellikleri surekli donus animasyonuyla (transform) cakismaz; golge yerinde kaliyor.
         Sinifi (.hop) JS ekliyor ve animasyon bitince kaldiriyor: fare yarida ayrilirsa para havada kesilmesin. */
      @keyframes coinhop {
        0%   { translate:0 0;      scale:1 1;      animation-timing-function:ease-out; }
        7%   { translate:0 1.5px;  scale:1.1 .88;  animation-timing-function:cubic-bezier(.2,.8,.35,1); }
        30%  { translate:0 -13px;  scale:.97 1.04; animation-timing-function:ease-in-out; }
        41%  { translate:0 -14px;  scale:1 1;      animation-timing-function:cubic-bezier(.55,0,.9,.55); }
        64%  { translate:0 0;      scale:1.12 .86; animation-timing-function:cubic-bezier(.2,.7,.3,1); }
        73%  { translate:0 -3px;   scale:.98 1.02; animation-timing-function:cubic-bezier(.5,0,.9,.6); }
        83%  { translate:0 0;      scale:1.03 .97; animation-timing-function:ease-out; }
        91%  { translate:0 -.8px;  scale:1 1;      animation-timing-function:ease-in; }
        100% { translate:0 0;      scale:1 1; }
      }
      @keyframes cointurn { from { rotate:0 1 0 0deg; } to { rotate:0 1 0 1080deg; } }
      .coin.hop .coinspin { animation:coinspin 4.2s linear infinite, coinhop 2.1s linear 1, cointurn 1s cubic-bezier(.55,0,.2,1) .38s 1 both; }
      @media (prefers-reduced-motion:reduce) {
        .cards > .card.score.ovglow, .cards > .card.score.ovglow::before, .cards > .card.score.ovmark::after { transition:none; }
        .cards > .card.score.ovglow:not(.hero):active { transform:none; }
        .coin.hop .coinspin { animation:coinspin 4.2s linear infinite; }
      }
      .card.score.hero .scoreval { font-size:32px; }
      /* Ozet kartlari (kullanici, 2026-11-02; once Alinan, K-457, sonra hepsi, sonra telefonda da): "pahali" gradyan. Duz bir
         dijital gradyan plastik duruyor ve koyu zeminde bantlaniyor; ustune film grenini andiran bir gurultu karosu
         (SVG feTurbulence, %50) overlay ile biniyor, bantlar kiriliyor. Gren bir ARKA PLAN KATMANI ve
         background-blend-mode ile karisiyor: ::before kartin isigi, ::after Ongorulen gelirin filigrani, ikisi de
         dolu. Iki isik: kartin kendi rengi (--gk-*, varsayilan sol alt) ve temanin pop'u (--gp-*, varsayilan sag ust);
         tabanda --k'nin cok hafif tonu (Alinan'da eski mint). Yer, boy ve yogunluk degisken, kart kendi isigini
         degiskenle tasiyor (asagida). Gurultu bir kez cizilen bir resim, hareket etmiyor. */
      .cards > .card.score.ovglow { --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
        --gk-col:var(--k); --gk-a:16%; --gk-pos:0% 115%; --gk-size:110% 120%; --gk-end:58%;
        --gp-col:var(--pop); --gp-a:26%; --gp-pos:100% 0%; --gp-size:95% 130%; --gp-end:64%;
        --gbase:linear-gradient(135deg, color-mix(in oklch, var(--k) 5%, var(--surface)), var(--surface));
        background-image:var(--grain),
          radial-gradient(var(--gk-size) at var(--gk-pos), color-mix(in oklch, var(--gk-col) var(--gk-a), transparent), transparent var(--gk-end)),
          radial-gradient(var(--gp-size) at var(--gp-pos), color-mix(in oklch, var(--gp-col) var(--gp-a), transparent), transparent var(--gp-end)),
          var(--gbase);
        background-size:220px 220px, auto, auto, auto; background-repeat:repeat, no-repeat, no-repeat, no-repeat;
        background-blend-mode:overlay, normal, normal, normal; }
      .cards > .card.score.ovglow.hero { --gbase:linear-gradient(135deg, var(--mint), var(--surface)); }
      .app.dark .cards > .card.score.ovglow { --gk-a:24%; --gp-a:24%; --gp-end:62%;
        --gbase:linear-gradient(135deg, color-mix(in oklch, var(--k) 6%, var(--surface)), var(--surface)); }
      .app.dark .cards > .card.score.ovglow.hero { --gk-col:var(--sel-bg); --gk-a:50%; --gk-end:62%; --gp-a:26%;
        --gbase:linear-gradient(135deg, color-mix(in oklch, var(--sel-bg) 18%, var(--surface)), var(--surface)); }
      /* Telefonda kartlar dar, isiklar rakama yaklasiyor: daha soluk (olculdu, koyu Zumrut'te Harcanan 2.98'e
         dusuyordu). */
      @media (max-width:820px) {
        .cards > .card.score.ovglow { --gk-a:12%; --gp-a:16%; --gp-end:60%; }
        .app.dark .cards > .card.score.ovglow { --gk-a:16%; --gp-a:14%; --gp-end:58%; }
        .app.dark .cards > .card.score.ovglow.hero { --gk-a:40%; --gp-a:16%; --gk-end:60%; }
      }
      /* Kart basina isik (kullanici, 2026-11-02). Yalnizca yer ve boy: yogunluk (acik/koyu/telefon) yukaridan geliyor.
         Harcanan: kirmizi isik sol ustte ve dar. Bekleyen: tek isik (pop ile kartin rengi ayni tonda iki kez
         geliyordu), pop'un boyu sifir. Birikim ile Ongorulen ayna: Birikim'de kartin rengi sol altta ve pop sag ustte,
         Ongorulen'de tersi. */
      .cards > .card.score.ovglow.ovspent { --gk-pos:0% -10%; --gk-size:70% 75%; --gk-end:55%; --gp-col:var(--k); }
      /* Bekleyen: ikisi de kapali (kullanici, ayni gun), yalnizca kartin ::before isigi (sag ust, ustune gelince buyuyen). */
      .cards > .card.score.ovglow.haspend { --gp-size:0% 0%; --gk-size:0% 0%; }
      .app.dark .cards > .card.score.ovmark::after { opacity:.14; }
      @media (min-width:821px) { .app.dark .cards > .card.score.ovmark:hover::after { opacity:.22; } }
      .cards > .card.score.ovglow.ovmark { --gk-pos:100% 0%; --gk-size:95% 130%; --gp-pos:0% 115%; --gp-size:110% 120%; }
      /* colour-coded due dates */
      .duedate { font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:600; padding:2px 8px; border-radius:20px; white-space:nowrap; }
      .duedate.due-ok { background:#D6F5E7; color:var(--green); }
      .duedate.due-amber { background:#FBF0D2; color:var(--amber); }
      .duedate.due-red { background:#FBE0E0; color:var(--red); animation:redblink 1.4s ease-in-out infinite; }
      @keyframes redblink { 0%,100%{opacity:1;} 50%{opacity:.45;} }
      @media (prefers-reduced-motion:reduce){ .duedate.due-red{ animation:none; } }
      /* spaced row action buttons */
      .rowacts { display:inline-flex; gap:6px; align-items:center; justify-content:center; }
      /* Gider ve Faturada duzenle/sil adin yaninda, satirin ustune gelince (K-479). Telefonda yok. */
      /* Sifir genislik: gizliyken satiri buyutmesin ya da alt satira inip bosluk acmasin; dugmeler saga tasiyor. margin -6 = cellmain'in aralik (gap) boslugu, yani kutu hic yer tutmuyor ve kisa bir adin yaninda satir sarmiyor (K-518); translateX gorunumu 8px saga aliyor. */
      .sptbl .spnameacts { gap:2px; margin-left:-6px; transform:translateX(8px); width:0; min-width:0; overflow:visible; white-space:nowrap; justify-content:flex-start; opacity:0; transition:opacity .12s; }
      .sptbl tr:hover .spnameacts, .sptbl tr:focus-within .spnameacts { opacity:1; }
      .sptbl td.spdue { white-space:nowrap; }
      .prrowicons { display:inline-flex; flex-direction:column; gap:1px; }
      /* A word, not a figure, so it leaves the column's monospace behind. */
      .prlfeelbl { font-family:inherit; padding-top:3px; }
      /* Expenses-by-client: clickable summary row that expands to its detail rows */
      .xbcrow { cursor:pointer; }
      .xbccaret { display:inline-block; width:15px; color:var(--faint); font-size:10px; }
      .xbcdetail td { background:var(--tintsoft, rgba(0,0,0,.02)); }
      .app.dark .xbcdetail td { background:rgba(255,255,255,.03); }
      .xbcdname { padding-left:20px; }
      /* outline danger button */
      .btn.dout { border-color:var(--red); color:var(--red); background:transparent; }
      .btn.dout:hover { background:#FBE0E0; border-color:var(--red); }
      .faintx { color:var(--faint); }
      /* client modal */
      .cmbody { padding:16px 18px; max-height:66vh; overflow:auto; }
      .cmsection { font-size:11px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; color:var(--primary-ink); padding:14px 0 8px; border-bottom:1px solid var(--line); margin-bottom:12px; }
      .cmsection:first-child { padding-top:0; }
      /* The shared equal-width field grid. Named for the client modal, where it
         started, but it is the answer wherever a form would otherwise carry a
         hand-set width per field: a Field marked "span" takes a whole row, which
         is what a long value (an e-mail, a URL) wants. */
      .cmgrid { display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:12px; margin-bottom:6px; }
      /* Client form (kullanici, 2026-11-01): status beside the logo, and the
         renewal row as quick picks, date, then the switch. */
      .cmgrid > .cmstatus, .cmgrid > .cmaddr { grid-column:2 / -1; }
      .flightpair, .datepair { display:contents; }
      /* Kayitlar seridinde "Gelire ekle" ve onun penceresindeki kayit listesi (K-410). */
      .enchgadd { margin-left:6px; border:1px solid var(--primary-ink); background:var(--surface); color:var(--primary-ink);
        border-radius:999px; padding:3px 10px; font:inherit; font-size:12px; font-weight:700; white-space:nowrap; }
      .enchgadd:hover { background:var(--sel-bg); border-color:var(--sel-bg); color:#fff; }
      .hrsum { font-size:13px; font-weight:700; color:var(--ink); margin-bottom:8px; }
      .hrlist { border:1px solid var(--line); border-radius:var(--r-ctl); max-height:210px; overflow:auto; }
      .hrrow { display:grid; grid-template-columns:auto 1fr auto auto; gap:12px; align-items:baseline; padding:8px 12px;
        border-bottom:1px solid var(--line); font-size:13px; }
      .hrrow:last-child { border-bottom:none; }
      .hrrow > span:first-child { color:var(--dim); }
      .hrdesc { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .hrrow:has(.hrname) { align-items:center; }
      .modal .hrrow input.hrname { width:100%; min-width:0; height:32px; padding:4px 10px; border:1px solid var(--line);
        border-radius:8px; background:var(--surface); color:var(--ink); font:inherit; font-size:13px; }
      .modal .hrrow input.hrname:focus { outline:none; border-color:var(--primary-ink); }
      @media (max-width:820px) {
        .modal .hrrow input.hrname { font-size:16px; width:100% !important; height:40px; }
        /* Telefonda ad kendi satirinda: uc kisa bilgi ustte, ad alanin tamaminda. */
        .hrrow:has(.hrname) { grid-template-columns:1fr auto auto; row-gap:8px; }
        .hrrow:has(.hrname) > .hrname { grid-column:1 / -1; grid-row:2; }
      }
      @media (max-width:820px) {
        .flightpair, .datepair { display:grid; grid-template-columns:1fr 1fr; gap:12px; flex:1 1 100%; width:100%; }
        .flightpair > .field, .datepair > .field { width:auto !important; min-width:0; }
        .flightpair input[type=date], .datepair input[type=date], .datepair select { width:100% !important; min-width:0; }
        /* iOS draws a date box with its own look: shorter than the fields
           beside it and only as wide as its text (kullanici, 2026-11-01).
           The same reset .tkaddrow already uses. */
        .modal input[type=date], .modal input[type=month], .modal input[type=time] {
          -webkit-appearance:none; appearance:none; min-height:44px; display:block; }
        .modal input[type=date]::-webkit-date-and-time-value { text-align:left; margin:0; }
      }
      /* A date the form guessed (a past month was on screen): red outline, the
         way a missing field looks, until it is changed. Not ".err", so a save
         error does not scroll to it. */
      input.dateguess { border-color:var(--red) !important; box-shadow:0 0 0 1px var(--red); }
      /* On the label's line, at its right: out of the flow, so neither this
         field's box nor the one beside it (Payment) moves. */
      .field:has(> .dateguesshint) { position:relative; }
      .dateguesshint { position:absolute; right:2px; top:0; white-space:nowrap; font-size:11.5px; font-weight:600; color:var(--red); }
      @media (max-width:820px) {
        .cmgrid > .cmlogocell, .cmgrid > .cmname, .cmgrid > .cmaddr { grid-column:1 / -1; }
      }
      .chips.err { border-radius:12px; outline-offset:4px; }
      /* "Discard unsaved changes?" answers are real 40px buttons (44 on a
         phone), and on a phone the question gets its own line above them. */
      .cmfoot.asking .btn { min-height:40px; }
      @media (max-width:820px) {
        .cmfoot.asking { flex-wrap:wrap; }
        .cmfoot.asking .cmask { flex:1 1 100%; }
        .cmfoot.asking .btn { min-height:44px; flex:1 1 auto; }
      }
      .cmgrid > .cmtrack { grid-column-start:1; padding-bottom:5px; }
      .cmgrid > .cmquick { margin-bottom:0; min-height:36px; align-items:center; align-self:end; }
      @media (max-width:820px) {
        .cmgrid > .cmtrack, .cmgrid > .cmquick, .cmgrid > .cmrdate { grid-column:1 / -1; }
        .cmgrid > .cmtrack { padding-bottom:0; }
      }
      /* The recurring expense fields are a grid inside the Add transaction
         modal's flex row. Without this the grid shrinks to one field's width
         and every column collapses into a single stack. */
      .form.wrap > .cmgrid { flex:1 1 100%; min-width:0; }
      /* Inline checkbox field: sits on one line, pinned to the bottom of its grid
         cell so it lines up with the inputs of neighbouring fields. */
      .checkfield { display:flex; align-items:center; gap:8px; align-self:end; padding-bottom:8px; font-size:12.5px; font-weight:600; color:var(--ink); cursor:pointer; }
      .checkfield input { width:16px; height:16px; margin:0; cursor:pointer; flex:none; }
      /* Ekle penceresinde sik kullanilan kategoriler: tek satir, yana kayar (strip-scroll.js kenari soldurur). */
      .quickcats { grid-column:1 / -1; flex:0 0 100%; width:100%; box-sizing:border-box; display:flex; gap:8px; overflow-x:auto; overflow-y:hidden; padding:2px 1px 6px; margin:0 0 2px; scrollbar-width:none; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; }
      .quickcats::-webkit-scrollbar { display:none; }
      .qcpill { flex:none; height:34px; padding:0 14px; border-radius:17px; border:1.5px dashed color-mix(in srgb, var(--dim) 55%, transparent); background:var(--surface); color:var(--ink); font:inherit; font-size:12.5px; font-weight:600; white-space:nowrap; cursor:pointer; }
      .qcpill { -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; touch-action:pan-x; transition:transform .12s ease; display:inline-flex; align-items:center; gap:5px; }
      .qcpill:active { transform:scale(.96); }
      .qcpill.pinned { padding-left:11px; border:1.5px solid var(--pop); }
      .qcpill.pinned .qcpin { color:var(--pop); opacity:1; }
      .qcpill .qcemo { font-size:14px; line-height:1; margin-left:1px; }
      .qchint { grid-column:1 / -1; flex:0 0 100%; width:100%; box-sizing:border-box; display:flex; align-items:center; gap:8px; margin:0 0 8px; padding:9px 10px 9px 12px; border-radius:var(--r-ctl); background:color-mix(in srgb, var(--pop) 12%, var(--surface)); color:var(--ink); font-size:12.5px; line-height:1.4; }
      .qchint > svg { flex:none; color:var(--pop); transform:rotate(-30deg); }
      .qchint > span { flex:1; min-width:0; }
      .qchintbtn { flex:none; min-height:36px; padding:0 12px; border-radius:10px; border:1px solid var(--line); background:var(--surface); color:var(--ink); font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; }
      .qcpill .qcpin { flex:none; opacity:.75; transform:rotate(-30deg); }
      /* Secili pill yumusak: sol menunun secili satiriyla ayni zemin ve murekkep (kullanici, 2026-11-08), accent ya da pop degil. */
      .qcpill.on { background:var(--mint); border-style:solid; border-color:var(--pop); color:var(--primary-ink); }
      .qcpill.on .qcpin { color:var(--primary-ink); }
      @media (hover:hover){ .qcpill:not(.on):hover { border-color:var(--primary); color:var(--primary-ink); } }
      @media (max-width:820px){ .checkfield { font-size:16px; } }
      /* Two side-by-side sections on desktop (Assigned team | Documents), set
         apart from the section above and boxed in a light frame with a divider
         between the two columns. */
      .cmcols2 { display:grid; grid-template-columns:1fr 1fr; align-items:stretch; margin-top:22px; border:1px solid var(--line); border-radius:12px; padding:12px 0 14px; }
      .cmcols2 > .cmcol { padding:0 18px; min-width:0; }
      .cmcols2 > .cmcol + .cmcol { border-left:1px solid var(--line); }
      .cmnotes { font:inherit; font-size:13px; color:var(--ink); border:1px solid var(--line); border-radius:8px; padding:8px 10px; background:#FCFEFD; width:100%; resize:vertical; }
      .cmfoot { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; padding:14px 18px; border-top:1px solid var(--line); position:sticky; bottom:0; background:var(--surface); }
      /* The card a charge clears on, in the category modal. Narrow and quiet:
         it is the answer to "why is this still pending", not the row's
         headline. "No card" is the one value that carries a warning, so it is
         the one value with a colour. */
      /* "td." sart (2026-10-22): yalin .cmcard (0,1,0) baslik hucresinin
         "th" kuralini (0,0,1) eziyordu; "Odeme yontemi" basligi oteki
         basliklardan buyuk ve parlak duruyordu. */
      td.cmcard { white-space:nowrap; font-size:12.5px; color:var(--ink-soft); }
      .cmtbl th { white-space:nowrap; }
      /* Odendi hapi tarihiyle tek satir: "Odendi 13 Eki" iki haneli gunde
         ikiye kiriliyordu. */
      .cmtbl .cmpaid .pill { white-space:nowrap; }
      .cmcard .cellnote { white-space:nowrap; }
      .cmcard .nocard, .cellnote.nocard { color:var(--amber); font-weight:600; }
      .cardmob { display:none; }
      .organizebtn { display:inline-flex; align-items:center; gap:7px; }
      .organizebtn svg { width:15px; height:15px; flex:0 0 auto; }
      /* On a phone the three buttons do not share a line, so the door takes a
         row of its own above the two that answer the form. */
      @media (max-width:560px){ .cmfoot .organizebtn { flex:1 1 100%; justify-content:center; margin-right:0; } }
      .docpanel { display:flex; flex-direction:column; gap:8px; background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:12px; margin-top:10px; }
      .docpanelrow { display:flex; gap:8px; flex-wrap:wrap; }
      .docpanelrow input { flex:1; min-width:160px; font:inherit; font-size:13px; color:var(--ink); border:1px solid var(--line); border-radius:8px; padding:7px 9px; background:var(--surface); }
      /* The "(Clients)" in the Income heading is a link, but it has to read as
         part of the heading and not as a button parked inside one. */
      /* Income tab strip: labels on a rule, no boxes, so the filter sits above
         the table without competing with it. Each tab carries a dot in its
         state's colour and the underline takes the same one, which makes the
         strip a key to the bars down the left of the rows rather than a second
         decoration that happens to sit near them. The underline is measured
         rather than laid out, because the labels carry counts and any hard
         geometry drifts the moment one goes from 9 to 10. */
      .tabstrip { position:relative; display:flex; gap:2px; margin:0 18px 2px;
        border-bottom:1px solid var(--line);
        overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
      .tabstrip::-webkit-scrollbar { display:none; }
      .tabbtn { position:relative; flex:0 0 auto; display:inline-flex; align-items:center; gap:8px;
        border:none; background:transparent; font-weight:700; font-size:15px; font-family:inherit; color:var(--dim);
        padding:11px 13px 13px; cursor:pointer; white-space:nowrap; transition:color .18s ease; }
      .tabbtn .tabcount { margin-left:-2px; }
      .tabbtn:hover { color:var(--ink); }
      .tabbtn.on { color:var(--ink); }
      /* Same box the dot occupies, so a strip of icon tabs and a strip of
         status tabs sit their labels at the same place. */
      .tabicon { width:18px; height:18px; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; }
      .tabicon svg { width:18px; height:18px; }
      .tabdot { width:9px; height:9px; border-radius:50%; flex:0 0 auto; background:var(--dot);
        box-shadow:0 0 0 0 var(--dot); transition:box-shadow .2s ease; }
      .tabbtn.on .tabdot { box-shadow:0 0 0 3px color-mix(in srgb, var(--dot) 26%, transparent); }
      /* The label is 700; the count sits beside it as a quantity, not a second
         heading, so it drops to a normal weight. */
      .tabcount { font-size:13px; font-weight:500; color:var(--dim); }
      /* --dot is the state colour and it is a light tone, which is right for
         a 9px dot and unreadable as 13px text: the greens and ambers land at
         3.4:1 on the card. The dot and the underline carry the colour; the
         count just gets darker. */
      .tabbtn.on .tabcount { color:var(--ink-soft); }
      .tabbtn.st-all { --dot:var(--primary); }
      .tabbtn.st-notstarted { --dot:var(--st-notstarted); }
      .tabbtn.st-pending { --dot:var(--st-pending); }
      .tabbtn.st-overdue { --dot:var(--st-overdue); }
      .tabbtn.st-paid { --dot:var(--st-paid); }
      /* Sits ON the rule, not under it, so the two read as one line. */
      .tabind { position:absolute; top:0; height:2.5px; left:0; border-radius:3px; background:var(--primary);
        transition:transform .26s cubic-bezier(.4,0,.2,1), width .26s cubic-bezier(.4,0,.2,1), background .2s ease;
        pointer-events:none; }
      .tabstrip[data-active="notstarted"] .tabind { background:var(--st-notstarted); }
      .tabstrip[data-active="pending"] .tabind { background:var(--st-pending); }
      .tabstrip[data-active="overdue"] .tabind { background:var(--st-overdue); }
      .tabstrip[data-active="paid"] .tabind { background:var(--st-paid); }
      /* A rule that slides on every click is a lot of motion for anyone who
         asked for less of it, so it simply appears in place instead. */
      @media (prefers-reduced-motion: reduce) { .tabind { transition:none; } }
      /* A table in a 440px box that scrolls on BOTH axes, inside a page that
         also scrolls, is two vertical scrollers stacked: a swipe moves
         whichever one the finger landed on and the table appears to lurch.
         On a phone the page owns the vertical and the table owns the sideways.
         The sticky header goes with the box it was sticking to. Desktop keeps
         its 440px scroll box, where a mouse can tell the two apart. */
      @media (max-width:820px), (max-height:480px) and (orientation:landscape) {
        .tablewrap, .tablewrap.short { max-height:none; overflow-x:auto; overflow-y:visible; }
        .tablewrap thead th { position:static; box-shadow:none; border-bottom:1px solid var(--line); }
        .tabstrip { margin:0 12px 2px; }
        .tabbtn { padding:9px 9px 11px; font-size:13.5px; gap:6px; }
        .tabcount { font-size:12px; }
        /* The Overdue / Pending / Paid bands are 13px uppercase 800 on desktop,
           which on a phone made them the largest type in the table -- louder
           than the column headers (10.5px) and than the client names they
           group. They are a divider, not a heading. */
        .sectionrow td { font-size:11px; letter-spacing:.4px; padding:7px 12px; }
      }
      /* type segmented control */
      /* The granularity switch rides in the card heading, so it is sized down
         from the full-width segrow and does not stretch. */
      .dfhdr { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
      .dfgran { padding:3px; flex:0 0 auto; }
      .dfgran .seg { flex:0 0 auto; padding:5px 11px; font-size:11.5px; }
      .dfsub .seg { white-space:nowrap; }
      .dfemptybody { display:flex; align-items:center; justify-content:center; text-align:center; }
      .dfemptybody .empty { padding:0; }
      /* Telefonda anahtar sag ustte SABIT (kullanici, 2026-10-22): okuma
         satirinin uzunlugu degistikce (8-14 Eki ... / 22 Eki 0 0) sarma
         noktasi kayiyor ve anahtar ikinci ile ucuncu satir arasinda
         zipliyordu. Baslik solda, anahtar sagda, okuma kendi satirinda. */
      @media (max-width:820px) {
        .cardhd.dfcardhd { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:10px; row-gap:8px; }
        .dfcardhd .dfhdr { display:contents; }
        .dfcardhd > h2 { grid-column:1; grid-row:1; min-width:0; }
        .dfcardhd .dfgran { grid-column:2; grid-row:1; }
        /* Ceyrek ve yilda iki anahtar var (nokta genisligi, daralma): her biri
           kendi satirinda, tam genislikte. */
        .dfhassub .dfgran { grid-column:1 / -1; }
        .dfhassub .dfgran:not(.dfsub) { grid-row:2; }
        .dfhassub .dfsub { grid-row:3; }
        .dfhassub .dfgran .seg { flex:1 1 0; padding:5px 3px; font-size:11px; }
      }
      .segrow { display:flex; gap:4px; background:var(--bg); border:1px solid var(--line); border-radius:var(--r-ctl); padding:4px; }
      .seg { flex:1; border:none; background:transparent; font:inherit; font-size:12.5px; font-weight:700; padding:8px; border-radius:7px; cursor:pointer; color:var(--dim); }
      .seg.on { background:var(--surface); color:var(--primary-ink); box-shadow:0 1px 3px rgba(14,33,27,.12); }
      /* Ekle penceresinin dort turu (kullanici, 2026-11-07): telefonda tek satir. Her dugme yazisi kadar yer aliyor
         (flex-grow icerige gore), yazi alt satira inmiyor; kalan bosluk dugmelere paylasiliyor. */
      @media (max-width:820px){
        .segrow.addkinds { gap:2px; padding:3px; }
        .segrow.addkinds > .seg { flex:1 1 auto; white-space:nowrap; padding:14px 5px; min-height:46px; font-size:12.5px; min-width:0; }
      }
      @media (max-width:340px){ .segrow.addkinds > .seg { font-size:11px; padding:14px 3px; } }
      /* The sliding surface (SlideThumb, slide-thumb.jsx; kullanici
         2026-10-20): the same spring as the Expenses / Bills switch. The
         chosen option gives up its own background and the one surface under
         it moves. Only a change of choice slides; a layout change jumps. */
      .hasthumb { position:relative; isolation:isolate; }
      .hasthumb > .slthumb { position:absolute; left:0; top:0; z-index:0; pointer-events:none; opacity:0; border-radius:7px; background:var(--surface); box-shadow:0 1px 3px rgba(14,33,27,.12);
        transition:transform .32s cubic-bezier(.34,1.3,.64,1), width .32s cubic-bezier(.34,1.3,.64,1), height .2s ease, opacity .15s; }
      .hasthumb > :not(.slthumb) { position:relative; z-index:1; }
      .hasthumb > .on, .hasthumb > [aria-checked="true"] { background:transparent !important; box-shadow:none !important; border-color:transparent !important; }
      .app.dark .segrow.hasthumb > .slthumb { background:color-mix(in srgb, var(--primary) 14%, var(--surface)); }
      .tkviews.hasthumb > .slthumb { border-radius:8px; }
      .pzcycle.hasthumb > .slthumb { background:var(--mint); border-radius:9px; box-shadow:none; }
      .tmmode.hasthumb > .slthumb, .calviews.hasthumb > .slthumb { border:1px solid var(--line); border-radius:8px; box-shadow:none; box-sizing:border-box; }
      @media (prefers-reduced-motion: reduce) { .hasthumb > .slthumb { transition:none; } }
      /* Para nereye gitti: satir adi bir dugme, pencereyi aciyor
         (WhereItemsModal, 2026-10-22). iOS bosluklari sifir. */
      .catname { appearance:none; -webkit-appearance:none; border:0; background:none; padding:0; margin:0; font:inherit; color:inherit; cursor:pointer; text-align:left; display:inline-flex; align-items:center; min-width:0; }
      .catname:hover { text-decoration:underline; text-underline-offset:3px; }
      .wmtbl { width:100%; border-collapse:collapse; }
      .wmtbl td { padding:9px 12px; border-bottom:1px solid var(--line); font-size:13.5px; vertical-align:top; }
      .wmtbl tfoot td { border-bottom:0; padding-top:12px; }
      .wmtbl .wmname { overflow-wrap:anywhere; }
      .wmsearch { margin:0 0 10px; }
      .wmamt { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:0 0 12px; }
      .wmamt select, .wmamt .wmnum { height:36px; box-sizing:border-box; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--ink); font:inherit; font-size:13.5px; padding:0 10px; }
      .wmamt .wmnum { width:110px; text-align:right; }
      .wmamt select:focus, .wmamt .wmnum:focus { outline:none; border-color:var(--primary); }
      .wmand { font-size:13px; color:var(--dim); }
      @media (max-width:820px) {
        .wmamt { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
        .wmamt select, .wmamt .wmnum { font-size:16px; height:40px; min-width:0; }
        .wmamt select { grid-column:1 / -1; }
        .wmamt .wmnum { width:100% !important; }
        .wmamt select + .wmnum:last-child { grid-column:1 / -1; }
        .wmand { text-align:center; }
      }
      .wmtbl td.wmnone { text-align:center; color:var(--dim); padding:22px 12px; }
      .wmtbl td.c, .wmtbl th.c { white-space:nowrap; }
      /* Telefonda Zamanlayici | Gorevler | Notlar (TimeScreen, 2026-10-22).
         Masaustunde hic basilmiyor. Ikonlar 16px; not ikonu durgun
         (NoteGlyph, live yok). */
      .tmphonetabs { padding:4px; }
      .tmphonetabs .seg { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:9px 6px; font-size:13px; min-width:0; }
      .tmphonetabs .seg.on { color:var(--primary-ink); }
      .tmtabico { display:inline-flex; width:17px; height:17px; flex:none; }
      .tmtabico svg { width:100%; height:100%; }
      .tmphonetabs .tkviewn { margin-left:0; }
      /* Gider sekmelerindeki ay toplami (IconTabs extra). */
      .tmphonetabs .tmtabamt { font-size:11px; font-weight:600; color:var(--faint); overflow:hidden; text-overflow:ellipsis; }
      .tmphonetabs .seg.on .tmtabamt { color:var(--dim); }
      .tmphonetabs .traildot { margin-left:0; }
      /* 320px: "Zamanlayici" 5px tasiyordu (olculdu). */
      @media (max-width:360px){ .tmphonetabs .seg { font-size:12px; gap:4px; padding:9px 3px; } .tmtabico { width:15px; height:15px; } }
      /* Setup's tab bar: active tab filled with the user's theme color, inactive
         tabs stay on --surface (white in light mode, dark in dark mode — same
         variable every card background already uses). */
      .setuptabs .seg { background:var(--surface); color:var(--ink); }
      /* Dark ink on the theme colour, not white. Measured: white on --primary
         is 2.54 to 1, which is the contrast this app already has open against
         it elsewhere (its primary buttons); #0E211B on the same green is 6.62.
         The tab that says where you are should be the most legible thing in
         the strip, not the least. */
      .setuptabs .seg.on { background:var(--primary); color:var(--on-primary); box-shadow:none; }
      /* ".app.dark .seg.on" is four classes and this was three, so in dark mode
         the active tab was quietly repainted #22332C and stopped looking
         selected at all. Measured before the fix: rgb(34,51,44) against a
         rgb(21,34,29) neighbour. */
      .app.dark .setuptabs .seg.on { background:var(--primary); color:var(--on-primary); }
      /* The strip wraps rather than spilling. Measured at 375px before this:
         it wanted 403px and had 337, so 66px, most of the last tab, sat off
         the screen -- and the page cannot scroll sideways (index.html sets
         overflow-x on html), so that tab could not be reached at all. At 320px
         it was 121px.
         No width in the rule, deliberately. A breakpoint would be a number
         standing for "five tabs with these five labels", and the next tab
         added would move it without telling anyone. "flex:1 1 auto" plus
         nowrap asks the question directly instead: each tab claims the width
         of its own words, they share what is left over, and a line that cannot
         hold them all breaks. One row on a desktop, two on a phone, three on a
         320px phone, and it stays right whatever the tabs are called. */
      .setuptabs { flex-wrap:wrap; }
      .setuptabs .seg { flex:1 1 auto; white-space:nowrap; }
      /* Telefonda serit ISTEYEREK iki satir. Sarma zaten vardi ama yalnizca
         tasma aninda devreye giriyordu: 375px'te dort sekme bir satira,
         "Notifications" tek basina ikinciye dusuyordu, ve 414px'lik bir
         telefonda besi birden sigip hepsi birden kuculuyordu.
         Yuzde 30 bir sekme sayisi degil bir alt sinir: bir satira en fazla
         uc sekme giriyor, kalanlar asagi iniyor ve satiri paylasiyor. Besli
         strip 3+2 oluyor; sekme eklenirse ya da adlari degisirse kural yine
         dogru kaliyor, cunku ortada "bes sekme" diyen bir sayi yok. */
      @media (max-width:820px){
        .setuptabs .seg { flex:1 1 30%; padding:10px 8px; }
      }
      /* login note + invite link box */
      .loginnote { background:var(--mint); color:var(--primary-ink); font-size:12px; font-weight:600; padding:8px 12px; border-radius:9px; text-align:center; }
      .sgpresets { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
      .sgpreset { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:40px; box-sizing:border-box;
        padding:9px 12px; border-radius:9px; border:1px solid color-mix(in srgb, var(--primary) 55%, var(--line));
        background:var(--mint); color:var(--primary-ink); font-weight:700; font-size:14px; cursor:default; overflow:hidden; }
      .sgpresetok { display:inline-flex; flex:0 0 auto; width:16px; height:16px; }
      .sgpresetok svg { width:16px; height:16px; }
      .linkbox { margin:0 18px 14px; background:var(--bg); border:1px solid var(--line); border-radius:11px; padding:12px 14px; }
      .linkboxhd { font-size:12px; color:var(--dim); margin-bottom:8px; }
      .linkrow { display:flex; gap:8px; align-items:center; }
      .linkrow input { flex:1; font:inherit; font-size:12px; font-family:'IBM Plex Mono',monospace; border:1px solid var(--line); border-radius:8px; padding:7px 9px; background:var(--surface); color:var(--ink); }
      /* shorter transaction table */
      .tablewrap.short { max-height:560px; }
      /* mobile top-header bell wrap — desktop hidden, mobile shown */
      .hamwrap { display:none; position:relative; margin-left:auto; }
      /* Bolum aramasi (src/app-search.jsx). Dugme yalnizca telefonun ust
         barinda, zilin solunda: yuvarlak ve cerceveli (kullanici, 2026-10-12). */
      .mobsearch { display:none; }
      @media (max-width:820px), (max-height:480px) and (orientation:landscape) {
        .mobsearch { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; border:1px solid var(--line);
          background:var(--surface); color:var(--ink); padding:0; cursor:pointer; }
        .mobsearch svg { width:19px; height:19px; }
        /* Zil biraz daha buyuk: 19 -> 23px, dokunma alani 40px. */
        .mobbell .bellbtn { width:40px; height:40px; }
        .mobbell .bellbtn svg { width:23px; height:23px; }
      }
      .srch { position:fixed; inset:0; z-index:210; background:var(--bg); display:flex; flex-direction:column;
        padding-top:env(safe-area-inset-top); animation:srchin .2s ease-out; }
      .srchpanel { flex:1 1 auto; min-height:0; display:flex; flex-direction:column; background:var(--bg); }
      /* Masaustu: Spotlight. Ortada, ustten %12, en fazla 640px; arkada soluk
         bir perde. Telefondaki tam ekran ayni bilesen, yalnizca kutu degisiyor. */
      @media (min-width:821px) and (min-height:481px) {
        .srch { background:rgba(8,20,15,.38); align-items:center; padding:12vh 20px 20px; }
        .srchpanel { flex:0 1 auto; width:min(640px, 100%); max-height:min(560px, 76vh); border-radius:var(--r-panel); border:1px solid var(--line);
          background:var(--surface); box-shadow:0 24px 70px rgba(0,0,0,.28); overflow:hidden; }
        /* .srchpanel ile ustte: temel .srchbar/.srchbox kurallari kaynakta
           SONRA yazili ve esit spesifiklikte onlar kazaniyordu (olculdu: bar
           gri kaliyordu). */
        /* Ferah (kullanici, 2026-10-13): ustten ve yanlardan daha cok bosluk,
           cubuk ve liste ayni kenardan basliyor. */
        .srchpanel .srchbar { background:var(--surface); padding:20px 22px 16px; }
        .srchpanel .srchbody { padding:10px 22px 22px; }
        .srchpanel .srchbox { background:var(--bg); }
        .srchpanel .srchrow.hi, .srchpanel .srchrow:hover { background:var(--bg); }
      }
      .topsearch { display:inline-flex; align-items:center; gap:8px; height:38px; padding:0 8px 0 12px; border-radius:11px;
        border:1px solid var(--line); background:var(--surface); color:var(--dim); font:inherit; font-size:13.5px; cursor:pointer; min-width:200px; }
      .topsearch:hover { border-color:var(--primary); color:var(--ink); }
      .topsearch svg { width:16px; height:16px; flex:0 0 auto; }
      .topsearchtxt { flex:1 1 auto; text-align:left; }
      .topsearchkbd { font:inherit; font-size:11.5px; font-weight:600; color:var(--dim); border:1px solid var(--line); border-radius:6px; padding:1px 6px; background:var(--bg); }
      @media (max-width:820px), (max-height:480px) and (orientation:landscape) { .topsearch { display:none; } }
      @keyframes srchin { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
      .srchbar { display:flex; align-items:center; gap:10px; padding:16px 18px 14px; border-bottom:1px solid var(--line); background:var(--bg); }
      .srchbox { flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--line);
        border-radius:12px; padding:0 10px; height:44px; color:var(--dim); }
      .srchbox:focus-within { border-color:var(--primary); }
      .srchbox svg { width:18px; height:18px; flex:0 0 auto; }
      /* 17px: 16'nin altindaki her alan iOS'ta sayfayi yakinlastiriyor. */
      .srchbox input { flex:1 1 auto; min-width:0; border:none; outline:none; background:transparent; font:inherit; font-size:17px; color:var(--ink); padding:0; height:100%; }
      .srchbox input::-webkit-search-cancel-button { display:none; }
      .srchclear { flex:0 0 auto; width:22px; height:22px; border-radius:50%; border:none; background:var(--line); color:var(--ink);
        font-size:15px; line-height:1; display:grid; place-items:center; cursor:pointer; padding:0; }
      .srchcancel { flex:0 0 auto; border:none; background:transparent; font:inherit; font-size:16px; font-weight:600; color:var(--primary-ink); cursor:pointer; padding:6px 2px; }
      .srchbody { flex:1 1 auto; overflow-y:auto; padding:10px 18px calc(24px + env(safe-area-inset-bottom)); }
      .srchhd { font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--dim); margin:10px 2px 6px; min-height:1px; }
      .srchrow { width:100%; display:grid; grid-template-columns:1fr auto; grid-template-rows:auto auto; column-gap:10px; align-items:center;
        text-align:left; border:none; background:transparent; font:inherit; color:var(--ink); padding:11px 10px; border-radius:11px; cursor:pointer; }
      .srchrow + .srchrow { border-top:1px solid var(--line); border-radius:0; }
      .srchrow.hi, .srchrow:hover { background:var(--surface); border-radius:11px; }
      .srchtitle { font-size:16px; font-weight:600; }
      .srchwhere { grid-column:1; font-size:12.5px; color:var(--dim); margin-top:1px; }
      .srchgo { grid-column:2; grid-row:1 / span 2; width:16px; height:16px; color:var(--faint); }
      .srchnone { display:flex; flex-direction:column; gap:6px; padding:18px 4px; font-size:14px; color:var(--dim); line-height:1.45; }
      .srchnone b { color:var(--ink); font-weight:700; }
      /* Aramadan gelinen kart bir an vurgulaniyor; ust bar onu ortmesin diye
         kartlar kaydirmada 80px pay birakiyor. */
      .card { scroll-margin-top:80px; }
      .card.srchhit, .wsbox.srchhit { animation:srchhit 1.8s ease-out; }
      @keyframes srchhit { 0%, 40% { box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 45%, transparent); } 100% { box-shadow:0 0 0 0 transparent; } }
      @media (prefers-reduced-motion: reduce) { .srch, .card.srchhit, .wsbox.srchhit { animation:none; } }
      .mobtopstat { display:none; }
      /* Arkasi bulanik, musteri panelinin perdesi gibi (kullanici, 2026-11-02). */
      .mobscrim { position:fixed; inset:0; background:rgba(4,12,9,.34); z-index:70;
        backdrop-filter:blur(3px) saturate(.85); -webkit-backdrop-filter:blur(3px) saturate(.85); }
      /* "More" drawer opens as a sheet anchored above the bottom tab bar */
      .mobmenu { position:fixed; right:10px; bottom:calc(87px + env(safe-area-inset-bottom)); z-index:75; width:240px; max-width:calc(100vw - 20px); max-height:calc(100vh - 140px); overflow-y:auto; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-panel); box-shadow:0 -10px 34px rgba(14,33,27,.28); padding:8px; display:flex; flex-direction:column; gap:2px; }
      /* Aktif sayac seridi. Sekme degistirince calisan sayac gorunmez
         oluyordu; serit onu her ekranda tutuyor. Modal DEGIL: engellemiyor,
         ve .overlay tek bir yer (Modal) olarak kalmali, cunku o kutu gorsel
         alana sabitlenmis durumda.
         z-index 50, yani .bottomnav'in (55) ALTINDA: telefonda serit barin
         uzerine oturuyor, ustune degil. Bir sayfa ustu kutu acildiginda
         serit paintten cikiyor (asagida), yani o yaris hic kurulmuyor. */
      /* Adi .tmpill DEGIL: o sinif sayac ekranindaki ucret dugmesinde zaten
         vardi ve kendi kurali (yesilin %12'si) benim background'umu sessizce
         eziyordu. Olculdu: serit mint yesili cikti, kod ise var(--surface)
         diyordu. Yeni bir sinif yazmadan once ayni ada grep atmak gerekiyor.
         Tum cocuklar tmbar ile basliyor, yani bir sonraki carpisma mumkun
         olmasin. */
      .tmbar { position:fixed; z-index:50; right:18px; bottom:18px;
        width:330px; max-width:calc(100vw - 36px);
        display:flex; align-items:center; gap:5px;
        background:var(--surface); border:1px solid var(--primary);
        border-radius:var(--r-inner); padding:7px 8px;
        box-shadow:0 6px 20px rgba(14,33,27,.16); }
      .app.dark .tmbar { box-shadow:0 8px 24px rgba(0,0,0,.5); }
      .tmbar.paused { border-color:var(--line); }
      .tmbar.done { border-color:var(--amberline); }
      /* Bir sayfa ustu kutu ya da yan panel acikken serit gitmeli. Sebep
         .bottomnav'in yorumunda yazili ayni tuzak: .content bir yiginlama
         baglami ve icindeki her modal orada sikisip kaliyor, yani kokteki bir
         serit onlarin ustune boyaniyor. Ulasilamayan bir serit de bir sey
         yapmiyordu. */
      .app:has(.overlay) .tmbar, .app:has(.cddrawer) .tmbar { display:none; }
      /* Serit varken sayfanin altina yer aciliyor, yoksa en alttaki satiri ya
         da butonu kapatiyor. :has ile, cunku serit kendi varligini zaten
         soyluyor: ayrica bir state bayragi tasimak ikinci bir dogruluk
         kaynagi olurdu. */
      .app:has(.tmbar) main { padding-bottom:74px; }
      .tmbaropen { flex:1 1 0; min-width:0; display:flex; align-items:center; gap:9px;
        background:transparent; border:0; padding:3px 2px; font:inherit;
        text-align:left; cursor:pointer; border-radius:10px; }
      /* Nabiz: rakama bakmadan calisiyor mu durdu mu anlasilsin. */
      /* Nokta bir GRAFIK nesne, yani kagidin uzerinde 3:1 istiyor. Olculdu:
         ciplak --primary acik modda 2.54, --faint 2.63, ikisi de altinda.
         --primary-ink ve --dim ayni renklerin kagidin tasiyabildigi
         tonlari (5.57 ve 5.60). */
      .tmbardot { width:9px; height:9px; border-radius:50%; flex:0 0 auto;
        background:var(--primary-ink); animation:tmbarbeat 2s ease-in-out infinite; }
      .tmbar.paused .tmbardot { background:var(--dim); animation:none; }
      .tmbar.done .tmbardot { background:var(--amber); animation:none; }
      @keyframes tmbarbeat { 0%,100% { opacity:1; } 50% { opacity:.3; } }
      @media (prefers-reduced-motion:reduce) { .tmbardot { animation:none; } }
      .tmbarmain { flex:1 1 0; min-width:0; display:flex; flex-direction:column; }
      .tmbarcli { font-size:11.5px; color:var(--dim); line-height:1.3;
        overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .tmbarttl { font-size:14px; font-weight:700; color:var(--ink); line-height:1.3;
        overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      /* Yalnizca orta blok kisaliyor, rakam ve dugme asla: flex-basis auto
         max-content demek ve uzun bir is adi ikisini satirdan atiyordu.
         Ayni hata AllTimeNote'ta da yasandi. */
      .tmbarclock { flex:0 0 auto; font-size:18px; font-weight:700; color:var(--ink); }
      .tmbar.paused .tmbarclock { color:var(--dim); }
      /* "Done" altin DEGIL, murekkep. Olculdu: ciplak --amber kagit uzerinde
         3.25, --pending 3.48, ve 14px kalin yazi normal metin sayiliyor yani
         4.5 gerekiyor. Altin rengi kenarlikta ve noktada duruyor; kelimenin
         de altin olmasina gerek yok, okunur olmasina var (16.77). */
      .tmbar.done .tmbarclock { font-size:14px; }
      .tmbarbtn { width:36px; height:36px; flex:0 0 auto; border-radius:50%;
        display:grid; place-items:center; cursor:pointer;
        border:1px solid var(--line); background:var(--mint); color:var(--primary-ink); }
      .tmbarbtn svg { width:15px; height:15px; fill:currentColor; }
      /* Zamanin gectigini gosteren cizgi. Seridin ALT KENARI uzerinde, iki
         piksel: ayri bir oge icin yer yok ve kenarin kendisi zaten orada.
         scaleX ile suruluyor, width ile degil: genislik her saniye layout
         tetikler, transform etmez.
         Geri sayimda gercek ilerleme. Yukari sayanda bir hedef yok, yani
         doldurulacak bir cubuk da yok; orada dolan sey ICINDE BULUNULAN
         DAKIKA ve her dakikada basa donuyor. Bir hedefe yaklasiyormus gibi
         gorunmemesi icin rengi de ayri. */
      .tmbarsweep { position:absolute; left:8px; right:8px; bottom:0; height:2px;
        transform-origin:left center; border-radius:2px; background:var(--primary);
        transition:transform .9s linear; pointer-events:none; }
      .tmbar.paused .tmbarsweep { background:var(--faint); transition:none; }
      /* Dakika basa donerken cizgi geri KAYMAMALI: sagdan sola suzulen bir
         cizgi, zamanin geri gittigini soyler. Donus aninda gecis kapali. */
      @media (prefers-reduced-motion:reduce) { .tmbarsweep { transition:none; } }
      /* Rakamin iki noktasi saniyede bir soluyor. Bir saatin yaptigi sey, ve
         rakamin kendisi degismese bile (duraklatilmis bir sayacta durdugu
         gibi) calisip calismadigini soyluyor. */
      .tmbarcolon { font-style:normal; animation:tmbarblink 1s steps(1,end) infinite; }
      .tmbar.paused .tmbarcolon { animation:none; opacity:.45; }
      @keyframes tmbarblink { 0%,55% { opacity:1; } 56%,100% { opacity:.25; } }
      @media (prefers-reduced-motion:reduce) { .tmbarcolon { animation:none; } }

      /* Acilmis hali. Panel seridin USTUNDE, seridin genisliginde: masaustunde
         serit sag altta durdugu icin bu yukari ve sola acilmak demek,
         telefonda kenar bosluklari arasinda yukari. Tam ekran DEGIL ve bir
         modal da degil: arkadaki ekran gorunur ve calisir kaliyor. */
      /* Panel seridin KENDISI, ustunde duran ikinci bir kutu degil. Once
         ayri bir kart olarak 8px yukarida havada duruyordu, kendi cercevesi
         ve golgesiyle, ve iki widget gibi okunuyordu. Simdi serit sarilan
         bir satir: panel ilk satiri tam genislikte aliyor (order:-1),
         sayac ve dugme altta kaliyor, ve serit alttan sabitli oldugu icin
         buyume yukari dogru. Cerceve, golge ve kose tek: seridinkiler.
         Aradaki tek sey ince bir ayirici. */
      .tmbar.open { flex-wrap:wrap; row-gap:0; }
      .tmbarpanel { order:-1; flex:1 1 100%; min-width:0;
        padding:6px 5px 12px; margin-bottom:6px; border-bottom:1px solid var(--line);
        display:flex; flex-direction:column; gap:11px;
        max-height:min(56vh, 420px); overflow-y:auto;
        animation:tmbargrow .18s ease-out; }
      @keyframes tmbargrow { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
      /* Kapanis, acilisin tersi: icerik asagi kayip soluyor ve panel olculen
         kendi yuksekliginden (--tmph) sifira iniyor, dolgusu ve ayiricisiyla
         birlikte. Serit alttan sabitli, yani kart yukaridan asagi toplaniyor. */
      .tmbarpanel.closing { animation:tmbarshrink .22s cubic-bezier(.4,0,.2,1) forwards; overflow:hidden; }
      @keyframes tmbarshrink {
        from { max-height:var(--tmph); opacity:1; transform:none; }
        to { max-height:0; opacity:0; transform:translateY(8px); padding-top:0; padding-bottom:0;
          margin-bottom:0; border-bottom-color:transparent; }
      }
      @media (prefers-reduced-motion:reduce) { .tmbarpanel { animation:none; } }
      .tmbar.open { border-color:var(--primary); }
      /* Panel acikken serit metni TASIMIYOR. Acilmadan once satirin tek isi
         ne calistigini soylemek; panel acilinca ayni iki satir panelde,
         kirpilmamis halde zaten yaziyor ve 375px'te ayni seyi iki kez
         gostermek paneli ekrandan asagi itiyor. Geriye sayacin kendisi
         kaliyor, ki paneldeki tek eksik o. */
      .tmbar.open .tmbarmain { display:none; }
      .tmbar.open .tmbarclock { font-size:21px; margin-left:2px; }
      .tmbar.open .tmbaropen { gap:11px; }
      .tmbarsumcli { font-size:11.5px; color:var(--dim); line-height:1.3; }
      /* Baslik seritte tek satira kirpiliyor, panelde KIRPILMIYOR: panelin
         varlik sebebi seridin soyleyemedigini soylemek. Uc satirda duruyor,
         cunku bir is adi bir paragraf degil. */
      .tmbarsumttl { font-size:15px; font-weight:700; color:var(--ink); line-height:1.35;
        display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
      .tmbarsummeta { margin-top:3px; font-size:12px; color:var(--dim); line-height:1.45; }
      .tmbarsummeta b { color:var(--ink-soft); }
      .tmbarsumamt { color:var(--green); font-weight:600; }
      .tmbarsumpaused { color:var(--amber); font-weight:600; }
      .tmbaracts { display:flex; gap:8px; }
      /* 44px: dokunmatik hedefin alt siniri. 11px dolgu 40px veriyordu ve bu
         satir telefonda, bas parmakla, ekranin en altinda kullaniliyor. */
      .tmbaracts button { flex:1 1 0; min-width:0; border-radius:10px; padding:11px 10px;
        min-height:44px; font:inherit; font-size:14px; font-weight:700; cursor:pointer; white-space:nowrap; }
      /* Atmak bir cerceve, kaydetmek bir dolgu. Ikisi ayni agirlikta
         gorunseydi, geri alinamayan olan yanlislikla secilebilirdi. */
      .tmbardiscard { background:transparent; border:1px solid var(--line); color:var(--dim); }
      .tmbardiscard:hover { border-color:var(--red); color:var(--red); }
      .tmbarfinish { background:var(--primary); border:1px solid var(--primary); color:var(--on-primary); }
      .tmbarfinish:disabled { opacity:.5; cursor:default; }
      /* Atma sorusu, panelin icinde. Ayni dugme satiri: "vazgec" sakin, atmak
         kirmizi ama dolu degil, cunku geri alinmayan bir seyi en buyuk ve en
         parlak dugme yapmak onu varsayilan gibi gosterir. */
      .tmbarask { display:flex; flex-direction:column; gap:7px; animation:tmbargrow .18s ease-out; }
      .tmbaraskhd { font-size:15px; font-weight:700; color:var(--ink); }
      .tmbaraskmsg { font-size:12.5px; color:var(--dim); line-height:1.5; margin-bottom:4px; }
      .tmbaraskmsg b { color:var(--ink-soft); }
      .tmbarkeep { background:var(--primary); border:1px solid var(--primary); color:var(--on-primary); }
      .tmbarconfirm { background:transparent; border:1px solid var(--red); color:var(--red); }
      .tmbarconfirm:hover { background:color-mix(in srgb, var(--red) 12%, transparent); }
      /* === Hizli notlar (src/quick-notes.jsx) ===============================
         Kart, zamanlayici seridinin dilinde: ayni yuzey, ayni kose, temanin
         vurgusu cercevede. Bir pencere ya da yan panel acikken dugme ve kart
         geri cekiliyor, serit gibi (.tmbar): .content bir yiginlama baglami ve
         oradaki modal bunlarin altinda kalirdi. */
      .app:has(.overlay) .qnfab, .app:has(.cddrawer) .qnfab { display:none; }
      /* Cerceve ve zemin yok, yalnizca ikon (kullanici, 2026-11-08): ikon buyudu, sayfanin ustunde okunsun diye
         hafif bir golge (drop-shadow, ikonun kendi seklinde). Tiklanan alan dugmenin kutusu, 56px. */
      .qnfab { position:fixed; z-index:50; right:14px; bottom:14px; width:56px; height:56px; border-radius:14px; padding:0;
        border:0; background:none; -webkit-appearance:none; appearance:none; color:var(--primary-ink); cursor:pointer;
        display:grid; place-items:center; transition:transform .15s ease; }
      .qnfab:hover { transform:translateY(-2px); }
      /* Telefonda bir yazi alani odaktayken (klavye acik) alt menu ve yuzen dugmeler cekiliyor (kullanici, 2026-11-09, K-588):
         iOS klavyesi sabit alt cubugu klavyenin ustune itiyordu ve tutar alani onun arkasinda kaliyordu. */
      @media (max-width:820px) {
        body:has(:is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]), textarea, [contenteditable="true"]):focus) :is(.bottomnav, .qnfab, .qfab, .tmbar) { display:none !important; }
      }
      .qnfab svg { width:52px; height:52px; fill:none; stroke:currentColor; stroke-width:1.05; stroke-linecap:round; stroke-linejoin:round;
        filter:drop-shadow(0 3px 6px rgba(14,33,27,.22)); transition:transform .15s ease; }
      .qnfab.open svg { transform:scale(1.06); }
      /* Kagit opak (kullanici, 2026-11-09): ikonun yari saydam sarisi arkadaki sayfayi gosteriyordu. Yalnizca yuzen dugmede;
         sekme ve menudeki ayni ikon eskisi gibi. */
      .qnfab .qnglyph path:nth-of-type(1) { fill:#FFE68F; fill-opacity:1; }
      .qnfab .qnglyph path:nth-of-type(2) { fill:#F2C744; fill-opacity:1; }
      .app.dark .qnfab svg { filter:drop-shadow(0 3px 8px rgba(0,0,0,.55)); }
      /* Zamanlayici seridi sag altta duruyorsa dugme onun ustune cikiyor. */
      /* --tmbarh: seridin olculen yuksekligi (TimerPill); acilinca buyuyor ve dugme onunla kalkiyor. */
      .app:has(.tmbar) .qnfab { bottom:calc(14px + var(--tmbarh, 58px) + 8px); transition:transform .15s ease, bottom .18s ease; }
      .qnhint { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--dim); margin:-3px 0 0 78px; }
      .qnperson { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--line); background:var(--surface);
        color:var(--dim); border-radius:999px; padding:3px 11px 3px 3px; font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
      .qnperson.on { background:var(--mint); border-color:var(--primary); color:var(--primary-ink); }
      .qnperson:disabled { cursor:default; opacity:1; }
      .qnav { width:22px; height:22px; border-radius:50%; display:grid; place-items:center; font-size:11px; font-weight:800;
        background:var(--line); color:var(--ink); }
      .qnperson.on .qnav { background:var(--primary); color:var(--on-primary); }
      .qnat { color:var(--primary-ink); font-weight:700; }
      .qnpanel .qnadd svg { width:12px; height:12px; }
      .qnlist { display:flex; flex-direction:column; gap:6px; padding-top:4px; }
      .qngrp { font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--dim); margin:8px 0 2px; }
      .qngrp:first-child { margin-top:0; }
      .qnitem { display:flex; align-items:flex-start; gap:11px; border:1px solid var(--line); border-radius:12px; padding:10px 10px 10px 11px; background:var(--surface); }
      .qnitem.late { border-color:color-mix(in srgb, var(--due, var(--amber)) 55%, var(--line)); }
      .qncheck { flex:0 0 auto; width:22px; height:22px; margin-top:1px; border-radius:50%; border:2px dotted var(--dim);
        background:transparent; cursor:pointer; display:grid; place-items:center; padding:0; }
      .qncheck svg { width:14px; height:14px; fill:none; stroke:transparent; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
      .qncheck:hover svg { stroke:var(--faint); }
      .qnitem.done .qncheck { background:var(--primary); border-style:solid; border-color:var(--primary); }
      .qnitem.done .qncheck svg { stroke:#0E211B; }
      .qnitem.done .qnline { color:var(--dim); text-decoration:line-through; }
      .qnbody { flex:1 1 auto; min-width:0; }
      .qnline { font-size:14px; line-height:1.45; color:var(--ink); white-space:pre-wrap; overflow-wrap:anywhere; }
      .qnmeta { display:flex; flex-wrap:wrap; gap:4px 10px; margin-top:4px; font-size:12px; color:var(--dim); }
      .qnday { font-weight:700; color:var(--primary-ink); }
      .qnitem.late .qnday { color:var(--due, var(--amber)); }
      .qnfrom { font-weight:600; color:var(--ink-soft); }
      .qnitem.focus { animation:qnfocus 2.2s ease-out; }
      @keyframes qnfocus {
        0%, 45% { border-color:var(--primary); box-shadow:0 0 0 4px color-mix(in srgb, var(--primary) 35%, transparent); }
        100% { box-shadow:0 0 0 0 transparent; }
      }
      @media (prefers-reduced-motion: reduce) { .qnitem.focus { animation:none; border-color:var(--primary); } }
      .qnmenuwrap { position:relative; flex:0 0 auto; }
      .qnmenu { position:absolute; right:0; top:calc(100% + 4px); z-index:20; min-width:170px; display:flex; flex-direction:column;
        background:var(--surface); border:1px solid var(--line); border-radius:11px; padding:5px;
        box-shadow:0 12px 30px rgba(14,33,27,.2); }
      .qnmenu button { text-align:left; border:none; background:transparent; font:inherit; font-size:13px; color:var(--ink);
        padding:8px 10px; border-radius:7px; cursor:pointer; }
      .qnmenu button:hover { background:var(--bg); }
      .qnmenu button.danger { color:var(--red); }
      .qndonehd { border:none; background:transparent; font:inherit; text-align:left; cursor:pointer; padding:0; color:var(--dim); }
      .qnempty { font-size:13px; padding:4px 0 6px; }
      .qnhint.warn { color:var(--amber); margin-left:0; }
      .qnmore { flex:0 0 auto; border:none; background:transparent; color:var(--faint); width:28px; height:28px; border-radius:8px; cursor:pointer; display:grid; place-items:center; }
      .qnmore svg { width:16px; height:16px; }
      .qnmenu button { display:flex; align-items:center; gap:9px; }
      .qnmenu button svg { width:15px; height:15px; flex:0 0 auto; color:var(--dim); }
      .qnmenu button.danger svg { color:var(--red); }
      .qnhint { margin-left:0; }
      /* Masaustunde genis (satir ici) not formu iki sutun (kullanici, 2026-11-04): solda Ne zaman ve Renk, sagda Musteri ve Etiket;
         her sutunda etiketler ayni hizada. Yuzen dar kart ve telefon eskisi gibi. */
      @media (min-width:821px) {
      }
      /* Yeterince genis olunca Ne zaman satiri tek satir (gun, saat, Hatirlat) ve Musteri hemen onun sagindan baslar; Etiket Renk satirinda ayni sutunda. */
      @media (min-width:981px) {
      }
      /* Notlar (K-484): post-it renkleri, yerinde form, saat, hatirlat zili, sabitleme. */
      .app { --pi-yellow:#FFE27A; --pi-pink:#FFB3C7; --pi-blue:#A9D8FF; --pi-green:#BDEBA8; --pi-orange:#FFC48A; }
      .qnc-yellow { --pi:var(--pi-yellow); } .qnc-pink { --pi:var(--pi-pink); } .qnc-blue { --pi:var(--pi-blue); }
      .qnc-green { --pi:var(--pi-green); } .qnc-orange { --pi:var(--pi-orange); }
      .qnitem[class*="qnc-"] { background:color-mix(in srgb, var(--pi) 22%, var(--surface)); border-color:color-mix(in srgb, var(--pi) 70%, var(--line));
        box-shadow:inset 4px 0 0 var(--pi); }
      .qnitem.editing { outline:2px solid var(--primary); outline-offset:1px; }
      .qnsw { -webkit-appearance:none; appearance:none; padding:0; width:24px; height:24px; border-radius:50%; cursor:pointer;
        background:var(--pi, transparent); border:1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); transition:transform .15s; }
      .qnsw.none { background:repeating-linear-gradient(135deg, transparent 0 5px, color-mix(in srgb, var(--ink) 14%, transparent) 5px 6px); }
      .qnsw.on { box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--primary); }
      .qnsw:hover { transform:scale(1.1); }
      .qnremind { -webkit-appearance:none; appearance:none; position:relative; display:inline-flex; align-items:center; justify-content:center; font:inherit; font-size:12.5px; font-weight:600;
        color:var(--faint); background:transparent; border:0; border-radius:999px; padding:0; width:36px; height:36px; cursor:pointer; flex:0 0 auto; } /* cercevesiz (kullanici, 2026-11-08) */
      /* Yalnizca ikon; adi mini balonda (kullanici, 2026-11-08). */
      .qnremindtip { position:absolute; bottom:calc(100% + 7px); left:50%; transform:translate(-50%, 3px); white-space:nowrap; padding:4px 9px; border-radius:8px;
        background:var(--ink); color:var(--surface); font-size:12px; font-weight:700; line-height:1.3; pointer-events:none; opacity:0; transition:opacity .12s, transform .12s; z-index:3;
        box-shadow:0 4px 12px rgba(0,0,0,.25); } /* temanin tersi: koyu acilir pencerede de okunsun (kullanici, 2026-11-08) */
      .qnremindtip::after { content:""; position:absolute; top:100%; left:calc(50% - 5px); border:5px solid transparent; border-top-color:var(--ink); }
      .qnremind.tip .qnremindtip { opacity:1; transform:translate(-50%, 0); }
      @media (hover:hover) { .qnremind:hover .qnremindtip { opacity:1; transform:translate(-50%, 0); } }
      .qnremind svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; overflow:visible; }
      .qnremind .qnrwave { opacity:0; }
      .qnremind:disabled { cursor:not-allowed; } .qnremind:disabled svg { opacity:.45; } /* balon soluk kalmasin */
      .qnremind.on { color:var(--primary-ink); background:color-mix(in srgb, var(--primary) 12%, transparent); }
      .qnremind.on svg { stroke-width:2.3; }
      .qnremind.on .qnrwave { opacity:1; }
      .qnremind.on .qnrbell { transform-origin:12px 4px; animation:qnring 1.1s ease-in-out 1; }
      @keyframes qnring { 0%,100% { transform:rotate(0); } 15% { transform:rotate(16deg); } 30% { transform:rotate(-14deg); } 45% { transform:rotate(10deg); } 60% { transform:rotate(-7deg); } 75% { transform:rotate(3deg); } }
      .qnrem { display:inline-flex; color:var(--primary-ink); } .qnrem svg { width:13px; height:13px; }
      .qnpin { flex:0 0 auto; border:none; background:transparent; width:28px; height:28px; border-radius:8px; cursor:pointer; font-size:14px;
        filter:grayscale(1); opacity:.4; transition:opacity .15s, transform .15s; }
      .qnpin:hover { opacity:.8; }
      .qnpin.on { filter:none; opacity:1; transform:rotate(-12deg); }
      .qnfabsw { padding-bottom:0; white-space:nowrap; }
      /* Ust barda asili notlar: hafif egik, uzerine gelince konusma balonu; hatirlatmasi gelen parliyor. */
      /* Ust bar: arama kutusunun solundaki bolge esit aralikli yuvalara bolunuyor (src/pin-layout.js, kullanici 2026-11-04). */
      .qnpinzone { flex:1 1 0; min-width:0; display:flex; justify-content:flex-end; padding-right:18px; box-sizing:border-box; }
      .qnpins { display:flex; align-items:center; gap:14px; -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; -webkit-tap-highlight-color:transparent; }
      .qnpins * { -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }
      .qnpins.qngrid { display:grid; grid-template-columns:repeat(var(--m), 48px); column-gap:14px; align-items:center; }
      .qnslot { position:relative; display:flex; align-items:center; justify-content:center; width:48px; height:48px; }
      .qnslot::before { content:""; position:absolute; inset:2px 0; border:1.5px dashed transparent; border-radius:4px 4px 10px 4px; pointer-events:none;
        transition:border-color .15s, background .15s; }
      .qnpins.dragging .qnslot:not(.locked)::before { border-color:color-mix(in srgb, var(--primary-ink) 38%, transparent); }
      .qnpins.dragging .qnslot.locked.empty::before { border-color:transparent;
        background:repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--primary-ink) 20%, transparent) 4px 5px); }
      .qnpins.dragging .qnslot.over:not(.locked)::before { border-color:var(--primary); border-style:solid; background:color-mix(in srgb, var(--primary) 16%, transparent); }
      .qnpins .qnpost:not(.qnaddpost) { cursor:grab; }
      .qnpost.lifted { z-index:60; cursor:grabbing !important; animation:none !important; transition:none !important; pointer-events:none; scale:1.1;
        box-shadow:0 14px 28px rgba(0,0,0,.4); }
      .qnpins.dragging .qnpost, .qnpins.dragging .qncrumple { animation:none !important; }
      .qnpins.dragging .qnpost.drop { outline:2px solid var(--primary); outline-offset:2px; }
      /* Telefon: yan kayan seritte notlar, buruşuk top sagda sabit. */
      .qnstrip { display:flex; align-items:center; gap:16px; overflow-x:auto; overflow-y:hidden; padding:14px 6px 10px; margin:-14px -6px -10px; scrollbar-width:none;
        -webkit-overflow-scrolling:touch; }
      .qnstrip::-webkit-scrollbar { display:none; }
      .qnstrip > * { flex:0 0 auto; }
      .qnstripwrap { display:flex; align-items:center; gap:12px; }
      .qnstripwrap > .qnstrip { flex:1 1 auto; min-width:0; }
      .qnstripwrap > .qncrumple { flex:0 0 auto; margin-right:2px; }
      .qnpost { -webkit-appearance:none; appearance:none; position:relative; width:48px; height:44px; padding:12px 5px 4px; border:none; cursor:pointer;
        background:var(--pi); border-radius:3px 3px 10px 3px; transform:rotate(var(--tilt)); box-shadow:0 3px 8px rgba(0,0,0,.22);
        transition:transform .2s cubic-bezier(.34,1.4,.64,1); font:inherit; text-align:left; isolation:isolate; }
      .qnpost:hover, .qnpost:focus-visible { transform:rotate(0) translateY(-2px) scale(1.06); z-index:5; }
      /* Masaustunde sondaki bos post-it: kesikli kenar, "Ekle". */
      .qnaddpost { background:transparent; box-shadow:none; border:1.5px dashed color-mix(in srgb, var(--primary-ink) 55%, transparent); color:var(--primary-ink);
        padding:0; display:grid; place-items:center; align-content:center; gap:0; line-height:1; border-radius:3px 3px 10px 3px; }
      .qnaddplus { font-size:17px; font-weight:700; line-height:1; }
      .qnaddlbl { font-size:9.5px; font-weight:800; letter-spacing:.03em; }
      .qnaddpost:hover, .qnaddpost:focus-visible { background:color-mix(in srgb, var(--primary-ink) 10%, transparent); }
      /* Ruzgar: notlar raptiyeden asili, esinti saga-soldan gelir; en sagdaki once, her biri biraz gec, sonunda duruyor. Siddet --ga. */
      .qnpost { transform-origin:50% 0; }
      .qnpins.gust0 .qnpost { animation:qnsway0 1.9s cubic-bezier(.3,.6,.4,1) both; }
      .qnpins.gust1 .qnpost { animation:qnsway1 1.9s cubic-bezier(.3,.6,.4,1) both; }
      .qnpins.gust0 .qnpost, .qnpins.gust1 .qnpost { animation-delay:var(--gd, 0s); }
      .qnpins.gust0 .qnpost:hover, .qnpins.gust1 .qnpost:hover { animation:none; }
      @keyframes qnsway0 {
        0% { rotate:0deg; } 14% { rotate:calc(var(--ga) * -1); } 32% { rotate:calc(var(--ga) * .62); } 50% { rotate:calc(var(--ga) * -.38); }
        68% { rotate:calc(var(--ga) * .2); } 84% { rotate:calc(var(--ga) * -.08); } 100% { rotate:0deg; }
      }
      /* Ayni hareket iki adla: sinif degisince ad degismezse tarayici animasyonu yeniden baslatmiyor (ikinci esinti sallamiyordu). */
      @keyframes qnsway1 {
        0% { rotate:0deg; } 14% { rotate:calc(var(--ga) * -1); } 32% { rotate:calc(var(--ga) * .62); } 50% { rotate:calc(var(--ga) * -.38); }
        68% { rotate:calc(var(--ga) * .2); } 84% { rotate:calc(var(--ga) * -.08); } 100% { rotate:0deg; }
      }
      .qnposttack { position:absolute; top:-9px; left:50%; transform:translateX(-50%); font-size:14px; line-height:1; isolation:isolate; }
      .qnposttack svg { display:block; width:1.25em; height:1.25em; overflow:visible; } /* PinTack: golge cizimin icinde, ignenin ucunda */
      .qnpostline { display:block; font-size:8.5px; line-height:1.15; color:#3a3320; overflow:hidden; max-height:2.3em; word-break:break-word; }
      .qnpostbub { position:absolute; top:calc(100% + 12px); left:50%; transform:translateX(-50%) translateY(-4px); width:max-content; max-width:260px;
        background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:14px; padding:10px 12px; font-size:13px; line-height:1.45;
        box-shadow:0 12px 30px rgba(0,0,0,.25); opacity:0; pointer-events:none; transition:opacity .15s, transform .15s; z-index:60; white-space:normal; }
      .qnpostbub::before { content:""; position:absolute; top:-7px; left:50%; width:12px; height:12px; background:inherit; border-left:1px solid var(--line);
        border-top:1px solid var(--line); transform:translateX(-50%) rotate(45deg); }
      .qnpostbub em { display:block; margin-top:5px; font-style:normal; font-size:11.5px; font-weight:700; color:var(--primary-ink); }
      .qnpost:hover .qnpostbub, .qnpost:focus-visible .qnpostbub { opacity:1; transform:translateX(-50%) translateY(0); }
      .qnpost.edge .qnpostbub { left:auto; right:-10px; transform:translateY(-4px); }
      .qnpost.edge .qnpostbub::before { left:auto; right:22px; transform:rotate(45deg); }
      .qnpost.edge:hover .qnpostbub, .qnpost.edge:focus-visible .qnpostbub { transform:translateY(0); }
      .qnpost.ring::after { content:""; position:absolute; inset:-6px; z-index:-1; border-radius:12px; pointer-events:none;
        background:radial-gradient(closest-side, color-mix(in srgb, var(--pi) 85%, transparent), transparent); animation:qnpostglow 2.4s ease-in-out infinite; }
      @keyframes qnpostglow { 0%,100% { opacity:.35; transform:scale(.92); } 50% { opacity:1; transform:scale(1.12); } }
      /* Buruşuk not topu (src/note-copies.js): etiketlendigim notun kopyasi acilana kadar. Yalnizca transform + opacity. */
      .qncrumple { -webkit-appearance:none; appearance:none; position:relative; width:44px; height:44px; padding:0; border:none; background:transparent; cursor:pointer;
        transform:rotate(var(--tilt)); animation:qnwobble 4.6s ease-in-out infinite; filter:drop-shadow(0 3px 5px rgba(0,0,0,.28)); font:inherit; }
      .qncrumple svg { display:block; width:100%; height:100%; overflow:visible; }
      /* Cizgi film buruşuk kagit (kullanici, 2026-11-04): kalin koyu kenar, duz dolgu, acik bir kanat. */
      .qncbody { fill:var(--pi); stroke:#1B2420; stroke-width:2.2; stroke-linejoin:round; }
      .qncshade { fill:#fff; opacity:.35; }
      .qncfold { fill:none; stroke:#1B2420; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
      .qncrumple:hover, .qncrumple:focus-visible { animation:none; transform:rotate(var(--tilt)) scale(1.1); z-index:5; }
      .qncrumple .qnpostbub { top:calc(100% + 10px); }
      .qncrumple:hover .qnpostbub, .qncrumple:focus-visible .qnpostbub { opacity:1; transform:translateX(-50%) translateY(0); }
      .qncrumple.edge .qnpostbub { left:auto; right:-10px; transform:translateY(-4px); }
      .qncrumple.edge .qnpostbub::before { left:auto; right:22px; transform:rotate(45deg); }
      .qncrumple.edge:hover .qnpostbub, .qncrumple.edge:focus-visible .qnpostbub { transform:translateY(0); }
      .qncount { position:absolute; top:-6px; right:-8px; min-width:18px; height:18px; padding:0 5px; box-sizing:border-box; border-radius:9px; background:var(--red);
        color:#fff; font-size:11px; font-weight:800; line-height:18px; text-align:center; }
      .qncrumple.unfold { animation:qnunfold .52s cubic-bezier(.3,.7,.4,1) forwards; }
      @keyframes qnbob { 0%, 100% { transform:rotate(var(--tilt)) translateY(2px); } 50% { transform:rotate(var(--tilt)) translateY(-3px); } }
      @keyframes qnwobble { 0%, 100% { transform:rotate(var(--tilt)); } 50% { transform:rotate(calc(var(--tilt) + 7deg)) translateY(-1px); } }
      @keyframes qnunfold { 0% { transform:rotate(var(--tilt)) scale(1); opacity:1; } 45% { transform:rotate(calc(var(--tilt) + 28deg)) scale(.7); opacity:1; }
        100% { transform:rotate(0) scale(1.35); opacity:0; } }
      .qnpost.arrive { animation:qnarrive .42s cubic-bezier(.3,1.4,.5,1) both; }
      @keyframes qnarrive { from { transform:rotate(0) scale(.6); opacity:0; } to { transform:rotate(var(--tilt)) scale(1); opacity:1; } }
      /* Acik halde notun sol altinda gonderenin bas harfi: bu not ekip uyesinden geldi. */
      .qnfromico { position:absolute; left:-5px; bottom:-6px; width:16px; height:16px; border-radius:50%; background:var(--ink); color:var(--surface);
        font-size:9px; font-weight:800; line-height:16px; text-align:center; box-shadow:0 0 0 2px var(--pi); }
      /* Notlar listesinde "Karina seni etiketledi". */
      .qnfromchip { display:inline-flex; align-items:center; gap:5px; padding:1px 8px 1px 2px; border-radius:999px; font-weight:700;
        background:color-mix(in srgb, var(--primary) 12%, transparent); color:var(--primary-ink); }
      .qnfromchip i { display:inline-block; width:16px; height:16px; border-radius:50%; background:var(--primary); color:var(--on-primary); font-style:normal; font-size:9px; font-weight:800; line-height:16px; text-align:center; }
      .qnseen { color:var(--primary-ink); font-weight:700; }
      /* Telefonda asili notu acmak: ekranda buyuk post-it; her yere dokununca kapanir (NotePeek). */
      .qnpeek { position:fixed; inset:0; z-index:59; display:grid; place-items:center; padding:24px; box-sizing:border-box; cursor:pointer;
        background:rgba(14,33,27,.5); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); animation:qnpeekbg .2s ease both; }
      .qnpeekcard { position:relative; width:min(82vw, 320px); min-height:231px; box-sizing:border-box; padding:30px 20px 58px;
        background:var(--pi); color:#3a3320; border-radius:4px 4px 18px 4px; transform:rotate(-2deg); box-shadow:0 18px 44px rgba(0,0,0,.38);
        animation:qnpeekin .38s cubic-bezier(.3,1.4,.5,1) both; }
      .qnpeekcard .qnposttack { top:-12px; font-size:22px; }
      /* Dokunulabilir igne: notu ekrandaki sabit not alanina asar (kullanici, 2026-11-11). Ustune gelince balon. */
      .qnposttack.qntackbtn { -webkit-appearance:none; appearance:none; padding:2px; margin:0; border:0; background:transparent; cursor:pointer; z-index:3; border-radius:50%; color:inherit; font-family:inherit; }
      .qntackbtn svg { transition:transform .18s cubic-bezier(.34,1.56,.64,1), opacity .18s, filter .18s; }
      @media (hover:hover) { .qntackbtn:hover svg { transform:translateY(-2px) rotate(-6deg); } }
      /* Asili degilken soluk, asiliyken normal renginde (kullanici, 2026-11-11). */
      .qntackbtn:not(.on) svg { opacity:.68; filter:grayscale(.45); } /* .42 cok soluktu (kullanici, 2026-11-14) */
      @media (hover:hover) { .qntackbtn:not(.on):hover svg { opacity:.88; } }
      .qntackbtn:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      .qntacktip { position:absolute; bottom:calc(100% + 6px); left:50%; transform:translate(-50%, 3px); white-space:nowrap; padding:4px 9px; border-radius:8px;
        background:var(--ink); color:var(--surface); font-size:12px; font-weight:700; line-height:1.3; pointer-events:none; opacity:0; transition:opacity .12s, transform .12s; }
      @media (hover:hover) { .qntackbtn:hover .qntacktip { opacity:1; transform:translate(-50%, 0); } }
      .qntackbtn:focus-visible .qntacktip { opacity:1; transform:translate(-50%, 0); }
      .qnpeekmeta { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:10px; font-size:12px; font-weight:700; opacity:.85; }
      .qnpeekfrom { display:inline-flex; align-items:center; gap:5px; }
      .qnpeekfrom i { width:18px; height:18px; border-radius:50%; background:#3a3320; color:var(--pi); font-style:normal; font-size:10px; font-weight:800; line-height:18px; text-align:center; }
      .qnpeekedit { display:block; width:100%; box-sizing:border-box; resize:none; border:none; outline:none; background:transparent; padding:0; margin:0;
        font:inherit; font-size:18px; line-height:1.4; font-weight:600; color:inherit; caret-color:currentColor; max-height:calc(70dvh - 150px); overflow:auto; cursor:text; }
      .qnpeektext { font-size:18px; line-height:1.4; font-weight:600; word-break:break-word; white-space:pre-wrap; max-height:calc(70dvh - 150px); overflow:auto; }
      .qnpeekbin { -webkit-appearance:none; appearance:none; position:absolute; left:12px; bottom:10px; width:40px; height:40px; padding:0; border:none; background:transparent; cursor:pointer;
        display:grid; place-items:center; filter:drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
      .qnpeekbin svg { width:26px; height:26px; display:block; }
      /* Masaustunde yeni not: post-it'e dogrudan yazilir (NoteWrite). Altta sagda etiket, renk ve OK. */
      .qnwrite .qnpeekcard { width:min(88vw,440px); min-height:330px; padding:34px 22px 70px; }
      .qnwritetext { display:block; width:100%; min-height:190px; max-height:calc(70dvh - 160px); box-sizing:border-box; resize:none; border:none; outline:none; background:transparent;
        font:inherit; font-size:19px; line-height:1.4; font-weight:600; color:#3a3320; padding:0; caret-color:#3a3320; }
      .qnwritetext::placeholder { color:rgba(58,51,32,.45); font-weight:500; }
      .qnwnudge { position:absolute; left:22px; right:22px; bottom:62px; display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:12px; font-weight:700; line-height:1.3; color:#3a3320; animation:qnpeekbg .2s ease both; }
      /* Disari dokunus yazili notu kapatmiyor: kart ve uyari titriyor (kullanici, 2026-11-08). "translate" ozelligi kartin egik
         transform'una eklenir, onu ezmez. Uyari her seferinde yeniden basiliyor (key), yani o da her dokunusta titriyor. */
      .qnpeekcard.qnshake { animation:qnshake .42s cubic-bezier(.36,.07,.19,.97) both; }
      .qnwnudge:not(.warn) { animation:qnshake .42s cubic-bezier(.36,.07,.19,.97) both; }
      .qnwnudge .qnwdiscard { animation:qnwpulse .9s ease-out .3s 2; }
      @keyframes qnshake { 10%, 90% { translate:-1px 0; } 20%, 80% { translate:3px 0; } 30%, 50%, 70% { translate:-6px 0; } 40%, 60% { translate:6px 0; } 100% { translate:0 0; } }
      @keyframes qnwpulse { 0% { box-shadow:0 0 0 0 rgba(138,43,28,.45); } 100% { box-shadow:0 0 0 10px rgba(138,43,28,0); } }
      @media (prefers-reduced-motion: reduce) { .qnpeekcard.qnshake, .qnwnudge, .qnwnudge .qnwdiscard { animation:none; } }
      .qnwdiscard { -webkit-appearance:none; appearance:none; flex:0 0 auto; min-height:32px; padding:0 12px; border:1.5px solid rgba(58,51,32,.35); border-radius:16px; background:rgba(255,255,255,.5); color:#8a2b1c; font:inherit; font-size:12.5px; font-weight:800; cursor:pointer; }
      /* Gun, saat, hatirlat (kullanici, 2026-11-08): post-it'in araci. */
      .qnwhenbtn { gap:6px; padding:0 10px; }
      .qnwhenbtn svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }
      .qnwhenlbl { font-size:12.5px; white-space:nowrap; }
      .qnwhenbell { width:6px; height:6px; border-radius:50%; background:currentColor; flex:0 0 auto; }
      .qnwpop.qnwhenpop { flex-direction:column; flex-wrap:nowrap; align-items:stretch; gap:8px; min-width:236px; color:var(--ink); }
      /* Takvime ekle (K-622, K-623): kapali baslik + "Gruplara gore"nin cift oku; acilinca uc ayri takvim, ikon ustte. */
      .calrow { display:flex; flex-direction:column; gap:8px; }
      .qnwhenpop .calrow { margin-top:2px; padding-top:8px; border-top:1px solid var(--line); }
      .callbl { display:inline-flex; align-items:center; gap:6px; align-self:flex-start; margin:0; padding:4px 2px; border:0; background:transparent; font:inherit; font-size:12.5px; font-weight:600; color:var(--dim); cursor:pointer; border-radius:8px; }
      @media (hover:hover) { .callbl:hover { color:var(--primary-ink); } }
      .calrow.open .callbl { color:var(--primary-ink); }
      .callbl:focus-visible, .calbtn:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      .callbl .calcal { width:15px; height:15px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
      .callbl .spbdc { width:16px; height:16px; flex:none; }
      .calrow.open .callbl .spbdc { transform:rotate(180deg); }
      .calrow:not(.open) .callbl .spbdc path { animation:spbdc 1.8s ease-in-out infinite; }
      .calrow:not(.open) .callbl .spbdc path:nth-child(2) { animation-delay:.3s; }
      @media (prefers-reduced-motion:reduce) { .calrow:not(.open) .callbl .spbdc path { animation:none; } }
      .calopen { display:flex; flex-direction:column; gap:8px; animation:calin .22s cubic-bezier(.34,1.3,.64,1); transform-origin:top center; }
      @keyframes calin { from { opacity:0; transform:translateY(-4px) scale(.98); } to { opacity:1; transform:none; } }
      @media (prefers-reduced-motion:reduce) { .calopen { animation:none; } }
      .calbtns { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:6px; }
      .calbtn { display:flex; align-items:center; justify-content:center; min-height:44px; padding:6px 4px; margin:0; border:1px solid var(--line); border-radius:var(--r-ctl, 12px); background:var(--surface); color:var(--ink); font:inherit; font-size:12px; font-weight:600; cursor:pointer; min-width:0; }
      @media (hover:hover) { .calbtn:hover { border-color:var(--primary); } }
      .calbtn:active { transform:scale(.97); }
      .calbtn .calico { width:22px; height:22px; flex:none; }
      .calbtn .calico.apple { fill:currentColor; }
      .calhint { font-size:12px; color:var(--dim); line-height:1.4; }
      .tkcal { margin:2px 18px 14px; }
      .tkcal .calbtns { max-width:330px; }
      .qnwhenrow { display:flex; align-items:center; gap:6px; }
      .qnwhenchip { -webkit-appearance:none; appearance:none; flex:0 0 auto; height:34px; padding:0 12px; border:1px solid var(--line); border-radius:17px; background:var(--surface); color:var(--ink); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
      .qnwhenchip.on { background:var(--sel-bg); border-color:var(--sel-bg); color:#fff; }
      .qnwhentime { flex:0 0 112px; width:112px; } /* saat dar (kullanici, 2026-11-08) */
      .qnwhendate { flex:1 1 auto; }
      .qnwhendate, .qnwhentime { min-width:0; height:34px; padding:0 8px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--ink); font:inherit; font-size:13px; }
      .qnwhentime:disabled { opacity:.45; }
      /* Bos tarih/saat alaninin etiketi (2026-11-14): sarmalayici boyu tasiyor, input onu dolduruyor. */
      .qnwhenfld { position:relative; display:flex; min-width:0; }
      .qnwhenfld.date { flex:1 1 auto; } .qnwhenfld.time { flex:0 0 112px; width:112px; }
      .qnwhenfld .qnwhendate, .qnwhenfld .qnwhentime { flex:1 1 auto; width:100%; }
      .qnwhenfld:not(.has) input:not(:focus) { color:transparent; }
      .qnwhenfld:not(.has) input:not(:focus)::-webkit-datetime-edit { color:transparent; }
      .qnwhenfld:not(.has) input::-webkit-calendar-picker-indicator { opacity:0; } /* bosken yerini kendi ikonumuz tutuyor, tiklanabilir kaliyor */
      .qnwhenph { position:absolute; left:9px; right:6px; top:50%; transform:translateY(-50%); display:flex; align-items:center; gap:6px; pointer-events:none; color:var(--dim); font-size:12.5px; font-weight:600; white-space:nowrap; overflow:hidden; }
      .qnwhenph span { overflow:hidden; text-overflow:ellipsis; }
      .qnwhenph svg { width:15px; height:15px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
      .qnwhenfld:focus-within .qnwhenph { display:none; }
      .qnwhenfld.off .qnwhenph { opacity:.45; }
      .qnwhenpop .qnremind { flex:0 0 auto; }
      .qnwhensave { -webkit-appearance:none; appearance:none; flex:0 0 auto; margin-left:auto; display:inline-flex; align-items:center; gap:4px; height:28px; padding:0 10px 0 7px; border:0; border-radius:14px; background:var(--sel-bg); color:#fff; font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; }
      .qnwhensave svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
      .qnwhensave:active { transform:scale(.96); }
      .qnwhenclear { -webkit-appearance:none; appearance:none; align-self:flex-start; padding:2px 0; border:0; background:none; color:var(--dim); font:inherit; font-size:12.5px; font-weight:700; text-decoration:underline; cursor:pointer; }
      .qnwtools .qnwhenpop.tail::after { left:auto; right:16px; } /* yeni not: dugme sagda, kuyruk onu gostersin */
      @media (max-width:820px) {
        .qnwhendate, .qnwhentime { font-size:16px; }
        .qnwpop.qnwhenpop { min-width:0; width:260px; max-width:260px; }
        /* Saat, zil ve Kaydet ayni satirda (kullanici, 2026-11-10: pencere buyumesin). */
        .qnwhensave { padding:0 8px 0 5px; gap:3px; font-size:12px; }
        .qnwhensave svg { width:14px; height:14px; }
        .qnwhenrow { flex-wrap:wrap; }
        .qnwhenfld.date { flex-basis:100%; } .qnwhenfld.time { flex-basis:112px; width:112px; }
        .qnwhenph { font-size:13px; }
        .qnwtools .qnwpop.qnwhenpop { right:-20px; }
        .qnwtools .qnwhenpop.tail::after { right:36px; }
      } /* telefonda secici ekranda kalsin (375-390px'te olculdu) */
      .qnwnudge.warn { bottom:auto; top:8px; left:22px; right:22px; color:#8a2b1c; }
      .qnwtools { position:absolute; right:12px; bottom:10px; display:flex; align-items:center; gap:8px; }
      .qnwpopw { position:relative; display:inline-flex; }
      .qnwtool { -webkit-appearance:none; appearance:none; display:inline-flex; align-items:center; justify-content:center; gap:4px; min-width:40px; height:40px; padding:0 12px; box-sizing:border-box;
        border:1.5px solid rgba(58,51,32,.3); border-radius:20px; background:rgba(255,255,255,.4); color:#3a3320; font:inherit; font-size:13px; font-weight:800; cursor:pointer; transition:background .15s, border-color .15s, transform .15s; }
      .qnwtool:hover, .qnwtool[aria-expanded="true"] { background:rgba(255,255,255,.75); border-color:rgba(58,51,32,.55); }
      .qnwtool.on { background:#3a3320; color:var(--pi); border-color:#3a3320; }
      .qnwcolor { padding:0; width:34px; min-width:34px; height:34px; border:2px solid #000; }
      .qnwcolor:hover, .qnwcolor[aria-expanded="true"] { border-color:#000; }
      .qnwcolor .qnsw { width:20px; height:20px; background:var(--pi); border:none; box-shadow:none; pointer-events:none; }
      .qnwpop { position:absolute; right:0; bottom:calc(100% + 10px); z-index:6; display:flex; flex-wrap:wrap; gap:8px; padding:10px; max-width:300px; width:max-content;
        background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:0 14px 34px rgba(0,0,0,.28); }
      .qnwcolors { flex-direction:column; flex-wrap:nowrap; }
      .qnwpop.tail::after { content:""; position:absolute; bottom:-7px; left:var(--tx, 11px); width:12px; height:12px; background:var(--surface); border-right:1px solid var(--line); border-bottom:1px solid var(--line); transform:rotate(45deg); }
      .qnmsgticks { display:inline-block; margin-left:6px; vertical-align:-3px; }
      .qnmsgticks svg { width:15px; height:15px; }
      .qnpeekmeta .qnmsgticks { margin-left:auto; }
      .qnwok { -webkit-appearance:none; appearance:none; width:44px; height:44px; padding:0; border:none; border-radius:50%; background:#3a3320; color:var(--pi); cursor:pointer;
        display:grid; place-items:center; box-shadow:0 3px 8px rgba(0,0,0,.25); transition:transform .15s, opacity .15s, background .15s; }
      .qnwok svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
      .qnwok:hover:not(:disabled) { transform:scale(1.08); }
      .qnwok:active:not(:disabled) { transform:scale(.94); }
      .qnwok:disabled { opacity:.35; cursor:default; box-shadow:none; }
      @media (max-width:820px) {
        .qnwrite .qnpeekcard { min-height:0; padding:30px 18px 66px; }
        .qnwritetext { min-height:110px; max-height:calc(100% - 20px); font-size:18px; }
        .qnwrite .qnpeekcard .qnwritetext { max-height:40dvh; }
      }
      .qnticks { display:inline-flex; color:rgba(58,51,32,.42); transition:color .5s ease; }
      .qnticks.read { color:var(--pop); }
      .qnticks svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; display:block; }
      .qnpeekticks { position:absolute; right:14px; bottom:52px; }
      /* Sag altta Kaydet (etiket yok) ya da Gonder (etiket var, kagit ucak); Tamamla Durum menusunde (kullanici, 2026-11-05). */
      .qnpeekgo { -webkit-appearance:none; appearance:none; position:absolute; right:14px; bottom:13px; width:34px; height:34px; padding:0; border:none; border-radius:50%; background:#3a3320; color:var(--pi);
        cursor:pointer; display:grid; place-items:center; box-shadow:0 3px 8px rgba(0,0,0,.25); transition:transform .15s ease; }
      .qnpeekgo svg { width:18px; height:18px; display:block; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
      @media (hover:hover) { .qnpeekgo:hover { transform:scale(1.06); } }
      .qnpeekgo:active { transform:scale(.92); }
      .qnrowticks svg { width:15px; height:15px; }
      .qnrowticks { color:var(--faint); vertical-align:-3px; }
      @keyframes qnpeekbg { from { opacity:0; } to { opacity:1; } }
      @keyframes qnpeekin { from { opacity:0; transform:rotate(-9deg) scale(.6); } to { opacity:1; transform:rotate(-2deg) scale(1); } }
      @media (prefers-reduced-motion: reduce) { .qnremind.on .qnrbell { animation:none; } .qnpost.ring::after { animation:none; opacity:.8; } .qnpost { transition:none; } .hellopins .qncrumple { animation:none; } .qnpins .qnpost { animation:none !important; } }

      /* Etiketli notun acik hali (kullanici, 2026-11-05): etiket ve renk sonradan, yazisma, durum cipi. */
      .qnhdacts { display:inline-flex; align-items:center; gap:8px; }
      .qnboxpad { padding-bottom:0 !important; }
      .qnbox { display:flex; gap:8px; margin:0 0 10px; }
      .qnbox button { -webkit-appearance:none; appearance:none; flex:0 0 auto; height:34px; padding:0 16px; box-sizing:border-box; border:1px solid var(--line); border-radius:17px; background:var(--surface); color:var(--dim);
        font:inherit; font-size:13px; font-weight:700; cursor:pointer; transition:background .15s, color .15s, border-color .15s; }
      .qnbox button:not(.on):hover { color:var(--ink); border-color:var(--primary); }
      .qnbox button.on { background:var(--sel-bg); border-color:var(--sel-bg); color:#fff; }
      @media (max-width:820px) { .qnbox button { flex:1 1 0; } }
      .qnpeektools { display:flex; justify-content:flex-end; align-items:center; gap:8px; margin-top:8px; }
      .qnpeektools .qnwpop { bottom:auto; top:calc(100% + 8px); }
      .qnpeekcard.hasthread { display:flex; flex-direction:column; max-height:calc(100dvh - 56px); }
      .qnpeekcard.hasthread .qnpeekedit, .qnpeekcard.hasthread .qnpeektext { max-height:30dvh; flex:0 0 auto; }
      .qnthreadw { display:flex; flex-direction:column; gap:6px; margin-top:8px; min-height:0; flex:1 1 auto; cursor:default; }
      .qnthread { display:flex; flex-direction:column; gap:6px; overflow-y:auto; min-height:56px; max-height:168px; padding-top:8px; border-top:1px dashed rgba(58,51,32,.32);
        -webkit-overflow-scrolling:touch; overscroll-behavior:contain; }
      .qnthreadnone { font-size:12.5px; opacity:.6; }
      .qnreply { align-self:flex-start; max-width:88%; box-sizing:border-box; padding:5px 10px 6px; border-radius:12px 12px 12px 3px; background:rgba(255,255,255,.6); font-size:14px; line-height:1.35; word-break:break-word; }
      .qnreply b { display:block; font-size:11px; font-weight:800; opacity:.7; }
      .qnreply.sys { align-self:center; max-width:100%; background:none; padding:2px 6px; font-size:12.5px; font-style:italic; opacity:.75; text-align:center; } /* "X bu notu sildi" (kullanici, 2026-11-08) */
      .qnreply.mine { align-self:flex-end; border-radius:12px 12px 3px 12px; background:rgba(58,51,32,.14); }
      .qnreplyrow { display:flex; align-items:center; gap:6px; }
      .qnreplyin { flex:1 1 auto; min-width:0; height:36px; box-sizing:border-box; border:1px solid rgba(58,51,32,.3); border-radius:18px; background:rgba(255,255,255,.55); padding:0 12px;
        font:inherit; font-size:16px; color:#3a3320; outline:none; }
      .qnreplyin:focus { border-color:rgba(58,51,32,.7); background:rgba(255,255,255,.8); }
      .qnreplysend { -webkit-appearance:none; appearance:none; flex:0 0 36px; width:36px; height:36px; padding:0; border:none; border-radius:50%; background:#3a3320; color:var(--pi); cursor:pointer; display:grid; place-items:center; }
      .qnreplysend svg { width:18px; height:18px; fill:currentColor; }
      .qnreplysend:disabled { opacity:.35; cursor:default; }
      /* Acik post-it'in alt cubugu (kullanici, 2026-11-09): cop disindaki her dugme ayni 34px daire, araliklar esit (40px adim).
         Tarih etiketi dairenin icinde yazmiyor, gun ve saat notun ustunde zaten yaziyor. */
      .qnstatusw { position:absolute; left:56px; bottom:13px; }
      .qncolorw { position:absolute; left:96px; bottom:13px; }
      .qncolorw .qnwpop { right:auto; left:0; }
      .qnbarx { position:absolute; left:136px; bottom:13px; display:flex; align-items:center; gap:6px; }
      .qnbarx .qnwpop { right:auto; left:-70px; --tx:81px; }
      .qnbarx .qnclientpop { left:-110px; --tx:121px; flex-direction:column; flex-wrap:nowrap; align-items:stretch; gap:2px; min-width:170px; }
      .qnclientpop { max-width:min(300px, calc(100vw - 32px)); } @media (max-width:820px) { .qnbarx .qnclientpop { max-width:min(300px, calc(100vw - 140px)); } } .qnclientpop .qnperson { display:block; min-width:0; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-align:left; } /* uzun musteri adi tek satir, "..." (kullanici, 2026-11-08) */
      .qnpeekcard .qnbarx .qnwtool { width:34px; height:34px; min-width:34px; padding:0; border-radius:50%; gap:0; font-size:12px; }
      .qnpeekcard .qnbarx .qnwhenlbl { display:none; }
      .qnpeekcard .qnbarx .qnwhenbtn { position:relative; }
      .qnpeekcard .qnbarx .qnwhenbell { position:absolute; top:3px; right:3px; width:7px; height:7px; background:var(--pop); box-shadow:0 0 0 1.5px var(--pi); } /* hatirlatma acik: kosede nokta, daireyi bozmasin */
      .qnpeekcard .qnwcolor { border-radius:50%; }
      .qnclientbtn svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
      .qnpeekclient { padding:2px 8px; border-radius:10px; background:rgba(58,51,32,.12); }
      .qnpeekcard .qncolorw .qnwcolor { width:34px; height:34px; }
      .qnstatus { -webkit-appearance:none; appearance:none; display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; padding:0; box-sizing:border-box; border:1.5px solid rgba(58,51,32,.3); border-radius:50%;
        background:rgba(255,255,255,.55); color:#3a3320; cursor:default; }
      .qnstatus.edit { cursor:pointer; }
      .qnstatus.edit:hover { background:rgba(255,255,255,.85); }
      .qnstatus span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .qnstatus svg, .qnstatusopt svg { width:16px; height:16px; flex:0 0 16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
      .qnstatus.none { opacity:.75; }
      .qnstatus.viewed svg, .qnstatusopt.viewed svg { color:#3E6E9E; } .qnstatus.working svg, .qnstatusopt.working svg { color:#B26A00; }
      .qnstatus.review svg, .qnstatusopt.review svg { color:#7A4FB5; } .qnstatus.completed svg, .qnstatusopt.completed svg { color:#1E7A46; }
      .qnstatuspop { left:0; right:auto; flex-direction:column; flex-wrap:nowrap; gap:2px; padding:6px; min-width:184px; }
      .qnstatusopt { -webkit-appearance:none; appearance:none; display:flex; align-items:center; gap:9px; width:100%; height:38px; padding:0 10px; border:none; border-radius:10px; background:transparent;
        color:var(--ink); font:inherit; font-size:14px; font-weight:700; text-align:left; cursor:pointer; }
      .qnstatusopt:hover, .qnstatusopt.on { background:var(--mint); color:var(--primary-ink); }
      .qnstatusrow { display:flex; justify-content:space-between; gap:14px; padding:6px 10px; font-size:13.5px; color:var(--ink); }
      .qnstatusval { font-weight:700; color:var(--dim); } .qnstatusval.working { color:#B26A00; } .qnstatusval.review { color:#7A4FB5; } .qnstatusval.completed { color:#1E7A46; } .qnstatusval.viewed { color:#3E6E9E; }
      /* Etiketlendigim notlar: ara ekran, saga sola kayan kartlar (icerik yok). */
      .qninbox { position:fixed; inset:0; z-index:58; display:flex; flex-direction:column; justify-content:center; gap:14px; padding:24px 0; box-sizing:border-box;
        background:rgba(14,33,27,.5); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); animation:qnpeekbg .2s ease both; }
      .qninboxhd { align-self:center; color:#fff; font-size:15px; font-weight:800; display:flex; align-items:center; gap:8px; }
      .qninboxhd b { min-width:22px; height:22px; padding:0 6px; box-sizing:border-box; border-radius:11px; background:var(--red); font-size:12.5px; line-height:22px; text-align:center; }
      .qninboxrow { display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; padding:14px max(24px, calc(50% - 130px)); -webkit-overflow-scrolling:touch; scrollbar-width:none; }
      .qninboxrow::-webkit-scrollbar { display:none; }
      .qninboxcard { position:relative; flex:0 0 260px; scroll-snap-align:center; box-sizing:border-box; padding:22px 20px 18px; border-radius:4px 4px 18px 4px; background:var(--pi); color:#3a3320;
        box-shadow:0 14px 36px rgba(0,0,0,.34); display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
      .qninboxcard.fresh { animation:qninboxglow 2.2s ease-in-out infinite; }
      @keyframes qninboxglow { 0%,100% { box-shadow:0 14px 36px rgba(0,0,0,.34), 0 0 0 0 rgba(255,255,255,0); } 50% { box-shadow:0 14px 36px rgba(0,0,0,.34), 0 0 0 5px rgba(255,255,255,.55); } }
      @media (prefers-reduced-motion: reduce) { .qninboxcard.fresh { animation:none; box-shadow:0 14px 36px rgba(0,0,0,.34), 0 0 0 3px rgba(255,255,255,.55); } }
      .qninboxnew { position:absolute; top:10px; right:12px; padding:2px 9px; border-radius:10px; background:#3a3320; color:var(--pi); font-size:11px; font-weight:800; letter-spacing:.02em; }
      .qninboxball { width:38px; height:38px; margin-bottom:4px; }
      .qninboxwho { font-size:16px; font-weight:800; }
      .qninboxwhen { font-size:13px; font-weight:600; opacity:.75; }
      .qninboxopen { -webkit-appearance:none; appearance:none; margin-top:10px; height:36px; padding:0 18px; border:1px solid rgba(58,51,32,.4); border-radius:18px; background:rgba(255,255,255,.5);
        color:#3a3320; font:inherit; font-size:14px; font-weight:700; cursor:pointer; }
      .qninboxopen:hover { background:rgba(255,255,255,.85); }
      /* Acik notlarin kaydiricisi (NoteDeck, masaustu yuzen dugme). Ekle karti solda sabit, notlar yaninda kayiyor. */
      .qndeck .qninboxhd b.qndeckn { background:rgba(255,255,255,.22); }
      /* Kartlar yayda (fanPose, JS her kaydirmada --ty/--rot yaziyor), ust uste biniyor (eldeki iskambil gibi), kenarlar
         maskeyle soluyor; "Yeni not ekle" kucuk ve kartlarin altinda ortada (kullanici, 2026-11-09). Satirin yan dolgusu
         yarim ekran eksi yarim kart: ilk ve son kart da ortaya gelebiliyor. */
      .qndeckwrap { display:flex; flex-direction:column; align-items:center; gap:10px; min-width:0; }
      .qndeckrow { align-self:stretch; min-width:0; padding:26px calc(50% - 110px) 84px; margin:-10px 0 -50px; gap:0; cursor:grab; overflow-x:auto; overscroll-behavior-x:contain;
        scroll-snap-type:x proximity; scroll-padding-inline:calc(50% - 110px);
        -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image:linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
      /* Kaydiricidan bir not acilinca (kullanici, 2026-11-09) kaydirici arkada kaliyor: geri cekilip soluyor, post-it one
         zoom'lanmis gibi. Post-it kapaninca geri geliyor. Post-it bir kat ustte (.qnpeek z 59). */
      .qndeck > .qninboxhd, .qndeck > .qndeckwrap { transition:transform .32s cubic-bezier(.22,1,.36,1), opacity .32s ease, filter .32s ease; }
      .app:has(.qnpeek) .qndeck > .qninboxhd, .app:has(.qnpeek) .qndeck > .qndeckwrap { transform:scale(.9); opacity:.55; filter:blur(1.5px); pointer-events:none; }
      @media (prefers-reduced-motion: reduce) { .qndeck > .qninboxhd, .qndeck > .qndeckwrap { transition:none; } }
      .qndeckrow.dragging { cursor:grabbing; scroll-snap-type:none; user-select:none; }
      .qndeckrow.dragging .qndeckcard { pointer-events:none; }
      .qndeckadd { -webkit-appearance:none; appearance:none; position:relative; z-index:2; display:inline-flex; align-items:center; gap:8px; height:38px; padding:0 16px 0 6px; box-sizing:border-box;
        border:1.5px dashed rgba(255,255,255,.75); border-radius:19px; background:rgba(255,255,255,.08); color:#fff; font:inherit; font-size:13.5px; font-weight:800; cursor:pointer;
        transition:background .2s, border-color .2s, transform .15s; }
      .qndeckadd:hover { background:rgba(255,255,255,.18); border-color:#fff; transform:translateY(-1px); }
      .qndeckplus { width:26px; height:26px; border-radius:50%; border:1.5px dashed currentColor; display:grid; place-items:center; font-size:17px; font-weight:600; line-height:1; }
      .qndeckcard { -webkit-appearance:none; appearance:none; border:0; font:inherit; text-align:left; cursor:pointer; flex:0 0 220px; height:240px; scroll-snap-align:center;
        position:relative; justify-content:space-between; box-shadow:0 8px 18px rgba(0,0,0,.26); transform-origin:50% 100%;
        transform:translateY(var(--ty, 0px)) rotate(var(--rot, 0deg)); transition:transform .12s ease-out; }
      .qndeckcard + .qndeckcard { margin-left:-34px; }
      .qndeckcard:hover { transform:translateY(calc(var(--ty, 0px) - 14px)) rotate(var(--rot, 0deg)) scale(1.03); z-index:200 !important; transition:transform .18s cubic-bezier(.34,1.56,.64,1); }
      .qndecktext { font-size:15px; font-weight:600; line-height:1.4; white-space:pre-wrap; overflow-wrap:anywhere; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:7; overflow:hidden; }
      .qndeckmeta { display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; opacity:.8; min-height:18px; }
      .qndeckday.late { color:#B42318; opacity:1; }
      .qndeckbell { display:inline-flex; width:15px; height:15px; } .qndeckbell svg { width:100%; height:100%; }
      .qndeckat { margin-left:auto; font-weight:800; }
      .qndeckempty { color:#fff; font-size:14px; font-weight:600; margin:0; align-self:center; opacity:.85; }
      @media (prefers-reduced-motion: reduce) { .qndeckcard, .qndeckadd { transition:none; } }
      /* Telefonda da kaydirici (kullanici, 2026-11-09, K-581): kartlar kucuk, parmakla kayiyor, ust uste binme az. */
      @media (max-width:820px) {
        .qndeckrow, .qndeckrow.dragging { padding:22px calc(50% - 80px) 70px; margin:-8px 0 -42px; cursor:auto; scroll-snap-type:none; overflow-x:hidden; touch-action:pan-y;
          -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image:linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
        .qndeckcard { flex-basis:160px; height:184px; padding:16px 14px 12px; transition:none; }
        .qndeckcard + .qndeckcard { margin-left:-22px; }
        .qndeckcard:hover { transform:translateY(var(--ty, 0px)) rotate(var(--rot, 0deg)); }
        .qndecktext { font-size:14px; -webkit-line-clamp:6; }
        .qndeckadd { height:44px; }
      }
      /* Telefon: minik top (%60) uc yuva doluyken notlar arasinda, ustte; acik notta raptiye yok; seritteki raptiye %20 kucuk. */
      .qnstripwrap { position:relative; }
      .qncrumple.mini { position:absolute; width:26px; height:26px; top:-10px; left:121px; z-index:4; animation:none; }
      .qncrumple.mini .qncount { top:-7px; right:-9px; min-width:16px; height:16px; line-height:16px; font-size:10px; padding:0 4px; }
      @media (max-width:820px) {
        /* igne telefonda da var (kullanici, 2026-11-11), masaustundeki gibi golgesiyle */
        .qnpost .qnposttack { font-size:11.2px; top:-7px; }
      }
      /* Telefonda ust bar yok: asili notlar Genel Bakis'ta selamlamanin altinda (K-487). Masaustunde orada degil. */
      .hellopins { display:none; }
      @media (max-width:820px) {
        .topbar .qnpinzone { display:none; }
        .hellopins { display:block; position:relative; z-index:3; margin:14px 0 4px 4px; }
        .hellopins .qnpinzone { display:block; padding:0; }
        .hellopins .qnpins { margin:0; gap:16px; justify-content:flex-start; }
        .hellopins .qnpost { width:52px; height:48px; }
        .hellopins .qnpost:hover { transform:rotate(var(--tilt)); }
        .hellopins .qnpostbub { display:none; }
        .hellopins .qncbody { stroke-width:1.8; } .hellopins .qncfold { stroke-width:1.5; }
        .hellopins .qncrumple { animation:qnbob 3.4s ease-in-out infinite; }
      }
      /* Notlar listesi. Eskiden kartin dibinde, ince bir cizginin altinda,
         sonmus bir basliktaydi: acilista ekrana hic girmiyordu ve girdiginde
         de formun dipnotu gibi duruyordu. Artik kartin basinda ve kendi
         kutusu var: dolu bir zemin, kendi kenarligi, sayaci ve satirlari
         ayiran cizgiler. */
      /* Plan uyarilari. Banner .saveerr ailesinden: ayni yer, ayni bicim,
         yalnizca rengi plana ait. Yeni bir banner turu uretmek, ekranin
         altinda ikinci bir dil acmak olurdu. */
      /* Yazi murekkep rengi (kullanici, 2026-10-19: devirden sonra eski
         kurucunun "Yonetici yetkin beklemede" seridi okunmuyordu). .saveerr
         beyaz yazi veriyor ve bu acik zeminde beyaz kayboluyordu; kenarlik
         da hic cizilmiyordu, cunku yalnizca rengi vardi. Geri sayim seridi
         (GraceBanner) ayni sinifi tasiyor, ikisi birlikte duzeldi. */
      .saveerr.plangrace { border:1px solid var(--amber); background:color-mix(in srgb, var(--amber) 10%, var(--surface)); color:var(--ink); }
      .saveerr.plangrace b { color:var(--ink); }
      .saveerr.plangrace button { background:var(--surface); border-color:color-mix(in srgb, var(--amber) 70%, var(--ink)); color:var(--ink); }
      .saveerr.plangrace button:hover { background:color-mix(in srgb, var(--amber) 18%, var(--surface)); }
      .plangbig { margin:0 0 8px; font-size:17px; font-weight:800; }
      .plangsub { margin:0; font-size:14px; line-height:1.55; color:var(--ink-soft); }
      .planlockwait { margin:10px 0 0; font-size:13.5px; font-weight:700; color:var(--amber); }
      .modal.planlock { width:min(798px,100%); }
      .modal.planlock .xclose { display:none; }
      /* Kutucuklar uygulamanin renginde (.takerow ile ayni olcu ve jeton),
         tarayicinin mavisinde degil. */
      .planlockrow input { width:17px; height:17px; accent-color:var(--primary-ink); flex:0 0 auto; margin:0; }
      .planlockbody { display:grid; grid-template-columns:1fr 1fr; gap:16px; padding-top:0; }
      .planlocksec h3 { margin:0 0 7px; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--dim); }
      .planlockn { font-size:12px; font-weight:800; color:var(--primary-ink); letter-spacing:0; }
      /* Yukseltme dugmesi wordmark tasiyor, yani satir ici hizalanmali. */
      .planlockup { display:inline-flex; align-items:center; gap:6px; flex-wrap:wrap; }
      /* ".btn svg" her ikonu 15x15 yapiyor ve wordmark'i kareye eziyordu
         (olculdu). Burada genislik icerikten gelir, yukseklik logotype'in
         kendi olcusudur. */
      .planlockup svg { width:auto; height:15px; }
      /* "new" rozeti: kucuk, ustte, ve metnin bir parcasi degil. */
      .pznew { margin-left:5px; vertical-align:super; font-size:9.5px; font-weight:800; letter-spacing:.06em;
        text-transform:uppercase; color:var(--primary-ink); background:color-mix(in srgb, var(--primary-ink) 13%, transparent);
        border-radius:999px; padding:2px 6px; line-height:1; }
      .planlockn.over { color:var(--red); }
      /* Liste kendi icinde kayiyor: on ikinci musteri modali ekrandan
         asagi itmemeli, cunku kaydet dugmesi orada. */
      /* Yonetici secimi (plan-gate.jsx AdminPickModal). Kutu kendi olcusunde:
         mobil blogun .modal input { width:100% !important } kurali onu
         kirintiya ya da tam genislige cevirirdi. */
      /* Bekleyen degisikliklerin listesi (QueuedReview). Kutu kendi olcusunde,
         mobil blogun .modal input kuralina karsi. */
      .qrlist { display:flex; flex-direction:column; gap:6px; margin-top:10px; max-height:52vh; overflow-y:auto; }
      .qrrow { display:flex; align-items:center; gap:12px; padding:10px 12px; border:1px solid var(--line); border-radius:11px; cursor:pointer; }
      .qrrow.on { border-color:var(--primary); background:color-mix(in srgb, var(--primary) 7%, var(--surface)); }
      .modal .qrrow input { flex:0 0 auto; width:18px !important; height:18px; min-width:18px; margin:0; accent-color:var(--primary-ink); }
      .qrmain { flex:1; display:flex; flex-direction:column; gap:2px; min-width:0; }
      .qrname { display:flex; align-items:center; gap:7px; font-weight:700; font-size:14px; color:var(--ink); }
      .qrtag { font-style:normal; font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; padding:1px 7px; border-radius:99px; background:var(--bg); color:var(--dim); }
      .qrtag.new { background:color-mix(in srgb, var(--primary) 18%, var(--surface)); color:var(--primary-ink); }
      .qrsub { font-size:12px; color:var(--dim); }
      .qrdup { font-size:12px; font-weight:700; color:var(--pending, #9A4A12); }
      .qramt { font-size:14px; white-space:nowrap; }
      .qramt.in { color:var(--green); }
      .qramt.out { color:var(--red); }
      /* Basliktaki ikon ust bardaki "cevrimdisi" ikonunun aynisi (I.wifioff). */
      .qrtitle { display:inline-flex; align-items:center; gap:8px; }
      .qrtitle svg { width:18px; height:18px; flex:0 0 auto; color:#2F6FDB; }
      .app.dark .qrtitle svg { color:#7FA8F0; }
      /* Iptal solda ve kirmizi cerceveli; soru da ayni satirda, yerinde. */
      .formfoot .qrdiscard { margin-right:auto; }
      .qrask .qraskq { margin-right:auto; font-size:13.5px; font-weight:700; color:var(--ink); }
      /* "Simdi degil"den sonra kuculmus hali: sol altta, not dugmesinin
         (.qnfab) karsisinda ve onun dilinde. Bir pencere ya da yan panel
         acikken geri cekiliyor. */
      .qfab { position:fixed; z-index:50; left:18px; bottom:18px; display:flex; align-items:center; gap:10px;
        max-width:calc(100vw - 36px); min-height:52px; padding:6px 8px 6px 12px; border-radius:16px;
        border:1px solid var(--amberline); background:var(--surface); color:var(--ink); font:inherit; text-align:left;
        box-shadow:0 6px 20px rgba(14,33,27,.16); cursor:pointer; -webkit-appearance:none; appearance:none; }
      .qfab.off { cursor:default; padding-right:14px; }
      .app.dark .qfab { box-shadow:0 8px 24px rgba(0,0,0,.5); }
      .app:has(.overlay) .qfab, .app:has(.cddrawer) .qfab { display:none; }
      .app:has(.tmbar) .qfab { bottom:calc(18px + var(--tmbarh, 58px) + 8px); }
      .qfabicon { flex:0 0 auto; width:34px; height:34px; border-radius:10px; display:grid; place-items:center;
        background:color-mix(in srgb, var(--amber) 16%, var(--surface)); color:var(--pending); }
      .qfabicon svg { width:20px; height:20px; }
      /* Baglanti geri geldi: mavi ve kesiksiz wifi; yokken altin ve kesik. */
      .qfab:not(.off) { border-color:color-mix(in srgb, #2F6FDB 45%, var(--line)); }
      .qfab:not(.off) .qfabicon { background:color-mix(in srgb, #2F6FDB 14%, var(--surface)); color:#2F6FDB; }
      .app.dark .qfab:not(.off) .qfabicon { color:#7FA8F0; }
      .qfab:not(.off) .qfablbl { color:#2459B8; }
      .app.dark .qfab:not(.off) .qfablbl { color:#9BBCF3; }
      /* Baglanti yok kutusu: ayni yer, iki satirlik bir not ve Anladim. */
      .qfab.offcard { align-items:flex-start; width:360px; padding:10px 10px 10px 12px; }
      .qfab.offcard .qfablbl { white-space:normal; text-transform:none; letter-spacing:0; font-size:13.5px; color:var(--ink); }
      .qfabbody { font-size:12.5px; line-height:1.45; color:var(--dim); }
      .qfabok { flex:0 0 auto; align-self:center; padding:7px 12px; border-radius:10px; border:1px solid var(--line); background:var(--bg);
        color:var(--ink); font:inherit; font-size:13px; font-weight:700; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .qfabtxt { display:flex; flex-direction:column; gap:1px; min-width:0; }
      .qfablbl { font-size:10.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--pending); white-space:nowrap; }
      .qfabsnip { font-size:13.5px; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .qfabgo { flex:0 0 auto; margin-left:4px; padding:8px 12px; border-radius:11px; font-size:13px; font-weight:800;
        background:var(--primary); color:var(--on-primary); }
      @media (max-width: 820px) {
        .qfab { left:14px; bottom:calc(107px + env(safe-area-inset-bottom)); max-width:calc(100vw - 92px); padding-right:14px; }
        /* Telefonda yazili dugme yok: yer dar ve butun kutu zaten bir dugme. */
        .qfabgo { display:none; }
        .app:has(.tmbar) .qfab { bottom:calc(107px + var(--tmbarh, 56px) + 8px + env(safe-area-inset-bottom)); }
        .app:has(.mobscrim) .qfab { display:none; }
        .app:has(.qfab) main { padding-bottom:calc(85px + 66px + env(safe-area-inset-bottom)); }
      }
      .adminpicklist { display:flex; flex-direction:column; gap:6px; margin:12px 0 8px; }
      .adminpickrow { display:flex; align-items:center; gap:12px; padding:10px 12px; border:1px solid var(--line); border-radius:11px; cursor:pointer; }
      .adminpickrow.on { border-color:var(--primary); background:color-mix(in srgb, var(--primary) 8%, var(--surface)); }
      .modal .adminpickrow input { flex:0 0 auto; width:18px !important; height:18px; min-width:18px; margin:0; accent-color:var(--primary-ink); }
      .adminpickrow span { display:flex; flex-direction:column; min-width:0; }
      .adminpickrow b { font-size:14px; color:var(--ink); }
      .adminpickrow i { font-style:normal; font-size:12px; color:var(--dim); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .planlocklist { display:flex; flex-direction:column; gap:1px; max-height:289px; overflow-y:auto;
        border:1px solid var(--line); border-radius:10px; padding:5px; background:var(--bg); }
      .planlockrow { display:flex; align-items:center; gap:9px; padding:8px 8px; border-radius:7px; cursor:pointer; min-height:38px; }
      .planlockrow .stpill { flex:0 0 auto; margin-left:auto; }
      /* Sutun basliklari. Listenin kendisiyle ayni ic bosluk, yoksa baslik
         satirin uzerinde durmuyor gibi gorunuyor. */
      .planlockhd { display:flex; align-items:center; justify-content:space-between; padding:0 13px 4px; }
      .planlocksort { display:inline-flex; align-items:center; gap:3px; border:none; background:transparent; cursor:pointer;
        font:inherit; font-size:11.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--dim); padding:3px 0; }
      .planlocksort.on { color:var(--ink); }
      .planlockcar { width:13px; height:13px; opacity:.25; transition:transform .15s ease; }
      .planlockcar.on { opacity:1; }
      .planlockcar.down { transform:rotate(180deg); }
      .plangask { margin:9px 0 0; font-size:14px; font-weight:700; line-height:1.5; }
      .planlockrow.on { background:var(--surface); }
      .planlockrow.fixed { cursor:default; opacity:.75; }
      .planlocktxt { flex:1 1 auto; min-width:0; font-size:13.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      @media (max-width:820px){
        .planlockbody { grid-template-columns:1fr; }
        .planlocklist { max-height:170px; }
      }
      /* Pro karsilamasi. Dar bir kart: okunacak dort satir var, bir ekran
         dolusu degil. */
      .modal.prowel { width:min(400px,100%); }
      .prowelbig { margin:0 0 4px; font-size:20px; font-weight:800; line-height:1.3; }
      .prowelsub { margin:0 0 14px; font-size:14.5px; line-height:1.5; color:var(--ink-soft); }
      /* Wordmark basligin icinde, yaziyla ayni satirda: kendi yuksekligi var
         ve satiri buyutmesin diye taban hizasina oturtuluyor. */
      .modal.prowel .modalhd h2 { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
      .prowelmark { display:block; }
      .prowellist { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
      .prowellist li { display:flex; align-items:center; gap:9px; font-size:14px; }
      .prowellist svg { width:18px; height:18px; flex:0 0 auto; color:var(--primary-ink); }
      /* Sayac: butun acik notlar. Gecikmis biri varsa kirmizi, yoksa temanin
         rengi. Dugmenin sag ust kosesine biniyor. */
      .qnbadge { position:absolute; top:-3px; right:-4px; min-width:21px; height:21px; padding:0 6px; border-radius:999px;
        display:grid; place-items:center; font-size:11.5px; font-weight:800; line-height:1;
        background:var(--primary); color:var(--on-primary); border:2px solid var(--bg); font-variant-numeric:tabular-nums; }
      .qnbadge.late { background:var(--red); color:#fff; }
      /* Gorevler ve notlar ayni kartin iki sekmesi; baslik yerine duruyorlar. */
      .tkviews { display:flex; gap:4px; background:var(--bg); border:1px solid var(--line); border-radius:11px; padding:3px; }
      .tkview { display:inline-flex; align-items:center; gap:6px; border:none; background:transparent; font:inherit;
        font-size:13px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; color:var(--dim);
        padding:6px 13px; border-radius:8px; cursor:pointer; }
      .tkview.on { background:var(--surface); color:var(--ink); box-shadow:0 1px 3px rgba(14,33,27,.12); }
      .tkviewn { min-width:19px; height:19px; padding:0 5px; border-radius:999px; display:grid; place-items:center;
        font-size:11px; letter-spacing:0; background:var(--primary); color:var(--on-primary); font-variant-numeric:tabular-nums; }
      .tkviewn.late { background:var(--red); color:#fff; }
      /* Bir notu bitirmek: tik yavasca ciziliyor, ucundan temanin renginde
         noktalar sacilip soluyor, sonra satir kapaniyor (quick-notes.jsx
         FINISH_MS = 1150 bu uc surenin toplami). Konfeti degil. */
      .qncheck { position:relative; }
      .qncheck svg path { stroke-dasharray:1; stroke-dashoffset:0; }
      .qnitem.finishing .qncheck { background:var(--primary); border-style:solid; border-color:var(--primary); animation:qnpop .45s ease-out; }
      .qnitem.finishing .qncheck svg { stroke:#0E211B; }
      .qnitem.finishing .qncheck svg path { animation:qntick .5s cubic-bezier(.6,0,.3,1) both; }
      .qnitem.finishing .qnline { color:var(--dim); text-decoration:line-through; transition:color .3s; }
      .qnitem.finishing { overflow:hidden; animation:qnleave .45s ease-in-out .8s both; }
      @keyframes qntick { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
      @keyframes qnpop { 0% { transform:scale(.8); } 60% { transform:scale(1.15); } 100% { transform:scale(1); } }
      /* Once soluyor, SONRA kapaniyor. Ikisi birlikteyken satir gorunurken
         eziliyordu: yarim kesilmis bir satir listede bir an duruyordu. */
      @keyframes qnleave {
        0% { opacity:1; max-height:var(--h, 80px); }
        45% { opacity:0; max-height:var(--h, 80px); }
        100% { opacity:0; max-height:0; padding-top:0; padding-bottom:0; margin-bottom:-6px; border-width:0; }
      }
      .qnburst { position:absolute; left:50%; top:50%; width:0; height:0; pointer-events:none; }
      .qnburst i { position:absolute; left:-2.5px; top:-2.5px; width:5px; height:5px; border-radius:50%; background:var(--primary);
        opacity:0; animation:qnspark .55s cubic-bezier(.2,.7,.3,1) .4s both; }
      .qnburst i:nth-child(odd) { background:var(--primary-ink); width:4px; height:4px; }
      @keyframes qnspark {
        0% { opacity:0; transform:rotate(var(--a)) translateY(-8px) scale(1); }
        12% { opacity:1; }
        100% { opacity:0; transform:rotate(var(--a)) translateY(calc(-1 * var(--d))) scale(.4); }
      }
      .qnitem.arrived { animation:qnarrive .45s ease-out; }
      @keyframes qnarrive { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
      @media (prefers-reduced-motion: reduce) {
        .qnitem.finishing, .qnitem.finishing .qncheck, .qnitem.finishing .qncheck svg path, .qnburst i, .qnitem.arrived { animation:none; }
      }
      /* "Completed" basligi: tik ikonu, ve gruplarin basliklarindan biraz
         daha kalin, cunku bir buton. */
      .qndonehd { display:inline-flex; align-items:center; gap:7px; font-weight:800; color:var(--ink-soft); font-size:12.5px; }
      .qndoneico { width:18px; height:18px; border-radius:50%; background:var(--primary); display:grid; place-items:center; }
      .qndoneico svg { width:12px; height:12px; fill:none; stroke:#0E211B; stroke-width:2.8; stroke-linecap:round; stroke-linejoin:round; }
      /* Masaustunde Tasks/Notes karti soldaki sayac kartinin boyunda, iki
         sekmede de: kart satirin yuksekligini almiyor (height:0), ama onu
         dolduruyor (min-height:100%). Baslik ve sekmeler sabit, fazlasi
         altindaki govdede kayiyor (Tasks'ta .tkbody, Notes'ta .qnlist).
         Secicilerin acilir pencereleri position:fixed, yani kayan govde
         onlari kirpmiyor. */
      @media (min-width:901px) {
        .timegrid { align-items:stretch; }
        .timeleft { align-self:start; }
        .tkpanel { height:0; min-height:100%; display:flex; flex-direction:column; }
        /* overscroll-behavior:contain YOK, bilerek: liste kisa oldugunda govde
           yine bir kaydirma kutusu, ve contain tekerlegi sayfaya hic
           gecirmiyordu (kullanici, 2026-10-12: bos alanda tekerlek olu).
           Kaydiracak bir sey yoksa ya da sona gelindiyse tekerlek sayfayi
           kaydiriyor, olmasi gereken bu. */
        .tkpanel .tkbody, .tkpanel.notesview .qnlist { flex:1 1 auto; min-height:0; overflow-y:auto; }
        .tkpanel .tkbody { padding-bottom:6px; }
        .tkpanel.notesview .qnlist { padding-bottom:14px; }
      }
      .tkedithd { display:inline-flex; align-items:center; gap:7px; }
      .tkedithd .info { color:var(--dim); }
      .tkpp { display:flex; flex-direction:column; gap:12px; }
      .tkpptitle { margin:0; font-size:15px; font-weight:700; color:var(--ink); }
      .tkpppills { display:flex; gap:8px; flex-wrap:wrap; }
      .tkpppills .tmchip { padding:8px 16px; font-size:14px; }
      .tkppto { margin:0; font-size:13.5px; color:var(--ink-soft); }
      .tkppnote { margin:0; font-size:12.5px; line-height:1.45; }
      .tkdonegrp { margin-top:6px; }
      .tkbulkdel { width:32px; height:32px; border-radius:9px; border:1px solid var(--line); background:var(--surface); color:var(--red);
        display:grid; place-items:center; cursor:pointer; padding:0; }
      .tkbulkdel svg { width:16px; height:16px; }
      .tkbulkdel:hover:not(:disabled) { border-color:var(--red); background:color-mix(in srgb, var(--red) 10%, var(--surface)); }
      .tkbulkdel:disabled { color:var(--faint); cursor:default; opacity:.6; }
      .tkrow.arrived { animation:qnarrive .45s ease-out; }
      @media (prefers-reduced-motion: reduce) { .tkrow.arrived { animation:none; } }
      /* Satirin menusu, altinda yer yoksa yukari aciliyor (en alttaki satirlarda
         kartin altina dusup kirpiliyordu). */
      .qnmenu.up { top:auto; bottom:calc(100% + 4px); }
      .tkqn { display:inline-flex; align-items:center; gap:3px; border:1px solid var(--line); background:var(--surface);
        font:inherit; font-size:12px; font-weight:700; color:var(--primary-ink); border-radius:999px; padding:1px 8px 1px 6px; cursor:pointer; }
      .tkqn:hover { border-color:var(--primary); }
      .tkqn svg { width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
      @media (max-width:820px) {
        @keyframes qnsheetup { from { transform:translateY(100%); } to { transform:translateY(0); } }
        .qnhint { margin-left:0; }
        /* Yeni not telefonda + menusunden; yuzen dugme yalnizca bir taslak
           varken, zamanlayici seridiyle ayni dayanakta ve onun ustunde. */
        /* Bos ya da sayacli dugme telefonda da var (kullanici, 2026-10-12):
           sagda, alt barin ve + butonunun ustunde. Sayac seridi varsa onun
           ustune cikiyor. */
        .qnfab { display:grid; right:16px; bottom:calc(103px + env(safe-area-inset-bottom)); width:52px; height:52px; } /* ikonun kenari ekrandan ~18px (kullanici, 2026-11-08) */
        .qnfab svg { width:48px; height:48px; stroke-width:1; } /* telefonda ince cizgi (kullanici, 2026-11-08) */
        /* Basili tutup tasimak (kullanici, 2026-10-28; src/drag-fab.js). Konum
           dugmenin kendi yerine gore bir translate'i JS yaziyor (satir stili,
           yani hover'i ve bu kurallari ezmesine gerek yok). touch-action:none
           yalnizca bu kucuk dugmede: parmak orada sayfayi kaydirmaz. iOS'ta
           basili tutmak metin secimi ve buyutec acar: ucu de kapali. */
        .qnfab { touch-action:none; -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; }
        .qnfab.lift svg:not(.qnring) { filter:drop-shadow(0 14px 18px rgba(14,33,27,.38)); }
        .qnfab.lift svg:not(.qnring) { transform:scale(1.12); }
        /* Halka 350 ms'de doluyor: dugme kalkma anina kadar ne yaptigini soyluyor. */
        .qnfab .qnring { position:absolute; inset:-5px; width:calc(100% + 10px); height:calc(100% + 10px); pointer-events:none; overflow:visible; filter:none; }
        .qnfab .qnring rect { fill:none; stroke:var(--primary); stroke-width:3; stroke-linecap:round; stroke-dasharray:100; stroke-dashoffset:100; animation:qnring 350ms linear forwards; }
        @keyframes qnring { to { stroke-dashoffset:0; } }
        .qnfab .qnhint { position:absolute; top:50%; right:calc(100% + 12px); transform:translateY(-50%); width:max-content; max-width:min(210px, calc(100vw - 100px));
          background:var(--inkfix); color:#fff; font-size:12.5px; font-weight:700; line-height:1.3; text-align:left; padding:8px 12px; border-radius:12px; pointer-events:none; }
        .qnfab .qnhint::after { content:""; position:absolute; top:calc(50% - 5px); right:-4px; width:10px; height:10px; background:var(--inkfix); transform:rotate(45deg); }
        .qnfab.dockl .qnhint { right:auto; left:calc(100% + 12px); }
        .qnfab.dockl .qnhint::after { right:auto; left:-4px; }
        /* Tasirken iki kenar: birakinca en yakin olana oturuyor. */
        .qnguides { position:fixed; z-index:49; inset:84px 0 calc(98px + env(safe-area-inset-bottom)) 0; pointer-events:none; }
        .qnguides i { position:absolute; top:0; bottom:0; width:34px; border-radius:17px; border:2px dashed color-mix(in srgb, var(--primary) 50%, transparent); background:color-mix(in srgb, var(--primary) 8%, transparent); }
        .qnguides i.l { left:4px; }
        .qnguides i.r { right:4px; }
        .qnguides i.hot { border-style:solid; background:color-mix(in srgb, var(--primary) 26%, transparent); }
        .app:has(.tmbar) .qnfab { bottom:calc(107px + var(--tmbarh, 56px) + 8px + env(safe-area-inset-bottom)); }
        /* + menusu ya da More cekmecesi acikken (ikisi de .mobscrim koyuyor) geri cekiliyor. */
        .app:has(.mobscrim) .qnfab { display:none; }
        /* Sayfanin en altindaki satir dugmenin altinda kalmasin. */
        .app:has(.qnfab) main { padding-bottom:calc(85px + 66px + env(safe-area-inset-bottom)); }
        .app:has(.qnfab):has(.tmbar) main { padding-bottom:calc(85px + 82px + 66px + env(safe-area-inset-bottom)); }
        .tkviews { flex:1 1 100%; }
        .tkview { flex:1 1 0; justify-content:center; }
      }
      /* Koyu kartta ciplak --red 3.59 veriyordu (Amber'inki daha koyu), 14px
         kalin yazi 4.5 istiyor. Beyaza %35 acilinca en kotusu 5.31. */
      .app.dark .tmbarconfirm { color:color-mix(in srgb, var(--red) 65%, #fff); border-color:color-mix(in srgb, var(--red) 65%, #fff); }
      /* bottom tab bar — Instagram/YouTube/TikTok-style icon+label nav, mobile only */
      .bottomnav { display:none; }
      @media (max-width:820px), (max-height:480px) and (orientation:landscape) {
        .bottomnav {
          display:flex; position:fixed; left:0; right:0; bottom:0; z-index:55;
          background:var(--surface); border-top:1px solid var(--line);
          /* 46px was a hairline of a bar: the marks sat 9px under its own
             top edge and the whole thing read as a strip rather than as the
             app's main navigation. The room goes mostly above the marks,
             which is the edge a thumb approaches from. */
          padding:13px 4px calc(10px + env(safe-area-inset-bottom));
          box-shadow:0 -4px 18px rgba(14,33,27,.08);
        }
        .app.dark .bottomnav { box-shadow:0 -4px 18px rgba(0,0,0,.3); }
        /* The bar steps aside for a sheet. Not a nicety -- it is the fix for a
           whole class of bug: .content is a stacking context (position:relative
           z-index:0, three rules up, so .sky's z-index:-1 stays inside it), and
           every modal opened from a screen lives inside .content. Its z-index:60
           is therefore trapped in a context whose own z-index is 0, while this
           bar sits at the root at 55. 55 beats 0, so the bar painted over the
           bottom of every screen-level sheet and swallowed its last row. Only
           the handful of modals rendered at the app root escaped it, which is
           why it looked intermittent.
           Raising the overlay cannot help: it is the CONTEXT that is being
           compared, not the overlay. Removing .content's z-index would drop the
           sky behind the app background. Taking the bar out of the paint while a
           sheet is open fixes every one of them at once, and a nav you cannot
           reach under a modal was never doing anything anyway. */
        .app:has(.overlay) .bottomnav { display:none; }
        /* The client and partner drawers are the same case and were missed,
           because they are not .overlay: they are side panels. Same trap all
           the same -- the drawer's z-index:201 is inside .content, whose own
           z-index is 0, so the bar at the root painted straight over it and ate
           the last rows of every drawer, with the add button sitting in the
           middle of somebody's proposal. */
        .app:has(.cddrawer) .bottomnav { display:none; }
        /* Telefonda serit alt barin UZERINDE duruyor. 87px, "More" cekmecesinin
           kullandigi ayni dayanak (.mobmenu): barin kendi yuksekligi arti
           guvenli alan. Ayri bir sayi yazmak, bar her degistiginde ikisinin
           kaymasi demekti. */
        /* 87px alt barin kendi yuksekligi ("More" cekmecesinin dayanagi),
           ama bar oyle bitmiyor: ortadaki + butonu barin 26px uzerine
           cikiyor. Olculdu: serit 725'te bitiyordu, + 721'de basliyordu,
           yani dort piksel ust uste. 107 ikisinin arasina 16px koyuyor. */
        .tmbar { left:8px; right:8px; width:auto; max-width:none;
          bottom:calc(107px + env(safe-area-inset-bottom)); }
        /* main'in alt dolgusu zaten bari sayiyor (85px); serit onun ustune
           bindigi icin kendi yuksekligi de ekleniyor. */
        .app:has(.tmbar) main { padding-bottom:calc(85px + 82px + env(safe-area-inset-bottom)); }
        /* Bildirimler de ayni dayanakta (kullanici, 2026-10-19): 78px'teki
           toast + butonunun tam ustundeydi ve o sirada yeni bir kayit
           acilamiyordu. Kaydetme seritleri toast'un ustunde kaliyor. Serit
           varken hepsi onun ustune cikiyor. */
        .toast, .undo { bottom:calc(112px + env(safe-area-inset-bottom)); }
        .saveerr, .newver { bottom:calc(164px + env(safe-area-inset-bottom)); }
        .app:has(.tmbar) .toast, .app:has(.tmbar) .undo { bottom:calc(174px + env(safe-area-inset-bottom)); }
        .app:has(.tmbar) .saveerr, .app:has(.tmbar) .newver { bottom:calc(224px + env(safe-area-inset-bottom)); }
        /* And the bar at the TOP is the same trap, missed for the same reason.
           On a phone .sidebar is the header strip, sticky at z-index:60 at the
           app root, while the drawer's 201 is sealed inside .content's own
           context at 0. Measured: with a drawer open, elementFromPoint over the
           middle of its close button returned the header's profile avatar. The
           one control that dismisses the panel was not merely hidden, it was
           not clickable.
           z-index:auto rather than display:none: the strip holds a place in the
           flow, and removing it would shift the page behind the drawer by its
           own height. Dropped out of the comparison it keeps its box and loses
           the argument, which is all that was wanted. */
        .app:has(.cddrawer) .sidebar { z-index:auto; }
        /* Pencere acikken bar z-index:auto oldugunda kaydirilmis sayfanin kartlari barin USTUNE
           boyaniyordu (kullanici, 2026-11-03: "alttaki item'lari yukari itiyor gibi"). Gider grubu
           sayfasinin kalibi (2026-10-28) artik her pencerede: bar perdenin ustunde ve net, dokunus
           perdeye geciyor (bara dokunmak pencereyi kapatir), pencere barin altindan basliyor
           (asagida .modal max-height, --navbar-h). */
        .app:has(.overlay) .sidebar { z-index:61; pointer-events:none; }
        /* Activity log: four columns do not fit a phone, and Detail is the one
           worth reading -- it is the sentence, the other three are stamps. So
           the row becomes two columns: when, who and action stack on the left,
           and Detail takes the right and spans all three, which gives it most
           of the width instead of a quarter of it. Done with grid on the row
           rather than by rendering the table twice. */
        .audittable thead { display:none; }
        .audittable tr { display:grid; grid-template-columns:minmax(92px,32%) 1fr; column-gap:12px;
          padding:10px 0; border-bottom:1px solid var(--line); align-items:start; }
        .audittable tr:last-child { border-bottom:none; }
        .audittable td { border:none; padding:1px 0; }
        .audittable td:nth-child(1) { grid-area:1 / 1; font-size:11.5px; }
        .audittable td:nth-child(2) { grid-area:2 / 1; font-size:12px; color:var(--dim); }
        .audittable td:nth-child(3) { grid-area:3 / 1; }
        .audittable td:nth-child(4) { grid-area:1 / 2 / 4 / 3; line-height:1.5; }
        /* Nothing left to scroll sideways for. */
        .scrollx:has(.audittable) { overflow-x:visible; }

        /* single pill that glides between slots, instead of each tab toggling
           its own background — sits behind the buttons (z-index:0) and spans
           exactly one flex:1 slot, so translateX(N * 100%) lands it precisely
           on slot N with no per-tab measurement needed. */
        /* Gecis tab-indicator.jsx'te (K-438): yuzey barin genisliginde, clip-path ile tek sekmeye iniyor; elastik
           gecis kirpmanin iki kenarini ayri ayri suruyor, koseler hic gerilmiyor. Ozet ile Diger arasinda su dalgasi:
           .tabwater hedef sekmede alttan yukselen yuzey, dalgali ust kenar ::before (yalnizca .run iken akiyor). */
        .tabindicator { position:absolute; left:var(--nl, 4px); right:var(--nr, 4px); top:6px; bottom:calc(6px + env(safe-area-inset-bottom)); background:var(--mint); pointer-events:none; z-index:0; }
        .tabwater { position:absolute; top:6px; bottom:calc(6px + env(safe-area-inset-bottom)); width:calc((100% - var(--nl, 4px) - var(--nr, 4px)) / 7); border-radius:14px; overflow:hidden; pointer-events:none; z-index:0; }
        .tabwaterfill { position:absolute; inset:0; background:var(--mint); transform:translateY(110%); }
        .tabwaterfill::before { content:""; position:absolute; left:-50%; top:-7px; width:200%; height:8px; background:var(--mint);
          -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 8 Q5 0 10 4 T20 4 T30 4 T40 4 V8Z'/%3E%3C/svg%3E") repeat-x 0 0 / 20px 8px;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 8 Q5 0 10 4 T20 4 T30 4 T40 4 V8Z'/%3E%3C/svg%3E") repeat-x 0 0 / 20px 8px; }
        .tabwater.run .tabwaterfill::before { animation:tabwave .5s linear infinite; }
        @keyframes tabwave { to { transform:translateX(20px); } }
        .tabitem { position:relative; z-index:1; flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:2px; border:none; background:transparent; color:var(--faint); font:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; touch-action:manipulation; } /* cift dokunus yakinlastirmasin */
        /* The bar is 58px now, so the marks can be read rather than guessed
           at. The lit pill reaches further above them than below, which is
           where the eye looks for it: the row is read top down. */
        .tabitem svg { width:23px; height:23px; }
        .tabicon { display:flex; width:23px; height:23px; align-items:center; justify-content:center; transition:color .15s ease; }
        .tablbl { font-size:10px; font-weight:700; letter-spacing:.1px; }
        .tabitem.on { color:var(--primary-ink); }
        .tabitem.on .tabicon { color:var(--primary-ink); }
        .tabavatarimg, .tabavatarletter { width:21px; height:21px; border-radius:50%; flex-shrink:0; }
        .tabavatarimg { object-fit:cover; display:block; }
        .tabavatarletter { background:var(--primary); color:#fff; font-size:10px; font-weight:800; display:flex; align-items:center; justify-content:center; }
        /* raised "add new" action, centered in the bar like Instagram/TikTok's create button */
        .fabslot { position:relative; z-index:1; flex:1; display:flex; justify-content:center; }
        /* Docked, in Material's sense: the button's CENTRE sits on the bar's
           top edge, half above and half below. It was 15% above, which read as
           a circle dropped inside the bar rather than as a raised action, and
           its bottom crossed 3px into the labels beside it. The arithmetic is
           the bar's own top padding and border (the slot starts below them)
           plus half the button. */
        .fabbtn { position:absolute; top:calc(-1 * (13px + 1px + 26.5px)); width:53px; height:53px; border-radius:50%; border:4px solid var(--bg); background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 6px 16px rgba(14,33,27,.3); -webkit-tap-highlight-color:transparent; }
        .fabbtn:active { transform:scale(.94); }
        /* Dark mode. The 4px ring is the page colour, which on a dark page turns
           the button into a bright disc with a black halo punched round it, and
           the drop shadow under it is invisible: a shadow needs something
           lighter than itself to fall on. Two changes, both dark only.
           The ring takes the BAR's colour instead of the page's, so it reads as
           a collar the button sits in rather than as a hole. And the lift comes
           from light instead of shadow, which is how a dark interface carries
           elevation at all: a hairline round the edge to hold the silhouette
           against whatever scrolls behind it, and a soft glow in the palette's
           own accent. The glow is the action colour, not a white bloom, so it
           still reads as this button rather than as a highlight. */
        .app.dark .fabbtn {
          border-color:var(--surface);
          box-shadow:0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent),
            0 0 22px color-mix(in srgb, var(--primary) 26%, transparent),
            0 10px 24px rgba(0,0,0,.55);
        }
        .fabicon { display:flex; }
        /* The plus is two bars rather than a drawn glyph, so each can travel its
           own way while the button opens. Sizes are the workshop's: a 24px
           glyph, bars 16% of it thick, corners 12% of that. */
        .fabglyph { position:relative; display:block; width:24px; height:24px; }
        .fabarm { position:absolute; left:50%; top:50%; width:24px; height:3.84px;
          margin-left:-12px; margin-top:-1.92px; background:currentColor;
          border-radius:.46px; transform-origin:50% 50%; }
        .fabarm.ghost { opacity:0; }
        .fabmenu { position:fixed; left:50%; transform:translateX(-50%); bottom:calc(123px + env(safe-area-inset-bottom)); z-index:75; display:flex; flex-direction:column; gap:10px; align-items:center; }
        .fabopt { display:flex; align-items:center; gap:9px; background:var(--surface); border:1px solid var(--line); color:var(--ink); font:inherit; font-size:13px; font-weight:700; padding:11px 18px; border-radius:24px; white-space:nowrap; cursor:pointer; box-shadow:0 10px 28px rgba(14,33,27,.28); animation:fabpop .26s cubic-bezier(.34,1.56,.64,1) backwards; animation-delay:var(--fd,0ms); }
        .fabopt svg { width:18px; height:18px; color:var(--primary); flex-shrink:0; }
        @keyframes fabpop { from { opacity:0; transform:translateY(10px) scale(.85); } to { opacity:1; transform:translateY(0) scale(1); } }
        @media (prefers-reduced-motion:reduce){ .fabicon svg { transition:none; } .fabopt { animation:none; } }
      }
      .mobitem { display:flex; align-items:center; gap:11px; padding:11px 12px; border:none; background:transparent; border-radius:9px; cursor:pointer; font:inherit; font-size:14px; font-weight:600; color:var(--ink); text-align:left; }
      .mobitem svg { width:19px; height:19px; }
      .mobitem:hover, .mobitem.on { background:var(--bg); color:var(--primary); }
      .mobitem.danger { color:var(--red); }
      .plancard.mobplan { margin:16px 2px 4px; }
      .mobmode { display:flex; gap:6px; padding:6px 4px; }
      .mobmode .modebtn { flex:1; justify-content:center; }
      /* Diger menusu izgara (kullanici, 2026-11-02, K-437): uc sutun kutucuk; satirli liste iPhone 11'de sigmiyordu.
         Kutucuk 72px (44px dokunma hedefinin ustunde), kilit / sayi / nokta kosede. Tema ve Cikis tek satirda. */
      /* Alt kenar + dugmesinin hemen ustunde (kullanici, 2026-11-02): 87px'te ona biniyordu, 119px'te havada kaliyordu. */
      .mobmenu { width:min(340px, calc(100vw - 20px)); bottom:calc(103px + env(safe-area-inset-bottom)); max-height:calc(100vh - 156px); }
      .mobgrid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:6px; padding:2px; }
      .mobitem.mobtile { position:relative; flex-direction:column; justify-content:center; gap:6px; min-height:72px; padding:10px 4px 8px;
        text-align:center; font-size:12px; line-height:1.2; border-radius:var(--r-ctl); background:color-mix(in srgb, var(--ink) 4%, var(--surface)); }
      .mobitem.mobtile > span:not([class]) { overflow-wrap:anywhere; }
      .mobitem.mobtile:hover { background:color-mix(in srgb, var(--ink) 7%, var(--surface)); color:var(--ink); }
      .mobitem.mobtile.on { background:color-mix(in srgb, var(--primary) 13%, var(--surface)); color:var(--primary-ink); }
      .app.dark .mobitem.mobtile.on { color:var(--primary); }
      .mobitem.mobtile .navpro { position:absolute; top:6px; right:6px; margin:0; }
      .mobitem.mobtile .traildot { position:absolute; top:8px; left:8px; margin:0; }
      .mobitem.mobtile .navcount { position:absolute; top:5px; right:5px; margin:0; }
      .mobfoot { display:flex; align-items:center; gap:6px; }
      .mobfoot .mobmode { flex:1; min-width:0; padding:4px 2px; }
      /* Cikis one cikmiyor ama sonuk de degil: kirmizinin cok hafif bir zemini (kullanici, 2026-11-02). Turkcede
         kisa "Cikis" (mobmenu|Log out), tema anahtarina yer kaliyor. */
      /* Cikis ve tema anahtari ayni boyda ve hizada: anahtarin kendi 6px ust boslugu satira tasindi. */
      .mobfoot { align-items:stretch; margin-top:6px; }
      .mobfoot .mobmode { margin:0; }
      .mobfoot .mobout { flex:none; padding:0 12px; border-radius:var(--r-ctl); background:color-mix(in srgb, var(--red) 9%, var(--surface)); }
      .mobfoot .mobout:hover { background:color-mix(in srgb, var(--red) 14%, var(--surface)); color:var(--red); }
      @media (max-width:820px), (max-height:480px) and (orientation:landscape) {
        .cmgrid { grid-template-columns:1fr 1fr; }
        .cmcols2 { grid-template-columns:1fr; }
        .cmcols2 > .cmcol + .cmcol { border-left:none; border-top:1px solid var(--line); margin-top:8px; padding-top:12px; }
        /* Stacked on a phone, so the shared header can't line up with anything:
           it goes away and each source line becomes its own little block with
           the amount pinned to the right. */
        .bphead { display:none; }
        /* Stacked, the actions used to fall to the bottom-left, under the
           amount, where they read as part of it. They belong beside the name,
           which is the row's own heading and where every other card puts them. */
        .bprow { grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:start; }
        .bprow > * { grid-column:1 / -1; }
        .bpmain { grid-column:1; grid-row:1; }
        .bpacts { grid-column:2; grid-row:1; justify-content:flex-end; align-self:start; }
        .bptotal { text-align:left; }
        .bpsrcrow { grid-template-columns:1fr auto; gap:1px 10px; padding:6px 0; border-bottom:1px dashed var(--line); }
        .bpsrcrow:last-of-type { border-bottom:none; }
        .bpsrccli { grid-column:1; grid-row:1; }
        .bpsrcsvc { grid-column:1; grid-row:2; }
        .bpsrcrow > span:nth-child(3) { grid-column:1; grid-row:3; margin-top:3px; }
        .bpsrcamt { grid-column:2; grid-row:1 / span 3; align-self:center; }
        .app { flex-direction:column; }
        .sidebar { width:auto; height:auto; position:sticky; top:0; z-index:60; flex-direction:row; align-items:center; overflow:visible; border-right:none; border-bottom:1px solid var(--line); padding:11px 10px; gap:2px; }
        .brand { padding:0 2px 0 0; } .brandtext { display:none; } button.brand { width:auto; }
        .navgroup { display:none; } /* Dashboard/Calendar/Ledger/Clients now live in the bottom tab bar */
        .navspacer { display:none; }
        .mobtopstat { display:flex; align-items:center; gap:8px; margin-left:4px; min-width:0; }
        /* The one place the name was still plain text. Cap 15 matches the
           sidebar, which carries the same 40px mark beside it. */
        .mobappname { flex-shrink:0; display:block; }
        .mobtopstat.isoff { flex:1; }
        .mobofflinebox { flex:1; min-width:0; display:flex; justify-content:center; container-type:inline-size; }
        /* En dar: yalnizca ikon, yazi ekran okuyucuya. */
        .moboffline { display:inline-flex; flex-direction:column; align-items:center; gap:2px; white-space:nowrap;
          font-weight:700; color:var(--ink); line-height:1.1; }
        .mobofflinetxt { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
        @container (min-width:68px) {
          .mobofflinetxt { position:static; width:auto; height:auto; overflow:visible; clip:auto; font-size:10px; }
        }
        @container (min-width:116px) {
          .moboffline { flex-direction:row; gap:6px; }
          .mobofflinetxt { font-size:12.5px; }
        }
        /* Isaret kirmizi, yazi murekkep: --red acik zeminde 13px kalin yazi
           icin 4.5'in kiyisinda; bir grafik nesne olarak 3:1 yeter. */
        .moboffline svg { width:17px; height:17px; flex-shrink:0; color:var(--red); }
        /* Puan cipi Overview'a tasindi (2026-10-12), yani bu satirda yalnizca
           marka yazisi ve iki yuvarlak dugme var; daralinca kaybedilecek bir
           sey kalmadi. 320px'te olculdu. */
        .hamwrap { display:flex; align-items:center; gap:5px; }
        /* The bell is one of two round-ish things up here now; a box around it
           as well made the pair look like a toolbar. The ring belongs to the
           face, so the bell goes bare. */
        .mobbell .bellbtn { border-color:transparent; background:transparent; }
        /* At 375 the ring plus a legend beside it leaves the legend about 120px,
           which truncates every category name. Stacked, the names get the full
           width and the ring keeps its size. */
        .catsplit { flex-direction:column; align-items:stretch; gap:14px; }
        .catsplit .snapring { align-self:center; margin:0; flex-basis:auto;
          width:min(232px, 100%); height:min(232px, 100vw - 90px); }
        /* Measured at 375: six columns want 356px in a 317px row, because each
           carries a running total that will not wrap. Shrinking the type enough
           to fit takes it under 10px, so the row scrolls instead and every
           month stays readable. Both axes are set explicitly -- leaving one
           visible turns it into a nested scroller. */
        .flowwrap { overflow-x:auto; overflow-y:hidden; padding-left:14px; padding-right:14px; gap:8px; }
        .flowcol { flex:0 0 auto; min-width:52px; }
        /* The bar drops to its own line, but the amount must NOT follow it there:
           left-aligned under the bar it read as a stray number. Explicit
           placement puts the amount back on the label's line, at the right. */
        /* On a phone the bar drops under its label, which needs each row to be
           its own two-row grid again -- a shared grid cannot give one child a
           second row of its own. */
        /* The bars go full width and the tank drops under them, centred. It
           stays rather than being hidden: there is no hover on a phone, but
           the shape of the month is the point and the three figures are
           already spelled out in the bars above it. */
        /* Stacked, and the tank keeps its place at the top of the block. */
        .clientsumrow { flex-direction:column; align-items:center; gap:18px; }
        .clientsumrow .snapbars { width:100%; }
        .ctankdisc { width:200px; height:200px; border-width:5px; }
        /* No hover on a phone, so the line under the tank had nothing to say
           and still said "Hover a colour". The three figures are in the bars
           directly above it. */
        .ctanktip { display:none; }
        .snapbars { grid-template-columns:minmax(0,1fr); row-gap:14px; }
        .snapbars li { display:grid; grid-template-columns:9px minmax(0,1fr) auto;
          align-items:center; column-gap:10px; row-gap:7px; }
        .snapbars .sw { grid-column:1; grid-row:1; }
        .snapbars .snapname { grid-column:2; grid-row:1; }
        .snapbars b { grid-column:3; grid-row:1; }
        .snapbar { grid-column:1 / -1; grid-row:2; }
        .mobprof { position:relative; width:38px; height:38px; flex:0 0 38px; padding:0;
          border:none; background:none; border-radius:50%; cursor:pointer;
          -webkit-tap-highlight-color:transparent; }
        /* One hue, the theme's own, taken light and dark rather than round the
           colour wheel: the ring should read as this app wearing its colour, not
           as a rainbow parked in the corner. Closed back on the starting tone so
           the turn has no seam. */
        .mobprofring { position:absolute; inset:0; border-radius:50%;
          background:conic-gradient(from 0deg,
            var(--primary),
            color-mix(in srgb, var(--primary) 62%, #FFF),
            var(--primary-ink),
            color-mix(in srgb, var(--primary) 58%, var(--ink)),
            color-mix(in srgb, var(--primary) 78%, #FFF),
            var(--primary));
          animation:mobprofring 5s linear infinite; }
        .mobproface { position:absolute; inset:2px; border-radius:50%; overflow:hidden;
          background:var(--surface); color:var(--primary-ink); display:flex;
          align-items:center; justify-content:center; font-size:13px; font-weight:700; }
        .mobproface img { width:100%; height:100%; object-fit:cover; display:block; }
        @keyframes mobprofring { to { transform:rotate(360deg); } }
        @media (prefers-reduced-motion:reduce){ .mobprofring { animation:none; } }
        /* Clears the bar, which is 65px now, plus the same slack it had. */
        main { padding:0 10px calc(85px + env(safe-area-inset-bottom)); overflow-x:clip; }
        .topbar { padding:8px 10px 0; gap:8px; }
        .topspacer, .scorering { display:none; }
        .topbar:empty { display:none; }
        /* belt-and-braces: nothing may push the layout past the viewport */
        /* compact month nav + dates on small screens */
        .hidemob { display:none; }
        /* The first column was sitting on the card's edge. And a row of three
           wrapped cells needs a ground of its own to be read as one row, so
           they alternate. */
        .prrowclick > td:first-child { padding-left:14px; }
        .prrowclick > td:last-child { padding-right:14px; }
        .prrowclick:nth-child(odd) > td { background:color-mix(in srgb, var(--ink) 3%, var(--surface)); }
        .hidemobf { display:none; }
        .showmobf { display:flex; }
        /* Narrower on a phone: the room it gives up is the room the button
           next to it needed. */
        /* The search takes the row, the button takes the next one whole: at a
           phone's width the two of them plus the view switch could not share a
           line without the last one hanging off the edge. */
        .rowacts.hassearch { flex-wrap:wrap; }
        .rowacts.hassearch .ledgersearch { flex:1 1 auto; width:auto; order:0; }
        .rowacts.hassearch .crview { order:1; }
        .rowacts.hassearch .prnewbtn { order:2; width:100%; justify-content:center; height:36px; }
        /* .showmob is 15px for the marks it was written for; a button label is
           a button label. */
        .rowacts .prnewbtn .showmob { font-size:13px; }
        .prnewbtn .prnewmore { display:none; }
        .rowacts.hassearch .prnewbtn .prnewmore { display:inline; }
        .lsbtn { display:grid; }
        .lsrow { display:flex; }
        .showmob { display:inline; font-size:15px; line-height:1; }
        .dateyr { display:none; }
        /* Five columns and the row actions do not fit 375px, and the one
           that has to stay reachable is the chip you tap. The card folds
           under the item name instead, where the notes already sit. */
        .cmcard { display:none; }
        .cardmob { display:block; }
        .calevs.deskonly { display:none; }
        .calevs.mobonly { display:flex; }
        /* The 195px fixed month button could push the nav row past a narrow phone,
           so it flexes here instead. The month LABEL must be the part that
           absorbs the slack, though: sizing it to its own text moved the › arrow
           every time the month name changed length. Growing the wrapper (not just
           the button inside it) pins both arrows. Same fix for the calendar. */
        /* The month name is the only thing in these rows that changes width,
           and it was changing the row with it: May and September gave the
           arrows, the revert mark and the search two different homes, so
           stepping through the year made them dance.
           The row claims the whole line and the NAME absorbs the difference.
           Everything either side of it is a fixed size, so it stays where it
           was put whatever the month is called. */
        .monthpick { gap:4px; flex-wrap:nowrap; min-width:0; flex:1 1 100%; }
        /* Two lines on a phone: the name with its arrows, then the chips on a
           line of their own, split evenly so each is a target a thumb can hit
           rather than a 70px pill beside another one. */
        /* Beside the preview these stand one above the other, which is right
           in a narrow column. The workspace box is half the screen on a phone
           and has the width for a row. */
        .wsbox .imgbody .imgacts { flex-direction:row; flex-wrap:wrap; align-items:center; width:auto; }
        /* A person card does not need the whole width of a phone: at 316px it
           was a lot of paper around one face. */
        .tmgrid { grid-template-columns:minmax(0, 284px); justify-content:center; padding:2px 14px 4px; }
        /* The switch first, the button after it: on a phone the space to the
           right of the switch is the empty half of that row. */
        .tabhd > .crview { order:1; }
        .tabhd > .btn.tabinv { order:2; margin-left:8px; }
        .tmslide { display:grid; overflow-x:visible; }
        .mhead { gap:9px 8px; }
        /* Below the nav, which is itself a sticky bar up there. Its height is
           its own -- icons, padding, whatever text size the phone is set to --
           so it is measured rather than guessed; see the --navbar-h effect. */
        /* The top padding and the negative top margin are one number, written
           twice with opposite signs: the margin cancels the padding, so the
           month sits where it would with neither, and the padding is what
           opens up underneath the navigation bar once the row is stuck.
           At 6px, measured, the eyebrow ("THIS MONTH") started 6px under the
           bar and read as pressed against it. */
        .mheadwrap { top:var(--navbar-h, 52px); margin:calc(-14px + var(--skygap, 0px)) -10px 0; padding:14px 10px 10px; }
        /* Baslikla cip satiri arasi daraldi (kullanici, 2026-10-18). */
        .mheadrest { margin-top:-2px; }
        .mtitle { flex:1 1 auto; }
        .mtitle b, .mghost { font-size:22px; }
        /* Telefonda yapisan sey tek bir 44px serit: ‹ Ay ▾ › (secenek A). */
        .mbar { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); height:44px;
          border:1px solid var(--line); border-radius:14px; background:var(--surface); }
        .mbar > button { border:0; background:none; padding:0; margin:0; -webkit-appearance:none; appearance:none;
          display:grid; place-items:center; color:var(--dim); cursor:pointer; font:inherit; }
        .mbar > button svg { width:16px; height:16px; }
        .mbar > button.back svg { transform:scaleX(-1); }
        .mbar > button:active { color:var(--primary-ink); }
        .mbar .mbartitle { color:var(--ink); min-width:0; }
        .mbar .mname { display:inline-flex; align-items:center; font-size:16px; font-weight:800; letter-spacing:-.01em; white-space:nowrap; }
        .mbar .mcar { font-size:13px; margin-left:6px; }
        /* Ok + komsu ayin adi: kenara yasli, ince; ad sigmazsa kisaliyor. */
        .mbar > .mbarstep { display:flex; align-items:center; gap:2px; padding:0 8px; font-size:12.5px; font-weight:700; min-width:0; }
        .mbar > .mbarstep:first-child { justify-content:flex-start; }
        .mbar > .mbarstep:last-child { justify-content:flex-end; }
        .mbar > .mbarstep span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
        .mbar > .mbarstep svg { flex:none; }
        .mbar .mbartitle { padding:0 4px; }
        .mheadrest .mtoday { color:var(--primary-ink); }
        /* Seritle anahtarin arasi 10px: sarmalayicinin 10px alt dolgusu + sutunun 16px araligi, eksi 16. */
        .mheadrest { display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px; margin-top:-16px; }
        /* Ay kapatma kendi satirinda, yazisi kadar genis. */
        .mheadrest .mextra { display:flex; }
        /* Kayitlar panelinde serit anahtarla ayni genislikte: yapismayan basligin yan boslugu yok. */
        .enmonth .mheadwrap.flat { padding-left:0; padding-right:0; }
        /* Panelde baslik bir sutunun icinde degil, araya giren 16px yok. */
        .enmonth .mheadrest { margin-top:0; }
        /* "Mevcut aya don" SAGDA (kullanici, 2026-10-24; 2026-10-20'de solda
           istenmisti); kapanmis ayin notu ayni satirda solunda, sigmazsa
           dugme alt satira iner ve yine sagda kalir (margin-left:auto). */
        .mright { flex:0 1 auto; margin-left:0; }
        .mheadrest { justify-content:flex-start; }
        .mheadrest .mtoday { order:3; margin-left:auto; }
        /* Kapanmis ayin notu bir bilgi, dugme degil: telefonda hap yerine duz
           yazi, yani "Mevcut aya don"un yaninda en uzun ay adiyla da sigiyor.
           Olculdu: hapla 135 + 8 + 213 = 356px, satir 339px. */
        .mheadrest { column-gap:8px; }
        .mheadrest .mchip { padding:6px 9px; }
        .mheadrest .closedchip { background:none; padding:0; font-size:11.5px; font-weight:600; }
        /* Sira: kapanmis ayin notu, oteki cipler, sag uca Mevcut aya don. */
        .mheadrest .mextra { order:1; }
        /* Genel Bakis telefonda: Finansal Skor selamlamanin USTUNDE
           (kullanici, 2026-10-20), ust ve altta nefes payi. */
        .helloscore { order:-1; margin:6px 0 6px; }
        /* Manzaranin boyu: eskisi gibi 236px, ustteki icerik daha uzunsa seride
           kadar (MonthHead skyEdge, --skyh). */
        .sky { height:var(--skyh, 236px); }
        /* "Tahsil edilen" basligi kartin ustune yakin: kart sagdaki grafik
           yuzunden yuksek ve yazi blogu ortalaniyordu, baslik ustten 35px
           asagidaydi. (i) telefonda yok. */
        .card.score.hero .scoremain { align-self:flex-start; }
        .card.score.hero .scorelabel .info { display:none; }
        /* "Tahsil edilen" ustundeki seritle (ya da altindaki satirla) kartlar
           arasindaki 12px kadar uzakta (kullanici, 2026-10-20). Sutunun araligi
           16; satir yoksa seridin 10px alt dolgusu da ekleniyordu (26). */
        .mheadrest + .cards { margin-top:-4px; }
        .mheadwrap + .cards { margin-top:-14px; }
        .mdrawer { top:calc(100% + 8px); left:10px; right:10px; width:auto; max-width:none; }
        .mpwrap { flex:1 1 auto; min-width:0; }
        /* It used to hang off whichever edge it happened to open near, and in
           a modal near the bottom of the screen it opened mostly off it. On a
           phone it stops being a dropdown and becomes a sheet in the middle of
           the screen, which is on screen wherever it was opened from. */
        .mppanel { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%);
          width:min(320px, calc(100vw - 32px)); max-height:min(70vh, 480px); overflow:auto; z-index:210;
          box-shadow:0 24px 70px rgba(14,33,27,.34); }
        .mpbtn { flex:1 1 0; width:auto; min-width:0; font-size:16px; padding:4px 6px; }
        /* Same row, same rule: the arrows sit still and the name takes up the
           slack between them. */
        /* NOTE: never put overflow-x on .app — .sidebar is its direct child and is
           position:sticky; any ancestor with overflow != visible kills sticky.
           The real overflow sources (ticker, fixed-width month button) are fixed at
           source above, and index.html clips html/body as a final backstop. */
        .app { max-width:100%; min-width:0; }
        /* clip, not hidden. overflow-x:hidden computes overflow-y to auto and
           makes the box its own scroll container, and a sticky child of a box
           that does not itself scroll never sticks -- it just rides along.
           That is what would have silently cost the month heading. clip crops
           without creating a scroller. */
        .content, .topbar { max-width:100%; min-width:0; overflow-x:clip; }
        .legend { display:none; }
        table { font-size:12px; } td, th { padding:6px 7px; } .notecell { max-width:110px; }
        /* Islemler telefonda kart (kullanici, 2026-10-20): satir yana
           kaymiyor. Ayni tablo, ayni satirlar (Genel Bakis'tan atlama tx-<id>
           ile buluyor), yalnizca dizilis: ad ve tutar / tarih, tur, kategori
           ve durum / tek satir not. Kalem ve x yok: karta dokununca duzenleme
           alttan aciliyor, silme onun dibinde. */
        .ledgertbl, .ledgertbl tbody, .ledgertbl tfoot { display:block; width:100%; }
        .ledgertbl thead { display:none; }
        .ledgertbl tr.txrow { display:grid; grid-template-columns:auto minmax(0,1fr) auto;
          column-gap:8px; row-gap:5px; align-items:center; padding:11px 16px;
          border-top:1px solid var(--line); cursor:pointer; -webkit-tap-highlight-color:transparent; }
        .ledgertbl tr.txrow:active { background:color-mix(in srgb, var(--primary) 6%, transparent); }
        .ledgertbl tr.txrow > td { display:block; padding:0; border:none; width:auto; max-width:none; min-width:0; text-align:left; }
        .ledgertbl tr.txrow > td.txitem { grid-area:name; }
        .ledgertbl tr.txrow > td.txamt { grid-area:amt; text-align:right; }
        .ledgertbl tr.txrow > td.txamt .num { font-size:17px; }
        /* Saat tarihin hemen altinda, saat ikonuyla; tur etiketi adin hemen
           yaninda (satirin ikinci sirasinda degil); ad tek satir, uzunsa "...". */
        .ledgertbl .txtyped { display:none; }
        /* Taslak B (kullanici, 2026-10-27): tur ikonun kosesinde kucuk bir ok. */
        .ledgertbl .txtypesr { display:block; }
        .ledgertbl .txico { position:relative; }
        .ledgertbl .txkind { position:absolute; right:-4px; bottom:-4px; width:15px; height:15px; border-radius:50%;
          display:grid; place-items:center; font-size:9.5px; font-weight:800; line-height:1; color:#fff;
          border:2px solid var(--surface); box-sizing:content-box; }
        .ledgertbl .txkind.in { background:var(--green); }
        .ledgertbl .txico.inc { background:color-mix(in srgb, var(--green) 14%, transparent); }
        .ledgertbl .txico.inc .txcoins { display:none; }
        .ledgertbl .txico.inc .txcoin { display:block; font-size:16px; line-height:1; }
        .ledgertbl .txkind.out { background:var(--red); }
        .ledgertbl .txitemrow { min-width:0; }
        .ledgertbl .txitem .txname { flex:0 1 auto; min-width:0; }
        .ledgertbl tr.txrow > td.txacts { display:none; }
        .ledgertbl .cellmain { display:block; }
        .ledgertbl .txname { display:flex; align-items:center; gap:6px; font-weight:700; font-size:14px; min-width:0; }
        .ledgertbl .txname { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        /* Not tek satir, kalani uc nokta. Kart satiri da tek satir: ikonu
           satir ici, yazi kirpiliyor. */
        .ledgertbl .notecell .cellnote { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:0; font-size:12px; }
        .ledgertbl .notecell .sysnote::before { display:inline-block; margin-right:6px; vertical-align:1px; }
        .ledgertbl tr.weekgroup { display:flex; align-items:center; padding:10px 16px; border-top:1px solid var(--line); }
        .ledgertbl tr.weekgroup > td { display:block; padding:0; border:none; }
        .ledgertbl tr.weekgroup > td:first-child { flex:1; min-width:0; }
        .ledgertbl tr.weekgroup > td:empty, .ledgertbl tr.weekgroup .wghint { display:none; }
        .ledgertbl tr.ledgertotal { display:flex; align-items:center; justify-content:space-between; padding:13px 16px; border-top:2px solid var(--line); }
        .ledgertbl tr.ledgertotal > td { display:block; padding:0; border:none; }
        .ledgertbl tr.ledgertotal > td:empty { display:none; }
        .ledgertbl tbody tr:not(.txrow):not(.weekgroup):not(.dayhd) > td { display:block; }
        /* Islemler telefonda ikinci tur (kullanici, 2026-10-28, taslak): satir ~60px.
           Ad ve tutar, altinda kategori ve notun ilk satiri. Tarih gun basligina
           cikti, "Odendi" hapi kalkti (bu listede her satir zaten odenmis), kategori
           cipi alt satirda duz yazi. Ayni tablo: tx-<id> atlamasi bozulmuyor. */
        .ledgertbl tr.txrow { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"name amt";
          row-gap:0; padding:11px 14px; min-height:60px; }
        .ledgertbl tr.txrow > td.txdate, .ledgertbl tr.txrow > td.txstat, .ledgertbl tr.txrow > td.txtype,
        .ledgertbl tr.txrow > td.notecell { display:none; }
        .ledgertbl .txico { width:38px; height:38px; font-size:19px; }
        .ledgertbl .txico svg { width:18px; height:18px; }
        .ledgertbl .txkind { width:16px; height:16px; font-size:9px; right:-3px; bottom:-3px; }
        .ledgertbl .txcatd { display:none; }
        .ledgertbl .txitemrow { gap:12px; }
        .ledgertbl .txitem .cellmain { display:grid; gap:2px; align-content:center; }
        .ledgertbl .txname { font-size:15px; font-weight:800; }
        .ledgertbl .txsub { display:block; font-size:12.5px; color:var(--dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .ledgertbl tr.txrow > td.txamt .num { font-size:15px; }
        .ledgertbl tr.dayhd { display:flex; padding:7px 14px; background:color-mix(in srgb, var(--bg) 60%, var(--surface));
          border-top:1px solid var(--line); font-size:12px; font-weight:700; color:var(--dim); letter-spacing:.2px; }
        .ledgertbl tr.dayhd > td { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; padding:0; border:0; }
        .ledgertbl tr.dayhd > td .num { font-size:12px; font-weight:700; }
        .ledgertbl tr.dayhd + tr.txrow { border-top:0; }
        .lgsum3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:12px 16px 0; border:1px solid var(--line);
          border-radius:14px; overflow:hidden; background:var(--bg); }
        .lgsum3 > div { padding:9px 12px; display:grid; gap:2px; min-width:0; border-left:1px solid var(--line); }
        .lgsum3 > div:first-child { border-left:0; }
        .lgsum3 small { font-size:10.5px; letter-spacing:.7px; text-transform:uppercase; color:var(--faint); font-weight:800; white-space:nowrap; }
        .lgsum3 b { font-size:14px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .lgsum3 + .filters { padding-top:12px !important; }
        /* Gelir telefonda kart (kullanici, 2026-10-20; tasarim ayri bir HTML'de
           onaylandi). Ayni tablo, CSS grid: ad + vergi isareti ve brut / tarih,
           "Odeme:" ve net / kaydirarak odendi / gerekirse dokum kutusu. Rozetler
           telefonda yok. Kalem ve x yok: karta dokununca duzenleme alttan, ad
           musteriyi aciyor. Secici hep "tr.incrow > td.x": tr > td kuralinin
           ozgullugune yenilmesin (Islemler'de olculdu). */
        .inctbl, .inctbl tbody, .inctbl tfoot { display:block; width:100%; }
        .inctbl thead { display:none; }
        /* Tek elle (kullanici, 2026-11-16, K-670): "Odeme: hizmet oncesi/sonrasi" ad satirinda sagda; brut ve net
           kaydiricinin SOLUNDA alt alta; kaydirici daha dar ve sagda, basparmagin yetistigi yerde. */
        .inctbl tr.incrow { display:grid; grid-template-columns:auto minmax(0,1fr) auto;
          grid-template-areas:"name name tim" "due due due" "g stat stat" "n stat stat" "box box box";
          column-gap:8px; row-gap:6px; align-items:start; padding:12px 14px 12px 13px;
          border-top:1px solid var(--line); cursor:pointer; -webkit-tap-highlight-color:transparent; }
        .inctbl tr.incrow > td { display:block; padding:0; border:none; min-width:0; width:auto; max-width:none; text-align:left; }
        .inctbl tr.incrow > td.incname { grid-area:name; }
        .inctbl tr.incrow > td.incg { grid-area:g; display:flex; gap:6px; justify-content:flex-start; align-items:baseline; align-self:end; }
        .inctbl tr.incrow > td.incn { grid-area:n; display:flex; gap:6px; justify-content:flex-start; align-items:baseline; align-self:start; }
        .inctbl tr.incrow > td.incd { grid-area:due; align-self:center; }
        .inctbl tr.incrow > td.inct { grid-area:tim; align-self:start; justify-self:end; white-space:nowrap; }
        .inctbl tr.incrow > td.incstat { grid-area:stat; align-self:center; margin-left:6px; }
        .inctbl tr.incrow:has(> td.incstat.isPaid) { grid-template-areas:"name name tim" "due due due" "g g g" "n n n" "box box box"; }
        /* 360px ve altinda "Odeme: ..." adi uc satira itiyordu: orada tarih satirinin sagina iniyor. */
        @media (max-width:360px) {
          .inctbl tr.incrow { grid-template-areas:"name name name" "due due tim" "g stat stat" "n stat stat" "box box box"; }
          .inctbl tr.incrow:has(> td.incstat.isPaid) { grid-template-areas:"name name name" "due due tim" "g g g" "n n n" "box box box"; }
          .inctbl tr.incrow > td.inct { align-self:center; }
          .inctbl.inctbl tr.incrow:has(> td.inctm:not(.none)) { grid-template-areas:"name name name" "due due tim" "tm tm tm" "g stat stat" "n stat stat" "box box box"; }
          .inctbl.inctbl tr.incrow:has(> td.inctm:not(.none)):has(> td.incstat.isPaid) { grid-template-areas:"name name name" "due due tim" "tm tm tm" "g g g" "n n n" "box box box"; }
        }
        .inctbl tr.incrow > td.incstat.isPaid { display:none; }
        .inctbl tr.incrow > td.incstat > .pill { display:none; }
        .inctbl tr.incrow > td.inca { grid-area:box; }
        .inctbl tr.incrow > td.inca:not(.hasbox) { display:none; }
        .inctbl tr.incrow > td.inca .rowacts { display:none; }
        .inctbl tr.incrow .incbadges, .inctbl tr.incrow .brkcol, .inctbl tr.incrow .fxsub { display:none; }
        .inctbl tr.incrow .cellmain { display:block; font-size:14.5px; font-weight:700; line-height:18px; }
        .inctbl tr.incrow .cellname { font-weight:700; text-align:left; }
        .inctbl tr.incrow .incnw { white-space:nowrap; }
        .inctbl tr.incrow .cellnote { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:2px; }
        .inctax { display:inline-block; vertical-align:top; margin-left:3px; transform:translateY(-5px); font-size:8.5px;
          font-weight:800; letter-spacing:.05em; line-height:1; border-radius:4px; padding:2px 4px; text-transform:uppercase; }
        .inctax.b20 { background:#DFF1EA; color:#0E7C64; } .inctax.kdv { background:#E3ECF8; color:#2C5A94; }
        .inctax.hs { background:#FBF0D2; color:#946A00; } .inctax.sc { background:#EAEEEC; color:#5C6B66; }
        .incmk { display:inline; font-size:9.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--faint); }
        .inctbl td.incg .num { font-weight:400 !important; font-size:13px; color:var(--dim) !important; opacity:1 !important; line-height:18px; }
        .inctbl td.incn .num { font-size:14.5px; }
        .incpre { display:inline; }
        .incok { display:inline-flex; margin-right:3px; vertical-align:-1px; }
        .incok svg { width:11px; height:11px; fill:none; stroke:currentColor; stroke-width:3.2; stroke-linecap:round; stroke-linejoin:round; }
        .incbox { display:block; }
        .incbrk { display:grid; grid-template-columns:1fr auto auto; column-gap:14px; row-gap:3px; font-size:11.5px;
          background:color-mix(in srgb, var(--surface) 70%, transparent); border:1px solid var(--line); border-radius:9px; padding:7px 9px; }
        .incbrk .h { font-size:9px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--faint); text-align:right; }
        .incbrk .r { text-align:right; } .incbrk .l { color:#B5631A; font-weight:600; min-width:0; } .incbrk .fx { color:var(--dim); }
        .incbrk .incbrknote { color:var(--dim); font-weight:500; }
        .app.dark .incbrk .l { color:#E8A45C; }
        .incnote { font-size:11.5px; color:var(--dim); margin-top:4px; }
        /* Kaydirarak odendi (kullanici, 2026-11-02; ornek "Slide to confirm" videosu). Yuvarlak tutamak cift
           okla, yazi rayin icinde ve ustunden bir isik geciyor; kaydirdikca ray temanin renginde doluyor
           (ana renk -> pop; pop'u olmayan temada yesil), bitince dolu rayda "Odendi" ve sagda tikli daire.
           Dolgu genislikle degil clip-path ile aciliyor: renk gecisi rayin tamamina yayili kalsin. */
        .ipay { --ipa:#0D855D; --ipb:#12A577; display:block; position:relative; height:44px; border-radius:999px; background:#EEF2F0;
          border:1px solid var(--line); overflow:hidden; touch-action:pan-y; user-select:none; -webkit-user-select:none; }
        .app.dark .ipay { background:color-mix(in srgb, var(--ink) 8%, var(--surface)); }
        .ipay-fill { position:absolute; inset:0; background:linear-gradient(90deg, var(--ipa), var(--ipb)); background:linear-gradient(90deg in oklch, var(--ipa), var(--ipb)); border-radius:999px;
          clip-path:inset(0 100% 0 0 round 999px); }
        .ipay-knob { position:absolute; left:4px; top:4px; width:34px; height:34px; border-radius:50%; display:grid; place-items:center;
          background:#fff; color:var(--ipa); cursor:grab; z-index:2; will-change:transform;
          box-shadow:0 0 0 3px color-mix(in srgb, var(--ipa) 22%, transparent), 0 2px 6px rgba(14,33,27,.18); }
        .ipay-knob svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
        .ipay-label { position:absolute; top:0; bottom:0; left:46px; right:44px; display:flex; align-items:center; justify-content:center;
          overflow:hidden; font-size:13px; font-weight:700; color:var(--dim); white-space:nowrap; pointer-events:none; z-index:1; }
        .ipay-label span { min-width:0; overflow:hidden; text-overflow:ellipsis; }
        /* Dar kaydiricida kisa yazi (K-670): kaydirici tek elle ulasilsin diye sagda ve daha dar. */
        .ipay { container-type:inline-size; }
        .ipay-label .ipayshort { display:none; }
        @container (max-width:224px) { .ipay-label .ipaylong { display:none; } .ipay-label .ipayshort { display:inline; } }
        /* Durag an parlamasi (K-684): yazinin degil butun rayin uzerinde, solda halkanin ALTINDAN baslayip sagda hedef halkanin
           altinda bitiyor. Pseudo-eleman .ipay'in ilk cocugu olarak boyaniyor, yani dolgunun ve halkalarin arkasinda kaliyor. */
        .ipay::before { content:""; position:absolute; top:0; bottom:0; left:0; width:40%; pointer-events:none;
          background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 80%, transparent), transparent);
          transform:translateX(-120%); animation:ipayshine 2.6s ease-in-out infinite; }
        @keyframes ipayshine { 0% { transform:translateX(-120%); } 60%, 100% { transform:translateX(280%); } }
        .ipay-goal { position:absolute; right:4px; top:4px; width:34px; height:34px; border-radius:50%; cursor:pointer; z-index:1;
          border:1.5px dashed color-mix(in srgb, var(--ipa) 45%, transparent); }
        .ipay.back .ipay-knob { transition:transform .35s cubic-bezier(.34,1.56,.64,1); }
        .ipay.back .ipay-fill { transition:clip-path .35s cubic-bezier(.34,1.56,.64,1); }
        .ipay.back .ipay-label { transition:opacity .25s; }
        /* Hedefe dokununca tutamak kendi kendine gider: yay, hedefi biraz asip oturuyor. */
        .ipay.snap .ipay-knob { transition:transform .46s cubic-bezier(.34,1.35,.64,1); }
        .ipay.snap .ipay-fill { transition:clip-path .46s cubic-bezier(.34,1.35,.64,1); }
        .ipay.snap .ipay-label { transition:opacity .2s; }
        .ipay.done .ipay-knob, .ipay.done .ipay-label, .ipay.done .ipay-goal { opacity:0; transition:opacity .2s .1s; }
        .ipay-tick { position:absolute; inset:0; border-radius:999px; background:linear-gradient(90deg, var(--ipa), var(--ipb)); background:linear-gradient(90deg in oklch, var(--ipa), var(--ipb)); color:#fff;
          display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:800; text-shadow:0 1px 1px rgba(0,0,0,.18);
          z-index:3; animation:ipaytickin .25s ease-out; }
        .ipay-tick i { position:absolute; right:4px; top:4px; width:34px; height:34px; border-radius:50%; display:grid; place-items:center;
          background:rgba(255,255,255,.2); box-shadow:inset 0 0 0 2px rgba(255,255,255,.85); }
        .ipay-tick svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:3; stroke-linecap:round; stroke-linejoin:round;
          stroke-dasharray:24; stroke-dashoffset:24; animation:ipaydraw .45s .1s ease-out forwards; }
        @keyframes ipaytickin { from { opacity:.5; } }
        @keyframes ipaydraw { to { stroke-dashoffset:0; } }
        @media (prefers-reduced-motion:reduce) { .ipay::before { animation:none; opacity:0; } .ipay-tick, .ipay-tick svg { animation:none; stroke-dashoffset:0; } }
        .inctbl tr.sectionrow, .inctbl tr.sectionrow > td { display:block; }
        .inctbl tbody tr:not(.incrow):not(.ucrow):not(.sectionrow) > td { display:block; }
        .inctbl tr.ucrow { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:10px; row-gap:4px; align-items:center;
          padding:12px 14px 12px 13px; border-top:1px solid var(--line); }
        .inctbl tr.ucrow > td { display:none; padding:0; border:none; text-align:left; }
        .inctbl tr.ucrow .cellmain > span { display:none; }
        .inctbl tr.ucrow > td.ucname { display:block; grid-column:1; grid-row:1; }
        .inctbl tr.ucrow > td.ucamt { display:block; grid-column:2; grid-row:1; text-align:right; }
        .inctbl tr.ucrow > td.ucdate { display:block; grid-column:1; grid-row:2; }
        .inctbl tr.ucrow > td.ucbtn { display:block; grid-column:2; grid-row:1 / span 2; }
        .inctbl tr.inctot { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"lab n" "lab g";
          align-items:center; padding:10px 14px; border-top:1px solid var(--line); }
        .inctbl tr.inctot > td { display:block; padding:0; border:none; }
        .inctbl tr.inctot > td:nth-child(1) { grid-area:lab; text-align:left; }
        .inctbl tr.inctot > td:nth-child(2) { grid-area:g; text-align:right; }
        .inctbl tr.inctot > td:nth-child(2) .num { font-size:11px; font-weight:400 !important; color:var(--faint) !important; }
        .inctbl tr.inctot > td:nth-child(2) .incmk { margin-right:5px; }
        .inctbl tr.inctot > td:nth-child(3) { grid-area:n; text-align:right; }
        .inctbl tr.inctot > td:nth-child(4) { display:none; }
        /* Gider ve Fatura telefonda kart (kullanici, 2026-10-20; tasarim ayri
           bir HTML'de onaylandi). Ayni iki tablo, CSS grid; hangisinin
           gorunecegini her boyda sekme seciyor (IconTabs, 2026-11-08). Satir: ad ve adli tarihler
           solda, tutar ve Kalan sagda; bekleyen satirda tutar kutusu ve
           "Odendi isaretle" altta. Gruplar (seyahat, katlanan) kendi karti.
           Secici hep "tr.sprow > td.x": tr > td kuralinin ozgullugune
           yenilmesin (Islemler'de olculdu). */
        /* Profilim > Musterilerim telefonda kart (kullanici, 2026-10-20). */
        .mctbl { display:block; width:100%; }
        .mctbl tbody { display:flex; flex-direction:column; width:100%; }
        .mcsort { display:flex; gap:6px; overflow-x:auto; padding:0 14px 10px; scrollbar-width:none; }
        .mcsort::-webkit-scrollbar { display:none; }
        .mcsort button { flex:0 0 auto; display:inline-flex; align-items:center; gap:4px; border:1px solid var(--line); background:var(--surface); color:var(--dim); font:inherit; font-size:12px; font-weight:600; padding:5px 11px; border-radius:20px; cursor:pointer; -webkit-appearance:none; appearance:none; }
        .mcsort button.on { background:var(--ink); border-color:var(--ink); color:var(--surface); }
        .mcsort button span { font-size:11px; }
        .mctbl thead { display:none; }
        .mctbl tbody tr:not(.mcrow) > td { display:block; }
        .mctbl tr.mcrow { display:grid; grid-template-columns:38px minmax(0,1fr) auto; column-gap:11px; row-gap:4px; align-items:start; padding:12px 14px; border-top:1px solid var(--line); }
        .mctbl tr.mcrow > td { display:block; padding:0; border:none; min-width:0; width:auto; max-width:none; text-align:left; }
        .mctbl tr.mcrow > td.mclogo { grid-column:1; grid-row:1 / span 2; }
        .mctbl tr.mcrow > td.mcname { grid-column:2; grid-row:1 / span 2; }
        .mctbl tr.mcrow > td.mcamt { grid-column:3; grid-row:1; text-align:right; }
        .mctbl tr.mcrow > td.mcact { grid-column:3; grid-row:2; text-align:right; align-self:end; }
        .mctbl tr.mcrow:not(.staff) > td.mcact { grid-row:1; align-self:start; }
        .mctbl tr.mcrow > td.mctag, .mctbl tr.mcrow > td.mcstat, .mctbl tr.mcrow > td.mcsvccol { display:none; }
        .mctbl tr.mcrow .cellmain { display:block; font-size:14.5px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .mctbl tr.mcrow .cellmain > *:not(.mcnm) { display:none; }
        .mctbl tr.mcrow .mcmeta { display:flex; align-items:center; gap:6px; margin-top:5px; font-size:12px; color:var(--dim); white-space:nowrap; }
        .mctbl tr.mcrow .mcsvc { display:flex; flex-wrap:wrap; gap:5px; margin-top:7px; }
        .mcchip { border:1px solid var(--line); border-radius:20px; padding:2px 8px; font-size:11px; font-weight:600; color:var(--ink); white-space:nowrap; }
        .mctbl tr.mcrow .mcmk { display:block; font-size:9.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); }
        .mctbl tr.mcrow > td.mcamt .num { font-size:14px; }
        .mctbl tr.mcrow > td.mcact .btn { background:none; border:none; box-shadow:none; color:var(--dim); padding:2px 0; min-height:0; font-size:12px; font-weight:600; }
        .mctbl tr.mcrow > td.mcact .hint { font-size:11.5px; }
        .sptbl, .sptbl tbody, .sptbl tfoot { display:block; width:100%; }
        .sptbl thead { display:none; }
        .sptbl tbody tr:not(.sprow):not(.spline) > td { display:block; }
        .sptbl tr.sprow { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:10px; row-gap:4px; align-items:start; padding:11px 14px; border-top:1px solid var(--line); }
        .sptbl tr.sprow > td { display:block; padding:0; border:none; min-width:0; width:auto; max-width:none; background:transparent; }
        .sptbl tr.sprow > td.spname { grid-column:1; grid-row:1 / span 2; text-align:left; }
        .sptbl tr.sprow > td.spamt { grid-column:2; grid-row:1; text-align:right; }
        .sptbl tr.sprow > td.spdue, .sptbl tr.sprow > td.spx { display:none; }
        .sptbl .spnameacts { display:none; }
        .sptbl tr.sprow .cellmain { display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:14px; font-weight:700; }
        .sptbl tr.sprow .cellnote { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:4px; }
        .sptbl tr.sprow > td.spamt .num { font-size:14px; }
        .sptbl tr.sprow > td.spamt .fxsub { font-family:inherit; font-size:11px; color:var(--faint); white-space:nowrap; margin-top:3px; }
        .sptbl tr.sprow .spmk { display:inline; margin-right:4px; font-size:11px; color:var(--faint); }
        .sptbl tr.sprow .spmeta { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:6px; }
        .sptbl tr.sprow .spmeta:empty { display:none; }
        .sptbl tr.sprow .spmeta.col { flex-direction:column; align-items:flex-start; gap:4px; }
        .sptbl tr.sprow .billpaid, .sptbl tr.sprow .spdesk, .sptbl tr.sprow > td.sprem.spsame { display:none; }
        .spdate { display:inline-flex; align-items:center; gap:4px; border:1px solid var(--line); border-radius:20px; padding:1px 8px; font-size:11px; font-weight:600; color:var(--ink); white-space:nowrap; }
        .spdate svg { width:11px; height:11px; fill:none; stroke:var(--faint); stroke-width:2.4; }
        .spdate em { font-style:normal; font-weight:500; color:var(--dim); }
        .sptbl tr.sprow .spchev { display:inline-block; vertical-align:-3px; margin-left:3px; }
        .sptbl tr.sprow .spchev svg { width:14px; height:14px; fill:none; stroke:var(--faint); stroke-width:2.4; }
        .sptbl tr.cmrow > td.cmpaid { grid-column:2; grid-row:2; text-align:right; }
        .sptbl tr.cmrow .cmpd { display:none; }
        .sptbl tr.cmrow .pill { white-space:nowrap; }
        .modal .sptbl tr.sprow { padding:11px 2px; }
        .modal .sptbl tr.spline { padding-left:2px; padding-right:2px; }
        .modal .sptbl tfoot tr.grand { margin:0; border-top:none; padding:10px 2px 4px; }
        /* The figure LOOKS 12.8px and IS 16px: iPhone zooms into any field
           under 16px, so it is scaled rather than set smaller. The negative
           margin takes back the room the scale leaves behind. */
        .sptbl tfoot { border-top:2px solid var(--line); padding:6px 0 10px; }
        .sptbl tr.spline { display:flex; justify-content:space-between; align-items:baseline; gap:10px; padding:6px 14px; }
        .sptbl tr.spline > td { display:block; padding:0; border:none; text-align:left; }
        .sptbl tr.spline > td:empty, .sptbl tr.spline > td.spdesk { display:none; }
        .sptbl tr.spline .footlabel { text-transform:none; letter-spacing:0; font-size:12px; font-weight:500; text-align:left; }
        .sptbl tfoot tr.grand { border-top:1px solid var(--line); margin:4px 14px 0; padding:9px 0 6px; }
        .sptbl tfoot tr.grand .footlabel { font-weight:700; color:var(--ink); font-size:13px; }
        .card { overflow:hidden; }
        /* iOS auto-zooms into inputs under 16px on focus — make them 16px so modals don't "open big".
           Has to out-specify ".field input/select/textarea" (which sets 13px):
           as a bare "input, select" rule this never actually applied to any
           Field-wrapped control, i.e. almost every form in the app. */
        input, select, textarea, .moneywrap input,
        .field input, .field select, .field textarea, .field .moneywrap input { font-size:16px; }
        /* The in-table editors use .inline, whose own font-size:13px (0,1,0)
           out-specifies the bare "input" rule above (0,0,1) — so they stayed
           at 13px and iOS kept zooming in on focus and never zooming back
           out. Matching on the class itself is what actually wins here. */
        input.inline, select.inline, textarea.inline,
        .moneywrap.inline input, td input, td select, td .moneywrap input { font-size:16px; }
        /* The Bills/Expenses confirm box sets .confirmbox .amt at 12.5px
           (0,2,0), which out-specifies everything above — this is the field
           the zoom was actually reported on. Measured rather than guessed;
           the first attempt targeted .inline and missed it entirely. */
        .confirmbox .amt { font-size:16px; }
        /* 17px is a comfortable target for a mouse and a poor one for a thumb,
           so the delete buttons go back up on a phone. The ring is the same,
           only the box around it changes. */
        .iconbtn.danger, .docx, .taxdel { width:22px; height:22px; font-size:13px; }
        /* The last five that set their own font-size and so out-specify every
           rule above: the search boxes (Clients, Ledger, Trips...), a picker's
           filter, the chip entry, the notes textareas and the payment-type
           dropdown. Measured in a 375px frame rather than reasoned about,
           which is how the three attempts above each missed one. The chip
           entry needs the extra width to match, or 16px text clips its
           placeholder inside a box sized for 11.5px. */
        /* Sixteen is not a taste, it is the number iOS Safari zooms below: a
           field at 13px pulls the whole page in on focus, and pinching back
           out lands on the pull-to-refresh gesture, so a search ends in a
           reload with the query gone. Every field a finger can land in is on
           this line. */
        .searchbox, .picksearch, .chipinput, .cmnotes, .ptrow .ptkind,
        .ledgersearch input, .prnew input, .docpanelrow input { font-size:16px; }
        .chipinput { width:160px; }
        /* A native <select> on iOS renders at its own control height and
           mostly ignores the padding that sizes the <input> beside it, so
           dropdowns came out visibly shorter than the text fields next to
           them. Dropping the native appearance lets one box model apply to
           both; the chevron has to be drawn back in, since removing the
           appearance removes it too. */
        .field select, .form select, .modal select, .cmgrid select {
          -webkit-appearance:none; -moz-appearance:none; appearance:none;
          background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7C76' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
          background-repeat:no-repeat; background-position:right 10px center; background-size:13px 13px;
          padding-right:32px;
        }
        /* The same chevron, in a grey that survives a dark field. */
        .app.dark .field select, .app.dark .form select, .app.dark .modal select, .app.dark .cmgrid select {
          background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239DB0A8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        }
        /* One shared height so a dropdown and a text field always line up.
           The :not() pair is not decoration: the desktop rule above carries it,
           which makes it MORE specific than a bare ".field input", and without
           the same pair here that 33px would win on a phone too. */
        .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea,
        .field .moneywrap input, .field .pickbtn { min-height:44px; }
        /* fit modals to the phone screen: full-screen sheet, nothing to pinch */
        /* A sheet as tall as what is in it. A fixed 100dvh left a short form
           with a third of the screen blank under its own buttons, and .cmbody
           kept its 66vh cap inside that, so even a full modal ended early. The
           cap goes on the phone, the modal itself scrolls, and a short one
           rises from the bottom instead of stretching. */
        .overlay { padding:0; align-items:flex-end; justify-content:stretch; }
        /* Uzun grup sayfasi (kullanici, 2026-10-28): ust bar yukaridaki kuralla z-index:auto, yani
           sayfada asagi kayip bar bolgesine giren sekme seridi barin USTUNDE boyaniyordu.
           Bu sayfa acikken bar perdenin da ustunde, kendi yerinde ve net duruyor; sayfa
           barin altindan basliyor (--sheet-top, GroupSheet olcup yaziyor) ve bara dokunmak
           perdeye gecip sayfayi kapatiyor (pointer-events:none). */
        .app:has(.modal.grpmodal) .sidebar { z-index:61; pointer-events:none; }
        .modal.grpmodal { max-height:min(calc(100dvh - var(--sheet-top, 42px) - 8px), calc(100% - 8px)); }
        /* A sheet anchored to the bottom edge should arrive from it. */
        @keyframes sheetrise { from { transform:translateY(100%); } to { transform:translateY(0); } }
        .modal, .modal.wide, .modal.statusmodal { animation:sheetrise .28s cubic-bezier(.32,.72,0,1) both; }
        @media (prefers-reduced-motion:reduce){ .modal, .modal.wide, .modal.statusmodal { animation:none; } }
        /* A sheet, not a page: it stops short of the top edge, so the screen
           it came from stays visible behind it and its own title is clear of
           the status bar. At 100dvh the sheet's first row sat at y=0, under
           the notch on a phone and level with the app's header in a browser. */
        .modal, .modal.wide { width:100vw; max-width:100vw; height:auto;
          /* The second limit is the overlay itself. While the keyboard is up the
             overlay is pinned to the visual viewport (usePinToVisualViewport)
             but dvh does not shrink on iOS, so the sheet stayed full height,
             hung ~400px above the glass (flex-end) and the field being typed
             in sat in the part nobody could see. 100% is the visible area. */
          max-height:min(calc(100dvh - max(var(--navbar-h, 0px) + 6px, env(safe-area-inset-top) + 42px)), calc(100% - 8px));
          border-radius:var(--r-sheet) var(--r-sheet) 0 0; border-left:none; border-right:none;
          /* The sheet ends at the bottom of the glass, so it has to carry its
             own floor: the inset clears the home indicator, and the 18px is
             the breathing room every other edge of this sheet already has.
             With the inset alone the last row of a list sat flush against the
             screen edge on any phone that has no indicator, and in a browser
             that reports the inset as 0. */
          padding-bottom:calc(env(safe-area-inset-bottom) + 18px); }
        .modal .cmbody { max-height:none; overflow:visible; }
        /* The screen's own errand, not a sibling of the filter button. */
        .ledgeracts { flex:1 1 100%; min-width:0; }
        /* Full width was the point; full height was not. 36px is still a
           comfortable target and stops the button reading as a banner. */
        .ledgeracts .addtx { flex:1 0 100%; order:-1; min-height:44px; font-size:15px; font-weight:800; border-radius:999px; }
        /* Araclarin her birinin yaninda kisa bir yazi (kullanici, 2026-10-28):
           Ara, Tarih araligi, Gruplar. */
        .ledgeracts .lstxt { display:inline; font-size:13px; font-weight:700; }
        .ledgeracts { gap:6px !important; }
        .ledgeracts .lsbtn, .ledgeracts .btn:not(.addtx) { display:inline-flex; align-items:center; gap:6px; width:auto; height:auto;
          min-height:36px; padding:0 10px; border-radius:999px; white-space:nowrap; }
        .ledgeracts .lsbtn svg, .ledgeracts .btn:not(.addtx) svg { width:16px; height:16px; }
        /* iOS icin ikon .lsbtn icinde mutlak konumlu (yalnizca ikonlu dugme icin
           yazilmisti); yaninda yazi olunca akisa geri aliniyor. */
        .ledgeracts .lsbtn > svg { position:static; inset:auto; margin:0; flex:none; }
        .modal .field, .modal .form .field, .cmgrid .field { width:100% !important; min-width:0; }
        /* Pairs that belong together read better side by side than stacked: the
           type with its category, the figure with its currency, the date with
           how it is paid. The !important above puts every field on its own row,
           so this has to shout back. Half the row minus half the 10px gap. */
        .modal .field.half, .modal .form .field.half { width:calc(50% - 5px) !important; }
        /* A proposal line is five fields, and one under another they filled a
           phone screen on their own. The service names the line so it keeps
           the full width; the rest pair up, which is how they are read anyway:
           an amount with its basis, a discounted amount with its currency. */
        .modal .prline { display:grid; grid-template-columns:1fr 1fr; gap:10px; align-items:end; }
        .modal .prline > .field:first-child { grid-column:1 / -1; }
        .modal .prline .prdisc { grid-column:1 / -1; }
        .modal .prline .prdrop { grid-column:1 / -1; justify-self:stretch; }
        .modal .prline .prdrop .iconbtn { width:100%; justify-content:center; gap:7px;
          border:1px solid var(--line); border-radius:10px; height:38px; }
        .modal .prline .prdroplbl { display:inline; font-size:13px; font-weight:600; }
        /* Same pairing as a proposal line: the figure and what is done with it
           side by side, rather than one field per screenful. */
        /* A phone has no room for one line, so it becomes three: the switch,
           the sentence, then the figures side by side. */
        .modal .obblock { display:block; }
        .modal .obhead { display:block; padding:0; }
        .modal .obblock .tglrow { padding:0 0 8px; }
        .modal .obhint { display:block; padding:0 0 10px; }
        /* A fee is five or six digits wide, not half a modal. Stretched to a
           column each, the two boxes dwarfed the numbers in them and still did
           not match, because only one of them carries the way out. Both are
           given the width the figure needs: seven digits fit with room over,
           and the proposal that needs an eighth does not exist. */
        .modal .obrow { display:grid; grid-template-columns:minmax(0,130px) minmax(0,130px); gap:12px; align-items:end; }
        .modal .obrow .prdisc { grid-column:1 / -1; padding-bottom:0; }
        /* The cell is now one box wide, so it takes the blanket full width
           the way every other field on a phone does. */
        .modal .prnewcell, .modal .prnewcell .field { width:100% !important; }
        .modal .reqinput { font-size:16px; }
        /* The section picker is short and keeps its own width; what they asked
           for is a paragraph, and the button that files it belongs under what
           it files, not beside it. */
        .modal .prline.reqform > .field:first-child { grid-column:auto; }
        .modal .prline.reqform > .field:nth-child(2) { grid-column:1 / -1; }
        .modal .prline.reqform > .btn { grid-column:1 / -1; width:100%; justify-content:center; }
        /* Not the tick boxes. width:100% on a checkbox in an auto-sized grid
           cell collapsed it to a sliver, which is why every checkbox in every
           modal read as a stray bullet on a phone. */
        .modal input:not([type="checkbox"]):not([type="radio"]),
        .modal select, .modal textarea, .modal .moneywrap { width:100%; max-width:100%; min-width:0; }
        .modal input[type="checkbox"], .modal input[type="radio"] { width:19px; height:19px; flex:0 0 auto; }
        /* Not sticky on a phone. Pinned, it sat on top of the sheet's own
           bottom padding, so a strip of the sheet showed underneath it and the
           bar read as a separate thing floating over the form rather than its
           last row. It is the last row again; the cost is that a long form has
           to be scrolled to the end to reach Save, which is what a sheet does. */
        .cmfoot { position:static; }
        .dpgrid { max-width:calc(100vw - 16px); }
        /* Confirm dialogs are a couple lines + two buttons — full-screen-sheet
           like a long edit form leaves them stranded near the top. Anchor a
           small card near the bottom instead, closer to the thumb. */
        .overlay:has(.confirmmodal) { align-items:flex-end; justify-content:center; padding:0 12px 24px; }
        .confirmmodal, .confirmmodal.wide { width:min(420px,100%) !important; max-width:min(420px,100%); height:auto !important; max-height:80vh; border-radius:16px !important; border:1px solid var(--line); }
      }
      /* A pair of narrow fields sharing one cell of the grid. */
      .cmpair { grid-column:span 2; display:grid; grid-template-columns:1fr 1fr; gap:12px; align-items:end; }

      /* The hold, made visible. A finger gets nothing back for 420ms and then a
         menu appears, which reads as the phone having thought about it. The card
         sinks instead, over exactly the time the hold takes, so a tap barely
         moves it (it springs back before the travel is done) and a hold settles
         into the pressed state at the moment the menu arrives. The duration is
         read from the same constant the timer uses, so the two cannot drift.
         Last in the sheet, because the hover rules for these cards come later in
         the file and a phone applies hover to what it is touching.
         Not the proposal table's rows: a <tr> cannot be transformed reliably,
         and a row inside a sideways scroller is the least likely thing to hold.
         The system's own grey flash goes, so the feedback is one thing. */
      @media (pointer:coarse){
        .crcard, .svccard, .prcard, .crlrow, .bprow {
          -webkit-tap-highlight-color:transparent;
          transition:transform 420ms cubic-bezier(.22,.7,.3,1);
        }
        .crcard:active, .svccard:active, .prcard:active, .crlrow:active, .bprow:active { transform:scale(.985); }
      }
      /* Asked for less movement: the press is a shade rather than a shift, in
         the tone these rows already take under a cursor. */
      @media (pointer:coarse) and (prefers-reduced-motion:reduce){
        .crcard, .svccard, .prcard, .crlrow, .bprow { transition:none; }
        .crcard:active, .svccard:active, .prcard:active, .crlrow:active, .bprow:active { transform:none; background:var(--bg); }
      }

      /* ---------------------------------------------------------- time ----
         The hand-off defines a fixed turquoise accent and a blue-to-violet
         gradient. Here the timer wears whatever theme the person chose, which
         is the one instruction in the hand-off that overrides its own palette:
         "map the tokens to the app's, do not build a second theme system".
         Billable is the one exception and stays green, because green is what
         money is everywhere else in this app. */
      .timegrid { display:grid; grid-template-columns:minmax(300px,380px) 1fr; gap:18px; align-items:start; }
      .timeleft { display:flex; flex-direction:column; gap:18px; min-width:0; }
      .tmpanel { display:flex; flex-direction:column; align-items:center; gap:14px; padding:16px; }
      .tmmode { display:flex; gap:6px; width:100%; background:var(--bg); border-radius:10px; padding:4px; }
      .tmmodebtn { flex:1 1 0; min-width:0; padding:8px 10px; border-radius:8px; border:1px solid transparent;
        background:transparent; font:inherit; font-size:13px; font-weight:700; color:var(--dim); cursor:pointer; }
      .tmmodebtn.on { background:var(--surface); border-color:var(--line); color:var(--ink); }
      .tmmodebtn:disabled, .tmmodebtn.locked { opacity:.55; cursor:not-allowed; }
      .tmchip.locked { opacity:.5; cursor:not-allowed; }
      /* ---- kronometre kadrani ---- */
      .swwrap { display:flex; flex-direction:column; align-items:center; gap:12px; }
      .swface { display:block; }
      /* Basilinca iceri coker, birakinca hafifce geri firlar: cubic-bezier'in
         sondaki 1.5'i o geri gelisi veriyor. Golge yok (kullanici, 2026-10-22). */
      .swbtn { border:none; background:transparent; padding:0; cursor:pointer; border-radius:50%;
        transition:transform .22s cubic-bezier(.2,.9,.3,1.5); }
      /* Sira onemli: ikisi ayni spesifiklikte, ve basili tutarken imlec zaten
         ustunde oldugu icin sonra yazilan kazanir. Hover once, active sonra --
         tersi yazildiginda basma efekti hic gorunmedi, olculen deger 0,955
         yerine 1,014 cikti. */
      .swbtn:hover { transform:scale(1.012); }
      .swbtn:active { transform:scale(.955); }
      .swbtn:focus-visible { outline:3px solid var(--primary); outline-offset:4px; }
      @media (prefers-reduced-motion:reduce) { .swbtn { transition:none; } }
      /* Renkler temadan: govde birincil renk, kadran kart zemini, ibreler
         murekkep, saniye ibresi ve mili vurgu rengi. Faturalanabilirken butun
         ekran yesile dondugu icin govde de ona uyuyor. */
      .swrim { fill:var(--primary); }
      .swface.bill .swrim { fill:var(--green); }
      .swdial { fill:var(--surface); }
      .swnub, .swstem { fill:var(--red); }
      .swtick { stroke:var(--faint); stroke-width:2; stroke-linecap:round; }
      .swtick.big { stroke:var(--dim); stroke-width:3.4; }
      .swhand { stroke:var(--ink); stroke-linecap:round; }
      .swhand.min { stroke-width:5.5; }
      .swhand.sec { stroke:var(--red); stroke-width:2.6; }
      .swpin { fill:var(--red); }
      .app.dark .swdial { fill:var(--bg); }
      .swdigits { font-size:30px; }

      .tmringwrap { position:relative; width:240px; height:240px; display:grid; place-items:center; }
      .tmring { position:absolute; inset:0; transform:rotate(-90deg); }
      .tmtrack { stroke:var(--track, var(--bg)); }
      /* The transition bridges two draws. The panel redraws five times a
         second and the arc interpolates between them, so what you see is a
         line that never stops rather than one that steps. */
      .tmarc { stroke:var(--primary); transition:stroke-dashoffset .2s linear; }
      .tmringwrap.bill .tmarc { stroke:var(--green); }
      /* The liquid sits inside the ring, nineteen pixels in from its inner
         edge, and the digits sit on top of it: a number you cannot read is not
         a timer. */
      .tmliquid { position:absolute; width:194px; height:194px; border-radius:50%; overflow:hidden; z-index:1; }
      .tmlvl { position:absolute; inset:0; transition:transform .2s linear, opacity .3s linear;
        background:linear-gradient(to bottom, color-mix(in srgb, var(--primary) 30%, transparent),
          color-mix(in srgb, var(--primary) 14%, transparent)); }
      .tmliquid.bill .tmlvl { background:linear-gradient(to bottom, color-mix(in srgb, var(--green) 30%, transparent),
          color-mix(in srgb, var(--green) 14%, transparent)); }
      .tmwave { position:absolute; left:0; width:200%; height:28px; }
      .tmwave path { fill:color-mix(in srgb, var(--primary) 30%, transparent); }
      .tmliquid.bill .tmwave path { fill:color-mix(in srgb, var(--green) 30%, transparent); }
      .tmwave.a { top:-14px; animation:tmwaveL 7s linear infinite; }
      .tmwave.b { top:-11px; animation:tmwaveR 11s linear infinite; }
      .tmwave.b path { fill:color-mix(in srgb, var(--primary) 20%, transparent); }
      .tmliquid.bill .tmwave.b path { fill:color-mix(in srgb, var(--green) 20%, transparent); }
      @keyframes tmwaveL { from { transform:translateX(0); } to { transform:translateX(-50%); } }
      @keyframes tmwaveR { from { transform:translateX(-50%); } to { transform:translateX(0); } }
      /* 14px, not 6. The glow under the play button has a radius of its own
         and reached the number; the gap has to clear the glow, not the button. */
      /* Halkanin icindeki iki sey artik birbirini itmiyor. Sutun duzeninde
         ortalanan sey GRUPTU, yani dugme grubun yarisi kadar asagi kayiyordu:
         olculen sapma 24px, halkanin %10'u. Istenen %3. Ikisi de artik
         halkaya gore mutlak konumlu: dugme merkezde (+%3), rakamlar da onun
         ustunde kalan bandin ortasinda. */
      .tmstack { position:absolute; inset:0; z-index:2; }
      /* Olculen oranlar, kullanicinin verdigi referanstan: oynat dugmesi
         halkanin %34'u, rakamlar %11,5'i, yani dugme rakamlarin yaklasik uc
         kati. Bizde 30% ve 13% idi (oran 2,25), yani dugme referansa gore
         kucuk, rakamlar buyuktu. 240px'lik halkada bu 82px ve 28px eder.
         (38px bir zamanlar belgenin rakamiydi, ama o, altinda bir satir yazi
         olan bir halka icindi; o yazi kalkti.) */
      /* Dugmenin ustunde kalan bant: halkanin tepesindeki cizgiden (12px)
         dugmenin ust kenarina kadar, 240px'lik halkada ~74px. Rakam o bandin
         ortasinda duruyor. 30px, bandi doldurup tasmayan olcu: bir saati gecen
         kronometrede "1:02:33" bile halkanin o yukseklikteki genisligine
         (~193px) rahat siginiyor. */
      .tmdigits { position:absolute; left:50%; top:20.5%; transform:translate(-50%,-50%);
        font-size:30px; font-weight:800; letter-spacing:-.5px; color:var(--ink); line-height:1; white-space:nowrap; }
      .visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden;
        clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; }
      /* Halkanin icindeki her sey mutlak konumlu; sutunun icinde ikisi de
         normal akisa donuyor, yoksa rakamlar panelin bilinmez bir yerine
         gidiyor (gittiler de: ekran goruntusunde hic yoklardi). */
      .swwrap .tmdigits { position:static; transform:none; }
      .tmplay { position:absolute; left:50%; top:53%; transform:translate(-50%,-50%);
        width:82px; height:82px; border-radius:50%; border:none; cursor:pointer; display:grid; place-items:center;
        color:#fff; background:linear-gradient(135deg, color-mix(in srgb, var(--primary) 55%, #fff) 0%,
          var(--primary) 55%, color-mix(in srgb, var(--primary) 72%, #000) 100%);
        box-shadow:0 8px 20px color-mix(in srgb, var(--primary) 38%, transparent), inset 0 1px 0 rgba(255,255,255,.4);
        transition:transform .15s ease-out; }
      .tmringwrap.bill .tmplay { background:linear-gradient(135deg, color-mix(in srgb, var(--green) 55%, #fff) 0%,
          var(--green) 55%, color-mix(in srgb, var(--green) 72%, #000) 100%);
        box-shadow:0 8px 20px color-mix(in srgb, var(--green) 38%, transparent), inset 0 1px 0 rgba(255,255,255,.4); }
      .tmplay svg { width:30px; height:30px; fill:currentColor; }
      /* Olcek, ortalayan donusumun USTUNE yazilmak zorunda: transform tek bir
         ozelliktir, "scale(1.07)" yazmak translate'i silerdi ve dugme hover'da
         halkanin kosesine sicrardi. */
      .tmplay:hover { transform:translate(-50%,-50%) scale(1.07); }
      .tmplay:active { transform:translate(-50%,-50%) scale(.93); }
      /* The pulse says "this is running" without moving the number. */
      /* Nabiz artik dugmenin kendisine gore konumlu. Oncesinde en yakin
         konumlu ata halkaydi, yani halka merkezinde duruyordu: dugme 24px
         asagidayken nabiz onun ustunde kaliyordu. */
      .tmplay.on::after { content:""; position:absolute; inset:0; width:82px; height:82px; border-radius:50%;
        box-shadow:0 0 0 0 color-mix(in srgb, var(--primary) 45%, transparent); animation:tmpulse 2.2s ease-out infinite; }
      .tmringwrap.bill .tmplay.on::after { box-shadow:0 0 0 0 color-mix(in srgb, var(--green) 45%, transparent); }
      @keyframes tmpulse { to { box-shadow:0 0 0 18px transparent; } }
      .tmpill { display:flex; align-items:center; gap:10px; min-width:230px; max-width:100%; padding:7px 7px 7px 14px;
        border-radius:999px; border:1px solid var(--green); background:color-mix(in srgb, var(--green) 12%, var(--surface));
        cursor:pointer; font:inherit; text-align:left; }
      .tmpilltxt { display:flex; flex-direction:column; gap:1px; flex:1 1 auto; min-width:0; }
      .tmpilltxt b { font-size:17px; color:var(--ink); }
      .tmpilltxt span { font-size:11px; color:var(--dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .tmpillico { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; flex:0 0 auto; color:#fff;
        background:linear-gradient(135deg, color-mix(in srgb, var(--green) 55%, #fff), var(--green)); }
      .tmpillico svg { width:17px; height:17px; }
      .tmpresets { display:flex; align-items:center; gap:7px; flex-wrap:wrap; justify-content:center; }
      .tmchip { border:1px solid var(--line); background:var(--surface); color:var(--dim); border-radius:999px;
        padding:5px 12px; font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
      .tmchip.on { background:var(--mint); border-color:var(--primary); color:var(--primary-ink); }
      .tmchip:disabled { opacity:.5; cursor:not-allowed; }
      /* It was a bare number input sitting between three rounded chips: a
         square box with a spinner, in a row of pills. Now it is a pill too,
         with its unit inside it, and the spinner is gone -- nobody sets a
         timer by clicking a one-pixel arrow twenty-five times. */
      .tmcustom { display:inline-flex; align-items:center; gap:3px; border:1px solid var(--line);
        background:var(--surface); border-radius:999px; padding:4px 11px 4px 12px; cursor:text; }
      .tmcustom.on { border-color:var(--primary); background:var(--mint); }
      .tmcustomlbl { display:none; }
      .tmcustom.off { opacity:.5; cursor:not-allowed; }
      .tmcustom input { width:30px; border:none; background:transparent; padding:0; text-align:right;
        font:inherit; font-size:13px; font-weight:700; color:var(--ink); -moz-appearance:textfield; }
      .tmcustom input::-webkit-outer-spin-button, .tmcustom input::-webkit-inner-spin-button {
        -webkit-appearance:none; margin:0; }
      .tmcustom input:focus { outline:none; }
      .tmcustom span { font-size:13px; font-weight:600; color:var(--dim); }
      .tmcustom.on span { color:var(--primary-ink); }
      .tmtask { display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; color:var(--primary-ink);
        background:var(--mint); border-radius:999px; padding:5px 6px 5px 12px; max-width:100%; }
      .tmtask span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .tmtask button { border:none; background:transparent; color:inherit; font-size:16px; line-height:1; cursor:pointer; padding:0 5px; }
      .tmpanel > label { width:100%; }
      .tmrow { display:flex; align-items:flex-end; gap:12px; width:100%; }
      /* Not Field's own grow prop: that sets a flex-basis, which is a WIDTH in
         a row and a HEIGHT the moment this row becomes a column on a phone.
         It made the client picker 240px tall with 200 of them empty. */
      .tmrow > .field { flex:1 1 auto; min-width:0; }
      /* Sayacin musteri seciminde uzun ad tek satir, sonu "..." (kullanici,
         2026-10-31); tam ad dugmenin title'inda. */
      .tmrow .pickbtn { min-width:0; }
      .tmrow .pickbtn > span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .tmbill { display:flex; align-items:center; gap:7px; font-size:13px; font-weight:700; color:var(--dim);
        cursor:pointer; padding-bottom:9px; white-space:nowrap; }
      .tmbill.on { color:var(--green); }
      .tmbill input { position:absolute; opacity:0; width:0; height:0; }
      .tmswitch { width:30px; height:18px; border-radius:999px; background:var(--bg); border:1px solid var(--line);
        position:relative; transition:background .15s, border-color .15s; flex:0 0 auto; }
      .tmswitch::after { content:""; position:absolute; top:1px; left:1px; width:14px; height:14px; border-radius:50%;
        background:var(--surface); box-shadow:0 1px 3px rgba(0,0,0,.25); transition:transform .15s; }
      .tmbill.on .tmswitch { background:color-mix(in srgb, var(--green) 25%, transparent); border-color:var(--green); }
      .tmbill.on .tmswitch::after { transform:translateX(12px); }
      .tmbill input:focus-visible + .tmswitch { outline:2px solid var(--primary); outline-offset:2px; }
      .tmsave { width:100%; height:48px; border:none; border-radius:11px; background:var(--ink); color:var(--bg);
        font:inherit; font-size:16px; font-weight:700; cursor:pointer; }
      .tmsave:disabled { opacity:.4; cursor:not-allowed; }
      /* Darker than the dim text so it is clearly a control, lighter than
         anything else here so it never competes with Finish and save. It is
         the one button on this panel that destroys something. */
      .tmdiscard { width:100%; border:none; background:transparent; font:inherit; font-size:13px;
        font-weight:700; color:color-mix(in srgb, var(--ink) 45%, transparent); cursor:pointer;
        padding:8px 0 2px; }
      .tmdiscard:hover:not(:disabled) { color:var(--red); }
      .tmdiscard:disabled { opacity:.35; cursor:not-allowed; }
      .ratecard { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; text-align:left;
        border:1px solid var(--line); border-radius:12px; padding:12px; background:var(--surface); font:inherit;
        cursor:pointer; margin-bottom:8px; }
      .ratecard.on { border-color:var(--primary); background:var(--mint); }
      .ratecard span { display:flex; flex-direction:column; gap:2px; min-width:0; }
      .ratecard .dim { font-size:12px; }
      .raterow { display:flex; gap:10px; padding-left:30px; }
      .raterow.off { opacity:.45; }
      /* Para birimi basina ucret satirlari. Her satir kendi Save'ini tasiyor,
         o yuzden bir form degil bir liste: alanlar hizali, dugme sagda. */
      .ratetable { display:flex; flex-direction:column; gap:8px; padding:0 18px 16px; }
      .raterow2 { display:flex; align-items:center; gap:10px; padding:8px 10px;
        border:1px solid var(--line); border-radius:10px; background:var(--bg); }
      .raterow2.on { border-color:var(--primary); }
      /* Satirin sabit genisligi yok: kart artik ucuncu bir sutun oldugu icin
         dar olabiliyor, ve 92px'lik bir min-width orada "TRY . billed in"i
         iki satira kiriyordu. Etiketler kirilmiyor, esneyen sey alan. */
      .raterow2 .ratecur { font-weight:600; font-size:13px; white-space:nowrap; }
      /* Kendi gorunumunu tasimasi gerekiyor: uygulamanin alan stili
         ".field input" altinda, bu satirlar ise bir Field degil. */
      .raterow2 input { width:110px; min-width:0; flex:1 1 110px; font:inherit; font-size:13px; color:var(--ink);
        border:1px solid var(--line); border-radius:8px; padding:7px 9px; background:#FCFEFD; }
      .raterow2 input:focus { outline:2px solid var(--primary); outline-offset:-1px; }
      .app.dark .raterow2 input { background-color:#101E19; }
      .raterow2 .rateper { font-size:12px; flex:1 1 auto; white-space:nowrap; }
      /* "Saved checkmark" iki satira kiriliyordu ve satiri 7px uzatiyordu:
         bir dugmenin yazisi kirilmaz, dugme kuculmez. */
      .raterow2 .btn { white-space:nowrap; flex:0 0 auto; }
      .raterow2 .ratebilled { font-size:11.5px; font-weight:700; white-space:nowrap; flex:0 0 auto;
        color:var(--primary-ink); background:var(--mint); border-radius:999px; padding:3px 9px; }
      .app.dark .raterow2 .ratebilled { background:color-mix(in srgb, var(--primary) 20%, transparent); }
      /* Dar ekranda satir uc parcaya bolunuyor: para birimi ustte, alan ve
         dugme altta. "/ hour" gizleniyor, cunku alanin yanindaki etiket
         kaybolan ilk seydir ve bilgi zaten basliktaki aciklamada var.
         16px: bunun altindaki her input iOS'ta sayfayi zoomlar. */
      @media (max-width:820px){
        .ratetable { padding:0 14px 14px; }
        .raterow2 { flex-wrap:wrap; }
        .raterow2 .ratecur { min-width:100%; }
        .raterow2 .rateper { display:none; }
        .raterow2 input { flex:1 1 auto; width:auto; min-width:0; font-size:16px; }
      }
      .modalacts { display:flex; justify-content:flex-end; gap:8px; margin-top:12px; }

      /* ---- tasks ---- */
      .tkfilters { display:flex; flex-direction:column; gap:8px; padding-top:4px; padding-bottom:4px; }
      .tkfrow { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
      .tkflbl { min-width:64px; font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); }
      .tkchips { display:flex; gap:7px; flex-wrap:wrap; flex:1 1 auto; min-width:0; }
      .tkfcli { min-width:240px; }
      /* Inset rather than ruled off: a tinted card with its own edge, sitting
         in the panel's padding. The dashed lines it had before ran the full
         width and read as the panel splitting in two. */
      .tkaddwrap { padding:14px 18px 12px; }
      /* Akordeon. Kapaliyken ortada yalnizca basligin kendisi var, o yuzden
         kutu bos: cerceve ve dolgu govdeye ait, basliga degil. */
      .tkadd { display:flex; flex-direction:column; }
      /* Baslik bir dugme, ve sol menudeki secili satirla ayni dili konusuyor:
         cerceve yok, temanin kendi yesili, ayni yazi agirligi. */
      .tkacchd { display:flex; align-items:center; gap:10px; width:100%; border:none; cursor:pointer;
        background:var(--mint); color:var(--primary-ink); border-radius:12px; padding:11px 14px;
        font:inherit; font-size:15px; font-weight:700; text-align:left; }
      .tkacchd:hover { background:color-mix(in srgb, var(--mint) 70%, var(--primary) 12%); }
      .tkadd.open .tkacchd { border-radius:12px 12px 0 0; }
      .tkaccico { display:inline-flex; }
      .tkaccico svg { width:17px; height:17px; }
      .tkacclbl { flex:1 1 auto; min-width:0; }
      /* Kapaliyken saga, acikken asagi bakar: ok, formun hangi yonde
         acilacagini soyler. */
      .tkaccchev { display:inline-flex; transition:transform .18s ease-out; }
      .tkaccchev svg { width:16px; height:16px; }
      .tkadd.open .tkaccchev { transform:rotate(90deg); }
      @media (prefers-reduced-motion:reduce) { .tkaccchev { transition:none; } }
      /* ---- gorev notlari ---- */
      /* Sayactaki dugme. Bir alan degil, bir kapi: gorevin kendi penceresini
         notlarin uzerinde aciyor. */
      .tmnotes { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; margin-top:10px;
        border:1px dashed var(--line); background:transparent; color:var(--dim); border-radius:10px;
        padding:9px 12px; font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
      .tmnotes:hover { border-color:var(--primary); color:var(--primary-ink); }
      .tmnotes.locked { opacity:.55; }
      .tmnotes.locked:hover { border-color:var(--line); color:var(--dim); }
      .tmnotesico svg { width:15px; height:15px; }
      /* Bir isaret, bir dugme degil: 14px yuksekliginde bir dokunma hedefi
         olmaz, ve ayni satirdaki kalem zaten ayni yeri aciyor. */
      .tknote { display:inline-flex; align-items:center; gap:4px; font-size:12px; font-weight:700;
        color:var(--primary-ink); }
      .tknote svg { width:13px; height:13px; }
      .ennote { display:inline-flex; color:var(--primary-ink); flex:0 0 auto; cursor:help; }
      .ennote svg { width:14px; height:14px; }
      /* Konusma balonu. position:fixed, cunku kayit listesi kendi icinde
         kayiyor ve satirin icinde duran bir kutu kirpilirdi. Kuyrugu iki
         ucgen: biri cerceve, biri zemin. */
      .entip { position:fixed; z-index:80; background:var(--surface); border:1px solid var(--line);
        border-radius:12px; padding:10px 12px; box-shadow:0 12px 28px rgba(14,33,27,.14);
        text-align:left; cursor:default; }
      .entipin { display:block; max-height:240px; overflow-y:auto; }
      .entip::before, .entip::after { content:""; position:absolute; left:var(--tail, 50%); margin-left:-7px;
        border:7px solid transparent; }
      /* Kuyruk balonun hangi tarafta durduguna gore ters donuyor: asagi acilan
         balonun kuyrugu yukari, yukari acilaninki asagi bakar. */
      .entip.down::before { top:-14px; border-bottom-color:var(--line); }
      .entip.down::after { top:-13px; border-bottom-color:var(--surface); }
      .entip.up::before { bottom:-14px; border-top-color:var(--line); }
      .entip.up::after { bottom:-13px; border-top-color:var(--surface); }
      .ntlabel { padding-top:4px; }
      /* Gecmis gunlerin notlari. Kapali bir liste: her satir bir gun, acilinca
         o gunun notu. Solgun, cunku bugunun notu degil; ama duzenlenebilir,
         cunku gecmise donuk kayit tutmanin anlami bu. */
      .ntpast { margin:12px 18px 0; border-top:1px solid var(--line); padding-top:10px;
        display:flex; flex-direction:column; gap:6px; }
      .ntpasthd { font-size:11.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:var(--dim); }
      .ntpastrow { border:1px solid var(--line); border-radius:10px; background:var(--bg); }
      .ntpastrow.on { border-color:var(--primary); background:var(--surface); }
      .ntpasttop { display:flex; align-items:center; gap:9px; width:100%; border:none; background:transparent;
        font:inherit; font-size:12.5px; color:var(--dim); text-align:left; cursor:pointer; padding:8px 11px; }
      .ntpastdate { font-weight:700; color:var(--ink); white-space:nowrap; }
      .ntpastpeek { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .ntpastchev { display:inline-flex; transition:transform .18s ease-out; }
      .ntpastchev svg { width:14px; height:14px; }
      .ntpastrow.on .ntpastchev { transform:rotate(90deg); }
      @media (prefers-reduced-motion:reduce) { .ntpastchev { transition:none; } }
      .ntpastbody { padding:0 11px 11px; display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
      .ntpastbody .ntwrap { padding:0; width:100%; }
      .ntpastview { color:var(--dim); }
      .ntpastview b { color:var(--ink-soft); }
      .ntwrap { display:flex; flex-direction:column; gap:8px; padding:0 18px; }
      .nttools { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
      .ntbtn { border:1px solid var(--line); background:var(--surface); color:var(--ink); border-radius:8px;
        padding:5px 10px; font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; min-height:30px; }
      .ntbtn:hover { border-color:var(--dim); }
      .ntbtn.on { border-color:var(--primary); color:var(--primary-ink); background:var(--mint); }
      .ntbtn:disabled { opacity:.45; cursor:default; }
      .nt-i { font-style:italic; }
      .ntspacer { flex:1 1 auto; }
      .ntarea { font:inherit; font-size:13px; line-height:1.55; color:var(--ink); border:1px solid var(--line);
        border-radius:10px; padding:10px 12px; background:#FCFEFD; min-height:120px; resize:vertical; width:100%; }
      .ntarea:focus { outline:2px solid var(--primary); outline-offset:-1px; }
      .app.dark .ntarea { background-color:#101E19; }
      .ntpreview { border:1px solid var(--line); border-radius:10px; padding:10px 12px; min-height:120px; background:var(--bg); }
      .nthint { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
        font-size:11.5px; color:var(--dim); }
      .nthint .warn { color:var(--amber); font-weight:700; }
      /* Notun kendisi. Listeler ve paragraflar disinda bir sey ciktigi
         olmuyor: ayristirici baska bir sey uretmiyor. */
      .ntview { font-size:13px; line-height:1.6; color:var(--ink); }
      .ntview p { margin:0 0 8px; }
      .ntview p:last-child, .ntview ul:last-child, .ntview ol:last-child { margin-bottom:0; }
      .ntview ul, .ntview ol { margin:0 0 8px; padding-left:20px; }
      .ntview li { margin:2px 0; }
      .tkaccbody { background:var(--bg); border:1px solid var(--line); border-top:none;
        border-radius:0 0 12px 12px; padding:12px 14px; display:flex; flex-direction:column; gap:10px; }
      .tkaddtitle input { font:inherit; font-size:14px; color:var(--ink); border:1px solid var(--line);
        border-radius:8px; padding:9px 11px; background:#FCFEFD; width:100%; }
      .tkaddtitle input:focus { outline:2px solid var(--primary); outline-offset:-1px; }
      .app.dark .tkaddtitle input { background-color:#101E19; }
      .tkaddrow { display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap; }
      /* Musterinin adi alanin genisligini belirlemesin: satirin ucte biri,
         uzun bir ad da kisa bir ad da ayni yeri tutsun. */
      .tkaddrow > .tkfclient { flex:0 0 30%; min-width:0; width:auto; }
      .tkaddrow > .tkfgrow { flex:1 1 0; min-width:0; width:auto; }
      .tkaddrow > .tkfdate { flex:0 0 170px; min-width:0; width:auto; }
      .tkaddspacer { flex:1 1 auto; }
      /* The one button on this form, so it is allowed to be the biggest thing
         on its row. It still lines up with the date fields beside it because
         .tkaddrow aligns on flex-end, not on a shared height. */
      .tkaddgo { min-height:40px; padding:0 20px; font-size:13.5px; }
      /* Eklenince dugme tik cizip "Gorev eklendi" diyor (kullanici, 2026-10-29). Iki yazi ayni
         hucrede, yani dugmenin genisligi degismiyor. Noktalar dugmenin yazisinin rengi: dolu bir
         dugmede var(--primary) kaybolurdu. */
      .tkaddgo { position:relative; display:inline-grid; }
      .tkaddgo .tkaddlbl { grid-area:1 / 1; display:inline-flex; align-items:center; justify-content:center; gap:7px;
        transition:opacity .16s ease, transform .22s ease; }
      .tkaddgo .tkaddlbl.b { opacity:0; transform:translateY(7px); pointer-events:none; }
      .tkaddgo.ok .tkaddlbl.a { opacity:0; transform:translateY(-7px); }
      .tkaddgo.ok .tkaddlbl.b { opacity:1; transform:none; }
      /* Onay aninda zemin sabit ve koyu (kullanici, 2026-10-30): fare dugmenin ustundeyken
         :hover zemini (koyu temada acik mint) beyaz yaziyi ve tiki yutuyordu. --sel-bg beyaz
         yaziyla en az 4.5. */
      .tkaddgo.ok, .tkaddgo.ok:hover, .tkaddgo.ok:focus-visible { background:var(--sel-bg, var(--primary-ink)); color:#fff; border-color:transparent; }
      .tkaddtickw { position:relative; display:inline-flex; width:16px; height:16px; }
      .tkaddtick { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
      .tkaddtick path { stroke-dasharray:1; stroke-dashoffset:1; }
      .tkaddgo.ok .tkaddtick path { animation:qntick .42s cubic-bezier(.6,0,.3,1) .06s both; }
      .tkaddspark { left:50%; top:50%; }
      .tkaddgo .mbspark i, .tkaddgo .mbspark i:nth-child(odd) { background:currentColor; }
      @media (prefers-reduced-motion: reduce) {
        .tkaddgo .tkaddlbl { transition:none; }
        .tkaddgo.ok .tkaddtick path { animation:none; stroke-dashoffset:0; }
        .tkaddspark { display:none; }
      }
      /* Reddedilen "Gorev ekle" (kullanici, 2026-10-29): dugme "dzzzt" diye titriyor, eksik alan kirmizi
         halkali. Kirmizi, kisi o alana yazana ya da imleci ona koyana kadar kaliyor ve odakta da kirmizi:
         temanin odak rengi (yesil cizgi) kirmizi golgeyle bir arada absurt duruyordu. Iki ayni animasyon adi
         donusumlu, ikinci red de yeniden titretsin diye. Hareketi azaltanlarda titreme yok. */
      .tkpickw { display:contents; }
      input.tkbad, input.tkbad:focus, .tkbad input, .tkbad input:focus, .tkbad .pickbtn, .tkbad .pickbtn:focus,
      .tkbad .pickbtn:focus-visible, .tkbad select { border-color:var(--red) !important; outline-color:var(--red) !important; }
      input.tkbad, .tkbad input, .tkbad .pickbtn, .tkbad select { box-shadow:0 0 0 3px color-mix(in srgb, var(--red) 24%, transparent); }
      @media (prefers-reduced-motion: no-preference) {
        .tkaddgo.shk0 { animation:tkshake0 .46s cubic-bezier(.36,.07,.19,.97) both; }
        .tkaddgo.shk1 { animation:tkshake1 .46s cubic-bezier(.36,.07,.19,.97) both; }
        input.tkbad, .tkbad input, .tkbad .pickbtn, .tkbad select { animation:tkbadpulse .9s ease-out both; }
      }
      @keyframes tkshake0 { 0%,100% { transform:translateX(0); } 14% { transform:translateX(-8px); } 30% { transform:translateX(7px); } 46% { transform:translateX(-5px); } 62% { transform:translateX(4px); } 80% { transform:translateX(-2px); } }
      @keyframes tkshake1 { 0%,100% { transform:translateX(0); } 14% { transform:translateX(-8px); } 30% { transform:translateX(7px); } 46% { transform:translateX(-5px); } 62% { transform:translateX(4px); } 80% { transform:translateX(-2px); } }
      @keyframes tkbadpulse { 0% { box-shadow:0 0 0 0 color-mix(in srgb, var(--red) 55%, transparent); } 25% { box-shadow:0 0 0 5px color-mix(in srgb, var(--red) 30%, transparent); } 100% { box-shadow:0 0 0 3px color-mix(in srgb, var(--red) 24%, transparent); } }
      /* Az once eklenen satir: temanin renginde bir halka ve zemin, 1.8 sn'de sonuyor. Hareketi
         azaltanlar icin animasyon yok, sinif zaten 1.9 sn sonra kalkiyor. */
      .tkrow.added { background:color-mix(in srgb, var(--primary) 12%, var(--surface)); box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 60%, transparent); }
      @media (prefers-reduced-motion: no-preference) {
        .tkrow.added { animation:tkadded 1.8s ease-out both; }
      }
      @keyframes tkadded {
        0% { opacity:0; transform:translateY(-6px); box-shadow:inset 0 0 0 1.5px var(--primary); }
        20% { opacity:1; transform:none; }
        70% { box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 55%, transparent); }
        100% { box-shadow:inset 0 0 0 1.5px transparent; background:transparent; }
      }
      /* Satir bu gorunumde yoksa formun altinda bir satir: nereye gitti, ve oraya gitme yolu. */
      .tkaddnote { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:10px 2px 0; padding:9px 12px;
        border-radius:var(--r-ctl); background:color-mix(in srgb, var(--primary) 10%, var(--surface)); border:1px solid color-mix(in srgb, var(--primary) 35%, var(--line));
        font-size:13px; font-weight:600; }
      .tkaddnotego { flex:none; min-height:36px; padding:0 14px; border-radius:999px; border:1px solid var(--primary); background:transparent;
        color:var(--primary-ink); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
      .tkaddnotego:hover { background:color-mix(in srgb, var(--primary) 16%, transparent); }
      .tkrepeat { border:1px dashed var(--line); border-radius:10px; padding:10px 12px; display:flex; flex-direction:column; gap:8px; }
      /* Gorev penceresinde anahtar ve tekrar kutusu alanlarla ayni sol
         cizgide (kullanici, 2026-10-13): alanlar .form'un 18px'inin
         icinde, bu ikisi disindaydi ve 18px solda duruyordu. */
      .tkeditmodal .tmbillrow, .tkeditmodal .tkrepeat { margin-left:18px; margin-right:18px; }
      .tkeditmodal .tkrepeat { margin-bottom:12px; }
      /* Alanlar .form'un 18px ic boslugunda; arada kalan anahtar, aciklama,
         ipucu ve alttaki dugmeler .pad'in kenarindaydi, yani 18px solda
         (kullanici, 2026-10-30: "Faturalandir, metin ve Sil hizali degil"). */
      .tkeditmodal .pad > .tmbill, .tkeditmodal .pad > p, .tkeditmodal .pad > .tkhint,
      .tkeditmodal .pad > .modalacts { margin-left:18px; margin-right:18px; }
      .tmbillrow { display:flex; align-items:center; gap:2px; padding-bottom:9px; }
      .tmbillrow .tmbill { padding-bottom:0; }
      .tkrepline { display:flex; align-items:center; gap:7px 10px; flex-wrap:wrap; font-size:13px; color:var(--dim); }
      /* Satir basliklari ayni genislikte: "Every", "On", "Ends" alt alta
         hizali, ve ikinci bir satirin bos basligi seceneklerini ustundekiyle
         ayni cizgiye koyuyor. */
      .tkreplbl { flex:0 0 44px; font-weight:600; }
      /* Tekrar secimi tekrar kutusunun ilk satiri (kullanici, 2026-11-06). .field
         disinda oldugu icin ".field select" kurallarini burada tekrar yaziyoruz. */
      .tkrepsel { font:inherit; font-size:13px; color:var(--ink); border:1px solid var(--line); border-radius:8px; padding:7px 9px; background:#FCFEFD; min-height:33px; width:190px; max-width:100%; }
      .tkeditmodal .tkminrow { margin-top:10px; }
      .tkrepsel:focus { outline:2px solid var(--primary); outline-offset:-1px; }
      .app.dark .tkrepsel { background:var(--surface); }
      .tkrepchips { display:flex; flex-wrap:wrap; gap:6px; }
      .tkrephint { font-size:12px; color:var(--faint); }
      /* Sayi bir hap: eksi, sayi, arti. Sayacin dakika hapinin (.tmcustom)
         kardesi; kare bir kutu ve bir piksellik oklar cip satirinda yabanci
         duruyordu. */
      .tkstep { display:inline-flex; align-items:center; border:1px solid var(--line); background:var(--surface);
        border-radius:999px; height:32px; overflow:hidden; }
      .tkstep button { border:none; background:transparent; color:var(--primary-ink); width:32px; height:100%;
        font:inherit; font-size:17px; font-weight:700; line-height:1; cursor:pointer; }
      .tkstep button:hover:not(:disabled) { background:var(--mint); }
      .tkstep button:disabled { color:var(--faint); cursor:default; }
      .tkstep .tkstepin { width:28px; border:none; background:transparent; padding:0; text-align:center;
        font:inherit; font-size:14px; font-weight:700; color:var(--ink); }
      .tkstep .tkstepin:focus { outline:none; }
      .tkstep:focus-within { border-color:var(--primary); }
      .tkstepsuf { font-size:12px; font-weight:600; color:var(--dim); margin-right:4px; }
      .tkstep.hassuf .tkstepin { text-align:right; width:22px; margin-right:1px; }
      .tkskip { padding:0; }
      .tkrepdate { font:inherit; font-size:13px; color:var(--ink); border:1px solid var(--line); border-radius:999px;
        padding:5px 12px; background:var(--surface); height:32px; }
      .tkhint { font-size:12px; color:var(--dim); line-height:1.5; }
      /* Gunun hatirlatmasi. Rengi zilin degil, bekleyen isin rengi. */
      .tkalert { display:flex; align-items:center; gap:11px; flex-wrap:wrap; margin:0 18px;
        padding:10px 13px; border-radius:12px; border:1px solid color-mix(in srgb, var(--due) 45%, transparent);
        background:color-mix(in srgb, var(--due) 10%, var(--surface)); }
      .tkalertico { display:inline-flex; color:var(--due); flex:0 0 auto; }
      .tkalertico svg { width:17px; height:17px; }
      .tkalerttxt { display:flex; flex-direction:column; gap:1px; flex:1 1 auto; min-width:0; font-size:12.5px; color:var(--dim); }
      .tkalerttxt b { font-size:13.5px; color:var(--due); }
      .tkalertbtn { border:1px solid color-mix(in srgb, var(--due) 55%, transparent); background:transparent;
        color:var(--due); border-radius:9px; padding:6px 11px; font:inherit; font-size:12.5px; font-weight:700;
        cursor:pointer; flex:0 0 auto; white-space:nowrap; }
      .tkalertbtn:hover { background:color-mix(in srgb, var(--due) 14%, transparent); }
      .tkalertacts { display:flex; gap:8px; flex:0 0 auto; }
      @media (max-width:560px) {
        .tkalertacts { flex:1 1 100%; }
        .tkalertacts .tkalertbtn { flex:1 1 0; min-height:40px; }
      }
      /* Cumle solda, arama yaninda, gorunum dugmeleri sagda. Arama cumle ile
         dugmelerden artan yeri aliyor, en fazla 280px: 1280px'te panel 822px
         ve ucu yan yana 784px'e ancak arama 198px olunca sigiyor (olculdu).
         Daha dar bir panelde dugmeler alt satira iniyor ve sagda kaliyor. */
      /* Ust ve alt bosluk esit (kullanici, 2026-10-12): 10/4 idi, satir alttaki
         listeye yapisiyordu. */
      .tkbar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding-top:12px; padding-bottom:12px; font-size:13px; }
      /* Arama dar duruyor, odaklaninca (ya da icinde yazi varken) satirin bos
         alaninin tamamina aciliyor. max-width uzerinden, cunku flex-grow
         degisimi animasyon olmaz; px'ten %'ye max-width olur. */
      .tkbar .tksearch { flex:1 1 170px; width:auto; min-width:170px; max-width:220px; transition:max-width .28s cubic-bezier(.4,0,.2,1); }
      .tkbar .tksearch:focus-within, .tkbar .tksearch.has { max-width:100%; }
      @media (prefers-reduced-motion: reduce) { .tkbar .tksearch { transition:none; } }
      .tkbar > .tkcount { flex:0 0 auto; white-space:nowrap; }
      .tkcount { font-size:14px; color:var(--dim); letter-spacing:-.01em; }
      .tkcount b { font-size:15px; font-weight:700; color:var(--ink); }
      .tkbarbtns { display:flex; gap:6px; margin-left:auto; flex:0 0 auto; }
      .tkbarbtns .tmchip { white-space:nowrap; }
      .tkhdacts { gap:8px; }
      .tkhdbtn svg { width:15px; height:15px; }
      /* Uc sekmenin "Yeni ..." dugmesi ayni boy ve sagda (kullanici, 2026-11-03, K-483). */
      .tkhdacts { margin-left:auto; }
      /* Sirali gorev (K-483): kilitli satir soluk, eylemler kapali; zincirin iki ucu da satirda yazili. */
      .tkrow.locked .tktitle { opacity:.62; }
      .tkrow.locked .tkstart:disabled, .tkrow.locked .tkdone:disabled { opacity:.4; cursor:not-allowed; }
      .tkafter { display:inline-flex; align-items:center; gap:5px; margin-top:4px; font-size:12px; font-weight:600; color:var(--ink); }
      .tkafter.ok { color:var(--green); }
      .tkafter.next { color:var(--dim); font-weight:500; }
      .tkafterico svg { width:12px; height:12px; display:block; }
      .tkafterday { font-weight:500; color:var(--dim); }
      .tkaddlab { display:block; font-size:12px; font-weight:600; color:var(--dim); margin:0 0 5px; }
      .btn.sm.tkhdbtn { min-height:38px; padding:0 16px; font-size:14px; gap:7px; border-radius:var(--r-ctl); }
      /* Basliktaki "Add new task" ile acilinca ad alani bir an parliyor:
         dugme ekranin baska bir yerinde, gozun yeni yeri bulmasi gerekiyor. */
      .tkaddtitle input.tkflash { animation:tkflash 1.6s ease-out; }
      @keyframes tkflash {
        0%, 35% { box-shadow:0 0 0 4px color-mix(in srgb, var(--primary) 45%, transparent); border-color:var(--primary); }
        100% { box-shadow:0 0 0 0 transparent; }
      }
      @media (prefers-reduced-motion: reduce) {
        .tkaddtitle input.tkflash { animation:none; box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 45%, transparent); }
      }
      /* Kac grubun kapali oldugu sekmenin uzerinde yaziyor: bir bildirimi
         gormemek, kapatildigi unutuldugu icin olmasin. */
      .segcount { margin-left:7px; font-size:10.5px; font-weight:800; letter-spacing:.02em;
        color:var(--due); background:color-mix(in srgb, var(--due) 13%, transparent);
        border-radius:999px; padding:2px 7px; vertical-align:middle; }
      /* Secili sekme birincil renge donuyor ve rozet orada 2,15 kaliyordu:
         okunmaz. Kendi koyu zeminini tasiyor, beyaz yazi 10,1. */
      .seg.on .segcount { color:#fff; background:color-mix(in srgb, var(--due) 86%, #000); }
      .tkbulk { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0 18px 8px; padding:8px 12px;
        border-radius:10px; background:var(--mint); position:sticky; top:6px; z-index:3; font-size:13px; }
      .tklist { display:flex; flex-direction:column; gap:8px; padding-top:0; }
      .tkrow { display:flex; align-items:center; gap:11px; border:1px solid var(--line); border-radius:12px;
        padding:10px 12px; background:var(--surface); }
      .tkrow.on { background:var(--mint); border-color:var(--primary); }
      .tkrow.sel { background:var(--mint); }
      .tkrow.off .tktitle { text-decoration:line-through; color:var(--faint); }
      /* Bitirilen is, listeden cikmadan once bir saniye. Renk sabit bir lime
         degil, temanin kendi vurgusunun sariya dogru itilmis hali: Emerald'da
         enerjik bir yesil-sari cikiyor, Amber'da sicak bir altin, Rose'da
         mercan. Sabit yazilsaydi, temasini degistirmis birinin ekraninda baska
         bir uygulamadan gelmis gibi dururdu.
         Yazi rengine dokunulmuyor: .off zaten ustunu cizip soluklastiriyor, ve
         o "bitti" demenin kendisi. */
      /* Gunun isi bittiginde kalan ekran. Ikonun kendi olcusu var, o yuzden
         burada yalnizca ortalaniyor ve altindaki iki satir hizalaniyor. */
      .tkdone-day { display:grid; place-items:center; gap:2px; padding:22px 8px 28px; text-align:center; }
      .tkdonehd { margin:6px 0 0; font-size:16.5px; font-weight:800; color:var(--ink); }
      .tkdonesub { margin:0; font-size:13px; color:var(--dim); }
      /* Bitirilen satir, notlardakiyle ayni dilde (kullanici, 2026-10-12):
         Complete dugmesinin yerinde bir daire doluyor ve tik yavasca
         ciziliyor, ucundan noktalar sacilip soluyor (qntick, qnburst), sonra
         satir once soluyor ve ANCAK SONRA kapaniyor (tkleave). Sure
         time-tracker.jsx FIN_MS (1250) ile ayni: satir kapanirken gidiyor.
         Eskiden yesile boyanip soluyordu (tkfin); o kaldirildi. */
      .tkrow.fin { overflow:hidden; animation:tkleave .45s ease-in-out .8s both; }
      .tkrow.fin .tktitle { color:var(--dim); }
      .tkfincheck { position:relative; width:30px; height:30px; border-radius:50%; display:grid; place-items:center;
        background:var(--primary); margin-right:6px; animation:qnpop .45s ease-out; }
      .tkfincheck svg { width:18px; height:18px; fill:none; stroke:#0E211B; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
      .tkfincheck svg path { stroke-dasharray:1; animation:qntick .5s cubic-bezier(.6,0,.3,1) both; }
      @keyframes tkleave {
        0% { opacity:1; max-height:var(--h, 70px); }
        45% { opacity:0; max-height:var(--h, 70px); }
        100% { opacity:0; max-height:0; padding-top:0; padding-bottom:0; margin-bottom:-8px; border-width:0; }
      }
      /* Hareket azaltmada ne cizim ne solma: tik dolu duruyor, satir suresi
         dolunca gidiyor. Bir seyin kaybolusunu izlemek de harekettir. */
      @media (prefers-reduced-motion:reduce) {
        .tkrow.fin, .tkfincheck, .tkfincheck svg path { animation:none; }
        .tkfincheck svg path { stroke-dasharray:none; }
      }
      .tkcheck { width:20px; height:20px; flex:0 0 auto; }
      .tkmain { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; justify-content:center; }
      .tkcli { font-size:11.5px; color:var(--dim); line-height:1.3;
        overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      /* Baslik artik kunye satirinin icinde: kunye 12px, baslik kendi
         olcusunu tasiyor ki satirda hangisinin is hangisinin ayrinti oldugu
         belli olsun. */
      .tktitle { font-weight:700; color:var(--ink); font-size:14px; line-height:1.3;
        overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      /* Gun, tekrar, harcanan sure ve kim: isin kendisi degil, hakkindaki
         seyler. Sagda, islerin yanina degil. */
      .tkmeta { display:flex; align-items:center; justify-content:flex-end; gap:7px; flex-wrap:wrap;
        font-size:12px; color:var(--dim); flex:0 1 auto; min-width:0; }
      .tkwho { font-weight:700; }
      .tkbadge { border-radius:999px; padding:1px 8px; font-size:11px; font-weight:700; background:var(--bg); }
      .tkbadge.late { color:var(--red); background:color-mix(in srgb, var(--red) 14%, transparent); }
      .tkbadge.done { color:var(--green); background:color-mix(in srgb, var(--green) 14%, transparent); }
      /* Tekrar etiketi basligin yaninda, kucuk bir hap (satir kontrollerinden
         biraz kisa). Ikon Duzenli odemeler'inin halkasi, oku birincil renk. */
      .tktitlerow { display:flex; align-items:center; gap:8px; min-width:0; }
      .tktitlerow .tktitle { flex:0 1 auto; min-width:0; }
      .tkreppill { display:inline-flex; align-items:center; gap:5px; flex:0 0 auto; max-width:60%; min-width:0; height:22px;
        padding:0 9px 0 7px; border-radius:999px; font-size:11.5px; font-weight:700; line-height:1;
        color:var(--primary-ink); background:color-mix(in srgb, var(--primary) 12%, transparent);
        --hf-accent:var(--primary); cursor:default; }
      .tkreppill .recring { width:14px; height:14px; flex:none; }
      .tkreptxt { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
      .tkacts { display:flex; align-items:center; gap:7px; flex:0 0 auto; }
      /* Kalem, satirdaki en sessiz dugme: duzeltmek nadir, baslatmak ve
         tamamlamak sik. Gecmis kayitlardaki kalemle ayni kutu. */
      .tkedit { width:30px; height:30px; flex:0 0 auto; border-radius:50%; display:grid; place-items:center;
        cursor:pointer; border:1px solid var(--line); background:var(--surface); color:var(--dim); padding:0; }
      .tkedit:hover { color:var(--ink); border-color:var(--dim); }
      .tkedit svg { width:14px; height:14px; fill:currentColor; }
      .tklink { border:none; background:transparent; color:var(--dim); font:inherit; font-size:12.5px; font-weight:700;
        cursor:pointer; padding:4px 2px; text-decoration:underline; }
      /* Iliskili gorev (kullanici, 2026-11-16): anahtarin arkasinda, secilince once/sonra anahtari ve cumle. */
      .tkrel { display:grid; gap:8px; margin:10px 0 2px; }
      .tkrel { margin:10px 0 0; }
      .tkrelbody { padding-top:0; padding-bottom:6px; }
      .tkrelseg { flex:0 0 auto; }
      .tkrelhint { margin:0 18px 8px; font-size:12.5px; color:var(--dim); line-height:1.5; }
      .tkpausebtn { display:inline-flex; align-items:center; gap:6px; }
      .tkpausebtn svg { width:14px; height:14px; flex:none; }
      .tkpausedico svg { width:12px; height:12px; }
      .tkpausedrow .tkstart { display:inline-flex; align-items:center; gap:6px; }
      .tkpausedrow .tkstart svg { width:12px; height:12px; }
      .tkstart, .tkdone { border:1px solid var(--line); background:var(--surface); border-radius:9px; padding:6px 11px;
        font:inherit; font-size:12.5px; font-weight:700; color:var(--dim); cursor:pointer; white-space:nowrap; }
      .tkstart { border-color:var(--primary); color:var(--primary-ink); }
      /* Uzerinde calisilan is. Dolu, cunku listede tek bir satir boyle: goz
         onu ararken bulmali. Nokta nabiz atar ki duran bir sayacla karismasin;
         duraklamisken dugme zaten "Resume" diyor. */
      .tkactive { border:1px solid var(--primary); background:var(--primary); color:#fff; border-radius:9px;
        padding:6px 11px; font:inherit; font-size:12.5px; font-weight:700; cursor:pointer;
        display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
      .tkactive.paused { background:var(--surface); color:var(--primary-ink); }
      .tkdot { width:7px; height:7px; border-radius:50%; background:#fff; animation:tkbeat 1.6s ease-in-out infinite; }
      @keyframes tkbeat { 0%,100% { opacity:1; } 50% { opacity:.25; } }
      @media (prefers-reduced-motion:reduce) { .tkdot { animation:none; } }
      .tkdone:hover { border-color:var(--green); color:var(--green); }
      .tkgroup { display:flex; align-items:center; gap:7px; font-size:12px; font-weight:800; color:var(--dim);
        text-transform:uppercase; letter-spacing:.05em; margin-top:6px; }
      .tkempty { padding:16px 2px; font-size:13.5px; }

      /* ---- past entries ---- */
      .enscroll { max-height:min(560px, 70vh); overflow-y:auto; overscroll-behavior:contain; padding:0 18px 14px; }
      /* Sekmeli panelin icindeyken listenin ustunde artik bir kart basligi
         degil bir sekme seridi var, o yuzden 12px'lik bir ust bosluk istiyor.
         Ama o bosluk kayan kutunun ICINDE olamaz: yapiskan gun basligi
         (top:0) kutunun dolgusunun ALTINDA yapisiyordu ve yukari kayan
         satirlar o 12px'lik seritte yarim gorunuyordu (olculdu: baslik kutunun
         ustunden 12px asagida). Bosluk ay seciciye, kutunun disina tasindi. */
      .enscroll.inpanel { padding-top:0; }
      /* Takvimde "N more" penceresi (kullanici, 2026-11-05): masaustunde genis, sutun basliklari var, sag kenara yapismiyor. */
      @media (min-width:821px) { .modal.enmoremodal { width:min(1000px, 96vw); } .enmore { padding:0 24px 18px; } .enmore .enrow { padding-right:0; } }
      .tlpanel .enmonth { padding-bottom:12px; }
      .tltabs { padding:12px 18px 0; }
      .tltabs .tabstrip { margin:0; }
      /* The month picker inside the panel. It keeps its own line above the
         scroller rather than joining the tab strip: the tabs choose a view,
         this chooses what the view is OF, and running them together reads as
         one row of four controls that do two unrelated things. */
      .enmonth { padding:10px 18px 0; }
      .enmonth .mheadwrap.flat { margin:0; }
      /* A folded week. Built on .enday so the two read as one column of
         headings, with the chevron and the count as the only difference: it
         is a day heading that happens to open. */
      .enweek { position:sticky; top:0; z-index:2; display:flex; align-items:center; gap:7px; width:100%;
        background:var(--surface); border:none; border-bottom:1px solid var(--line); padding:9px 0 7px;
        font:inherit; font-size:13px; font-weight:700; color:var(--dim); cursor:pointer; text-align:left; }
      .enweek:hover { color:var(--ink); }
      /* I.chev points RIGHT, so closed is its own shape and open turns it a
         quarter down. The same way round as .pmchev in Setup; getting it
         backwards here pointed a shut group's arrow upward, which reads as
         "collapse me" on something already collapsed. */
      .enweek .enwchev { display:inline-flex; width:14px; height:14px; transition:transform .16s ease; }
      .enweek.open .enwchev { transform:rotate(90deg); }
      @media (prefers-reduced-motion:reduce) { .enweek .enwchev { transition:none; } }
      .enweek .enwchev svg { width:100%; height:100%; }
      .enwn { font-weight:600; font-size:11.5px; color:var(--faint); }
      /* Pushed to the end so the totals of a week and of a day line up in one
         column, whatever the label beside them is doing. */
      .enwsum { margin-left:auto; }
      .enday { position:sticky; top:0; z-index:2; display:flex; justify-content:space-between; align-items:center;
        background:var(--surface); border-bottom:1px solid var(--line); padding:8px 0 6px;
        font-size:13px; font-weight:700; color:var(--dim); }
      /* Iki satirlik bir kayit. Satir yuksekligi logonun kendisi kadar:
         icindeki hicbir sey ondan uzun degil. */
      .enrow { display:flex; align-items:center; gap:11px; padding:7px 0; border-bottom:1px solid var(--line); }
      .enmain { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; justify-content:center; }
      .encli { font-size:11.5px; color:var(--dim); line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .entitle { font-size:14px; font-weight:700; color:var(--ink); line-height:1.3;
        overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .entime { font-size:13px; color:var(--dim); white-space:nowrap; }
      .enbill { color:var(--green); font-weight:600; }
      .enright { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
      .endur { font-size:14px; font-weight:600; color:var(--ink); white-space:nowrap; min-width:62px; text-align:right; }
      .enplay { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; cursor:pointer;
        border:1px solid var(--primary); background:var(--mint); color:var(--primary-ink); }
      .enplay svg { width:15px; height:15px; fill:currentColor; }
      /* Kalem, oynat dugmesinin yaninda ve ondan sessiz: kayit duzeltmek
         nadir, yeniden baslatmak sik. */
      .enedit { width:30px; height:30px; border-radius:50%; display:grid; place-items:center; cursor:pointer;
        border:1px solid var(--line); background:var(--surface); color:var(--dim); }
      .enedit:hover { color:var(--ink); border-color:var(--dim); }
      .enedit svg { width:14px; height:14px; fill:currentColor; }
      /* Kayitlar tablosunun sutunlari (kullanici, 2026-10-30). Baslik satiri
         ve kayitlar ayni sinifli hucreleri tasiyor; sag taraftaki her hucre
         sabit genislikte, yani sutunlar bir izgara olmadan hizalaniyor. */
      .ennoteslot { width:20px; display:inline-flex; justify-content:center; flex:0 0 auto; }
      .entime { width:104px; text-align:right; flex:0 0 auto; }
      .encbill { width:118px; display:inline-flex; justify-content:center; flex:0 0 auto; }
      .encchg { width:74px; display:inline-flex; justify-content:center; flex:0 0 auto; }
      .encamt { width:124px; display:inline-flex; justify-content:flex-end; align-items:center; gap:6px; flex:0 0 auto;
        font-size:13.5px; white-space:nowrap; }
      .encact { display:inline-flex; align-items:center; gap:10px; flex:0 0 auto; }
      .encamt .enbill.soft { color:var(--dim); font-weight:600; }
      .enempty { color:var(--faint); }
      .enhead { position:sticky; top:0; z-index:3; display:flex; align-items:center; gap:11px; height:32px;
        background:var(--surface); border-bottom:1px solid var(--line);
        font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--dim); }
      .enhead .enccli { flex:1 1 auto; padding-left:47px; }
      .enhead .enright { display:flex; align-items:center; gap:10px; }
      .enhead .enright > span { font-size:10.5px; font-weight:800; color:var(--dim); letter-spacing:.05em; }
      .enhead .encact { width:74px; }
      .enright > .endur { width:76px; min-width:0; flex:0 0 auto; }
      @media (min-width:821px) {
        .enscroll .enday, .enscroll .enweek { top:32px; }
      }
      /* Faturalanabilir anahtari: formdaki .tmswitch'in satira sigan hali. */
      .enswitch { width:34px; height:20px; border-radius:999px; border:1px solid var(--line); background:var(--bg);
        position:relative; cursor:pointer; padding:0; appearance:none; -webkit-appearance:none;
        transition:background .15s, border-color .15s; }
      .enswitch i { position:absolute; top:2px; left:2px; width:14px; height:14px; border-radius:50%;
        background:var(--faint); transition:transform .18s cubic-bezier(.34,1.3,.64,1), background .15s; }
      .enswitch.on { background:color-mix(in srgb, var(--green) 28%, transparent); border-color:var(--green); }
      .enswitch.on i { transform:translateX(14px); background:var(--green); }
      .enswitch:disabled { cursor:default; opacity:.6; }
      .enswitch:focus-visible, .encoin:focus-visible, .enrate:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      /* Yansit: para biriminin isareti, bir jeton. Basili degilken bos bir
         halka, basiliyken dolu ve temanin renginde. */
      .encoin { width:30px; height:30px; border-radius:50%; display:grid; place-items:center; padding:0; cursor:pointer;
        appearance:none; -webkit-appearance:none; font:inherit; font-size:14px; font-weight:800;
        border:1.5px dashed var(--line); background:transparent; color:var(--faint);
        transition:background .15s, border-color .15s, color .15s, transform .2s cubic-bezier(.34,1.56,.64,1); }
      .encoin:not(:disabled):not(.on) { border-color:color-mix(in srgb, var(--green) 55%, var(--line)); color:var(--green); }
      /* Hover only lifts the EMPTY coin. On a charged one (.on) the fill is
         green, and this rule, being more specific than .encoin.on, painted the
         sign green on green: it vanished under the pointer (kullanici,
         2026-11-01). A charged coin darkens instead and keeps its white sign. */
      .encoin:not(:disabled):not(.on):hover { border-color:var(--green); color:var(--green); border-style:solid; }
      .encoin.on:not(:disabled):hover { background:color-mix(in srgb, var(--green) 82%, #000); border-color:color-mix(in srgb, var(--green) 82%, #000); color:#fff; }
      .encoin.on { border:1.5px solid var(--green); background:var(--green); color:#fff; }
      .encoin.on:active { transform:scale(.9); }
      .encoin:disabled { cursor:not-allowed; opacity:.45; }
      .enrate { width:24px; height:24px; border-radius:50%; display:grid; place-items:center; cursor:pointer; padding:0;
        appearance:none; -webkit-appearance:none; border:1px solid var(--line); background:var(--surface); color:var(--dim); }
      .enrate:hover { color:var(--ink); border-color:var(--dim); }
      .enrate svg { width:11px; height:11px; fill:currentColor; }
      /* Ayin musterilere yansitilan sureleri: listenin ustunde kayan cipler. */
      .enchg { display:flex; align-items:center; gap:8px; padding:0 18px 12px; overflow-x:auto; scrollbar-width:none; }
      .enchg::-webkit-scrollbar { display:none; }
      .enchglbl { font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--dim);
        white-space:nowrap; flex:0 0 auto; }
      .enchgchip { display:inline-flex; align-items:center; gap:7px; padding:4px 11px 4px 4px; border-radius:999px;
        border:1px solid color-mix(in srgb, var(--green) 40%, var(--line)); background:color-mix(in srgb, var(--green) 7%, var(--surface));
        font-size:12.5px; white-space:nowrap; flex:0 0 auto; color:var(--ink); }
      .enchgchip .cravatar { width:24px !important; height:24px !important; font-size:9px !important; }
      .enchgchip > span:not(.cravatar) { color:var(--dim); }
      .enchgchip > .enbill { color:var(--green); }
      .enchgchip { border-color:var(--line); background:var(--surface); }
      .enchgchip.all { border-color:color-mix(in srgb, var(--green) 40%, var(--line)); background:color-mix(in srgb, var(--green) 7%, var(--surface)); }
      .enchgchip > .enchgpart { font-size:11.5px; font-weight:700; color:var(--green); padding-left:7px; border-left:1px solid var(--line); }
      /* .hidemob 820px blogunda ve bu kurallardan ONCE geliyor; esit
         spesifiklikte buradaki display kazanirdi. */
      /* Telefonda kaydin alt sayfasi, kaydirarak silme ve tutar hapi (kullanici, 2026-11-01). Masaustunde
         satir eskisi gibi: hap ve Sil dugmesi yalnizca telefonda. */
      .enswipe { position:relative; overflow:hidden; touch-action:pan-y; }
      .enswdel { display:none; }
      .enpill { display:inline-flex; align-items:center; gap:4px; flex:0 0 auto; margin-left:auto; padding:2px 9px;
        border-radius:999px; font-size:12px; font-weight:700; line-height:1.4; font-variant-numeric:tabular-nums; }
      .enpill svg { width:12px; height:12px; fill:currentColor; }
      .enpill.chg { background:color-mix(in srgb, var(--green) 20%, var(--surface)); color:var(--green); }
      .enpill.bil { border:1px solid color-mix(in srgb, var(--green) 60%, var(--line)); color:var(--green); padding:1px 8px; }
      .enpill.non { border:1px dashed var(--line); color:var(--dim); font-weight:600; padding:1px 8px; }
      .ensh { display:flex; flex-direction:column; gap:14px; }
      .enshhd { display:flex; align-items:center; gap:9px; font-size:13px; color:var(--dim); }
      .enfacts { display:grid; grid-template-columns:repeat(3, 1fr); border:1px solid var(--line); border-radius:var(--r-inner); overflow:hidden; }
      .enfacts > div { padding:9px 11px; border-right:1px solid var(--line); min-width:0; }
      .enfacts > div:last-child { border-right:0; }
      .enfacts small { display:block; font-size:10.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--dim); }
      .enfacts b { font-size:14.5px; font-variant-numeric:tabular-nums; color:var(--ink); white-space:nowrap; }
      .enfacts b.enbill { color:var(--green); }
      .ensets { display:flex; flex-direction:column; }
      .enset { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:54px;
        border-bottom:1px solid var(--line); padding:6px 0; }
      .enset:last-child { border-bottom:0; }
      .enset .lbl { display:flex; flex-direction:column; font-weight:700; font-size:14.5px; color:var(--ink); text-align:left; }
      .enset .lbl small { font-weight:500; font-size:12px; color:var(--dim); }
      button.enset { width:100%; background:none; border:0; border-bottom:1px solid var(--line); font:inherit; cursor:pointer;
        appearance:none; -webkit-appearance:none; color:inherit; }
      button.enset:last-child { border-bottom:0; }
      .enrv { font-weight:800; font-variant-numeric:tabular-nums; color:var(--ink); white-space:nowrap; }
      .enrv span { color:var(--dim); font-weight:600; margin-left:4px; }
      /* iOS anahtari: 51x31, acikken yesil ve topuz sagda; kapaliyken gri ve topuz solda. Durum
         renkten ayri olarak topuzun yeriyle de okunuyor. */
      .ensw { width:51px; height:31px; border-radius:999px; border:0; padding:0; position:relative; cursor:pointer; flex:0 0 auto;
        background:var(--line); appearance:none; -webkit-appearance:none; transition:background .18s; }
      .ensw i { position:absolute; top:2px; left:2px; width:27px; height:27px; border-radius:50%; background:#fff;
        box-shadow:0 1px 3px rgba(0,0,0,.25); transition:transform .2s cubic-bezier(.34,1.3,.64,1); }
      .ensw.on { background:var(--green); }
      .ensw.on i { transform:translateX(20px); }
      .ensw:disabled { opacity:.4; cursor:not-allowed; }
      .ensw:focus-visible, button.enset:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      .enparts { border:1px solid var(--line); border-radius:var(--r-inner); padding:4px 12px; }
      .enpartshd { display:flex; justify-content:space-between; font-size:11px; font-weight:800; letter-spacing:.06em;
        text-transform:uppercase; color:var(--dim); padding:6px 0; }
      .enpartshd span:last-child { letter-spacing:0; text-transform:none; font-size:12.5px; color:var(--ink); }
      .enpartrow { display:grid; grid-template-columns:1fr auto auto; gap:12px; align-items:center; padding:8px 0;
        border-top:1px solid var(--line); font-size:13.5px; font-variant-numeric:tabular-nums; }
      .enpartrow .enpt { color:var(--dim); }
      .enshdel { display:flex; flex-direction:column; gap:10px; }
      .enshdel > span { font-weight:700; color:var(--ink); }
      .enshacts { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
      .enshacts .btn { min-height:44px; justify-content:center; font-weight:800; }
      /* .form ile ayni yan dolgu: alanlar ayni hizada baslasin. */
      .enedparts { margin:2px 0 12px; padding:0 18px; }
      .enedpart { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.8fr) 36px; gap:8px;
        align-items:end; padding:8px 0; border-top:1px solid var(--line); }
      .enedpart input { min-width:0; }
      .enedpart .enpartx { margin-bottom:0; }
      .enpartx { width:36px; height:36px; border-radius:50%; border:1px solid var(--line); background:var(--surface);
        color:var(--dim); font-size:18px; line-height:1; cursor:pointer; padding:0; }
      .enpartx:hover { color:var(--red); border-color:var(--red); }
      @media (max-width:820px) {
        .enright > .hidemob, .enhead.hidemob { display:none; }
        .encact { gap:8px; }
        .enchg { padding:0 14px 10px; }
      }

      /* ---- calendar ---- */
      .caltool { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:14px 18px 6px; }
      .ttnav { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
      .calarrow { width:34px; height:34px; border-radius:9px; border:1px solid var(--line); background:var(--surface);
        color:var(--dim); font-size:18px; line-height:1; cursor:pointer; }
      .callabel { font-size:17px; font-weight:700; color:var(--ink); }
      .calviews { display:flex; gap:6px; background:var(--bg); border-radius:10px; padding:4px; }
      .calsum { padding:0 18px 10px; font-size:13px; color:var(--dim); }
      .calgridwrap { overflow-x:auto; padding:0 18px 16px; }
      .ttgrid { display:grid; min-width:max-content; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
      .ttgrid.week { min-width:966px; }
      .calcorner { background:var(--bg); border-bottom:1px solid var(--line); }
      .calhead { background:var(--bg); border-bottom:1px solid var(--line); border-left:1px solid var(--line);
        padding:8px 6px; font:inherit; font-size:12.5px; font-weight:700; color:var(--dim); cursor:pointer; }
      .calhead.on { color:var(--primary-ink); }
      .calhour { border-top:1px solid var(--line); padding:6px; font-size:11.5px; color:var(--faint); background:var(--bg); }
      .ttcell { border-top:1px solid var(--line); border-left:1px solid var(--line); min-height:34px; padding:4px;
        display:flex; flex-direction:column; gap:4px; }
      .ttcell.now { background:color-mix(in srgb, var(--primary) 7%, transparent); }
      .calcard { border-radius:8px; padding:6px 8px; border-left:4px solid var(--primary); background:var(--mint); min-width:0; }
      /* Takvimde kartin kendisi dugme: font ve hizalama miras alinmazsa
         tarayici kendi dugme gorunumunu basar ve kart kart olmaktan cikar. */
      .calcard.clickable { font:inherit; text-align:left; width:100%; border-top:none; border-right:none;
        border-bottom:none; cursor:pointer; display:block; }
      .calcard.clickable:hover { filter:brightness(.97); }
      .calcard.bill { background:color-mix(in srgb, var(--green) 14%, transparent); }
      /* Ad tek satir, uzunsa "..." (kullanici, 2026-10-30); musteri ayri bir satirda, o da tek satir. */
      .calcard { display:block; width:100%; text-align:left; }
      .calctitle { font-size:13px; font-weight:600; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .calcclient { font-size:11.5px; font-weight:600; color:var(--primary-ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-top:1px; }
      .calcmeta { font-size:11px; color:var(--dim); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .ttmore { border:none; background:transparent; color:var(--primary); font:inherit; font-size:12px;
        font-weight:700; cursor:pointer; padding:2px; text-align:left; }
      .calmonth { display:grid; grid-template-columns:repeat(7, minmax(90px,1fr)); min-width:640px;
        border:1px solid var(--line); border-radius:12px; overflow:hidden; }
      .calmhead { background:var(--bg); border-bottom:1px solid var(--line); padding:7px 6px; font-size:12px;
        font-weight:700; color:var(--dim); text-align:center; }
      .calmcell { border-top:1px solid var(--line); border-left:1px solid var(--line); min-height:120px; padding:6px;
        display:flex; flex-direction:column; gap:4px; }
      .calmcell.out { opacity:.45; }
      .calmtop { display:flex; align-items:center; justify-content:space-between; gap:6px; }
      /* Hucrenin toplami kirilmaz: kirildiginde gunun rakamini asagi itiyor. */
      .ensum { white-space:nowrap; font-size:11.5px; }
      .calmday { min-width:26px; height:26px; border-radius:50%; border:none; background:transparent; font:inherit;
        font-size:13px; font-weight:700; color:var(--ink); cursor:pointer; }
      .calmday.on { background:var(--primary); color:#fff; }
      .calmchip { font-size:11px; border-radius:6px; padding:2px 6px; background:var(--mint); color:var(--ink);
        white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .calmchip.bill { background:color-mix(in srgb, var(--green) 14%, transparent); }
      .calmchip.clickable { font:inherit; font-size:11px; border:none; text-align:left; width:100%; cursor:pointer; }
      .calmchip.clickable:hover { filter:brightness(.97); }
      .calmchip:disabled { cursor:default; }

      /* Asked for less movement: the liquid stops and the button stops
         breathing. The number keeps counting, because that is not decoration. */
      @media (prefers-reduced-motion:reduce) {
        .tmwave, .tmplay.on::after { animation:none; }
        .tmlvl, .tmarc, .tmplay { transition:none; }
      }
      @media (max-width:900px) {
        .timegrid { grid-template-columns:1fr; }
        /* The order the hand-off asks for on a phone: the timer, then what to
           work on, then what was worked on. display:contents lets the left
           column's two panels be ordered against the tasks panel instead of
           travelling with each other. */
        .timeleft { display:contents; }
        .tmpanel { order:1; }
        .tkpanel { order:2; }
        /* Gecmis kayitlar artik takvimle ayni panelde, yani sol sutunda
           sayactan baska bir sey yok. Sira ayni kaliyor: sayac, ne yapilacak,
           ne yapildi. */
        .tlpanel { order:4; }
        /* align-items:stretch, and it is not a tidy-up. The base rule says
           align-items:start, which in a GRID means "do not stretch a row
           vertically". Flipping to a column flex turns the cross axis
           horizontal, so the same property quietly becomes "hug your content
           and sit on the left" -- and the timer and the past entries did
           exactly that, each as wide as its own longest line. */
        .timegrid { display:flex; flex-direction:column; align-items:stretch; }
      }
      @media (max-width:820px) {
        /* Under 16px an input zooms the page on iOS and does not zoom back. */
        .tmpanel input, .tkadd input, .tkadd select, .raterow input, .raterow select { font-size:16px; }
        /* Telefonda geri sayim: halka solda ve kucuk, sureler sagda dikey bir
           kutuda, altinda bosluk yok (kullanici, 2026-10-20, kendi taslagi).
           Halka 240 -> 170, ici oranla; kronometre kadrani 240 -> 180. Panel
           bir izgara: halka ile sureler ayni satirda (dense), gerisi tam
           genislikte. */
        /* Sureler 100px'lik dar bir sutun, acilan yer halkaya (kullanici,
           2026-10-20): halka 170 -> 186, satir yalnizca ~11px uzuyor. */
        .tmpanel { display:grid; grid-template-columns:minmax(0,1fr) 100px; grid-auto-flow:row dense; align-items:center; column-gap:12px; }
        .tmpanel > * { grid-column:1 / -1; }
        .tmpanel > .tmringwrap { grid-column:1; width:min(186px, 100%); height:auto; aspect-ratio:1; justify-self:center; }
        .tmpanel > .tmpresets { grid-column:2; flex-direction:column; flex-wrap:nowrap; align-items:stretch; gap:7px; border:1px solid var(--line); border-radius:16px; padding:10px 8px; }
        .tmpanel > .tmpresets .tmchip, .tmpanel > .tmpresets .tmcustom { justify-content:center; text-align:center; }
        .tmpanel > .tmpresets .tmcustomlbl { display:block; text-align:center; font-size:12px; font-weight:600; color:var(--dim); margin:4px 0 -3px; }
        .tmpanel .tmringwrap .tmring { width:100%; height:100%; }
        .tmpanel .tmliquid { width:80.8%; height:80.8%; }
        .tmpanel .tmringwrap .tmdigits { font-size:25px; }
        .tmpanel .tmringwrap .tmplay { width:62px; height:62px; }
        .tmpanel .tmringwrap .tmplay svg { width:23px; height:23px; }
        .tmpanel .swface { width:180px; height:180px; }
        .tkfcli { min-width:0; width:100%; }
        .tkflbl { width:100%; }
        /* Five day chips on one line. They were wrapping with one word left
           over, which reads as a mistake rather than as a list. */
        /* The same answer the client filter already uses on a phone: the
           chips stop being as wide as their words and share the row equally.
           Five of them wanted 378px of a 316px row, and no amount of shaving
           the padding closes 62px. */
        /* The same answer the client filter already uses on a phone: the chips
           stop being as wide as their words and share the row equally. Five of
           them wanted 378px of a 316px row, and no amount of shaving padding
           closes 62px. nowrap is the half that matters -- a wrapping row wraps
           before it shrinks, so flex:1 on its own does nothing. */
        .tkchips { flex-wrap:nowrap; gap:5px; }
        /* One row, and it scrolls. Sharing the row out does not work here:
           "Yesterday" is a single word, a single word does not wrap, so an
           equal share just clips it -- and a clipped "Yesterda" is worse than
           a second line, which it cannot have either. The tab strip in this
           app already scrolls on a narrow screen for the same reason. Five
           chips want 378px of a 316px row, so about forty of them are off the
           edge: enough to see there is more, and one thumb-flick away. */
        .tkchips { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
        .tkchips::-webkit-scrollbar { display:none; }
        .tkchips .tmchip { flex:0 0 auto; padding:6px 10px; font-size:12px; }
        /* A date input brings its own box on iOS and comes up short beside a
           select. Taking the native chrome off lets it take the height every
           other field in the row has. */
        .tkaddrow input[type=date] { -webkit-appearance:none; appearance:none; min-height:44px; }
        /* Telefonda her alan kendi satirinda: %30'luk musteri alani 316px'lik
           bir satirda 95px eder, ve 95px'e bir musteri adi sigmaz. */
        /* Siginca yan yana (K-483): kisi + tekrar, onceki gorev + musteri, iki tarih; dugme tam genislik. */
        .tkaddrow { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:end; }
        .tkaddrow > .tkfclient, .tkaddrow > .tkfgrow, .tkaddrow > .tkfdate { flex:0 0 auto; width:100%; min-width:0; }
        .tkaddspacer { display:none; }
        .tkaddrow .btn { width:100%; justify-content:center; grid-column:1 / -1; }
        .tkaddtitle input { font-size:16px; }
        /* Telefonda listenin ustu uc satir: cumle, tam genislikte arama, ve
           dugmeler. Uc dugme 303px'lik satira sigmiyor (399px istiyorlar,
           olculdu); ilk ikisi bir satiri paylasiyor, Select Multiple altta
           kendi satirinin tamamini aliyor. Kaydirmali bir serit olmadi,
           cunku ucuncu dugme kenardan tasip gozden kaybolurdu. */
        .tkbar .tksearch { flex:1 1 100%; max-width:none; min-width:0; }
        .tkbarbtns { flex:1 1 100%; flex-wrap:wrap; margin-left:0; }
        .tkbarbtns .tmchip { flex:1 1 auto; justify-content:center; text-align:center; }
        /* Tekrar ayarlari telefonda. Sayi alani 16px, yoksa iOS sayfayi
           yakinlastiriyor. Pencerenin ".modal input { width:100% }" kurali
           burada da gecerli olurdu ve hapin ortasindaki sayiyi satir
           genisligine cekerdi: ondan daha ozgul yaziliyor. */
        .tkstep .tkstepin, .modal .tkstep input.tkstepin:not([type="checkbox"]) { font-size:16px; width:30px; min-width:30px; }
        .tkrepdate, .modal input.tkrepdate:not([type="checkbox"]) { font-size:16px; width:auto; }
        .tkreplbl { flex-basis:100%; }
        .tkreplbl:empty { display:none; }
        .tkrepline .tmchip { padding:6px 11px; }
        /* Sira, gun ve birim cipleri telefonda tek satir, esit paylasimli:
           dogal genislikleriyle "Last" ya da "Fri Sat Sun" kendi satirina
           dusuyordu. Yedi gun 270px'lik satirda 35px'er alir, "Wed" sigar. */
        .tkrepchips.even { display:grid; grid-auto-flow:column; grid-auto-columns:1fr; gap:4px; width:100%; }
        .tkrepchips.even .tmchip { padding:6px 0; text-align:center; font-size:12.5px; min-width:0; }
        .tkstep.hassuf .tkstepin, .modal .tkstep.hassuf input.tkstepin:not([type="checkbox"]) { width:24px; min-width:24px; }
        /* Kayit satiri telefonda: sagda yalnizca sure ve iki dugme kaliyor,
           saatler musterinin yanina geciyor. Sol sutun sifira inmesin diye
           sure sabit genisligini birakiyor. */
        .endur { min-width:0; font-size:13px; }
        .enedit { width:32px; height:32px; }
        .enplay { width:32px; height:32px; }
        /* Ucuncu satir: detay, ve satirin tam genisliginde. Kunyenin icinde
           dururken 173px'e sikisiyor ve dort haneli bir tutar ikinci satira
           dusuyordu; burada 300px var. */
        .enrow { flex-wrap:wrap; }
        /* The two buttons belong on the right of the first line, with
           everything else in the app that acts on a row. They were landing on
           a line of their own, hard left, and the reason is that a wrapping
           flex row decides what fits BEFORE it shrinks anything: .enmain's
           basis is its content, so a long title pushed .enright off the line
           and no amount of min-width:0 could pull it back. A zero basis lets
           the title take whatever is left instead of claiming it first.
           margin-left:auto is the belt to that brace: if this row ever wraps
           for some other reason, the buttons still end up on the right. */
        .enrow > .enmain { flex:1 1 0; }
        .enrow > .enright { margin-left:auto; }
        .enclisub { width:100%; font-size:11.5px; color:var(--dim); line-height:1.35;
          white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:1px; }
        .enrow { gap:9px; }
        /* Telefonda satir: dokununca alt sayfa, sola kaydirinca Sil (kullanici, 2026-11-01). */
        .enrow.taps { cursor:pointer; }
        .encact > .hidemob { display:none; }
        .enplay { width:44px; height:44px; }
        .enplay svg { width:16px; height:16px; }
        .enclisub { display:flex; align-items:center; gap:8px; }
        .enclitime { min-width:0; overflow:hidden; text-overflow:ellipsis; }
        .enswipe .enrow { position:relative; background:var(--surface); transition:transform .22s cubic-bezier(.2,.8,.2,1); }
        .enswipe.swiped .enrow { transform:translate3d(-100px,0,0); }
        .enswdel { display:flex; position:absolute; right:0; top:6px; bottom:7px; width:88px; border-radius:var(--r-ctl); flex-direction:column;
          align-items:center; justify-content:center; gap:4px; border:0; padding:0; background:var(--red); color:#fff;
          font:inherit; font-size:12.5px; font-weight:800; cursor:pointer; }
        .enswdel svg { width:19px; height:19px; fill:currentColor; }
        .enshacts .btn { min-height:48px; }
        .enedpart input { font-size:16px; }
        .enpartx { width:44px; height:44px; }
        .enedpart { grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px; grid-template-areas:"d d x" "s m x"; row-gap:10px; }
        .enedpart .enpd { grid-area:d; } .enedpart .enps { grid-area:s; } .enedpart .enpm { grid-area:m; }
        .enedpart .enpartx { grid-area:x; align-self:center; }
        /* Not alani hicbir .field icinde degil, o yuzden paylasilan alan
           kurali onu tutmuyor ve 13px kaliyordu: 16px altindaki her alan
           iOS'ta sayfayi zoomlar ve geri cikmaz. Bu blok not kurallarindan
           SONRA geliyor, onceki mobil blok degil: ayni spesifiklikte kaynak
           sirasi belirler, ve orada yazildiginda 13px kazaniyordu.
           Arac cubugu dugmeleri de parmak icin buyudu. */
        .ntarea { font-size:16px; }
        .ntbtn { min-height:38px; padding:7px 12px; }
        .ntwrap { padding:0 14px; }
        .tkeditmodal .ntwrap { padding:0 18px; }
        .tmnotes { min-height:44px; }
      }
      /* Simge dugmelerinde ortalama: iOS'ta (iPhone 11 / iOS 17) liste-kart
         gecis dugmelerinin icindeki simge kutunun ortasinda degil, biraz
         yukarida duruyordu. WebKit bir <button>'in icerigini kendi anonim
         blogunda yerlestiriyor ve display:grid + place-items'i her zaman
         dinlemiyor; ustune UA'nin kendi button padding'i ve appearance'i de
         duruyor. Uc ihtimalin hangisi oldugunu burada olcemiyorum, cunku bu
         kapta yalnizca Chromium var ve Chromium ikisini de ortaliyor. O yuzden
         ortalamayi akistan tamamen cikariyoruz: kutu konumlanmis bir kutu,
         simge inset:0 + margin:auto ile icinde ortaliyor. Bu, motorun button
         icini nasil yerlestirdigine hic bakmaz. Hepsinin genisligi/yuksekligi
         CSS'te sabit, o yuzden simgeyi akistan cikarmak kutuyu kucultmuyor.
         .taxgrip zaten position:absolute: ona relative yazmak onu yerinden
         oynatirdi, ve absolute da kendi icine konumlanma kabi olur. */
      .crvbtn, .crkebab, .lsbtn, .mnav button, .navadd, .svcgrip,
      .tkedit, .enplay, .enedit, .taxgrip, .cdclose, .tmkill {
        padding:0; -webkit-appearance:none; appearance:none; }
      .crvbtn, .crkebab, .lsbtn, .mnav button, .navadd, .svcgrip,
      .tkedit, .enplay, .enedit {
        position:relative; }
      .crvbtn > svg, .crkebab > svg, .lsbtn > svg, .mnav button > svg,
      .navadd > svg, .svcgrip > svg, .tkedit > svg, .enplay > svg,
      .enedit > svg, .taxgrip > svg {
        position:absolute; inset:0; margin:auto; }
      @media (max-width:560px) {
        /* Telefonda kayit satirindaki duzenin aynisi: logo ve iki satir ustte,
           kunye altta kendi satirinda, dugmeler en altta. */
        .tkrow { flex-wrap:wrap; }
        /* Basligin yanindaki tekrar etiketi icerigi genisletip satiri logodan
           ayiriyordu: ana blok kalan yeri alir, baslik kisalir. */
        .tkmain { flex:1 1 0; }
        .tktitlerow { flex-wrap:wrap; row-gap:4px; }
        .tktitlerow .tktitle { max-width:100%; }
        .tkmeta { width:100%; justify-content:flex-start; }
        .tkacts { width:100%; }
        .tkacts { justify-content:stretch; }
        /* Bitirilen isin tiki, basilan Complete dugmesinin yerinde: sagda. */
        .tkacts.tkfinacts { justify-content:flex-end; }
        /* Telefonda Start ve Complete satiri paylasir, kalem buyumez: bir
           simge genisledikce daha cok simge olmuyor. */
        .tkstart, .tkdone, .tkactive { flex:1 1 0; justify-content:center; }
        .tkedit { width:34px; height:34px; }
        .tkacts { gap:5px; }
        .tkacts .tklink { font-size:12px; padding:4px 1px; }
        .tkacts .tkstart, .tkacts .tkdone { padding:6px 8px; font-size:12px; }
        .tmrow { flex-direction:column; align-items:stretch; gap:6px; }
        .tmbill { padding-bottom:0; }
      }
      /* Kayit formunda hatali alan (kullanici, 2026-10-18). Iki sinif: alanin
         kendi cercevesini ve odak golgesini ezmesi icin. */
      input.sgbad.sgbad, input.sgbad.sgbad:focus { border-color:var(--red) !important; outline:2px solid var(--red) !important; outline-offset:-1px; box-shadow:0 0 0 4px color-mix(in srgb, var(--red) 18%, transparent) !important; }
      .sgferr { margin-top:5px; font-size:12.5px; font-weight:700; color:var(--red); line-height:1.4; }
      .sgtaken { margin-top:4px; font-size:12.5px; color:var(--red); line-height:1.4; }
      .sgtaken b { font-weight:800; }
      .sgbox.sgboxbad { outline:1.5px solid var(--red); outline-offset:4px; border-radius:6px; }
      /* Sifre gozu (PwInput, kayit formu). */
      .pwwrap { position:relative; display:block; width:100%; }
      .pwwrap input { width:100%; box-sizing:border-box; padding-right:44px !important; }
      .pweye { position:absolute; right:4px; top:50%; transform:translateY(-50%); width:36px; height:36px; padding:0; margin:0;
        -webkit-appearance:none; appearance:none; border:none; background:transparent; color:var(--dim); border-radius:8px;
        display:flex; align-items:center; justify-content:center; cursor:pointer; }
      .pweye svg { width:20px; height:20px; min-width:20px; }
      .pweye:hover, .pweye[aria-pressed="true"] { color:var(--ink); }
      .pweye:focus-visible { outline:2px solid var(--primary); outline-offset:1px; }
      /* Sifremi unuttum ve sifre degistirme (kullanici, 2026-10-19). */
      .fpwlink { align-self:flex-end; margin:-4px 0 2px; font-size:12.5px; }
      .fpwback { align-self:center; font-size:12.5px; }
      .fpwhead { font-size:15px; font-weight:700; color:var(--ink); }
      .fpwsent { font-size:13.5px; line-height:1.5; color:var(--ink); background:var(--mint); border-radius:10px; padding:12px 14px; }
      .pwchg { padding-top:4px; padding-bottom:14px; }
      .pwgrid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px 14px; }
      .pwgrid .field { width:auto; margin:0; }
      .pwgrid .pwwrap, .pwgrid .pwwrap input { width:100%; }
      .pwbtns { display:flex; gap:8px; }
      .pwhead { display:flex; align-items:center; gap:9px; }
      .pwstars { width:17px; height:17px; min-width:17px; color:var(--dim); display:block; }
      /* Sifreni degistir: icinde sagda yesil kilit. Acilinca kilidin kancasi
         kalkip donuyor, form acik kaldikca acik bekliyor; kapaninca yayla
         yerine oturuyor. */
      .pwopen { display:inline-flex; align-items:center; gap:10px; padding:8px 10px 8px 14px; border-radius:10px;
        border:1px solid var(--line); background:var(--surface); color:var(--ink); font:inherit; font-size:13px; font-weight:700; cursor:pointer;
        -webkit-appearance:none; appearance:none; }
      /* Ayni izgara profil alanlariyla (.cmgrid): Uyelik dugmesi ikinci
         sutunda, yani Soyad ve Takma ad ile ayni hizada (kullanici, 2026-10-23). */
      .pwrow { display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:12px; align-items:center; }
      .pwrow > .pwopen { justify-self:start; max-width:100%; }
      /* Tek satir (kullanici, 2026-10-30): ikinci sutunun 240px'inde "Membership & payment settings"
         ikiye kiriliyordu. Dugme satirin sonuna kadar uzanabiliyor, yazi kirilmiyor. */
      .pwrow > .pwmember { grid-column:2 / -1; white-space:nowrap; }
      /* Iki sutunlu dar bir kartta (1024 civari) ikinci sutun 212px ve yazi tasiyordu: orada dugme
         kendi satirina iniyor. */
      .pwchg { container-type:inline-size; }
      @container (max-width:540px) { .pwrow > .pwmember { grid-column:1 / -1; } }
      @media (max-width:820px) { .pwrow { display:flex; flex-direction:column; align-items:flex-start; gap:10px; } }
      .pwcard { display:inline-flex; width:20px; height:20px; color:var(--primary-ink); }
      .pwcard svg { width:20px; height:20px; }
      .pwopen:hover { border-color:color-mix(in srgb, var(--green) 55%, var(--line)); }
      .pwopen.on { border-color:color-mix(in srgb, var(--green) 55%, var(--line)); }
      .pwlock { width:20px; height:20px; min-width:20px; color:var(--green); overflow:visible; }
      .pwlock .pwkey { fill:var(--surface); }
      .pwshackle { transform-box:view-box; transform-origin:16px 11px; transition:transform .5s cubic-bezier(.34,1.56,.64,1); }
      .pwlock.open .pwshackle { transform:translateY(-2.6px) rotate(32deg); }
      .pwform { display:flex; flex-direction:column; gap:10px; margin-top:12px; }
      /* Alanlar sirayla ama hizli: 60 ms arayla. */
      .pwform .pwgrid .field, .pwform .pwnote, .pwform .pwbtns { animation:pwin .26s cubic-bezier(.2,.7,.3,1) both; }
      .pwform .pwgrid .field:nth-child(2) { animation-delay:.06s; }
      .pwform .pwgrid .field:nth-child(3) { animation-delay:.12s; }
      .pwform .pwnote { animation-delay:.16s; }
      .pwform .pwbtns { animation-delay:.2s; }
      @keyframes pwin { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
      @media (prefers-reduced-motion:reduce) { .pwshackle { transition:none; } .pwform .pwgrid .field, .pwform .pwnote, .pwform .pwbtns { animation:none; } }
      @media (max-width:820px) { .pwgrid { grid-template-columns:minmax(0,1fr); } }
      /* === Pro dugmesi (.probtn, kullanici 2026-10-14) ========================
         Yukaridan isik alan bir dugme, tasarimi ayri bir HTML'de onaylandi.
         Dort katman: (1) ust kenarda 1px ice dogru acik cizgi, isigin vurdugu
         yer; (2) alt kenarda ice dogru koyu cizgi; (3) sayfaya degdigi yerde
         siki koyu golge; (4) dugmenin kendi renginde buyuk yumusak parilti.
         Ustune yukaridan asagi hafif gradyan; basinca gradyan ters donuyor ve
         ust isik kayboluyor. Renkler sabit: bu yesil her paletin "Pro"su, tema
         degisince Pro'nun rengi degismiyor.
         Sinifin sonu gelmesi ve cift yazilmasi (".probtn.probtn") bilerek:
         .btn.primary ve .pzbtn.primary ile esit spesifiklikte kaynak sirasi
         kazaniyor, ikisini de ancak buradan ezebiliyor. */
      /* Takvim telefonda (kullanici, 2026-10-20: "kaotik, diger sayfalara
         benzemiyor"). Kutucuklu, isim kirpan hucreler yerine sade bir ay:
         hucre cercevesiz, gun numarasi ortada, altinda en fazla uc nokta;
         bugun temanin renginde dolu daire, secili gun acik zemin. Secilen
         gunun kayitlari altta, uygulamanin oteki listeleri gibi satir satir.
         Bu blok dosyanin SONUNDA: ust taraftaki 560/820 kurallarini esit
         spesifiklikte kaynak sirasiyla eziyor. */
      @media (max-width:820px) {
        .calbar { padding:14px 14px 8px; gap:10px; }
        .callegend { width:100%; flex-wrap:wrap; gap:8px; }
        .callegend .renewsentence { padding:6px 11px; font-size:12.5px; line-height:1.2; white-space:nowrap; gap:7px; }
        .callegend .renewsentence b { font-weight:700; }
        .callegend .renewnone { font-size:12.5px; }
        .calgrid { gap:2px; padding:0 10px; }
        .caldow { padding-bottom:2px; }
        .dow { font-size:10.5px; letter-spacing:.3px; }
        .calcell { min-height:0; height:50px; padding:5px 0 4px; border:none; border-radius:12px; background:transparent;
          align-items:center; gap:4px; cursor:pointer; -webkit-tap-highlight-color:transparent; }
        .calcell.empty { cursor:default; }
        .calcell .calday { width:26px; height:26px; padding:0; justify-content:center; border-radius:50%;
          font-size:14px; font-weight:600; color:var(--ink); position:relative; }
        .calcell.busy .calday { font-weight:800; }
        .calcell .todaydot, .calcell .calday .calflight { display:none; }
        .calcell.istoday { box-shadow:none; }
        .calcell.istoday .calday { background:var(--primary); color:#fff; }
        .calcell.issel { background:color-mix(in srgb, var(--primary) 12%, var(--surface)); }
        .caldots.mobonly { display:flex; align-items:center; justify-content:center; gap:3px; height:6px; }
        .caldots .cadot { width:6px; height:6px; }
        .caldots .cadot.virt { background:transparent; box-shadow:inset 0 0 0 1.5px var(--amber); }
        .caldots .cadot.virt.paid { box-shadow:inset 0 0 0 1.5px var(--green); }
        .caldots b { font-size:9px; font-weight:800; color:var(--dim); line-height:1; }
        .calgrid + .calgrid { padding-bottom:10px; }
        .calagenda.mobonly { display:block; margin:4px 14px 14px; padding-top:12px; border-top:1px solid var(--line); }
        .calagendahd { display:flex; align-items:baseline; gap:8px; margin-bottom:8px; }
        .calagendahd b { font-size:15px; font-weight:800; color:var(--ink); }
        .calagendahd span { font-size:13px; color:var(--dim); }
        .calagendahd .calflight { margin-left:auto; font-size:14px; }
        .calagendalist { display:flex; flex-direction:column; }
        .calarow { display:flex; align-items:center; gap:10px; width:100%; min-height:48px; padding:8px 2px; border:0;
          border-bottom:1px solid var(--line); background:none; font:inherit; color:var(--ink); text-align:left; cursor:pointer;
          -webkit-appearance:none; appearance:none; }
        .calarow:last-child { border-bottom:0; }
        .calarow .cadot { width:8px; height:8px; }
        .calarow.paid .cadot { background:var(--green); }
        .calarow.pending .cadot { background:var(--amber); }
        .calarow.virt .cadot { background:transparent; box-shadow:inset 0 0 0 1.5px var(--amber); }
        .calarow .caname { flex:1; min-width:0; font-size:14.5px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        /* Katli kaydin kalem adlari: gri, ince, tek satir, sigmayan "..." (kullanici, 2026-11-11). */
        .calarow .canames { margin-left:7px; font-size:12.5px; font-weight:400; color:var(--dim); }
        .calastat { font-size:11.5px; font-weight:700; padding:3px 8px; border-radius:20px; white-space:nowrap; }
        .calastat.paid { background:color-mix(in srgb, var(--green) 14%, var(--surface)); color:var(--green); }
        .calastat.pending { background:color-mix(in srgb, var(--amber) 16%, var(--surface)); color:var(--pending, var(--amber)); }
        .calarow.virt .calastat { background:var(--bg); color:var(--dim); }
        .calarow .caamt { font-size:14px; font-weight:700; color:var(--ink); white-space:nowrap; }
        .caldots .cadot.out.virt, .calarow.out.pending .cadot, .calarow.out.virt .cadot { background:transparent; box-shadow:inset 0 0 0 1.5px var(--red); }
        .calarow.out.paid .cadot { background:var(--red); }
        .calarow.out .caamt { color:var(--red); }
        .calagendanone { margin:2px 0 4px; font-size:13.5px; color:var(--faint); }
      }
      .probtn.probtn { position:relative; border:1px solid #0B8A5E; color:#fff; font-weight:800;
        text-shadow:0 1px 0 rgba(0,40,26,.28);
        background:linear-gradient(180deg, #22CC92, #0D9A69);
        box-shadow:inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(0,40,26,.32),
          0 1px 2px rgba(4,36,24,.4), 0 6px 14px -8px rgba(18,185,129,.5);
        transition:transform .12s ease, box-shadow .12s ease, filter .12s ease; }
      /* Koyu zeminde parilti daha da kisik (kullanici, 2026-10-18: "alttaki
         golge cok fazla, ozellikle dark modda"). */
      .app.dark .probtn.probtn:not(:focus-visible):not(:active):not(:disabled) { box-shadow:inset 0 1px 0 rgba(255,255,255,.36), inset 0 -1px 0 rgba(0,40,26,.32),
          0 1px 2px rgba(0,0,0,.35), 0 4px 10px -6px rgba(18,185,129,.32); }
      .probtn.probtn:hover:not(:disabled) { filter:brightness(1.04) saturate(1.05); border-color:#0B8A5E; }
      .probtn.probtn:active:not(:disabled) { transform:translateY(1px);
        background:linear-gradient(0deg, #22CC92, #0D9A69);
        box-shadow:inset 0 1px 2px rgba(0,40,26,.30), 0 4px 12px -6px rgba(18,185,129,.55); }
      .probtn.probtn:focus-visible { outline:none;
        box-shadow:0 0 0 3px var(--surface), 0 0 0 5px var(--primary), 0 6px 14px -8px rgba(18,185,129,.45); }
      .probtn.probtn:disabled { filter:grayscale(.55) opacity(.6); box-shadow:none; cursor:default; }
      /* Ayni isik dili, gri tonlarda: "Yeni odeme yontemi ekle" (kullanici,
         2026-10-19). Kilit ikonu odemenin guvenli oldugunu soyluyor. */
      .paybtn.paybtn { position:relative; display:inline-flex; align-items:center; gap:8px; width:auto;
        padding:9px 16px; border-radius:10px; border:1px solid #3F4A46; color:#fff; font-weight:800; font-size:13.5px;
        text-shadow:0 1px 0 rgba(0,0,0,.3); background:linear-gradient(180deg, #6B7772, #47524E);
        box-shadow:inset 0 1px 0 rgba(255,255,255,.32), inset 0 -1px 0 rgba(0,0,0,.3),
          0 1px 2px rgba(0,0,0,.35), 0 6px 14px -8px rgba(40,50,46,.6);
        cursor:pointer; -webkit-appearance:none; appearance:none;
        transition:transform .12s ease, box-shadow .12s ease, filter .12s ease; }
      .paybtn.paybtn svg { width:16px; height:16px; flex:0 0 auto; }
      .paybtn.paybtn:hover { filter:brightness(1.08); }
      .paybtn.paybtn:active { transform:translateY(1px); background:linear-gradient(0deg, #6B7772, #47524E);
        box-shadow:inset 0 1px 2px rgba(0,0,0,.3); }
      .paybtn.paybtn:focus-visible { outline:none; box-shadow:0 0 0 3px var(--surface), 0 0 0 5px var(--primary); }
      .app.dark .paybtn.paybtn { border-color:#59655F; background:linear-gradient(180deg, #7C8883, #56625D); }
      @media (prefers-reduced-motion:reduce) { .paybtn.paybtn { transition:none; } }
      @media (prefers-reduced-motion:reduce) { .probtn.probtn { transition:none; } }
      /* Uygulamanin icinde Pro dugmesi TEMANIN rengini aliyor (kullanici, 2026-11-02): ayni ekranda yesil
         .probtn ile temanin "Ode" dugmesi iki ayri dugme rengi gibi duruyordu. Isik dili ayni, renk --sel-bg
         (beyaz yazi en az 4.5). Landing ve giris sayfalari (.lp-app) markanin yesilinde kaliyor. */
      .app:not(.lp-app) .probtn.probtn { border-color:color-mix(in srgb, var(--sel-bg) 82%, #000);
        text-shadow:0 1px 0 rgba(0,0,0,.22);
        background:linear-gradient(180deg, color-mix(in oklch, var(--sel-bg) 84%, #fff), var(--sel-bg));
        box-shadow:inset 0 1px 0 rgba(255,255,255,.38), inset 0 -1px 0 rgba(0,0,0,.26),
          0 1px 2px rgba(0,0,0,.32), 0 6px 14px -8px color-mix(in srgb, var(--sel-bg) 60%, transparent); }
      .app.dark:not(.lp-app) .probtn.probtn:not(:focus-visible):not(:active):not(:disabled) { box-shadow:inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.3),
          0 1px 2px rgba(0,0,0,.35), 0 4px 10px -6px color-mix(in srgb, var(--sel-bg) 45%, transparent); }
      .app:not(.lp-app) .probtn.probtn:hover:not(:disabled) { border-color:color-mix(in srgb, var(--sel-bg) 82%, #000); }
      .app:not(.lp-app) .probtn.probtn:active:not(:disabled) { background:linear-gradient(0deg, color-mix(in oklch, var(--sel-bg) 84%, #fff), var(--sel-bg));
        box-shadow:inset 0 1px 2px rgba(0,0,0,.28), 0 4px 12px -6px color-mix(in srgb, var(--sel-bg) 55%, transparent); }
      .app:not(.lp-app) .probtn.probtn:focus-visible { box-shadow:0 0 0 3px var(--surface), 0 0 0 5px var(--sel-bg), 0 6px 14px -8px color-mix(in srgb, var(--sel-bg) 45%, transparent); }
      /* Kiremit, Lacivert ve Gok mavisi gece temalarinda Pro dugmesi POP renginde (kullanici, 2026-11-06). Dugmenin butun
         kurallari --sel-bg okuyor, o yuzden yalnizca onu pop'a esliyoruz; yazi rengi pop'un kendi okunur rengi. */
      .app:is(.pal-brick, .pal-navy, .pal-sky):not(.lp-app) .probtn.probtn { --sel-bg:var(--pop); color:var(--on-pop); text-shadow:none; }
      /* Donem gecis dugmesi (.cyclebtn, kullanici 2026-10-14): Pro dugmesinin
         sade kardesi. Ayni isik dili (ustte ice acik cizgi, altta koyu cizgi,
         temas golgesi, hafif gradyan, basinca ters) ama nane zeminde ve
         parilti yok: bir satin alma degil, var olan uyeligin duzeni. Renkler
         jetonlardan, yani bes palette ve iki temada dogru. */
      .pzbtn.cyclebtn.cyclebtn { color:var(--primary-ink); font-weight:700;
        border:1px solid color-mix(in srgb, var(--primary) 42%, transparent);
        background:linear-gradient(180deg, color-mix(in srgb, var(--mint) 55%, var(--surface)), var(--mint));
        box-shadow:inset 0 1px 0 color-mix(in srgb, #fff 55%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--primary) 22%, transparent),
          0 1px 2px rgba(4,36,24,.16);
        transition:transform .12s ease, box-shadow .12s ease, filter .12s ease; }
      .app.dark .pzbtn.cyclebtn.cyclebtn { box-shadow:inset 0 1px 0 color-mix(in srgb, #fff 12%, transparent),
        inset 0 -1px 0 rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.35); }
      .pzbtn.cyclebtn.cyclebtn:hover:not(:disabled) { filter:brightness(1.03); border-color:color-mix(in srgb, var(--primary) 60%, transparent); }
      .pzbtn.cyclebtn.cyclebtn:active:not(:disabled) { transform:translateY(1px);
        background:linear-gradient(0deg, color-mix(in srgb, var(--mint) 55%, var(--surface)), var(--mint));
        box-shadow:inset 0 1px 2px color-mix(in srgb, var(--primary) 25%, transparent); }
      .pzbtn.cyclebtn.cyclebtn:disabled { opacity:.6; cursor:default; }
      @media (prefers-reduced-motion:reduce) { .pzbtn.cyclebtn.cyclebtn { transition:none; } }
      /* Yenileme tarihinin yanindaki kalan gun. */
      .mbleft { color:var(--dim); font-weight:500; white-space:nowrap; }
      /* Odeme ozetindeki "Otomatik olarak yenile" kutusu ve donem gecisinin
         notu (kullanici, 2026-10-15): bugun odeniyor, yeni plan mevcut
         donemin sonunda basliyor. */
      .pzsum .pzrenew { display:flex; align-items:center; gap:9px; margin:2px 0 12px; cursor:pointer;
        font-size:13.5px; font-weight:600; color:var(--ink); }
      .pzsum .pzrenew input { width:18px; height:18px; margin:0; flex:none; accent-color:var(--primary); cursor:pointer; }
      /* Bos yenileme kutusu (kullanici, 2026-10-16): parilti ve dolasan cizgi
         KUTUNUN KENDISINDE. Kutu bu yuzden tarayicinin cizdigi kutu degil
         (appearance:none): yerel kutunun golgesi ve kenari Safari'de
         cizilmiyor. Cizgi SVG kutuyla AYNI boyda ve tam kenarinin ustunde
         (pathLength 100). Isaretlenince ikisi de gidiyor. */
      .pzrenewbox { position:relative; display:inline-grid; width:20px; height:20px; flex:none; }
      .pzsum .pzrenew .pzrenewbox input { -webkit-appearance:none; appearance:none; grid-area:1/1; width:20px; height:20px; margin:0;
        border-radius:6px; border:1.5px solid color-mix(in srgb, var(--primary) 45%, var(--line)); background:var(--surface);
        cursor:pointer; transition:background-color .15s ease, border-color .15s ease; }
      .pzsum .pzrenew .pzrenewbox input:checked { background:var(--primary) center/14px 14px no-repeat
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        border-color:var(--primary); }
      .pzsum .pzrenew .pzrenewbox input:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      .pzrenew.off .pzrenewbox input { animation:pzrenewglow 2.4s ease-in-out infinite; }
      .pzrenewrun { grid-area:1/1; width:20px; height:20px; pointer-events:none; overflow:visible; }
      .pzrenewrun rect { fill:none; stroke:var(--primary); stroke-width:2; stroke-linecap:round;
        stroke-dasharray:30 70; animation:pzrenewrun 2.2s linear infinite; }
      @keyframes pzrenewrun { to { stroke-dashoffset:-100; } }
      @keyframes pzrenewglow {
        0%, 100% { box-shadow:0 0 0 0 color-mix(in srgb, var(--primary) 0%, transparent); }
        50% { box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent), 0 0 10px 1px color-mix(in srgb, var(--primary) 35%, transparent); }
      }
      @media (prefers-reduced-motion:reduce) {
        .pzrenew.off .pzrenewbox input { animation:none; box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
        .pzrenewrun rect { animation:none; stroke-dasharray:none; opacity:.6; }
      }
      /* Fatura alanlarinin hatalari ve e-posta onerisi. */
      .pzfield.bad input { border-color:var(--red); }
      .pzerr { font-style:normal; font-size:12px; font-weight:600; color:var(--red); line-height:1.4; }
      .pzsuggest { font-size:12px; color:var(--dim); }
      .pzsuggest button { padding:0; border:0; background:none; font:inherit; font-weight:700; color:var(--primary-ink);
        text-decoration:underline; cursor:pointer; -webkit-appearance:none; appearance:none; }
      .pzsum .pzlater { margin:0 0 12px; padding:10px 12px; border-radius:10px; font-size:13px; line-height:1.55;
        color:var(--primary-ink); background:var(--mint); }
      /* Gelir masaustunde (kullanici, 2026-10-21; taslak ayri bir HTML'de
         onaylandi). Telefon karti (v7) ayni tabloyu kullaniyor, o yuzden her
         sey telefonu disarida birakan bir blokta; .incdsk yalnizca masaustu,
         .incmob yalnizca telefon. Durum hapi etiket, yaninda tek is;
         Brut sutunu gizli, brut netin altinda gri; son odeme tam ay adi ve
         altinda tek renkli satir; duzenle / sil ve Geri al satirin ustune
         gelince; satir uzerine gelince kendi durum renginin acik tonu. */
      .incdsk { display:none; }
      .app { --fl-paid:#16A374; --fl-pending:#E2A91E; --fl-overdue:#D9454A; --fl-notstarted:#AEBBB6; }
      @media (min-width:821px) and (min-height:481px), (min-width:821px) and (orientation:portrait) {
        .incdsk { display:revert; }
        span.incdsk { display:inline-flex; }
        .incmob { display:none; }
        .inccard .cardhd .btn.primary { background:#0B7A55; border-color:#0B7A55; color:#fff; }
        .inctbl thead th { color:var(--dim); }
        .inctbl .incpay { height:28px; padding:0 12px; font-size:12.5px; }
        .app .inctbl .btn.incpay:hover { color:var(--green); border-color:var(--green); }
        .inctbl .incundo { font:600 12px var(--sans, inherit); color:var(--dim); background:none; border:0; padding:4px 2px; cursor:pointer;
          opacity:0; transition:opacity .12s; }
        .inctbl .incundo:hover { color:var(--ink); text-decoration:underline; }
        .inctbl tr:hover .incundo, .inctbl .incundo:focus-visible { opacity:1; }
        .inctbl tr .rowacts { opacity:0; transition:opacity .12s; }
        .inctbl tr:hover .rowacts, .inctbl tr:focus-within .rowacts { opacity:1; }
        /* Uzerine gelme vurgusu SATIRDA (tr), hucrelerde degil, ve gecissiz.
           Hucre zemini + gecis Chrome'da iz birakiyordu: fare ayrildigi satir
           boyali kaliyordu (kullanici videosu, 2026-10-22). Bolum tonlari da
           tr'de, yani bu ayni boyama yolu. Genel "tbody tr:hover" cercevesi
           (outline) burada kapali. */
        .app .inctbl tbody tr:hover, .app.dark .inctbl tbody tr:hover { outline:none; }
        .app .inctbl tbody tr[class*="bar-"]:hover {
          background:color-mix(in srgb, var(--rowbar) 13%, var(--surface)); }
        /* Sol cizgi kendi katmani: 3px'ten 6px'e transform ile buyuyor
           (taslaktaki gibi). Golge ya da hucre zemini gecisi Chrome'da iz
           birakiyordu; transform hucreleri yeniden boyamiyor. */
        .app .inctbl tbody tr[class*="bar-"] { box-shadow:none; }
        .inctbl tbody tr[class*="bar-"] > td:first-child { position:relative; }
        .inctbl tbody tr[class*="bar-"] > td:first-child::before { content:""; position:absolute; left:0; top:0; bottom:0; width:6px;
          background:var(--rowbar); transform:scaleX(.5); transform-origin:left center; transition:transform .18s ease-out; pointer-events:none; }
        .inctbl tbody tr[class*="bar-"]:hover > td:first-child::before { transform:scaleX(1); }
        @media (prefers-reduced-motion:reduce) { .inctbl tbody tr[class*="bar-"] > td:first-child::before { transition:none; } }
        /* Gelir masaustu yeniden (kullanici, 2026-11-02, K-432; "Gelir Tablosu Taslagi", docs/design/apple-design.md):
           sessiz grup basliklari (nokta, ad, sayi; ara toplam tutar sutununda), tur ayri sutunda, net odakta ve
           altinda brut, satir basina tek eylem (.pfbtn). Telefon karti bu kurallardan etkilenmiyor (.idk yalnizca
           masaustunde basiliyor). */
        .inctbl.idk { font-variant-numeric:tabular-nums; }
        .inctbl.idk .thsub { color:var(--faint); font-weight:600; }
        .app .inctbl.idk tbody tr, .app .inctbl.idk tbody tr > td { background:transparent; box-shadow:none; }
        /* Ad sutunu kalan genisligi aliyor, otekiler icerikleri kadar: eskiden bos alan tutar sutununun
           oncesine yayiliyordu ve son odeme ile net arasinda anlamsiz bir bosluk kaliyordu (kullanici, 2026-11-02). */
        .inctbl.idk .idkname { width:100%; min-width:230px; }
        .inctbl.idk .idktype, .inctbl.idk .idkdue, .inctbl.idk .idkamt, .inctbl.idk .inctmh { width:1%; white-space:nowrap; }
        .inctbl.idk thead th { padding-left:16px; padding-right:16px; }
        .inctbl.idk tbody tr.idkrow > td:not(.idkname) { padding-left:16px; padding-right:16px; }
        .inctbl.idk tbody tr.idkrow > td.idkname { padding-left:20px; }
        .inctbl.idk tbody tr.idkrow > td { padding:13px 12px; vertical-align:middle;
          border-bottom:1px solid color-mix(in srgb, var(--line) 70%, transparent); }
        .app .inctbl.idk tbody tr.idkrow:hover { background:color-mix(in srgb, var(--ink) 3%, var(--surface)); outline:none; }
        .inctbl.idk .idkamt small { display:block; font-size:11.5px; font-weight:600; color:var(--dim); margin-top:2px; }
        .inctbl.idk .idkamt .num { font-size:15px; letter-spacing:-.01em; }
        .inctbl.idk .idkgrand .num { font-size:17px; }
        .inctbl.idk .idkname .cellmain { font-size:14.5px; font-weight:700; }
        .idktim { display:block; border:0; background:none; padding:0; margin-top:2px; font:inherit; font-size:12px; color:var(--dim);
          cursor:pointer; text-align:left; }
        .idktim:hover { color:var(--ink); text-decoration:underline; }
        .idkbrk { display:inline-flex; align-items:center; gap:4px; border:0; background:none; padding:0; margin-top:3px; font:inherit;
          font-size:12px; font-weight:700; color:var(--primary-ink); cursor:pointer; }
        .app.dark .idkbrk { color:var(--primary); }
        .idkbrk svg { width:12px; height:12px; transition:transform .22s cubic-bezier(.2,.8,.2,1); }
        .idkbrk[aria-expanded="true"] svg { transform:rotate(90deg); }
        .idkbrklist { display:grid; grid-template-rows:0fr; transition:grid-template-rows .26s cubic-bezier(.2,.8,.2,1); }
        .idkbrklist > div { overflow:hidden; }
        .idkbrklist.open { grid-template-rows:1fr; }
        .idkbrklist ul { margin:6px 0 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:3px; font-size:12px; color:var(--dim); }
        .idkbrklist li { display:flex; justify-content:space-between; gap:16px; max-width:260px; }
        .idkbrklist li i { font-style:normal; color:var(--faint); }
        .idktax { display:inline-block; font-size:11px; font-weight:800; letter-spacing:.02em; padding:3px 9px; border-radius:999px; white-space:nowrap;
          background:color-mix(in srgb, var(--ink) 7%, transparent); color:var(--dim); }
        .idktax.b20 { background:color-mix(in srgb, var(--primary) 13%, transparent); color:var(--primary-ink); }
        .idktax.hs { background:color-mix(in srgb, var(--amber) 15%, transparent); color:color-mix(in srgb, var(--amber) 80%, var(--ink)); }
        .idktax.kdv { background:color-mix(in srgb, var(--pop) 13%, transparent); color:color-mix(in srgb, var(--pop) 80%, var(--ink)); }
        .app.dark .idktax.b20 { color:var(--primary); }
        .app.dark .idktax.kdv { color:var(--pop); }
        .app.dark .idktax.hs { color:var(--amber); }
        .inctbl.idk .idkdue b { display:block; font-size:13.5px; font-weight:600; }
        .inctbl.idk .idkdue small { font-size:12px; font-weight:600; color:var(--dim); }
        .inctbl.idk .idkdue b.late { color:var(--red); }
        .inctbl.idk .idkdue small.late { color:var(--red); font-weight:700; }
        .inctbl.idk .idkdue small.soon { color:var(--amber); font-weight:700; }
        .inctbl.idk .idkdue small.paid { color:var(--green); }
        .inctbl.idk .idkact { white-space:nowrap; width:1%; text-align:left; }
        .inctbl.idk .idkact .rowacts { display:inline-flex; vertical-align:middle; margin-left:6px; }
        .inctbl.idk .idkact .incundo { vertical-align:middle; }
        .inctbl.idk tfoot td { padding:12px; }
        /* Tek tikla "Odendi isaretle" (PayFlowBtn): tutar, cizgi, yazi ve noktali daire. */
        .pfbtn { --p:0; --pf:var(--sel-bg); --ipa:var(--sel-bg); --ipb:var(--pop); position:relative; display:inline-flex; align-items:center;
          gap:10px; height:38px; padding:0 6px 0 14px; border-radius:999px; border:1.5px solid var(--pf);
          background:color-mix(in srgb, var(--pf) 7%, var(--surface)); color:var(--pf); font:inherit; font-weight:800; font-size:12.5px;
          cursor:pointer; white-space:nowrap; vertical-align:middle; transition:transform .1s ease-out; -webkit-appearance:none; appearance:none; }
        .app.dark .pfbtn { --pf:var(--primary); }
        .pfbtn:active { transform:scale(.97); }
        .pfbtn:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
        .pffill { position:absolute; inset:0; border-radius:inherit; pointer-events:none;
          clip-path:inset(0 calc((1 - var(--p)) * 100%) 0 0 round 999px);
          background:linear-gradient(90deg, color-mix(in srgb, var(--pf) 6%, transparent), color-mix(in srgb, var(--pop) 22%, transparent)); }
        .pfamt { position:relative; display:inline-flex; min-width:var(--pfw, 0px); font-size:13.5px; letter-spacing:-.01em; font-variant-numeric:tabular-nums; }
        .pfamt i { font-style:normal; display:inline-block; will-change:transform, opacity; }
        .pfsep { position:relative; width:1px; height:18px; background:color-mix(in srgb, var(--pf) 35%, transparent); }
        .pflbl { position:relative; opacity:calc(1 - .45 * var(--p)); min-width:var(--pflw, 0px); text-align:center; }
        .pfring { position:relative; width:26px; height:26px; flex:0 0 auto; }
        .pfdot { position:absolute; inset:2px; border-radius:50%; background:linear-gradient(135deg, var(--sel-bg), var(--pop)); transform:scale(var(--p)); }
        .pfring svg { position:absolute; inset:0; width:26px; height:26px; overflow:visible; }
        .pfdash { fill:none; stroke:var(--pf); stroke-width:1.8; stroke-dasharray:2.6 2.6; }
        .pftick { fill:none; stroke:#fff; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:16; stroke-dashoffset:16; }
        .pfbtn.done .pfdash { stroke-dasharray:none; }
        .pfbtn.done .pftick { animation:pftick .3s ease-out forwards; }
        @keyframes pftick { to { stroke-dashoffset:0; } }
        @media (prefers-reduced-motion:reduce) { .idkbrk svg, .idkbrklist { transition:none; } .pfbtn.done .pftick { animation:none; stroke-dashoffset:0; } }
        .incflow { padding:0 18px; }
        .inccard .cardhd h2 { text-transform:none; letter-spacing:-.01em; font-size:16px; font-weight:700; }
        .inccard .cardhd h2 .inchdsub { font-size:12px; font-weight:500; color:var(--dim); letter-spacing:0; }
        /* Ust serit: etiketler parcalarin ustunde, uzerinde hava akisi. */
        .incflow { margin:4px 0 18px; }
        /* Uc alt alta cubuk (kullanici, 2026-11-04): her satir bir cubuk ve yaninda etiket + tutar. Cubuk alani
           satirin %62'si, en uzun cubuk onu doldurur; etiket cubugun ucundan sonra. */
        .incflow-rows { display:flex; flex-direction:column; gap:8px; }
        .incflow-row { display:flex; align-items:center; gap:14px; min-height:26px; }
        .incflow-track { flex:0 0 62%; min-width:0; }
        .incflow-lbl { display:flex; align-items:baseline; gap:10px; white-space:nowrap; min-width:0; }
        .incflow-lbl .t { display:block; font-size:12px; color:var(--dim); }
        .incflow-lbl .t em { font-style:normal; color:var(--faint); margin-left:4px; }
        /* Taslak A: akvaryum solda, serit sagda. Tablonun altindaki ozet blogu masaustunde yok. */
        .incflow { display:flex; align-items:center; gap:22px; }
        .incflow-main { flex:1; min-width:0; }
        .incflow-tank .ctank { gap:0; }
        .incflow-tank .ctankdisc { width:130px; height:130px; border-width:4px; }
        .incflow-tank .ctanktip { display:none; }
        .incflow-tank .ctankdot { width:5px; height:5px; }
        .incflow-tank .ctankwave, .incflow-tank .ctankwave.top { height:12px; }
        .app .incflow-tank .ctankband.paid { --bc:var(--fl-paid); background:var(--bc); } .app .incflow-tank .ctankband.paid .ctankwave { color:var(--fl-paid); }
        .app .incflow-tank .ctankband.pending { --bc:var(--fl-pending); background:var(--bc); } .app .incflow-tank .ctankband.pending .ctankwave { color:var(--fl-pending); }
        .app .incflow-tank .ctankband.overdue { --bc:var(--fl-overdue); background:var(--bc); } .app .incflow-tank .ctankband.overdue .ctankwave { color:var(--fl-overdue); }
        .inccard > .snapblock.clientsum { display:none; }
        /* Bir durumun ustune gelince (akvaryum, serit ya da etiket) o one cikiyor, otekiler soluyor. */
        .incflow-row, .incflow-tank .ctankband { transition:opacity .18s, filter .18s; }
        .incflow-row { cursor:default; }
        .incflow.hashot .incflow-row:not(.hot) { opacity:.4; }
        .incflow.hashot .incflow-tank .ctankband:not(.on) { opacity:.4; }
        .incflow .incflow-track > i.hot { filter:brightness(1.06) saturate(1.15); }
        .incflow-lbl .v { font-size:17px; font-weight:600; }
        .incflow-lbl.overdue .v { color:var(--red); }
        .incflow-track > i { position:relative; display:block; height:12px; border-radius:999px; overflow:hidden; transition:width .7s cubic-bezier(.2,.7,.2,1); }
        .incflow-air { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
        .incflow-air span { position:absolute; top:0; bottom:0; left:0; width:200%; will-change:transform; background-repeat:repeat-x; }
        .incflow-air .a1 { background-image:
          radial-gradient(ellipse 70px 1.6px at 40px 30%, rgba(255,255,255,.75), transparent 70%),
          radial-gradient(ellipse 110px 1.4px at 190px 62%, rgba(255,255,255,.6), transparent 70%),
          radial-gradient(ellipse 55px 1.2px at 300px 45%, rgba(255,255,255,.55), transparent 70%);
          background-size:360px 100%; }
        .incflow-air .a2 { background-image:
          radial-gradient(ellipse 140px 2.2px at 90px 55%, rgba(255,255,255,.35), transparent 70%),
          radial-gradient(ellipse 90px 1.8px at 330px 25%, rgba(255,255,255,.3), transparent 70%);
          background-size:520px 100%; }
        .incflow-foot { display:flex; justify-content:flex-end; align-items:baseline; gap:8px; margin-top:8px; font-size:12px; color:var(--dim); }
        .incflow-foot b { font-size:13px; color:var(--ink); }
      }
      @media (min-width:821px) and (prefers-reduced-motion:no-preference) {
        .incflow-air .a1 { animation:incair 5.5s linear infinite; }
        .incflow-air .a2 { animation:incair2 9s linear infinite; }
        @keyframes incair { from { transform:translateX(-360px); } to { transform:translateX(0); } }
        @keyframes incair2 { from { transform:translateX(-520px); } to { transform:translateX(0); } }
      }
      /* Duzenli giderler masaustunde (apple-design denetimi, kullanici
         2026-10-29). Satirlar okunur gibi durur: 28 acilir okun hepsi her an
         gorunuyordu. Ok ve kenarlik yalnizca satirin ustune gelince ya da
         klavye odagi satirdayken. Telefon bu tabloyu kullanmiyor (.reclist). */
      @media (min-width:821px) {
        .rectable select.inline { -webkit-appearance:none; appearance:none; padding-right:22px;
          background-repeat:no-repeat; background-position:right 6px center; background-size:10px 10px; cursor:pointer; }
        /* Duzenlenebilir oldugu ilk bakista anlasilsin (K-674): yalnizca ince, soluk bir alt cizgi; satirin ustune gelince tam cerceveye donuyor. */
        .rectable .inline:not(.moneywrap) { border-bottom-color:color-mix(in srgb, var(--line) 75%, transparent); }
        /* Satirlar arasinda gezerken tek tek alan cercevesi degil tum satir vurgulaniyor (K-677). */
        .app .rectable tbody tr:hover, .app.dark .rectable tbody tr:hover { outline:none; }
        .rectable tbody tr:hover > td, .rectable tbody tr:focus-within > td { background:color-mix(in srgb, var(--primary) 8%, transparent); }
        .rectable tbody tr:hover > td:first-child, .rectable tbody tr:focus-within > td:first-child { border-radius:10px 0 0 10px; }
        .rectable tbody tr:hover > td:last-child, .rectable tbody tr:focus-within > td:last-child { border-radius:0 10px 10px 0; }
        .rectable tbody tr:hover .moneywrap.inline, .rectable tbody tr:focus-within .moneywrap.inline { border-color:transparent; background:transparent; }
        .rectable tbody tr:hover select.inline, .rectable tbody tr:focus-within select.inline {
          background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' fill='none' stroke='%235C6B66' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
        /* The sign sat at the cell's left edge and the figure at its right,
           about 190px apart. Now the sign is the figure's neighbour. */
        .rectable td.r .moneywrap.inline { display:flex; justify-content:flex-end; align-items:center; gap:3px; }
        .rectable td.r .moneywrap .tlsign { position:static; transform:none; color:var(--dim); }
        .rectable td.r .moneywrap input { padding-left:5px !important; width:9ch; }
        @supports (field-sizing:content) {
          .rectable td.r .moneywrap input { field-sizing:content; width:auto; min-width:3ch; }
        }
      }
      /* Gelir: faturalanabilir sure sutunu (kullanici, 2026-10-30). Bu ay faturalanabilir
         suresi olan bir musteri bile varsa aciliyor; kronometre "Tutari onayla"yi aciyor. */
      .inctmbtn { display:inline-flex; align-items:center; gap:6px; height:30px; padding:0 10px 0 8px; border-radius:999px;
        border:1px solid color-mix(in srgb, var(--primary) 45%, var(--line)); background:color-mix(in srgb, var(--primary) 9%, var(--surface));
        color:var(--primary-ink); font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; white-space:nowrap;
        appearance:none; -webkit-appearance:none; }
      .inctmbtn > svg { width:16px; height:16px; flex:0 0 auto; }
      .inctmbtn:hover { border-color:var(--primary); background:color-mix(in srgb, var(--primary) 16%, var(--surface)); }
      .inctmbtn:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
      .inctmhd { display:inline-flex; align-items:center; gap:5px; }
      .inctmhd > svg { width:13px; height:13px; }
      @media (min-width:821px) {
        /* Uzun musteri adi iki satira sariyor; yer yeni sutuna. */
        .inctbl td.incname { max-width:240px; }
        .inctbl td.incname .cellmain { white-space:normal; }
        /* Sutunun adi tek satir ve sutun genis (kullanici, 2026-10-30): dar sutunda baslik iki satira
           kiriliyordu, Durum da ada yapisiyordu. */
        .inctbl th.inctmh, .inctbl td.inctm { width:200px; white-space:nowrap; }
      }
      @media (max-width:820px) {
        .inctbl tr.incrow:has(> td.inctm:not(.none)) {
          grid-template-areas:"name name tim" "due due due" "tm tm tm" "g stat stat" "n stat stat" "box box box"; }
        .inctbl tr.incrow:has(> td.inctm:not(.none)):has(> td.incstat.isPaid) {
          grid-template-areas:"name name tim" "due due due" "tm tm tm" "g g g" "n n n" "box box box"; }
        .inctbl tr.incrow > td.inctm { grid-area:tm; }
        .inctbl tr.incrow > td.inctm.none, .inctbl tr.ucrow > td.inctm.none { display:none; }
        .inctbl tr.ucrow > td.inctm:not(.none) { display:block; grid-column:1 / -1; grid-row:3; margin-top:4px; }
        .inctmbtn { width:100%; height:40px; padding:0 12px; font-size:13px; }
        .inctmgo { margin-left:auto; display:inline-flex; align-items:center; gap:2px; font-weight:700; }
        .inctmgo svg { width:14px; height:14px; }
      }

      /* "Tutari onayla" penceresi: ayin faturalanabilir kayitlari, satir satir. */
      .cfabill { border:1px solid var(--line); border-radius:var(--r-inner); background:var(--bg); padding:12px 12px 10px; margin:0 0 14px; }
      .cfahd { display:flex; align-items:center; gap:9px; }
      .cfaico { width:30px; height:30px; flex:0 0 auto; border-radius:50%; display:grid; place-items:center;
        background:color-mix(in srgb, var(--primary) 14%, var(--surface)); color:var(--primary-ink); }
      .cfaico svg { width:17px; height:17px; }
      .cfattl { font-size:13px; font-weight:700; color:var(--ink); min-width:0; flex:1 1 auto; }
      .cfatot { display:flex; flex-direction:column; align-items:flex-end; line-height:1.25; flex:0 0 auto; }
      .cfatot b { font-size:14px; font-weight:800; color:var(--ink); white-space:nowrap; }
      .cfatot em { font-style:normal; font-size:12.5px; font-weight:700; color:var(--green); white-space:nowrap; }
      .cfarows { margin-top:10px; border-top:1px solid var(--line); max-height:240px; overflow-y:auto; }
      .cfarow { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(72px,auto) 16px; align-items:center; gap:12px; width:100%;
        min-height:44px; padding:0 2px; border:none; border-bottom:1px solid var(--line); background:none; font:inherit; font-size:13.5px;
        color:var(--ink); text-align:left; cursor:pointer; appearance:none; -webkit-appearance:none; }
      .cfarow:last-child { border-bottom:none; }
      .cfarow:hover:not(:disabled) { background:color-mix(in srgb, var(--primary) 7%, transparent); }
      .cfarow:disabled { cursor:default; grid-template-columns:minmax(0,1fr) auto minmax(72px,auto); }
      .cfad { color:var(--dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .cfam { white-space:nowrap; }
      .cfaa { text-align:right; font-weight:700; white-space:nowrap; }
      .cfachev { display:inline-flex; width:14px; height:14px; color:var(--faint); }
      .cfachev svg { width:100%; height:100%; }
      .cfause { width:100%; margin-top:10px; min-height:40px; }
      .cfaok { margin-top:10px; text-align:center; font-size:13px; font-weight:700; color:var(--green); }
      .cfahm { display:flex; gap:6px; }
      .cfahm input { width:64px; }
      @media (max-width:820px) {
        .cfause { min-height:44px; }
        .modal .cfahm input:not([type="checkbox"]) { width:auto !important; flex:1 1 0; font-size:16px; }
      }

      /* Musteri kartinin bilgi satirlari (kullanici, 2026-10-30: "metinler ic ice gecmis"). Her satir:
         ikon, rakam, aciklamasi tek parca; "Odeme: ..." sigmazsa kendi satirina iniyor. Eskiden
         aciklama ayri bir esnek kutuydu ve "/ ay . brut" kendi icinde alt alta kiriliyordu. */
      .crinfo { gap:6px; }
      .crmo { flex-wrap:wrap; row-gap:4px; line-height:1.35; }
      .crmo > b, .crmo > span.dim { white-space:nowrap; flex:0 0 auto; }
      .crmo > b + span.dim { margin-left:-2px; }
      /* Telefonda "Odeme: ..." hep kendi satirinda, rakamin hizasinda: sigdigi yerde yanda,
         sigmadigi yerde saga yaslanmis duruyordu. */
      .crbrk { display:none; }
      @media (max-width:820px) {
        .crbrk { display:block; flex-basis:100%; height:0; }
        .crmo .crpay { margin-left:20px; }
      }
      /* Kart odemesi ve ona bagli satirlar (kullanici, 2026-11-01): cocuklar ebeveynin altinda, iceri
         kaymis, ebeveynin ikonundan inen bir cizgiyle ve her cocuga uzanan kisa bir kolla (groupCardRows).
         Konumlar olculdu: Son islemler ikonu satirin 15px icinde ve 30px; Islemler masaustunde ikon
         td'nin 12px icinde, 9px asagida, 30px; telefonda satirin 14px icinde, ~12px asagida, 38px. */
      .rtgroup, .ledgertbl { --treeln:color-mix(in srgb, var(--red) 55%, var(--line)); }
      .rtgroup { border-bottom:1px solid var(--line); }
      .rtgroup:last-child { border-bottom:none; }
      .rtgroup > .rtrow { position:relative; }
      .rtgroup > .rtrow.rtkid { padding-left:47px; }
      .rtgroup > .rtrow.last { border-bottom:none; }
      .rtgroup > .rtparent::after { content:""; position:absolute; left:29px; top:calc(50% + 15px); bottom:0; width:2px; background:var(--treeln); }
      .rtgroup > .rtkid::before { content:""; position:absolute; left:29px; top:0; bottom:0; width:2px; background:var(--treeln); }
      .rtgroup > .rtkid.last::before { bottom:50%; }
      .rtgroup > .rtkid::after { content:""; position:absolute; left:26px; top:calc(50% - 4px); width:21px; height:8px;
        background:radial-gradient(circle at 4px 4px, var(--treeln) 3.5px, transparent 4px), linear-gradient(var(--treeln), var(--treeln)) 4px 3px / 100% 2px no-repeat; }
      @media (min-width:821px) {
        .ledgertbl tr.cardparent td.txitem, .ledgertbl tr.cardkid td.txitem { position:relative; }
        .ledgertbl tr.cardkid .txitemrow { margin-left:30px; }
        .ledgertbl tr.cardparent td.txitem::after { content:""; position:absolute; left:26px; top:39px; bottom:0; width:2px; background:var(--treeln); }
        .ledgertbl tr.cardkid td.txitem::before { content:""; position:absolute; left:26px; top:0; bottom:0; width:2px; background:var(--treeln); }
        .ledgertbl tr.cardkid.last td.txitem::before { bottom:auto; height:24px; }
        .ledgertbl tr.cardkid td.txitem::after { content:""; position:absolute; left:23px; top:20px; width:19px; height:8px;
          background:radial-gradient(circle at 4px 4px, var(--treeln) 3.5px, transparent 4px), linear-gradient(var(--treeln), var(--treeln)) 4px 3px / 100% 2px no-repeat; }
      }
      @media (max-width:820px) {
        .ledgertbl tr.cardparent, .ledgertbl tr.cardkid { position:relative; }
        .ledgertbl tr.cardkid .txitemrow { margin-left:30px; }
        .ledgertbl tr.cardparent::after { content:""; position:absolute; left:32px; top:50px; bottom:0; width:2px; background:var(--treeln); }
        .ledgertbl tr.cardkid::before { content:""; position:absolute; left:32px; top:0; bottom:0; width:2px; background:var(--treeln); }
        .ledgertbl tr.cardkid.last::before { bottom:auto; height:31px; }
        .ledgertbl tr.cardkid::after { content:""; position:absolute; left:29px; top:27px; width:15px; height:8px;
          background:radial-gradient(circle at 4px 4px, var(--treeln) 3.5px, transparent 4px), linear-gradient(var(--treeln), var(--treeln)) 4px 3px / 100% 2px no-repeat; }
      }
      /* Kart agaci, ikinci tur (kullanici, 2026-11-01): ebeveyn ile cocuklar ve cocuklar arasi ayirici
         noktali ve cocugun icerigiyle basliyor, bastan sona duz cizgi degil; cocuklar daha sik; Islemler'de
         cocugun tarih, saat ve "kartla odendi" satiri yok (kart zaten ustunde, taksit adinda). */
      .rtgroup, .ledgertbl { --treedot:color-mix(in srgb, var(--dim) 55%, transparent); }
      .rtgroup > .rtparent { border-bottom:none; }
      .rtgroup > .rtkid { padding-top:6px; padding-bottom:6px; border-bottom:none;
        background-image:repeating-linear-gradient(to right, var(--treedot) 0 3px, transparent 3px 7px);
        background-size:calc(100% - 62px) 1px; background-position:47px 0; background-repeat:no-repeat; }
      .ledgertbl tr.cardkid .sysnote { display:none; }
      @media (min-width:821px) {
        .ledgertbl tr.cardkid td.txdate > * { visibility:hidden; }
        .ledgertbl tr.cardkid > td { padding-top:4px; padding-bottom:4px; }
        .ledgertbl tr.cardparent > td, .ledgertbl tr.cardkid:not(.last) > td { border-bottom-color:transparent; }
        .ledgertbl tr.cardparent > td.txitem ~ td, .ledgertbl tr.cardkid:not(.last) > td.txitem ~ td,
        .ledgertbl tr.cardkid:not(.last) > td.txitem, .ledgertbl tr.cardparent > td.txitem {
          border-bottom:1px dotted var(--treedot); }
        .ledgertbl tr.cardkid.last td.txitem::before { height:20px; }
        .ledgertbl tr.cardkid td.txitem::after { top:16px; }
      }
      @media (max-width:820px) {
        .ledgertbl tr.cardkid { padding-top:6px; padding-bottom:6px; min-height:0; border-top:none;
          background-image:repeating-linear-gradient(to right, var(--treedot) 0 3px, transparent 3px 7px);
          background-size:calc(100% - 58px) 1px; background-position:44px 0; background-repeat:no-repeat; }
        .ledgertbl tr.cardkid.last::before { height:25px; }
        .ledgertbl tr.cardkid::after { top:21px; }
      }
      /* Gelir: telefonda uzun ad kisaltiliyor (shortName), masaustu tam ad. */
      .incnmm { display:none; }
      @media (max-width:820px) {
        .incnmd { display:none; }
        .incnmm { display:flex; align-items:flex-start; min-width:0; max-width:100%; }
        .incnmt { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
        .inctbl tr.incrow .cellname { display:block; max-width:100%; }
        .inctbl tr.incrow .incnmm .inctax { flex:0 0 auto; }
      }
      /* Musteri penceresi: hizmeti olmayan musteride "+ Hizmet ekle". */
      .cdaddsvc { display:inline-flex; align-items:center; gap:6px; height:34px; padding:0 14px; border-radius:999px;
        border:1px dashed color-mix(in srgb, var(--primary) 55%, var(--line)); background:transparent; color:var(--primary-ink);
        font:inherit; font-size:13px; font-weight:700; cursor:pointer; appearance:none; -webkit-appearance:none; }
      .cdaddsvc:hover { border-style:solid; background:color-mix(in srgb, var(--primary) 8%, transparent); }
      .cdaddsvc span { font-size:16px; line-height:1; }
      /* Ucuncu renk, "pop" (kullanici, 2026-11-01): tanimlayan temalarda (Sky, Midnight, Navy) birkac SUS yerinde, durum
         bilgisi tasimayan yerlerde: menu ikonlarinin renkli parcasi (--hf-accent'in yerine; once secili ogenin
         solunda bir cizgiydi, kullanici begenmedi), zilin "bilgi var" noktasi, "Yeni" rozeti, takvimde bugun. Oteki temalarda --pop vurgu renginin kendisi ve bu kurallar hic eslesmiyor (secici
         tema sinifina bagli), yani o temalarda hicbir sey degismiyor. Yeni bir uc renkli tema eklenince
         listeye yaz. */
      .app:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) :is(.navitem, .bottomnav) { --hf-accent:var(--pop); }
      /* Kehribar: ikonlarin renkli parcasi temanin kendi kehribari, pop (turkuaz) oteki sus yerlerinde (kullanici, 2026-11-02). */
      .app.pal-ember :is(.navitem, .bottomnav) { --hf-accent:var(--primary); }
      .app:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) .bellbadge.dot { background:var(--pop); }
      .app:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) .nwbtnnew { background:var(--pop); color:var(--on-pop); }
      .app:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) .todaydot { background:var(--pop); }
      .app:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) .ipay { --ipa:var(--sel-bg); --ipb:var(--pop); }
      .app.dark:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) .ipay { --ipb:color-mix(in oklch, var(--pop) 72%, #000); }
      /* Ozet'in alt kutulari (Gelir, Gider ve faturalar...; kullanici 2026-11-01): kenarlik pop, ikon ana renk.
         Ustune gelince ve basinca kenarlik eskisi gibi ana renge donuyor. */
      .app:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) .ovtile { border-color:var(--pop); }
      .app:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) .ovtile:active { border-color:var(--primary); }
      @media (hover:hover) { .app:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) .ovtile:hover { border-color:var(--primary); } }
      .app:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) .ovtl svg { color:var(--primary); }
      .app:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) .calcell.istoday { border-color:var(--pop); box-shadow:inset 0 0 0 1px var(--pop); }
      @media (max-width:820px) {
        .app:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) .calcell.istoday { box-shadow:none; }
        .app:is(.pal-sky, .pal-midnight, .pal-navy, .pal-ember, .pal-rose, .pal-violet, .pal-emerald, .pal-brick) .calcell.istoday .calday { background:var(--pop); color:var(--on-pop); }
      }

      /* Is Takip Araclari: her boyda uc sekme ve sayacin isleri (K-473). Sekme
         seridi masaustunde dar; sayac solda, isler sagda; Gorevler ve Notlar
         tam genislikte ve sayfa kayiyor (kartin kendi kaydirma kutusu yok). */
      @media (min-width:821px) { .tmtabs { max-width:480px; } }
      .jbcol { min-width:0; display:flex; flex-direction:column; }
      @media (min-width:901px) { .timegrid.solo { grid-template-columns:minmax(300px,440px); } }
      .tmlistpane { min-width:0; }
      @media (min-width:901px) {
        .tmlistpane .tkpanel { height:auto; min-height:0; }
        .tmlistpane .tkpanel .tkbody, .tmlistpane .tkpanel.notesview .qnlist { overflow:visible; }
      }
      @media (max-width:900px) { .jbcol { order:2; } }
      /* Kartin kendi dolgusu yok (.card), panel yazilari kenara yapisiyordu; sayac kartinin boyunda (K-483). */
      .jbcol { display:flex; align-self:stretch; }
      .jbpanel { display:flex; flex-direction:column; gap:12px; flex:1; padding:18px 20px; }
      .jbpanel .jbempty { flex:1; display:grid; place-items:center; text-align:center; margin:0; padding:24px 12px;
        border:1px dashed var(--line); border-radius:var(--r-inner); }
      .jbhd { display:flex; align-items:center; justify-content:space-between; gap:10px; }
      .jbhd h2 { margin:0; font-size:16px; }
      .jbempty { margin:4px 0 6px; color:var(--dim); font-size:13.5px; }
      .jblist { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
      .jbrow { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px;
        padding:10px 12px; border:1px solid var(--line); border-radius:var(--r-inner); background:var(--surface); }
      .jbrow.live { border-color:var(--primary); box-shadow:inset 0 0 0 1px var(--primary); }
      .jbrow.done { grid-template-columns:minmax(0,1fr) auto; opacity:.78; }
      .jbplay { -webkit-appearance:none; appearance:none; padding:0; width:36px; height:36px; border-radius:50%; flex:none;
        display:grid; place-items:center; cursor:pointer; border:2px solid var(--sel-bg); background:var(--sel-bg); color:#fff;
        font:inherit; font-size:12px; font-weight:800; transition:transform .15s ease; }
      .jbplay svg { width:15px; height:15px; fill:currentColor; }
      .jbplay.cd { background:transparent; color:var(--primary-ink); }
      .jbplay.on { background:var(--sel-bg); color:#fff; }
      .jbplay:active { transform:scale(.92); }
      .jbplay:disabled { opacity:.45; cursor:default; }
      .jbmain { -webkit-appearance:none; appearance:none; border:0; background:transparent; padding:0; margin:0; text-align:left;
        font:inherit; color:inherit; cursor:pointer; min-width:0; display:flex; flex-direction:column; gap:2px; }
      .jbname { font-weight:700; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .jbsub { font-size:12.5px; color:var(--dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .jbbar { display:block; height:5px; border-radius:9px; background:var(--line); overflow:hidden; margin-top:5px; }
      .jbbar i { display:block; height:100%; border-radius:9px; background:var(--primary); transform-origin:left center; }
      .jbbar.warn i { background:var(--amber); }
      .jbbar.over i { background:var(--red); }
      .jbtot { text-align:right; font-size:13px; font-weight:800; white-space:nowrap; font-variant-numeric:tabular-nums; }
      .jbtot span { display:block; font-size:11.5px; font-weight:600; color:var(--dim); }
      .jbtot.over, .jbtot.over span { color:var(--red); }
      .jbtot.warn span { color:var(--ink-soft); font-weight:700; }
      .jbdone { display:flex; flex-direction:column; gap:6px; }
      .jbdonebtn { -webkit-appearance:none; appearance:none; border:0; background:transparent; padding:6px 0; font:inherit;
        font-size:13px; font-weight:700; color:var(--ink-soft); cursor:pointer; display:inline-flex; align-items:center; gap:6px; align-self:flex-start; }
      .jbcar { display:inline-flex; width:14px; height:14px; transition:transform .2s ease; }
      .jbcar svg { width:100%; height:100%; }
      .jbcar.on { transform:rotate(90deg); }
      .tmjob { flex-wrap:nowrap; }
      .tmjob > span { display:flex; flex-direction:column; min-width:0; }
      .tmjob em { font-style:normal; font-weight:600; color:var(--dim); font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
      .tmjob.warn em { color:var(--ink-soft); font-weight:700; }
      .tmjob.over em { color:var(--red); font-weight:700; }
      .jbform { display:flex; flex-direction:column; gap:12px; }
      .jbpair { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
      .jbpair input { min-width:0; }
      .jbhint { margin:0; font-size:12.5px; color:var(--dim); }
      .jberr { margin:0; font-size:13px; font-weight:700; color:var(--red); }
      .jbfoot { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
      .jbgap { flex:1 1 auto; }
      .jbask { display:flex; flex-direction:column; gap:10px; }
      .jbaskbtns { display:flex; justify-content:flex-end; gap:8px; }
      .jbaskbtns .btn, .jbfoot .jbdel { min-height:40px; }
      @media (max-width:820px) {
        .jbform input { font-size:16px; }
        .jbaskbtns .btn, .jbfoot .btn { min-height:44px; }
        .jbfoot .jbgap { display:none; }
      }
      @media (prefers-reduced-motion:reduce) { .jbplay, .jbcar { transition:none; } }

      /* Alttan acilan pencereyi asagi cekip kapatmak (2026-11-03, sheet-swipe.js). Tutamak ve not
         basligin icinde: baslik yapiskan, pencere kaysa da gorunuyorlar. Masaustunde yok. */
      .mgrab, .mswipehint { display:none; }
      @media (max-width:820px) {
        .modalhd.swipe { touch-action:none; padding-top:22px; }
        .mgrab { display:block; position:absolute; top:7px; left:50%; width:40px; height:5px; margin-left:-20px;
          border-radius:3px; background:var(--line); pointer-events:none; }
        .mswipehint { display:block; position:absolute; left:50%; top:calc(100% + 8px); transform:translateX(-50%);
          margin:0; width:max-content; max-width:calc(100% - 32px); padding:8px 12px; border-radius:var(--r-ctl);
          background:var(--ink); color:var(--surface); font-size:13px; font-weight:700; text-align:center;
          box-shadow:0 8px 24px rgba(14,33,27,.22); animation:mswipehint .22s ease both; }
        @keyframes mswipehint { from { opacity:0; transform:translate(-50%, -4px); } to { opacity:1; transform:translate(-50%, 0); } }
      }
      @media (prefers-reduced-motion:reduce) { .mswipehint { animation:none; } }

      /* Rehberin balonu (2026-11-03, src/tour.jsx). Modal degil: arka plan calisir kaliyor. Renkleri sabit,
         iki temada da okunsun; bir pencere acikken gizli (pencerenin kendi isi var). */
      .tourtip { position:fixed; z-index:62; width:min(400px, calc(100vw - 24px)); box-sizing:border-box; display:flex; align-items:flex-start; gap:10px;
        background:color-mix(in srgb, var(--pop) 9%, #F3F6F1); color:#14231D; border:2px solid var(--pop); border-radius:var(--r-inner);
        padding:12px 14px; box-shadow:0 14px 36px rgba(14,33,27,.24); font-size:14px; line-height:1.45;
        animation:tourin .24s cubic-bezier(.2,.8,.2,1) both; }
      .tourtip.dock { left:50%; top:32%; transform:translateX(-50%); }
      .tourmain { flex:1 1 auto; min-width:0; }
      .tourbird { flex:0 0 auto; width:58px; height:58px; margin:2px 0 0 0; }
      /* Balon acik (hafif temali, bembeyaz degil) ve pop renkli cerceveli (kullanici, 2026-11-03): Flexie dairesiz okunuyor.
         Her zaman IC tarafa, yani yazinin ve hedefin yonune bakiyor (cizim sola bakiyor, solda durunca cevriliyor). */
      .tourtip:not(.birdr) .tourbird { transform:scaleX(-1); }
      .app.dark .tourtip .tourbird .fxleg { stroke:#16201C; }
      .app.dark .tourtip .tourbird .fxglow { filter:none; }
      .tourtip.birdr { flex-direction:row-reverse; }
      .tourtip.birdr .tourbird { margin:2px 0 0 0; }
      .toursub { margin:4px 0 0; font-weight:300; font-size:13.5px; color:rgba(20,35,29,.78); }
      .tourtip.says .tourtxt { font-style:italic; }
      .tourtip::before { content:""; position:absolute; left:calc(var(--arrow, 50%) - 6px); width:12px; height:12px;
        background:inherit; transform:rotate(45deg); border:inherit; }
      .tourtip.below::before { top:-7px; border-right:none; border-bottom:none; }
      .tourtip.above::before { bottom:-7px; border-left:none; border-top:none; }
      .tourtip.dock::before { display:none; }
      .tourttl { display:block; font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:color-mix(in srgb, var(--primary) 45%, #14231D); margin-bottom:4px; }
      .tourtxt { margin:0; font-weight:600; }
      .tourbtns { display:flex; align-items:center; gap:8px; margin-top:10px; }
      .tourgap { flex:1 1 auto; }
      /* "Turu kapat" bir dugme degil, duz metin (kullanici, 2026-11-03), solda. */
      .tourend { -webkit-appearance:none; appearance:none; border:0; background:transparent; padding:6px 0; font:inherit;
        font-size:13px; font-weight:600; color:rgba(20,35,29,.68); cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
      .tourgo, .tourlater { -webkit-appearance:none; appearance:none; font:inherit; font-size:13px; font-weight:800; cursor:pointer;
        min-height:36px; padding:0 14px; border-radius:var(--r-ctl); }
      .tourgo { border:0; background:var(--sel-bg); color:#fff; }
      .tourlater { border:1px solid rgba(20,35,29,.3); background:transparent; color:#14231D; }
      .tourhit { box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 60%, transparent), 0 0 0 8px color-mix(in srgb, var(--primary) 16%, transparent) !important;
        border-radius:var(--r-ctl); animation:tourhit 1.1s ease 3; }
      /* Ekran kadar genis hedef (bildirim bolumu, isletme karti): halka iceride, kirpilmasin. */
      .tourhit.tourwide { box-shadow:inset 0 0 0 2px var(--primary), inset 0 0 0 6px color-mix(in srgb, var(--primary) 14%, transparent) !important;
        border-radius:var(--r-inner); }
      @keyframes tourin { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
      .tourtip.dock { animation-name:tourdock; }
      @keyframes tourdock { from { opacity:0; transform:translate(-50%, 6px); } to { opacity:1; transform:translateX(-50%); } }
      @keyframes tourhit { 50% { opacity:.82; } }
      body:has(.overlay, .cdscrim, .srch, .mobscrim, .fabmenu) .tourtip { display:none; }
      .tourwrap { display:inline-flex; }
      /* Rehberden acilan yeni musteri: bos zorunlu alanlar kalin cerceveli (ClientModal guide). */
      .modal input.guidereq, .modal select.guidereq { border-width:2px; border-color:var(--primary); }
      .chips.guidereq { outline:2px solid var(--primary); outline-offset:4px; border-radius:var(--r-ctl); }
      @media (max-width:820px) {
        .tourtip.dock { top:auto; bottom:calc(112px + env(safe-area-inset-bottom)); }
        .tourbird { width:44px; height:44px; }
        .tourgo, .tourlater { min-height:44px; }
        .tourend { min-height:44px; }
      }
      @media (prefers-reduced-motion:reduce) { .tourtip, .tourhit { animation:none; } }
      /* Deneme odemesi karti (ACME Grup), Genel Bakis'ta. */
      .acmecard { display:flex; flex-direction:column; gap:10px; padding:16px 18px; border:1.5px dashed color-mix(in srgb, var(--primary) 60%, var(--line));
        border-radius:var(--r-card); background:var(--surface); margin-bottom:14px; }
      .acmehd { display:flex; align-items:center; justify-content:space-between; gap:10px; }
      .acmename { font-weight:800; font-size:15px; }
      .acmetag { font-size:10.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; padding:3px 9px; border-radius:999px;
        background:color-mix(in srgb, var(--pop, var(--primary)) 30%, transparent); color:var(--ink); }
      .acmeamt { font-size:22px; font-weight:800; font-variant-numeric:tabular-nums; }
      .acmenote { margin:0; font-size:13px; color:var(--dim); }
      .acmecard .ipay { display:block; }
      .acmeask { display:flex; gap:12px; align-items:flex-start; background:#14231D; color:#F3F6F4; border-radius:var(--r-inner); padding:12px 14px; }
      .acmeask b { display:block; font-size:15px; }
      .acmeask p { margin:2px 0 0; font-size:13.5px; opacity:.9; }
      .acmebird { flex:none; width:40px; height:40px; border-radius:50%; background:#C8E64C; display:grid; place-items:center; font-size:20px; }
      .acmeask .tourbtns { justify-content:flex-start; flex-wrap:wrap; }
      .acmelater { align-self:flex-start; -webkit-appearance:none; appearance:none; border:0; background:transparent; padding:0;
        font:inherit; font-size:12.5px; font-weight:700; color:var(--dim); cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
      /* Yatay telefon (kullanici, 2026-11-19, K-697). (1) Guvenli alan: iPhone yatayda centik ve yuvarlak koseler iki
         yandan ~44px kapliyor; uygulama viewport-fit=cover ile tam ekrana yayiliyor ama sol/sag boslugu hic
         kullanmiyordu, yazilar centigin altinda kaliyordu. Dikte bu degerler 0, yani hicbir sey degismez. Telefon
         kurallarinin SONUNDA, kaynak sirasi kazansin diye. */
      @media (max-width:820px), (max-height:480px) and (orientation:landscape) {
        .sidebar { padding-left:calc(10px + env(safe-area-inset-left, 0px)); padding-right:calc(10px + env(safe-area-inset-right, 0px)); }
        main { padding-left:calc(10px + env(safe-area-inset-left, 0px)); padding-right:calc(10px + env(safe-area-inset-right, 0px)); }
        /* Secili sekmenin zemini (tabindicator, tabwater) de ayni paydan olculuyor (K-698): yoksa yatayda zemin sola kayiyordu. */
        .bottomnav { --nl:calc(4px + env(safe-area-inset-left, 0px)); --nr:calc(4px + env(safe-area-inset-right, 0px)); padding-left:var(--nl); padding-right:var(--nr); }
        .qnfab { right:calc(16px + env(safe-area-inset-right, 0px)); }
        .qfab { left:calc(14px + env(safe-area-inset-left, 0px)); }
        .tmbar { left:calc(8px + env(safe-area-inset-left, 0px)); right:calc(8px + env(safe-area-inset-right, 0px)); }
      }
      /* (3) Yatay telefonda icerik en fazla 720px ve ortada; Genel Bakis'in kartlari ustte 2, altta 3 (alti sutunluk
         izgara). Ilk kart (Tahsil edilen) telefondaki gibi: yaninda egri. Gelecek ayin uc karti (hero yok) eski
         izgarada kaliyor. */
      @media (max-height:480px) and (orientation:landscape) and (min-width:641px) {
        main > .stack { max-width:720px; margin-left:auto; margin-right:auto; }
        .cards:has(> .score.hero) { grid-template-columns:repeat(6, minmax(0,1fr)); grid-auto-rows:1fr; }
        .cards:has(> .score.hero) > .score { grid-column:span 2; }
        .cards:has(> .score.hero) > .score:nth-child(-n+2) { grid-column:span 3; }
        .cards > .score.hero { display:flex; align-items:center; gap:14px; min-height:160px; }
        .cards > .score.hero .scoremain { flex:1 1 auto; min-width:0; }
        .cards > .score.hero .herospark { display:block; margin-right:-11px; }
        .cards > .score.hero .hscap, .cards > .score.hero .hsval { padding-right:11px; }
        .cards > .score.hero .rbars { display:none; }
      }
    