/* T025 · Trang /ai-chat/ (bản anh Sơn duyệt tạm 23/11, ChatGPT thiết kế, Boss kiểm tra).
   Header, chân trang, nút, kicker, thẻ, màu, font dùng chung xanh.css; file này chỉ chứa phần riêng của trang. */
:root { --hd-h: 76px; --mbar-h: 0px; }
#ca-dem, #so-sanh, #cach-lap, #bang-gia, #hoi-dap, #thu-ngay { scroll-margin-top: calc(var(--hd-h) + 12px); }
/* ------------------------------------------------- act 1: the night shift -- */
  #ca-dem { color: var(--on-navy); }
  #ca-dem [data-sc-stage] { height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; padding-top: var(--hd-h); box-sizing: border-box;
    background: radial-gradient(60% 120% at 0% 100%, rgba(31, 107, 255, .55), transparent 60%),
                radial-gradient(40% 80% at 100% 0%, rgba(255, 122, 26, .28), transparent 60%),
                linear-gradient(160deg, var(--navy), var(--navy-2));
    --dawn: clamp(0, calc((var(--sc-p, 0) - 0.68) * 5.5), 1); }
  .lights, .dawn { position: absolute; inset: -12% 0; pointer-events: none; }
  .lights { background-image:
      radial-gradient(circle at 20% 30%, rgba(255, 214, 170, .5) 0 1.2px, transparent 2px),
      radial-gradient(circle at 70% 60%, rgba(190, 214, 255, .45) 0 1px, transparent 1.8px),
      radial-gradient(circle at 45% 80%, rgba(255, 214, 170, .3) 0 1px, transparent 1.8px);
    background-size: 140px 120px, 90px 110px, 170px 150px; opacity: calc(0.85 - var(--dawn) * 0.8); }
  .dawn { opacity: var(--dawn); background:
      radial-gradient(closest-side at 72% 96%, rgba(255, 154, 74, .35), transparent 70%),
      radial-gradient(closest-side at 30% 20%, rgba(61, 139, 255, .22), transparent 70%),
      linear-gradient(180deg, #CFE0FA 0%, #EAF2FF 55%, var(--bg) 100%); }

  .app { position: relative; z-index: 2; width: min(1140px, calc(100% - 2 * var(--gutter))); height: min(720px, calc(100svh - var(--hd-h) - 2.5rem));
    display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden;
    background: rgba(6, 26, 61, .82); border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 40px 80px -30px rgba(2, 10, 30, .75), inset 0 1px 0 rgba(255, 255, 255, .08); }
  .app__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 14px 20px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .shop { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .aic-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, #3D8BFF, var(--blue)); color: #fff; font: 700 14px/1 var(--f-body); }
  .shop__name { font-weight: 600; line-height: 1.25; }
  .aic-tag { display: inline-block; margin-top: 2px; font-size: 12.5px; color: #FFC9A3; }
  .aic-status { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: 14px; }
  .clock { font: 700 26px/1 var(--f-body); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; }
  .live { display: inline-flex; align-items: center; gap: 8px; color: var(--on-navy-muted); }
  .live i { width: 8px; height: 8px; border-radius: 50%; background: #4CD38A; box-shadow: 0 0 0 3px rgba(76, 211, 138, .2); }
  .meters { display: flex; gap: 18px; }
  .meter { display: grid; line-height: 1.2; }
  .meter small { font-size: 12px; color: var(--on-navy-muted); }
  .meter b { font: 700 18px/1.15 var(--f-body); font-variant-numeric: tabular-nums; }
  .meter--bot b { color: #7FE0AC; }
  .meter--self b { color: #FFA266; }

  .app__body { display: grid; grid-template-columns: 13.5rem 1fr 21rem; min-height: 0; }
  .chans { border-right: 1px solid rgba(255, 255, 255, .08); padding: 18px 12px; display: grid; align-content: start; gap: 4px; }
  .chans h2 { font: 600 11.5px/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #8FB8FF; margin: 0 8px 10px; }
  .chan { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: var(--r-sm); font-size: 14px; color: #E4ECF8; }
  .chan span { flex: 1; }
  .chan b { min-width: 26px; text-align: center; padding: 2px 8px; border-radius: var(--pill); background: rgba(255, 255, 255, .08); font: 600 12px/1.5 var(--f-body); font-variant-numeric: tabular-nums; }

  .thread { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 20px; overflow: hidden; min-height: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 3.5rem); mask-image: linear-gradient(180deg, transparent 0, #000 3.5rem); }
  .msg { max-width: min(30rem, 82%); padding: 11px 15px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; }
  .msg__meta { display: block; font-size: 11.5px; margin-bottom: 3px; opacity: .78; }
  .msg--khach { align-self: flex-start; background: rgba(255, 255, 255, .09); color: #fff; border-bottom-left-radius: 6px; }
  .msg--bot { align-self: flex-end; background: #fff; color: var(--ink); border-bottom-right-radius: 6px; }
  .msg--bot .msg__meta { color: var(--muted); opacity: 1; }
  .msg--sys { align-self: center; max-width: none; padding: 4px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .06); color: var(--on-navy-muted); font-size: 12.5px; }
  .msg--sys.is-flag { background: rgba(255, 106, 0, .18); color: #FFC9A3; }
  .booking { margin-top: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg-soft); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink); display: grid; gap: 2px; }
  .booking b { color: var(--blue); }
  .js .thread .msg { display: none; }
  .js .thread .msg.is-in { display: block; animation: msg-in 260ms cubic-bezier(.23, 1, .32, 1); }
  @keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

  .help { position: relative; border-left: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
  .help__card { position: absolute; inset: 28px 24px auto; display: grid; gap: 14px; }
  .help .kicker { color: #8FB8FF; margin: 0; }
  .help h1 { font-size: clamp(28px, 1.2rem + 1.2vw, 36px); line-height: 1.08; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
  .help h1 em { font-style: normal; color: #8FB8FF; }
  .help h2 { font-size: 24px; line-height: 1.15; color: #fff; text-wrap: balance; }
  .help p { font-size: 15px; line-height: 1.6; color: var(--on-navy-muted); text-wrap: pretty; }
  .help .btn { justify-self: start; }

  .report { position: absolute; z-index: 3; right: max(var(--gutter), calc((100% - 1140px) / 2 + 28px)); bottom: 6vh; width: min(25rem, calc(100% - 2 * var(--gutter)));
    color: var(--ink); padding: 22px 22px 18px; box-sizing: border-box; box-shadow: 0 30px 60px -18px rgba(6, 26, 61, .5), 0 4px 10px rgba(6, 26, 61, .15); }
  .report .kicker { margin-bottom: 8px; }
  .report h2 { font-size: 26px; margin-bottom: 4px; }
  .report > p { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
  .report dl { margin: 0; display: grid; grid-template-columns: 1fr auto; row-gap: 8px; column-gap: 16px; font-size: 14.5px; }
  .report dt { color: var(--muted); }
  .report dd { margin: 0; font: 700 16px/1.4 var(--f-body); text-align: right; font-variant-numeric: tabular-nums; }
  .report .zero { color: var(--ok); }
  .report__todo { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--ink); }


  /* comparison: before and after the assistant */
  #so-sanh { padding: 96px 0; }
  .cmp { display: grid; gap: 12px; }
  .cmp__head { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.25fr); padding: 0 24px; font: 600 12px/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
  .cmp__head span:last-child { color: var(--blue); }
  .cmp__row { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.25fr); align-items: center; padding: 18px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
  .cmp__old { color: var(--muted); line-height: 1.5; }
  .cmp__arrow { color: #9AAAC4; display: grid; place-items: center; }
  .cmp__new { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.5; color: var(--ink); }
  .cmp__new .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); margin-top: 0; }
  @media (max-width: 760px) {
    #so-sanh { padding: 72px 0; }
    .cmp__head { display: none; }
    .cmp__row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px 18px; }
    .cmp__old::before { content: "Cách cũ: "; font-weight: 600; }
    .cmp__arrow { display: none; }
  }

  /* -------------------------------------------------------- light sections -- */
  .sec { padding: 96px 0; position: relative; }
  .sec-soft { background: linear-gradient(rgba(234, 242, 255, .7), rgba(245, 249, 255, .3)); }
  .sec-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 40px; }
  .sec-head > p { color: var(--muted); font-size: 17px; }

  /* act 2: setup */
  #cach-lap { padding-top: 88px; }
  .aic-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .step { padding: 26px 22px; display: grid; align-content: start; gap: 12px; }
  .step__top { display: flex; align-items: center; justify-content: space-between; }
  .aic-num { font: 700 30px/1 var(--f-display); color: var(--blue); }
  .who { font-size: 12.5px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 4px 10px; border-radius: var(--pill); }
  .step h3 { font-size: 19px; }
  .step p { color: var(--muted); font-size: 15px; }
  .tick { width: 22px; height: 22px; border-radius: 7px; background: var(--blue-soft); display: grid; place-items: center; }
  .tick svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 3; fill: none; stroke-dasharray: 20; stroke-dashoffset: 20; }
  .aic-steps .sc-in .tick { background: var(--blue); transition: background-color .2s ease-out .35s; }
  .aic-steps .sc-in .tick svg { stroke-dashoffset: 0; transition: stroke-dashoffset .36s cubic-bezier(.23, 1, .32, 1) .45s; }
  .scope { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .scope > div { padding: 24px; }
  .scope h3 { font-size: 19px; margin-bottom: 12px; }
  .scope ul { display: grid; gap: 10px; }
  .scope li { display: flex; gap: 10px; line-height: 1.5; color: var(--muted); }
  .scope li .ico { margin-top: 2px; }
  .scope .yes .ico { color: var(--ok); }
  .scope .no .ico { color: var(--danger); }

  /* act 3: pricing rail */
  #bang-gia [data-sc-stage] { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: var(--hd-h); box-sizing: border-box;
    background: linear-gradient(rgba(234, 242, 255, .9), rgba(245, 249, 255, .6)); }
  .rail-x { display: flex; gap: 18px; padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2 + 20px)); align-items: stretch; }
  .rail-x > * { flex: none; width: clamp(17rem, 27vw, 24rem); box-sizing: border-box; }
  .plans__lead { display: grid; align-content: center; gap: 0; padding-right: 12px; }
  .plans__lead p { color: var(--muted); font-size: 17px; margin-top: 16px; }
  .plan { padding: 28px 24px; display: grid; align-content: start; gap: 14px; }
  .plan--pick { border: 1.5px solid var(--blue); }
  .plan h3 { font-size: 28px; }
  .plan__fit { font-size: 14.5px; color: var(--muted); min-height: 3.2em; }
  .price { display: grid; gap: 2px; padding-block: 14px; border-block: 1px solid var(--line); }
  .price b { font: 700 28px/1.15 var(--f-display); font-variant-numeric: lining-nums tabular-nums; }
  .price small { font-size: 12.5px; color: var(--muted); }
  .price .mo { font: 700 17px/1.35 var(--f-body); color: var(--blue); margin-top: 6px; }
  .plan ul { display: grid; gap: 8px; font-size: 14.5px; }
  .plan li { display: flex; gap: 8px; line-height: 1.5; }
  .plan li .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--ok); }
  .plan .pill { justify-self: start; font-size: 12.5px; padding: 4px 12px; }
  .plans__note { display: grid; align-content: center; gap: 10px; padding: 24px; border-radius: var(--r-lg); border: 1.5px dashed #B9C9E3; background: rgba(255, 255, 255, .5); }
  .plans__note h3 { font-size: 19px; }
  .plans__note p { font-size: 14.5px; color: var(--muted); }
  @media (prefers-reduced-motion: no-preference) {
    #bang-gia .rail-x > :not(:first-child) {
      opacity: clamp(0.55, calc(var(--sc-p, 0) * 6 - var(--i, 0) * 1.1 + 0.9), 1);
      transform: translateY(calc((1 - clamp(0, calc(var(--sc-p, 0) * 6 - var(--i, 0) * 1.1 + 0.9), 1)) * 18px)); }
  }

  /* act 4: questions, in the site's own Q&A pattern */
  .faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
  .faq-grid > div:first-child { display: grid; gap: 14px; align-content: start; }
  .faq-grid > div:first-child > p { color: var(--muted); font-size: 17px; }
  .qa-list { display: grid; gap: 12px; }
  .qa { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
  .qa[open] { border-color: var(--blue); box-shadow: var(--shadow); }
  .qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; border-radius: var(--r); }
  .qa summary::-webkit-details-marker { display: none; }
  .qa summary:hover { color: var(--blue); }
  .pm { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); }
  .pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); border-radius: 2px; transition: transform .2s; }
  .pm::after { transform: rotate(90deg); }
  .qa[open] .pm::after { transform: rotate(0deg); }
  .qa p { padding: 0 20px 20px; color: var(--muted); }

  /* act 5: the close is a live input */
  #thu-ngay [data-sc-stage] { height: 100vh; height: 100svh; display: grid; align-items: center; padding-top: var(--hd-h); box-sizing: border-box; background: var(--bg); }
  .try { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
  .try__copy { display: grid; gap: 18px; justify-items: start; }
  .try__copy .kicker { margin: 0; }
  .try__copy > p { color: var(--muted); font-size: 17px; max-width: 30em; }
  .fine { font-size: 14px !important; }
  .demo { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(6, 26, 61, .5);
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; height: min(32rem, calc(100svh - var(--hd-h) - 6rem)); }
  .demo__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14.5px; font-weight: 600; }
  .demo__head .aic-tag { margin: 0 0 0 auto; font-weight: 500; }
  .demo .thread { padding: 16px; }
  .demo .msg--khach { align-self: flex-end; background: var(--blue); color: #fff; border-radius: 18px 18px 6px 18px; }
  .demo .msg--bot { align-self: flex-start; border-radius: 18px 18px 18px 6px; }
  .aic-chips { display: flex; gap: 8px; padding: 0 16px 12px; overflow-x: auto; scrollbar-width: none; }
  .aic-chips button { flex: none; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #E4ECF8; border-radius: var(--pill); padding: 7px 14px;
    font: 500 13px/1.2 var(--f-body); cursor: pointer; transition: background-color .15s, border-color .15s; }
  .aic-chips button:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
  .composer { display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .composer input { flex: 1; min-width: 0; height: 48px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06);
    color: #fff; padding: 0 18px; font: 400 15.5px/1 var(--f-body); caret-color: var(--orange); box-sizing: border-box; }
  .composer input::placeholder { color: #9FB2D0; }
  .composer button { height: 48px; width: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
  .composer button:hover { background: var(--blue-hover); }

  
/* ------------------------------------------------------------ responsive -- */
  @media (max-width: 1180px) {
    .app__body { grid-template-columns: 1fr 19rem; }
    .chans { display: none; }
    .aic-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 959px) {
    .sec-head, .faq-grid, .try { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  }
  @media (max-width: 760px) {
    .sec { padding: 72px 0; }
    .app { width: calc(100% - 20px); height: calc(100svh - var(--hd-h) - 14px); border-radius: 20px; }
    .app__head { grid-template-columns: 1fr auto; gap: 10px; padding: 12px 14px; }
    .app__head .btn { min-height: 38px; padding: 0 14px; font-size: 13px; box-shadow: none; }
    .aic-status { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 10px; }
    .live { display: none; }
    .clock { font-size: 22px; }
    .meters { gap: 12px; }
    .app__body { grid-template-columns: 1fr; grid-template-rows: 11.75rem 1fr; }
    .help { grid-row: 1; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .help__card { inset: 14px 16px auto; gap: 8px; }
    .help h1 { font-size: 23px; }
    .help h2 { font-size: 19px; }
    .help p { font-size: 13.5px; line-height: 1.5; }
    .thread { padding: 14px; }
    .msg { max-width: 88%; font-size: 13.5px; }
    .report { left: 12px; right: 12px; width: auto; bottom: 16px; padding: 16px; }
    .report h2 { font-size: 21px; }
    .aic-steps, .scope { grid-template-columns: minmax(0, 1fr); }
    .rail-x > * { width: 82vw; }
    .try { gap: 16px; }
    .try__copy { gap: 12px; }
    .try__copy > p { font-size: 15.5px; }
    .try__copy .fine { display: none; }
    .demo { height: min(20rem, 44svh); }
  }
  @media (prefers-reduced-motion: reduce) {
    .js .thread .msg.is-in { animation: none; }
    .report { opacity: clamp(0, calc((var(--sc-p, 0) - 0.84) * 20), 1); }
    .btn:hover { transform: none; }
  }

  
/* Local redesign: preserve site identity and all supplied service copy. */
  #ca-dem { position: relative; }
  .js #ca-dem { height: 600svh; }
  #ca-dem [data-sc-stage] { position: relative; height: auto; padding: 32px 0; overflow: clip; }
  .js #ca-dem [data-sc-stage] { position: sticky; top: var(--hd-h); height: calc(100svh - var(--hd-h) - var(--mbar-h)); padding: 24px 0 36px; }
  .lights { background-size: 240px 200px, 175px 190px, 300px 260px; }
  .app { width: min(1160px, calc(100% - 40px)); height: auto; min-height: 600px; grid-template-rows: auto 1fr auto; background: #081e42; border-color: #526581; box-shadow: 0 32px 70px -24px #020c28b3; }
  .js .app { height: min(740px, calc(100svh - var(--hd-h) - var(--mbar-h) - 60px)); min-height: 0; }
  .app__head { gap: 16px; padding: 20px 24px; background: #102a50; }
  .shop__name { font-size: 17px; }
  .aic-status { gap: 18px; }
  .aic-status .live { position: absolute; z-index: 2; bottom: 28px; left: 24px; font-size: 12px; }
  .clock { font-size: clamp(30px, 3vw, 44px); font-weight: 500; letter-spacing: -.05em; }
  .meters { gap: 16px; padding-left: 18px; border-left: 1px solid #53627d; }
  .meter { gap: 4px; }
  .meter b { font-size: 24px; }
  .app__body { grid-template-columns: 11rem minmax(0,1fr) 21rem; }
  .chans { padding: 26px 12px; background: #071a38; }
  .chans h2 { font-size: 12px; letter-spacing: .12em; }
  .chan { padding: 12px 8px; gap: 8px; flex-wrap: nowrap; }
  .chan > span:not(.channel-icon) { flex: 1; }
  .chan .channel-icon { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 12px; background: #193d72; color: #d3e4ff; font-size: 12px; font-weight: 700; }
  .chan b { padding: 2px 6px; min-width: 22px; }
  .chan:first-of-type { background: #13315a; }
  .thread { gap: 14px; }
  #thread .msg { flex: 0 0 auto; }
  .msg { border-radius: 18px; }
  .msg--khach { border-bottom-left-radius: 12px; }
  .msg--bot { border-bottom-right-radius: 12px; }
  .msg__meta { font-size: 12px; opacity: 1; color: #d7e3f7; }
  .help { background: #0d254a; }
  .help__card { position: relative; inset: auto; padding: 32px 26px; gap: 18px; }
  .js .help__card { position: absolute; inset: 0 0 auto; opacity: 0; transition: opacity .12s, transform .18s; }
  .js .help__card:first-child { opacity: 1; }
  .help .kicker { font-size: 12px; letter-spacing: .13em; }
  .help h1 { font-size: 34px; line-height: 1.17; }
  .help h2 { font-size: 30px; line-height: 1.18; }
  .help p { font-size: 15px; line-height: 1.7; }
  .night-timeline { position: relative; display: flex; justify-content: space-between; padding: 20px 24px 20px 215px; background: #071a38; border-top: 1px solid #314663; }
  .night-track { position: absolute; left: 215px; right: 24px; height: 2px; top: 0; background: #354d70; }
  .night-progress { display: block; height: 100%; background: #8fb8ff; transform: scaleX(0); transform-origin: left; }
  .night-time { background: none; color: #bbcce8; border: 0; border-radius: 12px; padding: 5px 9px; font-size: 12px; font-variant-numeric: tabular-nums; cursor: pointer; }
  .night-time.is-past { color: #fff; background: #17396b; }
  .night-time:hover { color: #fff; }
  .report { position: relative; margin: 28px auto 0; bottom: auto; right: auto; width: min(420px,calc(100% - 40px)); border: 1px solid #b9c9e3; padding: 24px; }
  .js .report { position: absolute; margin: 0; right: max(28px, calc((100% - 1160px) / 2 + 22px)); bottom: 24px; opacity: 0; visibility: hidden; pointer-events: none; }
  .report dl { row-gap: 10px; }
  .report dd { font-size: 20px; }
  .report__todo { margin-bottom: 0 !important; color: var(--ink) !important; }
  .sec-head { gap: 60px; margin-bottom: 36px; }
  .step { padding: 28px 24px; gap: 16px; box-shadow: 0 8px 24px #0b5cf008; }
  .aic-num { font-size: 42px; }
  .step h3 { font-size: 21px; }
  .tick { border-radius: 12px; }
  .aic-steps .sc-in .tick { background: var(--blue); transition: none; }
  .aic-steps .sc-in .tick svg { stroke-dashoffset: 0; transition: none; }
  .scope { margin-top: 24px; gap: 24px; }
  .scope > div { box-shadow: none; background: #ffffffb3; padding: 28px; }
  #bang-gia { padding: 96px 0; background: var(--bg-soft); }
  #bang-gia [data-sc-stage] { display: block; height: auto; padding: 0; overflow: visible; background: none; }
  .rail-x { width: 100%; max-width: 1200px; margin: auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .rail-x > * { width: auto; opacity: 1 !important; transform: none !important; }
  .plans__lead { grid-column: 1/-1; display: block; padding: 0; max-width: 640px; margin-bottom: 12px; }
  .plans__lead .kicker, .try__copy .kicker, .faq-grid .kicker { color: var(--blue); }
  .plan { position: relative; padding: 32px 28px; gap: 18px; box-shadow: 0 8px 24px #0b5cf008; }
  .plan--pick { border-width: 2px; box-shadow: 0 16px 40px #0b5cf018; }
  .plan:not(:has(.pill)) { padding-top: 72px; }
  .plan .pill { font-size: 13px; }
  .plan h3 { font-size: 30px; }
  .price { padding: 20px 0; }
  .price b { font-size: 34px; }
  .price .mo { margin-top: 12px; }
  .plans__note { grid-column: 1/-1; display: grid; grid-template-columns: .8fr 1.6fr; gap: 40px; padding: 24px 28px; border: 1px dashed #95aacb; }
  .faq-grid { gap: 72px; }
  .qa summary { padding: 22px 24px; }
  .qa p { padding: 0 24px 24px; }
  #thu-ngay { padding: 72px 0; }
  #thu-ngay [data-sc-stage] { height: auto; min-height: calc(100svh - var(--hd-h) - 144px); padding: 0; }
  .demo { height: 500px; }
  .demo .thread { overflow-y: auto; justify-content: flex-start; mask-image: none; -webkit-mask-image: none; scrollbar-width: thin; }
  .demo .msg { flex: 0 0 auto; }
  .demo .msg--khach { border-radius: 18px 18px 12px 18px; }
  .demo .msg--bot { border-radius: 18px 18px 18px 12px; }
  .demo__head { padding: 16px 20px; }
  .nojs-note { padding: 16px; font-size: 14px; }
  html:not(.js) .thread { overflow: visible; mask-image: none; -webkit-mask-image: none; }
  html:not(.js) .night-timeline, html:not(.js) .composer, html:not(.js) .aic-chips { display: none; }
  html:not(.js) .app__body { align-items: start; }
  html:not(.js) .tick svg { stroke: var(--blue); stroke-dashoffset: 0; }
  @media (min-width:960px) and (max-width:1200px) {
  }
  @media (max-width:1100px) {
    .app__body { grid-template-columns: minmax(0,1fr) 20rem; }
    .chans { display: none; }
    .aic-status .live { display: none; }
    .night-timeline { padding-left: 24px; }
    .night-track { left: 24px; }
    .app__head { gap: 12px; padding: 16px; }
    .meters { gap: 12px; padding-left: 12px; }
    .plan { padding: 28px 22px; }
  }
  @media (max-width:959px) {
    .try { grid-template-columns: 1fr 1fr; gap: 24px; }
    .clock { font-size: 30px; }
    .meter small { font-size: 11px; }
    .app__head .btn { font-size: 13px; padding-inline: 14px; }
    .faq-grid { gap: 28px; }
    .plans__note { gap: 24px; }
    .price b { font-size: 28px; }
  }
  @media (max-width:760px) {
    .js #ca-dem [data-sc-stage] { padding: 10px 0 16px; }
    .app { width: calc(100% - 20px); border-radius: 18px; }
    .js .app { height: calc(100svh - var(--hd-h) - var(--mbar-h) - 26px); }
    .app__head { padding: 12px; gap: 12px 6px; }
    .shop { gap: 8px; }
    .aic-avatar { width: 30px; height: 30px; font-size: 12px; }
    .shop__name { font-size: 15px; }
    .aic-tag { font-size: 10px; white-space: nowrap; }
    .app__head .btn { font-size: 11px; padding: 0 10px; min-height: 38px; }
    .aic-status { gap: 8px; padding-top: 10px; border-top: 1px solid #3c5273; }
    .aic-status .clock { font-size: 32px; }
    .meters { border: 0; padding: 0; gap: 14px; }
    .meter { gap: 4px; }
    .meter small { font-size: 10px; }
    .meter b { font-size: 22px; }
    .app__body { grid-template-columns: minmax(0,1fr); grid-template-rows: 11.75rem minmax(0,1fr); }
    .help { grid-row: 1; }
    .help__card { padding: 16px 18px; gap: 9px; }
    .help .kicker { font-size: 10px; letter-spacing: .12em; }
    .help h1 { font-size: 27px; line-height: 1.16; text-wrap: auto; }
    .help h2 { font-size: 25px; line-height: 1.15; }
    .help p { font-size: 13px; line-height: 1.55; }
    #thread { padding: 14px; gap: 10px; }
    .msg { font-size: 13px; padding: 10px 12px; max-width: 91%; }
    .msg__meta { font-size: 11px; }
    .night-timeline { padding: 10px 10px; }
    .night-track { left: 12px; right: 12px; }
    .night-time { font-size: 11px; padding: 5px 8px; min-height: 30px; }
    .js .report { left: 18px; right: 18px; width: auto; bottom: 25px; padding: 18px; }
    .report .kicker { font-size: 10px; }
    .report h2 { font-size: 24px; }
    .report > p { font-size: 12px; }
    .report dl { font-size: 13px; row-gap: 8px; }
    .report dd { font-size: 18px; }
    .report__todo { font-size: 12px; }
    .sec-head { gap: 18px; }
    .scope { gap: 16px; }
    #bang-gia { padding: 72px 0; }
    .rail-x { grid-template-columns: minmax(0,1fr); gap: 20px; }
    .plans__lead { margin-bottom: 8px; }
    .plan { padding: 26px; gap: 16px; }
    .plan:not(:has(.pill)) { padding-top: 26px; }
    .plan__fit { min-height: 0; }
    .price b { font-size: 32px; }
    .plans__note { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
    .try { grid-template-columns: minmax(0,1fr); gap: 20px; }
    #thu-ngay { padding: 24px 0; }
    #thu-ngay [data-sc-stage] { min-height: 0; }
    .try__copy { gap: 12px; }
    .try__copy h2 { font-size: 30px; }
    .try__copy > p { font-size: 14px; line-height: 1.55; }
    .try__copy .btn { min-height: 46px; font-size: 14px; }
    .demo { height: 320px; border-radius: 18px; }
    .demo__head { padding: 10px 14px; }
    .demo__head .aic-tag { font-size: 11px; }
    .demo .thread { padding: 12px; gap: 8px; }
    .composer { padding: 10px 12px 12px; }
    .composer input { font-size: 16px; height: 44px; padding-inline: 14px; }
    .composer button { width: 44px; height: 44px; }
    .aic-chips { padding: 0 12px 8px; }
    .aic-chips button { font-size: 12px; }
    html:not(.js) .app__body { display: block; }
  }
  @media (max-width:380px) {
    .app__head .btn { font-size: 10px; padding-inline: 8px; }
    .help h1 { font-size: 25px; }
    .help p { font-size: 12px; }
    .meters { gap: 8px; }
  }
  @media (prefers-reduced-motion:reduce) {
    .help__card, .report, .lights { transform: none !important; }
  }

