/* Gemiste oproep opvolgen */
.m-opvolging { --ov-soft: color-mix(in srgb, var(--accent) 9%, white); --ov-chat: #ece6dc; --ov-out: #dcf4d0; }
.ov-label { display: flex; gap: 9px; align-items: flex-start; padding: 10px 14px; border-radius: 10px; background: var(--info-soft); color: #22507e; font-size: 13.5px; margin-bottom: 14px; }
.ov-label svg { flex: none; margin-top: 2px; }

/* balk met scenario's */
.ov-bar { display: grid; gap: 12px; margin-bottom: 18px; }
.ov-scens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ov-scen { display: flex; gap: 11px; align-items: center; padding: 9px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.ov-scen:hover { border-color: #c9ced6; }
.ov-scen.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--ov-soft); }
.ov-scen img { width: 54px; height: 42px; border-radius: 7px; object-fit: cover; flex: none; }
.ov-scen > span { display: grid; gap: 1px; min-width: 0; }
.ov-scen b { font-size: 14px; }
.ov-scen .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-ctrl { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ov-speed { display: inline-flex; gap: 8px; align-items: center; }

/* kolommen */
.ov-grid { display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 22px; align-items: start; }
.ov-phonecol { position: sticky; top: 74px; }
.ov-colhead { margin-bottom: 10px; }
.ov-who { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ov-who::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ov-who.is-klant::before { background: #4caf6a; }
.ov-panelgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }

/* gsm-scherm */
.m-opvolging .phone-screen { background: var(--ov-chat); scroll-behavior: smooth; }
.ov-screen { min-height: 100%; display: flex; flex-direction: column; }
.ov-screen.is-lock { background: linear-gradient(160deg, #2c3a4d, #12171f); color: #fff; }
.ov-lock { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 56px 18px 24px; }
.ov-lock-time { font-size: 58px; font-weight: 300; letter-spacing: -.02em; line-height: 1; }
.ov-lock-date { font-size: 14px; opacity: .8; margin-top: 6px; text-transform: capitalize; }
.ov-lock-card { margin-top: auto; width: 100%; display: grid; gap: 4px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); font-size: 13.5px; }
.ov-lock-card .small { opacity: .75; }
.ov-screen.is-call { background: linear-gradient(180deg, #1f2a38, #0f141b); color: #fff; }
.ov-call { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 70px 18px 40px; text-align: center; }
.ov-call-av { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 700; background: var(--accent); margin-bottom: 10px; box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 0 0 22px rgba(255, 255, 255, .03); animation: ov-pulse 1.6s ease-in-out infinite; }
@keyframes ov-pulse { 50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, .08), 0 0 0 30px rgba(255, 255, 255, .03); } }
.ov-call b { font-size: 20px; }
.ov-call > span { opacity: .7; font-size: 14px; }
.ov-call-st { margin-top: 8px; opacity: 1 !important; }
.ov-call-st.is-miss { color: #ff9a9a; font-weight: 600; }
.ov-call-hang { width: 62px; height: 62px; border-radius: 50%; background: #e5484d; display: grid; place-items: center; opacity: 1 !important; }
.ov-chathead { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 9px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.ov-chat-back { color: var(--muted); display: inline-flex; }
.ov-chat-av { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.ov-chat-t { display: grid; line-height: 1.2; min-width: 0; }
.ov-chat-t b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-chat-t span { font-size: 11.5px; color: var(--muted); }
.ov-chatbody { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px 10px 14px; }
.ov-sys { text-align: center; margin: 4px 0 6px; }
.ov-sys span { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 8px; background: #fff7e0; color: #7a5a00; font-size: 11.5px; font-weight: 600; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.ov-sys svg { width: 13px; height: 13px; color: var(--bad); }
.ov-m { position: relative; max-width: 84%; padding: 6px 9px 18px; border-radius: 10px; background: #fff; align-self: flex-start; box-shadow: 0 1px 1px rgba(0, 0, 0, .07); font-size: 13.5px; line-height: 1.4; }
.ov-m.is-k { align-self: flex-end; background: var(--ov-out); }
.ov-m p { white-space: pre-wrap; }
.ov-m.is-new { animation: ov-in .25s ease; }
@keyframes ov-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ov-auto { display: block; font-size: 10.5px; font-weight: 700; color: var(--accent); margin-bottom: 1px; }
.ov-meta { position: absolute; right: 8px; bottom: 3px; display: inline-flex; gap: 3px; align-items: center; font-size: 10px; color: #8a8f98; }
.ov-m.is-k .ov-meta svg { color: #3b9be0; }
.ov-m.is-photo { padding: 4px 4px 4px; }
.ov-m.is-photo img { width: 200px; height: 150px; object-fit: cover; border-radius: 7px; }
.ov-m.is-photo .ov-meta { color: #fff; bottom: 8px; right: 10px; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.ov-m.is-photo .ov-meta svg { color: #fff; }
.ov-typing { display: inline-flex; gap: 4px; padding: 11px 13px; }
.ov-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa1ab; animation: ov-dot 1.2s infinite; }
.ov-typing i:nth-child(2) { animation-delay: .2s; }
.ov-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes ov-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.ov-inputbar { position: sticky; bottom: 0; display: flex; gap: 7px; align-items: flex-end; padding: 7px 8px 10px; background: var(--ov-chat); }
.ov-input { flex: 1; min-height: 38px; padding: 9px 14px; border-radius: 20px; background: #fff; color: #9aa1ab; font-size: 13.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.ov-input.is-typing { color: var(--ink); }
.ov-inbtn { width: 38px; height: 38px; border-radius: 50%; background: #3a8f5c; color: #fff; display: grid; place-items: center; flex: none; }

/* paneel */
.ov-panel .card-head { margin-bottom: 10px; }
.ov-pcol { display: grid; gap: 14px; align-content: start; min-width: 0; }
.ov-convlist { display: grid; gap: 4px; }
.ov-convlist .empty { padding: 18px; font-size: 13.5px; }
.ov-conv { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 8px; border-radius: 10px; border: 1px solid transparent; background: none; text-align: left; cursor: pointer; }
.ov-conv:hover { background: var(--panel-2); }
.ov-conv.is-on { background: var(--ov-soft); border-color: color-mix(in srgb, var(--accent) 30%, white); }
.ov-conv-av { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--line-2); display: grid; place-items: center; font-weight: 700; font-size: 12.5px; color: var(--muted); }
.ov-conv-av i { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); border: 2px solid #fff; animation: rc-blink 1s step-end infinite; }
.ov-conv-main { display: grid; min-width: 0; }
.ov-conv-main b { font-size: 13.5px; }
.ov-conv-main span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-conv-end { align-self: start; padding-top: 2px; }
.ov-conv-st { margin-top: 3px; }
.ov-conv { align-items: start; }
@keyframes rc-blink { 50% { opacity: 0; } }

.ov-live { display: inline-flex; gap: 6px; align-items: center; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.ov-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: rc-blink 1s step-end infinite; }
.ov-cd { display: flex; gap: 14px; align-items: center; padding: 6px 0 12px; }
.ov-cd > div { display: grid; gap: 1px; }
.ov-cd b { font-size: 30px; letter-spacing: -.02em; line-height: 1.1; }
.ov-cd circle { transition: stroke-dashoffset .1s linear; }
.ov-steps { display: grid; gap: 2px; margin-bottom: 12px; }
.ov-step { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); padding: 3px 0; }
.ov-step i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.ov-step.is-done { color: var(--ink); }
.ov-step.is-done i { border-color: var(--ok); background: var(--ok); color: #fff; }
.ov-step.is-done i svg { width: 10px; height: 10px; }
.ov-cmp { display: grid; gap: 7px; padding: 11px 0; border-top: 1px solid var(--line-2); }
.ov-cmp-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 64px; gap: 10px; align-items: center; font-size: 12.5px; }
.ov-cmp-row b { text-align: right; font-variant-numeric: tabular-nums; }
.ov-cmp-bar { height: 9px; border-radius: 5px; background: var(--line-2); overflow: hidden; }
.ov-cmp-bar i { display: block; height: 100%; border-radius: 5px; background: var(--ok); transition: width .4s; }
.ov-cmp-row.is-slow .ov-cmp-bar i { background: #c6ccd5; }
.ov-calc { padding: 10px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 13px; }
.ov-assume { margin-top: 10px; }
.ov-assume summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--accent); }
.ov-assume-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 10px 0 8px; }
.ov-assume-grid .field > span { font-size: 12px; }

.ov-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ov-f { display: grid; gap: 1px; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--panel-2); min-width: 0; transition: background-color .4s, border-color .4s; }
.ov-f span { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.ov-f b { font-size: 13px; font-weight: 600; min-height: 18px; overflow-wrap: anywhere; }
.ov-f.is-set { background: var(--panel); border-color: var(--line); animation: ov-flash .9s ease; }
@keyframes ov-flash { 0% { background: var(--ov-soft); border-color: var(--accent); } }
.ov-f-photo { margin-top: 6px; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 10px; }
.ov-f-photo > span { grid-column: 1 / -1; }
.ov-f-photo img { width: 64px; height: 48px; border-radius: 6px; object-fit: cover; }
.ov-dots { display: inline-flex; gap: 3px; padding-top: 6px; }
.ov-dots i { width: 5px; height: 5px; border-radius: 50%; background: #cfd4db; }
.ov-price { margin-top: 10px; padding: 11px 12px; border-radius: 10px; border: 1px dashed var(--line); }
.ov-price.is-set { border: 1px solid color-mix(in srgb, var(--accent) 30%, white); background: var(--ov-soft); }
.ov-price-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ov-price-head span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ov-price-head b { font-size: 17px; letter-spacing: -.01em; }
.ov-price:not(.is-set) .ov-price-head b { font-size: 13px; color: var(--muted); font-weight: 600; }
.ov-ptab { width: 100%; border-collapse: collapse; margin: 8px 0 6px; font-size: 12.5px; }
.ov-ptab td { padding: 6px 0; border-top: 1px solid color-mix(in srgb, var(--accent) 15%, white); vertical-align: top; }
.ov-ptab td span { display: block; color: var(--muted); font-size: 12px; }
.ov-ptab .num { text-align: right; white-space: nowrap; padding-left: 10px; font-weight: 600; }

.ov-vempty { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 10px; border: 1px dashed var(--line); color: var(--muted); font-size: 13.5px; }
.ov-vempty svg { flex: none; margin-top: 2px; }
.ov-build { display: grid; gap: 8px; }
.ov-build div { display: flex; gap: 9px; align-items: center; font-size: 13.5px; opacity: 0; animation: ov-in .3s ease forwards; }
.ov-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: ov-spin .8s linear infinite; flex: none; }
@keyframes ov-spin { to { transform: rotate(360deg); } }
.ov-vmeta { gap: 6px; margin-bottom: 10px; }
.ov-vtext { padding: 11px 13px; border-radius: 10px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); font-size: 13.8px; line-height: 1.5; white-space: pre-wrap; }
.ov-edit { min-height: 160px; font-size: 13.8px; line-height: 1.5; }
.ov-bronnen { margin-top: 10px; font-size: 13px; }
.ov-bronnen summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.ov-bronnen ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.ov-bronnen li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; padding: 6px 8px; border-radius: 8px; background: var(--panel-2); }
.ov-bronnen li b { font-size: 12px; }
.ov-bronnen li span { color: var(--muted); font-size: 12.5px; }
.ov-vbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 8px; }
.ov-vbtns .btn-primary { grid-column: 1 / -1; }
.ov-vbtns .btn-primary:only-child, .ov-vbtns [data-save] { grid-column: auto; }
.ov-voorstel a { color: var(--accent); font-weight: 600; }
.ov-vdone { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: 13.5px; }
.ov-vdone svg { flex: none; margin-top: 3px; }
.ov-vdone.is-no { background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); }

/* responsief */
@media (max-width: 1320px) {
  .ov-panelgrid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .ov-grid { grid-template-columns: 1fr; }
  .ov-phonecol { position: static; }
  .ov-panelgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ov-panelgrid { grid-template-columns: 1fr; }
  .ov-scens { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ov-ctrl .btn-primary { width: 100%; }
  .ov-speed { flex: 1; }
  .ov-fields { grid-template-columns: 1fr; }
  .ov-assume-grid { grid-template-columns: 1fr; }
  .ov-bronnen li { grid-template-columns: 1fr; gap: 2px; }
  .ov-cmp-row { grid-template-columns: 96px minmax(0, 1fr) 56px; }
  .ov-m.is-photo img { width: 180px; height: 135px; }
}
.ov-phonecol { scroll-margin-top: 70px; }
