/* =========================================================================
   FaturaSync — Tasarım Sistemi (tek kaynak "design dosyası")
   Kaynak: docs/design_handoff_faturasync (high-fidelity handoff).
   Token değerleri prototiple (FaturaSync.dc.html) BİREBİR aynıdır.

   Kullanım: Sayfa <html data-theme="light|dark" data-density="comfortable|compact">
   ve ortak app-shell (includes/app_shell.php) ile bu dosyayı yükler.
   Tema/yoğunluk/sidebar durumları faturasync-ui.js ile yönetilir.
   ========================================================================= */

:root {
    /* Renk — Açık tema (varsayılan) */
    --bg-app:#eef1f6; --surface:#ffffff; --surface-2:#f7f9fc; --surface-3:#eef2f7;
    --sidebar:#ffffff; --border:#e4e9f0; --border-2:#d3dbe6;
    --text:#0f1b2d; --text-2:#4a5a70; --text-3:#8695a9;
    --accent:#0e5aa7; --accent-2:#0b4a8c; --accent-soft:#e7f0fb; --accent-contrast:#ffffff; --focus:#0e5aa7;
    --st-ok-bg:#e3f4e9; --st-ok-fg:#1a7f45;
    --st-warn-bg:#fbeecf; --st-warn-fg:#8a5a06;
    --st-err-bg:#fbe4e5; --st-err-fg:#b0242b;
    --st-info-bg:#e7f0fb; --st-info-fg:#0e5aa7;
    --st-neutral-bg:#edf1f7; --st-neutral-fg:#4a5a70;
    --shadow-sm:0 1px 2px rgba(16,29,51,.06);
    --shadow-md:0 1px 2px rgba(16,29,51,.06),0 8px 20px -10px rgba(16,29,51,.16);
    --shadow-lg:0 28px 56px -20px rgba(8,15,30,.4);
    --r-sm:6px; --r-md:8px; --r-lg:12px;
    /* Yoğunluk (rahat) */
    --row-py:11px; --cell-px:16px; --ctrl-h:40px; --card-pad:20px; --dgap:16px; --fs-body:14px;
    /* Sidebar */
    --sb-w:250px; --label-display:inline; --nav-justify:flex-start; --brand-name-display:flex;
    --font-sans:'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-mono:'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}

/* Koyu tema — ayrı derin-slate palet (salt ters çevirme değil) */
:root[data-theme='dark'] {
    --bg-app:#080f1c; --surface:#111c2f; --surface-2:#0d1728; --surface-3:#182741;
    --sidebar:#0b1424; --border:#1f2c42; --border-2:#2b3a54;
    --text:#e8eef9; --text-2:#9fb0c8; --text-3:#61728c;
    --accent:#3f93e6; --accent-2:#5aa4ee; --accent-soft:rgba(63,147,230,.16); --accent-contrast:#04121f; --focus:#4a95e6;
    --st-ok-bg:rgba(34,160,86,.18); --st-ok-fg:#63d996;
    --st-warn-bg:rgba(214,150,26,.2); --st-warn-fg:#f2be59;
    --st-err-bg:rgba(220,66,72,.2); --st-err-fg:#f4979b;
    --st-info-bg:rgba(63,147,230,.18); --st-info-fg:#8fc0f5;
    --st-neutral-bg:rgba(120,140,170,.16); --st-neutral-fg:#a4b4cc;
    --shadow-sm:0 1px 2px rgba(0,0,0,.4);
    --shadow-md:0 2px 6px rgba(0,0,0,.4),0 10px 26px -12px rgba(0,0,0,.6);
    --shadow-lg:0 30px 60px -20px rgba(0,0,0,.7);
    color-scheme: dark;
}

/* Yoğunluk (kompakt) + sidebar daraltma */
:root[data-density='compact'] { --row-py:6px; --cell-px:12px; --ctrl-h:33px; --card-pad:14px; --dgap:12px; --fs-body:13px; }
:root[data-collapsed='yes'] { --sb-w:70px; --label-display:none; --nav-justify:center; --brand-name-display:none; }

/* ---- Reset / temel ---- */
*, *::before, *::after { box-sizing: border-box; }
body.fs-app {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.5;
    color: var(--text);
    background: var(--bg-app);
    -webkit-font-smoothing: antialiased;
}
.fs-app :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.fs-app ::selection { background: var(--accent-soft); }
.fs-app *::-webkit-scrollbar { width: 10px; height: 10px; }
.fs-app *::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; border: 2px solid transparent; background-clip: padding-box; }
.fs-tnum { font-variant-numeric: tabular-nums; }
.fs-mono { font-family: var(--font-mono); }

/* ============================ APP SHELL ============================ */
.fs-shell { display: flex; height: 100vh; overflow: hidden; background: var(--bg-app); }

/* --- Sidebar --- */
.fs-sidebar {
    width: var(--sb-w); flex-shrink: 0; background: var(--sidebar);
    border-right: 1px solid var(--border); display: flex; flex-direction: column;
    transition: width .18s ease; overflow: hidden;
}
.fs-brand { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 16px; flex-shrink: 0; }
.fs-brand .fs-logo {
    width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: var(--accent-contrast);
    display: grid; place-items: center; font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.fs-brand .fs-brand-name { display: var(--brand-name-display); flex-direction: column; line-height: 1.2; min-width: 0; }
.fs-brand .fs-brand-name b { font-size: 16px; font-weight: 700; color: var(--text); }
.fs-brand .fs-brand-name span { font-size: 11px; color: var(--text-3); }

.fs-nav { flex: 1; overflow-y: auto; padding: 6px 10px; }
.fs-nav-group { padding: 14px 10px 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); display: var(--label-display); }
.fs-nav-item {
    display: flex; align-items: center; justify-content: var(--nav-justify); gap: 11px;
    height: 38px; padding: 0 11px; margin: 2px 0; border-radius: 8px;
    color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.fs-nav-item .fs-nav-ic { font-size: 17px; flex-shrink: 0; width: 18px; text-align: center; }
/* min-width:0 + ellipsis: uzun etiket rozeti ezmek yerine kendisi kısalır. */
.fs-nav-item .fs-nav-label { display: var(--label-display); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fs-nav-item:hover { background: var(--surface-3); color: var(--text); }
.fs-nav-item.active { background: var(--accent-soft); color: var(--accent); font-weight: 700; box-shadow: inset 3px 0 0 var(--accent); }
/* flex-shrink:0 ŞART: aktif öğede etiket bold olunca genişliyor ve rozeti sıkıştırıyordu —
   üç haneli sayılar kırpılıp "849" yerine "84" görünüyordu. Rozet artık asla küçülmez. */
.fs-nav-badge {
    display: var(--label-display); min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
    background: var(--surface-3); color: var(--text-2); font-size: 11px; font-weight: 700;
    align-items: center; justify-content: center; font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.fs-nav-item.active .fs-nav-badge { background: var(--accent); color: var(--accent-contrast); }

.fs-side-foot { border-top: 1px solid var(--border); padding: 12px; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.fs-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-3); color: var(--text-2); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.fs-side-foot .fs-user { display: var(--label-display); flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.fs-side-foot .fs-user b { font-size: 13px; color: var(--text); }
.fs-side-foot .fs-user span { font-size: 11px; color: var(--text-3); }
.fs-logout { display: var(--label-display); width: 32px; height: 32px; border: none; background: none; color: var(--text-3); border-radius: 6px; cursor: pointer; font-size: 16px; align-items: center; justify-content: center; }
.fs-logout:hover { background: var(--st-err-bg); color: var(--st-err-fg); }

/* --- Main + Topbar --- */
.fs-main-wrap { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.fs-topbar {
    height: 60px; flex-shrink: 0; background: var(--surface); border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 14px; padding: 0 20px;
}
.fs-icon-btn {
    width: 38px; height: 38px; flex-shrink: 0; border: 1px solid var(--border-2); background: var(--surface);
    color: var(--text-2); border-radius: var(--r-md); cursor: pointer; font-size: 16px;
    display: inline-flex; align-items: center; justify-content: center;
}
.fs-icon-btn:hover { background: var(--surface-3); color: var(--text); }
.fs-crumb { flex: 1; min-width: 0; }
.fs-crumb .fs-crumb-path { font-size: 11px; color: var(--text-3); }
.fs-crumb h1 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.fs-segment { display: inline-flex; background: var(--surface-3); border-radius: 999px; padding: 3px; gap: 2px; }
.fs-segment button { border: none; background: none; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.fs-segment button.active { background: var(--accent); color: var(--accent-contrast); }
.fs-ver { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); font-size: 12px; font-weight: 600; }
.fs-ver::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--st-ok-fg); }

.fs-main { flex: 1; overflow-y: auto; padding: 22px 24px 40px; }
.fs-content { max-width: 1320px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--dgap); }
.fs-page-desc { font-size: 13px; color: var(--text-2); margin: 0; }

/* ============================ BUTONLAR ============================ */
.fs-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: var(--ctrl-h); padding: 0 16px; border: 1px solid transparent; border-radius: var(--r-md);
    font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap;
    transition: background .15s ease, border-color .15s ease;
}
.fs-btn-primary { background: var(--accent); color: var(--accent-contrast); }
.fs-btn-primary:hover { background: var(--accent-2); }
.fs-btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.fs-btn-secondary:hover { background: var(--surface-3); }
.fs-btn-danger { background: var(--st-err-bg); color: var(--st-err-fg); border-color: var(--st-err-fg); }
.fs-btn-danger:hover { background: var(--st-err-fg); color: #fff; }
.fs-btn:disabled { opacity: .55; cursor: not-allowed; }
.fs-btn-block { width: 100%; }
/* Satır içi ikon buton (tablo aksiyon) */
.fs-row-btn { width: 30px; height: 30px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); border-radius: var(--r-sm); cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.fs-row-btn:hover { background: var(--surface-3); color: var(--accent); border-color: var(--accent); }

/* ============================ FORM ============================ */
.fs-field { display: flex; flex-direction: column; gap: 6px; }
.fs-field label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.fs-input, .fs-select, .fs-textarea {
    height: var(--ctrl-h); padding: 0 12px; border: 1px solid var(--border-2); border-radius: var(--r-md);
    background: var(--surface); color: var(--text); font-family: inherit; font-size: 14px; width: 100%;
}
.fs-textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.fs-input:focus, .fs-select:focus, .fs-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fs-input.is-error, .fs-textarea.is-error { border-color: var(--st-err-fg); }

/* ============================ KART ============================ */
.fs-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.fs-card-pad { padding: var(--card-pad); }
.fs-card-head { padding: 16px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.fs-card-head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.fs-card-head .fs-muted { font-size: 12px; color: var(--text-2); }
.fs-filter-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }

/* ============================ STAT TILE ============================ */
.fs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--dgap); }
.fs-stat { position: relative; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--st-neutral-fg); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 16px 18px; }
.fs-stat .fs-stat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.fs-stat .fs-stat-k { font-size: 13px; color: var(--text-2); font-weight: 500; }
.fs-stat .fs-stat-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.fs-stat .fs-stat-v { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.fs-stat .fs-stat-d { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.fs-stat.ok   { border-left-color: var(--st-ok-fg); }   .fs-stat.ok   .fs-stat-ic { background: var(--st-ok-bg); color: var(--st-ok-fg); }
.fs-stat.warn { border-left-color: var(--st-warn-fg); } .fs-stat.warn .fs-stat-ic { background: var(--st-warn-bg); color: var(--st-warn-fg); }
.fs-stat.err  { border-left-color: var(--st-err-fg); }  .fs-stat.err  .fs-stat-ic { background: var(--st-err-bg); color: var(--st-err-fg); }
.fs-stat.info { border-left-color: var(--st-info-fg); } .fs-stat.info .fs-stat-ic { background: var(--st-info-bg); color: var(--st-info-fg); }

/* ============================ TABLO ============================ */
.fs-table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.fs-table-scroll { overflow-x: auto; }
.fs-table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.fs-table thead th {
    position: sticky; top: 0; z-index: 1; background: var(--surface-2); text-align: left; white-space: nowrap;
    padding: 10px var(--cell-px); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--text-2);
    border-bottom: 1px solid var(--border);
}
.fs-table tbody td { padding: var(--row-py) var(--cell-px); border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
.fs-table tbody tr:last-child td { border-bottom: none; }
.fs-table tbody tr:hover td { background: var(--surface-2); }
.fs-table tbody tr.is-selected td { background: var(--accent-soft); }
.fs-table th.fs-r, .fs-table td.fs-r { text-align: right; }
.fs-cell-strong { font-weight: 600; }
.fs-cell-sub { display: block; font-size: 12px; color: var(--text-3); margin-top: 1px; }
/* Koruma: bu sınıf hücre İÇİ ikincil metin içindir. Yanlışlıkla doğrudan <td>/<th>'ye verilirse
   display:block hücreyi tablo düzeninden çıkarıp sütunu kaydırır — hücrede etkisiz kılınır. */
td.fs-cell-sub, th.fs-cell-sub { display: table-cell; margin-top: 0; }
.fs-money { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.fs-table-foot { padding: 10px 16px; font-size: 12px; color: var(--text-3); border-top: 1px solid var(--border); }
.fs-check { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }

/* Toplu işlem çubuğu */
.fs-bulkbar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--accent-soft); border-bottom: 1px solid var(--border); }
.fs-bulkbar .fs-bulk-info { font-weight: 600; color: var(--accent); font-size: 13px; }

/* ============================ CHIP / ROZET ============================ */
.fs-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.fs-chip.ok      { background: var(--st-ok-bg); color: var(--st-ok-fg); }
.fs-chip.warn    { background: var(--st-warn-bg); color: var(--st-warn-fg); }
.fs-chip.err     { background: var(--st-err-bg); color: var(--st-err-fg); }
.fs-chip.info    { background: var(--st-info-bg); color: var(--st-info-fg); }
.fs-chip.neutral { background: var(--st-neutral-bg); color: var(--st-neutral-fg); }
.fs-var-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--surface-3); color: var(--accent); font-family: var(--font-mono); font-size: 12px; cursor: pointer; border: none; }
.fs-var-chip:hover { background: var(--accent-soft); }

/* ============================ MESAJ / BOŞ / YÜKLENİYOR ============================ */
.fs-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); font-size: 13px; border: 1px solid transparent; }
.fs-alert.ok   { background: var(--st-ok-bg); color: var(--st-ok-fg); border-color: var(--st-ok-fg); }
.fs-alert.warn { background: var(--st-warn-bg); color: var(--st-warn-fg); border-color: var(--st-warn-fg); }
.fs-alert.err  { background: var(--st-err-bg); color: var(--st-err-fg); border-color: var(--st-err-fg); }
.fs-alert.info { background: var(--st-info-bg); color: var(--st-info-fg); border-color: var(--st-info-fg); }

.fs-empty { text-align: center; padding: 40px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.fs-empty .fs-empty-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 24px; margin: 0 auto 14px; }
.fs-empty h3 { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.fs-empty p { margin: 0 0 16px; font-size: 13px; color: var(--text-2); }

.fs-skel { background: linear-gradient(90deg, var(--surface-3) 25%, var(--surface-2) 50%, var(--surface-3) 75%); background-size: 200% 100%; animation: fs-shimmer 1.3s infinite linear; border-radius: 6px; height: 14px; }
@keyframes fs-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes fs-spin { to { transform: rotate(360deg); } }
.fs-spin { display: inline-block; animation: fs-spin 1.6s linear infinite; }

/* ============================ MODAL ============================ */
.fs-modal-overlay { position: fixed; inset: 0; background: rgba(8,15,30,.5); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px; animation: fs-fade .15s ease; }
.fs-modal { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); max-width: 460px; width: 100%; animation: fs-modal .2s ease; }
.fs-modal-body { padding: 22px 24px; }
.fs-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 24px 22px; }
@keyframes fs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fs-modal { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ============================ TOAST ============================ */
.fs-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 1100; display: flex; flex-direction: column; gap: 10px; }
.fs-toast { display: flex; align-items: flex-start; gap: 10px; max-width: 360px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--st-neutral-fg); border-radius: var(--r-md); box-shadow: var(--shadow-md); font-size: 13px; color: var(--text); animation: fs-toast .22s ease; }
.fs-toast.ok   { border-left-color: var(--st-ok-fg); }
.fs-toast.err  { border-left-color: var(--st-err-fg); }
.fs-toast.warn { border-left-color: var(--st-warn-fg); }
.fs-toast.info { border-left-color: var(--st-info-fg); }
@keyframes fs-toast { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* ============================ LOGIN (kabuksuz, ortalı) ============================ */
.fs-login-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; min-height: 100vh; background: var(--bg-app); }
.fs-login-theme { position: absolute; top: 20px; right: 20px; }
.fs-login-col { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; max-width: 400px; }
.fs-login-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.fs-login-brand .fs-logo-lg { width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: var(--accent-contrast); display: grid; place-items: center; font-size: 26px; font-weight: 700; box-shadow: var(--shadow-md); }
.fs-login-brand b { font-size: 22px; font-weight: 700; color: var(--text); }
.fs-login-brand span { font-size: 12px; color: var(--text-3); }
.fs-login-card { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.fs-input-icon { position: relative; }
.fs-input-icon > .bi { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 16px; pointer-events: none; }
.fs-input-icon .fs-input { height: 44px; padding-left: 38px; }
.fs-pass-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: none; background: none; color: var(--text-3); cursor: pointer; border-radius: 6px; }
.fs-pass-toggle:hover { background: var(--surface-3); color: var(--text-2); }
.fs-login-foot { font-size: 11px; color: var(--text-3); text-align: center; }

/* ============================ KEBAB (⋮) MENÜ ============================ */
.fs-kebab-wrap { position: relative; display: inline-block; }
.fs-kebab-btn { width: 32px; height: 32px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); border-radius: var(--r-md); cursor: pointer; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.fs-kebab-btn:hover { background: var(--surface-3); color: var(--text); }
.fs-kebab-menu { display: none; position: absolute; right: 0; top: calc(100% + 4px); z-index: 200; min-width: 280px; max-width: 320px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 6px; }
.fs-kebab-menu.open { display: block; }
.fs-kebab-item { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; background: none; border: none; border-radius: var(--r-sm); padding: 8px 10px; cursor: pointer; font-family: inherit; }
.fs-kebab-item:hover { background: var(--surface-3); }
.fs-kebab-item.is-done, .fs-kebab-item.is-done:hover { cursor: default; background: none; }
.fs-kebab-label { font-size: 13px; font-weight: 600; color: var(--text); }
.fs-kebab-item:hover .fs-kebab-label { color: var(--accent); }
.fs-kebab-desc { font-size: 11px; color: var(--text-3); line-height: 1.4; }

/* prefers-reduced-motion: tüm animasyon/geçişleri ~0 (zorunlu) */
@media (prefers-reduced-motion: reduce) {
    .fs-app *, .fs-login-wrap *, .fs-shell * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Satır aç/kapa chevron butonu (Fatura Sorgula) */
.fs-expand-btn { width: 26px; height: 26px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); border-radius: var(--r-sm); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.fs-expand-btn:hover { background: var(--surface-3); color: var(--accent); border-color: var(--accent); }
.fs-expand-btn i { transition: transform .15s ease; font-size: 13px; display: inline-block; }
.fs-expand-btn.open i { transform: rotate(90deg); }
