/* EmkoLED kurumsal tema (teklif platformuyla aynı): beyaz ağırlıklı, "emko" grisi yazı, "LED" gradyanı vurgu */
@font-face { font-family: 'Outfit'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/outfit-latin-ext-wght-normal.woff2) format('woff2-variations');
  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: 'Outfit'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/outfit-latin-wght-normal.woff2) format('woff2-variations');
  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; }
:root {
  --bg: #f6f8fb; --panel: #fff; --line: #e7eaf0; --line-2: #d9dee6;
  --text: #5a5c62; --heading: #47494f; --muted: #8b8e95;
  --brand-1: #469cca; --brand-2: #3171b5; --brand: #3a84be; --brand-soft: #eaf3fa;
  --grad: linear-gradient(100deg, var(--brand-1) 0%, var(--brand-2) 100%);
  --ok: #1f9d6b; --ok-soft: #e4f5ee; --warn: #c88400; --warn-soft: #fff4dc; --bad: #d64545; --bad-soft: #fdecec;
  --radius: 14px; --shadow: 0 1px 2px rgba(31,45,61,.04), 0 4px 16px rgba(31,45,61,.05); --shadow-lg: 0 18px 50px rgba(31,45,61,.16);
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font: 15px/1.5 var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand); text-underline-offset: 2px; }
h1 { font-size: 25px; margin: 0; color: var(--heading); font-weight: 600; letter-spacing: -.3px; }
h2 { font-size: 17px; margin: 0 0 14px; color: var(--heading); font-weight: 600; }
h3 { font-size: 14px; margin: 0 0 8px; color: var(--heading); font-weight: 600; }
b, strong { font-weight: 600; color: var(--heading); }
.muted { color: var(--muted); } .small { font-size: 13px; } .xs { font-size: 12px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hidden, [hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* Yerleşim */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .logo { padding: 2px 10px 20px; display: block; }
.side .logo img { width: 150px; display: block; }
.side .logo small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 8px 0 0 2px; }
.side .sec { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #a3a6ad; padding: 16px 12px 6px; font-weight: 600; }
.side a.nav { color: var(--text); text-decoration: none; padding: 9px 12px; border-radius: 10px; display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 500; position: relative; }
.side a.nav svg { width: 19px; height: 19px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side a.nav:hover { background: #f3f6fa; color: var(--heading); }
.side a.nav.on { background: var(--brand-soft); color: var(--brand-2); font-weight: 600; }
.side a.nav.on::before { content: ''; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad); }
.side a.nav .badge { margin-left: auto; }
.side .me { margin-top: auto; border-top: 1px solid var(--line); padding: 14px 10px 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 13px; flex: none; }
.side .me b { display: block; font-size: 14px; }
.side .me button { background: none; border: 0; padding: 0; color: var(--brand); cursor: pointer; font-size: 13px; }
.main { padding: 28px 34px 70px; min-width: 0; }
.head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.head .sub { margin-top: 4px; }
.crumb { font-size: 13px; margin-bottom: 4px; } .crumb a { text-decoration: none; }
.mtop { display: none; }

/* Bileşenler */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 18px; }
.card.flush { padding: 0; overflow: hidden; }
.card > .card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.card > .card-h h2 { margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line-2); background: #fff; padding: 8px 15px; border-radius: 10px; cursor: pointer; font-weight: 500; text-decoration: none; color: var(--heading); white-space: nowrap; transition: border-color .15s, box-shadow .15s, filter .15s; }
.btn:hover { border-color: var(--brand-1); color: var(--brand-2); }
.btn.primary { background: var(--grad); color: #fff; border-color: transparent; font-weight: 600; box-shadow: 0 4px 14px rgba(49,113,181,.25); }
.btn.primary:hover { color: #fff; filter: brightness(1.06); }
.btn.ok { background: var(--ok); color: #fff; border-color: transparent; font-weight: 600; }
.btn.ok:hover { color: #fff; filter: brightness(1.07); }
.btn.danger { color: var(--bad); } .btn.danger:hover { border-color: #f0b4b4; background: #fff7f7; }
.btn.ghost { border-color: transparent; background: transparent; } .btn.ghost:hover { background: #f1f4f8; }
.btn.sm { padding: 5px 11px; font-size: 13px; border-radius: 8px; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; filter: none; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
label.f, div.f { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); font-weight: 500; }
.f.wide { grid-column: 1 / -1; }
input, select, textarea { border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; background: #fff; width: 100%; min-width: 0; color: var(--heading); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-1); box-shadow: 0 0 0 4px rgba(70,156,202,.16); }
input[readonly], input:disabled, select:disabled, textarea:disabled { background: #f8f9fb; }
textarea { min-height: 70px; resize: vertical; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--brand); }
.help { font-weight: 400; font-size: 12px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { font-size: 11.5px; color: var(--muted); font-weight: 600; background: #fafbfd; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
tr.click { cursor: pointer; } tr.click:hover td { background: #f5f9fd; }
tr:last-child td { border-bottom: 0; }
.tbl-wrap { overflow-x: auto; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: #eef1f5; color: #61646b; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill.plain::before { display: none; }
.pill.waiting { background: #f1f2f5; color: #8a8d94; }
.pill.ready { background: var(--brand-soft); color: var(--brand-2); }
.pill.doing { background: var(--warn-soft); color: #a26b00; }
.pill.done, .pill.closed, .pill.active-ok { background: var(--ok-soft); color: #137a52; }
.pill.na, .pill.none { background: #f4f4f6; color: #a2a4aa; text-decoration: line-through; }
.pill.none { text-decoration: none; }
.pill.late, .pill.open, .pill.bad { background: var(--bad-soft); color: #b83434; }
.pill.watch { background: #f1f2f5; color: #7d8088; }
.pill.active { background: var(--brand-soft); color: var(--brand-2); }
.pill.hold { background: var(--warn-soft); color: #a26b00; }
.pill.cancelled { background: #f4f4f6; color: #a2a4aa; }
.badge { background: var(--bad); color: #fff; border-radius: 99px; font-size: 11px; font-weight: 700; padding: 1px 7px; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 11.5px; background: #f1f4f8; color: #6c6f76; font-weight: 500; white-space: nowrap; }
.tag.sap { background: #eef2ff; color: #4a55a2; }
.tag.file { background: #f0f7f3; color: #2f7d58; }
.tag.check { background: #fff4e6; color: #a2600a; }
.tag.cond { background: #f5effd; color: #7444b8; }
.code { font-weight: 600; color: var(--heading); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 13px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat .k { font-size: 12px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.stat .v { font-size: 26px; font-weight: 600; color: var(--heading); margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat .v.bad { color: var(--bad); } .stat .v.ok { color: var(--ok); }
.stat .s { font-size: 12.5px; color: var(--muted); }

.bar { height: 8px; border-radius: 99px; background: #edf0f4; overflow: hidden; min-width: 80px; }
.bar > i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.prog { display: flex; align-items: center; gap: 10px; } .prog .bar { flex: 1; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--heading); }
.tabs a.on { color: var(--brand-2); border-bottom-color: var(--brand-2); font-weight: 600; }
.tabs a .badge { margin-left: 5px; }

.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert.warn { background: var(--warn-soft); color: #8a5c00; border: 1px solid #f3dca5; }
.alert.bad { background: var(--bad-soft); color: #9e2c2c; border: 1px solid #f5c6c6; }
.alert.info { background: var(--brand-soft); color: #285f8f; border: 1px solid #cfe3f3; }
.alert.ok { background: var(--ok-soft); color: #136e4a; border: 1px solid #bfe6d4; }

/* Görev listesi */
.phase-h td { background: #f7f9fc; font-weight: 600; color: var(--heading); font-size: 13px; padding: 8px 12px; }
.phase-h td .muted { font-weight: 500; }
tr.t-na td { color: #a9acb2; }
tr.t-na .tname { text-decoration: line-through; }
.tname { font-weight: 500; color: var(--heading); }
.who { font-size: 12.5px; color: var(--muted); }
.req { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 3px; }
.late-txt { color: var(--bad); font-weight: 600; }

/* Flag kartları */
.flags { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.flag { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.flag.pending { border-color: #f0d8a0; background: #fffcf4; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 5px 12px; cursor: pointer; font-size: 13px; font-weight: 500; }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button.on { background: var(--brand-2); color: #fff; }
.seg button.on.no { background: #6c6f76; }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(28,36,48,.38); display: grid; place-items: center; z-index: 50; padding: 20px; overflow-y: auto; }
.modal { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); width: min(560px, 100%); padding: 24px; max-height: calc(100vh - 40px); overflow-y: auto; }
.modal.wide { width: min(900px, 100%); }
.modal .foot { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; align-items: center; }
.modal .mh { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.modal .mh h2 { margin: 0; flex: 1; }
.modal .x { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
#toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #2e3138; color: #fff; padding: 11px 18px; border-radius: 12px; z-index: 99; box-shadow: var(--shadow-lg); max-width: min(680px, calc(100vw - 32px)); font-size: 14px; }
#toast.bad { background: var(--bad); }

/* Görev ayrıntısı */
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; font-size: 14px; }
.kv > div:nth-child(odd) { color: var(--muted); font-size: 13px; }
.blocks { display: grid; gap: 12px; }
.blk { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.blk.need { border-color: #f0d8a0; background: #fffcf4; }
.blk.okb { border-color: #bfe6d4; background: #f7fcf9; }
.blk h3 { display: flex; align-items: center; gap: 8px; }
.chk { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.chk:last-child { border-bottom: 0; }
.chk input.note { grid-column: 1 / -1; padding: 5px 10px; font-size: 13px; }
.chk .seg button { padding: 4px 10px; font-size: 12.5px; }
.chk .seg button.on.okk { background: var(--ok); } .chk .seg button.on.nok { background: var(--bad); } .chk .seg button.on.nak { background: #8a8d94; }
.files { display: grid; gap: 6px; }
.file { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; }
.file a { font-weight: 500; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .spacer { min-width: 0; }
.drop { border: 2px dashed var(--line-2); border-radius: 12px; padding: 14px; text-align: center; color: var(--muted); font-size: 13.5px; cursor: pointer; }
.drop.over { border-color: var(--brand-1); background: var(--brand-soft); }
.feed { display: grid; gap: 0; }
.feed .it { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.feed .it:last-child { border-bottom: 0; }
.feed .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f1f4f8; font-size: 13px; }
.feed .it.note .ic { background: var(--brand-soft); } .feed .it.risk .ic { background: var(--bad-soft); } .feed .it.status .ic { background: var(--ok-soft); } .feed .it.file .ic { background: #f0f7f3; }
.feed .meta { font-size: 12px; color: var(--muted); }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; cursor: pointer; background: #fff; color: var(--heading); }
.pick label:has(input:checked) { border-color: var(--brand-1); background: var(--brand-soft); color: var(--brand-2); }
.pick input { display: none; }

/* Gantt */
.gantt { position: relative; overflow: auto; border-top: 1px solid var(--line); max-height: calc(100vh - 240px); }
.g-grid { display: grid; position: relative; min-width: max-content; }
.g-left { position: sticky; left: 0; z-index: 3; background: #fff; border-right: 1px solid var(--line); }
.g-hd { position: sticky; top: 0; z-index: 4; background: #fafbfd; border-bottom: 1px solid var(--line); }
.g-hd.g-left { z-index: 5; }
.g-row { height: 34px; border-bottom: 1px solid #f0f2f6; display: flex; align-items: center; padding: 0 10px; font-size: 13px; white-space: nowrap; overflow: hidden; gap: 8px; }
.g-row.ph { background: #f7f9fc; font-weight: 600; color: var(--heading); font-size: 12.5px; }
.g-row .code { font-size: 12px; min-width: 46px; }
.g-row .nm { overflow: hidden; text-overflow: ellipsis; }
.g-row.na { color: #b5b7bc; } .g-row.na .nm { text-decoration: line-through; }
.g-days { position: relative; }
.g-months, .g-dnums { display: flex; height: 22px; }
.g-months div { font-size: 11.5px; font-weight: 600; color: var(--heading); padding: 3px 6px; border-left: 1px solid var(--line); overflow: hidden; white-space: nowrap; }
.g-dnums div { font-size: 10.5px; color: var(--muted); text-align: center; border-left: 1px solid #f0f2f6; line-height: 22px; flex: none; }
.g-dnums div.we { background: #f6f7f9; color: #b9bbc0; }
.g-dnums div.td { background: var(--brand-2); color: #fff; font-weight: 700; }
.g-body { position: relative; }
.g-bg { position: absolute; inset: 0; display: flex; pointer-events: none; }
.g-bg div { flex: none; border-left: 1px solid #f3f4f7; }
.g-bg div.we { background: #fafafb; }
.g-today { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--brand-2); opacity: .55; z-index: 2; pointer-events: none; }
.g-target { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed var(--bad); z-index: 2; pointer-events: none; }
.g-lane { height: 34px; position: relative; border-bottom: 1px solid #f0f2f6; }
.g-lane.ph { background: rgba(247,249,252,.7); }
.g-bar { position: absolute; top: 9px; height: 16px; border-radius: 5px; background: #c9d6e4; cursor: pointer; z-index: 1; min-width: 6px; }
.g-bar.base { top: 25px; height: 4px; background: #b7bcc5; border-radius: 2px; cursor: default; opacity: .7; }
.g-bar.ready { background: #9fc6e4; } .g-bar.waiting { background: #d6dde6; }
.g-bar.doing { background: linear-gradient(90deg, #f2b33d, #e59a12); }
.g-bar.done { background: #47b88a; } .g-bar.late { outline: 2px solid var(--bad); outline-offset: 0; }
.g-bar.ms { width: 12px !important; height: 12px; top: 11px; transform: rotate(45deg); border-radius: 2px; min-width: 0; }
.g-bar.phase { top: 12px; height: 10px; background: #8fb6d8; border-radius: 3px; cursor: default; }
.g-bar.phase.done { background: #8fd0b2; } .g-bar.phase.doing { background: #f2c66e; }
.g-bar span { position: absolute; left: calc(100% + 6px); top: -1px; font-size: 11px; white-space: nowrap; color: var(--muted); pointer-events: none; }
.g-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); align-items: center; }
.g-legend i { display: inline-block; width: 14px; height: 9px; border-radius: 3px; vertical-align: middle; margin-right: 5px; }

/* Giriş */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(1200px 600px at 10% -10%, #e6f1fa 0%, transparent 60%), var(--bg); }
.login .card { width: min(400px, 100%); padding: 30px; }
.login img { width: 170px; display: block; margin-bottom: 6px; }

/* Proje kartları */
.pcard { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .1s; }
.pcard:hover { border-color: #c9dced; }
.pcard .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.pcard h3 { font-size: 16px; margin: 0; }
.pcard .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.pcard .meta b { font-weight: 600; }

@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 40; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-lg); }
  .side.open { transform: none; }
  .mtop { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
  .mtop img { height: 26px; }
  .mtop button { border: 0; background: none; font-size: 22px; cursor: pointer; padding: 0 4px; }
  .main { padding: 18px 16px 60px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv > div:nth-child(even) { margin-bottom: 8px; }
  .hide-m { display: none; }
}
@media print {
  .side, .mtop, .no-print { display: none !important; }
  .app { display: block; } .main { padding: 0; }
  .card { box-shadow: none; }
}

/* Faz 1: yapılacaklar, akış, toplantı */
.dash { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 18px; align-items: start; }
.dash #feed { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; border-radius: var(--radius); }
.stat.click { cursor: pointer; } .stat.click:hover { border-color: #c9dced; }
.tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c3c8d0; background: #fff; color: transparent; cursor: pointer; display: grid; place-items: center; font-size: 12px; padding: 0; flex: none; }
.tick:hover { border-color: var(--ok); color: var(--ok); }
.tick.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.composer { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fafbfd; margin-bottom: 12px; }
.composer textarea { background: #fff; }
.post { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.post:last-child { border-bottom: 0; }
.post.pinned { background: #fffbf0; margin: 0 -12px; padding: 12px; border-radius: 10px; }
.post.auto { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; padding: 8px 0; color: var(--text); }
.post.auto .ic { width: 26px; height: 26px; border-radius: 50%; background: #f1f4f8; display: grid; place-items: center; font-size: 12px; flex: none; }
.post.auto a { color: var(--heading); text-decoration: none; } .post.auto a:hover { color: var(--brand-2); }
.post .meta { font-size: 12px; color: var(--muted); }
.post .ptext { white-space: pre-wrap; margin-top: 3px; color: var(--heading); word-break: break-word; }
.pimgs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pimgs img { height: 130px; max-width: 100%; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.pcom { margin-top: 8px; padding-left: 10px; border-left: 2px solid var(--line); font-size: 13px; display: grid; gap: 4px; }
@media (max-width: 1100px) { .dash { grid-template-columns: 1fr; } .dash #feed { position: static; max-height: none; } }
.cols2 { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (max-width: 900px) { .cols2 { grid-template-columns: 1fr; } }

/* Faz 3: Excel önizleme */
table.xl { font-size: 12.5px; }
table.xl td, table.xl th { padding: 5px 9px; border: 1px solid #eef0f4; white-space: nowrap; max-width: 360px; overflow: hidden; text-overflow: ellipsis; text-transform: none; letter-spacing: 0; }
table.xl th { font-size: 11.5px; color: var(--heading); }
table.xl th.rn { color: var(--muted); background: #fafbfd; position: sticky; left: 0; text-align: right; font-weight: 500; min-width: 40px; }
table.xl tr.hi td { background: #fff4c2; }
mark { background: #ffe58a; color: inherit; border-radius: 2px; padding: 0 1px; }

/* Günlük rapor */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 16px; }
.wd { display: flex; flex-direction: column; align-items: center; padding: 8px 4px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--text); position: relative; }
.wd span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.wd b { font-size: 18px; color: var(--heading); }
.wd i { width: 8px; height: 8px; border-radius: 50%; background: transparent; margin-top: 3px; }
.wd.ok i { background: var(--ok); } .wd.late i { background: var(--warn); } .wd.leave i { background: var(--brand-1); } .wd.draft i { background: #bbb; } .wd.miss i { background: var(--bad); }
.wd.miss { border-color: #f3c0c0; background: #fff8f8; }
.wd.off { opacity: .45; }
.wd.on { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(49,113,181,.15); }
.dl-h { display: none; }
.dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 84px 34px; gap: 6px 8px; align-items: start; padding: 10px 0; border-top: 1px dashed var(--line); }
.dl > div { grid-column: 1 / -1; grid-row: 2; }
.dl input[data-f="hours"] { text-align: right; }
.dl select, .dl input, .dl textarea { padding: 7px 9px; font-size: 13.5px; }
.dl textarea { min-height: 36px; resize: none; overflow: hidden; }
.picks { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow: auto; }
.pk { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 10px; cursor: pointer; font-size: 13px; color: var(--heading); }
.pk:hover { border-color: var(--brand-1); background: var(--brand-soft); }
.pk span { display: block; font-size: 11.5px; color: var(--muted); }
.mxt th, .mxt td { padding: 4px 2px; text-align: center; font-size: 11px; border-bottom: 1px solid #f0f2f6; min-width: 24px; letter-spacing: 0; }
.mxt th.nm, .mxt td.nm { text-align: left; padding: 6px 10px; position: sticky; left: 0; background: #fff; min-width: 170px; z-index: 1; }
.mxt th.we, .mxt td.we { background: #f7f8fa; }
.mxt th.tdh { color: #fff; background: var(--brand-2); border-radius: 6px 6px 0 0; }
.mxt td.mx { font-weight: 700; position: relative; }
.mxt td.ok { color: var(--ok); cursor: pointer; } .mxt td.lt { color: var(--warn); cursor: pointer; } .mxt td.lv { color: var(--brand-2); cursor: pointer; }
.mxt td.dr { color: #aaa; cursor: pointer; } .mxt td.ms { color: var(--bad); background: #fff5f5; }
.mxt td.mx .rv { position: absolute; top: 3px; right: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-2); }
.mxt td.num { text-align: right; padding-right: 10px; }
.rcard { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.rcard ul { margin: 8px 0 4px; padding-left: 18px; font-size: 13.5px; }
.rcard li { margin: 3px 0; }
@media (max-width: 860px) {
  .dl { grid-template-columns: 1fr 1fr 70px 30px; }
  .week { gap: 4px; } .wd b { font-size: 15px; }
}
.pk.done { border-color: #cdeadb; background: #f7fcf9; }
.pk.done:hover { border-color: var(--ok); background: var(--ok-soft); }
/* Hafta şeridi: girilen yeşil, eksik kırmızı, bugün mavi */
.wd.ok, .wd.late, .wd.leave { background: #e9f7f0; border-color: #a9dcc3; }
.wd.ok b, .wd.late b, .wd.leave b { color: #137a52; }
.wd.late { background: #f0f8e9; }
.wd.miss { background: #fdeaea; border-color: #f0a9a9; }
.wd.miss b { color: #b83434; }
.wd.today { background: #e8f1fb; border-color: #9cc3e8; }
.wd.today b { color: var(--brand-2); }
.wd.fut { opacity: .45; pointer-events: none; }
.tdesc { font-size: 12.5px; color: var(--text); white-space: pre-wrap; margin-top: 3px; max-width: 640px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tdl { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.tdl > aside { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.mside { border-bottom: 1px solid var(--line); padding: 8px 0; }
.mside summary { cursor: pointer; }
.mnotes { white-space: pre-wrap; font-size: 12.5px; margin-top: 6px; max-height: 260px; overflow: auto; background: #fafbfd; border-radius: 8px; padding: 8px 10px; }
.mgrp { border-top: 1px solid var(--line); }
.mgh { padding: 8px 16px; background: #f7f9fc; font-weight: 600; font-size: 13px; color: var(--heading); }
.mrow { display: flex; gap: 10px; align-items: flex-start; padding: 8px 16px; border-top: 1px solid #f1f3f7; cursor: pointer; }
.mrow:hover { background: #f5f9fd; }
.mrow.t-na .tname { text-decoration: line-through; color: #a9acb2; }
@media (max-width: 1100px) { .tdl { grid-template-columns: 1fr; } .tdl > aside { position: static; max-height: none; } }
.post.riskp { border-left: 3px solid var(--bad); padding-left: 10px; background: #fffafa; border-radius: 0 10px 10px 0; margin: 4px 0; }
.post.riskp.closed { border-left-color: var(--ok); background: #f8fcfa; }
.libg { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.lib { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.lic { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-2); font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
/* Gösterge renkleri */
.dsec[style*="--acc"] { border-top: 3px solid var(--acc); }
.dsec[style*="--acc"] h2 { color: var(--acc); }
.grid.dsec[style*="--acc"] { border-top: 0; }
.grid.dsec[style*="--acc"] > .card { border-top: 3px solid var(--acc); }
.dstat[style*="--acc"] .stat { border-top: 3px solid var(--acc); }
.dstat[style*="--acc"] .stat .v:not(.bad):not(.ok) { color: var(--acc); }
.dstat .stat { height: 100%; }
#feed.dsec[style*="--acc"] > .card { border-top: 3px solid var(--acc); }
#feed.dsec { border-top: 0 !important; }
.dside { min-width: 0; }
.dlt td { padding: 6px 8px; }
.dlt tr.off td { opacity: .55; }
.swatches { display: flex; gap: 4px; }
.sw { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); cursor: pointer; padding: 0; }
.sw.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--heading); }
.hb { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; gap: 8px; align-items: center; padding: 4px 0; }
.hb > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Proje paneli eklentileri */
.bellb { border: 0; background: none; cursor: pointer; padding: 6px; border-radius: 8px; position: relative; color: var(--text); margin-top: 2px; }
.bellb:hover { background: #f3f6fa; }
.bellb svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; display: block; }
.bellb .badge { position: absolute; top: -2px; right: -4px; }
.nrow { display: flex; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--heading); font-size: 13.5px; border-radius: 8px; }
.nrow:hover { background: #f5f9fd; } .nrow.new { background: var(--brand-soft); } .nrow.overdue { color: #b83434; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; }
.kcol { background: #f3f5f8; border-radius: 12px; padding: 8px; min-height: 200px; }
.kcol.over { background: var(--brand-soft); }
.kh { font-weight: 600; font-size: 13px; padding: 4px 6px 8px; color: var(--heading); }
.kcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; cursor: pointer; box-shadow: var(--shadow); }
.kcard[draggable="true"] { cursor: grab; } .kcard.late { border-left: 3px solid var(--bad); }
.steps { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.stp { border: 1px solid var(--line-2); background: #fff; border-radius: 99px; padding: 3px 9px; font-size: 12px; cursor: pointer; color: var(--text); }
.stp.on { background: var(--ok-soft); border-color: #a9dcc3; color: #137a52; font-weight: 600; }
.fgrp { border: 1px solid var(--line); border-radius: 10px; padding-bottom: 4px; }
.fgrp .file { border: 0; }
.calg { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cwh { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; padding: 4px 6px; }
.cday { background: #fff; border: 1px solid var(--line); border-radius: 10px; min-height: 104px; padding: 4px 5px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cday.oth { opacity: .5; } .cday.tdy { border-color: var(--brand-2); box-shadow: 0 0 0 2px rgba(49,113,181,.15); }
.cdn { font-size: 12px; font-weight: 600; color: var(--heading); }
.cev { display: block; font-size: 11px; line-height: 1.3; padding: 2px 5px; border-radius: 5px; background: color-mix(in srgb, var(--c) 14%, #fff); border-left: 3px solid var(--c); color: var(--heading); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cev.late { outline: 1px solid var(--bad); }
.cmore { font-size: 11px; color: var(--muted); }
.wl { display: inline-block; min-width: 46px; padding: 3px 6px; border-radius: 6px; text-decoration: none; color: var(--heading); background: linear-gradient(90deg, #cfe2f3 var(--w), #f3f5f8 var(--w)); font-weight: 600; font-size: 12.5px; }
.wl.clash { background: linear-gradient(90deg, #f7c8c8 var(--w), #fdf0f0 var(--w)); }
@media (max-width: 860px) { .calg { grid-template-columns: repeat(7, minmax(44px, 1fr)); overflow-x: auto; } .cev { font-size: 10px; } }
.phg { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.phc { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.phc b { font-size: 20px; color: var(--heading); }
.phc a { text-decoration: none; }
.chiped { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 99px; background: #fff; padding: 0 4px 0 2px; }
.chip input { border: 0; padding: 5px 8px; width: auto; min-width: 60px; field-sizing: content; font-size: 13px; background: transparent; box-shadow: none !important; }
.chip button { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 15px; padding: 0 4px; }
.chip button:hover { color: var(--bad); }
.ptiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ptile { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: border-color .15s, transform .1s; }
.ptile:hover { border-color: var(--brand-1); transform: translateY(-1px); }
.ptile.warn { border-left: 4px solid var(--warn); } .ptile.urgent { border-left: 4px solid var(--bad); }
.pt-name { display: block; font-size: 15px; color: var(--heading); line-height: 1.3; }
.pt-grid { display: grid; grid-template-columns: 58px 1fr; gap: 2px 8px; font-size: 12.5px; }
.pt-grid span { color: var(--muted); } .pt-grid b { font-weight: 500; color: var(--heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-foot { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.ftab { width: 100%; } .ftab th, .ftab td { padding: 3px 4px; border-bottom: 0; } .ftab input { padding: 6px 8px; font-size: 13px; }
.nd .code { font-size: 13.5px; }
.cdn { cursor: pointer; display: flex; justify-content: space-between; }
.cadd { opacity: 0; color: var(--brand-2); font-weight: 700; } .cday:hover .cadd { opacity: 1; }
.cev.plan { background: var(--c); color: #fff; border-left-color: rgba(0,0,0,.25); font-weight: 600; }
.punch { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn.big { padding: 14px 26px; font-size: 16px; }
tr.we td { background: #fafafb; }
.sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sigc { width: 100%; height: 130px; border: 1px dashed var(--line-2); border-radius: 10px; background: #fff; touch-action: none; display: block; margin: 4px 0; }
.wl2 { margin: 0; padding-left: 18px; font-size: 13.5px; } .wl2 li { margin: 3px 0; }
@media (max-width: 860px) { .sigs { grid-template-columns: 1fr; } .btn.cam { width: 100%; padding: 12px; } }
/* Proje belgeleri: köşe düğmesi + sağdan açılan panel */
.pdocs-fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #469cca, #3171b5); color: #fff; font: 600 14px/1 inherit; font-family: inherit; box-shadow: 0 8px 24px rgba(49, 113, 181, .35); }
.pdocs-fab:hover { filter: brightness(1.06); transform: translateY(-1px); }
.pdocs-wrap { position: fixed; inset: 0; z-index: 60; }
.pdocs-bg { position: absolute; inset: 0; background: rgba(20, 30, 45, .28); }
.pdocs { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: #fff; box-shadow: -12px 0 40px rgba(0, 0, 0, .15); display: flex; flex-direction: column; animation: pdin .18s ease-out; }
@keyframes pdin { from { transform: translateX(30px); opacity: .6; } to { transform: none; opacity: 1; } }
.pdocs-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.pdocs-h b { font-size: 16px; }
.pdocs-b { padding: 14px 16px 30px; overflow-y: auto; flex: 1; }
.pd-sec { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.pd-sec > summary { cursor: pointer; padding: 10px 12px; display: flex; align-items: center; gap: 8px; list-style: none; }
.pd-sec > summary::-webkit-details-marker { display: none; }
.pd-sec > summary::before { content: '▸'; color: var(--muted); transition: transform .15s; }
.pd-sec[open] > summary::before { transform: rotate(90deg); }
.pd-n { background: #eef4fb; color: #3171b5; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 600; }
.pd-warn { margin-left: auto; color: var(--bad); font-size: 12px; }
.pd-list { padding: 0 10px 10px; }
.pd-row { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-top: 1px solid #f1f3f6; }
.pd-ic { width: 34px; text-align: center; font-size: 18px; flex: none; }
.pd-t { flex: 1; min-width: 0; } .pd-name { font-size: 13.5px; overflow-wrap: anywhere; }
.pd-a { display: flex; gap: 4px; flex: none; }
.pd-empty { padding: 6px 4px; }
@media (max-width: 860px) { .pdocs-fab { right: 14px; bottom: 14px; padding: 12px; } .pdocs-fab span { display: none; } .pd-row { flex-wrap: wrap; } .pd-a { width: 100%; justify-content: flex-end; } }
@media print { .pdocs-fab, .pdocs-wrap { display: none !important; } }
.pdk { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.pdk > summary { cursor: pointer; padding: 10px 12px; display: flex; align-items: center; gap: 8px; list-style: none; }
.pdk > summary::-webkit-details-marker { display: none; }
.pdk > summary::before { content: '▸'; color: var(--muted); } .pdk[open] > summary::before { content: '▾'; }
.pdk-b { padding: 0 12px 12px; }
.pdk-t { width: 100%; border-collapse: collapse; } .pdk-t td { border-top: 1px solid #f1f3f6; padding: 7px 6px; vertical-align: top; }
.pdk-t tr.over td { background: #eef4fb; }
#bomt tr.grp td { background: #f6f8fb; border-top: 2px solid var(--line); }
/* Oda modu: tam ekran bildirim panosu */
body.roommode .side, body.roommode .top, body.roommode #dbanner, body.roommode .pdocs-fab, body.roommode .mtop { display: none !important; }
body.roommode .app { display: block !important; }
body.roommode .main, body.roommode #main { margin: 0 !important; padding: 0 !important; max-width: none !important; }
body.roommode { background: #0f1b2b; }
.room { min-height: 100vh; background: linear-gradient(160deg, #0f1b2b, #16304f); color: #e8eef6; padding: 28px 36px; position: relative; }
.room-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.room-name { font-size: 40px; font-weight: 700; letter-spacing: -.01em; }
.room-ppl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .room-ppl span { background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 3px 12px; font-size: 14px; }
.room-r { text-align: right; } .room-clock { font-size: 64px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; } .room-date { font-size: 18px; opacity: .75; margin-top: 4px; }
.room-bar { display: flex; align-items: center; gap: 8px; margin: 20px 0 14px; font-size: 15px; opacity: .9; }
.room-bar .btn { background: rgba(255, 255, 255, .1); color: #e8eef6; border-color: rgba(255, 255, 255, .15); }
.room-list { display: flex; flex-direction: column; gap: 12px; }
.room-card { display: flex; gap: 16px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-left: 6px solid #469cca; border-radius: 16px; padding: 16px 20px; }
.room-card.k-approval { border-left-color: #2fbf71; } .room-card.k-risk { border-left-color: #f0a030; } .room-card.k-mention { border-left-color: #a78bfa; } .room-card.k-meeting { border-left-color: #38bdf8; }
.room-card.fresh { background: rgba(70, 156, 202, .22); animation: rpulse 1.2s ease-out 3; }
@keyframes rpulse { 0% { box-shadow: 0 0 0 0 rgba(70, 156, 202, .7); } 100% { box-shadow: 0 0 0 18px rgba(70, 156, 202, 0); } }
.rc-ic { font-size: 34px; line-height: 1; } .rc-b { flex: 1; min-width: 0; }
.rc-top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .rc-who { font-size: 24px; color: #fff; } .rc-kind { font-size: 14px; opacity: .7; text-transform: uppercase; letter-spacing: .06em; } .rc-time { margin-left: auto; font-size: 15px; opacity: .65; }
.rc-text { font-size: 21px; margin-top: 4px; line-height: 1.35; overflow-wrap: anywhere; }
.room-empty { padding: 60px; text-align: center; font-size: 20px; opacity: .6; }
.room-start { position: fixed; inset: 0; background: rgba(10, 20, 35, .92); display: flex; align-items: center; justify-content: center; text-align: center; z-index: 80; color: #e8eef6; }
.room-start h2 { font-size: 30px; margin: 10px 0; } .room-start .muted { color: #b8c4d4 !important; }
@media (max-width: 860px) { .room { padding: 16px; } .room-name { font-size: 26px; } .room-clock { font-size: 40px; } .rc-who { font-size: 18px; } .rc-text { font-size: 16px; } }
/* Klasörler */
.dtool { margin-bottom: 12px; gap: 8px; }
.ddrop { position: relative; min-height: 180px; }
.ddrop-hint { display: none; position: absolute; inset: 0; border: 2px dashed #469cca; border-radius: 14px; background: rgba(70, 156, 202, .08); align-items: center; justify-content: center; font-size: 16px; color: #3171b5; pointer-events: none; }
.ddrop.over .ddrop-hint { display: flex; }
.dtab td { vertical-align: middle; } .dname { display: flex; align-items: center; gap: 10px; } .dname a { color: inherit; font-weight: 500; overflow-wrap: anywhere; } .dname a:hover { color: #3171b5; text-decoration: underline; }
.dic { font-size: 20px; width: 26px; text-align: center; flex: none; }
.drow.on td, .dtile.on { background: #eef4fb; } .drow.dtarget td, .dtile.dtarget { background: #dcecf9; outline: 2px solid #469cca; }
.dempty { padding: 50px 20px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 14px; }
.dtile { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; text-align: center; color: inherit; text-decoration: none; background: #fff; }
.dtile:hover { border-color: #9fc6e4; box-shadow: var(--shadow); } .dt-ic { font-size: 44px; line-height: 1.1; } .dt-img { width: 100%; height: 84px; object-fit: cover; border-radius: 8px; }
.dt-n { font-size: 13px; font-weight: 500; margin-top: 6px; overflow-wrap: anywhere; } .dt-ck { position: absolute; top: 8px; left: 8px; }
.dmenu { display: flex; flex-direction: column; gap: 6px; } .dmenu .btn { justify-content: flex-start; }
.dtree-box { max-height: 52vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 6px 0; }
.dtree { display: flex; align-items: center; gap: 8px; padding: 6px 10px; cursor: pointer; } .dtree:hover { background: #f3f7fb; }
#dprog .dprog-in { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; font-size: 13px; } #dprog .bar { height: 6px; background: #eef2f6; border-radius: 4px; margin-top: 6px; overflow: hidden; } #dprog .bar i { display: block; height: 100%; background: #469cca; }
.shgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.shcard { margin: 0; color: inherit; text-decoration: none; } .shcard:hover { border-color: #9fc6e4; box-shadow: var(--shadow); } .shcard.off { opacity: .6; }
.sh-ic { font-size: 28px; margin-right: 10px; } .sh-n { display: flex; gap: 18px; margin-top: 12px; } .sh-n div { display: flex; flex-direction: column; } .sh-n b { font-size: 20px; } .sh-n span { font-size: 11.5px; color: var(--muted); }

/* Garanti servis geçmişi */
.whist { display: grid; gap: 0; max-height: 58vh; overflow: auto; }
.wh { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 9px 0 9px 10px; border-left: 2px solid var(--line, #e3e6ec); position: relative; }
.wh::before { content: ''; position: absolute; left: -6px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand, #3b6fb6); }
.wh.claim::before { background: var(--bad, #c94141); }
.wh-d { font-size: 12px; color: var(--muted, #7a7d85); padding-top: 1px; }
/* Mali durum: maliyet kalemleri */
.fin-ctl { gap: 10px; align-items: flex-end; } .fin-ctl .f { margin: 0; min-width: 140px; }
.fin-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.fin-cat { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; background: #fff; opacity: .55; }
.fin-cat.on { opacity: 1; border-color: #9fc6e4; background: #f3f8fd; } .fin-cat b { font-weight: 600; color: var(--ink-2, #444); }
.fin-sort:hover { color: #3171b5; }
/* Klasörler: renkli klasör simgesi, renk paleti, sürükle-bırak hedefleri */
.drv-ficon { display: block; flex: none; } .dic .drv-ficon { margin: 0 auto; } .dt-ic .drv-ficon { margin: 0 auto; }
.drv-colors { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.drv-sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px var(--line); cursor: pointer; color: #fff; font-size: 12px; line-height: 1; padding: 0; }
.drv-sw.on { box-shadow: 0 0 0 2px var(--c), 0 0 0 4px #fff, 0 0 0 5px var(--c); }
.drv-crumb { padding: 2px 4px; border-radius: 6px; } .drv-crumb.dtarget { background: #dcecf9; outline: 2px dashed #469cca; }
.drow.drv-dragging, .dtile.drv-dragging { opacity: .45; } .drow.drv-no td, .dtile.drv-no { background: #fdeeee; cursor: no-drop; }
.drv-ghost { position: fixed; top: -100px; left: -100px; padding: 6px 12px; background: #3171b5; color: #fff; border-radius: 999px; font: 600 13px Arial, sans-serif; }
/* Günlük rapor: mesai (giriş / çıkış) */
.dr-att-rows { display: flex; flex-direction: column; gap: 6px; }
.dr-att-row { gap: 10px; flex-wrap: wrap; } .dr-att-row input[type=time] { width: auto; padding: 5px 8px; }
.dr-att-mx { font-size: 9px; line-height: 1; color: var(--muted); margin-top: 1px; }
/* Roller ve yetkiler */
.role-list { display: flex; flex-wrap: wrap; gap: 8px; }
.role-item { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 4px 6px 4px 4px; }
.role-item input { width: 170px; padding: 5px 8px; } .role-add { border-style: dashed; }
.role-mx th, .role-mx td { text-align: center; } .role-mx td:first-child, .role-mx th:first-child { text-align: left; }
.role-sel { width: auto; padding: 4px 8px; } .role-ck { display: inline-flex; align-items: center; gap: 2px; margin: 0 3px; font-size: 11.5px; }
.role-pages { max-height: 520px; overflow: auto; }
/* Proje fotoğrafları */
.ph-drop.over { outline: 2px dashed #469cca; background: #f3f8fc; }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.ph { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #eef2f6; aspect-ratio: 4 / 3; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; } .ph:hover img { transform: scale(1.04); }
.ph span { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 8px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.phv { position: fixed; inset: 0; z-index: 90; background: rgba(8, 14, 24, .92); display: flex; align-items: center; justify-content: center; gap: 12px; }
.phv figure { margin: 0; max-width: 88vw; text-align: center; } .phv img { max-width: 88vw; max-height: 80vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.phv figcaption { color: #dfe7f1; font-size: 13px; margin-top: 10px; } .phv figcaption a { color: #9fd0ff; }
.phv button { background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 26px; cursor: pointer; }
.phv-x { position: absolute; top: 16px; right: 16px; }
/* Yalnızca mobilde görünen satırlar */
.show-m { display: none; }
@media (max-width: 860px) { .show-m { display: block; } }
