/* Yeşiloğlu İK — demo stilleri. Dış font/CDN yok; sistem yazı tipleri kullanılır. */
:root {
  color-scheme: light;
  --bg: #f3f5f9; --surface: #fff; --surface2: #f8f9fc; --line: #e2e6ee; --line2: #eef1f6;
  --ink: #111b2e; --ink2: #44506a; --ink3: #75809a;
  --navy: #16233f; --navy2: #243a66;
  --accent: #03935A; --accent-soft: #e3f3ec;
  --ok: #0f7a52; --ok-bg: #e0f3ea; --warn: #8f5200; --warn-bg: #fff0d1; --bad: #b3261e; --bad-bg: #fde7e4;
  --info: #1f56c4; --info-bg: #e6eeff; --na: #5d687f; --na-bg: #eceff5;
  --holiday: #6d28c4; --holiday-bg: #efe4fb; --temp: #0a7a83; --temp-bg: #dcf2f3;
  --leave: #2a7f3a; --leave-bg: #e1f3e4; --sick: #b0295f; --sick-bg: #fbe3ee; --absent: #8a1c1c; --absent-bg: #f8dada;
  --radius: 12px; --shadow: 0 1px 2px rgba(17, 27, 46, .05), 0 2px 8px rgba(17, 27, 46, .05);
  --banner-h: 38px; --top-h: 60px; --focus: #1f56c4;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h1 { font-size: 24px; letter-spacing: -.01em; }
h2 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.ico.big { width: 34px; height: 34px; color: var(--ink3); }
.muted { color: var(--ink3); } .tight { margin: 6px 0; } .grow { flex: 1; } .grow2 { flex: 2; }
.link { color: var(--info); font-weight: 600; } .link:hover { text-decoration: underline; }
.neg { color: var(--bad); } .pos { color: var(--ok); }
code { background: var(--na-bg); padding: 1px 6px; border-radius: 6px; font-size: 13px; }
small { font-size: 12.5px; }
[hidden] { display: none !important; }

/* ---- demo bandı ---- */
.banner { position: sticky; top: 0; z-index: 90; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 7px 16px; background: #fff3c7; border-bottom: 1px solid #ecd27a; color: #5a4200; font-size: 13px; }
.b-tag { background: #5a4200; color: #fff3c7; font-weight: 700; font-size: 11.5px; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; }
.b-txt { flex: 1; min-width: 220px; }
.b-btn { background: transparent; border: 1px solid #5a4200; color: #5a4200; border-radius: 999px; padding: 1px 10px; cursor: pointer; font-size: 12px; }
.b-more { flex-basis: 100%; font-size: 12.5px; padding-top: 4px; }

/* ---- kabuk ---- */
.shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: calc(100vh - var(--banner-h)); }
.sidebar { position: sticky; top: var(--banner-h); height: calc(100vh - var(--banner-h)); overflow-y: auto; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 16px 12px; gap: 14px; z-index: 50; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.brand-mark .ico { width: 22px; height: 22px; }
.brand-name { font-weight: 700; font-size: 14px; line-height: 1.2; color: var(--navy); }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink2); font-weight: 500; position: relative; min-height: 44px; }
.nav-item:hover { background: var(--surface2); color: var(--ink); }
.nav-item[aria-current="page"] { background: var(--accent-soft); color: var(--ink); font-weight: 650; box-shadow: inset 3px 0 0 var(--accent); }
.nav-item[aria-current="page"] .ico { color: var(--accent); }
.nbadge { margin-left: auto; background: var(--bad); color: #fff; font-size: 11.5px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 6px; }
.nbadge.pos { position: absolute; top: 2px; right: 0; margin: 0; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.tenant-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface2); display: flex; flex-direction: column; gap: 8px; }
.lbl { font-size: 11.5px; color: var(--ink3); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.lbl em { text-transform: none; letter-spacing: 0; font-style: normal; color: #8a5a00; }
.logo-crop { width: 184px; height: 23px; background: url("logo.svg") no-repeat left center; background-size: contain; }
.wordmark { font-weight: 800; font-size: 17px; color: var(--c); letter-spacing: -.01em; }
.content { min-width: 0; }
.topbar { position: sticky; top: var(--banner-h); z-index: 40; height: var(--top-h); display: flex; align-items: center; gap: 10px; padding: 0 24px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.spacer { flex: 1; }
.scope, .scope-lock { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: var(--surface); min-height: 40px; max-width: 280px; }
.scope select { border: 0; background: transparent; min-height: 38px; max-width: 220px; cursor: pointer; font-weight: 600; }
.scope-lock { font-weight: 600; color: var(--ink2); }
.demo-ctl { display: flex; gap: 8px; align-items: end; }
.demo-ctl label { display: flex; flex-direction: column; gap: 1px; }
.demo-ctl select { border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; background: var(--surface); min-height: 34px; max-width: 220px; }
.side-demo { display: none; }
.side-demo .demo-ctl { flex-direction: column; align-items: stretch; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid transparent; background: transparent; display: inline-grid; place-items: center; cursor: pointer; color: var(--ink2); position: relative; }
.icon-btn:hover { background: var(--surface2); border-color: var(--line); }
.only-mobile { display: none; }
.search-btn kbd, .pal-in kbd { font: 11px/1 ui-monospace, Consolas, monospace; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 2px 5px; color: var(--ink3); background: var(--surface2); }
.main { padding: 24px; max-width: 1400px; margin: 0 auto; outline: none; display: flex; flex-direction: column; gap: 16px; }
.scrim { display: none; }
.main > * { min-width: 0; max-width: 100%; }
#docResults { display: flex; flex-direction: column; gap: 16px; }

/* ---- bileşenler ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn:hover:not(:disabled) { background: var(--surface2); border-color: #cdd3df; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--navy2); border-color: var(--navy2); }
.btn-ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-ok:hover:not(:disabled) { background: #0b6444; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink2); }
.btn-sm { min-height: 32px; padding: 0 10px; font-size: 13.5px; border-radius: 8px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; line-height: 1.5; }
.chip .ico { width: 13px; height: 13px; }
.chip-ok { background: var(--ok-bg); color: var(--ok); } .chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-bad { background: var(--bad-bg); color: var(--bad); } .chip-info { background: var(--info-bg); color: var(--info); }
.chip-na { background: var(--na-bg); color: var(--na); } .chip-leave { background: var(--leave-bg); color: var(--leave); }
.chip-sick { background: var(--sick-bg); color: var(--sick); } .chip-absent { background: var(--absent-bg); color: var(--absent); }
.chip-temp { background: var(--temp-bg); color: var(--temp); } .chip-holiday { background: var(--holiday-bg); color: var(--holiday); }
.chip.strong { outline: 2px solid var(--bad); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; min-width: 0; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-h h2 small { font-weight: 400; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.grid2 > .span2 { grid-column: 1 / -1; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head .sub { margin: 4px 0 0; color: var(--ink3); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.h3 { font-size: 13.5px; margin: 16px 0 8px; color: var(--ink2); text-transform: uppercase; letter-spacing: .04em; }
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; margin: 10px 0; font-size: 14px; }
.callout .ico { margin-top: 2px; }
.callout-info { background: var(--info-bg); color: #163e91; } .callout-warn { background: var(--warn-bg); color: #6f4000; } .callout-bad { background: var(--bad-bg); color: #8c1d17; }
.empty { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty.sm { padding: 22px 12px; border: 0; background: transparent; } .empty p { margin: 0; color: var(--ink3); max-width: 520px; }
.locked { display: inline-flex; align-items: center; gap: 6px; color: var(--ink3); font-style: italic; }
.kv { display: grid; margin: 0; }
.kv > div { display: grid; grid-template-columns: minmax(130px, 40%) 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line2); }
.kv dt { color: var(--ink3); } .kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0; }
.tiles > div { background: var(--surface2); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.tiles span { font-size: 12.5px; color: var(--ink3); } .tiles b { font-size: 19px; }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line2); border-radius: 10px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line2); vertical-align: top; }
.tbl thead th { background: var(--surface2); font-size: 12.5px; color: var(--ink3); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl tbody th { font-weight: 600; background: transparent; text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 14px; }
.tbl td.act { white-space: nowrap; } .tbl td.act .btn { margin-right: 4px; }
.tbl tr.stub td { background: var(--surface2); }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.tab { background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font-weight: 600; color: var(--ink3); cursor: pointer; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.tab:hover { color: var(--ink); } .tab.on { color: var(--ink); border-bottom-color: var(--accent); }
.cnt { background: var(--na-bg); color: var(--na); border-radius: 999px; font-size: 12px; padding: 0 7px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: transparent; padding: 0 12px; min-height: 38px; cursor: pointer; font-weight: 600; color: var(--ink2); display: inline-flex; align-items: center; gap: 6px; }
.seg button.on { background: var(--navy); color: #fff; }
.monthnav { display: inline-flex; align-items: center; gap: 6px; } .monthnav strong { min-width: 118px; text-align: center; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.bar { display: flex; gap: 8px; margin: 8px 0 12px; }
.fld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fld > span { font-size: 12.5px; color: var(--ink3); font-weight: 600; }
.fld input, .fld select, .fld textarea, .filters .search input, .inline input { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--surface); min-height: 40px; width: 100%; }
.fld textarea { resize: vertical; }
.mini { width: 72px !important; min-height: 32px !important; margin-left: 8px; }
.check, .radio { display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 36px; }
.check input, .radio input[type=radio] { width: 18px; height: 18px; accent-color: var(--accent); }
.fs { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px 10px; margin: 0 0 12px; min-width: 0; }
.fs legend { font-size: 12.5px; color: var(--ink3); font-weight: 600; padding: 0 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint { color: var(--ink3); display: flex; gap: 6px; align-items: center; margin-top: 2px; }
.plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.plain > li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line2); flex-wrap: wrap; }
.plain > li:last-child { border-bottom: 0; }
.plain a, .plain-s { display: flex; align-items: center; gap: 10px; min-width: 0; }
.plain a:hover b { text-decoration: underline; }
.plain small { display: block; color: var(--ink3); } .plain b { font-weight: 600; }
.plain.big > li { padding: 12px 0; }
.row-act { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feed li { display: flex; gap: 10px; } .feed .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex: none; }
.feed p { margin: 2px 0; } .feed small { color: var(--ink3); }
.avatar { --s: 40px; width: var(--s); height: var(--s); border-radius: 50%; flex: none; display: inline-grid; place-items: center; font-weight: 700; font-size: calc(var(--s) * .36); color: hsl(var(--h) 55% 24%); background: hsl(var(--h) 60% 90%); border: 1px solid hsl(var(--h) 45% 80%); }
.avatar.xs { --s: 22px; } .avatar.sm { --s: 32px; } .avatar.lg { --s: 48px; } .avatar.xl { --s: 72px; }

/* ---- genel bakış ---- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; box-shadow: var(--shadow); }
.kpi:hover { border-color: #c7cfdd; }
.kpi .ico { grid-row: span 3; width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--surface2); color: var(--ink2); }
.kpi-v { font-size: 26px; font-weight: 750; line-height: 1.1; } .kpi-l { font-weight: 600; font-size: 13.5px; } .kpi-s { color: var(--ink3); font-size: 12.5px; }
.tone-bad .ico { background: var(--bad-bg); color: var(--bad); } .tone-warn .ico { background: var(--warn-bg); color: var(--warn); }
.tone-ok .ico { background: var(--ok-bg); color: var(--ok); } .tone-leave .ico { background: var(--leave-bg); color: var(--leave); }
.tasks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.tasks li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line2); flex-wrap: wrap; }
.tasks li:last-child { border-bottom: 0; } .t-main small { display: block; color: var(--ink3); } .t-act { display: flex; gap: 6px; }
.heat th, .heat td { white-space: nowrap; }
.hm { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 8px; font-weight: 600; font-size: 13px; }
.hm .ico { width: 14px; height: 14px; }
.hm-ok { background: var(--ok-bg); color: var(--ok); } .hm-bad { background: var(--bad-bg); color: var(--bad); } .hm-warn { background: var(--warn-bg); color: var(--warn); } .hm-na { background: var(--na-bg); color: var(--na); }

/* ---- personeller ---- */
.filters { display: flex; flex-direction: column; gap: 12px; }
.filters .search { display: flex; align-items: center; gap: 8px; position: relative; }
.filters .search .ico { position: absolute; left: 12px; color: var(--ink3); }
.filters .search input { padding-left: 38px; min-height: 44px; }
.f-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.f-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.count { margin: 0 0 8px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 14px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.pcard:hover { border-color: var(--accent); transform: translateY(-1px); }
.pcard.limited { background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 10px, var(--surface2) 10px, var(--surface2) 20px); }
.pc-top { display: flex; align-items: center; gap: 12px; } .pc-id { flex: 1; min-width: 0; } .pc-id h3 { font-size: 16px; }
.pc-org { color: var(--ink2); font-size: 13.5px; }
.pc-temp { display: flex; gap: 6px; align-items: center; background: var(--temp-bg); color: var(--temp); border-radius: 8px; padding: 4px 8px; font-size: 13px; font-weight: 600; }
.pc-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0; }
.pc-stats > div { background: var(--surface2); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; }
.pc-stats dt { font-size: 12px; color: var(--ink3); display: flex; align-items: center; gap: 4px; } .pc-stats dt .ico { width: 14px; height: 14px; }
.pc-stats dd { margin: 0; font-weight: 700; font-size: 16px; } .pc-stats small { color: var(--ink3); font-size: 12px; }
.pc-stats.three { grid-template-columns: repeat(3, 1fr); }
.pc-warns { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.pc-warns li, .alerts li { display: flex; gap: 6px; align-items: flex-start; } .pc-warns .ico, .alerts .ico { width: 15px; height: 15px; margin-top: 3px; }
.w-warn { color: var(--warn); } .w-bad { color: var(--bad); } .w-info { color: var(--info); } .pc-warns .more { color: var(--ink3); padding-left: 21px; }
.pc-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; color: var(--ink3); font-size: 13px; margin-top: auto; }
.plist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prow { display: grid; grid-template-columns: 40px 1.4fr 1.6fr 1.2fr 1fr .9fr .8fr; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line2); }
.prow:last-child { border-bottom: 0; } a.prow:hover { background: var(--surface2); }
.prow.head { font-size: 12.5px; color: var(--ink3); text-transform: uppercase; letter-spacing: .04em; background: var(--surface2); font-weight: 600; }
.pr-n small { display: block; color: var(--ink3); }
.back { display: inline-flex; gap: 4px; align-items: center; color: var(--ink2); font-weight: 600; align-self: flex-start; }
.phead { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ph-main { flex: 1; min-width: 220px; } .ph-main p { margin: 2px 0; } .ph-org { color: var(--ink2); }
.ph-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; } .ph-act { display: flex; gap: 8px; flex-wrap: wrap; }
.p-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.p-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; } .p-side { position: sticky; top: calc(var(--banner-h) + var(--top-h) + 12px); }
.alerts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.timeline li { position: relative; padding-left: 18px; } .tl-dot { position: absolute; left: -22px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.tl-temp .tl-dot { border-color: var(--temp); } .tl-holiday .tl-dot { border-color: var(--holiday); } .tl-leave .tl-dot { border-color: var(--leave); } .tl-na .tl-dot { border-color: var(--na); }
.tl-h { display: flex; gap: 6px; margin-bottom: 4px; } .tl-b p { margin: 2px 0; }
.dm th:not(:first-child), .dm td { text-align: center; } .dm tbody th { white-space: nowrap; }
.dm-c { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; }
.dm-c .ico { width: 16px; height: 16px; }
.dm-ok { background: var(--ok-bg); color: var(--ok); } .dm-bad { background: var(--bad-bg); color: var(--bad); } .dm-warn { background: var(--warn-bg); color: var(--warn); } .dm-na { background: var(--na-bg); color: var(--na); }

/* ---- takvim ---- */
.cal-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cal-head, .cal-body { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-head span { padding: 8px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink3); background: var(--surface2); border-bottom: 1px solid var(--line); }
.cal-cell { position: relative; min-height: 96px; border: 0; border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); background: var(--surface); padding: 6px 7px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.cal-cell.blank { background: var(--surface2); cursor: default; }
.cal-cell:hover:not(.blank) { background: #f7faff; }
.cal-cell.is-we { background: #fafbfd; } .cal-cell.is-hol { background: var(--holiday-bg); }
.cal-cell.is-today .cc-n { background: var(--navy); color: #fff; }
.cal-cell.is-sel { box-shadow: inset 0 0 0 2px var(--accent); }
.cc-n { align-self: flex-start; font-weight: 700; min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 13.5px; }
.cc-h { font-size: 11.5px; color: var(--holiday); font-weight: 700; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cc-l { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; }
.cc-l i { font-style: normal; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: var(--info-bg); color: var(--info); }
.cc-l i .ico { width: 12px; height: 12px; } .cc-l i.w { background: var(--bad-bg); color: var(--bad); } .cc-l i.l { background: var(--leave-bg); color: var(--leave); }
.grid-wrap { position: relative; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); max-height: 70vh; }
.sched { border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.sched th, .sched td { padding: 0; border-bottom: 1px solid var(--line2); border-right: 1px solid var(--line2); text-align: center; }
.sched thead th { position: sticky; top: 0; z-index: 2; background: var(--surface2); min-width: 34px; height: 44px; }
.sched thead th span { display: block; font-weight: 700; } .sched thead th small { color: var(--ink3); font-size: 11px; }
.sched .h-hol { background: var(--holiday-bg); color: var(--holiday); } .sched .h-we { background: #eef1f6; } .sched .h-today { box-shadow: inset 0 -3px 0 var(--navy); }
.sched th.sticky { position: sticky; left: 0; z-index: 3; background: var(--surface); text-align: left; min-width: 190px; max-width: 190px; padding: 4px 10px; box-shadow: 1px 0 0 var(--line); }
.sched thead th.sticky { z-index: 4; background: var(--surface2); }
.sched th.sticky a { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; } .sched th.sticky span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.g { width: 34px; height: 30px; border: 0; background: transparent; cursor: pointer; font-weight: 700; font-size: 12px; color: var(--ink2); }
button.g.sel { outline: 2px solid var(--navy); outline-offset: -2px; }
.g-work { background: var(--info-bg) !important; color: var(--info) !important; } .g-ot { background: #ffe4b5 !important; color: #7a4300 !important; }
.g-pend { background: repeating-linear-gradient(135deg, var(--warn-bg), var(--warn-bg) 4px, #fff 4px, #fff 8px) !important; color: var(--warn) !important; }
.g-hol { background: var(--holiday-bg) !important; color: var(--holiday) !important; box-shadow: inset 0 0 0 2px var(--bad); }
.g-conf { background: var(--bad-bg) !important; color: var(--bad) !important; border: 2px dashed var(--bad) !important; }
.g-tmpwp, .g-temp { background: var(--temp-bg) !important; color: var(--temp) !important; } .g-tmpwp { box-shadow: inset 0 -3px 0 var(--temp); }
.g-plan { color: var(--ink3) !important; } .g-none { color: #c0c6d3 !important; background: var(--surface2) !important; }
.g-rest { background: var(--na-bg) !important; color: var(--na) !important; } .g-holiday { background: var(--holiday-bg) !important; color: var(--holiday) !important; }
.g-leave { background: var(--leave-bg) !important; color: var(--leave) !important; } .g-unpaid { background: #e8f0d8 !important; color: #4d6a14 !important; } .g-half { background: #e1f3e4 !important; color: var(--leave) !important; }
.g-sick { background: var(--sick-bg) !important; color: var(--sick) !important; } .g-absent { background: var(--absent-bg) !important; color: var(--absent) !important; }

/* ---- bildirimler / şirketler ---- */
.notifs { list-style: none; margin: 0; padding: 0; }
.notifs > li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; padding: 14px 8px; border-bottom: 1px solid var(--line2); align-items: start; }
.notifs > li:last-child { border-bottom: 0; } .notifs > li.unread { background: #f7faff; box-shadow: inset 3px 0 0 var(--accent); }
.n-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--surface2); display: grid; place-items: center; color: var(--ink2); }
.n-b p { margin: 2px 0; } .n-a { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; } .n-btns { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.org-wp { border-top: 1px solid var(--line2); padding: 12px 0 4px; } .org-wh { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; } .org-wh b { display: flex; gap: 6px; align-items: center; }
.org-d { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; } form.inline { display: flex; gap: 8px; margin-bottom: 8px; } form.inline input { max-width: 260px; }
.prose p, .prose li { max-width: 78ch; } .prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* ---- çekmece / modal / palet ---- */
.overlay { position: fixed; inset: 0; background: rgba(17, 27, 46, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); z-index: 100; }
.drawer, .modal, .palette { position: fixed; z-index: 110; background: var(--surface); box-shadow: 0 10px 40px rgba(17, 27, 46, .3); }
.drawer { top: 0; right: 0; bottom: 0; width: min(520px, 100%); display: flex; flex-direction: column; }
.modal-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-b { padding: 16px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.drawer-f { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 8px; padding: 12px 0 0; background: var(--surface); margin-top: auto; }
.modal { top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; border-radius: 16px; }
.modal-b { padding: 16px 18px; } .modal-f { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
.picklist { max-height: 210px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.pick { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; min-height: 44px; } .pick:hover { background: var(--surface2); }
.pick input { width: 18px; height: 18px; accent-color: var(--accent); } .pick small { display: block; color: var(--ink3); }
.preview { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface2); display: flex; flex-direction: column; gap: 8px; }
.pv-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; } .pv-top span { color: var(--ink3); }
.pv-row { background: var(--surface); border: 1px solid var(--line2); border-radius: 10px; padding: 8px 10px; }
.pv-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .pv-m { font-size: 13.5px; margin-top: 4px; } .pv-l { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink2); }
.palette { top: 12vh; left: 50%; transform: translateX(-50%); width: min(620px, calc(100% - 24px)); border-radius: 16px; overflow: hidden; }
.pal-in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); } .pal-in input { flex: 1; border: 0; outline: 0; font-size: 16px; background: transparent; }
.pal-res { max-height: 56vh; overflow-y: auto; padding: 6px; } .pal-sec { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink3); padding: 10px 10px 4px; font-weight: 700; }
.pal-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 10px; background: transparent; border: 0; text-align: left; cursor: pointer; min-height: 44px; } .pal-item:hover { background: var(--surface2); } .pal-item small { display: block; color: var(--ink3); } .pal-empty { padding: 20px; text-align: center; color: var(--ink3); }
.toasts { position: fixed; z-index: 200; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100% - 32px)); }
.toast { background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); font-size: 14px; animation: tin .2s ease-out; }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }
.bottomnav { display: none; }

/* ---- duyarlı ---- */
@media (max-width: 1100px) {
  .p-grid { grid-template-columns: 1fr; } .p-side { position: static; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: var(--banner-h); bottom: 0; height: auto; width: 290px; max-width: 86vw; transform: translateX(-102%); transition: transform .2s; box-shadow: 6px 0 24px rgba(0, 0, 0, .18); }
  .nav-open .sidebar { transform: none; } .nav-open .scrim { display: block; position: fixed; inset: 0; top: var(--banner-h); background: rgba(17, 27, 46, .4); z-index: 45; }
  .only-mobile { display: inline-grid; } .top-demo { display: none; } .side-demo { display: block; }
  .topbar { padding: 0 12px; } .main { padding: 16px 14px 96px; }
  .prow { grid-template-columns: 40px 1fr auto; } .prow.head { display: none; } .pr-o, .pr-p, .pr-h { display: none; } .pr-d { display: none; }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .bottomnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
  .bottomnav a, .bottomnav button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; font-size: 11.5px; color: var(--ink3); background: transparent; border: 0; position: relative; font-weight: 600; cursor: pointer; }
  .bottomnav [aria-current="page"] { color: var(--accent); }
  .cal-cell { min-height: 58px; padding: 4px; } .cc-h { display: none; } .cc-l i { font-size: 11px; padding: 0 4px; } .cc-l i .ico { display: none; }
  .row2 { grid-template-columns: 1fr; } .kv > div { grid-template-columns: 1fr; gap: 2px; } h1 { font-size: 21px; }
  .notifs > li { grid-template-columns: 1fr; } .n-ic { display: none; } .n-a { align-items: flex-start; } .n-btns { justify-content: flex-start; }
  .scope select { max-width: 150px; } .toasts { bottom: 76px; } .pc-stats { grid-template-columns: repeat(2, 1fr); } .cards { grid-template-columns: 1fr; }
  .drawer { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media print { .banner, .sidebar, .topbar, .bottomnav { display: none; } }

/* ---- v2: Yeşiloğlu İK ---- */
.brand { flex-direction: column; align-items: flex-start; gap: 2px; padding: 4px 6px 0; }
.brand-sub { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.nav-grp { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); padding: 12px 12px 2px; }
.nav-grp:first-child { padding-top: 2px; }
.newmenu-wrap { position: relative; }
.newmenu { position: absolute; right: 0; top: calc(100% + 6px); width: 292px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(17, 27, 46, .22); padding: 6px; z-index: 70; display: flex; flex-direction: column; }
.newmenu button { display: flex; gap: 10px; align-items: center; text-align: left; padding: 9px 10px; border-radius: 9px; border: 0; background: transparent; cursor: pointer; min-height: 48px; }
.newmenu button:hover { background: var(--surface2); }
.newmenu small, .qa small, .mode small { display: block; color: var(--ink3); font-weight: 400; }
.cnt-b { background: var(--bad); color: #fff; border-radius: 999px; font-size: 11.5px; font-weight: 700; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; margin-left: 4px; }
.quick-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.qa { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; text-align: left; box-shadow: var(--shadow); min-height: 60px; }
.qa:hover { border-color: var(--accent); }
.qa .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex: none; }
/* işlem sonucu kutuları */
.toast { background: var(--navy); border-left: 5px solid var(--accent); display: flex; flex-direction: column; gap: 6px; }
.toast.t-warn { border-left-color: #f0a000; } .toast.t-bad { border-left-color: #e5483e; }
.ts-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ts-x { background: transparent; border: 0; color: #cfd6e6; cursor: pointer; padding: 0; width: 24px; height: 24px; display: grid; place-items: center; flex: none; }
.toast ul { margin: 0; padding-left: 18px; color: #dfe5f2; font-size: 13.5px; display: flex; flex-direction: column; gap: 2px; }
.ts-a { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; } .ts-a:empty { display: none; }
.res-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.res-list > li { border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.res-list > li.t-warn { border-left-color: #f0a000; }
.rl-h { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .rl-h small { color: var(--ink3); }
.res-list ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--ink2); }
/* hızlı kayıt */
.qs { display: flex; flex-direction: column; gap: 8px; }
.qh { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.qn { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-grid; place-items: center; font-size: 12px; }
.drawer-b input[type=search], .drawer-b input[type=date], .drawer-b input[type=number], .drawer-b input[type=time], .drawer-b input:not([type]), .drawer-b input[type=text] { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--surface); min-height: 40px; max-width: 100%; }
#qSearch { width: 100%; }
.chips-in { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chipbtn { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 11px; min-height: 32px; cursor: pointer; font-weight: 600; font-size: 13px; color: var(--ink2); }
.chipbtn:hover, .chipbtn.on { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
.chipbtn small { color: var(--ink3); margin-left: 3px; }
.sel-chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; align-items: center; }
.selchip { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 3px 8px 3px 12px; font-weight: 600; font-size: 13px; cursor: pointer; }
.selchip .ico { width: 14px; height: 14px; } .selchip.fixed { padding: 3px 12px; cursor: default; }
.pick { width: 100%; text-align: left; border: 0; background: transparent; }
.pick .pk { margin-left: auto; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; flex: none; }
.pick.on { background: var(--accent-soft); } .pick.on .pk { background: var(--accent); border-color: var(--accent); color: #fff; }
.pick .pk .ico { width: 14px; height: 14px; }
.picklist { max-height: 230px; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mode { display: flex; gap: 8px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; min-height: 60px; }
.mode input { margin-top: 3px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.mode.on { border-color: var(--accent); background: var(--accent-soft); }
.qmore { border: 1px dashed var(--line); border-radius: 10px; padding: 8px 12px; } .qmore summary { cursor: pointer; font-weight: 600; color: var(--ink2); min-height: 32px; display: flex; align-items: center; }
.why { margin-right: auto; align-self: center; color: var(--bad); font-weight: 600; font-size: 13.5px; }
.drawer-f { align-items: center; }
/* yeni personel sihirbazı */
.steps { list-style: none; margin: 0; padding: 10px 18px; display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.steps li { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink3); }
.steps li span { width: 24px; height: 24px; border-radius: 50%; background: var(--na-bg); display: grid; place-items: center; font-size: 12px; flex: none; }
.steps li span .ico { width: 14px; height: 14px; }
.steps li.on { color: var(--ink); } .steps li.on span { background: var(--navy); color: #fff; } .steps li.done span { background: var(--accent); color: #fff; }
.np-body { display: flex; flex-direction: column; gap: 12px; }
/* diğer menüsü */
.more-menu { position: relative; } .more-menu summary { list-style: none; cursor: pointer; } .more-menu summary::-webkit-details-marker { display: none; }
.mm-list { position: absolute; right: 0; top: calc(100% + 4px); min-width: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(17, 27, 46, .22); padding: 4px; z-index: 30; display: flex; flex-direction: column; }
.mm-list button { display: flex; gap: 8px; align-items: center; border: 0; background: transparent; padding: 9px 10px; border-radius: 8px; cursor: pointer; text-align: left; min-height: 40px; font-weight: 600; }
.mm-list button:hover { background: var(--surface2); }
/* onay kutusu */
.ib-row { display: grid !important; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center !important; }
.ib-row input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.ib-who { display: flex; align-items: center; gap: 10px; min-width: 0; } .ib-who small { display: block; color: var(--ink3); }
.ib-day { margin-top: 6px; } .ib-dh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--line); }
.t-act { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.bulkbar { position: sticky; top: calc(var(--banner-h) + var(--top-h) + 8px); z-index: 20; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; box-shadow: var(--shadow); }
.bulkbar.on { border-color: var(--accent); background: var(--accent-soft); }
tr.off td { opacity: .55; text-decoration: line-through; } tr.off td.act, tr.off td:nth-child(6) { text-decoration: none; }
@media (max-width: 760px) {
  .modes { grid-template-columns: 1fr; } .newmenu { right: -60px; width: 270px; } .ib-row { grid-template-columns: 28px minmax(0, 1fr); } .ib-row .t-act { grid-column: 2; justify-content: flex-start; }
  .steps li { font-size: 0; gap: 0; justify-content: center; } .steps li.on { font-size: 13px; gap: 6px; } .quick-row { grid-template-columns: 1fr 1fr; }
  .bulkbar { top: calc(var(--banner-h) + var(--top-h) + 4px); }
}

/* ---- v2: üst çubuk sıkıştırma ve bildirim düğmeleri ---- */
.toast .btn { color: var(--ink); background: #fff; border-color: #fff; }
.toast .btn:hover:not(:disabled) { background: #e9eef8; }
.toast .btn-ghost { background: transparent; color: #fff; border-color: #6c7ea6; }
.topbar { gap: 8px; padding: 0 16px; }
.top-demo .lbl { display: none; }
.top-demo .demo-ctl select { max-width: 170px; min-height: 40px; font-weight: 600; }
.scope { max-width: 230px; }
@media (min-width: 1500px) { .top-demo .lbl { display: block; } .top-demo .demo-ctl select { min-height: 34px; } }
@media (max-width: 1360px) { .topbar .tb-txt, .topbar .tb-kbd { display: none; } }
@media (max-width: 1360px) { .topbar .search-btn, .topbar .btn.hide-sm { padding: 0 10px; } }

/* ---- v2: dar ekran üst çubuğu ---- */
.scope-lock { max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) { .tb-history { display: none; } .top-demo { display: none; } }
@media (max-width: 560px) {
  .scope select { max-width: 92px; } .scope { padding: 0 6px; } .scope-lock { max-width: 120px; font-size: 13px; }
  .newmenu-wrap .btn { padding: 0 11px; } .newmenu-wrap .btn span { display: none; }
  .topbar { gap: 4px; padding: 0 8px; } .newmenu { right: -40px; }
}

/* ---- v3: giriş ekranı, hesap kutusu, birim simgeleri ---- */
.uicon { width: 44px; height: 44px; flex: none; } .uicon.sm { width: 30px; height: 30px; }
.side-demo { display: block !important; }
.acct-box { display: flex; flex-direction: column; align-items: stretch; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: var(--surface2); }
.acct-box .uicon { align-self: flex-start; }
.acct-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; } .acct-t b { font-size: 13.5px; line-height: 1.25; overflow-wrap: anywhere; }
.login { max-width: 880px; margin: 0 auto; padding: 28px 16px 48px; }
.lg-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; } .lg-head h1 { font-size: 28px; }
.lg-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink2); background: var(--info-bg); border-radius: 10px; padding: 8px 10px; margin: 0; }
.lg-sec { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink3); margin: 20px 0 8px; }
.lg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.lg-tile { display: flex; align-items: center; gap: 12px; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 12px 14px; min-height: 68px; cursor: pointer; box-shadow: var(--shadow); }
.lg-tile:hover { border-color: var(--accent); background: var(--accent-soft); } .lg-tile b { display: block; line-height: 1.25; } .lg-tile small { color: var(--ink3); }
.newmenu a { display: flex; gap: 10px; align-items: center; text-align: left; padding: 9px 10px; border-radius: 9px; min-height: 48px; } .newmenu a:hover { background: var(--surface2); }

/* ---- v3: vardiya planı ---- */
.plan-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 12px; } .plan-bar .sch-unit select { min-height: 38px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: var(--surface); max-width: 280px; }
.plan-act { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.plan-open, .plan-warn { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 8px 12px; margin-bottom: 10px; } .plan-open summary, .plan-warn summary { cursor: pointer; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.plan-open[open], .plan-warn[open] { padding-bottom: 12px; }
.plan-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .tool-hint { flex-basis: 100%; margin: 0; font-size: 12.5px; color: var(--ink3); }
.tool { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 6px 12px 6px 8px; min-height: 48px; cursor: pointer; text-align: left; font-weight: 600; line-height: 1.2; }
.tool small { display: block; font-weight: 400; color: var(--ink3); } .tool.on { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); background: var(--surface2); }
.tpl-sw { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 9px; font-weight: 800; font-size: 13px; background: hsl(var(--h, 210) 70% 88%); color: hsl(var(--h, 210) 55% 24%); flex: none; }
.tpl-sw.sm { min-width: 24px; height: 24px; border-radius: 7px; font-size: 12px; } .tpl-sw.iz { background: var(--na-bg); color: var(--na); } .tpl-sw.clr { background: var(--bad-bg); color: var(--bad); }
.tpl-list { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.tpl-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 8px 10px; min-height: 52px; cursor: pointer; text-align: left; }
.tpl-row:hover { border-color: var(--accent); background: var(--accent-soft); } .tpl-t { display: flex; flex-direction: column; flex: 1; min-width: 0; } .tpl-t small { color: var(--ink3); } .tpl-st { display: flex; gap: 4px; flex-wrap: wrap; }
.cellx { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 6px; display: flex; flex-direction: column; gap: 8px; }
.off-chip { display: inline-flex; align-items: center; gap: 6px; } .off-chip input { width: 18px; height: 18px; }

.grid-wrap.plan { max-height: none; }
.plan-grid { width: 100%; }
.plan-grid th.sticky { min-width: 168px; max-width: 168px; }
.plan-grid thead th { min-width: 52px; } .plan-grid.month thead th { min-width: 36px; }
.plan-grid .tot { min-width: 84px; padding: 0 8px; font-size: 12px; color: var(--ink2); white-space: nowrap; text-align: right; background: var(--surface); }
.plan-grid tr.grp th { background: var(--surface2); text-transform: uppercase; letter-spacing: .05em; font-size: 11.5px; color: var(--ink3); padding: 4px 10px; max-width: none; left: 0; position: sticky; }
.pname { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 2px 0; text-align: left; font-weight: 600; font-size: 13px; cursor: pointer; width: 100%; }
.pname span { display: flex; flex-direction: column; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pname small { color: var(--ink3); font-weight: 400; font-size: 11.5px; }
.tagm { display: inline-flex; gap: 3px; align-items: center; font-size: 10.5px; color: var(--ink3); margin-right: 6px; } .tagm .ico { width: 11px; height: 11px; vertical-align: -1px; } .tagm.tm { color: var(--temp); }
.pc { width: 100%; min-height: 46px; border: 0; border-radius: 8px; margin: 2px; background: var(--surface2); color: var(--ink2); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; line-height: 1.1; }
.plan-grid td { padding: 1px; } .plan-grid.month .pc { min-height: 40px; margin: 1px; } .plan-grid.month .pc small { display: none; }
.pc b { font-size: 14px; } .pc small { font-size: 10.5px; color: inherit; opacity: .8; }
.pc-v { background: hsl(var(--h) 70% 90%); color: hsl(var(--h) 55% 22%); }
.pc-iz { background: var(--na-bg); color: var(--na); } .pc-izin { background: var(--leave-bg); color: var(--leave); } .pc-baska { background: var(--temp-bg); color: var(--temp); }
.pc-yok { background: transparent; color: #c0c6d3; } .pc-bos { background: transparent; border: 1px dashed var(--line); } .pc-add { color: var(--ink3); font-weight: 400 !important; }
.pc.draft { outline: 2px dashed var(--warn); outline-offset: -2px; } .pc.fixed { box-shadow: inset 0 -3px 0 rgba(17, 27, 46, .18); } .pc.hol { box-shadow: inset 0 3px 0 var(--holiday); }
.pc.pend { opacity: .55; } .pc.locked { cursor: not-allowed; } .pc.today { box-shadow: 0 0 0 2px var(--navy); }
.pc-f { position: absolute; top: 1px; right: 4px; font-style: normal; font-weight: 800; font-size: 11px; color: var(--warn); }
.foot-h th { background: var(--surface2); font-size: 11.5px; color: var(--ink3); text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px !important; }
.plan-grid td.zero { background: var(--bad-bg); color: var(--bad); font-weight: 700; }
@media (max-width: 760px) {
  .plan-act { margin-left: 0; width: 100%; } .plan-bar .monthnav strong { min-width: 96px; }
  .plan-grid th.sticky { min-width: 118px; max-width: 118px; font-size: 12px; } .pname small { display: none; } .plan-grid .tot { min-width: 70px; }
  .plan-grid thead th { min-width: 46px; } .pc small { display: none; } .tool { flex: 1 1 calc(50% - 8px); }
}
.chipbtn { position: relative; }
.vh { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chipbtn:has(input:checked), .chipbtn.on { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
.chipbtn:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.off-chip input { position: static; opacity: 1; width: 18px; height: 18px; pointer-events: auto; }

/* ---- v3: şirketler, vardiya bilgileri, yol ücreti ---- */
.org-wp { padding: 10px 0; border-top: 1px solid var(--line2); } .org-wp:first-of-type { border-top: 0; }
.org-wh { display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; } .org-wh b { display: flex; align-items: center; gap: 8px; }
.org-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
.dept { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin: 6px 0; padding: 0 10px; } .dept.off { opacity: .6; }
.dept summary { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; cursor: pointer; padding: 9px 0; min-height: 44px; }
.org-d { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 8px; } .dept .inline { padding-bottom: 6px; } .dept-act { display: flex; gap: 6px; padding-bottom: 8px; }
.chip-x { border: 0; background: transparent; color: var(--ink3); cursor: pointer; font-size: 15px; line-height: 1; padding: 0 0 0 4px; min-width: 22px; min-height: 22px; } .chip-x:hover { color: var(--bad); }
.icon-pick .chipbtn { padding: 4px 8px; }
.policy { padding: 12px 16px; margin-top: 12px; } .policy summary { cursor: pointer; display: flex; gap: 8px; align-items: center; min-height: 36px; }
.cnt-b { background: var(--warn-bg); color: var(--warn); border-radius: 999px; padding: 0 8px; font-size: 12px; font-weight: 700; }
@media (max-width: 760px) {
  .plan-tools { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-right: -4px; }
  .tool { flex: 0 0 auto; } .tool-hint { display: none; }
  .plan-open, .plan-warn { margin-bottom: 8px; }
}

/* ---- v3.1: sade, animasyonlu bildirim kutusu ---- */
.toasts { gap: 10px; align-items: flex-end; pointer-events: none; }
.toast { pointer-events: auto; position: relative; overflow: hidden; width: min(380px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 14px; padding: 12px 38px 15px 12px; box-shadow: 0 14px 34px rgba(17, 27, 46, .2), 0 2px 6px rgba(17, 27, 46, .08); display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; flex-direction: row; animation: toast-in .3s cubic-bezier(.2, .9, .3, 1.15) both; }
.toast.t-warn, .toast.t-bad { border-left: 1px solid var(--line); }
.toast.out { animation: toast-out .32s ease-in forwards; pointer-events: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(28px) scale(.95); } }
.ts-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); } .ts-ic .ico { width: 18px; height: 18px; }
.t-warn .ts-ic { background: var(--warn-bg); color: var(--warn); } .t-bad .ts-ic { background: var(--bad-bg); color: var(--bad); }
.ts-m { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .ts-m b { font-size: 14px; line-height: 1.3; } .ts-s { font-size: 13px; color: var(--ink2); line-height: 1.35; }
.toast .ts-x { position: absolute; top: 8px; right: 8px; color: var(--ink3); }
.ts-a { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.toast .btn { background: var(--surface2); border-color: var(--line); color: var(--ink); } .toast .btn:hover:not(:disabled) { background: var(--accent-soft); border-color: var(--accent); } .toast .btn-ghost { background: transparent; color: var(--ink2); border-color: transparent; }
.ts-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: left; animation-name: toast-bar; animation-timing-function: linear; animation-fill-mode: forwards; }
.t-warn .ts-bar { background: #f0a000; } .t-bad .ts-bar { background: var(--bad); }
@keyframes toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.toast:hover .ts-bar { animation-play-state: paused; }

/* ---- v3.1: Onay Kutusu ve Bildirimler ---- */
.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 0 6px 0 14px; min-height: 40px; cursor: pointer; font-weight: 600; color: var(--ink2); }
.fchip b { min-width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; background: var(--na-bg); color: var(--ink2); font-size: 12.5px; padding: 0 6px; }
.fchip:hover { border-color: var(--accent); } .fchip.on { background: var(--navy); border-color: var(--navy); color: #fff; } .fchip.on b { background: rgba(255, 255, 255, .2); color: #fff; }
.fc-cakisma:not(.on) b { background: var(--bad-bg); color: var(--bad); }
.ibx { padding: 4px 6px; } .ibx-l { list-style: none; margin: 0; padding: 0; }
.ibx-r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 8px; border-bottom: 1px solid var(--line2); }
.ibx-r:last-child { border-bottom: 0; } .ibx-r:hover { background: var(--surface2); border-radius: 10px; }
.ibx-r > input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); } .ibx-cb { width: 18px; }
.ibx-r:not(:has(> input, > .ibx-cb)) { grid-template-columns: minmax(0, 1fr) auto auto; }
.ibx-who { display: flex; align-items: center; gap: 12px; min-width: 0; } .ibx-t { display: flex; flex-direction: column; min-width: 0; } .ibx-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ibx-t small { color: var(--ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ibx-tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; } .ibx-a { display: flex; gap: 6px; }
.kind { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; letter-spacing: .02em; background: var(--na-bg); color: var(--na); }
.kind-izin { background: var(--leave-bg); color: var(--leave); } .kind-mesai { background: var(--warn-bg); color: var(--warn); } .kind-personel { background: var(--info-bg); color: var(--info); } .kind-belge { background: var(--holiday-bg); color: var(--holiday); } .kind-cakisma { background: var(--bad-bg); color: var(--bad); }
.ibx-r.k-cakisma { box-shadow: inset 3px 0 0 var(--bad); border-radius: 4px; }
.nt-g { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink3); margin: 14px 8px 4px; } .nt-g:first-child { margin-top: 4px; }
.nts { list-style: none; margin: 0; padding: 0; }
.nt { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 11px 8px; border-radius: 10px; }
.nt:hover { background: var(--surface2); } .nt.unread { background: #f4f9ff; } .nt.unread .nt-ic { background: var(--info-bg); color: var(--info); }
.nt-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--surface2); display: grid; place-items: center; color: var(--ink2); }
.nt-b p { margin: 2px 0 1px; color: var(--ink2); } .nt-b small { color: var(--ink3); } .nt.unread .nt-b b::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--info); margin-left: 8px; vertical-align: 1px; }
.nt-c { margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--ink3); } .nt-ok { margin-left: 8px; font-size: 12px; color: var(--ok); font-weight: 600; } .nt-ok .ico { width: 13px; height: 13px; }
.nt-a { display: flex; gap: 4px; align-items: center; }
@media (max-width: 760px) {
  .ibx-r { grid-template-columns: minmax(0, 1fr); gap: 8px; } .ibx-r > input[type=checkbox] { justify-self: start; } .ibx-tags { justify-content: flex-start; } .ibx-a { flex-wrap: wrap; }
  .ibx-r:not(:has(> input, > .ibx-cb)) { grid-template-columns: minmax(0, 1fr); }
  .nt { grid-template-columns: minmax(0, 1fr) auto; } .nt-ic { display: none; }
}

/* ---- v3.1: premium vardiya tablosu ---- */
.grid-wrap.plan { border-radius: 18px; box-shadow: 0 1px 2px rgba(17, 27, 46, .05), 0 8px 24px rgba(17, 27, 46, .06); border-color: var(--line); background: var(--surface); }
.plan-grid thead th { background: linear-gradient(180deg, #fcfdff, #f1f5fb); border-bottom: 1px solid var(--line); }
.plan-grid.week thead th { min-width: 98px; height: 66px; padding: 6px 4px; vertical-align: middle; }
.plan-grid.week thead th span { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.plan-grid.week thead th small { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.15; display: block; }
.plan-grid thead th .th-n { display: block; font-style: normal; font-size: 11px; color: var(--ink3); font-weight: 600; }
.plan-grid thead th.h-today { background: linear-gradient(180deg, var(--accent-soft), #e9f6f0); box-shadow: inset 0 -3px 0 var(--accent); } .plan-grid thead th.h-today small { color: var(--accent); }
.plan-grid td.we { background: #fafbfd; } .plan-grid td.td-today { background: #f3fbf7; }
.plan-grid th.sticky { min-width: 214px; max-width: 214px; box-shadow: 2px 0 0 var(--line2); }
.plan-grid tbody tr:hover td, .plan-grid tbody tr:hover th.sticky { background-color: #f7faff; }
.plan-grid.week .pc { min-height: 58px; border-radius: 12px; gap: 2px; margin: 3px 2px; transition: transform .12s, box-shadow .12s; }
.plan-grid.week .pc-v { background: hsl(var(--h) 80% 96%); color: hsl(var(--h) 55% 22%); border: 1px solid hsl(var(--h) 55% 84%); border-left: 5px solid hsl(var(--h) 62% 48%); }
.plan-grid.week .pc-v b { font-size: 16px; line-height: 1; } .plan-grid.week .pc-v small { font-size: 11.5px; font-weight: 650; letter-spacing: .01em; opacity: .95; }
.plan-grid.month .pc-v { background: hsl(var(--h) 80% 93%); border-left: 4px solid hsl(var(--h) 62% 48%); }
.plan-grid.week .pc-iz { background: repeating-linear-gradient(135deg, #f3f5f9, #f3f5f9 6px, #eceff5 6px, #eceff5 12px); border: 1px dashed #c5ccda; }
.plan-grid.week .pc-bos { border: 1.5px dashed #cfd6e4; background: #fcfdff; } .plan-grid.week .pc-bos:hover { border-color: var(--accent); background: var(--accent-soft); }
.pc:hover:not(.locked):not(.pc-yok) { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(17, 27, 46, .13); z-index: 1; }
.pc.painting { outline: 2px solid var(--accent); outline-offset: -2px; background: var(--accent-soft); }
.grid-wrap.tool-on .pc:not(.locked) { cursor: crosshair; } .grid-wrap.tool-on .pc { touch-action: none; user-select: none; -webkit-user-select: none; }
.plan-stats { color: var(--ink2); font-size: 13px; margin-left: 4px; } .plan-stats b { color: var(--ink); } .plan-stats b.warn { color: var(--warn); }
.tool-toggle { margin-left: auto; border-style: dashed; } .tool-toggle.on { border-style: solid; }
.tool { transition: box-shadow .12s, border-color .12s; } .tool:hover { border-color: var(--accent); }
.plan-tools .tpl-sw.sm { background: hsl(var(--h, 210) 75% 90%); }
.pname { font-size: 13.5px; } .pname .avatar { flex: none; }

/* ---- v3.1: Mesai Takvimi ---- */
.cal-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 12px 0 8px; }
.ck { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; border-left: 4px solid var(--line); box-shadow: var(--shadow); }
.ck span { font-size: 12px; color: var(--ink3); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; } .ck b { font-size: 22px; }
.ck-w { border-left-color: #3b82f6; } .ck-l { border-left-color: #2f9e57; } .ck-o { border-left-color: #e29a1a; } .ck-a { border-left-color: #e5483e; } .ck-n { border-left-color: #9a6bd8; } .ck-ok { border-left-color: #2f9e57; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 6px 0 12px; font-size: 12.5px; color: var(--ink2); } .cal-legend span { display: inline-flex; align-items: center; gap: 5px; } .cal-legend .ico { width: 14px; height: 14px; }
.cal-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--na-bg); } .cal-legend span:has(.ico)::before { display: none; }
.lg-w { color: #2a62c9; } .lg-l { color: var(--leave); } .lg-a { color: var(--warn); } .lg-r::before { background: #cdd3df !important; } .lg-n::before { background: #cdb4f0 !important; } .lg-h::before { background: var(--holiday-bg) !important; outline: 1px solid var(--holiday); }
.cal-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 16px; align-items: start; } .cal-side { position: sticky; top: calc(var(--banner-h) + var(--top-h) + 12px); }
.cm-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.cm-head, .cm-body { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); } .cm-head span { text-align: center; padding: 9px 4px; font-size: 12px; font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; background: var(--surface2); border-bottom: 1px solid var(--line); }
.cm { position: relative; min-height: 98px; border: 0; border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); background: var(--surface); padding: 7px 8px 10px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: background .12s; }
.cm.blank { background: var(--surface2); cursor: default; } .cm:hover:not(.blank) { background: #f4f9ff; }
.cm.is-we { background: #fafbfd; } .cm.is-hol { background: linear-gradient(180deg, var(--holiday-bg), #faf6fe); } .cm.is-past .cm-n { color: var(--ink3); }
.cm.is-today .cm-n { background: var(--accent); color: #fff; } .cm.is-sel { box-shadow: inset 0 0 0 2.5px var(--navy); z-index: 1; }
.cm-top { display: flex; align-items: center; gap: 6px; min-height: 26px; } .cm-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13.5px; flex: none; }
.cm-h { font-size: 10.5px; color: var(--holiday); font-weight: 700; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cm-p { display: flex; flex-wrap: wrap; gap: 4px; } .cm-p i { font-style: normal; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; padding: 1px 7px 1px 5px; border-radius: 999px; } .cm-p i .ico { width: 12px; height: 12px; }
.p-w { background: #e4eeff; color: #2a62c9; } .p-l { background: var(--leave-bg); color: var(--leave); } .p-warn { background: var(--warn-bg); color: var(--warn); } .p-bad { background: var(--bad-bg); color: var(--bad); } .p-np { background: #f1e8fd; color: #7a45c2; }
.cm-bar { position: absolute; left: 8px; right: 8px; bottom: 6px; height: 4px; border-radius: 4px; overflow: hidden; display: flex; background: var(--line2); }
.cm-bar i { display: block; min-width: 0; } .b-w { background: #4c8df6; } .b-l { background: #43b36b; } .b-r { background: #cdd3df; } .b-n { background: #cdb4f0; }
.cal-panel { padding: 14px 16px; } .cp-h { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.cp-d { width: 62px; flex: none; text-align: center; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); } .cp-d span { display: block; background: var(--navy); color: #fff; font-size: 10.5px; padding: 2px 0; letter-spacing: .05em; text-transform: uppercase; } .cp-d b { display: block; font-size: 24px; line-height: 1.2; } .cp-d small { display: block; color: var(--ink3); font-size: 11px; padding-bottom: 3px; }
.cp-t h2 { font-size: 15px; margin-bottom: 4px; } .cp-t { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cp-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; } .cp-pills span { font-size: 12.5px; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--na-bg); color: var(--ink2); display: inline-flex; gap: 5px; align-items: center; } .cp-pills .ico { width: 14px; height: 14px; }
.cp-pills .pl-w { background: #e4eeff; color: #2a62c9; } .cp-pills .pl-l { background: var(--leave-bg); color: var(--leave); } .cp-pills .pl-n { background: #f1e8fd; color: #7a45c2; }
.cp-act { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.dp-s { border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 12px; margin: 8px 0; padding: 0 12px; background: var(--surface); } .dp-s > summary { cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 42px; list-style: none; } .dp-s > summary::-webkit-details-marker { display: none; }
.dp-s.work { border-left-color: #4c8df6; } .dp-s.leave { border-left-color: #43b36b; } .dp-s.warn { border-left-color: #e5483e; } .dp-s.rest { border-left-color: #cdd3df; } .dp-s.noplan { border-left-color: #b48be6; } .dp-s.extra { border-left-color: #e29a1a; }
.dp-n { margin-left: auto; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--na-bg); color: var(--ink2); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.dp-g { padding-bottom: 8px; } .dp-gh { display: flex; align-items: center; gap: 8px; padding: 4px 0; } .dp-l { list-style: none; margin: 0; padding: 0; }
.dp-r { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 6px 0; border-top: 1px solid var(--line2); } .dp-r > a { display: flex; align-items: center; gap: 10px; min-width: 0; } .dp-r > a span { display: flex; flex-direction: column; min-width: 0; }
.dp-x { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end; } .dp-e { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
.unit-tag { color: var(--ink3); font-size: 11.5px; } .dp-names { margin: 0 0 10px; color: var(--ink2); line-height: 1.7; } .dp-names a:hover { text-decoration: underline; }
.agenda { display: flex; flex-direction: column; gap: 10px; }
.ag { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow); } .ag.is-past { opacity: .62; } .ag.is-today { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft), var(--shadow); } .ag.is-hol { background: linear-gradient(90deg, var(--holiday-bg), var(--surface) 38%); }
.ag-d { border: 1px solid var(--line); background: var(--surface2); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; padding: 6px 0; align-self: start; } .ag-d span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink3); font-weight: 700; } .ag-d b { font-size: 24px; line-height: 1.1; } .ag.is-we .ag-d { background: #eef1f6; } .ag.is-today .ag-d { background: var(--accent); border-color: var(--accent); } .ag.is-today .ag-d span, .ag.is-today .ag-d b { color: #fff; }
.ag-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; } .ag-l { display: flex; align-items: center; gap: 10px; min-width: 0; } .ag-b { display: inline-flex; align-items: center; gap: 8px; min-width: 150px; } .ag-who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink2); } .ag-hol { align-self: flex-start; }
@media (max-width: 1100px) { .cal-layout { grid-template-columns: 1fr; } .cal-side { position: static; } }
@media (max-width: 760px) {
  .cm { min-height: 66px; padding: 4px 4px 8px; } .cm-h { display: none; } .cm-p i { font-size: 11px; padding: 0 5px 0 3px; } .cm-p i .ico { display: none; } .cm-n { width: 22px; height: 22px; font-size: 12px; }
  .ag { grid-template-columns: 54px minmax(0, 1fr); gap: 10px; } .ag-b { min-width: 0; } .ag-l { flex-wrap: wrap; } .ag-who { white-space: normal; }
}
.dp-s.nodata { border-left-color: #cfd6e4; }

.kbd-hint { display: inline-block; margin-left: 6px; } .kbd-hint kbd, .tool-hint kbd { background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; font-size: 11.5px; font-family: inherit; color: var(--ink2); }

/* ================= v4: rehber, örnekler, telefon düzeni ================= */
.ex { display: flex; gap: 6px; align-items: flex-start; color: var(--ink2); font-size: 13px; margin: 4px 0; } .ex .ico { width: 15px; height: 15px; margin-top: 2px; color: var(--info); }
.bar .ex { margin: 0; align-items: center; }
.guide { border-left: 4px solid var(--accent); }
.guide-steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.guide-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line2); }
.guide-steps li > div { display: flex; flex-direction: column; min-width: 0; } .guide-steps small { color: var(--ink3); }
.guide-steps .qn { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.radio, .check { display: flex; gap: 8px; align-items: flex-start; min-height: 32px; }
.radio input, .check input { margin-top: 4px; flex: none; width: 18px; height: 18px; accent-color: var(--accent); }
.fs { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-width: 0; }
.ibx-why { display: inline-flex; flex-direction: column; gap: 2px; align-items: flex-start; } .ibx-why small { color: var(--bad); max-width: 260px; white-space: normal; }
.check-tbl select { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; background: var(--surface); }
.puantaj-narrow { display: none; }
.plan-mobile { display: none; }
.m-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.m-days button { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; padding: 2px; }
.m-days button span { font-size: 12px; color: var(--ink3); } .m-days button b { font-size: 16px; }
.m-days button.today { border-color: var(--accent); } .m-days button.on { background: var(--navy); border-color: var(--navy); color: #fff; } .m-days button.on span { color: #fff; }
.m-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.m-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); min-width: 0; }
.m-h { display: flex; gap: 10px; align-items: center; min-width: 0; } .m-h > span:last-child { display: flex; flex-direction: column; min-width: 0; } .m-h small { color: var(--ink3); }
.m-shift { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; text-align: left; cursor: pointer; background: var(--surface2); }
.m-shift.pc-v { background: hsl(var(--h) 70% 92%); } .m-shift.pc-izin { background: var(--leave-bg); } .m-shift.draft { outline: 2px dashed var(--warn); outline-offset: -2px; }
.m-shift span { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; color: var(--ink2); flex: none; }
.m-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .m-act .btn { min-height: 44px; } .m-act .btn:only-child { grid-column: 1 / -1; }

@media (max-width: 1000px) and (min-width: 761px) {
  .guide-steps li { grid-template-columns: 28px minmax(0, 1fr) auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  /* büyük dokunma alanları ve yakınlaştırma yapmayan giriş alanları */
  .btn, .btn-sm { min-height: 44px; } .btn-sm { font-size: 14px; }
  .icon-btn { width: 44px; height: 44px; } .chipbtn { min-height: 40px; display: inline-flex; align-items: center; }
  input, select, textarea, .fld input, .fld select, .fld textarea, .drawer-b input[type=search], .drawer-b input[type=date], .drawer-b input[type=number], .drawer-b input[type=time], .drawer-b input:not([type]), .drawer-b input[type=text] { font-size: 16px; min-height: 44px; }
  input[type=checkbox], input[type=radio] { min-height: 0; width: 20px; height: 20px; }
  small, .ex, .callout { font-size: 13.5px; }
  .row2, .grid2, .modes, .f-row { grid-template-columns: 1fr; }
  .f-row { flex-direction: column; align-items: stretch; } .f-row .fld { width: 100%; }
  .page-head .actions, .page-head .actions .btn { width: 100%; }
  /* çekmece: tek kolon, sabit alt çubukta kaydet */
  .drawer { width: 100%; } .drawer-b { padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); }
  .drawer-f { bottom: calc(-14px - env(safe-area-inset-bottom)); margin: auto -14px calc(-14px - env(safe-area-inset-bottom)); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex-wrap: wrap; z-index: 2; }
  .drawer-f .btn-primary { flex: 1; }
  .modal { width: calc(100% - 20px); max-height: calc(100vh - 20px); overflow-y: auto; }
  /* geniş tablolar satır kartı olur */
  .table-wrap { border: 0; overflow: visible; }
  .tbl, .tbl tbody, .tbl tr, .tbl td, .tbl th { display: block; width: 100%; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 4px 0; background: var(--surface); }
  .tbl th, .tbl td { padding: 6px 12px; border-bottom: 0; overflow-wrap: anywhere; }
  .tbl td[data-label]:not([data-label=""])::before { content: attr(data-label) ": "; color: var(--ink3); font-size: 12.5px; font-weight: 600; }
  .tbl td.act { white-space: normal; display: flex; flex-wrap: wrap; gap: 6px; } .tbl td.act::before { width: 100%; }
  .kv-tbl th { padding-bottom: 0; }
  /* telefon planı: tablo yerine gün/kişi kartları */
  .plan-mobile { display: flex; flex-direction: column; gap: 10px; }
  .grid-wrap.plan, .plan-legend, .plan-tools, .plan-bar .seg, .plan-stats { display: none !important; }
  .grid-wrap.puantaj, p.puantaj { display: none; } .puantaj-narrow { display: flex; }
  .guide-steps li { grid-template-columns: 28px minmax(0, 1fr); } .guide-steps li > .btn { grid-column: 2; justify-self: start; }
  .ibx-r { flex-wrap: wrap; } .ibx-a { width: 100%; flex-wrap: wrap; }
  .ph-act, .ph-act .btn { width: 100%; }
}
@media (max-width: 400px) {
  .main { padding-left: 10px; padding-right: 10px; }
  .quick-row { grid-template-columns: 1fr; } .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-grid { grid-template-columns: 1fr; }
  .pc-stats, .pc-stats.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope select { max-width: 84px; } .scope-lock { max-width: 96px; }
  .m-days { gap: 2px; } .m-days button b { font-size: 14px; }
  h1 { font-size: 19px; }
}

/* ================= v5: ortada pencere, saat seçici, saatlik izin ================= */
body:has(.overlay) { overflow: hidden; }
.lg-head .logo-crop { width: min(320px, 100%); height: 40px; }

/* Pencereler sayfanın ortasında açılır. */
.drawer { top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); width: min(600px, calc(100% - 32px)); max-height: calc(100% - 40px); border-radius: 20px; overflow: hidden; animation: pop .16s ease-out; }
.modal { border-radius: 20px; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -48%) scale(.98); } }
.drawer > .modal-h { padding: 16px 20px; flex: none; }
.drawer > .drawer-b { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px; }
.drawer-b > * { flex-shrink: 0; }
.drawer-f { bottom: -18px; margin: auto -20px -18px; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--surface); z-index: 2; }

/* Seçim kutuları: koyu görünüm sorununu önlemek için kendi çizimimiz. */
input[type=radio], input[type=checkbox] { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; border: 2px solid #b6bfd0; background: #fff; display: inline-grid; place-content: center; flex: none; cursor: pointer; }
input[type=radio] { border-radius: 50%; }
input[type=checkbox] { border-radius: 6px; }
input[type=radio]:checked { border-color: var(--accent); }
input[type=radio]:checked::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); }
input[type=checkbox]:checked::before { content: ""; width: 10px; height: 5px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
input:disabled { opacity: .5; cursor: not-allowed; }
input.vh[type=radio], input.vh[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; border: 0; }
.mode input { margin-top: 2px; }

/* Saat girişi ve seçici */
.tp { display: flex; gap: 6px; align-items: stretch; min-width: 0; }
.tp input.tp-in, .drawer-b .tp input.tp-in { flex: 1; width: 100%; min-width: 0; min-height: 50px; text-align: center; font-size: 22px; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 4px 8px; }
.tp input.tp-in:focus, .drawer-b .tp input.tp-in:focus { border-color: var(--accent); outline: 3px solid var(--accent-soft); }
.tp-btn { width: 50px; flex: none; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface2); cursor: pointer; display: grid; place-items: center; color: var(--ink2); }
.tp-btn:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.tp-btn .ico { width: 22px; height: 22px; }
.tpop-bg { position: fixed; inset: 0; z-index: 150; background: rgba(17, 27, 46, .28); }
.tpop { position: fixed; z-index: 160; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(300px, calc(100% - 32px)); background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(17, 27, 46, .35); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.tpop-val { font-size: 36px; font-weight: 800; text-align: center; color: var(--navy); font-variant-numeric: tabular-nums; }
.tpop-cols { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.tpop-c small { display: block; text-align: center; color: var(--ink3); margin-bottom: 4px; }
.tpop-col { position: relative; height: min(220px, 40vh); overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y proximity; display: flex; flex-direction: column; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface2); scrollbar-width: thin; }
.tpop-col button { flex: none; min-height: 42px; scroll-snap-align: center; border: 0; border-radius: 10px; background: transparent; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.tpop-col button:hover { background: var(--accent-soft); }
.tpop-col button.on { background: var(--navy); color: #fff; }
.tpop-sep { font-size: 28px; font-weight: 800; margin-top: 18px; }
.tpop-ok { min-height: 46px; }

/* Saatlik izin */
.hour-tiles .main { background: var(--leave-bg); border-color: transparent; }
.hour-tiles .main b { font-size: 28px; color: var(--leave); }
.hour-list { list-style: none; margin: 8px 0 0; padding: 0; }
.hour-list li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line2); }
.hour-list li > span:not(.chip) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.hour-list small { color: var(--ink3); }
.hour-list em { font-style: normal; font-weight: 800; white-space: nowrap; }
.hour-list li.in em { color: var(--ok); } .hour-list li.out em { color: var(--bad); }

@media (max-width: 760px) {
  .drawer { top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 94vh; max-height: 94dvh; border-radius: 20px 20px 0 0; animation: none; }
  .drawer > .drawer-b { padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); }
  .drawer-f { bottom: calc(-14px - env(safe-area-inset-bottom)); margin: auto -14px calc(-14px - env(safe-area-inset-bottom)); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  input[type=radio], input[type=checkbox] { width: 22px; height: 22px; }
  .tp input.tp-in, .drawer-b .tp input.tp-in { font-size: 22px; min-height: 52px; }
}

/* ================= v6: gerçek deneme, ipuçları, sade telefon düzeni ================= */
.linkbtn { border: 0; background: none; padding: 0; color: var(--info); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.lg-mode { margin: 22px 0 0; font-size: 13px; color: var(--ink3); text-align: center; }
.empty-start { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 12px 0; border-left: 4px solid var(--accent); }
.backup textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px; font: 12px/1.4 ui-monospace, Consolas, monospace; background: var(--surface); }
.backup .fld { margin-top: 10px; }
.tb-tip .ico { color: var(--warn); }
.act-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.act-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 14px; min-height: 96px; cursor: pointer; font: inherit; color: var(--ink); }
.act-tile:hover { border-color: var(--accent); background: var(--accent-soft); }
.act-tile .ico { width: 24px; height: 24px; color: var(--accent); }
.act-tile b { line-height: 1.25; } .act-tile small { color: var(--ink3); line-height: 1.3; }
.fab { display: none; }

@media (max-width: 760px) {
  .banner { flex-wrap: nowrap; padding-top: 4px; padding-bottom: 4px; font-size: 11.5px; gap: 8px; }
  .b-txt { min-width: 0; line-height: 1.3; }
  /* üst çubuk: menü ve “+” alt çubukta olduğu için burada tekrarlanmaz */
  .topbar .only-mobile, .topbar .newmenu-wrap { display: none; }
  .scope-lock { max-width: calc(100vw - 170px); font-size: 14px; }
  .scope { max-width: calc(100vw - 170px); } .scope select { max-width: calc(100vw - 220px); }
  .bottomnav .fab { display: flex; flex: 0 0 60px; width: 60px; height: 60px; min-height: 60px; margin: -22px 4px 0; border-radius: 50%; background: var(--accent); color: #fff; border: 4px solid var(--surface); box-shadow: 0 6px 16px rgba(17, 27, 46, .28); align-self: flex-start; }
  .bottomnav .fab .ico { width: 28px; height: 28px; }
  .quick-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .quick-row .qa { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 72px; padding: 12px; }
  .quick-row .qa small { display: none; }
  .ph-act { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-act .btn-primary { grid-column: 1 / -1; }
  .ph-act .btn, .ph-act .more-menu summary { width: 100%; justify-content: center; }
  .page-head .sub { font-size: 13.5px; }
  .act-tile { min-height: 88px; padding: 12px; }
}
@media (max-width: 760px) { body:has(.overlay) .toasts { top: 8px; bottom: auto; } }
.drawer .guide-steps li:first-child { border-top: 0; padding-top: 0; }
.scope select { min-width: 0; flex: 0 1 auto; width: 100%; text-overflow: ellipsis; } .scope .ico { flex: none; }
.login.signin { max-width: 420px; }
.signin-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.signin-card input { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 46px; font-size: 16px; background: var(--surface); width: 100%; }
.signin-card .btn { min-height: 48px; justify-content: center; }
.share-text { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 15px/1.45 system-ui, sans-serif; background: var(--surface2); resize: vertical; }
.chips-in input[type=date] { min-height: 40px; }
.share-btn { white-space: nowrap; }
@media (max-width: 760px) { .share-btn { width: 100%; justify-content: center; } }
