:root{scroll-behavior:auto !important}html,body{min-height:100%}body{display:flex;flex-direction:column;min-height:100vh;overflow-x:hidden}:lang(zh-Hant-HK),:lang(zh-Hant){font-family:system-ui,-apple-system,"Segoe UI","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;line-height:1.7}:lang(zh-Hans){font-family:system-ui,-apple-system,"Segoe UI","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;line-height:1.7}input,select,textarea,.form-control,.form-select{font-size:max(16px,1rem)}.app-navbar{z-index:1030}.nav-icon-btn{padding:.25rem .5rem}.bi{width:1em;height:1em;fill:currentColor;vertical-align:-.125em;flex-shrink:0;margin-inline-end:.4em}.bi-solo{margin:0}.bi-end{margin-inline:.35em 0}.bi-lg{font-size:1.25em}.theme-icon{display:none}:root:not([data-theme-pref]) .theme-icon-auto,[data-theme-pref="auto"] .theme-icon-auto,[data-theme-pref="light"] .theme-icon-light,[data-theme-pref="dark"] .theme-icon-dark{display:inline-block}.icon-tile{display:inline-flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:.75rem;font-size:1.4rem;flex:0 0 auto}.icon-tile .bi{margin:0}.app-sidebar .nav-link{display:flex;align-items:center}.app-sidebar .nav-link .bi{font-size:1.1rem;margin-inline-end:.65rem;opacity:.85}.app-sidebar .nav-link.active .bi{opacity:1}.hero{background:linear-gradient(135deg,var(--bs-primary-bg-subtle),transparent 75%);border-radius:1rem;padding:1.5rem 1.25rem}@media (min-width:992px){.hero{padding:2.5rem 2rem}}.feature-card{transition:border-color .15s,transform .15s}.feature-card:hover{border-color:var(--bs-primary)}.balance-badge{font-size:.85rem}.user-menu-btn{max-width:14rem;overflow:hidden;text-overflow:ellipsis}.app-shell{display:flex;flex:1 1 auto;min-width:0}.app-main{flex:1 1 auto;min-width:0}.public-main{flex:1 1 auto}.sidebar-heading{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--bs-secondary-color);padding:.75rem 1rem .25rem}@media (min-width:992px){.app-sidebar{width:15rem;flex:0 0 15rem;position:sticky;top:56px;height:calc(100vh - 56px);overflow-y:auto}}.auth-card{max-width:28rem}.auth-card-wide{max-width:44rem}.auth-narrow{max-width:36rem}.page-narrow{max-width:56rem}.code-input{letter-spacing:.5em;text-align:center;font-variant-numeric:tabular-nums}.stat-card{transition:border-color .15s}.stat-card:hover{border-color:var(--bs-primary)}.measure{max-width:80ch}.checkout-dropin{min-height:12rem}.btn,.form-check-input,.nav-link,.dropdown-item{min-height:44px}.btn-sm{min-height:36px}.form-check-input{min-height:1.25em}.form-check{min-height:44px;display:flex;align-items:center;gap:.5rem;padding-left:0}.form-check .form-check-input{float:none;margin-left:0;flex:0 0 auto}.form-switch .form-check-input{margin-left:0}@media (max-width:767.98px){.table-stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.table-stack,.table-stack tbody,.table-stack tr,.table-stack td{display:block;width:100%}.table-stack tr{border:1px solid var(--bs-border-color);border-radius:.5rem;margin-bottom:.75rem;padding:.5rem .75rem}.table-stack td{border:0;padding:.25rem 0;text-align:left !important;display:flex;gap:.75rem}.table-stack td[data-label]::before{content:attr(data-label);flex:0 0 40%;font-weight:600;color:var(--bs-secondary-color)}.table-stack td[colspan]{display:block}}.table-sticky-first th:first-child,.table-sticky-first td:first-child{position:sticky;left:0;background:var(--bs-body-bg);z-index:1}.sticky-actions{position:sticky;bottom:0;z-index:1020;background:var(--bs-body-bg);border-top:1px solid var(--bs-border-color);padding:.75rem}.sticky-counter{position:sticky;top:56px;z-index:1010;background:var(--bs-body-bg)}.answer-group .btn{min-width:4.5rem;min-height:44px}.hit-score{font-variant-numeric:tabular-nums}.text-pre{white-space:pre-wrap}@media print{.app-navbar,.app-sidebar,footer,.no-print,.sticky-actions,.btn{display:none !important}.app-main{width:100%}a{text-decoration:none;color:inherit}.card{border:0}.table-stack thead{position:static;width:auto;height:auto;clip:auto}}@media (max-width:767.98px){.table-responsive:has(>.table-stack){overflow-x:visible}}@media (min-width:1200px){.hit-panel{position:sticky;top:72px}.hit-panel .offcanvas-body{max-height:calc(100vh - 100px);overflow-y:auto}}.min-w-0{min-width:0}.law-refs a{display:inline-block;margin-inline:.35rem .5rem}.offer-chip{white-space:normal;text-align:start;font-size:.9rem;padding:.5em .85em;line-height:1.35}[data-bs-theme=light] #lang-switch{--bs-btn-color:#565e64}.ai-fab{position:fixed;right:1rem;bottom:1rem;width:3.5rem;height:3.5rem;z-index:1040;display:inline-flex;align-items:center;justify-content:center;padding:0}.ai-panel{position:fixed;right:1rem;bottom:5.25rem;width:min(380px,calc(100vw - 2rem));height:min(560px,calc(100vh - 7rem));min-width:280px;min-height:320px;max-width:calc(100vw - 1rem);max-height:calc(100vh - 1rem);display:flex;flex-direction:column;z-index:1041;resize:both;overflow:hidden}.ai-head{cursor:move;user-select:none;touch-action:none;min-height:44px}.ai-head .btn{min-height:0}.ai-dragging{opacity:.92}.ai-log{flex:1 1 auto;overflow-y:auto;padding:.75rem;display:flex;flex-direction:column;gap:.5rem;background:var(--bs-tertiary-bg)}.ai-msg{max-width:88%;padding:.5rem .75rem;border-radius:.75rem;overflow-wrap:anywhere}.ai-msg ul{margin:.25rem 0;padding-left:1.2rem}.ai-msg-user{align-self:flex-end;background:var(--bs-primary);color:#fff;white-space:pre-wrap}.ai-msg-bot,.ai-msg-greet{align-self:flex-start;background:var(--bs-body-bg);border:1px solid var(--bs-border-color)}.ai-msg-tools{display:flex;justify-content:flex-end;margin-top:.25rem}.ai-msg-tools .btn{min-height:0;line-height:1}.ai-msg-err{align-self:center;background:var(--bs-warning-bg-subtle);color:var(--bs-warning-text-emphasis);font-size:.875rem}.ai-msg-typing{align-self:flex-start;color:var(--bs-secondary-color)}.ai-form{display:flex;gap:.5rem;padding:.5rem}.ai-form textarea{resize:none}.ai-note{padding:0 .75rem .5rem}@media (max-width:575.98px){.ai-panel{left:.5rem;right:.5rem;bottom:5rem;width:auto;height:min(70vh,calc(100vh - 6rem));min-width:0;resize:none}.ai-head{cursor:default}}@media print{.ai-fab,.ai-panel{display:none !important}}.import-file-input{flex:1 1 14rem;max-width:32rem;min-width:0}