/* PC17 adapter only. Unmodified dice29 CSS defines the visual system. */
.pc17-filter-toggle{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 12px;padding:8px 14px;border:1px solid #dfe7f3;border-radius:9px;background:#fff}.pc17-filter-toggle .real-toggle{display:flex;flex-direction:row;align-items:center;gap:9px}.pc17-filter-toggle small{color:#8c9db5;font-size:11px}.pc17-operations .advanced-card{margin-bottom:16px}.pc17-operations .advanced-actions{display:flex;align-items:end;gap:15px;flex-wrap:wrap}.pc17-operations .advanced-actions>label{display:grid;gap:7px}.pc17-feature-switch{position:relative;cursor:pointer}.pc17-feature-switch>input{position:absolute;right:0;opacity:0;width:90px;height:35px;cursor:pointer;z-index:1}.pc17-feature-switch>input:checked+.setting-switch .setting-switch-track{background:#2467f1}.pc17-feature-switch>input:checked+.setting-switch .setting-switch-track i{transform:translateX(17px)}.pc17-feature-switch>input:focus-visible+.setting-switch{outline:2px solid #8daeff;outline-offset:3px}.pc17-feature-switch>input:checked+.setting-switch .setting-switch-state{font-size:0}.pc17-feature-switch>input:checked+.setting-switch .setting-switch-state::after{content:'已开启';font-size:11px;color:#2467f1}.pc17-menu-row{margin:12px 0;padding:12px;border:1px solid #e1e8f3;border-radius:9px;background:#f8faff}.pc17-menu-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.pc17-menu-button{display:grid!important;gap:8px;padding:10px;background:#fff;border:1px solid #e1e8f3;border-radius:8px}.pc17-operations textarea{min-height:150px;white-space:pre-wrap}.pc17-operations .start-menu-editor{padding:20px}.pc17-operations .advanced-grid>label{display:grid;gap:7px}.pc17-operations .advanced-grid .setting-switch-row{display:flex}.pc17-operations .start-menu-welcome-bubble{white-space:pre-wrap}.pc17-operations input,.pc17-operations textarea,.pc17-operations select{min-width:0;max-width:100%}.pc17-operations small{display:block;color:#8b9bb0}.pc17-operations .setting-switch-state{display:inline}.pc17-dialog.agent-team-modal{max-width:1200px}.pc17-dialog .team-modal-body{overflow:auto}.pc17-dialog .team-table-wrap table{min-width:760px}.pc17-dialog .team-table-wrap{overflow:auto}@media(max-width:700px){.pc17-filter-toggle{justify-content:space-between;flex-wrap:wrap}.pc17-filter-toggle small{font-size:10px}.pc17-operations .start-menu-layout{display:block}.pc17-operations .advanced-actions{align-items:stretch;flex-direction:column}.pc17-menu-buttons{grid-template-columns:1fr}}
[hidden]{display:none!important}.pc17-user-link{border:0;background:none;color:inherit;font:inherit;cursor:pointer;padding:0;display:inline-grid;gap:2px}.pc17-user-link small{color:#8b9ab1;font-size:10px}.pc17-readonly-status{cursor:default}.pc17-full{width:100%;margin-top:10px}.pc17-first{min-height:100dvh}.pc17-first p{line-height:1.7}.pc17-dialog{padding:0;border:0;background:transparent;max-width:calc(100vw - 30px);max-height:calc(100dvh - 40px);color:var(--ink);overflow:auto}.pc17-dialog::backdrop{background:#10234380;backdrop-filter:blur(3px)}.pc17-dialog .modal-card{position:relative;margin:0;max-width:100%;max-height:none}.pc17-modal-wide{width:1100px!important}.pc17-modal-form{display:grid;gap:15px}.pc17-modal-form>label{display:grid;gap:7px;color:#6c7f99;font-size:12px}.pc17-modal-form input,.pc17-modal-form select,.pc17-modal-form textarea{width:100%;min-width:0;border:1px solid #dce4ef;border-radius:7px;padding:9px 11px;background:#fff;color:#344b6b;font-size:13px}.pc17-modal-form textarea{min-height:76px;resize:vertical}.pc17-modal-form p{margin:0}.pc17-modal-form .odds-editor-grid label{display:grid;gap:7px}.pc17-toast{display:none}.pc17-toast.show{display:flex;position:fixed;top:50%;left:50%;bottom:auto;right:auto;transform:translate(-50%,-50%);z-index:200;max-width:calc(100vw - 30px);max-height:calc(100dvh - 30px);overflow-y:auto;animation:none}.pc17-system-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px}.pc17-system-grid>div{background:#f5f8fc;border:1px solid #e8eef6;border-radius:8px;padding:14px;min-width:0}.pc17-system-grid span{display:block;font-size:11px;color:#8797ad;margin-bottom:8px}.pc17-system-grid b{font-size:12px;color:#405675;overflow-wrap:anywhere;font-weight:600}.pc17-pre{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;padding:15px}.pc17-analysis-content{min-width:0}.pc17-analysis-content>.page-actions{margin-bottom:12px}.pc17-message-form{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.pc17-message-form .presentation-editor-body{flex:1}.pc17-copy-input{width:100%;min-height:320px;border:1px solid #dce5ef;border-radius:7px;padding:13px;color:#344b6b;background:#fff;font-size:12px;line-height:1.85;font-family:inherit;resize:vertical}.pc17-message-preview{white-space:pre-wrap;line-height:1.8;font-size:12px;padding:15px;border-radius:8px;background:#f3f6fb;margin-top:12px;color:#415b7b}.pc17-message-form .button-composer-title{display:flex;justify-content:space-between;gap:8px;font-size:12px;margin-bottom:12px}.pc17-message-form .button-composer-title small{font-size:10px;color:#899ab0}.pc17-message-form .button-config-row{margin-bottom:14px;padding:10px;border:1px solid #dce5f0;border-radius:8px;background:#fafcff}.pc17-message-form .button-row-title{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:9px;font-size:12px}.pc17-message-form .button-config-card{padding:9px;margin-bottom:9px;border:1px solid #e1e8f2;background:#fff;border-radius:7px;display:grid;gap:8px}.pc17-message-form .button-config-card label{display:grid;gap:5px;font-size:11px;color:#7f91a9}.pc17-message-form .button-config-card input{width:100%;height:30px;border:1px solid #dce4ee;border-radius:6px;padding:6px 8px;font-size:11px;min-width:0}.pc17-message-form .presentation-variables textarea{width:100%;min-height:80px;border:1px solid #dce4ee;padding:8px;font-size:11px}.pc17-message-form .presentation-variables small{color:#899ab0;font-size:10px}.pc17-chart{padding:16px}.pc17-chart svg{width:100%;height:190px}.pc17-chart>div{display:flex;justify-content:space-between;font-size:10px;color:#8c9db5}.pc17-chart-grid{stroke:#edf1f6;stroke-width:1;fill:none}.pc17-chart-bets,.pc17-chart-payouts{fill:none;stroke:#2867f0;stroke-width:2.5;stroke-linejoin:round}.pc17-chart-payouts{stroke:#17b981}.pc17-result-preview{padding:35px 18px;display:grid;justify-items:center;gap:20px}.pc17-demo{padding:9px 15px;background:#fff3d8;color:#a37622;font-size:11px;margin-bottom:12px;border-radius:7px}.pc17-report-filter{margin-bottom:12px;border:1px solid #e3eaf4;border-radius:10px}.pc17-report-filter label{min-width:125px}.pc17-report-filter select{height:34px;border:1px solid #dce5f0;border-radius:6px;padding:0 8px;color:#526b8d;background:#fff;font-size:12px}.compact-view-users .metrics-grid{margin-bottom:12px}.compact-view-overview .ledger-table-wrap{max-height:480px;overflow:auto}.pc17-dialog .ledger-table{min-width:760px}.pc17-dialog .ledger-table-wrap{overflow:auto}.pc17-dialog .metrics-grid{margin-top:14px}.pc17-analysis-content .health-note{margin-top:12px}.pc17-dialog .fund-preview{grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.pc17-dialog .fund-preview b{overflow-wrap:anywhere;font-size:14px}.ledger-summary{flex-wrap:wrap}.global-search input{width:100%;min-width:0}.pc17-message-form .presentation-workbench{min-height:0}
@media(max-width:900px){.pc17-system-grid{grid-template-columns:1fr}.pc17-modal-wide{width:calc(100vw - 30px)!important}.pc17-dialog .ledger-table{display:table!important}.pc17-dialog .ledger-table thead{display:table-header-group!important}.pc17-dialog .ledger-table tbody{display:table-row-group!important}.pc17-dialog .ledger-table tr{display:table-row!important}.pc17-dialog .ledger-table td{display:table-cell!important}.pc17-dialog .ledger-table td::before{display:none!important}.pc17-dialog .fund-preview{grid-template-columns:1fr}.pc17-dialog .metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pc17-message-form .presentation-workbench{display:block}.pc17-first{padding:20px}.pc17-dialog .modal-card{padding:18px}.pc17-system-grid{padding:12px}.pc17-report-filter{align-items:flex-end}.pc17-readonly-status{display:none}.region-indicator{display:none!important}}
