/* YTB-0085 Excel to PDF Converter — scoped styles */
.ytb-e2p-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 16px 60px; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #1f2937; }

.ytb-e2p-breadcrumb { font-size: 13px; color: #6b7280; margin-bottom: 18px; }
.ytb-e2p-breadcrumb a { color: #1976D2; text-decoration: none; }
.ytb-e2p-breadcrumb a:hover { text-decoration: underline; }

.ytb-e2p-header { text-align: center; margin-bottom: 28px; }
.ytb-e2p-header h1 { font-size: 30px; margin: 0 0 8px; color: #111827; }
.ytb-e2p-header p { font-size: 16px; color: #4b5563; max-width: 640px; margin: 0 auto; }

.ytb-e2p-layout { display: grid; grid-template-columns: 1fr 220px; gap: 28px; align-items: start; }
@media (max-width: 860px) { .ytb-e2p-layout { grid-template-columns: 1fr; } }

/* Card */
.ytb-e2p-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin-bottom: 24px; }
.ytb-e2p-card-header { background: #1976D2; color: #fff; padding: 16px 22px; font-size: 17px; font-weight: 600; }
.ytb-e2p-card-body { padding: 24px; }

/* Dropzone */
.ytb-e2p-dropzone { border: 2px dashed #93c5fd; border-radius: 12px; padding: 40px 20px; text-align: center; background: #f0f7ff; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.ytb-e2p-dropzone.ytb-e2p-drag { background: #dbeafe; border-color: #1976D2; }
.ytb-e2p-dropzone-icon { font-size: 40px; margin-bottom: 10px; }
.ytb-e2p-dropzone p { margin: 4px 0; }
.ytb-e2p-dropzone .ytb-e2p-browse { color: #1976D2; font-weight: 600; text-decoration: underline; cursor: pointer; }
.ytb-e2p-dropzone small { color: #6b7280; }
.ytb-e2p-file-input { display: none; }

.ytb-e2p-filebar { display: flex; align-items: center; justify-content: space-between; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 16px; margin-top: 16px; }
.ytb-e2p-filebar .ytb-e2p-fname { font-weight: 600; word-break: break-all; }
.ytb-e2p-filebar .ytb-e2p-fsize { color: #6b7280; font-size: 13px; }
.ytb-e2p-remove { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 13px; font-weight: 600; }

.ytb-e2p-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
@media (max-width: 620px) { .ytb-e2p-options { grid-template-columns: 1fr; } }
.ytb-e2p-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #374151; }
.ytb-e2p-field select { width: 100%; padding: 9px 10px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; background: #fff; }

.ytb-e2p-sheetlist { margin-top: 18px; }
.ytb-e2p-sheetlist label { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; }

.ytb-e2p-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.ytb-e2p-btn { border: none; border-radius: 10px; padding: 13px 26px; font-size: 15px; font-weight: 700; cursor: pointer; }
.ytb-e2p-btn-primary { background: #16a34a; color: #fff; }
.ytb-e2p-btn-primary:hover { background: #15803d; }
.ytb-e2p-btn-primary:disabled { background: #9ca3af; cursor: not-allowed; }
.ytb-e2p-btn-ghost { background: #fff; color: #1976D2; border: 1px solid #1976D2; }

.ytb-e2p-status { margin-top: 14px; font-size: 14px; }
.ytb-e2p-status.ok { color: #15803d; }
.ytb-e2p-status.err { color: #b91c1c; }
.ytb-e2p-privacy-note { margin-top: 18px; font-size: 13px; color: #6b7280; background: #f9fafb; border-radius: 8px; padding: 10px 14px; }

/* Content sections */
.ytb-e2p-content h2 { font-size: 22px; color: #111827; margin: 34px 0 12px; }
.ytb-e2p-content h3 { font-size: 17px; color: #1976D2; margin: 20px 0 8px; }
.ytb-e2p-content p { line-height: 1.75; margin-bottom: 14px; color: #374151; }
.ytb-e2p-content ul, .ytb-e2p-content ol { line-height: 1.75; margin: 0 0 16px 22px; color: #374151; }
.ytb-e2p-content li { margin-bottom: 6px; }
.ytb-e2p-table-note { background: #fffbeb; border-left: 4px solid #f59e0b; padding: 12px 16px; border-radius: 6px; margin: 16px 0; font-size: 14px; }

/* FAQ */
.ytb-e2p-faq-item { border-bottom: 1px solid #e5e7eb; }
.ytb-e2p-faq-q { width: 100%; text-align: left; background: none; border: none; padding: 16px 4px; font-size: 15.5px; font-weight: 600; color: #111827; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.ytb-e2p-faq-q .ytb-e2p-plus { font-size: 20px; color: #1976D2; transition: transform 0.15s; }
.ytb-e2p-faq-item.open .ytb-e2p-plus { transform: rotate(45deg); }
.ytb-e2p-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; font-size: 14.5px; color: #4b5563; line-height: 1.7; }
.ytb-e2p-faq-a p { padding: 0 4px 16px; }

/* Sidebar */
.ytb-e2p-sidebar-box { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px; }
.ytb-e2p-sidebar-box h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: #6b7280; margin: 0 0 12px; }
.ytb-e2p-sidebar-box a { display: block; padding: 9px 0; font-size: 14px; color: #1f2937; text-decoration: none; border-bottom: 1px solid #f3f4f6; }
.ytb-e2p-sidebar-box a:last-child { border-bottom: none; }
.ytb-e2p-sidebar-box a:hover { color: #1976D2; }
