/* Generador de Nombres y Trazos PDF v4.0: Hero degradado índigo-cian, vista previa arriba en móvil y cero desbordes. */
.dpdf-nt-wrap { max-width: 1320px; margin: 0 auto; padding: 14px 4% 60px; color: #0f172a; box-sizing: border-box; font-family: 'Quicksand', sans-serif; }
.dpdf-nt-hero {
	position: relative; overflow: hidden; border-radius: 26px; padding: 32px 30px 28px; margin-bottom: 38px; color: #fff;
	background: radial-gradient(circle at 86% 14%, #6366F1 0%, #0284C7 44%, #0369A1 76%, #0F172A 100%);
	box-shadow: 0 24px 58px -24px rgba(30,58,138,.48); box-sizing: border-box;
}
.dpdf-nt-rings { position: absolute; right: -20px; top: -16px; width: 380px; color: #fff; opacity: .18; pointer-events: none; }
.dpdf-nt-head { position: relative; z-index: 3; text-align: center; max-width: 820px; margin: 0 auto 22px; }
.dpdf-nt-badge { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.32); padding: 6px 14px; border-radius: 99px; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; backdrop-filter: blur(6px); }
.dpdf-nt-head h1 { color: #fff !important; font-size: clamp(1.85rem, 3.4vw, 2.85rem); margin: 0 0 10px; line-height: 1.1; text-shadow: 0 4px 16px rgba(15,23,42,.22); }
.dpdf-nt-head p { font-size: 1.02rem; color: rgba(255,255,255,.92); margin: 0; line-height: 1.55; font-weight: 600; }
.dpdf-nt-chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.dpdf-nt-chips button { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.36); color: #fff; border-radius: 99px; padding: 6px 14px; font-weight: 900; font-size: .82rem; cursor: pointer; transition: transform .14s, background .15s; }
.dpdf-nt-chips button:hover { background: #fff; color: #0369a1; transform: translateY(-2px); }

.dpdf-nt-studio {
	position: relative; z-index: 3; width: 100%; box-sizing: border-box; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 350px) minmax(0, 1fr); gap: 24px; align-items: start;
	background: #ffffff; background-image: radial-gradient(#cbe3f5 1.2px, transparent 1.2px); background-size: 20px 20px;
	border: 2px solid rgba(255,255,255,.55); border-radius: 22px; padding: 24px; color: #0f172a;
	box-shadow: 0 24px 54px -18px rgba(15,23,42,.42);
}
.dpdf-nt-controls { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1.5px solid #e1eff8; border-radius: 18px; padding: 18px; box-shadow: 0 10px 24px rgba(15,23,42,.04); min-width: 0; box-sizing: border-box; }
.dpdf-nt-field { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: .84rem; color: #334155; min-width: 0; }
.dpdf-nt-field input, .dpdf-nt-field select { width: 100%; box-sizing: border-box; min-width: 0; padding: 10px 12px; border: 2px solid #e2e8f0; border-radius: 12px; font-size: .95rem; font-weight: 800; color: #0f172a; outline: none; background: #fff; }
.dpdf-nt-field input:focus, .dpdf-nt-field select:focus { border-color: #00aef0; }
.dpdf-nt-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.dpdf-nt-pills button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 12px; border: 2px solid #e2e8f0; background: #f8fafc; color: #334155; font-weight: 800; font-size: .82rem; cursor: pointer; transition: all .15s; text-align: left; }
.dpdf-nt-pills button.is-on { border-color: #00aef0; background: #e0f2fe; color: #0369a1; }
.dpdf-nt-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.dpdf-nt-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.dpdf-nt-btn-main { width: 100%; justify-content: center; background: #ff9800; color: #fff; border: none; border-radius: 99px; padding: 12px 18px; font-weight: 900; font-size: .96rem; cursor: pointer; }
.dpdf-nt-btn-sec { width: 100%; justify-content: center; background: #0f172a; color: #fff; border: none; border-radius: 99px; padding: 10px 14px; font-weight: 800; font-size: .88rem; cursor: pointer; }
.dpdf-nt-btn-add { width: 100%; justify-content: center; background: #f0f9ff; color: #0369a1; border: 2px solid #7dd3fc; border-radius: 99px; padding: 9px 14px; font-weight: 800; font-size: .88rem; cursor: pointer; }
.dpdf-nt-preview-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-width: 0; width: 100%; }
.dpdf-nt-sheet { width: 100%; max-width: 760px; background: #fff; border-radius: 14px; box-shadow: 0 20px 44px rgba(15,23,42,.14); border: 1.5px solid #cbd5e1; overflow: hidden; }
.dpdf-nt-sheet svg { width: 100%; height: auto; display: block; }
.dpdf-nt-faq { margin: 10px 0 36px; }
.dpdf-nt-faq h2 { text-align: center; font-size: 1.7rem; font-weight: 900; margin: 0 0 22px; }
.dpdf-nt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.dpdf-nt-cards article { background: #fff; border: 2px solid #e1eff8; border-radius: 18px; padding: 22px; }
.dpdf-nt-cards h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.dpdf-nt-cards p { margin: 0; font-size: .95rem; color: #475569; line-height: 1.6; font-weight: 600; }

@media (max-width: 960px) {
	.dpdf-nt-wrap { padding: 10px 10px 50px; }
	.dpdf-nt-hero { padding: 20px 12px 16px; border-radius: 20px; }
	.dpdf-nt-studio { grid-template-columns: minmax(0, 1fr); padding: 14px 12px; gap: 16px; }
	.dpdf-nt-preview-wrap { order: -1; }
	.dpdf-nt-controls { padding: 14px 12px; }
}
