/* 100tik v0.99.25 — stable square hero + repaired actions/share + industry mobile contrast */
:root{
  --tik9925-blue:#1687d9;
  --tik9925-blue2:#2f9be8;
  --tik9925-red:#dc2626;
  --tik9925-amber:#e98a00;
  --tik9925-purple:#6d4bc3;
  --tik9925-slate:#52637a;
  --tik9925-green:#159a67;
  --tik9925-cat:#ffcd11;
  --tik9925-industrial:#253141;
  --tik9925-ink:#17243a;
}

/* ---------- HERO: compact, but featured image is ALWAYS 1:1 ---------- */
.tik-single-wrapper .tik-hero-container.tik61-hero{
  padding:13px!important;
  gap:13px!important;
  align-items:start!important;
}
.tik-single-wrapper .tik61-hero .tik-hero-info{
  min-width:0!important;
  width:100%!important;
  padding:0!important;
}
.tik-single-wrapper .tik61-featured,
.tik-single-wrapper .tik61-featured.tik-type-featured{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  aspect-ratio:1 / 1!important;
  align-self:start!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.tik-single-wrapper .tik61-featured>img,
.tik-single-wrapper .tik61-featured.tik-type-featured>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:1 / 1!important;
  object-fit:cover!important;
  object-position:center!important;
}
.tik-single-wrapper .tik61-hero .tik-single-title{
  margin:4px 0 8px!important;
  line-height:1.4!important;
}
.tik-single-wrapper .tik61-hero .tik-subject-activity{
  margin:5px auto 7px!important;
  min-height:30px!important;
  padding:5px 10px!important;
}
.tik-single-wrapper .tik61-hero .tik-breadcrumb{
  margin:5px 0 8px!important;
  gap:5px!important;
}
.tik-single-wrapper .tik61-hero .tik-category-chips{
  margin:6px 0 8px!important;
  gap:6px!important;
}
.tik-single-wrapper .tik61-hero .tik-chip{
  min-height:30px!important;
  padding:5px 9px!important;
}
.tik-single-wrapper .tik64-status-line{margin:5px 0 7px!important}
.tik-single-wrapper .tik64-state{
  margin:6px 0 8px!important;
  padding:6px 8px!important;
  gap:7px!important;
  min-height:auto!important;
}

/* ---------- ACTIONS: no display:contents; stable equal buttons ---------- */
.tik9924-action-zone{
  width:100%!important;
  margin-top:8px!important;
  box-sizing:border-box!important;
}
.tik9924-action-zone>.tik64-status-line,
.tik9924-action-zone>.tik64-state{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.tik9924-action-zone>.tik64-actions,
.tik9924-action-zone>.tik-public-actions{
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  align-items:stretch!important;
}
.tik9924-action-zone>.tik64-actions>* ,
.tik9924-action-zone>.tik-public-actions>*{
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.tik9924-action-zone form{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.tik9924-action-zone .tik-action-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:row!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:40px!important;
  height:100%!important;
  margin:0!important;
  padding:8px 9px!important;
  gap:5px!important;
  border-radius:11px!important;
  box-sizing:border-box!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:center!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
.tik9924-action-zone .tik-action-btn i{
  flex:0 0 auto!important;
  font-size:13px!important;
  line-height:1!important;
}
.tik9924-action-zone .tik-action-btn span{
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.tik9924-action-zone form>.tik-action-btn{height:100%!important}
.tik9924-action-zone .edit-btn{background:linear-gradient(135deg,var(--tik9925-blue2),var(--tik9925-blue))!important;color:#fff!important;border-color:transparent!important}
.tik9924-action-zone .delete-btn{background:linear-gradient(135deg,#ef4444,var(--tik9925-red))!important;color:#fff!important;border-color:transparent!important}
.tik9924-action-zone .expire-btn{background:linear-gradient(135deg,#f6a300,var(--tik9925-amber))!important;color:#fff!important;border-color:transparent!important}
.tik9924-action-zone .share-btn{background:linear-gradient(135deg,#7b5bdc,var(--tik9925-purple))!important;color:#fff!important;border-color:transparent!important}
.tik9924-action-zone .report-btn{background:linear-gradient(135deg,#66778e,var(--tik9925-slate))!important;color:#fff!important;border-color:transparent!important}
.tik9924-action-zone .save-btn{background:linear-gradient(135deg,#17a673,var(--tik9925-green))!important;color:#fff!important;border-color:transparent!important}
.tik9924-action-zone .upgrade-btn{background:linear-gradient(135deg,#8b5cf6,#6d28d9)!important;color:#fff!important;border-color:transparent!important}
.tik9924-action-zone .approve-btn{background:linear-gradient(135deg,#22b573,var(--tik9925-green))!important;color:#fff!important;border-color:transparent!important}
.tik9924-action-zone .tik-action-btn i,
.tik9924-action-zone .tik-action-btn span{
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
}

/* Desktop/tablet: management + share/report on the same row. */
@media (min-width:760px){
  .tik-single-wrapper .tik-hero-container.tik61-hero{
    display:grid!important;
    grid-template-columns:minmax(210px,27%) minmax(0,1fr)!important;
  }
  .tik-single-wrapper .tik61-featured{align-self:start!important}
  .tik9924-action-zone{
    display:grid!important;
    grid-template-columns:minmax(0,3fr) minmax(0,2fr)!important;
    gap:8px!important;
    align-items:stretch!important;
  }
  .tik9924-action-zone>.tik64-status-line,
  .tik9924-action-zone>.tik64-state{grid-column:1/-1!important}
  .tik9924-action-zone>.tik64-actions{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(92px,1fr))!important;
    gap:8px!important;
  }
  .tik9924-action-zone>.tik-public-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
}

/* Mobile: predictable two-column groups. No floating or compressed buttons. */
@media (max-width:759px){
  .tik-single-wrapper .tik-hero-container.tik61-hero{
    display:flex!important;
    flex-direction:column!important;
    padding:11px!important;
    gap:10px!important;
  }
  .tik-single-wrapper .tik61-featured{
    width:100%!important;
    max-width:100%!important;
    aspect-ratio:1 / 1!important;
    margin:0 auto!important;
  }
  .tik-single-wrapper .tik61-hero .tik-single-title{
    font-size:clamp(19px,5.8vw,26px)!important;
    margin:2px 0 6px!important;
  }
  .tik-single-wrapper .tik61-hero .tik-breadcrumb{margin-bottom:5px!important;line-height:1.75!important}
  .tik-single-wrapper .tik61-hero .tik-category-chips{margin:4px 0 5px!important}
  .tik9924-action-zone{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
  }
  .tik9924-action-zone>.tik64-actions,
  .tik9924-action-zone>.tik-public-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .tik9924-action-zone>.tik64-actions>*:last-child:nth-child(odd){grid-column:1/-1!important}
  .tik9924-action-zone .tik-action-btn{
    min-height:42px!important;
    padding:8px 7px!important;
    font-size:11.6px!important;
    gap:5px!important;
  }
  .tik9924-action-zone .tik-action-btn i{font-size:12.5px!important}
}

@media (max-width:350px){
  .tik9924-action-zone>.tik64-actions,
  .tik9924-action-zone>.tik-public-actions{grid-template-columns:1fr!important}
  .tik9924-action-zone>.tik64-actions>*{grid-column:auto!important}
}

/* ---------- INDUSTRIAL SPECIAL SPECS ---------- */
/* Day mode: dark industrial bar + Caterpillar yellow text/icon. */
html:not([data-theme="dark"]) .tik-type-industry .tik-type-spec-group>h2,
html[data-theme="light"] .tik-type-industry .tik-type-spec-group>h2{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  background:linear-gradient(135deg,#303d4e,var(--tik9925-industrial))!important;
  color:var(--tik9925-cat)!important;
  -webkit-text-fill-color:var(--tik9925-cat)!important;
  border:1px solid #1a2430!important;
  border-inline-start:5px solid var(--tik9925-cat)!important;
  border-radius:11px!important;
  padding:10px 12px!important;
  text-shadow:none!important;
  box-shadow:0 4px 12px rgba(22,31,43,.12)!important;
}
html:not([data-theme="dark"]) .tik-type-industry .tik-type-spec-group>h2 i,
html[data-theme="light"] .tik-type-industry .tik-type-spec-group>h2 i{
  color:var(--tik9925-cat)!important;
  -webkit-text-fill-color:var(--tik9925-cat)!important;
}
html[data-theme="dark"] .tik-type-industry .tik-type-spec-group>h2,
body.dark .tik-type-industry .tik-type-spec-group>h2,
.dark-mode .tik-type-industry .tik-type-spec-group>h2{
  background:#202a37!important;
  color:#ffe36a!important;
  -webkit-text-fill-color:#ffe36a!important;
  border-color:#3b4656!important;
  border-inline-start-color:var(--tik9925-cat)!important;
}
html[data-theme="dark"] .tik-type-industry .tik-type-spec-group>h2 i,
body.dark .tik-type-industry .tik-type-spec-group>h2 i,
.dark-mode .tik-type-industry .tik-type-spec-group>h2 i{color:#ffe36a!important}

/* Contact-for-price inside specs is explicitly blue. */
.tik-single-wrapper .tik-spec-contact{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:34px!important;
  padding:7px 11px!important;
  border:0!important;
  border-radius:9px!important;
  background:linear-gradient(135deg,var(--tik9925-blue2),var(--tik9925-blue))!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-weight:800!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
.tik-single-wrapper .tik-spec-contact i{color:#fff!important;-webkit-text-fill-color:#fff!important}

@media (max-width:640px){
  .tik-type-single .tik-type-spec-group{
    padding:10px!important;
    border-radius:12px!important;
  }
  .tik-type-single .tik-type-spec-group>h2{
    margin:0 0 9px!important;
    padding:9px 10px!important;
    font-size:13px!important;
    line-height:1.45!important;
  }
  .tik-type-single .tik-specs-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  .tik-type-single .tik-spec-item{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
    min-height:46px!important;
    padding:9px 10px!important;
    border-radius:10px!important;
    box-sizing:border-box!important;
  }
  .tik-type-single .tik-spec-item>span{
    min-width:0!important;
    line-height:1.6!important;
  }
  .tik-type-single .tik-spec-item>strong{
    min-width:0!important;
    max-width:52vw!important;
    text-align:end!important;
    overflow-wrap:anywhere!important;
  }
  .tik-type-single .tik-type-feature-chips{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
  }
}

/* ---------- SHARE BOX: compact enough to NEVER wrap labels ---------- */
.tik-single-wrapper .tik61-share-grid,
.tik-single-wrapper .tik-share-grid{gap:6px!important}
.tik-single-wrapper .tik61-share-grid a,
.tik-single-wrapper .tik61-share-grid button,
.tik-single-wrapper .tik-share-grid .tik-share-btn{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:36px!important;
  padding:7px 7px!important;
  gap:4px!important;
  border-radius:9px!important;
  box-sizing:border-box!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow:hidden!important;
}
.tik-single-wrapper .tik61-share-grid i,
.tik-single-wrapper .tik-share-grid .tik-share-btn i{
  flex:0 0 auto!important;
  font-size:14px!important;
  line-height:1!important;
}
.tik-single-wrapper .tik61-share-grid span,
.tik-single-wrapper .tik-share-grid .tik-share-btn span{
  min-width:0!important;
  display:block!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
}

/* ---------- Filled smooth visit chart + centered ad code ---------- */
.tik9924-visit-chart{
  margin:10px 0 8px;
  padding:8px;
  border:1px solid rgba(112,135,165,.16);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(79,140,255,.055),rgba(124,92,255,.018));
  overflow:hidden;
}
.tik9924-visit-chart svg{display:block;width:100%;height:118px;overflow:visible}
.tik9924-chart-grid{stroke:rgba(116,135,160,.18);stroke-width:1;vector-effect:non-scaling-stroke}
.tik9924-area{pointer-events:none}
.tik9924-line{fill:none;stroke:#4f78f6;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 2px 3px rgba(79,120,246,.18))}
.tik9924-dot{fill:#fff;stroke:#5e69e8;stroke-width:2;vector-effect:non-scaling-stroke}
.tik9924-chart-range{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;margin-top:3px;font-size:9px;color:#738198}
.tik9924-chart-range strong{text-align:center;color:#42526b;font-size:10px;font-weight:800}
.tik-ad-code-badge{
  width:max-content;
  max-width:100%;
  margin:10px auto 0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:7px 12px;
  border-radius:999px;
  background:#eef4fb;
  border:1px solid #c9d8ea;
  color:#35465e;
  box-shadow:0 2px 7px rgba(39,59,85,.05);
}
.tik-ad-code-badge i{font-size:11px;color:#55708f}
.tik-ad-code-badge span{font-size:11px;font-weight:700}
.tik-ad-code-badge strong{font-size:12px;font-weight:900;color:#17243a}
.tik-stats-box{text-align:center}
.tik-stats-box>h3{text-align:start}
@media (max-width:759px){.tik9924-visit-chart svg{height:106px}}
@media (max-width:380px){
  .tik9924-chart-range strong{display:none}
  .tik9924-chart-range{grid-template-columns:1fr 1fr}
  .tik9924-chart-range span:last-child{text-align:end}
}

/* ---------- Dark mode ---------- */
html[data-theme="dark"] .tik9924-visit-chart,
body.dark .tik9924-visit-chart,
.dark-mode .tik9924-visit-chart{background:linear-gradient(180deg,rgba(79,140,255,.11),rgba(124,92,255,.04));border-color:#31445f}
html[data-theme="dark"] .tik9924-chart-grid,
body.dark .tik9924-chart-grid,
.dark-mode .tik9924-chart-grid{stroke:rgba(195,211,232,.14)}
html[data-theme="dark"] .tik9924-chart-range,
body.dark .tik9924-chart-range,
.dark-mode .tik9924-chart-range{color:#91a4be}
html[data-theme="dark"] .tik9924-chart-range strong,
body.dark .tik9924-chart-range strong,
.dark-mode .tik9924-chart-range strong{color:#dce9fa}
html[data-theme="dark"] .tik-ad-code-badge,
body.dark .tik-ad-code-badge,
.dark-mode .tik-ad-code-badge{background:#1c2b3d;border-color:#38506c;color:#cfe0f4}
html[data-theme="dark"] .tik-ad-code-badge strong,
body.dark .tik-ad-code-badge strong,
.dark-mode .tik-ad-code-badge strong{color:#fff}

@media (prefers-reduced-motion:reduce){
  .tik-single-wrapper *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}
}
