/* ============================================
   GrowthPal - Carbon Design System UI
   Based on IBM Carbon v11
   ============================================ */

@import url('variables.css');

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--cds-text-primary);
  background: var(--cds-layer-01);
  min-height: 100vh;
}

/* ==================== LAYOUT ==================== */
.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: var(--cds-background);
  overflow: hidden;
}

.main-app {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.main-app.hidden {
  display: none;
}

/* Hide cell indicator (from spreadsheet) */
.cell-indicator {
  display: none !important;
}

/* ==================== LOGIN SCREEN ==================== */
.login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: var(--sp-6);
  background: var(--cds-background);
}

.login-screen.hidden {
  display: none;
}

.login-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 280px;
}

.login-logo {
  width: 64px;
  height: 64px;
  margin-bottom: var(--sp-4);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cds-layer-01);
}

.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-title {
  font-size: var(--text-heading-03);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  margin-bottom: var(--sp-1);
  letter-spacing: var(--tracking-tight);
}

.login-subtitle {
  font-size: var(--text-body-compact);
  color: var(--cds-text-helper);
  margin-bottom: var(--sp-6);
}

.login-error {
  font-size: var(--text-helper);
  color: var(--cds-text-error);
  margin-top: var(--sp-3);
}

/* ==================== HEADER ==================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-4);
  background: var(--cds-background);
  border-bottom: 1px solid var(--cds-border-subtle-00);
  height: var(--header-height);
  flex-shrink: 0;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.header-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.header-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.header-title {
  font-size: var(--text-heading-compact-02);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  letter-spacing: var(--tracking-tight);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

/* ==================== SEARCH SECTION ==================== */
.search-section {
  padding: var(--sp-4);
  background: var(--cds-background);
  border-bottom: 1px solid var(--cds-border-subtle-00);
}

.search-section-inset {
  margin: calc(-1 * var(--sp-4));
  margin-bottom: var(--sp-4);
}

.input-group {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.input-group-last {
  margin-bottom: 0;
}

.input-wrapper {
  position: relative;
  flex: 1;
}

.input-icon {
  position: absolute;
  left: var(--sp-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--cds-icon-secondary);
  pointer-events: none;
}

.input-icon svg {
  width: 16px;
  height: 16px;
}

/* ==================== FORM ELEMENTS - Carbon Style ==================== */
.input {
  width: 100%;
  height: var(--input-height);
  padding: 0 var(--sp-3);
  font-size: var(--text-body-compact);
  font-family: inherit;
  color: var(--cds-text-primary);
  background: var(--cds-field-01);
  border: 1px solid var(--cds-border-subtle-01);
  border-radius: var(--radius-input);
  transition: var(--transition-fast);
  outline: none;
}

.input:hover {
  border-color: var(--cds-border-strong-01);
}

.input:focus {
  border-color: var(--cds-focus);
  box-shadow: 0 0 0 1px var(--cds-focus);
}

.input::placeholder {
  color: var(--cds-text-placeholder);
}

.input-with-icon {
  padding-left: var(--sp-10);
}

.input-sm {
  height: var(--input-height-sm);
  font-size: var(--text-helper);
}

.select {
  width: 100%;
  height: var(--button-height);
  padding: 0 var(--sp-8) 0 var(--sp-3);
  font-size: var(--text-body-compact);
  font-family: inherit;
  color: var(--cds-text-primary);
  background: var(--cds-field-01);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%23525252' d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  border: 1px solid var(--cds-border-subtle-01);
  border-radius: var(--radius-input);
  appearance: none;
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.select:hover {
  border-color: var(--cds-border-strong-01);
}

.select:focus {
  border-color: var(--cds-focus);
  box-shadow: 0 0 0 1px var(--cds-focus);
}

.select-sm {
  height: var(--input-height-sm);
  width: auto;
  min-width: 90px;
  font-size: var(--text-helper);
  padding: 0 var(--sp-6) 0 var(--sp-2);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: var(--button-height);
  padding: 0 var(--sp-4);
  font-size: var(--text-body-compact);
  font-weight: var(--font-medium);
  font-family: inherit;
  line-height: 1;
  border: none;
  border-radius: var(--radius-button);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--cds-focus);
  outline-offset: 2px;
}

.btn:disabled {
  background: var(--cds-button-disabled);
  color: var(--cds-text-on-color-disabled);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Primary Button - Carbon Blue */
.btn-primary {
  background: var(--cds-button-primary);
  color: var(--cds-text-on-color);
}

.btn-primary:hover:not(:disabled) {
  background: var(--cds-button-primary-hover);
}

.btn-primary:active:not(:disabled) {
  background: var(--cds-button-primary-active);
}

/* Secondary Button */
.btn-secondary {
  background: var(--cds-button-secondary);
  color: var(--cds-text-on-color);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--cds-button-secondary-hover);
}

.btn-secondary:active:not(:disabled) {
  background: var(--cds-button-secondary-active);
}

/* Tertiary Button */
.btn-tertiary {
  background: transparent;
  color: var(--cds-button-tertiary);
  border: 1px solid var(--cds-button-tertiary);
}

.btn-tertiary:hover:not(:disabled) {
  background: var(--cds-button-tertiary-hover);
  color: var(--cds-text-on-color);
}

.btn-tertiary:active:not(:disabled) {
  background: var(--cds-button-tertiary-active);
  color: var(--cds-text-on-color);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--cds-link-primary);
  padding: 0 var(--sp-4);
}

.btn-ghost:hover:not(:disabled) {
  background: var(--cds-background-hover);
}

.btn-ghost:active:not(:disabled) {
  background: var(--cds-background-active);
}

/* Danger Button */
.btn-danger {
  background: var(--cds-button-danger-primary);
  color: var(--cds-text-on-color);
}

.btn-danger:hover:not(:disabled) {
  background: var(--cds-button-danger-hover);
}

.btn-danger:active:not(:disabled) {
  background: var(--cds-button-danger-active);
}

/* Icon Button */
.btn-icon {
  width: var(--button-height);
  height: var(--button-height);
  padding: 0;
  justify-content: center;
  border-radius: var(--radius-button);
}

.btn-icon-sm {
  width: var(--button-height-sm);
  height: var(--button-height-sm);
  padding: 0;
  border-radius: var(--radius-button);
}

/* Button Sizes */
.btn-sm {
  height: var(--button-height-sm);
  padding: 0 var(--sp-3);
  font-size: var(--text-helper);
}

.btn-lg {
  height: var(--button-height-lg);
  padding: 0 var(--sp-6);
  font-size: var(--text-body);
}

.btn-full {
  width: 100%;
}

.btn-flex {
  flex: 1;
}

/* ==================== TAB NAVIGATION ==================== */
.tab-nav {
  display: flex;
  background: var(--cds-background);
  border-bottom: 1px solid var(--cds-border-subtle-00);
  height: var(--tab-height);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  flex: 1;
  height: 100%;
  padding: 0 var(--sp-2);
  font-size: var(--text-helper);
  font-weight: var(--font-medium);
  color: var(--cds-text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--cds-text-primary);
  background: var(--cds-background-hover);
}

.tab-btn.active {
  color: var(--cds-text-primary);
  font-weight: var(--font-semibold);
  border-bottom-color: var(--cds-border-interactive);
}

.tab-btn:focus-visible {
  outline: 2px solid var(--cds-focus);
  outline-offset: -2px;
}

.tab-btn svg {
  width: 14px;
  height: 14px;
}

/* Subtab Navigation */
.subtab-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--cds-layer-01);
}

.subtab-nav-container {
  position: relative;
}

/* Scroll indicator arrow */
.subtab-nav-container::after {
  content: '›';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 var(--sp-2);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--cds-text-placeholder);
  background: linear-gradient(to right, transparent, var(--cds-layer-01) 30%);
  pointer-events: none;
  animation: scrollHint 1.5s ease-in-out infinite;
}

.subtab-nav-container.scrolled-end::after {
  display: none;
}

@keyframes scrollHint {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(3px); opacity: 1; }
}

.subtab-nav {
  display: flex;
  gap: 0;
  padding: 0;
  padding-right: var(--sp-6);
  background: var(--cds-layer-01);
  overflow-x: auto;
  border-bottom: 1px solid var(--cds-border-subtle-00);
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.subtab-nav::-webkit-scrollbar {
  display: none;
}

.subtab-btn {
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-helper);
  font-weight: var(--font-medium);
  color: var(--cds-text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.subtab-btn:hover {
  color: var(--cds-text-primary);
}

.subtab-btn.active {
  color: var(--cds-text-primary);
  font-weight: var(--font-semibold);
  border-bottom-color: var(--cds-border-interactive);
}

/* ==================== CONTENT AREA ==================== */
.content-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--cds-layer-01);
  position: relative;
}

/* Selected Company Indicator - visible across all tabs */
.selected-company-indicator {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--blue-10);
  border-bottom: 1px solid var(--blue-20);
  font-size: var(--text-helper);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.selected-company-indicator.hidden {
  display: none;
}

.selected-company-label {
  color: var(--cds-text-secondary);
}

.selected-company-name {
  color: var(--blue-70);
  font-weight: var(--font-semibold);
}

.tab-pane {
  display: none;
  padding: var(--sp-4);
  min-width: 0;
}

.tab-pane.active {
  display: block;
}

.subtab-pane {
  display: none;
  padding: var(--sp-4);
  overflow: hidden;
  min-width: 0;
}

.subtab-pane.active {
  display: block;
}

/* Research results container */
#research-results {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#research-results .subtab-nav {
  flex-shrink: 0;
}

/* ==================== TILES/CARDS ==================== */
.card {
  background: var(--cds-layer-02);
  border: 1px solid var(--cds-border-subtle-01);
  border-radius: var(--radius-card);
  padding: var(--sp-4);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  min-width: 0;
}

.card:last-child {
  margin-bottom: 0;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
  min-width: 0;
}

.card-title {
  font-size: var(--text-body-compact);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.card-subtitle {
  font-size: var(--text-helper);
  color: var(--cds-text-helper);
  margin-top: var(--sp-0-5);
}

.card-content {
  font-size: var(--text-body-compact);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
}

/* Compact Card */
.card-compact {
  padding: var(--sp-3);
}

/* Card with Icon */
.card-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 16px;
  height: 16px;
}

.card-icon-primary {
  background: var(--blue-20);
  color: var(--blue-60);
}

.card-icon-success {
  background: var(--green-20);
  color: var(--green-60);
}

.card-icon-warning {
  background: var(--yellow-20);
  color: var(--yellow-60);
}

.card-icon-error {
  background: var(--red-20);
  color: var(--red-60);
}

/* ==================== SCORE DISPLAY ==================== */
.score-card {
  background: var(--cds-layer-02);
  border: 1px solid var(--cds-border-subtle-01);
  padding: var(--sp-6);
  text-align: center;
}

.score-value {
  font-size: var(--text-heading-04);
  font-weight: var(--font-semibold);
  line-height: var(--leading-none);
  margin-bottom: var(--sp-1);
}

.score-value-high {
  color: var(--green-50);
}

.score-value-med {
  color: var(--yellow-30);
}

.score-value-low {
  color: var(--red-50);
}

.score-label {
  font-size: var(--text-helper);
  color: var(--cds-text-helper);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.score-description {
  font-size: var(--text-body-compact);
  color: var(--cds-text-secondary);
  margin-top: var(--sp-3);
  line-height: var(--leading-relaxed);
}

/* Mini Score */
.score-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3);
  background: var(--cds-layer-01);
  margin-bottom: var(--sp-2);
}

.score-mini-label {
  font-size: var(--text-body-compact);
  color: var(--cds-text-secondary);
}

.score-mini-value {
  font-size: var(--text-body-compact);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
}

/* ==================== TAGS - Carbon Tag ==================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  height: 24px;
  padding: 0 var(--sp-2);
  font-size: var(--text-helper);
  font-weight: var(--font-normal);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-primary {
  background: var(--blue-20);
  color: var(--blue-70);
}

.badge-success {
  background: var(--green-20);
  color: var(--green-70);
}

.badge-warning {
  background: var(--yellow-20);
  color: var(--yellow-60);
}

.badge-error {
  background: var(--red-20);
  color: var(--red-70);
}

.badge-info {
  background: var(--cyan-20);
  color: var(--cyan-70);
}

.badge-neutral {
  background: var(--gray-20);
  color: var(--gray-70);
}

/* ==================== CHIPS/TAGS ==================== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  min-height: 22px;
  max-width: 100%;
  padding: var(--sp-1) var(--sp-2);
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  background: var(--cds-layer-accent-01);
  border-radius: var(--radius-tag);
  line-height: var(--leading-snug);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.chip-success {
  background: var(--green-10);
  color: var(--green-70);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}

.chip-sm {
  min-height: 18px;
  padding: var(--sp-0-5) var(--sp-1-5);
  font-size: var(--text-helper);
}

/* ==================== LISTS - Carbon Structured List ==================== */
.list {
  list-style: none;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  font-size: var(--text-body-compact);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  border-bottom: 1px solid var(--cds-border-subtle-00);
}

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

.list-bullet {
  width: 8px;
  height: 8px;
  background: var(--blue-60);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  margin-top: 6px;
}

.list-icon {
  width: 16px;
  height: 16px;
  color: var(--cds-icon-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==================== SWOT GRID ==================== */
/* Single column layout for narrow sidebar */
.swot-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.swot-quadrant {
  padding: var(--sp-3);
  border-radius: var(--radius-card);
}

.swot-strengths {
  background: var(--green-10);
}

.swot-weaknesses {
  background: var(--red-10);
}

.swot-opportunities {
  background: var(--cyan-10);
}

.swot-threats {
  background: var(--yellow-10);
}

.swot-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--sp-2);
}

.swot-header svg {
  width: 14px;
  height: 14px;
}

.swot-strengths .swot-header { color: var(--green-70); }
.swot-weaknesses .swot-header { color: var(--red-70); }
.swot-opportunities .swot-header { color: var(--cyan-70); }
.swot-threats .swot-header { color: var(--yellow-60); }

.swot-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.swot-list li {
  position: relative;
  padding-left: var(--sp-4);
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  padding-top: var(--sp-1);
  padding-bottom: var(--sp-1);
  line-height: var(--leading-relaxed);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.swot-list li::before {
  content: '•';
  position: absolute;
  left: var(--sp-1);
  color: var(--gray-60);
  font-weight: var(--font-bold);
}

.swot-list li:last-child {
  padding-bottom: 0;
}

.swot-list li.empty {
  color: var(--cds-text-placeholder);
  font-style: italic;
}

.swot-list li.empty::before {
  display: none;
}

/* ==================== COMPANY INPUT ROW ==================== */
.company-input-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.company-input-row .input {
  flex: 1;
}

.company-input-number {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  color: var(--cds-text-helper);
  background: var(--cds-layer-accent-01);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* ==================== LOADING STATE - Carbon Loading ==================== */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-12) var(--sp-6);
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--cds-border-subtle-01);
  border-top-color: var(--cds-interactive);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: var(--sp-4);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: var(--text-body-compact);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  margin-bottom: var(--sp-1);
}

.loading-subtext {
  font-size: var(--text-helper);
  color: var(--cds-text-helper);
  margin-bottom: var(--sp-4);
}

/* Loading Progress Steps */
.loading-steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  width: 100%;
  max-width: 240px;
  text-align: left;
}

.loading-step {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-helper);
  color: var(--cds-text-placeholder);
}

.loading-step.active {
  color: var(--cds-text-primary);
}

.loading-step.completed {
  color: var(--cds-support-success);
}

.loading-step-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.loading-step.active .loading-step-icon {
  border-color: var(--cds-interactive);
}

.loading-step.active .loading-step-icon::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cds-interactive);
  border-radius: 50%;
  animation: pulse 1s ease-in-out infinite;
}

.loading-step.completed .loading-step-icon {
  border-color: var(--cds-support-success);
  background: var(--cds-support-success);
}

.loading-step.completed .loading-step-icon::after {
  content: '';
  width: 4px;
  height: 7px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Progress Bar */
.loading-progress {
  width: 100%;
  max-width: 200px;
  height: 4px;
  background: var(--cds-layer-accent-01);
  border-radius: 2px;
  overflow: hidden;
  margin-top: var(--sp-3);
}

.loading-progress-bar {
  height: 100%;
  background: var(--cds-interactive);
  border-radius: 2px;
  animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* ==================== ERROR STATE - Carbon Inline Notification ==================== */
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
}

.error-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-20);
  margin-bottom: var(--sp-4);
}

.error-icon svg {
  width: 24px;
  height: 24px;
  color: var(--cds-support-error);
}

.error-title {
  font-size: var(--text-heading-compact-02);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  margin-bottom: var(--sp-2);
}

.error-message {
  font-size: var(--text-body-compact);
  color: var(--cds-text-secondary);
  margin-bottom: var(--sp-6);
  max-width: 280px;
  line-height: var(--leading-relaxed);
}

.error-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
}

.error-actions .btn {
  min-width: 120px;
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-12) var(--sp-6);
  text-align: center;
}

.empty-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cds-layer-accent-01);
  margin-bottom: var(--sp-5);
}

.empty-icon svg {
  width: 32px;
  height: 32px;
  color: var(--cds-icon-secondary);
}

.empty-title {
  font-size: var(--text-heading-compact-02);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  margin-bottom: var(--sp-2);
}

.empty-message {
  font-size: var(--text-body-compact);
  color: var(--cds-text-helper);
  max-width: 280px;
  line-height: var(--leading-relaxed);
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}

.section-title {
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  color: var(--cds-text-helper);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

/* ==================== DIVIDER ==================== */
.divider {
  height: 1px;
  background: var(--cds-border-subtle-00);
  margin: var(--sp-4) 0;
}

/* ==================== COMPETITOR CARD ==================== */
.competitor-card {
  background: var(--cds-layer-02);
  border: 1px solid var(--cds-border-subtle-01);
  padding: var(--sp-4);
  margin-bottom: var(--sp-3);
}

.competitor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}

.competitor-name {
  font-size: var(--text-body);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
}

.competitor-overlap {
  font-size: var(--text-helper);
  color: var(--cds-text-helper);
}

.competitor-details {
  display: grid;
  gap: var(--sp-2);
}

.competitor-detail {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-2);
  font-size: var(--text-helper);
  line-height: var(--leading-relaxed);
}

.competitor-detail-label {
  font-size: var(--text-helper);
  color: var(--cds-text-helper);
  flex-shrink: 0;
}

.competitor-detail-value {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ==================== NEWS ITEM ==================== */
.news-item {
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--cds-border-subtle-00);
}

.news-item:first-child {
  padding-top: 0;
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: var(--sp-1);
}

.news-headline {
  font-size: var(--text-body-compact);
  font-weight: var(--font-medium);
  color: var(--cds-text-primary);
  line-height: var(--leading-snug);
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 0;
}

.news-summary {
  font-size: var(--text-helper);
  color: var(--cds-text-helper);
  line-height: var(--leading-relaxed);
  margin-top: var(--sp-1);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

.news-source {
  font-size: var(--text-helper);
  color: var(--cds-text-placeholder);
}

.news-date {
  font-size: var(--text-helper);
  color: var(--cds-text-placeholder);
  margin-bottom: var(--sp-1);
}

.news-impact {
  margin-top: var(--sp-2);
  padding: var(--sp-2);
  background: var(--cds-layer-01);
}

.news-impact-label {
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  color: var(--cds-text-helper);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--sp-0-5);
}

.news-impact p {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* ==================== GROWTH CARD ==================== */
.growth-card {
  background: var(--cds-layer-02);
  border: 1px solid var(--cds-border-subtle-01);
  padding: var(--sp-4);
  margin-bottom: var(--sp-3);
}

.growth-header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
}

.growth-icon {
  width: 32px;
  height: 32px;
  background: var(--cds-background-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.growth-icon svg {
  width: 16px;
  height: 16px;
}

.growth-title {
  font-size: var(--text-body-compact);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  line-height: var(--leading-snug);
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 0;
}

.growth-description {
  font-size: var(--text-body-compact);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-3);
}

.growth-meta {
  display: flex;
  gap: var(--sp-2);
}

.growth-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-bottom: var(--sp-2);
}

.growth-tags .chip {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.growth-section {
  padding: var(--sp-2) 0;
  margin-bottom: var(--sp-2);
  overflow: hidden;
}

.growth-section:last-child {
  margin-bottom: 0;
}

.growth-section p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.growth-section-label {
  font-size: var(--text-helper);
  font-weight: var(--font-medium);
  color: var(--cds-text-helper);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--sp-0-5);
}

.growth-section p {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* ==================== SYNERGY STYLES ==================== */
.synergy-score-card {
  background: var(--cds-layer-02);
  border: 2px solid var(--cds-border-subtle-01);
  border-radius: var(--radius-card);
  padding: var(--sp-4);
  text-align: center;
  margin-bottom: var(--sp-4);
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.synergy-score-card.score-high {
  border-color: var(--green-50);
  background: var(--green-10);
}

.synergy-score-card.score-medium {
  border-color: var(--yellow-30);
  background: var(--yellow-10);
}

.synergy-score-card.score-low {
  border-color: var(--red-50);
  background: var(--red-10);
}

.synergy-score-card .score-label {
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--cds-text-helper);
  margin-bottom: var(--sp-2);
}

.synergy-score-card .score-value {
  font-size: 3rem;
  font-weight: var(--font-semibold);
  line-height: 1;
  color: var(--cds-text-primary);
}

.synergy-score-card.score-high .score-value { color: var(--green-60); }
.synergy-score-card.score-medium .score-value { color: var(--yellow-40); }
.synergy-score-card.score-low .score-value { color: var(--red-60); }

.synergy-score-card .score-max {
  font-size: var(--text-body);
  color: var(--cds-text-helper);
  margin-top: var(--sp-1);
}

.synergy-score-card .score-recommendation {
  font-size: var(--text-body-compact);
  font-weight: var(--font-medium);
  color: var(--cds-text-secondary);
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--cds-border-subtle-00);
}

.synergy-section {
  padding: 0;
  border: 1px solid var(--cds-border-subtle-01);
  border-radius: var(--radius-card);
  margin-bottom: var(--sp-2);
  overflow: hidden;
}

.synergy-section:last-child {
  margin-bottom: 0;
}

.synergy-section-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3);
  font-weight: var(--font-semibold);
  font-size: var(--text-helper);
  border-bottom: 1px solid var(--cds-border-subtle-00);
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}

.synergy-section-header:hover {
  background: var(--cds-background-hover);
}

.synergy-section-header::after {
  content: '';
  margin-left: auto;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--transition-fast);
}

.synergy-section.collapsed .synergy-section-header::after {
  transform: rotate(-90deg);
}

.synergy-section.collapsed .synergy-section-header {
  border-bottom: none;
}

.synergy-section-content {
  max-height: 500px;
  overflow-y: auto;
  transition: max-height var(--transition-slow);
}

.synergy-section.collapsed .synergy-section-content {
  max-height: 0;
}

.synergy-section-header svg {
  width: 16px;
  height: 16px;
}

.synergy-section-header.revenue {
  background: var(--green-10);
  color: var(--green-70);
}

.synergy-section-header.cost {
  background: var(--blue-10);
  color: var(--blue-70);
}

.synergy-section-header.capability {
  background: var(--cyan-10);
  color: var(--cyan-70);
}

.synergy-section-header.partnership {
  background: var(--yellow-10);
  color: var(--yellow-60);
}

.synergy-section-header.challenges {
  background: var(--red-10);
  color: var(--red-70);
}

.synergy-count {
  margin-left: auto;
  margin-right: var(--sp-2);
  padding: 0 var(--sp-2);
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 11px;
  font-weight: var(--font-semibold);
  text-align: center;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.synergy-item {
  padding: var(--sp-3);
  border-bottom: 1px solid var(--cds-border-subtle-00);
}

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

.synergy-item p {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.synergy-item-title {
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  margin-bottom: var(--sp-1);
}

.synergy-item-desc {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-1);
}

.synergy-item-meta {
  font-size: var(--text-helper);
  color: var(--cds-text-helper);
  margin-top: var(--sp-1);
}

.synergy-summary {
  background: var(--cds-background-brand);
  padding: var(--sp-5);
  margin-bottom: var(--sp-4);
  color: white;
  text-align: center;
}

.synergy-score {
  font-size: 48px;
  font-weight: var(--font-bold);
  line-height: var(--leading-none);
}

.synergy-score-label {
  font-size: var(--text-helper);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-top: var(--sp-1);
}

.synergy-recommendation {
  font-size: var(--text-body-compact);
  opacity: 0.9;
  margin-top: var(--sp-3);
  line-height: var(--leading-relaxed);
}

.synergy-section-title {
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  color: var(--cds-text-helper);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--sp-3);
}

.synergy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.synergy-list li {
  position: relative;
  padding-left: var(--sp-4);
  font-size: var(--text-body-compact);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-2);
}

.synergy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--blue-60);
  border-radius: var(--radius-full);
}

/* ==================== COMPARISON STYLES ==================== */
.compare-profiles-grid {
  display: grid;
  gap: var(--sp-4);
}

.compare-profile-card {
  background: var(--cds-layer-02);
  border: 1px solid var(--cds-border-subtle-01);
  padding: var(--sp-4);
}

.profile-card {
  background: var(--cds-layer-02);
  border: 1px solid var(--cds-border-subtle-01);
  padding: var(--sp-4);
  margin-bottom: var(--sp-3);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.profile-avatar {
  width: 40px;
  height: 40px;
  background: var(--cds-background-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-body);
  font-weight: var(--font-semibold);
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: var(--text-body);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
}

.profile-domain {
  font-size: var(--text-helper);
  color: var(--cds-text-helper);
}

.profile-description {
  font-size: var(--text-body-compact);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-3);
}

.profile-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.profile-detail {
  display: flex;
  flex-direction: column;
  gap: var(--sp-0-5);
}

.profile-detail-label {
  font-size: var(--text-helper);
  color: var(--cds-text-placeholder);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.profile-detail-value {
  font-size: var(--text-body-compact);
  color: var(--cds-text-primary);
}

/* ==================== INTENT UPSELL ==================== */
.upsell-container {
  padding: var(--sp-6);
  text-align: center;
}

.upsell-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-4);
  background: var(--cds-background-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.upsell-icon svg {
  width: 32px;
  height: 32px;
}

.upsell-title {
  font-size: var(--text-heading-compact-02);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  margin-bottom: var(--sp-2);
}

.upsell-description {
  font-size: var(--text-body-compact);
  color: var(--cds-text-helper);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-4);
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.upsell-features {
  text-align: left;
  margin-bottom: var(--sp-5);
}

.upsell-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
  font-size: var(--text-body-compact);
  color: var(--cds-text-secondary);
}

.upsell-feature-icon {
  width: 20px;
  height: 20px;
  background: var(--green-20);
  color: var(--green-60);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.upsell-feature-icon svg {
  width: 12px;
  height: 12px;
}

/* Intent Signals */
.intent-signals {
  text-align: left;
  margin-bottom: var(--sp-5);
}

.signal-category {
  background: var(--cds-layer-02);
  border: 1px solid var(--cds-border-subtle-01);
  padding: var(--sp-4);
  margin-bottom: var(--sp-3);
}

.signal-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-body-compact);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  margin-bottom: var(--sp-2);
}

.signal-header svg {
  width: 16px;
  height: 16px;
  color: var(--blue-60);
}

.signal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.signal-list li {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  padding: var(--sp-1) 0;
  padding-left: var(--sp-4);
  position: relative;
}

.signal-list li::before {
  content: '';
  position: absolute;
  left: var(--sp-1);
  top: 10px;
  width: 4px;
  height: 4px;
  background: var(--gray-50);
  border-radius: var(--radius-full);
}

.intent-cta {
  text-align: center;
  padding: var(--sp-4);
  background: var(--cds-layer-01);
  border-top: 1px solid var(--cds-border-subtle-00);
  margin-top: var(--sp-4);
}

.intent-cta-text {
  font-size: var(--text-body-compact);
  color: var(--cds-text-secondary);
  margin-bottom: var(--sp-3);
}

.intent-cta .btn {
  width: 100%;
}

/* ==================== METRIC GRID ==================== */
/* Single column layout for narrow sidebar */
.metric-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.metric-card {
  background: var(--cds-layer-01);
  padding: var(--sp-3);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.metric-value {
  font-size: var(--text-body-compact);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  line-height: var(--leading-relaxed);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.metric-label {
  font-size: var(--text-helper);
  color: var(--cds-text-helper);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--sp-1);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--cds-layer-01);
  padding: var(--sp-3);
  border-radius: var(--radius-card);
  overflow: hidden;
  min-width: 0;
  gap: var(--sp-1);
}

.metric-item .metric-label {
  font-size: var(--text-helper);
  color: var(--cds-text-helper);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  word-wrap: break-word;
}

.metric-item .metric-value {
  font-size: var(--text-body-compact);
  font-weight: var(--font-medium);
  color: var(--cds-text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
}

/* Inline label:value formatting */
.card-text strong {
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
}

/* Prevent full paragraph bold - use inline labels only */
.card-text p strong:only-child {
  display: inline;
}

/* ==================== CELL INDICATOR ==================== */
.cell-indicator {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--cyan-10);
  border-left: 3px solid var(--cyan-60);
  margin-bottom: var(--sp-3);
}

.cell-indicator-icon {
  color: var(--cyan-60);
}

.cell-indicator-icon svg {
  width: 16px;
  height: 16px;
}

.cell-indicator-text {
  font-size: var(--text-helper);
  color: var(--cyan-70);
}

.cell-indicator-value {
  font-weight: var(--font-semibold);
}

/* ==================== DATA TABLE - Carbon Data Table ==================== */
.scores-table-container {
  overflow-x: auto;
  background: var(--cds-layer-02);
  border: 1px solid var(--cds-border-subtle-01);
}

.scores-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body-compact);
}

.scores-table th,
.scores-table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--cds-border-subtle-00);
}

.scores-table th {
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  background: var(--cds-layer-accent-01);
}

.scores-table tr:last-child td {
  border-bottom: none;
}

.scores-table tr:hover td {
  background: var(--cds-layer-hover-02);
}

.dimension-name {
  font-weight: var(--font-medium);
  color: var(--cds-text-primary);
}

.score-cell {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.score-cell .score-value {
  font-size: var(--text-body-compact);
  font-weight: var(--font-semibold);
}

.score-cell .score-value.score-high { color: var(--green-60); }
.score-cell .score-value.score-medium { color: var(--yellow-40); }
.score-cell .score-value.score-low { color: var(--red-60); }

.score-bar {
  height: 4px;
  background: var(--gray-20);
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  transition: width var(--transition-slow);
}

.score-bar-fill.score-high { background: var(--green-50); }
.score-bar-fill.score-medium { background: var(--yellow-30); }
.score-bar-fill.score-low { background: var(--red-50); }

/* ==================== SWOT ENHANCEMENTS ==================== */
.swot-quadrant {
  padding: var(--sp-4);
}

.swot-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--sp-2);
}

.swot-header svg {
  width: 16px;
  height: 16px;
}

.swot-grid.compact {
  gap: var(--sp-2);
}

.swot-grid.compact .swot-quadrant {
  padding: var(--sp-3);
}

.swot-grid.compact .swot-header {
  font-size: var(--text-helper);
  margin-bottom: var(--sp-1);
}

.swot-grid.compact .swot-header svg {
  display: none;
}

.swot-grid.compact .swot-list li {
  font-size: var(--text-helper);
  padding: var(--sp-0-5) 0;
}

.swot-list li.empty {
  color: var(--cds-text-placeholder);
  font-style: italic;
}

/* ==================== COMPANY SWOT SECTION ==================== */
.compare-swot-container {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.company-swot-section {
  background: var(--cds-layer-02);
  border: 1px solid var(--cds-border-subtle-01);
  padding: var(--sp-4);
}

.company-swot-header {
  font-size: var(--text-body);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--cds-border-subtle-00);
}

/* ==================== WINNER BANNER ==================== */
.winner-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--yellow-30);
  color: var(--gray-100);
  margin-bottom: var(--sp-4);
  font-size: var(--text-body-compact);
  font-weight: var(--font-medium);
}

.winner-banner svg {
  width: 20px;
  height: 20px;
}

.winner-banner strong {
  font-weight: var(--font-bold);
}

/* ==================== COMPETITOR LIST ==================== */
.competitor-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.competitor-item {
  padding: var(--sp-3);
  background: var(--cds-layer-01);
  overflow: hidden;
}

.competitor-item .competitor-name {
  font-size: var(--text-body-compact);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  margin-bottom: var(--sp-2);
  word-wrap: break-word;
}

.competitor-item .competitor-detail {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-1);
  word-wrap: break-word;
}

.competitor-item .competitor-detail:last-child {
  margin-bottom: 0;
}

.detail-label {
  font-weight: var(--font-medium);
  color: var(--cds-text-helper);
}

/* ==================== POSITIONING GRID ==================== */
.positioning-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.positioning-item {
  padding: var(--sp-3);
  overflow: hidden;
}

.positioning-item p {
  font-size: var(--text-helper);
  line-height: var(--leading-relaxed);
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.positioning-label {
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--sp-1);
}

.positioning-success {
  background: var(--green-10);
}
.positioning-success .positioning-label { color: var(--green-70); }
.positioning-success p { color: var(--green-70); }

.positioning-error {
  background: var(--red-10);
}
.positioning-error .positioning-label { color: var(--red-70); }
.positioning-error p { color: var(--red-70); }

.positioning-info {
  background: var(--cyan-10);
}
.positioning-info .positioning-label { color: var(--cyan-70); }
.positioning-info p { color: var(--cyan-70); }

/* ==================== EMPTY STATE INLINE ==================== */
.empty-state-inline {
  padding: var(--sp-6);
  text-align: center;
}

.empty-state-inline p {
  font-size: var(--text-body-compact);
  color: var(--cds-text-helper);
}

/* ==================== CARD UTILITIES ==================== */
.card-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  min-width: 0;
}

.card-stack .card {
  margin-bottom: 0;
}

.card-text {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Prevent full paragraph bold - only inline strong */
.card-text strong {
  color: var(--cds-text-primary);
  font-weight: var(--font-semibold);
}

.card-text + .card-text {
  margin-top: var(--sp-2);
}

/* Paragraph spacing for better readability */
.card-content p {
  margin-bottom: var(--sp-2);
}

.card-content p:last-child {
  margin-bottom: 0;
}

/* Ensure consistent body text sizing */
.card-content,
.profile-description,
.growth-description,
.synergy-item p,
.news-summary {
  font-size: var(--text-body-compact);
  line-height: var(--leading-relaxed);
}

/* ==================== BULLET LIST ==================== */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-list li {
  position: relative;
  padding-left: var(--sp-4);
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-1);
  word-wrap: break-word;
}

.bullet-list li:last-child {
  margin-bottom: 0;
}

.bullet-list li::before {
  content: '•';
  position: absolute;
  left: var(--sp-1);
  top: 0;
  color: var(--gray-70);
  font-size: var(--text-body-compact);
  font-weight: var(--font-bold);
  line-height: var(--leading-relaxed);
}

/* ==================== UTILITIES ==================== */
.hidden {
  display: none !important;
}

/* Background Colors */
.bg-primary-100 { background: var(--blue-20); }
.bg-primary-50 { background: var(--blue-10); }
.bg-success-100 { background: var(--green-20); }
.bg-success-50 { background: var(--green-10); }
.bg-warning-100 { background: var(--yellow-20); }
.bg-error-100 { background: var(--red-20); }
.bg-info-100 { background: var(--cyan-20); }

/* Text Colors */
.text-primary-600 { color: var(--blue-60); }
.text-success-600 { color: var(--green-60); }
.text-warning-600 { color: var(--yellow-40); }
.text-error-600 { color: var(--red-60); }
.text-info-600 { color: var(--cyan-60); }

/* Chip Variants */
.chip-success {
  background: var(--green-10);
  color: var(--green-70);
}

.chip-primary {
  background: var(--blue-10);
  color: var(--blue-70);
}

/* Text Label */
.text-label {
  font-size: var(--text-helper);
  font-weight: var(--font-medium);
  color: var(--cds-text-helper);
}

/* Spacing */
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }

/* ==================== ANIMATIONS ==================== */
.fade-in {
  animation: fadeIn var(--duration-moderate-02) var(--ease-productive-entrance);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp var(--duration-moderate-02) var(--ease-productive-entrance);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== RESPONSIVE ==================== */
/* Sidebar panel responsive adjustments */
@media (max-width: 400px) {
  .app-container {
    max-width: 100%;
  }

  .tab-btn {
    padding: 0 var(--sp-1);
    font-size: 11px;
  }

  .tab-btn svg {
    width: 12px;
    height: 12px;
  }

  .card {
    padding: var(--sp-3);
  }

  .synergy-score-card {
    max-width: 160px;
    padding: var(--sp-3);
  }

  .synergy-score-card .score-value {
    font-size: 2rem;
  }
}

@media (max-width: 320px) {
  .header-title {
    font-size: var(--text-body-compact);
  }

  .btn {
    padding: 0 var(--sp-3);
  }

  .input-group {
    flex-wrap: wrap;
  }

  .input-group .btn-icon {
    width: 36px;
    height: 36px;
  }
}

/* ==================== POPUP SPECIFIC ==================== */
.extension-container {
  width: 400px;
  min-height: 500px;
  background: var(--cds-background);
  font-family: var(--font-sans);
}

.extension-header {
  padding: var(--sp-4);
  border-bottom: 1px solid var(--cds-border-subtle-00);
}

.header-title {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.header-title h1 {
  font-size: var(--text-heading-compact-02);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  margin: 0;
}

.header-subtitle {
  font-size: var(--text-helper);
  color: var(--cds-text-helper);
  margin: 0;
}

.input-section {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.search-form {
  display: flex;
  gap: var(--sp-2);
}

.domain-input {
  flex: 1;
  height: var(--input-height);
  padding: 0 var(--sp-4);
  font-size: var(--text-body-compact);
  font-family: inherit;
  color: var(--cds-text-primary);
  background: var(--cds-field-01);
  border: none;
  border-bottom: 1px solid var(--cds-border-strong-01);
  outline: none;
  transition: var(--transition-fast);
}

.domain-input:focus {
  border-bottom-color: var(--cds-focus);
  outline: 2px solid var(--cds-focus);
  outline-offset: -2px;
}

.domain-input::placeholder {
  color: var(--cds-text-placeholder);
}

.analyze-btn {
  height: var(--button-height);
  padding: 0 var(--sp-4);
  font-size: var(--text-body-compact);
  font-weight: var(--font-normal);
  font-family: inherit;
  color: var(--cds-text-on-color);
  background: var(--cds-button-primary);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}

.analyze-btn:hover {
  background: var(--cds-button-primary-hover);
}

.analyze-btn:focus-visible {
  outline: 2px solid var(--cds-focus);
  outline-offset: -2px;
}

.analyze-btn:disabled {
  background: var(--cds-button-disabled);
  cursor: not-allowed;
}

.btn-spinner {
  display: inline-flex;
}

.btn-spinner svg {
  width: 16px;
  height: 16px;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Popup Loading Section */
.loading-section {
  padding: var(--sp-8);
  text-align: center;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-content .loading-icon {
  width: 48px;
  height: 48px;
  color: var(--cds-interactive);
  animation: spin 1s linear infinite;
  margin-bottom: var(--sp-4);
}

.loading-content .loading-icon svg {
  width: 48px;
  height: 48px;
}

.progress-bar {
  width: 200px;
  height: 4px;
  background: var(--gray-20);
  margin-top: var(--sp-4);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--cds-interactive);
  animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
  0% { width: 0%; margin-left: 0; }
  50% { width: 70%; margin-left: 0; }
  100% { width: 0%; margin-left: 100%; }
}

/* Popup Error Section */
.error-section {
  padding: var(--sp-8);
}

.error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.error-icon-wrapper {
  width: 48px;
  height: 48px;
  background: var(--red-20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}

.error-icon-wrapper svg {
  width: 24px;
  height: 24px;
  color: var(--cds-support-error);
}

.retry-btn {
  margin-top: var(--sp-4);
  height: var(--button-height);
  padding: 0 var(--sp-4);
  font-size: var(--text-body-compact);
  font-family: inherit;
  color: var(--cds-button-tertiary);
  background: transparent;
  border: 1px solid var(--cds-button-tertiary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.retry-btn:hover {
  background: var(--cds-button-tertiary-hover);
  color: var(--cds-text-on-color);
}

/* Popup Results Section */
.results-section {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 140px);
}

.tab-navigation {
  display: flex;
  background: var(--cds-background);
  border-bottom: 1px solid var(--cds-border-subtle-00);
  overflow-x: auto;
}

.tab-navigation::-webkit-scrollbar {
  display: none;
}

.tab-content {
  flex: 1;
  overflow-y: auto;
  background: var(--cds-layer-01);
}

.tab-header {
  padding: var(--sp-4);
  background: var(--cds-background);
  border-bottom: 1px solid var(--cds-border-subtle-00);
}

.tab-header h2 {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-heading-compact-02);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  margin: 0;
}

.opacity-25 {
  opacity: 0.25;
}

.opacity-75 {
  opacity: 0.75;
}

/* ==================== TOOLTIP ==================== */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: var(--z-tooltip);
  padding: var(--sp-1) var(--sp-2);
  font-size: 11px;
  font-weight: var(--font-medium);
  color: var(--cds-text-inverse);
  background: var(--gray-90);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
}

[data-tooltip-position="bottom"]::after {
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
}

[data-tooltip-position="left"]::after {
  top: 50%;
  right: calc(100% + 4px);
  transform: translateY(-50%);
}

/* Ensure parent containers don't clip tooltips */
.input-group,
.search-section,
.section-header {
  overflow: visible;
}

/* ==================== COMPARISON TAB COMPONENTS ==================== */

/* Compare Results Container */
#compare-results {
  overflow: hidden;
  min-width: 0;
}

/* Winner Card */
.compare-winner-card {
  background: var(--cds-layer-02);
  border: 1px solid var(--cds-border-subtle-01);
  border-left: 4px solid var(--blue-60);
  padding: var(--sp-4);
  margin-bottom: var(--sp-4);
  overflow: hidden;
}

.winner-label {
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  color: var(--cds-text-helper);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--sp-1);
}

.winner-name {
  font-size: var(--text-body);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  margin-bottom: var(--sp-2);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.winner-recommendation {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Compare Profiles Grid */
.compare-profiles {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.compare-profile-card {
  background: var(--cds-layer-01);
  padding: var(--sp-3);
  border-left: 3px solid var(--blue-60);
  overflow: hidden;
}

.compare-profile-card .profile-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
  flex-wrap: wrap;
}

.compare-profile-card .profile-name {
  font-size: var(--text-body-compact);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  flex: 1;
}

.profile-desc {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-2);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.compare-profile-card .profile-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.compare-profile-card .profile-detail {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  line-height: var(--leading-relaxed);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.compare-profile-card .profile-detail strong {
  color: var(--cds-text-helper);
  font-weight: var(--font-medium);
}

/* Scores Table */
.scores-table {
  width: 100%;
  overflow: hidden;
}

.scores-header {
  display: flex;
  padding: var(--sp-2) var(--sp-3);
  background: var(--cds-layer-accent-01);
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  border-bottom: 1px solid var(--cds-border-subtle-00);
  gap: var(--sp-2);
}

.scores-header .scores-dimension {
  flex: 1;
  min-width: 80px;
}

.scores-header .scores-company {
  width: 50px;
  flex-shrink: 0;
  text-align: center;
  font-size: var(--text-helper);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scores-row {
  display: flex;
  padding: var(--sp-2) var(--sp-3);
  border-bottom: 1px solid var(--cds-border-subtle-00);
  font-size: var(--text-helper);
  gap: var(--sp-2);
  align-items: center;
}

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

.scores-row:hover {
  background: var(--cds-layer-hover-01);
}

.scores-row .scores-dimension {
  flex: 1;
  min-width: 80px;
  font-weight: var(--font-medium);
  color: var(--cds-text-primary);
}

.scores-row .scores-value {
  width: 50px;
  flex-shrink: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
}

.scores-row-total {
  background: var(--cds-layer-accent-01);
  font-weight: var(--font-semibold);
}

.scores-row-total:hover {
  background: var(--cds-layer-accent-hover-01);
}

.score-best {
  color: var(--green-60);
  font-weight: var(--font-semibold);
}

/* Capability Rankings */
.capability-rankings {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  overflow: hidden;
}

.ranking-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-2);
  background: var(--cds-layer-01);
}

.ranking-label {
  font-size: var(--text-helper);
  font-weight: var(--font-medium);
  color: var(--cds-text-helper);
}

.ranking-values {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: var(--leading-relaxed);
}

/* Position Rankings */
.position-rankings {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-top: var(--sp-2);
}

.position-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-1) var(--sp-2);
  font-size: var(--text-helper);
  font-weight: var(--font-medium);
  color: var(--cds-text-secondary);
  background: var(--cds-layer-01);
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.position-rank.rank-first {
  background: var(--green-10);
  color: var(--green-70);
  font-weight: var(--font-semibold);
}

/* Positioning Detail */
.positioning-detail {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  padding: var(--sp-1) 0;
  line-height: var(--leading-relaxed);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.positioning-detail strong {
  color: var(--cds-text-helper);
  font-weight: var(--font-medium);
}

/* SWOT Comparison Grid */
.swot-comparison-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  overflow: hidden;
}

.swot-company-card {
  background: var(--cds-layer-01);
  padding: var(--sp-4);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.swot-company-name {
  font-size: var(--text-body-compact);
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
  padding-bottom: var(--sp-2);
  margin-bottom: var(--sp-2);
  border-bottom: 1px solid var(--cds-border-subtle-00);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.swot-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  overflow: hidden;
}

.swot-mini {
  padding: var(--sp-3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-width: 0;
}

.swot-mini-label {
  font-size: var(--text-helper);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--sp-1);
}

.swot-mini ul {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.swot-mini ul li {
  position: relative;
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  padding: var(--sp-0-5) 0;
  padding-left: var(--sp-3);
  line-height: var(--leading-relaxed);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.swot-mini ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gray-60);
  font-weight: var(--font-bold);
}

.swot-mini.swot-s {
  background: var(--green-10);
}
.swot-mini.swot-s .swot-mini-label {
  color: var(--green-70);
}

.swot-mini.swot-w {
  background: var(--red-10);
}
.swot-mini.swot-w .swot-mini-label {
  color: var(--red-70);
}

.swot-mini.swot-o {
  background: var(--cyan-10);
}
.swot-mini.swot-o .swot-mini-label {
  color: var(--cyan-70);
}

.swot-mini.swot-t {
  background: var(--yellow-10);
}
.swot-mini.swot-t .swot-mini-label {
  color: var(--yellow-60);
}

/* Relationship Item */
.relationship-item {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--cds-border-subtle-00);
  line-height: var(--leading-relaxed);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

.relationship-item strong {
  color: var(--cds-text-helper);
  font-weight: var(--font-medium);
}

/* ==================== GOOGLE SIGN-IN BUTTON ==================== */
.btn-google {
  background: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
  font-weight: var(--font-medium);
  transition: background-color 0.2s, box-shadow 0.2s;
}

.btn-google:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15);
}

.btn-google:active {
  background: #f1f3f4;
}

.btn-google:disabled {
  background: #f8f9fa;
  color: #9aa0a6;
  cursor: not-allowed;
}

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

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #dadce0;
  border-top-color: #4285F4;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* Login Error */
.login-error {
  color: #dc2626;
  font-size: var(--text-helper);
  text-align: center;
  margin-top: var(--sp-4);
  padding: var(--sp-2) var(--sp-3);
  background: #fef2f2;
  border-radius: var(--radius-sm);
  border: 1px solid #fecaca;
}

/* ==================== CREDITS BAR ==================== */
.credits-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-2) var(--sp-3);
  background: var(--cds-layer-01);
  border-bottom: 1px solid var(--cds-border-subtle);
}

.credits-info {
  font-size: var(--text-helper);
  color: var(--cds-text-secondary);
}

.credits-info #credits-count {
  font-weight: var(--font-semibold);
  color: var(--cds-text-primary);
}

.credits-info.low {
  color: var(--orange-50);
}

.credits-info.low #credits-count {
  color: var(--orange-60);
}

.credits-info.empty {
  color: var(--red-50);
}

.credits-info.empty #credits-count {
  color: var(--red-60);
}

.btn-add-credits {
  font-size: var(--text-helper);
  font-weight: var(--font-medium);
  padding: var(--sp-1) var(--sp-2);
  background: var(--cds-background-brand);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-add-credits:hover {
  background: var(--cds-button-primary-hover);
}

.credits-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.btn-reload {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-1);
  background: transparent;
  color: var(--cds-icon-secondary);
  border: 1px solid var(--cds-border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-reload:hover {
  background: var(--cds-layer-hover);
  color: var(--cds-icon-primary);
  border-color: var(--cds-border-strong);
}

.btn-reload svg {
  width: 14px;
  height: 14px;
}
