.cc-root {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 4rem;
  }

  .cc-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    animation: cc-slide-in 0.4s ease;
  }

  @keyframes cc-slide-in {
    from {
      opacity: 0;
      transform: translateY(1rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .theme-dark .cc-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .cc-mix-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .cc-mix-btn {
    padding: 1rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    background: rgba(241, 245, 249, 0.5);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
  }

  .theme-dark .cc-mix-btn {
    background: rgba(30, 41, 59, 0.5);
  }

  .cc-mix-btn svg {
    width: 2rem;
    height: 2rem;
  }

  .cc-mix-btn span {
    font-size: 0.875rem;
    font-weight: 700;
  }

  .cc-mix-btn.cc-active {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #166534;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
  }

  .theme-dark .cc-mix-btn.cc-active {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
  }

  .cc-volume-control {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .cc-mode-selector {
    display: flex;
    gap: 0.5rem;
    background: rgba(241, 245, 249, 0.8);
    padding: 0.4rem;
    border-radius: 1rem;
    align-self: flex-start;
  }

  .theme-dark .cc-mode-selector {
    background: rgba(30, 41, 59, 0.8);
  }

  .cc-mode-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 0.75rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .cc-mode-btn svg {
    width: 1rem;
    height: 1rem;
  }

  .cc-mode-btn.cc-active {
    background: #fff;
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .theme-dark .cc-mode-btn.cc-active {
    background: #1e293b;
    color: #fff;
  }

  .cc-dims-panel,
  .cc-direct-panel {
    display: none;
  }

  .cc-dims-panel.cc-active {
    display: flex;
    background: rgba(241, 245, 249, 0.5);
    padding: 1.5rem;
    border-radius: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    border: 1px dashed #cbd5e1;
  }

  .cc-direct-panel.cc-active {
    display: flex;
    flex-direction: column;
  }

  .theme-dark .cc-dims-panel.cc-active {
    background: rgba(30, 41, 59, 0.3);
    border-color: #334155;
  }

  .cc-dim-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .cc-dim-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .cc-dim-field label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
  }

  .cc-dim-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
  }

  .cc-dim-input-wrap input {
    width: 100%;
    padding: 0.75rem;
    padding-right: 2.5rem;
    border-radius: 0.75rem;
    border: 2px solid #e2e8f0;
    background: #fff;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    outline: none;
  }

  .theme-dark .cc-dim-input-wrap input {
    background: #0f172a;
    border-color: #1e293b;
    color: #fff;
  }

  .cc-dim-unit {
    position: absolute;
    right: 0.75rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: #94a3b8;
  }

  .cc-input-header {
    margin-bottom: 1rem;
  }

  .cc-input-header label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .cc-vol-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
  }

  .cc-vol-input-wrap input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-right: 4rem;
    border-radius: 1rem;
    border: 2px solid #e2e8f0;
    background: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
  }

  .theme-dark .cc-vol-input-wrap input {
    background: #0f172a;
    border-color: #1e293b;
    color: #fff;
  }

  .cc-vol-input-wrap input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
  }

  .cc-unit-tag {
    position: absolute;
    right: 1.5rem;
    font-weight: 900;
    color: #94a3b8;
    font-size: 1.25rem;
  }

  .cc-binder-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
  }

  .cc-binder-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.6rem 1rem;
    border-radius: 1rem;
    background: rgba(241, 245, 249, 0.5);
    border: 2px solid transparent;
    transition: all 0.2s ease;
  }

  .theme-dark .cc-binder-option {
    background: rgba(30, 41, 59, 0.5);
  }

  .cc-binder-option.cc-active {
    background: #fff;
    border-color: #10b981;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  .theme-dark .cc-binder-option.cc-active {
    background: #1e293b;
    border-color: #10b981;
  }

  .cc-binder-circle {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .cc-binder-option.cc-active .cc-binder-circle {
    border-color: #10b981;
    background: #10b981;
  }

  .cc-binder-inner {
    width: 0.4rem;
    height: 0.4rem;
    background: #fff;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease;
  }

  .cc-binder-option.cc-active .cc-binder-inner {
    transform: scale(1);
  }

  .cc-binder-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #64748b;
  }

  .cc-binder-option.cc-active .cc-binder-label {
    color: #1e293b;
  }

  .theme-dark .cc-binder-option.cc-active .cc-binder-label {
    color: #fff;
  }

  .cc-summary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.2);
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
  }

  .cc-summary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
  }

  .cc-summary-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
    margin-bottom: 0.25rem;
  }

  .cc-summary-value-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }

  .cc-summary-value {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
  }

  .cc-summary-unit {
    font-size: 1.25rem;
    font-weight: 700;
    opacity: 0.8;
  }

  .cc-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .cc-result-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
  }

  .theme-dark .cc-result-card {
    background: #1e293b;
    border-color: #334155;
  }

  .cc-result-card svg {
    width: 2rem;
    height: 2rem;
    color: #22c55e;
  }

  .cc-result-info {
    display: flex;
    flex-direction: column;
  }

  .cc-result-value {
    font-size: 2rem;
    font-weight: 900;
    color: #1e293b;
    line-height: 1;
  }

  .theme-dark .cc-result-value {
    color: #fff;
  }

  .cc-result-unit {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 0.25rem;
  }

  .cc-result-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
  }

  .theme-dark .cc-result-label {
    color: #94a3b8;
  }

  .cc-proportions-banner {
    background: #f8fafc;
    border-radius: 1.25rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .theme-dark .cc-proportions-banner {
    background: rgba(30, 41, 59, 0.3);
  }

  .cc-proportion-header {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .cc-proportion-header svg {
    width: 1rem;
    height: 1rem;
  }

  .cc-proportion-bar {
    height: 1.5rem;
    background: #e2e8f0;
    border-radius: 0.5rem;
    display: flex;
    overflow: hidden;
  }

  .theme-dark .cc-proportion-bar {
    background: #1e293b;
  }

  .cc-bar-segment {
    height: 100%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .cc-seg-cement {
    background: #64748b;
  }

  .cc-seg-sand {
    background: #fbbf24;
  }

  .cc-seg-gravel {
    background: #94a3b8;
  }

  .cc-proportion-labels {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }

  .cc-prop-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
  }

  .theme-dark .cc-prop-label {
    color: #94a3b8;
  }

  .cc-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
  }

  .cc-info-banner {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #f0fdf4;
    border-radius: 1.25rem;
    color: #166534;
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .theme-dark .cc-info-banner {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
  }

  .cc-info-banner svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
  }

  .cc-info-banner p {
    margin: 0;
  }

  .cc-price-card {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 2.5rem;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
  }

  .cc-price-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
  }

  .cc-price-label {
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-bottom: 0.5rem;
  }

  .cc-price-value-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
  }

  .cc-price-value {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
  }

  .cc-price-unit {
    font-size: 1.5rem;
    font-weight: 800;
    opacity: 0.9;
  }

  .cc-price-inputs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
    width: 100%;
  }

  .cc-price-input-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
  }

  .cc-price-input-field label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0.8;
  }

  .cc-editable-price-wrap {
    position: relative;
    display: flex;
    align-items: center;
  }

  .cc-editable-price {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    padding: 0.6rem 0.75rem;
    padding-right: 1.5rem;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
  }

  .cc-editable-price:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
  }

  .cc-editable-unit {
    position: absolute;
    right: 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    opacity: 0.7;
  }

  .cc-price-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.7rem;
    opacity: 0.6;
    font-style: italic;
  }

  @media (max-width: 640px) {
    .cc-results-grid {
      grid-template-columns: 1fr;
    }

    .cc-mix-selector {
      grid-template-columns: 1fr;
    }

    .cc-card {
      padding: 1.5rem;
    }

    .cc-price-inputs-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 480px) {
    .cc-binder-selector {
      flex-direction: column;
      align-items: stretch;
    }
  }