:root{
  --bg: #eef6ff;
  --bg-2: #f9fcff;
  --card: #ffffff;
  --card-2: #f6fbff;
  --text: #12324b;
  --muted: #5f7284;
  --border: #d8e7f6;
  --border-2: #c8dcf2;
  --primary: #0b73d9;
  --primary-2: #52a3ff;
  --primary-3: #0a5da8;
  --success: #25d366;
  --warning: #ffb347;
  --danger: #e04d4d;
  --shadow: 0 18px 50px rgba(10, 62, 120, .12);
  --shadow-soft: 0 10px 25px rgba(10, 62, 120, .08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --focus: 0 0 0 4px rgba(11, 115, 217, .16);
}

*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body.tool-body,
body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(82,163,255,.15), transparent 30%),
    radial-gradient(circle at top right, rgba(11,115,217,.11), transparent 28%),
    linear-gradient(180deg, #eff7ff 0%, #f7fbff 50%, #ffffff 100%);
}

body.rtl,
.tool-body.rtl{
  direction: rtl;
}

a{
  color: var(--primary);
  text-decoration: none;
}

a:hover{
  color: var(--primary-3);
}

img{
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select{
  font: inherit;
}

button{
  cursor: pointer;
}

button:focus,
a:focus,
textarea:focus,
select:focus,
input:focus{
  outline: none;
  box-shadow: var(--focus);
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.tool-page,
.home-shell{
  width: min(1180px, calc(100% - 28px));
  margin: 24px auto 18px;
}

.tool-hero{
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 22px 22px;
  overflow: hidden;
  position: relative;
}

.tool-hero::after{
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,163,255,.18), transparent 65%);
  pointer-events: none;
}

.tool-hero__icon{
  width: 84px;
  height: 84px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 18px 30px rgba(11,115,217,.18);
  flex: 0 0 auto;
}

.tool-hero__content{
  min-width: 0;
  position: relative;
  z-index: 1;
}

.tool-hero__eyebrow{
  margin: 0 0 6px;
  font-size: .84rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
}

.tool-hero__eyebrow-link{
  color: inherit;
  border-bottom: 1px dashed rgba(11,115,217,.35);
}

.tool-hero__eyebrow-link:hover{
  color: var(--primary-3);
  border-bottom-color: rgba(10,93,168,.45);
}

.tool-hero__title{
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.15;
  color: var(--text);
}

.tool-hero__description{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 74ch;
}

.tool-grid,
.home-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.tool-main,
.tool-aside,
.home-main,
.home-aside{
  min-width: 0;
}

.tool-card,
.other-tools-card,
.share-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.tool-card{
  padding: 18px;
}

.tool-form{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-textarea{
  width: 100%;
  min-height: 190px;
  resize: vertical;
  padding: 16px 16px;
  border-radius: 18px;
  border: 1.5px solid var(--border-2);
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.tool-textarea::placeholder{
  color: #7f93a6;
}

.tool-textarea:focus{
  border-color: rgba(11,115,217,.6);
  background: #fff;
}

.tool-textarea:hover{
  border-color: #b8d3ef;
}

.tool-textarea--short{
  min-height: 92px;
  resize: none;
}

.tool-select{
  width: 100%;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1.5px solid var(--border-2);
  background: #fbfdff;
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.tool-select:focus{
  border-color: rgba(11,115,217,.6);
}

.tool-actions{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.tool-button{
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .01em;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 16px 28px rgba(11,115,217,.22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
}

.tool-button:hover{
  transform: translateY(-1px);
  box-shadow: 0 20px 30px rgba(11,115,217,.26);
  filter: saturate(1.04);
}

.tool-button:active{
  transform: translateY(0);
}

.tool-button:disabled,
.tool-button.is-loading{
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

.tool-button__spinner{
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
}

.tool-button__icon{
  font-size: 1rem;
  line-height: 1;
}

.tool-hint{
  margin: 0;
  font-size: .86rem;
  color: var(--muted);
}

.tool-result{
  margin-top: 18px;
  min-height: 126px;
  padding: 18px;
  border-radius: 20px;
  border: 1.5px dashed #cfe1f5;
  background: linear-gradient(180deg, #f9fcff 0%, #ffffff 100%);
  color: var(--text);
  line-height: 1.75;
  font-size: 1rem;
  overflow-wrap: anywhere;
  white-space: normal;
}

.tool-result a{
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tool-result strong{
  color: var(--text);
}

.tool-result p{
  margin: 0 0 12px;
}

.tool-result p:last-child{
  margin-bottom: 0;
}

.tool-result--loading{
  position: relative;
}

.tool-thinking{
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 90px;
}

.tool-thinking__bubble{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid #d7e8fb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.tool-thinking__bubble span{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  animation: bounce 1s infinite ease-in-out;
}

.tool-thinking__bubble span:nth-child(2){
  animation-delay: .15s;
  opacity: .85;
}

.tool-thinking__bubble span:nth-child(3){
  animation-delay: .3s;
  opacity: .7;
}

.tool-thinking__text{
  color: var(--muted);
  font-weight: 600;
}

.tool-error{
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff4f4;
  border: 1px solid #ffd3d3;
  color: var(--danger);
  font-weight: 700;
}

.tool-error::before{
  content: "⚠ ";
}

.share-card{
  margin-top: 16px;
  padding: 16px;
}

.share-card__title{
  font-size: .98rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

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

.share-chip{
  appearance: none;
  border: 1px solid #d9e6f3;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  color: var(--text);
  border-radius: 18px;
  min-height: 58px;
  width: 100%;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(10, 62, 120, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.share-chip:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(10, 62, 120, .1);
  border-color: #bfd6ee;
  color: var(--text);
}

.share-chip__icon{
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  color: #fff;
  box-shadow: 0 10px 18px rgba(0,0,0,.12);
}

.share-chip__icon svg{
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.share-chip__label{
  min-width: 0;
  font-size: .93rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-chip--copy .share-chip__icon{
  background: linear-gradient(135deg, #0b73d9, #52a3ff);
}

.share-chip--email .share-chip__icon{
  background: linear-gradient(135deg, #7d8895, #a8b3bf);
}

.share-chip--x .share-chip__icon{
  background: linear-gradient(135deg, #111111, #444444);
}

.share-chip--facebook .share-chip__icon{
  background: linear-gradient(135deg, #1877f2, #5ca3ff);
}

.share-chip--whatsapp .share-chip__icon{
  background: linear-gradient(135deg, #22c45e, #49df82);
}

.share-chip--telegram .share-chip__icon{
  background: linear-gradient(135deg, #229ed9, #56bdf0);
}

.other-tools-card{
  padding: 16px;
  position: sticky;
  top: 16px;
}

.other-tools-card--sticky{
  position: sticky;
  top: 16px;
}

.other-tools-card__title{
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--text);
}

.other-tools-grid{
  display: grid;
  gap: 10px;
}

.mini-tool{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4faff 100%);
  border: 1px solid #d9ebfb;
  color: var(--text);
  line-height: 1.45;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.mini-tool:hover{
  transform: translateY(-1px);
  border-color: #bcd6f0;
  box-shadow: 0 10px 18px rgba(10, 62, 120, .06);
  color: var(--primary-3);
}

.mini-tool__icon{
  width: 20px;
  flex: 0 0 20px;
  display: inline-grid;
  place-items: center;
  font-size: 1.02rem;
  line-height: 1.1;
  margin-top: 1px;
}

.mini-tool__text{
  font-size: .95rem;
  font-weight: 700;
}

.mini-tool--current{
  background: linear-gradient(180deg, #e5f1ff 0%, #dcecff 100%);
  border-color: #b8d2ef;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 18px rgba(10, 62, 120, .08);
}

.mini-tool--current,
.mini-tool--current:hover{
  color: var(--primary-3);
}

.mini-tool--current .mini-tool__text{
  font-weight: 800;
}

.home-hero{
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-hero__badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 14px;
}

.home-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid #d7e8fb;
  color: #0c5fa5;
  font-weight: 800;
  font-size: .9rem;
}

.home-intro{
  margin-bottom: 18px;
}

.home-intro__title{
  margin: 0 0 8px;
  font-size: 1.12rem;
  color: var(--text);
}

.home-intro__text{
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.catalog-card{
  padding: 0;
  overflow: hidden;
  min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.catalog-card:hover,
.catalog-card:focus-within{
  transform: translateY(-2px);
  border-color: #bfd6ee;
  box-shadow: 0 18px 30px rgba(10, 62, 120, .1);
}

.catalog-card__anchor{
  min-height: 100%;
  display:flex;
  flex-direction:column;
  gap: 12px;
  padding: 18px;
  color: inherit;
}

.catalog-card__anchor:hover{
  color: inherit;
}

.catalog-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.catalog-card__icon{
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  font-size: 1.7rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color:#fff;
  box-shadow: 0 16px 28px rgba(11,115,217,.16);
}

.catalog-card__arrow{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: linear-gradient(180deg, #f3f9ff 0%, #eaf4ff 100%);
  border: 1px solid #d6e6f8;
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 900;
}

.catalog-card:hover .catalog-card__arrow,
.catalog-card:focus-within .catalog-card__arrow{
  color: var(--primary-3);
}

.catalog-card__title{
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--text);
}

.catalog-card__desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: .96rem;
}

.home-note{
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfdff 0%, #f6fbff 100%);
  border: 1px solid #d9ebfb;
  color: var(--muted);
  line-height: 1.75;
}

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

.home-info-list li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4faff 100%);
  border: 1px solid #d9ebfb;
}

.home-info-list li span:first-child{
  width: 28px;
  flex: 0 0 28px;
  display:grid;
  place-items:center;
  font-size: 1.05rem;
}

.home-info-list li span:last-child{
  color: var(--text);
  line-height: 1.5;
  font-weight: 700;
}

.tool-footer{
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto 36px;
  padding: 16px 8px 0;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}

.tool-footer a{
  color: var(--primary);
  font-weight: 700;
}

#publicidad{
  width: min(1180px, calc(100% - 28px));
  margin: 16px auto 0;
  text-align: center;
}

.example_responsive_1{
  width: 320px;
  height: 100px;
  display: block;
  margin: 0 auto;
}

@media (min-width: 500px){
  .example_responsive_1{
    width: 468px;
    height: 60px;
  }
}

@media (min-width: 800px){
  .example_responsive_1{
    width: 728px;
    height: 90px;
  }
}

.novedades_total_IA{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  margin-right: 0;
}

.novedades_texto_IA{
  background: transparent;
  padding: 0;
  margin-bottom: 12px;
  text-align: initial;
  font-weight: normal;
}

.novedades_IA{
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
}

#resultados2{
  min-height: 120px;
  color: var(--text);
  line-height: 1.7;
}

#cuadro-compartir{
  padding-bottom: 0;
  padding-right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.compartir{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-left: 0;
  text-align: center;
  display: grid;
  place-items: center;
  float: none;
  overflow: hidden;
}

.compartir img{
  margin-top: 0;
  width: 24px;
  height: 24px;
}

#whatsapp{background-color:#25d366;}
#facebook{background-color:#1877f2;}
#instagram{background-color:#cd486b;}
#twitter{background-color:#1d9bf0;}
#google{background-color:#dd4b39;}
#email{background-color:#8E8E8E;}
#comment{background-color:#CBCA54;}
#lupa{background-color:#E54AB4;}
#link{background-color:#0071c8;}

.container{
  font-family: inherit;
  min-height: 100px;
}

.loader{
  width: 100%;
  max-width: 260px;
  margin: 14px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 72px;
}

.loader--dot{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 0 4px;
  background: var(--primary);
  animation: oldBounce 1.1s infinite ease-in-out;
}

.loader--dot:nth-child(1){ animation-delay: 0s; }
.loader--dot:nth-child(2){ animation-delay: .12s; background: #4a96ff; }
.loader--dot:nth-child(3){ animation-delay: .24s; background: #3bb5d6; }
.loader--dot:nth-child(4){ animation-delay: .36s; background: #7c8cff; }
.loader--dot:nth-child(5){ animation-delay: .48s; background: #25d366; }
.loader--dot:nth-child(6){ animation-delay: .60s; background: #ffc44d; }

.loader--text{
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 10px auto 0;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.loader--text::after{
  content: "Loading...";
  animation: dots 1.3s infinite steps(4, end);
}

.estiloul{
  list-style: circle;
  padding-inline-start: 24px;
}

#cabecera{
  background:#366AE2;
  font:Verdana;
  font-size:23px;
  color:#FFF;
  font-weight:bolder;
  padding:5px 15px;
  border: 1px solid #000;
}

#cabecera a{
  text-decoration:none;
  color:#FFF;
}

#busqueda{
  background:#DBDBDB;
  font:Verdana;
  font-size:14px;
  color:#000;
  padding:10px 15px;
  border: 1px solid #000;
}

#listadoTitulo{
  background:#1E498A;
  font:Verdana;
  font-size:18px;
  color:#FFF;
  font-weight:bolder;
  padding:5px 15px;
  border: 1px solid #000;
}

h1{
  display:block;
  font:Verdana;
  font-size:18px;
  margin:0;
  font-weight:bold;
}

#informacion{
  line-height: 2;
  font-size: large;
}

#ad-header{
  min-height: 280px;
}

.faq{
  list-style: none;
  padding-left: 40px;
  padding-right: 20px;
}

.faq li{
  border-bottom: 1px solid #999999;
  margin-bottom: 15px;
}

.faq li.active .answer{
  max-height: 2500px;
  padding-bottom: 25px;
  transition: max-height 0.5s ease, padding-bottom 0.5s ease;
}

.faq li.active .question{
  color: #808080;
  transition: color 0.5s ease;
}

.faq .answer{
  color: #090909;
  font-size: 16px;
  line-height: 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding-bottom 0.5s ease;
}

.faq .plus-minus-toggle{
  cursor: pointer;
  height: 21px;
  position: absolute;
  width: 21px;
  left: -40px;
  top: 50%;
  z-index: 2;
}

.faq .plus-minus-toggle:before,
.faq .plus-minus-toggle:after{
  background: #000;
  content: '';
  height: 5px;
  left: 0;
  position: absolute;
  top: 0;
  width: 21px;
  transition: transform 500ms ease;
}

.faq .plus-minus-toggle:after{
  transform-origin: center;
}

.faq .plus-minus-toggle.collapsed:after{
  transform: rotate(90deg);
}

.faq .plus-minus-toggle.collapsed:before{
  transform: rotate(180deg);
}

.faq .question{
  color: #090909;
  font-size: 20px;
  font-weight: 800;
  position: relative;
  cursor: pointer;
  padding: 20px 0;
  transition: color 0.5s ease;
}

.tooltip{
  position: relative;
  border-bottom: 0;
  padding-left: 10px;
  padding-bottom: 4px;
}

.tooltip span{
  visibility: hidden;
  width: 10em;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px 10px;
  position: absolute;
  z-index: 9;
  top: 25px;
  left: -65px;
  margin-left:1em;
  opacity: 0;
  transition: opacity 1s;
}

.tooltip input{
  display:none;
}

.tooltip input:checked+span{
  visibility: visible;
  opacity: 1;
}

.tool-toast{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  background: rgba(18, 50, 75, .96);
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
  max-width: min(340px, calc(100vw - 36px));
}

.tool-toast.is-visible{
  transform: translateY(0);
  opacity: 1;
}

@keyframes bounce{
  0%, 80%, 100%{ transform: translateY(0); }
  40%{ transform: translateY(-8px); }
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

@keyframes oldBounce{
  0%, 80%, 100%{ transform: translateY(0); opacity: .9; }
  40%{ transform: translateY(-10px); opacity: 1; }
}

@keyframes dots{
  0%{ content: "Loading."; }
  25%{ content: "Loading.."; }
  50%{ content: "Loading..."; }
  75%{ content: "Loading...."; }
  100%{ content: "Loading."; }
}

@media (max-width: 980px){
  .tool-grid,
  .home-layout{
    grid-template-columns: 1fr;
  }

  .other-tools-card,
  .other-tools-card--sticky{
    position: static;
  }

  .catalog-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px){
  .tool-page,
  .home-shell{
    width: min(100% - 16px, 1180px);
    margin-top: 12px;
  }

  .tool-hero{
    padding: 18px;
    border-radius: 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .tool-hero__icon{
    width: 68px;
    height: 68px;
    font-size: 1.7rem;
    border-radius: 18px;
  }

  .tool-card,
  .other-tools-card,
  .share-card{
    border-radius: 22px;
  }

  .tool-card{
    padding: 14px;
  }

  .tool-result{
    padding: 14px;
  }

  .share-grid{
    grid-template-columns: 1fr 1fr;
  }

  .share-chip{
    min-height: 54px;
    padding: 10px;
  }

  .share-chip__label{
    font-size: .9rem;
  }

  .tool-footer{
    width: min(100% - 16px, 1180px);
  }
}

@media (max-width: 640px){
  .catalog-grid{
    grid-template-columns: 1fr;
  }

  .home-hero{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px){
  .share-grid{
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after{
    animation: none !important;
    transition: none !important;
  }
}

.tool-result{
  font-size: 1.02rem;
}

.tool-result .ai-summary-box{
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4faff 0%, #ffffff 100%);
  border: 1px solid #d9ebfb;
  margin-bottom: 16px;
}

.tool-result .ai-summary-box p{
  margin: 0;
}

.tool-result .ai-summary-box p + p{
  margin-top: 8px;
}

.tool-result .ai-metric{
  font-weight: 800;
  color: var(--primary-3);
}

.tool-result h1,
.tool-result h2,
.tool-result h3,
.tool-result h4{
  margin: 1rem 0 .55rem;
  line-height: 1.25;
  color: var(--text);
  scroll-margin-top: 80px;
}

.tool-result h1{
  font-size: 1.55rem;
}

.tool-result h2{
  font-size: 1.35rem;
  padding-bottom: .3rem;
  border-bottom: 2px solid rgba(11,115,217,.12);
}

.tool-result h3{
  font-size: 1.15rem;
  color: var(--primary-3);
}

.tool-result h4{
  font-size: 1.02rem;
  color: var(--primary);
}

.tool-result p{
  margin: .5rem 0 .9rem;
}

.tool-result ul,
.tool-result ol{
  margin: .35rem 0 1rem 1.35rem;
  padding-inline-start: 1rem;
}

.tool-result li{
  margin: .35rem 0;
}

.tool-result strong{
  font-weight: 800;
  color: var(--text);
}

.tool-result em{
  color: #244b6f;
}

.tool-result blockquote{
  margin: 1rem 0;
  padding: .9rem 1rem;
  border-left: 4px solid var(--primary-2);
  background: #f5faff;
  border-radius: 0 14px 14px 0;
  color: var(--text);
}

.tool-result blockquote p{
  margin: 0;
}

.tool-result hr{
  border: 0;
  border-top: 1px solid #dce8f4;
  margin: 1rem 0;
}

.tool-result code{
  padding: .14rem .42rem;
  border-radius: 8px;
  background: #edf5ff;
  color: #0c5fa5;
  font-size: .94em;
}

.tool-result pre{
  padding: 14px;
  overflow: auto;
  border-radius: 16px;
  background: #0e1a28;
  color: #e8f1ff;
}

.tool-result table{
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #d9ebfb;
}

.tool-result th,
.tool-result td{
  padding: 10px 12px;
  border-bottom: 1px solid #e7f0fa;
  vertical-align: top;
  text-align: start;
}

.tool-result th{
  background: #f4faff;
  font-weight: 800;
}

.tool-result :first-child{
  margin-top: 0;
}

.tool-result :last-child{
  margin-bottom: 0;
}
.tool-meta{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: -2px;
}

.tool-char-counter{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f9ff;
  border: 1px solid #d9ebfb;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1;
}

.tool-char-counter__separator{
  opacity: .65;
}

.tool-char-counter--near{
  background: #fff8ec;
  border-color: #ffe0ab;
  color: #9a6300;
}

.tool-char-counter--limit{
  background: #fff4f4;
  border-color: #ffd3d3;
  color: var(--danger);
}

.tool-result-head{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 18px;
  margin-bottom: 10px;
}

.tool-result-head + .tool-result{
  margin-top: 0;
}

.tool-copy-result{
  appearance: none;
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #d9e6f3;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  color: var(--primary);
  box-shadow: 0 10px 20px rgba(10, 62, 120, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}

.tool-copy-result:hover:not(:disabled){
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(10, 62, 120, .1);
  border-color: #bfd6ee;
}

.tool-copy-result:disabled{
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.tool-copy-result__icon{
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.tool-copy-result__icon svg{
  width: 20px;
  height: 20px;
  display: block;
}