/* Heronflow uygulama stilleri – sakin, yoğun, Linear/Notion tarzı */
:root { --bg: #fff; --side: #f7f7f8; --soft: #f6f6f7; --panel: #fff; --panel2: #f2f2f4; --line: #e6e6e9; --line2: #d7d7dc; --txt: #17181b; --muted: #666a72; --acc: #5e6ad2; --acc2: #5e6ad2; --accs: #eef0fb; --ok: #1f9d6b; --bad: #d6353d; --warn: #b86e00; --sh: 0 8px 28px rgba(16, 18, 30, .14); --r: 8px; color-scheme: light; }
:root[data-theme=dark] { --bg: #0f1012; --side: #141517; --soft: #131416; --panel: #17181b; --panel2: #1f2024; --line: #26282c; --line2: #34363b; --txt: #e9eaec; --muted: #8e939c; --acc: #8b94f0; --acc2: #8b94f0; --accs: #1d2038; --ok: #3ccf91; --bad: #ff6b72; --warn: #f0b24a; --sh: 0 8px 28px rgba(0, 0, 0, .55); color-scheme: dark; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }
body { font: 14px/1.5 'Inter Variable', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--txt); -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -.01em; }
h1 { font-size: 15px; font-weight: 600; } h2 { font-size: 16px; font-weight: 600; } h3 { font-size: 14px; font-weight: 600; }
a { color: var(--acc); text-decoration: none; } a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; } button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; }
kbd { font: 12px 'Inter Variable', system-ui, sans-serif; background: var(--bg); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .pad { padding: 10px 12px; } .mt { margin-top: 8px; }
.grow { flex: 1; } .row { display: flex; align-items: center; } .gap { gap: 8px; } .wrap { flex-wrap: wrap; }
.ok { color: var(--ok); } .bad, .over, .err { color: var(--bad); }
.only-mobile { display: none !important; } .nojs { padding: 24px; }

/* kabuk */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); height: 100vh; }
.shell.ai-open { grid-template-columns: 240px minmax(0, 1fr) 360px; }
.side { background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 10px 8px; overflow-y: auto; gap: 1px; }
.main { display: flex; flex-direction: column; min-width: 0; height: 100vh; background: var(--bg); }
.top { border-bottom: 1px solid var(--line); padding: 0 16px; }
.top-row { display: flex; align-items: center; gap: 8px; min-height: 46px; }
.view { flex: 1; overflow: auto; padding: 16px; min-height: 0; background: var(--bg); }
.ai-panel { background: var(--panel); border-left: 1px solid var(--line); display: flex; flex-direction: column; height: 100vh; min-height: 0; }
.ai-panel[hidden] { display: none; }

.brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 12px; font-size: 14px; font-weight: 650; }
.logo { width: 22px; height: 22px; border-radius: 6px; background: var(--acc); color: var(--bg); display: grid; place-items: center; }
.side-search { display: flex; align-items: center; gap: 8px; width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 5px 9px; color: var(--muted); margin-bottom: 8px; text-align: left; font-size: 13px; }
.side-search:hover { border-color: var(--line2); } .side-search span { flex: 1; }
.nav { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 6px; color: var(--txt); font-size: 13.5px; min-height: 30px; }
.nav:hover { background: var(--panel2); text-decoration: none; } .nav.on { background: var(--panel2); font-weight: 600; }
.nav.on svg { color: var(--acc); }
.nav .tx { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav svg { color: var(--muted); flex: none; }
.count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.em { width: 20px; text-align: center; flex: none; }
.side-sec { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); padding: 16px 8px 4px; }
.pdot { width: 18px; height: 18px; border-radius: 5px; color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; flex: none; }
.pdot.lg { width: 26px; height: 26px; font-size: 13px; border-radius: 7px; }
.side-foot { margin-top: auto; display: grid; gap: 6px; padding-top: 12px; }

.ai-status { display: flex; align-items: center; gap: 8px; font-size: 12.5px; border: 1px solid var(--line); background: var(--bg); border-radius: 7px; padding: 5px 9px; color: var(--muted); text-align: left; }
.ai-status .dotk { width: 7px; height: 7px; border-radius: 50%; background: #9ca3af; flex: none; }
.ai-status.s-available .dotk { background: var(--ok); } .ai-status.s-available { color: var(--txt); }
.ai-status.s-downloadable .dotk, .ai-status.s-downloading .dotk { background: var(--warn); }
.ai-status.s-unavailable .dotk, .ai-status.s-unsupported .dotk { background: var(--bad); }
.ai-status.big { padding: 9px 12px; font-size: 13.5px; margin: 8px 0; }

/* butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--panel); border-radius: 7px; padding: 0 11px; height: 30px; font-size: 13px; font-weight: 500; white-space: nowrap; box-shadow: 0 1px 0 rgba(0, 0, 0, .03); }
.btn:hover { background: var(--panel2); border-color: var(--line2); }
.btn.primary { background: var(--acc); border-color: var(--acc); color: #fff; box-shadow: none; } .btn.primary:hover { filter: brightness(1.08); background: var(--acc); }
:root[data-theme=dark] .btn.primary { color: #0f1012; }
.btn.danger { color: var(--bad); } .btn.danger:hover { background: color-mix(in srgb, var(--bad) 10%, transparent); border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); box-shadow: none; } .btn.ghost:hover { background: var(--panel2); color: var(--txt); }
.btn.sm { height: 26px; padding: 0 9px; font-size: 12.5px; } .btn.block { width: 100%; justify-content: flex-start; margin-bottom: 6px; }
.btn:disabled { opacity: .5; cursor: default; }
.ai-btn { color: var(--acc); background: var(--accs); border-color: transparent; box-shadow: none; } .ai-btn:hover { background: var(--accs); border-color: var(--acc); }
.ai-btn.on { border-color: var(--acc); }
.icon-btn { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 0; background: transparent; border-radius: 6px; color: var(--muted); flex: none; }
.icon-btn:hover { background: var(--panel2); color: var(--txt); } .icon-btn.sm { width: 22px; height: 22px; }
.icon-btn.fav { color: #e5a50a; } .icon-btn.fav svg { fill: #e5a50a; }
.link-btn { border: 0; background: none; color: var(--acc); padding: 0 4px; text-decoration: underline; }

.key-badge, .badge { font-size: 12px; background: var(--panel2); border-radius: 5px; padding: 0 6px; color: var(--muted); font-weight: 500; }
.badge.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.search { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 0 9px; color: var(--muted); height: 30px; }
.search:focus-within { border-color: var(--acc); } .search input { border: 0; background: transparent; outline: 0; width: 190px; font-size: 13px; color: var(--txt); }
.tabs { display: flex; gap: 2px; overflow-x: auto; margin-bottom: -1px; }
.tab { display: flex; align-items: center; gap: 6px; padding: 7px 10px; color: var(--muted); border-bottom: 2px solid transparent; font-size: 13px; font-weight: 500; white-space: nowrap; }
.tab:hover { color: var(--txt); text-decoration: none; } .tab.on { color: var(--txt); border-color: var(--acc); }
.filters { display: flex; gap: 6px; align-items: center; padding: 8px 0; flex-wrap: wrap; border-top: 1px solid var(--line); }
.fsel, .inp, .inline-sel { background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 0 9px; height: 28px; font-size: 13px; }
.inp { height: 32px; width: 100%; } textarea.inp { height: auto; padding: 7px 9px; resize: vertical; }
.fsel.on { border-color: var(--acc); background: var(--accs); color: var(--acc); }
.inp:focus, .fsel:focus { border-color: var(--acc); outline: 0; }

/* rozetler */
.chip { display: inline-block; font-size: 12px; padding: 0 6px; border-radius: 5px; color: var(--txt); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); line-height: 18px; }
.chip.rm { display: inline-flex; align-items: center; gap: 3px; } .chip.rm button { border: 0; background: none; color: inherit; padding: 0; font-size: 14px; line-height: 1; }
.epic-chip { display: inline-block; font-size: 12px; font-weight: 500; padding: 0 6px; border-radius: 5px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--txt); margin-bottom: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 18px; border-left: 2px solid var(--c); }
.avatar { width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; flex: none; }
.avatar.empty { padding: 0; background: transparent; color: var(--muted); border: 1px dashed var(--line2); }
.type { width: 16px; height: 16px; border-radius: 4px; color: #fff; display: inline-grid; place-items: center; flex: none; }
.prio { display: inline-flex; } .key { font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pts { font-size: 12px; font-weight: 600; background: var(--panel2); border-radius: 5px; padding: 0 6px; min-width: 20px; text-align: center; color: var(--muted); } .pts.none { opacity: .5; }
.due { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--muted); } .due.over { color: var(--bad); font-weight: 600; }
.meta-i { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--muted); } .meta-i.ok { color: var(--ok); } .meta-i.run { color: var(--bad); }
.done-flag { color: var(--ok); display: inline-flex; }

/* pano */
.board { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding-bottom: 8px; }
.col { width: 284px; flex: none; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; max-height: 100%; }
.col-head { display: flex; align-items: center; gap: 7px; padding: 9px 8px 5px 12px; font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; } .pts-sum { font-size: 12px; color: var(--muted); }
.col-body { padding: 4px 6px; overflow-y: auto; min-height: 40px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.col-body.over, .bsec-body.over { background: color-mix(in srgb, var(--acc) 7%, transparent); outline: 1px dashed var(--acc); outline-offset: -2px; border-radius: 8px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; cursor: pointer; box-shadow: 0 1px 2px rgba(16, 18, 30, .05); }
.card:hover { border-color: var(--line2); box-shadow: 0 2px 6px rgba(16, 18, 30, .08); } .card.done .card-title { color: var(--muted); }
.card.dragging, .brow.dragging { opacity: .4; } .card.drop-before { box-shadow: 0 -2px 0 var(--acc); }
.card-title { font-size: 13.5px; font-weight: 500; margin-bottom: 7px; overflow-wrap: anywhere; line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 7px; }
.card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.add-card { margin: 2px 6px 6px; padding: 5px 8px; border: 0; background: transparent; color: var(--muted); border-radius: 6px; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.add-card:hover { background: var(--panel2); color: var(--txt); } .add-card.wide { margin: 6px 0 0; width: 100%; }
.add-col { flex: none; width: 190px; border: 1px dashed var(--line2); background: transparent; border-radius: 10px; padding: 10px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; }
.add-col:hover { border-color: var(--acc); color: var(--acc); }
.inp.quick { margin: 4px 6px 8px; width: calc(100% - 12px); }

/* tablo / liste */
.table-wrap { overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); padding: 7px 12px; border-bottom: 1px solid var(--line); cursor: pointer; white-space: nowrap; background: var(--soft); position: sticky; top: 0; }
.tbl td { padding: 6px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr { cursor: pointer; } .tbl tbody tr:hover { background: var(--panel2); } .tbl tbody tr:last-child td { border-bottom: 0; } .tbl tr.done .t { color: var(--muted); text-decoration: line-through; }
.tbl .t { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; } .tbl .num { text-align: right; }
.inline-sel { height: 24px; padding: 0 6px; font-size: 12.5px; border-color: transparent; background: color-mix(in srgb, var(--c) 16%, transparent); }
.dbt tbody tr { cursor: default; } .dbt th small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }
.cell { border: 1px solid transparent; background: transparent; border-radius: 5px; padding: 3px 6px; width: 100%; min-width: 110px; font-size: 13px; } .cell:hover, .cell:focus { border-color: var(--line2); background: var(--bg); outline: 0; }
.cell.sel { background: color-mix(in srgb, var(--c) 16%, transparent); }
.empty { text-align: center; color: var(--muted); padding: 40px 16px; }

/* backlog */
.backlog { display: grid; gap: 12px; max-width: 1080px; }
.bsec { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px 8px; } .bsec.active { border-color: color-mix(in srgb, var(--acc) 50%, var(--line)); }
.bsec-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 2px 0 6px; } .goal { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bsec-body { display: grid; gap: 3px; min-height: 36px; }
.brow { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); cursor: pointer; font-size: 13px; min-height: 32px; }
.brow:hover { border-color: var(--line2); } .brow.done .t { color: var(--muted); text-decoration: line-through; } .brow .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-weight: 500; }
.grip { color: var(--line2); cursor: grab; display: inline-flex; }
.st-chip { font-size: 12px; padding: 0 7px; border-radius: 5px; color: var(--txt); background: color-mix(in srgb, var(--c) 16%, transparent); white-space: nowrap; line-height: 18px; }
.drop-hint { border: 1px dashed var(--line2); border-radius: 7px; padding: 10px; text-align: center; color: var(--muted); font-size: 12.5px; }

/* zaman çizelgesi */
.tl-bar, .cal-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; } .cal-bar h2 { text-transform: capitalize; margin-left: 8px; }
.tl { overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); max-height: calc(100% - 44px); }
.tl-in { position: relative; min-width: 100%; }
.tl-head, .tl-row { display: flex; } .tl-head { position: sticky; top: 0; z-index: 3; background: var(--soft); border-bottom: 1px solid var(--line); }
.tl-label { width: 240px; flex: none; position: sticky; left: 0; z-index: 2; background: var(--panel); border-right: 1px solid var(--line); padding: 5px 10px; display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.tl-head .tl-label { background: var(--soft); cursor: default; } .tl-label .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-months { display: flex; font-size: 12px; font-weight: 600; text-transform: capitalize; } .tl-months > div { padding: 3px 8px; border-left: 1px solid var(--line); overflow: hidden; white-space: nowrap; }
.tl-days { display: flex; } .tl-days > div { width: var(--dw); text-align: center; font-size: 12px; color: var(--muted); padding: 2px 0; flex: none; } .tl-days .we { background: var(--panel2); } .tl-days .today { background: var(--acc); color: var(--bg); border-radius: 5px; }
.tl-row { border-bottom: 1px solid var(--line); height: 36px; }
.tl-track { position: relative; flex: none; width: calc(77 * var(--dw)); background: repeating-linear-gradient(90deg, transparent 0 calc(var(--dw) - 1px), var(--line) calc(var(--dw) - 1px) var(--dw)); }
.tl-barx { position: absolute; top: 7px; height: 22px; border-radius: 5px; background: color-mix(in srgb, var(--c) 24%, var(--panel)); border: 1px solid color-mix(in srgb, var(--c) 70%, transparent); overflow: hidden; cursor: pointer; font-size: 12px; display: flex; align-items: center; }
.tl-barx i { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--c) 45%, transparent); } .tl-barx span { position: relative; padding: 0 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tl-barx.done { opacity: .6; }
.tl-today { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--bad); z-index: 1; pointer-events: none; }

/* takvim */
.cal { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); } .cal-dow > div { padding: 6px 8px; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--soft); border-bottom: 1px solid var(--line); }
.cal-cell { min-height: 100px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); padding: 4px; cursor: pointer; } .cal-cell:nth-child(7n+1) { border-left: 0; } .cal-cell:nth-child(-n+7) { border-top: 0; } .cal-cell.out { background: var(--soft); } .cal-cell.out .dn { opacity: .5; }
.cal-cell:hover { background: var(--panel2); } .cal-cell .dn { font-size: 12px; color: var(--muted); padding: 1px 5px; width: max-content; font-variant-numeric: tabular-nums; } .cal-cell.today .dn { background: var(--acc); color: var(--bg); border-radius: 10px; font-weight: 600; }
.cal-ev { font-size: 12px; padding: 1px 6px; border-radius: 4px; margin-top: 2px; background: color-mix(in srgb, var(--c) 16%, transparent); border-left: 2px solid var(--c); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; } .cal-ev.done { text-decoration: line-through; opacity: .6; }

/* raporlar / genel bakış */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; } .tile b { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .tile span { font-size: 12.5px; color: var(--muted); }
.rep-grid, .dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.card-box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-width: 0; } .card-box.wide { grid-column: 1 / -1; }
.cb-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .cb-head h3 { flex: 1; font-size: 13px; } .cb-head select { height: 26px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font-size: 12.5px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 28px; align-items: center; gap: 8px; margin: 6px 0; font-size: 12.5px; } .bl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt { background: var(--panel2); border-radius: 4px; height: 8px; overflow: hidden; } .bf { height: 100%; border-radius: 4px; } .bv { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.lc { width: 100%; height: auto; } .lc text { font-size: 12px; fill: var(--muted); } .lc .grid { stroke: var(--line); stroke-width: 1; }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); } .legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.vel { display: flex; gap: 14px; align-items: flex-end; height: 160px; } .vcol { flex: 1; display: grid; grid-template-rows: 1fr auto; text-align: center; font-size: 12px; color: var(--muted); min-width: 0; height: 100%; }
.vbars { display: flex; align-items: flex-end; justify-content: center; gap: 4px; } .vbars i { width: 40%; max-width: 30px; border-radius: 3px 3px 0 0; } .vbars .c { background: color-mix(in srgb, var(--acc) 30%, transparent); } .vbars .d { background: var(--acc); }
.dash { max-width: 1180px; } .hello { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; } .hello h2 { font-size: 20px; letter-spacing: -.02em; }
.proj-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-bottom: 14px; }
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 13px; color: var(--txt); display: grid; gap: 8px; } .pcard:hover { border-color: var(--line2); text-decoration: none; box-shadow: 0 2px 8px rgba(16, 18, 30, .06); }
.prog { height: 6px; background: var(--panel2); border-radius: 4px; overflow: hidden; margin: 2px 0; } .prog i { display: block; height: 100%; background: var(--acc); border-radius: 4px; }
.mini { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 6px; cursor: pointer; color: var(--txt); font-size: 13px; } .mini:hover { background: var(--panel2); text-decoration: none; } .mini .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.act { padding: 5px 6px; font-size: 12.5px; cursor: pointer; border-bottom: 1px solid var(--line); } .act:last-child { border-bottom: 0; }

/* sohbet */
.ai-head { display: flex; align-items: center; gap: 4px; padding: 10px 10px 8px 14px; } .ai-head b { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; } .ai-panel > .ai-status { margin: 0 12px; }
.chat { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.msg { padding: 8px 12px; border-radius: 10px; max-width: 94%; overflow-wrap: anywhere; font-size: 13.5px; } .msg.user { align-self: flex-end; background: var(--acc); color: #fff; } :root[data-theme=dark] .msg.user { color: #0f1012; } .msg.ai { background: var(--panel2); } .msg .md { font-size: 13.5px; } .msg .md p { margin: 0 0 6px; }
.chat-empty { text-align: center; color: var(--muted); padding: 24px 8px; display: grid; gap: 8px; justify-items: center; } .sugg { border: 1px solid var(--line); background: var(--panel); border-radius: 7px; padding: 6px 12px; font-size: 13px; width: 100%; text-align: left; } .sugg:hover { border-color: var(--acc); color: var(--acc); }
.chat-in { display: flex; gap: 6px; padding: 10px 12px 14px; border-top: 1px solid var(--line); } .chat-in textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--bg); min-height: 38px; max-height: 120px; } .chat-in textarea:focus { border-color: var(--acc); outline: 0; }
.send { background: var(--acc); color: #fff; align-self: flex-end; width: 36px; height: 36px; border-radius: 8px; } :root[data-theme=dark] .send { color: #0f1012; } .send:hover { background: var(--acc); filter: brightness(1.1); color: #fff; }

/* modal */
.overlay { position: fixed; inset: 0; background: rgba(8, 9, 14, .45); display: flex; align-items: flex-start; justify-content: center; padding: 8vh 12px 12px; z-index: 50; overflow-y: auto; }
.modal { background: var(--panel); border-radius: 12px; box-shadow: var(--sh); width: min(620px, 100%); border: 1px solid var(--line); display: flex; flex-direction: column; max-height: 86vh; }
.modal.sm { width: min(460px, 100%); } .modal.issue { width: min(960px, 100%); } .modal.ai-result { width: min(540px, 100%); } .modal.palette { width: min(580px, 100%); }
.modal-head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 6px 18px; } .modal-head h2 { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.modal-body { padding: 4px 18px 14px; overflow-y: auto; } .modal-body h3 { margin: 18px 0 6px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.modal-foot { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.fl { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); font-weight: 500; margin: 10px 0 0; } .fl .inp { color: var(--txt); font-weight: 400; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .chk { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-top: 12px; color: var(--txt); font-weight: 400; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; } .sw { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--panel); box-shadow: 0 0 0 1px var(--line2); } .sw.on { box-shadow: 0 0 0 2px var(--acc); }
.issue-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; } .issue-main section { margin-top: 18px; }
.ptitle { width: 100%; border: 1px solid transparent; background: transparent; font-size: 32px; font-weight: 700; padding: 4px 6px; border-radius: 8px; letter-spacing: -.025em; } .ptitle:hover, .ptitle:focus { border-color: var(--line); background: var(--bg); outline: 0; } .ptitle.sm { font-size: 20px; letter-spacing: -.015em; font-weight: 650; }
.sec-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .sec-head h3 { font-size: 13px; }
.desc-view { padding: 6px 8px; border-radius: 7px; cursor: text; } .desc-view:hover { background: var(--panel2); } .desc-empty { width: 100%; text-align: left; border: 1px dashed var(--line2); background: transparent; border-radius: 7px; padding: 9px 10px; color: var(--muted); }
.cl { display: flex; align-items: center; gap: 8px; padding: 3px 0; } .cl span { flex: 1; } .cl.done span { text-decoration: line-through; color: var(--muted); }
.cmt { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin-top: 8px; } .cmt.ai { background: var(--accs); border-color: transparent; }
.lbl-box { display: flex; gap: 4px; flex-wrap: wrap; padding: 4px 6px; border: 1px solid var(--line); border-radius: 7px; align-items: center; min-height: 32px; } .lbl-box input { border: 0; background: transparent; outline: 0; width: 100px; font-size: 13px; }
.timer { display: flex; align-items: center; gap: 10px; color: var(--txt); font-weight: 400; } .issue-side { border-left: 1px solid var(--line); padding-left: 18px; }
.seg { display: inline-flex; background: var(--panel2); border-radius: 7px; padding: 2px; gap: 2px; } .seg button { border: 0; background: transparent; padding: 3px 10px; font-size: 12.5px; border-radius: 5px; color: var(--muted); font-weight: 500; } .seg button.on { background: var(--panel); color: var(--txt); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.ai-out { white-space: pre-wrap; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px; max-height: 50vh; overflow-y: auto; min-height: 90px; font-size: 13.5px; }
.ai-item { display: flex; align-items: center; gap: 8px; padding: 3px 0; white-space: normal; } .ai-item input[type=text] { flex: 1; border: 1px solid var(--line); background: var(--panel); border-radius: 6px; padding: 5px 8px; }
.steps { padding-left: 20px; } .steps li { margin: 6px 0; } code { background: var(--panel2); border-radius: 4px; padding: 1px 5px; font: 12.5px ui-monospace, 'Cascadia Code', Consolas, monospace; overflow-wrap: anywhere; }
.plist { margin-top: 8px; max-height: 50vh; overflow-y: auto; } .pi { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 6px; cursor: pointer; } .pi.on, .pi:hover { background: var(--panel2); } .pi small { color: var(--muted); font-size: 12px; }
.popmenu { position: fixed; z-index: 70; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--sh); padding: 4px; min-width: 210px; display: grid; } .popmenu button { text-align: left; border: 0; background: none; padding: 6px 10px; border-radius: 5px; font-size: 13px; } .popmenu button:hover { background: var(--panel2); } .popmenu button.danger { color: var(--bad); } .popmenu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
#toast-root { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; }
.toast { background: #1f2024; color: #f2f2f4; padding: 9px 14px; border-radius: 9px; box-shadow: var(--sh); display: flex; gap: 12px; align-items: center; font-size: 13px; border: 1px solid #34363b; } .toast.err { background: #5b1519; border-color: #8a2128; } .toast.ok { background: #123a2c; border-color: #1c5a44; } .toast .link-btn { color: #aeb6ff; }

/* notlar */
.notes { display: grid; grid-template-columns: 248px minmax(0, 1fr); height: 100%; margin: -16px; }
.ntree { border-right: 1px solid var(--line); background: var(--side); display: flex; flex-direction: column; min-height: 0; } .nt-head { display: flex; gap: 6px; padding: 10px; } .nt-head input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: 0 9px; height: 28px; background: var(--bg); font-size: 13px; }
.nt-list { flex: 1; overflow-y: auto; padding: 0 6px; } .nt-foot { padding: 8px; border-top: 1px solid var(--line); }
.tn { display: flex; align-items: center; gap: 2px; padding: 2px 4px 2px calc(4px + var(--d, 0) * 14px); border-radius: 6px; font-size: 13.5px; } .tn:hover { background: var(--panel2); } .tn.on { background: var(--panel2); font-weight: 600; } .tn.over { outline: 1px dashed var(--acc); }
.tn a { flex: 1; display: flex; gap: 6px; align-items: center; color: var(--txt); min-width: 0; padding: 3px 0; } .tn a:hover { text-decoration: none; } .tn .tx { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-chev { border: 0; background: none; color: var(--muted); width: 18px; height: 18px; display: grid; place-items: center; padding: 0; } .tn-chev.off { visibility: hidden; } .tn .hov { visibility: hidden; } .tn:hover .hov { visibility: visible; }
.npage { overflow-y: auto; background: var(--bg); min-height: 0; } .cover { height: 180px; position: relative; } .cover-btns { position: absolute; right: 16px; bottom: 12px; display: none; gap: 6px; } .cover:hover .cover-btns { display: flex; }
.pwrap { max-width: 900px; margin: 0 auto; padding: 24px 32px 60px; } .crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; } .crumbs a { color: var(--muted); }
.big-icon { font-size: 48px; line-height: 1.1; border: 0; background: none; padding: 4px; border-radius: 8px; } .big-icon:hover { background: var(--panel2); }
.ptools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 6px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.fmt { display: inline-flex; gap: 1px; } .fb { border: 0; background: none; min-width: 28px; height: 28px; border-radius: 6px; color: var(--muted); font-size: 13px; } .fb:hover { background: var(--panel2); color: var(--txt); }
.editor { display: grid; gap: 16px; } .editor.mode-split { grid-template-columns: 1fr 1fr; } .editor.mode-edit .preview, .editor.mode-view textarea { display: none; }
.editor textarea { width: 100%; min-height: 420px; resize: vertical; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); padding: 14px 16px; font: 13.5px/1.7 ui-monospace, 'Cascadia Code', Consolas, monospace; } .editor textarea:focus { border-color: var(--acc); outline: 0; }
.preview { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 18px; min-height: 420px; overflow-wrap: anywhere; } .editor.mode-view .preview { border: 0; background: transparent; padding: 0; }
.slash { position: fixed; z-index: 80; width: 260px; max-height: 270px; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--sh); padding: 4px; } .si { padding: 5px 10px; border-radius: 5px; cursor: pointer; display: grid; } .si b { font-size: 13px; font-weight: 500; } .si span { font-size: 12px; color: var(--muted); } .si.on, .si:hover { background: var(--panel2); }
.subpages { margin-top: 28px; } .subpages h3 { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; } .pfoot { margin-top: 28px; }
.emoji-grid, .cover-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-bottom: 10px; } .emoji { font-size: 20px; border: 0; background: none; border-radius: 6px; padding: 4px; } .emoji:hover { background: var(--panel2); }
.cover-grid { grid-template-columns: repeat(3, 1fr); } .cover-sw { height: 56px; border: 2px solid transparent; border-radius: 8px; } .cover-sw:hover { border-color: var(--acc); }
.db-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; } .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; } .gcard { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 4px; font-size: 12.5px; } .gcard:hover { border-color: var(--line2); } .gcard b { font-size: 14px; }
.mem { margin: 6px 0; } .mem input[type=color] { width: 30px; height: 30px; padding: 0; border: 0; background: none; }

/* markdown */
.md { font-size: 14.5px; line-height: 1.7; } .md h1 { font-size: 26px; margin: 18px 0 8px; letter-spacing: -.025em; } .md h2 { font-size: 20px; margin: 18px 0 6px; letter-spacing: -.02em; } .md h3 { font-size: 16px; margin: 14px 0 4px; } .md p { margin: 0 0 10px; }
.md ul, .md ol { padding-left: 22px; margin: 0 0 10px; } .md ul.md-tasks { list-style: none; padding-left: 2px; } .md li.task { display: flex; gap: 8px; align-items: flex-start; } .md li.task.done span { text-decoration: line-through; color: var(--muted); } .md li.task input { margin-top: 5px; }
.md blockquote { margin: 0 0 10px; padding: 2px 14px; border-left: 3px solid var(--line2); color: var(--muted); } .md pre { background: var(--panel2); border-radius: 8px; padding: 12px 14px; overflow-x: auto; } .md pre code { background: none; padding: 0; }
.md table { border-collapse: collapse; margin: 0 0 12px; width: 100%; } .md th, .md td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; } .md th { background: var(--soft); font-weight: 600; } .md hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.md details { border: 1px solid var(--line); border-radius: 7px; padding: 6px 12px; margin: 0 0 10px; } .md summary { cursor: pointer; font-weight: 500; }
.callout { display: flex; gap: 10px; padding: 10px 14px; border-radius: 8px; margin: 0 0 10px; background: var(--panel2); } .callout p { margin: 0; } .callout.c-tip { background: color-mix(in srgb, var(--ok) 10%, transparent); } .callout.c-warn { background: color-mix(in srgb, var(--warn) 12%, transparent); } .callout.c-danger { background: color-mix(in srgb, var(--bad) 10%, transparent); }
.ref { color: var(--acc); font-weight: 500; cursor: pointer; } .ref.broken { color: var(--muted); text-decoration: underline dotted; cursor: help; }

@media (max-width: 1100px) { .shell.ai-open { grid-template-columns: 240px minmax(0, 1fr); } .ai-panel { position: fixed; right: 0; top: 0; width: min(380px, 100%); z-index: 40; box-shadow: var(--sh); } .hide-md { display: none; } }
@media (max-width: 800px) {
  .shell, .shell.ai-open { grid-template-columns: minmax(0, 1fr); } .only-mobile { display: inline-grid !important; } .hide-sm { display: none; }
  .side { position: fixed; inset: 0 auto 0 0; width: 272px; z-index: 45; transform: translateX(-102%); transition: transform .18s; box-shadow: var(--sh); } .side.open { transform: none; }
  .issue-grid { grid-template-columns: 1fr; } .issue-side { border-left: 0; padding-left: 0; } .notes { grid-template-columns: 1fr; } .ntree { max-height: clamp(190px, 46vh, 320px); border-right: 0; border-bottom: 1px solid var(--line); }
  .editor.mode-split { grid-template-columns: 1fr; } .search input { width: 100px; } .cal-cell { min-height: 72px; } .pwrap { padding: 16px 14px 40px; } .grid2 { grid-template-columns: 1fr; }
}
/* hesap ve giriş */
.acct { display: flex; align-items: center; gap: 9px; width: 100%; padding: 6px 8px; border: 0; border-radius: 7px; background: transparent; text-align: left; }
.acct:hover { background: var(--panel2); } .acct > .tx { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.acct b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .acct small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.auth-card { width: min(400px, 100%); display: grid; gap: 4px; }
.auth-card .brand { padding: 0 0 18px; font-size: 16px; } .auth-card h1 { font-size: 24px; letter-spacing: -.02em; } .auth-card p { margin: 0 0 8px; }
.auth-card form { display: grid; gap: 2px; margin-top: 6px; } .auth-card hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; width: 100%; }
.btn.wide { width: 100%; height: 36px; margin-top: 10px; } .center { text-align: center; } .auth-card .err { min-height: 18px; margin: 6px 0 0; font-size: 13px; }
/* hidden özelliği düğme ve bileşen stilleriyle ezilmesin */
[hidden] { display: none !important; }
.ai-out { white-space: normal; } .ai-out .md { font-size: 14px; line-height: 1.6; } .ai-out .md p { margin: 0 0 8px; } .ai-out .md h3 { font-size: 14px; margin: 12px 0 4px; } .ai-out .md h3:first-child { margin-top: 0; } .ai-out .md ul, .ai-out .md ol { margin: 0 0 8px; }

/* Açılır liste standardı: bütün select'ler aynı görünür (ok, yükseklik, kenarlık, odak halkası, koyu tema) */
:root { --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666a72' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
:root[data-theme=dark] { --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238e939c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
select, select.inp, .fsel, .inline-sel, .cb-head select, .cell.sel { -webkit-appearance: none; appearance: none; background-image: var(--chev); background-repeat: no-repeat; background-position: right 9px center; background-size: 12px; background-color: var(--bg); color: var(--txt); padding: 0 28px 0 10px; height: 32px; border: 1px solid var(--line); border-radius: 7px; font-size: 13px; line-height: 1.2; cursor: pointer; text-overflow: ellipsis; transition: border-color .15s, box-shadow .15s, background-color .15s; }
select:hover { border-color: var(--line2); }
select:focus-visible { outline: 0; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 20%, transparent); }
select:disabled { opacity: .55; cursor: default; }
select option { background: var(--panel); color: var(--txt); }
.fsel { height: 30px; } .fsel.on { border-color: var(--acc); background-color: var(--accs); color: var(--acc); }
.cb-head select { height: 28px; width: auto; }
.inline-sel { height: 26px; padding-left: 8px; font-size: 12.5px; border-color: transparent; background-color: color-mix(in srgb, var(--c) 14%, var(--bg)); }
.cell.sel { height: 28px; border-color: transparent; background-color: color-mix(in srgb, var(--c) 16%, var(--bg)); }
.demo-box { margin-top: 10px; display: grid; gap: 4px; } .demo-box .btn.wide { margin-top: 0; } .setup { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: var(--soft); } .setup p { margin: 0; } .setup .btn.wide { margin-top: 4px; }
.hint { background: var(--accs); border-radius: 10px; padding: 12px 14px; margin: 10px 0; font-size: 13.5px; } .hint-row { margin-top: 8px; } .hint-row .inp { flex: 1; min-width: 0; }
/* pano */
.runbar { display: flex; align-items: center; gap: 10px; background: color-mix(in srgb, var(--bad) 8%, var(--panel)); border: 1px solid color-mix(in srgb, var(--bad) 30%, var(--line)); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; font-size: 13.5px; } .runbar svg { color: var(--bad); }
.dquick { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px 6px 12px; margin-bottom: 14px; color: var(--muted); } .dquick:focus-within { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 15%, transparent); }
.dquick input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 14px; color: var(--txt); height: 30px; } .dquick select { width: 190px; flex: none; }
.sprint-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-bottom: 14px; }
.sprintc { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 13px; display: grid; gap: 6px; color: var(--txt); } .sprintc:hover { border-color: var(--line2); text-decoration: none; } .sprintc p { margin: 0; }
.spark { width: 100%; height: 44px; } .spark polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; } .spark .ideal { stroke: var(--line2); stroke-width: 1.5; stroke-dasharray: 4 4; } .spark .real { stroke: var(--acc); stroke-width: 2.2; }
.qc { -webkit-appearance: none; appearance: none; margin: 0 2px 0 0; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line2); background: transparent; cursor: pointer; display: inline-grid; place-items: center; transition: border-color .15s, background .15s; } .qc:hover { border-color: var(--ok); } .qc:checked { background: var(--ok); border-color: var(--ok); } .qc:checked::after { content: ""; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; } .wday { border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: grid; gap: 4px; align-content: start; min-height: 110px; background: var(--bg); } .wday.today { border-color: var(--acc); background: var(--accs); }
.wh { display: flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--muted); text-transform: capitalize; } .wh b { font-size: 16px; color: var(--txt); }
.wi { font-size: 12px; padding: 2px 6px; border-radius: 4px; background: color-mix(in srgb, var(--c) 16%, transparent); border-left: 2px solid var(--c); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.dbars { display: flex; align-items: flex-end; gap: 4px; height: 90px; margin-bottom: 6px; } .db { flex: 1; height: 100%; display: flex; align-items: flex-end; } .db i { display: block; width: 100%; border-radius: 3px 3px 0 0; background: var(--acc); } .db i.z { background: var(--line); }
@media (max-width: 800px) { .week { grid-template-columns: 1fr 1fr; } .dquick select { width: 120px; } }
/* notlar: sakin, Notion tarzı okuma yüzeyi */
.cover { height: 160px; } .cover-btns { right: 24px; }
.pwrap { max-width: 800px; padding: 30px 44px 90px; } .cover + .pwrap { padding-top: 0; }
.big-icon { font-size: 62px; line-height: 1; padding: 2px 8px; margin-left: -8px; position: relative; z-index: 1; } .cover + .pwrap .big-icon { margin-top: -34px; background: var(--bg); border-radius: 16px; }
.ptitle { font-size: 42px; font-weight: 750; letter-spacing: -.04em; line-height: 1.15; padding: 6px 8px; margin: 2px 0 6px -8px; width: calc(100% + 16px); }
.ptools { position: sticky; top: 0; z-index: 6; background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); margin: 8px -12px 24px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.crumbs { margin: 22px 0 0; } .crumbs a:hover { color: var(--txt); text-decoration: none; }
.editor.mode-view .preview { font-size: 16px; line-height: 1.85; min-height: 300px; cursor: text; } .editor.mode-view .preview .md { font-size: 16px; line-height: 1.85; }
.preview .md h1 { font-size: 30px; margin: 30px 0 10px; letter-spacing: -.03em; } .preview .md h2 { font-size: 23px; margin: 28px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); letter-spacing: -.025em; } .preview .md h3 { font-size: 18px; margin: 20px 0 6px; }
.preview .md h1:first-child, .preview .md h2:first-child { margin-top: 4px; }
.preview .md a:not(.ref) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--acc) 40%, transparent); }
.preview .md blockquote { border-left-width: 3px; padding: 4px 16px; background: var(--soft); border-radius: 0 8px 8px 0; }
.preview .md table { border-radius: 8px; overflow: hidden; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); } .preview .md th, .preview .md td { border: 0; border-bottom: 1px solid var(--line); } .preview .md tr:last-child td { border-bottom: 0; }
.preview .md li.task input { accent-color: var(--acc); width: 16px; height: 16px; margin-top: 7px; } .preview .md code { background: var(--panel2); }
.callout { border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); padding: 12px 16px; } .callout-ic { font-size: 18px; line-height: 1.6; }
.tn { min-height: 30px; border-radius: 7px; } .tn.on { box-shadow: inset 2px 0 0 var(--acc); } .nt-list .side-sec { padding-top: 6px; }
.note-empty { display: grid; place-items: center; gap: 12px; height: 100%; text-align: center; color: var(--muted); padding: 40px; } .note-empty .big { font-size: 46px; }
.pfoot { border-top: 1px solid var(--line); padding-top: 14px; } .ptools.m-view .fmt { display: none; }
.modal.integ { width: min(780px, 100%); } .tokrows { display: grid; gap: 6px; margin-bottom: 10px; } .tokrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.tokbox { margin-top: 10px; background: color-mix(in srgb, var(--warn) 12%, var(--panel)); border: 1px solid color-mix(in srgb, var(--warn) 40%, var(--line)); border-radius: 10px; padding: 10px 12px; display: grid; gap: 8px; font-size: 13.5px; } .tokbox .row { align-items: stretch; } .tokbox .inp { font-size: 12.5px; }
.codewrap { position: relative; } .codewrap .btn { position: absolute; top: 8px; right: 8px; } .codebox { margin: 0; background: #12131a; color: #e8e9f3; border-radius: 10px; padding: 14px 16px; overflow-x: auto; font: 12.5px/1.6 ui-monospace, 'Cascadia Code', Consolas, monospace; white-space: pre; padding-right: 84px; }
.toolchips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; } .toolchips .chip { font: 12px ui-monospace, Consolas, monospace; padding: 1px 8px; }
.nt-foot { display: grid; gap: 2px; }
@media (max-width: 800px) { .nt-foot { display: flex; flex-wrap: wrap; gap: 4px 6px; padding: 6px 8px; } .nt-foot .btn { flex: 1 1 auto; min-width: 0; } .nt-list { min-height: 96px; } }
/* pano: yeniden tasarım, kenar sütunu ve özelleştirme */
.dash { max-width: 1320px; } .dh { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.dh h2 { font-size: 26px; letter-spacing: -.03em; font-weight: 700; } .dh p { margin: 2px 0 0; } .dh-date { font-size: 12.5px; font-weight: 600; text-transform: capitalize; color: var(--acc); letter-spacing: .01em; }
.dgrid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; } .dmain, .drail { display: grid; gap: 14px; min-width: 0; align-content: start; } .drail { position: sticky; top: 0; }
.dmain .dash-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } .dmain .sprint-row, .dmain .proj-cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 0; } .dmain .tiles, .dmain .dquick { margin-bottom: 0; } .card-box.wide { grid-column: 1 / -1; }
.card-box.focus { border-color: color-mix(in srgb, var(--acc) 35%, var(--line)); background: linear-gradient(180deg, var(--accs), var(--panel) 60%); }
.cb-head .count { background: var(--panel2); } .cb-head a { color: var(--muted); font-size: 12.5px; } .cb-head a:hover { color: var(--acc); }
.fav-i { color: #e5a50a; display: inline-flex; }
.pcard { position: relative; overflow: hidden; } .pcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--pc, var(--acc)); }
.pstats { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); } .pstats b { color: var(--txt); font-variant-numeric: tabular-nums; } .pstats .bad b { color: var(--bad); }
.avs { display: flex; } .avs .avatar { margin-left: -6px; border: 2px solid var(--panel); width: 22px; height: 22px; } .avs .avatar:first-child { margin-left: 0; }
.agenda { display: grid; gap: 4px; } .arow { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 6px 4px; border-radius: 8px; align-items: start; } .arow.today { background: var(--accs); }
.ad { display: grid; justify-items: center; line-height: 1.1; } .ad small { font-size: 11.5px; color: var(--muted); text-transform: capitalize; } .ad b { font-size: 16px; } .ai { display: grid; gap: 3px; min-width: 0; padding-top: 2px; }
@media (max-width: 1100px) { .dgrid { grid-template-columns: 1fr; } .drail { position: static; } }
/* liste: toplu işlem */
.listbar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .bulk { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--accs); border: 1px solid color-mix(in srgb, var(--acc) 30%, var(--line)); border-radius: 10px; padding: 6px 10px; margin-bottom: 8px; font-size: 13px; } .bulk select { width: auto; height: 28px; }
.w-sel { width: 36px; } .w-sel input { accent-color: var(--acc); width: 15px; height: 15px; cursor: pointer; } .tbl tr.sel { background: color-mix(in srgb, var(--acc) 7%, transparent); }
/* pano: sütun daraltma ve iş sınırı */
.col.collapsed { width: 46px; flex: none; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; color: var(--txt); } .col.collapsed:hover { border-color: var(--line2); }
.col.collapsed b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; }
.col.wip-over { border-color: var(--bad); box-shadow: inset 0 3px 0 var(--bad); } .count.wipbad { background: color-mix(in srgb, var(--bad) 15%, transparent); color: var(--bad); font-weight: 600; }
.gbtn { min-height: 44px; margin: 16px 0 4px; display: flex; } .invite-note { background: var(--accs); color: var(--acc); padding: 8px 12px; border-radius: 8px; font-size: 13px; margin: 8px 0 0; } .auth-card code { font-size: 12.5px; }
/* Pano (kanban) cilası: renkli sütun şeridi, esnek genişlik, sakin kartlar, öncelik çizgisi, özet şeridi */
.bwrap { display: flex; flex-direction: column; height: 100%; min-height: 0; gap: 12px; } .bwrap .board { flex: 1; min-height: 0; overflow-x: auto; padding: 2px 2px 10px; }
.bsum { display: flex; align-items: center; gap: 14px; flex: none; font-size: 12.5px; color: var(--muted); } .bsum b { color: var(--txt); font-weight: 650; font-variant-numeric: tabular-nums; }
.bseg { display: flex; gap: 2px; width: min(360px, 38%); height: 6px; border-radius: 6px; overflow: hidden; background: var(--panel2); } .bseg i { display: block; min-width: 6px; transition: flex .3s; }
.board .col { flex: 1 1 280px; min-width: 264px; max-width: 360px; position: relative; overflow: hidden; border-radius: 12px; background: color-mix(in srgb, var(--soft) 88%, var(--line)); border-color: transparent; }
.board .col::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--cc, var(--line2)); }
.board .col.collapsed { flex: none; min-width: 0; max-width: none; } .board .col.collapsed::before { display: none; }
.board .col.wip-over { box-shadow: none; border-color: var(--bad); } .board .col.wip-over::before { background: var(--bad); }
.col-head { padding: 12px 10px 6px 14px; } .col-head > b { font-size: 13px; letter-spacing: -.005em; }
.col-head .count { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 0 7px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.col-tools { display: inline-flex; gap: 2px; opacity: 0; transition: opacity .15s; } .col:hover .col-tools, .col:focus-within .col-tools { opacity: 1; }
.col-body { padding: 4px 8px 6px; gap: 8px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.col-body:empty { min-height: 72px; border: 1.5px dashed var(--line2); border-radius: 10px; margin: 4px 8px 6px; padding: 0; align-items: center; justify-content: center; } .col-body:empty::after { content: 'Görev yok · kartı buraya sürükle'; font-size: 12.5px; color: var(--muted); }
.board .card { position: relative; padding: 10px 12px 10px 13px; border-radius: 10px; border-color: color-mix(in srgb, var(--line) 80%, transparent); box-shadow: 0 1px 2px rgba(16, 18, 30, .06); transition: box-shadow .15s, border-color .15s, transform .15s; }
.board .card::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--pc, transparent); opacity: 0; }
.board .card[data-prio=critical]::before, .board .card[data-prio=high]::before { opacity: 1; }
.board .card:hover { transform: translateY(-1px); border-color: var(--line2); box-shadow: 0 6px 16px rgba(16, 18, 30, .1); }
.board .card:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; }
.card-top { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; } .card-top .key { font-size: 11.5px; letter-spacing: .01em; }
.board .card .card-title { margin-bottom: 8px; font-size: 13.5px; font-weight: 550; letter-spacing: -.005em; }
.board .card.dragging { opacity: .45; transform: rotate(1.2deg); box-shadow: 0 10px 24px rgba(16, 18, 30, .18); } .board .card.drop-before { box-shadow: 0 -3px 0 var(--acc); }
.board .card.done { background: color-mix(in srgb, var(--panel) 70%, var(--soft)); } .board .card.done::before { display: none; }
.add-card { margin: 0 8px 8px; padding: 7px 10px; border-radius: 8px; } .add-card:hover { background: var(--panel); }
.add-col { align-self: stretch; max-height: 120px; }
@media (max-width: 760px) { .bsum { flex-wrap: wrap; } .bseg { width: 100%; } .board .col { flex: none; width: 82vw; max-width: 340px; } }

/* Pano: kartların yerini değiştirme (düzenleme modu) */
.dzone { display: grid; gap: 14px; min-width: 0; align-content: start; } .dz-main { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } .dz-rail { grid-template-columns: minmax(0, 1fr); }
.dw { min-width: 0; position: relative; } .dw-wide { grid-column: 1 / -1; } .dw > .card-box { height: 100%; }
.icon-btn.on { background: var(--accs); color: var(--acc); } .flip-v, .flip-h { display: inline-flex; transform: rotate(180deg); }
.editbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--accs); border: 1px solid color-mix(in srgb, var(--acc) 30%, var(--line)); border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; font-size: 13px; color: var(--acc); }
.editing .dzone { min-height: 64px; border-radius: 12px; transition: background .15s; } .editing .dzone.zone-over { background: color-mix(in srgb, var(--acc) 6%, transparent); }
.editing .dw { outline: 1.5px dashed var(--line2); outline-offset: 4px; border-radius: 12px; cursor: grab; } .editing .dw:active { cursor: grabbing; }
.editing .dw > :not(.dw-bar) { pointer-events: none; }
.dw-bar { display: flex; align-items: center; gap: 4px; padding: 3px 4px 3px 8px; margin-bottom: 6px; background: var(--panel2); border-radius: 8px; font-size: 12px; }
.dw-grip { color: var(--muted); display: inline-flex; } .dw-name { font-weight: 600; }
.dw.dw-drag { opacity: .4; }
.dw.dw-t::before, .dw.dw-b::after, .dw.dw-l::before, .dw.dw-r::after { content: ''; position: absolute; background: var(--acc); border-radius: 4px; z-index: 3; }
.dw.dw-t::before, .dw.dw-b::after { left: 0; right: 0; height: 4px; } .dw.dw-t::before { top: -11px; } .dw.dw-b::after { bottom: -11px; }
.dw.dw-l::before, .dw.dw-r::after { top: 0; bottom: 0; width: 4px; } .dw.dw-l::before { left: -11px; } .dw.dw-r::after { right: -11px; }

/* Giriş ekranı: kullanıcı adı/şifre sekmeleri, "ya da" ayracı, isteğe bağlı Google kurulumu */
.auth-seg { display: flex; margin: 14px 0 2px; } .auth-seg button { flex: 1; padding: 6px 10px; }
.pwf { display: grid; gap: 2px; margin-top: 0; } .pwf .fl:first-child { margin-top: 6px; }
.or { display: flex; align-items: center; gap: 10px; margin: 14px 0 2px; color: var(--muted); font-size: 12px; } .or::before, .or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.setup-d { margin-top: 12px; } .setup-d summary { cursor: pointer; font-size: 12.5px; color: var(--muted); padding: 4px 0; } .setup-d summary:hover { color: var(--txt); } .setup-d[open] summary { margin-bottom: 8px; }

/* Yükleme katmanı: tam sayfa, açıkken arkadaki her şey engellenir. `.on` engeller, `.vis` görünür kılar (kısa işlemlerde titremesin). */
.loader { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(3px); opacity: 0; cursor: progress; transition: opacity .18s; }
.loader.on, .js .loader[data-boot] { display: grid; }
.loader.vis, .js .loader[data-boot] { opacity: 1; }
.js .loader[data-boot] { background: var(--bg); backdrop-filter: none; }
.loader-box { display: grid; justify-items: center; gap: 14px; }
.loader-ring { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--line2); border-top-color: var(--acc); display: grid; place-items: center; animation: nf-spin .8s linear infinite; }
.loader-logo { width: 30px; height: 30px; border-radius: 8px; background: var(--acc); color: #fff; display: grid; place-items: center; animation: nf-spin .8s linear infinite reverse; }
.loader-t { font-size: 13px; color: var(--muted); }
@keyframes nf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .loader-ring, .loader-logo { animation-duration: 2.4s; } }

/* Bildirimler: zil, okunmamış rozeti, açılır kutu ve @bahsetme etiketi */
.bell { position: relative; margin-left: auto; } .bell.on { background: var(--panel2); color: var(--txt); }
.bell-badge { position: absolute; top: -3px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--bad); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px var(--side); }
.inbox { position: fixed; z-index: 70; width: min(360px, calc(100vw - 16px)); max-height: min(72vh, 540px); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); overflow: hidden; }
.inb-head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); } .inb-head h2 { margin: 0; font-size: 14px; }
.inb-list { overflow-y: auto; overscroll-behavior: contain; padding: 4px; }
.inb-it { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--txt); text-align: left; font: inherit; cursor: pointer; }
.inb-it:hover, .inb-it:focus-visible { background: var(--panel2); } .inb-it.unread { background: color-mix(in srgb, var(--acc) 8%, transparent); }
.inb-av { flex: none; margin-top: 1px; } .inb-tx { display: grid; gap: 2px; min-width: 0; flex: 1; font-size: 13px; }
.inb-t { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inb-s { font-size: 12.5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }
.inb-a { color: var(--muted); font-size: 11.5px; } .inb-dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--acc); }
.inb-empty { padding: 28px 18px; text-align: center; font-size: 13px; line-height: 1.6; }
.mention { background: var(--accs); color: var(--acc); border-radius: 4px; padding: 0 4px; font-weight: 500; } .mention.me { background: color-mix(in srgb, var(--warn) 22%, transparent); color: var(--warn); }

/* Açılır liste (Chrome 135+ özelleştirilebilir select): açılan liste de tasarımın parçası. Desteklemeyen tarayıcılar yukarıdaki görünümde kalır. */
@supports (appearance: base-select) {
  select, select.inp, .fsel, .inline-sel, .cb-head select, .cell.sel, select::picker(select) { -webkit-appearance: base-select; appearance: base-select; }
  select { display: flex; align-items: center; justify-content: space-between; gap: 8px; background-image: none; padding: 0 10px; }
  select::picker-icon { content: ''; flex: none; width: 12px; height: 12px; background: var(--chev) center / 12px no-repeat; color: transparent; transition: transform .18s; }
  select:open::picker-icon { transform: rotate(180deg); }
  select:open { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 20%, transparent); }
  select::picker(select) {
    min-width: anchor-size(width); max-height: min(320px, 55vh); margin: 4px 0; padding: 4px; box-sizing: border-box;
    background: var(--panel); color: var(--txt); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--sh);
    opacity: 0; transform: translateY(-4px); transition: opacity .14s, transform .14s, overlay .14s allow-discrete, display .14s allow-discrete;
  }
  select:open::picker(select) { opacity: 1; transform: none; }
  @starting-style { select:open::picker(select) { opacity: 0; transform: translateY(-4px); } }
  select option { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 6px; font-size: 13px; line-height: 1.3; background: transparent; color: var(--txt); cursor: pointer; }
  select option:hover, select option:focus-visible { background: var(--panel2); outline: 0; }
  select option:checked { background: var(--accs); color: var(--acc); font-weight: 550; }
  select option::checkmark { order: 1; margin-left: auto; font-size: 12px; }
  select option:disabled { opacity: .5; cursor: default; }
  select hr { margin: 4px 6px; border: 0; border-top: 1px solid var(--line); }
}

/* Raporlar: KPI kutuları, sprint durum kartı, bölüm başlıkları, dolgulu grafikler */
.reports { display: grid; gap: 14px; width: 100%; }
.reports .tiles { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0; }
.reports .tile { --tc: var(--acc); display: flex; align-items: flex-start; gap: 12px; padding: 14px; }
.reports .tile .ti { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--tc); background: color-mix(in srgb, var(--tc) 14%, transparent); }
.reports .tile .tt { display: grid; gap: 1px; min-width: 0; } .reports .tile .tlab { font-size: 12px; color: var(--muted); font-weight: 500; }
.reports .tile b { font-size: 26px; line-height: 1.15; } .reports .tile b em { font-style: normal; font-size: 15px; font-weight: 500; color: var(--muted); }
.reports .tile small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.c-acc { --tc: var(--acc); } .c-blue { --tc: #3b82f6; } .c-ok { --tc: var(--ok); } .c-bad { --tc: var(--bad); } .c-warn { --tc: #f59e0b; } .c-mute { --tc: var(--muted); }
.reports .tile.c-ok b { color: var(--ok); } .reports .tile.c-bad b { color: var(--bad); }
.minibar { display: inline-block; width: 44px; height: 5px; border-radius: 3px; background: var(--panel2); overflow: hidden; } .minibar i { display: block; height: 100%; border-radius: 3px; background: #f59e0b; }
.rep-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr); gap: 12px; align-items: stretch; }
.rep-sec { margin: 8px 0 -4px; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.reports .rep-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } .reports .rep-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.reports .card-box { padding: 14px 16px; border-radius: 12px; }
.reports .cb-head { margin-bottom: 12px; } .reports .cb-head h3 { flex: none; font-size: 13.5px; font-weight: 600; } .reports .cb-head select { margin-left: auto; }
.cb-note { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.rep-empty { padding: 26px 8px; text-align: center; color: var(--muted); font-size: 13px; }
.bars { display: grid; gap: 2px; }
.bar-row { grid-template-columns: minmax(80px, 120px) 1fr 24px 38px; gap: 10px; margin: 0; padding: 5px 6px; border-radius: 7px; } .bar-row:hover { background: var(--panel2); }
.bl { display: flex; align-items: center; gap: 7px; } .bd { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.bt { height: 8px; border-radius: 99px; } .bf { border-radius: 99px; transition: width .4s; }
.bp { text-align: right; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lc .grid { stroke-dasharray: 2 4; } .lc .now { stroke: var(--acc); stroke-width: 1; stroke-dasharray: 3 3; opacity: .7; } .lc .nowl { fill: var(--acc); font-size: 11px; font-weight: 600; } .lc .dot { fill: var(--panel); stroke-width: 2; }
.sprint-sum { display: flex; flex-direction: column; gap: 14px; }
.chip-s { margin-left: auto; padding: 2px 8px; border-radius: 99px; font-size: 11.5px; background: var(--panel2); color: var(--muted); } .chip-s.on { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.ring { position: relative; width: 138px; height: 138px; margin: 2px auto 0; } .ring svg { width: 100%; height: 100%; }
.rt, .rf { fill: none; stroke-width: 9; } .rt { stroke: var(--panel2); } .rf { stroke: var(--acc); stroke-linecap: round; transition: stroke-dasharray .6s; }
.rc { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; } .rc b { font-size: 26px; letter-spacing: -.02em; } .rc span { font-size: 12px; color: var(--muted); }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); } .facts li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; } .facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.facts span { color: var(--muted); } .facts b { font-weight: 600; text-align: right; } .facts .ok b { color: var(--ok); } .facts .bad b { color: var(--bad); }
.vel { gap: 18px; height: 170px; } .vcol { grid-template-rows: 1fr auto auto; gap: 4px; } .vcol span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vcol small { font-size: 11.5px; font-weight: 600; color: var(--txt); font-variant-numeric: tabular-nums; }
.vbars { gap: 5px; border-bottom: 1px solid var(--line); } .vbars i { width: 34%; max-width: 34px; min-height: 2px; border-radius: 5px 5px 0 0; }

/* Duyarlı düzen: dar ekranda hiçbir ızgara sütunu içeriğin en küçük genişliğine göre büyüyüp taşmasın */
.dmain, .drail, .dzone { grid-template-columns: minmax(0, 1fr); }
.dz-main, .dmain .dash-grid { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.dmain .sprint-row, .dmain .proj-cards { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.reports .rep-grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); } .reports .rep-2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.dquick { min-width: 0; } .dquick select { flex: 0 1 190px; min-width: 0; }
.backlog, .bsec-body { grid-template-columns: minmax(0, 1fr); } .brow { min-width: 0; }
@media (max-width: 640px) {
  .brow { flex-wrap: wrap; row-gap: 3px; } .brow .t { flex: 1 1 130px; } .brow .grow { display: none; }
  .bsec-head .goal { max-width: 100%; flex: 1 1 100%; order: 5; }
}
@supports (appearance: base-select) { select, select.inp, .fsel, .inline-sel, .cb-head select, .cell.sel { background-image: none; } }
@media (max-width: 640px) {
  .top-row { flex-wrap: wrap; row-gap: 6px; padding-bottom: 6px; }
  .top-row h1 { flex: 1 1 0; min-width: 0; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .top-row .grow { display: none; }
  .top-row .search { order: 20; flex: 1 1 100%; } .top-row .search input { flex: 1; width: 100%; min-width: 0; }
}
@media (max-width: 900px) { .rep-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .reports .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .reports .tile { padding: 11px; gap: 9px; } .reports .tile .ti { width: 28px; height: 28px; border-radius: 8px; } .reports .tile .ti svg { width: 14px; height: 14px; } .reports .tile b { font-size: 22px; }
  .reports .tile small { flex-wrap: wrap; row-gap: 2px; } .reports .card-box { padding: 12px; } .vel { gap: 10px; }
}
@media (max-width: 640px) { .lc text { font-size: 24px; } .lc .nowl { font-size: 22px; } .lc circle.dot { r: 6px; } }

/* Kaydırma çubukları: ince, yuvarlak, temaya uyumlu; üzerine gelince belirginleşir. Chrome/Safari/Edge için ::-webkit-scrollbar, Firefox için standart özellikler. */
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 12px; height: 12px; background: transparent; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background-color: color-mix(in srgb, var(--muted) 38%, transparent); background-clip: content-box; border: 3px solid transparent; border-radius: 99px; min-height: 36px; min-width: 36px; }
  ::-webkit-scrollbar-thumb:hover { background-color: color-mix(in srgb, var(--muted) 70%, transparent); }
  ::-webkit-scrollbar-thumb:active { background-color: var(--acc); }
  ::-webkit-scrollbar-corner { background: transparent; }
}
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--muted) 45%, transparent) transparent; } }
@media (max-width: 640px) { ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { border-width: 2px; } }

/* Nano eylem kartı (sohbette görev, not, yorum önerisi) */
.msg.act { background: transparent; padding: 0; max-width: 100%; width: 100%; }
.nact { background: var(--panel); border: 1px solid color-mix(in srgb, var(--acc) 35%, var(--line)); border-radius: 12px; padding: 10px 12px 12px; display: grid; gap: 2px; box-shadow: 0 1px 0 color-mix(in srgb, var(--acc) 10%, transparent); }
.nact-h { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--acc); } .nact-h .muted { margin-left: auto; font-weight: 400; }
.nact .fl { margin-top: 8px; } .nact .inp { font-size: 13px; } .nact textarea.inp { min-height: 0; }
.nact-g { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; } .nact-g .fl { min-width: 0; }
.nact-k { margin-top: 8px; font-size: 13px; } .nact-k b { color: var(--acc); }
.nact-ch { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; } .nact-ch li { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 5px 8px; border-radius: 7px; background: var(--panel2); } .nact-ch span { color: var(--muted); }
.nact-b { display: flex; gap: 8px; margin-top: 12px; }
.nact.done { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); } .nact.done span { color: var(--txt); }
.nact.skipped { color: var(--muted); font-size: 13px; border-style: dashed; border-color: var(--line); }
@media (max-width: 420px) { .nact-g { grid-template-columns: 1fr; } }
/* Geniş ekran: raporlar sayfayı doldurur; KPI kutuları tek sıraya dizilir, dağılım kartları eşit genişlikte yan yana durur */
@media (min-width: 1200px) { .reports .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } .reports .rep-grid:not(.rep-2) { grid-template-columns: repeat(4, minmax(0, 1fr)); } .reports .rep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) and (max-width: 1199px) { .reports .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Koyu kod kutusu: içindeki satır içi kod stili (açık gri zemin) yazıyı okunmaz yapmasın */
.codebox code { background: none; padding: 0; color: inherit; font: inherit; overflow-wrap: normal; border-radius: 0; }

/* Not görselleri, kapak yükleme, büyütme penceresi ve zengin araç çubuğu */
.md-img { display: block; max-width: 100%; height: auto; margin: 10px 0; border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; background: var(--panel2); }
.md mark { background: color-mix(in srgb, #facc15 42%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.modal.zoom { max-width: min(94vw, 1100px); width: auto; } .zoom .modal-body { padding: 8px; display: grid; place-items: center; } .zoom-img { max-width: 100%; max-height: 78vh; border-radius: 8px; }
.cover-up { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.fmt { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 1px; } .fb { display: inline-grid; place-items: center; } .fb svg { display: block; }
.fsep { width: 1px; height: 16px; margin: 0 5px; background: var(--line2); flex: none; }
.fb:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; }
@media (max-width: 640px) { .fmt { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; flex: 1 1 100%; order: 9; padding-bottom: 2px; } .fb { flex: none; min-width: 34px; height: 34px; } }
.modal.zoom { width: min(94vw, 1100px); max-width: none; } .zoom .modal-body { padding: 8px; overflow: auto; } .zoom-img { display: block; width: auto; height: auto; max-width: 100%; max-height: 78vh; object-fit: contain; margin: 0 auto; }
@media (max-width: 640px) { .ptitle { font-size: 28px; } .big-icon { font-size: 48px; } .pwrap { padding-left: 16px; padding-right: 16px; } }
/* Bırakma hedefi bütün sütun / bölümdür (başlığa ve boşluklara bırakmak da çalışır) */
.board .col.over { outline: 1.5px dashed var(--acc); outline-offset: -3px; background: color-mix(in srgb, var(--acc) 6%, var(--soft)); }
.bsec.over { outline: 1.5px dashed var(--acc); outline-offset: -2px; background: color-mix(in srgb, var(--acc) 6%, var(--soft)); }
.col-body.over, .bsec-body.over { outline: 0; background: transparent; }
.auth-lang { display: flex; justify-content: center; gap: 14px; margin-top: 16px; font-size: 12.5px; } .auth-lang .link-btn { color: var(--muted); } .auth-lang .link-btn.on { color: var(--txt); font-weight: 600; text-decoration: none; cursor: default; }

/* Erişim ve paylaşım paneli, kilit göstergesi */
.lk { display: inline-flex; margin-left: 4px; color: var(--muted); flex: none; } .nav .lk { margin-left: auto; margin-right: 4px; } .tn a .lk { margin-left: 5px; }
.access .modal-body h3 { margin: 16px 0 4px; font-size: 13px; }
.acc-r { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; } .acc-r:hover { border-color: var(--line2); } .acc-r input { margin-top: 3px; accent-color: var(--acc); }
.acc-r span { display: grid; gap: 1px; font-size: 13px; } .acc-r small, .acc-p small { color: var(--muted); font-size: 12px; font-weight: 400; }
.acc-list { display: grid; gap: 2px; margin-top: 8px; } .acc-list.off { opacity: .55; }
.acc-p { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 13px; } .acc-p > .grow { display: grid; min-width: 0; } .acc-p b { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-p input[type=checkbox] { accent-color: var(--acc); width: 16px; height: 16px; } label.acc-p { cursor: pointer; } label.acc-p:hover { background: var(--panel2); }
.acc-inv { margin-top: 10px; } .acc-inv .inp { flex: 1; min-width: 0; font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; }

/* Geniş ekranlarda içerik sayfaya yayılır (genel bakış, backlog, pano); notlar okuma rahatlığı için dar kalır */
.dash { max-width: none; } .dgrid { grid-template-columns: minmax(0, 1fr) clamp(300px, 22vw, 420px); }
.backlog { max-width: none; }
.board .col { max-width: 520px; }
@media (max-width: 1100px) { .dgrid { grid-template-columns: minmax(0, 1fr); } }

/* iş akışı: seçim kutusu, özel alanlar, kurallar */
.selbox { position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; margin: 0; opacity: 0; cursor: pointer; accent-color: var(--accent, #4f46e5); z-index: 2; transition: opacity .12s; }
.card { position: relative; } .card:hover .selbox, .selbox:checked, .card:focus-within .selbox, .bwrap:has(.bulk) .selbox { opacity: 1; }
.brow .selbox { position: static; opacity: 0; flex: none; } .brow:hover .selbox, .brow .selbox:checked, .backlog:has(.bulk) .selbox { opacity: 1; }
@media (hover: none) { .selbox, .brow .selbox { opacity: 1; } }
.card:has(.selbox:checked), .brow:has(.selbox:checked) { outline: 2px solid var(--accent, #4f46e5); outline-offset: -2px; }
.bulk { flex-wrap: wrap; row-gap: 6px; } .bulk .inp.sm { width: auto; min-width: 0; padding: 4px 8px; font-size: 13px; }
.cfrow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .cfrow .inp { flex: 1; min-width: 0; }
.rule { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; margin-bottom: 8px; }
.rule.off .rt { opacity: .5; text-decoration: line-through; } .rule .rt { flex: 1; font-size: 13.5px; }
.rule-form { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line, #e5e7eb); } .rule-form h4 { margin: 0 0 8px; font-size: 14px; }
.rf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; } .rf > span:first-child { width: 78px; color: var(--muted, #6b7280); font-size: 13px; } .rf .inp { width: auto; flex: 1 1 140px; min-width: 0; }
.chk { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.legal-note { margin-top: 14px !important; line-height: 1.5; } .legal-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
