/* ── 发布页通栏：整页一屏不滚动 ── */
html:has(body.sk-editor-page) { height: 100%; overflow: hidden; }
body.sk-editor-page {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}
body.sk-editor-page .app-header { flex: 0 0 auto; }
body.sk-editor-page > .container.py-4 {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
}
body.sk-editor-page main {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  max-width: none;
  padding: 0 !important;
  display: flex;
}
body.sk-editor-page .footer,
body.sk-editor-page .app-mobile-tabbar {
  display: none !important;
}

.sk-page { max-width: none; margin: 0; padding: 24px 4px 40px; }
.sk-page-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 18px; }
.sk-page-kicker {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
  background: #eef2ff; color: #4338ca; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
}
.sk-page-head h1 { margin: 8px 0 6px; font-size: 1.55rem; letter-spacing: -.03em; color: #0f172a; }
.sk-page-head p { margin: 0; color: #64748b; max-width: 560px; line-height: 1.55; font-size: .9rem; }
.sk-page-new { white-space: nowrap; border-radius: 999px; padding: .5rem 1rem; }
.sk-back { color: #64748b; text-decoration: none; font-size: .8rem; white-space: nowrap; }
.sk-back:hover { color: #0f172a; }
.sk-head-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sk-status-pill {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
  background: #f1f5f9; color: #475569; font-size: .75rem; font-weight: 600;
}
.sk-status-pill.is-published { background: #dcfce7; color: #166534; }
.sk-status-pill.is-offline { background: #fef3c7; color: #92400e; }

.sk-toolbar {
  display: flex; gap: 10px; margin-bottom: 16px; align-items: center;
  padding: 10px 12px; background: #fff; border: 1px solid #e8edf4; border-radius: 14px;
}
.sk-toolbar .form-control { max-width: 320px; }
.sk-toolbar .form-select { max-width: 160px; }

.sk-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr));
  gap: 12px;
}
.sk-list > .sk-empty { grid-column: 1 / -1; }
.sk-card {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 12px 14px; border: 1px solid #e8edf4; border-radius: 16px; background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .03);
  min-width: 0;
}
.sk-card:hover { border-color: #c7d2fe; box-shadow: 0 10px 28px rgba(37, 99, 235, .08); }
.sk-card-cover {
  width: 112px; height: 80px; border-radius: 12px; object-fit: cover; background: #f8fafc;
}
.sk-card-cover-empty {
  width: 112px; height: 80px; border-radius: 12px; background: linear-gradient(180deg, #f8fafc, #eef2ff);
  color: #94a3b8; display: grid; place-items: center; font-size: .78rem;
}
.sk-card-body { min-width: 0; }
.sk-card-title-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px;
}
.sk-card h3 { margin: 0; font-size: 1.05rem; letter-spacing: -.01em; color: #0f172a; }
.sk-card p { margin: 0; color: #64748b; font-size: .88rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sk-card-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 10px; font-size: .78rem; color: #94a3b8;
}
.sk-card-meta > span:not(.sk-card-cost):not(.sk-card-cap-icons) {
  padding: 2px 8px; border-radius: 999px; background: #f8fafc; border: 1px solid #eef2f7;
}
.sk-card-cap-icons {
  display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.sk-cap-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; padding: 0; flex: 0 0 auto;
  border-radius: 6px; border: 1px solid #e8edf4; background: #fff;
  color: #64748b; text-decoration: none; line-height: 0;
  transition: border-color .15s, color .15s, background .15s, transform .15s;
}
.sk-cap-icon svg { width: 13px; height: 13px; display: block; }
.sk-cap-icon.is-workflow { color: #2563eb; background: #eff6ff; border-color: #dbeafe; }
.sk-cap-icon.is-flow { color: #6d28d9; background: #f5f3ff; border-color: #ede9fe; }
.sk-cap-icon:hover {
  transform: translateY(-1px);
  border-color: currentColor;
}
.sk-card-cost {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px;
  background: #eef6ff; border: 1px solid #dbeafe; color: #1d4ed8;
  font-size: .72rem; font-weight: 600;
}
.sk-card-cost strong { font-size: .78rem; font-weight: 700; color: #1e3a8a; }
.sk-card-cost.is-free { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.sk-card-cost.is-free strong { color: #166534; }
.sk-card-cost.is-incomplete { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.sk-card-cost.is-incomplete strong { color: #92400e; }
.sk-card-actions {
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px; align-items: center;
  justify-content: flex-end; min-width: 0;
}
.sk-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; flex: 0 0 auto;
  border: 1px solid #e8edf4; border-radius: 8px; background: #fff; color: #64748b;
  text-decoration: none; cursor: pointer; line-height: 0;
  transition: border-color .15s, color .15s, background .15s;
}
.sk-icon-btn svg { width: 15px; height: 15px; display: block; }
.sk-icon-btn:hover { border-color: #c7d2fe; color: #2563eb; background: #eff6ff; }
.sk-icon-btn.is-run { color: #2563eb; }
.sk-icon-btn.is-run:hover { background: #dbeafe; border-color: #93c5fd; }
.sk-icon-btn.is-danger:hover { border-color: #fecaca; color: #dc2626; background: #fef2f2; }
.sk-chip-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid #e8edf4;
  background: #fff; color: #64748b; font-size: .72rem; font-weight: 600; cursor: pointer;
}
.sk-chip-btn.is-offline:hover { border-color: #fde68a; color: #b45309; background: #fffbeb; }
.sk-chip-btn.is-online:hover { border-color: #bbf7d0; color: #15803d; background: #f0fdf4; }
.sk-empty { padding: 28px 10px; text-align: center; color: #94a3b8; font-size: .84rem; }
.sk-pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 18px; }

/* ── 编辑器：一屏精致布局 ── */
.sk-editor {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #f3f5f8;
  overflow: hidden;
}
.sk-editor-topbar {
  flex: 0 0 auto;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 10px 16px; background: #fff; border-bottom: 1px solid #e8edf4;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}
.sk-editor-topbar-main {
  display: flex; align-items: center; gap: 10px; min-width: 0;
}
.sk-editor-topbar-main h1 {
  margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.sk-editor-split {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .85fr);
  gap: 10px;
  padding: 10px 12px 12px;
}

.sk-editor-col--side {
  min-width: 0; min-height: 0;
  display: flex;
  flex-direction: column;
}
.sk-panel--full {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding-right: 6px;
}

.sk-panel {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .03);
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.sk-panel--half { overflow: hidden; }
.sk-panel--duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.sk-duo-pane {
  min-width: 0; min-height: 0;
  display: flex; flex-direction: column;
  padding: 10px 6px 10px 12px;
  overflow: hidden;
}
.sk-duo-pane--skill .sk-skill-meta {
  flex: 0 0 auto;
  overflow: visible;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e8edf4;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 12px;
  align-items: start;
}
.sk-duo-pane--skill .sk-skill-meta .sk-field { margin-bottom: 6px; }
.sk-duo-pane--skill .sk-skill-meta .sk-field:last-child { margin-bottom: 0; }
.sk-duo-pane--skill .sk-skill-meta textarea.form-control {
  resize: none;
  overflow: hidden;
}
.sk-field--cover { margin-bottom: 0 !important; }
.sk-field--cover .sk-cover-tile {
  width: 88px; height: 88px;
}
.sk-materials-block {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sk-duo-divider { background: #e8edf4; }

.sk-pane-head {
  flex: 0 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.sk-cost-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin: 0 0 10px; padding: 8px 10px; border-radius: 10px;
  background: #f8fafc; border: 1px solid #eef2f7;
}
.sk-cost-bar .sk-points-predict {
  margin: 0; padding: 0; border: 0; background: transparent; max-width: none;
  color: #1d4ed8; font-size: .72rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.sk-cost-bar .sk-points-predict strong { color: #1e3a8a; font-size: .86rem; font-weight: 700; }
.sk-cost-bar .sk-points-predict.is-incomplete { color: #92400e; }
.sk-cost-bar .sk-points-predict.is-incomplete strong { color: #92400e; }
.sk-hint-switch {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  font-size: .7rem; font-weight: 600; color: #64748b; cursor: pointer; white-space: nowrap;
}
.sk-switch {
  width: 2.2rem; height: 1.22rem; border: 0; border-radius: 999px;
  background: #cbd5e1; padding: 0.1rem; cursor: pointer; flex: 0 0 auto;
  transition: background .18s ease;
}
.sk-switch span {
  display: block; width: 0.98rem; height: 0.98rem; border-radius: 999px;
  background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .2);
  transition: transform .18s ease;
}
.sk-switch.is-on { background: #2563eb; }
.sk-switch.is-on span { transform: translateX(0.96rem); }
.sk-pane-head h2,
.sk-panel h2 {
  margin: 0; font-size: .86rem; font-weight: 700; letter-spacing: -.01em; color: #0f172a;
}
.sk-pane-body {
  flex: 1 1 auto; min-height: 0; overflow: auto;
}
.sk-pane-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  scrollbar-gutter: stable;
}
.sk-hint {
  flex: 0 0 auto;
  margin: 0 0 6px; color: #94a3b8; font-size: .72rem; line-height: 1.35;
}

.sk-field { margin-bottom: 8px; }
.sk-field label {
  display: block; font-weight: 600; margin-bottom: 3px;
  font-size: .74rem; color: #64748b;
}
.sk-field label em { font-style: normal; color: #94a3b8; font-weight: 500; margin-left: 3px; }
.sk-field .form-control,
.sk-field .form-select,
.sk-item .form-control,
.sk-item .form-select {
  font-size: .8rem;
  padding: .28rem .5rem;
  min-height: 1.9rem;
  border-radius: 8px;
}
.sk-field textarea.form-control { min-height: 0; resize: vertical; }
.sk-field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sk-field-row .sk-field { margin-bottom: 0; }
.sk-cap-cost {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 8px;
  padding: 2px 8px; border-radius: 999px;
  background: #eef6ff; border: 1px solid #dbeafe; color: #1d4ed8;
  font-size: .66rem; font-weight: 600; white-space: nowrap; flex: 0 0 auto;
}
.sk-cap-cost strong { font-size: .72rem; font-weight: 700; color: #1e3a8a; }
.sk-cap-cost.is-incomplete { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.sk-cap-cost.is-incomplete strong { color: #92400e; }
.sk-cap-iter-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; margin: 0; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: inherit; cursor: pointer;
}
.sk-cap-iter-btn:hover, .sk-cap-iter-btn:focus { background: rgba(37, 99, 235, .12); outline: none; }
.sk-cap-iter-btn svg { width: 12px; height: 12px; display: block; }
.sk-cap-iter-pop {
  display: none; position: fixed; z-index: 4000;
  width: min(280px, 80vw); padding: 10px 12px; border-radius: 10px;
  background: #fff; border: 1px solid #e8edf5; box-shadow: 0 16px 36px -18px rgba(15, 23, 42, .38);
  color: #334155; font-size: 12px; line-height: 1.45;
}
.sk-cap-iter-pop.is-open { display: block; }
.sk-cap-iter-pop-title { font-weight: 600; margin-bottom: 8px; color: #0f172a; }
.sk-cap-iter-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 8px; align-items: center;
  padding: 4px 0;
}
.sk-cap-iter-row + .sk-cap-iter-row { border-top: 1px solid #f1f5f9; }
.sk-cap-iter-row label {
  margin: 0; font-size: .72rem; font-weight: 600; color: #475569;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sk-cap-iter-row input {
  height: 28px; padding: 2px 6px; font-size: .75rem;
}
.sk-cap-iter-empty { color: #94a3b8; font-size: .72rem; padding: 4px 0; }
.sk-item-head-main {
  display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1 1 auto;
}
.sk-item-head-main strong { min-width: 0; }

.sk-cover-grid { display: flex; gap: 8px; }
.sk-cover-tile {
  width: 72px; height: 72px; border-radius: 12px; border: 1.5px dashed #cbd5e1; background: #f8fafc;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #94a3b8; font-size: .68rem; font-weight: 600; cursor: pointer; overflow: hidden; padding: 0;
}
.sk-cover-tile:hover { border-color: #94a3b8; }
.sk-cover-tile.is-filled { border-style: solid; border-color: #e2e8f0; }
.sk-cover-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sk-cover-plus { font-size: 1rem; line-height: 1; color: #94a3b8; }

/* 素材：固定宽度，高度随封面比例自然变化 */
.sk-material-grid {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}
.sk-mat-card {
  position: relative;
  width: 108px;
  flex: 0 0 108px;
  border: 1px solid #e8edf4;
  border-radius: 10px;
  background: #fafbfc;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sk-mat-thumb {
  position: relative;
  width: 100%;
  background: #f1f5f9;
  overflow: hidden;
  min-height: 72px;
}
.sk-mat-thumb.is-empty {
  aspect-ratio: 2 / 3;
  min-height: 0;
  height: auto;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.sk-mat-thumb img,
.sk-mat-thumb video {
  display: block;
  width: 100%;
  height: auto;
}
.sk-materials-block .sk-pane-head {
  margin-bottom: 6px;
}
.sk-materials-block .sk-pane-head h2 {
  font-size: .8rem;
  color: #475569;
  font-weight: 700;
}
.sk-mat-card--add {
  border-style: dashed;
  border-color: #cbd5e1;
  background: #f8fafc;
  min-height: calc(108px * 3 / 2 + 52px);
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #64748b;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px;
  font-family: inherit;
}
.sk-mat-card--add:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}
.sk-mat-add-plus {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
}
.sk-mat-replace {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  transition: opacity .15s ease, background .15s ease;
  pointer-events: none;
  font-size: .68rem;
  font-weight: 600;
  white-space: nowrap;
}
.sk-mat-thumb:hover .sk-mat-replace {
  opacity: 1;
  pointer-events: auto;
}
.sk-mat-replace:hover { background: rgba(37, 99, 235, 0.92); }
.sk-mat-replace svg {
  width: 13px;
  height: 13px;
  display: block;
  flex: 0 0 auto;
}
.sk-mat-thumb-empty {
  color: #94a3b8; font-size: .7rem; font-weight: 600;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.sk-mat-body { padding: 5px 6px 6px; display: flex; flex-direction: column; gap: 3px; }
.sk-mat-body .form-select,
.sk-mat-body .form-control {
  font-size: .68rem; padding: .15rem .3rem; min-height: 1.45rem; border-radius: 6px;
}
.sk-mat-remove {
  position: absolute; top: 4px; right: 4px; z-index: 3;
  width: 18px; height: 18px; border: 0; border-radius: 999px;
  background: rgba(15,23,42,.55); color: #fff; font-size: .7rem; line-height: 1;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
}
.sk-mat-remove:hover { background: rgba(185,28,28,.9); }

.sk-form-list, .sk-capability-list { display: flex; flex-direction: column; gap: 6px; }
.sk-list-add {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
}
.sk-list-add:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}
.sk-item {
  border: 1px solid #e8edf4; border-radius: 12px; padding: 10px;
  background: #fafbfc;
}
.sk-item-head {
  display: flex; justify-content: space-between; gap: 6px; align-items: center; margin-bottom: 6px;
  font-size: .78rem;
}
.sk-item-head strong {
  font-size: .78rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sk-item-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.sk-item-grid--placeholder { grid-template-columns: 1fr; }
.sk-item-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sk-item .form-label { font-size: .7rem; margin-bottom: 2px; color: #64748b; }
.sk-type-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.sk-type-cascade-wrap {
  flex: 1 1 auto;
  min-width: 0;
}
.sk-required-inline {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  flex: 0 0 auto;
  font-size: .68rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
}
.sk-required-inline input {
  margin: 0;
  accent-color: #2563eb;
}

.sk-fields-box {
  margin-top: 6px; padding: 4px; border-radius: 8px; background: #fff; border: 1px solid #eef2f7;
}
.sk-fields-box h4 { margin: 0 0 4px; font-size: .72rem; color: #94a3b8; font-weight: 700; }

.sk-field-row-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  padding: 5px 6px;
  border-radius: 7px;
}
.sk-field-row-item + .sk-field-row-item { border-top: 1px solid #f1f5f9; }
.sk-field-row-item.is-moved { background: #f8fbff; }
.sk-field-row-meta { min-width: 0; }
.sk-field-row-meta strong { display: block; font-size: .76rem; font-weight: 600; color: #0f172a; }
.sk-field-row-meta small { display: block; margin-top: 1px; color: #94a3b8; font-size: .66rem; }
.sk-field-add {
  width: 24px; height: 24px; border-radius: 999px; border: 1px solid #bfdbfe; background: #eff6ff;
  color: #2563eb; font-size: 14px; line-height: 1; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; flex: 0 0 auto;
}
.sk-field-add span {
  display: block;
  transform: translateY(-0.5px);
}
.sk-field-add:hover { background: #dbeafe; }
.sk-input-locked {
  background: #f1f5f9 !important;
  color: #64748b !important;
  cursor: not-allowed;
}

/* 类型级联 */
.sk-cascade { position: relative; width: 100%; }
.sk-cascade-trigger {
  display: flex; align-items: center; gap: 6px; width: 100%; min-height: 1.9rem;
  padding: 0 8px 0 6px; border: 1px solid #dee2e6; border-radius: 8px;
  background: #fff; color: #0f172a; cursor: pointer; text-align: left; font-size: .8rem;
}
.sk-cascade-trigger:hover { border-color: #93c5fd; }
.sk-cascade.open .sk-cascade-trigger {
  border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.sk-cascade.is-locked .sk-cascade-trigger {
  background: #f1f5f9; color: #64748b; cursor: not-allowed;
}
.sk-cascade-text {
  flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sk-cascade-caret { color: #94a3b8; font-size: .7rem; }
.sk-cascade-ico {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 5px; background: #eef2ff; color: #4338ca;
  font-size: .62rem; font-weight: 700; line-height: 1;
}
.sk-cascade-drop {
  position: fixed; z-index: 1600; display: flex; flex-direction: row;
  max-height: min(420px, calc(100vh - 24px));
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .18); overflow: hidden;
}
.sk-cascade-col {
  display: flex; flex-direction: column;
  min-width: 168px; max-width: 210px; overflow-y: auto; padding: 6px;
  border-right: 1px solid #f0f1f3;
}
.sk-cascade-col:last-child { border-right: 0; }
.sk-cascade-foot {
  position: sticky; bottom: 0; margin-top: auto; padding-top: 6px;
  background: linear-gradient(#ffffffd8, #fff 8px);
  border-top: 1px solid #eef0f3;
}
.sk-cascade-sep { height: 1px; background: #eef0f3; margin: 6px 8px; }
.sk-cascade-item {
  display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: transparent;
  padding: 7px 8px; border-radius: 8px; cursor: pointer; text-align: left; color: #0f172a;
}
.sk-cascade-item:hover, .sk-cascade-item.is-active { background: #f5f7ff; }
.sk-cascade-item.is-active .sk-cascade-ico { background: #dbeafe; color: #1d4ed8; }
.sk-cascade-item-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sk-cascade-item-label { font-size: .78rem; line-height: 1.2; }
.sk-cascade-item small { color: #94a3b8; font-size: .66rem; line-height: 1.2; }
.sk-cascade-arrow { color: #94a3b8; font-size: 15px; line-height: 1; }
.sk-field-added {
  display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 999px;
  background: #dbeafe; color: #1d4ed8; font-size: .66rem; font-weight: 700;
}

.sk-badge {
  display: inline-flex; padding: 0 5px; border-radius: 999px; font-size: .64rem; font-weight: 600;
  background: #e2e8f0; color: #475569; margin-left: 4px; vertical-align: middle;
}
.sk-badge.is-required { background: #fee2e2; color: #b91c1c; }

@media (max-width: 1100px) {
  html:has(body.sk-editor-page) { height: auto; overflow: auto; }
  body.sk-editor-page {
    height: auto; max-height: none; overflow: auto;
  }
  .sk-editor { overflow: visible; min-height: 70vh; }
  .sk-editor-split { grid-template-columns: 1fr; overflow: visible; }
  .sk-editor-col--side { min-height: 280px; }
  .sk-panel--duo { grid-template-columns: 1fr; min-height: 520px; }
  .sk-duo-divider { display: none; }
  .sk-duo-pane { border-top: 1px solid #e8edf4; }
  .sk-duo-pane:first-child { border-top: 0; }
}
@media (max-width: 900px) {
  .sk-page-head, .sk-field-row, .sk-item-grid, .sk-item-grid-3 { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .sk-list { grid-template-columns: 1fr; }
  .sk-toolbar { flex-direction: column; }
  .sk-toolbar .form-control, .sk-toolbar .form-select { max-width: none; }
  .sk-editor-topbar { flex-wrap: wrap; }
  .sk-duo-pane--skill .sk-skill-meta { grid-template-columns: 1fr; }
  .sk-pane-head { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .sk-card { grid-template-columns: 1fr; }
  .sk-card-cover, .sk-card-cover-empty { width: 100%; height: 140px; }
  .sk-card-actions { justify-content: flex-start; }
}
