/* Independent implementation, measured against the reference console. */
:root{font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;font-size:14px;color:rgba(0,0,0,.88);--line:#e8e8e8;--sidebar:#001529;--blue:#1677ff;background:#f0f2f5}
body{font-size:14px}.sidebar{width:220px;box-shadow:none}.sidebar-brand{height:54px;font-size:22px;padding:0 20px;gap:12px}.sidebar-brand .brand-mark{width:30px;height:30px;border-radius:50%;font-size:19px;background:#fff;color:#1677ff}.main-nav{padding:7px 6px 16px}.nav-link,.nav-group-toggle,.nav-sub-toggle{height:40px;min-height:40px;margin-bottom:6px;padding:0 16px;border-radius:6px;color:#ffffffcc;font-size:14px;font-weight:400;gap:12px}.nav-link>span{display:flex;align-items:center;gap:12px}.nav-icon{width:16px;height:16px;display:inline-block;color:inherit;font-size:14px}.nav-group{margin:0}.nav-children{margin:0;padding:0;background:transparent}.nav-children .nav-link{padding-left:32px;min-height:40px;font-size:14px;color:#ffffffcc}.nav-link.active,.nav-children .nav-link.active{background:var(--blue);color:#fff;box-shadow:none}.nav-group-toggle{width:100%}.nav-sub-toggle{display:flex;width:100%;border:0;align-items:center;padding-left:32px;text-align:left;background:transparent}.nav-subchildren .nav-link{padding-left:48px}.chevron{font-size:16px}.nav-group.open>.nav-group-toggle{color:white}.workspace{margin-left:220px;height:100vh;min-height:0;overflow:hidden}.topbar{height:54px;flex:none;padding:0 16px 0 12px;position:relative;backdrop-filter:none;background:#fff;border-bottom:1px solid #f0f0f0;justify-content:flex-start}.topbar .icon-button{border:0;background:transparent;width:38px;height:36px;font-size:21px}.breadcrumbs{font-size:14px;gap:9px;margin-left:12px;white-space:nowrap;overflow:hidden;color:#8c8c8c}.breadcrumbs a{display:flex;color:inherit}.breadcrumbs #breadcrumb-current{color:rgba(0,0,0,.88)}.topbar-actions{margin-left:auto;gap:12px}.topbar-user{border:0;background:transparent;padding:0;gap:9px;color:rgba(0,0,0,.88);font-size:14px}.avatar-small{width:30px;height:30px;border-radius:50%;font-size:15px}.page-tabs{height:40px;min-height:40px;padding:0 0 0 16px;border-bottom:1px solid #e8e8e8;flex:none;justify-content:flex-start;gap:0}.tab-list{display:flex;align-items:stretch;height:100%;min-width:0;overflow:auto;scrollbar-width:none;flex:1}.tab-list::-webkit-scrollbar{display:none}.page-tab{display:flex;align-items:center;height:100%;position:relative;flex:none;border-right:1px solid #f0f0f0}.page-tab.active{background:#fafafa}.page-tab.active:after{position:absolute;left:0;right:0;bottom:0;height:2px;background:#1677ff;content:""}.tab-button{height:100%;padding:0 12px;border:0;background:transparent;color:#595959;font-size:14px;white-space:nowrap}.active .tab-button{color:#1677ff}.tab-close{border:0;color:#aaa;font-size:16px;background:transparent;padding:0 9px 0 0;line-height:24px}.tab-close:hover{color:#1677ff}.page-tabs>.icon-button{border:0;border-left:1px solid #eee;border-radius:0;height:40px;width:40px;flex:none}.page-content{flex:1;min-height:0;max-width:none;margin:0;padding:16px;overflow:auto;display:flex;flex-direction:column}.content-section{border:0;border-radius:0;background:transparent;box-shadow:none;display:flex;flex-direction:column;gap:16px;flex:1;min-height:0;overflow:visible}#dynamic-page{display:flex;flex-direction:column;flex:1;min-height:0}.filter-card,.filter-bar,.cards-toolbar{flex:none;border:0;border-radius:8px;background:white;box-shadow:none;margin:0;padding:20px;min-height:72px;align-items:flex-start;display:flex;gap:12px 24px;flex-wrap:wrap}.filter-field,.filter-bar .filter-field{display:flex;flex-direction:row;align-items:center;gap:12px;min-width:0;font-size:14px;font-weight:400;color:rgba(0,0,0,.88)}.filter-field>span{flex:none;white-space:nowrap}.filter-field input,.filter-field select,.filter-bar .filter-field>input{width:210px;height:32px;padding:0 10px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;font-size:14px;box-shadow:none;color:rgba(0,0,0,.88)}.filter-field input:hover,.filter-field select:hover{border-color:#4096ff}.filter-field input:focus,.filter-field select:focus{outline:0;border-color:#1677ff;box-shadow:0 0 0 2px #1677ff14}.filter-field input::placeholder{color:#bfbfbf}.filter-actions{gap:12px}.cards-toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 24px;padding-bottom:20px}.cards-toolbar .filter-field{min-width:0}.cards-toolbar .filter-field>span{width:64px;text-align:right}.cards-toolbar .filter-field input,.cards-toolbar .filter-field select{min-width:0;width:100%;flex:1}.cards-toolbar .filter-actions{grid-column:auto;display:flex;align-items:center;padding-left:16px}.cards-toolbar>.button{align-self:center;justify-self:start;height:32px}.button{min-height:32px;height:32px;border-radius:6px;padding:0 15px;font-size:14px;font-weight:400;gap:6px;box-shadow:none;transition:background .15s,border-color .15s;transform:none!important}.button-outline{border-color:#d9d9d9;color:rgba(0,0,0,.88)}.button-quiet{color:rgba(0,0,0,.88)}.button-danger{color:#ff4d4f;border:1px solid #ffccc7;background:#fff2f0}.button-danger:hover{border-color:#ff4d4f}.icon-button{border:0;border-radius:4px;color:#595959;background:transparent;font-size:19px;width:32px;height:32px}.icon-button:hover{background:#f5f5f5}.data-card{display:flex;flex-direction:column;flex:1;min-height:200px;border-radius:8px;background:#fff;padding:10px;overflow:hidden}.data-toolbar,.bulk-toolbar{display:flex;align-items:center;gap:12px;padding:8px 0 12px;min-height:52px;border:0;flex:none;background:#fff}.toolbar-spacer{display:block;flex:1}.toolbar-count{font-size:12px;color:#8c8c8c}.table-wrap{flex:1;min-height:100px;border:1px solid #e8e8e8;position:relative;background:#fff;scrollbar-color:#d9d9d9 #fff}table{border-collapse:separate;border-spacing:0;table-layout:auto;min-width:100%;font-size:14px}th{position:sticky;top:0;z-index:2;height:44px;padding:8px 12px;color:#0009;background:#f7f7f7;font-size:14px;font-weight:500;border-right:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;line-height:24px}td{height:45px;padding:8px 12px;color:#000e;font-size:14px;border:0;border-right:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;line-height:24px}tr th:last-child,tr td:last-child{border-right:0}tbody tr:hover td{background:#f5f5f5}th:last-child,td:last-child{position:sticky;right:0;background:#fff;z-index:1;box-shadow:-4px 0 7px -5px #0004}th:last-child{background:#f7f7f7;z-index:3}.id-col{width:8%}.actions-col{width:200px;text-align:center}#software-page table{table-layout:fixed}#software-page table th:nth-child(2){width:22%}#software-page table th:nth-child(3),#software-page table th:nth-child(4){width:22%}.app-name-cell{gap:0}.app-glyph{display:none}.app-name-copy{display:flex;flex-direction:row;align-items:center;gap:8px;flex-wrap:wrap}.app-name-copy strong{font-size:14px;font-weight:400}.badges{display:flex;gap:3px}.badge{font-size:12px;padding:0 4px;border:1px solid #91caff;background:#e6f4ff;color:#1677ff;line-height:20px;border-radius:3px}.badge.success{color:#52c41a;border-color:#b7eb8f;background:#f6ffed}.badge.warning{color:#ff4d4f;background:#fff2f0;border-color:#ffa39e}.app-key{display:block;border:0;padding:0;background:transparent;color:inherit;font-size:14px;font-family:inherit;max-width:100%;overflow:hidden;text-overflow:ellipsis;cursor:copy;white-space:nowrap}.app-key:hover{color:#1677ff}.row-actions{gap:0;justify-content:center}.row-actions .text-action+.text-action:before{content:"";height:14px;border-left:1px solid #e8e8e8;position:absolute;left:0;top:50%;transform:translateY(-50%)}.text-action,.row-actions .text-action{position:relative;min-height:24px;font-size:14px;font-weight:400;padding:0 8px;line-height:24px;color:#1677ff;white-space:nowrap}.row-actions .danger{color:#1677ff}.content-section td:last-child .row-actions{min-width:160px}.status-badge{font-size:12px;padding:0 6px;border:1px solid #b7eb8f;border-radius:4px;line-height:22px;background:#f6ffed;color:#52c41a}.status-badge:before{display:none}.status-badge.idle{border-color:#d9d9d9;background:#fafafa;color:#8c8c8c}.status-badge.disabled{border-color:#ffa39e;background:#fff1f0;color:#ff4d4f}.status-badge.expired{border-color:#ffe58f;background:#fffbe6;color:#faad14}.card-code{font:14px inherit;color:inherit;letter-spacing:0}.table-footer{display:flex;justify-content:center;align-items:center;gap:12px;min-height:40px;padding:8px 0 0;border:0;color:#000d;font-size:12px;flex:none;background:white}.pagination{gap:8px}.page-button,.page-current{width:24px;height:24px;border:0;background:transparent;border-radius:50%;font-size:12px}.page-current{border:1px solid #1677ff;background:white}.page-size-select{width:100px;height:24px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#595959;font-size:12px}.jump-page{display:flex;align-items:center;gap:8px}.jump-page input{width:44px;height:24px;border:1px solid #d9d9d9;border-radius:6px;text-align:center;font-size:12px;color:#595959}.empty-state,.placeholder-empty{min-height:120px;font-size:14px;color:#bfbfbf}.table-wrap .placeholder-empty{padding:20px}.empty-mark{border:0;color:#ccc}.workspace-footer{display:none;justify-content:center;flex:none;color:#8c8c8c;font-size:12px;padding:20px}.workspace.form-workspace .workspace-footer{display:flex}.wide-panel{border:0;border-radius:8px;padding:20px;background:#fff}.panel-heading h2{font-size:16px;font-weight:500}.panel-heading span{font-size:12px}.help-text{font-size:13px;color:#8c8c8c}.modal-backdrop{background:#0007;backdrop-filter:none;align-items:start;padding-top:15vh}.modal{width:min(560px,calc(100vw - 32px));border:0;border-radius:8px;padding:20px 24px;max-height:80vh;box-shadow:0 12px 40px #0003}.modal-header{margin:0 0 24px}.modal-header h2{font-size:18px;font-weight:500;margin:0;line-height:30px;color:#000e}.modal-field{display:flex;flex-direction:row;align-items:flex-start;gap:12px;font-size:14px;font-weight:400;margin-bottom:18px;line-height:32px;color:#000e}.modal-field>span{width:100px;flex:none;text-align:right}.modal-field input,.modal-field select,.modal-field textarea{min-width:0;flex:1;width:100%;min-height:32px;border:1px solid #d9d9d9;border-radius:6px;padding:4px 10px;font-size:14px;color:#000e}.modal-field textarea{line-height:1.7}.modal-note{font-size:12px;color:#8c8c8c}.modal-actions{gap:12px;padding-top:8px}.modal-actions .button{min-width:64px}.modal .remember-option{font-size:14px}.remember-option .checkmark{border-radius:3px}.output-code{font-size:12px}.form-card{background:#fff;border-radius:8px;padding:20px;flex:none}.form-card .panel-heading{min-height:48px;padding:0 20px 16px;border-bottom:1px solid #f0f0f0;margin:0 -0px 20px}.form-card .panel-heading h2{font-size:16px}.injection-card{border:1px solid #f0f0f0;margin:0;padding:0;border-radius:8px}.injection-card .panel-heading{margin:0;padding:14px 22px;min-height:56px;font-size:16px}.injection-body{padding:20px}.inject-row{display:flex;align-items:flex-start;gap:0;margin-bottom:18px;font-size:14px;line-height:32px}.inject-row>span{width:100px;flex:none;text-align:right;padding-right:12px}.required:before{content:"*";color:#ff4d4f;margin-right:4px}.inject-row select,.inject-row input[type=url]{height:32px;flex:1;min-width:0;padding:0 10px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#000e;font-size:14px}.file-drop{width:100px;height:100px;position:relative;display:flex;align-items:center;justify-content:center;border:1px dashed #d9d9d9;border-radius:8px;color:#bfbfbf;font-size:32px;cursor:pointer;background:#fafafa}.file-drop:hover,.file-drop.dragging{border-color:#1677ff;color:#1677ff}.file-drop input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.file-info{margin-left:16px;flex:1;color:#595959;font-size:13px;overflow-wrap:anywhere;line-height:24px}.file-info small{display:block;color:#999}.inject-submit{width:100%}.inject-result{margin-top:20px;padding:16px;border:1px solid #b7eb8f;background:#f6ffed;border-radius:6px}.inject-result .button{margin-right:12px}.inject-warning{margin:0 0 18px;padding:10px 14px;border-radius:6px;color:#ad6800;background:#fffbe6;border:1px solid #ffe58f;font-size:13px;line-height:1.7}.inject-extra{margin:12px 0 18px;font-size:12px;color:#8c8c8c}.inject-extra summary{cursor:pointer}.inject-extra .inject-row{margin-top:12px}.editor-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.editor-header h2{font-size:18px;font-weight:500;margin:0}.editor-actions{display:flex;gap:12px}.editor-description{color:#8c8c8c;margin:8px 0 20px;font-size:14px}.config-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.config-panel{background:white;border-radius:8px;padding:0 20px 20px}.config-tabs{display:flex;gap:24px;border-bottom:1px solid #f0f0f0;margin-bottom:22px;overflow:auto}.config-tab{font-size:14px;padding:14px 0;border:0;background:transparent;color:#595959;white-space:nowrap}.config-tab.active{color:#1677ff;border-bottom:2px solid #1677ff}.config-panel .modal-field>span{width:90px}.radio-row{display:flex;gap:18px;align-items:center;line-height:32px}.radio-row input{accent-color:#1677ff}.popup-menu{position:fixed;z-index:160;min-width:155px;padding:4px 0;border:1px solid #f0f0f0;border-radius:6px;box-shadow:0 6px 20px #0002;background:white}.popup-menu button{display:block;width:100%;padding:9px 18px;border:0;background:transparent;color:#262626;text-align:left;font-size:14px;white-space:nowrap}.popup-menu button:hover,.popup-menu button:focus{background:#f5f5f5;outline:0}.popup-menu button:disabled{color:#bfbfbf}.popup-menu .danger{color:#ff4d4f}.toast{top:25px;bottom:auto;left:50%;right:auto;transform:translate(-50%,-10px);border-radius:6px;font-size:14px}.toast.show{transform:translate(-50%,0)}body.density-compact td{height:36px;padding-top:3px;padding-bottom:3px}body.density-spacious td{height:56px;padding-top:14px;padding-bottom:14px}body.sidebar-collapsed .sidebar{width:64px}body.sidebar-collapsed .sidebar-brand{padding:0 17px}body.sidebar-collapsed .sidebar-brand>span:last-child,body.sidebar-collapsed .nav-group-toggle>span,body.sidebar-collapsed .nav-link>span{font-size:0}body.sidebar-collapsed .nav-link>span .nav-icon{width:18px}body.sidebar-collapsed .nav-children{display:none}body.sidebar-collapsed .workspace{margin-left:64px}.detail-grid{display:grid;grid-template-columns:120px 1fr;border:1px solid #eee;border-radius:6px;overflow:hidden;font-size:14px}.detail-grid dt,.detail-grid dd{margin:0;padding:10px;border-bottom:1px solid #eee;overflow-wrap:anywhere}.detail-grid dt{background:#fafafa;color:#8c8c8c}.detail-grid dd{white-space:normal}.stat-card{box-shadow:none}.stat-card:after{display:none}
@media(max-width:1150px){.cards-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar{width:220px}.workspace{margin-left:220px}.table-wrap table{min-width:900px}#software-page table{min-width:1000px}.config-columns{grid-template-columns:1fr}.filter-bar{gap:12px 24px}}
@media(max-width:760px){.workspace{margin-left:0;height:100dvh}.sidebar{width:220px;transform:translateX(-102%)}.sidebar.mobile-open{transform:translateX(0)}body.sidebar-collapsed .sidebar{width:220px}body.sidebar-collapsed .workspace{margin-left:0}.topbar{padding:0 8px}.topbar-actions{gap:0}.breadcrumbs{font-size:12px;gap:6px;margin-left:2px}.topbar-user #topbar-account-name,.topbar-user>span:last-child{display:none}#fullscreen-button{display:none}.page-content{padding:12px}.page-tabs{padding-left:4px}.tab-button{font-size:13px;padding:0 10px}.filter-bar{padding:16px;min-height:0}.filter-bar .filter-field{flex-direction:row;align-items:center;flex:1}.filter-bar .filter-field>input{width:100%;min-width:0}.filter-bar .filter-actions{margin-left:68px}.cards-toolbar{grid-template-columns:1fr 1fr;gap:14px 12px;padding:16px 12px}.cards-toolbar .filter-field,.cards-toolbar .filter-field.app-filter{flex-direction:column;align-items:stretch;gap:6px;min-width:0;max-width:100%}.cards-toolbar .filter-field>span{width:auto;text-align:left;font-size:13px}.cards-toolbar .filter-field input,.cards-toolbar .filter-field select{flex:none;font-size:14px;width:100%}.cards-toolbar .filter-actions{padding-left:0;grid-column:1 / -1}.cards-toolbar .filter-actions .button{flex:1}.content-section{gap:12px}.data-card{min-height:240px;padding:8px}.data-toolbar,.bulk-toolbar{flex-wrap:wrap;gap:8px;padding:4px 0 10px}.button{min-height:32px;height:32px;font-size:14px;padding:0 12px}.table-footer{gap:8px;flex-wrap:wrap;padding:10px 0;min-height:52px;font-size:12px}.pagination{gap:5px}.jump-page{display:none}.page-size-select{width:90px}.table-wrap{min-height:120px}.form-card{padding:12px}.injection-body{padding:16px 12px}.inject-row>span{width:78px;font-size:13px}.inject-row select,.inject-row input[type=url]{font-size:14px}.file-drop{width:85px;height:85px;flex:none}.file-info{margin-left:10px;font-size:12px}.inject-result .button{margin-top:8px}.modal-backdrop{padding-top:7vh}.modal{max-height:86vh;padding:18px}.modal-field{font-size:14px;gap:10px}.modal-field>span{width:78px}.modal-field input,.modal-field select,.modal-field textarea{font-size:14px}.editor-header{align-items:flex-start}.editor-header h2{font-size:16px}.config-panel{padding:0 14px 14px}.config-tabs{gap:18px}.toolbar-count{display:none}.toast{max-width:calc(100vw - 24px);width:max-content}.sidebar-overlay:not([hidden]){display:block}body.sidebar-collapsed .nav-group-toggle>span,body.sidebar-collapsed .nav-link>span{font-size:14px}body.sidebar-collapsed .nav-children{display:block}body.sidebar-collapsed .sidebar-brand>span:last-child{font-size:22px}}
/* Layout safeguards for nested flex tables, native controls and narrow viewports. */
.workspace,.page-content,#dynamic-page,.config-panel,.form-card{min-width:0}.sidebar-brand{flex-shrink:0}.topbar .breadcrumbs{flex:1;min-width:0}.topbar-actions{flex:none}.data-toolbar>.toolbar-spacer,.bulk-toolbar>.toolbar-spacer{display:block}.cards-toolbar .filter-field{min-width:0}.cards-toolbar .filter-field.app-filter{min-width:0}.data-card .table-wrap{flex:1 1 0}.table-wrap tbody tr:nth-child(even) td{background:#fafafa}.table-wrap tbody tr:hover td{background:#f5f5f5}#software-page table th:nth-child(5){width:110px}#software-page table .actions-col{width:180px}.config-panel .radio-row input,.modal-field .radio-row input{width:auto;flex:none;min-height:0;height:auto;margin:0 5px 0 0}.modal-field .radio-row{flex-wrap:wrap}.modal-field .remember-option{margin:0;line-height:32px}.injection-body .help-text{white-space:normal}.form-card{flex-shrink:0}.page-button{flex-shrink:0}.page-current{min-width:24px}.login-submit{height:45px}.toast{width:max-content;max-width:calc(100vw - 24px)}body.sidebar-collapsed .nav-group-toggle .nav-icon{width:18px;min-width:18px}body.sidebar-collapsed .sidebar-brand>span:last-child{display:none}body.sidebar-collapsed .nav-link{overflow:hidden}.editor-header{flex-shrink:0}.config-columns{align-items:start;flex-shrink:0}.config-panel .modal-field textarea{min-height:140px}.detail-grid{max-width:100%}.output-code{max-width:100%}
@media(max-width:760px){.breadcrumbs #breadcrumb-group,.breadcrumbs #breadcrumb-group+span{display:none}.cards-toolbar .filter-field,.cards-toolbar .filter-field.app-filter{min-width:0;flex:none}.page-content{overflow-x:hidden}.data-card{min-height:260px;flex-basis:0}.data-card .table-wrap{min-height:120px}.form-card{width:100%}.injection-card .panel-heading{padding:14px}.inject-row .radio-row{gap:12px}.inject-row .radio-row label{white-space:nowrap}.inject-extra p{overflow-wrap:anywhere}.config-columns{display:block}.config-panel{margin-bottom:12px}body.sidebar-collapsed .sidebar-brand>span:last-child{display:block}.topbar-user{width:36px}.modal-field .radio-row{font-size:13px;gap:12px}.modal-backdrop{padding-left:10px;padding-right:10px}.modal{width:min(560px,calc(100vw - 20px))}.modal-field>span{width:78px;white-space:normal}.remember-option{gap:6px}}

/* Reference-aligned motion: measured timings, independent implementation. */
:root{--motion-duration:.3s;--motion-fast:.2s;--motion-ease:cubic-bezier(.645,.045,.355,1);--motion-pop:cubic-bezier(.23,1,.32,1);--popup-shadow:0 6px 16px 0 rgba(0,0,0,.08),0 3px 6px -4px rgba(0,0,0,.12),0 9px 28px 8px rgba(0,0,0,.05)}
.sidebar{overflow:hidden;transition:width var(--motion-fast) ease,transform var(--motion-fast) ease}.workspace{transition:margin-left var(--motion-fast) ease}.sidebar-brand{white-space:nowrap}.sidebar-brand .brand-mark{flex:none}.nav-link,.nav-group-toggle,.nav-sub-toggle{white-space:nowrap;transition:color var(--motion-duration),background-color var(--motion-duration),border-color var(--motion-duration)}.nav-group-toggle,.nav-sub-toggle{flex-shrink:0}.chevron{transition:transform var(--motion-fast) ease}.nav-subgroup.open>.nav-sub-toggle .chevron{transform:rotate(180deg)}.nav-link>span,.nav-group-toggle>span{white-space:nowrap}.topbar{border:0;box-shadow:inset 0 -.8px 0 #f0f0f0}.button,.icon-button{transition:color var(--motion-fast),background-color var(--motion-fast),border-color var(--motion-fast),box-shadow var(--motion-fast)}.button-primary:hover{background:#4096ff}.button-primary:active{background:#0958d9}.button-outline:hover{background:#fff;border-color:#4096ff;color:#1677ff}.text-action,.app-key,.page-button{transition:color var(--motion-fast),background-color var(--motion-fast),border-color var(--motion-fast)}
.page-tabs{position:relative;z-index:4;padding-left:16px;padding-top:4px;border:0;box-shadow:0 1px 4px rgba(0,21,41,.08);overflow:hidden}.tab-list{align-items:stretch;isolation:isolate;position:relative}.page-tab{height:36px;border:0;border-radius:8px 8px 0 0;transition:color var(--motion-fast),box-shadow var(--motion-fast);margin-right:6px}.page-tab:hover{background:#f5f5f5}.page-tab.active{background:#e8f1ff;color:#1677ff}.page-tab.active:after{display:none}.page-tab.active:before{position:absolute;bottom:0;left:-8px;width:8px;height:8px;content:"";background:radial-gradient(circle at 0 0,transparent 8px,#e8f1ff 8.5px);pointer-events:none}.tab-button{padding:0 12px}.tab-close{padding-right:10px;color:#8c8c8c;transition:color var(--motion-fast),background-color var(--motion-fast)}.active .tab-close{color:#1677ff}.tab-active-bar{position:absolute;left:0;bottom:0;height:2px;width:0;background:#1677ff;pointer-events:none;z-index:3;transition:width var(--motion-duration) var(--motion-ease),transform var(--motion-duration) var(--motion-ease)}.page-tabs>.icon-button{align-self:center;height:36px;margin-top:-4px;background:#fff;z-index:4}
.page-content{position:relative;overflow-x:hidden}#dynamic-page,#software-page{transform-origin:center;flex-shrink:0}.route-transition .workspace-footer{visibility:hidden}.route-progress{position:fixed;top:0;left:0;right:0;height:2px;z-index:200;pointer-events:none;opacity:1;transition:opacity var(--motion-fast)}.route-progress.complete{opacity:0;transition-delay:.15s}.route-progress-bar{height:100%;width:12%;background:#1677ff;box-shadow:0 0 8px #1677ff66;transition:width var(--motion-fast) ease}
.modal-backdrop{animation:none;display:flex;justify-content:center;align-items:flex-start;padding-top:15vh}.modal{animation:none;margin:0;flex:none}.popup-menu,.select-dropdown{border:1px solid #f0f0f0;border-radius:8px;box-shadow:var(--popup-shadow);transform-origin:center top}.popup-menu button{transition:color var(--motion-fast),background-color var(--motion-fast)}.popup-menu button:hover,.popup-menu button:focus{color:#1677ff;background:#e8f1ff}.table-wrap td{transition:background-color .25s ease}#software-page table .actions-col{width:200px}.data-card{padding:12px 20px}.data-toolbar,.bulk-toolbar{padding:8px 0 12px}.toast{top:20px;bottom:auto;left:50%;right:auto;border-radius:8px;transform:translate(-50%,-100%);transition:opacity .3s,transform .4s,top .4s;box-shadow:var(--popup-shadow)}.toast.show{transform:translate(-50%,0)}.toast.success{background:#f6ffed;border-color:#b7eb8f}.toast.error{background:#fff2f0;border-color:#ffccc7}
/* Accessible custom poppers keep native selects for FormData/validation/change events. */
.select-control{position:relative;display:inline-flex;vertical-align:middle;width:210px;min-width:0;height:32px;flex:none;line-height:normal;text-align:left;padding:0;font-weight:400}.select-control select.select-native{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%);font-size:14px!important}.select-trigger{display:flex;align-items:center;gap:8px;width:100%;min-width:0;height:100%;border:1px solid #d9d9d9;border-radius:6px;padding:0 11px;background:#fff;color:rgba(0,0,0,.88);font-size:14px;font-weight:400;text-align:left;line-height:normal;box-shadow:none;transition:box-shadow var(--motion-duration),border-color var(--motion-duration),color var(--motion-duration)}.select-trigger:hover{border-color:#4096ff}.select-trigger:focus-visible,.select-trigger[aria-expanded=true]{border-color:#1677ff;outline:0;box-shadow:0 0 0 2px #1677ff14}.select-value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0}.select-arrow{margin-left:auto;color:#bfbfbf;flex:none;line-height:1;transition:transform var(--motion-duration) var(--motion-ease)}.select-trigger[aria-expanded=true] .select-arrow{transform:rotate(180deg)}.select-control.disabled .select-trigger{background:#f5f5f5;color:#bfbfbf;cursor:not-allowed;opacity:1}.select-dropdown{position:fixed;z-index:170;padding:6px 0;background:#fff;min-width:100px;max-width:calc(100vw - 16px)}.select-options{max-height:274px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.select-option{height:34px;line-height:34px;padding:0 20px;font-size:14px;color:#262626;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition:background-color var(--motion-fast),color var(--motion-fast)}.select-option.selected{color:#1677ff;font-weight:600}.select-option.highlighted,.select-option:hover{background:#f5f5f5}.select-option.disabled{color:#bfbfbf;cursor:not-allowed}.filter-field>.select-control,.cards-toolbar .filter-field>.select-control{flex:1;min-width:0;width:210px;white-space:normal}.cards-toolbar .filter-field>.select-control{width:100%}.inject-row>.select-control,.modal-field>.select-control{flex:1;min-width:0;width:auto;padding:0;text-align:left}.modal-field>.select-control{margin:0}.page-size-control{width:100px;height:24px}.page-size-control .select-trigger{font-size:12px;padding:0 8px}.config-panel .modal-field>.select-control{width:auto}.modal-field input,.modal-field textarea,.filter-field input,.inject-row input[type=url]{transition:border-color var(--motion-fast),box-shadow var(--motion-fast)}
@media(min-width:761px){body.sidebar-collapsed .sidebar{width:54px}body.sidebar-collapsed .workspace{margin-left:54px}body.sidebar-collapsed .sidebar-brand{padding:0 12px}body.sidebar-collapsed .main-nav{padding-left:4px;padding-right:4px}body.sidebar-collapsed .nav-group-toggle,body.sidebar-collapsed .nav-link{justify-content:center;padding:0 14px}body.sidebar-collapsed .nav-group-toggle>span,body.sidebar-collapsed .nav-link>span{font-size:0}body.sidebar-collapsed .chevron{display:none}body.sidebar-collapsed .nav-group-toggle .nav-icon,body.sidebar-collapsed .nav-link .nav-icon{width:18px;height:18px;min-width:18px;flex:none}}
@media(max-width:760px){.sidebar{width:220px;transition:transform var(--motion-fast) ease}.workspace{margin-left:0}.page-tabs{padding-left:4px}.tab-button{padding:0 10px}.data-card{padding:8px}.modal-backdrop{padding-top:7vh}.filter-field>.select-control,.cards-toolbar .filter-field>.select-control{width:100%;flex:none}.page-size-control{width:90px}.select-trigger{font-size:14px}.select-dropdown{max-height:70vh}.select-options{max-height:min(274px,60vh)}.toast{top:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;transition-delay:0s!important}}

/* The editor uses the same sliding active-bar timing as reference tabs. */
.config-tabs{position:relative;flex:none}.config-tab{position:relative;border-bottom:2px solid transparent;transition:color var(--motion-fast)}.config-tab.active{border-bottom-color:transparent}.config-active-bar{position:absolute;bottom:0;left:0;height:2px;background:#1677ff;pointer-events:none;transition:width var(--motion-duration) var(--motion-ease),transform var(--motion-duration) var(--motion-ease)}
@media(prefers-reduced-motion:reduce){.config-active-bar{transition-duration:.01ms!important}}

/* UI fidelity pass: dimensions/colors sampled from the logged-in reference. */
:root{--ref-font:14px;--ref-line:22.12px}
.form-card{padding:20px 20px 36px}.injection-card{border:0;border-radius:8px;margin:0}.injection-card .panel-heading{height:56.599px;min-height:56.599px;border-bottom:1px solid #f0f0f0;padding:14px 22px;display:flex;align-items:center}.injection-card .panel-heading h2{font-size:16px;font-weight:500;line-height:24px}.injection-body{padding:20px}.inject-row{line-height:32px;font-size:14px;margin:0 0 18px;min-height:32px}.inject-row>span{width:100px;line-height:32px}.inject-row>.select-control{height:32px}.inject-row .select-trigger{font-size:14px;padding:0 10px}.inject-submit{line-height:14px;font-size:14px;font-weight:500;background:#1677ff;border:1px solid #1677ff}.upload-list{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;min-width:0;padding-right:12px;padding-bottom:12px;margin-bottom:-12px}.upload-item,.file-drop{width:100px;height:100px;flex:none;border:1px dashed #d9d9d9;background:#f5f5f5;border-radius:6px;color:rgba(0,0,0,.6);position:relative}.file-drop>svg,.upload-thumbnail>svg{width:22px;height:22px}.upload-thumbnail{width:98px;height:98px;display:flex;align-items:center;justify-content:center}.upload-remove{position:absolute;top:0;right:0;width:18px;height:18px;border:0;border-radius:0 6px 0 18px;background:rgba(0,0,0,.6);color:white;display:flex;align-items:center;justify-content:center;padding:0 0 2px 2px}.upload-remove svg{width:12px;height:12px}.upload-remove:hover{background:#ff4d4f}.file-drop:hover{border-color:#1677ff;background:#f5f5f5}.radio-row{font-size:14px;line-height:32px;gap:30px}.radio-row label{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.radio-row input{appearance:none;width:14px;height:14px;flex:none;border:1px solid #d9d9d9;border-radius:50%;margin:0!important;background:white;min-height:0}.radio-row input:checked{border-color:#1677ff;background:#1677ff;box-shadow:inset 0 0 0 3px #1677ff}.radio-row input:checked:after{content:"";display:block;width:4px;height:4px;border-radius:50%;background:white;margin:4px}.radio-row label:has(input:checked){color:#1677ff}
.modal-backdrop.message-backdrop{align-items:center;padding:0 10px}.modal.message-box{width:380px;max-width:calc(100vw - 20px);padding:0;border-radius:8px;max-height:90vh}.message-box .modal-header{height:53.2px;line-height:24px;padding:18px 20px 8px;margin:0}.message-box .modal-header h2{font-size:16px;line-height:24px}.message-box .modal-header .icon-button{width:22px;height:22px;font-size:22px}.message-box #modal-form{margin:0;padding:12px 20px;min-height:52px}.message-box .message-content{display:flex;align-items:center;gap:12px;font-size:14px;line-height:28px;min-height:28px}.message-content svg{width:24px;height:24px;color:#faad14;flex:none}.message-box .modal-note{display:none}.message-box .modal-actions{padding:8px 20px 18px;margin:0;gap:12px;min-height:58px}.message-box .modal-actions .button{height:32px;min-width:64px;font-size:14px;padding:8px 15px;font-weight:500}.message-box .modal-error:not([hidden]){margin:0 20px 8px}
.editor-header{background:#fff;padding:20px;margin:-16px -16px 16px;min-height:104.13px;border-radius:0;display:block}.editor-header h2{font-size:20px;line-height:36.34px;font-weight:500;margin:0}.editor-description{font-size:14px;line-height:22.12px;color:rgba(0,0,0,.6);margin:0}.editor-actions{grid-column:1/-1;background:white;border-radius:8px;padding:10px;min-height:52px;gap:12px}.editor-actions .button{font-size:14px;font-weight:500}.config-columns{gap:16px 10px}.config-panel{padding:0 10px 10px;border-radius:8px}.config-tabs{gap:20px;margin:0 0 15px;height:40px;border-bottom:2px solid #e8e8e8}.config-tab{font-size:14px;line-height:46px;height:40px;padding:0;font-weight:500}.config-panel .modal-field{font-size:14px;line-height:32px;gap:0;margin:0 0 18px;min-height:32px}.config-panel .modal-field>span{width:100px;text-align:right;padding-right:12px;line-height:32px}.config-panel input:not([type=radio]):not([type=checkbox]),.config-panel textarea,.config-panel .select-trigger{font-size:14px;height:32px;padding:0 10px;line-height:32px;border-radius:6px}.config-panel .modal-field textarea{height:auto;min-height:368px;line-height:20px;padding:5px 11px;resize:vertical}.config-panel .modal-field .select-control{height:32px}.counted-field{position:relative}.counted-field input{padding-right:65px!important}.word-count{position:absolute;right:10px;bottom:2px;line-height:22.12px;font-size:12px;color:rgba(0,0,0,.36);background:white}.counted-field:has(textarea) .word-count{bottom:4px}.info-alert{font-size:14px;line-height:22.12px;padding:8px 16px;background:#f4f4f5;border:0;border-radius:6px;color:rgba(0,0,0,.6)}.info-alert strong{font-weight:500;font-size:14px;line-height:24px}.info-alert p{font-size:12px;line-height:18px;margin:5px 0}.mode-help{margin:0 0 18px}.return-help p{margin:10px 0;font-size:12px;line-height:18px}.return-help{overflow-wrap:break-word}.return-help a{color:#1677ff;word-break:break-all}.algorithm-help{color:rgba(255,0,85,.918)}.algorithm-help p{color:inherit}.ret-item{display:flex;align-items:center;width:calc(100% - 10px);height:32px;margin:20px 0;font-size:14px;line-height:22.12px;white-space:nowrap}.ret-item .ret-key{width:100px;flex:none;margin:0 10px}.ret-item .ret-value{width:0;min-width:60px;flex:1;margin:0 10px}.ret-item input:not([type=checkbox]){border:1px solid #d9d9d9;box-shadow:none;outline:0}.ret-item input:focus{border-color:#1677ff}.ret-item input::placeholder{color:rgba(0,0,0,.36)}.ret-del{margin-left:10px;background:#ff4d4f;border:1px solid #ff4d4f;color:white;min-width:64px;font-size:14px;font-weight:500;flex:none}.ret-del:hover{background:#ff7875}.ret-btn{display:flex;margin:0 0 20px;width:100%;height:32px;gap:20px;padding:0 10px}.ret-btn .button{width:0;flex:1;font-size:14px;font-weight:500}.button-success{background:#52c41a;border:1px solid #52c41a;color:white}.button-success:hover{background:#73d13d}.ret-switch{position:relative;display:inline-flex;width:30px;height:24px;align-items:center;flex:none;cursor:pointer}.ret-switch input{position:absolute;opacity:0;width:30px;height:24px;inset:0;margin:0;cursor:pointer}.ret-switch>span{display:block;width:30px;height:16px;border-radius:8px;background:#bfbfbf;pointer-events:none;transition:background .3s}.ret-switch>span:before{content:"";display:block;width:12px;height:12px;margin:2px;border-radius:50%;background:white;transition:transform .3s}.ret-switch input:checked+span{background:#1677ff}.ret-switch input:checked+span:before{transform:translateX(14px)}.ret-switch input:focus-visible+span{outline:2px solid #91caff;outline-offset:2px}.input-with-unit{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.input-with-unit input{min-width:0}.input-with-unit .select-control{width:100px;flex:none}.advanced-settings{font-size:13px;color:#8c8c8c;margin-left:100px}.advanced-settings summary{cursor:pointer}.advanced-settings .modal-field{margin-left:-100px;margin-top:18px}.form-example{padding:20px;border:1px solid #f0f0f0;border-radius:8px;margin:0 0 16px;font-size:14px;line-height:24px;min-height:64px}.reference-form .modal-field{gap:0;font-size:14px;margin:0 0 18px;line-height:32px}.reference-form .modal-field>span{width:80px;padding-right:12px;line-height:32px}.reference-form input,.reference-form textarea,.reference-form .select-trigger{font-size:14px;line-height:20px}.reference-form .modal-field input[type=number]{height:32px;flex:1;width:0;line-height:32px}.reference-form .custom-card-text{height:290px;min-height:290px;line-height:20px;resize:vertical}.reference-form .radio-row{height:32px}.reference-form .input-with-unit input{width:0}.unbind-panel{background:white;border-radius:8px}.unbind-panel>.panel-heading{height:56.599px;padding:14px 22px;margin:0;border-bottom:1px solid #f0f0f0}.unbind-panel h2{font-size:16px;line-height:24px;font-weight:500}.unbind-panel .info-alert{margin-bottom:16px}.unbind-panel form{max-width:520px}.unbind-actions{margin-left:80px;margin-bottom:18px}.unbind-actions .button{font-size:14px}.unbind-records-title{font-size:14px;font-weight:500;line-height:22.12px;margin:16px 0}.unbind-panel table{min-width:600px}.unbind-panel td:last-child,.unbind-panel th:last-child{position:static;box-shadow:none}.unbind-panel .table-wrap{border:0}.today-card{background:#fff;border-radius:8px;padding:20px}.today-card h2{font-size:16px;font-weight:500;margin:0 0 20px}.stats-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stats-panels h2{font-size:16px;line-height:24px;font-weight:500}.card-stats-form{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;margin-top:16px}.card-stats-form input[type=date]{height:32px;border:1px solid #d9d9d9;border-radius:6px;padding:0 10px}.card-stats-results{margin-top:20px}
@media(max-width:760px){.form-card{padding:12px 12px 28px}.injection-card .panel-heading{padding:14px}.injection-body{padding:16px 12px}.inject-row>span{width:78px;font-size:14px}.inject-row,.inject-row .select-trigger{font-size:14px}.upload-item,.file-drop{width:100px;height:100px}.upload-list{gap:12px}.editor-header{margin:-12px -12px 12px;padding:16px}.editor-header h2{font-size:20px}.editor-description{font-size:14px;line-height:22px}.editor-actions{margin-bottom:12px}.config-panel{padding:0 10px 10px}.config-tabs{gap:18px}.config-tab{font-size:14px}.config-panel .modal-field>span{width:90px;font-size:14px}.config-panel input:not([type=radio]):not([type=checkbox]),.config-panel textarea,.config-panel .select-trigger{font-size:14px}.config-panel .modal-field textarea{min-height:300px}.ret-item{min-width:450px}.config-panel [data-config-panel=returns]{overflow-x:auto}.ret-btn,.return-help{min-width:450px}.ret-item .ret-key{width:80px}.ret-item .ret-value{min-width:80px}.reference-form .modal-field>span{width:72px;font-size:14px}.reference-form .custom-card-text{font-size:14px}.form-example{font-size:14px;padding:16px}.radio-row{font-size:14px;gap:20px}.input-with-unit{gap:8px}.stats-panels{grid-template-columns:1fr}.ret-btn{gap:20px}.unbind-panel .injection-body{padding:16px}.unbind-panel .info-alert{font-size:14px;line-height:22px}.info-alert p{font-size:12px}}

/* Final box-model reconciliation; do not pre-apply the OS font scale. */
.inject-row{line-height:22.12px}.inject-row>span{height:32px;line-height:32px}.upload-list{margin-bottom:0}
.editor-header{height:104.13px;min-height:104.13px}.editor-header h2{line-height:31.6px}.editor-description{line-height:22.12px}
.config-panel{padding-top:2px}.config-tabs{height:39px}.config-tab{height:39px;line-height:40px}.config-panel [data-config-panel]:not([data-config-panel=returns]){padding:0 5px}
.config-panel .modal-field>span{width:80px;height:32px;line-height:32px}.config-panel .modal-field{line-height:22.12px}.config-panel .modal-field .radio-row{height:36.8px}
.config-panel .radio-row{gap:0;position:relative}.config-panel .radio-row label{position:relative;height:32px;line-height:14px;padding:8px 15px;gap:0;border:1px solid #d9d9d9;border-right:0;background:#fff;color:#000e;font-size:14px;cursor:pointer}.config-panel .radio-row label:first-child{border-radius:6px 0 0 6px}.config-panel .radio-row label:last-child{border-right:1px solid #d9d9d9;border-radius:0 6px 6px 0}.config-panel .radio-row label:has(input:checked){background:#1677ff;border-color:#1677ff;color:white;box-shadow:1px 0 0 #1677ff;z-index:1}.config-panel .radio-row input{position:absolute;opacity:0;width:1px;height:1px;padding:0;border:0}.config-panel .radio-row label:has(input:focus-visible){outline:2px solid #91caff;outline-offset:2px}
.config-panel .modal-field textarea{height:auto;min-height:38px;line-height:21px;padding:4px 10px}
.mode-help{padding:8px 16px;margin-bottom:25.438px;min-height:140.46px}.mode-help strong{font-size:16px;line-height:24px}.mode-help p{font-size:14px;line-height:22.12px;margin:14px 0}
.ret-btn{margin:20px 0}.return-help strong{font-size:16px;line-height:24px}.return-help p{font-size:14px;line-height:22.12px;margin:14px 0}.return-help{overflow-wrap:normal}.return-help a{word-break:normal}.ret-del{margin-left:10px;line-height:14px;padding:8px 15px}.ret-item .ret-value{margin-right:0}.ret-item:has(.ret-switch:not([hidden])) .ret-value{margin-right:10px}
.reference-form .input-with-unit:has(select[name=unit]){gap:0}.reference-form .input-with-unit:has(select[name=unit])>input{border-radius:6px 0 0 6px}.reference-form .input-with-unit:has(select[name=unit])>.select-control{width:150px}.reference-form .input-with-unit:has(select[name=unit]) .select-trigger{border-radius:0 6px 6px 0;background:#f5f7fa;margin-left:-1px}
.secret-control{display:flex;min-width:0;flex:1}.secret-control input{border-radius:6px 0 0 6px!important}.secret-refresh{width:45px;height:32px;flex:none;border:1px solid #d9d9d9;border-left:0;border-radius:0 6px 6px 0;background:#f5f7fa;color:#909399;cursor:pointer;font-size:18px}.secret-refresh:hover{color:#1677ff}
.cards-toolbar>.modal-field{display:flex;flex-direction:row;margin:0;align-items:center;gap:12px}.cards-toolbar>.modal-field>span{width:64px;line-height:32px}
@media(max-width:760px){.editor-header{height:auto;min-height:104.13px}.config-panel .modal-field>span{width:80px}.ret-btn{min-width:450px}.return-help{min-width:450px}.reference-form .input-with-unit:has(select[name=unit])>.select-control{width:100px}}

/* Return-help typography and spacing follow the reference, including explicit line breaks. */
.ret-btn{margin:0 0 20px}.return-help strong{display:block}.return-description{display:flow-root;margin-top:4px}.return-help p{margin:14px 0;font-size:14px;line-height:22.12px}
#config-version>.modal-field:has(input[type=radio])>span{width:100px}

.return-description>p{line-height:1.58}

/* Remaining activity/statistics/list cards: reference header/body and form geometry. */
.reference-panel{padding:0;flex:none;background:#fff;border-radius:8px;overflow:hidden}
.reference-panel>.panel-heading,.trend-card>.panel-heading{height:56.599px;min-height:56.599px;margin:0;padding:14px 22px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center}
.reference-panel .panel-heading h2{font-size:16px;line-height:24px;font-weight:500;margin:0}
.reference-panel-body{padding:20px}
.reference-panel .filter-field{gap:0;align-items:flex-start;min-height:32px}
.reference-panel .filter-field>span:first-child{width:80px;flex:none;line-height:32px;text-align:right;padding-right:12px}
.reference-panel .filter-field>.select-control{flex:1;min-width:0}
.reference-panel .activity-filter,.reference-panel .card-stats-form{display:block;margin:0 0 18px;padding:0}
.reference-panel .activity-filter>.filter-field,.reference-panel .card-stats-form>.filter-field{margin:0 0 18px}
.reference-panel .activity-filter>.filter-field:last-child,.reference-panel .card-stats-form>:last-child{margin-bottom:0}
.reference-panel .card-stats-results{margin:0}
.stats-info,.activity-warning{display:flex;align-items:center;gap:8px;margin:0 0 16px;padding:8px 16px;border-radius:6px;line-height:24px}
.stats-info{height:43.599px;color:#8c8c8c;background:#f5f5f5;font-size:14px}
.alert-symbol{width:16px;height:16px;flex:none;border-radius:50%;background:currentColor;position:relative;font-size:0}
.alert-symbol:after{content:'i';display:block;position:absolute;inset:0;text-align:center;color:#fff;font:bold 12px/16px Arial}
.activity-warning{min-height:44px;background:#fffbe6;color:#faad14;gap:12px}
.activity-warning .alert-symbol{width:28px;height:28px}
.activity-warning .alert-symbol:after{content:'!';font-size:20px;line-height:28px}
.activity-warning p{font-size:14px;line-height:1.58;margin:0}
.stats-panels{display:block}
.trend-card{border-radius:8px;overflow:hidden;box-shadow:0 1px 2px -2px #0003,0 3px 6px #0000000f,0 5px 12px 4px #0000000a;margin:0 0 16px}
.trend-body{padding:20px;height:440px}
.trend-body .stats-svg{display:block;width:100%;height:400px}
.card-statistics .filter-field>span:first-child{width:90px}
.card-statistics .stats-query{padding-left:90px;height:32px}
.date-range{display:flex;align-items:center;gap:10px;border:1px solid #d9d9d9;border-radius:6px;width:350px;height:32px;padding:0 10px;color:#8c8c8c}
.reference-panel .date-range input{border:0;box-shadow:none;flex:1;width:0;min-width:0;height:30px;padding:0;text-align:center;font-size:14px;background:transparent}
.date-range input::-webkit-calendar-picker-indicator{width:0;padding:0;opacity:0}
.date-range:focus-within{border-color:#1677ff}
.today-activation .activity-results .table-wrap{height:auto;min-height:112.448px;border:0}
.today-activation .activity-results .placeholder-empty{min-height:72px;height:72px;padding:0;gap:0}
.today-activation .activity-results .empty-mark{display:none}
.today-activation .activity-results th{height:40.448px;line-height:22.12px;padding:8px 12px}
.filter-card:not(.cards-toolbar){padding:20px 20px 2px;column-gap:30px;row-gap:0}
.filter-card:not(.cards-toolbar)>.filter-field{gap:0;margin-bottom:18px;flex:none}
.filter-card:not(.cards-toolbar)>.filter-field>span{width:72px;height:32px;line-height:32px;padding-right:12px;text-align:right;flex:none}
.filter-card:not(.cards-toolbar)>.filter-field>.select-control,.filter-card:not(.cards-toolbar)>.filter-field>input{width:187px;flex:none}
.filter-card:not(.cards-toolbar)>.button{margin-bottom:18px}
#logs-filter>.button{margin-bottom:18px}
#logs-filter .filter-actions{display:flex;gap:12px;margin-bottom:18px}
.content-section:has(#activity-filter)>.data-card,.content-section:has(#blacklist-filter)>.data-card,.content-section:has(#user-filter)>.data-card{padding-top:2px}
@media(max-width:760px){.reference-panel-body{padding:16px 12px}.reference-panel .filter-field>span:first-child{width:80px}.date-range{flex:1;min-width:0}.card-statistics .stats-query{padding-left:80px}.stats-info{height:auto;min-height:43.599px}.activity-warning p{white-space:normal}.filter-card:not(.cards-toolbar)>.filter-field{flex:1;min-width:240px}.filter-card:not(.cards-toolbar)>.filter-field>.select-control,.filter-card:not(.cards-toolbar)>.filter-field>input{width:0;flex:1}}

/* Explicit line boxes avoid WebView text inflation enlarging reference form rows. */
.reference-panel .filter-field{height:32px}
.reference-panel .filter-field>span:first-child{height:32px}
.filter-card:not(.cards-toolbar) .filter-actions .button{height:32px;min-height:32px}
.today-activation .activity-results th{padding-top:6px;padding-bottom:6px}
