/* Visualine Core — frontend administration */
body.vl-private-page .vl-main {
  min-height: 100svh;
}

.vl-dashboard {
  --dashboard-sidebar: 276px;
  display: grid;
  min-height: 100svh;
  grid-template-columns: var(--dashboard-sidebar) minmax(0, 1fr);
  background: #edf0e9;
  color: #171913;
}

html[data-vl-theme="dark"] .vl-dashboard {
  background: #12140f;
  color: #eef1e8;
}

.vl-dashboard__sidebar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  height: 100svh;
  flex-direction: column;
  padding: 30px 22px;
  background: #10120e;
  color: #eef1e8;
}

.vl-dashboard__brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 10px 32px;
  border-bottom: 1px solid rgba(238, 241, 232, .14);
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: -.04em;
}

.vl-dashboard__brand span {
  color: #8f9587;
  font-size: .67rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vl-dashboard__nav {
  display: grid;
  gap: 5px;
  margin-top: 30px;
}

.vl-dashboard__nav-item {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 10px 13px;
  color: #aeb4a7;
  font-size: .82rem;
  font-weight: 620;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.vl-dashboard__nav-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 0;
  transform: translateY(-50%);
  background: var(--vl-accent);
  transition: height 220ms var(--vl-ease);
}

.vl-dashboard__nav-item:hover,
.vl-dashboard__nav-item.is-active {
  transform: translateX(3px);
  background: rgba(238, 241, 232, .06);
  color: #fff;
}

.vl-dashboard__nav-item.is-active::before {
  height: 22px;
}

.vl-dashboard__sidebar-foot {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding: 24px 10px 0;
  border-top: 1px solid rgba(238, 241, 232, .14);
}

.vl-dashboard__sidebar-foot a {
  color: #90968a;
  font-size: .74rem;
}

.vl-dashboard__sidebar-foot a:hover {
  color: #fff;
}

.vl-dashboard__main {
  min-width: 0;
  padding: clamp(28px, 4.5vw, 72px);
}

.vl-dashboard__page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.vl-dashboard__page-head > div:first-child {
  max-width: 870px;
}

.vl-dashboard__eyebrow {
  margin: 0 0 10px;
  color: #697064;
  font-size: .68rem;
  font-weight: 760;
  letter-spacing: .13em;
  text-transform: uppercase;
}

html[data-vl-theme="dark"] .vl-dashboard__eyebrow {
  color: #9ca294;
}

.vl-dashboard__page-head h1 {
  margin: 0 0 10px;
  font-family: var(--vl-font-display);
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .96;
}

.vl-dashboard__page-head p:not(.vl-dashboard__eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #697064;
  font-size: .9rem;
}

html[data-vl-theme="dark"] .vl-dashboard__page-head p:not(.vl-dashboard__eyebrow) {
  color: #a9afa2;
}

.vl-dashboard__primary,
.vl-dashboard__secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid #171913;
  border-radius: 0;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .04em;
  white-space: nowrap;
}

.vl-dashboard__primary {
  background: #171913;
  color: #fff;
}

.vl-dashboard__primary:hover {
  border-color: var(--vl-accent);
  background: var(--vl-accent);
  color: #10120e;
}

.vl-dashboard__secondary {
  background: transparent;
  color: #171913;
}

.vl-dashboard__secondary:hover {
  background: #dfe3d9;
}

html[data-vl-theme="dark"] .vl-dashboard__primary {
  border-color: #eef1e8;
  background: #eef1e8;
  color: #10120e;
}

html[data-vl-theme="dark"] .vl-dashboard__secondary {
  border-color: #4d5248;
  color: #eef1e8;
}

html[data-vl-theme="dark"] .vl-dashboard__secondary:hover {
  background: #272a23;
}

.vl-dashboard__head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.vl-dashboard__head-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(23, 25, 19, .22);
  color: #565d51;
  font-size: .72rem;
}

html[data-vl-theme="dark"] .vl-dashboard__head-actions a {
  border-color: rgba(238,241,232,.2);
  color: #bdc2b7;
}

.vl-dashboard__notice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 28px;
  padding: 15px 18px;
  border-left: 3px solid #5d7744;
  background: #f8faf5;
  box-shadow: 0 12px 28px rgba(28, 32, 23, .07);
  font-size: .82rem;
  transition: opacity 300ms ease, transform 300ms ease;
}

.vl-dashboard__notice.is-leaving {
  transform: translateY(-10px);
  opacity: 0;
}

.vl-dashboard__notice button {
  border: 0;
  background: none;
  color: inherit;
  font-size: 1.4rem;
}

html[data-vl-theme="dark"] .vl-dashboard__notice {
  background: #20231c;
}

.vl-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
  border-top: 1px solid #cfd4ca;
  border-left: 1px solid #cfd4ca;
}

html[data-vl-theme="dark"] .vl-dashboard__stats {
  border-color: #343830;
}

.vl-dashboard__stats > div {
  min-height: 155px;
  padding: 24px;
  border-right: 1px solid #cfd4ca;
  border-bottom: 1px solid #cfd4ca;
  background: rgba(255,255,255,.45);
}

html[data-vl-theme="dark"] .vl-dashboard__stats > div {
  border-color: #343830;
  background: rgba(255,255,255,.025);
}

.vl-dashboard__stats span {
  display: block;
  color: #697064;
  font-size: .67rem;
  font-weight: 710;
  letter-spacing: .09em;
  text-transform: uppercase;
}

html[data-vl-theme="dark"] .vl-dashboard__stats span {
  color: #979e91;
}

.vl-dashboard__stats strong {
  display: block;
  margin-top: 36px;
  font-family: var(--vl-font-display);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}

.vl-dashboard__grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.vl-dashboard__panel {
  margin-bottom: 24px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid #cfd4ca;
  background: rgba(255,255,255,.55);
}

html[data-vl-theme="dark"] .vl-dashboard__panel {
  border-color: #343830;
  background: #191c16;
}

.vl-dashboard__panel > h2,
.vl-dashboard__panel-head h2 {
  margin: 0;
  font-family: var(--vl-font-display);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -.025em;
}

.vl-dashboard__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.vl-dashboard__panel-head a {
  color: #697064;
  font-size: .72rem;
  border-bottom: 1px solid currentColor;
}

.vl-dashboard__mini-list {
  display: grid;
}

.vl-dashboard__mini-list > a {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #d8ddd3;
}

html[data-vl-theme="dark"] .vl-dashboard__mini-list > a {
  border-color: #343830;
}

.vl-dashboard__mini-thumb {
  width: 64px;
  aspect-ratio: 1;
  background: #dfe3d9 center / cover;
}

.vl-dashboard__mini-list strong {
  display: block;
  font-size: .82rem;
}

.vl-dashboard__mini-list small {
  display: block;
  margin-top: 3px;
  color: #737a6e;
  font-size: .67rem;
}

html[data-vl-theme="dark"] .vl-dashboard__mini-list small {
  color: #959c8f;
}

.vl-dashboard__checks {
  display: grid;
  gap: 11px;
}

.vl-dashboard__checks > div {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 8px;
  padding: 13px 0;
  border-top: 1px solid #d8ddd3;
}

html[data-vl-theme="dark"] .vl-dashboard__checks > div {
  border-color: #343830;
}

.vl-dashboard__checks span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .7rem;
}

.vl-dashboard__checks .is-ok {
  color: #3f7245;
}

.vl-dashboard__checks .is-pending {
  color: #8a6d3a;
}

.vl-dashboard__checks p {
  margin: 0;
  color: inherit;
  font-size: .78rem;
}

/* Filters, tables and lists */
.vl-dashboard__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.vl-dashboard__filters form {
  display: flex;
  gap: 8px;
}

.vl-dashboard__filters input,
.vl-dashboard__filters select {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #c8cec3;
  border-radius: 0;
  background: rgba(255,255,255,.7);
  color: #171913;
}

html[data-vl-theme="dark"] .vl-dashboard__filters input,
html[data-vl-theme="dark"] .vl-dashboard__filters select {
  border-color: #41463d;
  background: #1b1e18;
  color: #eef1e8;
}

.vl-dashboard__project-table {
  display: grid;
  border-top: 1px solid #cfd4ca;
}

html[data-vl-theme="dark"] .vl-dashboard__project-table {
  border-color: #343830;
}

.vl-dashboard__project-row {
  display: grid;
  grid-template-columns: 110px minmax(220px, 1fr) 120px 155px;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid #cfd4ca;
}

html[data-vl-theme="dark"] .vl-dashboard__project-row {
  border-color: #343830;
}

.vl-dashboard__project-cover {
  width: 110px;
  aspect-ratio: 4 / 3;
  background: #dfe3d9 center / cover;
}

.vl-dashboard__project-info strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--vl-font-display);
  font-size: 1.25rem;
  font-weight: 400;
}

.vl-dashboard__project-info span {
  color: #737a6e;
  font-size: .68rem;
}

.vl-dashboard__project-status {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border: 1px solid #c4cabf;
  color: #5e655a;
  font-size: .65rem;
  font-weight: 710;
  letter-spacing: .06em;
  text-transform: uppercase;
}

html[data-vl-theme="dark"] .vl-dashboard__project-status {
  border-color: #454a41;
  color: #aeb4a7;
}

.vl-dashboard__project-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.vl-dashboard__project-actions a {
  padding: 7px 9px;
  border: 1px solid #c8cec3;
  font-size: .65rem;
}

html[data-vl-theme="dark"] .vl-dashboard__project-actions a {
  border-color: #41463d;
}

.vl-dashboard__empty {
  padding: 80px 20px;
  border: 1px dashed #c8cec3;
  color: #737a6e;
  text-align: center;
}

/* Inquiries */
.vl-dashboard__inquiries {
  display: grid;
  border-top: 1px solid #cfd4ca;
}

.vl-dashboard__inquiry-row {
  display: grid;
  grid-template-columns: 150px 1fr 180px 120px;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid #cfd4ca;
}

html[data-vl-theme="dark"] .vl-dashboard__inquiries,
html[data-vl-theme="dark"] .vl-dashboard__inquiry-row {
  border-color: #343830;
}

.vl-dashboard__inquiry-date {
  color: #737a6e;
  font-size: .68rem;
}

.vl-dashboard__inquiry-row strong {
  display: block;
  margin-bottom: 3px;
  font-size: .83rem;
}

.vl-dashboard__inquiry-row small {
  color: #737a6e;
}

.vl-inquiry-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 24px;
}

.vl-inquiry-message {
  white-space: pre-wrap;
  line-height: 1.72;
}

.vl-inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.vl-inquiry-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #c8cec3;
  font-size: .7rem;
}

html[data-vl-theme="dark"] .vl-inquiry-actions a {
  border-color: #41463d;
}

/* Editor */
.vl-project-editor,
.vl-settings-form {
  display: grid;
  gap: 20px;
}

.vl-editor-tabs {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  gap: 0;
  overflow-x: auto;
  border: 1px solid #cfd4ca;
  background: rgba(237,240,233,.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

html[data-vl-theme="dark"] .vl-editor-tabs {
  border-color: #343830;
  background: rgba(18,20,15,.92);
}

.vl-editor-tabs button {
  flex: 1 0 auto;
  min-height: 48px;
  padding: 10px 17px;
  border: 0;
  border-right: 1px solid #cfd4ca;
  background: transparent;
  color: #697064;
  font-size: .7rem;
  font-weight: 720;
  letter-spacing: .05em;
}

html[data-vl-theme="dark"] .vl-editor-tabs button {
  border-color: #343830;
  color: #a0a69a;
}

.vl-editor-tabs button.is-active {
  background: #171913;
  color: #fff;
}

html[data-vl-theme="dark"] .vl-editor-tabs button.is-active {
  background: #eef1e8;
  color: #10120e;
}

.vl-editor-section {
  display: none;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid #cfd4ca;
  background: rgba(255,255,255,.55);
}

html[data-vl-theme="dark"] .vl-editor-section {
  border-color: #343830;
  background: #191c16;
}

.vl-editor-section.is-active {
  display: block;
  animation: vl-editor-in 420ms var(--vl-ease);
}

@keyframes vl-editor-in {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.vl-editor-intro {
  max-width: 800px;
  margin: 0 0 28px;
  color: #697064;
}

html[data-vl-theme="dark"] .vl-editor-intro {
  color: #a0a69a;
}

.vl-language-tabs {
  display: inline-flex;
  margin-bottom: 28px;
  border: 1px solid #c8cec3;
}

html[data-vl-theme="dark"] .vl-language-tabs {
  border-color: #41463d;
}

.vl-language-tabs button {
  min-height: 38px;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  color: #697064;
  font-size: .69rem;
  font-weight: 720;
}

.vl-language-tabs button.is-active {
  background: #dfe3d9;
  color: #171913;
}

html[data-vl-theme="dark"] .vl-language-tabs button.is-active {
  background: #30342c;
  color: #eef1e8;
}

.vl-language-panel {
  display: none;
}

.vl-language-panel.is-active {
  display: grid;
  gap: 20px;
}

.vl-form-grid-2,
.vl-form-grid-3 {
  display: grid;
  gap: 18px;
}

.vl-form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vl-form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.vl-editor-section > .vl-form-grid-2,
.vl-editor-section > .vl-form-grid-3,
.vl-language-panel + .vl-form-grid-3,
.vl-language-panel + .vl-form-grid-2 {
  margin-top: 20px;
}

.vl-field {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.vl-field > span,
.vl-field legend,
.vl-existing-media > strong {
  color: #646b60;
  font-size: .68rem;
  font-weight: 730;
  letter-spacing: .07em;
  text-transform: uppercase;
}

html[data-vl-theme="dark"] .vl-field > span,
html[data-vl-theme="dark"] .vl-field legend,
html[data-vl-theme="dark"] .vl-existing-media > strong {
  color: #a2a89b;
}

.vl-field input,
.vl-field textarea,
.vl-field select,
.vl-settings-form input,
.vl-settings-form textarea,
.vl-settings-form select,
.vl-inquiry-detail input,
.vl-inquiry-detail textarea,
.vl-inquiry-detail select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #c8cec3;
  border-radius: 0;
  background: rgba(255,255,255,.7);
  color: #171913;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.vl-field textarea,
.vl-settings-form textarea,
.vl-inquiry-detail textarea {
  min-height: 130px;
  resize: vertical;
}

.vl-field input:focus,
.vl-field textarea:focus,
.vl-field select:focus,
.vl-settings-form input:focus,
.vl-settings-form textarea:focus,
.vl-settings-form select:focus,
.vl-inquiry-detail input:focus,
.vl-inquiry-detail textarea:focus,
.vl-inquiry-detail select:focus {
  border-color: #5d7744;
  box-shadow: 0 0 0 3px rgba(93,119,68,.12);
}

html[data-vl-theme="dark"] .vl-field input,
html[data-vl-theme="dark"] .vl-field textarea,
html[data-vl-theme="dark"] .vl-field select,
html[data-vl-theme="dark"] .vl-settings-form input,
html[data-vl-theme="dark"] .vl-settings-form textarea,
html[data-vl-theme="dark"] .vl-settings-form select,
html[data-vl-theme="dark"] .vl-inquiry-detail input,
html[data-vl-theme="dark"] .vl-inquiry-detail textarea,
html[data-vl-theme="dark"] .vl-inquiry-detail select {
  border-color: #41463d;
  background: #141611;
  color: #eef1e8;
}

.vl-field input[type="file"],
.vl-upload-block input[type="file"],
.vl-immersive-editor-card input[type="file"] {
  padding: 14px;
  border-style: dashed;
  font-size: .75rem;
}

.vl-field small {
  color: #7a8174;
  font-size: .67rem;
  line-height: 1.45;
}

.vl-field__counter {
  position: absolute;
  right: 10px;
  bottom: -19px;
  font-variant-numeric: tabular-nums;
}

.vl-field__counter.is-near-limit {
  color: #a26c2f;
}

.vl-check-list {
  margin: 0;
  padding: 18px;
  border: 1px solid #c8cec3;
}

html[data-vl-theme="dark"] .vl-check-list {
  border-color: #41463d;
}

.vl-check-list legend {
  padding: 0 7px;
}

.vl-check-list label,
.vl-switch-list label,
.vl-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 7px 0;
  color: #545b50;
  font-size: .78rem;
}

html[data-vl-theme="dark"] .vl-check-list label,
html[data-vl-theme="dark"] .vl-switch-list label,
html[data-vl-theme="dark"] .vl-checkbox {
  color: #b8beb1;
}

.vl-check-list input,
.vl-switch-list input,
.vl-checkbox input {
  width: 17px;
  min-height: 17px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #5d7744;
}

.vl-upload-block {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, .8fr);
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid #cfd4ca;
  background: rgba(255,255,255,.35);
}

html[data-vl-theme="dark"] .vl-upload-block {
  border-color: #343830;
  background: rgba(255,255,255,.02);
}

.vl-upload-block h2,
.vl-immersive-editor-card h2 {
  margin: 0 0 8px;
  font-family: var(--vl-font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -.025em;
}

.vl-upload-block p,
.vl-immersive-editor-card p {
  margin: 0;
  color: #747b70;
  font-size: .78rem;
}

html[data-vl-theme="dark"] .vl-upload-block p,
html[data-vl-theme="dark"] .vl-immersive-editor-card p {
  color: #9ea497;
}

.vl-current-cover {
  width: 100%;
  max-height: 520px;
  margin: 0 0 28px;
  object-fit: cover;
}

.vl-media-sort {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}

.vl-media-sort__item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #c8cec3;
  background: #dfe3d9;
  cursor: grab;
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

html[data-vl-theme="dark"] .vl-media-sort__item {
  border-color: #41463d;
  background: #252921;
}

.vl-media-sort__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23,25,19,.12);
}

.vl-media-sort__item.is-dragging {
  transform: scale(.96);
  opacity: .5;
}

.vl-media-sort__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vl-media-sort__item > button {
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 5px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(16,18,14,.84);
  color: #fff;
  font-size: 1.1rem;
}

.vl-media-sort__item > span {
  position: absolute;
  right: 7px;
  bottom: 5px;
  padding: 3px 5px;
  background: rgba(16,18,14,.75);
  color: #fff;
  font-size: .75rem;
}

.vl-existing-media {
  margin-top: 22px;
}

.vl-immersive-editor-card {
  margin-bottom: 20px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid #cfd4ca;
  background: rgba(255,255,255,.32);
}

html[data-vl-theme="dark"] .vl-immersive-editor-card {
  border-color: #343830;
  background: rgba(255,255,255,.02);
}

.vl-immersive-editor-card > div:first-child {
  display: grid;
  grid-template-columns: 48px 1fr;
  margin-bottom: 26px;
}

.vl-immersive-editor-card > div:first-child > span {
  color: #7a8174;
  font-size: .7rem;
  letter-spacing: .12em;
}

.vl-immersive-editor-card > div:first-child > h2,
.vl-immersive-editor-card > div:first-child > p {
  grid-column: 2;
}

.vl-file-current {
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px solid #d7dcd2;
}

html[data-vl-theme="dark"] .vl-file-current {
  border-color: #343830;
}

.vl-file-current a {
  border-bottom: 1px solid currentColor;
}

.vl-publish-box {
  display: grid;
  grid-template-columns: 1fr minmax(220px, .45fr);
  gap: 24px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #cfd4ca;
  background: #f2f5ee;
}

html[data-vl-theme="dark"] .vl-publish-box {
  border-color: #41463d;
  background: #151711;
}

.vl-publish-box > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #747b70;
  font-size: .75rem;
}

.vl-editor-footer {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid #cfd4ca;
  background: rgba(237,240,233,.95);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

html[data-vl-theme="dark"] .vl-editor-footer {
  border-color: #343830;
  background: rgba(18,20,15,.96);
}

.vl-editor-footer.is-floating {
  position: sticky;
  bottom: 14px;
  box-shadow: 0 18px 50px rgba(23,25,19,.18);
}

.vl-editor-footer > span {
  color: #747b70;
  font-size: .71rem;
}

.vl-editor-footer > div {
  display: flex;
  gap: 9px;
}

.vl-editor-footer__sentinel {
  height: 1px;
}

.vl-upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  grid-column: 1 / -1;
  margin-top: 12px;
}

.vl-upload-preview > div {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px;
  border: 1px solid #cfd4ca;
}

html[data-vl-theme="dark"] .vl-upload-preview > div {
  border-color: #41463d;
}

.vl-upload-preview img {
  width: 46px;
  height: 46px;
  object-fit: cover;
}

.vl-upload-preview strong,
.vl-upload-preview small {
  display: block;
  overflow: hidden;
  font-size: .65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vl-upload-preview small {
  color: #7a8174;
}

/* Settings / help */
.vl-settings-form .vl-dashboard__panel {
  display: grid;
  gap: 22px;
}

.vl-switch-list {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 17px;
  border: 1px solid #c8cec3;
}

html[data-vl-theme="dark"] .vl-switch-list {
  border-color: #41463d;
}

.vl-dashboard__help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.vl-dashboard__help-grid section {
  min-height: 280px;
  padding: 26px;
  border: 1px solid #cfd4ca;
  background: rgba(255,255,255,.5);
}

html[data-vl-theme="dark"] .vl-dashboard__help-grid section {
  border-color: #343830;
  background: #191c16;
}

.vl-dashboard__help-grid span {
  color: #7a8174;
  font-size: .7rem;
  letter-spacing: .13em;
}

.vl-dashboard__help-grid h2 {
  margin: 60px 0 12px;
  font-family: var(--vl-font-display);
  font-size: 1.7rem;
  font-weight: 400;
}

.vl-dashboard__help-grid p {
  margin: 0;
  color: #737a6e;
  font-size: .78rem;
}

html[data-vl-theme="dark"] .vl-dashboard__help-grid p {
  color: #a0a69a;
}

.vl-dashboard__help-note p {
  color: #737a6e;
}

.vl-dashboard__mobile-toggle {
  display: none;
}

/* Responsive dashboard */
@media (max-width: 1180px) {
  .vl-dashboard {
    --dashboard-sidebar: 238px;
  }
  .vl-dashboard__main {
    padding: 36px;
  }
  .vl-dashboard__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vl-dashboard__project-row {
    grid-template-columns: 94px minmax(200px, 1fr) 120px;
  }
  .vl-dashboard__project-actions {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }
  .vl-dashboard__inquiry-row {
    grid-template-columns: 120px 1fr 120px;
  }
  .vl-dashboard__inquiry-row > :last-child {
    grid-column: 2 / -1;
  }
  .vl-dashboard__help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .vl-dashboard {
    display: block;
  }
  .vl-dashboard__sidebar {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    transform: translateX(-102%);
    box-shadow: 24px 0 60px rgba(0,0,0,.26);
    transition: transform 360ms var(--vl-ease);
  }
  .vl-dashboard.is-sidebar-open .vl-dashboard__sidebar {
    transform: translateX(0);
  }
  .vl-dashboard.is-sidebar-open::before {
    content: "";
    position: fixed;
    z-index: 90;
    inset: 0;
    background: rgba(8,9,7,.6);
  }
  .vl-dashboard__mobile-toggle {
    position: fixed;
    z-index: 110;
    top: 14px;
    left: 14px;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0;
    border: 0;
    background: #10120e;
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
  }
  .vl-dashboard__mobile-toggle span {
    position: absolute;
    width: 21px;
    height: 1px;
    background: #fff;
    transition: transform 250ms ease, opacity 180ms ease;
  }
  .vl-dashboard__mobile-toggle span:nth-child(1) { transform: translateY(-6px); }
  .vl-dashboard__mobile-toggle span:nth-child(3) { transform: translateY(6px); }
  .vl-dashboard__mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .vl-dashboard__mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .vl-dashboard__mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
  .vl-dashboard__main {
    padding: 78px 24px 34px;
  }
  .vl-dashboard__grid-2,
  .vl-inquiry-detail {
    grid-template-columns: 1fr;
  }
  .vl-editor-tabs {
    top: 8px;
  }
  .vl-upload-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .vl-dashboard__main {
    padding-inline: 15px;
  }
  .vl-dashboard__page-head {
    flex-direction: column;
  }
  .vl-dashboard__page-head h1 {
    font-size: 3rem;
  }
  .vl-dashboard__stats,
  .vl-form-grid-2,
  .vl-form-grid-3,
  .vl-publish-box,
  .vl-dashboard__help-grid {
    grid-template-columns: 1fr;
  }
  .vl-dashboard__stats > div {
    min-height: 130px;
  }
  .vl-dashboard__stats strong {
    margin-top: 25px;
  }
  .vl-dashboard__project-row {
    grid-template-columns: 86px 1fr;
    gap: 14px;
  }
  .vl-dashboard__project-cover {
    width: 86px;
  }
  .vl-dashboard__project-status {
    grid-column: 2;
  }
  .vl-dashboard__project-actions {
    grid-column: 1 / -1;
  }
  .vl-dashboard__inquiry-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .vl-dashboard__inquiry-row > :last-child {
    grid-column: auto;
  }
  .vl-editor-section {
    padding: 20px 15px;
  }
  .vl-editor-tabs button {
    padding-inline: 13px;
  }
  .vl-media-sort {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vl-immersive-editor-card > div:first-child {
    grid-template-columns: 32px 1fr;
  }
  .vl-editor-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .vl-editor-footer > div {
    display: grid;
    grid-template-columns: 1fr;
  }
  .vl-editor-footer .vl-dashboard__primary,
  .vl-editor-footer .vl-dashboard__secondary {
    width: 100%;
  }
}

/* --- Dashboard refinement update --- */
.vl-dashboard__page-head h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.9rem);
}

.vl-dashboard__primary,
.vl-dashboard__secondary {
  min-height: 48px;
  font-size: .76rem;
  letter-spacing: .06em;
}

.vl-dashboard__primary {
  background: #171813;
  color: #f5f2e9;
}

.vl-dashboard__primary:hover {
  border-color: var(--vl-accent);
  background: var(--vl-accent);
  color: #11120f;
}

.vl-dashboard__secondary:hover {
  background: #e4e6de;
}

html[data-vl-theme="dark"] .vl-dashboard__primary {
  border-color: #f3eee4;
  background: #f3eee4;
  color: #11120f;
}

html[data-vl-theme="dark"] .vl-dashboard__secondary:hover {
  background: #262922;
}
