﻿:root {
--hmo-primary: #007DFF;
--hmo-primary-hover: #0066D6;
--hmo-primary-active: #005ABF;
--hmo-primary-rgb: 0, 125, 255;
--hmo-primary-light: #E6F0FF;
--hmo-primary-bg: #F0F6FF;
--hmo-success: #00B578;
--hmo-success-bg: #E6F7EF;
--hmo-warning: #FF9F00;
--hmo-warning-bg: #FFF6E6;
--hmo-danger: #FA3B3B;
--hmo-danger-bg: #FFEEEE;
--hmo-bg: #F1F3F5;
--hmo-bg-gradient: linear-gradient(135deg, #E8F0FE 0%, #F0F4FF 30%, #E6F0FF 60%, #F5F7FA 100%);
--hmo-bg-deep: linear-gradient(135deg, #0A1628 0%, #0D2B5E 35%, #1A4A8A 65%, #007DFF 100%);
--hmo-surface: #FFFFFF;
--hmo-surface-2: #F7F8FA;
--hmo-surface-3: #EFF1F4;
--hmo-text: #181818;
--hmo-text-secondary: #5A5F66;
--hmo-text-tertiary: #999DA6;
--hmo-divider: #EDEFF2;
--hmo-border: #E5E6EB;
--hmo-border-strong: #D0D3DB;
--hmo-radius-xs: 6px;
--hmo-radius-sm: 8px;
--hmo-radius: 12px;       
--hmo-radius-lg: 16px;    
--hmo-radius-xl: 24px;    
--hmo-radius-pill: 999px;
--hmo-shadow-xs: 0 1px 2px rgba(0,0,0,.04);
--hmo-shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 2px 6px rgba(0,0,0,.05);
--hmo-shadow: 0 2px 8px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
--hmo-shadow-md: 0 6px 20px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
--hmo-shadow-lg: 0 12px 36px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
--hmo-shadow-primary: 0 6px 20px rgba(0,125,255,.28);
--hmo-space-xs: 4px;
--hmo-space-sm: 8px;
--hmo-space: 16px;
--hmo-space-md: 24px;
--hmo-space-lg: 32px;
--hmo-space-xl: 48px;
--hmo-font: 'HarmonyOS Sans SC', 'HarmonyOS Sans', -apple-system, BlinkMacSystemFont,
'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
--hmo-font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, 'Courier New', monospace;
--hmo-font-size: 15px;
--hmo-line-height: 1.6;
--pico-primary: var(--hmo-primary);
--pico-color: var(--hmo-text);
--pico-muted-color: var(--hmo-text-secondary);
--pico-background-color: var(--hmo-bg);
--pico-card-background-color: var(--hmo-surface);
--pico-card-border-color: var(--hmo-border);
--pico-del-color: var(--hmo-danger);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
font-family: var(--hmo-font);
font-size: var(--hmo-font-size);
line-height: var(--hmo-line-height);
color: var(--hmo-text);
background: var(--hmo-bg-gradient);
background-attachment: fixed;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
margin: 0 0 .5em;
font-weight: 600;
line-height: 1.3;
color: var(--hmo-text);
letter-spacing: -0.01em;
}
h1 { font-size: 1.9rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
a { color: var(--hmo-primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--hmo-primary-hover); }
code, kbd, pre {
font-family: var(--hmo-font-mono);
font-size: .9em;
}
code {
background: var(--hmo-surface-3);
padding: .15em .45em;
border-radius: var(--hmo-radius-xs);
color: var(--hmo-text);
}
pre {
background: var(--hmo-surface-2);
padding: var(--hmo-space);
border-radius: var(--hmo-radius);
overflow: auto;
border: 1px solid var(--hmo-border);
}
pre code { background: none; padding: 0; }
small { color: var(--hmo-text-secondary); }
ul, ol { padding-left: 1.4em; }
img { max-width: 100%; height: auto; }
.container-fluid,
.container {
width: 100%;
margin: 0 auto;
padding: 0 var(--hmo-space-md);
}
.container { max-width: 1200px; }
main.container-fluid { padding-top: var(--hmo-space-md); padding-bottom: var(--hmo-space-lg); }
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: var(--hmo-space-md);
}
nav.container-fluid,
nav.container {
position: sticky;
top: 0;
z-index: 50;
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--hmo-space);
flex-wrap: wrap;
padding-top: var(--hmo-space-sm);
padding-bottom: var(--hmo-space-sm);
margin-bottom: var(--hmo-space-md);
background: rgba(255,255,255,.78);
backdrop-filter: saturate(180%) blur(14px);
-webkit-backdrop-filter: saturate(180%) blur(14px);
border-bottom: 1px solid var(--hmo-border);
}
nav ul {
list-style: none;
display: flex;
gap: var(--hmo-space-sm);
align-items: center;
margin: 0;
padding: 0;
flex-wrap: wrap;
}
nav ul li { margin: 0; }
nav ul li strong {
font-size: 1.05rem;
font-weight: 700;
color: var(--hmo-text);
letter-spacing: -0.01em;
}
button,
[role="button"],
input[type="submit"],
input[type="button"],
input[type="reset"] {
display: inline-flex;
align-items: center;
justify-content: center;
gap: .5em;
font-family: inherit;
font-size: .95rem;
font-weight: 500;
line-height: 1.2;
padding: .6em 1.1em;
margin: 0;
border: 1px solid transparent;
border-radius: var(--hmo-radius);
cursor: pointer;
user-select: none;
background: var(--hmo-primary);
color: #fff;
text-decoration: none;
transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s;
-webkit-appearance: none;
appearance: none;
}
button:hover,
[role="button"]:hover {
background: var(--hmo-primary-hover);
color: #fff;
text-decoration: none;
}
button:active,
[role="button"]:active { transform: translateY(1px); background: var(--hmo-primary-active); }
button:focus-visible,
[role="button"]:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
outline: 2px solid var(--hmo-primary);
outline-offset: 2px;
}
button:disabled,
[role="button"][aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
button.outline,
[role="button"].outline,
a[role="button"].outline {
background: var(--hmo-surface);
color: var(--hmo-text);
border-color: var(--hmo-border-strong);
box-shadow: var(--hmo-shadow-xs);
}
button.outline:hover,
[role="button"].outline:hover,
a[role="button"].outline:hover {
background: var(--hmo-surface-2);
color: var(--hmo-primary);
border-color: var(--hmo-primary);
}
button.secondary,
[role="button"].secondary,
a[role="button"].secondary {
background: var(--hmo-surface-3);
color: var(--hmo-text);
border-color: transparent;
}
button.secondary:hover,
[role="button"].secondary:hover,
a[role="button"].secondary:hover {
background: var(--hmo-border);
color: var(--hmo-text);
}
button.contrast,
[role="button"].contrast,
a[role="button"].contrast {
background: var(--hmo-danger);
color: #fff;
border-color: transparent;
}
button.contrast:hover,
[role="button"].contrast:hover,
a[role="button"].contrast:hover {
background: #E03333;
color: #fff;
}
label {
display: block;
margin-bottom: var(--hmo-space-sm);
font-weight: 500;
font-size: .92rem;
color: var(--hmo-text);
}
input, textarea, select {
width: 100%;
font-family: inherit;
font-size: .95rem;
color: var(--hmo-text);
background: var(--hmo-surface);
border: 1px solid var(--hmo-border-strong);
border-radius: var(--hmo-radius);
padding: .65em .9em;
transition: border-color .15s, box-shadow .15s, background .15s;
-webkit-appearance: none;
appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--hmo-text-tertiary); }
input:hover, textarea:hover, select:hover { border-color: var(--hmo-primary); }
input:focus, textarea:focus, select:focus {
outline: none;
border-color: var(--hmo-primary);
box-shadow: 0 0 0 3px rgba(0,125,255,.16);
background: var(--hmo-surface);
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input[type="checkbox"], input[type="radio"] {
width: auto; margin-right: .5em; accent-color: var(--hmo-primary);
-webkit-appearance: auto; appearance: auto;
border: none; padding: 0; border-radius: 0;
}
input[type="number"] { width: auto; max-width: 12em; }
fieldset {
border: 1px solid var(--hmo-border);
border-radius: var(--hmo-radius);
padding: var(--hmo-space);
margin: 0 0 var(--hmo-space);
}
legend { padding: 0 .5em; font-weight: 600; color: var(--hmo-text-secondary); }
table {
width: 100%;
border-collapse: collapse;
font-size: .92rem;
background: var(--hmo-surface);
border-radius: var(--hmo-radius-lg);
overflow: hidden;
box-shadow: var(--hmo-shadow-sm);
border: 1px solid var(--hmo-border);
}
thead { background: var(--hmo-surface-2); }
th {
text-align: left;
font-weight: 600;
color: var(--hmo-text-secondary);
padding: .85em 1em;
white-space: nowrap;
border-bottom: 1px solid var(--hmo-border);
font-size: .85rem;
}
th.sortable {
cursor: pointer;
user-select: none;
}
th.sortable:hover {
color: var(--hmo-text);
background: var(--hmo-primary-bg);
text-transform: none;
}
td {
padding: .85em 1em;
border-bottom: 1px solid var(--hmo-divider);
vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: var(--hmo-primary-bg); }
td code { font-size: .85em; }
.stat-card,
.card {
background: var(--hmo-surface);
border: 1px solid var(--hmo-border);
border-radius: var(--hmo-radius-lg);
padding: var(--hmo-space-md);
box-shadow: var(--hmo-shadow-sm);
transition: box-shadow .2s, transform .2s;
}
.stat-card:hover { box-shadow: var(--hmo-shadow-md); transform: translateY(-2px); }
.stat-card h3 {
margin: 0 0 var(--hmo-space-sm);
font-size: .85rem;
font-weight: 500;
color: var(--hmo-text-secondary);
letter-spacing: 0;
}
.stat-value {
font-size: 2.2rem;
font-weight: 700;
margin: 0;
color: var(--hmo-text);
line-height: 1.1;
letter-spacing: -0.02em;
}
.stat-card small { color: var(--hmo-text-tertiary); }
.risk-safe { color: var(--hmo-success); }
.risk-warn { color: var(--hmo-warning); }
.risk-high { color: var(--hmo-danger); }
.risk-badge {
display: inline-flex;
align-items: center;
padding: .2em .7em;
border-radius: var(--hmo-radius-pill);
font-weight: 600;
font-size: .82rem;
line-height: 1.4;
}
.risk-badge.risk-safe { background: var(--hmo-success-bg); color: var(--hmo-success); }
.risk-badge.risk-warn { background: var(--hmo-warning-bg); color: #B87600; }
.risk-badge.risk-high { background: var(--hmo-danger-bg); color: var(--hmo-danger); }
.location-badge {
display: inline-block;
font-size: .8rem;
color: var(--hmo-text-secondary);
max-width: 180px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.device-badge {
display: inline-block;
margin-left: .4rem;
padding: .15em .55em;
border-radius: var(--hmo-radius-pill);
font-size: .72rem;
font-weight: 600;
line-height: 1.4;
vertical-align: middle;
white-space: nowrap;
}
.device-badge.device-current { background: var(--hmo-success-bg); color: var(--hmo-success); }
.device-badge.device-historical { background: var(--hmo-warning-bg); color: #B87600; }
.action-btns { display: flex; gap: var(--hmo-space-sm); flex-wrap: wrap; }
.action-btns button,
.action-btns a {
font-size: .82rem;
padding: .4em .85em;
}
.error {
color: var(--hmo-danger);
background: var(--hmo-danger-bg);
padding: var(--hmo-space) var(--hmo-space-md);
border-radius: var(--hmo-radius);
border: 1px solid rgba(250,59,59,.25);
font-size: .92rem;
}
.success {
color: var(--hmo-success);
background: var(--hmo-success-bg);
padding: var(--hmo-space) var(--hmo-space-md);
border-radius: var(--hmo-radius);
border: 1px solid rgba(0,181,120,.25);
font-size: .92rem;
}
dialog {
border: none;
border-radius: var(--hmo-radius-lg);
padding: 0;
background: var(--hmo-surface);
box-shadow: var(--hmo-shadow-lg);
max-width: 90vw;
color: var(--hmo-text);
}
dialog::backdrop { background: rgba(24,24,24,.45); backdrop-filter: blur(2px); }
dialog article {
max-width: 520px;
padding: var(--hmo-space-lg);
margin: 0;
}
dialog article header,
dialog article main,
dialog article footer { margin: 0 0 var(--hmo-space-md); }
dialog article footer { display: flex; gap: var(--hmo-space); justify-content: flex-end; }
dialog .dialog-close {
position: absolute;
top: var(--hmo-space-lg);
right: var(--hmo-space-lg);
z-index: 1;
width: 2rem;
height: 2rem;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
border: none;
border-radius: var(--hmo-radius-sm);
background: transparent;
color: var(--hmo-text-tertiary);
font-size: 1rem;
line-height: 1;
cursor: pointer;
transition: background-color .2s ease, color .2s ease;
}
dialog .dialog-close:hover {
background: var(--hmo-surface-3);
color: var(--hmo-text);
}
dialog .dialog-close:active {
background: var(--hmo-border);
}
dialog .dialog-close:focus-visible {
outline: 2px solid var(--hmo-primary);
outline-offset: 2px;
}
footer {
text-align: center;
padding: var(--hmo-space-lg) var(--hmo-space-md);
color: var(--hmo-text-tertiary);
font-size: .85rem;
border-top: 1px solid var(--hmo-border);
margin-top: var(--hmo-space-xl);
background: transparent;
}
.public-hero {
position: relative;
overflow: hidden;
border-radius: var(--hmo-radius-xl);
padding: var(--hmo-space-xl) var(--hmo-space-lg);
margin: 0 auto var(--hmo-space-lg);
max-width: 980px;
background: linear-gradient(135deg, #007DFF 0%, #4DA3FF 55%, #7FC1FF 100%);
color: #fff;
box-shadow: var(--hmo-shadow-primary);
}
.public-hero::after {
content: "";
position: absolute;
right: -60px; top: -60px;
width: 240px; height: 240px;
border-radius: 50%;
background: rgba(255,255,255,.14);
filter: blur(2px);
}
.public-hero::before {
content: "";
position: absolute;
right: 80px; bottom: -90px;
width: 200px; height: 200px;
border-radius: 50%;
background: rgba(255,255,255,.10);
}
.public-hero h1 {
color: #fff;
font-size: 2.2rem;
margin: 0 0 var(--hmo-space-sm);
position: relative;
letter-spacing: -0.02em;
}
.public-hero p {
margin: 0;
font-size: 1.05rem;
color: rgba(255,255,255,.92);
position: relative;
max-width: 640px;
}
.public-hero .hero-tag {
display: inline-block;
background: rgba(255,255,255,.20);
padding: .3em .9em;
border-radius: var(--hmo-radius-pill);
font-size: .8rem;
margin-bottom: var(--hmo-space);
position: relative;
backdrop-filter: blur(4px);
}
.public-content {
max-width: 980px;
margin: 0 auto;
background: var(--hmo-surface);
border: 1px solid var(--hmo-border);
border-radius: var(--hmo-radius-xl);
box-shadow: var(--hmo-shadow);
padding: var(--hmo-space-lg);
}
.public-content header {
margin-bottom: var(--hmo-space-md);
padding-bottom: var(--hmo-space-md);
border-bottom: 1px solid var(--hmo-divider);
}
.public-content header h1 { margin-bottom: .2em; font-size: 1.7rem; }
.public-content-body { line-height: 1.85; color: var(--hmo-text); }
.public-content-body h2 { margin-top: 1.6em; }
.public-content-body h3 { margin-top: 1.3em; }
.public-content-body p { margin: 0 0 1em; }
.public-content-body ul, .public-content-body ol { margin: 0 0 1em; }
.public-content-body img {
max-width: 100%;
height: auto;
border-radius: var(--hmo-radius);
margin: var(--hmo-space) 0;
border: 1px solid var(--hmo-border);
box-shadow: var(--hmo-shadow-sm);
}
.public-content-body a { font-weight: 500; }
.public-content-body a:hover { text-decoration: underline; }
.public-content-body table {
width: auto;
border-collapse: separate;
border-spacing: 0;
background: transparent;
border-radius: var(--hmo-radius);
box-shadow: none;
border: 1px solid var(--hmo-border);
font-size: inherit;
overflow: hidden;
}
.public-content-body table td,
.public-content-body table th {
padding: .5em .75em;
border-right: 1px solid var(--hmo-border);
border-bottom: 1px solid var(--hmo-border);
vertical-align: top;
}
.public-content-body table th {
background: var(--hmo-primary-bg);
color: var(--hmo-primary);
font-weight: 600;
text-align: left;
border-top: none;
}
.public-content-body table td {
background: transparent;
}
.public-content-body table td:first-child,
.public-content-body table th:first-child { border-left: none; }
.public-content-body table tr:last-child td,
.public-content-body table tr:last-child th { border-bottom: none; }
.public-content-body table thead th { border-top: none; }
.public-content-body table tr:hover td { background: var(--hmo-surface-2); }
.public-content-body table tr:hover th { background: var(--hmo-primary-bg); }
.public-content-body .config-address-box {
background: linear-gradient(135deg, var(--hmo-primary-bg), #F7FBFF);
border: 1px solid var(--hmo-primary-light);
border-left: 4px solid var(--hmo-primary);
border-radius: var(--hmo-radius);
padding: var(--hmo-space) var(--hmo-space-md);
margin: var(--hmo-space-md) 0;
}
.public-content-body .config-address-box code {
font-size: 1.05rem;
background: transparent;
color: var(--hmo-primary);
font-weight: 600;
word-break: break-all;
}
.tutorial-body img { display: block; }
.page-bar {
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--hmo-space);
margin-bottom: var(--hmo-space-md);
flex-wrap: wrap;
}
.page-bar h1 { margin: 0; font-size: 1.6rem; }
.section-card {
background: rgba(255,255,255,.85);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,.4);
border-radius: var(--hmo-radius-lg);
box-shadow: 0 2px 12px rgba(0,0,0,.04);
padding: var(--hmo-space-md);
margin-top: var(--hmo-space-md);
transition: box-shadow .2s, transform .2s;
}
.section-card:hover {
box-shadow: 0 6px 24px rgba(0,0,0,.06);
transform: translateY(-1px);
}
.section-card h3 { margin-top: 0; }
.hp-bg {
position: fixed;
inset: 0;
z-index: 0;
overflow: hidden;
background: linear-gradient(135deg, #0a0e27 0%, #1a1040 30%, #0d2b5e 60%, #1a4a8a 100%);
}
.hp-bg-orb {
position: absolute;
border-radius: 50%;
filter: blur(80px);
opacity: .5;
}
.hp-bg-orb-1 {
width: 500px; height: 500px;
background: rgba(0,125,255,.25);
top: -150px; right: -100px;
animation: hp-float 12s ease-in-out infinite;
}
.hp-bg-orb-2 {
width: 400px; height: 400px;
background: rgba(108,92,231,.20);
bottom: -100px; left: -120px;
animation: hp-float 15s ease-in-out infinite reverse;
}
.hp-bg-orb-3 {
width: 250px; height: 250px;
background: rgba(0,181,120,.15);
top: 40%; left: 60%;
animation: hp-float 10s ease-in-out infinite;
}
.hp-bg-grid {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
background-size: 60px 60px;
}
@keyframes hp-float {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(30px, -30px) scale(1.05); }
66% { transform: translate(-20px, 20px) scale(.95); }
}
.hp-card {
position: relative;
z-index: 1;
max-width: 520px;
margin: 0 auto;
padding: 48px 40px 36px;
background: rgba(255,255,255,.08);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255,255,255,.12);
border-radius: 20px;
box-shadow: 0 8px 48px rgba(0,0,0,.25);
text-align: center;
color: #fff;
}
.hp-avatar {
width: 72px;
height: 72px;
border-radius: 50%;
background: linear-gradient(135deg, var(--hmo-primary), #6C5CE7);
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
margin: 0 auto 20px;
box-shadow: 0 4px 20px rgba(0,125,255,.35);
}
.hp-title {
color: #fff;
font-size: 1.6rem;
font-weight: 700;
margin: 0 0 8px;
letter-spacing: -0.02em;
}
.hp-subtitle {
color: rgba(255,255,255,.75);
font-size: .92rem;
margin: 0 0 28px;
line-height: 1.6;
}
.hp-config {
margin-bottom: 28px;
}
.hp-config-label {
display: block;
font-size: .78rem;
color: rgba(255,255,255,.5);
margin-bottom: 8px;
text-transform: uppercase;
letter-spacing: .05em;
}
.hp-config-box {
display: inline-flex;
align-items: center;
background: rgba(255,255,255,.10);
border: 1px solid rgba(255,255,255,.18);
border-radius: 10px;
overflow: hidden;
max-width: 100%;
}
.hp-config-box code {
display: block;
padding: 10px 16px;
font-family: var(--hmo-font-mono);
font-size: .85rem;
color: #fff;
background: transparent;
word-break: break-all;
}
.hp-config-copy {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border: none;
border-left: 1px solid rgba(255,255,255,.15);
background: rgba(255,255,255,.08);
color: #fff;
font-size: 1rem;
cursor: pointer;
transition: background .2s;
}
.hp-config-copy:hover {
background: rgba(255,255,255,.18);
}
.hp-actions {
display: flex;
gap: 10px;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 32px;
}
.hp-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 9px 22px;
border-radius: 10px;
font-size: .88rem;
font-weight: 600;
text-decoration: none;
transition: all .2s;
border: 1px solid transparent;
font-family: inherit;
line-height: 1.4;
cursor: pointer;
}
.hp-btn-primary {
background: #fff;
color: #0a0e27;
box-shadow: 0 2px 12px rgba(0,0,0,.20);
}
.hp-btn-primary:hover {
background: #f0f4ff;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.hp-btn-ghost {
background: rgba(255,255,255,.12);
color: #fff;
}
.hp-btn-ghost:hover {
background: rgba(255,255,255,.22);
color: #fff;
}
.hp-btn-outline {
background: transparent;
color: rgba(255,255,255,.85);
border-color: rgba(255,255,255,.25);
}
.hp-btn-outline:hover {
background: rgba(255,255,255,.10);
border-color: rgba(255,255,255,.45);
color: #fff;
}
.hp-links {
display: flex;
justify-content: center;
gap: 4px;
padding-top: 24px;
border-top: 1px solid rgba(255,255,255,.10);
}
.hp-links a {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 6px 14px;
border-radius: 8px;
font-size: .82rem;
color: rgba(255,255,255,.6);
text-decoration: none;
transition: all .15s;
}
.hp-links a:hover {
background: rgba(255,255,255,.08);
color: #fff;
}
.hp-content {
position: relative;
z-index: 1;
max-width: 720px;
margin: 32px auto 0;
background: rgba(255,255,255,.06);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,.10);
border-radius: 16px;
padding: 28px;
color: rgba(255,255,255,.85);
line-height: 1.8;
}
.hp-content-inner h2,
.hp-content-inner h3,
.hp-content-inner h4 {
color: #fff;
}
.hp-content-inner a {
color: #7fc1ff;
}
.hp-content-inner a:hover {
color: #a8d4ff;
}
.hp-content-inner code {
background: rgba(255,255,255,.10);
color: #fff;
}
.hp-content-inner img {
max-width: 100%;
border-radius: 8px;
border: 1px solid rgba(255,255,255,.15);
}
@media (max-width: 768px) {
.hp-card { margin: 0 16px; padding: 32px 24px 28px; }
.hp-title { font-size: 1.3rem; }
.hp-actions { gap: 8px; }
.hp-btn { padding: 8px 16px; font-size: .82rem; }
.hp-links { flex-wrap: wrap; gap: 2px; }
.hp-content { margin: 24px 16px 0; padding: 20px; }
}
@media (max-width: 480px) {
.hp-card { padding: 28px 20px 24px; }
.hp-avatar { width: 60px; height: 60px; font-size: 1.6rem; }
.hp-config-box code { font-size: .78rem; padding: 8px 12px; }
}
.lp-topnav {
position: sticky;
top: 0;
z-index: 200;
background: rgba(255,255,255,.92);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid var(--hmo-border);
}
.lp-topnav-inner {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
padding: 0 24px;
height: 60px;
}
.lp-topnav-brand {
display: flex;
align-items: center;
gap: 8px;
font-size: 1.05rem;
font-weight: 700;
color: var(--hmo-text);
text-decoration: none;
margin-right: 32px;
flex-shrink: 0;
}
.lp-topnav-brand i {
color: var(--hmo-primary);
}
.lp-topnav-brand:hover {
color: var(--hmo-primary);
}
.lp-topnav-toggle {
display: none;
background: none;
border: none;
font-size: 1.3rem;
color: var(--hmo-text);
cursor: pointer;
padding: 4px;
margin-left: auto;
}
.lp-topnav-links {
display: flex;
align-items: center;
gap: 4px;
flex: 1;
}
.lp-topnav-links a {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 6px 14px;
border-radius: var(--hmo-radius);
font-size: .88rem;
font-weight: 500;
color: var(--hmo-text-secondary);
text-decoration: none;
transition: all .15s;
}
.lp-topnav-links a:hover {
background: var(--hmo-surface-2);
color: var(--hmo-text);
}
.lp-topnav-links a.active {
background: var(--hmo-primary-bg);
color: var(--hmo-primary);
font-weight: 600;
}
.lp-topnav-spacer {
flex: 1;
}
.lp-topnav-user-btn {
border: 1px solid var(--hmo-border);
margin-left: 4px;
}
.lp-topnav-user-btn:hover {
border-color: var(--hmo-primary-light);
}
.lp-topnav-register {
background: var(--hmo-primary);
color: #fff !important;
border-color: var(--hmo-primary) !important;
}
.lp-topnav-register:hover {
background: var(--hmo-primary-hover) !important;
}
.lp-topnav-logout {
color: var(--hmo-text-tertiary) !important;
}
@media (max-width: 768px) {
.lp-topnav-inner {
padding: 0 16px;
}
.lp-topnav-toggle {
display: block;
}
.lp-topnav-links {
display: none;
position: absolute;
top: 60px;
left: 0;
right: 0;
flex-direction: column;
background: var(--hmo-surface);
border-bottom: 1px solid var(--hmo-border);
box-shadow: var(--hmo-shadow-md);
padding: 8px 16px;
gap: 2px;
}
.lp-topnav-links.open {
display: flex;
}
.lp-topnav-links a {
width: 100%;
padding: 10px 14px;
}
.lp-topnav-spacer {
display: none;
}
.lp-topnav-user-btn {
margin-left: 0;
margin-top: 4px;
}
}
.lp-hero {
position: relative;
overflow: hidden;
border-radius: var(--hmo-radius-xl);
padding: 56px 40px;
margin-bottom: 40px;
background: linear-gradient(135deg, #0A1E3D 0%, #0D2B5E 30%, #1A4A8A 60%, #007DFF 100%);
color: #fff;
box-shadow: 0 8px 32px rgba(0,125,255,.28);
}
.lp-hero-bg {
position: absolute;
inset: 0;
pointer-events: none;
overflow: hidden;
}
.lp-hero-circle {
position: absolute;
border-radius: 50%;
background: rgba(255,255,255,.06);
}
.lp-hero-circle-1 {
width: 280px; height: 280px;
right: -60px; top: -80px;
}
.lp-hero-circle-2 {
width: 180px; height: 180px;
right: 30%; bottom: -60px;
}
.lp-hero-circle-3 {
width: 120px; height: 120px;
left: 15%; top: 20%;
background: rgba(255,255,255,.04);
}
.lp-hero-inner {
position: relative;
z-index: 1;
text-align: center;
}
.lp-hero-tag {
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(255,255,255,.15);
backdrop-filter: blur(6px);
padding: 6px 16px;
border-radius: var(--hmo-radius-pill);
font-size: .82rem;
margin-bottom: 20px;
border: 1px solid rgba(255,255,255,.20);
}
.lp-hero h1 {
color: #fff;
font-size: 2.5rem;
font-weight: 700;
margin: 0 auto 12px;
letter-spacing: -0.02em;
line-height: 1.2;
max-width: 700px;
}
.lp-hero-sub {
color: rgba(255,255,255,.85);
font-size: 1.1rem;
margin: 0 auto 24px;
max-width: 560px;
line-height: 1.6;
}
.lp-hero-config {
margin-bottom: 28px;
text-align: center;
}
.lp-hero-config-label {
display: block;
font-size: .82rem;
color: rgba(255,255,255,.65);
margin-bottom: 8px;
}
.lp-hero-config-box {
display: inline-flex;
align-items: center;
gap: 0;
background: rgba(255,255,255,.12);
backdrop-filter: blur(8px);
border: 1px solid rgba(255,255,255,.25);
border-radius: var(--hmo-radius);
overflow: hidden;
}
.lp-hero-config-box code {
display: block;
padding: 10px 18px;
font-family: var(--hmo-font-mono);
font-size: .92rem;
color: #fff;
background: transparent;
word-break: break-all;
}
.lp-hero-config-copy {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 10px 16px;
border: none;
border-left: 1px solid rgba(255,255,255,.20);
background: rgba(255,255,255,.10);
color: #fff;
font-size: .82rem;
cursor: pointer;
transition: background .2s;
white-space: nowrap;
font-family: inherit;
}
.lp-hero-config-copy:hover {
background: rgba(255,255,255,.20);
}
.lp-hero-actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
align-items: center;
}
.lp-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 10px 24px;
border-radius: var(--hmo-radius);
font-size: .92rem;
font-weight: 600;
text-decoration: none;
cursor: pointer;
transition: all .2s;
border: 1px solid transparent;
font-family: inherit;
line-height: 1.4;
}
.lp-btn-primary {
background: #fff;
color: #0A1E3D;
box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.lp-btn-primary:hover {
background: #f0f4ff;
color: #0A1E3D;
transform: translateY(-1px);
box-shadow: 0 4px 16px rgba(0,0,0,.20);
}
.lp-btn-outline {
background: transparent;
color: #fff;
border-color: rgba(255,255,255,.40);
}
.lp-btn-outline:hover {
background: rgba(255,255,255,.10);
border-color: rgba(255,255,255,.60);
color: #fff;
}
.lp-btn-ghost {
background: rgba(255,255,255,.12);
color: #fff;
}
.lp-btn-ghost:hover {
background: rgba(255,255,255,.22);
color: #fff;
}
.lp-section {
margin-bottom: 40px;
}
.lp-section-alt {
background: rgba(255,255,255,.5);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-radius: var(--hmo-radius-xl);
padding: 40px;
border: 1px solid rgba(255,255,255,.3);
}
.lp-section-header {
text-align: center;
margin-bottom: 32px;
}
.lp-section-header h2 {
font-size: 1.7rem;
font-weight: 700;
margin: 0 0 8px;
color: var(--hmo-text);
}
.lp-section-header p {
color: var(--hmo-text-secondary);
font-size: 1rem;
margin: 0;
}
.lp-features-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.lp-feature-card {
background: rgba(255,255,255,.85);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,.4);
border-radius: var(--hmo-radius-lg);
padding: 28px 24px;
transition: all .25s;
}
.lp-feature-card:hover {
transform: translateY(-4px);
box-shadow: var(--hmo-shadow-md);
border-color: var(--hmo-primary-light);
}
.lp-feature-icon {
width: 48px;
height: 48px;
border-radius: var(--hmo-radius);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.4rem;
margin-bottom: 16px;
}
.lp-feature-card h3 {
font-size: 1.05rem;
font-weight: 600;
margin: 0 0 8px;
}
.lp-feature-card p {
font-size: .88rem;
color: var(--hmo-text-secondary);
margin: 0;
line-height: 1.6;
}
.lp-steps {
display: flex;
align-items: flex-start;
gap: 0;
}
.lp-step {
flex: 1;
text-align: center;
padding: 0 16px;
position: relative;
}
.lp-step-number {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--hmo-primary);
color: #fff;
font-size: .9rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 16px;
position: relative;
z-index: 1;
}
.lp-step-icon {
font-size: 2rem;
color: var(--hmo-primary);
margin-bottom: 12px;
}
.lp-step h3 {
font-size: 1.05rem;
font-weight: 600;
margin: 0 0 8px;
}
.lp-step p {
font-size: .88rem;
color: var(--hmo-text-secondary);
margin: 0;
line-height: 1.6;
}
.lp-step-connector {
flex: 0 0 60px;
height: 2px;
background: linear-gradient(90deg, var(--hmo-primary-light), var(--hmo-primary), var(--hmo-primary-light));
margin-top: 17px;
position: relative;
}
.lp-content-card {
background: rgba(255,255,255,.85);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,.4);
border-radius: var(--hmo-radius-xl);
box-shadow: 0 2px 12px rgba(0,0,0,.04);
padding: 32px;
}
.lp-content-body {
line-height: 1.85;
color: var(--hmo-text);
}
.lp-content-body h2 { margin-top: 1.6em; }
.lp-content-body h3 { margin-top: 1.3em; }
.lp-content-body p { margin: 0 0 1em; }
.lp-content-body ul, .lp-content-body ol { margin: 0 0 1em; }
.lp-content-body img {
max-width: 100%;
height: auto;
border-radius: var(--hmo-radius);
margin: var(--hmo-space) 0;
border: 1px solid var(--hmo-border);
box-shadow: var(--hmo-shadow-sm);
}
.lp-content-body a { font-weight: 500; }
.lp-content-body a:hover { text-decoration: underline; }
.lp-content-body table {
width: auto;
border-collapse: separate;
border-spacing: 0;
background: transparent;
border-radius: var(--hmo-radius);
box-shadow: none;
border: 1px solid var(--hmo-border);
font-size: inherit;
overflow: hidden;
}
.lp-content-body table td,
.lp-content-body table th {
padding: .5em .75em;
border-right: 1px solid var(--hmo-border);
border-bottom: 1px solid var(--hmo-border);
vertical-align: top;
}
.lp-content-body table th {
background: var(--hmo-primary-bg);
color: var(--hmo-primary);
font-weight: 600;
text-align: left;
}
.lp-content-body table td:first-child,
.lp-content-body table th:first-child { border-left: none; }
.lp-content-body table tr:last-child td,
.lp-content-body table tr:last-child th { border-bottom: none; }
.lp-content-body table thead th { border-top: none; }
.lp-content-body table tr:hover td { background: var(--hmo-surface-2); }
.lp-content-body table tr:hover th { background: var(--hmo-primary-bg); }
.lp-content-body .config-address-box {
background: linear-gradient(135deg, var(--hmo-primary-bg), #F7FBFF);
border: 1px solid var(--hmo-primary-light);
border-left: 4px solid var(--hmo-primary);
border-radius: var(--hmo-radius);
padding: var(--hmo-space) var(--hmo-space-md);
margin: var(--hmo-space-md) 0;
}
.lp-content-body .config-address-box code {
font-size: 1.05rem;
background: transparent;
color: var(--hmo-primary);
font-weight: 600;
word-break: break-all;
}
.lp-cta {
position: relative;
overflow: hidden;
border-radius: var(--hmo-radius-xl);
padding: 48px 40px;
margin-bottom: 40px;
text-align: center;
background: linear-gradient(135deg, #0A1E3D 0%, #1A4A8A 50%, #007DFF 100%);
color: #fff;
}
.lp-cta-bg {
position: absolute;
inset: 0;
pointer-events: none;
overflow: hidden;
}
.lp-cta-inner {
position: relative;
z-index: 1;
text-align: center;
}
.lp-cta h2 {
color: #fff;
font-size: 1.8rem;
margin: 0 auto 12px;
}
.lp-cta p {
color: rgba(255,255,255,.85);
font-size: 1.05rem;
margin: 0 auto 24px;
}
.lp-subpage-header {
text-align: center;
margin-bottom: 32px;
}
.lp-subpage-header h1 {
font-size: 1.8rem;
margin: 12px 0 8px;
}
.lp-subpage-header p {
color: var(--hmo-text-secondary);
margin: 0;
}
.ud-welcome {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 28px;
padding: 24px 28px;
background: linear-gradient(135deg, var(--hmo-primary) 0%, #4DA3FF 100%);
border-radius: var(--hmo-radius-lg);
color: #fff;
box-shadow: var(--hmo-shadow-primary);
}
.ud-welcome-avatar {
width: 56px;
height: 56px;
border-radius: 50%;
background: rgba(255,255,255,.20);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.6rem;
flex-shrink: 0;
}
.ud-welcome-text h1 {
color: #fff;
font-size: 1.3rem;
margin: 0 0 4px;
}
.ud-welcome-text p {
color: rgba(255,255,255,.8);
margin: 0;
font-size: .88rem;
}
.ud-stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
margin-bottom: 28px;
}
.ud-stat-card {
background: var(--hmo-surface);
border: 1px solid var(--hmo-border);
border-radius: var(--hmo-radius-lg);
padding: 20px;
display: flex;
align-items: center;
gap: 14px;
position: relative;
transition: all .2s;
}
.ud-stat-card:hover {
transform: translateY(-2px);
box-shadow: var(--hmo-shadow-md);
}
.ud-stat-icon {
width: 44px;
height: 44px;
border-radius: var(--hmo-radius);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
flex-shrink: 0;
}
.ud-stat-codes .ud-stat-icon { background: var(--hmo-primary-bg); color: var(--hmo-primary); }
.ud-stat-devices .ud-stat-icon { background: var(--hmo-success-bg); color: var(--hmo-success); }
.ud-stat-notif .ud-stat-icon { background: var(--hmo-warning-bg); color: var(--hmo-warning); }
.ud-stat-logs .ud-stat-icon { background: #F0F0FF; color: #6C5CE7; }
.ud-stat-body {
flex: 1;
}
.ud-stat-value {
font-size: 1.5rem;
font-weight: 700;
line-height: 1.2;
color: var(--hmo-text);
}
.ud-stat-label {
font-size: .82rem;
color: var(--hmo-text-secondary);
margin-top: 2px;
}
.ud-stat-link {
position: absolute;
inset: 0;
opacity: 0;
font-size: 0;
}
.ud-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 32px;
}
.ud-card {
background: var(--hmo-surface);
border: 1px solid var(--hmo-border);
border-radius: var(--hmo-radius-lg);
overflow: hidden;
transition: box-shadow .2s;
}
.ud-card:hover {
box-shadow: var(--hmo-shadow);
}
.ud-card-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 20px;
border-bottom: 1px solid var(--hmo-divider);
background: var(--hmo-surface-2);
}
.ud-card-header h3 {
margin: 0;
font-size: .95rem;
font-weight: 600;
display: flex;
align-items: center;
gap: 8px;
}
.ud-card-header a {
font-size: .82rem;
color: var(--hmo-text-secondary);
text-decoration: none;
}
.ud-card-header a:hover {
color: var(--hmo-primary);
}
.ud-card-body {
padding: 16px 20px;
}
.ud-table {
width: 100%;
border-collapse: collapse;
font-size: .85rem;
}
.ud-table th {
text-align: left;
padding: 8px 10px;
font-weight: 600;
color: var(--hmo-text-secondary);
border-bottom: 1px solid var(--hmo-divider);
font-size: .8rem;
}
.ud-table td {
padding: 10px;
border-bottom: 1px solid var(--hmo-divider);
vertical-align: middle;
}
.ud-table tr:last-child td {
border-bottom: none;
}
.ud-table tr:hover td {
background: var(--hmo-surface-2);
}
.ud-cell-mono {
font-family: var(--hmo-font-mono);
font-size: .8rem;
}
.badge {
display: inline-block;
padding: 2px 10px;
border-radius: 20px;
font-size: .78rem;
font-weight: 600;
}
.badge-ok {
background: var(--hmo-success-bg);
color: var(--hmo-success);
}
.badge-off {
background: var(--hmo-danger-bg);
color: var(--hmo-danger);
}
.ud-notif-list {
display: flex;
flex-direction: column;
gap: 2px;
}
.ud-notif-item {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 10px;
border-radius: var(--hmo-radius-sm);
transition: background .15s;
}
.ud-notif-item:hover {
background: var(--hmo-surface-2);
}
.ud-notif-unread {
background: var(--hmo-primary-bg);
}
.ud-notif-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--hmo-primary);
margin-top: 6px;
flex-shrink: 0;
}
.ud-notif-unread .ud-notif-dot {
background: var(--hmo-primary);
}
.ud-notif-text {
flex: 1;
min-width: 0;
}
.ud-notif-title {
font-size: .85rem;
font-weight: 500;
color: var(--hmo-text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ud-notif-time {
font-size: .75rem;
color: var(--hmo-text-tertiary);
margin-top: 2px;
}
.ud-empty {
text-align: center;
padding: 24px 16px;
color: var(--hmo-text-tertiary);
font-size: .85rem;
}
.ud-empty a {
margin-top: 8px;
display: inline-block;
}
@media (max-width: 768px) {
.ud-stats { grid-template-columns: 1fr 1fr; }
.ud-grid { grid-template-columns: 1fr; }
.ud-welcome { padding: 20px; }
}
@media (max-width: 480px) {
.ud-stats { grid-template-columns: 1fr; }
.ud-welcome-avatar { width: 44px; height: 44px; font-size: 1.2rem; }
.ud-welcome-text h1 { font-size: 1.1rem; }
}
@media (max-width: 768px) {
:root { --hmo-font-size: 14px; }
h1 { font-size: 1.5rem; }
.stat-value { font-size: 1.7rem; }
nav.container-fluid, nav.container { padding-left: var(--hmo-space); padding-right: var(--hmo-space); }
nav ul { gap: .35rem; }
.public-hero { padding: var(--hmo-space-lg) var(--hmo-space); }
.public-hero h1 { font-size: 1.6rem; }
.public-content { padding: var(--hmo-space-md); border-radius: var(--hmo-radius-lg); }
.grid { grid-template-columns: 1fr; gap: var(--hmo-space); }
.page-bar { flex-direction: column; align-items: stretch; }
table { font-size: .82rem; }
th, td { padding: .6em .7em; }
.lp-hero { padding: 32px 20px; }
.lp-hero h1 { font-size: 1.7rem; }
.lp-hero-sub { font-size: .95rem; }
.lp-hero-config-box { flex-direction: column; align-items: stretch; }
.lp-hero-config-box code { padding: 10px 14px; font-size: .82rem; }
.lp-hero-config-copy { border-left: none; border-top: 1px solid rgba(255,255,255,.20); justify-content: center; }
.lp-features-grid { grid-template-columns: 1fr 1fr; }
.lp-steps { flex-direction: column; gap: 16px; }
.lp-step-connector { display: none; }
.lp-section-alt { padding: 24px 16px; }
.lp-content-card { padding: 20px; }
.lp-cta { padding: 36px 20px; }
.lp-cta h2 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
.lp-features-grid { grid-template-columns: 1fr; }
.lp-hero-actions { flex-direction: column; align-items: stretch; }
.lp-hero-actions .lp-btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { transition: none !important; animation: none !important; }
}
.sidebar {
position: fixed;
top: 0;
left: 0;
width: 240px;
height: 100vh;
background: rgba(255,255,255,.85);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-right: 1px solid rgba(255,255,255,.3);
display: flex;
flex-direction: column;
z-index: 100;
transition: transform .25s ease;
box-shadow: 2px 0 24px rgba(0,0,0,.04);
}
.sidebar-header {
display: flex;
align-items: center;
gap: 12px;
padding: 20px 20px;
font-size: 16px;
font-weight: 700;
border-bottom: 1px solid var(--hmo-border);
letter-spacing: -0.01em;
background: rgba(255,255,255,.5);
}
.sidebar-header .hms { font-size: 22px; color: var(--hmo-primary); }
.sidebar-nav {
flex: 1;
overflow-y: auto;
padding: 12px 0;
}
.sidebar-nav a {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 20px;
margin: 2px 12px;
font-size: 14px;
font-weight: 500;
color: var(--hmo-text-secondary);
text-decoration: none;
border-radius: var(--hmo-radius-sm);
transition: all .15s ease;
}
.sidebar-nav a:hover {
background: var(--hmo-bg-hover, var(--hmo-surface-2));
color: var(--hmo-text);
}
.sidebar-nav a.active {
background: var(--hmo-primary-bg);
color: var(--hmo-primary);
font-weight: 600;
}
.sidebar-nav a .hms {
font-size: 16px;
width: 20px;
text-align: center;
flex-shrink: 0;
}
.sidebar-footer {
padding: 8px 0;
border-top: 1px solid var(--hmo-border);
background: rgba(255,255,255,.5);
}
.sidebar-footer a,
.sidebar-footer button {
display: flex;
align-items: center;
gap: 12px;
width: calc(100% - 24px);
margin: 2px 12px;
padding: 9px 12px;
font-size: 13px;
font-weight: 500;
color: var(--hmo-text-secondary);
background: none;
border: none;
border-radius: var(--hmo-radius-sm);
cursor: pointer;
text-decoration: none;
transition: all .12s ease;
}
.sidebar-footer a:hover,
.sidebar-footer button:hover {
background: var(--hmo-surface-2);
color: var(--hmo-text);
}
.sidebar-footer .logout-btn {
color: var(--hmo-danger);
}
.sidebar-footer .logout-btn:hover {
background: var(--hmo-danger-bg);
color: var(--hmo-danger);
}
.sidebar-toggle {
display: none;
position: fixed;
top: 12px;
left: 12px;
z-index: 101;
width: 40px;
height: 40px;
align-items: center;
justify-content: center;
background: var(--hmo-surface);
border: 1px solid var(--hmo-border);
border-radius: var(--hmo-radius);
box-shadow: var(--hmo-shadow-sm);
cursor: pointer;
color: var(--hmo-text);
font-size: 18px;
transition: background .12s;
}
.sidebar-toggle:hover { background: var(--hmo-surface-2); }
.sidebar-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,.3);
z-index: 99;
}
.main-content {
margin-left: 240px;
min-height: 100vh;
padding: 24px 32px 48px;
}
.main-content--full {
margin-left: 0;
max-width: none;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.app-footer {
margin-left: 240px;
padding: 16px;
text-align: center;
}
.app-footer--full {
margin-left: 0;
}
.dash-welcome {
margin-bottom: 28px;
}
.dash-welcome h1 {
font-size: 1.6rem;
margin: 0 0 4px;
letter-spacing: -0.02em;
}
.dash-welcome p {
margin: 0;
color: var(--hmo-text-secondary);
font-size: .92rem;
}
.dash-summary {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
gap: 16px;
margin-bottom: 32px;
}
.dash-summary .stat-card {
padding: 20px 24px;
border-radius: var(--hmo-radius-lg);
}
.dash-summary .stat-card.featured {
background: linear-gradient(135deg, var(--hmo-primary) 0%, #4DA3FF 100%);
border-color: transparent;
color: #fff;
}
.dash-summary .stat-card.featured .stat-value { color: #fff; }
.dash-summary .stat-card.featured h3 { color: rgba(255,255,255,.8); }
.dash-summary .stat-card.featured .hms { color: rgba(255,255,255,.5); }
.dash-section {
margin-bottom: 32px;
}
.dash-section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}
.dash-section-header h3 {
font-size: 1rem;
font-weight: 600;
margin: 0;
display: flex;
align-items: center;
gap: 8px;
}
.dash-section-header .hms {
color: var(--hmo-primary);
font-size: 18px;
}
.dash-section-header a {
font-size: .85rem;
color: var(--hmo-text-tertiary);
transition: color .12s;
}
.dash-section-header a:hover { color: var(--hmo-primary); }
.dash-content-card {
background: rgba(255,255,255,.85);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,.4);
border-radius: var(--hmo-radius-lg);
box-shadow: 0 2px 12px rgba(0,0,0,.04);
overflow: hidden;
transition: box-shadow .2s;
}
.dash-content-card:hover {
box-shadow: 0 6px 24px rgba(0,0,0,.06);
}
.dash-content-card .empty-state {
padding: 32px 24px;
text-align: center;
color: var(--hmo-text-tertiary);
font-size: .92rem;
}
.dash-content-card table {
box-shadow: none;
border: none;
border-radius: 0;
}
.dash-content-card .notif-list-compact {
padding: 8px 0;
}
.dash-content-card .notif-list-compact .notif-item {
padding: 12px 24px;
border-bottom: 1px solid var(--hmo-divider);
transition: background .12s;
}
.dash-content-card .notif-list-compact .notif-item:last-child { border-bottom: none; }
.dash-content-card .notif-list-compact .notif-item:hover { background: var(--hmo-surface-2); }
.dash-content-card .notif-list-compact .notif-item.unread { background: var(--hmo-primary-bg); }
.dash-content-card .notif-list-compact .notif-title { font-weight: 600; font-size: .92rem; }
.dash-content-card .notif-list-compact .notif-time { font-size: .8rem; color: var(--hmo-text-tertiary); margin-top: 2px; }
.main-content--landing {
margin-left: 0;
max-width: none;
padding: 0;
min-height: 100vh;
}
.app-footer--landing {
margin-left: 0;
}
.lp-page {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px 48px;
}
@media (max-width: 768px) {
.lp-page {
padding: 0 16px 32px;
}
}
.dash-content-card h3:first-child {
margin-top: 0;
}
.dash-content-card > h3 {
font-size: 1rem;
font-weight: 600;
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 8px;
}
.dash-content-card > h3 .hms {
color: var(--hmo-primary);
font-size: 18px;
}
.dash-content-card p:last-child {
margin-bottom: 0;
}
.dash-content-card + .dash-content-card {
margin-top: 16px;
}
.dash-section-header select {
width: auto;
padding: .35em .8em;
font-size: .85rem;
}
========================================================================== */
@media (max-width: 768px) {
.sidebar { transform: translateX(-100%); }
.sidebar.open { transform: translateX(0); }
.sidebar-toggle { display: flex; }
.sidebar-overlay.open { display: block; }
.main-content {
margin-left: 0;
padding: 60px 16px 32px;
}
.dash-summary {
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.dash-summary .stat-card { padding: 16px; }
.dash-summary .stat-card .stat-value { font-size: 1.5rem; }
}
@media (max-width: 480px) {
.dash-summary { grid-template-columns: 1fr; }
}
.page-bar {
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--hmo-space);
margin-bottom: 24px;
flex-wrap: wrap;
}
.page-bar h1 {
margin: 0;
font-size: 1.5rem;
letter-spacing: -0.02em;
}
.page-bar .page-actions {
display: flex;
gap: 8px;
align-items: center;
}
.section-card {
background: var(--hmo-surface);
border: 1px solid var(--hmo-border);
border-radius: var(--hmo-radius-lg);
box-shadow: var(--hmo-shadow-sm);
padding: 24px;
margin-bottom: 24px;
}
.section-card h3 {
margin: 0 0 16px;
font-size: 1rem;
font-weight: 600;
}
.notify-badge {
position: absolute;
top: -6px;
right: -10px;
min-width: 18px;
height: 18px;
padding: 0 5px;
border-radius: 9px;
background: var(--hmo-danger, #e5484d);
color: #fff;
font-size: 11px;
line-height: 18px;
text-align: center;
font-weight: 700;
box-shadow: 0 0 0 1px var(--hmo-surface, #fff);
pointer-events: none;
user-select: none;
}
.sidebar-icon-btn {
position: relative;
}
.notify-dot {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--hmo-primary, #007DFF);
position: absolute;
left: calc(var(--hmo-space-sm) - 4px);
top: 10px;
flex-shrink: 0;
}
.tutorial-layout {
display: flex;
gap: 0;
max-width: 100%;
margin: 0;
padding: 0;
min-height: calc(100vh - 56px);
background: var(--hmo-bg);
}
.tutorial-sidebar {
width: 200px;
min-width: 200px;
background: var(--hmo-surface);
border-right: 1px solid var(--hmo-border);
padding: 10px 0;
overflow-y: auto;
position: sticky;
top: 56px;
height: calc(100vh - 56px);
z-index: 5;
}
.tutorial-content-wrapper {
flex: 1;
min-width: 0;
padding: 32px 40px 48px;
max-width: calc(100% - 200px);
}
.ts-section {
margin-bottom: 4px;
}
.ts-header {
font-size: 0.75rem;
font-weight: 600;
color: var(--hmo-text-tertiary);
text-transform: uppercase;
letter-spacing: 0.05em;
padding: 8px 14px 6px;
}
.ts-link {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
padding: 7px 14px;
border: none;
background: none;
color: var(--hmo-text-secondary);
font-size: 0.9rem;
text-align: left;
cursor: pointer;
transition: all 0.15s ease;
border-radius: 0;
font-family: inherit;
}
.ts-link:hover {
background: var(--hmo-surface-2);
color: var(--hmo-text);
}
.ts-link.active {
background: var(--hmo-primary-bg);
color: var(--hmo-primary);
font-weight: 600;
border-right: 3px solid var(--hmo-primary);
}
.ts-link i.hms {
font-size: 1.1rem;
}
.ts-brand-group {
margin: 0;
}
.ts-brand-toggle {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 8px 14px;
border: none;
background: none;
color: var(--hmo-text-secondary);
font-size: 0.9rem;
text-align: left;
cursor: pointer;
transition: background 0.15s ease;
font-family: inherit;
}
.ts-brand-toggle:hover {
background: var(--hmo-surface-2);
}
.ts-brand-toggle .ts-arrow {
font-size: 0.7rem;
transition: transform 0.2s ease;
display: inline-block;
}
.ts-brand-toggle .ts-arrow.open {
transform: rotate(90deg);
}
.ts-brand-items {
overflow: hidden;
max-height: 0;
transition: max-height 0.3s ease;
}
.ts-brand-items.open {
max-height: 600px;
}
.ts-brand-items .ts-link {
padding-left: 34px;
font-size: 0.82rem;
}
.tutorial-section {
display: none;
}
.tutorial-section.active {
display: block;
}
.tutorial-sidebar-toggle {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
z-index: 100;
width: 48px;
height: 48px;
border-radius: 50%;
background: var(--hmo-primary);
color: #fff;
border: none;
box-shadow: 0 4px 16px rgba(0,125,255,.35);
cursor: pointer;
align-items: center;
justify-content: center;
font-size: 1.3rem;
}
.tutorial-sidebar-toggle:hover {
background: var(--hmo-primary-hover);
}
.tutorial-sidebar-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,.4);
z-index: 50;
}
.tutorial-sidebar-overlay.open {
display: block;
}
@media (max-width: 768px) {
.tutorial-sidebar {
position: fixed;
left: -210px;
top: 56px;
height: calc(100vh - 56px);
z-index: 60;
transition: left 0.3s ease;
box-shadow: 4px 0 20px rgba(0,0,0,.1);
}
.tutorial-sidebar.open {
left: 0;
}
.tutorial-content-wrapper {
max-width: 100%;
padding: 24px 16px 48px;
}
.tutorial-sidebar-toggle {
display: flex;
}
}