:root {
      --primary: #2563eb;
      --primary-hover: #1d4ed8;
      --primary-dark: #1d4ed8;
      --primary-light: #eff6ff;
      --accent: #f59e0b;
      --emerald: #10b981;
      --rose: #f43f5e;
      --amber: #d97706;
      --slate-900: #0f172a;
      --slate-800: #1e293b;
      --slate-700: #334155;
      --slate-600: #475569;
      --slate-500: #64748b;
      --slate-400: #94a3b8;
      --slate-300: #cbd5e1;
      --slate-200: #e2e8f0;
      --slate-100: #f1f5f9;
      --slate-50: #f8fafc;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
      --shadow-md: 0 4px 14px rgba(15,23,42,0.08);
      --shadow-lg: 0 10px 25px -3px rgba(15,23,42,0.12);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif; word-break: keep-all; }
    body, h1, h2, h3, h4, p, span, td, th, div, label, button {
      word-break: keep-all;
      overflow-wrap: break-word;
    }
    body { background-color: #f8fafc; color: var(--slate-900); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

    /* PlaceSync Standalone Header */
    header.placesync-header,
    header.placedoctor-header {
      background: #0f172a;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 12px 20px;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    }
    .pd-header-inner {
      max-width: 1240px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }
    .pd-brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      flex-shrink: 0;
    }
    .pd-logo-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: linear-gradient(135deg, #2563eb, #3b82f6);
      color: #ffffff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
    }
    .pd-brand-text {
      display: flex;
      flex-direction: column;
    }
    .pd-brand-title {
      color: #ffffff;
      font-size: 17px;
      font-weight: 800;
      letter-spacing: -0.4px;
      line-height: 1.2;
    }
    .pd-brand-title span {
      color: #60a5fa;
    }
    .pd-brand-sub {
      color: #94a3b8;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: -0.2px;
    }
    .pd-header-nav {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .pd-nav-link {
      color: #cbd5e1;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      padding: 6px 12px;
      border-radius: 8px;
      transition: all 0.15s;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .pd-nav-link:hover {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.08);
    }
    .pd-nav-btn {
      background: #fee500;
      color: #191600;
      font-size: 12.5px;
      font-weight: 800;
      padding: 7px 14px;
      border-radius: 20px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: transform 0.15s, box-shadow 0.15s;
    }
    .pd-nav-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 3px 10px rgba(254, 229, 0, 0.35);
    }
    @media (max-width: 768px) {
      .pd-nav-link { display: none; }
      .pd-brand-sub { display: none; }
    }

    /* Recent Search History Pill Bar */
    .history-wrap {
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid var(--slate-100);
    }
    .history-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 8px;
    }
    .history-title {
      font-size: 12px;
      font-weight: 700;
      color: var(--slate-500);
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .history-clear-btn {
      background: none;
      border: none;
      font-size: 11px;
      font-weight: 600;
      color: var(--slate-400);
      cursor: pointer;
      padding: 2px 6px;
      border-radius: 4px;
      transition: color 0.15s, background 0.15s;
    }
    .history-clear-btn:hover {
      color: #e11d48;
      background: #ffe4e6;
    }
    .history-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .history-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #f8fafc;
      border: 1px solid var(--slate-200);
      border-radius: 20px;
      padding: 5px 10px 5px 12px;
      font-size: 12px;
      color: var(--slate-800);
      cursor: pointer;
      transition: all 0.15s;
      font-family: inherit;
    }
    .history-chip:hover {
      border-color: #3b82f6;
      background: #eff6ff;
      color: #1d4ed8;
    }
    .history-chip .hc-kw {
      font-weight: 700;
      color: #1e293b;
    }
    .history-chip .hc-sep {
      color: #cbd5e1;
      font-size: 10px;
    }
    .history-chip .hc-target {
      font-weight: 600;
      color: #64748b;
    }
    .history-chip:hover .hc-kw,
    .history-chip:hover .hc-target {
      color: #1d4ed8;
    }
    .history-chip .hc-del {
      border: none;
      background: none;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      font-size: 13px;
      line-height: 1;
      color: #94a3b8;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-left: 2px;
      padding: 0;
    }
    .history-chip .hc-del:hover {
      background: #fee2e2;
      color: #dc2626;
    }

    /* Social Proof Indicators in Hero */
    .hero-proof-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 14px;
    }
    .proof-chip {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 20px;
      background: #ffffff;
      border: 1px solid var(--slate-200);
      color: var(--slate-700);
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .proof-chip.highlight {
      background: #eff6ff;
      border-color: #bfdbfe;
      color: #1d4ed8;
    }

    /* PlaceDoctor 4 Bento Guides */
    .bento-guide-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 16px;
      margin-top: 18px;
      margin-bottom: 32px;
    }
    .bento-guide-card {
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: var(--radius-md);
      padding: 20px;
      transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: inherit;
    }
    .bento-guide-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
      border-color: #93c5fd;
    }
    .bgc-tag-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
    }
    .bgc-tag {
      font-size: 11px;
      font-weight: 800;
      padding: 3px 8px;
      border-radius: 6px;
    }
    .bgc-tag.blue { background: #dbeafe; color: #1d4ed8; }
    .bgc-tag.green { background: #dcfce7; color: #15803d; }
    .bgc-tag.orange { background: #ffedd5; color: #c2410c; }
    .bgc-tag.purple { background: #f3e8ff; color: #7e22ce; }
    .bgc-date { font-size: 11px; color: var(--slate-400); font-weight: 500; }
    .bgc-title {
      font-size: 15px;
      font-weight: 800;
      color: var(--slate-900);
      line-height: 1.45;
      margin-bottom: 8px;
      letter-spacing: -0.3px;
    }
    .bgc-desc {
      font-size: 12.5px;
      color: var(--slate-600);
      line-height: 1.55;
      margin-bottom: 14px;
      flex-grow: 1;
    }
    .bgc-arrow {
      font-size: 12px;
      font-weight: 700;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    /* 📚 2026 네이버 공식 개정 & 실전 가이드 아코디언 UI */
    .guide-accordion-wrap {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 20px;
      margin-bottom: 24px;
    }
    .guide-accordion-item {
      background: #ffffff;
      border: 1.5px solid var(--slate-200);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: all 0.2s ease;
    }
    .guide-accordion-item:hover {
      border-color: #93c5fd;
      box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
    }
    .guide-accordion-item.active {
      border-color: var(--primary);
      box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
    }
    .guide-accordion-header {
      padding: 16px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      cursor: pointer;
      user-select: none;
      background: #ffffff;
      transition: background 0.15s ease;
    }
    .guide-accordion-item.active .guide-accordion-header {
      background: #f8faff;
      border-bottom: 1px solid #e0e7ff;
    }
    .gah-left {
      display: flex;
      align-items: center;
      gap: 12px;
      flex: 1;
      min-width: 0;
    }
    .gah-badge {
      font-size: 11px;
      font-weight: 800;
      padding: 4px 10px;
      border-radius: 6px;
      flex-shrink: 0;
      letter-spacing: -0.2px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .gah-badge.danger { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
    .gah-badge.ai { background: #e0e7ff; color: #4338ca; border: 1px solid #c7d2fe; }
    .gah-badge.warn { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
    .gah-badge.star { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
    .gah-badge.tool { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
    .gah-title {
      font-size: 15px;
      font-weight: 800;
      color: var(--slate-900);
      letter-spacing: -0.3px;
      line-height: 1.4;
    }
    .gah-icon {
      font-size: 13px;
      color: var(--slate-400);
      transition: transform 0.25s ease, color 0.15s;
      flex-shrink: 0;
    }
    .guide-accordion-item.active .gah-icon {
      transform: rotate(180deg);
      color: var(--primary);
    }
    .guide-accordion-body {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      background: #ffffff;
    }
    .guide-accordion-item.active .guide-accordion-body {
      max-height: 1200px;
    }
    .gab-content {
      padding: 18px 20px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .gab-card {
      border-radius: 8px;
      padding: 12px 14px;
      font-size: 13px;
      line-height: 1.6;
    }
    .gab-card.official {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      color: #334155;
    }
    .gab-card.penalty {
      background: #fff1f2;
      border: 1px solid #fecdd3;
      color: #881337;
    }
    .gab-card.action {
      background: #f0fdf4;
      border: 1.5px solid #86efac;
      color: #14532d;
    }
    .gab-lbl {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 800;
      margin-bottom: 4px;
    }
    .gab-card.official .gab-lbl { color: #0f172a; }
    .gab-card.penalty .gab-lbl { color: #be123c; }
    .gab-card.action .gab-lbl { color: #15803d; }
    .guide-cta-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
      border: 1px solid #bfdbfe;
      border-radius: 12px;
      padding: 14px 18px;
      margin-top: 14px;
    }
    .guide-cta-text {
      font-size: 13px;
      font-weight: 700;
      color: #1e3a8a;
    }
    .btn-guide-verify {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--primary);
      color: #ffffff;
      font-size: 12.5px;
      font-weight: 800;
      padding: 8px 16px;
      border-radius: 8px;
      text-decoration: none;
      transition: all 0.2s;
      box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    }
    .btn-guide-verify:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
    }

    /* Top Sticky Lead Magnet Announcement Bar (PDF 무료 배포 가이드) */
    .top-lead-banner {
      position: sticky;
      top: 0;
      z-index: 998;
      background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
      color: #ffffff;
      padding: 9px 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      cursor: pointer;
      font-size: 13px;
      box-shadow: 0 2px 10px rgba(29, 78, 216, 0.25);
      border-bottom: 1px solid rgba(255, 255, 255, 0.15);
      transition: background 0.2s, transform 0.15s;
    }
    .top-lead-banner:hover {
      background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    }
    .tlb-inner {
      display: flex;
      align-items: center;
      gap: 8px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .tlb-badge {
      background: rgba(255, 255, 255, 0.22);
      border: 1px solid rgba(255, 255, 255, 0.4);
      color: #ffffff;
      font-size: 11px;
      font-weight: 800;
      padding: 2px 8px;
      border-radius: 20px;
      letter-spacing: -0.2px;
      flex-shrink: 0;
    }
    .tlb-title {
      font-weight: 600;
      letter-spacing: -0.3px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .tlb-title b {
      font-weight: 800;
      color: #fef08a;
    }
    .tlb-cta {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: #ffffff;
      color: #1d4ed8;
      font-size: 11.5px;
      font-weight: 800;
      padding: 3px 10px;
      border-radius: 14px;
      flex-shrink: 0;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .tlb-close {
      background: none;
      border: none;
      color: rgba(255, 255, 255, 0.7);
      font-size: 18px;
      cursor: pointer;
      padding: 0 4px;
      line-height: 1;
      margin-left: 8px;
      flex-shrink: 0;
      transition: color 0.15s;
    }
    .tlb-close:hover { color: #ffffff; }

    @media (max-width: 640px) {
      .top-lead-banner {
        padding: 8px 12px;
        font-size: 12px;
        gap: 6px;
      }
      .tlb-cta { display: none; }
    }

    /* Lead Magnet Modal */
    .lead-modal-backdrop {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(15, 23, 42, 0.65);
      backdrop-filter: blur(4px);
      z-index: 2000;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .lead-modal-backdrop.open { display: flex; }
    .lead-modal-card {
      background: #ffffff;
      border-radius: var(--radius-lg);
      width: 100%;
      max-width: 440px;
      padding: 28px 24px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.25);
      position: relative;
      animation: modalPop 0.25s ease-out;
    }
    @keyframes modalPop {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }
    .lead-modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      background: none;
      border: none;
      font-size: 20px;
      color: var(--slate-400);
      cursor: pointer;
      line-height: 1;
    }
    .lead-modal-close:hover { color: var(--slate-800); }

    /* PlaceSync Standalone Footer */
    footer.placesync-footer,
    footer.placedoctor-footer {
      background: #0f172a;
      color: #94a3b8;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding: 44px 20px 36px 20px;
      margin-top: 60px;
      font-size: 12.5px;
    }
    .pdf-inner {
      max-width: 1240px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .pdf-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .pdf-brand {
      color: #ffffff;
      font-size: 16px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .pdf-links {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .pdf-links a {
      color: #cbd5e1;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.15s;
    }
    .pdf-links a:hover { color: #60a5fa; }
    .pdf-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      color: #64748b;
      font-size: 11.5px;
    }
    .tool-tab.active {
      background: #eff6ff;
      color: var(--primary);
      font-weight: 700;
    }
    .tool-tab i { font-size: 13px; }

    /* Teaser Lock Card (1st place secret) */
    .teaser-card {
      display: none;
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
      color: #ffffff;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-lg);
      padding: 28px;
      margin-bottom: 32px;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
    }
    .teaser-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(245, 158, 11, 0.15);
      border: 1px solid #f59e0b;
      color: #fbbf24;
      font-size: 11.5px;
      font-weight: 800;
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 12px;
    }
    .teaser-title {
      font-size: 18px;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 16px;
      letter-spacing: -0.3px;
    }
    .teaser-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 14px;
      margin-bottom: 22px;
    }
    .teaser-item {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-md);
      padding: 14px 16px;
    }
    .teaser-lbl {
      display: block;
      font-size: 12px;
      font-weight: 700;
      color: var(--slate-400);
      margin-bottom: 6px;
    }
    .teaser-blur {
      font-size: 13px;
      color: #cbd5e1;
      filter: blur(4.5px);
      user-select: none;
      transition: filter 0.3s;
    }
    .teaser-cta-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
    }
    .btn-teaser-unlock {
      background: linear-gradient(135deg, #f59e0b, #d97706);
      color: #0f172a;
      font-weight: 800;
      font-size: 13.5px;
      padding: 12px 22px;
      border-radius: var(--radius-sm);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
      box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
    }
    .btn-teaser-unlock:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
    }
    /* Apply Section (Lead Magnet & Subscription) - Hidden initially until search */
    .apply-section {
      display: none;
      background: #ffffff;
      border: 2px solid var(--primary);
      border-radius: var(--radius-lg);
      padding: 36px 32px;
      margin-bottom: 36px;
      box-shadow: var(--shadow-lg);
      position: relative;
      overflow: hidden;
    }
    .apply-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #eff6ff;
      color: var(--primary);
      border: 1px solid #bfdbfe;
      font-size: 12px;
      font-weight: 800;
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 12px;
    }
    .apply-title {
      font-size: 22px;
      font-weight: 900;
      color: var(--slate-900);
      margin-bottom: 8px;
      letter-spacing: -0.5px;
    }
    .apply-desc {
      font-size: 14px;
      color: var(--slate-600);
      margin-bottom: 24px;
      line-height: 1.6;
    }
    .apply-form {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
      align-items: flex-end;
    }
    .apply-field label {
      display: block;
      font-size: 12.5px;
      font-weight: 700;
      color: var(--slate-800);
      margin-bottom: 6px;
    }
    .apply-input {
      width: 100%;
      height: 48px;
      border: 1.5px solid var(--slate-300);
      border-radius: var(--radius-sm);
      padding: 0 14px;
      font-size: 14px;
      transition: all 0.2s;
    }
    .apply-input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }
    .btn-apply-submit {
      height: 48px;
      background: var(--primary);
      color: white;
      border: none;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    }
    .btn-apply-submit:hover {
      background: var(--primary-hover);
      color: #ffffff;
      transform: translateY(-1px);
    }
    .apply-guarantee {
      margin-top: 16px;
      font-size: 12px;
      color: var(--slate-500);
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* Apply Success Box (Replaces form on submit) */
    .apply-success-box {
      display: none;
      text-align: center;
      padding: 24px 16px;
    }
    .apply-success-box .success-icon {
      font-size: 44px;
      margin-bottom: 12px;
    }
    .apply-success-box h3 {
      font-size: 22px;
      font-weight: 900;
      color: var(--slate-900);
      margin-bottom: 8px;
    }
    .apply-success-box p {
      font-size: 14.5px;
      color: var(--slate-600);
      max-width: 580px;
      margin: 0 auto 16px auto;
      line-height: 1.6;
    }

    /* Main Container */
    .main-wrapper {
      max-width: 1240px;
      margin: 0 auto;
      padding: 24px 20px 80px 20px;
    }

    /* Hero */
    .hero-section {
      text-align: center;
      margin-bottom: 28px;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #ecfdf5;
      color: #059669;
      border: 1px solid #a7f3d0;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .hero-title {
      font-size: 28px;
      font-weight: 800;
      color: var(--slate-900);
      letter-spacing: -0.5px;
      margin-bottom: 8px;
    }
    .hero-subtitle {
      font-size: 14.5px;
      color: var(--slate-600);
      max-width: 820px;
      margin: 0 auto;
      line-height: 1.6;
    }

    /* Search Workspace Card */
    .search-card {
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: var(--radius-lg);
      padding: 28px;
      box-shadow: var(--shadow-sm);
      margin-bottom: 24px;
    }
    .search-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr auto;
      gap: 12px;
      align-items: flex-end;
    }
    @media (max-width: 768px) {
      .search-grid { grid-template-columns: 1fr; }
    }
    .form-group label {
      display: block;
      font-size: 13px;
      font-weight: 700;
      color: var(--slate-700);
      margin-bottom: 6px;
    }
    .search-input {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid var(--slate-300);
      border-radius: var(--radius-sm);
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .search-input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
    }
    .btn-search {
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      color: #ffffff;
      border: none;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-size: 14.5px;
      font-weight: 800;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      height: 48px;
      transition: all 0.2s;
    }
    .btn-search:hover {
      background: #1e40af;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(37,99,235,0.25);
    }

    /* Keyword Example Badges (Non-clickable) */
    .keyword-chips-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 14px;
      flex-wrap: wrap;
    }
    .chip-lbl { font-size: 12.5px; font-weight: 700; color: var(--slate-600); }
    .kw-badge {
      background: var(--slate-100);
      border: 1px solid var(--slate-200);
      padding: 4px 10px;
      border-radius: 14px;
      font-size: 12px;
      font-weight: 600;
      color: var(--slate-600);
      cursor: default;
      user-select: none;
      pointer-events: none;
    }

    /* 💬 1줄 스마트 카카오톡 슬림 알림 바 (결과창) */
    .kakao-slim-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
      border: 1px solid #fde68a;
      border-radius: 10px;
      padding: 10px 16px;
      margin-top: 14px;
      margin-bottom: 20px;
      box-shadow: 0 1px 3px rgba(245, 158, 11, 0.08);
      transition: all 0.2s ease;
    }
    .kakao-slim-bar:hover {
      border-color: #fcd34d;
      box-shadow: 0 3px 8px rgba(245, 158, 11, 0.15);
    }
    .kakao-slim-left {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 1;
      min-width: 0;
    }
    .kakao-slim-tag {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: #fee500;
      color: #191919;
      font-size: 11px;
      font-weight: 800;
      padding: 3px 8px;
      border-radius: 6px;
      flex-shrink: 0;
      letter-spacing: -0.2px;
    }
    .kakao-slim-text {
      font-size: 13px;
      color: #78350f;
      font-weight: 600;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .kakao-slim-text strong {
      color: #92400e;
      font-weight: 800;
    }
    .kakao-slim-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #191919;
      color: #fee500;
      font-size: 12px;
      font-weight: 800;
      padding: 7px 13px;
      border-radius: 8px;
      text-decoration: none;
      white-space: nowrap;
      flex-shrink: 0;
      transition: all 0.15s ease;
    }
    .kakao-slim-btn:hover {
      background: #000000;
      color: #ffffff;
      transform: translateX(2px);
    }

    /* 💬 정밀 진단 폼 내 카카오 알림 옵트인 체크박스 */
    .apply-kakao-optin {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: 12px 14px;
      margin-top: 10px;
      margin-bottom: 16px;
      transition: all 0.15s ease;
    }
    .apply-kakao-optin:hover {
      background: #fffbeb;
      border-color: #fde68a;
    }
    .kakao-check-label {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      cursor: pointer;
      user-select: none;
    }
    .kakao-check-label input[type="checkbox"] {
      width: 17px;
      height: 17px;
      accent-color: #f59e0b;
      margin-top: 2px;
      cursor: pointer;
      flex-shrink: 0;
    }
    .kakao-check-text {
      font-size: 13px;
      color: #1e293b;
      line-height: 1.45;
    }
    .kakao-check-sub {
      display: block;
      font-size: 11.5px;
      color: #64748b;
      margin-top: 2px;
      font-weight: 500;
    }

    /* 🌟 상단 내 매장 순위(좌 50%) + 네이버 월간 검색량(우 50%) 듀얼 그리드 */
    .top-diag-dual-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      margin-top: 20px;
      margin-bottom: 20px;
      align-items: stretch;
    }
    .top-diag-dual-grid.single-col {
      grid-template-columns: 1fr;
    }

    /* 📊 네이버 광고 공식 월간 검색량 전광판 카드 */
    .keyword-power-card {
      background: #ffffff;
      border-radius: var(--radius-lg);
      padding: 22px 24px;
      color: var(--slate-800);
      border: 1px solid var(--slate-200);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
    }
    .kpc-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
      padding-bottom: 12px;
      border-bottom: 1px solid #e2e8f0;
    }
    .kpc-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11.5px;
      font-weight: 800;
      color: #0369a1;
      background: #e0f2fe;
      padding: 4px 10px;
      border-radius: 20px;
      border: 1px solid #7dd3fc;
    }
    .kpc-comp-badge {
      font-size: 11px;
      font-weight: 800;
      padding: 3px 9px;
      border-radius: 12px;
      background: #fef2f2;
      color: #b91c1c;
      border: 1px solid #fecdd3;
    }
    .kpc-comp-badge.comp-high {
      background: #fef2f2;
      color: #b91c1c;
      border-color: #fecdd3;
    }
    .kpc-comp-badge.comp-mid {
      background: #fffbeb;
      color: #b45309;
      border-color: #fde68a;
    }
    .kpc-comp-badge.comp-low {
      background: #f0fdf4;
      color: #15803d;
      border-color: #bbf7d0;
    }
    .kpc-body {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 16px;
      align-items: center;
      padding: 14px 0;
      flex: 1;
    }
    .kpc-stat-lbl {
      font-size: 12px;
      color: #64748b;
      font-weight: 600;
      margin-bottom: 4px;
    }
    .kpc-stat-val {
      font-size: 32px;
      font-weight: 900;
      color: #0284c7;
      letter-spacing: -0.5px;
      display: flex;
      align-items: baseline;
      gap: 4px;
    }
    .kpc-stat-val span#kpcTotalCount {
      color: #0284c7;
    }
    .kpc-unit {
      font-size: 15px;
      color: #64748b;
      font-weight: 700;
    }
    .kpc-sub-stats {
      display: flex;
      gap: 8px;
    }
    .kpc-sub-item {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: 8px 12px;
      min-width: 95px;
      text-align: right;
      box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    }
    .kpc-sub-lbl {
      display: block;
      font-size: 10.5px;
      color: #64748b;
      font-weight: 600;
      margin-bottom: 1px;
    }
    .kpc-sub-val {
      display: block;
      font-size: 14px;
      font-weight: 800;
      color: #1e293b;
    }
    .kpc-sub-ratio {
      display: block;
      font-size: 10.5px;
      font-weight: 700;
      color: #0284c7;
      margin-top: 1px;
    }
    .kpc-footer {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 11.5px;
      color: #475569;
      background: #f8fafc;
      padding: 8px 12px;
      border-radius: 8px;
      border: 1px solid #e2e8f0;
      line-height: 1.4;
    }

    /* 🩺 1위 vs 내 매장 5대 정량 지표 비교 대시보드 */
    .gap-dashboard-box {
      background: #ffffff;
      border: 1.5px solid #e0e7ff;
      border-radius: 12px;
      padding: 14px;
      margin-top: 10px;
    }
    .gap-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
    }
    .gap-title {
      font-size: 12.5px;
      font-weight: 800;
      color: #3730a3;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .gap-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
      gap: 8px;
    }
    .gap-item {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 9px 8px;
      text-align: center;
    }
    .gap-item.deficit {
      background: #fff1f2;
      border-color: #fecdd3;
    }
    .gap-item.optimal {
      background: #f0fdf4;
      border-color: #bbf7d0;
    }
    .gap-item-lbl {
      font-size: 11px;
      font-weight: 700;
      color: #64748b;
      margin-bottom: 4px;
    }
    .gap-item-vals {
      font-size: 11.5px;
      font-weight: 700;
      color: #1e293b;
      line-height: 1.35;
    }
    .gap-item-diff {
      display: inline-block;
      font-size: 10.5px;
      font-weight: 800;
      padding: 1px 6px;
      border-radius: 6px;
      margin-top: 4px;
    }
    .gap-item-diff.diff-deficit {
      background: #ffe4e6;
      color: #e11d48;
    }
    .gap-item-diff.diff-optimal {
      background: #dcfce7;
      color: #16a34a;
    }

    /* 📌 순위표 저장수 태그 */
    .save-tag {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: #fef3c7;
      color: #92400e;
      font-size: 12px;
      font-weight: 800;
      padding: 3px 8px;
      border-radius: 6px;
      border: 1px solid #fde68a;
    }

    @media (max-width: 768px) {
      .kakao-slim-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
      }
      .kakao-slim-left {
        width: 100%;
      }
      .kakao-slim-text {
        white-space: normal;
      }
      .kakao-slim-btn {
        width: 100%;
        justify-content: center;
      }
      .top-diag-dual-grid {
        grid-template-columns: 1fr;
        gap: 14px;
      }
      .kpc-body {
        grid-template-columns: 1fr;
        gap: 14px;
      }
      .kpc-sub-stats {
        width: 100%;
      }
      .kpc-sub-item {
        flex: 1;
      }
      .kpc-stat-val {
        font-size: 26px;
      }
    }

    /* Loading Spinner */
    .loading-container {
      display: none;
      text-align: center;
      padding: 48px 20px;
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: var(--radius-lg);
      margin-bottom: 24px;
    }
    .spinner-icon {
      font-size: 36px;
      color: var(--primary);
      animation: spin 1s linear infinite;
      margin-bottom: 14px;
    }
    @keyframes spin { 100% { transform: rotate(360deg); } }
    .loading-txt { font-size: 15px; font-weight: 700; color: var(--slate-800); margin-bottom: 6px; }
    .loading-sub { font-size: 13px; color: var(--slate-500); }

    /* Diagnosis Banner Card (Target Place Found) */
    .diagnosis-card {
      display: none;
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: var(--radius-lg);
      padding: 22px 24px;
      box-shadow: var(--shadow-sm);
      margin-bottom: 24px;
      position: relative;
      overflow: hidden;
    }
    .diagnosis-card.top1 { border-color: var(--slate-300); background: #ffffff; }
    .diag-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 16px;
    }
    .diag-rank-badge {
      font-size: 26px;
      font-weight: 900;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .diag-rank-badge.gold { color: #d97706; }
    .diag-status-pill {
      font-size: 12px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 20px;
    }
    .pill-optimal { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
    .pill-warn { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
    .pill-danger { background: #fef2f2; color: #e11d48; border: 1px solid #fecdd3; }

    .diag-details-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 14px;
      background: var(--slate-50);
      padding: 16px;
      border-radius: var(--radius-md);
      font-size: 13px;
    }
    .diag-item strong { color: var(--slate-800); display: block; margin-bottom: 2px; }
    .diag-item span { color: var(--slate-600); }

    /* Ranking Table Section */
    .ranking-card {
      display: none;
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: var(--radius-lg);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      margin-bottom: 32px;
    }
    .ranking-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px;
      flex-wrap: wrap;
      gap: 10px;
    }
    .ranking-title {
      font-size: 17px;
      font-weight: 800;
      color: var(--slate-900);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .ranking-table-wrap {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    .ranking-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      min-width: 650px;
    }
    .ranking-table th, .ranking-table td {
      padding: 12px 14px;
      border-bottom: 1px solid var(--slate-200);
      vertical-align: middle;
    }
    .ranking-table th {
      background: var(--slate-50);
      font-weight: 700;
      color: var(--slate-700);
      font-size: 12.5px;
      white-space: nowrap;
    }
    .rank-cell {
      font-weight: 800;
      font-size: 14px;
      width: 65px;
      text-align: center;
    }
    .rank-cell.top3 { color: #d97706; }
    .firm-cell { font-weight: 700; color: var(--slate-900); text-align: left; }
    .firm-cell a { color: inherit; text-decoration: none; }
    .firm-cell a:hover { color: var(--primary); text-decoration: underline; }
    .firm-category {
      display: inline-block;
      font-size: 11px;
      color: var(--slate-500);
      background: var(--slate-100);
      padding: 1px 6px;
      border-radius: 4px;
      margin-left: 6px;
      font-weight: 500;
    }
    .metric-val {
      font-weight: 700;
      color: #334155;
      font-size: 13px;
      text-align: center;
    }
    .save-val {
      font-weight: 800;
      color: var(--primary);
      font-size: 13px;
      text-align: center;
    }
    .booking-tag {
      font-size: 11px;
      padding: 3px 8px;
      border-radius: 4px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    .booking-on { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
    .booking-off { background: var(--slate-100); color: var(--slate-400); }
    .coupon-tag {
      font-size: 11px;
      padding: 3px 8px;
      border-radius: 4px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    .coupon-on { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
    .coupon-off { background: var(--slate-100); color: var(--slate-400); }

    /* Highlight matched row */
    .row-highlight {
      background: #eff6ff !important;
      border-left: 4px solid var(--primary);
    }
    .row-highlight td { font-weight: 700; }

    /* 📱 Mobile Optimized Card List (화면 폭 640px 이하 모바일 전용 뷰) */
    .ranking-mobile-list {
      display: none;
    }

    @media (max-width: 640px) {
      .ranking-table-wrap {
        display: none !important;
      }
      .ranking-mobile-list {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        width: 100%;
      }
      .rm-card {
        background: #ffffff;
        border: 1px solid var(--slate-200);
        border-radius: var(--radius-md);
        padding: 12px 14px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        transition: all 0.15s ease;
      }
      .rm-card.rm-highlight {
        border: 2px solid #2563eb;
        background: #f8faff;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
      }
      .rm-card-top {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
      }
      .rm-rank-badge {
        font-size: 13px;
        font-weight: 900;
        color: var(--slate-700);
        min-width: 48px;
        text-align: center;
        background: var(--slate-100);
        padding: 3px 8px;
        border-radius: 8px;
        flex-shrink: 0;
      }
      .rm-rank-badge.top3 {
        color: #b45309;
        background: #fef3c7;
        border: 1px solid #fde68a;
      }
      .rm-name-wrap {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 6px;
      }
      .rm-store-name {
        font-size: 14.5px;
        font-weight: 800;
        color: var(--slate-900);
        text-decoration: none;
        word-break: keep-all;
      }
      .rm-store-name:hover {
        color: var(--primary);
        text-decoration: underline;
      }
      .rm-category {
        font-size: 11px;
        color: var(--slate-500);
        background: var(--slate-100);
        padding: 1px 6px;
        border-radius: 4px;
        font-weight: 500;
      }
      .rm-my-tag {
        font-size: 10.5px;
        background: #2563eb;
        color: #ffffff;
        padding: 1.5px 7px;
        border-radius: 10px;
        font-weight: 800;
      }
      .rm-card-metrics {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        background: #f8fafc;
        padding: 8px 10px;
        border-radius: 8px;
        border: 1px solid #f1f5f9;
      }
      .rm-metric-chip {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 2px;
      }
      .rm-chip-lbl {
        font-size: 10px;
        color: var(--slate-500);
        font-weight: 600;
      }
      .rm-chip-val {
        font-size: 12px;
        color: var(--slate-800);
        font-weight: 800;
      }
      .rm-tag-on {
        font-size: 11px;
        color: #059669;
        font-weight: 800;
      }
      .rm-tag-off {
        font-size: 11px;
        color: var(--slate-400);
        font-weight: 600;
      }
      .rm-tag-coupon {
        font-size: 11px;
        color: #d97706;
        font-weight: 800;
      }
    }


    /* SEO Deep Article & FAQ */
    .seo-guide-section {
      margin-top: 48px;
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: var(--radius-lg);
      padding: 36px;
    }
    .seo-guide-section h2 {
      font-size: 20px;
      font-weight: 800;
      color: var(--slate-900);
      margin-bottom: 14px;
      border-bottom: 2px solid var(--slate-100);
      padding-bottom: 10px;
    }
    .seo-guide-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }
    .seo-guide-table th, .seo-guide-table td {
      border: 1px solid var(--slate-200);
      padding: 11px 14px;
      text-align: left;
    }
    .seo-guide-table th { background: var(--slate-50); font-weight: 700; color: var(--slate-800); }
    .seo-guide-section p { font-size: 14px; color: var(--slate-600); margin-bottom: 16px; line-height: 1.7; }

    .faq-list {
      margin-top: 20px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .faq-item {
      border: 1px solid var(--slate-200);
      border-radius: var(--radius-sm);
      padding: 14px 18px;
      background: #ffffff;
    }
    .faq-q {
      font-weight: 700;
      font-size: 14px;
      color: var(--slate-900);
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .faq-a {
      font-size: 13px;
      color: var(--slate-600);
      line-height: 1.6;
    }

    /* Toast */
    .toast-box {
      position: fixed;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%) translateY(100px);
      background: rgba(15, 23, 42, 0.95);
      backdrop-filter: blur(8px);
      color: #ffffff;
      padding: 12px 24px;
      border-radius: 30px;
      font-size: 13.5px;
      font-weight: 700;
      box-shadow: 0 10px 25px rgba(0,0,0,0.3);
      z-index: 2000;
      display: flex;
      align-items: center;
      gap: 10px;
      opacity: 0;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      pointer-events: none;
    }
    .toast-box.show {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
    }

    /* Footer */
    footer {
      text-align: center;
      padding: 40px 20px 48px 20px;
      color: var(--slate-500);
      font-size: 12px;
      border-top: 1px solid var(--slate-200);
      background: #ffffff;
      margin-top: 60px;
    }
    footer a { color: var(--slate-700); text-decoration: none; font-weight: 600; }

    /* 🌟 올인원 맞춤형 솔루션 카드 */
    .all-in-one-solution-card {
      display: none;
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: var(--radius-lg);
      padding: 28px 24px;
      margin-top: 24px;
      margin-bottom: 32px;
      box-shadow: var(--shadow-sm);
      color: var(--slate-800);
      position: relative;
    }
    .all-in-one-solution-card::before {
      display: none;
    }
    .aio-header {
      margin-bottom: 20px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--slate-100);
    }
    .aio-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #eff6ff;
      color: #1d4ed8;
      border: 1px solid #bfdbfe;
      font-size: 11.5px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 999px;
      margin-bottom: 10px;
      box-shadow: none;
    }
    .aio-title {
      font-size: 20px;
      font-weight: 800;
      color: #0f172a;
      letter-spacing: -0.3px;
      margin-bottom: 6px;
    }
    .aio-subtitle {
      font-size: 13.5px;
      color: #475569;
      line-height: 1.5;
    }

    /* 통합 카드 내 gap-dashboard (순백색 고대비 플랫 카드) */
    .aio-gap-box {
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: 12px;
      padding: 18px;
      margin-bottom: 20px;
      box-shadow: none;
    }
    .aio-gap-box .gap-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      flex-wrap: wrap;
      gap: 8px;
    }
    .aio-gap-box .gap-title {
      font-size: 13.5px;
      font-weight: 700;
      color: #0f172a;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .aio-gap-box .gap-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
      gap: 10px;
    }
    .aio-gap-box .gap-item {
      background: #ffffff;
      border: 1px solid var(--slate-200);
      border-radius: 10px;
      padding: 12px 10px;
      text-align: center;
    }
    .aio-gap-box .gap-item.deficit {
      background: #ffffff;
      border-color: #e2e8f0;
    }
    .aio-gap-box .gap-item.optimal {
      background: #ffffff;
      border-color: #e2e8f0;
    }
    .aio-gap-box .gap-item-lbl {
      font-size: 11px;
      font-weight: 700;
      color: #64748b;
      margin-bottom: 4px;
    }
    .aio-gap-box .gap-item-vals {
      font-size: 12px;
      font-weight: 600;
      color: #1e293b;
      line-height: 1.4;
    }
    .aio-gap-box .gap-item-diff {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 6px;
      margin-top: 6px;
    }
    .aio-gap-box .gap-item-diff.diff-deficit {
      background: #f1f5f9;
      color: #334155;
    }
    .aio-gap-box .gap-item-diff.diff-optimal {
      background: #ecfdf5;
      color: #059669;
    }
    .aio-gap-box .gap-item.unmeasured {
      background: #f8fafc;
      border-color: #cbd5e1;
    }
    .aio-gap-box .gap-item-diff.diff-unmeasured {
      background: #f1f5f9;
      color: #64748b;
    }

    /* 통합 카드 내 신청 폼 (순백색 고대비 플랫 카드) */
    .aio-form-section {
      background: #ffffff;
      border: 1.5px solid #bfdbfe;
      border-radius: 16px;
      padding: 24px;
      box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
    }
    .aio-form-title {
      font-size: 17.5px;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .aio-form-desc {
      font-size: 13.5px;
      color: #475569;
      line-height: 1.55;
      margin-bottom: 20px;
    }
    .aio-form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 14px;
      margin-bottom: 16px;
    }
    .aio-field label {
      display: block;
      font-size: 12px;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 5px;
    }
    .aio-field input {
      width: 100%;
      height: 46px;
      background: #ffffff;
      border: 1.5px solid #cbd5e1;
      border-radius: var(--radius-sm);
      padding: 0 14px;
      font-size: 13.5px;
      color: #0f172a;
      transition: all 0.2s;
    }
    .aio-field input:focus {
      outline: none;
      border-color: #2563eb;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    }
    .aio-field input::placeholder {
      color: #94a3b8;
    }
    .aio-btn-submit {
      width: 100%;
      height: 52px;
      background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
      color: #ffffff;
      border: none;
      border-radius: var(--radius-sm);
      font-size: 15px;
      font-weight: 800;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s;
      box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    }
    .aio-btn-submit:hover {
      background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
      transform: translateY(-1px);
      box-shadow: 0 6px 22px rgba(37, 99, 235, 0.45);
    }