/* cleany.ma CRM — styles (matches design/crm mockups) */
:root {
  --indigo: #223961;
  --indigo-2: #2E4775;
  --indigo-hover: #3A5A94;
  --sky: #B4CFFF;
  --tint: #EEF4FF;
  --bg: #F5F8FF;
  --white: #FFFFFF;
  --muted: #4A5D82;
  --line: #E3ECFF;
  --mid: #6E93D6;
  --ok-bg: #E3F1E8; --ok: #1E5B36;
  --warn-bg: #FFF0DC; --warn: #7A4300;
  --off-bg: #EDEFF3; --off: #4A5D82;
  --err-bg: #FDE7E7; --err: #8A1F1F;
  --radius: 20px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: Quicksand, Inter, system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--indigo); font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--head); }
a { color: var(--indigo); }
a:hover { color: var(--indigo-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mid); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.brand { font-family: var(--head); font-weight: 700; font-size: 22px; }
.brand span { color: var(--sky); }

/* Boot / auth screens */
.boot { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.boot .brand span { color: var(--mid); }
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 400px; background: var(--white); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 1px 0 var(--line); }
.auth-card .brand { font-size: 28px; }
.auth-card .brand span { color: var(--mid); }
.auth-card h1 { font-size: 22px; }
.pw-wrap { position: relative; display: flex; }
.pw-wrap input { flex: 1; padding-inline-end: 96px; }
.pw-wrap button { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--tint); font-weight: 600; font-size: 12px; cursor: pointer; }
.form-error { background: var(--err-bg); color: var(--err); border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 500; }
.form-error:empty { display: none; }

/* Shell */
.shell { min-height: 100vh; display: flex; }
.sidebar { flex: 0 0 240px; width: 240px; background: var(--indigo); color: var(--white); padding: 24px 16px; display: flex; flex-direction: column; gap: 8px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { padding: 0 12px 20px; color: var(--white); text-decoration: none; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { color: var(--white); text-decoration: none; padding: 12px; border-radius: 12px; font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.nav a:hover { background: var(--indigo-2); color: var(--white); }
.nav a[aria-current="page"] { background: var(--sky); color: var(--indigo); font-weight: 600; }
.nav svg { flex: 0 0 auto; }
.side-foot { margin-top: auto; border-top: 1px solid var(--indigo-2); padding: 16px 12px 0; display: flex; flex-direction: column; gap: 10px; }
.side-foot .who { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; }
.side-foot .who span { font-size: 12px; font-weight: 400; color: #C9DAFF; }
.side-foot button { align-self: flex-start; background: transparent; color: var(--white); border: 1.5px solid var(--indigo-2); border-radius: 999px; padding: 0 16px; min-height: 36px; font-weight: 600; font-size: 13px; cursor: pointer; }
.side-foot button:hover { background: var(--indigo-2); }
.topbar { display: none; }
.main { flex: 1 1 auto; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.view { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

@media (max-width: 900px) {
  .shell { flex-direction: column; }
  .sidebar { display: none; }
  .topbar { display: flex; position: sticky; top: 0; z-index: 20; background: var(--indigo); color: var(--white); padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; }
  .topbar .brand { color: var(--white); text-decoration: none; font-size: 20px; }
  .topbar .menu-btn { min-height: 44px; min-width: 44px; border-radius: 999px; border: 0; background: var(--indigo-2); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; font-weight: 600; }
  .shell.menu-open .sidebar { display: flex; position: fixed; inset: 64px 0 auto 0; width: 100%; height: auto; max-height: calc(100vh - 64px); z-index: 19; box-shadow: 0 12px 24px rgba(34,57,97,.25); padding-top: 8px; }
  .shell.menu-open .sidebar .brand { display: none; }
  .main { padding: 20px 16px 40px; }
}

/* Page head */
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.page-head > div:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.page-head h1 { font-size: 28px; font-weight: 700; }
.page-head p { font-size: 14px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; font-size: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; padding: 0 20px; min-height: 44px; border-radius: 999px; font: 600 14px var(--font); text-decoration: none; white-space: nowrap; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--indigo); color: var(--white); }
.btn-primary:hover:not(:disabled) { background: var(--indigo-hover); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--indigo); border: 1.5px solid var(--sky); }
.btn-secondary:hover:not(:disabled) { background: var(--tint); }
.btn-soft { background: var(--tint); color: var(--indigo); }
.btn-soft:hover:not(:disabled) { background: #DDE8FF; }
.btn-danger { background: var(--white); color: var(--err); border: 1.5px solid #F2C4C4; }
.btn-danger:hover:not(:disabled) { background: var(--err-bg); }
.btn-wa { background: #1E5B36; color: var(--white); }
.btn-wa:hover:not(:disabled) { background: #17482a; color: var(--white); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 12px; }
.btn-link { background: none; border: 0; padding: 0; color: var(--indigo); text-decoration: underline; cursor: pointer; font-weight: 600; }

/* Cards */
.card { background: var(--white); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card > h2, .card-head h2 { font-size: 16px; font-weight: 600; font-family: var(--font); }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.kpi { background: var(--white); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.kpi .label { font-size: 13px; color: var(--muted); font-weight: 500; }
.kpi .value { font-family: var(--head); font-size: 30px; font-weight: 700; line-height: 1.15; }
.kpi .sub { font-size: 13px; color: var(--muted); }

/* Filters & search */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 0; cursor: pointer; min-height: 36px; padding: 0 16px; border-radius: 999px; font: 600 13px var(--font); color: var(--indigo); background: var(--bg); }
.pill:hover { background: var(--tint); }
.pill[aria-pressed="true"], .pill[aria-selected="true"] { background: var(--sky); }
.search { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 999px; padding: 0 16px; min-height: 44px; }
.search input { border: 0; background: transparent; font: 14px var(--font); color: var(--indigo); outline: none; width: 220px; max-width: 60vw; min-height: 40px; }
.search:focus-within { outline: 3px solid var(--mid); outline-offset: 2px; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: start; padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
.table th { font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.table tbody tr.clickable { cursor: pointer; }
.table tbody tr.clickable:hover { background: #FAFCFF; }
.table td .sub { display: block; font-size: 12px; color: var(--muted); }
.table td.num, .table th.num { text-align: end; }
.table td.wrap { white-space: normal; min-width: 160px; }
.table.compact th, .table.compact td { padding: 12px 8px; white-space: normal; }
.table.compact td { min-width: 64px; }
.table.compact td:first-child { min-width: 140px; }
.table.compact td .sub { white-space: nowrap; }
.table.compact td.wrap-sm .sub { white-space: normal; }
.table.compact td .badge { white-space: normal; text-align: center; }
.table td .actions { min-width: 190px; }
.table.compact td.nowrap { white-space: nowrap; }
.table.compact td .tag { white-space: normal; }
.table tfoot td { font-weight: 600; border-bottom: 0; }
.row-name { font-weight: 600; text-decoration: none; }
.row-name:hover { text-decoration: underline; }

/* Badges */
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.b-active, .b-paid, .b-done { background: var(--ok-bg); color: var(--ok); }
.b-one_time, .b-todo, .b-info { background: var(--tint); color: var(--indigo); }
.b-late, .b-due, .b-absent { background: var(--warn-bg); color: var(--warn); }
.b-stopped, .b-cancelled, .b-off { background: var(--off-bg); color: var(--off); }
.tag { background: var(--tint); padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; display: inline-block; white-space: nowrap; }

/* Empty / loading / error */
.empty { padding: 32px 16px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty strong { color: var(--indigo); font-size: 15px; }
.loading { padding: 24px; color: var(--muted); text-align: center; }
.error-box { background: var(--err-bg); color: var(--err); border-radius: 16px; padding: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.form fieldset, .modal-body fieldset { border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.form legend, .modal-body legend { font-family: var(--head); font-weight: 700; font-size: 15px; padding: 0 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .lbl { font-size: 13px; font-weight: 600; }
.field .hint { font-size: 12px; color: var(--muted); }
.req { color: var(--warn); }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=date], input[type=time], input[type=month], input[type=password], input[type=search], select, textarea {
  width: 100%; min-height: 44px; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--white); font: 14px var(--font); color: var(--indigo);
}
textarea { min-height: 72px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--mid); outline: none; box-shadow: 0 0 0 3px rgba(110,147,214,.25); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #D98A8A; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; min-height: 32px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--indigo); margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--bg); font-weight: 600; font-size: 13px; cursor: pointer; border: 1.5px solid transparent; }
.seg input:checked + span { background: var(--sky); }
.seg input:focus-visible + span { outline: 3px solid var(--mid); outline-offset: 2px; }
.inline-add { background: var(--bg); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.quote { background: var(--tint); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.quote .total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
.quote .total strong { font-family: var(--head); font-size: 22px; }
.quote ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.quote li { display: flex; justify-content: space-between; gap: 12px; }

/* Dialogs */
dialog.modal { border: 0; padding: 0; border-radius: 24px; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); color: var(--indigo); background: var(--white); box-shadow: 0 24px 60px rgba(34,57,97,.3); }
dialog.modal.wide { width: min(860px, calc(100vw - 24px)); }
dialog.modal.narrow { width: min(440px, calc(100vw - 24px)); }
dialog.modal::backdrop { background: rgba(34,57,97,.45); }
.modal-inner { display: flex; flex-direction: column; max-height: calc(100vh - 24px); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px 12px; }
.modal-head h2 { font-size: 20px; font-weight: 700; }
.modal-close { width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--bg); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.modal-close:hover { background: var(--tint); }
.modal-body { padding: 4px 24px 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.modal-foot { padding: 14px 24px 20px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); }
.modal-foot .spacer { flex: 1; }
@media (max-width: 600px) {
  .modal-head, .modal-body, .modal-foot { padding-left: 16px; padding-right: 16px; }
}

/* Toasts */
.toasts { position: fixed; bottom: 20px; inset-inline-end: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 1000; max-width: calc(100vw - 40px); pointer-events: none; }
.toast { pointer-events: auto; background: var(--indigo); color: var(--white); border-radius: 16px; padding: 12px 16px; font-weight: 500; box-shadow: 0 8px 24px rgba(34,57,97,.25); max-width: 380px; animation: toast-in .18s ease-out; }
.toast.ok { background: var(--ok); }
.toast.err { background: var(--err); }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }

/* Detail page */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.list { display: flex; flex-direction: column; }
.list-item { border-top: 1px solid var(--line); padding: 12px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; align-items: center; }
.list-item:first-child { border-top: 0; padding-top: 0; }
.list-item .main-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sub-card { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sub-card .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.thumbs a { display: block; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--tint); position: relative; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs a span { position: absolute; bottom: 2px; inset-inline-start: 2px; background: rgba(34,57,97,.8); color: #fff; font-size: 10px; padding: 0 4px; border-radius: 6px; }

/* Planning */
.day-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.day-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border: 0; cursor: pointer; padding: 10px 18px; min-height: 44px; border-radius: 16px; font: 14px var(--font); color: var(--indigo); background: var(--white); }
.day-tab b { font-weight: 600; }
.day-tab small { font-size: 12px; opacity: .8; }
.day-tab[aria-selected="true"] { background: var(--indigo); color: var(--white); }
.day-tab.today:not([aria-selected="true"]) { box-shadow: inset 0 0 0 1.5px var(--sky); }
.week-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--sky); background: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--indigo); }
.icon-btn:hover { background: var(--tint); }
.plan-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.routes { flex: 3 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.side-col { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.route { gap: 14px; }
.route-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.route-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--sky); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 auto; }
.route-who div { display: flex; flex-direction: column; min-width: 0; }
.route-who span { font-size: 12px; color: var(--muted); }
.bar { height: 8px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.bar > div { height: 100%; border-radius: 999px; background: var(--indigo); }
.bar.thin { height: 6px; }
.bar.thin > div { background: var(--mid); }
.bar.over > div { background: #C77A1A; }
.stop { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.stop-head { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.stop-head span:first-child { font-weight: 600; }
.stop-head span:last-child { color: var(--muted); font-size: 13px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--bg); border: 0; border-radius: 999px; padding: 4px 10px; font: 500 12px var(--font); color: var(--indigo); cursor: pointer; text-align: start; min-height: 28px; }
.chip:hover { background: var(--tint); }
.chip.done { background: var(--ok-bg); color: var(--ok); }
.chip.absent { background: var(--warn-bg); color: var(--warn); }
.chip.cancelled { background: var(--off-bg); color: var(--off); text-decoration: line-through; }
.chip .t { opacity: .75; margin-inline-end: 4px; }
.queue-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.queue-item:last-child { border-bottom: 0; }
.queue-item .who { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 140px; }
.queue-item .who button { text-align: start; }
.queue-assign { display: flex; gap: 6px; align-items: center; }
.queue-assign select { min-height: 36px; padding: 4px 8px; width: auto; max-width: 140px; font-size: 13px; }
.density { display: flex; flex-direction: column; gap: 6px; }
.density .row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.send-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.send-row:last-child { border-bottom: 0; }

/* Settings */
.tiers { display: flex; flex-direction: column; gap: 8px; }
.tier-row { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.tier-row .field { flex: 1 1 120px; }
.price-grid { display: grid; grid-template-columns: max-content repeat(4, minmax(80px, 1fr)); gap: 8px 10px; align-items: center; }
.price-grid .h { font-size: 12px; font-weight: 600; color: var(--muted); }
@media (max-width: 600px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .price-grid .h.blank { display: none; } }
.plan-row td input[type=text] { min-width: 120px; }
.plan-row td input[type=number] { width: 100px; }
.plan-row td textarea { min-width: 240px; min-height: 60px; font-size: 13px; }
/* Plans: one card per plan below 900px so the Active checkbox and Enregistrer stay on screen. */
@media (max-width: 900px) {
  .table.plans thead { display: none; }
  .table.plans, .table.plans tbody { display: block; width: 100%; }
  .table.plans tr.plan-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; padding: 14px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
  .table.plans tr.plan-row td { display: block; padding: 0; border: 0; min-width: 0; white-space: normal; }
  .table.plans td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
  .table.plans td.full { grid-column: 1 / -1; }
  .table.plans td.full textarea { width: 100%; min-width: 0; }
  .table.plans td input[type=text] { width: 100%; min-width: 0; }
  .table.plans td.save { text-align: end; }
}
.table td.wrap-sm { white-space: normal; min-width: 120px; max-width: 220px; }
.table td.wrap-sm .tag { white-space: normal; }
.sub-card .main-col > span:first-child { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.btn-link { align-self: flex-start; }
.week-nav input[type=month] { width: auto; min-width: 170px; }
.table td.wrap-sm { min-width: 170px; } .table td.wrap-sm .tag { border-radius: 12px; }
