/* Çağrı Merkezi — mobile first. Cards with one-tap call / WhatsApp, a sticky tab strip and a bottom
   sheet for the call result; wider screens get a card grid and a side panel. Uses the shared theme tokens. */

.cc{--cc-wa-ink:#052e16;--cc-r:16px;--cc-ok:var(--success);--cc-bad:var(--danger);--cc-warn:var(--warning);--cc-new:#5aa2ff;--cc-member:#b49cff;--cc-wa:#25d366}
[data-theme="light"] .cc{--cc-new:#004d98;--cc-member:#6a4bd6;--cc-wa:#128c4a;--cc-wa-ink:#ffffff}
.cc h1,.cc h2,.cc h3{margin:0;letter-spacing:-.015em}
.cc .icon{flex:none}

/* ---------- Header and numbers ---------- */
.cc-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 14px}
.cc-head h1{font-size:24px;font-weight:650}
.cc-head p{margin:4px 0 0;font-size:13.5px;color:var(--text-2)}
.cc-add{flex:none;border-radius:999px;height:40px}
.cc-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}
.cc-kpi{display:flex;flex-direction:column;gap:2px;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:var(--cc-r);background:var(--surface)}
.cc-kpi small{font-size:12px;color:var(--text-3);white-space:nowrap}
.cc-kpi strong{font-size:22px;font-weight:650;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.cc-kpi-new strong{color:var(--cc-new)}.cc-kpi-recall strong{color:var(--cc-warn)}.cc-kpi-member strong{color:var(--cc-member)}

/* ---------- Tabs ---------- */
.cc-tabs,#view-callcenter nav.cc-tabs{flex-direction:row;flex-wrap:nowrap}
.cc-tabs{position:sticky;top:var(--topnav-h,68px);z-index:20;display:flex;gap:6px;margin:0 -2px 14px;padding:6px 2px;overflow-x:auto;scrollbar-width:none;background:linear-gradient(var(--bg) 70%,transparent)}
.cc-tabs::-webkit-scrollbar{display:none}
.cc-tab{flex:none;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 15px;border:1px solid var(--line-2);border-radius:999px;background:var(--surface);color:var(--text-2);font-size:13.5px;font-weight:560;white-space:nowrap}
.cc-tab .icon{width:16px;height:16px}
.cc-tab:hover{color:var(--text);border-color:var(--line-3)}
.cc-tab.active{background:var(--text);border-color:var(--text);color:var(--bg)}
.cc-tab[hidden]{display:none}
.cc-tab-count{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--accent);color:var(--accent-ink);font-size:11px;line-height:20px;text-align:center}
.cc-panel[hidden]{display:none}
.cc-hint{margin:0 2px 12px;font-size:13px;color:var(--text-3)}

/* ---------- Search and filters ---------- */
.cc-search{display:flex;gap:8px;margin-bottom:10px}
.cc-search-box{position:relative;flex:1;display:flex;align-items:center}
.cc-search-box .icon{position:absolute;left:14px;width:16px;height:16px;color:var(--text-3);pointer-events:none}
#view-callcenter .cc-search-box input:not([type=checkbox]):not([type=radio]){width:100%;height:46px;padding:0 14px 0 40px;border-radius:999px;font-size:15px}
.cc-filter-toggle{flex:none;height:46px;border-radius:999px;padding:0 18px}
.cc-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}
.cc-filters[hidden]{display:none}
.cc-filters select,.cc-filters .button{height:44px;border-radius:12px}

/* ---------- Customer cards ---------- */
.cc-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px}
.cc-card{position:relative;display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px;border:1px solid var(--line);border-left:4px solid var(--cc-tone,var(--line-3));border-radius:var(--cc-r);background:var(--surface);cursor:pointer;transition:border-color .15s,box-shadow .15s}
.cc-card:hover{box-shadow:var(--shadow-md)}
.cc-card.selected{background:color-mix(in srgb,var(--accent) 7%,var(--surface));border-color:var(--accent-line)}
.cc-tone-new{--cc-tone:var(--cc-new)}.cc-tone-ok{--cc-tone:var(--cc-ok)}.cc-tone-bad{--cc-tone:var(--cc-bad)}.cc-tone-warn{--cc-tone:var(--cc-warn)}.cc-tone-member{--cc-tone:var(--cc-member)}.cc-tone-muted{--cc-tone:var(--text-3)}
.cc-check{position:absolute;top:16px;right:16px;width:22px;height:22px;margin:0;accent-color:var(--accent);cursor:pointer}
.cc-card:has(.cc-check) .cc-card-top{padding-right:32px}
.cc-card-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.cc-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.cc-card-name{font-size:16.5px;font-weight:620;line-height:1.3;overflow-wrap:anywhere}
.cc-card-sub{font-size:14px;color:var(--text-2);font-variant-numeric:tabular-nums}
.cc-card-facts{display:flex;flex-wrap:wrap;gap:6px}
.cc-fact{padding:3px 9px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);font-size:12px;color:var(--text-2);white-space:nowrap}
.cc-fact-money{color:var(--text);font-weight:600}
.cc-fact-dim{color:var(--text-3)}
.cc-card-note{margin:2px 0 0;padding:8px 10px;border-radius:10px;background:var(--surface-2);font-size:13px;color:var(--text-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cc-status{flex:none;display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:620;white-space:nowrap;background:color-mix(in srgb,var(--cc-c) 14%,transparent);color:var(--cc-c)}
.cc-status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.cc-status-new{--cc-c:var(--cc-new)}.cc-status-ok{--cc-c:var(--cc-ok)}.cc-status-bad{--cc-c:var(--cc-bad)}.cc-status-warn{--cc-c:var(--cc-warn)}.cc-status-member{--cc-c:var(--cc-member)}.cc-status-muted{--cc-c:var(--text-2)}
.cc-card-actions{display:grid;grid-template-columns:1fr auto auto;gap:8px}
.cc-act{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 16px;border:1px solid var(--line-2);border-radius:14px;background:var(--surface-2);color:var(--text);font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap}
.cc-act .icon{width:18px;height:18px}
.cc-act-call{background:var(--cc-wa);border-color:var(--cc-wa);color:var(--cc-wa-ink)}
.cc-act-copy{width:48px;padding:0;color:var(--text-2)}
.cc-act-open{padding:0 12px 0 16px}
.cc-act:active{transform:scale(.98)}
.cc-empty{grid-column:1/-1;padding:28px 16px;border:1px dashed var(--line-2);border-radius:var(--cc-r);text-align:center;color:var(--text-3)}
.cc-more{display:flex;margin:14px auto 0;height:44px;padding:0 22px;border-radius:999px}
.cc-list .cc-more{grid-column:1/-1}

/* ---------- Bulk assign bar (admin) ---------- */
.cc-assign-bar{position:sticky;bottom:12px;z-index:25;display:flex;align-items:center;gap:8px;margin-top:14px;padding:10px;border:1px solid var(--line-2);border-radius:18px;background:var(--glass-strong);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:var(--shadow-lg)}
.cc-assign-bar[hidden]{display:none}
.cc-assign-bar span{flex:none;padding:0 6px;font-weight:600}
.cc-assign-bar select{flex:1;min-width:0;height:42px}
.cc-assign-bar .button{height:42px}

/* ---------- Admin panels ---------- */
.cc-box{padding:16px;border:1px solid var(--line);border-radius:var(--cc-r);background:var(--surface);margin-bottom:14px}
.cc-box h3{font-size:16px;margin-bottom:4px}
.cc-sub{font-size:15px;margin:18px 2px 10px}
.cc-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cc-row>input,.cc-row>select{flex:1;min-width:160px;height:44px}
.cc-row>.button{height:44px}
.cc-rows{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--cc-r);background:var(--surface);overflow:hidden}
.cc-rows .cc-empty{border:0;border-radius:0}
.cc-rows>.cc-card{border-radius:0;border-width:0 0 1px 4px}
.cc-line{display:flex;flex-direction:column;gap:2px;padding:12px 14px}
.cc-line+.cc-line{border-top:1px solid var(--line)}
.cc-line strong{font-size:14px;font-weight:580}
.cc-line small{font-size:12.5px;color:var(--text-3)}

/* ---------- Import steps ---------- */
.cc-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}
.cc-step{display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:var(--cc-r);background:var(--surface)}
.cc-step header{display:flex;gap:12px;align-items:flex-start}
.cc-step h3{font-size:15.5px}
.cc-step header p{margin:3px 0 0;font-size:12.5px;color:var(--text-3)}
.cc-step-no{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--accent);color:var(--accent-ink);font-size:13px;font-weight:700}
.cc-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:140px;padding:18px;border:1.5px dashed var(--line-3);border-radius:14px;background:var(--surface-2);text-align:center;cursor:pointer;transition:border-color .15s,background .15s}
.cc-drop .icon{width:26px;height:26px;color:var(--accent-fg)}
.cc-drop strong{font-size:14px;overflow-wrap:anywhere}
.cc-drop small{font-size:12px;color:var(--text-3)}
.cc-drop:hover,.cc-drop.over{border-color:var(--accent-line);background:var(--accent-soft)}
.cc-drop.has-file{border-style:solid;border-color:var(--cc-ok)}
.cc-drop.disabled{opacity:.45;pointer-events:none}
.cc-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.cc-link{align-self:flex-start;padding:0;border:0;background:none;color:var(--accent-fg);font-size:13px;font-weight:560}
#cc-import-json{width:100%;font-family:var(--mono);font-size:12px}
.cc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cc-map{display:flex;flex-direction:column;gap:4px;min-width:0}
.cc-map span{font-size:12px;color:var(--text-3)}
.cc-map b{color:var(--accent-fg)}
.cc-map select{height:40px}
.cc-import-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cc-import-stats:empty{display:none}
.cc-import-msg{grid-column:1/-1;margin:0;padding:10px 12px;border-radius:12px;background:var(--surface-2);font-size:13px;color:var(--text-2)}
.cc-import-msg.bad{background:var(--danger-soft);color:var(--danger-fg)}
.cc-import-msg.ok{background:var(--success-soft);color:var(--success-fg)}
.cc-step-actions{display:flex;gap:8px;margin-top:auto}
.cc-step-actions .button{flex:1;height:46px;border-radius:12px}
.cc-table-card{padding:16px;border:1px solid var(--line);border-radius:var(--cc-r);background:var(--surface)}
.cc-table-card[hidden]{display:none}
.cc-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}
.cc-table{width:100%;border-collapse:collapse;font-size:13px}
.cc-table th{padding:10px 12px;background:var(--surface-2);color:var(--text-3);font-size:11.5px;font-weight:600;text-align:left;white-space:nowrap}
.cc-table td{padding:10px 12px;border-top:1px solid var(--line);white-space:nowrap}
.cc-table .t-right{text-align:right;font-variant-numeric:tabular-nums}

/* ---------- Shared: stats, chips, two columns ---------- */
.cc-stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin-bottom:14px}
.cc-stat-grid:empty{display:none}
.cc-stat{display:flex;flex-direction:column;gap:2px;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.cc-import-stats .cc-stat{background:var(--surface-2)}
.cc-stat small{font-size:12px;color:var(--text-3)}
.cc-stat strong{font-size:22px;font-weight:650;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.cc-stat-ok strong{color:var(--cc-ok)}.cc-stat-bad strong{color:var(--cc-bad)}.cc-stat-member strong{color:var(--cc-member)}
.cc-chips{display:flex;flex-wrap:wrap;gap:8px}
.cc-chip{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px 0 6px;border:1px solid var(--line-2);border-radius:999px;background:var(--surface-2);color:var(--text);font-size:13.5px;font-weight:560}
.cc-chip:not(:has(.cc-chip-avatar)){padding:0 14px}
.cc-chip:hover{border-color:var(--line-3)}
.cc-chip.active{background:var(--text);border-color:var(--text);color:var(--bg)}
.cc-chip-avatar{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:var(--accent-soft);color:var(--accent-fg);font-size:12px;font-weight:700}
.cc-chip.active .cc-chip-avatar{background:var(--accent);color:var(--accent-ink)}
.cc-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.cc-two .cc-box{margin-bottom:0}
.cc-box-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.cc-box-head small{font-size:12px;color:var(--text-3)}

/* ---------- Staff ---------- */
.cc-person-head{display:flex;align-items:center;gap:12px;margin:4px 2px 12px}
.cc-avatar{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;background:var(--accent);color:var(--accent-ink);font-size:20px;font-weight:700}
.cc-person-head h3{font-size:19px}
.cc-person-head p{margin:2px 0 0;font-size:13px;color:var(--text-3)}
.cc-list-compact{grid-template-columns:minmax(0,1fr);max-height:640px;overflow-y:auto;padding-right:4px}
.cc-list-compact .cc-card{cursor:default}
.cc-list-compact .cc-act-open{display:none}
.cc-list-compact .cc-card-actions{grid-template-columns:1fr auto}
.cc-timeline{display:flex;flex-direction:column;padding:6px 14px;border:1px solid var(--line);border-radius:var(--cc-r);background:var(--surface)}
.cc-timeline .cc-empty{border:0}
.cc-tl{display:flex;gap:12px;padding:10px 0}
.cc-tl+.cc-tl{border-top:1px solid var(--line)}
.cc-tl-dot{flex:none;width:10px;height:10px;margin-top:5px;border-radius:50%;background:var(--text-3)}
.cc-tl-dot.in{background:var(--cc-ok)}.cc-tl-dot.out{background:var(--cc-warn)}
.cc-tl strong{display:block;font-size:13.5px;font-weight:580}
.cc-tl small{font-size:12px;color:var(--text-3)}

/* ---------- Reports ---------- */
.cc-report-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.cc-report-dates{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cc-report-dates input{height:40px;width:auto}
.cc-report-dates span{color:var(--text-3)}
.cc-report-dates .button{height:40px}
.cc-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--text-2)}
.cc-legend span{display:inline-flex;align-items:center;gap:6px}
.cc-legend i{width:9px;height:9px;border-radius:3px}
.cc-k-ok,.cc-seg-ok{background:var(--cc-ok)}.cc-k-member,.cc-seg-member{background:var(--cc-member)}.cc-k-bad,.cc-seg-bad{background:var(--cc-bad)}.cc-k-muted,.cc-seg-muted{background:var(--text-3)}.cc-k-other,.cc-seg-other{background:var(--line-3)}
.cc-leader{display:flex;flex-direction:column}
.cc-leader .cc-empty{border:0}
.cc-leader-row{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr) 92px;align-items:center;gap:14px;padding:10px 0}
.cc-leader-row+.cc-leader-row{border-top:1px solid var(--line)}
.cc-leader-who{display:flex;align-items:center;gap:8px;min-width:0}
.cc-leader-who strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-rank{width:18px;font-size:12px;font-weight:700;color:var(--text-3);text-align:center}
.cc-bar-track{height:14px;border-radius:999px;background:var(--surface-2);overflow:hidden}
.cc-bar{display:flex;height:100%;gap:2px;border-radius:999px;overflow:hidden}
.cc-bar-solid{background:var(--cc-new)}
.cc-seg{display:block;min-width:3px;height:100%}
.cc-leader-nums{display:flex;flex-direction:column;align-items:flex-end}
.cc-leader-nums strong{font-size:16px;font-variant-numeric:tabular-nums}
.cc-leader-nums small{font-size:11.5px;color:var(--text-3)}
.cc-cols{display:flex;align-items:flex-end;gap:4px;height:200px;padding-top:8px}
.cc-col{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}
.cc-col-stack{display:flex;flex-direction:column-reverse;width:100%;max-width:26px;min-height:2px;gap:1px;border-radius:6px;overflow:hidden;background:var(--surface-2)}
.cc-col small{font-size:10px;color:var(--text-3)}
.cc-sources{display:flex;flex-direction:column;gap:14px}
.cc-sources .cc-empty{border:0}
.cc-src{display:flex;flex-direction:column;gap:6px}
.cc-src-head{display:flex;justify-content:space-between;gap:10px;font-size:13.5px}
.cc-src-head span{color:var(--text-2);font-variant-numeric:tabular-nums}
.cc-src small{font-size:12px;color:var(--text-3)}

/* ---------- Call sheet ---------- */
body.cc-modal-open{overflow:hidden}
.cc-sheet{position:fixed;inset:0;z-index:90;display:flex;justify-content:flex-end}
.cc-sheet[hidden]{display:none}
.cc-sheet-backdrop{position:absolute;inset:0;background:var(--scrim);backdrop-filter:blur(2px)}
.cc-sheet-card{position:relative;display:flex;flex-direction:column;width:min(460px,100%);height:100%;background:var(--surface);border-left:1px solid var(--line-2);box-shadow:var(--shadow-lg);animation:cc-side-in .2s ease-out}
@keyframes cc-side-in{from{transform:translateX(30px);opacity:0}to{transform:none;opacity:1}}
.cc-sheet-grip{display:none}
.cc-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 18px 12px;border-bottom:1px solid var(--line)}
.cc-sheet-head h2{font-size:19px;font-weight:640;overflow-wrap:anywhere}
.cc-sheet-head p{margin:3px 0 0;font-size:12.5px;color:var(--text-3)}
.cc-icon-btn{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:1px solid var(--line-2);border-radius:50%;background:var(--surface-2);color:var(--text-2)}
.cc-sheet-body{flex:1;overflow-y:auto;padding:16px 18px 20px;overscroll-behavior:contain}
.cc-sheet-phone{display:block;margin-bottom:12px;font-size:26px;font-weight:660;letter-spacing:-.01em;color:var(--text);text-decoration:none;font-variant-numeric:tabular-nums}
.cc-contact{display:grid;grid-template-columns:2fr 1fr;gap:8px}
.cc-contact a,.cc-contact button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;height:52px;padding:0 8px;white-space:nowrap;border:1px solid var(--line-2);border-radius:14px;background:var(--surface-2);color:var(--text);font-size:15px;font-weight:600;text-decoration:none}
.cc-contact .icon{width:18px;height:18px}
.cc-btn-call{background:var(--cc-wa)!important;border-color:var(--cc-wa)!important;color:var(--cc-wa-ink)!important}
.cc-wa-hint{margin:8px 2px 0;font-size:12px}
.cc-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0 0}
.cc-facts div{padding:10px 12px;border-radius:12px;background:var(--surface-2)}
.cc-facts dt{font-size:11.5px;color:var(--text-3)}
.cc-facts dd{margin:2px 0 0;font-size:14px;font-weight:580}
.cc-sheet-label{display:block;margin:18px 0 8px;font-size:13px;font-weight:600;color:var(--text-2)}
.cc-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cc-result{height:52px;border:1.5px solid var(--line-2);border-radius:14px;background:var(--surface-2);color:var(--text);font-size:15px;font-weight:600}
.cc-result[aria-checked="true"]{background:color-mix(in srgb,var(--cc-c) 16%,var(--surface));border-color:var(--cc-c);color:var(--cc-c)}
.cc-result-new{--cc-c:var(--cc-new)}.cc-result-ok{--cc-c:var(--cc-ok)}.cc-result-bad{--cc-c:var(--cc-bad)}.cc-result-warn{--cc-c:var(--cc-warn)}.cc-result-member{--cc-c:var(--cc-member)}.cc-result-muted{--cc-c:var(--text-2)}
.cc-result:last-child:nth-child(odd){grid-column:1/-1}
.cc-sheet-body textarea{width:100%;min-height:84px;padding:12px;font-size:15px;border-radius:12px;resize:vertical}
.cc-notes{margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}
.cc-notes summary{cursor:pointer;font-size:13.5px;font-weight:600}
.cc-notes summary small{font-weight:450;color:var(--text-3)}
.cc-notes textarea{margin:10px 0 8px}
.cc-history{display:flex;flex-direction:column;gap:8px}
.cc-attempt{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 12px;border-radius:12px;background:var(--surface-2)}
.cc-attempt small{font-size:12px;color:var(--text-3)}
.cc-attempt p{flex-basis:100%;margin:0;font-size:13.5px;color:var(--text-2)}
.cc-sheet-foot{display:grid;grid-template-columns:1fr 1.6fr;gap:8px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface)}
.cc-sheet-foot .button{height:52px;border-radius:14px;font-size:15px}
.cc-sheet-foot .button[hidden]{display:none}
.cc-sheet-foot:has(#cc-save-next[hidden]){grid-template-columns:1fr}

/* New customer form */
.cc-sheet-form .cc-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 18px;overflow-y:auto}
.cc-form label{display:block;margin-bottom:5px;font-size:12.5px;color:var(--text-3)}
.cc-form input{width:100%;height:46px;font-size:15px}
.cc-manual-actions{grid-column:1/-1}
.cc-manual-actions .button{width:100%;height:52px;border-radius:14px;font-size:15px}

/* ---------- Narrow screens ---------- */
@media (max-width:1100px){.cc-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.cc-steps{grid-template-columns:minmax(0,1fr)}.cc-two{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){
  .cc-contact a,.cc-contact button{font-size:14px}
  .cc-head h1{font-size:22px}
  .cc-head p{display:none}
  .cc-add span{display:none}
  .cc-add{width:44px;height:44px;padding:0;justify-content:center}
  .cc-kpis{display:flex;overflow-x:auto;scrollbar-width:none;margin:0 -12px 12px;padding:0 12px;gap:8px}
  .cc-kpis::-webkit-scrollbar{display:none}
  .cc-kpi{flex:none;min-width:116px;padding:10px 12px}
  .cc-kpi strong{font-size:19px}
  .cc-tabs{margin:0 -12px 12px;padding:6px 12px}
  .cc-list{grid-template-columns:minmax(0,1fr);gap:10px}
  .cc-card{padding:14px}
  .cc-filters{grid-template-columns:minmax(0,1fr)}
  .cc-sheet{align-items:flex-end}
  .cc-sheet-card{width:100%;height:auto;max-height:92dvh;border-left:0;border-top:1px solid var(--line-2);border-radius:22px 22px 0 0;animation:cc-up-in .22s ease-out}
  @keyframes cc-up-in{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
  .cc-sheet-grip{display:block;width:44px;height:5px;margin:8px auto 0;border-radius:999px;background:var(--line-3)}
  .cc-sheet-head{padding:10px 16px 12px}
  .cc-sheet-body{padding:14px 16px 18px}
  .cc-sheet-foot{padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
  .cc-sheet-form .cc-form{grid-template-columns:minmax(0,1fr)}
  .cc-assign-bar{flex-wrap:wrap;bottom:8px}
  .cc-leader-row{grid-template-columns:minmax(0,1fr) 80px}
  .cc-leader-row .cc-bar-track{grid-column:1/-1;grid-row:2}
  .cc-report-bar{align-items:stretch}
  .cc-report-dates input{flex:1}
  .cc-grid{grid-template-columns:minmax(0,1fr)}
  .cc-cols{height:160px;gap:2px}
  .cc-col:not(:nth-child(5n+1)):not(:last-child) small{visibility:hidden}
  .cc-assign-bar select{flex-basis:100%;order:3}
}
@media (prefers-reduced-motion:reduce){.cc-sheet-card{animation:none}}
