 :root {
      --primary: #3b82f6;
      --primary-dark: #2563eb;
      --success: #10b981;
      --error: #ef4444;
      --warning: #f59e0b;
      --text-dark: #1f2937;
      --text-gray: #6b7280;
      --border: #e5e7eb;
      --bg-white: #ffffff;
      --bg-light: #f9fafb;
      --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
      --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
      --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    }
    * { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
    body { font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; min-height:100vh; background:var(--bg-light); color:var(--text-dark); font-size:16px; line-height:1.5; -webkit-font-smoothing:antialiased; }
    .container { max-width:100%; margin:0; background:var(--bg-white); min-height:100vh; }
    .headerSub { padding:1.5rem 1rem; text-align:center; background:linear-gradient(135deg,var(--primary),var(--primary-dark)); color:white; box-shadow:var(--shadow-md); }
    .headerSub h1 { font-size:1.5rem; margin-bottom:.5rem; font-weight:700; }
    .headerSub p { font-size:.9rem; opacity:.95; }
    .loading-screen { padding:3rem 1.5rem; text-align:center; }
    .spinner { width:40px; height:40px; border:3px solid var(--border); border-top-color:var(--primary); border-radius:50%; animation:spin 1s linear infinite; margin:0 auto 1rem; }
    @keyframes spin { to { transform:rotate(360deg); } }
    .btn { padding:1rem 1.5rem; border:none; border-radius:12px; font-size:1rem; font-weight:600; cursor:pointer; transition:all .2s; display:inline-flex; align-items:center; justify-content:center; gap:.5rem; touch-action:manipulation; user-select:none; min-height:48px; }
    .btn-primary { background:linear-gradient(135deg,var(--primary),var(--primary-dark)); color:white; width:100%; max-width:320px; box-shadow:var(--shadow-md); }
    .btn-primary:active { transform:scale(.98); }
    .btn-secondary { background:white; color:var(--text-dark); border:2px solid var(--border); }
    .btn:disabled { opacity:.5; cursor:not-allowed; }
    .form-container { padding:1rem; }
    .section-title { font-size:1.1rem; font-weight:700; margin-bottom:1rem; padding:.75rem; background:var(--bg-light); border-radius:8px; display:flex; align-items:center; gap:.5rem; box-shadow:var(--shadow-sm); }
    .form-section { margin-bottom:2rem; }
    .form-group { display:flex; flex-direction:column; margin-bottom:1.25rem; }
    .form-label { font-weight:600; margin-bottom:.5rem; font-size:.95rem; }
    .form-input, .form-select { padding:.875rem; border:2px solid var(--border); border-radius:12px; font-size:16px; transition:all .2s; background:var(--bg-white); color:var(--text-dark); min-height:48px; width:100%; }
    .form-input:focus, .form-select:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(59,130,246,.1); }
    .form-textarea { padding:.875rem; border:2px solid var(--border); border-radius:12px; font-size:16px; transition:all .2s; background:var(--bg-white); color:var(--text-dark); width:100%; height:400px; resize:vertical; font-family:inherit; line-height:1.6; }
    .form-textarea:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(59,130,246,.1); }
    .textarea-char-count { font-size:.8rem; color:var(--text-gray); text-align:right; margin-top:.25rem; }
    .radio-group { display:flex; gap:.75rem; padding:.5rem 0; flex-wrap:wrap; }
    .radio-label { display:flex; align-items:center; gap:.5rem; cursor:pointer; font-size:1rem; padding:.75rem 1rem; background:var(--bg-light); border-radius:12px; border:2px solid var(--border); flex:1; min-width:120px; justify-content:center; transition:all .2s; }
    .radio-label:has(input:checked) { background:var(--primary); color:white; border-color:var(--primary); }
    .radio-label input[type="radio"] { width:20px; height:20px; cursor:pointer; }
    .success-banner { background:linear-gradient(135deg,var(--success),#059669); color:white; padding:1rem; border-radius:12px; margin-bottom:1rem; display:flex; align-items:center; gap:.75rem; font-weight:600; animation:slideDown .3s ease-out; }
    @keyframes slideDown { from { transform:translateY(-20px); opacity:0; } to { transform:translateY(0); opacity:1; } }
    .error-message { background:#fee2e2; border:2px solid var(--error); color:#991b1b; padding:1rem; border-radius:12px; margin-bottom:1rem; display:flex; align-items:flex-start; gap:.5rem; }
    .info-box { background:#eff6ff; border-left:4px solid var(--primary); padding:1rem; border-radius:8px; margin-bottom:1rem; font-size:.9rem; }
    .warning-box { background:#fffbeb; border-left:4px solid var(--warning); padding:1rem; border-radius:8px; margin-bottom:1rem; font-size:.9rem; }
    .saved-reports-section { background:var(--bg-light); border-radius:12px; padding:1rem; margin-bottom:1.5rem; overflow-y:auto; }
    .saved-reports-section h3 { margin-bottom:1rem; font-size:1rem; display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.5rem 0; }
    .reports-count { font-size:.85rem; color:var(--text-gray); font-weight:normal; }
    .report-card { background:var(--bg-white); border:2px solid var(--border); border-radius:12px; padding:1rem; margin-bottom:.75rem; cursor:pointer; transition:all .2s; touch-action:manipulation; }
    .report-card:active { transform:scale(.98); }
    .report-card.selected { border-color:var(--primary); background:rgba(59,130,246,.05); }
    .report-card-header { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:.5rem; gap:.5rem; }
    .report-card-title { font-weight:600; font-size:1rem; flex:1; }
    .report-card-actions { display:flex; gap:.5rem; }
    .report-action-btn { background:var(--bg-light); color:var(--text-dark); border:1px solid var(--border); padding:.25rem .5rem; border-radius:6px; font-size:.85rem; cursor:pointer; touch-action:manipulation; transition:all .2s; }
    .report-action-btn:active { transform:scale(.95); }
    .report-vcf-btn { background:#e0f2fe; color:#0369a1; border-color:#7dd3fc; }
    .report-delete-btn { background:var(--error); color:white; border-color:var(--error); }
    .report-card-info { font-size:.85rem; color:var(--text-gray); display:flex; flex-direction:column; gap:.25rem; }
    .new-report-btn { width:100%; background:linear-gradient(135deg,var(--success),#059669); color:white; border:none; padding:1rem; border-radius:12px; font-size:1rem; font-weight:600; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:.5rem; margin-top:.75rem; min-height:48px; touch-action:manipulation; }
    .new-report-btn:active { transform:scale(.98); }
    .person-card { background:#fafafa; border:2px solid var(--border); border-radius:12px; padding:1rem; margin-bottom:1rem; }
    .person-card-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:1rem; padding-bottom:.5rem; border-bottom:2px solid var(--border); }
    .person-card-title { font-weight:700; font-size:1rem; color:var(--primary); }
    .person-card-remove { background:var(--error); color:white; border:none; padding:.5rem 1rem; border-radius:8px; font-size:.85rem; font-weight:600; cursor:pointer; transition:all .2s; }
    .person-card-remove:active { transform:scale(.95); }
    .add-person-btn { width:100%; background:var(--success); color:white; border:none; padding:1rem; border-radius:12px; font-size:1rem; font-weight:600; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:.5rem; margin-bottom:1rem; transition:all .2s; touch-action:manipulation; }
    .add-person-btn:active { transform:scale(.98); }
    .add-person-btn:disabled { opacity:.5; cursor:not-allowed; }
    .quick-select-wrapper { position:relative; margin-bottom:1rem; }
    .quick-select-btn { width:100%; background:#f0f9ff; color:#0369a1; border:2px dashed #7dd3fc; padding:.875rem; border-radius:12px; font-size:.95rem; font-weight:600; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:.5rem; transition:all .2s; }
    .quick-select-btn:hover { background:#e0f2fe; border-color:#0369a1; }
    .quick-select-dropdown { position:absolute; top:100%; left:0; right:0; background:white; border:2px solid var(--primary); border-radius:12px; box-shadow:var(--shadow-lg); max-height:300px; overflow-y:auto; z-index:100; margin-top:.5rem; }
    .quick-select-item { padding:1rem; border-bottom:1px solid var(--border); cursor:pointer; transition:all .2s; }
    .quick-select-item:last-child { border-bottom:none; }
    .quick-select-item:hover { background:var(--bg-light); }
    .quick-select-item-name { font-weight:600; color:var(--text-dark); margin-bottom:.25rem; }
    .quick-select-item-details { font-size:.85rem; color:var(--text-gray); }
    .file-output-wrapper { max-width:100%; margin:2rem 0 0; padding:2rem 1rem; background:linear-gradient(135deg,#f0f9ff,#e0f2fe); border-top:4px solid var(--primary); }
    .file-output-header { text-align:center; margin-bottom:2rem; }
    .file-output-header h2 { font-size:1.75rem; color:var(--text-dark); margin-bottom:.5rem; display:flex; align-items:center; justify-content:center; gap:.5rem; }
    .file-output-header p { color:var(--text-gray); font-size:.95rem; }
    .search-box { position:relative; margin-bottom:1.5rem; }
    .search-input { width:100%; padding:1rem 1rem 1rem 3rem; font-size:16px; border:2px solid var(--border); border-radius:12px; background:white; min-height:48px; transition:all .2s; }
    .search-input:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(59,130,246,.1); }
    .search-icon { position:absolute; left:1rem; top:50%; transform:translateY(-50%); font-size:1.25rem; color:var(--text-gray); pointer-events:none; }
    .autocomplete-list { position:absolute; border:2px solid var(--primary); z-index:99; top:100%; left:0; right:0; background:white; border-radius:12px; box-shadow:var(--shadow-lg); max-height:300px; overflow-y:auto; margin-top:.5rem; }
    .autocomplete-item { padding:1rem; cursor:pointer; border-bottom:1px solid var(--border); transition:background-color .2s; touch-action:manipulation; display:flex; align-items:center; gap:.75rem; }
    .autocomplete-item:last-child { border-bottom:none; }
    .autocomplete-item:hover, .autocomplete-item.selected { background-color:var(--primary); color:white; }
    .autocomplete-item-icon { font-size:1.5rem; flex-shrink:0; }
    .autocomplete-item-text { flex:1; }
    .result-box { background:white; padding:1.5rem; border-radius:12px; border:2px solid var(--border); min-height:150px; box-shadow:var(--shadow-sm); }
    .result-success { color:var(--success); font-weight:600; margin-bottom:1rem; display:flex; align-items:center; gap:.5rem; font-size:1.1rem; }
    .result-error { color:var(--error); font-weight:600; margin-bottom:1rem; display:flex; align-items:center; gap:.5rem; }
    .result-loading { text-align:center; color:var(--text-gray); }
    .result-details { background:var(--bg-light); padding:1rem; border-radius:8px; margin-top:1rem; }
    .result-detail-item { display:flex; justify-content:space-between; padding:.5rem 0; border-bottom:1px solid var(--border); }
    .result-detail-item:last-child { border-bottom:none; }
    .result-detail-label { font-weight:600; color:var(--text-gray); }
    .result-detail-value { color:var(--text-dark); }
    details { margin-top:1rem; cursor:pointer; }
    summary { padding:.75rem; background:var(--bg-light); border-radius:8px; font-weight:600; color:var(--primary); user-select:none; }
    summary:hover { background:#e5e7eb; }
    pre { padding:1rem; overflow-x:auto; border-radius:8px; background:#1f2937; color:#f9fafb; font-size:.85rem; line-height:1.6; margin-top:.5rem; white-space:pre-wrap; word-wrap:break-word; }
    [x-cloak] { display:none !important; }

    .linked-banner {
      display: flex; align-items: center; gap: .6rem;
      background: linear-gradient(135deg, #eff6ff, #dbeafe);
      border: 2px solid #93c5fd; border-radius: 10px;
      padding: .65rem 1rem; margin-bottom: 1rem;
      font-size: .9rem; font-weight: 600; color: #1d4ed8; flex-wrap: wrap;
    }
    .linked-banner-icon { font-size: 1.1rem; }
    .unlink-btn {
      margin-left: auto; background: white; color: #dc2626;
      border: 1.5px solid #fca5a5; border-radius: 8px;
      padding: .3rem .75rem; font-size: .8rem; font-weight: 600;
      cursor: pointer; transition: all .15s; white-space: nowrap;
    }
    .unlink-btn:hover { background: #fee2e2; border-color: #ef4444; }
    .person-card.is-linked .form-input,
    .person-card.is-linked .form-select,
    .person-card.is-linked .form-textarea {
      background: #f0f9ff; border-color: #bae6fd; color: #374151;
    }
    .person-card.is-linked .radio-label:has(input:checked) { background: #3b82f6; }

    .collapsible-section { margin-bottom:1rem; border:2px solid var(--border); border-radius:14px; overflow:hidden; }
    .collapsible-header {
      width:100%; background:var(--bg-light); border:none; padding:.875rem 1rem;
      display:flex; align-items:center; gap:.6rem; cursor:pointer;
      touch-action:manipulation; user-select:none; transition:background .15s;
      font-size:1.05rem; font-weight:700; color:var(--text-dark);
    }
    .collapsible-header:hover { background:#e9eef5; }
    .collapsible-header .ch-icon { font-size:1.15rem; }
    .collapsible-header .ch-title { flex:1; text-align:left; }
    .collapsible-header .ch-badge {
      font-size:.75rem; font-weight:700; background:var(--primary); color:white;
      border-radius:999px; padding:.15rem .6rem; min-width:22px; text-align:center; display:inline-block;
    }
    .collapsible-header .ch-badge.empty { background:#d1d5db; color:#6b7280; }
    .collapsible-header .ch-chevron { font-size:.8rem; color:var(--text-gray); transition:transform .25s; flex-shrink:0; }
    .collapsible-header.is-open .ch-chevron { transform:rotate(180deg); }
    .collapsible-body { padding:1rem; border-top:2px solid var(--border); background:var(--bg-white); }
    .collapsible-body[x-show] { display:block; }

    .copy-from-applicant-bar {
      display: flex; gap: .5rem; margin-bottom: 1rem; padding: .75rem;
      background: linear-gradient(135deg, #f0fdf4, #dcfce7);
      border: 2px dashed #86efac; border-radius: 12px; flex-wrap: wrap; align-items: center;
    }
    .copy-from-applicant-label { font-size: .8rem; font-weight: 600; color: #166534; flex-shrink: 0; }
    .copy-applicant-btn {
      background: white; color: #166534; border: 1.5px solid #86efac; border-radius: 8px;
      padding: .4rem .85rem; font-size: .85rem; font-weight: 600; cursor: pointer;
      transition: all .15s; display: inline-flex; align-items: center; gap: .3rem; touch-action: manipulation;
    }
    .copy-applicant-btn:hover { background: #dcfce7; border-color: #4ade80; transform: translateY(-1px); }
    .copy-applicant-btn:active { transform: scale(.96); }

    .chips-wrapper { margin-bottom: .6rem; }
    .chips-label { font-size: .75rem; font-weight: 600; color: var(--text-gray); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .4rem; display: flex; align-items: center; gap: .35rem; }
    .chips-row { display: flex; flex-wrap: wrap; gap: .4rem; }
    .chip { display: inline-flex; align-items: center; gap: .3rem; background: #eff6ff; color: #1d4ed8; border: 1.5px solid #bfdbfe; border-radius: 999px; padding: .3rem .75rem; font-size: .8rem; font-weight: 500; cursor: pointer; transition: all .15s; white-space: nowrap; touch-action: manipulation; user-select: none; line-height: 1.4; }
    .chip:hover { background: #dbeafe; border-color: #93c5fd; transform: translateY(-1px); box-shadow: 0 2px 6px rgba(59,130,246,.2); }
    .chip:active { transform: scale(.96); background: var(--primary); color: white; border-color: var(--primary); }
    .chip-icon { font-size: .85em; opacity: .8; }
    @keyframes chipFlash { 0% { background: var(--primary); color: white; border-color: var(--primary); } 100% { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; } }
    .chip.flash { animation: chipFlash .5s ease-out forwards; }

    .badge-pdf  { display:inline-block; background:#fee2e2; color:#991b1b; border-radius:4px; padding:1px 5px; font-size:.7rem; font-weight:700; margin-left:.3rem; vertical-align:middle; }
    .badge-word { display:inline-block; background:#dbeafe; color:#1d4ed8; border-radius:4px; padding:1px 5px; font-size:.7rem; font-weight:700; margin-left:.3rem; vertical-align:middle; }

    .photo-upload-area { border: 2px dashed #93c5fd; border-radius: 12px; padding: 1.5rem 1rem; text-align: center; background: #f0f9ff; cursor: pointer; transition: all .2s; margin-bottom: 1rem; }
    .photo-upload-area:hover, .photo-upload-area.drag-over { background: #dbeafe; border-color: #3b82f6; }
    .photo-upload-icon { font-size: 2rem; margin-bottom: .5rem; }
    .photo-upload-text { color: #1d4ed8; font-weight: 600; font-size: .95rem; }
    .photo-upload-sub  { color: #6b7280; font-size: .8rem; margin-top: .25rem; }
    .photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 1rem; }
    .photo-item { position: relative; border-radius: 10px; overflow: hidden; border: 2px solid #e5e7eb; aspect-ratio: 4/3; background: #f9fafb; }
    .photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .photo-item-remove { position: absolute; top: .4rem; right: .4rem; background: rgba(239,68,68,.9); color: white; border: none; border-radius: 50%; width: 28px; height: 28px; font-size: .9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; touch-action: manipulation; transition: all .15s; }
    .photo-item-remove:hover { background: #dc2626; transform: scale(1.1); }
    .photo-item-label { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.5); color: white; font-size: .7rem; padding: .2rem .4rem; text-align: center; }
    .photo-count-badge { display: inline-flex; align-items: center; gap: .3rem; background: #dbeafe; color: #1d4ed8; border: 1.5px solid #93c5fd; border-radius: 999px; padding: .3rem .75rem; font-size: .8rem; font-weight: 600; margin-bottom: .75rem; }
    .photo-clear-btn { width: 100%; background: #fff; color: #6b7280; border: 1.5px solid #e5e7eb; padding: .6rem; border-radius: 8px; font-size: .85rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .4rem; transition: all .15s; margin-top: .5rem; }
    .photo-clear-btn:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }
    .photo-layout-toggle { display: flex; gap: .5rem; margin-bottom: .75rem; }
    .photo-layout-btn { flex: 1; padding: .5rem; border: 2px solid #e5e7eb; border-radius: 8px; background: white; font-size: .8rem; cursor: pointer; transition: all .15s; display: flex; flex-direction: column; align-items: center; gap: .2rem; font-weight: 500; }
    .photo-layout-btn.active { border-color: #3b82f6; background: #eff6ff; color: #1d4ed8; }
    .photo-layout-icon { font-size: 1.1rem; }

    /* ALT KAPAT BUTONU */
    .card-bottom-close {
      text-align: center;
      margin-top: 1.25rem;
      padding-top: 1rem;
      border-top: 2px solid var(--border);
    }
    .card-bottom-close button {
      background: var(--bg-light);
      border: 2px solid var(--border);
      border-radius: 10px;
      padding: .6rem 2.5rem;
      cursor: pointer;
      color: var(--text-gray);
      font-size: .9rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      transition: background .15s, border-color .15s;
    }
    .card-bottom-close button:hover { background: #e9eef5; border-color: #d1d5db; }
    .card-bottom-close button:active { transform: scale(.97); }

    /* OCR SCAN BAR */
    .ocr-scan-bar {
      display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
      margin-bottom: 1rem; padding: .75rem 1rem;
      background: linear-gradient(135deg, #f0fdf4, #dcfce7);
      border: 2px dashed #86efac; border-radius: 12px;
    }
    .ocr-scan-btn {
      display: inline-flex; align-items: center; gap: .45rem;
      background: white; color: #166534;
      border: 1.5px solid #4ade80; border-radius: 9px;
      padding: .55rem 1rem; font-size: .875rem; font-weight: 700;
      cursor: pointer; transition: all .18s; touch-action: manipulation;
      box-shadow: 0 1px 3px rgba(0,0,0,.07); white-space: nowrap;
    }
    .ocr-scan-btn:hover:not(:disabled) { background: #dcfce7; border-color: #22c55e; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(16,185,129,.15); }
    .ocr-scan-btn:active:not(:disabled) { transform: scale(.97); }
    .ocr-scan-btn:disabled { opacity: .55; cursor: not-allowed; }
    .ocr-scan-btn.ocr-loading { background: #eff6ff; color: #1d4ed8; border-color: #93c5fd; animation: ocrPulse 1.2s ease-in-out infinite; }
    @keyframes ocrPulse { 0%,100% { opacity: 1; } 50% { opacity: .65; } }
    .ocr-scan-label { font-size: .78rem; color: #166534; font-weight: 500; flex: 1; }
    .ocr-badge-success {
      display: inline-flex; align-items: center; gap: .3rem;
      background: #dcfce7; color: #166534; border: 1.5px solid #4ade80;
      border-radius: 8px; padding: .3rem .75rem; font-size: .8rem; font-weight: 600;
      animation: ocrBadgeIn .3s ease-out;
    }
    .ocr-badge-error {
      display: inline-flex; align-items: center; gap: .3rem;
      background: #fee2e2; color: #991b1b; border: 1.5px solid #fca5a5;
      border-radius: 8px; padding: .3rem .75rem; font-size: .8rem; font-weight: 600; flex: 1;
    }
    @keyframes ocrBadgeIn { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

    /* YAKINLARı SECTION */
    .yakin-card {
      background: #fdf4ff;
      border: 2px solid #e9d5ff;
      border-radius: 12px;
      padding: 1rem;
      margin-bottom: 1rem;
    }
    .yakin-card .person-card-title { color: #7c3aed; }

    @media (max-width:375px) { .headerSub h1 { font-size:1.25rem; } .form-input, .form-select { font-size:16px; padding:.75rem; } .btn { padding:.875rem 1.25rem; } }
    @media (min-width:640px) { .container { max-width:1240px; margin:0 auto; } .form-container { padding:2rem; } .headerSub { padding:2rem; } .headerSub h1 { font-size:2rem; } .file-output-wrapper { max-width:640px; margin:2rem auto 0; padding:2rem; border-radius:12px; } }
    .photo-item-selected {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  transform: scale(.96);
  transition: transform .15s ease;
}

.var-badge{font-size:.65rem;color:#9ca3af;font-weight:400;background:#f3f4f6;border:1px solid #e5e7eb;padding:.05rem .38rem;border-radius:3px;font-family:monospace;margin-left:.35rem;vertical-align:middle;cursor:grab;user-select:text;transition:background .15s ease,border-color .15s ease,color .15s ease;}
.var-badge::selection{background:var(--primary);color:#fff;}
  .var-badge:hover{background:#e5e7eb;border-color:#d1d5db;color:#4b5563;}
  .var-badge:active{cursor:grabbing;}
  .var-badge.copied{background:#dcfce7;border-color:#86efac;color:#166534;}

  .sheet-info--word {
  background: #f0f9ff;
  border-color: #0ea5e9;
}
.word-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: .5rem;
  flex-wrap: wrap;
}
.word-code-title { color: #0ea5e9; margin: 0; }
.copy-code-btn { padding: 8px 16px; font-size: .85rem; }
.word-code-desc { margin-bottom: 10px; font-size: 13px; color: var(--text-gray); }
.word-code-block {
  background: #1e293b;
  color: #e2e8f0;
  padding: 15px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.5;
  max-height: 240px;
  overflow-y: auto;
}
.word-sections { margin-top: 15px; }
.word-sections-title { color: #0ea5e9; margin-bottom: 10px; }
.word-sections-list { max-height: 400px; overflow-y: auto; }
.word-section-item {
  background: white;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 4px;
  border-left: 3px solid #0ea5e9;
  cursor: pointer;
}
.word-section-preview {
  margin-top: 5px;
  font-size: 13px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.paste-clipboard-btn {
  width: 100%;
  margin: -0.25rem 0 0.75rem;
  font-size: 0.85rem;
  padding: 0.5rem;
}

.cv-value-field {
  font-size: .85rem;
  width: 100%;
  box-sizing: border-box;
}
.cv-value-field.is-known-empty {
  color: #9ca3af;
}
.cv-value-textarea {
  min-height: 70px;
}