/* Skills Manager View — V2.0（token 随 data-theme：侘寂 / 素白） */

.skills-manager-view {
  --bg-main: var(--paper);
  --bg-card: var(--frost-72);
  --bg-hover: rgba(143, 142, 137, 0.12);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-soft);
  --text-muted: var(--ink-faint);
  --text-inverse: var(--paper-hot);
  --border-color: var(--line);
  --accent-color: var(--cement);
  --accent-hover: var(--cement-deep);
  --accent-light: rgba(143, 142, 137, 0.14);
  --danger-color: var(--danger-soft);
  --font-sans: var(--font-body);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(46, 46, 43, 0.06);
  --transition-fast: 0.15s ease;

  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--paper-hot) 0%, var(--paper) 55%, var(--cement-fog) 100%);
  color: var(--text-primary);
  padding: 18px 24px 16px;
  overflow: hidden;
  font-family: var(--font-sans);
}

[data-theme="su"] .skills-manager-view,
[data-theme="night"] .skills-manager-view {
  background: var(--paper-hot);
}

[data-theme="night"] .skills-manager-view {
  --bg-card: var(--frost-45);
  --bg-hover: rgba(255, 255, 255, 0.08);
  --text-inverse: #121218;
  --text-muted: var(--ink-soft);
  --accent-light: rgba(196, 194, 186, 0.16);
}

.skills-manager-view[hidden] {
  display: none !important;
}

.skills-manager-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.skills-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: var(--frost-45);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
}

.skills-tab {
  padding: 6px 11px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.skills-tab:hover {
  color: var(--text-primary);
  background: var(--frost-55);
}

.skills-tab.active {
  background: var(--cement);
  color: var(--text-inverse);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.skills-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.skills-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: min(240px, 42vw);
}

.skills-search-wrapper .search-icon {
  position: absolute;
  left: 10px;
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.skills-search-wrapper input {
  width: 100%;
  background: var(--frost-55);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 7px 10px 7px 30px;
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.skills-search-wrapper input:focus {
  background: var(--paper-hot);
  border-color: var(--line-strong);
}

.skills-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  flex-shrink: 0;
}

.skills-categories .category-tag {
  flex-shrink: 0;
  padding: 5px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.skills-categories .category-tag:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.skills-categories .category-tag.active {
  background: var(--accent-light);
  border-color: var(--line-strong);
  color: var(--ink);
}

.skills-toolbar,
.prompts-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.skills-usage-hint {
  flex: 1;
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.skills-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--cement-deep);
  color: var(--paper-hot);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.skills-add-btn:hover {
  background: var(--ink-soft);
}

.skills-empty-hint {
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.skills-list-container,
.skills-prompts-panel,
.skills-profiles-panel {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.skills-prompts-panel,
.skills-profiles-panel {
  display: flex;
  flex-direction: column;
}

.skills-prompts-panel[hidden],
.skills-profiles-panel[hidden],
.skills-list-container[hidden],
.skills-toolbar[hidden],
.skills-categories[hidden] {
  display: none !important;
}

.skill-group-section {
  margin-bottom: 18px;
}

.skill-group-section .group-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: none;
}

.manager-skill-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.manager-skill-item:hover {
  border-color: var(--line-strong);
}

.manager-skill-item.is-editing,
.manager-skill-item.is-modified {
  border-color: rgba(110, 109, 104, 0.35);
  background: var(--frost-70);
}

.skill-item-main {
  flex: 1;
  min-width: 0;
}

.skill-info {
  flex: 1;
  min-width: 0;
}

.skill-title-row,
.skill-item-edit-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.skill-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.skill-code-name {
  font-size: 11px;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.skill-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.skill-badge-builtin {
  background: rgba(143, 142, 137, 0.1);
}

.skill-badge-custom {
  background: rgba(122, 117, 104, 0.12);
}

.skill-badge-modified {
  background: rgba(138, 106, 90, 0.12);
  border-color: rgba(138, 106, 90, 0.28);
  color: var(--danger-color);
}

.skill-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.skill-actions-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.skill-item-actions,
.prompt-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.skill-action-btn,
.prompt-action-btn {
  padding: 4px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.skill-action-btn:hover,
.prompt-action-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.skill-action-btn.primary,
.prompt-action-btn.primary {
  background: var(--cement-deep);
  border-color: var(--cement-deep);
  color: var(--paper-hot);
}

.skill-action-btn.primary:hover,
.prompt-action-btn.primary:hover {
  background: var(--ink-soft);
}

.skill-action-btn.danger:hover,
.prompt-action-btn.danger:hover {
  border-color: rgba(138, 106, 90, 0.45);
  color: var(--danger-color);
  background: rgba(138, 106, 90, 0.08);
}

.skill-item-edit-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.skill-item-title-input,
.prompt-item-title-input {
  flex: 1;
  min-width: 140px;
  padding: 6px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--paper-hot);
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  outline: none;
}

.skill-item-title-input:focus,
.prompt-item-title-input:focus,
.skill-item-desc-input:focus,
.prompt-item-content-input:focus,
.skill-item-category-select:focus {
  border-color: var(--line-strong);
}

.skill-item-desc-input,
.prompt-item-content-input {
  width: 100%;
  min-height: 72px;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--paper-hot);
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  resize: vertical;
  outline: none;
  line-height: 1.5;
}

.skill-item-category-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.skill-item-category-label {
  font-size: 12px;
  color: var(--text-muted);
}

.skill-item-category-select {
  padding: 4px 24px 4px 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--paper-hot);
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: light dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238f8e89' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

[data-theme="night"] .skill-item-category-select {
  color-scheme: dark;
}

.skills-toggle {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  cursor: pointer;
}

.skills-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.skills-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(143, 142, 137, 0.35);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.skills-toggle-slider::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  left: 3px;
  top: 3px;
  background: var(--paper-hot);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.skills-toggle input:checked + .skills-toggle-slider {
  background: var(--cement-deep);
}

.skills-toggle input:checked + .skills-toggle-slider::before {
  transform: translateX(16px);
}

.prompt-item {
  padding: 14px 16px;
  margin-bottom: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.prompt-item.is-editing {
  border-color: rgba(110, 109, 104, 0.35);
  background: var(--frost-70);
}

.prompt-item-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.prompt-item-info {
  flex: 1;
  min-width: 0;
}

.prompt-item-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.prompt-item-preview {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prompt-item-meta {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.prompt-item.is-editing .prompt-item-header {
  margin-bottom: 8px;
}

.prompt-item.is-editing .prompt-item-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* —— Profiles page（工作空间式网格卡片） —— */
.profiles-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.profiles-page-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.profiles-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.profiles-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.profiles-btn svg {
  flex-shrink: 0;
}

.profiles-btn-ghost {
  border: 1px solid var(--border-color);
  background: var(--frost-72, rgba(255, 255, 255, 0.55));
  color: var(--text-primary);
}

.profiles-btn-ghost:hover {
  border-color: var(--line-strong);
  background: var(--bg-hover);
}

.profiles-btn-primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-hot);
}

.profiles-btn-primary:hover {
  background: var(--cement-deep);
  border-color: var(--cement-deep);
}

[data-theme="night"] .profiles-btn-primary {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  color: #121218;
}

.profiles-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  align-content: start;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 2px 12px;
  scrollbar-gutter: stable;
}

.profiles-card-grid.is-editing {
  grid-template-columns: 1fr;
}

.profiles-card-grid.is-editing .profile-block-card {
  display: none;
}

.profile-edit-sheet {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-card);
}

.profile-edit-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-edit-sheet-head strong {
  font-size: 14px;
  color: var(--text-primary);
}

.profile-edit-sheet-actions {
  display: flex;
  gap: 8px;
}

.profile-edit-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.profile-edit-field-inline {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.profile-edit-avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-edit-avatar-preview {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  background: rgba(143, 142, 137, 0.1);
  flex-shrink: 0;
}

.profile-edit-avatar-random {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-edit-avatar-random svg {
  flex-shrink: 0;
}

.profile-model-readonly {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px dashed var(--border-color);
  background: rgba(143, 142, 137, 0.08);
  color: var(--text-primary);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-model-readonly span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.profile-skill-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--paper-hot, #fff);
}

.profile-skill-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.profile-skill-option:hover {
  background: var(--bg-hover);
}

.profile-skill-option input {
  margin-top: 3px;
}

.profile-skill-option-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.profile-skill-option-text strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.profile-skill-option-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--text-muted);
}

.profile-prompt-select {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 7px 28px 7px 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-primary);
  background: var(--paper-hot, #fff);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: light dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238f8e89' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

[data-theme="night"] .profile-prompt-select {
  color-scheme: dark;
}

.profile-prompt-select:focus {
  outline: none;
  border-color: var(--cement);
}

.profile-edit-field .profile-card-title-input,
.profile-edit-field .profile-card-content-input {
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}

.profile-block-card {
  display: flex;
  flex-direction: column;
  background: var(--frost-55, var(--bg-card));
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  min-height: 172px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.profile-block-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 46, 43, 0.08);
  border-color: var(--line-strong);
}

[data-theme="night"] .profile-block-card:hover {
  box-shadow: none;
}

.profile-card-cover {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--cement-mist, #d8d7d1), var(--cement-light, #b8b7b1));
}

.profile-cover-default {
  background: linear-gradient(145deg, #d4d2cb, #b8b7b1);
}

.profile-cover-visitor {
  background: linear-gradient(145deg, #cfc9be, #a8a196);
}

.profile-cover-compliance {
  background: linear-gradient(145deg, #ddd8d0, #b5b0a6);
}

.profile-cover-custom {
  background: linear-gradient(145deg, #d9d8d2, #aea9a0);
}

.profile-card-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(240, 239, 233, 0.75);
  color: rgba(46, 46, 43, 0.65);
  backdrop-filter: blur(4px);
  line-height: 1.4;
}

.profile-card-avatar-btn {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8e7e1;
  box-shadow: 0 1px 2px rgba(46, 46, 43, 0.1);
  overflow: visible;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  z-index: 1;
  flex-shrink: 0;
}

.profile-card-avatar-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 2px 8px rgba(46, 46, 43, 0.16);
}

.profile-card-avatar-btn:focus-visible {
  outline: 2px solid var(--cement);
  outline-offset: 2px;
}

.profile-card-avatar-btn .profile-card-icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  pointer-events: none;
}

[data-theme="night"] .profile-card-avatar-btn {
  background: #2a2a30;
}

.profile-card-menu-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 6;
  min-width: 128px;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--paper-hot, #f7f6f2);
  box-shadow: 0 10px 24px rgba(46, 46, 43, 0.12);
}

[data-theme="night"] .profile-card-menu-dropdown {
  background: #1c1c22;
}

.profile-card-menu-item {
  display: block;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  padding: 8px 10px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-primary);
  cursor: pointer;
}

.profile-card-menu-item:hover {
  background: var(--bg-hover);
}

.profile-card-menu-item.is-danger {
  color: var(--danger-color, #c45c5c);
}

.profile-card-menu-item.is-disabled,
.profile-card-menu-item:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.profile-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
}

.profile-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.profile-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-card-status {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(143, 142, 137, 0.16);
  color: var(--text-secondary);
}

.profile-card-status.is-active {
  background: rgba(143, 142, 137, 0.22);
  color: var(--ink);
}

.profile-card-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.profile-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  font-size: 11px;
}

.profile-card-tag {
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.profile-card-date {
  color: var(--text-muted);
  white-space: nowrap;
}

.profile-card-title-input {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--paper-hot, #fff);
}

.profile-card-title-input:focus,
.profile-card-content-input:focus {
  outline: none;
  border-color: var(--cement);
}

.profile-card-content-input {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--paper-hot, #fff);
  box-sizing: border-box;
}
