.gate-mobile-label,.gate-mobile-field-note{display:none}
.gate-account-toggle{display:inline-flex;align-items:center;gap:8px}

@media(max-width:900px){
 .gate-page .gate-mobile-table{display:block;width:100%;min-width:0;table-layout:auto}
 .gate-mobile-table thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .gate-mobile-table tbody{display:grid;gap:12px;padding:12px;background:var(--canvas)}
 .gate-mobile-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--white)}
 .gate-mobile-table tbody tr:hover{background:var(--white)}
 .gate-page .gate-mobile-table td,.gate-page .gate-mobile-table td:first-child,.gate-page .gate-mobile-table td:last-child{display:block;min-width:0;height:auto;padding:0;border:0;white-space:normal;text-align:left;overflow:visible;text-overflow:clip;font-size:13px}
 .gate-mobile-table td[data-label]::before{content:attr(data-label);display:block;margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:400}
 .gate-page .gate-mobile-table td[colspan]{grid-column:1/-1;grid-row:auto;padding:16px 0;text-align:center}
 .gate-mobile-table .gate-name-cell strong{font-size:15px;line-height:1.4}
 .gate-mobile-table .gate-name-cell small{margin-top:5px}
 .gate-mobile-table .gate-copy{min-height:24px;align-items:center;font-size:11px}
 .gate-mobile-table .gate-key-metric{row-gap:3px;line-height:1.5}
 .gate-mobile-table .gate-key-metric>small{font-size:11px}
 .gate-mobile-table .gate-table-sub{margin-top:3px;font-size:11px}

 .gate-keys-table.gate-mobile-table td:nth-child(1){grid-column:1/-1;grid-row:1;padding-right:78px}
 .gate-keys-table.gate-mobile-table td:nth-child(2){grid-column:2;grid-row:1;justify-self:end;align-self:start}
 .gate-keys-table.gate-mobile-table td:nth-child(3){grid-column:1;grid-row:2}
 .gate-keys-table.gate-mobile-table td:nth-child(4){grid-column:2;grid-row:2}
 .gate-keys-table.gate-mobile-table td:nth-child(5){grid-column:1;grid-row:3}
 .gate-keys-table.gate-mobile-table td:nth-child(6){grid-column:2;grid-row:3}
 .gate-page .gate-keys-table.gate-mobile-table td:nth-child(7){grid-column:1/-1;grid-row:4;padding-top:12px;border-top:1px solid var(--line-soft)}
 .gate-keys-table.gate-mobile-table .gate-name-cell strong{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}
 .gate-keys-table.gate-mobile-table :is(.row-actions,.gate-table-actions){display:flex;gap:8px}
 .gate-keys-table.gate-mobile-table .gate-row-button{flex:1;min-width:0;min-height:40px}

 .gate-log-table.gate-mobile-table tbody tr{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 .gate-page .gate-log-table.gate-mobile-table td:nth-child(1){grid-column:1;grid-row:3;font-size:12px;white-space:nowrap}
 .gate-log-table.gate-mobile-table td:nth-child(2){grid-column:1/3;grid-row:1;font-size:14px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
 .gate-log-table.gate-mobile-table td:nth-child(3){grid-column:1/-1;grid-row:2}
 .gate-log-table.gate-mobile-table td:nth-child(4){grid-column:3;grid-row:1;justify-self:end;align-self:start}
 .gate-log-table.gate-mobile-table td:nth-child(5){grid-column:2;grid-row:3}
 .gate-log-table.gate-mobile-table td:nth-child(6){grid-column:3;grid-row:3}
 .gate-page .gate-log-table.gate-mobile-table td:nth-child(7){grid-column:1/-1;grid-row:4;padding-top:10px;border-top:1px solid var(--line-soft);font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
 .gate-page .gate-log-table.gate-mobile-table td.is-empty{display:none}
 .gate-log-table.gate-mobile-table .gate-log-model-name{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}
 .gate-log-foot .icon-button{width:36px;height:36px;min-height:36px}

 .gate-pool-table.gate-mobile-table td:nth-child(1){grid-column:1/-1;grid-row:1;padding-right:78px}
 .gate-pool-table.gate-mobile-table td:nth-child(2){grid-column:2;grid-row:1;justify-self:end;align-self:start}
 .gate-pool-table.gate-mobile-table td:nth-child(3){grid-column:1;grid-row:2}
 .gate-pool-table.gate-mobile-table td:nth-child(4){grid-column:2;grid-row:2}
 .gate-page .gate-pool-table.gate-mobile-table td:nth-child(5){grid-column:1/-1;grid-row:3;padding-top:10px;border-top:1px solid var(--line-soft)}
 .gate-pool-table .gate-name-cell>div{min-width:0}
 .gate-pool-table .gate-name-cell small{overflow-wrap:anywhere}
 .gate-pool-table .gate-account-icon{display:none}
 .gate-pool-table .gate-inline-number,.gate-pool-table .gate-compact-select{width:100%;height:40px}
 .gate-pool-table .gate-inline-number input{font-size:16px}
 .gate-pool-table .gate-mobile-field-note{display:block;margin-top:4px;color:var(--faint);font-size:11px}
 .gate-pool-table .gate-mobile-label{display:inline;color:var(--soft-ink);font-size:12px}
 .gate-pool-table :is(.row-actions,.gate-table-actions){justify-content:space-between;gap:12px}
 .gate-pool-table .gate-account-toggle{order:0;gap:4px}
 .gate-pool-table :is(.row-actions,.gate-table-actions)>.btn{order:1;min-width:88px;min-height:40px;background:var(--primary-bg);color:var(--primary-text);border-color:var(--primary-bg)}
 .gate-pool-table .gate-switch,.gate-pool-table .gate-switch.is-on{width:44px;height:40px;flex-basis:44px;padding:0;background:transparent}
 .gate-pool-table .gate-switch::before{content:"";position:absolute;left:7px;top:11px;width:29px;height:17px;border-radius:99px;background:var(--switch-off)}
 .gate-pool-table .gate-switch.is-on::before{background:var(--switch-on)}
 .gate-pool-table .gate-switch>span{position:absolute;left:9px;top:13px}
 .gate-page .gate-mobile-table tbody td[colspan]:first-child{grid-column:1/-1;grid-row:auto;padding:16px 0;text-align:center;font-size:13px;white-space:normal}
}
@media(min-width:641px) and (max-width:900px){
 .gate-mobile-table tbody{grid-template-columns:repeat(2,minmax(0,1fr))}
}
