.avs-cl {
  --cl-bg: #f8fafc;
  --cl-surface: #ffffff;
  --cl-ink: #0D0E20;
  --cl-body: #3b4252;
  --cl-muted: #64748b;
  --cl-line: #e6e9ee;
  --cl-line-2: #f1f5f9;
  --cl-bright: #D3B191;
  --cl-teal: #BE9875;
  --cl-accent: #A58059;
  --cl-accent-2: #8A6A49;
  --cl-accent-soft: rgba(165, 128, 89, .12);
  --cl-grad: linear-gradient(90deg, #A58059, #D3B191);
  --cl-grad-v: linear-gradient(180deg, #A58059, #D3B191);
  --cl-yellow: #FFD000;
  --cl-warn: #b45309;
  --cl-warn-soft: #fffbeb;
  --cl-ok: #1b8a3a;
  --cl-ok-soft: rgba(27, 138, 58, .12);
  --cl-no: #b91c1c;
  --cl-no-soft: rgba(185, 28, 28, .10);
  --cl-maybe: #b45309;
  --cl-maybe-soft: #fffbeb;
  --cl-done: #94a3b8;
  --cl-radius: 14px;
  --cl-shadow: 0 1px 2px rgba(13, 14, 32, .04), 0 4px 18px rgba(13, 14, 32, .05);
  --cl-shadow-hover: 0 10px 28px rgba(13, 14, 32, .10);
  --cl-v0: #dc2626;
  --cl-v1: #2563eb;
  --cl-v2: #e0a800;
  --cl-v3: #94a3b8;
  color: var(--cl-body);
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.5;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

html:has(.avs-cl) {
  scrollbar-gutter: stable;
}

.avs-cl-login {
  max-width: 420px;
  margin: clamp(40px, 10vh, 120px) auto 0;
  padding-bottom: 56px;
  text-align: center;
}

.avs-cl-login .avs-cl-logo {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto 18px;
}

.avs-cl-login h2 {
  justify-content: center;
}

.avs-cl-login form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  text-align: left;
}

.avs-cl-login label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.avs-cl-login input[type=text],
.avs-cl-login input[type=password] {
  width: 100%;
  box-sizing: border-box;
}

.avs-cl-login input[type=text]:focus,
.avs-cl-login input[type=password]:focus {
  border-color: var(--cl-accent);
  box-shadow: 0 0 0 3px var(--cl-accent-soft);
  outline: none;
}

.avs-cl-pass-wrap {
  position: relative;
}

.avs-cl-pass-wrap input {
  padding-right: 78px;
}

.avs-cl-pass-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--cl-accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
}

.avs-cl-remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
}

.avs-cl-remember input {
  margin: 0;
  accent-color: var(--cl-accent);
}

.avs-cl-login button[type=submit] {
  align-self: center;
  min-width: 180px;
  border: 0;
  border-radius: 8px;
  padding: 11px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: var(--cl-grad);
  box-shadow: 0 4px 10px var(--cl-accent-soft);
}

.avs-cl-login button[type=submit]:hover {
  filter: brightness(1.06);
}

.avs-cl-login a {
  color: var(--cl-accent);
}

.avs-cl-login + .avs-cl-credit {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  margin: 0;
}

@media (max-width: 782px), (hover: none) {
  .avs-cl-login {
    padding-bottom: 0;
  }

  .avs-cl-login + .avs-cl-credit {
    position: static;
    margin-top: 28px;
  }

  .avs-cl-overlay.avs-cl-overlay {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
  }

  .avs-cl-overlay.avs-cl-overlay .avs-cl-modal {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
  }

  html.avs-cl-lock,
  html.avs-cl-lock body {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .avs-cl-overlay.avs-cl-overlay .avs-cl-modal > * {
    max-width: 100%;
    min-width: 0;
  }

  .avs-cl-overlay.avs-cl-overlay .avs-cl-modal input:not([type=checkbox]):not([type=radio]),
  .avs-cl-overlay.avs-cl-overlay .avs-cl-modal select,
  .avs-cl-overlay.avs-cl-overlay .avs-cl-modal textarea {
    max-width: 100%;
    box-sizing: border-box;
  }

  .avs-cl-overlay.avs-cl-overlay .avs-cl-modal .avs-cl-row,
  .avs-cl-overlay.avs-cl-overlay .avs-cl-modal .avs-cl-modal-form,
  .avs-cl-overlay.avs-cl-overlay .avs-cl-modal .avs-cl-modal-section {
    min-width: 0;
  }
}

.avs-cl-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  vertical-align: -0.125em;
}

.avs-cl-ic svg {
  width: 100%;
  height: 100%;
  display: block;
}

.avs-cl-tick .avs-cl-ic,
.avs-cl-subtick .avs-cl-ic {
  width: 0.9em;
  height: 0.9em;
}

.avs-cl-edition-select.is-locked {
  padding-left: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23A58059' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.4 7.4h7.2v5.2H4.4z'/%3E%3Cpath d='M6 7.4V5.6a2 2 0 0 1 4 0v1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 9px center;
  background-size: 14px 14px;
}

.avs-cl-modal .avs-cl-modal-confirm {
  background: var(--cl-surface);
  border: 1px solid var(--cl-line);
  border-radius: 12px;
  box-shadow: none;
  padding: 14px 16px;
  margin: 0 0 14px;
}

.avs-cl-modal .avs-cl-modal-confirm-text {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cl-ink);
}

.avs-cl-modal .avs-cl-modal-confirm-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin: 0;
}

.avs-cl-modal .avs-cl-modal-confirm-actions .avs-cl-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: none;
  min-width: 0;
}

.avs-cl-modal .avs-cl-modal-confirm-actions .avs-cl-btn-danger {
  background: transparent;
  color: var(--cl-no);
  border: 1px solid var(--cl-no);
}

.avs-cl-modal .avs-cl-modal-confirm-actions .avs-cl-btn-danger:hover {
  background: var(--cl-no-soft);
}

.avs-cl .avs-cl-person > td {
  vertical-align: middle;
}

.avs-cl .avs-cl-person > td.avs-cl-role {
  display: table-cell;
  text-align: left;
}

.avs-cl .avs-cl-person > td.avs-cl-role .avs-cl-role-pill {
  display: inline-block;
}

.avs-cl .avs-cl-person > td.avs-cl-role .avs-cl-tasklink {
  display: block;
  width: fit-content;
  margin-top: 6px;
}

.avs-cl-sub.avs-cl-mail {
  word-break: break-all;
}

.avs-cl-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 18px 0 4px;
}

.avs-cl-page-btn {
  min-width: 36px;
  padding: 6px 10px;
  border: 1px solid var(--cl-line);
  border-radius: 8px;
  background: var(--cl-surface);
  color: var(--cl-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.avs-cl-page-btn:hover:not(:disabled) {
  border-color: var(--cl-accent);
  color: var(--cl-accent);
}

.avs-cl-page-btn.is-active {
  background: var(--cl-grad);
  border-color: transparent;
  color: #fff;
}

.avs-cl-page-btn:disabled {
  opacity: .4;
  cursor: default;
}

.avs-cl-page-gap {
  color: var(--cl-muted);
  padding: 0 2px;
}

.avs-cl *,
.avs-cl *::before,
.avs-cl *::after {
  box-sizing: border-box;
}

.avs-cl button {
  font: inherit;
  cursor: pointer;
}

.avs-cl button,
.avs-cl input,
.avs-cl select,
.avs-cl textarea {
  text-transform: none;
  letter-spacing: normal;
  font-family: inherit;
}

.avs-cl :focus-visible {
  outline: 2px solid var(--cl-bright);
  outline-offset: 2px;
}

.avs-cl-userbar {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 8px;
}

.avs-cl-userbar strong {
  color: #0D0E20;
}

.avs-cl-userbar a {
  color: #A58059;
}

.avs-cl-userbar a:hover {
  color: #8A6A49;
}

.avs-cl-loading,
.avs-cl-empty {
  color: var(--cl-muted);
  padding: 16px 18px;
  background: var(--cl-surface);
  border: 1px dashed var(--cl-line);
  border-radius: var(--cl-radius);
  margin: 0;
}

.avs-cl-error {
  color: var(--cl-no);
  background: var(--cl-no-soft);
  padding: 10px 12px;
  border-radius: 6px;
}

.avs-cl-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--cl-line-2);
  border: 1px solid var(--cl-line);
  border-radius: 12px;
  margin: 12px 0 16px;
}

.avs-cl .avs-cl-tab {
  background: transparent;
  border: 0;
  border-radius: 9px;
  padding: 9px 20px;
  font-weight: 500;
  font-size: 14px;
  color: var(--cl-muted);
}

.avs-cl-tab:hover {
  color: var(--cl-ink);
}

.avs-cl-tab.is-active {
  font-weight: 600;
  color: #fff;
  background: var(--cl-grad);
  box-shadow: 0 4px 10px rgba(165, 128, 89, .3);
}

.avs-cl-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.avs-cl-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: var(--cl-surface);
  border: 1px solid var(--cl-line);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow);
  padding: 12px;
}

.avs-cl-input,
.avs-cl-select {
  font: inherit;
  color: var(--cl-ink);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 9px 12px;
  min-height: 40px;
  max-width: 100%;
  box-shadow: 0 2px 5px rgba(13, 14, 32, .04);
  transition: border-color .2s, box-shadow .2s;
}

.avs-cl-input:focus,
.avs-cl-select:focus {
  border-color: var(--cl-bright);
  box-shadow: 0 0 0 3px rgba(165, 128, 89, .12);
  outline: none;
}

.avs-cl-search {
  flex: 1 1 220px;
  min-width: 0;
}

.avs-cl .avs-cl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  min-height: 40px;
  transition: transform .15s, box-shadow .15s, filter .15s, background .15s, color .15s;
}

.avs-cl-btn:disabled {
  opacity: .5;
  cursor: default;
  transform: none;
}

.avs-cl-btn-primary {
  background: var(--cl-grad);
  color: #fff;
  box-shadow: 0 4px 10px rgba(165, 128, 89, .3);
}

.avs-cl-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(165, 128, 89, .4);
  filter: brightness(1.05);
}

.avs-cl-btn-ghost {
  background: #f1f5f9;
  color: var(--cl-muted);
}

.avs-cl-btn-ghost:hover:not(:disabled) {
  background: #e2e8f0;
  color: var(--cl-ink);
}

.avs-cl-syncline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.avs-cl-muted {
  color: var(--cl-muted);
  font-size: 13px;
  font-weight: 400;
}

.avs-cl-summary {
  margin: 0 0 8px;
  color: var(--cl-muted);
  font-variant-numeric: tabular-nums;
}

#avs-cl-tasklist {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.avs-cl-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.avs-cl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--cl-surface);
  border: 1px solid var(--cl-line);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow);
  overflow: hidden;
  transition: box-shadow .15s ease;
}

.avs-cl-list:hover {
  box-shadow: var(--cl-shadow-hover);
}

.avs-cl-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-top: 1px solid var(--cl-line-2);
  margin: 0;
  transition: background .15s;
}

@media (hover: hover) {
  .avs-cl-item:hover {
    background: #fbfdfe;
  }
  .avs-cl-item .avs-cl-item-actions {
    opacity: .35;
    transition: opacity .15s;
  }
  .avs-cl-item:hover .avs-cl-item-actions,
  .avs-cl-item .avs-cl-item-actions:focus-within {
    opacity: 1;
  }
}

.avs-cl-item:first-child {
  border-top: 0;
}

.avs-cl .avs-cl-check {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 0;
  border: 2px solid var(--cl-teal);
  border-radius: 6px;
  background: transparent;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.avs-cl-tick {
  opacity: 0;
}

.avs-cl-item.is-done .avs-cl-check {
  background: var(--cl-grad);
  border-color: transparent;
}

.avs-cl-item.is-done .avs-cl-tick {
  opacity: 1;
}

.avs-cl-item-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.avs-cl-item-title {
  font-weight: 600;
  color: var(--cl-ink);
  overflow-wrap: anywhere;
}

.avs-cl-item.is-done .avs-cl-item-title {
  text-decoration: line-through;
  color: var(--cl-done);
}

.avs-cl-item-note {
  color: var(--cl-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.avs-cl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.avs-cl-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cl-accent-soft);
  color: var(--cl-accent-2);
}

.avs-cl-chip-person {
  background: var(--cl-ok-soft);
  color: var(--cl-ok);
}

.avs-cl-item-actions {
  display: flex;
  gap: 2px;
  white-space: nowrap;
}

.avs-cl .avs-cl-icon {
  background: transparent;
  border: 0;
  color: var(--cl-muted);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.2;
}

.avs-cl-icon:hover {
  background: #f1f5f9;
  color: var(--cl-ink);
}

.avs-cl-danger:hover,
.avs-cl-danger.is-armed {
  color: var(--cl-no);
}

.avs-cl-danger.is-armed {
  font-size: 13px;
  font-weight: 600;
  background: var(--cl-no-soft);
}

.avs-cl-scroll {
  overflow-x: auto;
  background: var(--cl-surface);
  border: 1px solid var(--cl-line);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow);
}

.avs-cl-counts,
.avs-cl-team {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
}

.avs-cl-counts th,
.avs-cl-counts td,
.avs-cl-team th,
.avs-cl-team td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--cl-line-2);
  text-align: left;
  vertical-align: top;
}

.avs-cl-counts thead th,
.avs-cl-team thead th {
  background: #f8fafc;
  color: var(--cl-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--cl-line);
}

.avs-cl-counts td {
  text-align: center;
  font-size: 15px;
  color: var(--cl-ink);
}

.avs-cl-counts thead th:not(:first-child) {
  text-align: center;
}

.avs-cl-counts tbody th {
  font-weight: 500;
  white-space: nowrap;
}

.avs-cl-total th,
.avs-cl-total td {
  background: var(--cl-accent-soft);
  color: var(--cl-accent-2);
  font-weight: 700;
}

.avs-cl-maybe {
  color: var(--cl-maybe);
  font-size: 12px;
  font-weight: 600;
}

.avs-cl-th-day {
  font-weight: 700;
}

.avs-cl-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cl-v3);
  vertical-align: middle;
}

.avs-cl-dot.v0 {
  background: var(--cl-v0);
}

.avs-cl-venue-row.v0 {
  --v: var(--cl-v0);
}

.avs-cl-dot.v1 {
  background: var(--cl-v1);
}

.avs-cl-venue-row.v1 {
  --v: var(--cl-v1);
}

.avs-cl-dot.v2 {
  background: var(--cl-v2);
}

.avs-cl-venue-row.v2 {
  --v: var(--cl-v2);
}

.avs-cl-dot.v3 {
  background: var(--cl-v3);
}

.avs-cl-venue-row.v3 {
  --v: var(--cl-v3);
}

.avs-cl-team tr.avs-cl-venue-row th {
  padding: 14px 14px 10px;
  background: color-mix(in srgb, var(--v) 12%, #ffffff);
  border-top: 1px solid color-mix(in srgb, var(--v) 25%, #ffffff);
  border-bottom: 2px solid var(--v);
  box-shadow: inset 4px 0 0 var(--v);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--v) 65%, #0D0E20);
}

.avs-cl-venue-count {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  color: color-mix(in srgb, var(--v) 70%, #0D0E20);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: 1px;
}

.avs-cl-role {
  white-space: nowrap;
  font-size: 13px;
}

.avs-cl-role-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--v) 14%, #ffffff);
  color: color-mix(in srgb, var(--v) 70%, #0D0E20);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.avs-cl-name {
  min-width: 180px;
}

.avs-cl-name span {
  display: block;
}

.avs-cl-sub {
  color: var(--cl-muted);
  font-size: 12px;
}

.avs-cl-daycol {
  text-align: center !important;
  min-width: 96px;
}

.avs-cl-daycell {
  text-align: center !important;
}

.avs-cl .avs-cl-status {
  width: 36px;
  height: 30px;
  border-radius: 9px;
  border: 1.5px dashed #cbd5e1;
  background: #ffffff;
  color: #94a3b8;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  padding: 0;
  box-shadow: none;
  transition: transform .12s, box-shadow .12s;
}

.avs-cl .avs-cl-status:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(13, 14, 32, .10);
}

.avs-cl .avs-cl-status.is-yes {
  background: #dcf5e3;
  border: 1.5px solid #9fdcb0;
  color: #157a33;
}

.avs-cl .avs-cl-status.is-no {
  background: #fde8e8;
  border: 1.5px solid #f5b5b5;
  color: #b91c1c;
}

.avs-cl .avs-cl-status.is-maybe {
  background: #fff4d6;
  border: 1.5px solid #f7d27a;
  color: #a15c07;
}

.avs-cl-legend .avs-cl-status {
  width: 24px;
  height: 22px;
  font-size: 12px;
  cursor: default;
}

.avs-cl .avs-cl-daynote {
  display: block;
  margin: 4px auto 0;
  background: transparent;
  border: 0;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--cl-muted);
  opacity: .45;
  max-width: 120px;
  overflow-wrap: anywhere;
  box-shadow: none;
  transition: opacity .15s;
}

.avs-cl .avs-cl-daynote:hover,
.avs-cl .avs-cl-daynote:focus-visible {
  opacity: 1;
  color: var(--cl-accent-2);
  background: var(--cl-accent-soft);
}

.avs-cl .avs-cl-daynote.has-note {
  opacity: 1;
  font-style: italic;
  color: var(--cl-ink);
  background: #fff8e1;
  border: 1px solid #fde68a;
}

@media (hover: hover) {
  .avs-cl-team tr.avs-cl-person .avs-cl-daynote:not(.has-note) {
    opacity: 0;
  }
  .avs-cl-team tr.avs-cl-person:hover .avs-cl-daynote:not(.has-note),
  .avs-cl-team tr.avs-cl-person .avs-cl-daynote:focus-visible {
    opacity: .6;
  }
}

.avs-cl-shirt {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--cl-ink);
}

.avs-cl-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  font-size: 13px;
}

.avs-cl-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.avs-cl-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.avs-cl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 14, 32, .45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 100000;
}

.avs-cl-modal {
  --mp: clamp(18px, 3vw, 28px);
  background: var(--cl-surface);
  border-radius: 18px;
  width: min(580px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--mp) var(--mp);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 24px 60px rgba(13, 14, 32, .22), 0 2px 6px rgba(13, 14, 32, .06);
}

.avs-cl-modal-head {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 calc(-1 * var(--mp)) 14px;
  padding: var(--mp) var(--mp) 12px;
  background: var(--cl-surface);
  border-bottom: 1px solid transparent;
}

.avs-cl-modal-headrow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.avs-cl-modal-tabs {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.avs-cl .avs-cl-modal-tabs .avs-cl-seg-btn {
  flex: 1 1 0;
  min-height: 36px;
  white-space: nowrap;
}

.avs-cl-mpane {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.avs-cl-mpane > .avs-cl-modal-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

html.avs-cl-lock,
html.avs-cl-lock body {
  overflow: hidden;
}

.avs-cl-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--cl-ink);
  padding-top: 4px;
}

.avs-cl-modal-title::before {
  content: '';
  flex: 0 0 auto;
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--cl-grad-v);
}

.avs-cl .avs-cl-modal-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin: -4px -6px 0 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--cl-muted);
  font-size: 24px;
  line-height: 1;
  padding: 0;
}

.avs-cl-modal-close:hover {
  background: #f1f5f9;
  color: var(--cl-ink);
}

.avs-cl-modal-confirm {
  background: var(--cl-warn-soft);
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 14px;
}

.avs-cl-modal-confirm[hidden] {
  display: none;
}

.avs-cl-modal-confirm-text {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--cl-ink);
}

.avs-cl-modal-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.avs-cl-btn-danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  box-shadow: 0 4px 10px rgba(220, 38, 38, .25);
}

.avs-cl-modal-form.is-locked {
  opacity: .45;
  pointer-events: none;
}

.avs-cl-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.avs-cl-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.avs-cl-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.avs-cl-field .avs-cl-input,
.avs-cl-field .avs-cl-select {
  width: 100%;
}

.avs-cl-field-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--cl-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.avs-cl-checkfield {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.avs-cl-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.avs-cl-modal.has-actions {
  padding-bottom: 0;
}

.avs-cl-modal.has-actions .avs-cl-modal-actions {
  position: sticky;
  bottom: 0;
  z-index: 6;
  margin: 4px calc(-1 * var(--mp)) 0;
  padding: 12px var(--mp) calc(var(--mp) + env(safe-area-inset-bottom, 0px));
  background: var(--cl-surface);
  border-top: 1px solid var(--cl-line);
  box-shadow: 0 -8px 16px -12px rgba(13, 14, 32, .18);
}

.avs-cl-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--cl-ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  border-left: 4px solid var(--cl-bright);
  box-shadow: 0 10px 25px rgba(13, 14, 32, .25);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  z-index: 100001;
  max-width: calc(100vw - 32px);
}

.avs-cl-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.avs-cl-toast.is-error {
  border-left-color: #f87171;
}

.avs-cl-login {
  max-width: 460px;
  background: var(--cl-surface);
  border: 1px solid var(--cl-line);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, .06), 0 8px 10px -6px rgba(0, 0, 0, .04);
}

.avs-cl-login h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--cl-ink);
}

.avs-cl-login h2::before {
  content: '';
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--cl-grad-v);
}

.avs-cl-login p {
  color: var(--cl-muted);
  margin: 0 0 16px;
}

.avs-cl-login label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cl-ink);
  margin-bottom: 4px;
}

.avs-cl-login input[type=text],
.avs-cl-login input[type=password] {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: var(--cl-ink);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .04);
}

.avs-cl-login input[type=text]:focus,
.avs-cl-login input[type=password]:focus {
  border-color: var(--cl-bright);
  box-shadow: 0 0 0 3px rgba(165, 128, 89, .12);
  outline: none;
}

.avs-cl-login .button-primary,
.avs-cl-login input[type=submit] {
  background: var(--cl-grad);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 11px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(165, 128, 89, .3);
}

.avs-cl-login .login-remember label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

@media (prefers-reduced-motion: no-preference) {
  .avs-cl-toast {
    transition: opacity .2s, transform .2s;
  }
  .avs-cl-check,
  .avs-cl-status {
    transition: background .15s, border-color .15s;
  }
}

@media (max-width: 600px) {
  .avs-cl-toolbar > * {
    flex: 1 1 100%;
  }
  .avs-cl-item {
    padding: 12px 10px;
    gap: 10px;
  }
}

.avs-cl .avs-cl-tasklink {
  display: inline-block;
  margin-top: 2px;
  background: var(--cl-ok-soft);
  color: var(--cl-ok);
  border: 0;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
}

.avs-cl-person.v0 {
  --v: var(--cl-v0);
}

.avs-cl-person.v1 {
  --v: var(--cl-v1);
}

.avs-cl-person.v2 {
  --v: var(--cl-v2);
}

.avs-cl-person.v3 {
  --v: var(--cl-v3);
}

.avs-cl-team tr.avs-cl-person > td {
  background: var(--row-bg, var(--cl-surface));
  border-bottom-color: var(--cl-line-2);
}

.avs-cl-team tr.avs-cl-person > td:first-child {
  box-shadow: inset 4px 0 0 var(--v);
}

.avs-cl-team tr.avs-cl-person > td.avs-cl-daycell.is-show {
  background-image: linear-gradient(rgba(165, 128, 89, .05), rgba(165, 128, 89, .05));
}

.avs-cl-team tr.avs-cl-person > td.avs-cl-daycell.is-build {
  background-image: linear-gradient(rgba(245, 158, 11, .05), rgba(245, 158, 11, .05));
}

.avs-cl-phone {
  display: block;
  color: var(--cl-muted);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.avs-cl-phone:hover {
  color: var(--cl-accent);
  text-decoration: underline;
}

.avs-cl-short,
.avs-cl-name .avs-cl-role-inline,
.avs-cl-name .avs-cl-shirt-inline {
  display: none;
}

.avs-cl-person-name {
  font-weight: 600;
  color: var(--cl-ink);
}

.avs-cl-team .avs-cl-actions-col {
  width: 1%;
}

.avs-cl-actions-cell {
  width: 1%;
  white-space: nowrap;
}

.avs-cl-team td {
  vertical-align: middle;
}

.avs-cl-team td.avs-cl-role,
.avs-cl-team td.avs-cl-name {
  vertical-align: top;
}

@media (hover: hover) {
  .avs-cl-team tbody tr.avs-cl-person:hover > td {
    background-color: color-mix(in srgb, var(--v) 16%, #ffffff);
  }
}

.avs-cl-counts tbody tr:hover > * {
  background: var(--cl-bg);
}

.avs-cl.avs-cl-picker {
  position: fixed;
  z-index: 100002;
  width: 390px;
  max-width: calc(100vw - 16px);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  background: var(--cl-surface);
  border: 1px solid var(--cl-line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(22, 32, 42, .22);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.avs-cl-picker-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}

.avs-cl-picker-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.avs-cl.avs-cl-picker .avs-cl-picker-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--cl-line);
  border-radius: 10px;
  background: var(--cl-surface);
  color: var(--cl-ink);
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  min-height: 44px;
  box-shadow: none;
}

.avs-cl.avs-cl-picker .avs-cl-picker-option:hover {
  background: var(--cl-bg);
}

.avs-cl.avs-cl-picker .avs-cl-picker-option.is-current {
  border-color: var(--cl-accent);
  box-shadow: inset 0 0 0 1px var(--cl-accent);
  background: var(--cl-accent-soft);
}

.avs-cl-picker-option .avs-cl-status {
  width: 28px;
  height: 26px;
  font-size: 13px;
  flex: 0 0 auto;
  pointer-events: none;
}

.avs-cl-picker-label {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.2;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.avs-cl.avs-cl-picker .avs-cl-picker-option {
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
}

.avs-cl-picker .avs-cl-input {
  font-size: 14px;
  line-height: 1.4;
  height: auto;
  margin: 0;
  box-shadow: none;
}

.avs-cl-picker-key {
  flex: 0 0 auto;
  font: 11px ui-monospace, Menlo, Consolas, monospace;
  color: var(--cl-muted);
  border: 1px solid var(--cl-line);
  border-radius: 4px;
  padding: 0 4px;
}

.avs-cl-picker .avs-cl-input {
  width: 100%;
}

.avs-cl.avs-cl-picker .avs-cl-picker-all {
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  min-height: 38px;
  padding: 8px 12px;
}

@media (max-width: 720px) {
  .avs-cl {
    font-size: 15px;
  }

  .avs-cl-full {
    display: none;
  }

  .avs-cl-short {
    display: inline;
  }

  .avs-cl-counts th,
  .avs-cl-counts td {
    padding: 6px 4px;
  }

  .avs-cl-counts tbody th {
    padding-left: 8px;
  }

  .avs-cl-count-date {
    display: none;
  }

  .avs-cl-counts .avs-cl-daykind {
    display: none;
  }

  .avs-cl-counts thead th {
    font-size: 11px;
    letter-spacing: 0;
  }

  .avs-cl-legend {
    font-size: 12px;
  }

  #avs-cl-team .avs-cl-scroll {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .avs-cl-team,
  .avs-cl-team tbody {
    display: block;
    width: 100%;
  }

  .avs-cl-team thead {
    display: none;
  }

  .avs-cl-team tr.avs-cl-venue-row {
    display: block;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    margin-top: 16px;
  }

  .avs-cl-team tr.avs-cl-venue-row th {
    display: block;
    padding: 10px 12px;
  }

  .avs-cl-team tr.avs-cl-person {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background: var(--row-bg);
    border-bottom: 1px solid var(--cl-line);
    box-shadow: inset 4px 0 0 var(--v);
    padding: 12px 10px 10px 14px;
  }

  .avs-cl-team tr.avs-cl-person > td,
  .avs-cl-team tr.avs-cl-person > td:first-child,
  .avs-cl-team tr.avs-cl-person > td.avs-cl-daycell.is-show,
  .avs-cl-team tr.avs-cl-person > td.avs-cl-daycell.is-build {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .avs-cl-team td.avs-cl-role {
    display: none;
  }

  .avs-cl-name .avs-cl-role-inline {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: color-mix(in srgb, var(--v) 70%, #0D0E20);
  }

  .avs-cl-team td.avs-cl-name {
    order: 1;
    flex: 1 0 calc(100% - 96px);
    min-width: 0;
    padding: 0 4px 8px;
  }

  .avs-cl-name .avs-cl-shirt-inline {
    display: block;
    font-size: 12px;
    opacity: .8;
  }

  .avs-cl-team td.avs-cl-shirt {
    display: none;
  }

  .avs-cl-team td.avs-cl-actions-cell {
    order: 2;
    flex: 0 0 96px;
    width: auto;
    text-align: right;
  }

  .avs-cl-team td.avs-cl-actions-cell .avs-cl-item-actions {
    justify-content: flex-end;
  }

  .avs-cl-team td.avs-cl-daycell {
    order: 4;
    flex: 1 1 calc(20% - 4px);
    min-width: 0;
    padding: 0 2px;
    text-align: center;
  }

  .avs-cl-team td.avs-cl-daycell::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 3px;
    white-space: nowrap;
  }

  .avs-cl .avs-cl-status {
    width: 100%;
    max-width: 48px;
    height: 38px;
  }

  .avs-cl .avs-cl-daynote {
    max-width: 100%;
  }

  .avs-cl-name {
    min-width: 0;
  }

  .avs-cl .avs-cl-icon {
    padding: 6px 9px;
  }

  .avs-cl-modal {
    --mp: 16px;
  }

  .avs-cl-overlay {
    align-items: end;
    padding: 0;
  }

  .avs-cl-overlay .avs-cl-modal {
    width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .avs-cl-overlay .avs-cl-modal.has-actions {
    padding-bottom: 0;
  }

  .avs-cl-modal-head {
    padding-top: 12px;
    gap: 10px;
    border-bottom-color: var(--cl-line);
    margin-bottom: 12px;
  }

  .avs-cl-modal-head::before {
    content: '';
    align-self: center;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--cl-line);
  }

  .avs-cl-modal-title {
    font-size: 17px;
  }

  .avs-cl .avs-cl-modal-close {
    width: 40px;
    height: 40px;
    margin: -6px -8px 0 0;
    background: var(--cl-line-2);
  }

  .avs-cl .avs-cl-modal-tabs .avs-cl-seg-btn {
    padding: 8px 6px;
    font-size: 13px;
  }

  .avs-cl-overlay .avs-cl-modal input:not([type=checkbox]):not([type=radio]):not([type=file]),
  .avs-cl-overlay .avs-cl-modal select,
  .avs-cl-overlay .avs-cl-modal textarea {
    font-size: 16px !important;
    min-height: 44px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .avs-cl-overlay .avs-cl-modal textarea {
    min-height: 88px;
  }

  .avs-cl-overlay .avs-cl-modal .avs-cl-row {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }

  .avs-cl-overlay .avs-cl-modal .avs-cl-checkfield {
    min-height: 44px;
  }

  .avs-cl-overlay .avs-cl-modal .avs-cl-checkfield input[type=checkbox] {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
  }

  .avs-cl-overlay .avs-cl-modal .avs-cl-presets-compact {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--mp));
    padding: 2px var(--mp);
  }

  .avs-cl-overlay .avs-cl-modal .avs-cl-presets-compact::-webkit-scrollbar {
    display: none;
  }

  .avs-cl-overlay .avs-cl-modal .avs-cl-presets-compact .avs-cl-preset {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 13px;
    padding: 7px 11px;
  }

  .avs-cl-overlay .avs-cl-modal .avs-cl-presets-label {
    flex-basis: auto;
    flex: 0 0 auto;
    align-self: center;
  }

  .avs-cl-modal.has-actions .avs-cl-modal-actions .avs-cl-btn {
    min-height: 48px;
    font-size: 16px;
  }

  .avs-cl-modal-actions .avs-cl-btn {
    flex: 1 1 0;
  }

  .avs-cl-tabs {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 5;
  }

  .avs-cl-tab {
    flex: 1 1 0;
  }

  .avs-cl.avs-cl-picker.is-sheet {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    font-size: 15px;
    width: 100%;
    max-width: none;
    border-radius: 14px 14px 0 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .avs-cl-picker-key {
    display: none;
  }

  .avs-cl-picker-option {
    min-height: 52px;
    font-size: 15px;
  }
}

.avs-cl-chip-range {
  background: #eef0f3;
  color: var(--cl-ink);
  font-variant-numeric: tabular-nums;
}

.avs-cl-chip-range.is-active {
  background: var(--cl-warn-soft);
  color: var(--cl-warn);
  font-weight: 600;
}

.avs-cl-admin h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-left: 4px solid #D3B191;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(13, 14, 32, .04), 0 4px 18px rgba(13, 14, 32, .05);
  padding: 16px 20px;
  margin: 12px 0 18px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #0D0E20;
}

.avs-cl-admin h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0D0E20;
  margin-top: 28px;
}

.avs-cl-admin h2::before {
  content: '';
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, #D3B191, #A58059);
}

.avs-cl-admin a {
  color: #A58059;
}

.avs-cl-admin .button {
  border-radius: 8px;
  border-color: #e6e9ee;
  color: #0D0E20;
  background: #fff;
}

.avs-cl-admin .button:hover {
  border-color: #D3B191;
  color: #8A6A49;
  background: rgba(165, 128, 89, .10);
}

.avs-cl-admin .button-primary {
  background: linear-gradient(135deg, #D3B191, #A58059);
  border: none;
  color: #04363a;
  font-weight: 700;
  text-shadow: none;
  box-shadow: 0 4px 12px rgba(165, 128, 89, .28);
}

.avs-cl-admin .button-primary:hover,
.avs-cl-admin .button-primary:focus {
  background: linear-gradient(135deg, #C6A078, #8A6A49);
  color: #04363a;
}

.avs-cl-admin input[type=text],
.avs-cl-admin textarea,
.avs-cl-admin select {
  border-radius: 8px;
  border: 1px solid #e6e9ee;
  box-shadow: 0 2px 5px rgba(13, 14, 32, .04);
}

.avs-cl-admin input:focus,
.avs-cl-admin textarea:focus,
.avs-cl-admin select:focus {
  border-color: #D3B191;
  box-shadow: 0 0 0 3px rgba(165, 128, 89, .12);
  outline: none;
}

.avs-cl-admin code {
  background: #f1f3f6;
  border-radius: 6px;
  padding: 2px 6px;
  color: #0D0E20;
}

.avs-cl-admin .form-table th {
  color: #0D0E20;
  font-weight: 600;
}

.avs-cl-done-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--cl-ok-soft);
  font-size: 12px;
}

.avs-cl-done-meta {
  font-weight: 700;
  color: var(--cl-ok);
  white-space: nowrap;
}

.avs-cl-done-note {
  color: var(--cl-ink);
  overflow-wrap: anywhere;
}

.avs-cl-item.is-done .avs-cl-done-note {
  text-decoration: none;
}

.avs-cl-done-task {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--cl-line-2);
  border-left: 4px solid var(--cl-bright);
  color: var(--cl-ink);
}

.avs-cl-done-task-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--cl-muted);
}

.avs-cl-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.avs-cl .avs-cl-preset {
  border: 1px solid var(--cl-line);
  background: #fff;
  color: var(--cl-accent-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.avs-cl-preset:hover {
  border-color: var(--cl-bright);
  background: var(--cl-accent-soft);
}

.avs-cl-field[hidden] {
  display: none;
}

.avs-cl-chip-type {
  border: 1px solid transparent;
}

.avs-cl-chip-type.t0 {
  background: rgba(165, 128, 89, .12);
  color: #8A6A49;
  border-color: rgba(165, 128, 89, .35);
}

.avs-cl-chip-type.t1 {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe;
}

.avs-cl-chip-type.t2 {
  background: #fff7e6;
  color: #b45309;
  border-color: #fde68a;
}

.avs-cl-chip-type.t3 {
  background: #fdf2f8;
  color: #9d174d;
  border-color: #fbcfe8;
}

.avs-cl-chip-type.t4 {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.avs-cl-chip-type.t5 {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}

.avs-cl-chip-type.t6 {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.avs-cl-datepresets {
  margin-top: -4px;
}

.avs-cl-datepreset {
  font-size: 12px;
  padding: 5px 11px;
}

.avs-cl-preset.is-current {
  background: var(--cl-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 10px rgba(165, 128, 89, .25);
}

.avs-cl-people {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.avs-cl-people-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
  align-items: center;
}

.avs-cl-person-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 4px 11px;
  border-radius: 999px;
  background: var(--cl-ok-soft);
  color: var(--cl-ok);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.avs-cl .avs-cl-person-chip-x {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.avs-cl-person-chip-x:hover {
  background: rgba(27, 138, 58, .18);
}

.avs-cl-people .avs-cl-select {
  width: 100%;
}

.avs-cl-daykind {
  display: block;
  width: max-content;
  margin: 4px auto 0;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.avs-cl-daykind.is-show {
  background: var(--cl-grad);
  color: #fff;
}

.avs-cl-daykind.is-setup {
  background: #e2e8f0;
  color: var(--cl-muted);
}

.avs-cl-counts thead th.is-show,
.avs-cl-team thead th.is-show {
  background: rgba(165, 128, 89, .10);
  color: var(--cl-accent-2);
}

.avs-cl-daykind.is-build {
  background: #fef3c7;
  color: #92400e;
}

.avs-cl-counts thead th.is-build,
.avs-cl-team thead th.is-build {
  background: #fffbeb;
  color: #92400e;
}

.avs-cl-chip-time {
  background: var(--cl-ink);
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.avs-cl-item.is-done .avs-cl-chip-time {
  background: var(--cl-done);
}

.avs-cl-timepreset {
  font-size: 12px;
  padding: 5px 11px;
}

.avs-cl .avs-cl-time {
  font-variant-numeric: tabular-nums;
}

.avs-cl-hint {
  margin: -6px 0 0;
  font-size: 12px;
  color: var(--cl-muted);
}

.avs-cl-row-time {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.avs-cl-sdays {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin-bottom: 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.avs-cl-sday {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: center;
  gap: 2px;
  min-width: 64px;
  padding: 8px 10px 9px;
  border: 1px solid var(--cl-line);
  border-radius: 12px;
  background: var(--cl-surface);
  color: var(--cl-ink);
  font-family: inherit;
  line-height: 1.1;
  text-transform: none;
  box-shadow: var(--cl-shadow);
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.avs-cl-sday:hover {
  border-color: var(--cl-bright);
}

.avs-cl-sday.is-past {
  opacity: .6;
}

.avs-cl-sday.is-build {
  background: #fffbeb;
  border-color: #fde68a;
}

.avs-cl-sday.is-show {
  background: rgba(165, 128, 89, .08);
  border-color: rgba(165, 128, 89, .45);
}

.avs-cl-sday.is-today .avs-cl-sday-name::after {
  content: ' · dziś';
  color: var(--cl-accent);
}

.avs-cl-sday.is-current {
  background: var(--cl-grad);
  border-color: transparent;
  color: #fff;
  opacity: 1;
  box-shadow: 0 6px 16px rgba(165, 128, 89, .3);
}

.avs-cl-sday.is-current .avs-cl-sday-name,
.avs-cl-sday.is-current .avs-cl-sday-name::after {
  color: #fff;
}

.avs-cl-sday-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--cl-muted);
}

.avs-cl-sday-date {
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.avs-cl-sday-count {
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--cl-accent-soft);
  color: var(--cl-accent-2);
}

.avs-cl-sday-count.is-zero {
  background: transparent;
  color: var(--cl-done);
}

.avs-cl-sday.is-current .avs-cl-sday-count {
  background: rgba(255, 255, 255, .25);
  color: #fff;
}

#avs-cl-schedule {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.avs-cl-slot {
  display: grid;
  grid-template-columns: 76px 1fr;
  border-top: 1px solid var(--cl-line-2);
  margin: 0;
}

.avs-cl-slot:first-child {
  border-top: 0;
}

.avs-cl-slot .avs-cl-item {
  border-top: 0;
  padding-left: 12px;
}

.avs-cl-slot-time {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 1px;
  padding: 14px 12px 14px 8px;
  border-right: 3px solid var(--cl-bright);
  background: var(--cl-line-2);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.avs-cl-slot-time strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--cl-ink);
}

.avs-cl-slot-time span {
  font-size: 12px;
  color: var(--cl-muted);
}

.avs-cl-slot-phase {
  margin-top: 4px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cl-accent-2);
}

.avs-cl-slot-phase.is-end {
  color: var(--cl-warn);
}

.avs-cl-slot.is-now .avs-cl-slot-time {
  background: rgba(165, 128, 89, .14);
  border-right-color: var(--cl-accent);
}

.avs-cl-slot.is-late .avs-cl-slot-time {
  border-right-color: var(--cl-no);
}

.avs-cl-slot.is-late .avs-cl-slot-time strong {
  color: var(--cl-no);
}

.avs-cl-slot:has(.avs-cl-item.is-done) .avs-cl-slot-time {
  border-right-color: var(--cl-done);
  opacity: .7;
}

@media (max-width: 600px) {
  .avs-cl-slot {
    grid-template-columns: 62px 1fr;
  }
  .avs-cl-slot-time {
    padding: 12px 8px 12px 6px;
  }
  .avs-cl-slot-time strong {
    font-size: 15px;
  }
  .avs-cl-slot .avs-cl-item {
    padding-left: 10px;
  }
  .avs-cl-sday {
    min-width: 58px;
    padding: 7px 8px;
  }
}

@media print {
  .avs-cl-tabs,
  .avs-cl-toolbar,
  .avs-cl-userbar,
  .avs-cl-syncline,
  .avs-cl-item-actions,
  .avs-cl-sdays,
  .avs-cl-stats,
  .avs-cl-viewbar,
  .avs-cl-daynav,
  .avs-cl-chevron,
  .avs-cl-toast {
    display: none !important;
  }
  .avs-cl-list {
    box-shadow: none;
    break-inside: auto;
  }
  .avs-cl-slot {
    break-inside: avoid;
  }
}

.avs-cl-datepresets {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.avs-cl-presets-compact {
  gap: 4px;
}

.avs-cl-presets-compact .avs-cl-preset {
  font-size: 11.5px;
  padding: 3px 9px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.avs-cl-presets-compact .avs-cl-preset.is-current {
  box-shadow: 0 2px 6px rgba(165, 128, 89, .25);
}

.avs-cl-presets-fair {
  align-items: center;
}

.avs-cl-presets-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cl-muted);
  margin-right: 2px;
}

.avs-cl-presets-fair .avs-cl-preset.is-build:not(.is-current) {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.avs-cl-presets-fair .avs-cl-preset.is-show:not(.is-current) {
  background: rgba(165, 128, 89, .08);
  border-color: rgba(165, 128, 89, .45);
}

@media (max-width: 600px) {
  .avs-cl-presets-label {
    flex-basis: 100%;
  }
}

.avs-cl-dp {
  position: relative;
}

.avs-cl .avs-cl-dp-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}

.avs-cl-dp-text.is-empty {
  color: var(--cl-done);
}

.avs-cl-dp-icon {
  color: var(--cl-accent);
  font-size: 12px;
}

.avs-cl-cal {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  width: 296px;
  max-width: calc(100vw - 32px);
  padding: 12px;
  background: #fff;
  border: 1px solid var(--cl-line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(13, 14, 32, .18);
  font-size: 13px;
}

.avs-cl-field:last-child .avs-cl-cal {
  left: auto;
  right: 0;
}

.avs-cl-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.avs-cl-cal-title {
  font-size: 14px;
  color: var(--cl-ink);
}

.avs-cl .avs-cl-cal-nav {
  width: 32px;
  height: 32px;
  border: 1px solid var(--cl-line);
  border-radius: 8px;
  background: #fff;
  color: var(--cl-accent-2);
  font-size: 18px;
  line-height: 1;
  padding: 0;
}

.avs-cl-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 3px;
}

.avs-cl-cal-dow {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--cl-muted);
  padding-bottom: 4px;
}

.avs-cl .avs-cl-cal-day {
  position: relative;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cl-ink);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-transform: none;
  cursor: pointer;
}

.avs-cl-cal-day span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 2px auto;
  border-radius: 9px;
  transition: background .12s;
}

.avs-cl-cal-day:hover span {
  background: var(--cl-accent-soft);
}

.avs-cl-cal-day.is-out {
  color: var(--cl-done);
}

.avs-cl-cal-day:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

.avs-cl-cal-day:disabled span {
  background: transparent;
  opacity: .55;
}

.avs-cl-cal-day.is-fair {
  background: rgba(165, 128, 89, .09);
}

.avs-cl-cal-day.is-fair-start {
  border-radius: 10px 0 0 10px;
}

.avs-cl-cal-day.is-fair-end {
  border-radius: 0 10px 10px 0;
}

.avs-cl-cal-day.is-fair::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cl-bright);
}

.avs-cl-cal-day.is-fair-start::after {
  left: 6px;
}

.avs-cl-cal-day.is-fair-end::after {
  right: 6px;
}

.avs-cl-cal-day.is-build span {
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
}

.avs-cl-cal-day.is-show span {
  background: rgba(165, 128, 89, .22);
  color: var(--cl-accent-2);
  font-weight: 800;
  box-shadow: inset 0 0 0 1.5px var(--cl-bright);
}

.avs-cl-cal-day.is-inrange span {
  background: rgba(13, 14, 32, .06);
}

.avs-cl-cal-day.is-edge span {
  box-shadow: inset 0 0 0 2px var(--cl-accent);
}

.avs-cl-cal-day.is-today span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.avs-cl-cal-day.is-selected span {
  background: var(--cl-grad);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(165, 128, 89, .35);
}

.avs-cl-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--cl-line-2);
  font-size: 11px;
  color: var(--cl-muted);
}

.avs-cl-cal-key {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.avs-cl-cal-key::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.avs-cl-cal-key.is-fair::before {
  background: rgba(165, 128, 89, .09);
  border-bottom: 2px solid var(--cl-bright);
  border-radius: 3px 3px 0 0;
}

.avs-cl-cal-key.is-build::before {
  background: #fef3c7;
}

.avs-cl-cal-key.is-show::before {
  background: rgba(165, 128, 89, .22);
  box-shadow: inset 0 0 0 1.5px var(--cl-bright);
}

.avs-cl-cal-actions {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
}

.avs-cl-cal-actions .avs-cl-preset {
  font-size: 12px;
  padding: 4px 10px;
}

@media (max-width: 600px) {
  .avs-cl-cal,
  .avs-cl-field:last-child .avs-cl-cal {
    position: fixed;
    top: auto;
    left: 50%;
    right: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: calc(100vw - 24px);
    max-width: 360px;
    z-index: 100001;
  }
  .avs-cl .avs-cl-cal-day {
    height: 42px;
  }
  .avs-cl-cal-day span {
    width: 38px;
    height: 38px;
  }
}

.avs-cl-timepresets {
  margin-top: -4px;
}

.avs-cl-toolbar.avs-cl-toolbar-tasks,
.avs-cl-toolbar.avs-cl-toolbar-sched {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.avs-cl-toolbar-tasks .avs-cl-search {
  width: 100%;
}

.avs-cl-filters {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.avs-cl-filters .avs-cl-select {
  width: 100%;
  font-size: 13px;
  min-height: 36px;
  padding: 7px 10px;
  color: var(--cl-body);
}

.avs-cl-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.avs-cl .avs-cl-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--cl-line);
  border-radius: 12px;
  background: var(--cl-surface);
  box-shadow: var(--cl-shadow);
  text-align: left;
  color: var(--cl-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.avs-cl .avs-cl-stat:hover {
  transform: translateY(-1px);
  border-color: var(--cl-bright);
}

.avs-cl-stat strong {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--cl-ink);
  font-variant-numeric: tabular-nums;
}

.avs-cl-stat span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.avs-cl-stat.is-overdue strong {
  color: var(--cl-no);
}

.avs-cl-stat.is-soon strong {
  color: var(--cl-warn);
}

.avs-cl-stat.is-week strong {
  color: var(--cl-accent);
}

.avs-cl-stat.is-done strong {
  color: var(--cl-ok);
}

.avs-cl-stat.is-zero strong {
  color: #cbd5e1;
}

.avs-cl .avs-cl-stat.is-current {
  border-color: var(--cl-accent);
  background: linear-gradient(180deg, rgba(165, 128, 89, .10), rgba(165, 128, 89, .02));
  box-shadow: 0 0 0 3px rgba(165, 128, 89, .14);
  color: var(--cl-accent-2);
}

.avs-cl-stat.is-overdue.is-current {
  border-color: var(--cl-no);
  background: linear-gradient(180deg, rgba(185, 28, 28, .08), rgba(185, 28, 28, .01));
  box-shadow: 0 0 0 3px rgba(185, 28, 28, .10);
  color: var(--cl-no);
}

.avs-cl-viewbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.avs-cl-viewbar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.avs-cl-viewbar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cl-muted);
}

.avs-cl-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: var(--cl-line-2);
  border: 1px solid var(--cl-line);
}

.avs-cl .avs-cl-seg-btn {
  border: 0;
  background: transparent;
  color: var(--cl-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: none;
  transition: background .15s, color .15s;
}

.avs-cl .avs-cl-seg-btn:hover {
  color: var(--cl-ink);
}

.avs-cl .avs-cl-seg-btn.is-current {
  background: #fff;
  color: var(--cl-accent-2);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(13, 14, 32, .10);
}

.avs-cl .avs-cl-linkbtn {
  border: 0;
  background: transparent;
  padding: 4px 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cl-accent);
  box-shadow: none;
}

.avs-cl .avs-cl-linkbtn:hover {
  color: var(--cl-accent-2);
  text-decoration: underline;
}

#avs-cl-tasklist {
  gap: 18px;
}

#avs-cl-tasklist > .avs-cl-summary {
  margin: -6px 0 -8px;
  font-size: 12px;
}

.avs-cl .avs-cl-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--cl-ink);
  box-shadow: none;
}

.avs-cl-chevron {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: var(--cl-muted);
  font-size: 18px;
  line-height: 1;
  transform: rotate(90deg);
  transition: transform .2s, background .15s;
}

.avs-cl-group-head:hover .avs-cl-chevron {
  background: var(--cl-line-2);
  color: var(--cl-ink);
}

.avs-cl-group.is-collapsed .avs-cl-chevron {
  transform: rotate(0deg);
}

.avs-cl-group-title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.avs-cl-group-title .avs-cl-daykind {
  display: inline-block;
  margin: 0;
  font-size: 10px;
}

.avs-cl-type-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.avs-cl-type-dot.t0 { color: #A58059; }
.avs-cl-type-dot.t1 { color: #4338ca; }
.avs-cl-type-dot.t2 { color: #b45309; }
.avs-cl-type-dot.t3 { color: #9d174d; }
.avs-cl-type-dot.t4 { color: #047857; }
.avs-cl-type-dot.t5 { color: #334155; }
.avs-cl-type-dot.t6 { color: #b91c1c; }

.avs-cl-progress {
  flex: 0 0 80px;
  height: 6px;
  border-radius: 999px;
  background: var(--cl-line);
  overflow: hidden;
}

.avs-cl-progress-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--cl-grad);
}

.avs-cl-group-meta {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cl-line-2);
  color: var(--cl-muted);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.avs-cl-group-meta.is-soon {
  background: var(--cl-warn-soft);
  color: var(--cl-warn);
}

.avs-cl-group-meta.is-late {
  background: var(--cl-no-soft);
  color: var(--cl-no);
}

.avs-cl-group.is-collapsed .avs-cl-group-head {
  padding: 10px 12px;
  border: 1px solid var(--cl-line);
  border-radius: 12px;
  background: var(--cl-surface);
  box-shadow: var(--cl-shadow);
}

.avs-cl-group.is-collapsed .avs-cl-group-title {
  font-size: 15px;
}

.avs-cl-item.is-late {
  box-shadow: inset 3px 0 0 var(--cl-no);
}

.avs-cl-item.is-late .avs-cl-check {
  border-color: var(--cl-no);
}

.avs-cl-chip-date {
  background: #f1f5f9;
  color: var(--cl-ink);
  font-variant-numeric: tabular-nums;
}

.avs-cl-chip-date.is-late {
  background: var(--cl-no-soft);
  color: var(--cl-no);
}

@media (min-width: 721px) {
  .avs-cl-dense .avs-cl-item {
    padding: 9px 14px 9px 16px;
    gap: 12px;
    align-items: center;
  }
  .avs-cl-dense .avs-cl-check {
    margin-top: 0;
  }
  .avs-cl-dense .avs-cl-item-body {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
  }
  .avs-cl-dense .avs-cl-item-title {
    flex: 0 1 auto;
    max-width: 100%;
    font-size: 14px;
  }
  .avs-cl-dense .avs-cl-item-note {
    flex: 1 1 160px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12.5px;
  }
  .avs-cl-dense .avs-cl-chips {
    margin: 0 0 0 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
  }
  .avs-cl-dense .avs-cl-chip {
    font-size: 11px;
    padding: 4px 8px;
  }
  .avs-cl-dense .avs-cl-done-line {
    flex: 1 1 100%;
    order: 5;
  }
  .avs-cl-dense .avs-cl-item-actions {
    align-self: center;
  }
}

@media (max-width: 900px) {
  .avs-cl-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .avs-cl-toolbar.avs-cl-toolbar-tasks,
  .avs-cl-toolbar.avs-cl-toolbar-sched {
    grid-template-columns: 1fr;
  }
  .avs-cl-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .avs-cl-stats {
    display: flex;
    overflow-x: auto;
    padding: 2px 2px 6px;
    scroll-snap-type: x proximity;
  }
  .avs-cl .avs-cl-stat {
    flex: 0 0 auto;
    min-width: 104px;
    scroll-snap-align: start;
  }
  .avs-cl-viewbar {
    align-items: stretch;
  }
  .avs-cl-viewbar-group {
    width: 100%;
    justify-content: space-between;
  }
  .avs-cl-progress {
    display: none;
  }
  .avs-cl-group-title {
    font-size: 16px;
  }
}

.avs-cl-filters.is-inline {
  grid-column: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.avs-cl-toolbar-actions {
  display: flex;
  gap: 8px;
}

.avs-cl-stats.avs-cl-stats-sched {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.avs-cl-sched-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.avs-cl-sched-head .avs-cl-sched-daytitle {
  flex: 0 1 auto;
  margin: 0;
  font-size: 22px;
}

.avs-cl-sched-head .avs-cl-group-meta {
  margin-left: auto;
}

.avs-cl .avs-cl-daynav {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--cl-line);
  border-radius: 10px;
  background: var(--cl-surface);
  color: var(--cl-accent-2);
  font-size: 20px;
  line-height: 1;
  box-shadow: var(--cl-shadow);
}

.avs-cl .avs-cl-daynav:hover:not(:disabled) {
  border-color: var(--cl-bright);
  background: var(--cl-accent-soft);
}

.avs-cl .avs-cl-daynav:disabled {
  opacity: .35;
  cursor: default;
}

.avs-cl-group-title.is-section {
  flex-wrap: nowrap;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
}

.avs-cl-group-title.is-section::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cl-bright);
}

.avs-cl-group-title.is-late::before {
  background: var(--cl-no);
}

.avs-cl-group-title.is-allday::before {
  background: #94a3b8;
}

.avs-cl-group-title.is-ongoing::before {
  background: var(--cl-warn);
}

.avs-cl-sday.is-week-start {
  margin-left: 10px;
}

@media (min-width: 721px) {
  .avs-cl-dense .avs-cl-slot {
    grid-template-columns: 92px 1fr;
  }
  .avs-cl-dense .avs-cl-slot-time {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    column-gap: 2px;
    padding: 10px 12px 10px 6px;
  }
  .avs-cl-dense .avs-cl-slot-time strong {
    font-size: 14px;
  }
  .avs-cl-dense .avs-cl-slot-phase {
    flex-basis: 100%;
    text-align: right;
    margin-top: 1px;
  }
}

@media (max-width: 600px) {
  .avs-cl-filters.is-inline {
    grid-template-columns: 1fr;
  }
  .avs-cl-toolbar-actions .avs-cl-btn {
    flex: 1 1 0;
  }
  .avs-cl-stats.avs-cl-stats-sched {
    display: flex;
  }
  .avs-cl-sched-head .avs-cl-sched-daytitle {
    font-size: 18px;
  }
  .avs-cl-sched-head .avs-cl-group-meta {
    margin-left: 0;
  }
}

.avs-cl-chip-venue {
  gap: 5px;
  background: #f1f5f9;
  color: var(--cl-ink);
}

.avs-cl-chip-venue .avs-cl-dot {
  width: 7px;
  height: 7px;
}

.avs-cl-notes {
  --cl-note: #d89b00;
  --cl-note-ink: #8a6200;
  --cl-note-soft: #fff4cc;
  --cl-note-hi: #ffe58f;
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  min-height: 72vh;
  background: var(--cl-surface);
  border: 1px solid var(--cl-line);
  border-radius: 16px;
  box-shadow: var(--cl-shadow);
  overflow: hidden;
}

.avs-cl-notes-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 12px 0 0;
  background: #f7f6f2;
  border-right: 1px solid var(--cl-line);
}

.avs-cl-notes-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.avs-cl-notes-folder {
  flex: 1 1 auto;
  min-width: 0;
}

.avs-cl-notes-folder .avs-cl-select {
  width: 100%;
  font-weight: 700;
  font-size: 15px;
  color: var(--cl-ink);
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
  padding-left: 6px;
}

.avs-cl-notes-folder .avs-cl-select:hover {
  background-color: #fff;
  border-color: var(--cl-line);
}

.avs-cl .avs-cl-note-new {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--cl-note);
  box-shadow: none;
}

.avs-cl .avs-cl-note-new:hover {
  background: var(--cl-note-soft);
}

.avs-cl-notes-side .avs-cl-search {
  margin: 0 12px;
  width: auto;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #ecebe6;
  border-color: transparent;
  box-shadow: none;
}

.avs-cl-notes-side .avs-cl-search:focus {
  background: #fff;
  border-color: var(--cl-note);
  box-shadow: 0 0 0 3px rgba(216, 155, 0, .15);
}

.avs-cl-notes-items {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: calc(72vh - 150px);
  padding: 0 12px 12px;
}

.avs-cl-notes-group {
  margin: 14px 4px 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cl-ink);
}

.avs-cl-notes-group:first-child {
  margin-top: 4px;
}

.avs-cl-notes-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(13, 14, 32, .05);
}

.avs-cl-notes-ul li {
  margin: 0;
  border-top: 1px solid #efeee9;
}

.avs-cl-notes-ul li:first-child {
  border-top: 0;
}

.avs-cl .avs-cl-note-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cl-ink);
  text-align: left;
  box-shadow: none;
  line-height: 1.3;
}

.avs-cl .avs-cl-note-item:hover {
  background: #faf9f5;
}

.avs-cl .avs-cl-note-item.is-active {
  background: var(--cl-note-hi);
}

.avs-cl-note-title {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avs-cl-note-sub {
  display: flex;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
}

.avs-cl-note-date {
  flex: 0 0 auto;
  color: var(--cl-ink);
  font-variant-numeric: tabular-nums;
}

.avs-cl-note-preview {
  min-width: 0;
  color: var(--cl-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avs-cl-note-folder {
  font-size: 12px;
  color: var(--cl-muted);
}

.avs-cl-note-folder::before {
  content: '';
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 5px;
  vertical-align: -1px;
  background-color: var(--cl-note);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2.6' y='2.6' width='10.8' height='10.8' rx='2.4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2.6' y='2.6' width='10.8' height='10.8' rx='2.4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.avs-cl-notes-empty {
  margin: 24px 8px;
  color: var(--cl-muted);
  text-align: center;
}

.avs-cl-notes-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 12px;
  padding: 10px 12px;
  border-top: 1px solid var(--cl-line);
  font-size: 12px;
  color: var(--cl-muted);
}

.avs-cl-notes-hint {
  flex-basis: 100%;
  text-align: center;
}

.avs-cl .avs-cl-danger-link {
  color: var(--cl-no);
}

.avs-cl .avs-cl-danger-link.is-armed {
  font-weight: 700;
}

.avs-cl-folder-prompt {
  display: flex;
  align-items: center;
  gap: 6px;
}

.avs-cl-folder-prompt .avs-cl-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 36px;
  padding: 6px 10px;
}

.avs-cl-folder-prompt .avs-cl-btn {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
}

.avs-cl-note-editor {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}

.avs-cl-note-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--cl-line-2);
}

.avs-cl .avs-cl-note-back {
  display: none;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: var(--cl-note);
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
}

.avs-cl-note-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
}

.avs-cl-note-status {
  font-size: 12px;
  color: var(--cl-muted);
  min-width: 70px;
  text-align: right;
}

.avs-cl .avs-cl-nbtn {
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--cl-note-ink);
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}

.avs-cl .avs-cl-nbtn:hover {
  background: var(--cl-note-soft);
}

.avs-cl .avs-cl-nbtn.is-on {
  background: var(--cl-note-soft);
}

.avs-cl .avs-cl-nbtn.is-danger {
  color: var(--cl-no);
}

.avs-cl .avs-cl-nbtn.is-danger:hover {
  background: var(--cl-no-soft);
}

.avs-cl-note-folderbox .avs-cl-select {
  min-height: 32px;
  padding: 4px 8px;
  font-size: 13px;
  border-radius: 8px;
  box-shadow: none;
}

.avs-cl-ntoolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--cl-line-2);
}

.avs-cl .avs-cl-ntool {
  min-width: 34px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--cl-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
}

.avs-cl .avs-cl-ntool:hover {
  background: #f3f2ee;
}

.avs-cl .avs-cl-ntool.is-on {
  background: var(--cl-note-soft);
  color: var(--cl-note-ink);
}

.avs-cl .avs-cl-ntool.is-i {
  font-style: italic;
  font-family: Georgia, serif;
}

.avs-cl .avs-cl-ntool.is-u {
  text-decoration: underline;
}

.avs-cl .avs-cl-ntool.is-s {
  text-decoration: line-through;
}

.avs-cl .avs-cl-ntool.is-check {
  color: var(--cl-note);
}

.avs-cl-ntool-sep {
  width: 1px;
  height: 20px;
  margin: 0 6px;
  background: var(--cl-line);
}

.avs-cl-nstyle-wrap {
  position: relative;
}

.avs-cl-nstyle-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--cl-line);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(13, 14, 32, .16);
}

.avs-cl-nstyle-menu[hidden] {
  display: none;
}

.avs-cl .avs-cl-nstyle {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--cl-ink);
  text-align: left;
  box-shadow: none;
  line-height: 1.2;
}

.avs-cl .avs-cl-nstyle:hover {
  background: var(--cl-note-soft);
}

.avs-cl .avs-cl-nstyle.is-h1 {
  font-size: 20px;
  font-weight: 800;
}

.avs-cl .avs-cl-nstyle.is-h2 {
  font-size: 17px;
  font-weight: 700;
}

.avs-cl .avs-cl-nstyle.is-h3 {
  font-size: 15px;
  font-weight: 700;
}

.avs-cl .avs-cl-nstyle.is-div {
  font-size: 14px;
}

.avs-cl-note-meta {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--cl-muted);
}

.avs-cl-note-body {
  flex: 1 1 auto;
  min-height: 50vh;
  padding: 10px 32px 48px;
  color: var(--cl-ink);
  font-size: 16px;
  line-height: 1.55;
  outline: none;
  overflow-wrap: anywhere;
  caret-color: var(--cl-note);
}

.avs-cl-note-body[contenteditable="false"] {
  color: var(--cl-body);
}

.avs-cl-note-body > :first-child {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-top: 6px;
}

.avs-cl-note-body > ul:first-child,
.avs-cl-note-body > ol:first-child {
  font-size: 16px;
  font-weight: 400;
}

.avs-cl-note-body h1,
.avs-cl-note-body h2,
.avs-cl-note-body h3 {
  color: var(--cl-ink);
  margin: 12px 0 4px;
  line-height: 1.25;
}

.avs-cl-note-body h1 {
  font-size: 26px;
  font-weight: 800;
}

.avs-cl-note-body h2 {
  font-size: 21px;
  font-weight: 700;
}

.avs-cl-note-body h3 {
  font-size: 17px;
  font-weight: 700;
}

.avs-cl-note-body p,
.avs-cl-note-body div {
  margin: 0;
}

.avs-cl-note-body ul,
.avs-cl-note-body ol {
  margin: 4px 0;
  padding-left: 24px;
}

.avs-cl-note-body a {
  color: var(--cl-note-ink);
}

.avs-cl-note-body ul.avs-cl-checklist {
  list-style: none;
  padding-left: 0;
}

.avs-cl-note-body ul.avs-cl-checklist li {
  position: relative;
  min-height: 26px;
  padding: 2px 0 2px 32px;
}

.avs-cl-note-body ul.avs-cl-checklist li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 20px;
  height: 20px;
  border: 1.5px solid #c4c3bd;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-sizing: border-box;
}

.avs-cl-note-body ul.avs-cl-checklist li[data-checked="1"] {
  color: var(--cl-muted);
}

.avs-cl-note-body ul.avs-cl-checklist li[data-checked="1"]::before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.6 8.6l3 3 5.8-6.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  border-color: var(--cl-note);
  background-color: var(--cl-note);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.avs-cl-note-placeholder {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  color: var(--cl-muted);
  text-align: center;
}

@media (max-width: 720px) {
  .avs-cl-notes {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 14px;
  }
  .avs-cl-notes-side {
    border-right: 0;
  }
  .avs-cl-notes-items {
    max-height: none;
  }
  .avs-cl-notes .avs-cl-note-editor {
    display: none;
  }
  .avs-cl-notes.is-editing .avs-cl-note-editor {
    display: flex;
  }
  .avs-cl-notes.is-editing .avs-cl-notes-side {
    display: none;
  }
  .avs-cl .avs-cl-note-back {
    display: inline-block;
  }
  .avs-cl-note-bar {
    padding: 6px 10px;
  }
  .avs-cl-note-status {
    min-width: 0;
  }
  .avs-cl-ntoolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 6px 8px;
  }
  .avs-cl-note-body {
    padding: 8px 18px 40px;
    min-height: 60vh;
  }
  .avs-cl-note-body > :first-child {
    font-size: 24px;
  }
}

@media print {
  .avs-cl-notes-side,
  .avs-cl-note-bar,
  .avs-cl-ntoolbar {
    display: none !important;
  }
  .avs-cl-notes {
    display: block;
    border: 0;
    box-shadow: none;
  }
}

.avs-cl-notes-side .avs-cl-search {
  flex: 0 0 auto;
}

.avs-cl .avs-cl-note-body:focus,
.avs-cl .avs-cl-note-body:focus-visible {
  outline: none;
}

.avs-cl .avs-cl-note-back {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .avs-cl .avs-cl-tab {
    padding: 9px 6px;
    font-size: 13.5px;
    white-space: nowrap;
  }
  .avs-cl-note-folderbox .avs-cl-select {
    max-width: 130px;
  }
}

@media (max-width: 720px) {
  .avs-cl-note-actions {
    flex-wrap: nowrap;
    gap: 2px;
  }
  .avs-cl .avs-cl-nbtn {
    padding: 6px 7px;
  }
  .avs-cl-note-folderbox .avs-cl-select {
    max-width: 110px;
  }
}

.avs-cl-admin .avs-cl-steps {
  max-width: 820px;
  margin-left: 1.4em;
}

.avs-cl-admin .avs-cl-steps li {
  margin-bottom: 6px;
  line-height: 1.55;
}

.avs-cl-admin .avs-cl-steps code {
  word-break: break-all;
}

@media (max-width: 720px) {
  .avs-cl-note-status {
    display: none;
  }
}

@media (max-width: 720px) {
  .avs-cl-note-bar {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .avs-cl-note-actions {
    flex: 1 1 100%;
    justify-content: space-between;
    margin-left: 0;
  }
  .avs-cl-note-folderbox {
    flex: 1 1 auto;
    min-width: 0;
  }
  .avs-cl-note-folderbox .avs-cl-select {
    width: 100%;
    max-width: none;
  }
}

.avs-cl-modal.is-wide {
  width: min(880px, 100%);
}

.avs-cl .avs-cl-btn-sm {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
}

.avs-cl-btn-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--cl-warn-soft);
  color: var(--cl-warn);
  font-size: 11px;
  font-weight: 700;
}

.avs-cl-center {
  text-align: center;
}

.avs-cl-num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.avs-cl-edition-select {
  font-weight: 700;
  color: var(--cl-accent-2);
  background-color: var(--cl-accent-soft);
  border-color: rgba(165, 128, 89, .35);
}

.avs-cl-chip-edition {
  background: var(--cl-ink);
  color: #fff;
  font-size: 11px;
}

.avs-cl .avs-cl-chip-contact {
  background: #eef2ff;
  color: #3730a3;
  text-decoration: none;
}

.avs-cl a.avs-cl-chip-contact:hover {
  background: #e0e7ff;
}

.avs-cl-chip-cost {
  gap: 2px;
  background: var(--cl-warn-soft);
  color: var(--cl-warn);
  font-variant-numeric: tabular-nums;
}

.avs-cl-chip-cost small {
  font-size: 10px;
  font-weight: 600;
  opacity: .85;
}

.avs-cl-chip-cost.is-paid {
  background: var(--cl-ok-soft);
  color: var(--cl-ok);
}

.avs-cl .avs-cl-chip-sub,
.avs-cl .avs-cl-chip-comments {
  gap: 6px;
  border: 0;
  background: #f1f5f9;
  color: var(--cl-ink);
  font-family: inherit;
  cursor: pointer;
  box-shadow: none;
}

.avs-cl .avs-cl-chip-sub:hover,
.avs-cl .avs-cl-chip-comments:hover {
  background: #e2e8f0;
}

.avs-cl-chip-sub.is-complete {
  color: var(--cl-ok);
}

.avs-cl-subbar {
  display: inline-block;
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: #cbd5e1;
  overflow: hidden;
}

.avs-cl-subbar span {
  display: block;
  height: 100%;
  background: var(--cl-grad);
}

.avs-cl-chip-sub.is-complete .avs-cl-subbar span {
  background: var(--cl-ok);
}

.avs-cl-subs {
  list-style: none;
  margin: 6px 0 0;
  padding: 8px 10px;
  display: grid;
  gap: 2px;
  background: #f8fafc;
  border: 1px solid var(--cl-line-2);
  border-radius: 10px;
  flex: 1 1 100%;
  order: 6;
}

.avs-cl-subs li {
  margin: 0;
}

.avs-cl .avs-cl-subcheck {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 3px 2px;
  border: 0;
  background: transparent;
  color: var(--cl-ink);
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: none;
}

.avs-cl-subtick {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--cl-teal);
  border-radius: 50%;
  color: transparent;
  font-size: 10px;
  font-weight: 800;
}

.avs-cl-subs li.is-done .avs-cl-subtick {
  background: var(--cl-teal);
  color: #fff;
}

.avs-cl-subs li.is-done .avs-cl-subtext {
  color: var(--cl-muted);
  text-decoration: line-through;
}

.avs-cl-subeditor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.avs-cl-subedit {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 6px;
}

.avs-cl-subedit li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.avs-cl-subedit-check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: var(--cl-teal);
}

.avs-cl-subedit .avs-cl-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 36px;
  padding: 6px 10px;
}

.avs-cl-row-cost {
  align-items: end;
}

.avs-cl-paidfield {
  min-height: 40px;
  align-items: center;
}

.avs-cl-person-chip.is-contact {
  background: #eef2ff;
  color: #3730a3;
}

.avs-cl-modal-section {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--cl-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.avs-cl-modal-subtitle {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cl-muted);
}

details.avs-cl-history > summary {
  cursor: pointer;
  list-style: none;
}

details.avs-cl-history > summary::-webkit-details-marker {
  display: none;
}

details.avs-cl-history > summary::before {
  content: '› ';
  display: inline-block;
  transition: transform .15s;
}

details.avs-cl-history[open] > summary::before {
  transform: rotate(90deg);
}

.avs-cl-count {
  color: var(--cl-accent);
}

.avs-cl-comments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.avs-cl-comment {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--cl-line-2);
}

.avs-cl-comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 13px;
}

.avs-cl-comment-head strong {
  color: var(--cl-ink);
}

.avs-cl-comment-head .avs-cl-linkbtn {
  margin-left: auto;
  font-size: 12px;
}

.avs-cl-comment-body {
  margin: 4px 0 0;
  white-space: pre-wrap;
  color: var(--cl-ink);
  font-size: 14px;
}

.avs-cl-file {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--cl-line);
  color: var(--cl-ink);
  text-decoration: none;
  max-width: 100%;
}

.avs-cl-file:hover {
  border-color: var(--cl-bright);
}

.avs-cl-file-ext {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--cl-accent-soft);
  color: var(--cl-accent-2);
  font-size: 11px;
  font-weight: 800;
}

.avs-cl-file-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 13px;
}

.avs-cl-file small {
  color: var(--cl-muted);
}

.avs-cl-file.is-image {
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: 260px;
}

.avs-cl-file.is-image img {
  display: block;
  max-width: 100%;
  max-height: 180px;
  border-radius: 8px;
  object-fit: cover;
}

.avs-cl-file.is-image span {
  font-size: 12px;
  color: var(--cl-muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avs-cl-comment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.avs-cl-comment-actions label.avs-cl-btn {
  cursor: pointer;
  margin: 0;
}

.avs-cl-comment-status {
  font-size: 12px;
}

.avs-cl-logs {
  list-style: none;
  margin: 0;
  padding: 0 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--cl-line);
}

.avs-cl-log {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 16px;
}

.avs-cl-log-dot {
  position: absolute;
  left: -7px;
  top: 13px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--cl-teal);
}

.avs-cl-log.is-delete .avs-cl-log-dot,
.avs-cl-log.is-uncomment .avs-cl-log-dot,
.avs-cl-log.is-trash .avs-cl-log-dot {
  border-color: var(--cl-no);
  background: var(--cl-no);
}

.avs-cl-log.is-done .avs-cl-log-dot {
  border-color: var(--cl-ok);
  background: var(--cl-ok);
}

.avs-cl-log.is-create .avs-cl-log-dot {
  background: var(--cl-teal);
}

.avs-cl-log-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  font-size: 13px;
}

.avs-cl-log-head strong {
  color: var(--cl-ink);
}

.avs-cl-log.is-delete .avs-cl-log-head strong {
  color: var(--cl-no);
}

.avs-cl-log-object {
  color: var(--cl-ink);
  font-weight: 600;
}

.avs-cl-log-object small {
  color: var(--cl-muted);
  font-weight: 500;
}

.avs-cl-log-meta {
  margin-left: auto;
  color: var(--cl-muted);
  font-size: 12px;
}

.avs-cl-log-changes {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  font-size: 12.5px;
  color: var(--cl-body);
}

.avs-cl-log-changes li {
  margin: 1px 0;
  overflow-wrap: anywhere;
}

.avs-cl-log-field {
  color: var(--cl-muted);
}

.avs-cl-log-changes del {
  color: #9f1239;
  background: #fff1f2;
  text-decoration: line-through;
  padding: 0 3px;
  border-radius: 3px;
}

.avs-cl-log-changes ins {
  color: #166534;
  background: #f0fdf4;
  text-decoration: none;
  padding: 0 3px;
  border-radius: 3px;
}

.avs-cl-logs.is-global {
  max-height: 60vh;
  overflow-y: auto;
}

.avs-cl-budget-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.avs-cl-budget-stats .avs-cl-stat {
  cursor: default;
}

.avs-cl-budget-stats .avs-cl-stat strong {
  font-size: 19px;
}

.avs-cl-budget-table,
.avs-cl-budget-list {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.avs-cl-budget-table th,
.avs-cl-budget-table td,
.avs-cl-budget-list td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--cl-line-2);
  text-align: left;
  vertical-align: middle;
}

.avs-cl-budget-table th {
  font-weight: 600;
  color: var(--cl-ink);
  white-space: nowrap;
}

.avs-cl-budget-table td:nth-child(2) {
  width: 40%;
}

.avs-cl-budget-bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--cl-line-2);
  overflow: hidden;
}

.avs-cl-budget-bar span {
  display: block;
  height: 100%;
  background: var(--cl-grad);
}

.avs-cl-budget-title {
  display: block;
  font-weight: 600;
  color: var(--cl-ink);
}

.avs-cl-budget-list tr.is-paid .avs-cl-budget-title {
  color: var(--cl-muted);
}

.avs-cl-paid-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-size: 12px;
  color: var(--cl-muted);
}

.avs-cl-contact-cat {
  font-size: 16px;
}

.avs-cl-contact-cat .avs-cl-group-meta {
  font-size: 11px;
}

.avs-cl-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 12px;
}

.avs-cl-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  background: var(--cl-surface);
  border: 1px solid var(--cl-line);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow);
}

.avs-cl-contact-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avs-cl-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cl-grad);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.avs-cl-contact-id {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.avs-cl-contact-id strong {
  color: var(--cl-ink);
  font-size: 15px;
}

.avs-cl-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.avs-cl .avs-cl-contact-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cl-ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.avs-cl .avs-cl-contact-line:hover {
  color: var(--cl-accent);
}

.avs-cl-contact-ico {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--cl-accent-soft);
  color: var(--cl-accent-2);
  font-size: 12px;
  font-weight: 700;
}

.avs-cl-contact-note {
  margin: 2px 0 0;
  color: var(--cl-muted);
  font-size: 13px;
  white-space: pre-wrap;
}

.avs-cl-contact-tasks {
  padding-top: 8px;
  border-top: 1px solid var(--cl-line-2);
  font-size: 12px;
}

.avs-cl-contact-tasks ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.avs-cl-contact-tasks li {
  margin: 0;
}

.avs-cl-contact-tasks .avs-cl-linkbtn {
  font-size: 12.5px;
  text-align: left;
  padding: 2px 0;
}

@media (max-width: 720px) {
  .avs-cl-tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .avs-cl-tabs::-webkit-scrollbar {
    display: none;
  }
  .avs-cl .avs-cl-tab {
    flex: 0 0 auto;
    padding: 9px 12px;
  }
  .avs-cl-budget-stats {
    grid-template-columns: 1fr;
  }
  .avs-cl-budget-table td:nth-child(2) {
    display: none;
  }
  .avs-cl-log-meta {
    margin-left: 0;
    flex-basis: 100%;
  }
}

.avs-cl h1,
.avs-cl h2,
.avs-cl h3,
.avs-cl h4,
.avs-cl summary,
.avs-cl-modal-title {
  font-family: inherit;
}

.avs-cl-exp-tiles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.avs-cl-exp-tiles .avs-cl-stat strong {
  font-size: 19px;
}

.avs-cl-due {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #fde68a;
  border-radius: var(--cl-radius);
  background: #fffbeb;
}

.avs-cl-due ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.avs-cl-due li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.avs-cl-due-name {
  font-weight: 600;
  color: var(--cl-ink);
}

.avs-cl-due .avs-cl-btn.is-armed {
  background: var(--cl-ok);
  color: #fff;
}

#avs-cl-expenses {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}

.avs-cl-exp-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
}

.avs-cl-exp-day .avs-cl-group-title {
  font-size: 16px;
  margin: 0;
}

.avs-cl-exp-day .avs-cl-group-title .avs-cl-daykind {
  display: inline-block;
  margin: 0;
  font-size: 10px;
}

.avs-cl-item.avs-cl-exp {
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
}

.avs-cl-item.avs-cl-exp.is-due {
  box-shadow: inset 3px 0 0 #f59e0b;
}

.avs-cl .avs-cl-receipt-thumb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid var(--cl-line);
  color: var(--cl-muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
}

.avs-cl-receipt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avs-cl .avs-cl-receipt-thumb.is-empty {
  border-style: dashed;
  font-size: 22px;
  font-weight: 400;
  background: #fff;
}

.avs-cl-exp-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.avs-cl-exp-amount {
  font-size: 16px;
  font-weight: 800;
  color: var(--cl-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.avs-cl-exp-method.is-company {
  background: #f1f5f9;
  color: var(--cl-body);
}

.avs-cl-exp-method.is-due {
  background: #fef3c7;
  color: #92400e;
}

.avs-cl-exp-method.is-settled {
  background: var(--cl-ok-soft);
  color: var(--cl-ok);
}

.avs-cl-receipt-box {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
}

.avs-cl-receipt-preview {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 90px;
  justify-content: center;
  text-align: center;
}

.avs-cl-receipt-preview img {
  max-width: 120px;
  max-height: 150px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(13, 14, 32, .12);
}

.avs-cl-receipt-preview small {
  font-size: 11px;
  color: var(--cl-muted);
  word-break: break-all;
}

.avs-cl-receipt-empty {
  font-size: 12px;
  color: var(--cl-muted);
}

.avs-cl-receipt-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.avs-cl-receipt-actions label.avs-cl-btn {
  margin: 0;
  cursor: pointer;
}

.avs-cl .avs-cl-amount {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.avs-cl-seg-wide {
  display: flex;
  width: 100%;
}

.avs-cl-seg-wide .avs-cl-seg-btn {
  flex: 1 1 0;
}

.avs-cl-budget-note {
  margin: 0;
}

@media (max-width: 720px) {
  .avs-cl-exp-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    overflow: visible;
  }
  .avs-cl-due li {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .avs-cl-due li .avs-cl-muted {
    display: none;
  }
  .avs-cl-due li .avs-cl-btn {
    grid-column: 1 / -1;
  }
  .avs-cl-item.avs-cl-exp {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
  }
  .avs-cl .avs-cl-receipt-thumb {
    width: 48px;
    height: 48px;
  }
  .avs-cl-receipt-box {
    flex-direction: column;
    align-items: stretch;
  }
  .avs-cl-receipt-preview {
    flex-basis: auto;
  }
  .avs-cl-receipt-actions label.avs-cl-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .avs-cl-seg-wide {
    flex-direction: column;
  }
}

.avs-cl .avs-cl-seg-wide .avs-cl-seg-btn.is-current {
  background: var(--cl-grad);
  color: #fff;
  box-shadow: 0 2px 6px rgba(165, 128, 89, .3);
}

.avs-cl-invoice-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: -4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--cl-line-2);
}

.avs-cl-invoice-box .avs-cl-checkfield {
  font-weight: 600;
  color: var(--cl-ink);
}

.avs-cl-chip-invoice {
  background: #eef2ff;
  color: #3730a3;
}

@media (min-width: 721px) {
  .avs-cl-seg-wide {
    flex-wrap: wrap;
  }
  .avs-cl-seg-wide .avs-cl-seg-btn {
    flex: 1 1 45%;
  }
}

.avs-cl [hidden] {
  display: none !important;
}

.avs-cl-receipt-info {
  display: block;
  font-size: 11px;
  color: var(--cl-muted);
}

.avs-cl-receipt-info.is-warn {
  color: var(--cl-warn);
  font-weight: 600;
}

.avs-cl .avs-cl-receipt-thumb.is-removed {
  border-style: dashed;
  background: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.avs-cl-receipt-actions .avs-cl-hint {
  margin: 0;
  max-width: 320px;
}

.avs-cl-admin .avs-cl-receipt-settings label {
  display: inline-block;
  margin: 3px 0;
}

.avs-cl-modal-actions {
  flex-wrap: wrap;
}

.avs-cl-pending {
  flex: 1 1 100%;
  box-sizing: border-box;
  background: var(--cl-warn-soft);
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.avs-cl-pending-text {
  margin: 0;
  color: var(--cl-ink);
  font-size: 14px;
  line-height: 1.45;
}

.avs-cl .avs-cl-pending-quote {
  margin: 0;
  padding: 6px 10px;
  border-left: 3px solid #f59e0b;
  background: rgba(255, 255, 255, .7);
  border-radius: 6px;
  font-size: 13px;
  font-style: normal;
  color: var(--cl-muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.avs-cl-pending-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 720px) {
  .avs-cl-pending-actions {
    flex-direction: column;
  }

  .avs-cl-pending-actions .avs-cl-btn {
    width: 100%;
    min-height: 44px;
  }
}

.avs-cl-chip-invoice {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avs-cl-invoice-fields {
  gap: 10px;
}

@media (max-width: 720px) {
  .avs-cl-overlay .avs-cl-modal .avs-cl-invoice-fields {
    grid-template-columns: 1fr;
  }
}

.avs-cl-remove-confirm {
  align-self: stretch;
  flex: 0 0 auto;
}

.avs-cl-status.is-readonly {
  cursor: default;
  display: inline-grid;
  place-items: center;
}

.avs-cl-daynote.is-readonly {
  cursor: default;
}

.avs-cl-note-shared {
  margin-left: 6px;
  font-size: 12px;
  opacity: .75;
}

.avs-cl-note-sharedby {
  font-size: 12px;
  color: var(--cl-muted);
  white-space: nowrap;
}

.avs-cl-share-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.avs-cl-share-item {
  padding: 8px 10px;
  border: 1px solid var(--cl-line);
  border-radius: 10px;
  min-height: 44px;
  box-sizing: border-box;
}

.avs-cl-share-item small {
  margin-left: auto;
}

.avs-cl-share-list {
  gap: 12px;
}

.avs-cl-share-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.avs-cl-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 2px 2px 10px;
  border-left: 4px solid var(--cl-line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cl-muted);
}

.avs-cl-share-head.v0 {
  border-left-color: var(--cl-v0);
}

.avs-cl-share-head.v1 {
  border-left-color: var(--cl-v1);
}

.avs-cl-share-head.v2 {
  border-left-color: var(--cl-v2);
}

.avs-cl .avs-cl-share-head .avs-cl-linkbtn {
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.avs-cl-share-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.avs-cl-share-item input[type=checkbox] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.avs-cl-share-name {
  font-weight: 600;
  color: var(--cl-ink);
}

.avs-cl-share-item.is-disabled {
  cursor: not-allowed;
  opacity: .5;
  background: var(--cl-line-2);
}

.avs-cl-share-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--cl-accent-2);
}

.avs-cl-share-item.is-owner {
  cursor: default;
  background: rgba(165, 128, 89, .08);
  border-color: rgba(165, 128, 89, .45);
}

.avs-cl-share-head.is-owner {
  border-left-color: var(--cl-accent, #D3B191);
}

.avs-cl-credit {
  margin: 20px 0 8px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 11px;
  line-height: 1.5;
  color: #64748b;
  text-align: center;
  letter-spacing: .02em;
}

.avs-cl-credit strong {
  color: #0d0e20;
  font-weight: 700;
}

.avs-cl-credit a,
.avs-cl-credit a:visited {
  color: inherit;
  text-decoration: none;
}

.avs-cl-credit a:hover {
  color: #BE9875;
  text-decoration: underline;
}

@media print {
  .avs-cl-credit {
    display: none;
  }
}

.avs-cl .avs-cl-edition-select.is-locked {
  -webkit-appearance: none;
  appearance: none;
  opacity: 1;
  cursor: not-allowed;
  background-image: none;
  color: var(--cl-ink);
  background-color: var(--cl-line-2);
}
