*{box-sizing:border-box}
body{margin:0;background:#eef3f4;color:#5f6b76;font-family:"Microsoft YaHei",Segoe UI,Arial,sans-serif;font-size:15px}
a{color:#064fe8;text-decoration:none}
.app{display:flex;min-height:100vh}
.side{width:254px;flex:0 0 254px;background:#1c2d45;color:#bac7d6}
.brand{height:74px;display:flex;align-items:center;gap:12px;padding:0 24px;color:white;font-size:23px;font-weight:700}
.mark{width:30px;height:30px;border-radius:5px;background:#1fc1c7;color:#14243a;display:flex;align-items:center;justify-content:center;font-weight:900}
.nav{padding:10px 0}
.nav a{display:block;color:#bac7d6;padding:15px 26px;border-left:4px solid transparent;font-size:17px}
.nav a.active,.nav a:hover{background:#16253a;color:#27d2d4;border-left-color:#27d2d4}
.main{flex:1;min-width:0}
.top{height:70px;background:white;border-bottom:1px solid #dce2e6;display:flex;align-items:center;justify-content:space-between;padding:0 28px}
.title{font-size:23px;font-weight:700;color:#5d6874}
.topnav{display:flex;gap:16px;align-items:center}.topnav a{color:#1c2d45}.topnav .danger{color:#d33}
.top-select{min-width:180px}
.content{padding:24px 28px}
.grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:16px;margin-bottom:18px}
.metric{background:#fff;border:1px solid #dde4e8;border-radius:6px;padding:18px;min-height:104px}
.metric b{display:block;font-size:31px;color:#25364d;margin-top:10px}
.metric small{display:block;color:#929da7;margin-top:4px}
.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}
.chart{height:260px;border:1px solid #e5eaee;background:linear-gradient(#fff,#fbfcfd);padding:12px;overflow:hidden}
.chart-toolbar{background:#fff;border:1px solid #dde4e8;border-radius:6px;padding:12px 14px}
.line-chart{width:100%;height:100%;display:block}.line-chart .gridline{stroke:#e5eaee;stroke-width:1}.line-chart .axis{font-size:12px;fill:#87919c}.line-chart .axis.date{text-anchor:middle}.line-chart .axis-line{fill:none;stroke:#aeb8c2;stroke-width:1.2}.line-chart .value{font-size:12px;fill:#52606d;text-anchor:middle;font-weight:700}
.bar-chart{height:100%;display:flex;align-items:flex-end;gap:6px;padding:18px 4px 26px}.bar{flex:1;min-width:7px;background:#2fa8d3;border-radius:3px 3px 0 0;position:relative}.bar.active{background:#39c4c2}.bar span{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);font-size:11px;color:#52606d}.bar em{position:absolute;left:50%;top:100%;transform:translateX(-50%);font-style:normal;font-size:11px;color:#87919c;margin-top:5px;white-space:nowrap}
.chart-legend{display:flex;gap:16px;align-items:center;margin-bottom:10px}.dot{width:10px;height:10px;border-radius:2px;display:inline-block;margin-right:5px}.dot.blue{background:#2fa8d3}.dot.teal{background:#39c4c2}
.panel{background:#fff;border:1px solid #dde4e8;border-radius:6px;padding:18px;margin-bottom:18px}
.panel h2{font-size:19px;color:#53606c;margin:0 0 14px}
.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.grow{flex:1}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.tab{border:1px solid #c8d0d7;background:#fff;color:#55616d;padding:7px 12px;border-radius:4px;cursor:pointer}.tab.active{background:#1c2d45;color:white;border-color:#1c2d45}
.btn{display:inline-block;border:1px solid #c8d0d7;background:#fff;color:#55616d;padding:8px 13px;border-radius:4px;cursor:pointer}
.btn.primary{background:#2fa8d3;border-color:#2fa8d3;color:white}.btn.teal{background:#39c4c2;border-color:#39c4c2;color:white}.btn.danger{background:#d84b4b;border-color:#d84b4b;color:white}
.input,.select,textarea{border:1px solid #c2cad2;border-radius:3px;padding:9px 10px;min-height:39px;font-size:15px;background:white}.input{min-width:290px}
textarea{min-height:92px;resize:vertical}.number{max-width:130px}
.compact{min-width:140px}.readonly{background:#f3f6f7}
.table-wrap{overflow:auto;border:1px solid #dfe5e9;background:white}
.table{width:100%;border-collapse:collapse;min-width:940px}.table th,.table td{border-bottom:1px solid #e5eaee;padding:10px 11px;text-align:left;vertical-align:middle}.table th{font-weight:700;color:#52606d;background:#fff}.table tr:hover td{background:#f5f7f8}
.model-table{table-layout:fixed;min-width:0}.model-table th:nth-child(1){width:11%}.model-table th:nth-child(2){width:10%}.model-table th:nth-child(3){width:10%}.model-table th:nth-child(4){width:25%}.model-table th:nth-child(5){width:17%}.model-table th:nth-child(6){width:15%}.model-table th:nth-child(7){width:12%}.model-table th,.model-table td{overflow-wrap:anywhere}.model-table .badge{white-space:nowrap}.model-cell-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-actions{display:flex;flex-wrap:wrap;gap:8px 12px}.model-actions .linkbtn{white-space:nowrap}
.badge{display:inline-block;border-radius:999px;padding:3px 9px;font-size:13px;color:white}.ok{background:#2da66f}.warn{background:#e0a22b}.bad{background:#d84b4b}.off{background:#87919c}.blue{background:#2f88d3}
.tag{display:inline-block;background:#edf5f7;color:#53606c;border:1px solid #d6e2e6;border-radius:4px;padding:3px 7px;margin:2px 4px 2px 0}
.muted{color:#929da7}.notice{background:#f8fbfc;border-left:4px solid #2fa8d3;padding:12px 14px;color:#53606c}.import-rule{background:#fff9df;border-left-color:#d8a231;color:#85662c;line-height:1.65;margin-bottom:15px}
.modal{display:none;position:fixed;inset:0;background:rgba(18,30,44,.48);align-items:center;justify-content:center;padding:24px}.modal.open{display:flex}
.box{width:min(850px,95vw);max-height:90vh;overflow:hidden;background:white;border-radius:6px;padding:24px;display:flex;flex-direction:column}.box h2{flex:0 0 auto;font-size:24px;color:#56616c;margin:0 0 18px;padding-bottom:16px;border-bottom:1px solid #e1e6ea}.modal-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:4px}
.box.wide{width:min(1380px,97vw)}
.form{display:grid;grid-template-columns:150px 1fr;gap:13px;align-items:center}.form label{font-weight:700}.form-help{grid-column:2;line-height:1.55;margin-top:-6px}.foot{flex:0 0 auto;display:flex;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #e1e6ea;background:white}
.model-form{grid-template-columns:150px minmax(0,1fr)}.model-form>*{min-width:0}.model-form .input,.model-form .select{width:100%;min-width:0;max-width:100%}.model-form .input[readonly]{text-overflow:ellipsis}.model-file-status{grid-column:2;overflow-wrap:anywhere}.model-form [hidden],#modelChangeButton[hidden]{display:none}.catalog-file-group{display:grid;gap:12px;min-width:0}.catalog-file-group .model-file-status{grid-column:auto}.catalog-file-group .btn{justify-self:start}
.radio-options{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.radio-options label{display:inline-flex;align-items:center;gap:6px;font-weight:400}.radio-options input{accent-color:#27bfc5;width:18px;height:18px}
.detail-grid{display:grid;grid-template-columns:130px 1fr;gap:8px 12px}.detail-grid b{color:#53606c}.codebox{width:100%;min-height:150px;border:1px solid #c2cad2;background:#f8fbfc;padding:10px;font-family:Consolas,monospace;white-space:pre-wrap;overflow:auto}
.password-rules{margin:0;color:#87919c;line-height:1.7}
.version-list{display:grid;gap:10px}.version-item{border:1px solid #dfe5e9;border-radius:6px;padding:12px;background:#fff}.version-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}.version-head b{font-size:18px;color:#25364d}.version-meta{color:#929da7;font-size:13px;margin-bottom:7px}.version-url{font-family:Consolas,monospace;background:#f8fbfc;border:1px solid #e5eaee;border-radius:4px;padding:8px;word-break:break-all;color:#53606c}.version-note{margin:8px 0;color:#66727e;white-space:pre-wrap}
#toast{position:fixed;right:24px;bottom:24px;z-index:20;display:none;max-width:420px;background:white;border-left:5px solid #2fa8d3;box-shadow:0 12px 32px rgba(28,45,69,.18);padding:14px 16px;color:#53606c}#toast.show{display:block}#toast.error{border-left-color:#d84b4b;color:#b73333}
.actions{display:flex;gap:9px;flex-wrap:wrap}.linkbtn{border:0;background:transparent;color:#064fe8;cursor:pointer;padding:0;font-size:15px}.linkbtn.danger{color:#d33}
.quick-report-filter{display:grid;grid-template-columns:minmax(250px,1.7fr) minmax(150px,1fr) minmax(150px,1fr) auto;gap:10px;align-items:end;padding:14px;background:#f7fafb;border:1px solid #dfe7eb;border-radius:6px;margin-bottom:14px}.report-field{display:flex;flex-direction:column;gap:6px}.report-field label{font-weight:700;color:#53606c}.report-field .input,.report-field .select{width:100%;min-width:0}.report-query-button{height:39px;min-width:86px}.report-empty{padding:34px;text-align:center;color:#929da7}.report-result-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:#7c8994}.report-result-head b{color:#53606c}.report-summary{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;margin-bottom:12px}.report-summary-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dce5e9;border-radius:6px;background:#fff;padding:12px 14px}.report-summary-item span{color:#788590}.report-summary-item b{font-size:24px;color:#25364d}.report-type-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0 2px}.report-type-line>span:first-child{font-weight:700;color:#53606c}.report-type-chip{display:inline-flex;align-items:center;gap:8px;background:#edf5f7;border:1px solid #d6e2e6;border-radius:999px;padding:5px 10px;color:#53606c}.report-type-chip b{color:#25364d}.report-type-chip em{font-style:normal;color:#667581}.report-event{display:inline-block;border-radius:999px;padding:3px 7px;font-size:12px;white-space:nowrap}.report-event+.report-event{margin-left:4px}.report-event.created{background:#eaf3ff;color:#2f6da9}.report-event.activated{background:#e7f7ef;color:#25815a}.report-section{margin-top:14px}.report-section-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px;color:#53606c}.report-section-title b{font-size:17px}.report-path{white-space:nowrap;color:#667581}.report-mobile-meta{display:none}.report-pager{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:10px}.report-pager .btn:disabled{opacity:.45;cursor:not-allowed}
.reward-notice{margin-bottom:14px;line-height:1.65}.reward-form>*{min-width:0}.reward-form .input,.reward-form .select{width:100%;min-width:0}.reward-rules{display:grid;gap:10px}.reward-rule{display:grid;grid-template-columns:minmax(110px,1fr) minmax(70px,110px) 88px;gap:8px;align-items:center}.reward-rule label{overflow-wrap:anywhere;font-weight:400}.reward-quota{display:grid;grid-template-columns:1fr 1fr;gap:8px}.reward-request{max-width:240px;overflow-wrap:anywhere}.reward-form [hidden]{display:none}
.reward-uniform{grid-template-columns:repeat(2,minmax(0,1fr))}.reward-uniform .reward-rule{display:block}
@media(max-width:420px){.reward-rule{grid-template-columns:minmax(80px,1fr) 70px 74px}.reward-quota{grid-template-columns:1fr}}
@media(max-width:760px){.model-form{grid-template-columns:1fr}.model-file-status{grid-column:1}.model-table th,.model-table td{padding:9px 5px;font-size:12px}.model-table .badge{padding:3px 5px;font-size:11px}.model-table th:nth-child(4){width:24%}.model-table th:nth-child(5){width:14%}.model-table th:nth-child(6){width:13%}.model-table th:nth-child(7){width:18%}}
.login-body{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#eef3f4}
.login-card{width:430px;background:#fff;border:1px solid #dde4e8;border-radius:7px;box-shadow:0 14px 34px rgba(28,45,69,.14);padding:32px}
.login-brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}.brand-mark{width:34px;height:34px;background:#1fc1c7;color:#14243a;border-radius:5px;display:flex;align-items:center;justify-content:center;font-weight:900}.login-card h1{margin:0;color:#1c2d45;font-size:25px}
.login-card label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-weight:700}.login-card input{border:1px solid #c2cad2;padding:11px;border-radius:4px}.login-card button{width:100%;margin-top:16px}.login-error{min-height:22px;color:#d84b4b}
@media(max-width:1100px){.side{width:220px;flex-basis:220px}.grid{grid-template-columns:1fr 1fr}.content{padding:18px}.topnav{gap:8px}.top-select{min-width:150px}.quick-report-filter{grid-template-columns:2fr 1fr 1fr auto}}
@media(max-width:900px){.two-col{grid-template-columns:1fr}}
@media(max-width:760px){.app{display:block}.side{width:auto}.brand{height:58px}.nav{display:flex;overflow:auto;padding:0}.nav a{white-space:nowrap;border-left:0;border-bottom:3px solid transparent;padding:13px 16px}.nav a.active{border-bottom-color:#27d2d4}.grid{grid-template-columns:1fr}.input{min-width:0;width:100%}.form{grid-template-columns:1fr}.form-help{grid-column:1;margin-top:-5px}.toolbar{align-items:stretch}.toolbar>*{max-width:100%}.top{padding:0 12px;gap:10px}.title{font-size:19px}.topnav{display:flex}.topnav .danger{font-size:14px}.top-select{min-width:118px;max-width:145px}.content{padding:14px}.actions{display:block}.actions>*{margin-right:8px;margin-bottom:6px}.chart{height:220px}.modal{padding:8px}.box,.box.wide{width:100%;max-height:96vh;padding:14px}.quick-report-filter{grid-template-columns:1fr;padding:12px}.report-query-button{width:100%}.report-result-head{align-items:flex-start;flex-direction:column;gap:4px}.report-summary{grid-template-columns:repeat(4,1fr);gap:5px}.report-summary-item{display:block;padding:9px 5px;text-align:center}.report-summary-item span{display:block;font-size:12px;white-space:nowrap}.report-summary-item b{display:block;font-size:20px;margin-top:4px}.report-type-chip{gap:5px;font-size:12px}.report-section .table{min-width:0;table-layout:fixed;font-size:12px}.report-section .table th,.report-section .table td{padding:9px 5px}.report-section .table th:nth-child(5),.report-section .table td:nth-child(5),.report-section .table th:nth-child(6),.report-section .table td:nth-child(6),.report-section .table th:nth-child(7),.report-section .table td:nth-child(7),.report-section .table th:nth-child(8),.report-section .table td:nth-child(8){display:none}.report-section .table th:nth-child(1){width:33%}.report-section .table th:nth-child(2){width:14%}.report-section .table th:nth-child(3){width:21%}.report-section .table th:nth-child(4){width:32%}.report-section .table td:first-child a{display:block;overflow-wrap:anywhere}.report-event{font-size:10px;padding:3px 5px}.report-event+.report-event{margin:2px 0 0}.report-mobile-meta{display:block;margin-top:4px;color:#929da7;font-size:10px;line-height:1.35;overflow-wrap:anywhere}.report-pager{justify-content:center}}


/* Responsive field organization only; retain the original theme and typography. */
.top{height:auto;min-height:70px;gap:12px;padding-top:12px;padding-bottom:12px}.topnav{min-width:0}.topnav>a{flex-shrink:0;white-space:nowrap}.top-select{max-width:min(340px,40vw)}
.toolbar>*{max-width:100%}.toolbar>.input{flex:1 1 200px;min-width:150px;max-width:420px}.toolbar>.select{max-width:220px}
.btn,.linkbtn,.badge{white-space:nowrap}.btn:disabled{cursor:not-allowed;opacity:.45}
.panel{container-type:inline-size}.management-list{width:100%;min-width:0;border:1px solid #dfe5e9}
.management-head,.management-row{display:grid;grid-template-columns:minmax(330px,1fr) minmax(110px,.4fr) 208px 140px 190px;gap:8px;align-items:center;padding:10px 11px}
.management-head{border-bottom:1px solid #e5eaee}.management-row{border-bottom:1px solid #e5eaee}.management-row:last-child{border-bottom:0}.management-row:hover{background:#f5f7f8}
.management-row>div{min-width:0}.management-head>b{min-width:0;white-space:normal}.key-line{display:flex;align-items:center;gap:7px}.key-line>input{flex:0 0 auto;margin:0}.key-line>.single-line{flex:1;min-width:0}
.single-line{min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.single-line>a,.single-line>.linkbtn{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.meta-line{display:flex;align-items:baseline;gap:6px;min-width:0;line-height:1.5}.meta-label{flex:0 0 auto;white-space:nowrap}.meta-line>span:last-child{min-width:0;overflow-wrap:anywhere}
.record-identity>.meta-line{margin-top:3px}.state-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}.state-line>span{min-width:0;overflow-wrap:anywhere}
.record-time .meta-line,.record-network .meta-line{white-space:nowrap}.record-note{grid-column:1/-1}.record-note .meta-line{align-items:start}.record-note .meta-line>span:last-child{white-space:pre-wrap}
.record-actions .actions,.record-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0}.record-actions .actions>*{margin:0}.record-actions .linkbtn{padding:0}
.cards-list .management-head,.card-row{grid-template-columns:minmax(340px,1.5fr) minmax(115px,.65fr) minmax(190px,.9fr) minmax(145px,.8fr) 172px;column-gap:12px;align-items:start}
.cards-list .management-head{background:#f8fafb;font-size:13px;color:#788590}
.card-row{padding-top:12px;padding-bottom:12px;row-gap:5px}
.card-row .key-line{align-items:flex-start}.card-row .key-line>input{margin-top:4px}
.card-row .single-line,.card-row .single-line>a{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.5}
.card-row .record-identity>.meta-line{padding-left:20px}
.card-row .record-actions .actions{display:flex;flex-wrap:wrap;gap:6px 12px;width:100%;align-items:center;justify-content:flex-start}
.card-row .record-actions .linkbtn{line-height:1.5}
.card-row .record-network .meta-line,.card-row .record-time .meta-line>span:last-child{white-space:normal;overflow-wrap:anywhere}
@container(max-width:1040px){
 .cards-list .management-head{display:none}
 .card-row{grid-template-columns:minmax(0,1.5fr) minmax(190px,1fr);grid-template-areas:"identity state" "time network" "actions actions";gap:6px 16px}
 .card-row .record-identity{grid-area:identity}.card-row .record-state{grid-area:state}
 .card-row .record-time{grid-area:time}.card-row .record-network{grid-area:network}.card-row .record-actions{grid-area:actions}
 .card-row .record-note{grid-column:1/-1;grid-row:auto}
}
.agents-list .management-head,.agent-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1.25fr) minmax(0,1.1fr) minmax(0,1.15fr) 220px}.record-programs .tag{max-width:100%;white-space:normal;overflow-wrap:anywhere;margin:2px 0}
.online-list .management-head,.online-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 290px 108px}.online-row .record-actions{justify-content:flex-start}
@container(max-width:1040px){
 .agents-list .management-head{display:none}
 .agent-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 12px}
 .agent-row .record-identity{grid-column:1/3}
 .agent-row .record-programs{grid-column:3;grid-row:1}.agent-row .record-state{grid-column:1}.agent-row .record-time{grid-column:2}.agent-row .record-actions{grid-column:3}
 .online-list .management-head{display:none}.online-row{grid-template-columns:repeat(2,minmax(0,1fr))}.online-row .record-actions{justify-content:flex-end}
}
@container(max-width:700px){
 .management-head{display:none!important}.card-row,.agent-row,.online-row{display:flex;flex-wrap:wrap;gap:3px 12px;padding:9px 10px}
 .management-row .record-identity{width:100%;flex:1 1 100%}.management-row .record-state{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;width:100%}
 .management-row .record-time,.management-row .record-network{display:flex;flex-wrap:wrap;gap:0 12px;width:100%}.management-row .record-actions{width:100%;justify-content:flex-start;gap:10px}
 .management-row .record-actions .actions{gap:10px}.management-row .record-actions .linkbtn{min-height:30px;padding:4px 0}.record-note{width:100%}.record-programs{width:100%;display:flex;flex-wrap:wrap;gap:4px 8px}
 .online-row .record-time .meta-line{width:100%}.online-row .record-network .meta-line{max-width:100%;white-space:normal}
}
.table-wrap{max-width:100%}.table{width:100%;min-width:0;table-layout:fixed}.table th,.table td{min-width:0;overflow-wrap:anywhere}.table th{word-break:normal}.row-actions,.actions{display:flex;flex-wrap:wrap;gap:9px}.table .badge{white-space:nowrap}
.programs-table th:nth-child(1){width:5%}.programs-table th:nth-child(2){width:12%}.programs-table th:nth-child(3){width:8%}.programs-table th:nth-child(4){width:8%}.programs-table th:nth-child(5),.programs-table th:nth-child(6){width:8%}.programs-table th:nth-child(7){width:15%}.programs-table th:nth-child(8){width:36%}.programs-table td{vertical-align:top}.programs-table .actions{gap:8px 12px;align-items:center}
.form>*{min-width:0}.form .input,.form .select{width:100%;min-width:0}.detail-grid{overflow-wrap:anywhere}.foot{flex-wrap:wrap}
.activity-help{line-height:1.6;margin:12px 0 0}.activity-filters{display:grid;grid-template-columns:1fr 1.3fr auto;gap:12px;align-items:end}.activity-filters label{display:flex;flex-direction:column;gap:6px;min-width:0}.activity-filters .input,.activity-filters .select{width:100%;min-width:0}
#activityDetailsResult{margin-top:16px}.hash-value{display:block;overflow-wrap:anywhere}.report-pager{flex-wrap:wrap}.report-pager .btn{min-width:80px}.two-col>.panel>.toolbar{min-height:39px}.login-card{max-width:calc(100vw - 32px)}
.modal{z-index:50}#toast{z-index:60;max-width:calc(100vw - 32px)}.empty-row td{padding:28px;text-align:center}
@media(max-width:1100px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}}
@media(max-width:900px){.two-col{grid-template-columns:1fr}}
@media(max-width:800px){
 .app{display:block}.side{width:100%;flex-basis:auto}.brand{height:58px}.nav{display:flex;overflow-x:auto;padding:0}.nav a{flex-shrink:0;white-space:nowrap}
 .top{padding:12px;gap:10px}.topnav{gap:10px}.top-select{min-width:0;max-width:43vw;width:180px}.content{padding:10px}.panel{padding:10px}
 .toolbar{gap:6px}.toolbar>.grow{display:none}.toolbar>.input{flex:1 1 100%;width:100%;max-width:none;min-width:0}.toolbar>.select{flex:1 1 80px;min-width:0;max-width:100%}.toolbar>b+.grow{display:block}.toolbar>b+.grow+.btn{margin-left:auto}.chart-toolbar .grow{display:block}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{padding:14px;min-height:96px}
 .responsive-list{display:block;min-width:0!important;width:100%;table-layout:auto!important}.responsive-list thead{display:none}.responsive-list tbody{display:grid;gap:0}.responsive-list tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:8px;border-bottom:1px solid #e5eaee}
 .responsive-list.table td{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;border:0!important;padding:4px!important;white-space:normal;overflow-wrap:anywhere}.responsive-list td::before{content:attr(data-label);display:block;font-weight:700;margin-bottom:2px}
 .responsive-list .mobile-full{grid-column:1/-1}.responsive-list .cell-value{min-width:0;overflow-wrap:anywhere}.responsive-list .cell-actions::before{display:none}.responsive-list .actions,.responsive-list .row-actions{display:flex;min-width:0;gap:10px}.responsive-list .actions>*{margin:0}.responsive-list .linkbtn{min-height:32px;padding:4px 0}
 .responsive-list .empty-row{display:block}.responsive-list .empty-row td::before{display:none}.activity-filters{grid-template-columns:1fr 1fr;gap:10px}.activity-filters>.btn{grid-column:1/-1}
 .modal{padding:8px}.box,.box.wide{width:100%;max-height:96vh;padding:14px}.form{grid-template-columns:1fr;gap:9px}.form-help{grid-column:1}.foot .btn{flex:1}.detail-grid{grid-template-columns:95px minmax(0,1fr)}.report-pager{justify-content:space-between;gap:8px}.report-pager>span{width:100%;text-align:center}
}

@container(max-width:700px){.card-row{gap:5px 12px;padding:12px 10px}.card-row .record-state{gap:6px 14px}.card-row .record-actions .actions{width:auto;gap:4px 16px}}
@container(max-width:700px){.card-row .record-time .meta-line,.card-row .record-network .meta-line{width:100%}}
@media(max-width:800px){.panel>.management-list,.panel>.paged-list>.management-list{margin-left:-10px;margin-right:-10px;width:calc(100% + 20px)}}

.paged-list{min-width:0;max-width:100%;scroll-margin-top:12px}
.list-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;margin-top:12px}
.list-pager>span{margin-right:auto;color:#53606c}.list-pager>label{display:flex;align-items:center;gap:6px;white-space:nowrap}
.list-pager .select{min-width:78px;width:auto}.list-page-actions{display:flex;flex-wrap:wrap;gap:8px}.list-pager .btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:800px){.list-pager{justify-content:space-between;gap:10px}.list-pager>span{width:100%;text-align:center;margin:0}.list-page-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:6px}.list-page-actions .btn{min-width:0;padding:9px 6px}}

#activityDetailsPager{margin:0;align-items:center}.box:has(#activityDetailsPager)>.foot{align-items:center}.box:has(#activityDetailsPager)>.foot>button{order:2}
@media(max-width:800px){.activity-table.table tr{display:block;padding:7px}.activity-table.table td{display:flex!important;gap:8px}.activity-table td::before{flex:0 0 90px;margin:0}.activity-table .cell-value{flex:1}.activity-table.table .cell-key{display:block!important}.activity-table .cell-key::before{display:none}.box:has(#activityDetailsPager)>.foot{display:block}.box:has(#activityDetailsPager)>.foot>button{float:right;min-height:39px;margin-top:8px}.box:has(#activityDetailsPager)>.foot::after{content:'';display:block;clear:both}#activityDetailsPager{justify-content:space-between}#activityDetailsPager>span{width:auto;text-align:left}}

.mobile-menu-button,.mobile-page-title{display:none}
@media(max-width:800px){
 .side{position:relative;z-index:30}.brand{height:56px;padding:0 12px;gap:10px}.brand-name{display:none}.mobile-page-title{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-menu-button{display:inline-block;flex-shrink:0;margin-left:auto}
 .side .nav{display:none;overflow-x:hidden}.side.mobile-nav-open .nav{display:block;position:absolute;left:0;right:0;top:100%;max-height:calc(100vh - 56px);max-height:calc(100dvh - 56px);overflow-y:auto;background:inherit;padding:6px 0}
 .side .nav a{display:block;padding:12px 24px;white-space:normal;border-bottom:0;border-left:4px solid transparent}.side .nav a.active{border-left-color:#27d2d4}
 .top .title{display:none}.top{min-height:48px;padding:8px 12px}.topnav{width:100%;justify-content:space-between}.topnav .danger{margin-left:auto}.top-select{max-width:75vw;width:auto;min-width:130px}
}

@media(max-width:800px){.mobile-menu-button{min-height:44px;min-width:44px;padding:8px;line-height:0}}
