
.advchar-final-section{background:linear-gradient(180deg,#fff 0%,#f5f9fd 100%);border-top:1px solid #e4edf4;border-bottom:1px solid #e4edf4}
.advchar-final-section .container{max-width:1280px;margin:0 auto}
.advchar-final-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.advchar-final-actions a,.advchar-final-actions button{border:0;background:none;padding:0;color:#0868b2;font-size:11px;font-weight:900;text-decoration:none;cursor:pointer}.advchar-final-actions button+button{padding-left:8px;border-left:1px solid #d5e1eb}.advchar-final-actions [data-advchar-submit-one]{color:#0b7f72}
.advchar-floating-hub-final{position:fixed;left:18px;right:18px;top:118px;z-index:2092;max-height:calc(100vh - 140px);overflow:auto;padding:18px;border:1px solid #d9e4ee;border-radius:18px;background:rgba(250,252,254,.98);color:#173854;box-shadow:0 22px 58px rgba(16,59,99,.20);backdrop-filter:blur(8px)}
.advchar-floating-hub-final[hidden],.advchar-floating-reopen-final[hidden]{display:none!important}.advchar-floating-close{position:absolute;right:12px;top:12px;width:36px;height:36px;border:1px solid #d8e4ef;border-radius:50%;background:#fff;color:#5b7185;font-size:24px;cursor:pointer}.advchar-floating-panel-head{padding:4px 44px 8px 2px}.advchar-floating-panel-kicker{display:block;margin-bottom:6px;color:#4c87b1;font-size:10px;font-weight:900;letter-spacing:2px}.advchar-floating-panel-head h2{margin:0!important;color:#173854!important;font-size:30px!important}.advchar-floating-panel-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:8px}
.advchar-floating-topic-card{--adv:#1768c5;position:relative;display:flex;flex-direction:column;min-height:180px;padding:14px;border:1px solid #dce6ef;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fbfd);box-shadow:0 8px 22px rgba(18,58,95,.06)}.advchar-floating-topic-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;border-radius:14px 14px 0 0;background:var(--adv)}.advchar-floating-topic-en{display:block;margin-top:2px;color:var(--adv);font-size:10px;font-weight:900;letter-spacing:1.2px}.advchar-floating-topic-card h3{margin:9px 0 7px;color:#173854;font-size:15px;line-height:1.4}.advchar-floating-topic-card p{margin:0;color:#6a7e90;font-size:11px;line-height:1.6}.advchar-floating-chip-row{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto;padding-top:10px}.advchar-floating-chip-row span{padding:3px 6px;border:1px solid #d8e3ed;border-radius:999px;background:#fff;color:#587082;font-size:9px;font-weight:800}.advchar-floating-card-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.advchar-floating-card-actions a,.advchar-floating-card-actions button{border:0;background:transparent;padding:0;color:var(--adv);font-size:11px;font-weight:900;cursor:pointer;text-decoration:none}.advchar-floating-card-actions [data-advchar-submit-one]{color:#0b7f72}
.advchar-floating-reopen-final{position:fixed;left:18px;top:145px;z-index:2091;padding:11px 14px;border:1px solid #d9e4ee;border-radius:12px;background:#fff;color:#173854;text-align:left;box-shadow:0 16px 38px rgba(5,54,96,.17);cursor:pointer}.advchar-floating-reopen-final strong,.advchar-floating-reopen-final small{display:block}.advchar-floating-reopen-final small{margin-top:3px;color:#6e8798;font-size:10px}
.hqtd-advchar-toast{position:fixed;left:50%;bottom:28px;z-index:99999;transform:translate(-50%,20px);opacity:0;padding:11px 18px;border-radius:9px;background:#173854;color:#fff;transition:.2s}.hqtd-advchar-toast.show{opacity:1;transform:translate(-50%,0)}
.amc-card-actions-final{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.amc-card-actions-final button{border:1px solid #bfd4e4;border-radius:7px;padding:8px 10px;background:#fff;color:#075b9a;font-weight:800;cursor:pointer}.amc-card-actions-final button[data-advchar-submit-one]{background:#075b9a;color:#fff;border-color:#075b9a}
@media(min-width:821px) and (max-width:1280px){.advchar-floating-panel-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:820px){.advchar-floating-hub-final{left:12px;right:12px;top:92px;max-height:calc(100vh - 112px);padding:14px}.advchar-floating-panel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.advchar-floating-panel-head h2{font-size:23px!important}.advchar-floating-reopen-final{left:12px;top:92px}.hqtd-advchar-toast{bottom:80px}}
\n/* FINAL floating layout override: homepage only, left-side 2 x 3 */
.advchar-floating-hub-final{
  left:20px!important;right:auto!important;top:118px!important;
  width:540px!important;max-width:calc(100vw - 40px)!important;
  max-height:calc(100vh - 140px)!important;
  padding:18px!important;
}
.advchar-floating-panel-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
.advchar-floating-topic-card{min-height:166px!important}
.advchar-floating-reopen-final{left:20px!important;right:auto!important;top:145px!important}
@media (max-width:820px){
 .advchar-floating-hub-final{left:12px!important;right:12px!important;top:92px!important;width:auto!important;max-width:none!important;padding:14px!important}
 .advchar-floating-panel-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .advchar-floating-reopen-final{left:12px!important;top:92px!important}
}
@media (max-width:520px){
 .advchar-floating-panel-grid{grid-template-columns:1fr!important}
}


/* FINAL homepage topic-float coordinator
   Three topic launchers are vertically stacked on the LEFT.
   Keep them compact by default so the homepage hero/promotion is not obscured.
   Only one full 2x3 topic panel may be open at a time. */
@media (min-width:821px){
  body.homepage-redone .highsim-floating-reopen-v103,
  body.homepage-redone .env-floating-reopen-v90,
  body.homepage-redone .advchar-floating-reopen-final{
    position:fixed!important;
    left:18px!important;
    right:auto!important;
    width:178px!important;
    min-width:178px!important;
    padding:10px 12px!important;
    border-radius:12px!important;
    background:rgba(250,252,254,.97)!important;
    box-shadow:0 10px 28px rgba(5,54,96,.13)!important;
    z-index:2095!important;
  }
  body.homepage-redone .highsim-floating-reopen-v103{top:126px!important}
  body.homepage-redone .env-floating-reopen-v90{top:194px!important}
  body.homepage-redone .advchar-floating-reopen-final{top:262px!important}

  body.homepage-redone .highsim-floating-hub-v103,
  body.homepage-redone .env-floating-hub-v90,
  body.homepage-redone .advchar-floating-hub-final{
    left:18px!important;
    right:auto!important;
    top:118px!important;
    width:520px!important;
    max-width:calc(100vw - 48px)!important;
    max-height:calc(100vh - 142px)!important;
    overflow:auto!important;
  }

  body.homepage-redone .highsim-floating-panel-grid,
  body.homepage-redone .env-floating-panel-grid,
  body.homepage-redone .advchar-floating-panel-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }

  body.homepage-redone .highsim-floating-topic-card,
  body.homepage-redone .env-floating-topic-card,
  body.homepage-redone .advchar-floating-topic-card{
    min-height:150px!important;
    padding:12px!important;
  }
}
