File size: 8,909 Bytes
22de727
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/* VaultGuard shared design system — Bitwarden web-vault look.
   Linked by every password-managers page; shell partials: _topbar.html, _sidebar.html. */
:root{
    --blue:#175ddc; --blue-h:#1452c0; --blue-soft:#eef3fd;
    --bg:#f3f3f4; --surface:#ffffff; --border:#e0e2e6; --border-2:#d5d8dd;
    --ink:#1b2a4a; --text:#33383e; --muted:#6b7280; --faint:#8a909a;
    --good:#3f9b52; --warn:#c07f16; --bad:#c0392b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--blue); text-decoration: none; }
h1,h2,h3,h4 { color: var(--ink); }

/* Top blue bar */
.topbar { background: var(--blue); color: #fff; }
.topbar-inner { max-width: 1160px; margin: 0 auto; height: 50px; display: flex; align-items: center; gap: 1.4rem; padding: 0 1.5rem; }
.brand { display: flex; align-items: center; gap: .5rem; color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.brand svg { width: 20px; height: 24px; }
.topnav { display: flex; gap: .3rem; }
.topnav a { color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 500; padding: .35rem .7rem; border-radius: .3rem; }
.topnav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.topnav a.active { color: #fff; font-weight: 700; }
.topuser { margin-left: auto; color: #fff; font-size: .88rem; display: flex; align-items: center; gap: .4rem; }
.topuser a { color: #fff; opacity: .9; }
.topuser .avatar { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }

/* Shell: sidebar + main */
.shell { max-width: 1160px; margin: 1.4rem auto; padding: 0 1.5rem; display: grid; grid-template-columns: 236px 1fr; gap: 1.4rem; align-items: start; }
.shell.no-side { grid-template-columns: 1fr; }
.sidebar { display: flex; flex-direction: column; gap: 1rem; }
.side-group { background: var(--surface); border: 1px solid var(--border); border-radius: .4rem; overflow: hidden; }
.side-h { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: .7rem .9rem .5rem; display: flex; align-items: center; justify-content: space-between; }
.side-badge { font-size: .58rem; font-weight: 700; letter-spacing: .04em; padding: .12rem .4rem; border-radius: .2rem; background: var(--blue); color: #fff; }
.side-item { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .9rem; font-size: .88rem; color: var(--text); border-top: 1px solid var(--border); cursor: pointer; }
.side-item:first-of-type { border-top: 0; }
.side-item:hover { background: #f7f8fa; }
.side-item.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; box-shadow: inset 3px 0 0 var(--blue); }
.side-item .lbl { flex: 1; }
.side-count { font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; background: #eef0f3; border-radius: 999px; padding: .05rem .45rem; }
.side-count.danger { background: #fce8e6; color: var(--bad); }
.side-count.warn { background: #fbf1de; color: var(--warn); }

.main { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.page-head { display: flex; align-items: center; justify-content: space-between; }
.page-head h2 { font-size: 1.4rem; font-weight: 650; }
.back-link { color: var(--muted); font-size: .82rem; } .back-link:hover { color: var(--ink); }
.section-title { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-bottom: .55rem; border-bottom: 1px solid var(--border); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: .5rem; }
.card-pad { padding: 1.2rem 1.4rem; }
.card-title { font-size: 1.15rem; font-weight: 650; padding-bottom: .7rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: .3rem; font-size: .85rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--blue); color: #fff; } .btn-primary:hover { background: var(--blue-h); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border-2); } .btn-outline:hover { background: #f7f8fa; }
.btn-danger { background: var(--bad); color: #fff; } .btn-danger:hover { filter: brightness(.94); }
.btn-sm { padding: .3rem .7rem; font-size: .8rem; }

/* Forms */
.field { margin-bottom: 1rem; }
.field label, .form-label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=search], input[type=url], select, textarea {
    width: 100%; background: #fff; border: 1px solid var(--border-2); color: var(--text); padding: .5rem .7rem; border-radius: .3rem; font-size: .9rem; font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-soft); }
.checkline { display: flex; align-items: center; gap: .5rem; font-size: .88rem; margin-bottom: .4rem; }
.checkline input[type=checkbox], .checkline input[type=radio] { width: auto; accent-color: var(--blue); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1rem; }
.muted { color: var(--muted); font-size: .85rem; }

/* Lists / rows */
.list { overflow: hidden; }
.list-row { display: flex; align-items: center; gap: .85rem; padding: .65rem 1rem; border-top: 1px solid var(--border); color: var(--text); }
.list-row:first-child { border-top: 0; }
.list-row:hover { background: #f7f8fa; }
.row-icon { width: 34px; height: 34px; border-radius: .35rem; display: flex; align-items: center; justify-content: center; font-size: .95rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: .92rem; font-weight: 600; color: var(--ink); }
.row-sub { font-size: .76rem; color: var(--muted); }
.row-meta { display: flex; align-items: center; gap: .9rem; }
.row-time { font-size: .76rem; color: var(--faint); white-space: nowrap; }
.chev { color: var(--faint); font-size: 1.1rem; }

/* Tables (audit log etc.) */
table.tbl { width: 100%; border-collapse: collapse; font-size: .85rem; }
table.tbl th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: .6rem 1rem; border-bottom: 1px solid var(--border); }
table.tbl td { padding: .6rem 1rem; border-top: 1px solid var(--border); color: var(--text); }
table.tbl tr:hover td { background: #f7f8fa; }

/* Badges / chips */
.chip { font-size: .66rem; text-transform: uppercase; font-weight: 700; letter-spacing: .04rem; padding: .16rem .5rem; border-radius: .25rem; background: var(--blue-soft); color: var(--blue); }
.chip.good { color: var(--good); background: #eaf6ec; }
.chip.warn { color: var(--warn); background: #fbf3e3; }
.chip.bad { color: var(--bad); background: #fdecea; }
.pill { display: inline-flex; align-items: center; gap: .25rem; padding: .22rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 600; border: 1px solid; }
.pill.bad { background: #fdecea; color: var(--bad); border-color: #f3c6c0; }
.pill.warn { background: #fbf3e3; color: var(--warn); border-color: #ecdcb4; }
.pill.good { background: #eaf6ec; color: var(--good); border-color: #cfe6d3; }

/* Score */
.score-circle { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; flex-shrink: 0; border: 3px solid; }
a.score-circle { transition: transform .1s; } a.score-circle:hover { transform: scale(1.04); }
.score-good { background: #eaf6ec; color: var(--good); border-color: var(--good); }
.score-fair { background: #fbf3e3; color: var(--warn); border-color: var(--warn); }
.score-poor { background: #fdecea; color: var(--bad); border-color: var(--bad); }

/* Stat tiles */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .8rem; }
.stat-card { padding: .85rem 1rem; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-label { font-size: .72rem; color: var(--muted); margin-top: .1rem; text-transform: uppercase; letter-spacing: .04em; }

.strength-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.strength-excellent { background: var(--good); } .strength-strong { background: var(--blue); }
.strength-fair { background: var(--warn); } .strength-weak { background: var(--bad); }

@media (max-width: 820px){ .shell { grid-template-columns: 1fr; } }