.cc-wrapper {
    width: 100%;
    padding: 1rem 0;
  }

  .cc-card {
    background: var(--bg-surface);
    width: calc(100% - 24px);
    max-width: 860px;
    margin: 0 auto;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
  }

  .cc-main-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid var(--border-color);
  }

  @media (min-width: 600px) {
    .cc-main-stats {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .cc-stat {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid var(--border-color);
  }

  .cc-stat:last-child {
    border-right: none;
  }

  .cc-stat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
  }

  .cc-stat-value {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    color: var(--text-main);
  }

  .cc-stat-chars .cc-stat-value { color: #3b82f6; }
  .cc-stat-words .cc-stat-value { color: #10b981; }
  .cc-stat-lines .cc-stat-value { color: #8b5cf6; }
  .cc-stat-paragraphs .cc-stat-value { color: #f59e0b; }

  .cc-detail-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-muted);
    opacity: 0.4;
    transition: opacity 0.3s;
  }

  @media (min-width: 600px) {
    .cc-detail-stats {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .cc-detail {
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-right: 1px solid var(--border-color);
  }

  .cc-detail:last-child {
    border-right: none;
  }

  .cc-detail-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
  }

  .cc-detail-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
  }

  .cc-editor-wrap {
    display: flex;
    flex-direction: column;
  }

  .cc-editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-muted);
    gap: 8px;
  }

  .cc-btn-upload {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    background: var(--bg-surface);
    transition: color 0.15s, border-color 0.15s;
  }

  .cc-btn-upload:hover {
    color: var(--text-main);
    border-color: var(--text-muted);
  }

  .cc-btn-upload svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .cc-file-hidden {
    display: none;
  }

  .cc-toolbar-right {
    display: flex;
    gap: 4px;
  }

  .cc-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }

  .cc-icon-btn:hover {
    background: var(--bg-surface);
    color: var(--text-main);
    border-color: var(--border-color);
  }

  .cc-icon-btn svg {
    width: 15px;
    height: 15px;
  }

  .cc-textarea {
    width: 100%;
    min-height: 320px;
    padding: 24px;
    background: var(--bg-surface);
    border: none;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-main);
    resize: vertical;
    box-sizing: border-box;
  }

  .cc-textarea:focus {
    outline: none;
  }

  .cc-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
  }