:root {
  --dcl-wine: #6f1d33;
  --dcl-wine-dark: #45101f;
  --dcl-terracotta: #d68a5d;
  --dcl-ink: #160c12;
  --dcl-ivory: #f4f2ed;
  --dcl-paper: #fffdf8;
  --dcl-muted: #7c7276;
  --dcl-line: rgba(52, 24, 35, .13);
  --dcl-green: #2f7558;
  --dcl-amber: #b86a27;
  --dcl-red: #a93646;
  --dcl-shadow: 0 24px 70px rgba(51, 18, 31, .12);
}

body.dcl-portal-page {
  margin: 0;
  background: var(--dcl-ivory);
}

body.dcl-portal-page #wpadminbar {
  display: none;
}

html:has(body.dcl-portal-page) {
  margin-top: 0 !important;
}

.dcl-root,
.dcl-root * {
  box-sizing: border-box;
}

.dcl-root {
  min-height: 100vh;
  color: var(--dcl-ink);
  background:
    radial-gradient(circle at 90% 0, rgba(214, 138, 93, .13), transparent 31rem),
    var(--dcl-ivory);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.dcl-root button,
.dcl-root input,
.dcl-root select,
.dcl-root textarea {
  font: inherit;
}

.dcl-root button,
.dcl-root a {
  -webkit-tap-highlight-color: transparent;
}

.dcl-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.dcl-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 30px 22px 22px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(111, 29, 51, .96), rgba(22, 12, 18, .99)),
    var(--dcl-ink);
}

.dcl-brand {
  min-height: 54px;
  display: flex;
  align-items: center;
}

.dcl-brand img {
  display: block;
  width: 170px;
  height: auto;
}

.dcl-nav {
  display: grid;
  gap: 7px;
}

.dcl-nav-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, .72);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.dcl-nav-button:hover,
.dcl-nav-button.is-active {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.dcl-nav-button:hover {
  transform: translateX(2px);
}

.dcl-nav-icon {
  width: 25px;
  text-align: center;
  font-size: 16px;
}

.dcl-user-card {
  margin-top: auto;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}

.dcl-user-card strong,
.dcl-user-card span {
  display: block;
}

.dcl-user-card span {
  margin-top: 2px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
}

.dcl-sidebar-link {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dcl-main {
  min-width: 0;
  padding: 34px clamp(22px, 4vw, 62px) 70px;
}

.dcl-topbar,
.dcl-section-head,
.dcl-card-top,
.dcl-modal-head,
.dcl-detail-meta,
.dcl-comment-head,
.dcl-access-row,
.dcl-upload-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dcl-topbar {
  min-height: 54px;
  margin-bottom: 36px;
}

.dcl-breadcrumb {
  color: var(--dcl-muted);
  font-size: 13px;
}

.dcl-breadcrumb button {
  padding: 0;
  border: 0;
  color: var(--dcl-wine);
  background: transparent;
  cursor: pointer;
}

.dcl-eyebrow {
  margin: 0 0 8px;
  color: var(--dcl-wine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dcl-title {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

.dcl-root .dcl-title.dcl-client-title {
  color: var(--dcl-wine) !important;
}

.dcl-root .dcl-title.dcl-dashboard-title {
  color: var(--dcl-wine) !important;
}

.dcl-root .dcl-main .dcl-title {
  color: var(--dcl-wine) !important;
}

.dcl-subtitle {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--dcl-muted);
  font-size: 16px;
}

.dcl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.dcl-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 17px;
  color: #fff;
  background: var(--dcl-wine);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.dcl-button:hover {
  color: #fff;
  background: var(--dcl-wine-dark);
  box-shadow: 0 10px 26px rgba(111, 29, 51, .22);
  transform: translateY(-1px);
}

.dcl-button.is-light,
.dcl-button.is-ghost {
  color: var(--dcl-ink);
  background: var(--dcl-paper);
  border-color: var(--dcl-line);
}

.dcl-button.is-light:hover,
.dcl-button.is-ghost:hover {
  color: var(--dcl-wine);
  background: #fff;
}

.dcl-button.is-danger {
  color: var(--dcl-red);
  background: #fff;
  border-color: rgba(169, 54, 70, .22);
}

.dcl-button.is-small {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
}

.dcl-button[disabled] {
  opacity: .55;
  cursor: wait;
  transform: none;
}

.dcl-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0;
}

.dcl-stat,
.dcl-panel,
.dcl-client-card,
.dcl-content-card,
.dcl-calendar-day,
.dcl-empty {
  border: 1px solid var(--dcl-line);
  background: rgba(255, 253, 248, .88);
  box-shadow: 0 8px 34px rgba(53, 25, 36, .05);
}

.dcl-stat {
  min-height: 122px;
  border-radius: 16px;
  padding: 21px;
}

.dcl-stat span,
.dcl-stat strong {
  display: block;
}

.dcl-stat strong {
  margin-top: 7px;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 500;
}

.dcl-stat span {
  color: var(--dcl-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dcl-section-head {
  margin: 34px 0 17px;
}

.dcl-section-head h2,
.dcl-panel h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.025em;
}

.dcl-client-grid,
.dcl-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dcl-client-card,
.dcl-content-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.dcl-client-card {
  min-height: 252px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  cursor: pointer;
}

.dcl-client-card.is-archived {
  opacity: .72;
  filter: saturate(.7);
}

.dcl-client-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.dcl-client-actions button {
  border: 1px solid var(--dcl-line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--dcl-wine);
  background: #fff;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.dcl-client-actions button.is-danger { color: var(--dcl-red); }

.dcl-archive {
  margin-top: 34px;
  border-top: 1px solid var(--dcl-line);
  padding-top: 20px;
}

.dcl-archive summary {
  margin-bottom: 18px;
  color: var(--dcl-wine);
  font-weight: 800;
  cursor: pointer;
}

.dcl-client-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -42px;
  bottom: -56px;
  border-radius: 50%;
  background: rgba(214, 138, 93, .18);
}

.dcl-client-card:hover,
.dcl-content-card:hover {
  box-shadow: var(--dcl-shadow);
  transform: translateY(-3px);
}

.dcl-client-card h3 {
  margin: 16px 0 4px;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.025em;
}

.dcl-client-card p {
  margin: 0;
  color: var(--dcl-muted);
}

.dcl-client-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
}

.dcl-client-counts span {
  color: var(--dcl-muted);
  font-size: 11px;
}

.dcl-client-counts strong {
  display: block;
  color: var(--dcl-ink);
  font-size: 20px;
}

.dcl-chip,
.dcl-status,
.dcl-file-count {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 27px;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(111, 29, 51, .08);
  color: var(--dcl-wine);
  font-size: 11px;
  font-weight: 800;
}

.dcl-status[data-status="approved"] { color: var(--dcl-green); background: rgba(47, 117, 88, .11); }
.dcl-status[data-status="changes_requested"] { color: var(--dcl-red); background: rgba(169, 54, 70, .10); }
.dcl-status[data-status="pending_review"] { color: var(--dcl-amber); background: rgba(184, 106, 39, .11); }
.dcl-status[data-status="internal_review"] { color: #61539b; background: rgba(97, 83, 155, .11); }

.dcl-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 30px 0 21px;
  padding: 14px;
  border: 1px solid var(--dcl-line);
  border-radius: 16px;
  background: rgba(255, 253, 248, .72);
}

.dcl-segment {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(111, 29, 51, .07);
}

.dcl-feed-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid var(--dcl-line);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(53, 25, 36, .07);
}

.dcl-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 14px;
}

.dcl-feed-head span {
  color: var(--dcl-muted);
  font-size: 11px;
}

.dcl-instagram-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}

.dcl-feed-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  background: var(--dcl-ink);
  cursor: pointer;
}

.dcl-feed-item img,
.dcl-feed-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dcl-feed-item .dcl-card-placeholder {
  height: 100%;
  padding: 10px;
  font-size: 10px;
}

.dcl-feed-type {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #fff;
  font-size: 15px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .75);
}

.dcl-trash-panel {
  margin-top: 28px;
  border: 1px solid var(--dcl-line);
  border-radius: 16px;
  padding: 14px 17px;
  background: rgba(255, 253, 248, .72);
}

.dcl-trash-panel summary {
  color: var(--dcl-wine);
  font-weight: 800;
  cursor: pointer;
}

.dcl-trash-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.dcl-trash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--dcl-line);
  padding: 12px 0 3px;
}

.dcl-trash-row div:first-child {
  display: grid;
  gap: 3px;
}

.dcl-trash-row span {
  color: var(--dcl-muted);
  font-size: 11px;
}

.dcl-segment button {
  border: 0;
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--dcl-muted);
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}

.dcl-segment button.is-active {
  color: var(--dcl-wine);
  background: #fff;
  box-shadow: 0 4px 16px rgba(54, 26, 36, .08);
}

.dcl-field,
.dcl-field label {
  display: grid;
  gap: 7px;
}

.dcl-field label,
.dcl-label {
  color: #4e4548;
  font-size: 12px;
  font-weight: 800;
}

.dcl-input,
.dcl-select,
.dcl-textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--dcl-line);
  border-radius: 11px;
  padding: 10px 12px;
  color: var(--dcl-ink);
  background: #fff;
  outline: none;
}

.dcl-input:focus,
.dcl-select:focus,
.dcl-textarea:focus {
  border-color: var(--dcl-terracotta);
  box-shadow: 0 0 0 3px rgba(214, 138, 93, .14);
}

.dcl-textarea {
  min-height: 116px;
  resize: vertical;
}

.dcl-month-select {
  width: auto;
  min-width: 170px;
}

.dcl-content-card {
  cursor: pointer;
}

.dcl-change-flag {
  position: absolute;
  z-index: 4;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 7px 11px;
  color: #fff;
  background: var(--dcl-green);
  box-shadow: 0 8px 24px rgba(47, 117, 88, .28);
  font-size: 11px;
  font-weight: 850;
}

.dcl-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(111, 29, 51, .93), rgba(22, 12, 18, .98));
}

.dcl-card-media img,
.dcl-card-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dcl-card-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 30px;
  color: rgba(255, 255, 255, .8);
  text-align: center;
}

.dcl-file-count {
  position: absolute;
  right: 11px;
  top: 11px;
  color: #fff;
  background: rgba(22, 12, 18, .74);
  backdrop-filter: blur(8px);
}

.dcl-card-body {
  padding: 17px;
}

.dcl-card-body h3 {
  margin: 12px 0 8px;
  font-size: 17px;
  line-height: 1.25;
}

.dcl-card-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--dcl-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dcl-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  color: var(--dcl-muted);
  font-size: 12px;
}

.dcl-calendar {
  overflow: hidden;
  border: 1px solid var(--dcl-line);
  border-radius: 18px;
  background: rgba(255, 253, 248, .8);
}

.dcl-calendar-weekdays,
.dcl-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.dcl-calendar-weekdays span {
  padding: 12px;
  color: var(--dcl-muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.dcl-calendar-day {
  min-height: 130px;
  border-width: 1px 0 0 1px;
  border-radius: 0;
  padding: 9px;
  box-shadow: none;
}

.dcl-calendar-day.is-outside {
  background: rgba(226, 222, 216, .35);
}

.dcl-day-number {
  color: var(--dcl-muted);
  font-size: 11px;
  font-weight: 800;
}

.dcl-calendar-item {
  width: 100%;
  margin-top: 7px;
  border: 0;
  border-radius: 8px;
  padding: 7px;
  color: var(--dcl-wine-dark);
  background: rgba(111, 29, 51, .08);
  font-size: 10px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.dcl-panel {
  max-width: 930px;
  border-radius: 20px;
  padding: clamp(22px, 4vw, 38px);
}

.dcl-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin-top: 24px;
}

.dcl-field.is-wide {
  grid-column: 1 / -1;
}

.dcl-dialog {
  width: min(920px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  border: 0;
  border-radius: 23px;
  padding: 0;
  color: var(--dcl-ink);
  background: var(--dcl-paper);
  box-shadow: 0 30px 100px rgba(22, 12, 18, .36);
}

.dcl-dialog::backdrop {
  background: rgba(22, 12, 18, .66);
  backdrop-filter: blur(5px);
}

.dcl-lightbox {
  position: fixed !important;
  inset: 0 !important;
  width: calc(100vw - 24px) !important;
  height: calc(100vh - 24px) !important;
  max-width: none !important;
  max-height: none !important;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  margin: auto !important;
  padding: 0;
  color: #fff;
  background: #0d080b;
  box-shadow: 0 32px 120px rgba(0, 0, 0, .62);
}

.dcl-lightbox[open] {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto;
}

.dcl-lightbox::backdrop {
  background: rgba(10, 5, 8, .92);
  backdrop-filter: blur(8px);
}

.dcl-lightbox-stage {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px 64px;
  background: #0d080b;
  touch-action: none;
}

.dcl-lightbox-stage img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block !important;
  margin: auto !important;
  object-fit: contain !important;
  aspect-ratio: auto !important;
  image-rendering: auto;
  transform-origin: center center;
  cursor: grab;
  user-select: none;
  will-change: transform;
}

.dcl-lightbox-stage img.is-dragging { cursor: grabbing; }

.dcl-lightbox-close,
.dcl-lightbox-nav button {
  position: absolute;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: #fff;
  background: rgba(22, 12, 18, .72);
  cursor: pointer;
}

.dcl-lightbox-close {
  top: 18px;
  right: 18px;
  font-size: 25px;
}

.dcl-lightbox-nav button {
  top: 50%;
  transform: translateY(-50%);
  font-size: 31px;
}

.dcl-lightbox-nav button:first-child { left: 16px; }
.dcl-lightbox-nav button:last-child { right: 16px; }

.dcl-lightbox-tools {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 76px;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 5px;
  background: rgba(22, 12, 18, .78);
  backdrop-filter: blur(8px);
}

.dcl-lightbox-tools button {
  min-width: 36px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  color: #fff;
  background: rgba(255, 255, 255, .10);
  font-weight: 800;
  cursor: pointer;
}

.dcl-lightbox-bar {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(22, 12, 18, .94);
}

.dcl-lightbox-bar span {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dcl-modal-head {
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 19px 24px;
  border-bottom: 1px solid var(--dcl-line);
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(12px);
}

.dcl-modal-head h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 500;
}

.dcl-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--dcl-line);
  border-radius: 50%;
  color: var(--dcl-ink);
  background: #fff;
  cursor: pointer;
}

.dcl-modal-body {
  padding: 24px;
}

.dcl-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, .9fr);
  gap: 27px;
}

.dcl-gallery-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: var(--dcl-ink);
}

.dcl-gallery-stage img,
.dcl-gallery-stage video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.dcl-gallery-stage img {
  cursor: zoom-in;
  image-rendering: auto;
}

.dcl-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(22, 12, 18, .76);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.dcl-gallery-stage .dcl-card-placeholder {
  background: linear-gradient(135deg, var(--dcl-wine), var(--dcl-ink));
}

.dcl-gallery-nav {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.dcl-gallery-nav button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(22, 12, 18, .66);
  cursor: pointer;
  pointer-events: auto;
}

.dcl-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.dcl-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 9px;
  padding: 0;
  background: #ece6e1;
  cursor: pointer;
}

.dcl-thumb.is-active {
  border-color: var(--dcl-terracotta);
}

.dcl-thumb img,
.dcl-thumb video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dcl-cover-mini {
  position: absolute;
  left: 4px;
  bottom: 4px;
  border-radius: 999px;
  padding: 2px 6px;
  color: #fff;
  background: rgba(47, 117, 88, .88);
  font-size: 8px;
  font-weight: 850;
}

.dcl-cover-current {
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--dcl-green);
  background: rgba(47, 117, 88, .10);
  font-size: 11px;
  font-weight: 850;
}

.dcl-external-file-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 10px;
  border: 1px solid rgba(111, 29, 51, .18);
  border-radius: 11px;
  color: var(--dcl-wine);
  background: rgba(111, 29, 51, .045);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.dcl-order-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}

.dcl-icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--dcl-line);
  border-radius: 9px;
  color: var(--dcl-ink);
  background: #fff;
  cursor: pointer;
}

.dcl-upload-box {
  margin-top: 15px;
  border: 1px dashed rgba(111, 29, 51, .28);
  border-radius: 14px;
  padding: 15px;
  background: rgba(111, 29, 51, .035);
}

.dcl-upload-box input[type="file"] {
  width: 100%;
  margin-top: 10px;
}

.dcl-help {
  margin: 5px 0 0;
  color: var(--dcl-muted);
  font-size: 12px;
}

.dcl-progress {
  overflow: hidden;
  height: 7px;
  margin-top: 11px;
  border-radius: 999px;
  background: rgba(111, 29, 51, .10);
}

.dcl-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--dcl-terracotta);
  transition: width .2s ease;
}

.dcl-detail-copy {
  display: grid;
  align-content: start;
  gap: 17px;
}

.dcl-detail-copy h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.05;
}

.dcl-copy-block {
  border-top: 1px solid var(--dcl-line);
  padding-top: 14px;
}

.dcl-copy-block strong {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dcl-copy-block p {
  margin: 0;
  white-space: pre-wrap;
}

.dcl-comments {
  margin-top: 28px;
  border-top: 1px solid var(--dcl-line);
  padding-top: 24px;
}

.dcl-request-changes {
  display: grid;
  gap: 13px;
  margin: 15px 0;
  border: 1px solid rgba(169, 54, 70, .20);
  border-radius: 15px;
  padding: 16px;
  background: rgba(169, 54, 70, .055);
}

.dcl-request-changes[hidden] { display: none; }

.dcl-request-changes label {
  display: grid;
  gap: 7px;
  color: var(--dcl-red);
  font-size: 12px;
  font-weight: 850;
}

.dcl-comment-list {
  display: grid;
  gap: 10px;
  margin: 15px 0;
}

.dcl-comment {
  border-radius: 13px;
  padding: 13px 15px;
  background: rgba(111, 29, 51, .055);
}

.dcl-comment.is-internal {
  background: rgba(97, 83, 155, .08);
}

.dcl-comment p {
  margin: 7px 0 0;
  white-space: pre-wrap;
}

.dcl-comment-head span {
  color: var(--dcl-muted);
  font-size: 11px;
}

.dcl-access-list {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}

.dcl-access-row {
  border: 1px solid var(--dcl-line);
  border-radius: 13px;
  padding: 13px 15px;
  background: #fff;
}

.dcl-access-row p {
  margin: 0;
}

.dcl-access-row span {
  color: var(--dcl-muted);
  font-size: 12px;
}

.dcl-access-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.dcl-access-link {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto;
  align-items: end;
  gap: 7px;
}

.dcl-access-link > span {
  grid-column: 1 / -1;
  color: var(--dcl-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dcl-access-link .dcl-input {
  min-width: 0;
  font-size: 11px;
}

.dcl-empty,
.dcl-error,
.dcl-login {
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.dcl-empty {
  grid-column: 1 / -1;
}

.dcl-login {
  width: min(560px, calc(100% - 30px));
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(145deg, var(--dcl-wine), var(--dcl-ink));
  box-shadow: var(--dcl-shadow);
}

.dcl-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
}

.dcl-login img {
  width: min(230px, 80%);
  height: auto;
  margin-bottom: 30px;
}

.dcl-login h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 39px;
  font-weight: 500;
}

.dcl-login p {
  margin: 14px auto 25px;
  color: rgba(255, 255, 255, .75);
}

.dcl-login .dcl-button {
  color: var(--dcl-wine);
  background: #fff;
}

.dcl-toast {
  position: fixed;
  z-index: 999999;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100vw - 32px));
  border-radius: 12px;
  padding: 13px 17px;
  color: #fff;
  background: var(--dcl-ink);
  box-shadow: var(--dcl-shadow);
}

.dcl-toast.is-error {
  background: var(--dcl-red);
}

.dcl-loading {
  min-height: 70vh;
  display: grid;
  place-items: center;
  color: var(--dcl-wine);
  font-weight: 800;
}

.dcl-mobile-head {
  display: none;
}

@media (max-width: 1100px) {
  .dcl-client-grid,
  .dcl-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .dcl-shell { display: block; }
  .dcl-sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: auto;
    padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }
  .dcl-brand,
  .dcl-user-card { display: none; }
  .dcl-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
  .dcl-nav-button { display: grid; justify-items: center; gap: 1px; padding: 7px 3px; font-size: 9px; text-align: center; }
  .dcl-nav-icon { font-size: 17px; }
  .dcl-main { padding: 22px 17px 110px; }
  .dcl-mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
  .dcl-mobile-head img { width: 145px; padding: 12px; border-radius: 10px; background: var(--dcl-wine); }
  .dcl-topbar { display: none; }
  .dcl-detail-grid { grid-template-columns: 1fr; }
  .dcl-dialog { max-height: calc(100vh - 12px); }
  .dcl-calendar-day { min-height: 95px; }
}

@media (max-width: 620px) {
  .dcl-client-grid,
  .dcl-content-grid,
  .dcl-form-grid { grid-template-columns: 1fr; }
  .dcl-stats { gap: 9px; }
  .dcl-stat { min-height: 100px; padding: 16px; }
  .dcl-title { font-size: 42px; }
  .dcl-toolbar { align-items: stretch; }
  .dcl-toolbar > * { width: 100%; }
  .dcl-segment { width: 100%; overflow-x: auto; }
  .dcl-segment button { flex: 1 0 auto; }
  .dcl-month-select { width: 100%; }
  .dcl-actions .dcl-button { flex: 1 1 auto; }
  .dcl-calendar { overflow-x: auto; }
  .dcl-calendar-weekdays,
  .dcl-calendar-grid { min-width: 690px; }
  .dcl-modal-body,
  .dcl-modal-head { padding: 17px; }
  .dcl-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dcl-field.is-wide { grid-column: auto; }
  .dcl-lightbox { width: calc(100vw - 8px); height: calc(100vh - 8px); border-radius: 12px; }
  .dcl-lightbox-stage { padding: 58px 10px 12px; }
  .dcl-lightbox-nav button:first-child { left: 8px; }
  .dcl-lightbox-nav button:last-child { right: 8px; }
  .dcl-lightbox-bar { align-items: stretch; flex-direction: column; gap: 8px; }
  .dcl-lightbox-bar .dcl-button { width: 100%; }
  .dcl-lightbox-tools { bottom: 114px; }
  .dcl-feed-wrap { padding: 5px; border-radius: 11px; }
  .dcl-feed-head { padding: 8px 5px 11px; }
  .dcl-access-row { align-items: flex-start; flex-direction: column; }
  .dcl-access-actions { justify-content: flex-start; }
  .dcl-trash-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .dcl-root *,
  .dcl-root *::before,
  .dcl-root *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
