.pc-root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
}

.pc-container {
  min-height: 100%;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}

.pc-header {
  max-width: 1120px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pc-header-logo-wrap {
  flex-shrink: 0;
}

.pc-header-logo {
  height: 40px;
  width: auto;
  border-radius: 999px;
  object-fit: contain;
}

.pc-header-text {
  display: flex;
  flex-direction: column;
}

.pc-header-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.pc-header-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
}

.pc-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .pc-layout {
    flex-direction: row;
  }
}

.pc-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pc-section {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.pc-section-results {
  margin-top: 0.5rem;
}

.pc-step-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4338ca;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
}

.pc-help-text {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.pc-syringe-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pc-syringe {
  width: 100%;
  text-align: left;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: #f9fafb;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.pc-syringe-img-wrap {
  margin-right: 0.75rem;
}

.pc-syringe-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.pc-syringe:hover {
  background: #f3f4f6;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.pc-syringe-active {
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
  border-color: #6366f1;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.25);
}

.pc-syringe-label {
  display: flex;
  flex-direction: column;
}

.pc-syringe-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.pc-syringe-sub {
  font-size: 0.78rem;
  color: #6b7280;
}

.pc-vial-row,
.pc-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.pc-product-row {
  margin-top: 0.9rem;
}

.pc-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

.pc-product-error {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: #b91c1c;
}

.pc-example-wrap {
  margin-top: 0.75rem;
}

.pc-example-img {
  display: block;
  max-width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
}

.pc-select {
  flex: 1;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  background: #f9fafb;
}

.pc-select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 1px #6366f1;
}

.pc-input {
  flex: 1;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  background: #f9fafb;
}

.pc-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 1px #6366f1;
}

.pc-input-unit {
  font-size: 0.8rem;
  color: #6b7280;
}

.pc-unit-toggle {
  display: inline-flex;
  border-radius: 999px;
  border: 2px solid #6366f1;
  padding: 2px;
  background: #ffffff;
}

.pc-unit-btn {
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0.1rem 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
  cursor: pointer;
}

.pc-unit-btn-active {
  background: #22c55e;
  color: #ffffff;
}

.pc-result-empty {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #f9fafb;
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

.pc-result {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
}

.pc-result-text {
  font-size: 0.9rem;
  color: #374151;
}

.pc-result-main {
  margin-top: 0.4rem;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(90deg, #4f46e5, #1d4ed8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pc-error {
  margin-top: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.85rem;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.8rem;
}

.pc-share-btn {
  margin-top: 0.9rem;
  width: 100%;
  border-radius: 0.8rem;
  border: none;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
  background: #4f46e5;
  cursor: pointer;
}

.pc-share-btn:hover {
  background: #4338ca;
}

.pc-share-message {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: #059669;
}

.pc-error-text {
  color: #b91c1c;
}

.pc-visual {
  margin-top: 1.1rem;
}

.pc-visual-bar-bg {
  width: 100% !important;
  height: 1.25rem !important;
  border-radius: 999px !important;
  background: #e5e7eb !important;
  overflow: hidden !important;
  position: relative !important;
}

.pc-visual-bar {
  height: 100% !important;
  width: 0;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #4f46e5, #1d4ed8) !important;
  transition: width 0.25s ease !important;
}

.pc-visual-scale {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
}

.pc-tick {
  position: absolute !important;
  bottom: 0 !important;
  width: 1px !important;
  background: #d1d5db !important;
}

.pc-tick-major {
  height: 100% !important;
  background: #4b5563 !important;
}

.pc-tick-mid {
  height: 75% !important;
  background: #6b7280 !important;
}

.pc-tick-minor {
  height: 50% !important;
}

.pc-visual-label {
  margin-top: 0.45rem !important;
  font-size: 0.85rem !important;
  color: #4f46e5 !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.pc-hidden {
  display: none !important;
}
