.ldt-widget, .ldt-page {
	--lrt-blue: #2f5fe0;
	--lrt-blue-dark: #1e46bd;
	--lrt-blue-light: #eef3ff;
	--lrt-text: #1c2536;
	--lrt-muted: #374151;
	--lrt-border: #e6e9f0;
	--lrt-bg: #f7f8fb;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	color: var(--lrt-text) !important;
	font-size: 18px;
	line-height: 1.8;
}

.ldt-page { max-width: 820px; margin: 0 auto; }
.ldt-page * { box-sizing: border-box; }
.ldt-title { font-size: 24px !important; font-weight: 700 !important; margin-bottom: 16px !important; color: var(--lrt-text) !important; line-height: 1.35 !important; }
.ldt-h2 { font-size: 24px !important; font-weight: 700 !important; margin: 38px 0 12px !important; color: var(--lrt-text) !important; line-height: 1.35 !important; }
.ldt-intro, .ldt-p {
	font-size: 19px !important;
	line-height: 1.85 !important;
	color: var(--lrt-muted) !important;
	margin-bottom: 8px !important;
	text-decoration: none !important;
}
.ldt-intro { margin-top: 34px !important; margin-bottom: 32px !important; }
.ldt-page p, .ldt-page div, .ldt-page span { text-decoration: none !important; }

.ldt-widget { max-width: 700px; margin: 0 auto 10px; }
.ldt-langbar {
	display: flex; justify-content: space-between; align-items: center;
	background: var(--lrt-bg); border: 1px solid var(--lrt-border);
	border-radius: 12px 12px 0 0; padding: 12px 16px; font-weight: 600; font-size: 14px; gap: 8px; flex-wrap: wrap;
}
.ldt-select {
	border: 1px solid var(--lrt-border); border-radius: 8px; padding: 8px 12px;
	font-size: 14px !important; font-family: inherit; background: #fff; color: var(--lrt-text) !important; font-weight: 600;
}
.ldt-swap { color: var(--lrt-blue); cursor: pointer; font-size: 20px; padding: 4px 10px; border-radius: 8px; }
.ldt-swap:hover { background: var(--lrt-blue-light); }
.ldt-panes {
	display: grid; grid-template-columns: 1fr 1fr;
	border: 1px solid var(--lrt-border); border-top: none; border-radius: 0 0 12px 12px;
}
.ldt-pane { padding: 18px; }
.ldt-pane:first-child { border-right: 1px solid var(--lrt-border); }
.ldt-input, .ldt-output {
	width: 100%; height: 190px; border: none; resize: none;
	font-size: 17px !important; font-family: inherit !important; outline: none; background: transparent; color: var(--lrt-text) !important;
}
.ldt-pane-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 13.5px !important; color: var(--lrt-muted) !important; }
.ldt-copy { cursor: pointer; }
.ldt-copy:hover { color: var(--lrt-blue); }
.ldt-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.ldt-btn { padding: 11px 22px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.ldt-btn-primary { background: var(--lrt-blue); color: #fff; }
.ldt-btn-primary:hover { background: var(--lrt-blue-dark); }
.ldt-btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.ldt-btn-outline { background: #fff; color: var(--lrt-blue); border: 1px solid var(--lrt-blue); }
.ldt-btn-outline:hover { background: var(--lrt-blue-light); }

.ldt-doc-widget {
	max-width: 700px; margin: 0 auto 10px; background: var(--lrt-bg);
	border: 1px solid var(--lrt-border); border-radius: 14px; padding: 24px;
}
.ldt-doc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 15px !important; font-weight: 600 !important; flex-wrap: wrap; color: var(--lrt-text) !important; }
.ldt-dropzone {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	border: 2px dashed var(--lrt-border); border-radius: 10px; padding: 26px; background: #fff;
	cursor: pointer; text-align: center; margin-bottom: 14px;
}
.ldt-dropzone:hover { border-color: var(--lrt-blue); }
.ldt-dropzone-text { font-size: 15px !important; color: var(--lrt-muted) !important; font-weight: 600; }
.ldt-filename { font-size: 13px !important; color: var(--lrt-blue) !important; font-weight: 600; display: block; margin-top: 4px; }
.ldt-doc-input, .ldt-doc-output {
	width: 100%; min-height: 140px; border: 1px solid var(--lrt-border); border-radius: 10px;
	padding: 14px; background: #fff; font-family: inherit; font-size: 16px !important; color: var(--lrt-text) !important; resize: vertical;
}
.ldt-doc-result-wrap { margin-top: 20px; }
.ldt-more-label { font-size: 15px !important; font-weight: 600 !important; color: var(--lrt-muted) !important; margin-bottom: 10px; display: block; }

.ldt-faq { margin-top: 14px; }
.ldt-faq-item { border: 1px solid var(--lrt-border); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.ldt-faq-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; cursor: pointer; font-size: 17px !important; font-weight: 600 !important; color: var(--lrt-text) !important; text-decoration: none !important; }
.ldt-faq-q:hover { color: var(--lrt-blue) !important; }
.ldt-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 20px; font-size: 16px !important; color: var(--lrt-muted) !important; line-height: 1.75 !important; }
.ldt-faq-item.open .ldt-faq-a { max-height: 300px; padding-bottom: 16px; }
.ldt-faq-item.open .ldt-chev { transform: rotate(180deg); display: inline-block; }
.ldt-chev { transition: transform .2s ease; color: var(--lrt-muted); }

@media (max-width: 700px) {
	.ldt-panes { grid-template-columns: 1fr; }
	.ldt-pane:first-child { border-right: none; border-bottom: 1px solid var(--lrt-border); }
}
