.ui-btn{border:1px solid var(--shell-line);background:var(--shell-surface);color:var(--shell-ink);border-radius:6px;padding:6px 12px;font-size:var(--fs-12);cursor:pointer;white-space:nowrap;font:inherit;line-height:1.25}.ui-btn:hover:not(:disabled){border-color:var(--shell-primary);color:var(--shell-primary)}.ui-btn:disabled{opacity:.45;cursor:not-allowed}.ui-btn-primary{background:var(--shell-primary);border-color:var(--shell-primary);color:var(--shell-on-accent)}.ui-btn-primary:hover:not(:disabled){background:var(--shell-primary-hover);border-color:var(--shell-primary-hover);color:var(--shell-on-accent)}.ui-btn-ghost{background:transparent;border-color:transparent}.ui-btn-ghost:hover:not(:disabled){background:var(--shell-primary-soft);border-color:transparent}.ui-btn-sm{padding:4px 10px;font-size:var(--fs-12)}.ui-badge{display:inline-flex;align-items:center;gap:6px;font-size:var(--fs-12);line-height:1;white-space:nowrap;padding:5px 8px;border-radius:999px;border:1px solid var(--shell-line);background:var(--shell-surface-subtle);color:var(--shell-muted)}.ui-badge.is-on{color:var(--shell-primary);border-color:var(--shell-primary-line);background:var(--shell-primary-soft)}.ui-badge.is-warn{color:var(--shell-warning);border-color:var(--shell-warning-line);background:var(--shell-warning-soft)}.ui-badge.is-danger{color:var(--shell-danger);border-color:var(--shell-danger-line);background:var(--shell-danger-soft)}.ui-badge .ui-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.ui-badge-count{min-width:18px;padding:0 5px;height:18px;border-radius:9px;background:var(--shell-surface);color:var(--shell-primary);font-size:var(--fs-12);font-weight:var(--fw-semibold);display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--shell-primary-line)}.ui-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;min-width:0}.ui-page-header-text{min-width:0}.ui-page-header-title{margin:0;font-size:var(--fs-16);font-weight:var(--fw-semibold);color:var(--shell-ink)}.ui-page-header-subtitle{margin:4px 0 0;font-size:var(--fs-13);color:var(--shell-muted)}.ui-page-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.ui-play-tabs{display:flex;flex-wrap:wrap;gap:4px;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:10px;padding:8px}.ui-play-tab{text-decoration:none;color:var(--shell-muted);font-size:var(--fs-12);padding:5px 9px;border-radius:6px;border:1px solid transparent;white-space:nowrap;background:transparent;cursor:pointer;font:inherit}.ui-play-tab:hover{color:var(--shell-primary);background:var(--shell-primary-soft)}.ui-play-tab.is-active{color:var(--shell-on-accent);background:var(--shell-primary);font-weight:var(--fw-semibold)}.ui-play-tabs-mobile{display:none}.ui-play-current{display:flex;align-items:baseline;gap:8px;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:10px;padding:8px 10px}.ui-play-current-label{font-size:var(--fs-12);color:var(--shell-muted)}.ui-play-pinned-scroll{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:2px}.ui-play-pinned-scroll .ui-play-tab{flex-shrink:0;border:1px solid var(--shell-line);background:var(--shell-surface)}.ui-play-more-btn{border-style:dashed!important;color:var(--shell-primary)}.ui-filter-bar{background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:10px;padding:10px 12px;min-width:0}.ui-filter-bar-toggle{display:none;border:1px solid var(--shell-line);background:var(--shell-surface);border-radius:6px;padding:6px 10px;font-size:var(--fs-12);cursor:pointer;font:inherit}.ui-filter-bar-body{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:end}.ui-summary-cards{display:grid;gap:8px;min-width:0}.ui-summary-cards:not(.is-compact){grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.ui-summary-cards.is-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-summary-card{background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:8px;padding:8px 10px;display:flex;flex-direction:column;gap:4px;min-height:56px;min-width:0}.ui-summary-card-label{font-size:var(--fs-12);color:var(--shell-muted)}.ui-summary-card-value{font-size:var(--fs-14);font-weight:var(--fw-semibold);color:var(--shell-ink)}.ui-table-panel{background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:10px;display:flex;flex-direction:column;min-height:220px;min-width:0}.ui-table-wrap{overflow:auto;flex:1;min-height:180px;max-width:100%}.ui-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:560px}.ui-table th,.ui-table td{border-bottom:1px solid var(--shell-line);padding:8px 10px;font-size:var(--fs-13);text-align:left;vertical-align:top;word-break:break-word}.ui-table th{position:sticky;top:0;background:var(--shell-surface-subtle);z-index:1;font-weight:var(--fw-semibold);color:var(--shell-muted)}.ui-table tr.ui-table-virtual-spacer,.ui-table tr.ui-table-virtual-spacer td{max-height:none;padding:0;border:0}.ui-table-state{text-align:center;color:var(--shell-muted);padding:28px 12px}.ui-table-state.is-error{color:var(--shell-danger)}.ui-mobile-list{display:flex;flex-direction:column;gap:8px;min-width:0}.ui-mobile-card{background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:6px}.ui-mobile-card-row{display:flex;justify-content:space-between;gap:10px;font-size:var(--fs-13)}.ui-mobile-card-row .label{color:var(--shell-muted);flex-shrink:0}.ui-mobile-card-row .value{text-align:right;word-break:break-word}.ui-pagination{display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 10px;border-top:1px solid var(--shell-line);font-size:var(--fs-12);color:var(--shell-muted);min-height:40px;flex-shrink:0}.ui-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:28px 16px;text-align:center;color:var(--shell-muted);font-size:var(--fs-13);min-height:120px}.ui-state-title{margin:0;font-size:var(--fs-14);font-weight:var(--fw-semibold);color:var(--shell-ink)}.ui-state-desc{margin:0;max-width:420px;line-height:1.5}.ui-state-action{margin-top:2px;min-height:30px;padding:0 14px;border:1px solid var(--shell-line-strong);border-radius:6px;background:var(--shell-surface);color:var(--shell-primary);font-size:var(--fs-13);font-weight:var(--fw-medium);cursor:pointer}.ui-state-action:hover{border-color:var(--shell-primary-line);background:var(--shell-primary-soft)}.ui-state.is-error .ui-state-title{color:var(--shell-danger)}.ui-state.is-offline{background:var(--shell-warning-soft);border:1px solid var(--shell-warning-line);border-radius:10px;color:var(--shell-warning)}.ui-state.is-offline .ui-state-title{color:var(--shell-warning)}.ui-state-spinner{width:24px;height:24px;border:2px solid var(--shell-line);border-top-color:var(--shell-primary);border-radius:50%;animation:ui-spin .7s linear infinite}@keyframes ui-spin{to{transform:rotate(360deg)}}.ui-dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:55;display:flex;align-items:center;justify-content:center;padding:16px;background:#0f172a66}.ui-dialog{width:min(420px,100%);background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:12px;box-shadow:0 10px 30px #0f172a2e;padding:16px}.ui-dialog-title{margin:0 0 8px;font-size:var(--fs-14);font-weight:var(--fw-semibold)}.ui-dialog-body{margin:0 0 16px;font-size:var(--fs-13);color:var(--shell-ink);line-height:1.5}.ui-dialog-confirmation{display:grid;gap:7px;margin:0 0 16px;color:var(--shell-muted);font-size:var(--fs-12)}.ui-dialog-confirmation strong{color:var(--shell-ink)}.ui-dialog-confirmation input{width:100%;height:36px;border:1px solid var(--shell-line);border-radius:7px;padding:0 9px;background:var(--shell-surface);color:var(--shell-ink);font:inherit}.ui-dialog-confirmation input:focus{border-color:var(--shell-primary);outline:2px solid color-mix(in srgb,var(--shell-primary) 18%,transparent)}.ui-dialog-actions{display:flex;justify-content:flex-end;gap:8px}.ui-qr-dialog .ui-qr-frame{display:flex;flex-direction:column;align-items:center;gap:12px;padding:8px 0 4px}.ui-qr-image{width:200px;height:200px;border:1px solid var(--shell-line);border-radius:8px;background:var(--shell-surface-subtle);object-fit:contain}.ui-qr-placeholder{width:200px;height:200px;border:1px dashed var(--shell-line);border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--shell-muted);font-size:var(--fs-13);background:var(--shell-surface-subtle)}.ui-qr-status{margin:0;font-size:var(--fs-13);color:var(--shell-muted);text-align:center}.ui-toast-host{position:fixed;top:calc(var(--shell-topbar-h, 48px) + 10px);right:12px;z-index:60;display:flex;flex-direction:column;gap:8px;pointer-events:none;max-width:min(360px,calc(100vw - 24px))}.ui-toast{pointer-events:auto;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:8px;box-shadow:0 6px 20px #0f172a1f;padding:10px 12px;font-size:var(--fs-13);color:var(--shell-ink);display:flex;align-items:flex-start;gap:10px}.ui-toast.is-info,.ui-toast.is-success{border-left:3px solid var(--shell-primary)}.ui-toast.is-warn{border-left:3px solid #faad14}.ui-toast.is-error{border-left:3px solid var(--shell-danger)}.ui-toast-dismiss{margin-left:auto;border:0;background:transparent;color:var(--shell-muted);cursor:pointer;font:inherit;padding:0 2px;flex-shrink:0}.ui-status-panel{background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:10px;padding:12px;min-width:0}.ui-status-panel-title{margin:0 0 10px;font-size:var(--fs-13);font-weight:var(--fw-semibold)}.ui-status-panel-row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--shell-line);font-size:var(--fs-13)}.ui-status-panel-row:last-child{border-bottom:0}.ui-status-panel-label{color:var(--shell-muted)}.ui-sync-indicator{display:inline-flex;align-items:center;gap:6px;font-size:var(--fs-12);color:var(--shell-muted)}.ui-sync-indicator.is-active{color:var(--shell-primary)}.ui-sync-indicator .ui-dot{width:6px;height:6px;border-radius:50%;background:currentColor}@media(max-width:767px){.ui-play-tabs-desktop{display:none}.ui-play-tabs-mobile{display:flex;flex-direction:column;gap:8px}.ui-filter-bar-toggle{display:inline-flex}.ui-filter-bar:not(.is-open) .ui-filter-bar-body{display:none}.ui-filter-bar.is-open .ui-filter-bar-body{display:flex;margin-top:8px}}@media(min-width:768px){.ui-play-tabs-mobile{display:none}.ui-play-tabs-desktop{display:flex}}.ui-summary-cards.play-summary{grid-template-columns:repeat(7,minmax(0,1fr))}@media(max-width:1100px){.ui-summary-cards.play-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:767px){.ui-summary-cards.play-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}.shell-ico-menu{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6h18v2H3V6zm0 5h18v2H3v-2zm0 5h18v2H3v-2z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6h18v2H3V6zm0 5h18v2H3v-2zm0 5h18v2H3v-2z'/%3E%3C/svg%3E")}.shell-ico-refresh{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17.65 6.35A7.95 7.95 0 0012 4V1L7 6l5 5V7a6 6 0 11-6 6H4a8 8 0 1013.65-6.65z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17.65 6.35A7.95 7.95 0 0012 4V1L7 6l5 5V7a6 6 0 11-6 6H4a8 8 0 1013.65-6.65z'/%3E%3C/svg%3E")}.shell-ico-user{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 100-8 4 4 0 000 8zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 100-8 4 4 0 000 8zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5z'/%3E%3C/svg%3E")}.conversation-message-table-shell{min-width:0;flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.conversation-message-table .ui-table-wrap{overflow-x:auto;overflow-y:hidden}.conversation-message-table-shell .ui-table-panel,.conversation-message-table-shell .ui-table-wrap{flex:1 1 auto;min-height:0;overflow:auto}.conversation-message-table .ui-table{width:100%;min-width:820px;table-layout:fixed}.conversation-message-table .ui-table th,.conversation-message-table .ui-table td{height:42px;max-height:42px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;vertical-align:middle}.conversation-message-table .ui-table tbody tr{height:42px}.conversation-message-table__content,.conversation-message-table__status,.conversation-message-table__cell{display:block;width:100%;min-width:0;overflow:hidden;color:inherit;white-space:nowrap;text-overflow:ellipsis}.conversation-message-table__status.is-red{color:var(--shell-danger);font-weight:var(--fw-semibold)}.conversation-message-table__status.is-blue{color:var(--shell-primary);font-weight:var(--fw-semibold)}.conversation-message-table__content{color:var(--shell-primary, #1677ff)}.conversation-message-table__recognized{margin:0 0 6px;color:var(--shell-teal);font-size:var(--fs-12)}.conversation-message-table .ui-table tbody tr.is-clickable{cursor:pointer}.conversation-message-table .ui-table tbody tr.is-clickable:hover td{background:var(--shell-primary-soft, #eef6ff)}.conversation-message-table__pager{margin-top:10px;display:flex;align-items:center;justify-content:center;gap:12px}.conversation-message-table__pagination{margin-top:0;display:flex;align-items:center;justify-content:center;gap:8px}.conversation-message-table__loadmore{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px}.conversation-message-table__loading-hint{padding:6px 12px;font-size:var(--fs-12);color:var(--shell-muted, #6b7280);text-align:center;border-bottom:1px solid var(--shell-line, #e5e7eb)}.conversation-message-table .ui-table-quiet-loading td{height:48px}.conversation-message-detail{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80}.conversation-message-detail__mask{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a7a}.conversation-message-detail__sheet{position:absolute;top:50%;left:50%;width:min(760px,calc(100vw - 32px));max-height:min(82vh,760px);padding:16px;overflow:auto;transform:translate(-50%,-50%);border:1px solid var(--shell-line, #e5e7eb);border-radius:8px;background:var(--shell-surface, #fff);box-shadow:0 18px 48px #0f172a3d}.conversation-message-detail__sheet header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.conversation-message-detail__sheet h2{margin:0;font-size:var(--fs-14)}.conversation-message-detail__sheet dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:0 0 12px}.conversation-message-detail__sheet dt{color:var(--shell-muted, #6b7280);font-size:var(--fs-12)}.conversation-message-detail__sheet dd{margin:2px 0 0;overflow-wrap:anywhere}.conversation-message-detail__sheet pre{margin:0;padding:14px;overflow:auto;border:1px solid var(--shell-line, #e5e7eb);border-radius:6px;background:var(--shell-surface-subtle);font-family:inherit;font-size:var(--fs-14);line-height:1.55;white-space:pre-wrap;word-break:break-word}@media(max-width:767px){.conversation-message-detail__sheet{top:auto;right:0;bottom:0;left:0;width:100%;max-height:82vh;transform:none;border-radius:8px 8px 0 0}.conversation-message-detail__sheet dl{grid-template-columns:minmax(0,1fr)}}.conversation-message-table__conclusion.is-unuploaded,.conversation-message-table__conclusion.is-pending{color:var(--shell-warning, #b45309)}.conversation-message-table__conclusion.is-ordered{color:var(--shell-teal, #0f766e)}.conversation-message-table__conclusion.is-other{color:var(--shell-muted, #6b7280)}.conversation-message-table__market{font-weight:var(--fw-semibold)}.conversation-message-table__market.is-new-macau{color:var(--market-new-macau, #1f6feb)}.conversation-message-table__market.is-old-macau{color:var(--market-old-macau, #8250df)}.conversation-message-table__market.is-hong-kong{color:var(--market-hong-kong, #bf3989)}.fb-page{display:flex;flex-direction:column;gap:10px;min-width:0;width:100%;padding-bottom:8px}.fb-page[data-testid=page-order_monitor]{height:calc(100vh - 104px);min-height:0;flex:1 1 auto}.fb-page[data-testid=page-order_monitor] .fb-table-desktop{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.fb-toolbar{background:var(--shell-surface);border:1px solid var(--shell-line, #d7e0ec);border-radius:10px;padding:10px 12px;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 16px}.fb-title{margin:0;font-size:var(--fs-16);font-weight:var(--fw-semibold)}.fb-sync-meta{color:var(--shell-muted, #6b7c93);font-size:var(--fs-12);display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center}.fb-sync-meta .sep{opacity:.5}.fb-sync-meta .warn{color:var(--shell-warning);font-weight:var(--fw-semibold)}.fb-banner{border-radius:8px;padding:8px 12px;font-size:var(--fs-13);border:1px solid transparent}.fb-banner.remote{background:var(--shell-warning-soft);border-color:#fdba74;color:var(--shell-warning)}.fb-banner.perm{background:var(--shell-danger-soft);border-color:var(--shell-danger-line);color:var(--shell-danger)}.fb-banner.error{background:var(--shell-danger-soft);border-color:var(--shell-danger-line);color:var(--shell-danger);display:flex;align-items:center;justify-content:space-between;gap:12px}.fb-banner.info{background:var(--shell-primary-soft);border-color:var(--shell-primary-line);color:var(--shell-primary)}.fb-summary{min-width:0}.fb-filters{background:var(--shell-surface);border:1px solid var(--shell-line, #d7e0ec);border-radius:10px;padding:10px 12px}.fb-filters-toggle{display:none;border:1px solid var(--shell-line, #d7e0ec);background:var(--shell-surface);border-radius:6px;padding:6px 10px;font-size:var(--fs-12);cursor:pointer;margin-bottom:8px}.fb-filters-row{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:end}.fb-filters-row .fb-conclusion-bar{flex:1 1 100%}.fb-filters label{display:flex;flex-direction:column;gap:4px;font-size:var(--fs-12);color:var(--shell-muted, #6b7c93)}.fb-filters input,.fb-filters select{min-width:120px;height:32px;border:1px solid var(--shell-line, #d7e0ec);border-radius:6px;padding:0 8px;font:inherit;color:var(--shell-ink, #1f2a37);background:var(--shell-surface)}.fb-filter-actions{display:flex;gap:8px;align-items:center}.fb-btn{height:32px;padding:0 12px;border-radius:6px;border:1px solid var(--shell-line, #d7e0ec);background:var(--shell-surface);font:inherit;font-size:var(--fs-12);cursor:pointer}.fb-btn:disabled{opacity:.55;cursor:not-allowed}.fb-btn.primary{background:var(--shell-primary, #2563eb);border-color:var(--shell-primary, #2563eb);color:var(--shell-on-accent);font-weight:var(--fw-semibold)}.fb-btn.danger{color:var(--shell-danger);border-color:var(--shell-danger-line)}.fb-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fb-setting-list{display:flex;flex-direction:column;gap:10px}.fb-setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:var(--fs-13)}.fb-setting-row span{display:flex;flex-direction:column;gap:2px}.fb-setting-row small{color:var(--shell-muted, #6b7c93);font-size:var(--fs-12)}.fb-setting-row select{height:32px;border:1px solid var(--shell-line, #d7e0ec);border-radius:6px;background:var(--shell-surface);padding:0 8px}.fb-settings-actions{background:var(--shell-surface);border:1px solid var(--shell-line, #d7e0ec);border-radius:8px;padding:10px 12px}.fb-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.fb-action-hint{font-size:var(--fs-12);color:var(--shell-muted, #6b7c93)}.fb-table-desktop{min-width:0}.fb-table-mobile{display:none}.fb-detail{background:var(--shell-surface);border:1px solid var(--shell-line, #d7e0ec);border-radius:10px;padding:12px}.fb-detail header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.fb-detail h2{margin:0;font-size:var(--fs-14)}.fb-detail dl{display:grid;grid-template-columns:100px 1fr;gap:6px 12px;margin:0;font-size:var(--fs-13)}.fb-detail dt{color:var(--shell-muted, #6b7c93)}.fb-detail dd{margin:0}@media(max-width:900px){.fb-filters-toggle{display:inline-flex}.fb-filters:not(.is-open) .fb-filters-row{display:none}.fb-table-desktop{display:none}.fb-table-mobile{display:block}.fb-settings-grid{grid-template-columns:1fr}}@media(max-width:640px){.fb-filters input,.fb-filters select{min-width:0;width:100%}.fb-filters-row{flex-direction:column;align-items:stretch}}.rm-page{display:flex;flex-direction:column;gap:10px;min-height:0;font-family:inherit;flex:1;height:100%}.rm-page>[hidden]{display:none!important}.rm-message-table{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.rm-message-table .ui-table-panel,.rm-message-table .ui-table-wrap{flex:1 1 auto;min-height:0;max-height:100%;overflow:auto}.rm-workspace{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:10px;height:100%;min-height:0;align-items:stretch}.conversation-control-page{display:flex;flex-direction:column;min-height:0;padding:10px}.conversation-control-page .conversation-policy{position:static;width:100%;max-height:none;height:calc(100vh - 132px)}.conversation-control-page .conversation-policy__list{max-height:none}.conversation-policy{position:sticky;top:0;display:flex;flex-direction:column;height:100%;min-height:0;max-height:calc(100vh - 104px);overflow:hidden;background:var(--shell-surface);border:1px solid var(--shell-line, #e5e7eb);border-radius:8px}.conversation-policy__head,.conversation-policy__row,.conversation-policy__bulk,.conversation-policy__tabs{display:flex;align-items:center}.conversation-policy__head{justify-content:space-between;padding:10px 10px 8px;border-bottom:1px solid var(--shell-line, #e5e7eb)}.conversation-policy__head>div{display:flex;flex-direction:column;gap:2px}.conversation-policy__head strong{font-size:var(--fs-14)}.conversation-policy__head span{font-size:var(--fs-12);color:var(--shell-muted, #6b7280)}.rm-icon-btn{width:28px;height:28px;display:inline-grid;place-items:center;border:1px solid var(--shell-line, #e5e7eb);border-radius:6px;background:var(--shell-surface);color:var(--shell-muted, #6b7280);cursor:pointer;flex:0 0 28px}.conversation-policy__tabs{padding:8px 8px 0;gap:4px}.conversation-policy__filters{display:flex;align-items:center;gap:6px;padding:8px 8px 6px}.conversation-policy__filters .conversation-policy__tabs{padding:0;flex:0 0 auto}.conversation-policy__filters .conversation-policy__search{flex:1 1 auto;min-width:110px;margin:0}.conversation-policy__filters .conversation-policy__bulk{padding:0;flex:0 0 auto}.conversation-policy__filters .conversation-policy__tabs button{min-width:54px;white-space:nowrap}.conversation-policy__filters .conversation-policy__bulk button{min-width:62px;white-space:nowrap}.conversation-policy__filters .conversation-policy__tabs button{min-width:86px}.conversation-policy__filters .conversation-policy__search{max-width:420px;margin:0 auto}.conversation-policy__tabs button{flex:1;height:30px;border:1px solid var(--shell-line, #e5e7eb);background:var(--shell-surface);cursor:pointer;font:inherit;font-size:var(--fs-12)}.conversation-policy__tabs button:first-child{border-radius:6px 0 0 6px}.conversation-policy__tabs button:last-child{border-radius:0 6px 6px 0}.conversation-policy__tabs .is-active{background:var(--shell-primary-soft);color:var(--shell-primary);border-color:var(--shell-primary-line);font-weight:var(--fw-semibold)}.conversation-policy__search{height:30px;margin:8px;border:1px solid var(--shell-line, #e5e7eb);border-radius:6px;padding:0 8px;font:inherit;font-size:var(--fs-12)}.conversation-policy__bulk{gap:6px;padding:0 8px 8px}.conversation-policy__bulk button{flex:1;border:1px solid var(--shell-line, #e5e7eb);border-radius:6px;height:28px;background:var(--shell-surface-subtle);font:inherit;font-size:var(--fs-12);cursor:pointer}.conversation-policy__edit{display:flex;align-items:center;gap:6px;min-width:0;margin-top:5px}.conversation-policy__id{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-12);color:var(--shell-muted, #6b7280)}.conversation-policy__edit input{flex:0 1 220px;min-width:0;height:28px;border:1px solid var(--shell-line, #e5e7eb);border-radius:6px;padding:0 7px;font:inherit;font-size:var(--fs-12)}.conversation-policy__edit-actions{display:flex;gap:4px;flex:none;justify-content:flex-end}.conversation-policy__edit-actions button,.conversation-policy__delete{height:26px;border:1px solid var(--shell-line, #e5e7eb);border-radius:5px;padding:0 8px;background:var(--shell-surface);font:inherit;font-size:var(--fs-12);cursor:pointer;white-space:nowrap}.conversation-policy__delete{color:var(--shell-danger);border-color:var(--shell-danger-line)}.conversation-policy__delete:hover{color:var(--shell-on-accent);background:var(--shell-danger);border-color:var(--shell-danger)}.conversation-policy__edit-actions .is-save{color:var(--shell-on-accent);background:var(--shell-primary, #1677ff);border-color:var(--shell-primary, #1677ff)}.conversation-policy__head .conversation-policy__message{margin-left:auto;padding:3px 8px;font-size:var(--fs-12);color:var(--shell-primary);background:var(--shell-primary-soft);border-radius:6px;white-space:nowrap}.conversation-policy__list{overflow:auto;min-height:0}.conversation-policy__row{gap:8px;padding:6px 8px;border-top:1px solid var(--shell-line)}.conversation-policy__row.is-disabled{opacity:.55}.conversation-policy__toggle,.conversation-policy__shipping{display:inline-flex;align-items:center;gap:5px;font-size:var(--fs-12);color:var(--shell-muted, #6b7280);white-space:nowrap;cursor:pointer}.conversation-policy__toggle input,.conversation-policy__shipping input{width:16px;height:16px;margin:0}.conversation-policy__shipping{padding:0 4px;border-radius:4px;border:1px solid transparent}.conversation-policy__shipping.is-on{color:#b45309;border-color:#fcd34d;background:#fffbeb;font-weight:var(--fw-semibold)}.conversation-policy__identity{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.conversation-policy__name{border:0;background:none;padding:4px 8px;border:1px solid transparent;border-radius:6px;text-align:left;font:inherit;font-size:var(--fs-12);font-weight:var(--fw-semibold);cursor:pointer;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-policy__identity span{font-size:var(--fs-12);color:var(--shell-muted, #6b7280);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-policy__identity form input{width:100%;min-width:0;height:26px;border:1px solid var(--shell-primary-line);border-radius:4px;padding:0 5px}.conversation-policy__empty{padding:24px 14px;color:var(--shell-muted, #6b7280);text-align:center;font-size:var(--fs-12);line-height:1.5}.rm-tabs{display:flex;gap:6px;flex-wrap:wrap}.rm-tab{display:inline-flex;align-items:center;padding:7px 12px;border-radius:8px;border:1px solid var(--shell-line, #e5e7eb);background:var(--shell-surface);color:var(--shell-ink, #1f2937);text-decoration:none;font-size:var(--fs-13)}.rm-tab.is-active{background:var(--shell-primary, #1677ff);border-color:var(--shell-primary, #1677ff);color:var(--shell-on-accent)}.rm-toolbar{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.rm-title{margin:0;font-size:var(--fs-16)}.rm-sync-meta{font-size:var(--fs-12);color:var(--shell-muted, #6b7280)}.rm-sync-meta .sep{margin:0 6px;opacity:.5}.rm-sync-meta .warn{color:var(--shell-warning)}.rm-banner.review{background:var(--shell-primary-soft);border:1px solid var(--shell-primary-line);color:var(--shell-primary);border-radius:8px;padding:8px 12px;font-size:var(--fs-13)}.rm-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end;background:var(--shell-surface);border:1px solid var(--shell-line, #e5e7eb);border-radius:10px;padding:12px}.rm-filters label{display:flex;flex-direction:column;gap:4px;font-size:var(--fs-12);color:var(--shell-muted, #6b7280);min-width:120px}.rm-filters .rm-search{flex:0 0 150px}.rm-filters .rm-search input{width:140px}.rm-filters input,.rm-filters select{font:inherit;font-size:var(--fs-13);padding:7px 10px;border:1px solid var(--shell-line, #e5e7eb);border-radius:8px;color:var(--shell-ink, #1f2937);background:var(--shell-surface)}.rm-desktop-table{display:block}.rm-mobile-list{display:none}.rm-linkish{background:none;border:0;padding:0;font:inherit;color:var(--shell-primary, #1677ff);cursor:pointer;text-align:left;white-space:pre-wrap;word-break:break-word}.rm-coming{background:var(--shell-surface);border:1px solid var(--shell-line, #e5e7eb);border-radius:10px;padding:20px}.rm-coming h1{margin:0 0 8px;font-size:var(--fs-16)}.rm-coming p{margin:0;color:var(--shell-muted, #6b7280)}.rm-detail-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60}.rm-detail-mask{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a73}.rm-detail-sheet{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(640px,calc(100vw - 24px));max-height:min(80vh,720px);overflow:auto;background:var(--shell-surface);border-radius:12px;box-shadow:var(--shell-shadow, 0 10px 30px rgba(15, 23, 42, .16));padding:14px 16px 18px}.rm-detail-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.rm-detail-head h2{margin:0;font-size:var(--fs-14)}.rm-detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}.rm-detail-meta dt{font-size:var(--fs-12);color:var(--shell-muted, #6b7280)}.rm-detail-meta dd{margin:2px 0 0;font-size:var(--fs-13)}.rm-detail-content{margin:0;white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:var(--fs-14);line-height:1.5;background:var(--shell-surface-subtle);border:1px solid var(--shell-line, #e5e7eb);border-radius:8px;padding:12px}@media(max-width:1023px){.rm-workspace{grid-template-columns:minmax(0,1fr) 240px}.rm-desktop-table{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:767px){.rm-workspace{grid-template-columns:minmax(0,1fr);height:auto}.conversation-policy,.rm-desktop-table{display:none}.rm-mobile-list{display:block}.rm-filters label{min-width:calc(50% - 8px)}.rm-content-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;word-break:break-word}.rm-detail-sheet{left:0;right:0;top:auto;bottom:0;transform:none;width:100%;max-height:min(78vh,640px);border-radius:14px 14px 0 0;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}}.wb-page{display:flex;flex-direction:column;gap:10px;min-width:0}.settlement-page{height:100%;min-height:0}.settlement-page .wb-panel{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.settlement-page .wb-panel>.wb-table-scroll{flex:1 1 auto;min-height:0;max-height:none}.payout-workspace{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.payout-categories{display:flex;gap:6px;overflow-x:auto;padding:8px 8px 6px;flex-shrink:0}.payout-categories button{flex:0 0 auto;width:107px;padding:6px 8px;border:1px solid var(--shell-line);border-radius:7px;background:var(--shell-surface);display:flex;flex-direction:column;gap:2px;cursor:pointer;text-align:left}.payout-categories button.is-active{border-color:var(--shell-primary);background:var(--shell-primary-soft)}.payout-categories button strong{font-size:var(--fs-13)}.payout-categories button span{font-size:var(--fs-12);color:var(--shell-muted)}.payout-table-scroll{flex:1 1 auto;min-height:0;max-height:none}.payout-table{table-layout:fixed}.payout-table th,.payout-table td{overflow:hidden}.payout-table th:nth-child(1),.payout-table td:nth-child(1){width:92px;white-space:nowrap;text-overflow:ellipsis}.payout-table th:nth-child(2),.payout-table td:nth-child(2){width:142px;word-break:break-all}.payout-table th:nth-child(3),.payout-table td:nth-child(3){width:180px}.payout-table th:nth-child(4),.payout-table td:nth-child(4){width:96px;white-space:nowrap;text-overflow:ellipsis}.payout-table th:nth-child(5),.payout-table td:nth-child(5){width:96px;white-space:nowrap;text-overflow:ellipsis}.payout-table th:nth-child(6){width:200px}.payout-table td:nth-child(6){width:auto}.payout-status-cell{width:100%;display:flex;align-items:center;gap:5px}.payout-table .payout-status-cell{padding-left:6px;padding-right:6px}.payout-status-cell input:not([type=checkbox]){flex:1 1 auto;width:190px;min-width:150px;height:24px;border:1px solid var(--shell-line);border-radius:4px;padding:0 5px;font-size:var(--fs-12);background:var(--shell-surface)}.payout-status-cell button{min-height:24px;padding:0 6px;border:1px solid var(--shell-line);border-radius:4px;background:var(--shell-surface);font-size:var(--fs-12);cursor:pointer;white-space:nowrap}.payout-status-cell button:hover{background:var(--shell-surface-subtle)}.payout-status-cell button.payout-btn-saved{color:var(--shell-teal);font-weight:var(--fw-semibold)}.payout-paid-label{display:inline-flex;align-items:center;gap:3px;font-size:var(--fs-12);white-space:nowrap;color:var(--shell-muted);flex-shrink:0}.payout-saved-hint{color:var(--shell-teal);font-size:var(--fs-12);font-weight:var(--fw-semibold);white-space:nowrap}.wb-head{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 12px;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:8px}.wb-head h1{margin:0;font-size:var(--fs-16)}.wb-head p{margin:3px 0 0;color:var(--shell-muted);font-size:var(--fs-12)}.wb-head-actions{display:flex;align-items:center;gap:8px}.wb-head input,.wb-head select,.wb-head button,.wb-page button,.wb-page select,.wb-page textarea{font:inherit}.wb-head input,.wb-head select{height:32px;border:1px solid var(--shell-line);border-radius:6px;padding:0 8px;background:var(--shell-surface)}.wb-head button,.wb-page td button,.wb-actions button{min-height:32px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);padding:0 11px;cursor:pointer}.wb-panel{min-width:0;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:8px;overflow:hidden}.wb-panel-head{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-bottom:1px solid var(--shell-line)}.wb-panel-head strong{font-size:var(--fs-13)}.wb-table-scroll{overflow:auto;max-height:calc(100vh - 330px)}.review-page{height:100%;min-height:0}.wb-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:var(--fs-12)}.wb-table th{position:sticky;top:0;z-index:1;text-align:left;padding:8px 10px;background:var(--shell-surface-subtle);color:var(--shell-muted);border-bottom:1px solid var(--shell-line)}.wb-table td{padding:8px 10px;border-bottom:1px solid var(--shell-line);vertical-align:top;word-break:break-word}.wb-table tbody tr:hover,.wb-table tbody tr.is-selected{background:var(--shell-primary-soft)}.wb-table tbody tr[role=button]{cursor:pointer}.wb-table tbody tr[role=button]:focus-visible{outline:2px solid var(--shell-primary);outline-offset:-2px}.wb-content-cell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.wb-empty{color:var(--shell-muted);text-align:center;padding:32px!important}.wb-banner{padding:8px 12px;border:1px solid transparent;border-radius:7px;font-size:var(--fs-12)}.wb-banner.error{background:var(--shell-danger-soft);border-color:var(--shell-danger-line);color:var(--shell-danger)}.wb-banner.success{background:var(--shell-teal-soft);border-color:var(--shell-success-line);color:var(--shell-teal)}.wb-banner.warn{background:var(--shell-warning-soft);border-color:var(--shell-warning-line);color:var(--shell-warning)}.wb-status{display:inline-block;border-radius:4px;padding:2px 6px;background:var(--shell-surface-subtle)}.wb-status.open{color:var(--shell-warning);background:var(--shell-warning-soft)}.wb-status.resolved{color:var(--shell-teal);background:var(--shell-teal-soft)}.wb-status.rejected{color:var(--shell-danger);background:var(--shell-danger-soft)}.wb-status--reason{margin-left:6px;color:var(--shell-warning);background:var(--shell-warning-soft)}.wb-actions{display:flex;gap:8px}.wb-actions .primary{color:var(--shell-on-accent);background:var(--shell-primary);border-color:var(--shell-primary)}.wb-actions .danger{color:var(--shell-danger);border-color:var(--shell-danger-line)}.wb-actions button:disabled{opacity:.5;cursor:not-allowed}.wb-tabs{display:flex;gap:4px;padding:4px;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:8px;overflow-x:auto;overflow-y:hidden}.wb-tabs button{flex:0 0 auto;height:32px;min-height:32px;border:0;border-radius:5px;background:transparent;padding:0 12px;cursor:pointer}.wb-tabs button.is-active{color:var(--shell-primary);background:var(--shell-primary-soft);font-weight:var(--fw-semibold)}.wb-tabs .wb-tabs-count{margin-left:6px;padding:0 6px;border-radius:999px;background:var(--shell-surface-subtle);color:var(--shell-muted);font-size:var(--fs-12)}.wb-tabs button.is-active .wb-tabs-count{background:var(--shell-surface);color:var(--shell-primary)}.wb-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.wb-metrics.wb-metrics-2{grid-template-columns:repeat(2,minmax(0,1fr))}.wb-metrics.wb-metrics-2>div{flex-direction:row;align-items:baseline;justify-content:center;gap:6px}.wb-metrics.wb-metrics-2 span{white-space:nowrap}.wb-metrics.wb-metrics-2>div{padding:14px 10px}.wb-metrics.wb-metrics-2 span{font-size:var(--fs-14);font-weight:var(--fw-semibold)}.wb-metrics.wb-metrics-2 strong{font-size:var(--fs-20);font-weight:var(--fw-semibold)}.wb-metrics>div{min-width:0;padding:9px 10px;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:7px;display:flex;flex-direction:column;gap:4px}.wb-metrics span{color:var(--shell-muted);font-size:var(--fs-12)}.wb-metrics strong{overflow:hidden;text-overflow:ellipsis;font-size:var(--fs-14)}.wb-metrics>div:last-child span{letter-spacing:2px}.wb-metrics>div:last-child strong{overflow:visible;text-overflow:clip;font-weight:var(--fw-semibold);font-size:var(--fs-20)}.wb-metrics>div:last-child strong.tema-money-pending{font-size:var(--fs-14)}.review-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:10px;flex:1;min-height:0}.review-list .wb-table{min-width:900px}.review-list .wb-table th:nth-child(1){width:34px}.review-list .wb-table th:nth-child(2){width:108px}.review-list .wb-table th:nth-child(3){width:52px}.review-list .wb-table th:nth-child(4){width:130px}.review-list .wb-table th:nth-child(5){width:96px}.review-list .wb-table th:nth-child(7){width:156px}.review-list .wb-table th:nth-child(8){width:104px}.review-list,.review-editor{display:flex;flex-direction:column;min-height:0}.review-list .wb-table-scroll{flex:1 1 auto;min-height:0;max-height:none}.review-list .wb-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.review-page .review-list .wb-table tbody td{height:auto;padding-top:6px;padding-bottom:6px;font-size:var(--fs-12)}.review-list .wb-table td.wb-content-cell{max-width:none;min-width:120px}.review-status-cell{white-space:nowrap}.review-row-actions{display:flex;gap:4px;white-space:nowrap}.review-list .review-row-actions button{border:1px solid var(--shell-line);background:var(--shell-surface);color:var(--shell-ink);border-radius:5px;padding:1px 7px;font-size:var(--fs-12);cursor:pointer;min-height:26px}.review-row-actions button.is-active{color:var(--shell-on-accent);background:var(--shell-primary);border-color:var(--shell-primary)}.review-row-actions button.danger{color:var(--shell-danger);border-color:var(--shell-danger-line)}.review-row-actions button:disabled{opacity:.45;cursor:not-allowed}.review-list .wb-panel-head{flex-wrap:wrap}.review-bulk-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.review-bulk-actions button{min-height:26px;border:1px solid var(--shell-line);border-radius:5px;background:var(--shell-surface);padding:1px 8px;color:var(--shell-ink);cursor:pointer;font-size:var(--fs-12)}.review-bulk-actions button.danger{color:var(--shell-danger);border-color:var(--shell-danger-line)}.review-bulk-actions button:disabled{opacity:.45;cursor:not-allowed}.review-editor{position:static;align-self:stretch}.review-editor__body{display:flex;flex-direction:column;gap:10px;padding:12px;flex:1;min-height:0}.review-editor__body label{display:flex;flex-direction:column;gap:4px;color:var(--shell-muted);font-size:var(--fs-12)}.review-editor textarea,.review-editor select{width:100%;border:1px solid var(--shell-line);border-radius:6px;padding:8px;color:var(--shell-ink);background:var(--shell-surface);resize:vertical}.review-editor textarea{flex:1;min-height:120px}.review-editor__meta{display:grid;grid-template-columns:1fr 1fr;gap:6px}.review-editor__meta>div{background:var(--shell-surface-subtle);border:1px solid var(--shell-line);border-radius:6px;padding:6px 8px;font-size:var(--fs-12)}.review-editor__meta span{color:var(--shell-muted);display:block;margin-bottom:2px}.review-editor__meta strong{color:var(--shell-ink);word-break:break-all}.review-head-title{display:flex;align-items:center;gap:10px;min-width:0}.review-toast{color:var(--shell-teal);background:var(--shell-teal-soft);border:1px solid #6ee7b7;border-radius:8px;padding:4px 14px;font-size:var(--fs-16);font-weight:var(--fw-semibold);box-shadow:0 1px 4px #0000001f}.review-toast.is-fail{color:var(--shell-danger);background:var(--shell-danger-soft);border-color:var(--shell-danger-line)}.tema-overview-workspace{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:10px}.tema-board{display:grid;grid-template-columns:repeat(10,minmax(54px,1fr));gap:6px;padding:10px}.tema-board button{aspect-ratio:1;min-width:0;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:3px}.tema-board button strong{font-size:var(--fs-14)}.tema-board button span{max-width:100%;color:var(--shell-muted);font-size:var(--fs-12);overflow:hidden;text-overflow:ellipsis}.tema-board button.has-value{border-color:#f59e0b;background:var(--shell-warning-soft)}.tema-board button.is-active{outline:2px solid #2563eb;outline-offset:1px}.tema-detail dl{display:grid;grid-template-columns:90px 1fr;gap:10px;margin:0;padding:14px;font-size:var(--fs-12)}.tema-detail dt{color:var(--shell-muted)}.tema-detail dd{margin:0;text-align:right;font-weight:var(--fw-semibold)}.tema-ledger-head>div:first-child{display:flex;align-items:baseline;gap:14px}.tema-ledger-meta{display:flex;gap:14px;color:var(--shell-muted);font-size:var(--fs-12)}.tema-ledger-page{height:100%;min-height:0}.tema-ledger-summary{display:flex;align-items:center;gap:28px;min-height:42px;padding:0 12px;background:var(--shell-surface);border-bottom:1px solid var(--shell-line)}.tema-ledger-summary>div{display:flex;align-items:baseline;gap:7px;white-space:nowrap}.tema-ledger-summary span{color:var(--shell-muted);font-size:var(--fs-12)}.tema-ledger-summary strong{font-size:var(--fs-16);font-weight:var(--fw-semibold);font-variant-numeric:tabular-nums;min-width:8ch}.tema-ledger-panel{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.tema-ledger-scroll{flex:1 1 auto;min-height:0;max-height:none}.tema-ledger-table{table-layout:fixed}html .tema-ledger-page .tema-ledger-table th,html .tema-ledger-page .tema-ledger-table td{height:40px!important;padding:2px 11px!important;text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums}html .tema-ledger-page .tema-ledger-table th{height:30px!important;padding:3px 11px!important;text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums}.tema-ledger-table th:first-child,.tema-ledger-table td:first-child{width:92px;text-align:left}.tema-ledger-table tbody tr.has-value td{background:var(--shell-primary-soft)}.tema-ledger-table tbody tr.has-value td:first-child{color:var(--shell-primary)}.tema-ledger-table tbody tr.tema-win-row td{background:var(--shell-teal-soft)!important}.tema-ledger-table tbody tr.tema-win-row td:first-child{color:var(--shell-teal)!important}.tema-ledger-table tbody tr.tema-ledger-total td{background:var(--shell-surface-subtle)!important;border-top:2px solid var(--shell-line, #e5e7eb);font-weight:var(--fw-semibold)}.tema-overview-toolbar__field{display:flex;align-items:center;gap:6px}.tema-overview-toolbar__field label{color:var(--shell-muted);font-size:var(--fs-12)}.tema-overview-toolbar__field select,.tema-overview-toolbar__field input{height:26px;border:1px solid var(--shell-line);border-radius:5px;font-size:var(--fs-12);padding:0 6px;background:var(--shell-surface)}.tema-overview-toolbar__field input{width:90px}.tema-money-positive,.tema-money-risk{color:var(--shell-danger)!important}.tema-money-loss{color:var(--shell-teal)!important;font-weight:var(--fw-semibold)!important}.tema-money-pending{color:var(--shell-warning)!important;font-weight:var(--fw-semibold)!important}.tema-money-payout{color:var(--shell-payout)!important;font-weight:var(--fw-semibold)!important}th.wxtj-head-1{background:var(--shell-head-1)!important;color:var(--shell-head-1-ink)!important;font-weight:var(--fw-semibold)!important}th.wxtj-head-2{background:var(--shell-head-2)!important;color:var(--shell-head-2-ink)!important;font-weight:var(--fw-semibold)!important}th.wxtj-head-3{background:var(--shell-head-3)!important;color:var(--shell-head-3-ink)!important;font-weight:var(--fw-semibold)!important}.lottery-page{height:calc(100dvh - var(--shell-topbar-h) - 32px);min-height:360px;display:flex;flex-direction:column;overflow:hidden;background:var(--shell-surface)}.lottery-browser-toolbar{flex:none;display:flex;align-items:center;gap:16px;padding:10px 14px;border-bottom:1px solid var(--shell-line);background:var(--shell-surface-subtle)}.lottery-source-select{display:inline-flex;align-items:center;gap:10px;margin-left:6px}.lottery-browser-toolbar .app-tab{padding:5px 12px;font-size:var(--fs-13);font-weight:var(--fw-semibold);color:var(--shell-primary)}.official-market-tabs{display:flex;gap:6px;align-items:center}.official-market-tabs .app-tab{cursor:pointer;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface)}.official-market-tabs .app-tab--active{color:var(--shell-on-accent);background:var(--shell-primary);border-color:var(--shell-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--shell-primary) 28%,transparent)}.lottery-browser-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.lottery-browser-actions .wb-btn{min-height:30px;display:inline-flex;align-items:center;gap:6px}.lottery-browser-actions .wb-btn.is-cancel:not(:disabled){color:var(--shell-danger, #b42318)}.lottery-browser-actions .wb-btn:disabled{cursor:not-allowed;opacity:.55}.lottery-browser-actions .wb-btn.primary{color:var(--shell-on-accent);border-color:var(--shell-primary);background:var(--shell-primary)}.lottery-browser-closed{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--shell-muted);font-size:var(--fs-13);background:var(--shell-surface)}.lottery-frame-shell{position:relative;display:flex;flex:1 1 auto;min-height:0;overflow:hidden;background:var(--shell-surface)}.lottery-frame-layer{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;min-height:0;visibility:hidden;pointer-events:none}.lottery-frame-layer.is-active{visibility:visible;pointer-events:auto}.lottery-frame-status{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;color:var(--shell-muted);font-size:var(--fs-13);background:var(--shell-surface)}.lottery-official-frame{display:flex;flex:1 1 auto;min-height:0;width:100%;border:0;background:var(--shell-surface)}.paodan-toolbar{min-height:48px;display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid var(--shell-line)}.paodan-feature-toggle{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;margin-left:36px;padding:5px 10px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface-subtle);font-size:var(--fs-13);color:var(--shell-danger);cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.paodan-feature-toggle input[type=checkbox]{width:16px;height:16px;accent-color:var(--shell-danger);cursor:pointer;margin:0}.paodan-feature-toggle span{font-weight:var(--fw-semibold)}.paodan-disabled-panel{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:32px;text-align:center;color:var(--shell-muted)}.paodan-disabled-panel strong{font-size:var(--fs-16);color:var(--shell-ink)}.paodan-disabled-panel p{margin:0;font-size:var(--fs-13)}.paodan-disabled-panel button{min-height:34px;padding:0 18px;border-radius:6px;font:inherit;cursor:pointer}.paodan-disabled-panel button.primary{color:var(--shell-on-accent);background:var(--shell-primary, #1677ff);border:1px solid var(--shell-primary, #1677ff)}.paodan-disabled-panel button.primary:hover{background:var(--shell-primary-hover, #0958d9)}.paodan-toolbar span{margin-left:auto;color:var(--shell-muted);font-size:var(--fs-12)}.paodan-toolbar button{min-height:32px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);padding:0 11px;cursor:pointer}.paodan-toolbar button.primary{color:var(--shell-on-accent);background:var(--shell-primary);border-color:var(--shell-primary)}.paodan-toolbar button:disabled{opacity:.5;cursor:not-allowed}.paodan-filterbar{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(140px,.8fr) minmax(130px,.7fr) minmax(130px,.7fr);gap:8px;padding:10px;border-bottom:1px solid var(--shell-line);background:var(--shell-surface-subtle)}.paodan-filterbar input,.paodan-filterbar select,.paodan-bulk-amount{min-width:0;height:32px;border:1px solid var(--shell-line);border-radius:6px;padding:0 8px;background:var(--shell-surface);font:inherit}.paodan-bulk-amount{width:120px}.paodan-saved-toolbar span{margin-left:auto}.paodan-table th:nth-child(1){width:58px}.paodan-table th:nth-child(2){width:130px}.paodan-table th:nth-child(3){width:110px}.paodan-table th:nth-child(4),.paodan-table th:nth-child(5),.paodan-table th:nth-child(6){width:105px}.paodan-table th:nth-child(7){width:130px}.paodan-table th:nth-child(8){width:100px}.paodan-amount{width:100%;min-width:80px;height:30px;border:1px solid var(--shell-line);border-radius:5px;padding:0 7px;font:inherit}.paodan-batch-table th:first-child{width:230px}.paodan-batch-table th:last-child{width:90px}.paodan-detail-summary{display:flex;flex-wrap:wrap;gap:18px;padding:9px 12px;color:var(--shell-muted);font-size:var(--fs-12);border-bottom:1px solid var(--shell-line)}.auto-rule-workspace{display:flex;flex-direction:column}.auto-rule-section{padding:12px;border-bottom:1px solid var(--shell-line)}.auto-rule-section:last-child{border-bottom:0}.auto-rule-primary{display:flex;align-items:end;gap:10px}.auto-rule-primary label,.auto-rule-conditions label{display:flex;flex-direction:column;gap:5px;color:var(--shell-muted);font-size:var(--fs-12)}.auto-rule-primary .auto-rule-enable{align-self:center;flex-direction:row;align-items:center;color:var(--shell-ink);font-size:var(--fs-13)}.auto-rule-primary input[type=time],.auto-rule-conditions input,.auto-rule-conditions select{height:32px;border:1px solid var(--shell-line);border-radius:6px;padding:0 8px;background:var(--shell-surface);font:inherit;color:var(--shell-ink)}.auto-rule-primary button,.auto-rule-section-head button{min-height:32px;border:1px solid var(--shell-line);border-radius:6px;padding:0 11px;background:var(--shell-surface);cursor:pointer}.auto-rule-primary button.primary{color:var(--shell-on-accent);border-color:var(--shell-primary);background:var(--shell-primary)}.auto-rule-primary button:disabled,.auto-rule-section-head button:disabled{opacity:.5;cursor:not-allowed}.paodan-workbench{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;gap:8px;position:relative}.paodan-workbench-tabs{display:flex;gap:4px;overflow-x:auto;padding-bottom:2px;flex-shrink:0}.paodan-workbench-tabs-label{flex:0 0 auto;font-size:var(--fs-12);color:var(--shell-muted)}.paodan-workbench-tabs button{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);font-size:var(--fs-12);cursor:pointer}.paodan-workbench-tabs button.is-active{border-color:var(--shell-primary);background:var(--shell-primary-soft);color:var(--shell-primary);font-weight:var(--fw-semibold)}.paodan-workbench-tabs button em{font-style:normal;font-size:var(--fs-12);color:var(--shell-muted)}.paodan-workbench-tabs button .paodan-workbench-dot{width:6px;height:6px;border-radius:50%;background:var(--shell-primary)}.paodan-workbench-filterbar{display:flex;align-items:center;gap:6px;flex-shrink:0}.paodan-workbench-filterbar select,.paodan-workbench-filterbar input{height:26px;border:1px solid var(--shell-line);border-radius:5px;font-size:var(--fs-12);background:var(--shell-surface)}.paodan-workbench-filterbar select{min-width:92px}.paodan-workbench-filterbar input{padding:0 6px}.paodan-workbench-filterbar input{width:110px}.paodan-workbench-filterbar .paodan-workbench-label{color:var(--shell-muted);font-size:var(--fs-12);white-space:nowrap}.paodan-workbench-filterbar .paodan-workbench-field{display:inline-flex;align-items:center;gap:4px;color:var(--shell-muted);font-size:var(--fs-12);white-space:nowrap}.paodan-workbench-toolbar{display:flex;align-items:center;gap:6px;flex-shrink:0}.paodan-workbench-toolbar button{height:26px;padding:0 10px;border:1px solid var(--shell-line);border-radius:5px;background:var(--shell-surface);font-size:var(--fs-12);cursor:pointer}.paodan-workbench-toolbar button.paodan-workbench-stable{min-width:92px;text-align:center;white-space:nowrap}.paodan-workbench-toolbar button.primary{background:var(--shell-primary);border-color:var(--shell-primary);color:var(--shell-on-accent)}.paodan-workbench-toolbar button:disabled{opacity:.5}.paodan-workbench-toolbar .paodan-workbench-selectall{height:26px;border:1px solid var(--shell-line);border-radius:5px;font-size:var(--fs-12);padding:0 6px;background:var(--shell-surface)}.paodan-workbench-toolbar .paodan-workbench-bulk{width:110px;height:26px;border:1px solid var(--shell-line);border-radius:5px;padding:0 6px;font-size:var(--fs-12)}.paodan-workbench-selected{font-size:var(--fs-12);color:var(--shell-muted);white-space:nowrap}.paodan-workbench-spacer{flex:1 1 auto}.paodan-workbench-toolbar .paodan-workbench-range{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.paodan-workbench-toolbar .paodan-workbench-range input{width:92px;height:26px;border:1px solid var(--shell-line);border-radius:5px;padding:0 6px;font-size:var(--fs-12);background:var(--shell-surface)}.paodan-workbench-toolbar .paodan-workbench-range .paodan-workbench-label{color:var(--shell-muted);font-size:var(--fs-12);white-space:nowrap}.paodan-workbench-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;flex-shrink:0}.paodan-workbench-metrics>div{min-width:0;padding:7px 10px;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:7px;display:flex;align-items:center;justify-content:center;gap:6px}.paodan-workbench-metrics span{color:var(--shell-muted);font-size:var(--fs-12);white-space:nowrap}.paodan-workbench-metrics strong{font-size:var(--fs-14)}.paodan-workbench-toast{position:absolute;top:4px;right:10px;z-index:30;max-width:60%;padding:5px 10px;border-radius:6px;font-size:var(--fs-12);background:var(--shell-surface);border:1px solid var(--shell-line);box-shadow:0 2px 8px #00000014;pointer-events:none;opacity:0;transition:opacity .15s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.paodan-workbench-toast[data-tone=success]{opacity:1;color:var(--shell-teal)}.paodan-workbench-toast[data-tone=error]{opacity:1;color:var(--shell-danger)}.paodan-workbench-scroll{flex:1 1 auto;min-height:0;max-height:none}.paodan-workbench-table td:nth-child(1){word-break:break-all}.paodan-workbench-table td:nth-child(3),.paodan-workbench-table td:nth-child(4),.paodan-workbench-table td:nth-child(5){white-space:nowrap}.paodan-workbench-table td:nth-child(3){color:var(--shell-danger)!important}.paodan-workbench-table td:nth-child(4){color:var(--shell-primary)!important}.paodan-workbench-table th,.paodan-workbench-table td{height:26px;padding:2px 8px!important;text-align:center!important;vertical-align:middle!important}.paodan-workbench-table .paodan-workbench-fill{width:140px}.paodan-workbench-table .paodan-workbench-check{width:34px;padding-left:2px!important;padding-right:2px!important}.paodan-workbench-table tbody tr.is-selected td{background:var(--shell-primary-soft)!important}.paodan-workbench-table td.paodan-workbench-more{text-align:center}.paodan-workbench-table td.paodan-workbench-more button{height:26px;padding:0 16px;border:1px solid var(--shell-line);border-radius:5px;background:var(--shell-surface);font-size:var(--fs-12);cursor:pointer}.paodan-workbench-amount{width:110px;height:24px;border:1px solid var(--shell-line);border-radius:4px;padding:0 5px;font-size:var(--fs-12)}.paodan-workbench-sources{margin-top:8px}.auto-rule-section-head{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.auto-rule-section-head>div{display:flex;gap:8px}.auto-rule-play-grid{display:grid;grid-template-columns:repeat(8,minmax(90px,1fr));gap:6px}.auto-rule-play-grid label{min-width:0;min-height:32px;display:flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid var(--shell-line);border-radius:5px;background:var(--shell-surface);cursor:pointer;font-size:var(--fs-12)}.auto-rule-play-grid span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auto-rule-conditions{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px}.auto-rule-history{padding:0}.auto-rule-history .auto-rule-section-head{margin:0;padding:8px 12px;border-bottom:1px solid var(--shell-line)}@media(max-width:1100px){.wb-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.wb-metrics>div{padding:6px 8px;gap:2px}.wb-metrics span{font-size:var(--fs-12)}.wb-metrics strong{font-size:var(--fs-14)}.review-workspace{grid-template-columns:minmax(0,1fr) 260px}.review-list .wb-table th:nth-child(4){width:120px}.tema-board{grid-template-columns:repeat(7,minmax(50px,1fr))}.auto-rule-play-grid{grid-template-columns:repeat(5,minmax(90px,1fr))}}@media(max-width:767px){.wb-head{align-items:flex-start;flex-direction:column}.wb-head-actions{width:100%;flex-wrap:wrap}.wb-head-actions input,.wb-head-actions select{flex:1;min-width:120px}.wb-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.review-workspace,.tema-overview-workspace{display:block}.lottery-page{height:calc(100dvh - var(--shell-topbar-h) - 20px)}.review-editor,.tema-detail{margin-top:10px;position:static}.review-list .wb-table-scroll{max-height:52vh}.review-list .wb-panel-head{align-items:flex-start}.review-bulk-actions{width:100%;justify-content:flex-start}.tema-board{grid-template-columns:repeat(5,minmax(0,1fr))}.tema-ledger-head>div:first-child{align-items:flex-start;flex-direction:column;gap:4px}.tema-ledger-meta{flex-wrap:wrap;gap:6px 12px}.tema-ledger-summary{gap:8px 18px;overflow-x:auto}.tema-ledger-table,.wb-table{min-width:760px}.paodan-toolbar{flex-wrap:wrap}.paodan-toolbar span{margin-left:0}.paodan-toolbar button.primary{width:100%}.paodan-filterbar{grid-template-columns:1fr 1fr}.paodan-saved-toolbar span{margin-left:0;width:100%}.auto-rule-primary{align-items:stretch;flex-direction:column}.auto-rule-primary .auto-rule-enable{align-self:flex-start}.auto-rule-play-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.auto-rule-conditions{grid-template-columns:1fr 1fr}}.paodan-slip-workspace{display:flex;flex-direction:column;gap:8px}.paodan-slip-group{border:1px solid var(--shell-line);border-radius:7px;background:var(--shell-surface);overflow:hidden}.paodan-slip-head{display:flex;align-items:center;gap:8px;width:100%;padding:9px 12px;border:0;background:var(--shell-surface-subtle);cursor:pointer;font-size:var(--fs-13);text-align:left}.paodan-slip-head:hover{background:var(--shell-surface-subtle)}.paodan-slip-caret{color:var(--shell-muted);font-size:var(--fs-12);width:14px;flex-shrink:0}.paodan-slip-head strong{font-size:var(--fs-13)}.paodan-slip-meta{margin-left:auto;color:var(--shell-muted);font-size:var(--fs-12);white-space:nowrap}.paodan-slip-table thead th,.paodan-slip-table tbody td{padding:7px 10px;text-align:center}.paodan-slip-table td:first-child,.paodan-slip-table td:nth-child(2){white-space:nowrap}.paodan-slip-neg{color:var(--shell-danger)}.paodan-slip-scroll{max-height:420px}.paodan-workbench-sources .paodan-sources-table{table-layout:fixed;width:100%}.paodan-workbench-sources .paodan-sources-table th,.paodan-workbench-sources .paodan-sources-table td{text-align:center;vertical-align:middle}.review-content-mark{background:var(--shell-danger-soft, #fee2e2);color:var(--shell-danger, #b91c1c);padding:0 2px;border-radius:3px;font-weight:var(--fw-semibold, 600)}.outbound-source-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 10px;margin-bottom:6px;background:var(--shell-surface-muted, #f3f4f6);border-left:3px solid var(--shell-accent, #2563eb);border-radius:4px}.outbound-source-tag{background:var(--shell-accent, #2563eb);color:#fff;padding:1px 8px;border-radius:3px;font-weight:var(--fw-semibold, 600)}.outbound-source-poster{font-weight:var(--fw-semibold, 600)}.conversation-control-tabs{display:flex;gap:8px;padding:8px 10px 0;border-bottom:1px solid var(--shell-line,#e5e7eb)}.conversation-control-tabs button{border:1px solid transparent;border-bottom:0;background:transparent;color:var(--shell-muted,#6b7280);padding:9px 16px;border-radius:9px 9px 0 0;font:inherit;font-weight:600;cursor:pointer}.conversation-control-tabs button.is-active{background:var(--shell-surface,#fff);border-color:var(--shell-line,#e5e7eb);color:var(--shell-ink,#111827)}.telegram-control{display:flex;flex-direction:column;min-height:0;padding:10px;height:calc(100vh - 174px)}.telegram-control .conversation-policy__list{flex:1;min-height:0}.telegram-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:8px;border-bottom:1px solid var(--shell-line,#e5e7eb)}.telegram-toolbar button{border:1px solid var(--shell-line,#d1d5db);border-radius:6px;background:var(--shell-surface,#fff);color:var(--shell-ink,#111827);padding:6px 10px;font:inherit;font-size:var(--fs-12,12px);cursor:pointer}.telegram-toolbar button:disabled{cursor:not-allowed;opacity:.5}.telegram-toolbar button.is-active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;font-weight:600}.telegram-toolbar__divider{width:1px;height:20px;background:var(--shell-line,#e5e7eb);margin:0 2px}.telegram-toolbar__state{margin-left:auto;color:var(--shell-muted,#6b7280);font-size:var(--fs-12,12px)}.telegram-toolbar__state.is-on{color:#15803d;font-weight:600}html[data-theme=dark] .telegram-toolbar button{background:var(--shell-surface);border-color:var(--shell-line);color:var(--shell-ink)}html[data-theme=dark] .telegram-toolbar button.is-active{background:#172554;border-color:#3b82f6;color:#bfdbfe}.telegram-login-dialog{max-width:520px}.telegram-login-panel{display:flex;flex-direction:column;gap:12px}.telegram-login-status{margin:0;color:var(--shell-muted,#6b7280)}.telegram-login-status.is-ok{color:#15803d;font-weight:600}.telegram-login-message{margin:0;color:#b91c1c}.telegram-login-form{display:flex;flex-direction:column;gap:8px}.telegram-login-form input{width:100%;padding:9px 10px;border:1px solid var(--shell-line,#d1d5db);border-radius:8px;background:var(--shell-surface,#fff);color:var(--shell-ink,#111827);font:inherit}.telegram-login-qr{display:flex;flex-direction:column;align-items:center;gap:8px}.telegram-login-qr img{width:240px;height:240px;background:#fff;border-radius:10px;padding:6px}.telegram-login-qr p{margin:0;color:var(--shell-muted,#6b7280);font-size:var(--fs-12,12px);text-align:center}.telegram-login-qr-hint{margin:0;color:var(--shell-muted,#6b7280);font-size:var(--fs-12,12px);text-align:center;line-height:1.5}.telegram-login-connected{display:flex;align-items:center;justify-content:space-between;gap:12px}.telegram-login-connected p{margin:0}.telegram-login-connected-text{margin:8px 0;text-align:center;color:#15803d;font-weight:600}.telegram-login-label{font-size:var(--fs-12,12px);color:var(--shell-muted,#6b7280)}.telegram-login-advanced{margin-top:4px;color:var(--shell-muted,#6b7280);font-size:var(--fs-12,12px)}.telegram-login-advanced summary{cursor:pointer}.telegram-login-advanced .telegram-login-form{margin-top:8px}.play-page{display:flex;flex-direction:column;gap:10px;min-width:0;width:100%;padding-bottom:8px}.play-tabs{display:flex;flex-wrap:wrap;gap:4px;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:10px;padding:8px}.play-tabs-mobile{display:none}.play-tabs-expanded{align-items:stretch;gap:8px 10px;padding:12px}.play-tab{text-decoration:none;color:var(--shell-muted);font-size:var(--fs-12);padding:5px 9px;border-radius:6px;border:1px solid transparent;white-space:nowrap;background:transparent;cursor:pointer;font:inherit}.play-tabs-expanded .play-tab{min-height:40px;padding:8px 14px;border-color:var(--shell-line);background:var(--shell-surface)}.play-tabs-expanded{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;padding:12px}.play-tabs-expanded .play-tab{min-height:40px;padding:8px 12px;font-size:var(--fs-13);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.play-tab{position:relative}.play-tab-dot{position:absolute;top:5px;right:6px;width:8px;height:8px;border-radius:50%;background:#e34d59;box-shadow:0 0 0 2px var(--shell-surface)}html[data-theme=dark] .play-tabs-expanded{background:var(--shell-panel);border-color:var(--shell-line)}html[data-theme=dark] .play-tabs-expanded .play-tab{color:var(--shell-ink);background:var(--shell-surface-subtle);border-color:var(--shell-line-strong)}html[data-theme=dark] .play-tabs-expanded .play-tab.is-active{color:var(--shell-on-accent);background:var(--shell-primary);border-color:var(--shell-primary)}.play-tab:hover{color:var(--shell-primary);background:var(--shell-primary-soft)}.play-tab.is-active{color:var(--shell-on-accent);background:var(--shell-primary);font-weight:var(--fw-semibold)}.play-toolbar{background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:10px;min-width:0}.play-title-row{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.play-title{margin:0;font-size:var(--fs-16);font-weight:var(--fw-semibold)}.play-period{color:var(--shell-muted);font-size:var(--fs-13)}.play-financial-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}.play-financial-inline label{display:flex;align-items:center;gap:4px;font-size:var(--fs-12);color:var(--shell-muted)}.play-financial-inline input{width:60px;height:24px!important;min-height:24px!important;padding:0 6px;border:1px solid var(--border, #e3e3e3);border-radius:6px;font:inherit}.play-financial-inline__msg{font-size:var(--fs-12);color:var(--success, #1a7f37)}.play-filters-toggle{display:none;border:1px solid var(--shell-line);background:var(--shell-surface);border-radius:6px;padding:6px 10px;font-size:var(--fs-12);cursor:pointer;align-self:flex-start}.play-filters{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:end}.play-filters label{display:flex;flex-direction:column;gap:4px;font-size:var(--fs-12);color:var(--shell-muted);min-width:0}.play-filters select,.play-filters input{min-height:32px;border:1px solid var(--shell-line);border-radius:6px;padding:4px 8px;font:inherit;color:var(--shell-ink);background:var(--shell-surface);min-width:140px;max-width:100%}.play-search{flex:0 0 200px;min-width:0}.play-search input{width:100%}.play-filters select.play-conversation-select{min-width:220px}.tema-ledger-total strong{font-weight:var(--fw-medium)}.play-banner{border-radius:8px;padding:8px 10px;font-size:var(--fs-13)}.play-banner.review{background:var(--shell-primary-soft);color:var(--shell-primary);border:1px solid var(--shell-primary-line)}.play-banner.warn{background:var(--shell-warning-soft);color:var(--shell-warning);border:1px solid var(--shell-warning-line)}.play-summary{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;min-width:0}.sum-item{background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:8px;padding:8px 10px;display:flex;flex-direction:column;gap:4px;min-height:56px;min-width:0}.sum-item span{font-size:var(--fs-12);color:var(--shell-muted)}.sum-item strong{font-size:var(--fs-14);font-weight:var(--fw-semibold)}.play-pending-note{background:var(--shell-surface);border:1px dashed var(--shell-line);border-radius:10px;padding:14px;color:var(--shell-muted);font-size:var(--fs-13)}.play-table-panel{background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:10px;display:flex;flex-direction:column;min-height:520px;min-width:0}.play-table-wrap{overflow:auto;flex:1;min-height:180px;max-width:100%}.play-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:560px}.play-table th,.play-table td{border-bottom:1px solid var(--shell-line);padding:8px 10px;font-size:var(--fs-13);text-align:left;vertical-align:top;word-break:break-word}.play-table th{position:sticky;top:0;background:var(--shell-surface-subtle);z-index:1;font-weight:var(--fw-semibold);color:var(--shell-muted)}.play-table .state{text-align:center;color:var(--shell-muted);padding:28px 12px}.play-table .state.err{color:var(--shell-danger)}.play-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:8px 10px;border-top:1px solid var(--shell-line);font-size:var(--fs-12);color:var(--shell-muted);min-height:40px;flex-shrink:0}.play-pager button{border:1px solid var(--shell-line);background:var(--shell-surface);border-radius:6px;padding:4px 10px;cursor:pointer}.play-pager button:disabled{opacity:.45;cursor:not-allowed}.play-filters-mobile-only,.play-summary-primary,.play-summary-secondary{display:none}.play-more-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:flex-end;justify-content:center}.play-more-mask{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a73;cursor:pointer}.play-more-sheet{position:relative;z-index:1;width:min(520px,100%);max-height:min(72vh,560px);display:flex;flex-direction:column;background:var(--shell-surface);border-radius:14px 14px 0 0;padding:12px 12px calc(16px + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 28px #0f172a2e}.play-more-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;flex-shrink:0}.play-more-head h2{margin:0;font-size:var(--fs-14)}.play-more-head button{border:1px solid var(--shell-line);background:var(--shell-surface);border-radius:6px;padding:4px 10px;cursor:pointer;font-family:inherit}.play-more-grid{display:flex;flex-wrap:wrap;gap:6px;overflow:auto;min-height:0;-webkit-overflow-scrolling:touch;padding-bottom:8px}.play-more-grid .play-tab{border:1px solid var(--shell-line)}.play-more-grid .play-tab.is-active{color:var(--shell-on-accent);background:var(--shell-primary);border-color:var(--shell-primary)}@media(max-width:1100px){.play-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:767px){.play-tabs-desktop{display:none}.play-tabs-mobile{display:flex;flex-direction:column;gap:6px}.play-current{display:flex;align-items:center;gap:8px;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:10px;padding:6px 10px;min-height:36px}.play-current-label{font-size:var(--fs-12);color:var(--shell-muted)}.play-current strong{font-size:var(--fs-14)}.play-pinned-wrap{position:relative;min-width:0}.play-pinned-scroll{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;padding:2px 28px 2px 0}.play-pinned-scroll::-webkit-scrollbar{display:none;width:0;height:0}.play-pinned-scroll .play-tab{flex-shrink:0;border:1px solid var(--shell-line);background:var(--shell-surface);scroll-snap-align:start}.play-pinned-fade{pointer-events:none;position:absolute;top:0;right:0;bottom:0;width:36px;background:linear-gradient(90deg,#f0f2f500,#f0f2f5 85%)}.play-more-btn{border-style:dashed!important;color:var(--shell-primary)}.play-filters-desktop-only{display:none}.play-filters-mobile-only{display:block}.play-filters-toggle{display:inline-flex}.play-filters-panel .play-filters{display:none}.play-filters-panel.is-open .play-filters{display:flex;margin-top:8px}.play-summary-desktop{display:none!important}.play-summary-primary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.play-summary-secondary{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;margin-top:8px;padding-bottom:2px}.play-summary-secondary::-webkit-scrollbar{display:none}.play-summary-secondary .sum-item-sec{flex:0 0 38%;min-width:110px;scroll-snap-align:start;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:8px;padding:8px 10px;display:flex;flex-direction:column;gap:4px}.play-summary-secondary .sum-item-sec span{font-size:var(--fs-12);color:var(--shell-muted)}.play-summary-secondary .sum-item-sec strong{font-size:var(--fs-14);font-weight:var(--fw-semibold)}.play-filters label{width:100%}.play-filters select,.play-filters input,.play-search{min-width:0;width:100%}}.tema-workbench{display:flex;flex-direction:column;gap:10px;min-width:0}.tema-summary-strip{min-height:54px;display:flex;flex-wrap:wrap;flex-shrink:0;align-items:center;justify-content:space-evenly;margin-bottom:10px;gap:0;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:8px;overflow:hidden}.tema-summary-strip__top{display:contents}.tema-summary-strip__break{display:none}.tema-summary-strip .tema-summary-title{flex:0 0 88px}.tema-summary-strip .play-financial-inline{flex:0 0 auto;min-width:0}.tema-summary-strip .tema-summary-metric{flex:1 1 0;min-width:92px}.play-summary-strip .tema-summary-title{border-right:1px solid var(--shell-line)}.tema-summary-strip .play-financial-inline{position:relative;margin:0;min-height:52px;padding:0 10px;border-right:1px solid var(--shell-line);gap:4px;flex-wrap:nowrap;justify-content:flex-start;overflow:hidden}.tema-summary-strip .play-financial-inline label{gap:2px;white-space:nowrap}.tema-summary-strip .play-financial-inline input{height:26px!important;min-height:26px!important;line-height:normal;padding:0 4px;width:52px;box-sizing:border-box}.tema-summary-strip .play-financial-inline__msg{position:absolute;right:8px;top:50%;transform:translateY(-50%);margin:0;padding:0 4px;font-size:var(--fs-12);color:var(--shell-primary, #2563eb);background:var(--shell-surface);pointer-events:none;white-space:nowrap}.tema-summary-title,.tema-summary-metric{min-width:0;min-height:52px;display:flex;align-items:center;gap:7px;padding:0 6px;border-right:1px solid var(--shell-line);box-sizing:border-box}.tema-summary-title{justify-content:center;text-align:center;overflow:hidden}.tema-summary-title strong{flex-shrink:0;font-size:var(--fs-16)}.tema-summary-metric--spacer{padding:0}.tema-clear-number{flex-shrink:0;width:20px;height:20px;display:grid;place-items:center;border:1px solid var(--shell-line);border-radius:50%;background:var(--shell-surface);color:var(--shell-muted);font-size:var(--fs-12);line-height:1;cursor:pointer;padding:0}.tema-clear-number:hover{border-color:var(--shell-primary);color:var(--shell-primary)}.tema-summary-title span{min-width:0;overflow:hidden;color:var(--shell-muted);font-size:var(--fs-12);text-overflow:ellipsis;white-space:nowrap}.tema-summary-metric{justify-content:center;font-size:var(--fs-12);white-space:nowrap}.tema-summary-metric span{color:var(--shell-muted)}.tema-summary-metric strong{color:var(--shell-ink);font-size:var(--fs-14);min-width:4.2em;text-align:left;font-variant-numeric:tabular-nums}.tema-summary-metric strong.tema-summary-value-narrow{min-width:2.6em}.tema-summary-metric.is-accent strong{color:var(--shell-warning)}.tema-financial-settings{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:0 9px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);padding:0 10px;color:var(--shell-ink);cursor:pointer;font:inherit;white-space:nowrap}.tema-financial-settings:hover{border-color:var(--shell-primary);color:var(--shell-primary)}.tema-board-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}.tema-board-scroll{min-width:0;overflow-x:auto;overflow-y:hidden;border:1px solid var(--shell-line);border-radius:8px;background:var(--shell-surface)}.tema-zodiac-board{min-width:850px;display:grid;grid-template-columns:repeat(12,minmax(74px,1fr));align-content:start;gap:5px;padding:12px}.tema-zodiac-column{min-width:0;text-align:center}.tema-zodiac-column h2{min-height:28px;display:grid;place-items:center;margin:0 0 4px;color:var(--shell-ink);font-size:var(--fs-14);font-weight:var(--fw-semibold)}.tema-zodiac-column>div{display:flex;flex-direction:column;gap:4px}.tema-cell{min-height:75px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid transparent;border-color:transparent;border-radius:6px;background:transparent;cursor:pointer;font:inherit;padding:2px}.tema-cell:hover{background:var(--shell-surface-subtle)}.tema-cell.has-amt{background:var(--shell-primary-soft);border-color:var(--shell-primary-line)}.tema-cell.is-selected{outline:2px solid var(--shell-primary);outline-offset:0}.tema-ball{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:var(--shell-on-accent);font-weight:var(--fw-semibold);box-shadow:inset 0 -2px #0000001f}.wave-red .tema-ball{background:#e52b2f}.wave-blue .tema-ball{background:var(--shell-primary)}.wave-green .tema-ball{background:#16a34a}.tema-amt{min-height:12px;max-width:100%;display:block;overflow:hidden;text-overflow:ellipsis;color:var(--shell-muted);font-size:var(--fs-12);white-space:nowrap}.tema-cell.has-amt .tema-amt{color:var(--shell-primary);font-weight:var(--fw-semibold)}.tema-number-detail,.tema-conversation-stats{background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:8px;overflow:hidden}.tema-number-detail header,.tema-conversation-stats header{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border-bottom:1px solid var(--shell-line)}.tema-number-detail header span,.tema-conversation-stats header span{color:var(--shell-muted);font-size:var(--fs-12)}.tema-number-detail dl{display:grid;grid-template-columns:1fr auto;gap:9px;margin:0;padding:11px;font-size:var(--fs-14)}.tema-number-detail dt{color:var(--shell-muted)}.tema-number-detail dd{margin:0;text-align:right;font-weight:var(--fw-semibold)}.tema-number-detail.is-empty{display:grid;place-items:center;min-height:150px}.tema-number-detail-prompt{margin:0;padding:20px;color:var(--shell-muted);font-size:var(--fs-14);text-align:center}.tema-lower-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;min-width:0}.tema-orders-pane{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0}.tema-orders-pane .play-filters-panel{padding:8px 10px;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:8px}.tema-orders-pane .play-table-panel{min-height:520px}.tema-conversation-stats{min-height:220px}.tema-conversation-stats>div{max-height:260px;overflow:auto}.tema-conversation-stats button{width:100%;min-height:44px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;border:0;border-bottom:1px solid var(--shell-line);background:var(--shell-surface);padding:6px 10px;text-align:left;cursor:pointer;font:inherit}.tema-conversation-stats button:hover{background:var(--shell-primary-soft)}.tema-conversation-stats button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tema-conversation-stats button strong{font-size:var(--fs-14)}.tema-conversation-stats button small{color:var(--shell-muted);font-size:var(--fs-12)}.tema-conversation-stats p{margin:0;padding:24px 10px;text-align:center;color:var(--shell-muted)}.bose-color-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}.bose-color-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:6px 14px;min-height:65px;padding:10px 16px;border:1px solid var(--shell-line, #e5e7eb);border-radius:8px;background:var(--shell-surface, #fff);cursor:pointer;text-align:left;font-size:var(--fs-14)}.bose-color-card:hover{border-color:var(--shell-primary, #2563eb)}.bose-color-card.is-selected{border-color:var(--shell-primary, #2563eb);background:var(--shell-primary-soft, #eef6ff);box-shadow:0 0 0 1px var(--shell-primary, #2563eb)}.bose-color-card__name{font-size:var(--fs-16);margin-right:4px}.bose-color-card span{display:inline-flex;align-items:baseline;gap:5px;color:var(--shell-ink, #111827)}.bose-color-card span b{font-weight:var(--fw-semibold);color:var(--shell-muted, #6b7280);white-space:nowrap}.bose-color-card span em{font-style:normal;min-width:10ch;text-align:left;font-variant-numeric:tabular-nums}.bose-color-card span em.narrow-value{min-width:2.6em}@media(max-width:767px){.bose-color-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.bose-color-card:last-child{grid-column:1 / -1}}@media(max-width:1380px){.tema-summary-strip__top{display:contents}.tema-summary-strip__break{display:none}.tema-summary-strip .tema-summary-title{flex:0 0 88px}.tema-summary-strip .play-financial-inline{flex:0 0 auto;min-width:0}.tema-summary-strip{justify-content:space-evenly;flex-wrap:wrap;row-gap:6px}.tema-summary-strip .tema-summary-metric{flex:1 1 0;min-width:92px}.tema-financial-settings{width:32px;padding:0}.tema-financial-settings span{display:none}}@media(max-width:767px){.tema-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.tema-summary-title{grid-column:1 / -1}.tema-summary-title,.tema-summary-metric{border-bottom:1px solid var(--shell-line)}.tema-financial-settings{grid-column:1 / -1;width:auto;margin:8px}.tema-financial-settings span{display:inline}.tema-board-layout,.tema-lower-layout{grid-template-columns:minmax(0,1fr)}.tema-number-detail{min-height:150px}.tema-cell{min-height:72px}}.data-management{max-width:1220px}.data-section select{height:32px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);padding:0 8px;font:inherit;color:var(--shell-ink)}.data-section{background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:8px;padding:14px}.data-section__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.data-section__head h2{margin:0;font-size:var(--fs-14)}.data-section__head p{margin:4px 0 0;color:var(--shell-muted);font-size:var(--fs-12)}.data-section__head>label{display:flex;align-items:center;gap:8px;color:var(--shell-muted);font-size:var(--fs-12)}.data-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.data-range>label{min-width:0;min-height:54px;display:flex;align-items:center;gap:9px;border:1px solid var(--shell-line);border-radius:7px;padding:8px 10px;cursor:pointer}.data-range>label.is-selected{border-color:#60a5fa;background:var(--shell-primary-soft)}.data-range span{min-width:0;display:flex;flex-direction:column;gap:2px}.data-range strong{font-size:var(--fs-12)}.data-range small{color:var(--shell-muted);font-size:var(--fs-12)}.data-module-head{margin-top:14px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:var(--fs-12)}.data-module-head div{display:flex;gap:4px}.data-module-head button{min-height:28px;border:0;background:transparent;color:var(--shell-primary);padding:0 5px;cursor:pointer}.data-modules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:7px}.data-modules label{min-width:0;height:36px;display:flex;align-items:center;gap:8px;border:1px solid var(--shell-line);border-radius:6px;padding:0 9px;cursor:pointer;font-size:var(--fs-12)}.data-modules span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-export-bar{margin-top:12px;min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--shell-line);padding-top:10px;color:var(--shell-muted);font-size:var(--fs-12)}.data-section button{min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);padding:0 11px;font:inherit;cursor:pointer}.data-section button.primary{border-color:var(--shell-primary);background:var(--shell-primary);color:var(--shell-on-accent)}.data-section button.danger{border-color:#fca5a5;color:var(--shell-danger)}.data-section button:disabled{opacity:.55;cursor:not-allowed}.data-table-wrap{overflow-x:auto;border:1px solid var(--shell-line);border-radius:6px}.data-table{min-width:720px}.data-table th:nth-child(1){width:180px}.data-table th:nth-child(2),.data-table th:nth-child(3),.data-table th:nth-child(4){width:90px}.data-inline-actions{display:flex;align-items:center;gap:8px;margin-top:10px;color:var(--shell-muted);font-size:var(--fs-12)}.data-sync-server{display:flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}.worker-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-bottom:10px}.worker-metrics>div{min-width:0;display:flex;flex-direction:column;gap:3px;border:1px solid var(--shell-line);border-radius:6px;padding:8px 9px}.worker-metrics span{color:var(--shell-muted);font-size:var(--fs-12)}.worker-metrics strong{font-size:var(--fs-14);overflow:hidden;text-overflow:ellipsis}.worker-table{min-width:820px}.worker-table th:nth-child(1){width:210px}.worker-table th:nth-child(2),.worker-table th:nth-child(4),.worker-table th:nth-child(6){width:100px}.worker-table th:nth-child(5){width:170px}.data-danger{border-color:var(--shell-danger-line)}.data-clean-test{background:var(--shell-danger-soft)}.data-clean-test__notice{border-left:3px solid #dc2626;padding:8px 10px;background:var(--shell-danger-soft);color:var(--shell-danger);font-size:var(--fs-12);line-height:1.55}@media(max-width:900px){.data-modules{grid-template-columns:repeat(2,minmax(0,1fr))}.worker-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.data-section__head,.data-export-bar{align-items:stretch;flex-direction:column}.data-range,.data-modules{grid-template-columns:1fr}.data-export-bar button{width:100%}.data-inline-actions{align-items:stretch;flex-direction:column}.worker-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.settings-toast{position:fixed;top:56px;right:18px;z-index:80;max-width:380px;padding:8px 12px;border:1px solid var(--shell-line-strong);border-radius:6px;background:var(--shell-surface);color:var(--shell-ink);font-size:var(--fs-12);box-shadow:0 8px 20px #00000024}.settings-toast.is-success{border-color:var(--shell-teal);color:var(--shell-teal)}.settings-toast.is-error{border-color:var(--shell-danger);color:var(--shell-danger)}.settings-toast.is-ok{border-color:var(--shell-teal);color:var(--shell-teal)}.settings-toast.is-warn{border-color:var(--shell-warning);color:var(--shell-warning)}.settings-toast.is-plain{border-color:var(--shell-line-strong);color:var(--shell-ink)}.settings-workbench>*{flex:0 0 auto}.settings-card{padding-bottom:12px}.settings-card--wide{grid-column:1 / -1}.settings-card dl{display:grid;grid-template-columns:100px 1fr;gap:8px 12px;margin:0;padding:12px;font-size:var(--fs-12)}.settings-card .status-ok{color:var(--shell-teal)}.settings-card .status-off{color:var(--shell-danger)}.settings-card dd{margin:0;word-break:break-word}.settings-card>button{margin:0 12px;min-height:32px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);padding:0 12px;cursor:pointer}.settings-card>button.danger{color:var(--shell-danger);border-color:var(--shell-danger-line)}.settings-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 12px}.settings-actions button{min-height:32px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);padding:0 12px;cursor:pointer}.settings-actions button.danger{color:var(--shell-danger);border-color:var(--shell-danger-line)}.settings-form-row{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;padding:14px}.settings-form-row label{display:flex;align-items:center;gap:8px;font-size:var(--fs-12)}.settings-form-row input[type=time],.settings-form-row select{height:32px;border:1px solid var(--shell-line);border-radius:6px;padding:0 8px;background:var(--shell-surface)}.settings-note{margin:0;padding:0 14px;color:var(--shell-muted);font-size:var(--fs-12)}.keyword-add,.settings-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:10px;border-bottom:1px solid var(--shell-line)}.keyword-add .keyword-test__input{flex:1 1 240px;min-width:180px;height:32px;border:1px solid var(--shell-line);border-radius:6px;padding:0 9px;font:inherit;font-size:var(--fs-12)}.keyword-lookup{display:flex;flex-direction:column;gap:8px;padding:10px;border-bottom:1px solid var(--shell-line)}.keyword-lookup__row{display:flex;gap:8px}.keyword-lookup__row select{height:32px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);padding:0 9px;font:inherit;font-size:var(--fs-12)}.keyword-lookup__detail{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 10px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface-subtle);font-size:var(--fs-12);color:var(--shell-ink)}.keyword-lookup__detail-info.is-disabled{color:var(--shell-danger);font-weight:var(--fw-semibold)}.keyword-lookup__detail-actions{display:flex;gap:6px;align-items:center}.keyword-lookup__detail-actions button{height:28px;border:1px solid var(--shell-line);border-radius:5px;background:var(--shell-surface);padding:0 10px;font:inherit;font-size:var(--fs-12);cursor:pointer}.keyword-lookup__detail-actions button.danger{color:var(--shell-danger);border-color:var(--shell-danger-line)}.keyword-lookup__lock{font-style:normal;color:var(--shell-muted);font-size:var(--fs-12)}.keyword-add input{flex:0 0 160px;width:160px}.keyword-add input,.keyword-add select,.keyword-add button,.settings-toolbar button{height:32px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);padding:0 9px;font:inherit;font-size:var(--fs-12)}.keyword-add button.primary,.settings-toolbar button.primary{color:var(--shell-on-accent);background:var(--shell-primary);border-color:var(--shell-primary)}.keyword-hint{margin:0;padding:8px 10px 0;font-size:var(--fs-12);color:var(--shell-muted)}.keyword-lists{display:flex;flex-direction:column;gap:10px;padding:10px}.keyword-group{display:flex;flex-direction:column;gap:8px}.keyword-group__head{display:flex;align-items:baseline;gap:10px}.keyword-group__head strong{font-size:var(--fs-13)}.keyword-group__head span{font-size:var(--fs-12);color:var(--shell-muted)}.keyword-group__chips{display:flex;flex-wrap:wrap;gap:6px}.keyword-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border:1px solid var(--shell-line);border-radius:999px;font-size:var(--fs-12);background:var(--shell-surface)}.keyword-chip.is-system{background:var(--shell-surface-subtle);color:var(--shell-muted)}.keyword-chip.is-system.is-disabled{background:var(--shell-danger-soft);border-color:var(--shell-danger-line);color:var(--shell-danger);text-decoration:line-through}.keyword-chip.is-own{background:var(--shell-primary-soft);border-color:var(--shell-primary-line);color:var(--shell-primary)}.keyword-chip small{font-size:var(--fs-12);color:var(--shell-muted)}.keyword-chip button{border:0;background:transparent;color:var(--shell-danger);font-size:var(--fs-12);cursor:pointer;padding:0}.keyword-chip.is-own button{color:var(--shell-primary)}.keyword-chip.is-own button:last-child{color:var(--shell-danger)}.keyword-chip__lock{font-style:normal;font-size:var(--fs-12);color:var(--shell-muted)}.keyword-chip-empty{font-size:var(--fs-12);color:var(--shell-muted)}.keyword-version-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:9px 10px;border-bottom:1px solid var(--shell-line)}.keyword-version-tools label{display:flex;align-items:center;gap:7px;color:var(--shell-muted);font-size:var(--fs-12)}.keyword-version-tools input[type=number]{width:92px;height:32px;border:1px solid var(--shell-line);border-radius:6px;padding:0 8px}.keyword-version-tools button,.keyword-file{min-height:32px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);padding:0 10px;font:inherit;cursor:pointer}.keyword-version-tools button.primary{color:var(--shell-on-accent);background:var(--shell-primary);border-color:var(--shell-primary)}.keyword-version-tools button.danger{color:var(--shell-danger);border-color:var(--shell-danger-line)}.keyword-version-tools button:disabled{opacity:.5;cursor:not-allowed}.keyword-file{position:relative;color:var(--shell-ink)!important}.keyword-file input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.keyword-table{min-width:940px}.keyword-table input,.keyword-table select{width:100%;min-width:74px;height:28px;border:1px solid var(--shell-line);border-radius:5px;padding:0 6px;background:var(--shell-surface)}.keyword-table th:nth-child(1){width:180px}.keyword-table th:nth-child(2){width:120px}.keyword-table th:nth-child(3),.keyword-table th:nth-child(4){width:90px}.keyword-table th:nth-child(5),.keyword-table th:nth-child(7),.keyword-table th:nth-child(8){width:86px}.keyword-row-actions{display:flex;gap:4px}.financial-table input{width:100%;min-width:80px;height:28px;border:1px solid var(--shell-line);border-radius:5px;padding:0 6px}.settings-appearance,.settings-network{max-width:720px}.network-toggle{display:flex;align-items:flex-start;gap:10px;padding:16px}.network-toggle>span{display:flex;flex-direction:column;gap:4px;font-size:var(--fs-13)}.network-toggle small{color:var(--shell-muted);line-height:1.5}@media(max-width:820px){.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.settings-grid{grid-template-columns:1fr}.settings-card--wide{grid-column:auto}.settings-form-row{flex-direction:column;align-items:stretch}.keyword-version-tools{align-items:stretch;flex-direction:column}.keyword-version-tools label,.keyword-version-tools button{width:100%;justify-content:space-between}}:root{--fr-bg: #f5f7f6;--fr-card: #ffffff;--fr-ink: #111827;--fr-muted: #6b7280;--fr-primary: #1769d2;--fr-primary-hover: #0f57b4;--fr-primary-active: #0a458f;--fr-primary-disabled: #91caff;--fr-primary-text: #ffffff;--fr-accent: #1769d2;--fr-danger: #b42318;--fr-line: #d8deda;--fr-radius: 10px}html.fr-mode,html.fr-mode body,html.fr-mode #root{height:100%;min-height:100%;margin:0;overflow:hidden;background:var(--fr-bg);color:var(--fr-ink)}.fr-root{box-sizing:border-box;width:100%;height:100%;min-height:100%;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:16px 20px;overflow:hidden;background:var(--fr-bg)}.fr-shell{box-sizing:border-box;width:100%;max-width:400px;max-height:min(100%,100dvh - 32px);display:flex;flex-direction:column;justify-content:center;gap:16px;flex-shrink:1;overflow:hidden;margin:0 auto}.fr-brand{margin:0;display:inline-flex;align-items:center;gap:10px;font-size:var(--fs-24);font-weight:var(--fw-semibold);color:var(--fr-ink);line-height:1.25}.fr-brand:before{width:36px;height:36px;flex:0 0 36px;content:"";background:var(--wxtj-app-icon) center / cover no-repeat;border-radius:8px}.fr-title{margin:0;font-size:var(--fs-16);font-weight:var(--fw-semibold);line-height:1.3}.fr-sub{margin:0;font-size:var(--fs-13);color:var(--fr-muted);line-height:1.45}.fr-card{background:var(--fr-card);border:1px solid var(--fr-line);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:14px;flex-shrink:0}.fr-field{display:flex;flex-direction:column;gap:6px;font-size:var(--fs-13);color:var(--fr-muted)}.fr-field input{border:1px solid var(--fr-line);border-radius:var(--fr-radius);padding:12px;min-height:44px;font:inherit;font-size:var(--fs-14);color:var(--fr-ink);background:#fff;box-sizing:border-box}.fr-field input:disabled{background:#f3f5f4;color:#9ca3af}.fr-btn-primary{width:100%;border:0;border-radius:var(--fr-radius);padding:14px 16px;min-height:44px;font:inherit;font-size:var(--fs-14);font-weight:var(--fw-semibold);cursor:pointer;background:var(--fr-primary);color:var(--fr-primary-text);touch-action:manipulation}.fr-btn-primary:hover:not(:disabled){background:var(--fr-primary-hover)}.fr-btn-primary:active:not(:disabled){background:var(--fr-primary-active)}.fr-btn-primary:disabled{background:var(--fr-primary-disabled);color:var(--fr-primary-text);opacity:1;cursor:not-allowed}.fr-btn-text{border:0;background:transparent;color:var(--fr-muted);font:inherit;font-size:var(--fs-13);cursor:pointer;padding:4px 0;align-self:center;text-decoration:underline;text-underline-offset:3px}.fr-btn-danger-text{color:var(--fr-danger)}.fr-error{margin:0;min-height:1.35em;font-size:var(--fs-13);color:var(--fr-danger);line-height:1.35}.fr-hint{margin:0;min-height:1.35em;font-size:var(--fs-13);color:var(--fr-muted);line-height:1.35}.fr-server-badge{margin:0;display:inline-flex;align-items:center;gap:6px;font-size:var(--fs-13);color:var(--fr-primary);font-weight:var(--fw-medium)}.fr-server-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--fr-primary)}.fr-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#11182747;display:flex;align-items:center;justify-content:center;padding:24px;z-index:20}.fr-modal-card{width:100%;max-width:320px;background:var(--fr-card);border:1px solid var(--fr-line);border-radius:12px;padding:22px 20px 18px;display:flex;flex-direction:column;gap:16px;text-align:center}.fr-modal-card h2{margin:0;font-size:var(--fs-16);font-weight:var(--fw-semibold)}@media(max-width:767px){.fr-root{padding:12px 16px}.fr-shell{max-width:100%;gap:12px}.fr-brand{font-size:var(--fs-20)}.fr-card{padding:16px;gap:12px}.fr-btn-text{min-height:44px;padding:10px 0}}@media(min-width:768px)and (max-width:1439px){.fr-root{padding:16px 24px}.fr-shell{max-width:400px}}.fr-shell-wide{max-width:440px}.fr-pw-row{display:flex;gap:8px;align-items:stretch}.fr-pw-row input{flex:1;min-width:0}.fr-btn-ghost{border:1px solid var(--fr-line);background:#fff;color:var(--fr-muted);border-radius:var(--fr-radius);padding:0 12px;font:inherit;font-size:var(--fs-12);cursor:pointer;white-space:nowrap}.fr-btn-secondary{width:100%;border:1px solid var(--fr-line);border-radius:var(--fr-radius);padding:12px 16px;min-height:44px;font:inherit;font-size:var(--fs-14);font-weight:var(--fw-medium);cursor:pointer;background:#fff;color:var(--fr-ink)}.fr-btn-secondary:hover:not(:disabled){border-color:var(--fr-primary);color:var(--fr-primary)}.fr-btn-row{display:flex;gap:10px}.fr-btn-row .fr-btn-secondary{flex:1}.fr-wechat-actions{display:flex;flex-direction:column;gap:14px;width:100%}.fr-checks{display:flex;flex-wrap:wrap;gap:14px 20px}.fr-check{display:inline-flex;align-items:center;gap:8px;font-size:var(--fs-13);color:var(--fr-ink);cursor:pointer;-webkit-user-select:none;user-select:none}.fr-check input{width:16px;height:16px;accent-color:var(--fr-primary)}.fr-meta-row{display:flex;justify-content:space-between;gap:12px;font-size:var(--fs-13);color:var(--fr-muted)}.fr-meta-row strong{color:var(--fr-ink);font-weight:var(--fw-semibold);text-align:right;word-break:break-all}.fr-license-valid{color:#0aa37f!important}.fr-hint.fr-error{color:var(--fr-danger)}.fr-muted{margin:0;font-size:var(--fs-13);color:var(--fr-muted)}.fr-wechat-progress{display:flex;flex-direction:column;align-items:center;gap:10px;padding:12px 0;text-align:center}.fr-spinner{width:36px;height:36px;border:3px solid #dbe7ff;border-top-color:var(--fr-primary);border-radius:50%;animation:fr-spin .8s linear infinite}@keyframes fr-spin{to{transform:rotate(360deg)}}.fr-qr-block{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.fr-qr-img{width:220px;height:220px;object-fit:contain;border:1px solid var(--fr-line);border-radius:8px;background:#fff}.fr-wechat-ok{display:flex;flex-direction:column;gap:12px}.fr-input-with-action{position:relative;display:flex;align-items:stretch;gap:8px;width:100%}.fr-input-with-action input{flex:1 1 auto;min-width:0}.fr-input-with-arrow{position:relative;flex:1 1 auto;min-width:0;display:flex;align-items:center}.fr-input-with-arrow input{width:100%;padding-right:40px}.fr-input-arrow{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:32px;height:32px;display:grid;place-items:center;border:0;background:transparent;color:var(--fr-muted);font-size:var(--fs-20);cursor:pointer;border-radius:6px}.fr-input-arrow:hover{color:var(--fr-primary);background:var(--fr-primary-soft, #eef4ff)}.fr-card-dropdown{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 2px);border:1px solid var(--fr-line);border-radius:8px;background:#fff;box-shadow:0 8px 24px -8px #1118272e;overflow:hidden}.fr-card-dropdown-row{display:flex;align-items:center;border-bottom:1px solid var(--fr-line)}.fr-card-dropdown-row:last-child{border-bottom:0}.fr-card-dropdown-pick{flex:1 1 auto;min-width:0;border:0;background:transparent;color:var(--fr-ink);font:inherit;font-size:var(--fs-13);text-align:left;padding:9px 12px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fr-card-dropdown-pick:hover{color:var(--fr-primary);background:var(--fr-primary-soft, #eef4ff)}.fr-card-dropdown-remove{flex:0 0 auto;border:0;background:transparent;color:var(--fr-muted);font-size:var(--fs-14);line-height:1;padding:0 12px;cursor:pointer}.fr-card-dropdown-remove:hover{color:var(--fr-danger)}.fr-btn-ghost{flex:0 0 auto;min-width:52px;padding:0 10px;border:1px solid var(--fr-line);border-radius:8px;background:#fff;color:var(--fr-muted);font-size:var(--fs-13);cursor:pointer}.fr-btn-ghost:disabled{opacity:.55;cursor:not-allowed}.fr-hint-fixed{min-height:2.6em;margin:0}.fr-btn-busy-stable{min-height:40px}@media(min-width:1440px){.fr-shell-wide{max-width:460px}}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;overflow:hidden;font-family:var(--shell-font)}body{background:var(--shell-bg);color:var(--shell-ink);font-variant-numeric:tabular-nums}.shell-root{display:flex;height:100%;max-height:100dvh;overflow:hidden;background:var(--shell-bg)}.shell-root.is-modal-open .shell-content{overflow:hidden!important;pointer-events:none}.shell-sidebar{width:var(--shell-sidebar-w);flex-shrink:0;background:var(--shell-sidebar);color:var(--shell-sidebar-text);display:flex;flex-direction:column;padding:14px 10px;z-index:40;height:100%;overflow:hidden}.shell-brand{font-weight:var(--fw-semibold);font-size:var(--fs-14);color:var(--shell-ink);padding:4px 8px 14px;letter-spacing:.02em;flex-shrink:0}.shell-nav{display:flex;flex-direction:column;gap:2px;overflow:auto;flex:1;min-height:0}.shell-scope-selectors{display:grid;grid-template-columns:calc(50% - 9px) calc(50% + 5px);gap:4px;padding:0 2px 10px}.shell-scope-selectors.is-source-only{grid-template-columns:1fr}.market-switcher,.source-switcher{min-width:0}.shell-scope-select{position:relative;display:block}.shell-scope-select-control{width:100%;min-width:0;height:32px;padding:0 28px 0 9px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-panel);color:var(--shell-sidebar-text);font:inherit;font-size:var(--fs-13);cursor:pointer}.shell-scope-select-control:focus-visible{outline:2px solid var(--shell-primary);outline-offset:1px}.shell-scope-select-control.is-switching{opacity:.65;cursor:wait}.market-switcher-dot{position:absolute;top:4px;right:24px;width:7px;height:7px;border-radius:50%;background:#ff4d4f;box-shadow:0 0 0 1.5px var(--shell-panel);pointer-events:none}.shell-nav-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 10px;border-radius:var(--shell-radius);color:var(--shell-sidebar-text);text-decoration:none;font-size:var(--fs-14);line-height:1.25}.shell-nav-item:hover{background:var(--shell-primary-soft);color:var(--shell-primary)}.shell-nav-item.is-active{background:var(--shell-primary);color:var(--shell-on-accent);font-weight:var(--fw-semibold)}.shell-nav-badge{min-width:18px;padding:0 5px;height:18px;border-radius:9px;background:var(--shell-surface);color:var(--shell-primary);font-size:var(--fs-12);font-weight:var(--fw-semibold);display:inline-flex;align-items:center;justify-content:center}.shell-main-col{flex:1;min-width:0;width:100%;display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative}.shell-topbar{height:var(--shell-topbar-h);flex-shrink:0;display:grid;grid-template-columns:auto 1fr auto;align-items:center;column-gap:12px;padding:0 12px;background:var(--shell-panel);border-bottom:1px solid var(--shell-line);z-index:20}.shell-topbar-left,.shell-topbar-center,.shell-topbar-right{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:nowrap;overflow:hidden}.shell-topbar-left{grid-column:1}.shell-topbar-center{grid-column:2;justify-content:flex-end}.shell-topbar-right{grid-column:3;justify-content:flex-end;overflow:visible}.shell-draw-action-btn{width:104px;height:36px;flex:0 0 104px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--shell-primary);border-radius:6px;background:var(--shell-primary-soft);color:var(--shell-primary);font-size:var(--fs-13);cursor:pointer;white-space:nowrap}.shell-draw-action-btn.is-cancel{border-color:var(--shell-danger);background:var(--shell-danger-soft);color:var(--shell-danger)}.shell-draw-action-btn:hover:not(:disabled){filter:brightness(.97)}.shell-draw-action-btn:disabled{cursor:not-allowed;opacity:.55}.shell-draw-dialog{border-radius:8px}.shell-draw-dialog-message{margin:-6px 0 14px;color:var(--shell-danger);font-size:var(--fs-12);line-height:1.4}.shell-status-badge{display:inline-flex;align-items:center;gap:6px;font-size:var(--fs-12);line-height:1;white-space:nowrap;padding:5px 8px;border-radius:999px;border:1px solid var(--shell-line);background:var(--shell-surface-subtle);color:var(--shell-muted)}.shell-status-badge.is-on{color:var(--shell-primary);border-color:var(--shell-primary-line);background:var(--shell-primary-soft)}.shell-status-badge .dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.shell-chip{font-size:var(--fs-12);color:var(--shell-ink);background:var(--shell-surface-subtle);border:1px solid var(--shell-line);border-radius:6px;padding:4px 8px;white-space:nowrap}.shell-chip strong{font-weight:var(--fw-semibold);margin-left:4px}.shell-issue-chip{max-width:340px;overflow:hidden;text-overflow:ellipsis;color:var(--shell-primary);border-color:var(--shell-primary-line);background:var(--shell-primary-soft)}.shell-issue-badge{display:inline-flex;align-items:center;gap:6px;max-width:620px;overflow:hidden}.shell-issue-badge.is-today{border-color:var(--shell-teal)}.shell-issue-badge.is-not-today{border-color:var(--shell-danger-line);background:var(--shell-danger-soft)}.shell-issue-badge__stale-dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--shell-danger)}.shell-issue-badge__issue{flex:none;font-size:var(--fs-12);font-weight:var(--fw-semibold);color:var(--shell-primary);white-space:nowrap}.shell-issue-selector{width:198px;min-width:198px;border:0;padding:0 16px 0 0;color:var(--shell-primary);background:transparent;font:inherit;font-size:var(--fs-12);font-weight:var(--fw-semibold);cursor:pointer}.shell-issue-state{flex:none;font-weight:var(--fw-semibold);color:var(--shell-warning)}.shell-last-draw-label{flex:none;color:var(--shell-muted);font-size:var(--fs-12)}.shell-issue-badge__plus{flex:none;color:var(--shell-muted);font-weight:var(--fw-semibold);font-size:var(--fs-14);margin:0 2px}.shell-draw-ball{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:50%;color:var(--shell-on-accent);line-height:1;box-shadow:0 2px 4px #0f172a38}.shell-draw-ball__num{font-size:var(--fs-12);font-weight:var(--fw-semibold);letter-spacing:.01em}.shell-draw-ball__zodiac{font-size:var(--fs-12);font-weight:var(--fw-semibold);margin-top:1px;opacity:.96}.shell-draw-ball--red{background:linear-gradient(180deg,#ef4444,#dc2626 55%,#b91c1c);border:1px solid rgba(185,28,28,.35)}.shell-draw-ball--blue{background:linear-gradient(180deg,#3b82f6,#2563eb 55%,#1d4ed8);border:1px solid rgba(37,99,235,.35)}.shell-draw-ball--green{background:linear-gradient(180deg,#22c55e,#16a34a 55%,#15803d);border:1px solid rgba(22,163,74,.35)}.shell-draw-ball.is-special{box-shadow:0 0 0 1.5px #fbbf24bf,0 1px 4px #0000002e}.shell-date-selector{display:inline-flex;align-items:center;gap:6px}.shell-date-selector select{min-width:96px;border:0;padding:0 18px 0 0;color:var(--shell-ink);background:transparent;font:inherit;font-weight:var(--fw-semibold);cursor:pointer}@media(max-width:1399px){.shell-issue-badge{max-width:560px;gap:4px}.shell-last-draw-label{display:none}.shell-issue-selector{width:180px;min-width:180px}.shell-draw-ball{width:28px;height:28px}.shell-draw-ball__num{font-size:var(--fs-12)}.shell-draw-ball__zodiac{font-size:9px}}.shell-btn-secondary,.shell-account-btn,.shell-icon-btn{border:1px solid var(--shell-line);background:var(--shell-surface);color:var(--shell-ink);border-radius:6px;padding:6px 10px;font-size:var(--fs-12);cursor:pointer;white-space:nowrap;flex-shrink:0;font-family:inherit}.shell-btn-secondary:hover,.shell-account-btn:hover,.shell-icon-btn:hover{border-color:var(--shell-primary);color:var(--shell-primary)}.shell-alert-red{color:#d93025;font-weight:var(--fw-semibold);font-size:var(--fs-12);white-space:nowrap;padding:2px 8px;border-radius:6px;background:#d9302514}.shell-alert-warning{color:#9a6700;font-weight:var(--fw-semibold);font-size:var(--fs-12);white-space:nowrap;padding:2px 8px;border-radius:6px;background:#f5a62324}.shell-wechat-entry{position:relative;flex-shrink:0}.shell-wechat-btn{border:1px solid var(--shell-line);background:var(--shell-surface);color:var(--shell-ink);border-radius:6px;padding:7px 12px;font-family:inherit;font-size:var(--fs-13);white-space:nowrap;cursor:pointer}.shell-wechat-btn.is-ok:hover{border-color:#1a7f37;color:#1a7f37}.shell-wechat-btn.is-ok{border-color:#1a7f3759;background:#1a7f3714;color:#1a7f37;font-weight:var(--fw-semibold)}.shell-wechat-btn.is-paused{border-color:#9a670061;background:#f5a62324;color:#9a6700;font-weight:var(--fw-semibold)}.shell-wechat-btn.is-paused:hover{border-color:#9a6700}html[data-theme=dark] .shell-wechat-btn.is-paused{border-color:#facc1573;background:#facc151f;color:#fde047}.shell-wechat-btn.is-down{border-color:#d9302559;background:#d9302514;color:#d93025;font-weight:var(--fw-semibold)}.shell-wechat-btn.is-down:hover{border-color:#d93025}.shell-wechat-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:30;min-width:132px;display:flex;flex-direction:column;gap:2px;padding:4px;border:1px solid var(--shell-line);border-radius:8px;background:var(--shell-surface);box-shadow:0 8px 24px #0f172a29}.shell-wechat-menu-head{padding:6px 8px;font-size:var(--fs-12);color:#64748b;border-bottom:1px solid var(--shell-line);margin-bottom:2px;white-space:nowrap}.shell-wechat-menu>button{border:0;border-radius:6px;background:transparent;color:var(--shell-ink);font-family:inherit;font-size:var(--fs-12);text-align:left;white-space:nowrap;padding:8px 10px;cursor:pointer}.shell-wechat-menu>button:hover{background:var(--shell-primary-soft, rgba(0, 0, 0, .05));color:var(--shell-primary)}.shell-wechat-menu>button:disabled{cursor:wait;opacity:.5}.wechat-login-dialog{width:min(420px,92vw)}.wechat-login-panel{display:flex;flex-direction:column;gap:12px}.wechat-login-panel .fr-card{background:transparent;border:0;padding:0}.shell-icon-btn{width:34px;height:34px;padding:0;display:none;align-items:center;justify-content:center}.shell-ico{display:block;width:18px;height:18px;background:currentColor;mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center}.shell-ico-menu{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6h18v2H3V6zm0 5h18v2H3v-2zm0 5h18v2H3v-2z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6h18v2H3V6zm0 5h18v2H3v-2zm0 5h18v2H3v-2z'/%3E%3C/svg%3E")}.shell-ico-refresh{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17.65 6.35A7.95 7.95 0 0012 4V1L7 6l5 5V7a6 6 0 11-6 6H4a8 8 0 1013.65-6.65z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17.65 6.35A7.95 7.95 0 0012 4V1L7 6l5 5V7a6 6 0 11-6 6H4a8 8 0 1013.65-6.65z'/%3E%3C/svg%3E")}.shell-ico-user{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 100-8 4 4 0 000 8zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 100-8 4 4 0 000 8zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5z'/%3E%3C/svg%3E")}.shell-menu-btn,.shell-account-icon-btn,.shell-refresh-btn{display:none}.shell-content{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;padding:12px 14px 16px;-webkit-overflow-scrolling:touch}.shell-page-host{min-height:100%}.shell-page-host.is-active{display:flex;flex-direction:column;height:100%;min-height:0}.shell-page-host.is-active>*{flex:1 1 auto;min-height:0}.shell-page-host.is-active .wb-table-scroll{flex:1 1 auto;min-height:120px}.shell-page-host.is-active .rm-page>.conversation-message-table,.shell-page-host.is-active .rm-page>*:has(.conversation-message-table){flex:1 1 auto;min-height:0}.shell-page-host.is-active .rm-page>.conversation-message-table:not([hidden]),.shell-page-host.is-active .rm-page>*:has(.conversation-message-table):not([hidden]){display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.shell-page-host.is-active .conversation-message-table-shell,.shell-page-host.is-active .conversation-message-table .wb-table-scroll,.shell-page-host.is-active .conversation-message-table [class*=table-wrap],.shell-page-host.is-active .conversation-message-table [class*=scroll]{flex:1 1 auto;min-height:0}.shell-page-host.is-active>.wb-panel,.shell-page-host.is-active>.wb-page,.shell-page-host.is-active>.raw-messages-page,.shell-page-host.is-active>.review-workspace,.shell-page-host.is-active>.settlement-page{display:flex;flex-direction:column;min-height:0}.shell-page-host[hidden]{display:none}.shell-footer{height:var(--shell-footer-h);flex-shrink:0;display:flex;align-items:center;gap:8px;padding:0 12px;font-size:var(--fs-12);color:var(--shell-muted);background:var(--shell-surface-subtle);border-top:1px solid var(--shell-line);z-index:20}.shell-footer .ok{color:var(--shell-primary)}.shell-footer .off{color:var(--shell-muted)}.shell-footer .sep:before{content:"·";opacity:.5}.shell-footer-spacer{flex:1}.shell-footer .ver{opacity:.8}.shell-backdrop{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;z-index:35}.shell-status-panel{display:none;position:absolute;top:calc(var(--shell-topbar-h) + 6px);right:10px;width:min(320px,calc(100% - 20px));background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:10px;box-shadow:var(--shell-shadow);z-index:45;padding:12px}.shell-status-panel.is-open{display:block}.shell-status-panel h3{margin:0 0 10px;font-size:var(--fs-13)}.shell-status-panel .row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--shell-line);font-size:var(--fs-13)}.shell-status-panel .row:last-child{border-bottom:0}.shell-status-panel .label{color:var(--shell-muted);flex-shrink:0}.shell-status-panel .row span:last-child{text-align:right;word-break:break-all}.coming-soon{max-width:560px;background:var(--shell-panel);border:1px solid var(--shell-line);border-radius:10px;padding:20px}.coming-soon h1{margin:0 0 8px;font-size:var(--fs-16)}.coming-soon p{margin:0 0 6px;color:var(--shell-ink);line-height:1.5}.coming-soon .muted{color:var(--shell-muted);font-size:var(--fs-13)}@media(min-width:1024px){.shell-menu-btn,.shell-account-icon-btn,.shell-refresh-btn{display:none!important}.shell-tablet-up{display:inline-flex}.shell-sidebar{position:relative;left:auto!important;transform:none!important}.shell-backdrop{display:none!important}}@media(max-width:1023px){.shell-menu-btn{display:inline-flex}.shell-topbar-center,.shell-desktop-only{display:none!important}.shell-tablet-up,.shell-refresh-btn,.shell-account-icon-btn{display:inline-flex}.shell-root.nav-open .shell-backdrop{display:block}.shell-main-col{width:100%}.shell-sidebar.is-drawer{flex:none;width:min(var(--shell-sidebar-w),86vw);box-shadow:4px 0 24px #0f172a47}.shell-draw-action-btn{width:40px;flex-basis:40px;padding:0}.shell-draw-action-btn>span{display:none}}@media(max-width:767px){.shell-topbar{height:auto;min-height:136px;grid-template-columns:minmax(0,1fr);grid-template-rows:84px 40px;row-gap:4px;padding:4px 8px}.shell-topbar-left{grid-column:1;grid-row:1;overflow:visible;flex-wrap:wrap;align-content:center}.shell-topbar-right{grid-column:1;grid-row:2;justify-content:flex-start}.shell-tablet-up{display:none!important}.shell-date-selector{padding:6px 8px;font-size:var(--fs-12)}.shell-date-selector>span{display:none}.shell-date-selector select{min-width:88px;width:88px;padding-right:14px}.shell-issue-badge{flex-basis:100%;max-width:100%;padding:3px 6px;gap:3px;overflow:visible}.shell-issue-selector{width:min(180px,calc(100vw - 240px));min-width:min(180px,calc(100vw - 240px))}.shell-draw-ball{width:26px;height:26px}.shell-draw-ball__zodiac{display:none}.shell-content{padding:10px 10px 16px}.shell-footer{font-size:var(--fs-12);gap:6px;overflow:hidden}}.remote-blocked-page,.formal-blocked-page{display:flex;flex-direction:column;gap:12px;min-height:0}.rbp-head h1{margin:0;font-size:var(--fs-16);color:var(--shell-ink, #0f172a)}.rbp-sub{margin:4px 0 0;color:var(--shell-warning);font-size:var(--fs-13)}.rbp-table-wrap{border:1px solid var(--shell-line-strong);border-radius:6px;overflow:auto;background:var(--shell-surface);min-height:220px}.rbp-table{width:100%;border-collapse:collapse;font-size:var(--fs-12)}.rbp-table th,.rbp-table td{border-bottom:1px solid var(--shell-line);padding:8px 10px;text-align:left;color:var(--shell-muted)}.rbp-table th{background:var(--shell-surface-subtle);font-weight:var(--fw-semibold);color:var(--shell-ink)}.rbp-card{border:1px solid var(--shell-primary-line);background:var(--shell-primary-soft);border-radius:6px;padding:12px 14px;font-size:var(--fs-13);color:var(--shell-muted)}.rbp-card .muted,.rbp-card .fr-muted{color:var(--shell-muted)}:root{--shell-bg: #f3f5f7;--shell-panel: #ffffff;--shell-surface: #ffffff;--shell-surface-subtle: #f7f9fb;--shell-ink: #17202b;--shell-muted: #66717f;--shell-faint: #626c7a;--shell-line: #dce2e8;--shell-line-strong: #cbd3dc;--shell-primary-line: #91caff;--shell-success-line: #a9ddcf;--shell-warning-line: #ffd591;--shell-danger-line: #fecaca;--border: var(--shell-line);--shell-sidebar: #ffffff;--shell-sidebar-raised: #f4f7fb;--shell-sidebar-text: #26364a;--shell-primary: #1769d2;--shell-primary-hover: #0f57b4;--shell-primary-active: #0a458f;--shell-primary-soft: #eaf3ff;--shell-teal: #087f67;--shell-teal-soft: #e8f6f2;--shell-warning: #b8860b;--shell-warning-soft: #fff5df;--shell-danger: #b42318;--shell-danger-soft: #fff0ef;--shell-ok: #087f67;--shell-payout: #6d4bd8;--shell-payout-soft: #f1ecff;--market-new-macau: #d1242f;--market-old-macau: #b8860b;--market-hong-kong: #1f6feb;--shell-head-1: #24405e;--shell-head-1-ink: #ffffff;--shell-head-2: #dfe9f4;--shell-head-2-ink: #1f3a56;--shell-head-3: #eef2f7;--shell-head-3-ink: #55637a;--shell-on-accent: #ffffff;--shell-topbar-h: 58px;--shell-footer-h: 30px;--shell-sidebar-w: 220px;--shell-radius: 7px;--fs-12: 12px;--fs-13: 13px;--fs-14: 14px;--fs-16: 16px;--fs-20: 20px;--fs-24: 24px;--fw-regular: 400;--fw-medium: 500;--fw-semibold: 600;--shell-shadow: 0 16px 44px rgba(23, 32, 43, .16);--shell-shadow-soft: 0 1px 2px rgba(23, 32, 43, .05);--shell-font: "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "PingFang SC", Arial, sans-serif;--shell-font-size: 15px;--shell-line-height: 1.45;font-family:var(--shell-font);font-size:var(--shell-font-size);line-height:var(--shell-line-height);color-scheme:light}::selection{color:var(--shell-on-accent);background:var(--shell-primary)}button,input,select,textarea{letter-spacing:0}button,a,input,select,textarea{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:0 0 0 3px #1769d229;border-color:var(--shell-primary)!important}body,.shell-root{background:var(--shell-bg);color:var(--shell-ink)}.shell-sidebar{width:var(--shell-sidebar-w);padding:0;background:var(--shell-sidebar);border-right:1px solid var(--shell-line)}.shell-brand{min-height:var(--shell-topbar-h);height:var(--shell-topbar-h);display:flex;align-items:center;gap:11px;padding:10px 16px;border-bottom:1px solid var(--shell-line);background:var(--shell-surface)}.shell-brand-mark{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;overflow:hidden;background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:7px}.shell-brand-icon{width:100%;height:100%;display:block;object-fit:cover}.shell-brand-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.shell-brand-copy strong{color:var(--shell-ink);font-size:var(--fs-16);line-height:1.2;font-weight:var(--fw-semibold);letter-spacing:0}.shell-brand-copy small{color:var(--shell-muted);font-size:var(--fs-12);font-weight:var(--fw-semibold);letter-spacing:0}.shell-brand-copy small.shell-brand-version{font-variant-numeric:tabular-nums;font-weight:var(--fw-medium, 500);opacity:.9}.shell-nav{flex:1 1 auto;min-height:0;overflow-y:auto;padding:12px 10px 16px;gap:4px;scrollbar-width:thin;scrollbar-color:#c3ccd6 transparent}.shell-nav-footer{flex:0 0 auto;padding:10px;border-top:1px solid var(--shell-line);background:var(--shell-surface-subtle)}.shell-nav-item{min-height:44px;justify-content:flex-start;gap:10px;padding:8px 12px;border:1px solid transparent;border-radius:6px;color:var(--shell-sidebar-text);font-size:var(--fs-14);font-weight:var(--fw-medium);transition:color .12s ease,background .12s ease,border-color .12s ease}.shell-nav-item:hover{color:var(--shell-primary);background:var(--shell-sidebar-raised);border-color:var(--shell-line-strong)}.shell-nav-item.is-active{color:var(--shell-primary);background:var(--shell-primary-soft);border-color:var(--shell-primary);box-shadow:inset 3px 0 0 var(--shell-primary)}.shell-nav-icon{flex:0 0 auto;color:var(--shell-muted)}.shell-nav-item:hover .shell-nav-icon,.shell-nav-item.is-active .shell-nav-icon{color:var(--shell-primary)}.shell-nav-label{min-width:0;flex:1}.shell-nav-badge{min-width:20px;height:19px;padding:0 5px;color:var(--shell-on-accent);background:var(--shell-danger);border:1px solid rgba(255,255,255,.2);border-radius:9px}.shell-nav-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#e34d59;box-shadow:0 0 0 2px var(--shell-surface)}.shell-sidebar-account{min-height:92px;display:flex;flex-direction:column;gap:6px;margin:0;padding:10px;border-top:1px solid var(--shell-line);background:var(--shell-surface-subtle)}.shell-sidebar-action{width:100%;min-height:38px;display:flex;align-items:center;gap:9px;padding:6px 8px;border:1px solid var(--shell-line);border-radius:6px;color:var(--shell-ink);background:var(--shell-surface);font-family:inherit;text-align:left}.shell-sidebar-action{min-height:40px;cursor:pointer;font-size:var(--fs-14)}.shell-sidebar-action:hover{color:var(--shell-primary);border-color:var(--shell-primary-line);background:var(--shell-primary-soft)}.shell-sidebar-action>span:nth-child(2){min-width:0;flex:1;display:flex;flex-direction:column}.shell-sidebar-action small{color:var(--shell-muted);font-size:var(--fs-12)}.shell-sidebar-action strong{overflow:hidden;font-size:var(--fs-14);text-overflow:ellipsis;white-space:nowrap}.shell-sidebar-action.is-danger{justify-content:center;color:var(--shell-danger);border-color:var(--shell-danger-line);background:var(--shell-danger-soft)}.shell-sidebar-action.is-danger:hover{border-color:#de8d86;background:var(--shell-danger-soft)}.shell-connection-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#b0b8c2}.shell-connection-dot.is-online{background:#0aa37f;box-shadow:0 0 0 3px #e3f5ef}.shell-topbar{min-height:var(--shell-topbar-h);height:var(--shell-topbar-h);padding:0 16px;column-gap:14px;background:#fffffff7;border-bottom-color:var(--shell-line);box-shadow:var(--shell-shadow-soft)}.shell-topbar-left,.shell-topbar-center,.shell-topbar-right{gap:7px}.shell-topbar-center{justify-content:center}.shell-chip{min-height:40px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;color:var(--shell-muted);background:var(--shell-surface-subtle);border-color:var(--shell-line);border-radius:6px;font-size:var(--fs-14)}.shell-chip strong{margin:0;color:var(--shell-ink);font-weight:var(--fw-semibold)}.shell-date-selector select{color:var(--shell-ink);letter-spacing:0}.shell-status-badge{min-height:29px;gap:5px;padding:0 9px;color:var(--shell-muted);background:var(--shell-surface-subtle);border-color:var(--shell-line);border-radius:5px;font-size:var(--fs-12);font-weight:var(--fw-medium)}.shell-status-badge.is-on{color:var(--shell-primary);background:var(--shell-primary-soft);border-color:var(--shell-primary-line)}.shell-status-badge.is-wechat{color:var(--shell-teal);background:var(--shell-teal-soft);border-color:var(--shell-success-line)}.shell-status-badge.is-off{color:var(--shell-danger);background:var(--shell-danger-soft);border-color:var(--shell-danger-line)}.shell-status-badge.is-sync{color:var(--shell-muted)}.shell-btn-secondary,.shell-account-btn,.shell-icon-btn{min-height:40px;border-color:var(--shell-line);border-radius:6px;color:var(--shell-ink);background:var(--shell-surface)}.shell-icon-btn{width:40px;height:40px;padding:0;display:inline-flex}.shell-menu-btn{display:none}.shell-refresh-btn{display:inline-flex}.shell-account-icon-btn{display:none}.shell-account-btn{max-width:184px;display:inline-flex;align-items:center;gap:7px;padding:0 8px 0 6px}.shell-account-label{overflow:hidden;text-overflow:ellipsis}.shell-account-avatar{width:24px;height:24px;display:grid;place-items:center;flex:0 0 24px;color:var(--shell-primary);background:var(--shell-primary-soft);border-radius:5px}.shell-status-panel{top:calc(var(--shell-topbar-h) - 3px);right:16px;width:320px;padding:0;overflow:hidden;border:1px solid var(--shell-line-strong);border-radius:7px;background:var(--shell-surface);box-shadow:var(--shell-shadow)}.shell-status-panel-head{display:flex;align-items:center;gap:10px;padding:14px;background:var(--shell-surface-subtle);border-bottom:1px solid var(--shell-line)}.shell-status-panel-avatar{width:38px;height:38px;display:grid;place-items:center;color:var(--shell-primary);background:var(--shell-primary-soft);border-radius:7px}.shell-status-panel-head h3{margin:0;font-size:var(--fs-14)}.shell-status-panel-head p{margin:2px 0 0;color:var(--shell-muted);font-size:var(--fs-12)}.shell-status-panel .row{min-height:38px;margin:0 14px;padding:0;border-bottom:1px solid var(--shell-line);font-size:var(--fs-14)}.shell-status-panel .row:last-child{border-bottom:0;margin-bottom:8px}.shell-status-panel .status-ok,.shell-status-panel .status-off{display:inline-flex;align-items:center;gap:4px}.shell-status-panel .status-ok{color:var(--shell-teal)}.shell-status-panel .status-off{color:var(--shell-danger)}.shell-content{padding:16px;scrollbar-width:thin;scrollbar-color:#b8c1cc transparent}.shell-content::-webkit-scrollbar{width:9px;height:9px}.shell-content::-webkit-scrollbar-thumb{background:#bac3cd;border:2px solid var(--shell-bg);border-radius:8px}.shell-footer{min-height:var(--shell-footer-h);height:var(--shell-footer-h);padding:0 12px;color:var(--shell-muted);background:var(--shell-surface);border-top-color:var(--shell-line);font-size:var(--fs-12)}.shell-footer>span:not(.sep):not(.shell-footer-spacer){display:inline-flex;align-items:center;gap:4px}.shell-footer .ok{color:var(--shell-teal)}.shell-footer .off{color:var(--shell-danger)}.shell-footer .sep{height:11px;background:var(--shell-line)}.shell-footer .ver{color:var(--shell-faint);font-variant-numeric:tabular-nums}.wb-page,.play-page,.rm-page{gap:12px}.wb-page{max-width:none}.wb-head{min-height:52px;padding:0 0 11px;background:transparent;border:0;border-bottom:1px solid var(--shell-line);border-radius:0}.wb-head h1,.rm-title,.play-title{color:var(--shell-ink);font-size:var(--fs-20);font-weight:var(--fw-semibold);letter-spacing:0}.wb-head p{margin-top:4px;color:var(--shell-muted);font-size:var(--fs-12)}.wb-head-actions{gap:7px}.wb-head-actions button,.wb-actions button,.wb-panel button,.data-section button,.settings-card>button,.rm-btn{min-height:40px;border:1px solid var(--shell-line-strong);border-radius:6px;background:var(--shell-surface);color:var(--shell-ink);font-family:inherit;font-size:var(--fs-14);font-weight:var(--fw-medium);cursor:pointer}.wb-head-actions button:hover,.wb-actions button:hover,.wb-panel button:hover,.data-section button:hover,.settings-card>button:hover,.rm-btn:hover{color:var(--shell-primary);border-color:var(--shell-primary-line);background:var(--shell-primary-soft)}.wb-head-actions button.primary,.wb-actions button.primary,.wb-panel button.primary,.data-section button.primary,.rm-btn.primary{color:var(--shell-on-accent);background:var(--shell-primary);border-color:var(--shell-primary)}.wb-head-actions button.primary:hover,.wb-actions button.primary:hover,.wb-panel button.primary:hover,.data-section button.primary:hover,.rm-btn.primary:hover{color:var(--shell-on-accent);background:var(--shell-primary-hover)}.wb-actions button.danger,.data-section button.danger,.settings-card>button.danger{color:var(--shell-danger);border-color:var(--shell-danger-line);background:var(--shell-danger-soft)}button:disabled{cursor:not-allowed!important;opacity:.5}.wb-panel,.data-section,.conversation-policy,.rm-filters,.play-table-panel,.tema-workbench,.settings-card{border-color:var(--shell-line);border-radius:var(--shell-radius);background:var(--shell-panel);box-shadow:var(--shell-shadow-soft)}.wb-panel-head{min-height:43px;padding:0 12px;border-bottom-color:var(--shell-line);background:var(--shell-surface-subtle)}.wb-panel-head strong{font-size:15px}.wb-panel-head span{color:var(--shell-muted);font-size:var(--fs-12)}.wb-tabs{min-height:40px;gap:2px;padding:4px;background:var(--shell-surface-subtle);border:0;border-radius:6px}.wb-tabs button{min-height:32px;padding:0 11px;border:1px solid transparent;border-radius:5px;color:var(--shell-muted);background:transparent;font-size:var(--fs-14)}.wb-tabs button.is-active{color:var(--shell-primary);background:var(--shell-surface);border-color:#cbd9e8;box-shadow:0 1px 2px #17202b14}.wb-metrics,.play-summary{gap:8px}.wb-metrics>div,.play-summary .sum-item,.worker-metrics>div{min-height:66px;padding:10px 11px;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);box-shadow:none}.play-summary .sum-item:first-child{border-left:3px solid var(--shell-primary)}.wb-metrics span,.play-summary span,.worker-metrics span{color:var(--shell-muted);font-size:var(--fs-12)}.wb-metrics strong,.play-summary strong,.worker-metrics strong{margin-top:4px;color:var(--shell-ink);font-size:var(--fs-14);font-variant-numeric:tabular-nums}.wb-table,.play-table{border-collapse:separate;border-spacing:0}.wb-table th,.play-table th{height:42px;padding:0 10px;color:var(--shell-muted);background:var(--shell-surface-subtle);border-bottom:1px solid var(--shell-line-strong);font-size:var(--fs-13);font-weight:var(--fw-semibold);text-align:left;white-space:nowrap}.wb-table td,.play-table td{height:44px;padding:7px 10px;color:var(--shell-ink);background:var(--shell-surface);border-bottom:1px solid var(--shell-line);font-size:var(--fs-14)}.wb-table tbody tr:hover td,.play-table tbody tr:hover td{background:var(--shell-primary-soft)}.wb-table tbody tr:last-child td,.play-table tbody tr:last-child td{border-bottom:0}.wb-table-scroll,.play-table-wrap,.data-table-wrap{border-color:var(--shell-line);scrollbar-width:thin;scrollbar-color:#bdc7d1 transparent}.wb-empty,.play-table td.state{height:150px;color:var(--shell-faint);text-align:center;background:var(--shell-surface-subtle)}.wb-banner,.rm-banner.review,.play-banner{min-height:40px;display:flex;align-items:center;padding:8px 11px;border-radius:6px;font-size:var(--fs-14)}.wb-banner.success{color:var(--shell-teal);background:var(--shell-teal-soft);border-color:var(--shell-success-line)}.wb-banner.error{color:#9a2018;background:var(--shell-danger-soft);border-color:var(--shell-danger-line)}.wb-banner.warning,.play-banner.review{color:var(--shell-warning);background:var(--shell-warning-soft);border-color:var(--shell-warning-line)}input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:40px;border-color:var(--shell-line-strong)!important;border-radius:5px!important;color:var(--shell-ink);background:var(--shell-surface);font-size:var(--fs-14)}input::placeholder,textarea::placeholder{color:#9aa4b0}input[type=checkbox],input[type=radio]{accent-color:var(--shell-primary)}.ui-page-header-title,.fb-title,.rm-coming h1{font-size:var(--fs-20)}.conversation-policy__head strong,.fb-detail h2,.data-section__head h2{font-size:var(--fs-14)}.ui-page-header-subtitle,.ui-play-current-label,.ui-summary-card-label,.conversation-policy__head span,.conversation-policy__message,.conversation-policy__identity span,.conversation-policy__empty,.rm-sync-meta,.rm-detail-meta dt,.fb-sync-meta,.fb-filters label,.fb-setting-row small,.fb-action-hint,.settings-note,.keyword-version-tools label,.data-section__head p,.data-section__head>label,.data-range small,.data-export-bar,.data-inline-actions,.data-clean-test__notice,.tema-ledger-meta,.tema-ledger-summary span{font-size:var(--fs-12)}.ui-btn,.ui-play-tab,.ui-filter-bar-toggle,.conversation-policy__tabs button,.conversation-policy__bulk button,.fb-filters-toggle,.fb-btn,.settings-actions button,.keyword-add button,.settings-toolbar button,.keyword-version-tools button,.keyword-file,.data-module-head button,.data-section button,.paodan-toolbar button,.auto-rule-primary button,.auto-rule-section-head button{min-height:40px;font-size:var(--fs-14)}.rm-icon-btn,.conversation-policy__tabs button,.conversation-policy__bulk button{height:40px}.data-modules label,.auto-rule-play-grid label{min-height:40px;font-size:var(--fs-14)}.play-tabs-desktop{gap:2px 4px;padding:8px;border:1px solid var(--shell-line);border-radius:7px;background:var(--shell-surface);box-shadow:var(--shell-shadow-soft)}.play-tab{min-height:40px;padding:0 9px;border:1px solid transparent;border-radius:5px;color:var(--shell-muted);font-size:var(--fs-14);font-weight:var(--fw-medium)}.play-tab:hover{color:var(--shell-primary);background:var(--shell-primary-soft);border-color:var(--shell-primary-line)}.play-tab.is-active{color:var(--shell-on-accent);background:var(--shell-primary);border-color:var(--shell-primary)}.play-toolbar{min-height:62px;padding:10px 12px;border:1px solid var(--shell-line);border-radius:7px;background:var(--shell-surface)}.play-title-row{min-width:150px}.play-period{color:var(--shell-muted);font-size:var(--fs-12)}.play-filters{gap:7px}.play-filters label{color:var(--shell-muted);font-size:var(--fs-12)}.play-filters input,.play-filters select{height:40px;font-size:var(--fs-14)}.play-summary-secondary{border-color:var(--shell-line);border-radius:6px;background:var(--shell-surface)}.tema-workbench{overflow:visible}.tema-ball-board{gap:7px}.tema-cell{min-height:68px;border-color:transparent;border-radius:6px;background:var(--shell-surface-subtle)}.tema-cell:hover,.tema-cell.is-selected{border-color:#7eb0e9;background:var(--shell-primary-soft);box-shadow:none}.tema-ball{box-shadow:0 1px 3px #17202b2e}.tema-number-detail,.tema-conversation-stats{border-color:var(--shell-line);border-radius:6px}.tema-number-detail header,.tema-conversation-stats header{background:var(--shell-surface-subtle);border-bottom-color:var(--shell-line)}.play-table-panel{overflow:visible}.play-page .conversation-message-table-shell{min-height:62vh}.play-table-panel.is-refreshing .conversation-message-table-shell{opacity:.55;transition:opacity .12s linear}.play-page .conversation-message-table-shell,.play-page .conversation-message-table-shell .ui-table-panel,.play-page .conversation-message-table-shell .ui-table-wrap{overflow-y:visible!important;max-height:none!important;height:auto}.play-page .conversation-message-table-shell .ui-table-panel,.play-page .conversation-message-table-shell .ui-table-wrap{flex:none!important}.rm-tabs{gap:4px;padding:4px;width:fit-content;background:var(--shell-surface-subtle);border-radius:6px}.rm-tab{min-height:40px;padding:0 11px;border:1px solid transparent;border-radius:5px;background:transparent;font-size:var(--fs-14)}.rm-tab.is-active{color:var(--shell-primary);background:var(--shell-surface);border-color:var(--shell-line-strong);box-shadow:var(--shell-shadow-soft)}.rm-toolbar{min-height:45px;align-items:center;padding-bottom:9px;border-bottom:1px solid var(--shell-line)}.rm-filters{padding:10px;border-radius:7px}.rm-filters label{font-size:var(--fs-12)}.rm-filters input,.rm-filters select{min-height:40px;padding:6px 8px;font-size:var(--fs-14)}.rm-btn{padding:0 12px}.conversation-policy{border-radius:7px}.conversation-policy__head{min-height:44px;padding:8px 10px;background:var(--shell-surface-subtle)}.conversation-policy__tabs button{border-color:var(--shell-line-strong)}.conversation-policy__tabs .is-active{color:var(--shell-primary);border-color:var(--shell-primary-line);background:var(--shell-primary-soft)}.conversation-policy__row:hover{background:var(--shell-primary-soft)}.review-workspace{gap:10px}.review-editor{border-left:3px solid var(--shell-primary-line)}.paodan-toolbar,.paodan-filterbar,.auto-rule-section{border-color:var(--shell-line)}.paodan-filterbar{background:var(--shell-surface-subtle)}.paodan-toolbar button,.auto-rule-primary button,.auto-rule-section-head button{border-color:var(--shell-line-strong);border-radius:5px}.paodan-toolbar button.primary,.auto-rule-primary button.primary{color:var(--shell-on-accent);background:var(--shell-primary);border-color:var(--shell-primary)}.auto-rule-play-grid label{border-color:var(--shell-line);border-radius:5px;background:var(--shell-surface)}.auto-rule-play-grid label.is-checked{color:var(--shell-primary);border-color:var(--shell-primary-line);background:var(--shell-primary-soft)}.settings-grid{gap:10px}.settings-card{overflow:hidden}.settings-card dl{padding:13px}.settings-card dt{color:var(--shell-muted)}.settings-card dd{color:var(--shell-ink);font-weight:var(--fw-medium)}.settings-note{line-height:1.55}.keyword-add,.settings-toolbar,.keyword-version-tools{background:var(--shell-surface-subtle);border-bottom-color:var(--shell-line)}.keyword-add input,.keyword-add select,.keyword-add button,.settings-toolbar button,.keyword-version-tools button,.keyword-file{border-color:var(--shell-line-strong);border-radius:5px}.keyword-add button.primary,.settings-toolbar button.primary,.keyword-version-tools button.primary{background:var(--shell-primary);border-color:var(--shell-primary)}.data-management{max-width:none}.data-section{padding:13px}.data-section__head{margin-bottom:11px}.data-section__head h2{color:var(--shell-ink);font-size:var(--fs-16)}.data-range>label,.data-modules label{border-color:var(--shell-line);border-radius:6px;background:var(--shell-surface)}.data-range>label:hover,.data-modules label:hover{border-color:#9abce2;background:var(--shell-primary-soft)}.data-range>label.is-selected{border-color:#7dacdf;background:var(--shell-primary-soft)}.data-danger{border-color:#ecc5c1;background:var(--shell-danger-soft)}.worker-metrics>div:nth-child(1){border-left:3px solid var(--shell-primary)}.worker-metrics>div:nth-child(4){border-left:3px solid var(--shell-danger)}.worker-metrics>div:nth-child(5){border-left:3px solid var(--shell-teal)}.tema-overview-workspace{gap:10px}.tema-board{gap:7px;padding:10px}.tema-board button{border-color:var(--shell-line);border-radius:6px;background:var(--shell-surface)}.tema-board button:hover{border-color:#8fb8e4;background:var(--shell-primary-soft)}.tema-board button.is-active{color:var(--shell-on-accent);background:var(--shell-primary);border-color:var(--shell-primary)}.tema-board button.has-value:not(.is-active){border-color:#9ed6c8;background:var(--shell-teal-soft)}.tema-detail{border-top:3px solid var(--shell-primary)}html[data-theme=dark]{--shell-bg: #0d1117;--shell-panel: #161b22;--shell-surface: #161b22;--shell-surface-subtle: #1c232c;--shell-ink: #e6edf3;--shell-muted: #9aa5b1;--shell-faint: #7d8791;--shell-line: #242c36;--shell-line-strong: #303a45;--shell-primary-line: #24456e;--shell-success-line: #1f4f3f;--shell-warning-line: #5c4720;--shell-danger-line: #6e3230;--shell-sidebar: #0f141a;--shell-sidebar-raised: #1a2129;--shell-sidebar-text: #c9d1d9;--shell-primary: #539bf5;--shell-primary-hover: #6aa9fb;--shell-primary-active: #4587e8;--shell-primary-soft: #1a2b45;--shell-teal: #57d9a3;--shell-teal-soft: #16302e;--shell-warning: #e3b341;--shell-warning-soft: #3a2d14;--shell-danger: #f47067;--shell-danger-soft: #3b1f22;--shell-ok: #57d9a3;--shell-payout: #b692f6;--shell-payout-soft: #2a2140;--market-new-macau: #ff7b72;--market-old-macau: #e3b341;--market-hong-kong: #58a6ff;--shell-head-1: #223549;--shell-head-1-ink: #e6edf3;--shell-head-2: #1d2836;--shell-head-2-ink: #c3d0dd;--shell-head-3: #191f27;--shell-head-3-ink: #9aa5b1;--shell-on-accent: #ffffff;color-scheme:dark}@media(prefers-color-scheme:dark){html[data-theme=system]{--shell-bg: #0d1117;--shell-panel: #161b22;--shell-surface: #161b22;--shell-surface-subtle: #1c232c;--shell-ink: #e6edf3;--shell-muted: #9aa5b1;--shell-faint: #7d8791;--shell-line: #242c36;--shell-line-strong: #303a45;--shell-primary-line: #24456e;--shell-success-line: #1f4f3f;--shell-warning-line: #5c4720;--shell-danger-line: #6e3230;--shell-sidebar: #0f141a;--shell-sidebar-raised: #1a2129;--shell-sidebar-text: #c9d1d9;--shell-primary: #539bf5;--shell-primary-hover: #6aa9fb;--shell-primary-active: #4587e8;--shell-primary-soft: #1a2b45;--shell-teal: #57d9a3;--shell-teal-soft: #16302e;--shell-warning: #e3b341;--shell-warning-soft: #3a2d14;--shell-danger: #f47067;--shell-danger-soft: #3b1f22;--shell-ok: #57d9a3;--shell-payout: #b692f6;--shell-payout-soft: #2a2140;--shell-head-1: #223549;--shell-head-1-ink: #e6edf3;--shell-head-2: #1d2836;--shell-head-2-ink: #c3d0dd;--shell-head-3: #191f27;--shell-head-3-ink: #9aa5b1;--shell-on-accent: #ffffff;color-scheme:dark}}html[data-theme=dark] .shell-topbar,html[data-theme=dark] .shell-footer,html[data-theme=dark] .wb-panel,html[data-theme=dark] .data-section,html[data-theme=dark] .rm-filters,html[data-theme=dark] .play-toolbar,html[data-theme=dark] .play-tabs-desktop,html[data-theme=dark] .play-table-panel,html[data-theme=dark] .tema-workbench,html[data-theme=dark] .settings-card{background:var(--shell-surface)}html[data-theme=dark] .wb-table td,html[data-theme=dark] .play-table td,html[data-theme=dark] .wb-metrics>div,html[data-theme=dark] .play-summary .sum-item,html[data-theme=dark] .worker-metrics>div{color:var(--shell-ink);background:var(--shell-surface)}html[data-theme=dark] .wb-table th,html[data-theme=dark] .play-table th,html[data-theme=dark] .wb-panel-head,html[data-theme=dark] .keyword-add,html[data-theme=dark] .settings-toolbar,html[data-theme=dark] .keyword-version-tools{color:var(--shell-muted);background:var(--shell-surface-subtle)}:where(html[data-theme=dark]) :where(input,select,textarea,button){color:var(--shell-ink);background-color:var(--shell-surface-subtle)}@media(max-width:1279px){:root{--shell-sidebar-w: 204px}.shell-date-selector>span{display:none}.shell-status-badge{padding:0 7px}}@media(max-width:1023px){:root{--shell-topbar-h: 54px}.shell-menu-btn,.shell-account-icon-btn{display:inline-flex}.shell-topbar{padding:0 10px}.shell-topbar-center{display:none}.shell-sidebar{width:220px}.shell-content{padding:12px}.shell-sidebar-account{margin-bottom:calc(10px + env(safe-area-inset-bottom,0px))}}@media(max-width:767px){:root{--shell-topbar-h: 96px;--shell-footer-h: 38px}.shell-content{padding:10px}.shell-chip{min-height:32px;padding:0 8px}.shell-status-panel{top:calc(var(--shell-topbar-h) + 6px);right:8px;width:min(320px,calc(100vw - 16px))}.shell-footer{gap:7px;overflow-x:auto;padding-bottom:env(safe-area-inset-bottom,0px)}.shell-footer .sep,.shell-footer .ver{display:none}.wb-head{align-items:stretch}.wb-head h1,.rm-title,.play-title{font-size:var(--fs-20)}.play-tabs-mobile{border-color:var(--shell-line);border-radius:7px;background:var(--shell-surface)}.play-toolbar{padding:9px 10px}.play-summary .sum-item,.wb-metrics>div{min-height:62px}.rm-tabs{width:100%}.rm-tab{flex:1;justify-content:center}.data-section{padding:11px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
