:root{
  --bg:#f6f7f8;
  --sidebar:#ffffff;
  --surface:#ffffff;
  --surface-2:#f3f5f7;
  --surface-3:#eaedf0;
  --border:#e4e7ea;
  --border-strong:#d4d9dd;
  --text:#1d2733;
  --muted:#5a6672;
  --dim:#8a949e;
  --accent:#f6821f;
  --accent-hover:#e3700d;
  --accent-soft:#fef0e2;
  --link:#0a6dd1;
  --link-hover:#0857a8;
  --success:#137a52;
  --success-soft:#e3f5ed;
  --warning:#92610a;
  --warning-soft:#fbf1dd;
  --danger:#c5221f;
  --danger-soft:#fdeceb;
  --radius:13px;
  --radius-sm:9px;
  --shadow:0 1px 2px rgba(16,24,40,.06);
  --shadow-card:0 1px 2px rgba(16,24,40,.04), 0 10px 28px -12px rgba(16,24,40,.12);
  --shadow-lift:0 2px 6px rgba(16,24,40,.06), 0 18px 42px -14px rgba(16,24,40,.22);
  --grad-accent:linear-gradient(135deg,#f6821f,#fb9b3e);
  --sidebar-w:248px;
  --font:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --mono:ui-monospace,'SF Mono',SFMono-Regular,Menlo,Consolas,'Liberation Mono',monospace;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;color:var(--text);
  background:var(--bg);
  background-image:
    radial-gradient(900px 500px at 100% -5%, rgba(246,130,31,.06), transparent 60%),
    radial-gradient(800px 500px at -5% 0%, rgba(10,109,209,.05), transparent 55%);
  background-attachment:fixed;
  font-family:var(--font);font-size:13.5px;line-height:1.55;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
a{color:var(--link);text-decoration:none}
a:hover{color:var(--link-hover)}
svg.ico{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none;
  stroke-linecap:round;stroke-linejoin:round;flex:none}

.layout{display:flex;min-height:100vh}
.sidebar{
  width:var(--sidebar-w);flex:none;background:var(--sidebar);
  border-right:1px solid var(--border);display:flex;flex-direction:column;
  position:fixed;inset:0 auto 0 0;height:100vh;z-index:20;
}
.sidebar .brand{
  display:flex;align-items:center;gap:13px;padding:24px 22px;
  font-weight:700;font-size:21px;letter-spacing:-.02em;color:var(--text);
}
.sidebar .brand .logo{
  width:42px;height:42px;border-radius:12px;flex:none;
  background:linear-gradient(135deg,#f6821f,#fbad41);
  display:grid;place-items:center;color:#fff;box-shadow:0 2px 6px rgba(246,130,31,.4)}
.sidebar .brand .logo svg{width:23px;height:23px;stroke:#fff;stroke-width:2.2;fill:none}
.sidebar .brand small{display:block;font-weight:500;font-size:11px;color:var(--dim);letter-spacing:.01em}
.nav{padding:8px 14px;display:flex;flex-direction:column;gap:3px;flex:1}
.nav .label{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--dim);
  padding:10px 10px 8px;font-weight:600}
.nav a{
  display:flex;align-items:center;justify-content:space-between;gap:11px;padding:11px 13px;
  border-radius:10px;color:var(--muted);font-weight:500;font-size:14px;
  transition:background .12s,color .12s}
.nav a .ni{display:flex;align-items:center;gap:12px}
.nav a .ni svg{width:19px;height:19px}
.nav a svg{stroke:var(--dim)}
.nav a:hover{background:var(--surface-2);color:var(--text)}
.nav a:hover svg{stroke:var(--muted)}
.nav a.active{background:var(--accent-soft);color:#9a4e07;font-weight:600}
.nav a.active svg{stroke:var(--accent)}
.nav-badge{font-size:11px;font-weight:700;min-width:22px;text-align:center;padding:2px 7px;
  border-radius:7px;background:var(--surface-3);color:var(--muted);font-family:var(--mono)}
.nav a.active .nav-badge{background:#fff;color:var(--accent)}
.nav-badge.live{background:var(--accent);color:#fff}
.nav-badge.live::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;
  background:#fff;margin-right:5px;vertical-align:1px;animation:pulse 1.2s ease-in-out infinite}
.sidebar .user{
  border-top:1px solid var(--border);padding:12px 14px;display:flex;align-items:center;gap:10px}
.sidebar .user .avatar{
  width:32px;height:32px;border-radius:50%;background:var(--accent-soft);flex:none;
  display:grid;place-items:center;font-weight:700;color:var(--accent);font-size:13px}
.sidebar .user .meta-u{flex:1;min-width:0}
.sidebar .user .meta-u b{display:block;font-size:13px;font-weight:600;color:var(--text);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar .user .meta-u span{font-size:11px;color:var(--dim);text-transform:capitalize}
.sidebar .user a.logout{color:var(--muted);display:grid;place-items:center;
  width:32px;height:32px;border-radius:var(--radius-sm)}
.sidebar .user a.logout:hover{background:var(--danger-soft);color:var(--danger)}

.main{flex:1;margin-left:var(--sidebar-w);min-width:0}
.content{max-width:1140px;margin:0 auto;padding:22px 40px 64px}

h1{font-size:28px;font-weight:750;letter-spacing:-.03em;margin:0 0 5px;color:var(--text)}
h2{font-size:16px;font-weight:700;letter-spacing:-.015em;margin:30px 0 15px}
h3{font-size:13.5px;font-weight:600;margin:0}
.sub{color:var(--muted);margin:0 0 26px;font-size:14px}
.meta{color:var(--muted);font-size:12.5px}
.mono{font-family:var(--mono);font-size:12.5px}
.page-back{display:inline-flex;align-items:center;gap:5px;color:var(--muted);
  font-size:12.5px;margin-bottom:14px}
.page-back:hover{color:var(--text)}
.page-back svg{width:15px;height:15px}
.page-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}

.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:24px;margin-bottom:22px;box-shadow:var(--shadow-card)}
.card-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px}
.card-head h2{margin:0}

.table-card{padding:0;overflow-x:auto}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:14px 18px;border-bottom:1px solid var(--border);white-space:nowrap}
td .meta.mono{white-space:normal}
thead th{color:var(--dim);font-weight:600;font-size:10.5px;text-transform:uppercase;
  letter-spacing:.05em;background:var(--surface-2)}
tbody tr{transition:background .1s}
tbody tr:hover{background:var(--surface-2)}
tbody tr:last-child td{border-bottom:none}
td.mono,td .mono{font-family:var(--mono);font-size:12.5px}
td strong{font-weight:600}
.checkbox-cell{width:36px;text-align:center}

.pill{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 8px;
  border-radius:999px;font-size:11.5px;font-weight:600;line-height:1.4;border:1px solid transparent;
  white-space:nowrap}
.pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.pill-online{color:var(--success);background:var(--success-soft);border-color:#bce5d3}
.pill-offline{color:var(--danger);background:var(--danger-soft);border-color:#f6c9c7}
.pill-error{color:var(--warning);background:var(--warning-soft);border-color:#f0dbb4}
.pill-unknown{color:var(--muted);background:var(--surface-3);border-color:var(--border-strong)}
.job-done{color:var(--success);background:var(--success-soft);border-color:#bce5d3}
.job-failed,.job-timeout{color:var(--danger);background:var(--danger-soft);border-color:#f6c9c7}
.job-running{color:var(--link);background:#e7f1fc;border-color:#bcd9f6}
.job-queued,.job-cancelled{color:var(--muted);background:var(--surface-3);border-color:var(--border-strong)}
.job-running::before{animation:pulse 1.2s ease-in-out infinite}
@keyframes pulse{50%{opacity:.3}}

.btn,.btn-ghost,.btn-primary,.btn-danger{
  display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:var(--radius-sm);
  font-size:13px;font-weight:600;cursor:pointer;border:1px solid var(--border-strong);
  background:var(--surface);color:var(--text);white-space:nowrap;
  font-family:inherit;line-height:1;box-shadow:var(--shadow);
  transition:transform .13s ease, box-shadow .13s ease, background .13s, border-color .13s, filter .13s}
.btn:hover{background:var(--surface-2);border-color:#c2c8ce;transform:translateY(-1px)}
.btn-primary{background:var(--grad-accent);border-color:transparent;color:#fff;
  box-shadow:0 2px 8px rgba(246,130,31,.32)}
.btn-primary:hover{filter:brightness(1.05);transform:translateY(-1px);color:#fff;
  box-shadow:0 5px 16px rgba(246,130,31,.42)}
.btn-danger:hover{transform:translateY(-1px)}
.btn-danger{background:var(--surface);border-color:#eab8b6;color:var(--danger)}
.btn-danger:hover{background:var(--danger-soft);border-color:var(--danger)}
.btn-ghost{background:transparent;border-color:transparent;color:var(--muted);padding:7px 10px;box-shadow:none}
.btn-ghost:hover{background:var(--surface-2);color:var(--text)}
.btn:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.actions-grid{display:flex;flex-wrap:wrap;gap:9px}
form.inline{display:inline}
.os-ico{width:17px;height:17px;vertical-align:-3px;flex:none}
.os-cell{display:flex;align-items:center;gap:7px}
.tag{display:inline-block;padding:1px 7px;border-radius:5px;font-size:11px;font-weight:600;
  background:var(--accent-soft);color:#9a4e07;border:1px solid #f3d6b3;white-space:nowrap}
.tag-redis{background:#fdeceb;color:#c5221f;border-color:#f3c9c4;margin-left:4px}
.tag-up{display:inline-block;padding:1px 7px;border-radius:5px;font-size:11px;font-weight:700;
  background:var(--warning-soft);color:var(--warning);border:1px solid #f0dbb4;white-space:nowrap;
  margin-left:4px}
.tag-up::before{content:"\2191 ";font-weight:700}

.plesk-badge{display:inline-flex;align-items:stretch;border-radius:6px;overflow:hidden;
  border:1px solid #f3d6b3;font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap;
  vertical-align:middle}
.plesk-badge .pb-cur{padding:2px 8px;background:var(--accent-soft);color:#9a4e07}
.plesk-badge .pb-new{padding:2px 8px;background:var(--warning-soft);color:var(--warning);
  border-left:1px solid #f0dbb4;font-weight:700}
.plesk-badge.has-up{border-color:#f0dbb4}
.link-arrow{display:inline-flex;align-items:center;gap:4px;font-weight:500;font-size:12.5px}
.link-arrow svg{width:14px;height:14px}
.reveal{display:inline-flex;align-items:center;gap:5px;cursor:pointer;font-family:var(--mono);
  font-size:12.5px;user-select:none;border-radius:5px;padding:1px 5px;transition:background .12s;
  color:var(--text)}
.reveal:hover{background:var(--surface-2)}
.reveal svg{width:13px;height:13px;stroke:var(--dim);flex:none}
.reveal.shown svg{stroke:var(--accent)}

label{display:block;color:var(--muted);font-size:12.5px;font-weight:500;margin:14px 0 6px}
input,select,textarea{
  background:#fff;border:1px solid var(--border-strong);border-radius:var(--radius-sm);
  color:var(--text);padding:10px 12px;font:inherit;font-size:13.5px;width:100%;transition:border .12s,box-shadow .12s}
input::placeholder{color:var(--dim)}
input:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
select{appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%235a6672' stroke-width='2' stroke-linecap='round'><path d='M3 5l4 4 4-4'/></svg>");
  background-repeat:no-repeat;background-position:right 12px center;padding-right:34px}

.flash{padding:11px 14px;border-radius:var(--radius-sm);margin-bottom:16px;
  border:1px solid;font-size:13px;display:flex;align-items:center;gap:9px}
.flash-err{background:var(--danger-soft);border-color:#f6c9c7;color:#a31816}
.flash-ok{background:var(--success-soft);border-color:#bce5d3;color:#0e5e3f}

.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;
  background:radial-gradient(1200px 600px at 50% -10%,rgba(246,130,31,.10),transparent)}
.login-wrap{width:100%;max-width:380px}
.login-wrap .card{padding:30px}
.login-brand{display:flex;align-items:center;gap:11px;margin-bottom:22px}
.login-brand .logo{width:40px;height:40px;border-radius:10px;
  background:linear-gradient(135deg,#f6821f,#fbad41);display:grid;place-items:center;box-shadow:0 2px 6px rgba(246,130,31,.4)}
.login-brand .logo svg{width:24px;height:24px;stroke:#fff;stroke-width:2.2;fill:none}
.login-brand b{font-size:19px;font-weight:700;letter-spacing:-.02em;display:block;color:var(--text)}
.login-brand span{font-size:12px;color:var(--dim)}
.login-wrap .sub-login{color:var(--muted);font-size:13px;margin:-8px 0 20px}

.terminal{background:#0d1117;border:1px solid #1c2433;border-radius:9px;overflow:hidden;
  font-family:var(--mono);box-shadow:0 6px 22px rgba(13,17,23,.18)}
.terminal-bar{display:flex;align-items:center;gap:7px;padding:9px 13px;background:#161c26;
  border-bottom:1px solid #1c2433}
.terminal-bar .dot{width:11px;height:11px;border-radius:50%;flex:none}
.terminal-bar .dot.r{background:#ff5f57}
.terminal-bar .dot.y{background:#febc2e}
.terminal-bar .dot.g{background:#28c840}
.terminal-bar .t{margin-left:9px;color:#7d8da3;font-size:12px}
.terminal-body{padding:15px 17px;font-size:12.7px;line-height:1.7;color:#c9d6e5;
  max-height:540px;overflow:auto}
.term-cmd{color:#e8edf4;white-space:pre-wrap;word-break:break-word;margin:0 0 10px}
.term-cmd .u{color:#3fb950;font-weight:600}
.term-cmd .p{color:#58a6ff}
.term-cmd .s{color:#7d8da3}
.term-out{margin:0;white-space:pre-wrap;word-break:break-word;color:#c9d6e5;
  font-family:var(--mono);font-size:12.7px;line-height:1.7;background:none;border:0;padding:0}
.term-out.err{color:#ff7b72}
.term-empty{color:#6b7689;font-style:italic}
.term-status{margin-top:13px;padding-top:11px;border-top:1px solid #1c2433;font-size:12px;
  display:flex;align-items:center;gap:7px}
.term-status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.term-status.ok{color:#3fb950}
.term-status.bad{color:#ff7b72}
.term-status.run{color:#58a6ff}
.term-status.run::before{animation:pulse 1.2s ease-in-out infinite}

.metric-block{margin-bottom:22px}
.metric-block:last-child{margin-bottom:0}
.metric-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.metric-head .metric-label{display:flex;align-items:center;gap:8px;font-weight:600;font-size:13px;color:var(--text)}
.metric-head .metric-label svg{width:16px;height:16px;stroke:var(--muted);stroke-width:2;fill:none}
.metric-now{font-family:var(--mono);font-size:19px;font-weight:700;letter-spacing:-.02em}
.metric-warn{color:var(--danger)!important}
.chart{width:100%;height:150px;display:block;border-radius:6px;background:#fcfcfd;
  border:1px solid var(--border)}
.chart .grid{stroke:var(--border);stroke-width:1}
.chart .gtxt{fill:var(--dim);font-size:9px;font-family:var(--mono)}

.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:28px}
.stat{display:flex;align-items:center;gap:15px;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);padding:18px 20px;box-shadow:var(--shadow-card);
  transition:transform .16s ease, box-shadow .16s ease}
.stat:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift)}
.stat-ic{width:46px;height:46px;border-radius:13px;flex:none;display:grid;place-items:center}
.stat-ic .ico{width:23px;height:23px;stroke-width:2}
.stat-ic.blue{background:#e7f1fc;color:#0a6dd1}
.stat-ic.green{background:var(--success-soft);color:var(--success)}
.stat-ic.red{background:var(--danger-soft);color:var(--danger)}
.stat-ic.gray{background:var(--surface-3);color:var(--muted)}
.stat .k{color:var(--muted);font-size:12.5px;font-weight:500;margin-bottom:3px}
.stat .v{font-size:29px;font-weight:750;letter-spacing:-.03em;line-height:1;color:var(--text)}
.stat .v small{font-size:13px;font-weight:500;color:var(--dim);margin-left:3px}
.stat.alert .v{color:var(--danger)}
.stat.good .v{color:var(--success)}
@media(max-width:760px){.stats{grid-template-columns:repeat(2,1fr)}}
.stat-body{min-width:0}
.stat-sub{font-size:12px;font-weight:600;margin-top:5px;color:var(--dim)}
.stat-sub.green{color:var(--success)}
.stat-sub.red{color:var(--danger)}

.appbar{max-width:1140px;margin:0 auto;padding:20px 40px 0;display:flex;align-items:center;justify-content:flex-end;gap:14px}
.searchbox{display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--border-strong);
  border-radius:11px;padding:9px 13px;width:290px;box-shadow:var(--shadow);transition:border .12s,box-shadow .12s}
.searchbox svg{width:16px;height:16px;stroke:var(--dim);flex:none}
.searchbox input{border:0;background:none;padding:0;font-size:13.5px;width:100%;box-shadow:none}
.searchbox input:focus{outline:none;box-shadow:none}
.searchbox:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.bell{position:relative;width:44px;height:44px;border-radius:12px;background:var(--surface);
  border:1px solid var(--border-strong);display:grid;place-items:center;color:var(--muted);box-shadow:var(--shadow);flex:none}
.bell:hover{background:var(--surface-2);color:var(--text)}
.bell svg{width:19px;height:19px}
.bell-dot{position:absolute;top:10px;right:11px;width:9px;height:9px;border-radius:50%;
  background:var(--danger);border:2px solid var(--surface)}

.list-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:var(--shadow-card);margin-bottom:22px;overflow:hidden}
.list-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--border)}
.list-head h2{margin:0;font-size:16px}
.list-actions{display:flex;align-items:center;gap:9px}
.icon-btn{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border-radius:9px;
  border:1px solid var(--border-strong);background:var(--surface);color:var(--text);font-weight:600;
  font-size:13px;cursor:pointer;box-shadow:var(--shadow);transition:background .12s}
.icon-btn svg{width:15px;height:15px;stroke:var(--muted)}
.icon-btn:hover{background:var(--surface-2)}
.icon-btn.sq{width:38px;padding:0;justify-content:center}
.table-scroll{overflow-x:auto}

.mcell{min-width:66px}
.mpct{display:block;font-size:12.5px;font-weight:600;font-family:var(--mono);margin-bottom:6px;color:var(--text)}
.mpct.crit{color:var(--danger)}
.mtrack{display:block;width:74px;height:5px;border-radius:3px;background:#e3e7ec;overflow:hidden}
.mfill{display:block;height:100%;border-radius:3px}
.cell-2{line-height:1.35}
.cell-2 .t2{color:var(--dim);font-size:11.5px}
.row-kebab{width:30px;height:30px;border-radius:7px;display:grid;place-items:center;color:var(--dim);cursor:pointer}
.row-kebab:hover{background:var(--surface-3);color:var(--text)}
.row-kebab svg{width:16px;height:16px}

.tfoot{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;border-top:1px solid var(--border);flex-wrap:wrap;gap:10px}
.pager{display:flex;align-items:center;gap:8px}
.pager select{width:auto;padding:8px 30px 8px 12px;font-size:12.5px}
.pg-btn{width:34px;height:34px;border-radius:8px;border:1px solid var(--border-strong);background:var(--surface);
  display:grid;place-items:center;color:var(--muted);cursor:pointer}
.pg-btn svg{width:15px;height:15px}
.pg-btn[disabled]{opacity:.4;cursor:default}
.pg-num{min-width:34px;height:34px;border-radius:8px;display:grid;place-items:center;font-weight:700;
  font-size:13px;background:var(--accent-soft);color:var(--accent);border:1px solid #f3d6b3}

.action-global{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.ag-icon{width:54px;height:54px;border-radius:15px;background:var(--accent-soft);display:grid;place-items:center;flex:none}
.ag-icon svg{width:26px;height:26px;stroke:var(--accent)}
.ag-text{max-width:230px}
.ag-text h2{margin:0 0 4px}
.ag-text p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.ag-form{display:flex;align-items:flex-end;gap:12px;flex:1;min-width:300px}
.ag-form .field{flex:1}
.ag-form label{margin-top:0}

.mbars{display:flex;flex-direction:column;gap:5px;min-width:118px}
.mbar{display:grid;grid-template-columns:13px 1fr 26px;align-items:center;gap:7px;
  font-family:var(--mono);font-size:10px;color:var(--muted)}
.mbar .track{display:block;width:100%;height:7px;border-radius:4px;background:#dde2e8;overflow:hidden}
.mbar .fill{display:block;height:100%;border-radius:4px;min-width:2px;transition:width .3s}
.mbar .pct{text-align:right;color:var(--text);font-weight:600}
.mbar.crit .pct{color:var(--danger)}

.modal-overlay{position:fixed;inset:0;background:rgba(15,23,32,.45);
  display:flex;align-items:center;justify-content:center;z-index:100;padding:20px;
  animation:fadein .12s ease}
.modal-overlay[hidden]{display:none}
.modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:0 16px 48px rgba(15,23,32,.28);max-width:430px;width:100%;padding:22px 22px 18px;
  animation:pop .14s ease}
.modal-title{font-size:16px;font-weight:700;margin:0 0 10px;display:flex;align-items:center;gap:9px}
.modal-title svg{width:20px;height:20px;stroke:var(--accent);stroke-width:2;fill:none;flex:none}
.modal.danger .modal-title svg{stroke:var(--danger)}
.modal-msg{color:var(--muted);margin:0 0 22px;font-size:13.5px;line-height:1.55}
.modal-actions{display:flex;justify-content:flex-end;gap:9px}
@keyframes fadein{from{opacity:0}}
@keyframes pop{from{transform:translateY(8px) scale(.98);opacity:0}}

.foot{color:var(--dim);text-align:center;padding:8px 0 0;font-size:11.5px}

@media(max-width:860px){
  .sidebar{position:static;width:100%;height:auto;flex-direction:row;align-items:center;
    border-right:none;border-bottom:1px solid var(--border)}
  .sidebar .brand{border-bottom:none;border-right:1px solid var(--border)}
  .nav{flex-direction:row;align-items:center;padding:8px;gap:4px;overflow-x:auto}
  .nav .label{display:none}
  .nav a.active{box-shadow:inset 0 -3px 0 var(--accent)}
  .sidebar .user{border-top:none;border-left:1px solid var(--border)}
  .layout{flex-direction:column}
  .main{margin-left:0}
  .content{padding:20px 16px 40px}
}

