.aiht{
  --blue:#0038a8;
  --blue2:#0b4fd6;
  --red:#ce1126;
  --gold:#fcd116;
  --navy:#071936;
  --ink:#102033;
  --muted:#5f6b7a;
  --line:#dbe5f2;
  --soft:#f7faff;
  width:min(1180px,calc(100% - 24px));
  margin:34px auto;
  padding:0;
  border-radius:34px;
  position:relative;
  overflow:hidden;
  color:var(--ink);
  background:#fff;
  box-shadow:0 24px 80px rgba(0,56,168,.14),0 10px 30px rgba(16,32,51,.08);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  border:1px solid rgba(0,56,168,.10);
}
.aiht *{box-sizing:border-box}
.aiht:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:122px;
  background:
    radial-gradient(circle at 84px 72px,rgba(252,209,22,.18),transparent 55px),
    linear-gradient(135deg,#0038a8 0%,#0b4fd6 72%,#ce1126 72%,#ce1126 100%);
  pointer-events:none;
}
.aiht:after{
  content:"";
  position:absolute;
  left:-40px;
  top:86px;
  width:calc(100% + 80px);
  height:76px;
  background:#fff;
  transform:skewY(-4deg);
  transform-origin:left top;
  box-shadow:0 -1px 0 rgba(255,255,255,.65);
  pointer-events:none;
}
.aiht-orb{position:absolute;pointer-events:none}
.aiht-orb-a{
  left:38px;
  top:84px;
  width:132px;
  height:132px;
  border-radius:999px;
  background:radial-gradient(circle,#fcd116 0 34%,rgba(252,209,22,.18) 35% 57%,transparent 58%);
  opacity:.9;
  filter:none;
  z-index:2;
}
.aiht-orb-a:before,.aiht-orb-a:after{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:999px;
  background:repeating-conic-gradient(from 0deg,#fcd116 0 8deg,transparent 8deg 20deg);
  z-index:-1;
}
.aiht-orb-b{
  right:44px;
  top:88px;
  width:180px;
  height:30px;
  background:linear-gradient(90deg,transparent,#ce1126);
  border-radius:999px;
  transform:rotate(7deg);
  opacity:.88;
  z-index:2;
}
.aiht-hero,.aiht-app{position:relative;z-index:3}
.aiht-hero{
  text-align:center;
  max-width:910px;
  margin:0 auto 18px;
  padding:54px 20px 16px;
}
.aiht-badge{
  display:inline-flex;
  border:1px solid rgba(252,209,22,.55);
  background:rgba(0,56,168,.28);
  color:#fff;
  padding:8px 14px;
  border-radius:999px;
  margin-bottom:18px;
  font-weight:900;
  box-shadow:0 8px 24px rgba(0,56,168,.16);
}
.aiht-hero:before{
  content:"☀";
  display:inline-grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:999px;
  margin:0 10px 0 0;
  color:#172033;
  background:#fcd116;
  box-shadow:0 0 0 8px rgba(252,209,22,.22),0 8px 24px rgba(252,209,22,.25);
  font-size:25px;
  vertical-align:middle;
}
.aiht h1,.aiht h2,.aiht h3{color:var(--navy)!important}
.aiht-hero h1{
  margin:0 0 12px;
  font-size:clamp(34px,5.3vw,58px);
  line-height:1;
  letter-spacing:-.045em;
}
.aiht-hero p{
  margin:0 auto;
  color:#38465a!important;
  font-size:17px;
  line-height:1.65;
  max-width:780px;
}
.aiht-trust{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
.aiht-trust span{
  border:1px solid #e1e9f5;
  background:#fff;
  border-radius:16px;
  padding:13px 16px;
  font-size:13px;
  font-weight:900;
  color:#1f2d40;
  box-shadow:0 10px 24px rgba(16,32,51,.07);
}
.aiht-trust span:first-child{border-color:rgba(252,209,22,.7)}
.aiht-app{
  margin:0 22px 22px;
  border:1px solid #d9e3f1;
  background:#fff;
  border-radius:24px;
  padding:16px;
  box-shadow:0 16px 50px rgba(16,32,51,.08);
}
.aiht-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-bottom:16px;
}
.aiht-tabs button{
  border:1px solid #dce6f3;
  background:#f7f9fc;
  color:#465468;
  border-radius:18px;
  padding:15px 16px;
  font-weight:950;
  cursor:pointer;
}
.aiht-tabs button.active{
  color:#fff;
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  border-color:transparent;
  box-shadow:0 12px 28px rgba(0,56,168,.20);
}
.aiht-tab-panel{display:none}
.aiht-tab-panel.active{display:block}
.aiht-toolbar{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:14px;
}
.aiht label{
  display:block;
  font-size:13px;
  font-weight:950;
  color:#16233a;
  margin:0 0 7px;
}
.aiht select,.aiht textarea{
  width:100%;
  border:1px solid #d9e3f1;
  background:#fff;
  color:#172033;
  border-radius:16px;
  padding:14px 15px;
  outline:none;
  font-size:15px;
  box-shadow:inset 0 1px 0 rgba(16,32,51,.03);
}
.aiht select:focus,.aiht textarea:focus{
  border-color:var(--blue2);
  box-shadow:0 0 0 4px rgba(0,56,168,.09);
}
.aiht-wowbar{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:14px;
}
.aiht button{
  border:1px solid #dce6f3;
  background:#fff;
  color:#172033;
  border-radius:999px;
  padding:9px 13px;
  font-weight:950;
  cursor:pointer;
  transition:.18s ease;
}
.aiht button:hover{transform:translateY(-1px);filter:brightness(1.02)}
.aiht button:disabled{opacity:.45;cursor:not-allowed;transform:none!important}
.aiht-wowbar button.active{
  color:#0f2342;
  background:linear-gradient(135deg,#fff6c7,#fcd116);
  border-color:#fcd116;
  box-shadow:0 10px 22px rgba(252,209,22,.23);
}
.aiht-grid,.aiht-detector-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.aiht-panel{
  border:1px solid #d9e3f1;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  border-radius:22px;
  padding:16px;
  min-height:330px;
  box-shadow:0 10px 28px rgba(16,32,51,.055);
}
.aiht-panel-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.aiht-panel-head strong{font-size:15px;color:#12203a}
.aiht-panel-head span{font-size:12px;color:#667386}
.aiht-mini-actions{display:flex;flex-wrap:wrap;gap:8px}
.aiht-mini-actions button,#aiht-detect-copy{
  color:var(--blue);
  background:#fff;
  border-color:rgba(0,56,168,.26);
}
#aiht-replace{
  color:var(--red);
  border-color:rgba(206,17,38,.25);
}
.aiht textarea{
  min-height:248px;
  resize:vertical;
  line-height:1.65;
}
.aiht-output{
  min-height:248px;
  line-height:1.75;
  font-size:17px;
  color:#172033;
  background:#fff;
  border:1px solid #d9e3f1;
  border-radius:16px;
  padding:14px;
  overflow:auto;
}
.aiht-output p{margin:0 0 14px;color:#172033!important}
.aiht-main-result{
  font-size:1.04em;
  font-weight:700;
  background:#f0f7ff;
  padding:13px;
  border-radius:15px;
  border-left:4px solid var(--blue2);
}
.aiht-note-box{
  background:#fff8db;
  padding:13px;
  border-radius:15px;
  border-left:4px solid var(--gold);
}
.aiht-error{color:#b91c1c!important}
.aiht-examples{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.aiht-examples button{font-size:12px;color:#344154;background:#fff}
.aiht-actions{display:flex;gap:10px;margin-top:16px}
.aiht-main{
  flex:1;
  border:0!important;
  border-radius:18px!important;
  padding:16px 18px!important;
  color:#fff!important;
  background:linear-gradient(135deg,var(--blue) 0%,var(--blue2) 48%,var(--red) 100%)!important;
  font-size:16px;
  box-shadow:0 18px 40px rgba(0,56,168,.20),0 10px 24px rgba(206,17,38,.12);
}
.aiht-secondary{min-width:110px}
.aiht-meter{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:12px;
}
.aiht-meter div{
  border:1px solid #dce6f3;
  background:#fff;
  border-radius:16px;
  padding:13px;
  text-align:center;
  box-shadow:0 8px 18px rgba(16,32,51,.04);
}
.aiht-meter strong{
  display:block;
  color:var(--blue);
  font-size:24px;
  line-height:1;
  margin-bottom:5px;
}
.aiht-meter div:nth-child(2) strong{color:var(--red)}
.aiht-meter div:nth-child(3) strong{color:#111827}
.aiht-meter span{
  color:#667386;
  font-size:12px;
  font-weight:850;
}
.aiht-seo{
  margin-top:18px;
  padding:17px;
  border-radius:20px;
  background:linear-gradient(135deg,#f8fbff,#fff8db);
  border:1px solid #d9e3f1;
}
.aiht-seo h2{margin:0 0 8px;font-size:22px}
.aiht-seo p,.aiht-note{margin:0;color:#526174!important;line-height:1.7}
.aiht-note{margin-top:12px;font-size:13px}
.aiht-loading{
  display:flex;
  align-items:center;
  gap:7px;
  color:#526174;
  font-weight:850;
}
.aiht-loading span{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--gold);
  animation:aihtbounce 1s infinite ease-in-out;
}
.aiht-loading span:nth-child(2){animation-delay:.15s;background:var(--blue)}
.aiht-loading span:nth-child(3){animation-delay:.3s;background:var(--red)}
@keyframes aihtbounce{0%,80%,100%{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}
.aiht-toast{
  position:fixed;
  left:50%;
  bottom:26px;
  z-index:999999;
  transform:translateX(-50%) translateY(20px);
  opacity:0;
  background:#fff;
  color:#172033;
  border:1px solid #d9e3f1;
  box-shadow:0 18px 60px rgba(0,56,168,.18);
  padding:12px 16px;
  border-radius:999px;
  pointer-events:none;
  transition:.24s ease;
  font-weight:950;
}
.aiht-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:850px){
  .aiht-toolbar,.aiht-grid,.aiht-detector-layout{grid-template-columns:1fr}
  .aiht-actions{flex-direction:column}
  .aiht-secondary{width:100%}
}
@media(max-width:560px){
  .aiht{width:min(100% - 12px,1180px);border-radius:24px}
  .aiht:before{height:105px}
  .aiht:after{top:76px}
  .aiht-app{margin:0 10px 12px;padding:12px}
  .aiht-hero{padding:42px 14px 12px}
  .aiht-hero h1{font-size:36px}
  .aiht-panel-head{align-items:flex-start;flex-direction:column}
  .aiht-mini-actions{width:100%}
  .aiht-mini-actions button{flex:1}
  .aiht-output,.aiht textarea{min-height:210px}
  .aiht-tabs{grid-template-columns:1fr}
  .aiht-meter{grid-template-columns:1fr}
  .aiht-orb-a{width:84px;height:84px;left:20px;top:88px;opacity:.55}
  .aiht-orb-b{display:none}
}