1804 lines
32 KiB
CSS
1804 lines
32 KiB
CSS
:root {
|
|
--ink: #111111;
|
|
--muted: rgba(17, 17, 17, 0.62);
|
|
--paper: #ffffff;
|
|
--header: #34383c;
|
|
--soft: #d7e3e7;
|
|
--soft-deep: #c4d5db;
|
|
--line: rgba(17, 17, 17, 0.16);
|
|
--line-dark: rgba(17, 17, 17, 0.28);
|
|
--gold: #e18c00;
|
|
--gold-soft: #fbf0da;
|
|
--red: #67211d;
|
|
--red-soft: #f2e2df;
|
|
--green: #2f6d43;
|
|
--cream: #fffaee;
|
|
--serif: 'Georgia', 'Times New Roman', serif;
|
|
--sans: 'Segoe UI', 'Inter', system-ui, Arial, sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#root {
|
|
margin: 0;
|
|
min-height: 100%;
|
|
background: var(--paper);
|
|
}
|
|
|
|
body {
|
|
color: var(--ink);
|
|
font-family: var(--sans);
|
|
font-size: 14px;
|
|
line-height: 1.45;
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
|
|
button,
|
|
select,
|
|
input {
|
|
font: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tabular {
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* -------------------------------- Каркас -------------------------------- */
|
|
|
|
.app-shell {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: stretch;
|
|
background: var(--header);
|
|
color: #fff;
|
|
border-bottom: 3px solid var(--gold);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 40;
|
|
box-shadow: 0 5px 16px rgba(17, 17, 17, 0.14);
|
|
min-height: 72px;
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 0 20px;
|
|
border-right: 1px solid rgba(255, 255, 255, 0.18);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 30px;
|
|
height: 30px;
|
|
display: flex;
|
|
gap: 3px;
|
|
align-items: flex-end;
|
|
border: 1px solid #fff;
|
|
padding: 5px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.brand-mark i {
|
|
flex: 1;
|
|
background: var(--gold);
|
|
height: 45%;
|
|
}
|
|
|
|
.brand-mark i:nth-child(2) {
|
|
height: 72%;
|
|
}
|
|
|
|
.brand-mark i:nth-child(3) {
|
|
height: 100%;
|
|
}
|
|
|
|
.brand b {
|
|
display: block;
|
|
letter-spacing: 0.15em;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.brand small {
|
|
display: block;
|
|
font-size: 10px;
|
|
margin-top: 3px;
|
|
opacity: 0.7;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.topbar nav {
|
|
display: flex;
|
|
align-items: stretch;
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.topbar nav::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.topbar nav button {
|
|
position: relative;
|
|
background: transparent;
|
|
color: #fff;
|
|
border: 0;
|
|
padding: 0 16px;
|
|
display: flex;
|
|
gap: 7px;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
opacity: 0.74;
|
|
font-weight: 600;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.topbar nav button i {
|
|
font-style: normal;
|
|
background: var(--gold);
|
|
color: var(--ink);
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
font-size: 10px;
|
|
display: grid;
|
|
place-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.topbar nav button::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 14px;
|
|
right: 14px;
|
|
bottom: 0;
|
|
height: 3px;
|
|
background: transparent;
|
|
}
|
|
|
|
.topbar nav button.active,
|
|
.topbar nav button:hover {
|
|
opacity: 1;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.topbar nav button.active::after {
|
|
background: var(--gold);
|
|
}
|
|
|
|
.top-actions {
|
|
margin-left: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 0 18px;
|
|
border-left: 1px solid rgba(255, 255, 255, 0.18);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.top-meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.top-meta span {
|
|
font-size: 9px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.top-meta b {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.top-refresh {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: transparent;
|
|
border: 1px solid var(--gold);
|
|
color: #fff;
|
|
padding: 9px 14px;
|
|
min-height: 44px;
|
|
border-radius: 2px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.top-refresh:disabled {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.top-avatar {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 50%;
|
|
background: var(--gold);
|
|
color: var(--ink);
|
|
display: grid;
|
|
place-items: center;
|
|
font-weight: 700;
|
|
font-size: 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
padding: 24px 28px 40px;
|
|
max-width: 1800px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.app-footer {
|
|
border-top: 1px solid var(--line);
|
|
padding: 14px 28px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
font-size: 10px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.app-loading,
|
|
.app-error {
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 100vh;
|
|
gap: 12px;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
padding: 24px;
|
|
}
|
|
|
|
.app-error button {
|
|
border: 1px solid var(--gold);
|
|
background: var(--gold);
|
|
color: var(--ink);
|
|
padding: 10px 18px;
|
|
}
|
|
|
|
/* ------------------------------- Заголовок ------------------------------- */
|
|
|
|
.section-heading {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 28px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.section-heading .kicker {
|
|
display: block;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.14em;
|
|
font-size: 10px;
|
|
color: var(--muted);
|
|
font-weight: 600;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.section-heading h1 {
|
|
margin: 0;
|
|
font-family: var(--serif);
|
|
font-size: 38px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.section-heading p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
max-width: 520px;
|
|
border-left: 1px solid var(--line);
|
|
padding-left: 18px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.section-heading .section-period {
|
|
display: inline-block;
|
|
margin-top: 10px;
|
|
padding: 5px 10px;
|
|
background: var(--soft);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.section-aside {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* --------------------------- Переключатель режима --------------------------- */
|
|
|
|
.segmented {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.segmented-label {
|
|
font-size: 10px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.segmented-buttons {
|
|
display: flex;
|
|
border: 1px solid var(--line-dark);
|
|
}
|
|
|
|
.segmented-buttons button {
|
|
border: 0;
|
|
border-right: 1px solid var(--line);
|
|
background: #fff;
|
|
padding: 9px 16px;
|
|
min-height: 44px;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.segmented-buttons button:last-child {
|
|
border-right: 0;
|
|
}
|
|
|
|
.segmented-buttons button.active {
|
|
background: var(--ink);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* -------------------------------- Фильтры -------------------------------- */
|
|
|
|
.period-filter {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
border: 1px solid var(--line);
|
|
background: #fff;
|
|
padding: 10px 14px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.period-label {
|
|
font-size: 10px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.period-presets {
|
|
display: flex;
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.period-presets button {
|
|
border: 0;
|
|
border-right: 1px solid var(--line);
|
|
background: #fff;
|
|
padding: 9px 14px;
|
|
min-height: 40px;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.period-presets button:last-child {
|
|
border-right: 0;
|
|
}
|
|
|
|
.period-presets button.active {
|
|
background: var(--ink);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.period-range {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-left: auto;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.period-range select,
|
|
.inline-select {
|
|
border: 1px solid var(--line);
|
|
background: #fff;
|
|
padding: 9px 10px;
|
|
min-height: 40px;
|
|
font-size: 13px;
|
|
border-radius: 0;
|
|
}
|
|
|
|
/* ------------------------------ KPI-карточки ------------------------------ */
|
|
|
|
.metrics-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 0;
|
|
border: 1px solid var(--line);
|
|
border-right: 0;
|
|
margin-bottom: 18px;
|
|
background: #fff;
|
|
}
|
|
|
|
.metric-card {
|
|
border-right: 1px solid var(--line);
|
|
padding: 16px 18px 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
background: #fff;
|
|
}
|
|
|
|
.metric-card.accent {
|
|
border-top: 3px solid var(--gold);
|
|
background: #fffdf8;
|
|
}
|
|
|
|
.metric-label {
|
|
font-size: 10px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.metric-value {
|
|
font-family: var(--serif);
|
|
font-size: 30px;
|
|
font-weight: 700;
|
|
line-height: 1.05;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.metric-value small {
|
|
font-family: var(--sans);
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
color: var(--muted);
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.metric-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 2px 7px;
|
|
background: #eef1f3;
|
|
color: var(--ink);
|
|
font-size: 11px;
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.badge.good {
|
|
background: #e4efe6;
|
|
color: var(--green);
|
|
}
|
|
|
|
.badge.warn {
|
|
background: var(--gold-soft);
|
|
color: #8a5600;
|
|
}
|
|
|
|
.badge.bad {
|
|
background: var(--red-soft);
|
|
color: var(--red);
|
|
}
|
|
|
|
/* ------------------------- Группы KPI (УК и дивизионы) ------------------------- */
|
|
|
|
.kpi-groups {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 18px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.kpi-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.kpi-group-title {
|
|
font-size: 11px;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.kpi-stack {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
border: 1px solid var(--line);
|
|
background: #fff;
|
|
}
|
|
|
|
.kpi-stack .metric-card {
|
|
border-right: 0;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.kpi-stack .metric-card:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
/* --------------------------- Список показателей --------------------------- */
|
|
|
|
.split-2 {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 28px;
|
|
align-items: center;
|
|
}
|
|
|
|
.kpi-rows {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.kpi-row {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto auto;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid #edf0f1;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.kpi-row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.kpi-dot {
|
|
width: 12px;
|
|
height: 12px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.kpi-row-label {
|
|
font-size: 13px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.kpi-row-value {
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 700;
|
|
font-size: 13px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* --------------------------- Движение денег --------------------------- */
|
|
|
|
.cash-flow {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
border: 1px solid var(--line);
|
|
background: #fff;
|
|
}
|
|
|
|
.flow-card {
|
|
padding: 18px;
|
|
border-right: 1px solid var(--line);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.flow-card strong {
|
|
font-family: var(--serif);
|
|
font-size: 30px;
|
|
font-weight: 700;
|
|
line-height: 1.05;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.flow-card strong small {
|
|
font-family: var(--sans);
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
color: var(--muted);
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.flow-label {
|
|
font-size: 10px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.flow-note {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.flow-sign {
|
|
width: 20px;
|
|
height: 20px;
|
|
display: grid;
|
|
place-items: center;
|
|
font-style: normal;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
}
|
|
|
|
.flow-sign.plus {
|
|
background: var(--green);
|
|
}
|
|
|
|
.flow-sign.minus {
|
|
background: var(--red);
|
|
}
|
|
|
|
/* карточки высотой в две строки центрируем, чтобы не оставалось пустого низа */
|
|
.flow-card.start,
|
|
.flow-card.finish {
|
|
justify-content: center;
|
|
}
|
|
|
|
.flow-card.start {
|
|
grid-column: 1;
|
|
grid-row: 1 / span 2;
|
|
}
|
|
|
|
/* приход и расход рядом сверху, сальдо - общей строкой под ними */
|
|
.flow-card.inflow {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.flow-card.inflow strong {
|
|
color: var(--green);
|
|
}
|
|
|
|
.flow-card.outflow {
|
|
grid-column: 3;
|
|
grid-row: 1;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.flow-card.outflow strong {
|
|
color: var(--red);
|
|
}
|
|
|
|
.flow-card.saldo {
|
|
grid-column: 2 / span 2;
|
|
grid-row: 2;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.flow-card.saldo.good strong {
|
|
color: var(--green);
|
|
}
|
|
|
|
.flow-card.saldo.bad strong {
|
|
color: var(--red);
|
|
}
|
|
|
|
.flow-card.finish {
|
|
grid-column: 4;
|
|
grid-row: 1 / span 2;
|
|
border-right: 0;
|
|
border-top: 3px solid var(--gold);
|
|
background: #fffdf8;
|
|
}
|
|
|
|
/* --------------------------------- Панели --------------------------------- */
|
|
|
|
.panel {
|
|
border: 1px solid var(--line);
|
|
background: #fff;
|
|
padding: 18px 20px 20px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.panel-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.panel-head h2 {
|
|
margin: 0;
|
|
font-family: var(--serif);
|
|
font-size: 21px;
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.panel-head h2::before {
|
|
content: '';
|
|
width: 4px;
|
|
height: 20px;
|
|
background: var(--gold);
|
|
display: inline-block;
|
|
}
|
|
|
|
.panel-note {
|
|
font-size: 10px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.panel-footnote {
|
|
margin-top: 12px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.grid-2 {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 18px;
|
|
}
|
|
|
|
.grid-2 > .panel {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.grid-2 + .panel,
|
|
.grid-2 + .grid-2 {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.text-action {
|
|
border: 0;
|
|
background: none;
|
|
color: var(--red);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
padding: 6px 0;
|
|
min-height: 32px;
|
|
}
|
|
|
|
.empty-state {
|
|
border: 1px dashed var(--line-dark);
|
|
padding: 40px;
|
|
text-align: center;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.setup-banner {
|
|
border: 1px solid var(--gold);
|
|
background: var(--cream);
|
|
padding: 16px 18px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.setup-banner b {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.setup-banner p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.setup-banner code {
|
|
background: rgba(17, 17, 17, 0.07);
|
|
padding: 1px 5px;
|
|
font-family: Consolas, monospace;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* -------------------------------- Графики -------------------------------- */
|
|
|
|
.chart {
|
|
width: 100%;
|
|
}
|
|
|
|
.chart svg {
|
|
display: block;
|
|
width: 100%;
|
|
overflow: visible;
|
|
touch-action: pan-y;
|
|
}
|
|
|
|
.chart-empty {
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--muted);
|
|
border: 1px dashed var(--line);
|
|
}
|
|
|
|
.grid-line {
|
|
stroke: #eceff1;
|
|
stroke-width: 1;
|
|
}
|
|
|
|
.grid-line.zero {
|
|
stroke: var(--line);
|
|
}
|
|
|
|
.crosshair {
|
|
stroke: rgba(103, 33, 29, 0.45);
|
|
stroke-width: 1;
|
|
stroke-dasharray: 4 4;
|
|
}
|
|
|
|
.axis-label {
|
|
fill: var(--muted);
|
|
font-size: 11px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.chart-legend {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
margin-top: 10px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.chart-legend span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.chart-legend i {
|
|
width: 12px;
|
|
height: 4px;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* ------------------------------ Столбцы-рейтинг ------------------------------ */
|
|
|
|
.rank-bars {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.rank-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(140px, 1.5fr) 3fr auto;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 9px 6px;
|
|
border-bottom: 1px solid #f0f2f3;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.rank-row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.rank-row.clickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.rank-row:hover {
|
|
background: #fbfcfc;
|
|
}
|
|
|
|
.rank-label {
|
|
font-size: 13px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.rank-track {
|
|
background: #f0f2f3;
|
|
height: 14px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.rank-track i {
|
|
display: block;
|
|
height: 100%;
|
|
}
|
|
|
|
.rank-value {
|
|
font-variant-numeric: tabular-nums;
|
|
font-size: 13px;
|
|
white-space: nowrap;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* --------------------------------- Кольцо --------------------------------- */
|
|
|
|
.donut-wrap {
|
|
display: flex;
|
|
gap: 24px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.donut-wrap svg path {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.donut-value {
|
|
font-family: var(--serif);
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
fill: var(--ink);
|
|
}
|
|
|
|
.donut-label {
|
|
font-size: 11px;
|
|
fill: var(--muted);
|
|
}
|
|
|
|
.donut-legend {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
flex: 1;
|
|
min-width: 180px;
|
|
}
|
|
|
|
.donut-legend div {
|
|
display: grid;
|
|
grid-template-columns: 12px 1fr auto;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.donut-legend i {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
.donut-legend b {
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* -------------------------------- Таблицы -------------------------------- */
|
|
|
|
.table-wrap {
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.data-table th {
|
|
background: var(--soft);
|
|
border-bottom: 1px solid var(--line-dark);
|
|
padding: 12px 12px;
|
|
font-size: 10px;
|
|
letter-spacing: 0.07em;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
}
|
|
|
|
.data-table th small {
|
|
display: block;
|
|
font-weight: 400;
|
|
letter-spacing: 0.04em;
|
|
opacity: 0.7;
|
|
font-size: 9px;
|
|
}
|
|
|
|
.data-table td {
|
|
padding: 11px 12px;
|
|
border-bottom: 1px solid #edf0f1;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.data-table tbody tr:hover {
|
|
background: #fbfcfc;
|
|
}
|
|
|
|
.data-table tbody tr.highlight {
|
|
background: var(--cream);
|
|
}
|
|
|
|
.data-table tfoot td {
|
|
background: #f6f8f9;
|
|
font-weight: 700;
|
|
border-top: 1px solid var(--line-dark);
|
|
}
|
|
|
|
/* Таблица целиком в ширину экрана - без горизонтальной прокрутки */
|
|
.table-wrap.fit {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.table-wrap.fit .data-table {
|
|
table-layout: fixed;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.table-wrap.fit .data-table th {
|
|
padding: 9px 7px;
|
|
font-size: 9px;
|
|
white-space: normal;
|
|
}
|
|
|
|
.table-wrap.fit .data-table td {
|
|
padding: 9px 7px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.table-wrap.fit .data-table .name-cell {
|
|
min-width: 0;
|
|
font-size: 11.5px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.data-table .name-cell {
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
font-size: 12.5px;
|
|
letter-spacing: 0.01em;
|
|
white-space: normal;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.data-table .comment {
|
|
white-space: normal;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
min-width: 220px;
|
|
}
|
|
|
|
.positive {
|
|
color: var(--green);
|
|
}
|
|
|
|
.negative {
|
|
color: var(--red);
|
|
}
|
|
|
|
/* --------------------------------- Карта --------------------------------- */
|
|
|
|
.map-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 300px;
|
|
gap: 0;
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.map-wrap {
|
|
position: relative;
|
|
padding: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.russia-map {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
background: #fff;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
.map-region {
|
|
stroke: #ffffff;
|
|
stroke-width: 0.7;
|
|
transition: fill 0.12s ease;
|
|
}
|
|
|
|
/* заливка задаётся встроенным стилем, чтобы шкала значений не перебивалась темой */
|
|
.map-region.no-data {
|
|
fill: var(--soft);
|
|
}
|
|
|
|
.map-region.has-data {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.map-region.hovered {
|
|
stroke: var(--ink);
|
|
stroke-width: 1.2;
|
|
}
|
|
|
|
.map-region.selected {
|
|
stroke: var(--ink);
|
|
stroke-width: 2;
|
|
}
|
|
|
|
.map-region.new-region {
|
|
stroke: var(--red);
|
|
stroke-width: 1;
|
|
stroke-dasharray: 3 2;
|
|
}
|
|
|
|
.map-labels {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.map-label {
|
|
font-size: 9.5px;
|
|
fill: var(--ink);
|
|
paint-order: stroke;
|
|
stroke: rgba(255, 255, 255, 0.88);
|
|
stroke-width: 2.4px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.map-legend {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
margin-top: 8px;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--line);
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.legend-title {
|
|
font-weight: 700;
|
|
color: var(--ink);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.legend-bands {
|
|
display: inline-flex;
|
|
gap: 2px;
|
|
}
|
|
|
|
.legend-bands i {
|
|
width: 26px;
|
|
height: 11px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.legend-range {
|
|
display: inline-flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.legend-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.legend-empty {
|
|
width: 12px;
|
|
height: 12px;
|
|
background: var(--soft);
|
|
display: inline-block;
|
|
}
|
|
|
|
.legend-new {
|
|
width: 12px;
|
|
height: 12px;
|
|
background: #fff;
|
|
border: 1.5px dashed var(--red);
|
|
display: inline-block;
|
|
}
|
|
|
|
.map-loading,
|
|
.map-error {
|
|
padding: 40px;
|
|
text-align: center;
|
|
color: var(--muted);
|
|
}
|
|
|
|
/* Панель выбранного региона */
|
|
|
|
.region-panel {
|
|
background: var(--soft);
|
|
border-left: 1px solid var(--line);
|
|
padding: 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.region-panel .kicker {
|
|
font-size: 10px;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.region-panel h3 {
|
|
margin: 0;
|
|
font-family: var(--serif);
|
|
font-size: 24px;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.region-stats {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.region-stats div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
gap: 12px;
|
|
padding: 9px 0;
|
|
border-bottom: 1px solid rgba(17, 17, 17, 0.12);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.region-stats div:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.region-stats b {
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 700;
|
|
text-align: right;
|
|
}
|
|
|
|
.region-stats .accent-row b {
|
|
color: var(--red);
|
|
}
|
|
|
|
.region-panel-note {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
margin: 0;
|
|
}
|
|
|
|
/* Площадки и организации выбранного региона */
|
|
|
|
.region-sites {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.region-sites table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
.region-sites td {
|
|
padding: 7px 0;
|
|
border-bottom: 1px solid rgba(17, 17, 17, 0.12);
|
|
vertical-align: top;
|
|
}
|
|
|
|
.region-sites td:last-child {
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.region-sites tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.region-sites small {
|
|
display: block;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.region-chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.region-chips button {
|
|
border: 1px solid var(--line-dark);
|
|
background: #fff;
|
|
padding: 8px 12px;
|
|
min-height: 40px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.region-chips button.active {
|
|
background: var(--gold);
|
|
border-color: var(--gold);
|
|
}
|
|
|
|
.region-detail {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.region-detail h3 {
|
|
margin: 0 0 10px;
|
|
font-family: var(--serif);
|
|
font-size: 18px;
|
|
}
|
|
|
|
/* -------------------------------- Подсказка -------------------------------- */
|
|
|
|
.floating-tooltip {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 60;
|
|
pointer-events: none;
|
|
will-change: transform;
|
|
}
|
|
|
|
.tooltip-card {
|
|
background: rgba(17, 17, 17, 0.95);
|
|
color: #fff;
|
|
padding: 12px 14px;
|
|
min-width: 210px;
|
|
max-width: 340px;
|
|
box-shadow: 0 12px 32px rgba(17, 17, 17, 0.3);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.tooltip-title {
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.tooltip-badge {
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
background: var(--gold);
|
|
color: var(--ink);
|
|
padding: 2px 6px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.tooltip-subtitle {
|
|
color: rgba(255, 255, 255, 0.66);
|
|
font-size: 11.5px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.tooltip-rows {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.tooltip-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.tooltip-row span {
|
|
color: rgba(255, 255, 255, 0.72);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
|
|
.tooltip-row.accent {
|
|
border-top: 1px solid rgba(255, 255, 255, 0.2);
|
|
margin-top: 4px;
|
|
padding-top: 6px;
|
|
}
|
|
|
|
.tooltip-row.accent span,
|
|
.tooltip-row.accent b {
|
|
color: var(--gold);
|
|
}
|
|
|
|
.tooltip-dot {
|
|
width: 9px;
|
|
height: 9px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.tooltip-empty {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
/* ------------------------------ Раздел данных ------------------------------ */
|
|
|
|
.data-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
|
|
gap: 0;
|
|
border: 1px solid var(--line);
|
|
border-right: 0;
|
|
}
|
|
|
|
.data-summary div {
|
|
border-right: 1px solid var(--line);
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.data-summary span {
|
|
display: block;
|
|
font-size: 10px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.data-summary b {
|
|
font-size: 13px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.error-list {
|
|
margin: 0;
|
|
padding-left: 18px;
|
|
color: var(--red);
|
|
}
|
|
|
|
/* Предупреждения о качестве данных: не ошибка чтения, но человеку надо знать */
|
|
.warning-list {
|
|
margin: 0;
|
|
padding-left: 18px;
|
|
color: var(--ink);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.warning-list li + li {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.primary-action {
|
|
border: 1px solid var(--ink);
|
|
background: var(--ink);
|
|
color: #fff;
|
|
padding: 10px 16px;
|
|
min-height: 44px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.primary-action:disabled {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
/* --------------------------- Планшеты (iPad) --------------------------- */
|
|
|
|
/* iPad Pro в альбомной ориентации и меньше */
|
|
@media (max-width: 1366px) {
|
|
.content {
|
|
padding: 20px 20px 32px;
|
|
}
|
|
|
|
.map-layout {
|
|
grid-template-columns: minmax(0, 1fr) 260px;
|
|
}
|
|
}
|
|
|
|
/* iPad в книжной ориентации: 768-1024 */
|
|
@media (max-width: 1024px) {
|
|
.topbar {
|
|
flex-wrap: wrap;
|
|
min-height: 0;
|
|
}
|
|
|
|
.brand {
|
|
padding: 12px 16px;
|
|
border-right: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.top-actions {
|
|
margin-left: 0;
|
|
border-left: 0;
|
|
padding: 12px 16px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.topbar nav {
|
|
order: 3;
|
|
width: 100%;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.topbar nav button {
|
|
padding: 0 14px;
|
|
min-height: 48px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.section-heading h1 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.section-heading p {
|
|
max-width: none;
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.metrics-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.metric-card {
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.metric-value {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.grid-2 {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.kpi-groups {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.split-2 {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 18px;
|
|
}
|
|
|
|
.section-aside {
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
}
|
|
|
|
.cash-flow {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.cash-flow .flow-card {
|
|
grid-column: auto;
|
|
grid-row: auto;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.cash-flow .flow-card strong {
|
|
font-size: 26px;
|
|
}
|
|
|
|
/* на планшете широкие таблицы снова прокручиваются по горизонтали */
|
|
.table-wrap.fit {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.table-wrap.fit .data-table {
|
|
table-layout: auto;
|
|
}
|
|
|
|
.table-wrap.fit .data-table td,
|
|
.table-wrap.fit .data-table th {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.rank-row {
|
|
grid-template-columns: minmax(120px, 1.4fr) 2fr auto;
|
|
min-height: 48px;
|
|
}
|
|
|
|
.data-table th,
|
|
.data-table td {
|
|
padding: 12px 10px;
|
|
}
|
|
|
|
.period-presets button,
|
|
.period-range select {
|
|
min-height: 44px;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
/* Узкие экраны: панель региона уходит под карту */
|
|
@media (max-width: 900px) {
|
|
.map-layout {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.region-panel {
|
|
border-left: 0;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
}
|
|
|
|
/* Телефоны и узкие планшеты */
|
|
@media (max-width: 720px) {
|
|
.content {
|
|
padding: 16px 14px 28px;
|
|
}
|
|
|
|
.metrics-grid {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.cash-flow {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.section-heading h1 {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.top-meta {
|
|
display: none;
|
|
}
|
|
|
|
.panel {
|
|
padding: 14px 14px 16px;
|
|
}
|
|
}
|
|
|
|
/* Тач-устройства: подсказка под пальцем не нужна, показываем панель региона */
|
|
@media (hover: none) {
|
|
.rank-row:hover,
|
|
.data-table tbody tr:hover {
|
|
background: transparent;
|
|
}
|
|
}
|
|
|
|
/* Подпись происхождения цифр. Намеренно без плашки, рамки и красного цвета:
|
|
акционера не надо пугать, надо честно сказать, что он смотрит. В шапке
|
|
стоит в одном ряду с «Контур» и «Период» - как такой же факт о данных. */
|
|
.top-meta.source-label b,
|
|
.app-footer .source-label {
|
|
color: var(--gold);
|
|
}
|
|
|
|
.app-footer .source-label {
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Архивный просмотр: жёлтая полоса, чтобы старые цифры не приняли за текущие */
|
|
.archive-banner {
|
|
border-color: #d9a441;
|
|
background: #fdf6e6;
|
|
}
|
|
.archive-banner b { color: #8a5a00; }
|
|
|
|
/* Экран входа: показывается вместо панели, пока человек не вошёл. */
|
|
.login-screen {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
place-items: center;
|
|
background: var(--bg, #f5f5f4);
|
|
padding: 24px;
|
|
}
|
|
|
|
.login-card {
|
|
width: min(380px, 100%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 32px;
|
|
background: #fff;
|
|
border: 1px solid #e7e5e4;
|
|
border-radius: 4px;
|
|
box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
|
|
}
|
|
|
|
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
|
|
.login-brand b { display: block; letter-spacing: 0.08em; }
|
|
.login-brand small { color: #78716c; font-size: 12px; }
|
|
|
|
.login-card label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #78716c; margin-top: 8px; }
|
|
.login-card input {
|
|
padding: 10px 12px;
|
|
border: 1px solid #d6d3d1;
|
|
border-radius: 3px;
|
|
font-size: 15px;
|
|
font-family: inherit;
|
|
}
|
|
.login-card input:focus { outline: 2px solid #f59e0b; outline-offset: 1px; border-color: transparent; }
|
|
|
|
.login-card button {
|
|
margin-top: 20px;
|
|
padding: 11px;
|
|
border: 0;
|
|
border-radius: 3px;
|
|
background: #1c1917;
|
|
color: #fff;
|
|
font-size: 15px;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
}
|
|
.login-card button:disabled { background: #a8a29e; cursor: default; }
|
|
|
|
.login-error {
|
|
margin: 12px 0 0;
|
|
padding: 10px 12px;
|
|
background: #fef2f2;
|
|
border-left: 3px solid #b91c1c;
|
|
color: #7f1d1d;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.login-note { margin: 16px 0 0; font-size: 12px; color: #78716c; line-height: 1.5; }
|
|
|
|
/* Вход по лицу — второй способ на том же экране. */
|
|
.login-card .login-face {
|
|
margin-top: 10px;
|
|
background: #fff;
|
|
color: #1c1917;
|
|
border: 1px solid #d6d3d1;
|
|
}
|