html button.ac-fab { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 16px 0 14px; border: 0; border-radius: 23px;
  background: var(--ac-bg, var(--btn, var(--ac, #2457d6))); color: var(--ac-fg, #ffffff); font: inherit; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; cursor: pointer; box-shadow: 0 6px 18px rgb(0 0 0 / 18%); }
.ac-fab svg { width: 20px; height: 20px; }
.ac-fab:hover { filter: brightness(1.05); }
.ac-fab:focus-visible { outline: 3px solid var(--ac, #2457d6); outline-offset: 3px; }
.ac-fab.on { opacity: 0; pointer-events: none; }
.ac-panel { position: fixed; right: 20px; bottom: 20px; z-index: 901; display: flex; flex-direction: column; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 40px));
  border: 1px solid var(--ln2, #d6d6d6); border-radius: 14px; background: var(--sf, #ffffff); color: var(--tx, #111111); box-shadow: 0 18px 50px rgb(0 0 0 / 22%); overflow: hidden; }
.ac-panel[hidden] { display: none; }
.ac-h { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--ln, #e6e6e6); }
.ac-h b { font-size: 15px; letter-spacing: -.02em; }
.ac-h small { padding: 1px 6px; border: 1px solid var(--ln2, #ccc); border-radius: 4px; color: var(--mu, #666); font-size: 11px; }
html .ac-x { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: var(--mu, #666); font-size: 16px; cursor: pointer; }
.ac-x:hover { background: var(--sf2, #f2f2f2); }
.ac-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px; overscroll-behavior: contain; }
.ac-b { max-width: 88%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.ac-b.a { align-self: flex-start; background: var(--sf2, #f2f3f5); color: var(--tx, #111); border-top-left-radius: 4px; }
.ac-b.u { align-self: flex-end; background: var(--ac-bg, var(--btn, var(--ac, #2457d6))); color: var(--ac-fg, #fff); border-top-right-radius: 4px; }
.ac-b.wait { color: var(--mu, #666); }
.ac-b.err { background: transparent; border: 1px solid var(--ln2, #ccc); color: var(--mu, #555); }
.ac-b a { color: inherit; text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.ac-chips { flex: none; align-self: stretch; display: flex; flex-direction: column; margin-top: 2px; border: 1px solid var(--ln2, #d6d6d6); border-radius: 10px; background: var(--sf, #fff); overflow: hidden; }
.ac-chips > b { padding: 8px 12px; border-bottom: 1px solid var(--ln, #e6e6e6); background: var(--sf2, #f4f5f7); color: var(--mu, #666); font-size: 12px; font-weight: 700; letter-spacing: -.01em; }
html .ac-chips button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-top: 1px solid var(--ln, #e6e6e6); border-radius: 0; background: none; color: var(--tx, #111); font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.4; text-align: left; word-break: keep-all; cursor: pointer; }
.ac-chips > b + button { border-top: 0; }
.ac-chips button::after { content: '›'; flex: none; color: var(--mu, #888); font-size: 17px; line-height: 1; }
html .ac-chips button:hover, html .ac-chips button:focus-visible { background: var(--sf2, #f4f5f7); color: var(--ac, #2457d6); outline: 0; }
.ac-f { display: flex; align-items: flex-end; gap: 6px; padding: 10px 10px 6px; border-top: 1px solid var(--ln, #e6e6e6); }
.ac-f textarea { flex: 1; min-height: 40px; max-height: 120px; padding: 9px 12px; border: 1px solid var(--ln2, #ccc); border-radius: 10px; background: var(--sf, #fff); color: var(--tx, #111); font: inherit; font-size: 14.5px; line-height: 1.4; resize: none; }
.ac-f textarea:focus { outline: 0; border-color: var(--btn, var(--ac, #2457d6)); }
.ac-dl { align-self: stretch; display: grid; gap: 3px; padding: 10px 12px; border: 1px solid var(--ln2, #d6d6d6); border-radius: 10px; background: var(--sf, #fff); font-size: 13.5px; }
.ac-dl b { font-size: 14px; }
.ac-dl span { color: var(--mu, #666); }
.ac-dl div { display: flex; gap: 8px; margin-top: 6px; }
.ac-dl a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--ln2, #ccc); border-radius: 8px; color: var(--tx, #111); font-weight: 700; text-decoration: none; }
.ac-dl a.pri { border-color: #107c41; background: #107c41; color: #ffffff; }
.ac-dl.err b { color: #c0392b; }
.ac-acts { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; max-width: 88%; margin-top: -2px; }
html .ac-acts .ac-act { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border: 1px solid var(--ln2, #ccc); border-radius: 8px; background: var(--sf, #fff); color: var(--tx, #111); font-size: 13.5px; font-weight: 700; line-height: 1.3; text-decoration: none; word-break: keep-all; }
html .ac-acts .ac-act::after { content: '›'; margin-left: 6px; color: var(--mu, #888); }
html .ac-acts .ac-act:hover { border-color: var(--ac, #2457d6); color: var(--ac, #2457d6); }
.ac-qr { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; }
html .ac-qr button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid var(--ln2, #ccc); border-radius: 8px; background: var(--sf, #fff); color: var(--tx, #111); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
html .ac-qr button.xl { border-color: #107c41; background: #107c41; color: #ffffff; }
html .ac-qr button.yes { border-color: var(--ac-bg, var(--btn, #2457d6)); background: var(--ac-bg, var(--btn, #2457d6)); color: var(--ac-fg, #fff); }
html .ac-dl a.pri svg, html .ac-qr button svg { flex: none; }
html .ac-f button { flex: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--ac-bg, var(--btn, var(--ac, #2457d6))); color: var(--ac-fg, #fff); cursor: pointer; }
.ac-f button svg { width: 18px; height: 18px; }
.ac-f.busy button { opacity: .5; pointer-events: none; }
.ac-foot { margin: 0; padding: 0 12px 10px; color: var(--mu2, #888); font-size: 11.5px; text-align: center; }
.ac-foot a { color: inherit; }
@media (max-width: 900px) {
  html button.ac-fab { right: 14px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); height: 44px; padding: 0 12px; box-shadow: 0 4px 14px rgb(0 0 0 / 20%); }
  .ac-fab span { display: none; }
  html button.ac-fab { width: 48px; height: 48px; justify-content: center; border-radius: 50%; }
  .ac-panel { right: 8px; left: 8px; width: auto; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); height: min(78vh, calc(100vh - 80px)); border-radius: 14px; }
}
.ln-toasts { pointer-events: none; }
.ln-toasts > * { pointer-events: auto; }
html body.fd button.ac-fab { border-radius: var(--r-sm, 6px); }
.ln-totop.ac-dtop { animation: acDockIn .18s ease-out; }
@keyframes acDockIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html.ac-open .ln-totop.ac-dtop { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .ln-totop.ac-dtop { animation: none; } }
@media print { .ac-fab, .ac-panel { display: none !important; } }
@media (max-width: 900px) { html body.fd:not(.fd-homeon) button.ac-fab { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); } }   
.ac-qr { align-items: center; }
html .ac-qr .ac-act { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border: 1px solid var(--ln2, #ccc); border-radius: 8px; background: var(--sf, #fff); color: var(--tx, #111); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
html .ac-qr .ac-act::after { content: '›'; margin-left: 6px; color: var(--mu, #888); }
html .ac-qr .ac-act:hover { border-color: var(--ac, #2457d6); color: var(--ac, #2457d6); }
.ac-faqw { position: relative; height: 0; }
html .ac-faq { position: absolute; right: 12px; bottom: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px 0 9px; border: 1px solid var(--ln2, #d6d6d6); border-radius: 999px; background: var(--sf, #fff); color: var(--tx, #111); font: inherit; font-size: 12.5px; font-weight: 600; line-height: 1; cursor: pointer; }
html .ac-faq[hidden] { display: none; }
.ac-faq svg { width: 15px; height: 15px; color: var(--ac, #2457d6); }
html .ac-faq:hover, html .ac-faq:focus-visible { border-color: var(--ac, #2457d6); color: var(--ac, #2457d6); outline: 0; }
.faq-on .ac-log { padding-bottom: 46px; }   
.ac-log > * { flex-shrink: 0; }
