
/* ===== NEXACORE V6.4.6 GLOBAL READABILITY START ===== */

/*
  Rule for this showroom: important UI text must not be microscopic.
  The old demo layers intentionally used 6-10px labels. This late-loaded
  stylesheet raises them to readable sizes without changing application logic.
*/

html{font-size:16px!important}
body{font-size:16px!important;line-height:1.58!important}

/* General public showroom */
:where(
  .topbar,.hero,.hero-console,.section,.project-card,.services article,
  .workspace-shell,.contact-wrap,.brand-ecosystem,.site-footer,
  .nx-sheet-card,.nx60-generator,.nx60-arch-card,.nx60-palette-card,
  .nx60-theme-menu,.ops-modal,.tkh-modal
){
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

.section-head p,.hero-copy>p,.contact-copy>p{
  font-size:16px!important;
  line-height:1.65!important;
}
.project-card p,.services article>p{
  font-size:14.5px!important;
  line-height:1.58!important;
}
.project-card h3{font-size:19px!important;line-height:1.22!important}
.services article>b{font-size:17px!important;line-height:1.3!important}
.tags span,.project-card .tag,.proof span{font-size:11.5px!important}
.filters button,.btn,.nx-action{font-size:12.5px!important}
input,select,textarea{font-size:15px!important}

/* Core workspace */
.workspace-shell{font-size:15px!important}
.workspace-shell p,.workspace-shell li,.workspace-shell label,.workspace-shell td{
  font-size:13.5px!important;line-height:1.5!important
}
.workspace-shell small{font-size:11.5px!important;line-height:1.4!important}
.workspace-shell button,.workspace-shell input,.workspace-shell select{
  font-size:13px!important
}
.wsnav button,.sidebtn{font-size:12.5px!important}
.wsbrand b{font-size:15px!important}
.worktop h2{font-size:clamp(27px,3vw,40px)!important}

/* V6.0 Smart Solution Generator */
.nx60-arch-top{font-size:12px!important;min-height:46px!important}
.nx60-smart-badge{font-size:12px!important}
#nx60Brief{font-size:14px!important;line-height:1.55!important}
.nx60-examples button{font-size:12.5px!important;line-height:1.45!important}
.nx60-primary{font-size:12.5px!important;min-height:48px!important}
.nx60-result-top span,.nx60-result-top b{font-size:12px!important}
.nx60-detected small{font-size:11px!important}
.nx60-detected b{font-size:17px!important}
.nx60-module{font-size:12px!important}
.nx60-flow-title{font-size:11px!important}
.nx60-flow span{font-size:12px!important}
.nx60-result-actions button{font-size:12px!important;min-height:44px!important}

/* Architecture modal: screenshot problem fixed here */
.nx60-modal-head small{font-size:11px!important}
.nx60-modal-head h2{font-size:clamp(29px,3vw,42px)!important;line-height:1.12!important}
.nx60-modal-head p{font-size:13.5px!important;line-height:1.5!important}
.nx60-arch-card{
  width:min(1320px,97vw)!important;
}
.nx60-arch-body{
  min-height:390px!important;
  gap:14px!important;
  padding:30px 24px!important;
}
.nx60-arch-stage{min-width:175px!important}
.nx60-arch-stage.entry,.nx60-arch-stage.output{min-width:185px!important}
.nx60-arch-cluster{
  min-width:390px!important;
  grid-template-columns:repeat(2,minmax(175px,1fr))!important;
  gap:10px!important;
}
.nx60-arch-node{
  min-height:78px!important;
  grid-template-columns:38px 1fr!important;
  gap:10px!important;
  padding:12px!important;
}
.nx60-arch-node i{
  width:38px!important;height:38px!important;
  font-size:12px!important
}
.nx60-arch-node b{
  font-size:13px!important;
  line-height:1.35!important;
}
.nx60-arch-link{min-width:62px!important}
.nx60-arch-link span{font-size:16px!important}
.nx60-arch-legend{
  font-size:11px!important;
  line-height:1.4!important;
  gap:12px!important;
  padding:14px 20px 22px!important;
}

/* Command palette / theme */
#nx60PaletteInput{font-size:15px!important}
.nx60-palette-top kbd{font-size:10.5px!important}
.nx60-cmd b{font-size:13px!important}
.nx60-cmd span{font-size:11px!important}
.nx60-palette-foot{font-size:10.5px!important}
.nx60-no-results{font-size:13px!important}
.nx60-theme-menu>small{font-size:11px!important}
.nx60-theme-menu button{font-size:12.5px!important;min-height:40px!important}

/* V5.7 Operations demos */
.ops-kicker{font-size:11px!important}
.ops-top h2{font-size:clamp(28px,3vw,42px)!important}
.ops-top p{font-size:14px!important;line-height:1.55!important}
.ops-nav button{font-size:12.5px!important;min-height:39px!important}
.ops-body{font-size:14px!important}
.ops-panel h3{font-size:16px!important}
.ops-panel p{font-size:13px!important;line-height:1.5!important}
.ops-panel-head span{font-size:11.5px!important}
.ops-metric small{font-size:11px!important}
.ops-metric b{font-size:25px!important}
.ops-tr{font-size:12.5px!important;line-height:1.4!important;padding:11px 8px!important}
.ops-tr.head{font-size:11px!important}
.ops-log>div{font-size:12px!important;line-height:1.4!important}
.ops-form label,.ops-tablet label{font-size:12px!important}
.ops-form input,.ops-form select,.ops-tablet input,.ops-tablet select{
  font-size:13px!important;min-height:40px!important
}
.ops-action,.ops-service-demo{font-size:12px!important;min-height:39px!important}
.ops-card-flow{font-size:11.5px!important;line-height:1.4!important}
.pill{font-size:10.5px!important;padding:4px 7px!important}

/* V5.8 TikTok Hub */
.tkh-card-profiles{font-size:11.5px!important}
.tkh-service-btn{font-size:11.5px!important;min-height:38px!important}
.tkh-kicker{font-size:11px!important}
.tkh-top h2{font-size:clamp(29px,3vw,43px)!important}
.tkh-top p{font-size:14px!important;line-height:1.55!important}
.tkh-tabs button{font-size:12px!important;min-height:39px!important}
.tkh-block>label{font-size:11.5px!important}
.tkh-block>p{font-size:13px!important;line-height:1.55!important}
.tkh-segment button{font-size:12px!important}
.tkh-theme{font-size:11.5px!important}
.tkh-content-list span{font-size:13px!important}
.tkh-content-list small{font-size:11px!important}
.tkh-link-row>span{font-size:11px!important}
.tkh-link-row b{font-size:12.5px!important}
.tkh-link-row button{font-size:11px!important;min-height:32px!important}
.tkh-form label{font-size:12px!important}
.tkh-form input,.tkh-form select{font-size:13px!important;min-height:41px!important}
.tkh-action,.tkh-live-toggle{font-size:12px!important;min-height:42px!important}
.tkh-ready{font-size:12px!important}
.tkh-stat>div{font-size:12.5px!important}
.tkh-conv{font-size:12px!important}
.tkh-synth{font-size:11px!important}
.tkh-pin-row button{font-size:11px!important;min-height:36px!important}

/* Keep the phone preview compact, but actually readable */
.tkh-phone-status{font-size:10.5px!important}
.tkh-phone-live{font-size:10.5px!important}
.tkh-phone-hero small{font-size:10.5px!important}
.tkh-phone-hero h3{font-size:21px!important}
.tkh-phone-hero>b{font-size:12px!important}
.tkh-phone-hero p{font-size:11.5px!important;line-height:1.45!important}
.tkh-open-tt{font-size:11px!important}
.tkh-video small{font-size:10px!important}
.tkh-video b{font-size:13px!important}
.tkh-campaign-preview small{font-size:10px!important}
.tkh-campaign-preview h4{font-size:14px!important}
.tkh-campaign-preview button{font-size:11px!important}
.tkh-phone-link,.tkh-phone-brand{font-size:11px!important}

/* Share sheet */
.nx-sheet-head small{font-size:10.5px!important}
.nx-sheet-head h3{font-size:23px!important}
.nx-sheet-head p{font-size:12.5px!important}
.nx-share-grid button{font-size:11px!important}

/* Always-visible TikTok Hub launcher */
.nx-tiktok-hub-quick{
  display:inline-flex;align-items:center;gap:9px;
  min-height:44px;padding:10px 15px;
  border:1px solid rgba(0,242,234,.28);
  border-radius:12px;
  background:
    linear-gradient(135deg,rgba(0,242,234,.10),rgba(255,0,80,.075)),
    rgba(5,18,27,.80);
  color:#eefcff;
  font:600 12.5px var(--nx-font-display,"Oxanium","Segoe UI",sans-serif);
  letter-spacing:.035em;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  transition:.2s ease;
}
.nx-tiktok-hub-quick:hover{
  transform:translateY(-1px);
  border-color:rgba(0,242,234,.52);
  box-shadow:0 10px 28px rgba(0,242,234,.08),0 8px 26px rgba(255,0,80,.05);
}
.nx-tiktok-hub-quick i{
  width:25px;height:25px;display:grid;place-items:center;
  border-radius:8px;
  background:linear-gradient(135deg,#00f2ea,#ff0050);
  color:white;font-style:normal;font-size:15px;
}
.nx-tiktok-hub-quick small{
  font-size:10px!important;color:#7fa4b3;letter-spacing:.08em
}

@media(max-width:900px){
  .nx60-arch-body{
    align-items:stretch!important;
    flex-direction:column!important;
  }
  .nx60-arch-stage,.nx60-arch-stage.entry,.nx60-arch-stage.output,
  .nx60-arch-cluster{
    min-width:0!important;width:100%!important;
  }
  .nx60-arch-cluster{grid-template-columns:1fr 1fr!important}
  .nx60-arch-link{min-height:38px!important}
}

@media(max-width:720px){
  body{font-size:16px!important}
  .project-card p,.services article>p{font-size:14.5px!important}
  .ops-top p,.tkh-top p,.nx60-modal-head p{font-size:13.5px!important}
  .ops-nav button,.tkh-tabs button{font-size:12px!important}
  .nx60-arch-cluster{grid-template-columns:1fr!important}
  .nx60-arch-node b{font-size:13px!important}
  .nx60-arch-legend{font-size:10.5px!important}
  .nx-tiktok-hub-quick{width:100%;justify-content:center}
}

@media(prefers-reduced-motion:reduce){
  .nx-tiktok-hub-quick{transition:none}
}
/* ===== NEXACORE V6.4.6 GLOBAL READABILITY END ===== */
