:root {
  --bg: #f6f6f3; --card: #ffffff; --line: #e4e3de; --line-soft: #efeee9; --ink: #1b1b1a; --muted: #5f5e5a;
  --accent: #1e4fd8; --accent-dark: #163ba3; --accent-tint: #e8eefc; --danger: #b42318; --ok: #145c3a;
  --radius: 12px; --nav-w: 240px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.45; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
h1 { margin: 0; font-size: 28px; font-weight: 700; }
h2 { margin: 0; font-size: 16px; font-weight: 600; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Layout */
.shell { min-height: 100vh; display: flex; }
.nav { width: var(--nav-w); flex: none; background: var(--card); border-right: 1px solid var(--line); padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.brand { font-size: 18px; font-weight: 700; padding: 0 12px 24px; }
.brand span { color: var(--accent); }
.nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; }
.nav a:hover { background: #f1f0ec; }
.nav a.active { background: var(--accent-tint); color: var(--accent-dark); font-weight: 600; }
.nav svg { width: 18px; height: 18px; flex: none; }
.badge { margin-left: auto; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; border-radius: 10px; padding: 1px 8px; }
.badge:empty { display: none; }
main { flex: 1; min-width: 0; padding: 32px 40px 64px; display: flex; flex-direction: column; gap: 24px; max-width: 1280px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Knapper og felt */
.btn { height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid #d3d2cc; background: #fff; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.btn:hover { background: #f7f7f4; color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn.primary:hover { background: var(--accent-dark); color: #fff; }
.btn.danger { color: var(--danger); }
.btn.small { height: 36px; padding: 0 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--accent); padding: 0 8px; }
.input, select.input, textarea.input { width: 100%; border: 1px solid #d3d2cc; border-radius: 8px; padding: 0 12px; height: 44px; background: #fff; }
textarea.input { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.input:focus, .btn:focus-visible, .chip:focus-visible, .datechip:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #3d3c39; }
label.field .hint { font-weight: 400; color: var(--muted); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.grow { flex: 1 1 280px; min-width: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card > h2 { margin-bottom: 16px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: start; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 12px; background: #eeede9; color: #4a4945; border: 0; white-space: nowrap; }
.chip.blue { background: #e8eefc; color: #163ba3; }
.chip.green { background: #e1f0e8; color: #145c3a; }
.chip.amber { background: #fbefd9; color: #7a4a00; }
.chip.red { background: #fce8e6; color: #8a1c13; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid #d3d2cc; background: #fff; font-size: 13px; cursor: pointer; }
.filter .n { color: var(--muted); margin-left: 4px; }
.filter.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter.on .n { color: #cfcec9; }
.filter.inc { background: #e1f0e8; border-color: #145c3a; color: #145c3a; font-weight: 600; }
.filter.exc { background: #fce8e6; border-color: #8a1c13; color: #8a1c13; font-weight: 600; }
.filter.inc .n, .filter.exc .n { color: inherit; opacity: .7; }
.label-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 14px; }
.label-tools .grow { flex: 1; }
.seg { display: inline-flex; border: 1px solid #d3d2cc; border-radius: 8px; overflow: hidden; }
.seg button { height: 32px; padding: 0 12px; border: 0; background: #fff; font-size: 13px; cursor: pointer; }
.seg button.on { background: var(--ink); color: #fff; }
.picker { display: flex; flex-wrap: wrap; gap: 6px; }
.pick { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid #d3d2cc; background: #fff; font-size: 13px; cursor: pointer; }
.pick.on { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-dark); font-weight: 600; }
.pick.suggest { border-style: dashed; border-color: var(--accent); }

/* Tabell */
.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 900px; table-layout: fixed; }
td.labels { white-space: normal; max-width: none; overflow: visible; }
td.labels .chip { margin: 0 4px 4px 0; }
td.next { overflow: visible; }
th { font-weight: 600; font-size: 12px; color: var(--muted); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; letter-spacing: .02em; text-transform: uppercase; }
th button { all: unset; cursor: pointer; }
td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
tr:last-child td { border-bottom: 0; }
td.name a { color: var(--ink); font-weight: 600; text-decoration: none; }
td.name a:hover { text-decoration: underline; }
td.tnum { font-variant-numeric: tabular-nums; }
.datechip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: #fafaf8; font-size: 13px; font-variant-numeric: tabular-nums; cursor: pointer; position: relative; }
.datechip.empty { border-style: dashed; border-color: #a9a8a2; background: #fff; color: var(--accent); }
.datechip.late { color: var(--danger); border-color: #f0c4bf; background: #fff6f5; }
.datechip.today { color: var(--accent-dark); border-color: var(--accent); background: var(--accent-tint); }
.datechip input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.datechip svg { width: 14px; height: 14px; }
.pager { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }
.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); }

/* Kontaktkort */
.head-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.who { display: flex; align-items: center; gap: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; flex: none; }
dl.info { margin: 0; display: flex; flex-direction: column; gap: 18px; }
dl.info dt { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
dl.info dd { margin: 4px 0 0; font-size: 15px; word-break: break-word; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.quick .btn { height: 36px; padding: 0 12px; border-radius: 18px; font-size: 13px; }
.note-form { border: 1px solid #d3d2cc; border-radius: 10px; background: #fafaf8; padding: 14px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.ico { width: 36px; height: 36px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; background: #fbefd9; color: #7a4a00; }
.ico.samtale { background: #e1f0e8; color: #145c3a; }
.ico.epost_inn, .ico.epost_ut { background: var(--accent-tint); color: var(--accent-dark); }
.tl-body { flex: 1; min-width: 0; }
.tl-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tl-head strong { font-size: 14px; }
.tl-text { margin: 6px 0 0; color: #3d3c39; white-space: pre-wrap; word-break: break-word; }
.tl-tools { margin-top: 6px; display: flex; gap: 12px; font-size: 13px; }
.tl-tools button { all: unset; color: var(--accent); cursor: pointer; }
.tl-tools button:hover { text-decoration: underline; }

/* E-post */
.compose { padding: 0; overflow: hidden; }
.compose .bar { padding: 20px 24px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.compose .f { display: flex; align-items: center; gap: 12px; padding: 8px 24px; border-bottom: 1px solid var(--line-soft); }
.compose .f > label { width: 64px; color: var(--muted); flex: none; }
.compose .f input, .compose .f select { flex: 1; border: 0; height: 36px; background: transparent; min-width: 0; }
.compose .f input:focus, .compose .f select:focus { outline: none; }
.compose textarea { width: 100%; border: 0; padding: 16px 24px; min-height: 220px; resize: vertical; font-size: 15px; line-height: 1.6; }
.compose textarea:focus { outline: none; }
.compose .sig { padding: 0 24px 20px; }
.compose .foot { padding: 16px 24px; border-top: 1px solid var(--line-soft); background: #fafaf8; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.compose .ai-bar { display: flex; flex-direction: column; gap: 8px; padding: 12px 24px; border-bottom: 1px solid var(--line-soft); background: #fafaf8; }
.compose .ai-ask { display: flex; gap: 8px; }
.compose .ai-ask .input { flex: 1; min-width: 0; height: 36px; }
.check-dlg { max-width: 640px; }
.check-list { margin: 12px 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.check-old { text-decoration: line-through; color: #8a1c13; }
.check-new { color: var(--ok); font-weight: 600; }
.labelcell { all: unset; box-sizing: border-box; display: block; width: 100%; min-height: 28px; padding: 4px 6px; margin: -4px -6px; border-radius: 8px; cursor: pointer; }
.labelcell:hover { background: var(--accent-tint); }
.labelcell:focus-visible { outline: 2px solid var(--accent); }
.labelcell .addlabel { color: var(--muted); font-size: 13px; opacity: 0; }
tr:hover .labelcell .addlabel, .labelcell:focus-visible .addlabel { opacity: 1; }
@media (hover: none) { .labelcell .addlabel { opacity: 1; } }
.undo-bar { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 16px; background: #1f2328; color: #fff; padding: 12px 16px 12px 20px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: calc(100vw - 32px); }
.undo-bar .btn { background: #fff; color: #1f2328; border-color: #fff; }
.paste-zone { border: 2px dashed var(--line); border-radius: 10px; padding: 14px; text-align: center; color: var(--muted); font-size: 13px; cursor: pointer; outline: none; }
.paste-zone:focus, .paste-zone.drag { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-dark); }
.paste-zone img { max-width: 100%; max-height: 120px; border-radius: 6px; display: block; margin: 0 auto 8px; }
.filled { background: #fff8e1 !important; transition: background .3s; }
@media (max-width: 600px) { .compose .ai-bar { padding: 12px 16px; } .compose .ai-ask { flex-wrap: wrap; } .compose .ai-ask .btn { width: 100%; } }
.layout-compose {display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.layout-compose > .compose { flex: 999 1 560px; min-width: 0; }
.layout-compose > aside { flex: 1 1 280px; }
code.field-chip { font-size: 12px; background: #f1f0ec; padding: 4px 8px; border-radius: 6px; border: 0; cursor: pointer; }
.attach { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.preview-box { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #fff; font-family: "Segoe UI", Arial, sans-serif; font-size: 14px; color: #222; }
.sigpic { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #eeede9; border: 1px dashed #a9a8a2; }
.sigpic.has { border-style: solid; }

/* Ringeliste */
.calls { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.call { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.call .top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.call .name { font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; }
.call .note { margin: 0; font-size: 13px; color: #3d3c39; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.call .btns { display: flex; gap: 8px; }
.call .btn.big { height: 48px; flex: 1; font-size: 15px; }

/* Etter samtale */
.after { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.outcome { height: 48px; border-radius: 10px; border: 1px solid #d3d2cc; background: #fff; cursor: pointer; font-size: 14px; }
.outcome.on { border: 2px solid var(--accent); background: #f3f6fe; color: var(--accent-dark); font-weight: 600; }
.mic { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.mic.small { width: 44px; height: 44px; background: #fff; color: var(--ink); border: 1px solid #d3d2cc; }
.mic.rec { background: var(--danger); color: #fff; animation: pulse 1.2s infinite; }
.mic svg { width: 22px; height: 22px; }
.mic[disabled] { opacity: .45; cursor: not-allowed; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(180, 35, 24, .4); } 50% { box-shadow: 0 0 0 10px rgba(180, 35, 24, 0); } }

/* Modal, toast, varsler */
dialog { border: 0; border-radius: 14px; padding: 0; width: min(560px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
dialog::backdrop { background: rgba(20, 20, 19, .45); }
dialog form, dialog .dlg { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
dialog .dlg-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 50; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.toast.err { background: var(--danger); }
.notice { border-radius: 10px; padding: 12px 14px; background: #fbefd9; color: #5c3a00; font-size: 13px; }
.notice.info { background: var(--accent-tint); color: var(--accent-dark); }
.notice.ok { background: #e1f0e8; color: var(--ok); }
.notice.err { background: #fce8e6; color: #8a1c13; }
details.how { font-size: 13px; }
details.how summary { cursor: pointer; color: var(--accent); }
details.how ol { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; font-size: 13px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.list-edit { display: flex; flex-direction: column; }
.list-edit .li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.list-edit .li:first-child { border-top: 0; }
.list-edit .li input { flex: 1; height: 36px; min-width: 0; }

/* Mobil: tabbar nederst og kort i stedet for tabell */
.tabbar { display: none; }
@media (max-width: 800px) {
  .nav { display: none; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; font-size: 11px; color: var(--muted); text-decoration: none; position: relative; min-height: 52px; justify-content: center; }
  .tabbar a.active { color: var(--accent); font-weight: 600; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar .badge { position: absolute; top: 2px; left: 55%; margin: 0; font-size: 10px; padding: 0 6px; }
  main { padding: 20px 16px 100px; gap: 16px; }
  h1 { font-size: 24px; }
  .card { padding: 16px; }
  .toast { bottom: 90px; }
  .compose .f, .compose .bar, .compose textarea, .compose .sig, .compose .foot { padding-left: 16px; padding-right: 16px; }
  table, thead, tbody, tr, td { display: block; min-width: 0; width: 100%; }
  thead { display: none; }
  tr { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
  tr:last-child { border-bottom: 0; }
  td { border: 0; padding: 0; max-width: none; white-space: normal; }
  td.name { grid-column: 1; font-size: 16px; }
  td.firm { grid-column: 1; color: var(--muted); }
  td.mail, td.phone { grid-column: 1 / -1; }
  td.mail { display: none; }
  td.labels { grid-column: 1; }
  td.next { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
}

.oldserver { background: #fce8e6; color: #8a1c13; border: 1px solid #8a1c13; border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; font-size: 14px; }
.oldserver[hidden] { display: none; }
.call-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
#clabels { margin-bottom: 14px; }
.tl-title { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tl-tools button.cur { color: var(--ink); font-weight: 700; text-decoration: underline; }

/* Sortering og ring-knapp i kontaktlisten */
th button { display: inline-flex; align-items: center; gap: 2px; }
th button:hover { color: var(--ink); }
th[aria-sort="ascending"] button, th[aria-sort="descending"] button { color: var(--ink); }
.phonecell { display: inline-flex; align-items: center; gap: 8px; }
.ringbtn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line, #d8d6cf); font-size: 12px; font-weight: 600; text-decoration: none; color: inherit; }
.ringbtn svg { width: 14px; height: 14px; }
.ringbtn:hover { background: var(--ink); color: #fff; }

/* Forslag */
.sug-day { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 16px 0 0; }
.sug { padding: 16px 20px; }
.sug h3 { margin: 0 0 2px; font-size: 17px; }
.sug-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }

/* Statuslinje, aktivitetsstripe, massehandlinger, opprydding */
.statusbar { position: fixed; top: 0; left: var(--nav-w); right: 0; z-index: 50; background: #fde8e8; color: #7a1d1d; border-bottom: 1px solid #f3c2c2; padding: 8px 20px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.statusbar[hidden] { display: none; }
.statusbar a, .linkbtn { color: inherit; text-decoration: underline; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--accent, #1e4fd8); }
@media (max-width: 760px) { .statusbar { left: 0; } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 4px; }
.stats > * { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.stats b { font-size: 22px; line-height: 1.1; }
.stats span { font-size: 13px; }
.stats small { color: var(--muted); font-size: 12px; }
.stats a:hover { border-color: var(--ink); }
.stats .warn b { color: #b42318; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.bulkbar { position: sticky; top: 8px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 12px; }
.bulkbar[hidden] { display: none; }
.bulkbar .btn { background: #fff; color: var(--ink); }
.bulkbar .btn.danger { color: #b42318; }
.bulkbar .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.bulkbar .sep { width: 1px; height: 22px; background: rgba(255,255,255,.3); }
.selcol { width: 36px; text-align: center; }
.selcol input { width: 16px; height: 16px; }
.tl-text.clamp { max-height: 9.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.urow { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.urow:first-child { border-top: 0; }
.cleanup-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cleanup-links .cl { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: inherit; }
.cleanup-links .cl:hover { border-color: var(--ink); }
.dup { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.duprow { display: flex; gap: 10px; align-items: center; }
table.mini { width: 100%; border-collapse: collapse; font-size: 13px; }
table.mini th, table.mini td { text-align: left; padding: 6px 8px; border-top: 1px solid var(--line-soft); }
body.has-status main { padding-top: 76px; }
.bulkbar .input { color: var(--ink); background: #fff; }
.phonecell { white-space: nowrap; }
td.phone .ringbtn span { display: none; }
td.phone .ringbtn { padding: 3px 7px; }
