/* FixPoint Teknik · tasarım sistemi v2
   1 yazı tipleri → 2 tokenlar → 3 temel → 4 bileşenler → 5 kabuk → 6 liste/tablo → 7 katmanlar → 8 ekranlar → 9 müşteri portalı → 10 duyarlı
   Önek .fx-  · Ritim 4/8 px · Tek vurgu rengi (turuncu) yalnız birincil eylem, etkin menü ve odakta. */

/* 1. Yazı tipleri (OFL) */
@font-face { font-family: "FX Archivo"; src: url(fonts/archivo-latin.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "FX Archivo"; src: url(fonts/archivo-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "FX Mono"; src: url(fonts/plex-mono-latin-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "FX Mono"; src: url(fonts/plex-mono-latin-ext-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: "FX Mono"; src: url(fonts/plex-mono-latin-600.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "FX Mono"; src: url(fonts/plex-mono-latin-ext-600.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0; }

/* 2. Tokenlar */
.fx-body {
  --font: "FX Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "FX Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --bg: #f5f4f1; --surface: #fff; --sunk: #f9f8f6; --hover: #f3f1ed; --sel: #fff4ec;
  --line: #e7e4de; --line-2: #d6d2ca; --line-3: #bfbab0;
  --text: #191b1e; --muted: #595d65; --faint: #80848c;
  --ink: #17191c; --ink-2: #202327; --ink-3: #2c3035; --ink-line: #2f3338; --ink-text: #a9aeb6; --ink-hi: #f4f4f2;
  --acc: #e8590c; --acc-hi: #d24f08; --acc-ink: #b3420a; --acc-soft: #fdf0e6; --acc-line: #f5cdb0;
  --c-slate: #4f5864; --b-slate: #eef0f2; --c-blue: #1f5fbf; --b-blue: #e9f0fb; --c-amber: #8f5c08; --b-amber: #fbf1dc;
  --c-violet: #5a3fb0; --b-violet: #f0ecfb; --c-orange: #b3420a; --b-orange: #fdefe5; --c-teal: #17707a; --b-teal: #e3f3f4;
  --c-green: #20704a; --b-green: #e5f3eb; --c-ink: #2c3036; --b-ink: #e9e8e5; --c-red: #b02828; --b-red: #fbe9e7; --c-gray: #767a82; --b-gray: #f0efed;
  --r1: 4px; --r2: 6px; --r3: 8px;
  --rail: 236px; --top: 52px;
  --sh-1: 0 1px 2px rgba(20, 18, 14, .05);
  --sh-pop: 0 16px 48px -16px rgba(20, 18, 14, .32), 0 2px 6px rgba(20, 18, 14, .07);
  --focus: 0 0 0 2px var(--surface), 0 0 0 4px var(--acc);
  --fs-xs: 11px; --fs-s: 12px; --fs-m: 13px; --fs-b: 14px; --fs-l: 16px; --fs-xl: 20px; --fs-2: 24px;
}

/* 3. Temel */
.fx-body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-m)/1.45 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100vh; min-height: 100dvh; }
.fx-body *, .fx-body *::before, .fx-body *::after { box-sizing: border-box; }
:where(.fx-body) :is(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.fx-body) a { color: inherit; }
:where(.fx-body) :is(h1, h2, h3, h4, p, dl, dd, figure) { margin: 0; }
:where(.fx-body) :is(h1, h2, h3, h4) { font-weight: 640; letter-spacing: -.012em; }
.fx-body :focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r1); }
.fx-i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.fx-i--xs { width: 12px; height: 12px; } .fx-i--sm { width: 14px; height: 14px; } .fx-i--lg { width: 20px; height: 20px; }
.fx-mono { font-family: var(--mono); letter-spacing: 0; }
.fx-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.fx-muted { color: var(--muted); } .fx-faint { color: var(--faint); } .fx-pos { color: var(--c-green); } .fx-neg { color: var(--c-red); } .fx-warn { color: var(--c-amber); }
.fx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fx-sp { flex: 1; }
.fx-label, .fx-kicker { font-size: var(--fs-xs); font-weight: 620; letter-spacing: .06em; text-transform: uppercase; font-stretch: 92%; color: var(--faint); }
.fx-kicker { margin-bottom: 4px; display: flex; gap: 6px; align-items: center; }
[hidden] { display: none !important; }
kbd { font: 500 10.5px/1 var(--mono); padding: 3px 5px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; background: var(--surface); color: var(--muted); }

/* 4. Bileşenler ------------------------------------------------------- */
.fx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--r2); border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-weight: 560; font-size: var(--fs-m); cursor: pointer; white-space: nowrap; text-decoration: none; transition: background .12s, border-color .12s, color .12s; box-shadow: var(--sh-1); }
.fx-btn:hover { background: var(--hover); border-color: var(--line-3); }
.fx-btn:active { transform: translateY(.5px); }
.fx-btn--pri { background: var(--acc); border-color: var(--acc); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.12); }
.fx-btn--pri:hover { background: var(--acc-hi); border-color: var(--acc-hi); }
.fx-btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.fx-btn--dark:hover { background: var(--ink-3); border-color: var(--ink-3); }
.fx-btn--ghost { background: transparent; border-color: transparent; box-shadow: none; }
.fx-btn--ghost:hover { background: rgba(0,0,0,.045); border-color: transparent; }
.fx-btn--ok { background: var(--c-green); border-color: var(--c-green); color: #fff; } .fx-btn--ok:hover { background: #185c3c; border-color: #185c3c; }
.fx-btn--danger { background: var(--c-red); border-color: var(--c-red); color: #fff; } .fx-btn--danger:hover { background: #8f1f1f; }
.fx-btn--bad, .fx-btn--danger-t { color: var(--c-red); }
.fx-btn--bad { border-color: #e9c1bc; } .fx-btn--bad:hover { background: var(--b-red); border-color: #dea39c; }
.fx-btn--sm { height: 28px; padding: 0 9px; font-size: var(--fs-s); gap: 5px; }
.fx-btn--lg { height: 42px; padding: 0 18px; font-size: var(--fs-b); }
.fx-btn--icon { width: 32px; padding: 0; } .fx-btn--sm.fx-btn--icon { width: 28px; }
.fx-btn--block { width: 100%; }
.fx-btn[disabled] { opacity: .45; pointer-events: none; }
.fx-btn--onink { background: transparent; border-color: rgba(255,255,255,.2); color: #fff; box-shadow: none; } .fx-btn--onink:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.fx-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fx-pro { display: inline-flex; align-items: center; gap: 3px; font: 600 9.5px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; padding: 3px 5px; border-radius: 3px; background: var(--b-ink); color: var(--muted); }
.fx-btn--pri .fx-pro, .fx-btn--dark .fx-pro { background: rgba(255,255,255,.18); color: #fff; }
.fx-link { color: var(--acc-ink); font-weight: 560; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: inherit; }
.fx-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.fx-a { text-decoration: none; font-weight: 560; } .fx-a:hover { text-decoration: underline; text-underline-offset: 2px; color: var(--acc-ink); }

/* Form alanları */
.fx-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.fx-form__sec { grid-column: 1 / -1; font-size: var(--fs-xs); font-weight: 620; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding-top: 6px; border-top: 1px solid var(--line); margin-top: 2px; }
.fx-form__sec:first-child { border: 0; padding-top: 0; margin: 0; }
.fx-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; border: 0; padding: 0; margin: 0; }
.fx-field--s2 { grid-column: 1 / -1; }
.fx-field > label, .fx-flabel { font-size: var(--fs-s); font-weight: 560; color: var(--muted); padding: 0; }
.fx-field > label i { color: var(--acc); font-style: normal; margin-left: 2px; }
.fx-field small { color: var(--faint); font-size: var(--fs-s); }
.fx-field--inline { justify-content: flex-end; }
.fx-static { min-height: 34px; display: flex; align-items: center; color: var(--text); }
.fx-input, .fx-select, .fx-textarea { width: 100%; height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r2); background: var(--surface); font-size: var(--fs-m); transition: border-color .12s, box-shadow .12s; min-width: 0; }
.fx-input--sm, .fx-select--sm { height: 30px; font-size: var(--fs-s); }
.fx-textarea { height: auto; min-height: 72px; padding: 8px 10px; resize: vertical; line-height: 1.45; }
.fx-select { appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23595d65' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 14px; text-overflow: ellipsis; }
.fx-input:hover, .fx-select:hover, .fx-textarea:hover { border-color: var(--line-3); }
.fx-input:focus, .fx-select:focus, .fx-textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(232, 89, 12, .14); }
.fx-input[readonly] { background: var(--sunk); }
.fx-input--mono { font-family: var(--mono); }
.fx-input--num { font-variant-numeric: tabular-nums; text-align: right; }
.fx-input-wrap { position: relative; min-width: 0; }
.fx-input-wrap > .fx-i { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.fx-input-wrap > .fx-input { padding-left: 30px; }
.fx-affix { display: flex; align-items: stretch; } .fx-affix .fx-input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.fx-affix span { display: grid; place-items: center; padding: 0 9px; border: 1px solid var(--line-2); border-left: 0; border-radius: 0 var(--r2) var(--r2) 0; background: var(--sunk); color: var(--faint); font-size: var(--fs-s); }
.fx-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.fx-check input, .fx-cb input, .fx-table input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: var(--acc); }
.fx-chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-chipbox { position: relative; }
.fx-chipbox input { position: absolute; opacity: 0; pointer-events: none; }
.fx-chipbox span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: var(--fs-s); cursor: pointer; transition: .12s; }
.fx-chipbox input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.fx-chipbox input:focus-visible + span { box-shadow: var(--focus); }
.fx-radios { display: inline-flex; flex-wrap: wrap; padding: 2px; background: var(--b-ink); border-radius: var(--r2); gap: 2px; }
.fx-radios label { position: relative; }
.fx-radios input { position: absolute; opacity: 0; }
.fx-radios span { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: var(--r1); font-size: var(--fs-s); font-weight: 560; color: var(--muted); cursor: pointer; }
.fx-radios input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.fx-radios input:focus-visible + span { box-shadow: var(--focus); }
.fx-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.fx-switch input { position: absolute; opacity: 0; }
.fx-switch i { width: 30px; height: 18px; border-radius: 18px; background: var(--line-3); position: relative; transition: .15s; flex: none; }
.fx-switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: .15s; }
.fx-switch input:checked + i { background: var(--acc); }
.fx-switch input:checked + i::after { left: 14px; }
.fx-switch input:focus-visible + i { box-shadow: var(--focus); }
.fx-seg { display: inline-flex; padding: 2px; background: var(--b-ink); border-radius: var(--r2); gap: 2px; }
.fx-seg button { border: 0; background: transparent; height: 26px; padding: 0 10px; border-radius: var(--r1); font-size: var(--fs-s); font-weight: 560; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.fx-seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.fx-note { padding: 9px 12px; border-radius: var(--r2); background: var(--sunk); border: 1px solid var(--line); color: var(--muted); font-size: var(--fs-s); margin-bottom: 14px; }
.fx-note--acc { background: var(--acc-soft); border-color: var(--acc-line); color: var(--acc-ink); }
.fx-note--warn { background: var(--b-amber); border-color: #efd8a8; color: var(--c-amber); }
.fx-ferr { margin-top: 12px; padding: 8px 11px; border-radius: var(--r2); background: var(--b-red); color: var(--c-red); font-weight: 560; font-size: var(--fs-s); }

.fx-date { position: relative; display: flex; min-width: 0; }
.fx-date .fx-input { padding-right: 34px; letter-spacing: .02em; }
.fx-date__b { position: absolute; right: 1px; top: 1px; bottom: 1px; width: 32px; border: 0; background: transparent; color: var(--faint); cursor: pointer; display: grid; place-items: center; border-radius: 0 var(--r2) var(--r2) 0; }
.fx-date__b:hover { color: var(--text); background: var(--hover); }
.fx-input.is-bad { border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(176, 40, 40, .12); }
.fx-dt { display: grid; grid-template-columns: minmax(0, 1fr) 78px; gap: 6px; }
.fx-time { text-align: center; }
.fx-calpop { position: fixed; z-index: 9300; width: 264px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); box-shadow: var(--sh-pop); padding: 8px; font: 13px/1.3 var(--font); color: var(--text); }
.fx-calpop__h { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 8px; } .fx-calpop__h b { font-weight: 620; }
.fx-calpop__h button, .fx-calpop__f button { border: 0; background: none; cursor: pointer; border-radius: 5px; padding: 5px 7px; color: var(--muted); font: inherit; display: inline-flex; }
.fx-calpop__h button:hover, .fx-calpop__f button:hover { background: var(--hover); color: var(--text); }
.fx-calpop__w, .fx-calpop__d { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.fx-calpop__w span { font-size: 11px; color: var(--faint); text-align: center; padding: 4px 0; font-weight: 560; }
.fx-calpop__d button { height: 32px; border: 0; background: none; border-radius: 5px; cursor: pointer; font: 500 13px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--text); }
.fx-calpop__d button:hover { background: var(--hover); } .fx-calpop__d button.sun { color: var(--faint); }
.fx-calpop__d button.today { box-shadow: inset 0 0 0 1px var(--acc-line); color: var(--acc-ink); font-weight: 650; }
.fx-calpop__d button.on { background: var(--ink); color: #fff; }
.fx-calpop__f { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; } .fx-calpop__f button:first-child { color: var(--acc-ink); font-weight: 560; }

/* Rozet, etiket, durum */
.fx-st { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 7px 0 6px; border-radius: var(--r1); font-size: var(--fs-s); font-weight: 560; white-space: nowrap; color: var(--c); background: var(--b); line-height: 1; }
.fx-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.fx-tg { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 3px; font-size: 11px; font-weight: 560; white-space: nowrap; color: var(--c); background: var(--b); line-height: 1; }
.fx-st--slate, .fx-tg--slate { --c: var(--c-slate); --b: var(--b-slate); } .fx-st--blue, .fx-tg--blue { --c: var(--c-blue); --b: var(--b-blue); }
.fx-st--amber, .fx-tg--amber { --c: var(--c-amber); --b: var(--b-amber); } .fx-st--violet, .fx-tg--violet { --c: var(--c-violet); --b: var(--b-violet); }
.fx-st--orange, .fx-tg--orange { --c: var(--c-orange); --b: var(--b-orange); } .fx-st--teal, .fx-tg--teal { --c: var(--c-teal); --b: var(--b-teal); }
.fx-st--green, .fx-tg--green { --c: var(--c-green); --b: var(--b-green); } .fx-st--ink, .fx-tg--ink { --c: var(--c-ink); --b: var(--b-ink); }
.fx-st--red, .fx-tg--red { --c: var(--c-red); --b: var(--b-red); } .fx-st--gray, .fx-tg--gray { --c: var(--c-gray); --b: var(--b-gray); }
.fx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--faint)); display: inline-block; flex: none; }
.fx-tag { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 6px 0 5px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--surface); font: 600 11.5px/1 var(--mono); color: var(--text); white-space: nowrap; }
.fx-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; border: 1.5px solid var(--faint); flex: none; }
.fx-tag--dark { background: var(--ink); border-color: var(--ink); color: #fff; } .fx-tag--dark::before { background: var(--acc); border-color: var(--acc); }
.fx-tag--lg { height: 28px; font-size: 14px; padding: 0 9px 0 7px; gap: 7px; }
.fx-code { font: 500 12px/1 var(--mono); color: var(--muted); }
.fx-age { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 18px; padding: 0 4px; border-radius: 3px; font: 600 11px/1 var(--mono); background: var(--b-ink); color: var(--muted); }
.fx-age--warm { background: var(--b-orange); color: var(--c-orange); } .fx-age--hot { background: var(--c-red); color: #fff; }
.fx-av { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font: 620 10.5px/1 var(--font); letter-spacing: .02em; background: var(--ink-3); color: #fff; flex: none; }
.fx-av--sm { width: 22px; height: 22px; font-size: 9.5px; } .fx-av--lg { width: 40px; height: 40px; font-size: 14px; }
.fx-av--none { background: transparent !important; border: 1.5px dashed var(--line-3); color: var(--faint); }
.fx-who { display: inline-flex; align-items: center; gap: 7px; min-width: 0; } .fx-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-pri { display: inline-flex; align-items: center; gap: 4px; color: var(--c-orange); font-weight: 600; font-size: var(--fs-s); }

/* Bölüm (kart yerine çizgiyle ayrılmış yüzey) */
.fx-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); min-width: 0; }
.fx-sec__h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.fx-sec__h h2, .fx-sec__h h3 { font-size: var(--fs-b); font-weight: 620; }
.fx-sec__h small { color: var(--faint); }
.fx-sec__b { padding: 14px; } .fx-sec__b--0 { padding: 0; }
.fx-sec__f { padding: 10px 14px; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fx-plain h2 { font-size: var(--fs-b); font-weight: 620; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }

/* Anahtar-değer */
.fx-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.fx-kv > div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fx-kv dt { color: var(--faint); font-size: var(--fs-s); } .fx-kv dd { min-width: 0; overflow-wrap: anywhere; }
.fx-kv--1 { grid-template-columns: 1fr; }

/* Sayı göstergesi */
.fx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); border-radius: var(--r3); background: var(--surface); overflow: hidden; }
.fx-stat { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-right: 1px solid var(--line); text-decoration: none; color: inherit; min-width: 0; margin-right: -1px; }
a.fx-stat:hover { background: var(--hover); }
.fx-stat > span { font-size: var(--fs-s); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-stat > b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.fx-stat > small { font-size: var(--fs-s); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-stat--warn > b { color: var(--c-orange); } .fx-stat--bad > b { color: var(--c-red); }

/* Grafikler: yatay çubuk, sütun */
.fx-bars { display: grid; gap: 7px; }
.fx-bars__r { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; align-items: center; gap: 10px; font-size: var(--fs-s); }
.fx-bars__r[data-href] { cursor: pointer; } .fx-bars__r[data-href]:hover .fx-bars__l { color: var(--acc-ink); }
.fx-bars__r:has(small) { grid-template-columns: minmax(90px, 30%) 1fr auto 64px; }
.fx-bars__l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.fx-bars__t { height: 8px; background: var(--b-gray); border-radius: 2px; overflow: hidden; }
.fx-bars__t i { display: block; height: 100%; background: var(--ink-3); border-radius: 2px; }
.fx-bars__r b { font-weight: 600; text-align: right; min-width: 56px; } .fx-bars__r small { text-align: right; color: var(--faint); }
.fx-cols { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; align-items: end; height: 190px; padding-top: 4px; }
.fx-cols__c { display: grid; grid-template-rows: 16px 1fr 18px; height: 100%; gap: 4px; min-width: 0; }
.fx-cols__v { font-size: 10.5px; color: var(--faint); text-align: center; white-space: nowrap; overflow: hidden; }
.fx-cols__b { display: flex; align-items: flex-end; justify-content: center; gap: 2px; border-bottom: 1px solid var(--line-2); }
.fx-cols__b i { display: block; width: min(26px, 70%); background: var(--ink-3); border-radius: 2px 2px 0 0; min-height: 1px; }
.fx-cols__b i.b2 { background: var(--acc); opacity: .85; }
.fx-cols__c:hover .fx-cols__b i:first-child { background: var(--ink); }
.fx-cols__l { font-size: 11px; color: var(--faint); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-legend { display: flex; gap: 14px; font-size: var(--fs-s); color: var(--muted); } .fx-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--ink-3); margin-right: 5px; vertical-align: -1px; } .fx-legend i.b2 { background: var(--acc); }
.fx-meter { height: 6px; background: var(--b-gray); border-radius: 3px; overflow: hidden; } .fx-meter i { display: block; height: 100%; background: var(--ink-3); } .fx-meter--acc i { background: var(--acc); }

/* Sekmeler */
.fx-subtabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-top: 12px; }
.fx-subtabs::-webkit-scrollbar { display: none; }
.fx-subtabs a, .fx-tabs button { border: 0; background: none; padding: 8px 10px 9px; font-size: var(--fs-m); font-weight: 560; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.fx-subtabs a:hover, .fx-tabs button:hover { color: var(--text); }
.fx-subtabs a.on, .fx-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--acc); }
.fx-subtabs em, .fx-tabs em { font: 600 10.5px/1 var(--mono); font-style: normal; background: var(--b-ink); color: var(--muted); padding: 3px 5px; border-radius: 3px; }
.fx-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }

/* Boş, hata, yükleniyor */
.fx-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 40px 20px; color: var(--muted); }
.fx-empty .fx-i { width: 26px; height: 26px; color: var(--line-3); stroke-width: 1.5; }
.fx-empty b { color: var(--text); font-size: var(--fs-b); font-weight: 600; } .fx-empty p { max-width: 40ch; font-size: var(--fs-s); }
.fx-empty .fx-btn { margin-top: 6px; }
.fx-error { display: grid; justify-items: start; gap: 8px; padding: 22px; border: 1px solid #efc6c1; background: var(--b-red); border-radius: var(--r3); color: var(--c-red); max-width: 560px; }
.fx-error b { font-size: var(--fs-l); } .fx-error p { color: var(--text); } .fx-error code { font: 12px var(--mono); color: var(--muted); }
.fx-skel__h, .fx-skel__bar, .fx-skel__row { background: linear-gradient(90deg, #ecebe7 0%, #f5f4f1 50%, #ecebe7 100%); background-size: 200% 100%; animation: fxsk 1.1s linear infinite; border-radius: var(--r2); }
.fx-skel__h { height: 44px; width: 38%; margin-bottom: 20px; } .fx-skel__bar { height: 34px; margin-bottom: 14px; } .fx-skel__row { height: 36px; margin-bottom: 6px; }
@keyframes fxsk { to { background-position: -200% 0; } }

/* 5. Kabuk (yönetici) ------------------------------------------------- */
.fx-shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.hkd-rib ~ .fx-app .fx-shell { min-height: calc(100vh - var(--rib, 0px)); }
.fx-rail { background: var(--ink); color: var(--ink-text); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; height: 100dvh; z-index: 40; }
.hkd-rib ~ .fx-app .fx-rail { top: var(--rib, 0px); height: calc(100vh - var(--rib, 0px)); }
.fx-brand { display: flex; align-items: center; gap: 10px; height: var(--top); padding: 0 14px; border-bottom: 1px solid var(--ink-line); flex: none; }
.fx-brand__mark { width: 28px; height: 28px; border-radius: 7px; background: var(--acc); color: #fff; display: grid; place-items: center; flex: none; }
.fx-brand__mark .fx-i { width: 16px; height: 16px; stroke-width: 2; }
.fx-brand b { display: block; color: var(--ink-hi); font-size: var(--fs-b); font-weight: 640; line-height: 1.15; font-stretch: 96%; }
.fx-brand small { display: block; font-size: 11.5px; color: var(--ink-text); }
.fx-branch { margin-left: auto; }
.fx-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 8px 16px; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
.fx-nav__g { margin-top: 8px; }
.fx-nav__g > button { all: unset; box-sizing: border-box; display: flex; align-items: center; width: 100%; padding: 6px 8px 4px; font-size: 10.5px; font-weight: 620; letter-spacing: .08em; text-transform: uppercase; color: #6f747c; cursor: pointer; border-radius: 4px; }
.fx-nav__g > button:hover { color: var(--ink-text); }
.fx-nav__g > button .fx-i { margin-left: auto; transition: transform .15s; width: 12px; height: 12px; }
.fx-nav__g.is-shut > button .fx-i { transform: rotate(-90deg); }
.fx-nav__g.is-shut > a { display: none; }
.fx-nav__g.is-shut > a.on { display: flex; }
.fx-nav a { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: 5px; color: var(--ink-text); text-decoration: none; font-size: var(--fs-m); font-weight: 480; position: relative; }
.fx-nav a .fx-i { color: #868b93; width: 15px; height: 15px; }
.fx-nav a:hover { background: var(--ink-2); color: var(--ink-hi); }
.fx-nav a.on { background: var(--ink-3); color: #fff; font-weight: 560; }
.fx-nav a.on .fx-i { color: var(--acc); }
.fx-nav a.on::before { content: ""; position: absolute; left: -8px; top: 7px; bottom: 7px; width: 2px; border-radius: 2px; background: var(--acc); }
.fx-nav a em { margin-left: auto; font: 600 10.5px/1 var(--mono); font-style: normal; color: var(--ink-text); background: var(--ink-3); padding: 3px 5px; border-radius: 3px; }
.fx-nav a em.hot { background: var(--acc); color: #fff; }
.fx-me { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-top: 1px solid var(--ink-line); flex: none; }
.fx-me b { display: block; color: var(--ink-hi); font-size: var(--fs-m); font-weight: 560; } .fx-me small { font-size: 11.5px; }
.fx-me > div { flex: 1; min-width: 0; }
.fx-me button { background: none; border: 0; color: var(--ink-text); cursor: pointer; padding: 6px; border-radius: 5px; display: grid; } .fx-me button:hover { background: var(--ink-2); color: #fff; }
.fx-main { min-width: 0; display: flex; flex-direction: column; }
.fx-top { position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; gap: 8px; padding: 0 20px; background: rgba(245, 244, 241, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.hkd-rib ~ .fx-app .fx-top { top: var(--rib, 0px); }
.fx-top__burger { display: none; }
.fx-cmdk { display: flex; align-items: center; gap: 8px; height: 32px; width: min(360px, 34vw); padding: 0 8px 0 10px; border: 1px solid var(--line-2); border-radius: var(--r2); background: var(--surface); color: var(--faint); cursor: pointer; font-size: var(--fs-m); box-shadow: var(--sh-1); }
.fx-cmdk:hover { border-color: var(--line-3); color: var(--muted); } .fx-cmdk span { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-top__sp { flex: 1; }
.fx-bell { position: relative; } .fx-bell b { position: absolute; top: 2px; right: 1px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; background: var(--acc); color: #fff; font: 600 9.5px/15px var(--mono); text-align: center; }
.fx-pop { position: absolute; z-index: 60; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); box-shadow: var(--sh-pop); }
.fx-notif { top: calc(var(--top) - 6px); right: 16px; width: min(380px, calc(100vw - 24px)); max-height: 70vh; overflow: auto; }
.fx-notif__h { display: flex; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); } .fx-notif__h b { flex: 1; }
.fx-notif a { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: baseline; padding: 9px 14px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: var(--fs-s); }
.fx-notif a:hover { background: var(--hover); } .fx-notif a.un { background: var(--sel); } .fx-notif a small { color: var(--faint); white-space: nowrap; }
.fx-newmenu { top: calc(var(--top) - 6px); right: 60px; width: 230px; padding: 4px; }
.fx-newmenu a, .fx-newmenu button { display: flex; width: 100%; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 5px; text-decoration: none; font-size: var(--fs-m); background: none; border: 0; cursor: pointer; text-align: left; }
.fx-newmenu a:hover, .fx-newmenu button:hover { background: var(--hover); } .fx-newmenu kbd { margin-left: auto; }
.fx-view { flex: 1; min-width: 0; outline: none; }
.fx-pagewrap { padding: 16px 24px 48px; max-width: 1560px; }

/* Sayfa başlığı */
.fx-ph { margin-bottom: 16px; }
.fx-crumbs { display: flex; align-items: center; gap: 4px; font-size: var(--fs-s); color: var(--faint); margin-bottom: 6px; flex-wrap: wrap; }
.fx-crumbs a { color: var(--muted); text-decoration: none; } .fx-crumbs a:hover { color: var(--text); text-decoration: underline; }
.fx-crumbs .fx-i { color: var(--line-3); }
.fx-ph__row { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.fx-ph__t { flex: 1; min-width: 220px; }
.fx-ph h1 { font-size: var(--fs-xl); font-weight: 640; line-height: 1.25; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fx-ph p { color: var(--muted); margin-top: 2px; max-width: 80ch; }
.fx-ph__a { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fx-ph__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; color: var(--muted); font-size: var(--fs-s); align-items: center; }
.fx-ph__meta > span { display: inline-flex; gap: 5px; align-items: center; }
.fx-grid { display: grid; gap: 16px; }
.fx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-grid--main { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.fx-grid--side { grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
.fx-stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.fx-stack > *, .fx-grid > *, .fx-detail > *, .fx-c-body > *, .fx-set > *, .fx-kabul > *, .fx-posl > * { min-width: 0; }

/* 6. Liste ve tablo -------------------------------------------------- */
.fx-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); min-width: 0; overflow: hidden; }
.fx-segs { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.fx-segs::-webkit-scrollbar { display: none; }
.fx-segs button { border: 0; background: none; padding: 10px 8px 9px; font-size: var(--fs-m); font-weight: 560; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.fx-segs button:hover { color: var(--text); }
.fx-segs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }
.fx-segs em { font: 500 11px/1 var(--font); font-style: normal; color: var(--faint); font-variant-numeric: tabular-nums; }
.fx-lt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.fx-lt__q { width: 260px; max-width: 100%; }
.fx-lt__ft { display: none; }
.fx-lt .fx-seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.fx-fsel .fx-select { width: auto; max-width: 190px; background-color: var(--surface); }
.fx-fsel.on .fx-select { border-color: var(--ink-3); background-color: var(--b-ink); font-weight: 560; }
.fx-tablewrap { overflow: auto; min-width: 0; position: relative; }
.fx-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-m); }
.fx-table th { position: sticky; top: 0; z-index: 1; background: var(--sunk); text-align: left; font-size: 11.5px; font-weight: 560; color: var(--faint); padding: 0 10px; height: 32px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.fx-table th button { all: unset; cursor: pointer; display: inline-flex; gap: 3px; align-items: center; border-radius: 3px; } .fx-table th button:hover { color: var(--text); }
.fx-table th button:focus-visible { box-shadow: var(--focus); }
.fx-table th[aria-sort="ascending"], .fx-table th[aria-sort="descending"] { color: var(--text); }
.fx-table th.r button { flex-direction: row-reverse; }
.fx-table td { padding: 0 10px; height: 38px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
.fx-table td.wrap { white-space: normal; min-width: 200px; line-height: 1.35; padding-top: 6px; padding-bottom: 6px; }
.fx-table--dense td { height: 34px; }
.fx-table tbody tr[tabindex] { cursor: pointer; }
.fx-table tbody tr:hover { background: var(--hover); }
.fx-table tbody tr.is-sel { background: var(--sel); }
.fx-table tbody tr:last-child td { border-bottom: 0; }
.fx-table tfoot td { background: var(--sunk); font-weight: 600; border-top: 1px solid var(--line-2); border-bottom: 0; }
.fx-table .r { text-align: right; } .fx-table .c { text-align: center; }
.fx-table .fx-cb { width: 36px; padding-right: 0; }
.fx-table .t2 { color: var(--faint); font-size: var(--fs-s); margin-left: 6px; }
.fx-table .sub { display: block; color: var(--faint); font-size: 11.5px; line-height: 1.2; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; }
.fx-table td.two { line-height: 1.25; }
.fx-table tr.is-late td:first-child, .fx-table tr.is-acil td:first-child { box-shadow: inset 2px 0 0 var(--c-red); }
.fx-table tr.is-acil td:first-child { box-shadow: inset 2px 0 0 var(--acc); }
.fx-table tr.is-low td:first-child { box-shadow: inset 2px 0 0 var(--c-red); }
.fx-table tr.is-mute td { color: var(--faint); }
.fx-table--plain th { position: static; }
.fx-lempty { border-top: 1px solid var(--line); }
.fx-pager { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line); font-size: var(--fs-s); color: var(--muted); flex-wrap: wrap; }
.fx-pager__size { display: inline-flex; align-items: center; gap: 6px; } .fx-pager__size .fx-select { width: 68px; }
.fx-pager__p { min-width: 44px; text-align: center; }
.fx-bulk { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: var(--ink); color: #fff; flex-wrap: wrap; position: sticky; top: 0; z-index: 3; }
.fx-bulk b { font-weight: 600; font-size: var(--fs-m); margin-right: 6px; }
.fx-table th button .fx-i { opacity: 0; transition: opacity .1s; }
.fx-table th button:hover .fx-i, .fx-table th[aria-sort="ascending"] .fx-i, .fx-table th[aria-sort="descending"] .fx-i { opacity: 1; }
.fx-cb input { display: block; }
@media (max-width: 1480px) { .fx-hxl { display: none; } }

/* 7. Katmanlar -------------------------------------------------------- */
.fx-scrim { position: fixed; inset: 0; background: rgba(18, 18, 16, .32); z-index: 9010; opacity: 0; transition: opacity .18s; }
.fx-scrim.on { opacity: 1; }
.fx-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 9020; width: min(600px, 100vw); background: var(--surface); box-shadow: -24px 0 60px -24px rgba(0,0,0,.32); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .2s cubic-bezier(.2,.8,.2,1); border-left: 1px solid var(--line); }
.fx-drawer--wide { width: min(820px, 100vw); }
.fx-drawer.on { transform: none; }
.fx-drawer__h { padding: 14px 18px 0; border-bottom: 1px solid var(--line); flex: none; }
.fx-drawer__top { display: flex; align-items: flex-start; gap: 8px; }
.fx-drawer__top h2 { font-size: 18px; font-weight: 640; line-height: 1.25; }
.fx-drawer__top .fx-sp { min-width: 0; }
.fx-drawer__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 8px 0 12px; font-size: var(--fs-s); color: var(--muted); }
.fx-drawer__h .fx-tabs { border-bottom: 0; margin: 0 -8px; }
.fx-drawer__b { flex: 1; overflow: auto; padding: 16px 18px 24px; display: grid; gap: 18px; align-content: start; }
.fx-drawer__f { flex: none; display: flex; gap: 8px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--line); background: var(--sunk); flex-wrap: wrap; }
.fx-modal { position: fixed; inset: 0; z-index: 9030; display: grid; place-items: start center; padding: 9vh 16px 16px; overflow: auto; }
.fx-modal__box { width: min(560px, 100%); background: var(--surface); border-radius: var(--r3); box-shadow: var(--sh-pop); border: 1px solid var(--line); display: flex; flex-direction: column; max-height: 84vh; }
.fx-modal__box--sm { width: min(420px, 100%); } .fx-modal__box--lg { width: min(760px, 100%); } .fx-modal__box--pal { width: min(620px, 100%); }
.fx-modal__h { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.fx-modal__h h3 { font-size: var(--fs-l); font-weight: 620; }
.fx-modal__b { padding: 16px; overflow: auto; }
.fx-modal__f { display: flex; gap: 8px; justify-content: flex-end; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--sunk); border-radius: 0 0 var(--r3) var(--r3); }
.fx-modal__box--pal .fx-modal__h { display: none; } .fx-modal__box--pal .fx-modal__b { padding: 0; }
.fx-pal .fx-input-wrap { padding: 10px; border-bottom: 1px solid var(--line); } .fx-pal .fx-input-wrap > .fx-i { left: 21px; }
.fx-pal__q { height: 40px; font-size: var(--fs-l); border: 0 !important; box-shadow: none !important; }
.fx-pal__res { max-height: 52vh; overflow: auto; padding: 4px 6px 8px; }
.fx-pal__g { font-size: 11px; font-weight: 600; color: var(--faint); padding: 10px 8px 4px; letter-spacing: .04em; text-transform: uppercase; }
.fx-pal__res a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 5px; text-decoration: none; font-size: var(--fs-m); }
.fx-pal__res a .fx-i { color: var(--faint); } .fx-pal__res a small { margin-left: auto; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; }
.fx-pal__res a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-pal__res a.on, .fx-pal__res a:hover { background: var(--hover); } .fx-pal__res a.on { box-shadow: inset 2px 0 0 var(--acc); }
.fx-pal__f { display: flex; gap: 14px; padding: 8px 12px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--faint); background: var(--sunk); border-radius: 0 0 var(--r3) var(--r3); }
.fx-keys { display: grid; gap: 2px; } .fx-keys div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); } .fx-keys div span:first-child { display: flex; gap: 4px; }

/* 8. Ekranlar --------------------------------------------------------- */
/* Zaman çizelgesi */
.fx-tl { list-style: none; margin: 0; padding: 0; display: grid; }
.fx-tl li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; position: relative; padding-bottom: 14px; }
.fx-tl li::before { content: ""; position: absolute; left: 7.5px; top: 14px; bottom: 0; width: 1px; background: var(--line-2); }
.fx-tl li:last-child::before { display: none; }
.fx-tl i { width: 9px; height: 9px; border-radius: 50%; margin: 4px 0 0 3.5px; background: var(--c, var(--line-3)); box-shadow: 0 0 0 3px var(--surface); }
.fx-tl b { font-weight: 600; } .fx-tl p { color: var(--muted); font-size: var(--fs-s); margin-top: 1px; overflow-wrap: anywhere; }
.fx-tl small { color: var(--faint); font-size: 11.5px; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1px; }
/* Kalem tablosu */
.fx-lines { width: 100%; border-collapse: collapse; font-size: var(--fs-m); }
.fx-lines th { text-align: left; font-weight: 560; font-size: 11.5px; color: var(--faint); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.fx-lines td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fx-lines .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fx-lines tr.opt td { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(0,0,0,.018) 6px 12px); }
.fx-sumlist { display: grid; gap: 4px; margin-left: auto; width: min(300px, 100%); font-size: var(--fs-m); padding-top: 10px; }
.fx-sumlist div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; } .fx-sumlist div span:first-child { color: var(--muted); }
.fx-sumlist .tot { border-top: 1px solid var(--line-2); padding-top: 7px; margin-top: 3px; font-size: var(--fs-l); font-weight: 640; } .fx-sumlist .tot span:first-child { color: var(--text); }
/* Pano */
.fx-queue { display: grid; } .fx-queue a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.fx-queue a:last-child { border-bottom: 0; } .fx-queue a:hover { background: var(--hover); }
.fx-queue a > div { min-width: 0; } .fx-queue b { font-weight: 560; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-queue small { color: var(--faint); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--fs-s); }
.fx-queue .r { text-align: right; white-space: nowrap; font-size: var(--fs-s); color: var(--muted); }
.fx-flow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r3); background: var(--surface); overflow: hidden; }
.fx-flow a { padding: 12px 14px; border-right: 1px solid var(--line); text-decoration: none; display: grid; gap: 2px; position: relative; min-width: 0; }
.fx-flow a:last-child { border-right: 0; } .fx-flow a:hover { background: var(--hover); }
.fx-flow a span { font-size: var(--fs-s); color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-flow a b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.fx-flow a small { font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-flow a small.hot { color: var(--c-red); font-weight: 560; }
/* Kanban */
.fx-kan { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(228px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.fx-kan__col { background: #eeece8; border-radius: var(--r3); min-height: 200px; display: flex; flex-direction: column; max-height: calc(100vh - 230px); }
.fx-kan__col.is-over { background: var(--acc-soft); box-shadow: inset 0 0 0 1.5px var(--acc-line); }
.fx-kan__h { display: flex; align-items: center; gap: 7px; padding: 10px 10px 8px; font-weight: 600; font-size: var(--fs-m); }
.fx-kan__h em { font: 500 11px/1 var(--font); font-style: normal; color: var(--faint); } .fx-kan__h small { margin-left: auto; color: var(--faint); font-weight: 450; font-size: 11.5px; }
.fx-kan__b { display: grid; gap: 6px; padding: 0 6px 8px; overflow-y: auto; align-content: start; }
.fx-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: 9px 10px; display: grid; gap: 5px; cursor: grab; box-shadow: var(--sh-1); font-size: var(--fs-s); }
.fx-card:hover { border-color: var(--line-3); } .fx-card.is-drag { opacity: .45; } .fx-card:focus-visible { box-shadow: var(--focus); }
.fx-card__t { display: flex; align-items: center; gap: 6px; } .fx-card__t .fx-sp { min-width: 0; }
.fx-card b { font-size: var(--fs-m); font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-card p { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fx-card__f { display: flex; align-items: center; gap: 6px; color: var(--faint); } .fx-card__f .fx-sp { min-width: 0; }
.fx-card.is-late { box-shadow: inset 2px 0 0 var(--c-red), var(--sh-1); }
.fx-card select { display: none; }
/* Teknisyen panosu */
.fx-techs { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; align-items: start; }
.fx-tech { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); }
.fx-tech__h { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.fx-tech__h b { display: block; } .fx-tech__h small { color: var(--faint); font-size: var(--fs-s); }
.fx-tech__load { padding: 10px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; font-size: var(--fs-s); color: var(--muted); }
.fx-tech__load > div:first-child { display: flex; justify-content: space-between; }
.fx-tech .fx-queue a { padding: 8px 14px; }
.fx-timer { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--mono); color: var(--c-green); background: var(--b-green); padding: 4px 7px; border-radius: 4px; }
/* Takvim */
.fx-cal { display: grid; grid-template-columns: 52px repeat(var(--days), minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r3); background: var(--surface); overflow: hidden; min-width: 760px; }
.fx-cal__hd { position: sticky; top: 0; background: var(--sunk); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); padding: 8px; font-size: var(--fs-s); font-weight: 560; color: var(--muted); } .fx-cal__hd.today { color: var(--acc-ink); } .fx-cal__hd b { display: block; color: var(--text); font-size: var(--fs-l); font-weight: 600; } .fx-cal__hd.today b { color: var(--acc); }
.fx-cal__hr { font: 11px/1 var(--mono); color: var(--faint); text-align: right; padding: 4px 6px 0 0; height: 52px; border-bottom: 1px solid var(--line); }
.fx-cal__ad { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px; background: var(--sunk); } .fx-cal__ad button { border: 0; cursor: pointer; height: 22px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.fx-cal__col { position: relative; border-left: 1px solid var(--line); background-image: repeating-linear-gradient(to bottom, transparent 0 51px, var(--line) 51px 52px); }
.fx-cal__col.today { background-color: #fffaf6; }
.fx-ev { position: absolute; left: 3px; right: 3px; border-radius: 4px; padding: 3px 6px; font-size: 11.5px; line-height: 1.25; overflow: hidden; background: var(--b); color: var(--c); border-left: 2px solid var(--c); cursor: pointer; text-decoration: none; }
.fx-ev b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fx-ev span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.fx-ev:hover { filter: brightness(.97); }
.fx-now { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px solid var(--acc); z-index: 2; } .fx-now::before { content: ""; position: absolute; left: -4px; top: -4.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
/* Saha rota */
.fx-route { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.fx-route li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; padding: 10px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.fx-route li:hover { background: var(--hover); }
.fx-route li::before { counter-increment: r; content: counter(r); width: 22px; height: 22px; border-radius: 50%; background: var(--ink-3); color: #fff; display: grid; place-items: center; font: 600 11px/1 var(--mono); }
.fx-route li.done::before { background: var(--c-green); } .fx-route li.now::before { background: var(--acc); }
.fx-route b { display: block; } .fx-route small { color: var(--faint); display: block; font-size: var(--fs-s); }
.fx-mapbox { position: relative; height: 260px; background: #eceae4; border-bottom: 1px solid var(--line); overflow: hidden; }
.fx-mapbox svg { width: 100%; height: 100%; display: block; }
/* Kabul formu + fiş */
.fx-kabul { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.fx-steps { display: grid; gap: 16px; }
.fx-receipt { position: sticky; top: calc(var(--top) + 16px); background: #fffdf8; border: 1px solid var(--line); border-radius: 2px; padding: 16px 16px 20px; font: 12px/1.45 var(--mono); color: #222; box-shadow: var(--sh-1); }
.fx-receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: radial-gradient(circle at 5px 0, transparent 4px, #fffdf8 4.5px) -1px 0 / 10px 6px repeat-x; }
.fx-receipt h4 { font: 600 14px/1.2 var(--font); text-align: center; } .fx-receipt .c { text-align: center; } .fx-receipt hr { border: 0; border-top: 1px dashed #bbb; margin: 9px 0; }
.fx-receipt .row { display: flex; justify-content: space-between; gap: 10px; } .fx-receipt .row span:last-child { text-align: right; overflow-wrap: anywhere; }
.fx-receipt .bar { height: 34px; margin: 8px 0 4px; background: repeating-linear-gradient(90deg, #222 0 2px, transparent 2px 3px, #222 3px 4px, transparent 4px 7px, #222 7px 10px, transparent 10px 11px); }
.fx-receipt small { font-size: 10.5px; color: #555; display: block; }
.fx-match { border: 1px solid var(--line); border-radius: var(--r2); margin-top: 6px; overflow: hidden; }
.fx-match button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; } .fx-match button:last-child { border-bottom: 0; } .fx-match button:hover { background: var(--hover); }
.fx-match small { color: var(--faint); margin-left: auto; }
.fx-picked { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--acc-line); background: var(--acc-soft); border-radius: var(--r2); }
.fx-picked > div { flex: 1; min-width: 0; } .fx-picked b { display: block; } .fx-picked small { color: var(--muted); }
/* POS */
.fx-posl { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.fx-prodgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; padding: 12px; }
.fx-prod { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--surface); text-align: left; cursor: pointer; font-size: var(--fs-s); min-width: 0; }
.fx-prod:hover { border-color: var(--line-3); background: var(--sunk); }
.fx-prod b { font-size: var(--fs-m); font-weight: 560; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; }
.fx-prod span { display: flex; justify-content: space-between; color: var(--faint); } .fx-prod strong { font-weight: 640; color: var(--text); }
.fx-prod[disabled] { opacity: .45; cursor: not-allowed; }
.fx-cart { position: sticky; top: calc(var(--top) + 16px); }
.fx-cart__l { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow: auto; }
.fx-cart__l li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.fx-cart__l li b { font-weight: 560; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fx-cart__l li small { color: var(--faint); }
.fx-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r2); } .fx-qty button { width: 24px; height: 24px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; } .fx-qty span { min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.fx-paym { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fx-paym button { height: 40px; border: 1px solid var(--line-2); border-radius: var(--r2); background: var(--surface); cursor: pointer; font-weight: 560; } .fx-paym button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
/* Fatura önizleme */
.fx-doc { background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 28px 30px; font-size: 12.5px; box-shadow: var(--sh-1); color: #1c1c1c; }
.fx-doc__h { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--text); margin-bottom: 16px; flex-wrap: wrap; }
.fx-doc__h h3 { font-size: 20px; letter-spacing: .02em; } .fx-doc__h p { color: var(--muted); font-size: 12px; }
.fx-doc .fx-lines { font-size: 12.5px; } .fx-doc .fx-lines th { color: #444; }
.fx-doc__f { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; align-items: flex-end; flex-wrap: wrap; } .fx-doc__f p { color: var(--muted); font-size: 11.5px; max-width: 46ch; }
.fx-qr { width: 64px; height: 64px; background: conic-gradient(from 90deg at 25% 25%, #222 25%, transparent 0) 0 0/8px 8px, #fff; border: 4px solid #fff; outline: 1px solid #ddd; }
/* Ayarlar düzeni */
.fx-set { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.fx-setnav { position: sticky; top: calc(var(--top) + 16px); display: grid; gap: 1px; }
.fx-setnav p { font-size: 11px; font-weight: 600; color: var(--faint); letter-spacing: .05em; text-transform: uppercase; padding: 12px 10px 4px; } .fx-setnav p:first-child { padding-top: 0; }
.fx-setnav a { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 5px; text-decoration: none; color: var(--muted); font-size: var(--fs-m); }
.fx-setnav a:hover { background: rgba(0,0,0,.04); color: var(--text); } .fx-setnav a.on { background: var(--surface); color: var(--text); font-weight: 560; box-shadow: 0 0 0 1px var(--line); }
.fx-setnav a .fx-i { color: var(--faint); } .fx-setnav a.on .fx-i { color: var(--acc); }
.fx-setform { display: grid; gap: 16px; max-width: 920px; }
.fx-setrow { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fx-setrow:first-child { padding-top: 0; } .fx-setrow h3 { font-size: var(--fs-b); font-weight: 600; } .fx-setrow p { color: var(--muted); font-size: var(--fs-s); margin-top: 3px; }
.fx-perm { border-collapse: collapse; width: 100%; font-size: var(--fs-m); }
.fx-perm th, .fx-perm td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; } .fx-perm th:first-child, .fx-perm td:first-child { text-align: left; }
.fx-perm th { font-size: 11.5px; color: var(--faint); font-weight: 560; background: var(--sunk); } .fx-perm td.g { font-size: 11px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; background: var(--sunk); text-align: left; }
.fx-perm .y { color: var(--c-green); } .fx-perm .n { color: var(--line-3); }
.fx-integ { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r3); background: var(--surface); overflow: hidden; }
.fx-integ > div { padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; margin-right: -1px; margin-bottom: -1px; }
.fx-integ b { font-size: var(--fs-b); } .fx-integ p { color: var(--muted); font-size: var(--fs-s); min-height: 3em; }
.fx-integ__logo { width: 32px; height: 32px; border-radius: 7px; display: grid; place-items: center; background: var(--b-ink); color: var(--muted); font: 600 12px/1 var(--font); }
/* Mesajlar */
.fx-inbox { display: grid; grid-template-columns: 340px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); overflow: hidden; height: calc(100vh - 200px); min-height: 480px; }
.fx-inbox__l { border-right: 1px solid var(--line); overflow: auto; }
.fx-inbox__l a { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.fx-inbox__l a:hover { background: var(--hover); } .fx-inbox__l a.on { background: var(--sel); box-shadow: inset 2px 0 0 var(--acc); }
.fx-inbox__l a .fx-av { grid-row: span 2; } .fx-inbox__l b { font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fx-inbox__l a.un b { font-weight: 700; }
.fx-inbox__l p { grid-column: 2 / 4; color: var(--muted); font-size: var(--fs-s); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fx-inbox__l small { color: var(--faint); font-size: 11.5px; white-space: nowrap; }
.fx-thread { display: flex; flex-direction: column; min-width: 0; }
.fx-thread__h { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fx-thread__b { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--sunk); }
.fx-bub { max-width: 74%; padding: 9px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-m); align-self: flex-start; }
.fx-bub small { display: block; color: var(--faint); font-size: 11px; margin-top: 4px; }
.fx-bub--me { align-self: flex-end; background: var(--ink-2); color: #eceeef; border-color: var(--ink-2); } .fx-bub--me small { color: #9aa0a8; }
.fx-thread__f { border-top: 1px solid var(--line); padding: 10px; display: flex; gap: 8px; align-items: flex-end; }
.fx-thread__f textarea { min-height: 40px; height: 40px; }
/* Ayrıntı sayfası */
.fx-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.fx-side { display: grid; gap: 16px; position: sticky; top: calc(var(--top) + 16px); }
.fx-sline { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-m); } .fx-sline:last-child { border-bottom: 0; } .fx-sline > span:first-child { color: var(--faint); } .fx-sline > span:last-child { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.fx-progress { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 12px; }
.fx-progress span { height: 4px; border-radius: 2px; background: var(--line); } .fx-progress span.on { background: var(--ink-3); } .fx-progress span.cur { background: var(--acc); }
.fx-progress-l { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; font-size: 11px; color: var(--faint); margin-top: 4px; } .fx-progress-l span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.fx-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fx-photo { aspect-ratio: 4 / 3; border: 1px dashed var(--line-3); border-radius: var(--r2); display: grid; place-items: center; color: var(--faint); font-size: var(--fs-s); text-align: center; padding: 6px; background: var(--sunk); cursor: pointer; }
.fx-photo--img { border-style: solid; background: linear-gradient(135deg, #3a3f46, #23262a); color: #cfd3d8; }
.fx-sig { height: 70px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--sunk); display: grid; place-items: center; color: var(--faint); }
.fx-sig svg { width: 160px; height: 50px; stroke: var(--text); fill: none; stroke-width: 1.6; }
.fx-scan { display: flex; gap: 8px; }
.fx-hint { display: flex; gap: 8px; align-items: center; font-size: var(--fs-s); color: var(--faint); }

/* 9. Giriş ekranı (yönetici) */
.fx-login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); background: var(--surface); }
.fx-login__art { background: var(--ink); color: var(--ink-text); padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.fx-login__art h2 { color: var(--ink-hi); font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; font-stretch: 94%; max-width: 16ch; } .fx-login__art h2 em { font-style: normal; color: var(--acc); }
.fx-login__art p { max-width: 46ch; margin-top: 12px; font-size: var(--fs-b); }
.fx-plate { border: 1px solid var(--ink-line); border-radius: var(--r3); display: grid; }
.fx-plate > div { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--ink-line); font-size: var(--fs-m); } .fx-plate > div:last-child { border: 0; }
.fx-plate .fx-tag { background: transparent; color: var(--ink-hi); border-color: var(--ink-line); }
.fx-login__form { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 40px 56px; max-width: 520px; }
.fx-login__form h1 { font-size: var(--fs-2); }
.fx-login__form form { display: grid; gap: 14px; }
.fx-login__hint { color: var(--faint); font-size: var(--fs-s); }

/* 10. Müşteri portalı ------------------------------------------------- */
.fx-body--cust { --c-max: 1120px; background: #f6f5f2; }
.fx-c-top { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.hkd-rib ~ .fx-c .fx-c-top { top: var(--rib, 0px); }
.fx-c-top__in { max-width: var(--c-max); margin: 0 auto; height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 20px; }
.fx-c-top__in > div b { display: block; font-size: var(--fs-b); font-weight: 640; line-height: 1.15; } .fx-c-top__in > div small { color: var(--faint); font-size: 11.5px; }
.fx-c-body { max-width: var(--c-max); margin: 0 auto; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 24px 20px 64px; }
.fx-c-side { position: sticky; top: 80px; align-self: start; display: grid; gap: 1px; }
.hkd-rib ~ .fx-c .fx-c-side { top: calc(var(--rib, 0px) + 80px); }
.fx-c-side p { font-size: 11px; font-weight: 600; color: var(--faint); letter-spacing: .05em; text-transform: uppercase; padding: 14px 10px 4px; } .fx-c-side p:first-child { padding-top: 0; }
.fx-c-side a { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 6px; text-decoration: none; color: var(--muted); font-size: var(--fs-b); }
.fx-c-side a:hover { background: rgba(0,0,0,.04); color: var(--text); } .fx-c-side a.on { background: var(--surface); color: var(--text); font-weight: 560; box-shadow: 0 0 0 1px var(--line); } .fx-c-side a.on .fx-i { color: var(--acc); }
.fx-c-side a em { margin-left: auto; font: 600 11px/1 var(--mono); font-style: normal; background: var(--acc); color: #fff; padding: 3px 6px; border-radius: 9px; }
.fx-c-view { min-width: 0; outline: none; }
.fx-c-view .fx-ph h1 { font-size: 22px; }
.fx-c-tabs { display: none; }
.fx-hero { background: var(--ink); color: var(--ink-text); border-radius: var(--r3); padding: 20px; display: grid; gap: 14px; }
.fx-hero small { color: #9aa0a8; font-size: var(--fs-s); }
.fx-hero h2 { color: #fff; font-size: 20px; font-weight: 600; } .fx-hero p { color: var(--ink-text); }
.fx-hero .fx-tag { background: transparent; color: #fff; border-color: var(--ink-line); }
.fx-hero__st { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fx-hero .fx-progress span { background: var(--ink-3); } .fx-hero .fx-progress span.on { background: #9aa0a8; } .fx-hero .fx-progress span.cur { background: var(--acc); }
.fx-hero .fx-progress-l { color: #8b9098; }
.fx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.fx-dcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); padding: 14px; display: grid; gap: 10px; text-decoration: none; color: inherit; align-content: start; }
a.fx-dcard:hover { border-color: var(--line-3); }
.fx-dcard__t { display: flex; gap: 10px; align-items: center; } .fx-dcard__t > div { min-width: 0; flex: 1; } .fx-dcard__t b { display: block; font-size: var(--fs-b); font-weight: 600; } .fx-dcard__t small { color: var(--faint); font-size: var(--fs-s); }
.fx-dico { width: 38px; height: 38px; border-radius: 8px; background: var(--b-ink); display: grid; place-items: center; color: var(--muted); flex: none; }
.fx-dico .fx-i { width: 20px; height: 20px; }
.fx-approve { display: grid; gap: 12px; }
.fx-optline { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px dashed var(--line-3); border-radius: var(--r2); cursor: pointer; background: var(--sunk); }
.fx-optline input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--acc); } .fx-optline > span { flex: 1; } .fx-optline b { display: block; font-weight: 560; } .fx-optline small { color: var(--faint); }
.fx-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.fx-slots button { height: 36px; border: 1px solid var(--line-2); border-radius: var(--r2); background: var(--surface); cursor: pointer; font: 500 13px var(--font); font-variant-numeric: tabular-nums; } .fx-slots button:hover { border-color: var(--line-3); } .fx-slots button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); } .fx-slots button[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.fx-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.fx-days button { flex: none; width: 64px; padding: 8px 0; border: 1px solid var(--line-2); border-radius: var(--r2); background: var(--surface); cursor: pointer; display: grid; gap: 2px; font-size: var(--fs-s); color: var(--muted); } .fx-days button b { font-size: var(--fs-l); color: var(--text); } .fx-days button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); } .fx-days button[disabled] { opacity: .4; }
.fx-clogin { min-height: calc(100vh - var(--rib, 0px)); display: grid; place-items: center; padding: 24px 16px; }
.fx-clogin__box { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: grid; gap: 20px; }
.fx-clogin__brand { display: flex; align-items: center; gap: 10px; } .fx-clogin__brand b { display: block; font-size: var(--fs-l); } .fx-clogin__brand small { color: var(--faint); }
.fx-clogin h1 { font-size: 22px; } .fx-clogin form { display: grid; gap: 14px; }
.fx-ticket { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: var(--sunk); border-radius: var(--r2); color: var(--muted); font-size: var(--fs-s); }

/* 11. Duyarlı --------------------------------------------------------- */
@media (max-width: 1360px) {
  .fx-grid--main, .fx-detail { grid-template-columns: minmax(0, 1fr) 300px; }
  .fx-flow a { padding: 10px 12px; } .fx-flow a b { font-size: 21px; }
}
@media (max-width: 1180px) {
  .fx-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fx-flow a:nth-child(4) { border-right: 0; } .fx-flow a:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 1100px) {
  .fx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-kabul, .fx-posl { grid-template-columns: minmax(0, 1fr); } .fx-receipt, .fx-cart { position: static; }
  .fx-detail, .fx-grid--main { grid-template-columns: minmax(0, 1fr); } .fx-side { position: static; }
}
@media (max-width: 920px) {
  .fx-shell { grid-template-columns: minmax(0, 1fr); }
  .fx-rail { position: fixed; left: 0; top: 0; bottom: 0; width: 272px; transform: translateX(-100%); transition: transform .2s; z-index: 9005; height: 100dvh; }
  .hkd-rib ~ .fx-app .fx-rail { top: 0; height: 100dvh; }
  .fx-rail.on { transform: none; box-shadow: 20px 0 60px rgba(0,0,0,.35); }
  .fx-railscrim { position: fixed; inset: 0; z-index: 9004; background: rgba(0,0,0,.3); }
  .fx-top__burger { display: inline-flex; }
  .fx-top { padding: 0 12px; }
  .fx-cmdk { width: auto; flex: 1; }
  .fx-pagewrap { padding: 14px 16px 40px; }
  .fx-set { grid-template-columns: minmax(0, 1fr); } .fx-setnav { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; } .fx-setnav p { display: none; } .fx-setnav a { flex: none; white-space: nowrap; }
  .fx-setrow { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fx-inbox { grid-template-columns: minmax(0, 1fr); height: auto; } .fx-inbox__l { max-height: 280px; border-right: 0; border-bottom: 1px solid var(--line); } .fx-thread__b { min-height: 300px; }
  .fx-grid--2, .fx-grid--side { grid-template-columns: minmax(0, 1fr); }
  .fx-login { grid-template-columns: minmax(0, 1fr); } .fx-login__art { display: none; } .fx-login__form { padding: 32px 20px; margin: 0 auto; width: 100%; }
}
@media (max-width: 760px) {
  .fx-cmdk kbd, .fx-top__new span, .fx-top__brh { display: none; }
  .fx-top__new { width: 32px; padding: 0; flex: none; } [data-fx-help] { display: none; }
  .fx-lt__ft { display: inline-flex; } .fx-lt__q { flex: 1; width: auto; } .fx-lt .fx-fsel { display: none; } .fx-lt.is-open .fx-fsel { display: block; }
  .fx-grid--3, .fx-form, .fx-kv, .fx-checklist { grid-template-columns: minmax(0, 1fr); }
  .fx-kv > div { grid-template-columns: 110px minmax(0, 1fr); }
  .fx-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fx-flow a { border-bottom: 1px solid var(--line); } .fx-flow a:nth-child(2n) { border-right: 0; }
  .fx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fx-stat { border-bottom: 1px solid var(--line); } .fx-stat > b { font-size: 19px; }
  .fx-ph h1 { font-size: 18px; } .fx-ph__a { width: 100%; } .fx-ph__a .fx-btn { flex: 1 1 auto; }
  .fx-lt__q { min-width: 0; } .fx-fsel { flex: 1 1 140px; } .fx-fsel .fx-select { max-width: none; width: 100%; }
  .fx-hsm { display: none; }
  .fx-pager__size { display: none; }
  .fx-drawer__b { padding: 14px; } .fx-drawer__h { padding: 12px 14px 0; }
  .fx-modal { padding: 12px; place-items: end center; } .fx-modal__box { max-height: 90vh; }
  .fx-photos { grid-template-columns: repeat(3, 1fr); }
  .fx-bars__r, .fx-bars__r:has(small) { grid-template-columns: minmax(80px, 36%) 1fr auto; } .fx-bars__r small { display: none; }
  .fx-doc { padding: 18px 16px; }
  .fx-c-body { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 96px; gap: 16px; }
  .fx-c-side { display: none; }
  .fx-c-top__in { padding: 0 16px; } .fx-c-top__in .fx-hide-m { display: none; }
  .fx-c-tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .fx-c-tabs a, .fx-c-tabs button { display: grid; justify-items: center; gap: 2px; padding: 8px 2px 7px; font-size: 11px; color: var(--muted); text-decoration: none; position: relative; background: none; border: 0; cursor: pointer; }
  .fx-c-tabs a.on { color: var(--acc-ink); } .fx-c-tabs a.on .fx-i { color: var(--acc); } .fx-c-tabs .fx-i { width: 20px; height: 20px; }
  .fx-c-tabs em { position: absolute; top: 4px; left: calc(50% + 6px); font: 600 9.5px/1 var(--mono); font-style: normal; background: var(--acc); color: #fff; padding: 2px 4px; border-radius: 8px; }
  .fx-bub { max-width: 88%; }
  .fx-cal { min-width: 640px; }
}
/* Telefon: tablolar yatay kaymaz, satırlar kart olur */
@media (max-width: 640px) {
  .fx-tablewrap { overflow: visible; }
  .fx-table, .fx-table tbody, .fx-table tfoot { display: block; width: 100%; }
  .fx-table thead { display: none; }
  .fx-table tbody tr, .fx-table tfoot tr { display: block; padding: 10px 14px; border-bottom: 1px solid var(--line); position: relative; }
  .fx-table tbody tr:last-child { border-bottom: 0; }
  .fx-table td { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: auto; min-height: 24px; padding: 1px 0; border: 0; max-width: none; white-space: normal; overflow: visible; min-width: 0; text-align: right; overflow-wrap: anywhere; }
  .fx-table td.fx-hsm, .fx-table td.fx-hxl { display: none; }
  .fx-table td[data-l]::before { content: attr(data-l); color: var(--faint); font-size: 11.5px; font-weight: 500; white-space: nowrap; text-align: left; flex: none; }
  .fx-table td > * { min-width: 0; }
  .fx-table tbody td:first-child, .fx-table tbody td.fx-cb + td { justify-content: flex-start; text-align: left; font-weight: 560; padding-bottom: 4px; }
  .fx-table tbody td:first-child::before, .fx-table tbody td.fx-cb + td::before, .fx-table td[data-l=""]::before { content: none; }
  .fx-table td.fx-cb { position: absolute; right: 14px; top: 10px; width: auto; min-height: 0; padding: 0; }
  .fx-table td.fx-cb + td { padding-right: 28px; }
  .fx-table td:empty { display: none; }
  .fx-table .sub { display: inline; margin: 0 0 0 6px; }
  .fx-table td.two { display: block; text-align: left; } .fx-table td.two::before { display: block; } .fx-table td.two .sub { display: block; margin: 1px 0 0; }
  .fx-table tfoot td { background: none; border: 0; }
  .fx-table tfoot td:first-child { font-weight: 650; justify-content: flex-start; }
  .fx-table tfoot td:not(:first-child):not([data-l])::before { content: none; }
  .fx-table tr.is-late td:first-child, .fx-table tr.is-acil td:first-child, .fx-table tr.is-low td:first-child { box-shadow: none; }
  .fx-table tr.is-late, .fx-table tr.is-low { box-shadow: inset 3px 0 0 var(--c-red); } .fx-table tr.is-acil { box-shadow: inset 3px 0 0 var(--acc); }
  .fx-table td .fx-select--sm { width: auto !important; }
  .fx-perm, .fx-perm tbody { display: block; } .fx-perm thead { display: none; }
  .fx-perm tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .fx-perm td { border: 0; padding: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; text-align: left !important; }
  .fx-perm td:first-child { grid-column: 1 / -1; font-weight: 560; font-size: 13px; } .fx-perm td.g { padding: 4px 0; }
  .fx-perm td[data-l]::after { content: attr(data-l); color: var(--muted); }
  .fx-lines, .fx-lines tbody { display: block; } .fx-lines thead { display: none; }
  .fx-lines tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .fx-lines td { border: 0; padding: 0; } .fx-lines td:first-child { flex: 1 1 100%; } .fx-lines td.r { margin-left: auto; }
  .fx-lines td[data-l]::before { content: attr(data-l) " "; color: var(--faint); font-size: 11px; }
  .fx-lines td .fx-input { width: 96px !important; }
  .fx-lines td:first-child .fx-input { width: 100% !important; }
  .fx-cal { display: none; } .fx-agenda { display: block !important; }
  .fx-cal__ad { display: none; }
}
.fx-agenda { display: none; }
@media (prefers-reduced-motion: reduce) { .fx-body * { transition: none !important; animation: none !important; } }

/* Kabuk: web sitesi bağlantısı (dar ekranda yalnız ikon) */
@media (max-width: 1100px) { .fx-top__site span { display: none; } .fx-top__site { width: 32px; padding: 0; flex: none; } }
@media (max-width: 640px) { .fx-top__site { display: none; } }
