:root{
  --dt-primary:#00397E;
  --dt-primary-2:#00397E;
  --dt-primary-dark:#002f6f;
  --dt-secondary:#F47C2B;
  --dt-secondary-soft:#ff8d4d;
  --dt-white:#ffffff;
  --dt-bg:#f7f9fc;
  --dt-text:#243041;
  --dt-muted:#6b7280;
  --dt-border:#dbe4f0;
  --dt-success:#1f9d55;
  --dt-whatsapp:#25D366;
  --dt-warning:#b7791f;
  --dt-danger:#d92d20;
  --dt-panel:#0b1a2b;
  --dt-shadow:0 8px 20px rgba(0,0,0,.08);
  --dt-shadow-soft:0 2px 5px rgba(0,0,0,.1);
  --dt-radius:12px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
html,body{ margin:0; padding:0; }
img,svg,video,canvas,iframe{ max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; }

body.dt-body{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color:var(--dt-text);
  font-size:.9rem;
  overflow-x:hidden;
}

body.dt-app-mode{
  background:
    radial-gradient(circle at top, rgba(0,51,102,.14), transparent 42%),
    linear-gradient(180deg, #eef4ff 0%, #f7f9fc 40%, #f7f9fc 100%);
  min-height:100vh;
}

.dt-app-shell{
  width:100%;
  min-height:100vh;
  max-width:1180px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(10px);
}

/* Header y footer alineados al criterio del sitio principal */
.dt-site-header,
.dt-site-footer{
  background:var(--dt-primary);
  color:#fff;
  box-shadow:0 6px 20px rgba(0,0,0,.16);
}

.dt-site-header{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:72px;
  padding:.55rem 1rem;
}

.dt-header-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  color:#fff;
  text-decoration:none;
}

.dt-header-logo{
  width:54px;
  height:54px;
  min-width:54px;
  max-width:54px;
  border-radius:0;
  display:block;
  flex:0 0 54px;
  overflow:hidden;
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0;
  line-height:0;
  position:relative;
}

.dt-header-logo img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  min-width:0;
  min-height:0;
  display:block;
  object-fit:contain;
  object-position:center;
  margin:0;
  padding:0;
  transform:none;
  transform-origin:center center;
}

.dt-header-logo span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(135deg, var(--dt-primary-2), var(--dt-secondary));
  color:#fff;
  font-weight:800;
}

.dt-header-copy{ min-width:0; display:flex; flex-direction:column; justify-content:center; }
.dt-header-copy strong{ color:#fff; font-size:1rem; line-height:1.1; }
.dt-header-copy small{ color:rgba(232,243,255,.88); font-size:.82rem; margin-top:2px; }
.dt-header-actions{ display:flex; align-items:center; gap:10px; flex:0 0 auto; }

.dt-header-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(130% 160% at 100% 0%, rgba(244,124,43,.35), rgba(244,124,43,0) 42%),
    rgba(255,255,255,.07);
  color:#e8f3ff;
  font-weight:700;
  box-shadow:inset 0 8px 22px rgba(0,0,0,.18);
  transition:transform .12s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}
.dt-header-link:hover{ transform:translateY(-1px); border-color:rgba(255,255,255,.32); color:#fff; }

.dt-header-link-icon{
  gap:8px;
}

.dt-header-link-icon .dt-icon{
  width:1.05em;
  height:1.05em;
}

.dt-app-content{
  flex:1;
  padding:20px;
}

.dt-app-screen{ width:100%; }

.dt-app-hero-card,
.dt-auth-card,
.dt-card{
  background:#fff;
  border:1px solid rgba(219,228,240,.9);
  border-radius:24px;
  padding:28px;
  box-shadow:0 20px 40px rgba(0,51,102,.08), 0 4px 10px rgba(0,0,0,.04);
  min-width:0;
}

.dt-card{
  border-radius:18px;
  padding:24px;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
}

.dt-app-hero-card{ background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88)); }
.dt-fade-in{ animation:dtFadeIn .8s ease both; }
@keyframes dtFadeIn{ from{opacity:0; transform:translateY(20px);} to{opacity:1; transform:translateY(0);} }

.dt-app-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(244,124,43,.14);
  color:var(--dt-primary);
  font-weight:800;
  font-size:.8rem;
  margin-bottom:14px;
}

.dt-app-title{
  margin:0 0 12px 0;
  color:var(--dt-primary);
  font-size:clamp(1.5rem, 3vw, 2.2rem);
  line-height:1.1;
}

.dt-app-lead{
  margin:0;
  color:#4c5a6d;
  line-height:1.55;
  font-size:.98rem;
}

.dt-app-home-actions,
.dt-contact-actions,
.dt-action-stack{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.dt-action-stack{ display:grid; gap:10px; }

.dt-layout-grid{
  display:grid;
  grid-template-columns:minmax(300px, 360px) minmax(0, 1fr);
  gap:20px;
  margin-top:22px;
  min-width:0;
}

.dt-app-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.dt-summary-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
}

.dt-detail-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

/* Titulos con linea naranja y efecto de brillo tomado del sitio principal */
.dt-section-title{
  position:relative;
  display:inline-block;
  border-left:6px solid var(--dt-secondary);
  padding-left:12px;
  color:var(--dt-primary);
  font-size:1.3rem;
  margin:0 0 14px 0;
  overflow:hidden;
  z-index:1;
}
.dt-section-title::after{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:60%;
  height:100%;
  pointer-events:none;
  background:linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.72) 45%, rgba(255,255,255,0) 100%);
  transform:skewX(-20deg);
  filter:blur(.2px);
  opacity:0;
}
.dt-card:hover .dt-section-title::after,
.dt-app-hero-card:hover .dt-section-title::after,
.dt-section-title:hover::after{
  animation:dtTitleShine 1.2s ease forwards;
  opacity:1;
}
@keyframes dtTitleShine{ 0%{ left:-120%; } 100%{ left:140%; } }

.dt-card h3,
.dt-finding h3,
.dt-contact-box h3{ color:var(--dt-primary); margin-top:0; }
.dt-muted{ color:var(--dt-muted); }
.dt-help-text,
.dt-form-note{ display:block; margin-top:12px; font-size:.78rem; color:var(--dt-muted); line-height:1.5; }

.dt-form-group{ margin-bottom:16px; }
.dt-form-group label{
  display:block;
  margin-bottom:8px;
  font-weight:700;
  color:var(--dt-primary);
}

.dt-form-group input,
.dt-form-group select,
.dt-form-group textarea{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #ccd8e7;
  background:#fff;
  font-size:.95rem;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.dt-form-group input:focus,
.dt-form-group select:focus,
.dt-form-group textarea:focus{
  border-color:var(--dt-primary);
  box-shadow:0 0 0 3px rgba(0,51,102,.12);
}

.dt-btn-primary,
.dt-btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:none;
  border-radius:10px;
  padding:12px 18px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  transition:transform .16s ease, opacity .16s ease, box-shadow .16s ease, background-color .16s ease;
  line-height:1.2;
  min-height:44px;
  text-align:center;
  white-space:normal;
}

.dt-btn-primary{ background:var(--dt-primary-2); color:#fff; }
.dt-btn-secondary{ background:var(--dt-secondary-soft); color:#fff; }
.dt-btn-primary:hover,
.dt-btn-secondary:hover{ transform:translateY(-1px); opacity:.97; box-shadow:0 8px 18px rgba(0,0,0,.12); }
.dt-full-btn{ width:100%; }
.dt-whatsapp-btn{ background:var(--dt-whatsapp) !important; color:#fff !important; }
.dt-btn-icon{ gap:8px; }

.dt-icon{
  width:1.05em;
  height:1.05em;
  display:inline-block;
  flex:0 0 auto;
  background:currentColor;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
}
.dt-icon-mail{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 3.2V17h16V8.2l-7.35 5.15a1.1 1.1 0 0 1-1.3 0L4 8.2Zm1.15-1.2L12 11.8 18.85 7H5.15Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 3.2V17h16V8.2l-7.35 5.15a1.1 1.1 0 0 1-1.3 0L4 8.2Zm1.15-1.2L12 11.8 18.85 7H5.15Z'/%3E%3C/svg%3E");
}
.dt-icon-whatsapp{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.05 4.91A9.82 9.82 0 0 0 12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.33 4.95L2.05 22l5.27-1.38a9.9 9.9 0 0 0 4.72 1.2h.01c5.46 0 9.91-4.45 9.91-9.91a9.86 9.86 0 0 0-2.91-7Zm-7 15.24h-.01a8.23 8.23 0 0 1-4.2-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.22 8.22 0 0 1-1.26-4.38c0-4.55 3.7-8.25 8.26-8.25a8.22 8.22 0 0 1 5.84 2.42 8.2 8.2 0 0 1 2.42 5.83c0 4.55-3.71 8.24-8.26 8.24Zm4.52-6.17c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.13-.16.24-.64.81-.78.98-.14.16-.29.18-.54.06-.25-.13-1.05-.39-2-1.23-.74-.66-1.24-1.47-1.38-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.12-.14.16-.25.25-.41.08-.17.04-.31-.02-.43-.06-.12-.56-1.35-.76-1.85-.2-.48-.4-.41-.56-.42h-.47c-.16 0-.43.06-.65.31-.23.25-.85.83-.85 2.02s.87 2.34.99 2.5c.12.16 1.7 2.6 4.12 3.64.58.25 1.03.4 1.38.51.58.18 1.1.15 1.52.09.46-.07 1.47-.6 1.67-1.18.21-.58.21-1.08.14-1.18-.06-.1-.22-.16-.47-.28Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.05 4.91A9.82 9.82 0 0 0 12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.33 4.95L2.05 22l5.27-1.38a9.9 9.9 0 0 0 4.72 1.2h.01c5.46 0 9.91-4.45 9.91-9.91a9.86 9.86 0 0 0-2.91-7Zm-7 15.24h-.01a8.23 8.23 0 0 1-4.2-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.22 8.22 0 0 1-1.26-4.38c0-4.55 3.7-8.25 8.26-8.25a8.22 8.22 0 0 1 5.84 2.42 8.2 8.2 0 0 1 2.42 5.83c0 4.55-3.71 8.24-8.26 8.24Zm4.52-6.17c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.13-.16.24-.64.81-.78.98-.14.16-.29.18-.54.06-.25-.13-1.05-.39-2-1.23-.74-.66-1.24-1.47-1.38-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.12-.14.16-.25.25-.41.08-.17.04-.31-.02-.43-.06-.12-.56-1.35-.76-1.85-.2-.48-.4-.41-.56-.42h-.47c-.16 0-.43.06-.65.31-.23.25-.85.83-.85 2.02s.87 2.34.99 2.5c.12.16 1.7 2.6 4.12 3.64.58.25 1.03.4 1.38.51.58.18 1.1.15 1.52.09.46-.07 1.47-.6 1.67-1.18.21-.58.21-1.08.14-1.18-.06-.1-.22-.16-.47-.28Z'/%3E%3C/svg%3E");
}

.dt-icon-report{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h10l4 4v14H5V3Zm9 1.8V8h3.2L14 4.8ZM7 5v14h10V10h-5V5H7Zm2 7h6v1.6H9V12Zm0 3h6v1.6H9V15Zm0-6h3v1.6H9V9Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h10l4 4v14H5V3Zm9 1.8V8h3.2L14 4.8ZM7 5v14h10V10h-5V5H7Zm2 7h6v1.6H9V12Zm0 3h6v1.6H9V15Zm0-6h3v1.6H9V9Z'/%3E%3C/svg%3E");
}

.dt-icon-pdf{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h10l4 4v5h-2V9h-4V5H7v14h5v2H5V3Zm10 2.8V7h1.2L15 5.8ZM13 14h2.4c1.2 0 2 .8 2 1.9s-.8 1.9-2 1.9H15V20h-2v-6Zm2 1.6v.6h.3c.2 0 .4-.1.4-.3s-.2-.3-.4-.3H15Zm3.2-1.6H21v1.6h-1v.7h.9v1.5H20V20h-1.8v-6ZM8 14h2.3c1.3 0 2.2.8 2.2 2s-.9 2-2.2 2H10v2H8v-6Zm2 1.6v.8h.3c.3 0 .5-.1.5-.4s-.2-.4-.5-.4H10Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h10l4 4v5h-2V9h-4V5H7v14h5v2H5V3Zm10 2.8V7h1.2L15 5.8ZM13 14h2.4c1.2 0 2 .8 2 1.9s-.8 1.9-2 1.9H15V20h-2v-6Zm2 1.6v.6h.3c.2 0 .4-.1.4-.3s-.2-.3-.4-.3H15Zm3.2-1.6H21v1.6h-1v.7h.9v1.5H20V20h-1.8v-6ZM8 14h2.3c1.3 0 2.2.8 2.2 2s-.9 2-2.2 2H10v2H8v-6Zm2 1.6v.8h.3c.3 0 .5-.1.5-.4s-.2-.4-.5-.4H10Z'/%3E%3C/svg%3E");
}

.dt-icon-website{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.93 9h-3.08a15.45 15.45 0 0 0-1.12-5.02A8.03 8.03 0 0 1 18.93 11ZM12 4.04c.74 1.08 1.5 3.24 1.82 6.96h-3.64C10.5 7.28 11.26 5.12 12 4.04ZM4.26 13h3.08c.18 1.9.57 3.62 1.12 5.02A8.03 8.03 0 0 1 4.26 13Zm3.08-2H4.26a8.03 8.03 0 0 1 4.2-5.02A15.45 15.45 0 0 0 7.34 11ZM12 19.96c-.74-1.08-1.5-3.24-1.82-6.96h3.64c-.32 3.72-1.08 5.88-1.82 6.96Zm2.73-1.94A15.45 15.45 0 0 0 15.85 13h3.08a8.03 8.03 0 0 1-4.2 5.02Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.93 9h-3.08a15.45 15.45 0 0 0-1.12-5.02A8.03 8.03 0 0 1 18.93 11ZM12 4.04c.74 1.08 1.5 3.24 1.82 6.96h-3.64C10.5 7.28 11.26 5.12 12 4.04ZM4.26 13h3.08c.18 1.9.57 3.62 1.12 5.02A8.03 8.03 0 0 1 4.26 13Zm3.08-2H4.26a8.03 8.03 0 0 1 4.2-5.02A15.45 15.45 0 0 0 7.34 11ZM12 19.96c-.74-1.08-1.5-3.24-1.82-6.96h3.64c-.32 3.72-1.08 5.88-1.82 6.96Zm2.73-1.94A15.45 15.45 0 0 0 15.85 13h3.08a8.03 8.03 0 0 1-4.2 5.02Z'/%3E%3C/svg%3E");
}

.dt-alert{ padding:14px 16px; border-radius:12px; margin:14px 0; font-weight:600; }
.dt-alert-danger{ background:rgba(217,45,32,.08); color:var(--dt-danger); border:1px solid rgba(217,45,32,.16); }
.dt-alert-success{ background:rgba(31,157,85,.08); color:var(--dt-success); border:1px solid rgba(31,157,85,.16); }

.dt-check-modules{ display:grid; gap:16px; }
.dt-module-item{ display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:flex-start; }
.dt-module-item p{ margin:.35rem 0 0; line-height:1.55; }

.dt-token-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(0,51,102,.08);
  color:var(--dt-primary);
  font-weight:700;
  font-size:.82rem;
  white-space:nowrap;
}

.dt-commercial-block{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.dt-contact-actions-inline{ justify-content:flex-end; }

.dt-result-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.dt-score{
  width:170px;
  min-width:170px;
  aspect-ratio:1;
  border-radius:50%;
  display:grid;
  place-items:center;
  align-content:center;
  border:12px solid var(--dt-border);
  background:#fff;
  text-align:center;
}

.dt-score span{ display:block; font-size:3rem; font-weight:900; letter-spacing:-.08em; line-height:.88; }
.dt-score small{ color:var(--dt-muted); }
.dt-score strong{ margin-top:8px; font-size:.9rem; }
.dt-score.is-low{ border-color:rgba(31,157,85,.35); color:var(--dt-success); }
.dt-score.is-medium{ border-color:rgba(183,121,31,.35); color:var(--dt-warning); }
.dt-score.is-high{ border-color:rgba(217,45,32,.32); color:var(--dt-danger); }

.dt-metrics .dt-card{ padding:18px; }
.dt-metrics span{ display:block; color:var(--dt-muted); font-size:.85rem; }
.dt-metrics strong{ display:block; margin-top:7px; font-size:1.15rem; color:#172133; }

.dt-finding-list{ display:grid; gap:12px; }
.dt-finding{
  display:grid;
  grid-template-columns:82px 1fr;
  gap:14px;
  padding:14px;
  border:1px solid var(--dt-border);
  border-radius:16px;
  background:#fff;
  min-width:0;
}
.dt-finding span{ height:fit-content; border-radius:999px; padding:6px 8px; font-size:.72rem; font-weight:900; text-align:center; }
.dt-finding h3{ margin:0 0 5px; font-size:1rem; }
.dt-finding p{ margin:0; font-size:.93rem; line-height:1.55; color:var(--dt-muted); }
.dt-sev-critico span,.dt-sev-alto span{ color:var(--dt-danger); background:#fff1f0; }
.dt-sev-medio span{ color:var(--dt-warning); background:#fff7e8; }
.dt-sev-bajo span{ color:var(--dt-primary); background:#eaf2ff; }

.dt-summary-box{
  background:#fff;
  border-left:6px solid var(--dt-secondary);
  border-right:6px solid var(--dt-primary);
  padding:16px 18px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
  margin:18px 0;
}

.dt-contact-box{ margin-top:18px; }
.dt-contact-box p{ margin:0 0 14px; color:var(--dt-muted); line-height:1.55; }

.dt-check-list{ padding-left:18px; color:var(--dt-muted); line-height:1.85; }
.dt-check-list li{ word-break:break-word; }

.dt-auth-screen{ min-height:calc(100vh - 110px); display:grid; place-items:center; padding:20px 0; }
.dt-auth-card{ width:min(520px, 100%); }

.dt-site-footer{ margin-top:auto; padding:1.5rem 1rem; }
.dt-footer-content{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
}
.dt-footer-brand{ display:flex; flex-direction:column; gap:2px; }
.dt-footer-brand strong{ letter-spacing:.2px; }
.dt-footer-brand strong span{ color:orange; }
.dt-footer-brand small,
.dt-footer-copy small{ color:rgba(255,255,255,.78); font-size:.78rem; }
.dt-footer-copy{ display:flex; flex-direction:column; gap:4px; text-align:right; color:rgba(255,255,255,.92); }

.dt-mt-16{ margin-top:16px; }
.dt-mt-24{ margin-top:24px; }

.dt-unlock-card,
.dt-locked-detail{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  border-color:rgba(244,124,43,.35);
  background:linear-gradient(135deg, #ffffff 0%, #fff8f3 100%);
}

.dt-unlock-card .dt-section-title,
.dt-locked-detail .dt-section-title{
  margin-top:0;
}

.dt-locked-detail{
  display:block;
}

@media (max-width: 991px){
  .dt-layout-grid{ grid-template-columns:1fr !important; }
  .dt-app-grid{ grid-template-columns:1fr !important; }
  .dt-summary-grid{ grid-template-columns:1fr 1fr !important; }
  .dt-detail-grid{ grid-template-columns:1fr !important; }
  .dt-result-hero{ flex-direction:column; align-items:flex-start; }
  .dt-commercial-block{ flex-direction:column; align-items:flex-start; }
  .dt-contact-actions-inline{ justify-content:flex-start; }
}

@media (max-width: 768px){
  .dt-site-header{ padding:.5rem .85rem; min-height:68px; }
  .dt-header-logo{
    width:48px;
    height:48px;
    min-width:48px;
    max-width:48px;
    flex-basis:48px;
    padding:0;
  }

  .dt-header-logo img{
      transform:none;
  }

  .dt-header-link{ min-height:40px; padding:9px 11px; font-size:.84rem; }
  .dt-app-content{ padding:14px; }
  .dt-app-hero-card,.dt-auth-card,.dt-card{ padding:20px !important; border-radius:18px; }
  .dt-app-title{ font-size:clamp(1.45rem, 8vw, 2rem); }
  .dt-footer-content{ flex-direction:column; text-align:center; }
  .dt-footer-copy{ text-align:center; }
}

.dt-result-actions-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-left:6px solid var(--dt-secondary);
}

.dt-result-actions-card .dt-section-title{
  margin-top:0;
}

.dt-result-actions-card p{
  margin:0;
  line-height:1.55;
}

.dt-result-actions-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
  min-width:280px;
}

@media (max-width: 640px){
  .dt-site-header{ align-items:center; gap:10px; }
  .dt-header-copy strong{ font-size:.95rem; }
  .dt-header-copy small{ font-size:.78rem; }
  .dt-summary-grid{ grid-template-columns:1fr !important; }
  .dt-contact-actions,.dt-app-home-actions,.dt-unlock-card,.dt-locked-detail .dt-contact-actions,.dt-result-actions-card,.dt-result-actions-buttons{ width:100%; flex-direction:column; align-items:stretch; }
  .dt-btn-primary,.dt-btn-secondary,.dt-form-group input,.dt-form-group select,.dt-form-group textarea{ width:100%; font-size:16px; }
  .dt-score{ width:150px; min-width:150px; }
  .dt-finding{ grid-template-columns:1fr; }
  .dt-module-item{ grid-template-columns:1fr; }
}

@media (max-width: 420px){
  .dt-header-actions{ display:none; }
  .dt-header-brand{ width:100%; }
}

@media print{
  body.dt-body{ background:#fff; }
  .dt-site-header,.dt-site-footer,.dt-action-stack,.dt-contact-box{ display:none !important; }
  .dt-app-shell{ width:100%; max-width:100%; padding:0; background:#fff; }
  .dt-app-content{ padding:0; }
  .dt-card,.dt-app-hero-card{ box-shadow:none; break-inside:avoid; }
}

/* --------------------------------------------------------------------------
   Logo y favicon - Check by DesignTech
   -------------------------------------------------------------------------- */
.dt-brand-mark,
.dt-app-brand-mark {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #003366 0%, #003b8b 58%, #ff8d4d 100%);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 10px 24px rgba(0, 51, 102, .18);
}

.dt-brand-mark--fallback {
    font-size: 14px;
}

.dt-brand-logo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.dt-brand-logo-horizontal {
    width: auto;
    max-width: 190px;
    max-height: 46px;
    display: block;
}

@media (max-width: 640px) {
    .dt-brand-mark,
    .dt-app-brand-mark {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 12px;
    }

    .dt-brand-logo-horizontal {
        max-width: 150px;
        max-height: 40px;
    }
}

/* --------------------------------------------------------------------------
   Reporte gratuito vs informe completo
   -------------------------------------------------------------------------- */
.dt-result-actions-card,
.dt-unlock-card,
.dt-locked-detail{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-left:6px solid var(--dt-secondary);
  border-color:rgba(244,124,43,.35);
  background:linear-gradient(135deg, #ffffff 0%, #fff8f3 100%);
}

.dt-result-actions-card .dt-section-title,
.dt-unlock-card .dt-section-title,
.dt-locked-detail .dt-section-title{
  margin-top:0;
}

.dt-result-actions-card p,
.dt-unlock-card p,
.dt-locked-detail p{
  margin:0;
  line-height:1.55;
}

.dt-result-actions-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
  min-width:280px;
}

.dt-locked-detail{
  display:block;
}

.dt-locked-note{
  margin-top:14px;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(0,51,102,.06);
  color:var(--dt-primary);
  font-weight:700;
}

.dt-technical-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.dt-tech-panel{
  border:1px solid var(--dt-border);
  border-radius:16px;
  padding:18px;
  background:#fff;
  min-width:0;
}

.dt-tech-panel h3{
  margin:0 0 14px;
  color:var(--dt-primary);
}

.dt-tech-list{
  margin:0;
  display:grid;
  gap:10px;
}

.dt-tech-list div{
  display:grid;
  grid-template-columns:minmax(120px, 180px) minmax(0, 1fr);
  gap:12px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(219,228,240,.75);
}

.dt-tech-list div:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.dt-tech-list dt{
  font-weight:800;
  color:var(--dt-primary);
}

.dt-tech-list dd{
  margin:0;
  color:var(--dt-muted);
  word-break:break-word;
}

.dt-table-wrap{
  width:100%;
  overflow-x:auto;
}

.dt-tech-table{
  width:100%;
  border-collapse:collapse;
  min-width:680px;
}

.dt-tech-table th,
.dt-tech-table td{
  padding:12px;
  border-bottom:1px solid var(--dt-border);
  text-align:left;
  vertical-align:top;
}

.dt-tech-table th{
  color:var(--dt-primary);
  background:rgba(0,51,102,.05);
}

.dt-tech-table td{
  color:var(--dt-muted);
  word-break:break-word;
}

.dt-insight-grid,
.dt-recommendation-grid,
.dt-locked-preview-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}

.dt-insight-card,
.dt-recommendation-grid article,
.dt-locked-preview-grid div{
  border:1px solid var(--dt-border);
  border-radius:14px;
  padding:16px;
  background:#fff;
}

.dt-insight-card strong{
  display:block;
  font-size:1.7rem;
  color:var(--dt-primary);
}

.dt-insight-card span,
.dt-locked-preview-grid span{
  display:block;
  margin-top:4px;
  color:var(--dt-muted);
}

.dt-recommendation-grid h3{
  margin:0 0 8px;
  color:var(--dt-primary);
}

.dt-recommendation-grid p{
  margin:0;
  color:var(--dt-muted);
  line-height:1.55;
}

.dt-record-list{
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.dt-record-list li{
  padding:12px;
  border:1px solid var(--dt-border);
  border-radius:12px;
  color:var(--dt-muted);
  word-break:break-word;
}

.dt-record-list strong{
  color:var(--dt-primary);
}

.dt-record-list span{
  display:block;
  margin-top:4px;
  font-size:.82rem;
}

@media (max-width: 991px){
  .dt-technical-grid,
  .dt-insight-grid,
  .dt-recommendation-grid,
  .dt-locked-preview-grid{
    grid-template-columns:1fr;
  }

  .dt-result-actions-card,
  .dt-unlock-card{
    flex-direction:column;
    align-items:stretch;
  }

  .dt-result-actions-buttons{
    width:100%;
    min-width:0;
    justify-content:flex-start;
  }
}

@media (max-width: 640px){
  .dt-result-actions-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .dt-tech-list div{
    grid-template-columns:1fr;
    gap:4px;
  }
}

/* --------------------------------------------------------------------------
   Ajuste visual de acciones del reporte
   -------------------------------------------------------------------------- */
.dt-result-actions-card,
.dt-unlock-card{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(360px, 460px);
  align-items:center;
  gap:22px;
  border-left:6px solid var(--dt-secondary);
  border-color:rgba(244,124,43,.35);
  background:linear-gradient(135deg, #ffffff 0%, #fff8f3 100%);
}

.dt-result-actions-card .dt-section-title,
.dt-unlock-card .dt-section-title{
  margin-top:0;
  margin-bottom:10px;
}

.dt-result-actions-card p,
.dt-unlock-card p{
  margin:0;
  line-height:1.55;
}

.dt-result-actions-buttons{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  width:100%;
  align-items:stretch;
}

.dt-result-actions-buttons .dt-btn-primary,
.dt-result-actions-buttons .dt-btn-secondary,
.dt-result-actions-buttons button{
  width:100%;
  min-height:46px;
  padding:10px 14px;
  font-size:.86rem;
  line-height:1.2;
  text-align:center;
  white-space:nowrap;
}

.dt-result-actions-buttons .dt-btn-icon{
  gap:7px;
}

.dt-result-actions-buttons .dt-icon{
  width:1.15em;
  height:1.15em;
}

.dt-result-actions-card .dt-result-actions-buttons{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.dt-secondary-actions{
  margin-top:18px;
}

.dt-secondary-actions .dt-btn-secondary{
  width:100%;
}

.dt-locked-detail{
  display:block;
  border-left:6px solid var(--dt-secondary);
  border-color:rgba(244,124,43,.35);
  background:linear-gradient(135deg, #ffffff 0%, #fff8f3 100%);
}

.dt-locked-detail .dt-section-title{
  margin-top:0;
}

.dt-locked-detail p{
  margin:0 0 16px;
  line-height:1.55;
}

.dt-locked-preview-grid{
  margin-top:14px;
}

.dt-contact-box{
  margin-top:18px;
}

@media (max-width: 991px){
  .dt-result-actions-card,
  .dt-unlock-card{
    grid-template-columns:1fr;
  }

  .dt-result-actions-card .dt-result-actions-buttons{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .dt-result-actions-buttons,
  .dt-result-actions-card .dt-result-actions-buttons{
    grid-template-columns:1fr;
  }
}
