    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Inter', "Segoe UI", Arial, sans-serif;
      background: #f9fafb;
      color: #333;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: #9b51e0;
      color: #fff;
      padding: 1.2rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    header h1 {
      font-size: 1.3rem;
      font-weight: 600;
      letter-spacing: 0.02em;
    }

    .nav-links a {
      color: #8ed1fc;
      text-decoration: none;
      margin-left: 1.2rem;
      font-size: 0.9rem;
    }

    .nav-links a:hover { text-decoration: underline; }

    .subtitle {
      background: #0693e3;
      color: #cde;
      padding: 0.6rem 2rem;
      font-size: 0.88rem;
    }

    .grid {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      padding: 1.25rem;
      max-width: 1300px;
      margin: 0 auto;
    }

    .card {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      overflow: hidden;
      width: 100%;
    }

    .card-header {
      padding: 1rem 1.2rem 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.7rem;
    }

    .card-header .swatch {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .card-header h2 {
      font-size: 1rem;
      font-weight: 600;
      color: #2c3e50;
    }

    .card-body {
      padding: 0.8rem 1rem 0.6rem;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .card-body svg {
      max-width: 100%;
      width: 100%;
      height: auto;
    }

    .checklist-wrap {
      width: 100%;
      padding: 0.2rem 1.2rem 1rem;
      border-top: 2px solid #7bdcb5;
      background: #fcfdfd;
    }

    .checklist-wrap h3 {
      margin: 0.7rem 0 0.5rem;
      font-size: 0.95rem;
      color: #2c3e50;
    }

    .checklist-wrap .check-block {
      margin: 0.55rem 0;
      border: 1px solid #8ed1fc;
      border-radius: 8px;
      background: #fff;
      overflow: hidden;
    }

    .checklist-wrap .check-title {
      list-style: none;
      padding: 0.55rem 0.7rem;
      font-size: 0.88rem;
      font-weight: 600;
      color: #3b5171;
      background: #f4f7fb;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .checklist-wrap .check-title::-webkit-details-marker {
      display: none;
    }

    .checklist-wrap .check-title::after {
      content: "▸";
      font-size: 0.9rem;
      color: #6b7280;
      transition: transform 0.18s ease;
    }

    .checklist-wrap .check-block[open] .check-title::after {
      transform: rotate(90deg);
    }

    .checklist-wrap .check-content {
      padding-bottom: 0.2rem;
    }

    .checklist-wrap ul {
      list-style: none;
      padding: 0.6rem 0.8rem 0.7rem;
      margin: 0;
    }

    .checklist-wrap li {
      font-size: 0.86rem;
      line-height: 1.4;
      padding: 0.25rem 0;
      border-bottom: 1px solid #f1f3f5;
    }

    .checklist-wrap li:last-child {
      border-bottom: none;
    }

    .export-btn {
      margin: 0.5rem 1rem 1rem;
      padding: 0.45rem 1rem;
      border: none;
      border-radius: 5px;
      background: #9b51e0;
      color: #fff;
      font-size: 0.82rem;
      cursor: pointer;
      align-self: flex-end;
      transition: background 0.2s;
    }

    .export-btn:hover { background: #0693e3; }

    .export-actions {
      display: flex;
      gap: 0.5rem;
      align-self: flex-end;
      margin: 0.5rem 1rem 1rem;
    }

    .export-actions .export-btn {
      margin: 0;
      align-self: auto;
    }

    /* Tooltip */
    .tooltip {
      position: fixed;
      background: rgba(0,0,0,0.82);
      color: #fff;
      padding: 6px 10px;
      border-radius: 5px;
      font-size: 0.8rem;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.15s;
      max-width: 240px;
      z-index: 100;
    }

    /* Legend */
    .legend {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem 1.2rem;
      padding: 0.8rem 2rem;
      background: #fff;
      border-top: 1px solid #e0e0e0;
      font-size: 0.8rem;
    }

    .legend-item {
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .legend-swatch {
      width: 12px;
      height: 12px;
      border-radius: 3px;
    }
