Files
rmm-openwrt/web/styles.css
T

4051 lines
82 KiB
CSS

:root {
color-scheme: dark;
--bg: #14191f;
--surface: #1e252d;
--surface-muted: #29333d;
--surface-raised: #242d36;
--text: #f4f7fa;
--muted: #9baaba;
--line: #3a4652;
--accent: #21a8d8;
--accent-strong: #1687b0;
--good: #73c83e;
--bad: #f05252;
--warn: #f3b43f;
--shadow: none;
}
/* Public landing and account management. */
[hidden] {
display: none !important;
}
.landing-view {
position: relative;
min-height: 100vh;
overflow: hidden;
background:
radial-gradient(circle at 16% 8%, rgb(39 182 230 / 15%), transparent 30rem),
radial-gradient(circle at 88% 28%, rgb(67 96 246 / 11%), transparent 32rem),
#071019;
}
.landing-view::before,
.landing-view::after {
content: "";
position: absolute;
z-index: 0;
width: min(52vw, 720px);
aspect-ratio: 1;
border-radius: 50%;
filter: blur(90px);
opacity: .13;
pointer-events: none;
}
.landing-view::before { top: -18rem; left: -14rem; background: #27b6e6; }
.landing-view::after { top: 24rem; right: -22rem; background: #435ff6; }
.landing-view > * {
position: relative;
z-index: 1;
}
.landing-header,
.landing-hero,
.landing-features,
.landing-partners,
.landing-security,
.landing-login-section,
.landing-footer {
width: min(1160px, calc(100% - 40px));
margin-inline: auto;
}
.landing-header {
display: flex;
min-height: 80px;
align-items: center;
justify-content: space-between;
}
.landing-brand {
display: flex;
gap: 11px;
align-items: center;
color: var(--text);
text-decoration: none;
}
.landing-brand img,
.brand-mark {
object-fit: contain;
}
.landing-brand span {
display: grid;
gap: 1px;
}
.landing-brand small {
color: var(--muted);
font-size: 10px;
letter-spacing: .08em;
text-transform: uppercase;
}
.landing-header nav {
display: flex;
gap: 26px;
align-items: center;
}
.landing-header nav a {
color: var(--muted);
font-size: 14px;
font-weight: 650;
text-decoration: none;
}
.landing-header nav a:hover { color: var(--text); }
.landing-header .landing-login-link {
border: 1px solid rgb(39 182 230 / 45%);
border-radius: 10px;
color: var(--text);
padding: 10px 16px;
}
.landing-hero {
display: grid;
min-height: 650px;
grid-template-columns: minmax(0, 1.02fr) minmax(460px, .98fr);
gap: 70px;
align-items: center;
padding-block: 70px 90px;
}
.landing-kicker {
display: inline-flex;
gap: 8px;
align-items: center;
color: #a7dcf0;
font-size: 13px;
font-weight: 700;
letter-spacing: .04em;
text-transform: uppercase;
}
.landing-kicker i {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--good);
box-shadow: 0 0 0 5px rgb(85 214 135 / 12%);
}
.landing-copy h1 {
max-width: 680px;
margin: 22px 0;
font-size: clamp(44px, 6vw, 72px);
letter-spacing: -.055em;
line-height: .98;
}
.landing-copy h1 em { color: var(--accent); font-style: normal; }
.landing-copy > p {
max-width: 650px;
color: #acbaca;
font-size: 18px;
line-height: 1.65;
}
.landing-actions { display: flex; gap: 12px; margin-top: 30px; }
.landing-actions a {
display: inline-flex;
min-height: 50px;
align-items: center;
border-radius: 12px;
font-weight: 750;
padding: 0 20px;
text-decoration: none;
transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}
.landing-primary { background: var(--accent); color: #fff; }
.landing-secondary { border: 1px solid var(--line); color: var(--text); }
.landing-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 12px; }
.landing-trust b { color: var(--good); }
.landing-console {
position: relative;
border: 1px solid rgb(59 88 115 / 75%);
border-radius: 22px;
background: linear-gradient(145deg, rgb(18 33 48 / 97%), rgb(9 20 30 / 97%));
box-shadow: 0 35px 100px rgb(0 0 0 / 45%);
padding: 18px;
transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
}
@media (hover: hover) and (pointer: fine) {
.landing-actions a:hover,
.landing-header .landing-login-link:hover {
transform: translateY(-2px);
}
.landing-primary:hover {
background: #29b6e7;
box-shadow: 0 12px 34px rgb(33 168 216 / 24%);
}
.landing-secondary:hover {
border-color: rgb(39 182 230 / 54%);
background: rgb(39 182 230 / 7%);
}
}
.landing-actions a:active,
.landing-header .landing-login-link:active { transform: translateY(0) scale(.985); }
.landing-console::after {
content: "";
position: absolute;
z-index: -1;
inset: 12% -10% -12% 18%;
background: rgb(39 182 230 / 17%);
filter: blur(60px);
}
.console-top { display: flex; gap: 6px; align-items: center; border-bottom: 1px solid var(--line); padding: 0 0 14px; }
.console-top span { width: 8px; height: 8px; border-radius: 50%; background: #496075; }
.console-top small { margin-left: auto; color: var(--muted); font: 11px ui-monospace, monospace; }
.console-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-block: 16px; }
.console-summary div { display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 12px; background: rgb(255 255 255 / 2%); padding: 13px; }
.console-summary small { color: var(--muted); }
.console-summary strong { font-size: 21px; }
.console-summary .warn { color: var(--warn); }
.console-router { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding: 17px 8px; }
.console-router i { width: 9px; height: 9px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 5px rgb(85 214 135 / 10%); }
.console-router span { display: grid; gap: 4px; }
.console-router small { color: var(--muted); }
.console-router b { color: var(--good); font-size: 12px; }
.console-router.warning i { background: var(--warn); }
.console-router.warning b { color: var(--warn); }
.landing-features {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 14px;
padding-block: 50px 100px;
}
.landing-features article { border: 1px solid var(--line); border-radius: 18px; background: rgb(15 26 38 / 72%); padding: 26px; }
.landing-features article > span { color: var(--accent); font: 700 12px ui-monospace, monospace; }
.landing-features h2 { margin: 24px 0 10px; font-size: 20px; }
.landing-features p { margin: 0; color: var(--muted); line-height: 1.6; }
.landing-security { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; border-block: 1px solid var(--line); padding-block: 70px; }
.landing-security h2 { max-width: 650px; margin: 10px 0 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; }
.landing-security ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.landing-security li::before { content: "✓"; color: var(--good); margin-right: 10px; }
.landing-login-section { display: grid; grid-template-columns: 1fr 420px; gap: 70px; align-items: center; padding-block: 100px; }
.landing-partners {
display: grid;
grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
gap: clamp(36px, 7vw, 90px);
align-items: center;
border-top: 1px solid rgb(83 105 126 / 34%);
padding-block: 64px;
}
.landing-partners-copy h2 { margin: 8px 0 10px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.035em; }
.landing-partners-copy p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.6; }
.partner-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3vw, 28px); align-items: center; }
.partner-logo {
display: grid;
min-height: 132px;
place-items: center;
border: 1px solid transparent;
border-radius: 20px;
padding: 18px;
opacity: .46;
transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease;
}
.partner-logo img {
width: 100%;
max-width: 128px;
height: 82px;
object-fit: contain;
filter: grayscale(1) saturate(0) brightness(1.45) contrast(.78);
}
@media (hover: hover) and (pointer: fine) {
.partner-logo:hover { border-color: rgb(83 105 126 / 24%); opacity: .72; transform: translateY(-2px); }
}
.landing-login-section h2 { margin: 9px 0; font-size: 38px; }
.landing-login-section > div p { max-width: 500px; color: var(--muted); line-height: 1.6; }
.landing-login-section .login-form { width: 100%; }
.landing-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); padding-block: 26px; }
.landing-footer a,
.sidebar-legal-link,
.legal-text-link { color: var(--muted); text-decoration: none; transition: color .18s ease; }
.landing-footer a:hover,
.sidebar-legal-link:hover,
.legal-text-link:hover { color: var(--text); }
.landing-footer-links { display: flex; align-items: center; gap: 20px; }
.landing-cta .landing-actions { justify-content: flex-end; margin-top: 0; }
.sidebar-legal-link { margin: 0 8px 12px; font-size: 11px; }
.legal-body { min-height: 100vh; background: var(--bg); color: var(--text); }
.legal-header,
.legal-footer,
.legal-page { width: min(100% - 48px, 960px); margin-inline: auto; }
.legal-page { padding-block: clamp(64px, 9vw, 112px); }
.legal-page h1 { max-width: 760px; margin: 12px 0 18px; font-size: clamp(42px, 7vw, 72px); line-height: .98; letter-spacing: -.055em; }
.legal-lead { max-width: 720px; margin: 0 0 44px; color: var(--muted); font-size: clamp(17px, 2.3vw, 21px); line-height: 1.6; }
.legal-card { margin-top: 18px; padding: clamp(24px, 5vw, 42px); border: 1px solid var(--line); border-radius: 24px; background: rgb(255 255 255 / 2%); }
.legal-card h2,
.legal-note h2 { margin: 10px 0 12px; font-size: clamp(24px, 4vw, 34px); letter-spacing: -.035em; }
.legal-card p,
.legal-note p { max-width: 760px; color: var(--muted); line-height: 1.7; }
.legal-license { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.legal-text-link { display: inline-block; margin-top: 12px; border-bottom: 1px solid currentColor; }
.legal-note { padding: 42px 0 10px; }
.legal-card code { color: var(--text); }
.legal-footer a { color: var(--muted); }
.account-page .landing-view {
display: grid;
grid-template-rows: auto 1fr auto;
}
.account-page .landing-hero,
.account-page .landing-features,
.account-page .landing-partners,
.account-page .landing-security {
display: none;
}
.account-page .landing-login-section {
width: min(920px, calc(100% - 40px));
min-height: calc(100vh - 150px);
padding-block: 48px;
}
.profile-dialog { max-height: min(820px, calc(100dvh - 32px)); overflow-y: auto; }
.profile-form { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.profile-form label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.profile-section-heading { display: grid; gap: 3px; }
.profile-section-heading span { color: var(--muted); font-size: 12px; }
.profile-security-form { grid-template-columns: 1fr 1fr; }
.profile-security-form .profile-section-heading,
.profile-security-form label:first-of-type,
.profile-security-form button,
.profile-security-form .form-message { grid-column: 1 / -1; }
.form-message { min-height: 18px; margin: 0; color: var(--muted); font-size: 12px; }
.form-message.is-error { color: var(--bad); }
.form-message.is-success { color: var(--good); }
.profile-session-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; border-top: 1px solid var(--line); padding-top: 18px; }
.notification-channel-grid,
.notification-toggle-grid,
.notification-threshold-grid,
.notification-form-actions { display: grid; gap: 9px; }
.notification-channel-grid { grid-template-columns: 1fr 1fr; }
.notification-toggle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.notification-threshold-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.notification-form-actions { grid-template-columns: 1fr 1fr; }
.notification-toggle {
display: flex !important;
min-width: 0;
min-height: 62px;
flex-direction: row !important;
gap: 10px !important;
align-items: center;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--surface-raised);
padding: 10px 12px;
}
.notification-toggle.compact { min-height: 48px; }
.notification-toggle input { width: 18px; min-height: 18px; flex: 0 0 18px; accent-color: var(--accent); }
.notification-toggle span { display: grid; min-width: 0; gap: 2px; color: var(--text); }
.notification-toggle small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.notification-settings-form label.is-disabled { opacity: .6; }
.notification-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.notification-history { display: grid; gap: 8px; }
.notification-history-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); padding: 11px 12px; }
.notification-history-row > div { display: grid; min-width: 0; gap: 3px; }
.notification-history-row strong,
.notification-history-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notification-history-row small,
.notification-history-row time { color: var(--muted); font-size: 11px; }
.notification-history-row time { grid-column: 2 / -1; }
.notification-channel { color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.notification-delivery-status { color: var(--warn); font-size: 12px; font-weight: 750; }
.notification-history-row.is-sent .notification-delivery-status { color: var(--good); }
.notification-history-row.is-failed .notification-delivery-status,
.notification-history-row.is-dead_letter .notification-delivery-status { color: var(--bad); }
.notification-history-row.is-sending .notification-delivery-status { color: var(--accent); }
@media (max-width: 900px) {
.landing-header nav a:not(.landing-login-link) { display: none; }
.landing-hero { grid-template-columns: 1fr; gap: 45px; padding-block: 60px 80px; }
.landing-console { max-width: 620px; transform: none; }
.landing-features { grid-template-columns: 1fr; padding-bottom: 70px; }
.landing-security,
.landing-login-section,
.landing-partners { grid-template-columns: 1fr; gap: 36px; }
.landing-login-section { padding-block: 70px; }
.landing-login-section .login-form { max-width: 520px; }
}
@media (max-width: 560px) {
.landing-header,
.landing-hero,
.landing-features,
.landing-security,
.landing-login-section,
.landing-partners,
.landing-footer { width: min(100% - 28px, 1160px); }
.landing-header { min-height: 68px; }
.landing-brand small { display: none; }
.landing-hero { min-height: auto; padding-block: 54px 70px; }
.landing-copy h1 { font-size: 43px; }
.landing-copy > p { font-size: 16px; }
.landing-actions { display: grid; }
.landing-actions a { justify-content: center; }
.landing-trust { display: grid; gap: 9px; }
.landing-console { margin-inline: -3px; padding: 12px; }
.console-summary { grid-template-columns: 1fr 1fr; }
.console-summary div:last-child { display: none; }
.console-router { grid-template-columns: 9px 1fr; }
.console-router b { display: none; }
.landing-features { padding-top: 25px; }
.landing-partners { gap: 28px; padding-block: 48px; }
.partner-logos { gap: 6px; }
.partner-logo { min-height: 94px; padding: 10px; }
.partner-logo img { max-width: 90px; height: 62px; }
.landing-security { padding-block: 55px; }
.landing-login-section h2 { font-size: 31px; }
.landing-login-section .login-form { padding: 20px; }
.landing-footer { display: grid; gap: 5px; }
.landing-footer-links { align-items: flex-start; flex-direction: column; gap: 5px; }
.legal-actions { display: grid; }
.legal-actions a { justify-content: center; }
.profile-security-form,
.profile-session-actions,
.notification-channel-grid,
.notification-toggle-grid,
.notification-threshold-grid,
.notification-form-actions { grid-template-columns: 1fr; }
.profile-security-form > * { grid-column: 1 !important; }
.account-page .landing-login-section { min-height: calc(100vh - 130px); padding-block: 28px; }
.landing-cta .landing-actions { justify-content: stretch; }
.live-state span { display: none; }
.live-state { width: 30px; justify-content: center; padding: 0; }
}
@keyframes landing-enter {
from { opacity: 0; transform: translateY(18px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes landing-console-enter {
from { opacity: 0; transform: perspective(1000px) rotateY(-3deg) rotateX(2deg) translateY(24px) scale(.975); }
to { opacity: 1; transform: perspective(1000px) rotateY(-3deg) rotateX(2deg) translateY(0) scale(1); }
}
@keyframes landing-ambient-left {
0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
50% { transform: translate3d(3rem, 2rem, 0) scale(1.08); }
}
@keyframes landing-ambient-right {
0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
50% { transform: translate3d(-3rem, 3rem, 0) scale(.94); }
}
.motion-ready::before { animation: landing-ambient-left 16s ease-in-out infinite; }
.motion-ready::after { animation: landing-ambient-right 19s ease-in-out infinite; }
.motion-ready .landing-header { animation: landing-enter 520ms cubic-bezier(.2, .75, .25, 1) both; }
.motion-ready .landing-kicker { animation: landing-enter 540ms 70ms cubic-bezier(.2, .75, .25, 1) both; }
.motion-ready .landing-copy h1 { animation: landing-enter 580ms 130ms cubic-bezier(.2, .75, .25, 1) both; }
.motion-ready .landing-copy > p { animation: landing-enter 580ms 190ms cubic-bezier(.2, .75, .25, 1) both; }
.motion-ready .landing-copy .landing-actions { animation: landing-enter 580ms 250ms cubic-bezier(.2, .75, .25, 1) both; }
.motion-ready .landing-trust { animation: landing-enter 580ms 310ms cubic-bezier(.2, .75, .25, 1) both; }
.motion-ready .landing-console { animation: landing-console-enter 700ms 170ms cubic-bezier(.2, .75, .25, 1) both; }
.motion-ready .landing-reveal {
opacity: 0;
transform: translateY(22px);
transition: opacity 560ms ease, transform 560ms cubic-bezier(.2, .75, .25, 1);
transition-delay: calc(var(--reveal-order, 0) * 70ms);
}
.motion-ready .landing-reveal.is-revealed {
opacity: 1;
transform: translateY(0);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button,
input,
select {
font: inherit;
}
button {
border: 1px solid var(--line);
border-radius: 6px;
background: var(--surface);
color: var(--text);
cursor: pointer;
min-height: 36px;
padding: 0 12px;
}
button:hover {
border-color: var(--accent);
}
button.primary,
#sendCommandBtn {
background: var(--accent);
border-color: var(--accent);
color: #fff;
}
button.primary:hover,
#sendCommandBtn:hover {
background: var(--accent-strong);
}
button.danger {
border-color: rgba(240, 82, 82, 0.55);
color: #ffb4b4;
}
button.danger:hover {
background: rgba(240, 82, 82, 0.12);
border-color: var(--bad);
}
input,
select {
width: 100%;
min-height: 36px;
border: 1px solid var(--line);
border-radius: 6px;
background: var(--surface);
color: var(--text);
padding: 0 10px;
}
.app-shell {
display: grid;
grid-template-columns: 220px minmax(0, 1fr);
min-height: 100vh;
}
.is-hidden {
display: none !important;
}
.login-view {
display: grid;
min-height: 100vh;
place-items: center;
padding: 24px;
}
.login-form {
display: grid;
width: min(100%, 380px);
gap: 14px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
box-shadow: var(--shadow);
padding: 24px;
}
.login-form label {
display: grid;
gap: 6px;
color: var(--muted);
font-size: 13px;
}
.login-brand {
margin-bottom: 6px;
}
.login-error {
min-height: 20px;
margin: 0;
color: var(--bad);
font-size: 13px;
}
.sidebar {
border-right: 1px solid var(--line);
background: #1b2128;
padding: 16px 12px;
overflow: auto;
display: flex;
flex-direction: column;
}
.brand {
display: flex;
gap: 12px;
align-items: center;
margin-bottom: 18px;
}
.brand-mark {
display: grid;
width: 42px;
height: 42px;
place-items: center;
border-radius: 8px;
background: var(--accent);
color: #fff;
font-weight: 800;
}
.brand h1,
.topbar h2,
.device-header h2,
.section-title h2,
.empty-state h2 {
margin: 0;
letter-spacing: 0;
}
.brand h1 {
font-size: 18px;
}
.brand p,
.device-header p,
.empty-state p {
margin: 4px 0 0;
color: var(--muted);
}
.workspace {
min-width: 0;
padding: 0 28px 28px;
}
.topbar {
min-height: 78px;
border-bottom: 1px solid var(--line);
}
.topbar,
.device-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 18px;
}
.device-header {
min-height: 82px;
margin-bottom: 0;
}
.device-header-actions {
display: flex;
align-items: center;
gap: 8px;
}
.device-tabs {
display: flex;
gap: 4px;
overflow-x: auto;
border-top: 1px solid var(--line);
border-bottom: 1px solid var(--line);
margin: 0 -28px 18px;
padding: 0 28px;
}
.device-tab {
min-height: 46px;
border: 0;
border-bottom: 3px solid transparent;
border-radius: 0;
background: transparent;
color: var(--muted);
font-weight: 700;
white-space: nowrap;
}
.device-tab:hover,
.device-tab.is-active {
border-color: var(--accent);
color: var(--text);
}
.device-tab.is-active {
color: var(--accent);
}
.eyebrow {
margin: 0 0 4px;
color: var(--muted);
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
}
.status-line {
color: var(--muted);
font-size: 14px;
}
.live-state {
display: inline-flex;
min-height: 30px;
gap: 7px;
align-items: center;
border: 1px solid var(--line);
border-radius: 999px;
color: var(--muted);
font-size: 12px;
padding: 0 10px;
white-space: nowrap;
}
.live-state i {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--warn);
}
.live-state.is-live i {
background: var(--good);
box-shadow: 0 0 0 4px rgb(115 200 62 / 10%);
}
.live-state.is-polling i { background: var(--warn); }
.live-state.is-offline i { background: var(--bad); }
.topbar-actions {
display: flex;
align-items: center;
gap: 10px;
}
.panel {
background: var(--surface);
border: 1px solid var(--line);
border-radius: 8px;
box-shadow: var(--shadow);
margin-bottom: 14px;
padding: 14px;
}
.main-nav {
display: grid;
gap: 5px;
}
.nav-item {
display: grid;
grid-template-columns: 24px minmax(0, 1fr) auto;
gap: 8px;
align-items: center;
min-height: 42px;
border-color: transparent;
background: transparent;
color: var(--muted);
text-align: left;
}
.nav-item.is-active {
border-color: #31596a;
background: #223640;
color: var(--text);
}
.nav-item:disabled {
cursor: default;
opacity: 0.58;
}
.nav-icon {
color: var(--accent);
font-weight: 800;
text-align: center;
}
.nav-count {
min-width: 22px;
border-radius: 999px;
background: var(--surface-muted);
padding: 2px 6px;
text-align: center;
}
.sidebar-spacer {
flex: 1;
min-height: 32px;
}
.operator-row {
border-top: 1px solid var(--line);
padding-top: 14px;
}
.operator-avatar {
display: grid !important;
width: 32px;
height: 32px;
flex: 0 0 32px;
place-items: center;
border-radius: 50%;
background: #2e5869;
color: #fff;
font-weight: 800;
}
.operator-copy {
min-width: 0;
flex: 1;
}
.operator-copy strong {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.icon-button {
width: 36px;
padding: 0;
font-size: 20px;
}
.fleet-view {
display: grid;
gap: 16px;
}
.fleet-summary {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
}
.fleet-summary > div {
display: grid;
gap: 4px;
min-height: 72px;
border-right: 1px solid var(--line);
padding: 14px 18px;
}
.fleet-summary > div:last-child {
border-right: 0;
}
.fleet-summary span {
color: var(--muted);
font-size: 12px;
}
.fleet-summary strong {
font-size: 22px;
}
.fleet-summary .summary-good strong {
color: var(--good);
}
.fleet-summary .summary-bad strong {
color: var(--bad);
}
.fleet-summary .summary-warn strong {
color: var(--warn);
}
.fleet-toolbar {
display: grid;
grid-template-columns: minmax(260px, 1fr) auto 180px 180px;
gap: 10px;
align-items: center;
}
.fleet-toolbar .filters {
display: flex;
gap: 6px;
margin: 0;
}
.fleet-table-shell {
overflow-x: auto;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
}
.fleet-table-head,
.device-item {
display: grid;
grid-template-columns: 125px minmax(200px, 1.25fr) minmax(180px, 1fr) minmax(160px, 1fr) 80px 110px 170px 28px;
gap: 14px;
align-items: center;
min-width: 1180px;
}
.fleet-table-head {
min-height: 46px;
border-bottom: 1px solid var(--line);
background: var(--surface-muted);
color: var(--muted);
font-size: 12px;
font-weight: 700;
padding: 0 14px;
}
.table-sort {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: auto;
border: 0;
border-radius: 0;
background: transparent;
color: inherit;
font-size: inherit;
font-weight: inherit;
justify-content: flex-start;
padding: 0;
}
.table-sort::after {
content: "↕";
color: #6f8192;
font-size: 11px;
}
.table-sort[data-sort-dir="asc"]::after {
content: "↑";
}
.table-sort[data-sort-dir="desc"]::after {
content: "↓";
}
.table-sort.is-active {
color: var(--text);
}
.table-sort.is-active::after {
color: var(--accent);
}
.auth-panel label {
display: block;
color: var(--muted);
font-size: 13px;
margin-bottom: 8px;
}
.operator-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.operator-row div {
display: grid;
gap: 3px;
}
.operator-row small {
color: var(--muted);
}
.token-row,
.command-form {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 8px;
}
.command-form {
grid-template-columns: 170px minmax(0, 1fr) auto;
}
.fleet-form,
.package-grid {
display: grid;
grid-template-columns: minmax(180px, 0.7fr) minmax(220px, 1fr) auto;
gap: 10px;
align-items: end;
}
.fleet-form label {
display: grid;
gap: 6px;
color: var(--muted);
font-size: 12px;
}
.remote-grid {
display: grid;
gap: 8px;
}
.remote-form {
display: grid;
grid-template-columns: minmax(180px, 1.2fr) repeat(4, minmax(110px, 0.6fr));
gap: 10px;
align-items: end;
}
.remote-form label {
display: grid;
gap: 6px;
color: var(--muted);
font-size: 12px;
}
.remote-quick-form {
display: grid;
grid-template-columns: minmax(180px, 280px) auto;
gap: 10px;
align-items: end;
}
.cloud-access-card {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
gap: 14px;
align-items: center;
border: 1px solid rgb(33 168 216 / 40%);
border-radius: 14px;
background: linear-gradient(135deg, rgb(33 168 216 / 14%), rgb(30 37 45 / 92%));
padding: 16px;
}
.cloud-access-icon {
display: grid;
width: 44px;
height: 44px;
place-items: center;
border-radius: 13px;
color: #bcecff;
background: rgb(33 168 216 / 18%);
font-size: 22px;
}
.cloud-access-copy {
display: grid;
min-width: 0;
gap: 4px;
}
.cloud-access-copy span {
color: var(--muted);
font-size: 13px;
}
.cloud-access-card[data-state="ready"] { border-color: rgb(115 200 62 / 55%); }
.cloud-access-card[data-state="ready"] .cloud-access-icon { color: var(--good); background: rgb(115 200 62 / 14%); }
.cloud-access-card[data-state="unavailable"],
.cloud-access-card[data-state="offline"] { border-color: rgb(240 82 82 / 45%); }
.cloud-access-card[data-state="unavailable"] .cloud-access-icon,
.cloud-access-card[data-state="offline"] .cloud-access-icon { color: #ff9a9a; background: rgb(240 82 82 / 12%); }
.remote-quick-form label {
display: grid;
gap: 6px;
color: var(--muted);
font-size: 12px;
}
.advanced-settings {
margin-top: 12px;
border-top: 1px solid var(--line);
padding-top: 12px;
}
.advanced-settings summary {
color: var(--muted);
cursor: pointer;
font-size: 13px;
}
.advanced-settings .remote-form {
margin-top: 12px;
}
.advanced-settings .remote-quick-form {
margin-top: 14px;
}
@media (max-width: 720px) {
#backToFleetBtn {
min-height: 42px;
}
.cloud-access-card {
grid-template-columns: auto minmax(0, 1fr);
}
.cloud-access-card > button {
grid-column: 1 / -1;
width: 100%;
}
.remote-quick-form {
grid-template-columns: minmax(0, 1fr);
}
}
.remote-session-list {
margin-top: 12px;
}
.remote-session-row code {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.remote-session-row {
display: grid;
grid-template-columns: minmax(260px, 1.3fr) minmax(260px, 1fr) auto;
gap: 14px;
align-items: center;
min-height: 70px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface-raised);
padding: 12px;
}
.remote-session-main {
display: flex;
min-width: 0;
gap: 12px;
align-items: center;
}
.remote-session-main div {
display: grid;
min-width: 0;
gap: 4px;
}
.remote-session-main small {
overflow: hidden;
color: var(--muted);
text-overflow: ellipsis;
white-space: nowrap;
}
.remote-session-status {
display: inline-flex;
gap: 6px;
align-items: center;
color: var(--warn);
font-size: 12px;
font-weight: 700;
}
.remote-session-status i {
width: 8px;
height: 8px;
border-radius: 50%;
background: currentColor;
}
.remote-session-status.active {
color: var(--good);
}
.remote-session-status.closed,
.remote-session-status.failed,
.remote-session-status.expired {
color: var(--muted);
}
.health-summary,
.diagnostic-grid {
display: grid;
gap: 8px;
}
.health-summary {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.health-item {
display: grid;
gap: 6px;
min-width: 0;
border: 1px solid var(--line);
border-radius: 8px;
padding: 10px;
}
.health-item span {
color: var(--muted);
font-size: 12px;
}
.health-item strong {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.health-item.ok {
border-color: #3b663e;
background: #203329;
}
.health-item.warn {
border-color: #715d31;
background: #342e22;
}
.health-item.bad {
border-color: #713d3d;
background: #382525;
}
.diagnostic-grid {
grid-template-columns: repeat(5, minmax(130px, 1fr));
}
.diagnostic-btn {
min-height: 46px;
white-space: normal;
}
.operation-status {
display: flex;
gap: 12px;
align-items: center;
min-height: 64px;
border: 1px solid #3b663e;
border-radius: 8px;
background: #203329;
padding: 12px;
}
.operation-status.is-running {
border-color: #31596a;
background: #223640;
}
.operation-status div {
display: grid;
flex: 1;
gap: 3px;
}
.operation-status small {
color: var(--muted);
}
.operation-icon {
display: grid;
width: 34px;
height: 34px;
flex: 0 0 34px;
place-items: center;
border-radius: 50%;
background: #31533a;
color: var(--good);
font-size: 18px;
font-weight: 800;
}
.operation-status.is-running .operation-icon {
background: #2e5869;
color: var(--accent);
}
.operation-subheading {
margin: 18px 0 10px;
font-size: 13px;
}
.uci-grid {
display: grid;
grid-template-columns: 150px minmax(160px, 1fr) minmax(140px, 0.8fr) minmax(180px, 1fr) 180px;
gap: 10px;
align-items: end;
}
.uci-grid label {
display: grid;
gap: 6px;
color: var(--muted);
font-size: 12px;
}
.uci-grid .check-row {
display: flex;
align-items: center;
min-height: 36px;
color: var(--text);
font-size: 14px;
}
.uci-grid .check-row input {
width: auto;
min-height: 0;
}
.uci-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.preset-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.preset {
display: grid;
grid-template-rows: auto auto 1fr auto;
gap: 10px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface-raised);
padding: 12px;
}
.preset h3 {
margin: 0;
font-size: 14px;
letter-spacing: 0;
}
.preset p {
min-height: 34px;
margin: 0;
color: var(--muted);
font-size: 12px;
line-height: 1.4;
}
.preset-review-btn {
color: var(--accent);
}
.preset-review-panel {
display: grid;
gap: 12px;
border: 1px solid #31596a;
border-radius: 8px;
background: #192a32;
margin-top: 14px;
padding: 14px;
}
.preset-review-header,
.preset-review-actions {
display: flex;
gap: 10px;
align-items: center;
justify-content: space-between;
}
.preset-review-header div {
display: grid;
gap: 3px;
}
.preset-review-header span,
.preset-safety-note {
color: var(--muted);
font-size: 12px;
}
.preset-review-change {
display: grid;
grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr);
gap: 12px;
border: 1px solid var(--line);
border-radius: 6px;
background: var(--surface-raised);
padding: 10px;
}
.preset-review-change span {
color: var(--muted);
}
.preset-review-output {
max-height: 260px;
overflow: auto;
border: 1px solid var(--line);
border-radius: 6px;
background: #101820;
color: #d9f3f6;
margin: 0;
padding: 12px;
white-space: pre-wrap;
word-break: break-word;
}
.preset-safety-note {
margin: 0;
}
.section-title {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
}
.section-actions {
display: flex;
align-items: center;
gap: 8px;
}
.summary-pill {
border: 1px solid var(--line);
border-radius: 999px;
color: var(--muted);
font-size: 12px;
padding: 5px 9px;
white-space: nowrap;
}
.section-title h2 {
font-size: 16px;
}
.section-subtitle {
margin: 4px 0 0;
color: var(--muted);
font-size: 12px;
}
.client-toolbar {
display: grid;
grid-template-columns: minmax(260px, 1fr) auto;
gap: 10px;
margin-bottom: 12px;
}
.maintenance-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
}
.client-filters {
display: flex;
gap: 6px;
margin: 0;
}
.client-filter.is-active {
background: var(--surface-muted);
border-color: var(--accent);
color: var(--accent);
font-weight: 700;
}
.client-table-head,
.client-row {
display: grid;
grid-template-columns: minmax(220px, 1.3fr) minmax(130px, 0.7fr) minmax(160px, 0.9fr) minmax(150px, 0.8fr) minmax(180px, 1fr) 100px;
gap: 14px;
align-items: center;
min-width: 1100px;
}
.client-table-head,
.network-table-head {
min-height: 38px;
border-top: 1px solid var(--line);
border-bottom: 1px solid var(--line);
color: var(--muted);
font-size: 12px;
font-weight: 700;
padding: 0 10px;
}
.client-list,
.network-list {
overflow-x: auto;
}
.client-row,
.network-row {
min-height: 58px;
border-bottom: 1px solid var(--line);
padding: 8px 10px;
}
.client-row:last-child,
.network-row:last-child {
border-bottom: 0;
}
.client-name {
display: flex;
min-width: 0;
align-items: center;
gap: 10px;
}
.client-name strong {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.client-icon {
display: grid;
width: 34px;
height: 34px;
flex: 0 0 34px;
place-items: center;
border-radius: 50%;
background: #2c4144;
color: var(--good);
font-size: 18px;
}
.client-online {
display: inline-flex;
gap: 7px;
align-items: center;
color: var(--good);
font-weight: 700;
}
.client-online i {
width: 7px;
height: 7px;
border-radius: 50%;
background: currentColor;
}
.client-online.recent {
color: var(--warn);
}
.client-online.stale {
color: var(--warn);
}
.client-online.reserved {
color: var(--muted);
}
.network-health {
display: grid;
grid-template-columns: 0.8fr 1.3fr 1fr;
gap: 10px;
margin-bottom: 14px;
}
.network-health > div {
display: grid;
gap: 5px;
min-width: 0;
border: 1px solid var(--line);
border-radius: 6px;
background: var(--surface-raised);
padding: 10px;
}
.network-health span,
.network-row small {
color: var(--muted);
font-size: 12px;
}
.network-health strong {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.network-table-head,
.network-row {
display: grid;
grid-template-columns: 130px minmax(260px, 1.4fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) 80px;
gap: 14px;
align-items: center;
min-width: 900px;
}
.network-row span {
display: grid;
gap: 3px;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.interface-errors {
color: var(--bad);
font-weight: 800;
}
.inline-empty {
color: var(--muted);
padding: 24px 10px;
text-align: center;
}
.inline-state {
display: grid;
gap: 6px;
justify-items: start;
border: 1px dashed var(--line);
border-radius: 8px;
background: var(--surface-raised);
padding: 14px;
}
.inline-state strong {
font-size: 14px;
}
.inline-state small {
color: var(--muted);
line-height: 1.45;
}
.inline-state.success {
border-color: rgba(115, 200, 62, 0.45);
background: rgba(115, 200, 62, 0.08);
}
.toast-region {
position: fixed;
right: 20px;
bottom: 20px;
z-index: 40;
display: grid;
gap: 10px;
width: min(360px, calc(100vw - 32px));
pointer-events: none;
}
.toast {
border: 1px solid var(--line);
border-radius: 8px;
background: rgba(30, 37, 45, 0.96);
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
color: var(--text);
padding: 12px 14px;
transform: translateY(0);
transition: opacity 0.18s ease, transform 0.18s ease;
}
.toast.success {
border-color: rgba(115, 200, 62, 0.45);
}
.toast.error {
border-color: rgba(240, 82, 82, 0.5);
}
.toast.is-leaving {
opacity: 0;
transform: translateY(6px);
}
.metrics-chart-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.metric-chart {
display: grid;
gap: 12px;
min-height: 170px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface-raised);
padding: 12px;
}
.metric-chart-title {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.metric-chart-title span {
color: var(--muted);
font-size: 12px;
}
.metric-bars {
display: flex;
align-items: end;
gap: 4px;
height: 110px;
border-bottom: 1px solid var(--line);
}
.metric-bars i {
flex: 1;
min-width: 4px;
border-radius: 3px 3px 0 0;
background: var(--accent);
}
.metric-chart.warn .metric-bars i {
background: var(--warn);
}
.metric-chart.good .metric-bars i {
background: var(--good);
}
.load-more-btn {
width: 100%;
margin-top: 10px;
}
.filters {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 6px;
margin-bottom: 12px;
}
.fleet-filter-grid,
.bulk-command-grid {
display: grid;
gap: 8px;
margin-bottom: 12px;
}
.fleet-filter-grid {
grid-template-columns: 1fr 1fr;
}
.fleet-filter-grid input:first-child {
grid-column: 1 / -1;
}
.bulk-command-grid {
grid-template-columns: 1fr 1fr;
}
.bulk-command-grid button {
grid-column: 1 / -1;
}
.command-filters {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 12px;
}
.command-filters select {
width: auto;
min-width: 170px;
}
.filter.is-active,
.command-filter.is-active {
background: var(--surface-muted);
border-color: var(--accent);
color: var(--accent-strong);
font-weight: 700;
}
.device-list {
display: grid;
}
.device-item {
width: 100%;
min-height: 68px;
border: 0;
border-bottom: 1px solid var(--line);
border-radius: 0;
background: transparent;
padding: 8px 14px;
text-align: left;
}
.device-item:last-child {
border-bottom: 0;
}
.device-item:hover {
border-color: var(--line);
background: #242e37;
}
.device-item.is-selected {
background: #223640;
}
.device-item strong {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.device-item span,
.device-item small {
color: var(--muted);
font-size: 13px;
}
.device-identity,
.device-context {
display: grid;
min-width: 0;
gap: 4px;
}
.device-field {
display: grid;
gap: 4px;
min-width: 0;
}
.device-field-label {
display: none;
color: var(--muted);
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
}
.device-identity strong,
.device-identity small,
.device-context span,
.device-context small,
.last-contact,
.wan-state {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.fleet-status {
display: inline-flex;
gap: 7px;
align-items: center;
font-weight: 700;
}
.fleet-status i {
width: 8px;
height: 8px;
flex: 0 0 8px;
border-radius: 50%;
background: currentColor;
}
.fleet-status.online,
.wan-state.online {
color: var(--good);
}
.fleet-status.offline,
.wan-state.offline {
color: var(--bad);
}
.wan-state.warning {
color: var(--warn);
}
.client-count {
color: var(--text) !important;
font-weight: 800;
}
.problem-count {
color: var(--good) !important;
}
.problem-count.has-problems {
color: var(--warn) !important;
font-weight: 800;
}
.row-chevron {
color: var(--accent) !important;
font-size: 22px !important;
text-align: right;
}
.badge {
display: inline-flex;
align-items: center;
min-height: 28px;
border-radius: 999px;
padding: 0 10px;
font-size: 13px;
font-weight: 700;
}
.badge.online {
background: #e7f6ee;
color: var(--good);
}
.badge.offline {
background: #fef3f2;
color: var(--bad);
}
.empty-state {
display: grid;
min-height: 360px;
place-content: center;
text-align: center;
}
.back-button {
min-height: 30px;
border: 0;
background: transparent;
color: var(--accent);
padding: 0;
}
.metrics-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
margin-bottom: 14px;
}
.secondary-metric {
display: none;
}
.information-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
border: 1px solid var(--line);
border-radius: 8px;
overflow: hidden;
}
.information-item {
display: grid;
gap: 6px;
min-height: 82px;
border-right: 1px solid var(--line);
border-bottom: 1px solid var(--line);
background: var(--surface-raised);
padding: 14px;
}
.information-item:nth-child(4n) {
border-right: 0;
}
.information-item span,
.technical-details span {
color: var(--muted);
font-size: 12px;
}
.information-item strong {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.technical-details {
display: grid;
gap: 8px;
}
.technical-details > div {
display: grid;
grid-template-columns: 160px minmax(0, 1fr) auto;
gap: 12px;
align-items: center;
min-height: 48px;
border-bottom: 1px solid var(--line);
padding: 4px 0;
}
.technical-details > div:last-child {
border-bottom: 0;
}
.technical-details code {
overflow: hidden;
color: var(--text);
text-overflow: ellipsis;
white-space: nowrap;
}
.copy-info-btn {
min-height: 30px;
color: var(--accent);
}
.expert-notice {
display: flex;
gap: 12px;
align-items: center;
border: 1px solid #715d31;
border-radius: 8px;
background: #342e22;
margin-bottom: 14px;
padding: 14px;
}
.expert-notice div {
display: grid;
gap: 4px;
}
.expert-notice strong {
color: var(--warn);
}
.expert-notice span {
color: var(--muted);
font-size: 13px;
}
.metric {
min-width: 0;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
padding: 12px;
}
.metric span {
display: block;
color: var(--muted);
font-size: 12px;
margin-bottom: 6px;
}
.metric strong {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.mini-row {
display: grid;
grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) minmax(100px, 1fr);
gap: 8px;
align-items: center;
border: 1px solid var(--line);
border-radius: 8px;
padding: 9px;
}
.mini-row span,
.mini-row small {
color: var(--muted);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.alert-row.warning {
border-color: #715d31;
background: #342e22;
}
.alert-row {
grid-template-columns: minmax(170px, 1fr) 150px minmax(220px, 1.4fr) auto auto auto;
}
.alert-row.critical {
border-color: #713d3d;
background: #382525;
}
.alert-row.warning span {
color: var(--warn);
font-weight: 700;
}
.alert-row.critical span {
color: var(--bad);
font-weight: 700;
}
.alert-row.acknowledged {
border-style: dashed;
opacity: 0.82;
}
.alert-detail {
min-width: 0;
}
.alert-detail summary {
overflow: hidden;
color: var(--muted);
cursor: pointer;
text-overflow: ellipsis;
white-space: nowrap;
}
.alert-detail div {
color: var(--muted);
font-size: 12px;
margin-top: 4px;
}
.two-column {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
gap: 14px;
}
.code-block {
max-height: 280px;
overflow: auto;
border: 1px solid var(--line);
border-radius: 6px;
background: #101820;
color: #d9f3f6;
margin: 0;
padding: 12px;
font-size: 12px;
line-height: 1.5;
}
.table-list {
display: grid;
gap: 8px;
}
.row {
display: grid;
grid-template-columns: minmax(160px, 1fr) 110px 90px 90px minmax(160px, 1fr) auto;
gap: 10px;
align-items: center;
border: 1px solid var(--line);
border-radius: 8px;
padding: 10px;
}
.command-row {
display: grid;
grid-template-columns: minmax(220px, 1.2fr) 120px 100px 90px minmax(220px, 1fr) auto;
gap: 10px;
align-items: center;
border: 1px solid var(--line);
border-radius: 8px;
padding: 10px;
}
.command-main {
display: grid;
min-width: 0;
gap: 4px;
}
.command-main strong,
.command-main small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.command-main small {
color: var(--muted);
}
.lifecycle-time {
color: var(--muted);
font-size: 13px;
}
.row.audit {
grid-template-columns: 160px minmax(140px, 1fr) minmax(180px, 2fr);
}
.row small {
color: var(--muted);
}
.row-actions {
display: flex;
gap: 6px;
}
.command-output {
min-width: 0;
}
.command-output summary {
overflow: hidden;
color: var(--muted);
cursor: pointer;
text-overflow: ellipsis;
white-space: nowrap;
}
.command-output pre {
max-height: 260px;
overflow: auto;
border: 1px solid var(--line);
border-radius: 6px;
background: #101820;
color: #d9f3f6;
margin: 8px 0 0;
padding: 10px;
white-space: pre-wrap;
word-break: break-word;
}
.detail-meta {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 10px;
}
.detail-meta span {
border: 1px solid var(--line);
border-radius: 999px;
color: var(--muted);
padding: 4px 10px;
}
.command-detail-output {
max-height: 520px;
overflow: auto;
border: 1px solid var(--line);
border-radius: 8px;
background: #101820;
color: #d9f3f6;
margin: 0;
padding: 12px;
white-space: pre-wrap;
word-break: break-word;
}
.output-section {
color: #9fe7ef;
font-weight: 800;
}
.status {
font-weight: 700;
}
.status.completed {
color: var(--good);
}
.status.failed,
.status.cancelled,
.status.expired {
color: var(--bad);
}
.status.queued,
.status.claimed {
color: var(--warn);
}
@media (max-width: 980px) {
.app-shell,
.two-column,
.metrics-grid {
grid-template-columns: 1fr;
}
.sidebar {
border-right: 0;
border-bottom: 1px solid var(--line);
}
.main-nav {
grid-template-columns: repeat(3, 1fr);
}
.sidebar-spacer {
display: none;
}
.operator-row {
margin-top: 10px;
}
.fleet-summary,
.fleet-toolbar {
grid-template-columns: 1fr 1fr;
}
.fleet-toolbar > input:first-child,
.fleet-toolbar .filters {
grid-column: 1 / -1;
}
.device-header {
align-items: flex-start;
flex-direction: column;
padding: 14px 0;
}
.device-header-actions {
width: 100%;
flex-wrap: wrap;
}
.remote-quick-form,
.remote-session-row {
grid-template-columns: 1fr;
}
.client-toolbar,
.network-health,
.information-grid,
.metrics-chart-grid {
grid-template-columns: 1fr;
}
.information-item,
.information-item:nth-child(4n),
.information-item:nth-last-child(-n + 4) {
border-right: 0;
border-bottom: 1px solid var(--line);
}
.information-item:last-child {
border-bottom: 0;
}
.technical-details > div {
grid-template-columns: 1fr;
}
.client-filters {
overflow-x: auto;
}
.row,
.command-row,
.row.audit,
.command-form,
.fleet-form,
.package-grid,
.remote-form,
.health-summary,
.diagnostic-grid,
.maintenance-grid,
.uci-grid,
.preset-grid {
grid-template-columns: 1fr;
}
.alert-row {
grid-template-columns: 1fr;
}
}
@media (max-width: 720px) {
.workspace {
padding: 0 14px 20px;
}
.topbar {
min-height: auto;
padding: 14px 0;
}
.topbar {
align-items: flex-start;
flex-direction: column;
}
.topbar-actions {
align-items: center;
flex-direction: row;
flex-wrap: wrap;
gap: 8px;
width: 100%;
}
.status-line {
order: 0;
flex: 1 1 auto;
}
.fleet-summary {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fleet-summary > div {
min-height: 0;
padding: 12px 14px;
}
.fleet-toolbar {
grid-template-columns: 1fr;
}
.fleet-table-shell {
overflow: visible;
border: 0;
background: transparent;
}
.app-shell.has-selected-device .topbar {
display: none;
}
.fleet-table-head {
display: none;
}
.device-list {
gap: 10px;
}
.device-item {
grid-template-columns: 1fr 1fr;
gap: 10px 12px;
min-width: 0;
min-height: auto;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
padding: 12px;
}
.device-item:hover {
border-color: var(--accent);
}
.device-item > .fleet-status,
.device-item > .device-identity,
.device-item > .device-context {
grid-column: 1 / -1;
}
.device-item > .problem-count,
.device-item > .last-contact,
.device-item > .device-field {
display: grid;
gap: 4px;
min-width: 0;
align-content: start;
}
.device-item > .problem-count::before,
.device-item > .last-contact::before {
color: var(--muted);
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
}
.device-item > .problem-count::before {
content: "Проблемы";
}
.device-item > .last-contact::before {
content: "Последний контакт";
}
.device-field-label {
display: block;
}
.device-item strong,
.device-item small,
.device-item span,
.last-contact,
.wan-state {
white-space: normal;
}
.row-chevron {
display: none;
}
.section-title,
.section-actions,
.client-toolbar,
.filters,
.command-filters,
.preset-review-header,
.preset-review-actions,
.row-actions,
.operation-status,
.expert-notice,
.remote-session-main {
align-items: stretch;
flex-direction: column;
}
.section-actions,
.row-actions {
width: 100%;
}
.section-title {
gap: 10px;
}
.section-actions > *,
.row-actions > *,
.command-filters select,
.summary-pill {
width: 100%;
}
.filters {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.client-table-head,
.network-table-head {
display: none;
}
.client-list,
.network-list {
overflow: visible;
}
.client-row,
.network-row,
.command-row,
.row.audit,
.remote-session-row,
.mini-row,
.alert-row {
grid-template-columns: 1fr;
gap: 8px;
min-width: 0;
border-radius: 8px;
background: var(--surface-raised);
padding: 12px;
}
.client-row > :not(:first-child),
.network-row > *,
.command-row > :not(:first-child),
.row.audit > *,
.mini-row > *,
.alert-row > * {
display: grid;
gap: 4px;
min-width: 0;
}
.client-row > :nth-child(2)::before,
.client-row > :nth-child(3)::before,
.client-row > :nth-child(4)::before,
.client-row > :nth-child(5)::before,
.client-row > :nth-child(6)::before,
.network-row > :nth-child(1)::before,
.network-row > :nth-child(2)::before,
.network-row > :nth-child(3)::before,
.network-row > :nth-child(4)::before,
.network-row > :nth-child(5)::before,
.command-row > :nth-child(2)::before,
.command-row > :nth-child(3)::before,
.command-row > :nth-child(4)::before,
.command-row > :nth-child(5)::before,
.row.audit > :nth-child(1)::before,
.row.audit > :nth-child(2)::before,
.row.audit > :nth-child(3)::before {
color: var(--muted);
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
}
.client-row > :nth-child(2)::before { content: "IP"; }
.client-row > :nth-child(3)::before { content: "MAC"; }
.client-row > :nth-child(4)::before { content: "Подключение"; }
.client-row > :nth-child(5)::before { content: "Сигнал / скорость"; }
.client-row > :nth-child(6)::before { content: "Статус"; }
.network-row > :nth-child(1)::before { content: "Интерфейс"; }
.network-row > :nth-child(2)::before { content: "Адреса"; }
.network-row > :nth-child(3)::before { content: "Получено"; }
.network-row > :nth-child(4)::before { content: "Передано"; }
.network-row > :nth-child(5)::before { content: "Ошибки"; }
.command-row > :nth-child(2)::before { content: "Статус"; }
.command-row > :nth-child(3)::before { content: "Попытка"; }
.command-row > :nth-child(4)::before { content: "Время"; }
.command-row > :nth-child(5)::before { content: "Вывод"; }
.row.audit > :nth-child(1)::before { content: "Время"; }
.row.audit > :nth-child(2)::before { content: "Действие"; }
.row.audit > :nth-child(3)::before { content: "Контекст"; }
.command-output summary,
.alert-detail summary,
.remote-session-row code,
.command-main strong,
.command-main small,
.detail-meta span,
.technical-details code,
.information-item strong,
.code-block,
.command-detail-output,
.preset-review-output {
white-space: normal;
}
.code-block,
.command-detail-output,
.preset-review-output {
overflow-wrap: anywhere;
word-break: break-word;
}
.code-block {
max-height: 220px;
font-size: 11px;
}
.command-detail-output,
.preset-review-output {
max-height: 280px;
font-size: 11px;
}
.uci-actions,
.command-form {
grid-template-columns: 1fr;
}
.uci-actions button {
width: 100%;
}
.remote-session-row code {
overflow: visible;
text-overflow: clip;
}
.row-actions button,
.remote-session-row .row-actions button {
width: 100%;
}
.detail-meta {
display: grid;
grid-template-columns: 1fr;
}
.device-header-actions {
display: grid;
grid-template-columns: 1fr;
width: 100%;
}
.device-header-actions .badge,
.device-header-actions button {
width: 100%;
justify-content: center;
}
.device-tabs {
margin: 0 -14px 18px;
padding: 0 14px;
}
.panel {
padding: 12px;
overflow: hidden;
}
.toast-region {
right: 12px;
left: 12px;
bottom: 12px;
width: auto;
}
}
/* Device cockpit v2. */
.device-status-hero {
display: flex;
gap: 15px;
align-items: center;
border: 1px solid var(--line);
border-radius: 15px;
margin-bottom: 12px;
padding: 16px;
}
.device-status-hero.good {
border-color: rgb(85 214 135 / 42%);
background: linear-gradient(100deg, rgb(85 214 135 / 12%), transparent 72%);
}
.device-status-hero.warn {
border-color: rgb(245 189 87 / 50%);
background: linear-gradient(100deg, rgb(245 189 87 / 13%), transparent 72%);
}
.device-status-hero.bad {
border-color: rgb(255 100 119 / 50%);
background: linear-gradient(100deg, rgb(255 100 119 / 13%), transparent 72%);
}
.device-status-icon {
display: grid;
width: 45px;
height: 45px;
flex: 0 0 45px;
place-items: center;
border-radius: 13px;
background: rgb(255 255 255 / 8%);
color: var(--good);
font-size: 21px;
font-weight: 900;
}
.device-status-hero.warn .device-status-icon { color: var(--warn); }
.device-status-hero.bad .device-status-icon { color: var(--bad); }
.device-status-hero > div { display: grid; gap: 4px; }
.device-status-hero strong { font-size: 17px; }
.device-status-hero p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.agent-health-summary {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1px;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 14px;
margin-top: 12px;
background: var(--line);
}
.agent-health-summary > div {
display: grid;
min-width: 0;
gap: 5px;
background: var(--surface-raised);
padding: 12px;
}
.agent-health-summary span { color: var(--muted); font-size: 11px; }
.agent-health-summary strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.agent-health-summary .has-agent-error strong { color: var(--bad); }
.agent-health-summary .has-agent-warning strong { color: var(--warn); }
.agent-health-message {
grid-column: 1 / -1;
margin: 0;
background: var(--surface-raised);
color: var(--muted);
font-size: 12px;
line-height: 1.45;
padding: 11px 12px;
}
.metrics-chart-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.metric-chart {
min-height: 205px;
border-radius: 14px;
background: linear-gradient(145deg, var(--surface-raised), rgb(11 23 34 / 96%));
padding: 15px;
}
.metric-chart-title strong { font-size: 20px; }
.metric-chart-meta,
.metric-chart-axis {
display: flex;
justify-content: space-between;
color: var(--muted);
font-size: 10px;
}
.metric-line-chart {
height: 92px;
border-block: 1px solid rgb(72 96 119 / 45%);
background: linear-gradient(to bottom, transparent 49%, rgb(72 96 119 / 22%) 50%, transparent 51%);
}
.metric-line-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.metric-line-chart line { stroke: rgb(94 119 143 / 22%); stroke-width: 1; vector-effect: non-scaling-stroke; }
.metric-line-chart polygon { fill: rgb(39 182 230 / 10%); }
.metric-line-chart polyline { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.metric-chart.warn .metric-line-chart polygon { fill: rgb(245 189 87 / 10%); }
.metric-chart.warn .metric-line-chart polyline { stroke: var(--warn); }
.metric-chart.good .metric-line-chart polygon { fill: rgb(85 214 135 / 10%); }
.metric-chart.good .metric-line-chart polyline { stroke: var(--good); }
.metric-chart.violet .metric-line-chart polygon { fill: rgb(126 118 255 / 10%); }
.metric-chart.violet .metric-line-chart polyline { stroke: #8f88ff; }
.client-filters { flex-wrap: wrap; }
@media (max-width: 720px) {
.device-status-hero { align-items: flex-start; padding: 14px; }
.device-status-hero p { font-size: 12px; }
.health-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.health-item:last-child { grid-column: 1 / -1; }
.agent-health-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metrics-chart-grid { grid-template-columns: 1fr; }
.metric-chart { min-height: 190px; }
.client-filters { display: flex; overflow-x: auto; flex-wrap: nowrap; }
.client-filter { flex: 0 0 auto; }
}
dialog {
border: 0;
border-radius: 16px;
box-shadow: 0 24px 80px rgb(15 23 42 / 35%);
max-width: min(520px, calc(100vw - 32px));
}
dialog::backdrop {
background: rgb(15 23 42 / 55%);
}
/* Hybrid 1+2: familiar dark console with friendlier mobile interaction. */
:root {
--bg: #071019;
--surface: #0f1a26;
--surface-muted: #172536;
--surface-raised: #132131;
--text: #f5f8fb;
--muted: #91a2b6;
--line: #26384a;
--accent: #27b6e6;
--accent-strong: #168fb9;
--good: #55d687;
--bad: #ff6477;
--warn: #f5bd57;
--shadow: 0 18px 50px rgb(0 0 0 / 18%);
}
body {
background:
radial-gradient(circle at 0 0, rgb(39 182 230 / 9%), transparent 34rem),
var(--bg);
}
button,
input,
select {
min-height: 42px;
border-radius: 11px;
}
button {
font-weight: 650;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
outline: 3px solid rgb(39 182 230 / 28%);
outline-offset: 2px;
}
.login-view {
background:
radial-gradient(circle at 50% 10%, rgb(39 182 230 / 18%), transparent 30rem),
linear-gradient(180deg, #071019, #091521);
}
.login-form {
border-color: rgb(74 105 132 / 55%);
border-radius: 20px;
box-shadow: 0 28px 80px rgb(0 0 0 / 36%);
padding: 28px;
}
.login-form .primary {
min-height: 48px;
}
.app-shell {
grid-template-columns: 244px minmax(0, 1fr);
}
.sidebar {
position: sticky;
top: 0;
height: 100vh;
border-color: rgb(71 91 111 / 45%);
background: rgb(10 19 29 / 94%);
backdrop-filter: blur(18px);
padding: 20px 14px;
}
.brand-mark {
border-radius: 13px;
background: linear-gradient(145deg, #27b6e6, #3687f5);
box-shadow: 0 10px 26px rgb(39 182 230 / 23%);
}
.nav-item {
min-height: 48px;
border-radius: 12px;
}
.nav-item.is-active {
border-color: rgb(39 182 230 / 35%);
background: rgb(39 182 230 / 12%);
}
.operator-row {
gap: 8px;
}
.operator-profile {
display: flex;
min-width: 0;
flex: 1;
gap: 10px;
align-items: center;
border: 0;
background: transparent;
padding: 5px;
text-align: left;
}
.operator-copy {
display: grid;
gap: 2px;
}
.workspace {
width: min(100%, 1560px);
margin: 0 auto;
padding: 0 32px 36px;
}
.topbar {
position: sticky;
top: 0;
z-index: 20;
min-height: 84px;
background: rgb(7 16 25 / 88%);
backdrop-filter: blur(18px);
}
.topbar h2,
.device-header h2 {
font-size: clamp(24px, 3vw, 32px);
}
.panel,
.fleet-summary,
.fleet-table-shell {
border-color: rgb(66 91 116 / 62%);
border-radius: 16px;
background: linear-gradient(145deg, rgb(18 31 45 / 96%), rgb(12 24 35 / 96%));
box-shadow: var(--shadow);
}
.panel {
margin-bottom: 18px;
padding: 18px;
}
.fleet-summary {
gap: 1px;
overflow: hidden;
background: var(--line);
}
.fleet-summary > div {
min-height: 86px;
border: 0;
background: var(--surface);
padding: 16px 20px;
}
.fleet-summary strong {
font-size: 26px;
}
.fleet-advanced-filters {
display: contents;
}
.filter-toggle {
display: none;
}
.fleet-table-head {
background: rgb(23 37 54 / 86%);
}
.fleet-table-head,
.device-item {
grid-template-columns: 110px minmax(160px, 1.15fr) minmax(150px, 1fr) minmax(130px, .9fr) 80px 100px 145px 20px;
gap: 10px;
min-width: 980px;
}
.device-item {
min-height: 78px;
border-bottom-color: rgb(53 73 93 / 72%);
transition: background-color 160ms ease, transform 160ms ease;
}
.device-item:hover {
background: rgb(39 182 230 / 6%);
transform: translateY(-1px);
}
.fleet-status,
.badge,
.summary-pill {
border-radius: 999px;
}
.device-tabs {
scrollbar-width: none;
}
.device-tabs::-webkit-scrollbar {
display: none;
}
.device-tab {
min-height: 52px;
padding-inline: 18px;
}
.health-item,
.metric,
.information-item,
.remote-session-row,
.operation-status {
border-radius: 13px;
}
.mobile-nav {
display: none;
}
.profile-dialog,
.luci-state-dialog {
width: min(520px, calc(100vw - 24px));
border: 1px solid var(--line);
border-radius: 22px;
background: var(--surface);
color: var(--text);
padding: 0;
}
.profile-sheet,
.luci-state-sheet {
display: grid;
gap: 18px;
padding: 24px;
}
.dialog-heading {
display: flex;
gap: 16px;
align-items: flex-start;
justify-content: space-between;
}
.dialog-heading h2,
.luci-state-sheet h2 {
margin: 0;
}
.profile-identity {
display: flex;
gap: 14px;
align-items: center;
}
.profile-avatar {
display: grid;
width: 58px;
height: 58px;
flex: 0 0 58px;
place-items: center;
border-radius: 17px;
background: linear-gradient(145deg, #27b6e6, #426ff4);
font-size: 22px;
font-weight: 850;
}
.profile-identity > div {
display: grid;
gap: 4px;
}
.profile-identity strong {
font-size: 22px;
}
.profile-identity span,
.profile-notice span {
color: var(--muted);
}
.profile-notice {
display: grid;
gap: 6px;
border: 1px solid var(--line);
border-radius: 14px;
background: var(--surface-raised);
padding: 14px;
}
.profile-logout {
width: 100%;
}
.luci-state-sheet {
justify-items: center;
padding: 30px;
text-align: center;
}
.luci-state-route {
display: grid;
grid-template-columns: 58px 36px 32px 36px 58px;
align-items: center;
}
.luci-state-route > span {
display: grid;
place-items: center;
}
.luci-cloud,
.luci-router {
width: 58px;
height: 48px;
border: 1px solid rgb(78 113 142 / 80%);
border-radius: 14px;
background: rgb(39 182 230 / 12%);
color: var(--accent);
font-size: 25px;
font-weight: 850;
}
.luci-state-route i {
height: 1px;
background: var(--line);
}
.luci-warning {
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--bad);
color: #fff;
font-weight: 900;
}
.luci-state-code {
border-radius: 999px;
background: rgb(255 100 119 / 13%);
color: #ff9aa7;
font: 750 12px ui-monospace, SFMono-Regular, Consolas, monospace;
padding: 6px 10px;
}
.luci-state-sheet > p {
max-width: 420px;
margin: -8px 0 0;
color: var(--muted);
line-height: 1.55;
}
.luci-state-context {
display: grid;
width: 100%;
grid-template-columns: repeat(3, 1fr);
border: 1px solid var(--line);
border-radius: 14px;
overflow: hidden;
}
.luci-state-context > div {
display: grid;
gap: 4px;
border-right: 1px solid var(--line);
padding: 11px;
}
.luci-state-context > div:last-child {
border-right: 0;
}
.luci-state-context span,
.luci-request-id {
color: var(--muted);
font-size: 11px;
}
.luci-state-actions {
display: grid;
width: 100%;
gap: 9px;
}
.luci-state-actions button {
min-height: 47px;
}
.text-button {
border-color: transparent;
background: transparent;
color: var(--muted);
}
@media (max-width: 720px) {
body {
background: var(--bg);
}
.app-shell {
display: block;
padding-bottom: 82px;
}
.sidebar {
position: sticky;
z-index: 40;
display: flex;
width: 100%;
height: 66px;
min-height: 66px;
flex-direction: row;
align-items: center;
overflow: visible;
border: 0;
border-bottom: 1px solid var(--line);
padding: 10px 14px;
}
.sidebar .brand {
margin: 0;
}
.sidebar .brand-mark {
width: 38px;
height: 38px;
}
.sidebar .brand h1 {
font-size: 16px;
}
.sidebar .brand p {
margin-top: 1px;
font-size: 11px;
}
.sidebar .main-nav,
.sidebar .sidebar-spacer,
.sidebar .operator-row {
display: none;
}
.workspace {
width: 100%;
padding: 0 14px 24px;
}
.topbar {
position: static;
min-height: auto;
gap: 12px;
margin-bottom: 14px;
padding: 16px 0 14px;
background: transparent;
backdrop-filter: none;
}
.topbar h2 {
font-size: 25px;
}
.topbar-actions .primary {
flex: 1 1 auto;
}
.status-line {
flex: 1 0 100%;
font-size: 12px;
}
.fleet-view {
gap: 14px;
}
.fleet-summary {
gap: 1px;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fleet-summary > div {
min-height: 76px;
border: 0;
padding: 13px 14px;
}
.fleet-summary strong {
font-size: 24px;
}
.fleet-toolbar {
grid-template-columns: minmax(0, 1fr) auto;
gap: 9px;
}
.fleet-toolbar > input:first-child {
grid-column: auto;
}
.filter-toggle {
display: inline-flex;
align-items: center;
justify-content: center;
padding-inline: 14px;
}
.fleet-toolbar .filters {
display: flex;
align-items: center;
flex-direction: row;
grid-column: 1 / -1;
overflow-x: auto;
padding-bottom: 2px;
scrollbar-width: none;
}
.fleet-toolbar .filters::-webkit-scrollbar {
display: none;
}
.fleet-toolbar .filters button {
flex: 0 0 auto;
min-width: 96px;
}
.fleet-advanced-filters {
display: none;
grid-column: 1 / -1;
grid-template-columns: 1fr 1fr;
gap: 9px;
}
.fleet-advanced-filters.is-open {
display: grid;
}
.device-list {
gap: 12px;
}
.device-item {
position: relative;
gap: 12px 14px;
border-radius: 16px;
background: linear-gradient(145deg, var(--surface), var(--surface-raised));
box-shadow: 0 12px 32px rgb(0 0 0 / 16%);
padding: 15px;
}
.device-item::before {
content: "";
position: absolute;
top: 14px;
bottom: 14px;
left: 0;
width: 3px;
border-radius: 0 5px 5px 0;
background: var(--bad);
}
.device-item:has(.fleet-status.online)::before {
background: var(--good);
}
.device-identity strong {
font-size: 17px;
}
.device-header {
gap: 14px;
padding: 12px 0 16px;
}
.device-header h2 {
font-size: 24px;
}
.device-header > div:first-child {
width: 100%;
}
.device-header p {
overflow-wrap: anywhere;
font-size: 12px;
}
.device-header-actions {
grid-template-columns: 1fr 1fr;
}
.device-header-actions .badge {
grid-column: 1 / -1;
}
.device-tabs {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 4px;
overflow: visible;
border: 1px solid var(--line);
border-radius: 14px;
margin: 0 0 16px;
padding: 4px;
}
.device-tab {
min-height: 43px;
overflow: hidden;
border: 0;
border-radius: 10px;
padding: 0 5px;
font-size: 12px;
text-overflow: ellipsis;
}
.device-tab.is-active {
background: rgb(39 182 230 / 14%);
}
.panel {
border-radius: 16px;
padding: 15px;
}
.mobile-nav {
position: fixed;
z-index: 60;
right: 10px;
bottom: max(10px, env(safe-area-inset-bottom));
left: 10px;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 4px;
border: 1px solid rgb(58 82 106 / 86%);
border-radius: 18px;
background: rgb(15 26 38 / 94%);
box-shadow: 0 18px 50px rgb(0 0 0 / 42%);
backdrop-filter: blur(18px);
padding: 5px;
}
.mobile-nav-item {
display: grid;
min-width: 0;
min-height: 54px;
gap: 2px;
place-items: center;
border: 0;
border-radius: 13px;
background: transparent;
color: var(--muted);
padding: 4px 2px;
font-size: 10px;
}
.mobile-nav-item span {
color: currentColor;
font-size: 17px;
}
.mobile-nav-item.is-active {
background: rgb(39 182 230 / 14%);
color: var(--accent);
}
.profile-dialog,
.luci-state-dialog {
width: calc(100vw - 20px);
max-height: calc(100dvh - 20px);
margin: auto 10px 10px;
border-radius: 22px;
}
.profile-sheet,
.luci-state-sheet {
padding: 20px;
}
.luci-state-context {
grid-template-columns: 1fr;
}
.luci-state-context > div {
border-right: 0;
border-bottom: 1px solid var(--line);
}
.luci-state-context > div:last-child {
border-bottom: 0;
}
}
@media (min-width: 721px) and (max-width: 1300px) {
.fleet-table-head,
.device-item {
grid-template-columns: 105px minmax(160px, 1.2fr) minmax(140px, 1fr) minmax(120px, .9fr) 70px 88px 24px;
min-width: 0;
}
.fleet-table-head > :nth-child(7),
.device-item > :nth-child(7) {
display: none;
}
}
@media (min-width: 721px) and (max-width: 1150px) {
.fleet-table-shell {
overflow: visible;
border: 0;
background: transparent;
}
.fleet-table-head { display: none; }
.device-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.device-item {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 11px 14px;
min-width: 0;
min-height: auto;
border: 1px solid var(--line);
border-radius: 14px;
background: var(--surface-raised);
padding: 15px;
}
.device-item > .fleet-status,
.device-item > .device-identity,
.device-item > .device-context { grid-column: 1 / -1; }
.device-item > .problem-count::before,
.device-item > .last-contact::before {
display: block;
margin-bottom: 4px;
color: var(--muted);
font-size: 10px;
font-weight: 750;
letter-spacing: .04em;
text-transform: uppercase;
}
.device-item > .problem-count::before { content: "Проблемы"; }
.device-item > .last-contact::before { content: "Последняя связь"; }
.device-item > .last-contact { display: block; }
.row-chevron { display: none; }
}
@media (min-width: 721px) and (max-width: 900px) {
.device-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
.device-tabs {
display: flex;
gap: 5px;
overflow-x: auto;
scroll-snap-type: x proximity;
}
.device-tab {
min-width: 104px;
flex: 0 0 auto;
scroll-snap-align: start;
}
.device-meta {
overflow-wrap: anywhere;
}
}
@media (max-width: 1500px) {
.fleet-view { grid-template-columns: minmax(0, 1fr); }
.fleet-summary,
.fleet-toolbar,
.fleet-table-shell,
.device-list { width: 100%; min-width: 0; max-width: 100%; }
.fleet-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fleet-toolbar > input:first-child,
.fleet-toolbar .filters { grid-column: 1 / -1; }
.client-toolbar { grid-template-columns: minmax(0, 1fr); }
.client-filters { min-width: 0; max-width: 100%; }
.client-table-head { display: none; }
.client-list { display: grid; gap: 10px; overflow: visible; }
.client-row {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px 16px;
min-width: 0;
border: 1px solid var(--line);
border-radius: 13px;
background: var(--surface-raised);
padding: 14px;
}
.client-row .client-name { grid-column: 1 / -1; }
.client-row > :not(:first-child) { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.client-row > :nth-child(2)::before { content: "IP"; }
.client-row > :nth-child(3)::before { content: "MAC"; }
.client-row > :nth-child(4)::before { content: "Подключение"; }
.client-row > :nth-child(5)::before { content: "Сигнал / скорость"; }
.client-row > :nth-child(6)::before { content: "Статус"; }
.client-row > :not(:first-child)::before {
color: var(--muted);
font-size: 10px;
font-weight: 750;
letter-spacing: .04em;
text-transform: uppercase;
}
}
@media (max-width: 720px) {
.fleet-view,
.fleet-summary,
.fleet-toolbar,
.fleet-table-shell,
.device-list {
width: 100%;
min-width: 0;
max-width: 100%;
}
.fleet-table-shell {
overflow-x: hidden;
}
.device-item {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px 12px;
width: 100%;
min-width: 0;
min-height: auto;
}
.device-item > .fleet-status,
.device-item > .device-identity,
.device-item > .device-context {
grid-column: 1 / -1;
}
.device-item > .problem-count,
.device-item > .last-contact,
.device-item > .device-field {
display: grid;
min-width: 0;
gap: 4px;
align-content: start;
}
.row-chevron {
display: none;
}
.client-row { grid-template-columns: 1fr; }
.client-row .client-name { grid-column: 1; }
.client-filters {
display: flex;
max-width: 100%;
flex-direction: row;
align-items: center;
overflow-x: auto;
padding-bottom: 2px;
}
.client-filter { width: auto; flex: 0 0 auto; }
}
.profile-dialog {
width: min(760px, calc(100vw - 24px));
max-width: min(760px, calc(100vw - 24px));
}
.device-transfer-form {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
gap: 12px;
align-items: end;
}
.device-transfer-form label,
.user-row label {
display: grid;
min-width: 0;
gap: 6px;
color: var(--muted);
font-size: 12px;
}
.device-transfer-form .form-message {
grid-column: 1 / -1;
}
.user-list {
display: grid;
gap: 9px;
}
.user-row {
display: grid;
grid-template-columns: minmax(220px, 1fr) 150px auto;
gap: 12px;
align-items: center;
border: 1px solid var(--line);
border-radius: 14px;
background: var(--surface-raised);
padding: 12px;
}
.user-row.is-disabled {
opacity: .7;
}
.user-row-identity {
display: flex;
min-width: 0;
gap: 10px;
align-items: center;
}
.user-row-identity .profile-avatar {
width: 40px;
height: 40px;
flex-basis: 40px;
border-radius: 12px;
font-size: 16px;
}
.user-row-identity > div {
display: grid;
min-width: 0;
gap: 3px;
}
.user-row-identity small {
overflow: hidden;
color: var(--muted);
text-overflow: ellipsis;
white-space: nowrap;
}
.user-row-actions {
display: flex;
gap: 7px;
}
@media (max-width: 1200px) {
.uci-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.uci-grid .check-row {
grid-column: 1 / -1;
}
.network-table-head {
display: none;
}
.network-list {
display: grid;
gap: 10px;
overflow: visible;
}
.network-row {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px 16px;
min-width: 0;
border: 1px solid var(--line);
border-radius: 13px;
background: var(--surface-raised);
padding: 14px;
}
.network-row > * {
display: grid;
min-width: 0;
gap: 3px;
overflow-wrap: anywhere;
}
.network-row > :nth-child(1)::before { content: "Интерфейс"; }
.network-row > :nth-child(2)::before { content: "Адреса"; }
.network-row > :nth-child(3)::before { content: "Получено"; }
.network-row > :nth-child(4)::before { content: "Передано"; }
.network-row > :nth-child(5)::before { content: "Ошибки"; }
.network-row > *::before {
color: var(--muted);
font-size: 10px;
font-weight: 750;
letter-spacing: .04em;
text-transform: uppercase;
}
.alert-row {
grid-template-columns: minmax(0, 1fr) repeat(3, auto);
min-width: 0;
}
.alert-row > strong,
.alert-row > .alert-detail {
grid-column: 1 / -1;
}
.device-transfer-form,
.user-row {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.device-transfer-form button,
.user-row-identity,
.user-row-actions {
grid-column: 1 / -1;
}
}
/* Final responsive guards: keep operational controls inside the workspace at 4:3. */
@media (min-width: 721px) and (max-width: 1100px) {
.topbar {
align-items: flex-start;
flex-wrap: wrap;
padding-block: 12px;
}
.topbar-actions {
display: grid;
width: 100%;
grid-template-columns: auto minmax(90px, 1fr) auto auto auto;
}
.remote-session-row {
grid-template-columns: minmax(0, 1fr);
}
.remote-session-row code {
overflow: visible;
overflow-wrap: anywhere;
text-overflow: clip;
white-space: normal;
}
}
@media (min-width: 721px) and (max-width: 900px) {
.topbar-actions {
grid-template-columns: auto minmax(0, 1fr) auto auto;
}
.live-state { grid-column: 1; grid-row: 1; }
.status-line { grid-column: 2 / 4; grid-row: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#refreshBtn { grid-column: 4; grid-row: 1; }
#addRouterBtn { grid-column: 1 / 3; grid-row: 2; }
#addUserBtn { grid-column: 3 / 5; grid-row: 2; }
.motion-ready .landing-console {
animation-name: landing-enter;
}
}
/* Motion system: short, functional transitions with an accessibility fallback. */
@keyframes ui-fade-up {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes ui-dialog-in {
from { opacity: 0; transform: translateY(14px) scale(.985); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ui-backdrop-in {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes ui-cloud-working {
0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 0 rgb(33 168 216 / 0%)); }
50% { transform: translateY(-3px); filter: drop-shadow(0 5px 8px rgb(33 168 216 / 35%)); }
}
@keyframes ui-live-pulse {
0%, 100% { box-shadow: 0 0 0 3px rgb(115 200 62 / 8%); }
50% { box-shadow: 0 0 0 6px rgb(115 200 62 / 16%); }
}
button,
.device-item,
.panel,
.cloud-access-card,
.inline-state,
.nav-item,
.mobile-nav-item {
transition:
border-color 160ms ease,
background-color 160ms ease,
color 160ms ease,
box-shadow 180ms ease,
transform 160ms ease,
opacity 160ms ease;
}
button:not(:disabled):active {
transform: translateY(1px) scale(.99);
}
button.is-loading {
cursor: progress;
opacity: .78;
}
.cloud-wait-page {
min-height: 100dvh;
display: grid;
place-items: center;
padding: 20px;
background: radial-gradient(circle at 18% 8%, rgb(39 182 230 / 15%), transparent 30rem), var(--bg);
}
.cloud-wait-page main {
width: min(100%, 520px);
padding: clamp(28px, 7vw, 48px);
border: 1px solid var(--line);
border-radius: 22px;
background: var(--surface);
animation: ui-dialog-in 220ms ease-out both;
}
.cloud-wait-page h1 { margin: 9px 0 14px; font-size: clamp(30px, 7vw, 44px); letter-spacing: -.04em; }
.cloud-wait-page p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.cloud-wait-mark { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #27b6e6, #435ff6); font-weight: 800; }
.cloud-wait-progress { height: 4px; overflow: hidden; margin-top: 28px; border-radius: 999px; background: var(--surface-muted); }
.cloud-wait-progress i { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--accent); animation: cloud-wait-progress 1.25s ease-in-out infinite alternate; }
@keyframes cloud-wait-progress {
from { transform: translateX(-20%); }
to { transform: translateX(160%); }
}
@media (hover: hover) and (pointer: fine) {
.device-item:hover,
.cloud-access-card:hover {
border-color: rgb(39 182 230 / 58%);
transform: translateY(-2px);
box-shadow: 0 12px 30px rgb(0 0 0 / 18%);
}
button:not(:disabled):hover {
transform: translateY(-1px);
}
}
.fleet-view:not(.is-hidden),
.device-view:not(.is-hidden),
[data-device-tab]:not(.is-hidden) {
animation: ui-fade-up 220ms cubic-bezier(.2, .75, .25, 1) both;
}
.cloud-access-card[data-state="starting"] .cloud-access-icon {
animation: ui-cloud-working 1.35s ease-in-out infinite;
}
.live-state.is-live i {
animation: ui-live-pulse 2.4s ease-in-out infinite;
}
dialog[open] > * {
animation: ui-dialog-in 200ms cubic-bezier(.2, .75, .25, 1) both;
}
dialog[open]::backdrop {
animation: ui-backdrop-in 180ms ease-out both;
}
.inline-state,
.remote-session-row,
.alert-row,
.command-row {
animation: ui-fade-up 180ms ease-out both;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
animation-duration: .01ms !important;
animation-iteration-count: 1 !important;
transition-duration: .01ms !important;
}
}
@media (max-width: 720px) {
.device-transfer-form,
.user-row {
grid-template-columns: 1fr;
}
.device-transfer-form > *,
.user-row > * {
grid-column: 1;
}
.user-row-actions {
display: grid;
grid-template-columns: 1fr 1fr;
}
}