html.ua-android-app body.ua-p-mikrotik-dashboard{background:#07111f!important;color:#f6f9ff}
html.ua-android-app:has(body.ua-shell-chrome.ua-p-mikrotik-dashboard:not(.ua-frame-context):not(.ua-page-dashboard)),html.ua-android-app body.ua-shell-chrome.ua-p-mikrotik-dashboard:not(.ua-frame-context):not(.ua-page-dashboard){height:auto!important;min-height:100%!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important}
html.ua-android-app body.ua-shell-chrome.ua-p-mikrotik-dashboard:not(.ua-page-dashboard) :is(.ua-shell,.ua-main,.ua-main>.ua-page){width:100%!important;height:auto!important;min-height:0!important;max-width:100%!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;direction:rtl!important}
.android-mikrotik-dashboard{min-height:100dvh;direction:rtl;background:radial-gradient(circle at 95% -3%,rgba(45,215,153,.12),transparent 29%),linear-gradient(180deg,#081523,#07111f);font-family:Tahoma,Arial,sans-serif}.amd-main{display:grid;gap:12px;width:100%;max-width:560px;margin:0 auto;padding:10px 10px calc(84px + env(safe-area-inset-bottom))}
.amd-heading,.amd-panel,.amd-status-card,.amd-traffic-card{min-width:0;border:1px solid rgba(132,158,191,.22);border-radius:20px;background:linear-gradient(150deg,rgba(19,35,57,.98),rgba(9,22,38,.98));box-shadow:0 12px 28px rgba(0,0,0,.2)}.amd-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border-color:rgba(45,215,153,.3)}.amd-heading>div{min-width:0}.amd-heading span{display:block;color:#8ea2bb;font-size:11px;font-weight:900}.amd-heading h1{margin:4px 0;color:#fff;font-size:21px}.amd-heading p{margin:0;color:#8fa2b9;font-size:11px;line-height:1.6}.amd-heading button{display:flex!important;flex:0 0 68px!important;min-height:58px!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:5px!important;padding:0!important;border:1px solid rgba(45,215,153,.3)!important;border-radius:16px!important;background:#0a192a!important;color:#43dfa8!important}.amd-heading button i{font-size:18px}.amd-heading button b{font-size:10px}.amd-heading button.is-loading i{animation:amd-spin .8s linear infinite}@keyframes amd-spin{to{transform:rotate(360deg)}}
.amd-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.amd-status-card,.amd-traffic-card{position:relative;display:flex;min-height:112px;align-items:center;gap:9px;padding:12px;border-radius:17px}.amd-icon{display:flex;flex:0 0 40px;width:40px;height:40px;align-items:center;justify-content:center;border-radius:13px;background:rgba(71,201,235,.09);color:#4cccef;font-size:17px}.amd-status-card>div,.amd-traffic-card>div{min-width:0}.amd-summary small,.amd-summary em{display:block;color:#7f93aa;font-size:8px;font-weight:900;font-style:normal}.amd-summary strong{display:block;margin:5px 0;color:#fff;font-size:15px;white-space:nowrap}.amd-status-card.is-online strong{color:#43dfa8}.amd-status-card.is-offline strong{color:#ff7b83}.amd-dot{position:absolute;top:11px;left:11px;width:8px;height:8px;border-radius:50%;background:#66788f}.is-online .amd-dot{background:#2bd496;box-shadow:0 0 0 5px rgba(43,212,150,.1)}.is-offline .amd-dot{background:#ff5d67}
.amd-quick-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.amd-quick-actions>a,.amd-quick-actions>button{display:flex!important;width:100%!important;min-height:54px!important;align-items:center!important;justify-content:center!important;gap:6px!important;margin:0!important;padding:0 4px!important;border:1px solid rgba(132,158,191,.2)!important;border-radius:13px!important;background:#0b1929!important;color:#d9e3ef!important;font-size:10px!important;font-weight:900!important;text-decoration:none!important}.amd-quick-actions i{color:#f5c548;font-size:15px}.amd-quick-actions .is-danger i{color:#ff6972}.amd-quick-actions button i{color:#4cccef}
.amd-panel{padding:13px}.amd-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.amd-panel>header span{display:block;color:#879ab2;font-size:9px;font-weight:900}.amd-panel>header h2{margin:3px 0 0;color:#fff;font-size:16px}.amd-panel>header>b{display:flex;min-width:37px;height:37px;align-items:center;justify-content:center;border-radius:12px;background:rgba(71,201,235,.09);color:#4cccef;font-size:14px}.amd-list{display:grid;gap:8px}.amd-loading,.amd-empty{display:flex;min-height:108px;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px dashed rgba(132,158,191,.2);border-radius:14px;color:#7e91a9;text-align:center}.amd-empty i{color:#647b94;font-size:21px}.amd-empty strong{color:#b9c6d6;font-size:12px}.amd-empty span{font-size:9px}.amd-session{display:flex;min-width:0;align-items:center;gap:9px;padding:10px;border:1px solid rgba(132,158,191,.16);border-radius:14px;background:rgba(5,16,28,.48)}.amd-avatar{display:flex;flex:0 0 36px;width:36px;height:36px;align-items:center;justify-content:center;border-radius:11px;background:rgba(45,215,153,.09);color:#43dfa8}.amd-session>div{min-width:0}.amd-session>div:nth-child(2){flex:1}.amd-session strong,.amd-session small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.amd-session strong{color:#eff5fd;font-size:11px}.amd-session small{margin-top:3px;color:#7f93aa;font-size:9px}.amd-session-meta{text-align:left}.amd-session-meta b,.amd-session-meta span{display:block;color:#d9e3ef;font-size:9px}.amd-session-meta span{margin-top:4px;color:#8397ae}
.amd-queue{padding:11px;border:1px solid rgba(132,158,191,.16);border-radius:14px;background:rgba(5,16,28,.48)}.amd-queue>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.amd-queue>header>div{min-width:0}.amd-queue header strong,.amd-queue header small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.amd-queue header strong{color:#eff5fd;font-size:11px}.amd-queue header small{margin-top:3px;color:#7e92aa;font-size:9px}.amd-queue header>span{padding:5px 7px;border-radius:8px;background:rgba(45,215,153,.08);color:#43dfa8;font-size:8px;font-weight:900}.amd-queue.is-disabled header>span{background:rgba(255,93,103,.08);color:#ff858c}.amd-queue>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}.amd-queue p{min-width:0;margin:0;padding:8px;border-radius:10px;background:#071423}.amd-queue p small,.amd-queue p b{display:block}.amd-queue p small{color:#73879f;font-size:8px}.amd-queue p b{margin-top:4px;color:#cbd7e5;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:350px){.amd-main{padding-inline:7px}.amd-heading p{display:none}.amd-summary{grid-template-columns:1fr}.amd-status-card,.amd-traffic-card{min-height:86px}}
