.mc-container {
    position: relative;
  }

  .mc-canvas {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  @media (min-width: 1024px) {
    .mc-canvas {
      grid-template-columns: 1fr 1.2fr 1fr;
    }
  }

  .mc-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid #e7e5e4;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .theme-dark .mc-panel {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }

  .mc-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  }

  .mc-panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #292524;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .theme-dark .mc-panel-title {
    color: #f5f1e8;
  }

  .mc-column-svg {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    display: block;
  }

  .mc-column-section {
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mc-column-section:hover {
    filter: brightness(1.1);
  }

  .mc-column-section.mc-active {
    filter: drop-shadow(0 0 10px rgba(193, 105, 79, 0.6));
  }

  .mc-column-label {
    font-size: 14px;
    font-weight: 700;
    text-anchor: middle;
    fill: #292524;
    pointer-events: none;
  }

  .theme-dark .mc-column-label {
    fill: #f5f1e8;
  }

  .mc-column-sublabel {
    font-size: 10px;
    text-anchor: middle;
    fill: #78716c;
    pointer-events: none;
  }

  .mc-phase-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(245, 241, 232, 0.5);
    border-radius: 1rem;
    border: 1px solid #e7e5e4;
  }

  .theme-dark .mc-phase-info {
    background: rgba(40, 35, 30, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .mc-phase-info h3 {
    font-size: 1.25rem;
    color: #c1694f;
    margin-bottom: 0.5rem;
    font-weight: 700;
  }

  .mc-phase-info p {
    font-size: 0.875rem;
    color: #57534e;
    line-height: 1.6;
  }

  .theme-dark .mc-phase-info p {
    color: #a8a29e;
  }

  .mc-material-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .mc-material-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(245, 241, 232, 0.5);
    border: 2px solid #e7e5e4;
    border-radius: 0.75rem;
    font-weight: 600;
    color: #57534e;
    cursor: pointer;
    transition: all 0.3s;
  }

  .theme-dark .mc-material-btn {
    background: rgba(40, 35, 30, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    color: #a8a29e;
  }

  .mc-material-btn.mc-active {
    background: #c1694f;
    border-color: #c1694f;
    color: #fff;
  }

  .mc-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .mc-cal-toggle {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(245, 241, 232, 0.5);
    border-radius: 0.75rem;
    border: 1px solid #e7e5e4;
  }

  .theme-dark .mc-cal-toggle {
    background: rgba(40, 35, 30, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .mc-toggle-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
  }

  .mc-toggle-label input[type="checkbox"] {
    width: 2.5rem;
    height: 1.25rem;
    appearance: none;
    background: #e7e5e4;
    border-radius: 9999px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
  }

  .mc-toggle-label input[type="checkbox"]:checked {
    background: #c1694f;
  }

  .mc-toggle-label input[type="checkbox"]::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    background: #fff;
    border-radius: 50%;
    top: 0.125rem;
    left: 0.125rem;
    transition: left 0.3s;
  }

  .mc-toggle-label input[type="checkbox"]:checked::after {
    left: 1.375rem;
  }

  .mc-toggle-text {
    font-size: 0.875rem;
    color: #57534e;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
  }

  .theme-dark .mc-toggle-text {
    color: #a8a29e;
  }

  .mc-type-pasta {
    font-weight: 600;
    color: #292524;
  }

  .theme-dark .mc-type-pasta {
    color: #f5f1e8;
  }

  .mc-type-polvo {
    font-size: 0.8rem;
    opacity: 0.7;
  }

  .mc-bodegon-svg {
    width: 100%;
    height: 200px;
    border: 1px solid #e7e5e4;
    border-radius: 0.75rem;
    background: rgba(245, 241, 232, 0.3);
    margin-bottom: 1rem;
  }

  .theme-dark .mc-bodegon-svg {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 10, 0.3);
  }

  .mc-slider-container {
    margin-bottom: 0.75rem;
  }

  .mc-slider {
    width: 100%;
    accent-color: #c1694f;
  }

  .mc-ruler-marks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #78716c;
    margin-top: 0.25rem;
  }

  .mc-quantity-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #57534e;
  }

  .theme-dark .mc-quantity-display {
    color: #a8a29e;
  }

  .mc-quantity-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c1694f;
  }

  .mc-quantity-unit {
    font-weight: 600;
    color: #78716c;
  }

  .mc-complementary {
    padding: 1rem;
    background: rgba(245, 241, 232, 0.5);
    border-radius: 0.75rem;
    border: 1px solid #e7e5e4;
  }

  .theme-dark .mc-complementary {
    background: rgba(40, 35, 30, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .mc-complementary-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #78716c;
    margin-bottom: 0.75rem;
  }

  .theme-dark .mc-complementary-header {
    color: #a8a29e;
  }

  .mc-arrow-icon {
    width: 1rem;
    height: 1rem;
    color: #c1694f;
  }

  .mc-complementary-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .mc-complementary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .mc-comp-label {
    font-weight: 600;
    color: #292524;
    min-width: 4rem;
  }

  .theme-dark .mc-comp-label {
    color: #f5f1e8;
  }

  .mc-comp-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #c1694f;
  }

  .mc-comp-unit {
    color: #78716c;
  }

  .mc-ratio-row {
    font-size: 0.875rem;
    color: #78716c;
  }

  .theme-dark .mc-ratio-row {
    color: #a8a29e;
  }

  .mc-ratio-value {
    font-weight: 700;
    color: #292524;
  }

  .theme-dark .mc-ratio-value {
    color: #f5f1e8;
  }

  .mc-wall-svg {
    width: 100%;
    height: 300px;
    border-radius: 1rem;
    border: 1px solid #e7e5e4;
    background: #fafaf9;
    margin-bottom: 1.5rem;
  }

  .theme-dark .mc-wall-svg {
    border-color: rgba(255, 255, 255, 0.1);
    background: #0a0a0a;
  }

  #mc-mortar-coverage,
  #mc-mortar-texture {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mc-coverage-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .mc-coverage-label {
    font-size: 0.875rem;
    color: #78716c;
    font-weight: 600;
  }

  .theme-dark .mc-coverage-label {
    color: #a8a29e;
  }

  .mc-coverage-value {
    font-size: 2rem;
    font-weight: 900;
    color: #c1694f;
    line-height: 1;
  }

  .mc-coverage-unit {
    font-size: 1rem;
    font-weight: 600;
    color: #78716c;
  }

  .mc-technical-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .mc-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e7e5e4;
    font-size: 0.875rem;
  }

  .theme-dark .mc-detail-row {
    border-bottom-color: rgba(255, 255, 255, 0.05);
  }

  .mc-detail-row:last-child {
    border-bottom: none;
  }

  .mc-detail-label {
    color: #78716c;
    font-weight: 500;
  }

  .theme-dark .mc-detail-label {
    color: #a8a29e;
  }

  .mc-detail-value {
    font-weight: 700;
    color: #292524;
  }

  .theme-dark .mc-detail-value {
    color: #f5f1e8;
  }

  .mc-granulometry-section {
    max-width: 1400px;
    margin: 4rem auto 2rem;
  }

  .mc-section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #292524;
    margin-bottom: 2.5rem;
    position: relative;
  }

  .theme-dark .mc-section-title {
    color: #f5f1e8;
  }

  .mc-section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c1694f, transparent);
    margin: 0.75rem auto 0;
  }

  .mc-granulometry-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .mc-grain-card {
    background: #fafaf9;
    border: 2px solid #e7e5e4;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    transform: scale(0.98);
  }

  .theme-dark .mc-grain-card {
    background: #1c1917;
    border-color: rgba(255, 255, 255, 0.1);
  }

  .mc-grain-card:hover {
    transform: scale(1);
    opacity: 0.8;
  }

  .mc-grain-card.mc-active {
    opacity: 1;
    transform: scale(1.02);
    border-color: #c1694f;
    box-shadow: 0 8px 32px rgba(193, 105, 79, 0.2);
    background: #fff;
  }

  .theme-dark .mc-grain-card.mc-active {
    background: #292524;
    border-color: #c1694f;
    box-shadow: 0 8px 32px rgba(193, 105, 79, 0.3);
  }

  .mc-grain-header {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .mc-grain-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #292524;
    margin: 0 0 0.5rem;
  }

  .theme-dark .mc-grain-title {
    color: #f5f1e8;
  }

  .mc-grain-subtitle {
    font-size: 0.875rem;
    color: #78716c;
    font-weight: 500;
  }

  .theme-dark .mc-grain-subtitle {
    color: #a8a29e;
  }

  .mc-grain-visual {
    background: #f5f5f4;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e7e5e4;
  }

  .theme-dark .mc-grain-visual {
    background: #0a0a0a;
    border-color: rgba(255, 255, 255, 0.05);
  }

  .mc-grain-svg {
    width: 100%;
    height: auto;
    display: block;
  }

  .mc-grain-specs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .mc-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e7e5e4;
  }

  .theme-dark .mc-spec-item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
  }

  .mc-spec-item:last-child {
    border-bottom: none;
  }

  .mc-spec-label {
    font-size: 0.875rem;
    color: #78716c;
    font-weight: 500;
  }

  .theme-dark .mc-spec-label {
    color: #a8a29e;
  }

  .mc-spec-value {
    font-size: 0.875rem;
    color: #292524;
    font-weight: 600;
  }

  .theme-dark .mc-spec-value {
    color: #f5f1e8;
  }