/* Geist (Vercel, SIL Open Font License 1.1): the design's typeface, served from here (CSP: no font CDN). Variable
   font, latin and latin-ext subsets (Turkish letters are in latin-ext). See fonts/README.txt. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* LumCC Çağrı Merkezi — components after the Monster design canvas (V5). Every colour is a token of theme.css
   (light and dark values); nothing here names a colour directly. */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.4; }
[hidden] { display: none !important; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.i.sm { width: 15px; height: 15px; }
a { color: var(--blue); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.grow { flex-grow: 1; }
.row { display: flex; align-items: center; gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 10px; }

/* ----------------------------------------------------------------- brand (the sign-in page: login.css) */
.brand { display: flex; align-items: center; gap: 9px; }
.logo { width: 28px; height: 28px; border-radius: 8px; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }

/* ----------------------------------------------------------------- buttons, inputs */
.btn { height: 38px; padding: 0 14px; border: 1px solid transparent; border-radius: 10px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; background: var(--card); color: var(--ink);
  border-color: var(--line); text-decoration: none; }
.btn:hover { background: var(--p-fafafa); }
.btn.primary { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.btn.primary:hover { background: var(--f-a7db2e); }
.btn.danger { background: var(--red); color: var(--on-fill); border-color: var(--red); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.big { height: 46px; border-radius: 12px; font-size: 15px; font-weight: 700; }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn:disabled { background: var(--p-f2f2f2); color: var(--i-a8a8a8); border-color: var(--p-f2f2f2); cursor: default; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.field small { font-size: 12px; color: var(--muted); }
.input, .select, .textarea { height: 38px; border: 1px solid var(--p-e0e0e0); border-radius: 10px; padding: 0 12px; color: var(--ink); background: var(--card); width: 100%; }
.textarea { height: auto; min-height: 76px; padding: 9px 12px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: transparent; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--green-text); }
.chips-select { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-toggle { height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--p-e0e0e0); background: var(--card); font-size: 12.5px; cursor: pointer; color: var(--text); }
.chip-toggle[aria-pressed="true"] { background: var(--lime-soft); border-color: var(--p-cfe68e); color: var(--green-ink); font-weight: 600; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { height: 34px; padding: 0 12px; border: 0; background: var(--card); cursor: pointer; font-size: 13px; color: var(--text); border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--lime-soft); color: var(--green-ink); font-weight: 600; }

/* ----------------------------------------------------------------- badges and pills */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--green-bg); color: var(--green-ink); white-space: nowrap; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.amber { background: var(--amber-bg); color: var(--amber-ink); }
.badge.talk { background: var(--lime); color: var(--lime-ink); }
.badge.red { background: var(--red-bg); color: var(--red-ink); }
.badge.violet { background: var(--violet-bg); color: var(--violet-ink); }
.badge.gray { background: var(--gray-bg); color: var(--text); }
.badge.blue { background: var(--blue-bg); color: var(--blue); }
.badge.nready { background: var(--p-f4f4f2); color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; white-space: nowrap; background: var(--card); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--p-c8c8c8); }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--p-e4e6e1); font-size: 12px;
  color: var(--text); white-space: nowrap; background: var(--card); }
.chip b { color: var(--blue); font-weight: 600; margin-right: 4px; }

/* ----------------------------------------------------------------- shell */
.shell { display: flex; min-height: 100%; }
.side { width: 178px; flex-shrink: 0; background: var(--card); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px;
  padding: 18px 10px 14px; position: sticky; top: 0; height: 100vh; }
.side .brand { padding: 0 6px; }
.tenant-wrap, .side-foot-wrap { position: relative; }
.tenant { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; height: 36px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--p-fafafa); font: inherit; font-size: 12.5px; color: var(--text); cursor: pointer; }
.tenant-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 14px; min-width: 0; }
.tenant-text b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.tenant-text span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.tenant .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.side-menu { left: 0; right: auto; top: 42px; width: 230px; }
.side-menu.up { top: auto; bottom: 50px; }
.nav { display: flex; flex-direction: column; gap: 14px; flex-grow: 1; overflow-y: auto; }
.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-label { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 0 10px 4px; }
.nav-item { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent;
  text-decoration: none; font: inherit; font-size: 13.5px; font-weight: 400; color: var(--text-2); text-align: left; cursor: pointer; }
.nav-item svg.i { stroke-width: 1.8; }
.nav-text { flex-grow: 1; white-space: nowrap; }
.nav-item:hover { background: var(--p-f7f8f5); }
.nav-item[aria-current="page"] { background: var(--p-f1f3ee); color: var(--ink); font-weight: 600; }
.nav-item .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--p-eef6d8); color: var(--i-3a5507);
  font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.nav-item .count.amber { background: var(--p-fff3dc); color: var(--i-7a4e08); }
.side-foot { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 8px 0; border: 0; border-top: 1px solid var(--p-efefef);
  background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.avatar { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--f-caf264); color: var(--avatar-ink); font-weight: 600; font-size: 12.5px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.avatar .presence { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--card); background: var(--p-c8c8c8); }
.who { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.who b { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who span { font-size: 11.5px; color: var(--muted); }
.main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
/* the 64px page header of every design screen; pages after the design draw it themselves (<header class="top">) */
.top { height: 64px; flex-shrink: 0; background: var(--card); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px;
  padding: 0 20px; position: sticky; top: 0; z-index: 5; }
/* header tabs (Kampanyalar, Yönetim): the header then uses gap 22px like the design */
.top-tabs { display: flex; align-items: stretch; gap: 4px; height: 64px; }
.top-tabs a { display: flex; align-items: center; padding: 0 12px; border-bottom: 2px solid transparent; font-size: 13.5px; color: var(--text-2);
  text-decoration: none; white-space: nowrap; }
.top-tabs a[aria-current="page"] { border-bottom-color: var(--green); font-weight: 600; color: var(--ink); }
.title { display: flex; flex-direction: column; gap: 1px; }
.title h1 { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink); }
.title .sub { font-size: 12px; color: var(--muted); }
.content { padding: 16px 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: -4px 0 0; flex-wrap: wrap; }
.tabs a { padding: 9px 12px; text-decoration: none; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--lime); font-weight: 600; }

/* ----------------------------------------------------------------- status menu */
.status-wrap { position: relative; }
.status-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 0; border-radius: 10px; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap; }
.status-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.menu { position: absolute; right: 0; top: 44px; z-index: 20; width: 290px; background: var(--card); border: 1px solid var(--p-e2e4df); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.menu-title { padding: 6px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.menu-item { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent;
  text-align: left; cursor: pointer; width: 100%; }
.menu-item:hover, .menu-item[aria-checked="true"] { background: var(--lime-soft); }
.menu-item .mdot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.menu-item .mtext { display: flex; flex-direction: column; }
.menu-item b { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.menu-item small { font-size: 12px; color: var(--text-2); }
.menu-item small.warn { color: var(--st-missed-ink); font-weight: 600; }
.menu-sep { height: 1px; margin: 6px 4px; background: var(--p-efefef); }

/* ----------------------------------------------------------------- drop-downs (ui.js Select): the app's own menu, not the browser's */
.sel-wrap { position: relative; display: flex; min-width: 0; }
.sel-wrap.inline { display: inline-flex; vertical-align: baseline; }
.sel { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; max-width: 100%; cursor: pointer;
  text-align: left; white-space: nowrap; font-family: inherit; color: var(--ink); }
.sel:disabled { cursor: default; }
.sel-v { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sel.sel-empty .sel-v { color: var(--muted); }         /* not .empty: that is the pages' empty-state text */
.sel-chev { width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.15s; }
.sel.open .sel-chev { transform: rotate(180deg); }
.sel:disabled .sel-chev { opacity: 0.4; }
.sel:focus { outline: none; }
.sel:focus-visible, .sel.open { outline: 2px solid var(--green); outline-offset: 0; }
.sel-wrap.inline { flex-shrink: 0; }
.sel-wrap.inline .sel { gap: 3px; max-width: none; }
.sel-wrap.inline .sel-v { overflow: visible; min-width: auto; }
.sel-wrap.inline .sel-chev { width: 11px; height: 11px; stroke-width: 2.6; }
.sel-wrap.inline .sel.open, .sel-wrap.inline .sel:focus-visible { outline-offset: 1px; border-radius: 4px; }
.sel-menu { position: fixed; z-index: 80; max-height: min(340px, 60vh); max-width: calc(100vw - 16px); overflow-y: auto; background: var(--card);
  border: 1px solid var(--p-e2e4df); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: flex; flex-direction: column; gap: 1px; }
.sel-opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 34px; padding: 7px 10px; border: 0; border-radius: 8px;
  background: transparent; font-family: inherit; font-size: 13px; font-weight: 400; color: var(--ink); text-align: left; cursor: pointer;
  white-space: nowrap; flex-shrink: 0; }
.sel-opt.on { background: var(--lime-soft); }
.sel-opt[aria-selected="true"] { font-weight: 600; }
.sel-opt:focus { outline: none; }
.sel-opt:focus-visible { box-shadow: inset 0 0 0 2px var(--p-cfe68e); }
.sel-opt[aria-disabled="true"] { color: var(--i-a8a8a8); cursor: default; }
.sel-opt[aria-disabled="true"].on { background: transparent; }
.sel-text { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.sel-text > span { overflow: hidden; text-overflow: ellipsis; }
.sel-text small { font-size: 11.5px; font-weight: 400; line-height: 15px; color: var(--muted); white-space: normal; }
.sel-meta { font-size: 12px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.sel-check { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: var(--green-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sel-none { padding: 8px 10px; font-size: 12.5px; color: var(--muted); }
/* day and time (ui.js DateField, TimeField, DateTimeField): the same card, a month calendar for the day */
.sel.date { justify-content: flex-start; }
.sel.date .sel-v { flex-grow: 1; }
.sel-ico { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: var(--muted); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sel.time { font-variant-numeric: tabular-nums; }
.dt-field { display: flex; gap: 6px; min-width: 0; }
.dt-field > .sel-wrap:first-child { flex: 1 1 auto; }
.dt-field > .sel-wrap:last-child { flex: 0 0 92px; }
.dt-field .sel { width: 100%; }
.sel-menu.cal-menu { padding: 10px; gap: 6px; width: 262px; max-height: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-title { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cal-nav { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  display: grid; place-items: center; }
.cal-nav:hover { background: var(--lime-soft); }
.cal-nav:disabled { opacity: 0.35; cursor: default; background: transparent; }
.cal-nav svg { width: 16px; height: 16px; fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-wd { font-size: 11px; font-weight: 600; line-height: 22px; text-align: center; color: var(--muted); }
.cal-day { height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; font-family: inherit; font-size: 13px;
  color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.cal-day:hover { background: var(--lime-soft); }
.cal-day.out { color: var(--i-a8a8a8); }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--f-9cc43a); font-weight: 600; }
.cal-day.on { background: var(--lime); color: var(--lime-ink); font-weight: 700; }
.cal-day:focus { outline: none; }
.cal-day:focus-visible { box-shadow: inset 0 0 0 2px var(--green); }
.cal-day.on:focus-visible { box-shadow: inset 0 0 0 2px var(--lime-ink); }
.cal-day:disabled { color: var(--i-d0d0d0); background: transparent; cursor: default; box-shadow: none; }
.cal-foot { display: flex; justify-content: flex-end; gap: 4px; padding-top: 6px; border-top: 1px solid var(--p-efefef); }
.cal-today.clear { margin-right: auto; color: var(--text-2); }
.cal-today { padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; font-family: inherit; font-size: 12.5px;
  font-weight: 600; color: var(--green-ink); cursor: pointer; }
.cal-today:hover { background: var(--lime-soft); }
/* (i): how a number is counted (ui.js InfoTip) */
.info-wrap { position: relative; display: inline-flex; vertical-align: middle; }
.info-btn { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--faint); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; }
.info-btn:hover, .info-btn[aria-expanded="true"] { color: var(--green-ink); }
.info-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.info-pop { position: absolute; top: 22px; left: -10px; z-index: 40; width: 250px; padding: 10px 12px; background: var(--card);
  border: 1px solid var(--p-e2e4df); border-radius: 10px; box-shadow: var(--shadow); font-size: 12px; font-weight: 400; line-height: 17px;
  color: var(--text); white-space: normal; text-transform: none; letter-spacing: 0; text-align: left; }
.info-pop.right { left: auto; right: -10px; }

/* ----------------------------------------------------------------- cards, tables */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-head h2 { margin: 0; font-size: 15px; color: var(--ink); flex-grow: 1; }
.card-head .muted { font-size: 12px; }
.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap;
  background: var(--p-fcfcfb); }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { cursor: pointer; }
.table tbody tr:hover td { background: var(--p-fafbf8); }
.table tr[aria-selected="true"] td { background: var(--lime-soft); }
.table .num { font-variant-numeric: tabular-nums; }
.cell-user { display: flex; align-items: center; gap: 10px; }
.cell-user .avatar { width: 30px; height: 30px; font-size: 11.5px; }
.cell-user b { color: var(--ink); font-weight: 600; }
.cell-user small { display: block; color: var(--muted); font-size: 12px; }
.empty { padding: 26px; text-align: center; color: var(--muted); font-size: 13px; }
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }

/* ----------------------------------------------------------------- editor aside (right panel) */
.split { display: flex; gap: 16px; align-items: flex-start; }
.split > .table-wrap, .split > .list { flex: 1 1 auto; min-width: 0; }
.aside { width: 380px; flex-shrink: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex;
  flex-direction: column; gap: 14px; position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; }
.aside h2 { margin: 0; font-size: 16px; color: var(--ink); }
.aside .actions { display: flex; gap: 8px; justify-content: flex-end; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.note { padding: 11px 13px; border-radius: 12px; background: var(--p-f7f8f5); border: 1px solid var(--p-eceee9); font-size: 12.5px; line-height: 18px; color: var(--text); }
.note b { color: var(--ink); }
.note.warn { background: var(--amber-bg); border-color: var(--p-f1d9a4); color: var(--amber-ink); }

/* ----------------------------------------------------------------- workspace */
.ws-page { display: flex; gap: 16px; padding: 16px; min-height: calc(100vh - 64px); }
.ws-col { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.ws-col .todo { flex-grow: 1; min-height: 0; }
.ws-main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
/* the call box: CagriKutusu's fixed blocks (head 24, timer 62, caller 68, controls 64, main 44, foot 30 → 398px) */
.callbox { height: 398px; flex-shrink: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  display: flex; flex-direction: column; gap: 14px; }
.callbox > * { flex-shrink: 0; }
.callbox.hot { border-color: var(--lime); box-shadow: 0 0 0 4px var(--lime-ring); }
.callbox.alert { border-color: var(--p-f2c2c2); }
.cb-head { height: 24px; display: flex; align-items: center; gap: 6px; min-width: 0; }
.cb-head .badge { flex-shrink: 0; gap: 6px; }
.cb-head .badge .dot { width: 7px; height: 7px; }
.cb-head .badge.amber { background: var(--st-dial-bg); color: var(--st-dial-ink); } .cb-head .badge.amber .dot { background: var(--st-dial); }
.cb-head .badge.talk { background: var(--st-talk); color: var(--on-fill); } .cb-head .badge.talk .dot { background: var(--card); }
.cb-head .badge.wrap .dot { background: var(--st-wrap); }
.cb-head .badge.brk .dot { background: var(--st-break); }
.cb-head .badge.red { background: var(--st-missed-bg); color: var(--st-missed-ink); } .cb-head .badge.red .dot { background: var(--st-missed); }
.cb-head .badge.gray { background: var(--st-off-bg); color: var(--st-off-ink); } .cb-head .badge.gray .dot { background: var(--st-off); }
.cb-head .badge.nready { background: var(--st-nready-bg); color: var(--st-nready-ink); } .cb-head .badge.nready .dot { background: var(--st-nready); }
.cb-time { height: 62px; display: flex; flex-direction: column; justify-content: center; }
.time { font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.time.amber { color: var(--st-dial-ink); } .time.red { color: var(--st-missed-ink); } .time.wrap { color: var(--st-wrap-ink); }
.time.brk { color: var(--st-break-ink); }
.time-label { font-size: 12px; line-height: 18px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-who { height: 68px; display: flex; flex-direction: column; gap: 2px; justify-content: center; min-width: 0; }
.cb-who .name { font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-who .name.muted { color: var(--faint); }
.cb-who .number { font-size: 15px; line-height: 20px; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.cb-who .info { font-size: 12px; line-height: 16px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-ctrls { height: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
/* no microphone (UX Notu 1): its two buttons take the controls' place, the first one stands out */
.cb-ctrls.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cb-ctrls .ctrl.mic-ask { background: var(--lime-soft); border-color: var(--p-cfe68e); color: var(--green-ink); font-weight: 600; }
.ctrl { height: 64px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; font: inherit; font-size: 12.5px; color: var(--text); cursor: pointer; }
.ctrl svg.i { width: 20px; height: 20px; stroke-width: 1.8; }
.ctrl:disabled { background: var(--p-fafafa); border-color: var(--p-efefef); color: var(--i-b0b0b0); cursor: default; }
.ctrl[aria-pressed="true"] { background: var(--amber-bg); border-color: var(--p-f1d9a4); }
.cb-main { height: 44px; }
.cb-main .btn { width: 100%; height: 44px; border-radius: 12px; font-size: 15px; font-weight: 700; gap: 8px; }
.cb-main .btn svg.i { stroke-width: 2; }
.cb-main .btn.pasif, .cb-main .btn:disabled { background: var(--p-f2f2f2); color: var(--i-a8a8a8); border-color: var(--p-f2f2f2); }
.next-task { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 12px; background: var(--lime-soft); border: 1px solid var(--p-e3efc2); }
.next-task b { color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }
.next-task small { font-size: 12px; color: var(--text-2); }
.nt-head { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.nt-actions { display: flex; gap: 8px; margin-top: 6px; }
.nt-actions .btn.primary { flex-grow: 1; }
.dial-row { display: flex; gap: 8px; }
.dial-row .input { font-variant-numeric: tabular-nums; }
.dial-row .btn { flex-shrink: 0; }
.cb-foot { height: 30px; display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--text-2);
  min-width: 0; }
.cb-foot .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cb-foot span:last-child { flex-grow: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrapup { display: flex; flex-direction: column; gap: 10px; }
.codes { display: flex; flex-wrap: wrap; gap: 6px; }
.code { height: 32px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--p-e0e0e0); background: var(--card); cursor: pointer; font-size: 12.5px; color: var(--text); }
.code[aria-pressed="true"] { border-color: var(--green); background: var(--lime-soft); color: var(--green-ink); font-weight: 600; }
.code.k-negative[aria-pressed="true"] { border-color: var(--red); background: var(--red-bg); color: var(--red-ink); }
.code.k-callback[aria-pressed="true"] { border-color: var(--violet); background: var(--violet-bg); color: var(--violet-ink); }
.list { display: flex; flex-direction: column; }
.list-item { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 0; border-bottom: 1px solid var(--p-f4f4f4); }
.list-item:last-child { border-bottom: 0; }
.list-item.task { flex-wrap: wrap; align-items: flex-start; padding: 10px 0; }
.list-item.task .li-main { flex-basis: 100%; gap: 1px; }
.task-top { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.task-top b { overflow-wrap: anywhere; }
.list-item.task small.num { font-variant-numeric: tabular-nums; color: var(--text); }
.task-actions { display: flex; gap: 6px; justify-content: flex-end; width: 100%; }
.list-item .li-main { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.list-item b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.list-item small { font-size: 12px; color: var(--text-2); }
.list-item .when { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); }
.dim { opacity: 0.55; pointer-events: none; }

/* ----------------------------------------------------------------- live monitoring */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 26px; line-height: 32px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); }
.stat.warn b { color: var(--amber-ink); } .stat.bad b { color: var(--red-ink); }

/* ----------------------------------------------------------------- campaigns */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid2.tight { gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.progress { display: flex; flex-direction: column; gap: 5px; }
.progress small { font-size: 12px; color: var(--text-2); }
.bar { height: 7px; border-radius: 999px; background: var(--p-efefef); display: flex; overflow: hidden; flex-grow: 1; }
.bar > span { background: var(--lime); border-radius: 999px; }
.bars { display: flex; flex-direction: column; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink); }
.bar-row b { text-align: right; }
.bar-row .bar { height: 9px; }
.bar > .k-positive { background: var(--green); } .bar > .k-callback { background: var(--violet); }
.bar > .k-negative { background: var(--f-7c8ba3); } .bar > .k-neutral { background: var(--p-b9c0cb); } .bar > .k-failed { background: var(--p-d6d6d6); }
table.plain { border: 0; }
table.plain th { background: transparent; padding: 7px 8px; }
table.plain td { padding: 8px; }
table.plain tbody tr { cursor: default; }
.table tr.off td { color: var(--faint); }
.kv.narrow { grid-template-columns: 1fr; gap: 1px; }
.kv.narrow dt { font-size: 11.5px; margin-top: 8px; }
.kv.narrow dd { font-size: 12.5px; line-height: 17px; }
.history { display: flex; flex-direction: column; gap: 10px; }
.h-item { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink); }
.h-item .dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--p-b8c2d1); flex-shrink: 0; }
.h-item div { display: flex; flex-direction: column; }
.h-item small { font-size: 11.5px; color: var(--muted); }
.type-card { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card);
  text-align: left; cursor: pointer; }
.type-card b { color: var(--ink); font-size: 14px; }
.type-card small { color: var(--text-2); font-size: 12px; }
.type-card.on { border-color: var(--lime); background: var(--lime-soft); }
.code-row { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 12px; border: 1px solid var(--p-ededed); border-radius: 10px; font-size: 13px;
  color: var(--ink); cursor: pointer; }
.code-row input { width: 16px; height: 16px; accent-color: var(--green-text); }
.form-row { display: grid; grid-template-columns: minmax(0, 1.4fr) 130px minmax(0, 1.2fr) 32px; gap: 6px; align-items: center; }
code.ph { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; background: var(--p-f1f3ee); font-size: 11.5px;
  color: var(--green-ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { border: 1.5px solid var(--p-e4e4e4); border-radius: 12px; background: var(--card); display: flex; flex-direction: column; }
.opt.on { border-color: var(--lime); background: var(--lime-soft); }
.opt.disabled { opacity: 0.6; }
.opt-head { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 0; background: transparent; text-align: left; cursor: pointer;
  width: 100%; }
.opt-head:disabled { cursor: default; }
.opt .ring { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--p-c8c8c8); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px; }
.opt.on .ring { border-color: var(--green); }
.opt.on .ring span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.opt-text { display: flex; flex-direction: column; gap: 2px; }
.opt-text b { font-size: 13.5px; color: var(--ink); }
.opt-text small { font-size: 12px; color: var(--text-2); line-height: 17px; }
.opt-body { padding: 0 14px 12px 42px; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stepper button { width: 100%; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); cursor: pointer; text-align: left; }
.stepper .no { width: 26px; height: 26px; border-radius: 50%; background: var(--p-efefef); color: var(--muted); font-weight: 700; font-size: 12.5px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0; }
.stepper .st { display: flex; flex-direction: column; min-width: 0; }
.stepper .st b { font-size: 13px; color: var(--ink); }
.stepper .st small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper li.now button { border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-ring); }
.stepper li.now .no { background: var(--lime); color: var(--lime-ink); }
.stepper li.done .no { background: var(--green); color: var(--on-fill); }
.hours-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.hours-row .input[type="time"] { width: 116px; }
.stats.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.countdown { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--amber-ink); font-weight: 600; }
.script { padding: 12px 14px; border-radius: 12px; background: var(--p-fafaf7); border: 1px solid var(--p-efefea); font-size: 13.5px; line-height: 20px; color: var(--ink); }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.alerts { display: flex; flex-direction: column; gap: 6px; }
.alert { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.alert .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.alert.red { background: var(--red-bg); color: var(--red-ink); } .alert.red .dot { background: var(--red); }
.alert.amber { background: var(--amber-bg); color: var(--amber-ink); } .alert.amber .dot { background: var(--amber); }
.alert a { color: inherit; }

/* ----------------------------------------------------------------- toast */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--inverse-strong); color: var(--on-inverse); padding: 10px 16px; border-radius: 12px;
  font-size: 13px; box-shadow: var(--shadow); z-index: 90; max-width: calc(100vw - 32px); }
.toast.bad { background: var(--f-b42323); }

@media (max-width: 980px) {
  .ws-page { flex-direction: column; min-height: 0; }
  .ws-col { width: 100%; }
  .grid2, .grid3, .opts, .opts.three, .stepper, .hours-row { grid-template-columns: 1fr; }
  .stats.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { flex-direction: column; }
  .aside { width: 100%; position: static; max-height: none; }
}
@media (max-width: 720px) {
  /* phone width: the side menu becomes an icon row on top; the account button keeps "Oturumu kapat" reachable */
  .shell { flex-direction: column; }
  .side { width: 100%; height: auto; position: static; flex-direction: row; align-items: center; gap: 8px; padding: 8px 12px;
    border-right: 0; border-bottom: 1px solid var(--line); }
  .side .brand-name, .tenant-wrap, .nav-label, .nav-text, .nav-item .count, .who { display: none; }
  .nav { flex-direction: row; gap: 2px; overflow-x: auto; }
  .nav-group { flex-direction: row; }
  .nav-item { width: auto; }
  .side-foot { width: auto; padding: 0; border-top: 0; }
  .side-menu.up { bottom: auto; top: 42px; right: 0; left: auto; }
  .content { padding: 12px 16px 24px; }
  .top { height: auto; min-height: 64px; flex-wrap: wrap; padding: 8px 16px; position: static; }
}

/* ----------------------------------------------------------------- design V5 parity (Main, CagriKutusu, Temsilci-Durum) */
/* header: "Kuyruklarım" */
.qpill { display: flex; align-items: center; gap: 12px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--p-f1f3ee);
  font-size: 12.5px; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.qpill-label { color: var(--muted); }
.qpill-item { display: inline-flex; align-items: center; gap: 6px; }
.qpill-item .dot { width: 7px; height: 7px; border-radius: 50%; }
.qpill-item b { color: var(--ink); }
/* status menu */
.status-menu { width: 340px; }
.menu-item .grow { flex-grow: 1; }
.menu-item b.light { font-weight: 400; }
.menu-item .mmeta { font-size: 12px; color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item > svg.i { stroke: var(--green-ink); stroke-width: 2.4; }
.menu-note { margin: 4px 10px 6px; font-size: 12px; line-height: 17px; color: var(--text-2); }
/* call box */
.badge.ready { background: var(--st-ready-bg); color: var(--st-ready-ink); }
.badge.ready .dot { background: var(--st-ready); }
.badge.wrap { background: var(--st-wrap-bg); color: var(--st-wrap-ink); }
.badge.brk { background: var(--st-break-bg); color: var(--st-break-ink); }
.badge.preview { background: var(--p-eef0f3); color: var(--i-3d4b63); }
.badge.preview .dot { background: var(--f-7c8ba3); }
.chip.dir { gap: 5px; max-width: 100%; min-width: 0; overflow: hidden; }
.chip .chip-dir { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.chip .chip-dir b { color: inherit; margin: 0; }
.chip .chip-dir svg.i { width: 14px; height: 14px; stroke-width: 2; }
.chip .chip-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-who .name.red { color: var(--red-ink); }
.cb-who .name.wrap { color: var(--st-wrap-ink); }
.cb-who .name.brk { color: var(--st-break-ink); }
.cb-who .number.muted { color: var(--muted); }
.cb-who .number { letter-spacing: 0.02em; }
.btn.outline-danger { background: var(--card); color: var(--red-ink); border: 1.5px solid var(--p-e7a3a3); }
.btn.outline-danger:hover { background: var(--p-fff5f5); }
/* Sıradaki işler: short rows, a click opens the task in the call box */
.card.todo { gap: 10px; padding: 16px 12px 12px; }
.todo-head { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.todo-head h2 { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.todo-count { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.todo-sp { flex-grow: 1; }
.soft-chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.soft-chip .dot { width: 6px; height: 6px; border-radius: 50%; }
.soft-chip.amber { background: var(--amber-bg); color: var(--i-7a4e08); } .soft-chip.amber .dot { background: var(--amber); }
.soft-chip.green { background: var(--green-bg); color: var(--i-3a5507); } .soft-chip.green .dot { background: var(--green); }
.soft-chip.violet { background: var(--violet-bg); color: var(--violet-ink); } .soft-chip.violet .dot { background: var(--violet); }
.soft-chip.brk { background: var(--st-break-bg); color: var(--st-break-ink); } .soft-chip.brk .dot { background: var(--st-break); }
.soft-chip.gray { background: var(--gray-bg); color: var(--text); } .soft-chip.gray svg.i { width: 12px; height: 12px; stroke-width: 2.2; }
.todo-list { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
.todo-list.dim { opacity: 0.6; }
.todo-list.dim.more { opacity: 0.5; }
.todo-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 6px; border: 0; border-bottom: 1px solid var(--p-f2f2f2);
  border-radius: 10px; background: transparent; font: inherit; text-align: left; color: inherit; cursor: pointer; flex-shrink: 0; }
.todo-row:hover:not(:disabled) { background: var(--p-f7f8f5); }
.todo-row:disabled { cursor: default; }
.todo-row:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.todo-icon { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.todo-icon svg.i { width: 16px; height: 16px; }
.todo-main { display: flex; flex-direction: column; min-width: 0; flex-grow: 1; }
.todo-main b { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.todo-main small { font-size: 11.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.todo-note { display: inline-flex; vertical-align: -2px; margin-left: 6px; color: var(--amber-ink); }
.todo-note svg { width: 13px; height: 13px; }
.todo-meta { font-size: 12px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.todo-foot { position: relative; margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.todo-foot > span { flex-grow: 1; font-size: 12px; line-height: 16px; color: var(--muted); }
.link { border: 0; background: transparent; padding: 0; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--green-ink);
  cursor: pointer; white-space: nowrap; }

/* status menu (design Temsilci-Durum): the chosen line is tinted */
.menu-item.on-ready { background: var(--lime-soft); }
.menu-item.on-break { background: var(--st-break-bg); }
.menu-item.on-break b { font-weight: 600; }
.menu-item:disabled { cursor: default; opacity: 0.55; }
/* a break chosen in the menu starts only with its button (round-2 test note: no break by a stray click) */
.menu-confirm { margin: 6px 10px 2px; padding: 10px 12px; border-radius: 10px; background: var(--st-break-bg); display: flex;
  flex-direction: column; gap: 8px; font-size: 12.5px; line-height: 17px; color: var(--text); }
.menu-confirm .row { justify-content: flex-end; gap: 8px; }
.menu-confirm-t { font-size: 12.5px; font-weight: 600; color: var(--st-break-ink); }
.menu-item:disabled:hover { background: transparent; }
.menu.menu-up { top: auto; bottom: 44px; }
.note-pop { width: 280px; left: auto; right: 0; top: 70px; gap: 8px; }
.note-pop .textarea { min-height: 76px; }

/* ----------------------------------------------------------------- workspace, third column (design V5) */
.ws-side { width: 320px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.ws-side.wide { width: 340px; }
.ws-side > .free-dial { margin-top: auto; }      /* Serbest Arama keeps the bottom of the column on every screen */
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column;
  gap: 12px; }
.side-card.grow { flex-grow: 1; min-height: 0; }
.side-card h2 { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.side-card h2.big { font-size: 16px; }
.side-head { display: flex; align-items: center; gap: 8px; }
.side-head h2 { flex-grow: 1; }
.side-sub { margin: 4px 0 0; font-size: 12px; line-height: 17px; color: var(--muted); }
.side-note { margin-top: auto; padding: 10px 12px; border-radius: 12px; background: var(--p-f7f8f5); border: 1px solid var(--p-eceee9); font-size: 12px;
  line-height: 17px; color: var(--text); }
.kind-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.kind-badge.camp { background: var(--p-fff1e6); color: var(--i-a1470d); }
.kind-badge.cb { background: var(--violet-bg); color: var(--violet-ink); }
dl.job { margin: 0; display: flex; flex-direction: column; gap: 10px; }
dl.job > div { display: flex; flex-direction: column; gap: 2px; }
dl.job dt { font-size: 12px; color: var(--muted); }
dl.job dd { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink); }
dl.job dd.strong { font-weight: 600; }
.free-dial { padding: 16px; gap: 10px; }
.free-dial .side-sub { margin: 0; }
.free-dial .dial-row .input { height: 38px; font-size: 14px; }
.free-dial .dial-go { height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--p-f1f3ee); color: var(--i-3a5507); font-size: 13px; font-weight: 600; }
.free-dial .dial-go:disabled { background: var(--p-f2f2f2); color: var(--i-a8a8a8); }
.na-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.na-btn { height: 42px; border: 1px solid var(--p-e0e0e0); border-radius: 12px; background: var(--card); font: inherit; font-size: 13px; font-weight: 500; color: var(--ink);
  cursor: pointer; }
.na-btn:hover:not(:disabled) { background: var(--p-fafafa); }
.na-btn:disabled { color: var(--i-a8a8a8); cursor: default; }
.na-pick[aria-checked="true"] { border-color: var(--lime); background: var(--lime-soft); color: var(--i-3a5507); font-weight: 600; }
.wf-more { align-self: flex-start; font-size: 12.5px; }
.na-retry { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text); }
.na-retry svg.i { stroke: var(--text-2); width: 16px; height: 16px; }
.na-bad { align-self: flex-start; border: 0; background: transparent; padding: 0; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--red-ink);
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.na-bad:disabled { color: var(--i-c9a3a3); cursor: default; }
/* Son işlem (design Temsilci-AI-Devri) */
.side-card.wrapup { padding: 18px; gap: 12px; flex-grow: 1; min-height: 0; overflow-y: auto; }
.side-card.wrapup .side-sub { margin-top: 3px; }
.wf-block { display: flex; flex-direction: column; gap: 7px; }
.wf-label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.wf-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.wf-topic { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--p-e4e4e4);
  background: var(--card); font: inherit; font-size: 12.5px; color: var(--ink); cursor: pointer; }
.wf-topic[aria-checked="true"] { border-color: var(--lime); background: var(--lime-soft); font-weight: 600; }
.wrapup .codes { display: flex; flex-direction: column; gap: 4px; }
.wf-code { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--p-ededed); background: var(--card);
  font: inherit; text-align: left; cursor: pointer; }
.wf-code[aria-checked="true"] { border-color: var(--lime); background: var(--lime-soft); }
.wf-ring { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--p-c8c8c8); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; }
.wf-ring span { width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.wf-code[aria-checked="true"] .wf-ring { border-color: var(--green); }
.wf-code[aria-checked="true"] .wf-ring span { background: var(--green); }
.wf-name { font-size: 13px; font-weight: 500; color: var(--ink); }
.wf-cb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; border-radius: 12px; background: var(--green-bg); }
.wf-cb label, .wf-cb-f { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--green-ink); font-weight: 600; min-width: 0; }
.wf-cb .input { height: 32px; border: 1px solid var(--p-d6eda0); border-radius: 8px; padding: 0 10px; font-size: 13px; }
.wf-cb label.wf-mine { grid-column: span 2; flex-direction: row; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text); font-weight: 400; }
.wf-mine input, .wf-drop input { width: 16px; height: 16px; accent-color: var(--green-text); }
.wf-mine-note { grid-column: span 2; margin-top: -4px; font-size: 11.5px; line-height: 16px; color: var(--green-ink); }
/* what the chosen result does (Kaydı kapatır, Geri arama oluşturur, Bir daha aranmaz…) */
.wf-effect { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; line-height: 17px; color: var(--text); }
.wf-effect svg.i { width: 14px; height: 14px; margin-top: 1px; stroke: var(--green-text); stroke-width: 2.4; }
.side-sub.wf-late { color: var(--red-ink); font-weight: 600; }
/* Ertele: quick times, a day and time, a note */
/* centred without a transform: a transform would carry the day and time lists (position: fixed) along with it */
.post-pop { width: 300px; left: calc(50% - 150px); right: auto; }
.post-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 2px; }
.post-field { display: flex; flex-direction: column; gap: 5px; padding: 0 2px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.post-field .input { height: 34px; font-size: 13px; }
.post-field .textarea { min-height: 56px; font-size: 13px; }
.wf-drop { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--amber-bg); border: 1px solid var(--p-f1d9a4);
  font-size: 12.5px; line-height: 17px; color: var(--amber-ink); }
.wf-note { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text-2); font-weight: 600; }
.wf-note textarea { resize: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 13px; line-height: 18px;
  color: var(--ink); font-weight: 400; min-height: 58px; }
.wf-note textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: transparent; }
.wf-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.wf-actions .status-wrap { display: flex; flex-direction: column; }
.wf-save { height: 42px; border: 0; border-radius: 12px; background: var(--lime); color: var(--lime-ink); font-size: 14px; font-weight: 600; }
.wf-save:hover:not(:disabled) { background: var(--f-a7db2e); }
.wf-break { height: 36px; border: 1px solid var(--p-e0e0e0); border-radius: 12px; background: var(--card); color: var(--text); font-size: 13px; font-weight: 400; }
.wrapup .form-fields { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 1180px) {
  .ws-page { flex-wrap: wrap; }
  .ws-side, .ws-side.wide { width: 100%; }
}
