/* ---------- Taban ---------- */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: 14px; line-height: 20px; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
.tq-root, .tq-root * { box-sizing: border-box; }
.tq-num { font-variant-numeric: tabular-nums; }
.tq-mono { font-family: var(--font-mono); }
.tq-muted { color: var(--ink-muted); }
.tq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tq-focus:focus-visible, .tq-root :focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.tq-demo { padding: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.tq-demo-col { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.tq-demo-label { font-size: 12px; line-height: 16px; color: var(--ink-muted); min-width: 120px; }

/* ---------- İkon ---------- */
.tq-icon { display: inline-block; flex: none; vertical-align: -0.2em; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buton ---------- */
.tq-btn { font: inherit; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: var(--control-height); padding: 0 var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color .12s ease, border-color .12s ease; }
.tq-btn:hover { background: var(--surface-hover); }
.tq-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.tq-btn[disabled], .tq-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.tq-btn-primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.tq-btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.tq-btn-quiet { background: transparent; border-color: transparent; color: var(--primary-text); }
.tq-btn-quiet:hover { background: var(--primary-soft); }
.tq-btn-danger { background: var(--danger); border-color: var(--danger); color: var(--on-danger); }
.tq-btn-danger:hover { filter: brightness(.92); background: var(--danger); }
.tq-btn-sm { height: 28px; padding: 0 var(--space-3); font-size: 13px; gap: 6px; }
.tq-btn-icononly { padding: 0; width: var(--control-height); }
.tq-btn-sm.tq-btn-icononly { width: 28px; }
.tq-btn-block { width: 100%; }
.tq-spin { width: 14px; height: 14px; border-radius: var(--radius-pill); border: 2px solid currentColor; border-right-color: transparent; animation: tq-spin .7s linear infinite; }
@keyframes tq-spin { to { transform: rotate(360deg); } }

/* ---------- Durum rozeti ---------- */
.tq-badge { display: inline-flex; align-items: center; gap: var(--space-1); padding: 2px var(--space-2); border-radius: var(--radius-sm); font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.tq-badge-lg { font-size: 13px; line-height: 20px; padding: 2px 10px; }
.tq-tone-neutral { background: var(--neutral-soft); color: var(--neutral); }
.tq-tone-progress { background: var(--progress-soft); color: var(--progress); }
.tq-tone-attention { background: var(--attention-soft); color: var(--attention); }
.tq-tone-external { background: var(--external-soft); color: var(--external); }
.tq-tone-success { background: var(--success-soft); color: var(--success); }
.tq-tone-danger { background: var(--danger-soft); color: var(--danger); }

/* ---------- SLA ---------- */
.tq-sla { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 600; }
.tq-sla-ok { color: var(--ink-muted); font-weight: 500; }
.tq-sla-soon { color: var(--attention); }
.tq-sla-late { color: var(--danger); }
.tq-sla-date { font-weight: 400; color: var(--ink-muted); }

/* ---------- Tutar ---------- */
.tq-money { display: inline-flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; }
.tq-money-main { font-weight: 500; white-space: nowrap; }
.tq-money-lg .tq-money-main { font-size: 20px; line-height: 28px; font-weight: 600; }
.tq-money-sub { font-size: 12px; line-height: 16px; color: var(--ink-muted); white-space: nowrap; }
.tq-money-left { align-items: flex-start; }

/* ---------- Form ---------- */
.tq-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tq-label { font-weight: 600; font-size: 13px; line-height: 18px; color: var(--ink); }
.tq-req { color: var(--danger); margin-left: 2px; }
.tq-control { font: inherit; width: 100%; height: var(--control-height); padding: 0 var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); }
textarea.tq-control { height: auto; min-height: 84px; padding: var(--space-2) var(--space-3); resize: vertical; }
select.tq-control { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.tq-control::placeholder { color: var(--ink-muted); }
.tq-control:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--primary); }
.tq-control[disabled] { background: var(--surface-sunken); color: var(--ink-muted); cursor: not-allowed; }
.tq-field-error .tq-control { border-color: var(--danger); background: var(--danger-soft); }
.tq-hint { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.tq-error { font-size: 12px; line-height: 16px; color: var(--danger); display: flex; gap: var(--space-1); align-items: center; font-weight: 600; }

/* ---------- Kart ---------- */
.tq-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); min-width: 0; }
.tq-card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
.tq-card-title { margin: 0; font-size: 15px; line-height: 22px; font-weight: 600; display: flex; align-items: center; gap: var(--space-2); }
.tq-card-sub { font-size: 12px; line-height: 16px; color: var(--ink-muted); margin-top: 2px; }
.tq-card-body { padding: var(--space-5); }
.tq-card-flush .tq-card-body { padding: 0; }
.tq-card-actions { display: flex; gap: var(--space-2); align-items: center; }

/* ---------- Sekmeler ---------- */
.tq-tabs { display: flex; gap: var(--space-1); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tq-tab { font: inherit; font-weight: 600; color: var(--ink-muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: var(--space-2) var(--space-3) 10px; margin-bottom: -1px; cursor: pointer; display: inline-flex; gap: var(--space-2); align-items: center; white-space: nowrap; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.tq-tab:hover { color: var(--ink); background: var(--surface-hover); }
.tq-tab[aria-selected="true"] { color: var(--primary-text); border-bottom-color: var(--primary); }
.tq-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--surface-sunken); color: var(--ink); font-size: 12px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tq-count-hot { background: var(--danger); color: var(--on-danger); }
.tq-count-active { background: var(--primary); color: var(--on-primary); }

/* ---------- Tablo ---------- */
.tq-table-wrap { overflow-x: auto; }
.tq-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.tq-table th { position: sticky; top: 0; background: var(--surface-sunken); color: var(--ink-muted); font-size: 12px; line-height: 16px; font-weight: 600; text-align: left; padding: 10px var(--space-3); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tq-table th.tq-r, .tq-table td.tq-r { text-align: right; }
.tq-sortbtn { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-1); }
.tq-sortbtn:hover { color: var(--ink); }
.tq-sortbtn[data-active="true"] { color: var(--ink); }
.tq-table td { padding: var(--space-3); border-bottom: 1px solid var(--line); vertical-align: middle; }
.tq-table tbody tr { cursor: default; }
.tq-table tbody tr.tq-clickable { cursor: pointer; }
.tq-table tbody tr:hover { background: var(--surface-hover); }
.tq-table tbody tr:last-child td { border-bottom: 0; }
.tq-cell-sub { display: block; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.tq-table-cards { display: none; }
.tq-rowcard { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: var(--surface); border: 0; border-bottom: 1px solid var(--line); padding: var(--space-4); cursor: pointer; }
.tq-rowcard:hover { background: var(--surface-hover); }
.tq-rowcard-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin-bottom: 6px; }
.tq-rowcard-title { font-weight: 600; margin-bottom: 6px; }
.tq-rowcard-meta { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.tq-narrow .tq-table-wrap { display: none; }
.tq-narrow .tq-table-cards { display: block; }

/* ---------- İş akışı adımları ---------- */
.tq-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; }
.tq-step { flex: 1 1 0; min-width: 0; position: relative; text-align: center; padding: 0 var(--space-1); }
.tq-step::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 20px); right: calc(50% + 20px); height: 2px; background: var(--line); }
.tq-step:first-child::before { display: none; }
.tq-step[data-state="done"]::before, .tq-step[data-state="active"]::before, .tq-step[data-state="revision"]::before { background: var(--success); }
.tq-step-disc { width: 32px; height: 32px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 1; border: 2px solid var(--line-strong); background: var(--surface); color: var(--ink-muted); font-size: 13px; font-weight: 600; }
.tq-step[data-state="done"] .tq-step-disc { background: var(--success); border-color: var(--success); color: var(--on-success); }
.tq-step[data-state="active"] .tq-step-disc { background: var(--primary); border-color: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.tq-step[data-state="revision"] .tq-step-disc { background: var(--attention-fill); border-color: var(--attention-fill); color: var(--on-attention-fill); box-shadow: 0 0 0 4px var(--attention-soft); }
.tq-step[data-state="skipped"] .tq-step-disc { border-style: dashed; }
.tq-step-label { display: block; margin-top: var(--space-2); font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink); }
.tq-step[data-state="todo"] .tq-step-label, .tq-step[data-state="skipped"] .tq-step-label { color: var(--ink-muted); font-weight: 500; }
.tq-step-who { display: block; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.tq-step-flag { display: inline-block; margin-top: var(--space-1); }
.tq-steps-vertical { flex-direction: column; gap: 0; }
.tq-steps-vertical .tq-step { display: grid; grid-template-columns: 32px 1fr; column-gap: var(--space-3); text-align: left; padding: 0 0 var(--space-4); }
.tq-steps-vertical .tq-step::before { top: 34px; bottom: 2px; left: 15px; right: auto; width: 2px; height: auto; }
.tq-steps-vertical .tq-step:first-child::before { display: block; }
.tq-steps-vertical .tq-step:last-child::before { display: none; }
.tq-steps-vertical .tq-step[data-state]::before { background: var(--line); }
.tq-steps-vertical .tq-step[data-state="done"]::before { background: var(--success); }
.tq-steps-vertical .tq-step-label { margin-top: 6px; }

/* ---------- Boş durum ---------- */
.tq-empty { text-align: center; padding: var(--space-12) var(--space-6); display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.tq-empty-icon { width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--surface-sunken); color: var(--ink-muted); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--space-2); }
.tq-empty-title { margin: 0; font-size: 15px; line-height: 22px; font-weight: 600; }
.tq-empty-body { margin: 0; max-width: 420px; color: var(--ink-muted); }
.tq-empty-action { margin-top: var(--space-3); }

/* ---------- Diyalog ---------- */
.tq-scrim { position: fixed; inset: 0; background: var(--scrim); display: flex; align-items: center; justify-content: center; padding: var(--space-6); z-index: 50; }
.tq-scrim-inline { position: absolute; }
.tq-dialog { width: 100%; max-width: 460px; background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.tq-dialog-head { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-5) var(--space-5) 0; }
.tq-dialog-mark { width: 36px; height: 36px; border-radius: var(--radius-pill); flex: none; display: inline-flex; align-items: center; justify-content: center; }
.tq-dialog-title { margin: 0; font-size: 15px; line-height: 22px; font-weight: 600; }
.tq-dialog-body { margin: var(--space-1) 0 0; color: var(--ink-muted); }
.tq-dialog-content { padding: var(--space-4) var(--space-5) 0; }
.tq-dialog-foot { display: flex; justify-content: flex-end; gap: var(--space-2); padding: var(--space-5); }

/* ---------- Toast ---------- */
.tq-toast { display: flex; gap: var(--space-3); align-items: flex-start; width: 360px; max-width: 100%; padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.tq-toast-mark { width: 28px; height: 28px; border-radius: var(--radius-pill); flex: none; display: inline-flex; align-items: center; justify-content: center; }
.tq-toast-title { font-weight: 600; }
.tq-toast-body { color: var(--ink-muted); font-size: 13px; line-height: 18px; margin-top: 2px; }
.tq-toast-x { margin-left: auto; }
.tq-toast-stack { position: fixed; right: var(--space-6); bottom: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); z-index: 60; }

/* ---------- Komut paleti ---------- */
.tq-palette { width: 100%; max-width: 600px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); overflow: hidden; align-self: flex-start; margin-top: 8vh; }
.tq-palette-search { display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-4); border-bottom: 1px solid var(--line); color: var(--ink-muted); }
.tq-palette-input { flex: 1; font: inherit; font-size: 15px; height: 52px; border: 0; background: transparent; color: var(--ink); }
.tq-palette-input:focus { outline: none; }
.tq-palette-list { max-height: 360px; overflow-y: auto; padding: var(--space-2); }
.tq-palette-group { font-size: 11px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); padding: var(--space-2) var(--space-3) var(--space-1); }
.tq-palette-item { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.tq-palette-item[aria-selected="true"] { background: var(--primary-soft); }
.tq-palette-item-main { flex: 1; min-width: 0; }
.tq-palette-item-sub { display: block; font-size: 12px; line-height: 16px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tq-palette-foot { display: flex; gap: var(--space-4); padding: var(--space-2) var(--space-4); border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-muted); background: var(--surface-sunken); }
.tq-kbd { font-family: var(--font-mono); font-size: 11px; line-height: 16px; padding: 1px 6px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); color: var(--ink-muted); background: var(--surface); }

/* ---------- Uygulama iskeleti ---------- */
.tq-shell { position: relative; display: grid; grid-template-columns: var(--sidebar-width) 1fr; grid-template-rows: var(--topbar-height) 1fr; height: 100%; min-height: 560px; background: var(--bg); color: var(--ink); overflow: hidden; }
.tq-topbar { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-4); padding: 0 var(--space-4); background: var(--surface); border-bottom: 1px solid var(--line); z-index: 5; }
.tq-brand { display: flex; align-items: center; gap: var(--space-2); width: calc(var(--sidebar-width) - var(--space-4)); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.tq-brand-mark { width: 28px; height: 28px; border-radius: var(--radius-md); background: var(--ink); color: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.tq-brand-sub { font-weight: 500; color: var(--ink-muted); }
.tq-brand-logo { display: block; height: 22px; width: auto; }
:root[data-theme="dark"] .tq-brand-logo { filter: brightness(0) invert(1); }
.tq-brand-sep { width: 1px; height: 20px; background: var(--line); margin: 0 var(--space-1); }
.tq-search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: var(--space-2); height: var(--control-height); padding: 0 var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-sunken); color: var(--ink-muted); font: inherit; cursor: text; text-align: left; }
.tq-search:hover { border-color: var(--line-strong); }
.tq-search-text { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tq-topbar-end { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.tq-iconbtn { position: relative; width: var(--control-height); height: var(--control-height); display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: var(--radius-md); background: none; color: var(--ink); cursor: pointer; }
.tq-iconbtn:hover { background: var(--surface-hover); }
.tq-iconbtn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.tq-dot { position: absolute; top: 4px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--radius-pill); background: var(--danger); color: var(--on-danger); font-size: 10px; line-height: 16px; font-weight: 700; border: 2px solid var(--surface); box-sizing: content-box; }
.tq-userbtn { display: flex; align-items: center; gap: var(--space-2); height: var(--control-height); padding: 0 var(--space-2) 0 var(--space-1); border: 0; border-radius: var(--radius-md); background: none; color: var(--ink); font: inherit; cursor: pointer; text-align: left; }
.tq-userbtn:hover { background: var(--surface-hover); }
.tq-avatar { width: 28px; height: 28px; border-radius: var(--radius-pill); background: var(--primary-soft); color: var(--primary-text); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.tq-user-name { font-weight: 600; display: block; line-height: 16px; }
.tq-user-role { font-size: 12px; line-height: 14px; color: var(--ink-muted); display: block; }
.tq-sidebar { min-height: 0; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; padding: var(--space-4) var(--space-3); display: flex; flex-direction: column; gap: var(--space-4); }
.tq-navgroup-title { font-size: 11px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); padding: 0 var(--space-3) var(--space-1); }
.tq-navlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tq-navitem { display: flex; align-items: center; gap: var(--space-3); width: 100%; height: 36px; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-md); background: none; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; text-align: left; text-decoration: none; }
.tq-navitem .tq-icon { color: var(--ink-muted); }
.tq-navitem:hover { background: var(--surface-hover); }
.tq-navitem[aria-current="page"] { background: var(--primary-soft); color: var(--primary-text); font-weight: 600; }
.tq-navitem[aria-current="page"] .tq-icon { color: var(--primary-text); }
.tq-navitem-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tq-sidebar-cta { margin-bottom: var(--space-1); }
.tq-main { overflow-y: auto; min-width: 0; min-height: 0; }
.tq-page { max-width: var(--content-max); margin: 0 auto; padding: var(--space-6) var(--space-8) var(--space-8); }
.tq-pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap; }
.tq-pagehead h1 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.01em; }
.tq-pagehead p { margin: var(--space-1) 0 0; color: var(--ink-muted); }
.tq-popover { position: absolute; top: calc(var(--topbar-height) - 4px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); z-index: 20; overflow: hidden; }
.tq-menu { min-width: 240px; padding: var(--space-2); right: var(--space-4); }
.tq-menu-item { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-2) var(--space-3); border: 0; border-radius: var(--radius-md); background: none; color: var(--ink); font: inherit; cursor: pointer; text-align: left; }
.tq-menu-item:hover { background: var(--surface-hover); }
.tq-menu-sep { height: 1px; background: var(--line); margin: var(--space-2) 0; }
.tq-menu-head { padding: var(--space-2) var(--space-3) var(--space-3); }
.tq-notif { width: 380px; right: 160px; }
.tq-notif-head { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); }
.tq-notif-list { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow-y: auto; }
.tq-notif-item { display: flex; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); cursor: pointer; }
.tq-notif-item:hover { background: var(--surface-hover); }
.tq-notif-item[data-unread="true"] { background: var(--primary-soft); }
.tq-notif-mark { width: 32px; height: 32px; border-radius: var(--radius-pill); flex: none; display: inline-flex; align-items: center; justify-content: center; }
.tq-notif-title { font-weight: 600; font-size: 13px; line-height: 18px; }
.tq-notif-body { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.tq-notif-time { font-size: 12px; line-height: 16px; color: var(--ink-muted); margin-top: 2px; }
.tq-notif-foot { padding: var(--space-2); text-align: center; }

/* Mobil iskelet */
.tq-shell-mobile { grid-template-columns: 1fr; grid-template-rows: var(--topbar-height) 1fr var(--bottomnav-height); }
.tq-shell-mobile .tq-topbar { padding: 0 var(--space-2) 0 var(--space-4); gap: var(--space-2); }
.tq-shell-mobile .tq-brand { width: auto; flex: 1; }
.tq-shell-mobile .tq-page { padding: var(--space-4); }
.tq-shell-mobile .tq-pagehead h1 { font-size: 20px; line-height: 28px; }
.tq-shell-mobile .tq-notif { right: var(--space-2); left: var(--space-2); width: auto; }
.tq-shell-mobile .tq-menu { right: var(--space-2); }
.tq-bottomnav { display: flex; align-items: stretch; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.tq-bottomitem { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none; color: var(--ink-muted); font: inherit; font-size: 11px; line-height: 14px; font-weight: 600; cursor: pointer; position: relative; }
.tq-bottomitem[aria-current="page"] { color: var(--primary-text); }
.tq-bottomitem .tq-dot { top: 6px; right: calc(50% - 22px); }
.tq-bottomcta { flex: 1; display: flex; align-items: center; justify-content: center; }
.tq-bottomcta button { width: 44px; height: 44px; border-radius: var(--radius-pill); border: 0; background: var(--primary); color: var(--on-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-1); }
.tq-drawer { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; justify-content: flex-end; background: var(--scrim); }
.tq-drawer-panel { background: var(--surface); border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 82%; overflow-y: auto; padding: var(--space-2) var(--space-3) var(--space-4); box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: var(--space-4); }
.tq-drawer-grip { width: 40px; height: 4px; border-radius: var(--radius-pill); background: var(--line-strong); margin: var(--space-1) auto var(--space-1); }

/* İçerik yer tutucu (iskelet önizlemesi) */
.tq-stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin-bottom: var(--space-6); }
.tq-shell-mobile .tq-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.tq-stat { padding: var(--space-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: left; font: inherit; color: inherit; cursor: pointer; }
.tq-stat:hover { border-color: var(--line-strong); }
.tq-stat[aria-pressed="true"] { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.tq-stat-label { font-size: 12px; line-height: 16px; color: var(--ink-muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.tq-stat-value { font-size: 24px; line-height: 32px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: var(--space-1); }
.tq-placeholder { border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
