/* ============================================================================
   TEKLİF STÜDYOSU — maliyet → teklif → sözleşme → hakediş
   ============================================================================ */
.st-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.st-head h1 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; }
.st-head small { display: block; color: var(--ink-muted); font-size: 13px; margin-top: 3px; }
.st-revs { display: flex; gap: 6px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.st-chip { font: inherit; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--border-strong); background: none; color: var(--ink-secondary); cursor: pointer; transition: all .3s var(--e-out); }
.st-chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.st-steps { display: flex; position: relative; margin: 18px 0 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 5px; box-shadow: var(--shadow-1); overflow-x: auto; scrollbar-width: none; }
.st-step { flex: 1; min-width: 120px; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; position: relative; z-index: 1; border: 0; background: none; font: inherit; color: var(--ink-muted); cursor: pointer; text-align: left; transition: color .4s; }
.st-step.on { color: var(--accent-ink); } .st-step.done { color: var(--ink-primary); }
.st-step i { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; flex: none; }
.st-step.done i { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.st-step b { font-weight: 600; display: block; } .st-step small { font-size: 12px; opacity: .75; }
.st-step:disabled { opacity: .45; cursor: not-allowed; }
.st-steps .ind { position: absolute; top: 5px; bottom: 5px; border-radius: 12px; background: var(--accent); transition: left .6s var(--e-out), width .6s var(--e-out); }
.st-pane { animation: stIn .55s var(--e-out); }
@keyframes stIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.st-two { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.st-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-1); }
.st-tools { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--border-strong); background: none; color: var(--ink-primary); font: inherit; font-weight: 500; font-size: 13.5px; white-space: nowrap; cursor: pointer; transition: transform .3s var(--e-out), border-color .3s; }
.st-btn:hover { border-color: var(--ink-primary); } .st-btn:active { transform: scale(.97); }
.st-btn.p { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.st-btn.lg { height: 44px; padding: 0 20px; font-size: 14.5px; }
.st-btn.block { width: 100%; }
.st-btn:disabled { opacity: .5; cursor: not-allowed; }
.st-add { flex: 1; min-width: 200px; position: relative; }
.st-add input { width: 100%; height: 36px !important; border-radius: 99px !important; padding: 0 14px 0 36px !important; background: var(--plane) !important; }
.st-add > svg { position: absolute; left: 12px; top: 10px; color: var(--ink-muted); }
.st-grpsel { height: 36px !important; width: auto !important; border-radius: 99px !important; padding: 0 12px !important; background: var(--plane) !important; font-size: 13px !important; max-width: 200px; }
.st-ac { position: absolute; left: 0; right: 0; min-width: min(460px, 86vw); top: 42px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); z-index: 20; overflow: hidden; display: none; max-height: 340px; overflow-y: auto; }
.st-ac.on { display: block; animation: stIn .25s var(--e-out); }
.st-ac .o { display: flex; gap: 12px; align-items: center; padding: 10px 14px; cursor: pointer; }
.st-ac .o:hover, .st-ac .o.sel { background: var(--surface-2); }
.st-ac .o small { color: var(--ink-muted); font-size: 12px; display: block; }
.st-ac .o .pr { margin-left: auto; text-align: right; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-tablewrap { overflow-x: auto; }
table.st-g { width: 100%; border-collapse: collapse; min-width: 640px; }
table.st-g th { font-size: 11.5px; font-weight: 500; color: var(--ink-muted); text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--border); }
table.st-g th.r { text-align: right; }
table.st-g td { padding: 0 10px; height: 44px; border-bottom: 1px solid var(--border); }
table.st-g tr.grp td { height: 40px; background: var(--surface-2); font-weight: 600; cursor: pointer; user-select: none; }
table.st-g tr.grp .t { float: right; font-weight: 500; font-variant-numeric: tabular-nums; }
table.st-g td input { width: 100%; border: 1px solid transparent !important; background: transparent !important; border-radius: 8px !important; height: 32px; padding: 0 8px !important; font-size: 14px !important; }
table.st-g td input:hover { border-color: var(--border-strong) !important; }
table.st-g td input:focus { border-color: var(--ink-primary) !important; background: var(--surface) !important; }
table.st-g td input.r { text-align: right; font-variant-numeric: tabular-nums; }
table.st-g td.amt { text-align: right; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.st-g td.u { color: var(--ink-muted); width: 74px; }
table.st-g tr.it .del { opacity: 0; width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; color: var(--ink-muted); cursor: pointer; display: grid; place-items: center; }
table.st-g tr.it:hover .del { opacity: 1; } table.st-g tr.it .del:hover { color: var(--critical); background: var(--critical-wash); }
.st-lib { font-size: 11px; padding: 2px 7px; border-radius: 99px; background: var(--good-wash); color: var(--good); white-space: nowrap; cursor: help; }
.st-lib.hi { background: var(--warning-wash); color: var(--warning); }
tr.st-new td { animation: stFlash 1.4s var(--e-out); }
@keyframes stFlash { 0% { background: var(--good-wash); } 100% { background: transparent; } }
.st-foot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; color: var(--ink-muted); font-size: 12.5px; flex-wrap: wrap; }
.st-sum { position: sticky; top: 16px; padding: 18px; }
.st-sum h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.st-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.st-row span:first-child { color: var(--ink-muted); }
.st-row.big { font-size: 21px; font-weight: 500; padding: 12px 0 4px; border-top: 1px solid var(--border); margin-top: 6px; }
.st-row.big span:first-child { color: var(--ink-primary); font-size: 14px; align-self: center; }
.st-sl { margin: 8px 0; }
.st-sl label { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-secondary); margin-bottom: 5px; }
.st-sl label b { font-weight: 600; font-variant-numeric: tabular-nums; }
.st-sl input[type=range], .st-hk input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 4px !important; border-radius: 4px; background: var(--surface-3) !important; border: 0 !important; padding: 0 !important; }
.st-sl input[type=range]::-webkit-slider-thumb, .st-hk input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ink-primary); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--ink-primary); cursor: pointer; }
.st-margin { display: flex; align-items: center; gap: 14px; padding: 13px; border-radius: 14px; background: var(--surface-2); margin-top: 12px; }
.st-margin svg { width: 56px; height: 56px; transform: rotate(-90deg); flex: none; }
.st-margin circle { fill: none; stroke-width: 6; }
.st-margin .fg { stroke-linecap: round; transition: stroke-dashoffset .8s var(--e-out), stroke .4s; }
.st-margin b { font-size: 19px; font-weight: 500; display: block; font-variant-numeric: tabular-nums; }
.st-margin small { color: var(--ink-muted); font-size: 12.5px; }
.st-target { display: flex; gap: 8px; margin-top: 12px; }
.st-target input { flex: 1; height: 36px !important; }
.st-hint { font-size: 12.5px; color: var(--ink-muted); margin-top: 8px; line-height: 1.5; }
.st-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.st-fields label { font-size: 12px; color: var(--ink-muted); display: block; margin-bottom: 3px; }
/* teklif */
.st-q { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
.st-opts { padding: 18px; position: sticky; top: 16px; }
.st-opts h4 { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; margin: 16px 0 8px; }
.st-opts h4:first-child { margin-top: 0; }
.st-seg { display: flex; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 2px; }
.st-seg button { flex: 1; padding: 8px 4px; border-radius: 9px; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--ink-secondary); cursor: pointer; transition: all .3s var(--e-out); }
.st-seg button.on { background: var(--surface); color: var(--ink-primary); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.st-tg { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 14px; }
.st-sw { width: 38px; height: 22px; border-radius: 99px; background: var(--surface-3); position: relative; border: 0; cursor: pointer; transition: background .3s; flex: none; }
.st-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .35s var(--e-out); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.st-sw.on { background: var(--accent); } .st-sw.on::after { transform: translateX(16px); }
html[data-theme="dark"] .st-sw.on::after { background: #141414; }
.st-paperwrap { background: color-mix(in srgb, var(--ink-primary) 12%, var(--plane)); border-radius: 16px; padding: 24px; overflow: auto; }
.st-paperscale { transform-origin: top left; }
/* sözleşme */
.st-c { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-cbox { padding: 18px; }
.st-cbox h3 { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.st-auto { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--good); background: var(--good-wash); padding: 2px 8px; border-radius: 99px; }
.st-kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 12px; font-size: 14px; }
.st-kv > span:nth-child(odd) { color: var(--ink-muted); }
.st-sub { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.st-sub select, .st-sub input { margin-left: auto; height: 34px !important; width: 190px !important; font-size: 13px !important; padding: 0 10px !important; }
.st-done { padding: 26px; text-align: center; }
.st-done svg.ok { width: 84px; height: 84px; }
.st-done circle { fill: none; stroke: var(--good); stroke-width: 2.5; stroke-dasharray: 290; stroke-dashoffset: 290; animation: stDraw 1s var(--e-out) forwards; }
.st-done path { fill: none; stroke: var(--good); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: stDraw .6s var(--e-out) .5s forwards; }
@keyframes stDraw { to { stroke-dashoffset: 0; } }
.st-clist { max-width: 520px; margin: 16px auto 0; text-align: left; }
.st-clist div { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); opacity: 0; transform: translateY(8px); transition: all .5s var(--e-out); }
.st-clist div.in { opacity: 1; transform: none; }
.st-clist i { width: 24px; height: 24px; border-radius: 50%; background: var(--good-wash); color: var(--good); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; flex: none; }
.st-clist div.run i { background: var(--surface-2); color: var(--ink-muted); }
.st-hk td { padding: 10px !important; height: auto !important; }
@media (max-width: 1080px) {
  .st-two, .st-q, .st-c { grid-template-columns: 1fr; }
  .st-sum, .st-opts { position: static; }
  .st-step small { display: none; }
}

/* ============================================================================
   KALEM MASASI — katalog · kalemler · canlı hesap
   ============================================================================ */
body.st-open .bg-main > main.content { max-width: 1680px; }
body.st-open #my-content { max-width: 1680px; }
@media (min-width: 900px) and (max-width: 1500px) {
  body.st-open .bg-shell { grid-template-columns: 72px 1fr; }
  body.st-open .bg-side { padding: 20px 10px 16px; }
  body.st-open .bg-side .brand, body.st-open .bg-side kbd, body.st-open .bg-nav button span, body.st-open .bg-side .foot button > span, body.st-open .bg-me > div:last-child, body.st-open .bg-search-btn { display: none; }
  body.st-open .bg-qa-btn { justify-content: center; padding: 11px 0; font-size: 0; gap: 0; }
  body.st-open .bg-nav button, body.st-open .bg-side .foot button { justify-content: center; padding: 11px 0; font-size: 0; gap: 0; }
  body.st-open .bg-me { justify-content: center; padding: 12px 0 4px; }
}
.cd { display: grid; grid-template-columns: 236px minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.cd.w-m { grid-template-columns: minmax(0, 1fr) 290px; }
.cd.w-m .cd-cat { display: none; }
.cd.w-s { grid-template-columns: 1fr; }
.cd-catbtn { display: none; }
.cd.w-m .cd-catbtn { display: inline-flex; }
.cd-main { min-width: 0; }
.cd-smart { padding: 12px 14px 0; }
.cd-in { position: relative; display: flex; align-items: center; gap: 9px; height: 46px; border-radius: 14px; border: 1.5px solid var(--ink-primary); background: var(--surface); padding: 0 8px 0 14px; color: var(--ink-muted); transition: box-shadow .3s; }
.cd-in:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink-primary) 10%, transparent); }
.cd-in input { flex: 1; min-width: 0; border: 0 !important; background: none !important; height: 42px !important; padding: 0 !important; font-size: 15px !important; color: var(--ink-primary); box-shadow: none !important; outline: 0; }
.cd-in kbd { font: inherit; font-size: 11px; padding: 3px 8px; border-radius: 7px; background: var(--surface-2); color: var(--ink-muted); }
.cd-in .st-ac { top: 50px; left: 0; right: 0; }
.cd-parse { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 9px 14px 11px; min-height: 44px; border-bottom: 1px solid var(--border); }
.cd-parse > span { font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); color: var(--ink-secondary); }
.cd-parse > span b { font-weight: 600; color: var(--ink-primary); } .cd-parse i { font-style: normal; color: var(--ink-muted); }
.cd-parse .cd-hint { background: none; padding: 4px 0; color: var(--ink-muted); }
.cd-gsel { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-muted); }
.cd-gsel select, .cd-gsel input { height: 30px !important; width: auto !important; max-width: 220px; border-radius: 99px !important; padding: 0 10px !important; font-size: 12.5px !important; background: var(--surface-2) !important; }
.cd-tools { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.cd-tools .st-btn { height: 32px; font-size: 13px; padding: 0 12px; }
.cd-cnt { margin-left: auto; font-size: 12.5px; color: var(--ink-muted); }
table.cd-t { min-width: 680px; table-layout: fixed; }
table.cd-t td { padding: 0 6px; }
table.cd-t td:nth-child(2) { padding-left: 2px; }
table.cd-t tr.it td { height: auto; padding-top: 4px; padding-bottom: 4px; }
table.cd-t td.u input { padding: 0 4px !important; }
table.cd-t input.zero { background: var(--warning-wash) !important; }
table.cd-t input.zero::placeholder { color: var(--warning); }
.cd-note { height: 26px !important; font-size: 12.5px !important; color: var(--ink-muted); margin-top: 1px; }
.cd-h { color: var(--ink-muted); cursor: grab; text-align: center; letter-spacing: -2px; font-size: 13px; user-select: none; opacity: .45; transition: opacity .2s; }
tr:hover > .cd-h { opacity: 1; }
tr.grp .cd-gn b { font-weight: 600; }
tr.grp .cd-gc { color: var(--ink-muted); font-weight: 400; }
tr.grp td.amt { font-weight: 600; }
.cd-ren { border: 0; background: none; color: var(--ink-muted); cursor: pointer; padding: 3px; border-radius: 6px; opacity: 0; vertical-align: -2px; }
tr.grp:hover .cd-ren { opacity: 1; } .cd-ren:hover { color: var(--ink-primary); background: var(--surface-3); }
.cd-renin { height: 30px !important; max-width: 320px; font-weight: 600 !important; }
.cd-act { text-align: right; white-space: nowrap; }
.cd-more { width: 28px; height: 28px; border-radius: 8px; border: 0; background: none; color: var(--ink-muted); cursor: pointer; font-size: 16px; line-height: 1; vertical-align: middle; }
.cd-more:hover { background: var(--surface-3); color: var(--ink-primary); }
tr.cd-addrow td { height: 38px; border-bottom: 1px solid var(--border); }
tr.cd-addrow input { height: 30px !important; border: 1px dashed transparent !important; background: none !important; color: var(--ink-muted); font-size: 13px !important; padding: 0 8px !important; }
tr.cd-addrow input:hover { border-color: var(--border-strong) !important; }
tr.cd-addrow input:focus { border: 1px solid var(--ink-primary) !important; background: var(--surface) !important; color: var(--ink-primary); }
tr.cd-drag { opacity: .35; }
tr.cd-over > td { box-shadow: inset 0 2px 0 var(--ink-primary); }
.cd-pop { position: fixed; z-index: 400; min-width: 220px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); padding: 6px; animation: stIn .2s var(--e-out); }
.cd-pop button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px; border: 0; background: none; border-radius: 9px; font: inherit; font-size: 13.5px; color: var(--ink-primary); cursor: pointer; text-align: left; }
.cd-pop button:hover { background: var(--surface-2); }
.cd-pop kbd { margin-left: auto; font: inherit; font-size: 11px; color: var(--ink-muted); }
.cd-pop .dz { color: var(--critical); }
.cd-pops { display: flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 13.5px; }
.cd-pops select { height: 30px !important; flex: 1; font-size: 12.5px !important; padding: 0 8px !important; }
/* katalog */
.cd-cat { padding: 12px; position: sticky; top: 14px; max-height: calc(100vh - 28px); display: flex; flex-direction: column; }
.cd-cat.in-sheet { position: static; max-height: none; padding: 0; border: 0; box-shadow: none; background: none; }
.cd-ctabs { display: flex; background: var(--surface-2); border-radius: 11px; padding: 3px; gap: 2px; margin-bottom: 10px; }
.cd-ctabs button { flex: 1; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 500; padding: 7px 0; border-radius: 8px; color: var(--ink-secondary); cursor: pointer; }
.cd-ctabs button.on { background: var(--surface); color: var(--ink-primary); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.cd-csrch { display: flex; align-items: center; gap: 8px; height: 36px; border-radius: 99px; background: var(--surface-2); padding: 0 12px; color: var(--ink-muted); margin-bottom: 8px; }
.cd-csrch input { flex: 1; min-width: 0; border: 0 !important; background: none !important; height: 34px !important; padding: 0 !important; font-size: 13px !important; box-shadow: none !important; }
.cd-clist { overflow-y: auto; flex: 1; margin: 0 -4px; padding: 0 4px; min-height: 120px; }
.cd-cat.in-sheet .cd-clist { max-height: 52vh; }
.cd-cg { border-bottom: 1px solid var(--border); }
.cd-cgh { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 4px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-primary); cursor: pointer; text-align: left; }
.cd-cgh small { color: var(--ink-muted); font-weight: 400; }
.cd-cgh::after { content: "▸"; color: var(--ink-muted); font-size: 11px; margin-left: 4px; transition: transform .25s; }
.cd-cg.open .cd-cgh::after { transform: rotate(90deg); }
.cd-cg.open { padding-bottom: 6px; }
.cd-ci { display: flex; width: 100%; align-items: center; gap: 9px; padding: 7px 6px; border: 0; background: none; border-radius: 9px; font: inherit; font-size: 13px; color: var(--ink-primary); cursor: pointer; text-align: left; transition: background .15s; }
.cd-ci:hover { background: var(--surface-2); }
.cd-ci .cb { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--border-strong); flex: none; display: grid; place-items: center; transition: all .2s; }
.cd-ci.sel .cb { background: var(--ink-primary); border-color: var(--ink-primary); }
.cd-ci.sel .cb::after { content: ""; width: 7px; height: 4px; border: 2px solid var(--plane); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.cd-ci .nm { flex: 1; min-width: 0; line-height: 1.3; }
.cd-ci .nm small { display: block; font-size: 11.5px; color: var(--ink-muted); }
.cd-ci em { font-style: normal; font-size: 12px; color: var(--ink-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cd-ci.used .nm::after { content: " ✓"; color: var(--good); font-size: 11px; }
.cd-cempty { font-size: 12.5px; color: var(--ink-muted); padding: 14px 4px; line-height: 1.5; }
.cd-cadd { margin-top: 10px; flex: none; }
.cd-cadd.off { opacity: .35; pointer-events: none; }
.cd-pk { display: flex; width: 100%; align-items: center; gap: 10px; padding: 11px 12px; border: 1px dashed var(--border-strong); border-radius: 12px; background: none; font: inherit; color: var(--ink-primary); cursor: pointer; text-align: left; margin-bottom: 7px; transition: border-color .2s, background .2s; }
.cd-pk:hover { border-color: var(--ink-primary); background: var(--surface-2); }
.cd-pk.alt { border-style: solid; }
.cd-pk span { flex: 1; min-width: 0; } .cd-pk b { font-weight: 600; font-size: 13.5px; display: block; } .cd-pk small { font-size: 12px; color: var(--ink-muted); }
.cd-pk em { font-style: normal; font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.cd-pkl { display: grid; gap: 4px; max-height: 56vh; overflow-y: auto; }
.cd-pkl label { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-bottom: 1px solid var(--border); cursor: pointer; font-size: 13.5px; }
.cd-pkl label input { width: 18px; height: 18px; flex: none; }
.cd-pkl label span { flex: 1; min-width: 0; } .cd-pkl label b { font-weight: 500; display: block; } .cd-pkl label small { color: var(--ink-muted); font-size: 12px; }
.cd-pkl label em { font-style: normal; font-size: 12.5px; color: var(--ink-secondary); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* telefon kartları + sabit çubuk */
.cd-cards { display: none; padding: 6px 10px 12px; }
.cd.w-s .cd-tw { display: none; }
.cd.w-s .cd-cards { display: block; }
.cd.w-s .cd-foot, .cd.w-s .st-foot, .cd.w-s .cd-tools .cd-cnt { display: none; }
.cd.w-s .cd-catbtn { display: inline-flex; }
.cd.w-s .cd-smart, .cd.w-s .cd-parse { display: none; }
.cd.w-s .cd-tools { border-bottom: 0; }
.cd-mg { display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin: 14px 4px 6px; }
.cd-mg b { font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.cd-mc { display: block; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 11px 13px; margin-bottom: 6px; font: inherit; color: var(--ink-primary); cursor: pointer; transition: transform .2s; }
.cd-mc:active { transform: scale(.985); }
.cd-mc.zero { border-color: color-mix(in srgb, var(--warning) 45%, transparent); }
.cd-mc .t1 { display: flex; justify-content: space-between; gap: 10px; font-weight: 500; font-size: 14px; }
.cd-mc .t1 b { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cd-mc .nt { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.cd-mc .t2 { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.cd-bar { display: none; }
.st-pane.cd-s .cd-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 25; align-items: center; gap: 10px; background: var(--ink-primary); color: var(--plane); border-radius: 18px; padding: 10px 10px 10px 16px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); animation: stIn .4s var(--e-out); }
.cd-bar small { display: block; font-size: 11px; opacity: .7; }
.cd-bar b { font-size: 18px; font-weight: 400; font-variant-numeric: tabular-nums; }
.cd-bar button { margin-left: auto; height: 40px; padding: 0 16px; border-radius: 99px; border: 0; background: var(--plane); color: var(--ink-primary); font: inherit; font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.st-pane.cd-s { padding-bottom: 90px; }
.cd-sheetadd .cd-in { height: 48px; }
.cd-isub { font-size: 12.5px; color: var(--ink-muted); margin: -6px 0 12px; }
.cd-ig { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.cd-itot { height: 44px; display: flex; align-items: center; font-size: 18px; font-variant-numeric: tabular-nums; }
.cd-ichips { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 12px; }
.cd-ichips button { font: inherit; font-size: 12.5px; padding: 6px 11px; border-radius: 99px; border: 1px solid var(--border-strong); background: none; color: var(--ink-primary); cursor: pointer; }
/* onay */
.cd-send { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--surface-2); font-size: 13px; color: var(--ink-secondary); line-height: 1.45; }
.cd-send b, .cd-apst b { display: block; color: var(--ink-primary); font-weight: 600; }
.cd-send small, .cd-apst small { display: block; color: var(--ink-muted); font-size: 12.5px; }
.cd-send.pending, .cd-apst.pending { background: var(--warning-wash); }
.cd-send.approved, .cd-apst.approved { background: var(--good-wash); }
.cd-send.changes, .cd-apst.changes { background: var(--critical-wash); }
.cd-ap { padding: 20px; max-width: 760px; margin: 0 auto; }
.cd-apst { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); font-size: 14px; }
.cd-apsum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.cd-apsum > div { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.cd-apsum span { display: block; font-size: 12.5px; color: var(--ink-muted); }
.cd-apsum b { display: block; font-size: 20px; font-weight: 400; margin: 2px 0; font-variant-numeric: tabular-nums; }
.cd-apsum small { font-size: 12px; color: var(--ink-muted); }
.cd-apbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: -6px 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--warning-wash); border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent); }
.cd-apbar .tx { flex: 1; min-width: 220px; font-size: 14px; }
.cd-apbar .tx small { display: block; color: var(--ink-secondary); margin-top: 2px; }
@media (max-width: 720px) {
  .st-steps { margin: 12px 0 14px; }
  .st-step { min-width: 0; padding: 9px 8px; gap: 7px; justify-content: center; }
  .st-step small { display: none; }
  .st-step b { font-size: 13px; }
  .st-step i { width: 20px; height: 20px; font-size: 11px; }
  .st-head h1 { font-size: 22px; }
  .st-revs { margin-left: 0; }
  .cd-apsum { grid-template-columns: 1fr 1fr; }
}
.st-target { flex-wrap: wrap; }
.st-target input { min-width: 140px; }
.cd-act .st-lib { font-size: 10.5px; }
