136 lines
8.1 KiB
CSS
136 lines
8.1 KiB
CSS
:root {
|
|
color-scheme: light dark;
|
|
font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
--bg: #f6f7f9;
|
|
--panel: #ffffff;
|
|
--panel-subtle: #f9fafb;
|
|
--ink: #1c2633;
|
|
--muted: #627187;
|
|
--line: #e4e9f0;
|
|
--accent: #235bdb;
|
|
--accent-hover: #194ab5;
|
|
--accent-soft: #eaf0ff;
|
|
--success: #078060;
|
|
--shadow: 0 5px 24px rgba(21, 36, 58, 0.04);
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html { scroll-behavior: smooth; }
|
|
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.55; }
|
|
a { color: inherit; text-decoration: none; }
|
|
button { font: inherit; cursor: pointer; }
|
|
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
|
|
h1, h2, h3, p { margin-top: 0; }
|
|
h1 { font-size: clamp(1.65rem, 4vw, 2.05rem); line-height: 1.22; letter-spacing: -.035em; }
|
|
h2 { font-size: 1rem; line-height: 1.3; }
|
|
h3 { font-size: .9rem; }
|
|
p { margin-bottom: 1rem; }
|
|
.muted { color: var(--muted); }
|
|
.eyebrow { font-size: .68rem; letter-spacing: .14em; color: var(--accent); font-weight: 750; margin-bottom: .8rem; }
|
|
|
|
.app-layout { min-height: 100dvh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
|
|
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 15px; padding: 25px 18px 20px; background: var(--panel); border-right: 1px solid var(--line); }
|
|
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
|
|
.brand-symbol { display: grid; place-items: center; background: var(--accent); color: #fff; width: 39px; height: 39px; border-radius: 12px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.06em; flex: none; }
|
|
.brand-label { display: flex; flex-direction: column; line-height: 1.25; }
|
|
.brand-label strong { font-size: 1rem; letter-spacing: -.02em; }
|
|
.brand-label small { margin-top: 4px; color: var(--muted); font-size: .73rem; }
|
|
.nav-heading { font-size: .66rem; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin: 24px 10px 0; }
|
|
.nav-list { display: grid; gap: 5px; }
|
|
.nav-item { padding: 10px 12px; border-radius: 9px; display: flex; flex-direction: column; gap: 1px; font-weight: 650; }
|
|
.nav-item small { font-size: .73rem; font-weight: 400; color: var(--muted); }
|
|
.nav-item:hover, .nav-item:focus-visible { background: var(--accent-soft); }
|
|
.sidebar-spacer { flex: 1; }
|
|
.identity-tile { display: flex; align-items: center; gap: 9px; padding: 10px; background: var(--panel-subtle); border: 1px solid var(--line); border-radius: 11px; }
|
|
.avatar { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-weight: 750; flex: none; }
|
|
.identity-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
|
|
.identity-text strong, .identity-text small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
|
|
.identity-text strong { font-size: .78rem; }
|
|
.identity-text small { font-size: .7rem; color: var(--muted); }
|
|
|
|
.main-column { min-width: 0; display: flex; flex-direction: column; }
|
|
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 63px; padding: 0 clamp(22px, 4vw, 52px); border-bottom: 1px solid var(--line); background: var(--panel); }
|
|
.topbar-label { color: var(--muted); font-size: .8rem; font-weight: 600; }
|
|
.status-dot { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--muted); }
|
|
.status-dot > span { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
|
|
.main-content { width: 100%; max-width: 1130px; margin: 0 auto; padding: 38px clamp(22px, 4vw, 52px) 70px; flex: 1; }
|
|
.content-stack { display: grid; gap: 24px; }
|
|
.page-heading { max-width: 690px; }
|
|
.page-heading h1 { margin-bottom: 12px; }
|
|
.page-heading .muted { margin-bottom: 0; max-width: 630px; }
|
|
.overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
|
|
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 25px; box-shadow: var(--shadow); min-width: 0; }
|
|
.card h2 { margin-bottom: 9px; }
|
|
.card .muted { font-size: .85rem; }
|
|
.card-header { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 10px; }
|
|
.action-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 182px; }
|
|
.action-card .muted { flex: 1; }
|
|
.note-card { background: var(--panel-subtle); border: 1px solid var(--line); border-radius: 14px; padding: 23px 25px; }
|
|
.note-card p { color: var(--muted); font-size: .86rem; max-width: 680px; }
|
|
.note-card h2 { margin-bottom: 8px; }
|
|
.pill { border-radius: 99px; background: var(--accent-soft); padding: 5px 10px; color: var(--accent); white-space: nowrap; font-size: .67rem; font-weight: 650; }
|
|
.button { display: inline-flex; gap: 8px; justify-content: center; align-items: center; text-align: center; min-height: 37px; padding: 8px 14px; border-radius: 9px; border: 1px solid transparent; font-weight: 650; font-size: .81rem; transition: background .15s ease, border-color .15s ease; }
|
|
.button-primary { color: #fff; background: var(--accent); }
|
|
.button-primary:hover { background: var(--accent-hover); }
|
|
.button-outline { background: var(--panel); border-color: var(--line); }
|
|
.button-outline:hover { background: var(--panel-subtle); border-color: var(--accent); }
|
|
.button-subtle { color: var(--ink); background: transparent; border-color: var(--line); }
|
|
.button-subtle:hover { background: var(--panel-subtle); }
|
|
.button-full { width: 100%; }
|
|
.text-link { color: var(--accent); font-weight: 650; font-size: .83rem; }
|
|
.text-link:hover { text-decoration: underline; }
|
|
.footer { text-align: center; color: var(--muted); font-size: .72rem; padding: 18px; border-top: 1px solid var(--line); }
|
|
.data-list { margin: 0; }
|
|
.data-row { display: grid; grid-template-columns: minmax(140px, 28%) 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
|
|
.data-row:last-child { border-bottom: none; }
|
|
.data-row dt { color: var(--muted); }
|
|
.data-row dd { margin: 0; overflow-wrap: anywhere; font-weight: 570; }
|
|
.form-note, .fine-print { font-size: .76rem; color: var(--muted); line-height: 1.7; }
|
|
.setting-list { margin-bottom: 24px; }
|
|
.setting-row { display: flex; gap: 15px; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line); padding: 15px 0; }
|
|
.setting-row:last-child { border-bottom: none; }
|
|
.setting-row h3 { margin-bottom: 4px; }
|
|
.setting-row p { margin: 0; max-width: 520px; }
|
|
.sign-in-screen { min-height: 100dvh; display: flex; justify-content: center; align-items: center; padding: 28px; }
|
|
.sign-in-card { width: 100%; max-width: 430px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 35px; box-shadow: var(--shadow); }
|
|
.sign-in-card .brand-symbol { margin-bottom: 26px; }
|
|
.sign-in-card h1 { font-size: 1.8rem; margin-bottom: 16px; }
|
|
.sign-in-card .muted { margin-bottom: 28px; }
|
|
.sign-in-card .fine-print { margin: 16px 0 20px; }
|
|
|
|
@media (max-width: 760px) {
|
|
.app-layout { display: flex; flex-direction: column; }
|
|
.sidebar { position: static; height: auto; gap: 12px; padding: 14px 18px; border-right: none; border-bottom: 1px solid var(--line); }
|
|
.brand { padding: 0; }
|
|
.nav-heading, .sidebar-spacer, .identity-tile { display: none; }
|
|
.nav-list { display: flex; gap: 5px; overflow-x: auto; }
|
|
.nav-item { white-space: nowrap; padding: 7px 10px; }
|
|
.nav-item small { display: none; }
|
|
.sidebar form { align-self: flex-start; }
|
|
.topbar { min-height: 48px; padding: 0 18px; }
|
|
.main-content { padding: 26px 18px 48px; }
|
|
.overview-grid { grid-template-columns: 1fr; }
|
|
.card, .note-card { padding: 19px; }
|
|
.data-row { grid-template-columns: 1fr; gap: 3px; }
|
|
.sign-in-card { padding: 27px; }
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--bg: #10151d;
|
|
--panel: #171f2a;
|
|
--panel-subtle: #1c2633;
|
|
--ink: #eef3fa;
|
|
--muted: #a7b5c8;
|
|
--line: #2e3a4a;
|
|
--accent: #78a6ff;
|
|
--accent-hover: #5b8bea;
|
|
--accent-soft: #263951;
|
|
--success: #33b999;
|
|
--shadow: 0 4px 24px rgba(0, 0, 0, .08);
|
|
}
|
|
.button-primary { background: #346aca; color: #fff; }
|
|
.button-primary:hover { background: #2756b2; }
|
|
.brand-symbol { background: #346aca; }
|
|
}
|