
    :root{
      --bg:#f8fafc; --card: #ffffff; --muted:#64748b; --primary:#274c77; --accent:	#6096ba;
      --match-bg: rgba(59,130,246,0.12);
      --sidebar-width: 280px;
    }

    body { 
      background: url('/theme/image/background.svg') no-repeat center center fixed;
      background-size: cover;
      padding-top: 60px;
      background-color:var(--bg); 
      font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; 
      line-height: 1.6;
      margin: 0;
    }
    .container{
      max-width:1200px;
      margin:0 auto;
      padding:16px;
      width: 100%;
    }
    .card{
      background:var(--card);
      border-radius:12px;
      padding:20px;
      box-shadow:0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
      border:1px solid rgba(2,6,23,0.04);
      transition: all 0.3s ease;
      overflow: hidden;
    }
    .card:hover {
      box-shadow:0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    }
    .uploader{
      border:2px dashed rgba(2,6,23,0.1);
      border-radius:12px;
      padding:30px 20px;
      text-align:center;
      cursor:pointer;
      transition: all 0.3s ease;
      width: 100%;
    }
    .uploader:hover, .uploader.dragover {
      border-color: var(--primary);
      background-color: rgba(37, 99, 235, 0.05);
    }
    .thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:10px}
    .thumb{border-radius:8px;overflow:hidden;border:1px solid rgba(2,6,23,0.04);background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent)}
    .thumb img{width:100%;height:auto;display:block}
    .main-stage{
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      width: 100%;
    }
    @media (min-width: 1024px) {
      .main-stage {
        grid-template-columns: var(--sidebar-width) 1fr;
      }
    }
    .preview-wrap{
      background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);
      border-radius:10px;
      overflow:hidden;
      padding:16px;
      position: relative;
      width: 100%;
    }
    .preview-canvas{
      width:100%;
      height:auto;
      border-radius:6px;
      display:block;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      max-width: 100%;
    }
    .sig-overlay{
      position:absolute;
      touch-action:none;
      user-select:none;
      z-index: 10;
    }
    .handle{
      position:absolute;
      width:12px;
      height:12px;
      border-radius:50%;
      background:var(--primary);
      opacity:.95;
      transform:translate(-50%,-50%);
      box-shadow:0 4px 8px rgba(37,99,235,0.3);
      cursor: pointer;
      z-index: 11;
    }
    .controls {
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      align-items: center;
    }
    .btn{
      display:inline-flex;
      align-items:center;
      justify-content: center;
      gap:.5rem;
      padding:.6rem 1rem;
      border-radius:8px;
      border:1px solid rgba(2,6,23,0.08);
      background:var(--card);
      cursor:pointer;
      font-weight: 500;
      transition: all 0.2s ease;
      white-space: nowrap;
    }
    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .btn.primary{
      background:var(--primary);
      color:white;
      border-color:transparent;
    }
    .btn.ghost{
      background:transparent;
      border:1px solid rgba(2,6,23,0.08);
    }
    .small-muted{color:var(--muted);font-size:.9rem; line-height: 1.4;}
    .ads-slot{
      border:1px dashed rgba(2,6,23,0.08);
      border-radius:10px;   
      margin: 16px 0;
    }
    .mobile-ad {
      display: none;
    }
    @media (max-width: 768px) {
      .mobile-ad {
        display: grid;
      }
      .desktop-ad {
        display: none;
      }
      .container {
         padding-top: 70px;
        padding: 12px;
      }
      .card {
        padding: 16px;
      }
    }
    .tools-panel{
      display:flex;
      flex-direction:column;
      gap:16px;
      width: 100%;
    }
    .signature-canvas{
      border:1px solid rgba(2,6,23,0.08);
      border-radius:8px;
      background:var(--card);
      touch-action:none;
      width: 100%;
    }
    .slider{width:100%}
    .badge{
      display:inline-flex;
      align-items: center;
      padding:.3rem .7rem;
      border-radius:999px;
      background:var(--match-bg);
      color:var(--primary);
      font-weight:600;
      font-size: 0.85rem;
    }
    .page-list{
      max-height:38vh;
      overflow:auto;
      padding-right:8px;
    }
    .page-item{
      display:flex;
      gap:10px;
      align-items:center;
      padding:10px;
      border-radius:8px;
      border:1px solid rgba(2,6,23,0.03);
      cursor:pointer;
      transition: all 0.2s ease;
      margin-bottom: 8px;
    }
    .page-item:hover {
      background: rgba(37, 99, 235, 0.05);
    }
    .page-item.active{
      outline:2px solid rgba(37,99,235,0.15);
      background: linear-gradient(90deg, rgba(37,99,235,0.05), transparent)
    }
    .rotate-btn{transform:rotate(90deg)}
    .tab-container {
      display: flex;
      border-bottom: 1px solid rgba(2,6,23,0.08);
      margin-bottom: 16px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    .tab {
      padding: 10px 16px;
      cursor: pointer;
      border-bottom: 2px solid transparent;
      transition: all 0.2s ease;
      white-space: nowrap;
    }
    .tab.active {
      border-bottom: 2px solid var(--primary);
      color: var(--primary);
      font-weight: 500;
    }
    .tab-content {
      display: none;
    }
    .tab-content.active {
      display: block;
    }
    .tooltip {
      position: relative;
      display: inline-block;
    }
    .tooltip .tooltiptext {
      visibility: hidden;
      width: 120px;
      background-color: #333;
      color: #fff;
      text-align: center;
      border-radius: 6px;
      padding: 5px;
      position: absolute;
      z-index: 1;
      bottom: 125%;
      left: 50%;
      margin-left: -60px;
      opacity: 0;
      transition: opacity 0.3s;
      font-size: 12px;
    }
    .tooltip:hover .tooltiptext {
      visibility: visible;
      opacity: 1;
	  z-index: 9999999;
    }
    .loading-spinner {
      display: none;
      width: 40px;
      height: 40px;
      border: 4px solid rgba(0, 0, 0, 0.1);
      border-radius: 50%;
      border-top: 4px solid var(--primary);
      animation: spin 1s linear infinite;
      margin: 0 auto;
    }
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    .progress-bar {
      width: 100%;
      height: 6px;
      background-color: rgba(0, 0, 0, 0.1);
      border-radius: 3px;
      overflow: hidden;
      margin: 10px 0;
      display: none;
    }
    .progress-bar-inner {
      height: 100%;
      background-color: var(--primary);
      width: 0%;
      transition: width 0.3s ease;
    }
    .step-indicator {
      display: flex;
      justify-content: space-between;
      margin: 20px 0;
      position: relative;
      max-width: 400px;
    }
    .step {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background-color: var(--card);
      border: 2px solid var(--muted);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      z-index: 2;
      font-size: 14px;
    }
    .step.active {
      background-color: var(--primary);
      color: white;
      border-color: var(--primary);
    }
    .step.completed {
      background-color: var(--accent);
      color: white;
      border-color: var(--accent);
    }
    .step-indicator::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      height: 2px;
      background-color: var(--muted);
      transform: translateY(-50%);
      z-index: 1;
    }
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin: 30px 0;
    }
    .feature-card {
      padding: 20px;
      border-radius: 12px;
      background: var(--card);
      text-align: center;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }
    .feature-icon {
      font-size: 2rem;
      margin-bottom: 15px;
      color: var(--primary);
    }
    .mobile-controls {
      display: none;
    }
    @media (max-width: 768px) {
      .mobile-controls {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 16px;
      }
      .desktop-controls {
        display: none;
      }
      .step-indicator {
        max-width: 100%;
      }
      .step {
        width: 25px;
        height: 25px;
        font-size: 12px;
      }
    }
    .canvas-container {
      position: relative;
      width: 100%;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }
    #pageWrapper {
      display: flex;
      justify-content: center;
      align-items: flex-start;
    }
    input[type="range"] {
      width: 100%;
    }
    input[type="file"] {
      width: 100%;
      padding: 8px;
      border-radius: 8px;
      border: 1px solid rgba(2,6,23,0.08);
    }
    select {
      width: 100%;
      padding: 8px;
      border-radius: 8px;
      border: 1px solid rgba(2,6,23,0.08);
      background: var(--card);
      color: inherit;
    }
    input[type="text"], input[type="number"] {
      width: 100%;
      padding: 10px;
      border-radius: 8px;
      border: 1px solid rgba(2,6,23,0.08);
      background: var(--card);
      color: inherit;
    }
	
  .feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  .prose {
    color: inherit;
    line-height: 1.7;
  }
  
  .prose h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: inherit;
  }
  
  .prose h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: inherit;
  }
  
  .prose p {
    margin-bottom: 1.2rem;
  }
  
  .faq-item {
    transition: transform 0.2s ease;
  }
  
  .faq-item:hover {
    transform: translateX(5px);
  }
  
  @media (max-width: 768px) {
    .prose h2 {
      font-size: 1.5rem;
    }
    
    .prose h3 {
      font-size: 1.2rem;
    }
  }