[hidden] { display: none !important; }
:root {
--bg: #0a0e12;
--panel: #131a21;
--panel-2: #1a232c;
--border: #263341;
--text: #d7e2ec;
--muted: #6b7d8f;
--income: #00ff9c;
--cyan: #00e0ff;
--burgundy: #b85566;
--expense: #ff4fd8;
--warn: #ffd75e;
--font: 'Share Tech Mono', 'Consolas', 'Courier New', monospace;
--font-logo: 'Press Start 2P', 'Share Tech Mono', monospace;
color-scheme: dark;
scrollbar-color: #2f4152 var(--panel);
scrollbar-width: thin;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--panel); }
::-webkit-scrollbar-thumb {
background: #2f4152;
border: 2px solid var(--panel);
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: #3d566d; }
::-webkit-scrollbar-corner { background: var(--panel); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: hidden; }
body {
font-family: var(--font);
font-size: 15px;
line-height: 1.45;
color: var(--text);
background-color: var(--bg);
background-image:
repeating-linear-gradient(0deg, transparent 0 2px, rgba(255, 255, 255, 0.012) 2px 4px),
linear-gradient(rgba(0, 224, 255, 0.025) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 224, 255, 0.025) 1px, transparent 1px);
background-size: 4px 4px, 32px 32px, 32px 32px;
min-height: 100vh;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-shadow: 0 0 8px rgba(0, 224, 255, 0.6); }
h1 { font-size: 1.5rem; letter-spacing: 0.03em; }
h2 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--text); }
.num, .stat-value, td.num, th.num {
font-variant-numeric: tabular-nums;
text-align: right;
white-space: nowrap;
}
.income  { color: var(--income); }
.expense { color: var(--expense); }
.warn    { color: var(--warn); }
.muted   { color: var(--muted); }
.small   { font-size: 0.85em; }
.center  { text-align: center; }
.nowrap  { white-space: nowrap; }
.clip    { max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.purpose { max-width: 28ch; }
.purpose .ptext {
white-space: normal;
overflow-wrap: break-word;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.purpose.open .ptext {
display: block;
overflow: visible;
}
.pmore {
margin-top: 0.15rem;
padding: 0;
border: 0;
background: none;
color: var(--cyan);
font-family: var(--font);
font-size: 0.78rem;
cursor: pointer;
}
.pmore:hover { text-shadow: 0 0 8px rgba(0, 224, 255, 0.5); }
.ops-cards { display: none; }
@media (max-width: 700px) {
.only-mobile { display: inline; }
.st-tg { min-height: 40px; }
.sh-row-mps .mp-chip { min-width: 44px; min-height: 40px; }
.sh-assign-chip { min-height: 40px; }
.ops-table { display: none; }
.ops-cards { display: flex; flex-direction: column; gap: 0.6rem; }
body input, body select, body textarea { font-size: 16px; }
input, select, textarea { font-size: 16px !important; }
.table-cards thead { display: none; }
.table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
.table-cards tr {
border: 1px solid var(--border);
border-radius: 10px;
padding: 0.55rem 0.7rem;
margin-bottom: 0.6rem;
background: var(--panel);
}
.table-cards td {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 0.75rem;
padding: 0.15rem 0;
border: 0;
text-align: right;
min-width: 0;
overflow-wrap: anywhere;
word-break: break-word;
}
.table-cards td::before {
content: attr(data-th);
color: var(--muted);
font-size: 0.72rem;
letter-spacing: 0.06em;
text-transform: uppercase;
text-align: left;
flex: none;
}
.rp-table td[data-th="Статья"] {
flex-direction: column; align-items: stretch;
text-align: left; gap: 0.3rem;
}
.rp-table td[data-th="Статья"] .rp-purpose { max-width: 100%; }
.table-cards td:not([data-th]) { justify-content: flex-end; }
.table-cards td.actions { justify-content: flex-end; gap: 0.5rem; }
.table-wrap:has(.table-cards) { overflow-x: visible; }
}
.op-card {
display: flex;
flex-direction: column;
gap: 0.4rem;
padding: 0.7rem 0.85rem;
}
.oc-top { display: flex; align-items: center; gap: 0.5rem; }
.oc-top .oc-project {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.oc-top .num { white-space: nowrap; }
.oc-row { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.9rem; }
.oc-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.oc-purpose {
font-size: 0.85rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.op-card.open .oc-purpose {
white-space: normal;
overflow: visible;
overflow-wrap: break-word;
}
.oc-expand {
align-self: flex-start;
min-height: 34px;
padding: 0.2rem 0.7rem;
font-size: 0.82rem;
}
.oc-details { display: none; flex-direction: column; gap: 0.4rem; }
.op-card.open .oc-details { display: flex; }
.oc-actions { display: inline-flex; align-items: center; gap: 0.4rem; }
.oc-actions form { display: inline; margin: 0; }
.oc-category-note { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.topbar {
position: sticky;
top: 0;
z-index: 10;
background: rgba(19, 26, 33, 0.95);
border-bottom: 1px solid var(--border);
box-shadow: 0 1px 12px rgba(0, 224, 255, 0.07);
backdrop-filter: blur(4px);
}
.topbar-inner {
max-width: 1600px;
margin: 0 auto;
padding: 0.5rem 1rem 0.6rem;
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
grid-template-areas: "logo nav user" ". . project";
align-items: center;
gap: 0.45rem 1rem;
}
.topbar-inner > .logo { grid-area: logo; }
.chat-page .topbar-inner { grid-template-areas: "logo nav user"; }
.mainnav { grid-area: nav; min-width: 0; }
.pvz-filter { grid-area: project; justify-self: end; min-width: 0; }
.userbox { grid-area: user; justify-self: end; min-width: 0; max-width: 100%; }
.logo {
font-family: var(--font-logo);
font-size: 0.95rem;
color: var(--income);
text-shadow: 0 0 10px rgba(0, 255, 156, 0.5);
letter-spacing: 0.02em;
}
.logo span { color: var(--cyan); text-shadow: 0 0 10px rgba(0, 224, 255, 0.5); }
.logo:hover { text-shadow: 0 0 14px rgba(0, 255, 156, 0.8); }
.logo-big { font-size: 1.4rem; margin-bottom: 1rem; display: block; text-align: center; }
.mainnav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.mainnav a {
padding: 0.5rem 0.8rem;
color: var(--muted);
border: 1px solid transparent;
border-radius: 6px;
min-height: 44px;
display: inline-flex;
align-items: center;
}
.mainnav a:hover { color: var(--text); text-shadow: none; border-color: var(--border); }
.mainnav a.active {
color: var(--cyan);
border-color: var(--border);
background: var(--panel-2);
box-shadow: inset 0 0 12px rgba(0, 224, 255, 0.08);
}
.pvz-filter { display: flex; align-items: center; gap: 0.5rem; }
.pvz-filter select { width: 17rem; max-width: 17rem; flex: 0 1 17rem; min-width: 10rem; }
.proj-switch {
display: inline-flex;
align-items: center;
gap: 0.45rem;
min-height: 44px;
padding: 0.4rem 0.9rem;
border: 1px solid rgba(0, 224, 255, 0.35);
border-radius: 8px;
background: var(--panel-2);
color: var(--cyan);
font-size: 0.8rem;
letter-spacing: 0.06em;
white-space: nowrap;
}
.proj-switch:hover {
border-color: var(--cyan);
box-shadow: 0 0 12px rgba(0, 224, 255, 0.35);
text-shadow: none;
}
.userbox { display: flex; align-items: center; gap: 0.5rem; }
.userbox > form, .userbox svg, .userbox .lk-badge, .userbox .act-badge { flex-shrink: 0; }
.uname-text { min-width: 0; max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.container { max-width: 1600px; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.panel {
background: var(--panel);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1rem;
}
.page-head {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 1rem;
}
.flash {
padding: 0.6rem 0.9rem;
border-radius: 8px;
margin-bottom: 1rem;
border: 1px solid;
}
.flash-err {
color: var(--expense);
border-color: rgba(255, 79, 216, 0.4);
background: rgba(255, 79, 216, 0.07);
}
.flash-ok {
color: var(--income);
border-color: rgba(0, 255, 156, 0.4);
background: rgba(0, 255, 156, 0.06);
}
.flash-warn {
color: var(--warn);
border-color: rgba(255, 215, 94, 0.4);
background: rgba(255, 215, 94, 0.06);
}
.toasts {
position: fixed;
top: 4.5rem;
right: 1rem;
z-index: 100;
display: flex;
flex-direction: column;
gap: 0.6rem;
max-width: min(26rem, calc(100vw - 2rem));
pointer-events: none;
}
.toast {
pointer-events: auto;
cursor: pointer;
padding: 0.7rem 1rem;
border-radius: 10px;
border: 1px solid;
background: var(--panel);
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
animation: toast-in 0.25s ease-out;
overflow-wrap: break-word;
}
.toast-err  { color: var(--expense); border-color: rgba(255, 79, 216, 0.55); box-shadow: 0 6px 24px rgba(0,0,0,0.55), 0 0 14px rgba(255, 79, 216, 0.25); }
.toast-ok   { color: var(--income);  border-color: rgba(0, 255, 156, 0.55);  box-shadow: 0 6px 24px rgba(0,0,0,0.55), 0 0 14px rgba(0, 255, 156, 0.25); }
.toast-warn { color: var(--warn);    border-color: rgba(255, 215, 94, 0.55); box-shadow: 0 6px 24px rgba(0,0,0,0.55), 0 0 14px rgba(255, 215, 94, 0.25); }
.toast-hide { opacity: 0; transform: translateX(0.75rem); transition: opacity 0.3s, transform 0.3s; }
@keyframes toast-in {
from { opacity: 0; transform: translateX(1.5rem); }
to   { opacity: 1; transform: none; }
}
.btn {
font-family: var(--font);
font-size: 0.95rem;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
min-height: 44px;
padding: 0.5rem 1rem;
border-radius: 8px;
border: 1px solid var(--border);
background: var(--panel-2);
color: var(--text);
cursor: pointer;
white-space: nowrap;
}
.btn:hover { border-color: var(--cyan); box-shadow: 0 0 10px rgba(0, 224, 255, 0.25); text-shadow: none; }
.btn-primary {
color: #04140c;
background: var(--income);
border-color: var(--income);
box-shadow: 0 0 14px rgba(0, 255, 156, 0.3);
font-weight: bold;
}
.btn-primary:hover { box-shadow: 0 0 22px rgba(0, 255, 156, 0.55); border-color: var(--income); }
.btn-warn {
color: #1a1408;
background: var(--warn);
border-color: var(--warn);
box-shadow: 0 0 14px rgba(255, 215, 94, 0.3);
font-weight: bold;
}
.btn-warn:hover { box-shadow: 0 0 22px rgba(255, 215, 94, 0.55); border-color: var(--warn); }
.dz-where { margin-top: 0.3rem; }
.dz-mini .dz-where a { color: var(--warn); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn[disabled] {
opacity: 0.35;
cursor: not-allowed;
box-shadow: none !important;
text-shadow: none;
filter: saturate(0.35);
}
.btn-green-outline {
border-color: rgba(0, 255, 156, 0.55);
background: rgba(0, 255, 156, 0.07);
color: var(--income);
box-shadow: 0 0 12px rgba(0, 255, 156, 0.25);
}
.btn-green-outline:hover:not(:disabled) {
box-shadow: 0 0 18px rgba(0, 255, 156, 0.5), inset 0 0 12px rgba(0, 255, 156, 0.08);
}
.btn-green-outline:disabled { opacity: 0.45; cursor: default; box-shadow: none; }
.btn-danger { background: transparent; color: var(--expense); border-color: rgba(255, 79, 216, 0.35); }
.btn-danger:hover { border-color: var(--expense); box-shadow: 0 0 10px rgba(255, 79, 216, 0.35); }
.btn-sm { min-height: 34px; padding: 0.25rem 0.6rem; font-size: 0.85rem; }
.btn-wide { width: 100%; }
select { overflow: hidden; overflow: clip; }
input, select, textarea {
font-family: var(--font);
font-size: 0.95rem;
color: var(--text);
background: var(--bg);
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.55rem 0.7rem;
width: 100%;
min-height: 44px;
}
textarea { min-height: auto; }
select {
-webkit-appearance: none;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236b7d8f' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0.7rem center;
padding-right: 2.1rem;
}
input:focus, select:focus, textarea:focus {
outline: none;
border-color: var(--cyan);
box-shadow: 0 0 8px rgba(0, 224, 255, 0.25);
}
input[type="checkbox"] { width: auto; min-height: auto; accent-color: var(--income); transform: scale(1.3); }
.form-grid input[type="checkbox"], .form-grid input[type="radio"],
.form-col input[type="checkbox"], .form-col input[type="radio"] { width: auto; flex: none; }
input[type="radio"] {
width: auto; min-height: auto; padding: 0; border: 0;
background: none; accent-color: var(--income); transform: scale(1.25);
}
label { display: flex; flex-direction: column; gap: 0.3rem; color: var(--muted); font-size: 0.9rem; }
label.chk { flex-direction: row; align-items: center; gap: 0.5rem; color: var(--text); min-width: 10rem; }
.form-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 0.9rem 1.1rem;
margin-top: 0.75rem;
}
.form-grid .span2 { grid-column: span 2; }
.form-grid input,
.form-grid select {
width: 100%;
min-width: 0;
max-width: 100%;
}
.fld {
display: flex;
flex-direction: column;
gap: 0.3rem;
color: var(--muted);
font-size: 0.9rem;
min-width: 0;
}
.op-tax-choice { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.45rem; }
.op-tax-locked { margin: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
.op-tax-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; }
.op-tax-option { position: relative; cursor: pointer; min-width: 0; }
.form-grid .op-tax-option input {
position: absolute;
left: 0;
top: 0;
width: 1px;
height: 1px;
min-height: 0;
padding: 0;
border: 0;
transform: none;
opacity: 0;
pointer-events: none;
}
.op-tax-option > span {
display: flex;
align-items: center;
justify-content: center;
min-height: 44px;
height: 100%;
padding: 0.45rem 0.4rem;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel-2);
color: var(--muted);
font-size: 0.75rem;
line-height: 1.3;
text-align: center;
}
.op-tax-option:hover > span { border-color: var(--cyan); color: var(--text); }
.op-tax-option input:checked + span {
border-color: var(--cyan);
color: var(--cyan);
background: rgba(0, 224, 255, 0.1);
box-shadow: 0 0 8px rgba(0, 224, 255, 0.2), inset 0 0 8px rgba(0, 224, 255, 0.06);
}
.op-tax-option input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.op-accrual-period {
display: grid;
grid-template-columns: minmax(0, 3fr) minmax(150px, 1fr);
gap: 0.9rem 1.1rem;
min-width: 0;
align-items: start;
}
.op-month-pick {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.4rem;
}
.op-month-option { position: relative; cursor: pointer; min-width: 0; }
.form-grid .op-month-option input {
position: absolute;
left: 0;
top: 0;
width: 1px;
height: 1px;
min-height: 0;
padding: 0;
border: 0;
transform: none;
opacity: 0;
pointer-events: none;
}
.op-month-option > span {
display: flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 0.35rem 0.3rem;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel-2);
color: var(--muted);
font-size: 0.82rem;
line-height: 1.2;
white-space: nowrap;
}
.op-month-option:hover > span { border-color: var(--cyan); color: var(--text); }
.op-month-option input:checked + span {
border-color: var(--cyan);
color: var(--cyan);
background: rgba(0, 224, 255, 0.1);
box-shadow: 0 0 8px rgba(0, 224, 255, 0.2), inset 0 0 8px rgba(0, 224, 255, 0.06);
}
.op-month-option input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
#opform .form-actions { flex-wrap: wrap; min-width: 0; }
@media (max-width: 900px) {
#opform { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
.op-accrual-period { grid-template-columns: minmax(0, 1fr); }
.op-month-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mp-pick { display: flex; gap: 0.4rem; }
.mp-pick-opt { cursor: pointer; position: relative; }
.mp-pick-opt input {
position: absolute;
left: 0;
top: 0;
width: 1px;
height: 1px;
min-height: 0;
opacity: 0;
pointer-events: none;
}
.mp-chip {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 48px;
min-height: 40px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel-2);
}
.mp-chip .mpico { width: 20px; height: 20px; }
.mp-pick-opt input:checked + .mp-chip {
border-color: var(--cyan);
box-shadow: 0 0 10px rgba(0, 224, 255, 0.35), inset 0 0 8px rgba(0, 224, 255, 0.08);
}
.mp-pick-opt input:disabled + .mp-chip { opacity: 0.28; cursor: not-allowed; }
.mp-hint { color: var(--expense); font-size: 0.82rem; }
.date-quick, .month-quick, .quick-row { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.date-quick .btn-sm, .month-quick .btn-sm, .quick-row .btn-sm {
min-height: 32px;
padding: 0.15rem 0.7rem;
font-size: 0.82rem;
}
.sum-hint {
color: var(--cyan);
font-size: 0.82rem;
text-shadow: 0 0 8px rgba(0, 224, 255, 0.45);
}
input[type="date"] {
-webkit-appearance: none;
appearance: none;
}
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.form-grid > label { min-width: 0; }
.form-grid { overflow: hidden; }
.chip-pick { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip-pick.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.chip-pick-opt { cursor: pointer; position: relative; min-width: 0; }
.chip-pick-opt input {
position: absolute;
left: 0;
top: 0;
width: 1px;
height: 1px;
min-height: 0;
opacity: 0;
pointer-events: none;
}
.chip {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 40px;
padding: 0.3rem 0.7rem;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel-2);
color: var(--text);
font-size: 0.85rem;
text-align: center;
}
.chip-pick-opt input:checked + .chip {
border-color: var(--cyan);
color: var(--cyan);
box-shadow: 0 0 10px rgba(0, 224, 255, 0.35), inset 0 0 8px rgba(0, 224, 255, 0.08);
}
.chip-pick-opt input:disabled + .chip { opacity: 0.28; cursor: not-allowed; }
.chip-pick-opt:has(input:disabled) { cursor: not-allowed; }
.pvz-mini { position: relative; height: 110px; margin: 0.5rem 0; overflow: hidden; }
.pvz-mini iframe {
display: block;
width: 100%;
height: 100%;
border: 0;
background: transparent;
pointer-events: none;
}
.pvz-mini .mini-house { transform: scale(0.55); }
.sel-card-off .sel-model iframe,
.sel-card-off .sel-model .sel-house { opacity: 0.45; filter: saturate(0.4); }
.sel-model > .stamp {
font-size: 1.15rem;
padding: 0.3rem 1rem;
border-width: 4px;
}
.pvz-status {
font-size: 0.72rem;
padding: 0.1rem 0.55rem;
border: 1px solid;
border-radius: 999px;
white-space: nowrap;
}
.st-open { color: var(--income); border-color: rgba(0, 255, 156, 0.45); }
.st-closed { color: var(--warn); border-color: rgba(255, 215, 94, 0.5); }
.st-not_opened { color: var(--burgundy); border-color: rgba(184, 85, 102, 0.55); }
.st-known { color: var(--cyan); border-color: rgba(0, 224, 255, 0.4); white-space: normal; }
.st-sold { color: var(--muted); border-color: var(--border); }
.sel-status-form { position: relative; z-index: 4; margin-top: 0.4rem; }
.sel-status-form select {
width: auto;
min-height: 32px;
padding: 0.15rem 0.5rem;
font-size: 0.8rem;
}
.proj-nonpvz { color: var(--burgundy); }
.chip.proj-nonpvz { color: var(--burgundy); border-color: rgba(184, 85, 102, 0.45); }
.uname-link {
display: inline-flex;
align-items: center;
min-width: 0;
gap: 0.4rem;
padding: 0.3rem 0.6rem;
border: 1px solid var(--border);
border-radius: 6px;
color: var(--cyan);
min-height: 34px;
}
.uname-link:hover { border-color: var(--cyan); box-shadow: 0 0 10px rgba(0, 224, 255, 0.25); text-shadow: none; }
.uname-link.active { background: var(--panel-2); box-shadow: inset 0 0 12px rgba(0, 224, 255, 0.08); }
.lk-badge {
font-size: 0.68rem;
color: var(--bg);
background: var(--cyan);
border-radius: 4px;
padding: 0 0.3rem;
line-height: 1.4;
}
.pb-subtitle { margin: 0.4rem 0 0.55rem; color: var(--muted); font-size: 0.9rem; }
.pb-list {
display: grid;
grid-template-columns: minmax(6.5rem, 11rem) minmax(0, 1fr) minmax(7.5rem, max-content);
align-items: center;
gap: 0.45rem 0.7rem;
margin-bottom: 1rem;
}
.pb-row { display: contents; }
.pb-name { font-size: 0.9rem; min-width: 0; overflow-wrap: break-word; }
.pb-bar {
position: relative;
height: 22px;
border: 1px solid var(--border);
border-radius: 4px;
background: var(--bg);
overflow: hidden;
}
.pb-fill { height: 100%; box-shadow: 0 0 10px rgba(255, 255, 255, 0.06) inset; }
.pb-pct {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-logo);
font-size: 0.55rem;
color: #fff;
text-shadow: 0 0 4px rgba(0, 0, 0, 0.95), 0 0 2px rgba(0, 0, 0, 0.95);
pointer-events: none;
}
.pb-money { text-align: right; white-space: nowrap; }
.pb-bar-warn { border-color: rgba(255, 215, 94, 0.6); box-shadow: inset 0 0 10px rgba(255, 215, 94, 0.12); }
.pb-bar-bare { border: 0; background: none; }
.pb-bar-bare .pb-fill { border-radius: 4px; }
.pb-bar-bare, .pb-bar-axis { position: relative; }
.pb-bar-bare::after, .pb-bar-axis::after {
content: '';
position: absolute;
top: 50%;
right: 0;
height: 2px;
margin-top: -1px;
opacity: 0.35;
background-image: repeating-linear-gradient(to right,
var(--dash, var(--border)) 0 5px, transparent 5px 11px);
pointer-events: none;
}
.pb-bar-bare::after { left: 0; }
.pb-bar-axis::after { left: 50%; }
.pb-bar-bare .pb-fill, .pb-bar-axis .pb-fill { position: relative; z-index: 1; }
.pb-bar-axis .pb-fill { position: absolute; }
.pb-bar-axis { border: 0; background: none; position: relative; }
.pb-bar-axis::before {
content: '';
position: absolute;
left: 50%;
top: 2px;
bottom: 2px;
width: 1px;
background: var(--border);
}
.pb-bar-axis .pb-fill { position: absolute; top: 2px; bottom: 2px; height: auto; }
.pb-bar-axis .pb-pos { left: 50%; border-radius: 0 4px 4px 0; }
.pb-bar-axis .pb-neg { right: 50%; border-radius: 4px 0 0 4px; }
.pvz-head-status { margin-top: 0.3rem; }
@media (max-width: 640px) {
.pb-list { grid-template-columns: minmax(3.6rem, 6.5rem) minmax(0, 1fr) minmax(5.2rem, max-content);
gap: 0.4rem 0.4rem; }
.pb-name { font-size: 0.72rem; }
.pb-money { font-size: 0.78rem; }
}
.fin-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.life-timer { color: var(--cyan); font-size: 0.9rem; white-space: nowrap; }
.stats-unpaid-control { margin: 0 0 0.8rem; min-width: 0; }
.stats-unpaid-toggle { max-width: 100%; white-space: normal; text-align: left; line-height: 1.45; }
.stats-unpaid-toggle[aria-pressed="true"] { border-color: var(--cyan); color: var(--cyan); background: var(--panel-2); box-shadow: inset 0 0 12px rgba(0, 224, 255, 0.1); }
.stats-unpaid-toggle[aria-busy="true"] { opacity: 0.65; cursor: progress; }
.stats-unpaid-status { margin: 0.5rem 0 0; color: var(--muted); }
.stats-unpaid-status[data-error="1"] { color: var(--expense); }
.stats-unpaid-note { margin: -0.35rem 0 0.7rem; }
.stats-unpaid-note-art { margin-top: 0; text-align: center; }
.mp-pick-hint { color: var(--cyan); font-size: 0.8rem; margin: -0.4rem 0 0.6rem; text-shadow: 0 0 8px rgba(0, 224, 255, 0.45); }
a.mp-chip { display: block; color: var(--text); border: 1px solid var(--border); border-radius: 8px; }
a.mp-chip:hover { text-shadow: none; border-color: var(--cyan); }
.mp-chip-on {
border-color: var(--cyan) !important;
background: var(--panel-2);
box-shadow: 0 0 14px rgba(0, 224, 255, 0.35), inset 0 0 12px rgba(0, 224, 255, 0.07);
}
.art-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.art-head .art-title { margin: 0; flex: 1; text-align: center; }
.art-arrow {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 44px;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--cyan);
font-size: 1.3rem;
line-height: 1;
}
.art-arrow:hover { border-color: var(--cyan); box-shadow: 0 0 10px rgba(0, 224, 255, 0.3); text-shadow: none; }
.art-body { animation: art-in 0.22s ease-out; }
@keyframes art-in { from { opacity: 0; transform: translateX(0.6rem); } to { opacity: 1; transform: none; } }
.art-out-left { opacity: 0; transform: translateX(-1.2rem); transition: all 0.16s ease-in; }
.art-out-right { opacity: 0; transform: translateX(1.2rem); transition: all 0.16s ease-in; }
.pvz-card[data-pvz] { cursor: pointer; }
.pvz-card[data-pvz]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.card-sold .pvz-mini iframe, .card-sold .pvz-mini .mini-house,
.card-closed .pvz-mini iframe, .card-closed .pvz-mini .mini-house {
opacity: 0.35;
filter: grayscale(0.8);
}
.stamp {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(-18deg);
border: 3px solid currentColor;
border-radius: 8px;
padding: 0.15rem 0.65rem;
font-family: var(--font-logo);
font-size: 0.8rem;
letter-spacing: 0.14em;
background: rgba(10, 14, 18, 0.55);
pointer-events: none;
z-index: 2;
}
.stamp-sold { color: #ff4f4f; box-shadow: 0 0 14px rgba(255, 79, 79, 0.35); }
.stamp-closed { color: var(--warn); box-shadow: 0 0 14px rgba(255, 215, 94, 0.3); }
.stamp-unopened { color: var(--burgundy); box-shadow: 0 0 14px rgba(184, 85, 102, 0.35); }
.ozc-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr));
gap: 0.9rem;
align-items: start;
margin-bottom: 1.25rem;
}
.ozc-card { display: flex; flex-direction: column; gap: 0.45rem; }
.ozc-card-off { opacity: 0.75; }
.ozc-ava-wrap { position: relative; width: 176px; align-self: center; }
.ozc-ava {
width: 176px; height: 176px; border-radius: 14px;
object-fit: cover; display: block;
border: 1px solid var(--border);
}
.ozc-ava-anon {
display: flex; align-items: flex-end; justify-content: center;
color: var(--muted); background: var(--panel-2); overflow: hidden;
}
.ozc-ava-anon svg { width: 80%; height: 80%; }
.ozc-photo-pencil {
position: absolute; top: 0.35rem; right: 0.35rem;
cursor: pointer;
background: rgba(10, 14, 18, 0.65);
border-radius: 6px;
}
.ozc-photo-trash {
position: absolute; top: 2.35rem; right: 0.35rem;
background: rgba(10, 14, 18, 0.65);
border-radius: 6px;
}
.ozc-ava-wrap .ozc-photo-pencil,
.ozc-ava-wrap .ozc-photo-trash {
color: var(--income);
background: rgba(10, 14, 18, 0.65);
}
.ozc-ava-wrap .ozc-photo-pencil:hover,
.ozc-ava-wrap .ozc-photo-trash:hover {
color: var(--income);
background: rgba(10, 14, 18, 0.82);
}
.ozc-del-contact { color: var(--burgundy); }
.ozc-del-contact:hover { color: #ff7a8c; }
.ozc-name {
font-size: 1.02rem;
overflow-wrap: anywhere;
}
.ozc-name-act {
float: right; display: flex; gap: 0.3rem;
margin-left: 0.4rem;
}
.ozc-phone-note { display: block; }
.cphone-row .tg-row { flex-wrap: wrap; }
.cphone-row .tg-row input:first-child { min-width: 13rem; }
.cphone-ext { flex: 0 0 4.5rem; }
.ozc-title { font-size: 0.86rem; }
.ozc-props div {
display: flex; justify-content: space-between; gap: 0.7rem;
padding: 0.12rem 0; min-width: 0;
}
.ozc-props dt { color: var(--income); font-size: 0.8rem; flex: none; }
.ozc-props dd { text-align: right; overflow-wrap: anywhere; word-break: break-word; }
.ozc-foot { margin-top: auto; padding-top: 0.3rem; }
.ozc-edit { display: flex; flex-direction: column; gap: 0.45rem; }
.ozc-edit label { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.8rem; color: var(--muted); }
.ozc-edit input, .ozc-edit select { width: 100%; }
.ozc-edit-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.ozc-add { max-width: 46rem; }
.ozc-add textarea { width: 100%; }
.pvz-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.25rem; }
.pvz-tabs .pvz-tab-on {
border-color: var(--cyan); color: var(--cyan);
box-shadow: 0 0 10px rgba(0, 224, 255, 0.25);
}
.ozc-company { font-size: 0.92rem; color: var(--text); }
.copy-tap { color: var(--cyan); cursor: pointer; }
.tg-row { display: flex; gap: 0.35rem; align-items: center; }
.tg-row input { flex: 1; min-width: 0; }
.tg-row .btn { flex: none; white-space: nowrap; }
.ozc-known .tg-row select { flex: 1; min-width: 0; }
.ozc-known .tg-row input { flex: none; width: 6.5rem; }
.team-matrix { border-collapse: collapse; }
.team-matrix th, .team-matrix td { padding: 0.3rem 0.55rem; border-bottom: 1px solid var(--border); }
.team-matrix th { font-size: 1rem; text-align: center; color: var(--muted); }
.team-matrix th:first-child { text-align: left; font-size: 0.78rem; letter-spacing: 0.05em; }
.team-matrix td:not(:first-child) { text-align: center; }
.team-matrix td.na { color: var(--border); }
.team-matrix .team-sub { padding-left: 1.3rem; }
.team-matrix input[type="checkbox"] { width: 1.05rem; height: 1.05rem; accent-color: var(--cyan); }
.keybox-panel { max-width: 26rem; margin: 0 auto 1.25rem; text-align: center; }
.keybox-code {
font-family: var(--font-logo);
font-size: 4.2rem;
letter-spacing: 0.45em;
padding-left: 0.45em;
color: var(--cyan);
text-shadow: 0 0 18px rgba(0, 224, 255, 0.35);
margin: 0.5rem 0 0.9rem;
}
.keybox-form { display: flex; gap: 0.5rem; justify-content: center; }
.keybox-form[hidden] { display: none; }
#net-edit-btn { margin-top: 1.4rem; }
.inet-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 460px));
gap: 1rem;
}
.inet-card {
border: 1px solid var(--border);
border-radius: 12px;
background: var(--panel-2);
padding: 1.1rem 1.2rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
.inet-head { display: flex; gap: 0.7rem; align-items: center; }
.inet-head svg {
width: 30px; height: 30px; flex: none;
fill: none; stroke: var(--income); stroke-width: 1.6;
stroke-linecap: round; stroke-linejoin: round;
}
.inet-head b { display: block; font-size: 1.02rem; }
.inet-sec {
border: 1px solid var(--border);
border-radius: 10px;
padding: 0.7rem 0.85rem 0.55rem;
}
.inet-sec-head {
display: flex; gap: 0.45rem; align-items: center;
color: var(--cyan);
font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em;
margin-bottom: 0.45rem;
}
.inet-sec-head svg {
width: 17px; height: 17px; flex: none;
fill: none; stroke: currentColor; stroke-width: 1.7;
stroke-linecap: round; stroke-linejoin: round;
}
.inet-kv { display: flex; flex-direction: column; font-size: 0.92rem; }
.inet-kv div {
display: flex; gap: 0.8rem; justify-content: space-between;
align-items: baseline; padding: 0.28rem 0;
}
.inet-kv div + div { border-top: 1px dashed var(--border); }
.inet-kv dt { color: var(--muted); flex: none; }
.inet-kv dd { margin: 0; min-width: 0; text-align: right; overflow-wrap: anywhere; }
.inet-kv code { white-space: normal; word-break: break-all; }
.inet-kv code.copy-tap { color: var(--cyan); cursor: pointer; }
.inet-card-off { opacity: 0.55; }
.inet-card-edit .inet-kv dt { flex: 0 0 12ch; }
.inet-card-edit .inet-kv dd { flex: 1; text-align: left; }
.inet-card-edit .inet-kv input {
width: 100%; min-width: 0;
padding: 0.28rem 0.5rem; font-size: 0.9rem;
}
.inet-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.inet-add-btn {
display: inline-flex; align-items: center; justify-content: center;
width: 46px; height: 46px; border-radius: 50%;
font-size: 1.45rem; line-height: 1; padding: 0;
margin-top: 1.4rem;
}
.inet-form { margin-top: 1rem; }
.inet-files { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.inet-files li {
display: flex; gap: 0.6rem; align-items: center;
justify-content: space-between; padding: 0.26rem 0;
}
.inet-files li + li { border-top: 1px dashed var(--border); }
.inet-file-del { color: var(--burgundy); }
.inet-file-add { margin-top: 0.45rem; }
.file-del-x {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
flex: none;
border-radius: 6px;
color: var(--burgundy);
border: 1px solid color-mix(in srgb, var(--burgundy) 55%, transparent);
background: color-mix(in srgb, var(--burgundy) 10%, transparent);
cursor: pointer;
transition: box-shadow 0.15s, background 0.15s, transform 0.1s;
}
.file-del-x svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.file-del-x:hover {
background: color-mix(in srgb, var(--burgundy) 22%, transparent);
box-shadow: 0 0 12px color-mix(in srgb, var(--burgundy) 60%, transparent);
}
.file-del-x:active { transform: scale(0.92); }
.sh-del-x { width: 16px; height: 16px; border-radius: 5px; margin-left: auto; }
.sh-del-x svg { width: 8px; height: 8px; }
.pdf-dz {
margin-top: 0.55rem;
padding: 0.9rem 0.7rem;
border: 0;
border-radius: 10px;
text-align: center;
cursor: pointer;
background:
repeating-linear-gradient(90deg, var(--cyan) 0 12px, transparent 12px 22px) top/100% 2px no-repeat,
repeating-linear-gradient(90deg, var(--cyan) 0 12px, transparent 12px 22px) bottom/100% 2px no-repeat,
repeating-linear-gradient(180deg, var(--cyan) 0 12px, transparent 12px 22px) left/2px 100% no-repeat,
repeating-linear-gradient(180deg, var(--cyan) 0 12px, transparent 12px 22px) right/2px 100% no-repeat,
rgba(0, 224, 255, 0.04);
transition: box-shadow 0.15s, background-color 0.15s;
}
.pdf-dz:hover, .pdf-dz.dz-hover {
background-color: rgba(0, 224, 255, 0.09);
box-shadow: 0 0 20px rgba(0, 224, 255, 0.25);
}
.pdf-dz .dz-file { display: none; }
.pdf-dz .dz-body { gap: 0.3rem; }
.pdf-dz-icon svg {
width: 30px;
height: 30px;
fill: none;
stroke: var(--cyan);
stroke-width: 1.6;
stroke-linecap: round;
stroke-linejoin: round;
filter: drop-shadow(0 0 6px rgba(0, 224, 255, 0.6));
}
.pdf-dz-title { margin: 0; color: var(--cyan); font-size: 0.92rem; }
.keybox-form input {
width: 7.5rem; text-align: center;
font-size: 1.4rem; letter-spacing: 0.3em;
}
.ozc-note > .muted { color: var(--income); }
.ozc-note {
display: flex; flex-direction: column; gap: 0.15rem;
white-space: pre-line; overflow-wrap: anywhere;
font-size: 0.88rem;
border-top: 1px dashed var(--border);
padding-top: 0.35rem;
}
.sub-ip-fields, .sub-org-fields { display: contents; }
.sub-ip-fields[hidden], .sub-org-fields[hidden] { display: none; }
.sub-quotes { display: flex; align-items: center; gap: 0.15rem; }
.sub-quotes input { flex: 1; min-width: 0; }
.sub-quote { color: var(--muted); font-size: 1.15rem; }
.pay-months-form { align-items: flex-end; }
.ym-rows { display: flex; flex-direction: column; gap: 0.35rem; }
.ym-row { display: flex; gap: 0.35rem; }
.ym-row select { min-width: 0; }
.ym-row select[name=ym_month] { min-width: 7.5rem; }
.ym-add { flex: none; }
.pay-months-form select[name=article] { flex-basis: 100%; max-width: 14rem; }
.pay-btnrow { display: flex; gap: 0.5rem; flex: none; align-items: center; }
.act-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 1.3rem;
height: 1.3rem;
padding: 0 0.3rem;
border-radius: 999px;
font-family: var(--font);
font-size: 0.72rem;
font-weight: bold;
line-height: 1;
letter-spacing: 0;
background: linear-gradient(180deg, #ff8f86, #e05252);
color: #1a0d0d;
border: 1px solid rgba(255, 143, 134, 0.7);
box-shadow: 0 0 10px rgba(255, 102, 102, 0.45),
inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.pay-sync { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.pay-secbar { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.9rem 0 0.6rem; }
.pay-sec {
display: inline-flex;
align-items: center;
gap: 0.45rem;
padding: 0.45rem 0.8rem;
border: 1px solid var(--border);
border-radius: 6px;
background: transparent;
color: var(--muted);
font-family: var(--font-logo);
font-size: 0.56rem;
letter-spacing: 0.06em;
text-transform: uppercase;
cursor: pointer;
}
.pay-sec:hover { border-color: var(--cyan); color: var(--text); }
.pay-sec.on {
color: var(--cyan);
border-color: var(--cyan);
box-shadow: 0 0 10px rgba(0, 224, 255, 0.25);
}
.pay-filters { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.85rem; }
.pay-flt-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; }
.pay-flt-cap {
flex: none;
width: 7.5rem;
font-size: 0.6rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted);
}
.flt-chip {
display: inline-flex;
align-items: center;
gap: 0.3rem;
border: 1px solid var(--border);
border-radius: 999px;
padding: 0.25rem 0.6rem;
background: transparent;
font-family: var(--font);
font-size: 0.82rem;
color: var(--muted);
cursor: pointer;
}
.flt-chip.on { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 8px rgba(0, 224, 255, 0.25); }
.flt-mp { padding: 0.25rem 0.5rem; }
.flt-mp .mpico { width: 1.05rem; height: 1.05rem; filter: grayscale(1) opacity(0.55); }
.flt-mp.on .mpico { filter: none; }
@media (max-width: 480px) {
.pay-flt-cap { width: 100%; }
}
.pay-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(430px, 100%), 1fr));
gap: 1rem;
margin-top: 0.5rem;
}
.pay-card[hidden] { display: none; }
.pay-card {
position: relative;
padding: 0.9rem 1rem 0.85rem;
display: flex;
flex-direction: column;
gap: 0.55rem;
clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
background:
linear-gradient(160deg, rgba(0, 224, 255, 0.05), transparent 38%),
var(--panel);
}
.pay-card::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 3px;
background: var(--cyan);
opacity: 0.75;
}
.pay-card.kind-ozon_bonus::before { background: var(--income); }
.pay-card.kind-ozon_other::before { background: var(--warn); }
.pay-card.st-wait::before { background: var(--warn); opacity: 1; }
.pay-card.st-wait .pay-purpose { border-left-color: var(--warn); }
.pay-card.st-wait .pay-sum { color: var(--warn); text-shadow: 0 0 12px rgba(255, 215, 94, 0.45); }
@keyframes pay-breathe { 0%, 100% { opacity: 0.85; } 50% { opacity: 0.3; } }
.pay-state,
.pay-badge {
display: inline-flex;
align-items: center;
white-space: normal;
border-radius: 4px;
padding: 0.1rem 0.5rem;
font-family: var(--font-logo);
font-size: 0.52rem;
letter-spacing: 0.05em;
}
.pay-badge { font-size: 0.68rem; }
.pay-state.st-wait,
.pay-badge.st-wait {
color: #1a1408;
background: var(--warn);
box-shadow: 0 0 12px rgba(255, 215, 94, 0.35);
}
.pay-state.st-done,
.pay-badge.st-done {
color: var(--income);
border: 1px solid rgba(0, 255, 156, 0.5);
background: rgba(0, 255, 156, 0.07);
}
.pay-staterow {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.35rem 0.6rem;
}
.pay-state-note { font-size: 0.8rem; }
.pay-top {
display: flex;
justify-content: flex-start;
align-items: center;
gap: 0.75rem;
padding-bottom: 0.5rem;
border-bottom: 1px dashed rgba(38, 51, 65, 0.9);
}
.pay-kind {
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-size: 0.74rem;
letter-spacing: 0.09em;
text-transform: uppercase;
color: var(--muted);
min-width: 0;
}
.pay-kind-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.7rem;
height: 1.7rem;
flex: none;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--bg);
box-shadow: inset 0 0 8px rgba(0, 224, 255, 0.12);
}
.pay-kind-icon .mpico { width: 1.05rem; height: 1.05rem; }
.pay-sum {
margin-left: auto;
font-size: 1.32rem;
font-weight: bold;
color: var(--income);
text-shadow: 0 0 12px rgba(0, 255, 156, 0.45);
white-space: nowrap;
}
.pay-meta { font-size: 0.76rem; color: var(--muted); }
.pay-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pay-tag-period { color: var(--cyan); border-color: rgba(0, 224, 255, 0.45); }
.pay-purpose {
font-size: 0.78rem;
color: var(--muted);
overflow-wrap: anywhere;
padding: 0.45rem 0.6rem;
border-left: 2px solid rgba(0, 224, 255, 0.35);
background: rgba(10, 14, 18, 0.65);
border-radius: 0 6px 6px 0;
}
.pay-note {
display: flex;
align-items: baseline;
gap: 0.5rem;
border: 1px solid var(--border);
border-radius: 6px;
padding: 0.5rem 0.7rem;
font-size: 0.88rem;
line-height: 1.4;
}
.pay-lamp {
flex: none;
width: 0.55rem;
height: 0.55rem;
border-radius: 50%;
align-self: center;
background: currentColor;
box-shadow: 0 0 8px currentColor;
}
.pay-note-warn .pay-lamp { animation: pay-breathe 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
.pay-note-warn .pay-lamp, .pay-card-pending::before { animation: none; }
}
.pay-recon {
display: flex;
align-items: center;
gap: 0.75rem;
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.5rem 0.7rem;
background: rgba(10, 14, 18, 0.5);
}
.recon-col { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.recon-cap {
font-size: 0.6rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted);
}
.recon-val { font-size: 0.92rem; white-space: nowrap; }
.recon-sep { color: var(--muted); font-size: 0.85rem; }
.recon-delta {
margin-left: auto;
padding-left: 0.75rem;
border-left: 1px dashed rgba(38, 51, 65, 0.9);
align-items: flex-end;
}
.recon-delta .recon-val { font-size: 1.08rem; font-weight: bold; }
.recon-minus { border-color: rgba(255, 215, 94, 0.45); }
.recon-minus .recon-delta .recon-val { color: var(--warn); text-shadow: 0 0 10px rgba(255, 215, 94, 0.35); }
.recon-plus { border-color: rgba(0, 255, 156, 0.4); }
.recon-plus .recon-delta .recon-val { color: var(--income); text-shadow: 0 0 10px rgba(0, 255, 156, 0.35); }
@media (max-width: 480px) {
.pay-recon { flex-wrap: wrap; gap: 0.5rem 0.6rem; }
.recon-sep { display: none; }
.recon-delta { margin-left: 0; border-left: 0; padding-left: 0; width: 100%; align-items: flex-start; }
}
.pay-note-warn { border-color: rgba(255, 215, 94, 0.5); color: var(--warn); background: rgba(255, 215, 94, 0.04); }
.pay-note-ok { border-color: rgba(0, 255, 156, 0.4); color: var(--income); background: rgba(0, 255, 156, 0.04); }
.pay-chip-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.5rem; }
.pay-chip {
display: inline-flex;
align-items: center;
gap: 0.3rem;
border: 1px solid var(--border);
border-radius: 999px;
padding: 0.25rem 0.6rem;
font-size: 0.82rem;
color: var(--muted);
cursor: pointer;
}
.pay-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay-alloc-note { margin-top: -0.2rem; }
.pay-pick-ozon { margin-top: 0.15rem; align-self: flex-start; }
.pay-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0.5rem;
margin-top: auto;
padding-top: 0.35rem;
}
.pay-chip-on,
.pay-chip:has(input:checked) { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 8px rgba(0, 224, 255, 0.25); }
.pay-chip:has(input:not(:checked)) { color: var(--muted); border-color: var(--border); box-shadow: none; }
.lk-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.lk-tabs a {
display: inline-flex;
align-items: center;
min-height: 40px;
padding: 0.45rem 0.9rem;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--muted);
}
.lk-tabs a:hover { color: var(--text); border-color: var(--cyan); text-shadow: none; }
.lk-tabs .act-badge { margin-left: 0.4rem; }
.lk-tabs a.active {
color: var(--cyan);
background: var(--panel-2);
box-shadow: inset 0 0 12px rgba(0, 224, 255, 0.08);
}
.lk-section-title { margin-top: 1.1rem; }
.section-panel { padding: 1rem; margin-top: 1rem; }
.bank-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
gap: 1rem;
margin-top: 0.75rem;
}
.bank-card { padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.bank-head { display: flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; }
.bank-soon { opacity: 0.55; }
.bank-soon-badge {
font-size: 0.72rem;
color: var(--warn);
border: 1px dashed var(--warn);
border-radius: 4px;
padding: 0.05rem 0.4rem;
}
.bank-org { display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid var(--border); padding-top: 0.6rem; }
.bank-org:first-of-type { border-top: 0; padding-top: 0; }
.bank-org-name { color: var(--warn); font-size: 0.95rem; }
.bank-connected { color: var(--income); }
.bank-check { border: 1px solid var(--border); border-radius: 6px; padding: 0.5rem 0.7rem; font-size: 0.9rem; }
.bank-check-ok { border-color: rgba(0, 255, 156, 0.5); color: var(--income); }
.bank-check-err { border-color: rgba(255, 79, 216, 0.5); color: var(--expense); }
.bank-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; }
.bank-connect-form { display: flex; flex-direction: column; gap: 0.6rem; }
.bank-token-input { width: 100%; resize: vertical; }
.support-mail { text-align: center; font-size: 1.2rem; }
main.container .auth-card { margin-left: auto; margin-right: auto; }
.support-mail a { color: var(--cyan); text-shadow: 0 0 10px rgba(0, 224, 255, 0.35); }
.org-new { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.4rem; }
#org-new-ip { display: flex; flex-direction: column; gap: 0.5rem; }
.team-card { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.team-head { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.team-summary { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; min-height: 44px; cursor: pointer; list-style: none; border-radius: 6px; }
.team-summary::-webkit-details-marker { display: none; }
.team-summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.team-summary > .team-head { flex: 1 1 16rem; min-width: 0; overflow-wrap: anywhere; }
.team-summary-action { display: inline-flex; align-items: center; gap: 0.6rem; margin-left: auto; color: var(--cyan); font-size: 0.85rem; }
.team-summary:hover .team-summary-action { text-decoration: underline; }
.team-chevron { width: 0.5rem; height: 0.5rem; flex-shrink: 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.team-permissions[open] > .team-summary .team-chevron { transform: rotate(225deg); }
.team-content { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.badge-ok { border-color: rgba(0, 255, 156, 0.5); color: var(--income); }
.badge-warn { border-color: rgba(255, 196, 0, 0.55); color: #ffc400; }
.team-block { display: flex; flex-direction: column; gap: 0.35rem; }
.team-checks { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.team-checks .chk { min-width: 0; }
.team-pvz { display: flex; flex-direction: column; gap: 0.3rem; }
.team-pvz-row {
display: flex;
align-items: center;
gap: 1rem;
flex-wrap: wrap;
padding: 0.25rem 0;
border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.team-mps { display: inline-flex; gap: 0.8rem; align-items: center; }
.team-mps .chk { min-width: 0; }
.form-col { display: flex; flex-direction: column; gap: 0.9rem; }
.form-actions { display: flex; gap: 0.75rem; align-items: center; }
fieldset.mp-set { border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem 1rem; }
fieldset.mp-set legend { color: var(--muted); padding: 0 0.5rem; font-size: 0.9rem; }
.mp-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; flex-wrap: wrap; }
.mp-row input[type="time"] { width: auto; }
.addbox summary { list-style: none; }
.addbox summary::-webkit-details-marker { display: none; }
.addbox[open] summary { margin-bottom: 0.5rem; }
.filterbar {
display: flex;
flex-wrap: wrap;
gap: 0.6rem;
margin-bottom: 1rem;
align-items: center;
}
.filterbar select { width: auto; min-width: 10rem; }
.msel { position: relative; }
.msel summary { list-style: none; }
.msel summary::-webkit-details-marker { display: none; }
.msel-btn { min-width: 8.5rem; justify-content: space-between; }
.msel-btn::after { content: '▾'; color: var(--muted); margin-left: 0.4rem; }
.msel[open] .msel-btn { border-color: var(--cyan); box-shadow: 0 0 10px rgba(0, 224, 255, 0.25); }
.msel-fixed { opacity: 0.55; cursor: default; pointer-events: none; }
.msel-fixed::after { content: none; }
.msel-pop {
position: absolute;
z-index: 30;
top: calc(100% + 0.35rem);
left: 0;
min-width: max(100%, 13rem);
max-width: min(22rem, calc(100vw - 2rem));
max-height: 310px;
overflow-y: auto;
padding: 0.4rem;
background: var(--panel-2);
border: 1px solid var(--border);
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 14px rgba(0, 224, 255, 0.12);
}
.msel-opt {
display: flex;
flex-direction: row;
align-items: center;
gap: 0.55rem;
padding: 0.45rem 0.55rem;
border-radius: 7px;
color: var(--text);
cursor: pointer;
white-space: nowrap;
}
.msel-opt:hover { background: rgba(0, 224, 255, 0.07); }
.msel-opt input[type="checkbox"] { flex: none; }
.msel-opt span { overflow: hidden; text-overflow: ellipsis; }
.cards {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
margin-bottom: 1.25rem;
}
.card {
background: var(--panel);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1rem;
}
.stat .stat-label { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.4rem; letter-spacing: 0.05em; text-transform: uppercase; }
.stat .stat-value { font-size: 1.45rem; text-align: left; text-shadow: 0 0 12px rgba(0, 224, 255, 0.12); }
.table-wrap { overflow-x: auto; padding: 0; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { padding: 0.55rem 0.75rem; text-align: left; }
table.data th {
color: var(--muted);
font-weight: normal;
font-size: 0.82rem;
text-transform: uppercase;
letter-spacing: 0.06em;
border-bottom: 1px solid var(--border);
white-space: nowrap;
}
table.data tbody tr { border-bottom: 1px solid rgba(38, 51, 65, 0.55); }
table.data tbody tr:hover { background: rgba(0, 224, 255, 0.03); }
td.actions { display: flex; gap: 0.4rem; align-items: center; }
td.actions form { display: inline; }
@media (min-width: 701px) and (max-width: 1379px) {
.ops-table table, .ops-table tbody { display: block; }
.ops-table thead { display: none; }
.ops-table tbody tr {
display: grid;
grid-template-columns: 30px minmax(0, 1fr) auto auto auto;
grid-template-areas:
"mp project project period  actions"
"mp cat     amount  note    actions"
"mp art     org     date    actions"
"mp purpose purpose purpose actions";
column-gap: 0.9rem;
row-gap: 0.15rem;
padding: 0.5rem 0.75rem;
align-items: baseline;
}
.ops-table tbody td { padding: 0; border: 0; }
.ops-table .op-col-mp { grid-area: mp; align-self: start; }
.ops-table .op-col-project { grid-area: project; }
.ops-table .op-col-category { grid-area: cat; }
.ops-table .op-col-amount { grid-area: amount; }
.ops-table .op-col-note { grid-area: note; }
.ops-table .op-col-org { grid-area: org; }
.ops-table .op-col-article { grid-area: art; }
.ops-table .op-col-purpose { grid-area: purpose; max-width: none; }
.ops-table .op-col-period { grid-area: period; justify-self: end; }
.ops-table .op-col-date { grid-area: date; justify-self: end; }
.ops-table .op-col-actions { grid-area: actions; align-self: center; }
.ops-table .op-col-note,
.ops-table .op-col-org,
.ops-table .op-col-article,
.ops-table .op-col-purpose,
.ops-table .op-col-date { font-size: 0.85rem; }
}
.overdue { color: var(--warn); text-shadow: 0 0 8px rgba(255, 215, 94, 0.4); }
.mpico { width: 17px; height: 17px; display: inline-block; vertical-align: -3px; }
.badge .mpico { width: 14px; height: 14px; vertical-align: -2px; margin-right: 0.15rem; }
td .mpico:hover { filter: drop-shadow(0 0 5px rgba(0, 224, 255, 0.5)); }
.row-mp { display: inline-block; min-width: 22px; }
.org-note { color: var(--muted); font-size: 0.8em; margin-left: 0.5rem; white-space: nowrap; }
table.data tr.subtotal td {
color: var(--muted);
border-bottom: 1px solid var(--border);
background: rgba(0, 224, 255, 0.025);
font-size: 0.9em;
}
table.data tr.subtotal td:first-child { padding-left: 1.6rem; }
table.data tr.grand-total td {
border-top: 2px solid var(--border);
background: rgba(0, 255, 156, 0.03);
font-weight: bold;
white-space: nowrap;
}
.pager { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.empty { color: var(--muted); padding: 1.5rem; text-align: center; }
.dropzone {
border: 2px dashed var(--border);
border-radius: 12px;
background: var(--panel);
padding: 1.75rem 1rem;
text-align: center;
margin-bottom: 1.25rem;
transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.dropzone.dz-hover {
border-color: var(--cyan);
background: rgba(0, 224, 255, 0.04);
box-shadow: 0 0 24px rgba(0, 224, 255, 0.25), inset 0 0 40px rgba(0, 224, 255, 0.05);
}
.dropzone .dz-file { display: none; }
.dz-mini {
padding: 0.9rem 0.7rem;
margin-bottom: 0;
border: 0;
background:
repeating-linear-gradient(90deg, var(--warn) 0 14px, transparent 14px 26px) top/100% 3px no-repeat,
repeating-linear-gradient(90deg, var(--warn) 0 14px, transparent 14px 26px) bottom/100% 3px no-repeat,
repeating-linear-gradient(180deg, var(--warn) 0 14px, transparent 14px 26px) left/3px 100% no-repeat,
repeating-linear-gradient(180deg, var(--warn) 0 14px, transparent 14px 26px) right/3px 100% no-repeat,
rgba(255, 215, 94, 0.05);
border-radius: 10px;
}
.dz-mini.dz-hover { box-shadow: 0 0 24px rgba(255, 215, 94, 0.35); background-color: rgba(255, 215, 94, 0.12); }
.dz-mini .dz-body { gap: 0.5rem; }
.dz-mini .dz-title { margin: 0; color: var(--warn); font-size: 0.95rem; }
.dz-body { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; }
.dz-body * { pointer-events: none; }
.dz-body .btn, .dz-body .btn *, .dz-body a { pointer-events: auto; }
.dz-icon {
font-size: 1.9rem;
line-height: 1;
color: var(--cyan);
text-shadow: 0 0 14px rgba(0, 224, 255, 0.5);
}
.dz-title { font-size: 1.05rem; }
.dropzone.dz-sending .dz-body { display: none; }
.dz-busy { color: var(--cyan); padding: 1rem 0; animation: dzpulse 1.2s ease-in-out infinite; }
@keyframes dzpulse { 50% { opacity: 0.45; } }
.confirm-box p { margin-bottom: 0.75rem; }
.confirm-box .table-wrap { margin: 0.75rem 0 1rem; }
.confirm-actions { flex-wrap: wrap; }
.confirm-mp { width: 28px; padding-right: 0; }
.btn-row-replace {
min-height: 32px;
padding: 0.25rem 0.8rem;
border: 1px solid rgba(0, 255, 156, 0.55);
border-radius: 8px;
background: rgba(0, 255, 156, 0.07);
color: var(--income);
font-family: var(--font);
font-size: 0.85rem;
cursor: pointer;
white-space: nowrap;
box-shadow: 0 0 10px rgba(0, 255, 156, 0.2);
}
.btn-row-replace:hover:not(:disabled) {
box-shadow: 0 0 16px rgba(0, 255, 156, 0.45), inset 0 0 10px rgba(0, 255, 156, 0.08);
}
.btn-row-replace:disabled { cursor: default; box-shadow: none; }
.btn-row-replace.applied {
opacity: 0.55;
border-color: rgba(0, 255, 156, 0.3);
background: rgba(0, 255, 156, 0.04);
}
.month-nav { display: flex; align-items: center; gap: 0.5rem; }
.month-form { display: flex; gap: 0.5rem; }
.month-form select { width: auto; }
.pvz-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
gap: 1rem;
}
.pvz-card { display: flex; flex-direction: column; gap: 0.55rem; }
.pvz-title { font-size: 1.1rem; color: var(--cyan); text-shadow: 0 0 10px rgba(0, 224, 255, 0.25); }
.addr { font-size: 0.9rem; }
.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.badge {
font-size: 0.78rem;
padding: 0.2rem 0.55rem;
border-radius: 999px;
border: 1px solid var(--border);
color: var(--muted);
white-space: nowrap;
}
.badge-wb   { color: var(--expense); border-color: rgba(255, 79, 216, 0.45); box-shadow: 0 0 8px rgba(255, 79, 216, 0.15); }
.badge-ozon { color: var(--cyan);    border-color: rgba(0, 224, 255, 0.45);  box-shadow: 0 0 8px rgba(0, 224, 255, 0.15); }
.badge-ym   { color: var(--warn);    border-color: rgba(255, 215, 94, 0.45); box-shadow: 0 0 8px rgba(255, 215, 94, 0.15); }
.kv { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.9rem; }
.kv div { display: flex; gap: 0.6rem; }
.kv dt { color: var(--muted); min-width: 11ch; }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.kv dd code { white-space: normal; overflow-wrap: anywhere; word-break: break-all; }
a.pvz-card { color: inherit; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
a.pvz-card:hover {
border-color: rgba(0, 224, 255, 0.45);
box-shadow: 0 0 16px rgba(0, 224, 255, 0.12);
}
.badge-3d {
color: var(--green);
border-color: rgba(0, 255, 156, 0.45);
box-shadow: 0 0 8px rgba(0, 255, 156, 0.15);
font-size: 0.7rem;
vertical-align: 2px;
}
.pvz-head-org { margin: 0.25rem 0 0; }
.pvz-head-addr { margin-top: 0.2rem; }
.model3d { margin-bottom: 1.25rem; }
.model3d iframe {
display: block;
width: 100%;
height: min(90vw, 480px);
border: 0;
background: transparent;
color-scheme: dark;
}
.model3d-note { text-align: center; margin-top: 0.35rem; }
.sel-photo { display: block; width: 100%; height: 100%; object-fit: cover;
border-radius: 10px; background: #0e141b; }
.shot-pair { position: relative; outline: none; }
.shot-one { display: none; }
.shot-one.shot-on { display: block; }
.shot-pair iframe { display: block; width: 100%; height: min(90vw, 480px);
border: 0; background: transparent; color-scheme: dark; }
.shot-frame { position: relative; width: min(100%, 560px); aspect-ratio: 4 / 3;
margin: 8px auto; }
.shot-photo { display: block; width: 100%; height: 100%; border-radius: 12px;
object-fit: cover; object-position: center; background: #0e141b; }
.shot-corner { position: absolute; width: 26px; height: 26px;
border: 2px solid var(--income); pointer-events: none;
filter: drop-shadow(0 0 6px rgba(0, 255, 156, 0.6)); }
.shot-corner-tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0;
border-radius: 8px 0 0 0; }
.shot-corner-tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0;
border-radius: 0 8px 0 0; }
.shot-corner-bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0;
border-radius: 0 0 0 8px; }
.shot-corner-br { bottom: -6px; right: -6px; border-left: 0; border-top: 0;
border-radius: 0 0 8px 0; }
.model3d {
display: flex; flex-wrap: wrap;
align-items: center; justify-content: center; gap: 0.7rem;
}
.model3d .stats-nav { position: static; transform: none; }
.model3d .stats-nav-prev { order: 1; }
.model3d .shot-pair { order: 2; flex: 1 1 320px; min-width: 0; }
.model3d .stats-nav-next { order: 3; }
.model3d-note { order: 4; flex: 0 0 100%; }
@media (max-width: 620px) {
.model3d .shot-pair { flex: 0 0 100%; }
.model3d .stats-nav-prev { order: 3; }
.model3d .stats-nav-next { order: 4; }
.model3d-note { order: 5; }
.shot-corner { width: 20px; height: 20px; }
}
.shot-edge { position: absolute; top: 0; bottom: 0; width: 16%; cursor: pointer;
touch-action: pan-y; }
.shot-edge-l { left: 0; }
.shot-edge-r { right: 0; }
.shot-dots { position: absolute; left: 50%; bottom: 0.4rem; transform: translateX(-50%);
display: flex; gap: 0.4rem; z-index: 2; }
.shot-dot { width: 7px; height: 7px; border-radius: 50%; background: #2a3442;
transition: background 0.15s ease; }
.shot-dot-on { background: var(--cyan); box-shadow: 0 0 8px rgba(0, 224, 255, 0.5); }
.shot-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
gap: 0.5rem; margin: -0.6rem 0 1.1rem; }
.shot-up, .shot-del { display: inline-flex; }
.btn-link-del { background: none; border: 0; color: var(--expense, #ff4f4f);
font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.4rem; }
.btn-link-del:hover { color: #fff; }
.model3d { position: relative; }
.model3d-house {
position: relative;
height: min(60vw, 300px);
overflow: hidden;
}
.model3d-house .sel-house { transform: scale(1.6); }
.model3d > .stamp {
top: 42%;
font-size: 1.15rem;
padding: 0.3rem 1rem;
border-width: 4px;
}
.model3d-off iframe, .model3d-off .model3d-house {
opacity: 0.35;
filter: grayscale(0.8);
}
.pvz-card-cols {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-bottom: 1.25rem;
}
.stats-page { display: flex; flex-direction: column; gap: 1rem; }
.stats-page > * { margin-bottom: 0 !important; margin-top: 0 !important; }
.kv-card dt { min-width: 14ch; }
.mp-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.mp-card {
border: 1px solid var(--border);
border-radius: 10px;
padding: 0.7rem 0.85rem;
background: var(--panel-2);
}
.mp-card-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
@media (max-width: 900px) {
.pvz-card-cols { grid-template-columns: 1fr; }
}
body.body-select {
height: 100vh;
height: 100dvh;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
body.body-select main.container {
flex: 1;
min-height: 0;
min-width: 0;
width: 100%;
padding: 0.8rem 1rem;
}
.select-screen {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.7rem;
height: 100%;
min-height: 0;
}
.select-title { text-align: center; }
.select-head {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.6rem;
}
.select-or { color: var(--muted); }
.select-actions {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}
.btn-create {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.45rem;
min-height: 44px;
padding: 0.5rem 1rem;
border: 1px solid rgba(0, 255, 156, 0.55);
border-radius: 8px;
background: rgba(0, 255, 156, 0.07);
color: var(--income);
white-space: nowrap;
box-shadow: 0 0 12px rgba(0, 255, 156, 0.25);
font: inherit;
cursor: pointer;
}
.btn-create:hover {
text-shadow: none;
box-shadow: 0 0 18px rgba(0, 255, 156, 0.5), inset 0 0 12px rgba(0, 255, 156, 0.08);
}
.topbar-select .topbar-inner {
display: flex;
justify-content: center;
flex-wrap: nowrap;
position: relative;
}
.topbar-select .logout-corner {
position: absolute;
right: max(1rem, env(safe-area-inset-right, 0px) + 0.75rem);
top: 50%;
transform: translateY(-50%);
}
.sel-carousel {
position: relative;
width: 100%;
flex: 1;
min-height: 0;
}
.sel-viewport {
overflow: hidden;
width: 100%;
height: 100%;
touch-action: pan-y;
}
.sel-track { display: flex; height: 100%; transition: transform 0.3s ease; }
.sel-card {
position: relative;
flex: 0 0 100%;
min-width: 0;
height: 100%;
display: flex;
flex-direction: column;
gap: 0.6rem;
}
.sel-model {
position: relative;
flex: 1;
min-height: 0;
}
.sel-model iframe {
display: block;
width: 100%;
height: 100%;
border: 0;
background: transparent;
color-scheme: dark;
pointer-events: none;
}
.sel-hit {
position: absolute;
inset: 0;
z-index: 3;
border: 0;
background: transparent;
border-radius: 12px;
cursor: pointer;
}
.sel-hit:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.sel-info {
display: flex;
flex-direction: column;
gap: 0.3rem;
text-align: center;
padding: 0.55rem 0.8rem;
background: var(--panel);
border: 1px solid var(--border);
border-radius: 10px;
transition: border-color 0.15s, box-shadow 0.15s;
flex: none;
width: min(100%, 640px);
margin: 0 auto;
}
.sel-card:hover .sel-info {
border-color: rgba(0, 224, 255, 0.45);
box-shadow: 0 0 18px rgba(0, 224, 255, 0.15), inset 0 0 24px rgba(0, 224, 255, 0.03);
}
.sel-name {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
flex-wrap: wrap;
}
.sel-label { color: var(--cyan); font-size: 1.05rem; text-shadow: 0 0 10px rgba(0, 224, 255, 0.25); }
.sel-addr { color: var(--muted); font-size: 0.78rem; line-height: 1.35; }
.sel-mps { display: inline-flex; gap: 0.4rem; align-items: center; }
.sel-mps .mpico { width: 18px; height: 18px; }
.sel-arrow {
position: fixed;
top: 50%;
transform: translateY(-50%);
z-index: 6;
min-width: 44px;
min-height: 44px;
padding: 0.5rem 0.85rem;
border: 1px solid rgba(0, 255, 156, 0.55);
border-radius: 8px;
background: rgba(0, 255, 156, 0.07);
color: var(--income);
font-family: var(--font);
font-size: 1.15rem;
cursor: pointer;
box-shadow: 0 0 12px rgba(0, 255, 156, 0.25);
}
#sel-prev { left: max(8px, env(safe-area-inset-left)); }
#sel-next { right: max(8px, env(safe-area-inset-right)); }
.sel-arrow:hover {
box-shadow: 0 0 18px rgba(0, 255, 156, 0.5), inset 0 0 12px rgba(0, 255, 156, 0.08);
}
.sel-dots { display: flex; gap: 0.6rem; justify-content: center; }
.sel-dot {
width: 12px;
height: 12px;
padding: 0;
border-radius: 50%;
border: 1px solid var(--border);
background: var(--panel-2);
cursor: pointer;
}
.sel-dot.active {
background: var(--cyan);
border-color: var(--cyan);
box-shadow: 0 0 8px rgba(0, 224, 255, 0.6);
}
@media (max-height: 650px) {
body.body-select main.container { padding: .5rem .75rem; }
.body-select .select-screen { gap: .5rem; }
.body-select .select-head { gap: .25rem; flex: none; }
.body-select .select-title { font-size: 1.1rem; line-height: 1.25; }
.body-select .select-or { display: none; }
.body-select .select-actions { gap: .4rem; }
.body-select .btn-create { min-height: 36px; padding: .4rem .6rem; font-size: .8rem; }
.body-select .theme-compact-footer { padding-bottom: .4rem; }
.body-select .theme-control-label { flex-basis: auto; }
.body-select .sel-house { transform: scale(.9); }
}
@media (max-height: 500px) and (min-width: 600px) {
.body-select .select-head { flex-direction: row; gap: .75rem; }
.body-select .sel-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.body-select .sel-info { align-self: center; }
.body-select .sel-card > form { position: absolute; inset: 0; }
}
@media (min-width: 900px) and (min-height: 760px) {
.sel-house { transform: scale(2); }
}
.sel-house {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
perspective: 700px;
transform: scale(1.35);
}
.sel-house::after {
content: '';
position: absolute;
left: 50%;
bottom: 16%;
width: 170px;
height: 28px;
transform: translateX(-50%);
background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5), transparent 70%);
}
.house-spin {
position: relative;
width: 120px;
height: 90px;
transform-style: preserve-3d;
animation: house-turn 30s linear infinite;
}
@keyframes house-turn {
from { transform: rotateX(-16deg) rotateY(0); }
to   { transform: rotateX(-16deg) rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
.house-spin { animation: none; transform: rotateX(-16deg) rotateY(-30deg); }
}
.house-spin > div { position: absolute; }
.hw { top: 30px; height: 60px; }
.hw-f {
left: 0;
width: 120px;
transform: translateZ(40px);
background: #46505b;
background-image:
linear-gradient(#5d6b79, #5d6b79),
linear-gradient(#5d6b79, #5d6b79),
linear-gradient(#333b44, #333b44);
background-repeat: no-repeat;
background-size: 18px 16px, 18px 16px, 22px 34px;
background-position: 16px 14px, 86px 14px, 49px 26px;
}
.hw-b { left: 0; width: 120px; transform: rotateY(180deg) translateZ(40px); background: #39434d; }
.hw-l { left: 20px; width: 80px; transform: rotateY(-90deg) translateZ(60px); background: #343d47; }
.hw-r { left: 20px; width: 80px; transform: rotateY(90deg) translateZ(60px); background: #4a5561; }
.hg {
top: 0;
left: 20px;
width: 80px;
height: 30px;
clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.hg-l { transform: rotateY(-90deg) translateZ(60px); background: #39434d; }
.hg-r { transform: rotateY(90deg) translateZ(60px); background: #4a5561; }
.hr {
top: 0;
left: 0;
width: 120px;
height: 50px;
transform-origin: top center;
}
.hr-f { transform: rotateX(53.13deg); background: #2c343d; }
.hr-b { transform: rotateX(-53.13deg); background: #29313a; }
.sel-soon {
position: absolute;
left: 0;
bottom: 8px;
width: 100%;
z-index: 2;
text-align: center;
color: var(--muted);
font-size: 0.8rem;
}
.auth-wrap {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 1.5rem 1rem;
}
.auth-card {
width: 100%;
max-width: 420px;
padding: 2rem 1.75rem;
box-shadow: 0 0 40px rgba(0, 224, 255, 0.07), 0 0 80px rgba(0, 255, 156, 0.04);
}
.auth-card h1 { text-align: center; margin-bottom: 1.25rem; }
.auth-card p { margin-top: 1.25rem; }
@media (max-width: 900px) {
.cards { grid-template-columns: repeat(2, 1fr); }
.form-grid { grid-template-columns: 1fr; }
.form-grid .span2 { grid-column: span 1; }
}
@media (max-width: 1250px) {
.topbar-inner {
grid-template-columns: auto minmax(0, 1fr);
grid-template-areas: "logo user" "nav nav" "project project";
}
.mainnav, .pvz-filter { width: 100%; }
.chat-page .topbar-inner { grid-template-areas: "logo user" "nav nav"; }
.pvz-filter select { width: 100%; max-width: none; flex: 1 1 auto; }
}
@media (max-width: 640px) {
body { font-size: 14px; }
.dropzone { padding: 1.1rem 0.75rem; }
.dz-title { font-size: 0.95rem; }
.topbar-inner { gap: 0.4rem 0.5rem; }
.mainnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.mainnav::-webkit-scrollbar { display: none; }
.mainnav.nav-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent 100%);
mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent 100%); }
.mainnav.nav-l { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px);
mask-image: linear-gradient(90deg, transparent 0, #000 36px); }
.mainnav.nav-l.nav-r {
-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); }
.mainnav a { min-height: 38px; padding: 0.4rem 0.55rem; }
.pvz-filter select { flex: 1; min-width: 0; }
.proj-switch { font-size: 0.72rem; padding: 0.3rem 0.6rem; min-height: 44px; }
.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.card { padding: 0.6rem 0.7rem; }
.stat .stat-label { font-size: 0.68rem; margin-bottom: 0.25rem; }
.stat .stat-value { font-size: 1.05rem; }
.page-head { flex-direction: column; align-items: stretch; }
.month-nav { justify-content: center; }
table.data th, table.data td { padding: 0.45rem 0.5rem; }
.clip { max-width: 16ch; }
.toasts { left: 1rem; right: 1rem; max-width: none; }
.filterbar { position: relative; }
.filterbar .msel { position: static; }
.filterbar .msel-btn { min-width: 0; }
.filterbar .msel-pop { left: 0; right: 0; min-width: 0; max-width: none; }
}
.stats-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; }
.stats-nav-prev { left: max(4px, env(safe-area-inset-left)); }
.stats-nav-next { right: max(4px, env(safe-area-inset-right)); }
.stats-nav .sel-arrow { position: static; transform: none; }
a.pb-fill { display: block; }
a.pb-fill:hover { filter: brightness(1.4); }
.pb-link { text-decoration: none; }
.pb-link:hover { text-decoration: underline; }
.pb-row:has(.pb-fill:hover) .pb-name,
.pb-row:has(.pb-money:hover) .pb-name,
.pb-name:hover {
text-decoration: underline;
text-decoration-color: var(--bar, currentColor);
text-decoration-thickness: 2px;
text-underline-offset: 3px;
}
.stats-page { will-change: transform, opacity; }
.stats-out-left  { animation: stats-out-left 0.22s ease-in forwards; }
.stats-out-right { animation: stats-out-right 0.22s ease-in forwards; }
.stats-in-left   { animation: stats-in-left 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.stats-in-right  { animation: stats-in-right 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes stats-out-left  { to { transform: translateX(-38px); opacity: 0; } }
@keyframes stats-out-right { to { transform: translateX(38px); opacity: 0; } }
@keyframes stats-in-left   { from { transform: translateX(-38px); opacity: 0; } }
@keyframes stats-in-right  { from { transform: translateX(38px); opacity: 0; } }
.stats-nav .sel-arrow { transition: transform 0.12s ease; }
.stats-nav .sel-arrow:active { transform: scale(0.92); }
@media (prefers-reduced-motion: reduce) {
.stats-out-left, .stats-out-right, .stats-in-left, .stats-in-right { animation: none; }
}
.art-in-left  { animation: art-in-left 0.24s ease-out; }
.art-in-right { animation: art-in-right 0.24s ease-out; }
@keyframes art-in-left  { from { opacity: 0; transform: translateX(-1.2rem); } }
@keyframes art-in-right { from { opacity: 0; transform: translateX(1.2rem); } }
.mp-row-wide { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.area-inp { max-width: 12rem; min-width: 8rem; }
.metro-way { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.dup-panel { margin-bottom: 0.75rem; }
.pvz-edit-btn { margin-left: 0.5rem; }
.pb-note { display: block; line-height: 1.2; }
.art-alltime { display: flex; justify-content: center; margin: -0.25rem 0 0.6rem; }
.payee-form { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; margin-top: 0.6rem; }
.payee-form input { min-width: 12rem; }
.metro-row { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; margin-bottom: 0.4rem; }
.metro-row input[type="text"] { min-width: 10rem; }
.lord-row { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; margin-bottom: 0.4rem; }
.lord-row input[type="text"] { min-width: 10rem; }
.lord-from { display: flex; gap: 0.35rem; align-items: center; margin: 0; }
.net-row { padding: 0.5rem 0; border-top: 1px dashed var(--line, #2a3441); }
.net-row:first-of-type { border-top: 0; padding-top: 0; }
.pay-sum-in { color: var(--ok, #21e08a); }
.pay-months-form { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.pay-months-form input { min-width: 11rem; }
.pay-purpose { margin: 0.35rem 0; }
.pay-card { position: relative; }
.px-check {
flex: none;
cursor: pointer;
line-height: 0;
display: inline-flex;
align-items: center;
}
.px-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.px-box {
display: block;
position: relative;
width: 20px;
height: 20px;
border: 2px solid var(--border);
background: rgba(10, 14, 18, 0.75);
box-shadow: inset 0 0 0 2px rgba(10, 14, 18, 0.9);
image-rendering: pixelated;
transition: border-color 0.12s, box-shadow 0.12s;
}
.px-check:hover .px-box { border-color: var(--cyan); }
.px-check input:focus-visible + .px-box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.px-check input:checked + .px-box {
border-color: var(--income, #00ff9c);
box-shadow: 0 0 10px rgba(0, 255, 156, 0.55), inset 0 0 0 2px rgba(10, 14, 18, 0.9);
}
.px-check input:checked + .px-box::before,
.px-check input:checked + .px-box::after {
content: '';
position: absolute;
background: var(--income, #00ff9c);
box-shadow: 0 0 6px rgba(0, 255, 156, 0.8);
}
.px-check input:checked + .px-box::before {
width: 4px; height: 9px; left: 4px; top: 7px; transform: rotate(-45deg);
}
.px-check input:checked + .px-box::after {
width: 4px; height: 14px; left: 11px; top: 2px; transform: rotate(35deg);
}
.bulk-bar {
position: sticky;
top: 0.4rem;
z-index: 5;
display: flex;
gap: 0.5rem;
align-items: center;
flex-wrap: wrap;
margin: 0.6rem 0;
padding: 0.5rem 0.7rem;
border: 1px solid var(--cyan);
border-radius: 10px;
background: var(--panel);
box-shadow: 0 0 14px rgba(0, 224, 255, 0.18);
}
.bulk-count { font-size: 0.85rem; color: var(--muted); }
.bulk-count b { color: var(--cyan); font-size: 1rem; }
.admin-filters { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.8rem; }
.admin-filters input[type="search"] { min-width: 15rem; }
.admin-users td { vertical-align: top; font-size: 0.9em; }
.admin-users .admin-row td:first-child { border-left: 2px solid #ff4f4f; }
.admin-edit { display: flex; gap: 0.6rem; align-items: flex-end; flex-wrap: wrap; }
.admin-edit label { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.85em; }
.admin-chk { flex-direction: row !important; align-items: center; gap: 0.35rem !important; }
.admin-edit-row td { background: var(--panel-2); }
.inline-form { display: inline-block; margin-left: 0.3rem; }
.btn-danger { border-color: rgba(255, 79, 79, 0.6); color: #ff4f4f; }
.admin-pvz-open { display: grid; grid-template-columns: minmax(280px, 40%) 1fr; gap: 1rem; }
.admin-pvz-model iframe { width: 100%; height: 320px; border: 0; background: transparent; color-scheme: dark; }
.admin-pvz-kv dt { min-width: 11rem; }
.admin-pvz-kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) {
.admin-pvz-kv div { flex-direction: column; gap: 0.1rem; }
.admin-pvz-kv dt { min-width: 0; }
}
.admin-pvz-viewers { grid-column: 1 / -1; }
.admin-pvz-viewers h4 { margin: 0.4rem 0; font-size: 0.95rem; color: var(--cyan); }
.admin-open-row td { background: var(--panel-2); }
.admin-pvz-edit {
grid-column: 1 / -1;
display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
padding-top: 0.4rem;
}
.admin-edit-note {
display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
margin: 0 0 0.8rem;
padding: 0.5rem 0.8rem;
border: 1px solid #ff4f4f55;
border-radius: 10px;
background: #ff4f4f14;
font-size: 0.92rem;
}
.login-blocked {
margin: 1.2rem 0;
padding: 1rem 1.2rem;
border: 2px solid #ff4f4f;
border-radius: 4px;
color: #ff4f4f;
font-family: var(--font-logo);
letter-spacing: 0.06em;
text-align: center;
box-shadow: 0 0 14px rgba(255, 79, 79, 0.25);
}
@media (max-width: 860px) { .admin-pvz-open { grid-template-columns: 1fr; } }
.rules-group { margin: 1.4rem 0 0.5rem; font-size: 1rem; color: var(--accent, #21e08a); }
.rules-table td { vertical-align: top; font-size: 0.92em; }
.rules-table td b { font-weight: 600; }
.adm-mark, .adm-badge {
font-family: var(--font-logo);
color: #ff4f4f;
letter-spacing: 0.12em;
text-transform: uppercase;
text-shadow: 0 0 6px rgba(255, 79, 79, 0.6);
image-rendering: pixelated;
}
.adm-mark {
margin-right: 0.7rem;
font-size: 0.62em;
padding: 0.22rem 0.55rem;
border: 1px solid rgba(255, 79, 79, 0.7);
border-radius: 2px;
vertical-align: middle;
}
.adm-badge {
display: inline-block;
margin: 0.35rem 1rem 0.35rem 0.2rem;
padding: 0.42rem 0.95rem;
line-height: 1.35;
border: 2px solid #ff4f4f;
border-radius: 2px;
font-size: 0.6em;
vertical-align: middle;
white-space: nowrap;
box-shadow: 0 0 10px rgba(255, 79, 79, 0.35), inset 0 0 8px rgba(255, 79, 79, 0.15);
}
.banks-all { margin-top: 0.6rem; }
.banks-all summary { cursor: pointer; color: var(--cyan, #00e0ff); font-size: 0.9em; }
.banks-all table { margin-top: 0.5rem; }
.pw-details summary { cursor: pointer; color: var(--muted); }
.pw-details code { font-size: 0.9em; }
.ops-more { min-height: 1px; text-align: center; }
.ops-more-spin { display: inline-block; padding: 0.6rem 0; color: var(--muted); font-size: 0.9rem; }
.sync-bar {
margin: 0.6rem 0 0.9rem;
padding: 0.7rem 0.9rem;
border: 1px solid var(--border);
border-radius: 10px;
background: var(--panel);
}
.sync-line {
height: 8px;
border-radius: 999px;
background: rgba(10, 14, 18, 0.85);
overflow: hidden;
}
.sync-fill {
display: block;
height: 100%;
width: 8%;
border-radius: 999px;
background: linear-gradient(90deg, var(--cyan), var(--income, #00ff9c));
box-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
transition: width 0.4s ease;
}
.sync-fill-err { background: linear-gradient(90deg, #ff9a4f, #ff4f4f); box-shadow: none; }
.sync-text { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; margin-top: 0.5rem; }
.sync-step { font-size: 0.92rem; }
.pay-sync button[disabled] { opacity: 0.55; cursor: default; }
.op-added { display: block; font-size: 0.78em; color: var(--muted); white-space: nowrap; }
.ops-sort { display: inline-flex; align-items: center; gap: 0.4rem; }
.ops-sort.on { border-color: var(--cyan); color: var(--cyan); }
.ops-sort-ico { font-size: 1.05em; line-height: 1; }
.lk-section-title { line-height: 1.9; margin-bottom: 1.5rem; }
.fot-card {
border: 1px solid var(--border);
border-radius: 12px;
background: var(--panel);
padding: 0.9rem 1rem;
margin-bottom: 0.8rem;
}
.fot-card-top {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
flex-wrap: wrap;
}
.fot-name { font-size: 1.05rem; }
.fot-role { color: var(--muted); font-size: 0.85rem; margin-top: 0.15rem; }
.fot-fixed { text-align: right; }
.fot-sum { font-size: 1.25rem; color: var(--income); }
.fot-note { color: var(--muted); font-size: 0.78rem; margin-top: 0.2rem; }
.fot-bar {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1rem;
flex-wrap: wrap;
margin-top: 0.9rem;
padding-top: 0.85rem;
border-top: 1px solid var(--border);
}
.fot-rule { color: var(--muted); font-size: 0.83rem; max-width: 64ch; line-height: 1.5; }
.fot-refresh-form { text-align: right; }
.fot-months { margin-top: 0.85rem; display: flex; flex-direction: column; gap: 0.55rem; }
.fot-month {
border: 1px solid var(--border);
border-radius: 10px;
background: var(--panel-2);
padding: 0.65rem 0.8rem;
}
.fot-month-top {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 0.8rem;
flex-wrap: wrap;
margin-bottom: 0.5rem;
}
.fot-month-name { font-size: 0.98rem; }
.fot-bonus { white-space: nowrap; font-size: 1.05rem; }
.fot-bonus.pos { color: var(--income); }
.fot-bonus.neg { color: var(--expense); }
.fot-open { opacity: 0.62; }
.fot-warn { color: var(--warn); font-size: 0.72rem; margin-left: 0.6rem; }
.formula {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 0.2rem 0.4rem;
line-height: 1.25;
}
.formula .fn {
display: inline-flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.formula .fn b { font-weight: normal; white-space: nowrap; }
.formula .fn i {
font-style: normal;
color: var(--muted);
font-size: 0.68rem;
margin-top: 0.1rem;
white-space: nowrap;
}
.formula .fx { color: var(--muted); padding-top: 0.05rem; }
.formula .pos { color: var(--income); }
.formula .neg { color: var(--expense); }
@media (max-width: 700px) {
.fot-card-top { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.fot-fixed { text-align: left; }
.fot-bar { flex-direction: column; }
.fot-refresh-form { text-align: left; }
.fot-warn { display: block; margin-left: 0; margin-top: 0.2rem; }
.formula { gap: 0.25rem 0.35rem; }
}
.fot-money { text-align: right; }
.fot-paid-form { margin-top: 0.35rem; }
.fot-paid {
display: inline-flex;
align-items: center;
gap: 0.4rem;
cursor: pointer;
color: var(--warn);
font-size: 0.78rem;
user-select: none;
}
.fot-paid input { accent-color: var(--income); cursor: pointer; margin: 0; }
.fot-paid.on { color: var(--income); }
.fot-paid-when { color: var(--muted); font-size: 0.7rem; margin-top: 0.15rem; }
.fot-paid-save { margin-left: 0.4rem; font-size: 0.75rem; }
.fot-unpaid { color: var(--warn); }
@media (max-width: 700px) {
.fot-money { text-align: left; }
}
.udel-card {
border: 1px solid var(--border);
border-radius: 12px;
background: var(--panel);
padding: 1rem 1.1rem;
max-width: 46rem;
}
.udel-who { font-size: 1rem; }
.udel-facts { margin: 0.7rem 0 0.9rem 1.1rem; line-height: 1.55; font-size: 0.86rem; }
.udel-network {
border: 1px solid var(--border);
border-radius: 10px;
background: var(--panel-2);
padding: 0.7rem 0.85rem;
margin-bottom: 0.9rem;
}
.udel-net-title { margin-bottom: 0.4rem; }
.udel-nets { font-size: 0.8rem; margin-bottom: 0.55rem; }
.udel-opt {
display: grid;
grid-template-columns: auto 1fr;
gap: 0.5rem;
align-items: start;
margin: 0.5rem 0;
cursor: pointer;
}
.udel-opt input { cursor: pointer; margin-top: 0.15rem; }
.udel-opt span { min-width: 0; }
.udel-opt.udel-danger span { color: var(--expense); }
.udel-select { margin: 0.15rem 0 0.4rem 1.6rem; max-width: 100%; }
.udel-confirm { display: block; margin: 0.6rem 0 0.9rem; }
.udel-confirm input { margin-left: 0.5rem; }
.udel-actions { display: flex; gap: 1rem; align-items: center; }
.udel-cancel { color: var(--muted); }
.udel-arch-title { margin-top: 1.6rem; }
.udel-link-row { margin-top: 1.6rem; }
.udel-link { color: var(--muted); font-size: 0.82rem; }
.udel-link:hover { color: var(--expense); }
.udel-nobody { margin: 0.4rem 0 0.2rem; }
.udel-taken { color: var(--warn); font-size: 0.72rem; margin-bottom: 0.25rem; }
.udel-restore input[type="email"] { max-width: 14rem; margin-bottom: 0.35rem; }
.reg-net { display: flex; flex-direction: column; gap: 0.2rem; }
.reg-pick {
display: grid;
grid-template-columns: auto 1fr;
gap: 0.5rem;
align-items: baseline;
margin: 0.5rem 0 0.2rem;
cursor: pointer;
}
.reg-pick input { flex: none; }
.reg-fields { display: flex; flex-direction: column; gap: 0.5rem; padding-left: 1.6rem; }
.reg-hint { font-size: 0.76rem; line-height: 1.45; margin: 0; }
.net-card { padding: 1rem; margin-bottom: 1rem; }
.net-title { margin: 0 0 0.7rem; font-size: 1.05rem; }
.net-form {
display: grid;
grid-template-columns: 1fr 1fr auto;
gap: 0.7rem;
align-items: end;
}
.net-form label { display: flex; flex-direction: column; gap: 0.25rem; }
.net-hint { margin-top: 0.7rem; line-height: 1.5; }
@media (max-width: 700px) {
.net-form { grid-template-columns: 1fr; }
}
.tr-card { padding: 1rem; margin-top: 1.2rem; border-color: rgba(255, 79, 79, .35); }
.tr-title { margin: 0 0 0.6rem; font-size: 1.05rem; }
.tr-what { line-height: 1.55; margin-bottom: 0.9rem; }
.tr-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0.7rem; align-items: end; }
.tr-form label { display: flex; flex-direction: column; gap: 0.25rem; }
@media (max-width: 700px) { .tr-form { grid-template-columns: 1fr; } }
.pvz-head-actions { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.tr-mps { grid-column: 1 / -1; }
.tr-mps-title { color: var(--muted); font-size: 0.8rem; margin-bottom: 0.35rem; }
.tr-mp {
display: inline-grid;
grid-template-columns: auto auto;
gap: 0.4rem;
align-items: center;
margin-right: 1rem;
cursor: pointer;
}
.tr-form { grid-template-columns: 1fr auto; }
@media (max-width: 700px) { .tr-form { grid-template-columns: 1fr; } }
.sh-bar { display: flex; justify-content: space-between; align-items: center;
gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.sh-nav { display: flex; align-items: center; gap: 0.6rem; }
.sh-month { font-size: 1.05rem; color: var(--cyan); letter-spacing: 0.06em;
min-width: 10.5ch; text-align: center; }
.sh-dis { opacity: 0.3; pointer-events: none; }
.sh-mp { display: flex; gap: 0.4rem; align-items: center; }
.sh-mp .mp-chip { display: inline-flex; align-items: center; justify-content: center;
min-width: 40px; min-height: 34px; padding: 0.15rem 0.5rem; border: 1px solid #2b3440;
border-radius: 8px; cursor: pointer; color: var(--text); text-decoration: none; }
.sh-mp-on { border-color: var(--cyan) !important; color: var(--cyan) !important;
box-shadow: 0 0 10px rgba(0, 224, 255, 0.35); }
.sh-cal { padding: 0.75rem; margin-bottom: 1rem; overflow-x: auto; }
.sh-grid { display: grid; grid-template-columns: repeat(7, minmax(96px, 1fr));
gap: 6px; margin-bottom: 6px; min-width: 720px; }
.sh-head-row div { text-align: center; color: var(--dim); font-size: 0.8rem;
padding: 0.2rem 0; }
.sh-head-row .sh-we { color: #b48ead; }
.sh-pt { border-top: 1px dashed #232b35; margin-top: 0.3rem;
padding-top: 0.25rem; }
.sh-pt:first-of-type { border-top: none; margin-top: 0.1rem; }
.sh-pt-name { display: block; font-size: 0.7rem; color: var(--cyan);
text-decoration: none; overflow: hidden; text-overflow: ellipsis;
white-space: nowrap; margin-bottom: 0.1rem; }
.sh-pt-name:hover { text-decoration: underline; }
.sh-day-all .sh-slot { gap: 0.25rem; }
.sh-day-all .sh-mpico-row .mpico { width: 14px; height: 14px; }
.sh-all-note { margin-bottom: 0.5rem; }
.sh-cal .sh-day, .sh-cal .sh-slot { touch-action: pan-y pinch-zoom;
-webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.sh-day { border: 1px solid #232b35; border-radius: 10px; padding: 0.35rem;
min-height: 86px; cursor: pointer; background: rgba(255, 255, 255, 0.015);
transition: border-color 0.15s, box-shadow 0.15s; }
.sh-day:hover { border-color: var(--cyan);
box-shadow: 0 0 12px rgba(0, 224, 255, 0.25); }
.sh-day-all { cursor: default; max-height: 15rem; overflow-y: auto; }
.sh-day-all:hover { border-color: #232b35; box-shadow: none; }
.sh-void { visibility: hidden; }
.sh-busy { opacity: 0.55; pointer-events: none; }
.sh-wknd { background: rgba(180, 142, 173, 0.05); }
.sh-today { border-color: var(--green, #00ff9c);
box-shadow: 0 0 0 1px var(--green, #00ff9c),
inset 0 0 10px rgba(0, 255, 156, 0.12); }
.sh-num { font-family: var(--font-logo); font-size: 0.6rem; color: var(--dim);
letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.sh-today .sh-num { color: var(--green, #00ff9c); }
.sh-slot { display: flex; align-items: center; gap: 0.3rem;
padding: 2px 5px 2px 6px; margin: 2px 0;
min-height: 24px; font-size: 0.78rem; overflow: hidden;
background: rgba(0, 224, 255, 0.05);
border-left: 2px solid rgba(0, 224, 255, 0.55);
border-radius: 0 6px 6px 0; }
.sh-slot:has(.sh-sub) { background: rgba(229, 192, 123, 0.06);
border-left-color: rgba(229, 192, 123, 0.6); }
.sh-slot:has(.sh-paid) { background: rgba(0, 255, 156, 0.05);
border-left-color: rgba(0, 255, 156, 0.55); }
.sh-mpico { flex: 0 0 auto; transform: scale(0.8); display: inline-flex; }
.sh-slot:not(.sh-free) { display: grid;
grid-template-columns: auto 1fr auto; align-items: center;
row-gap: 2px; }
.sh-slot .sh-ava { grid-column: 1; grid-row: 1;
width: 32px; height: 32px; }
.sh-slot .sh-mpico-row { grid-column: 2; grid-row: 1; justify-self: start; }
.sh-slot .sh-del-form { grid-column: 3; grid-row: 1; justify-self: end; }
.sh-who { grid-column: 1 / 3; grid-row: 2; white-space: normal;
min-width: 0; line-height: 1.2; }
.sh-slot .sh-sum { grid-column: 3; grid-row: 2; justify-self: end; }
.sh-who em { color: var(--dim); font-style: normal; }
.sh-sub { color: #e5c07b; }
.sh-who.sh-sub { overflow-wrap: anywhere; text-overflow: clip; }
.sh-sub-contacts { grid-column: 1 / -1; grid-row: 3; min-width: 0;
display: flex; flex-direction: column; gap: 0.2rem;
font-size: 0.68rem; line-height: 1.35; color: var(--muted); }
.sh-sub-contact { display: flex; align-items: flex-start; gap: 0.25rem; min-width: 0; }
.sh-sub-contact .ct-ico { margin-top: 0.1em; }
.sh-sub-contact > span { min-width: 0; overflow-wrap: anywhere; }
.sh-passport-link { color: var(--cyan); overflow-wrap: anywhere; text-decoration: underline; }
.sh-passport-missing { color: var(--muted); overflow-wrap: anywhere; }
.sh-contacts-lost, .day-passport-restore { color: #e5c07b; }
.sh-paid { color: var(--green, #00ff9c); }
.sh-empty { color: #39434f; }
.sh-editor { margin-bottom: 0.7rem; border-color: var(--cyan);
padding: 0.75rem 0.9rem; }
.sh-editor h2 { font-size: 1.05rem; margin-bottom: 0.1rem; }
.sh-dayform { gap: 0.55rem 0.8rem; margin-top: 0.5rem; }
.sh-dayform input[type="text"], .sh-dayform input[type="number"], .sh-dayform input[type="tel"],
.sh-dayform select { min-height: 36px; padding: 0.35rem 0.6rem; }
.sh-dayform .fld > span, .sh-dayform label { font-size: 0.82rem; }
.sh-dayform .chip { padding: 0.3rem 0.6rem; font-size: 0.8rem; }
.day-sub-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.55rem 0.8rem; margin-top: 0.35rem; min-width: 0; }
.day-sub-fields[hidden] { display: none; }
.day-sub-fields label { min-width: 0; }
.day-sub-hint, .day-sub-passport { grid-column: 1 / -1; margin: 0; }
.day-sub-passport { display: grid; gap: 0.4rem; }
.day-sub-passport input[type="file"] { max-width: 100%; min-width: 0; }
.day-sub-passport .sh-passport-link { justify-self: start; font-size: 0.8rem; }
.day-passport-restore { margin: 0; }
.day-sub-label { display: flex; align-items: center; min-height: 1.45em; }
.day-hours { display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(7.5rem, 100%), 1fr));
gap: 0.4rem; }
.sh-dayform .day-hours .chip { width: 100%; min-height: 44px;
white-space: normal; line-height: 1.25; padding: 0.45rem; }
.day-hours input:focus-visible + .chip { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 700px) {
.day-sub-fields { grid-template-columns: minmax(0, 1fr); }
}
.day-people { display: flex; flex-wrap: wrap; gap: 0.5rem;
margin-bottom: 0.35rem; }
.day-emp-on { border-color: var(--cyan) !important;
color: var(--cyan) !important; background: rgba(0, 224, 255, 0.08); }
.day-people[hidden], .day-picked-other[hidden] { display: none; }
.day-people .day-emp { min-height: 52px; min-width: 0; max-width: 100%;
padding: 0.5rem 0.65rem; justify-content: flex-start; gap: 0.55rem;
text-align: left; white-space: normal; }
.day-home-people .day-emp { flex: 0 1 14rem; }
.day-home-people .day-emp-sub { flex-basis: auto; }
.day-emp .ava { flex: none; }
.day-emp-caption { display: flex; flex-direction: column; gap: 0.15rem;
min-width: 0; }
.day-emp-name { overflow-wrap: anywhere; }
.day-emp-rate { color: var(--muted); font-size: 0.68rem;
font-variant-numeric: tabular-nums; }
.day-emp-on .day-emp-rate { color: var(--cyan); }
.day-emp-rate.day-rate-missing { color: var(--muted); }
.day-emp-inactive { border-style: dashed; }
.day-others { border-block: 1px solid var(--border); min-width: 0; }
.day-others-toggle { display: flex; align-items: center; gap: 0.6rem;
width: 100%; min-height: 48px; padding: 0.65rem 0.25rem; border: 0;
border-radius: 0; background: transparent; color: var(--text);
font: inherit; font-size: 0.85rem; text-align: left; cursor: pointer; }
.day-others-toggle:hover, .day-others-toggle[aria-expanded="true"] {
color: var(--cyan); background: linear-gradient(90deg, rgba(0,224,255,0.045), transparent); }
.day-others-toggle:focus-visible { outline: 2px solid var(--cyan);
outline-offset: -2px; border-radius: 4px; }
.day-others-icon, .day-others-chevron { flex: none; }
.day-others-icon { color: var(--muted); }
.day-others-title { font-weight: bold; }
.day-others-count { padding: 0.1rem 0.4rem; border-radius: 4px;
background: var(--panel-2); color: var(--muted); font-size: 0.7rem;
font-variant-numeric: tabular-nums; }
.day-others-action { margin-left: auto; color: var(--muted); font-size: 0.72rem; }
.day-others-chevron { transition: transform 160ms ease; }
.day-others-toggle[aria-expanded="true"] .day-others-chevron { transform: rotate(180deg); }
.day-all-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr));
gap: 0.5rem; margin: 0; padding: 0.3rem 0 0.8rem; }
.day-all-people .day-emp { width: 100%; height: 100%; }
.day-picker-group { display: flex; align-items: center; gap: 0.7rem;
grid-column: 1 / -1; padding: 0.6rem 0 0.15rem; font-size: 0.72rem;
color: var(--muted); }
.day-picker-group::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.day-picker-empty { grid-column: 1 / -1; margin: 0; padding: 0.5rem 0; }
.day-rate-hint { display: block; line-height: 1.5; }
.day-picked-other { margin: 0.25rem 0; color: var(--cyan); overflow-wrap: anywhere; }
@media (max-width: 480px) {
.sh-day-page-head { align-items: flex-start; gap: 0.65rem; }
.sh-day-page-head h1 { font-size: 1.15rem; }
.sh-day-page-head > .btn { min-height: 40px; padding: 0.4rem 0.55rem; font-size: 0.75rem; }
.day-home-people .day-emp { flex: 1 1 12rem; }
.day-home-people .day-emp-sub { flex: 0 0 auto; }
.sh-dayform .form-actions > .btn { flex: 1 1 auto; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
.day-others-chevron { transition: none; }
}
.sh-paidbox .chip { min-width: 8rem; }
.sh-stats table tfoot th { border-top: 1px solid #2b3440; padding-top: 0.5rem; }
.sh-emps { display: grid; gap: 0.5rem; align-items: start;
grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); }
.sh-emp-row { display: grid; grid-template-columns: minmax(9rem, 1.3fr) 7rem minmax(9rem, 1fr) auto;
gap: 0.5rem; align-items: center; }
.sh-emp-row input, .sh-emp-row select { min-height: 38px; }
.sh-emp-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emp-name-tag { flex: 0 0 auto; }
.emp-card-tm .emp-name-wrap { flex-wrap: wrap; }
.emp-card-tm .emp-name-2l { flex: 1 1 auto; min-width: 5rem; }
.emp-card-tm .emp-name-tag { flex: 1 1 100%; }
.emp-note { margin-bottom: 0.45rem; }
.emp-note-view { display: block; white-space: pre-wrap; overflow-wrap: anywhere; }
.emp-note-edit { display: none; }
.emp-note-edit textarea { width: 100%; box-sizing: border-box; resize: vertical; }
.emp-card-edit:has(> .emp-note-editor-row) .emp-note-view { display: none; }
.emp-card-edit .emp-note-edit { display: block; }
.sub-f { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.85rem; color: var(--muted); }
.sub-f input, .sub-f textarea { width: 100%; box-sizing: border-box; color: var(--text); }
.sub-f textarea { resize: vertical; }
.emp-card-sub .emp-name-wrap { flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.emp-card-sub .emp-name-tag { flex: none; white-space: normal; line-height: 1.2; }
.emp-rate-line .btn-pencil + .btn-pencil { margin-left: -0.35rem; }
.emp-rate-mps { display: flex; flex-direction: column; gap: 0.3rem;
align-items: flex-start; flex: 0 1 auto; min-width: 0; max-width: 100%; }
.emp-rate-line, .emp-mps-line { display: flex; align-items: center;
gap: 0.35rem; flex-wrap: wrap; max-width: 100%; }
.emp-row-actions { display: flex; flex-direction: column; gap: 0.3rem;
align-items: stretch; flex: 0 0 auto; }
.emp-row-actions .btn-xs.btn-danger { margin-left: 0; }
.emp-card-foot { margin-top: 0.5rem; padding-top: 0.4rem;
border-top: 1px dashed #232b35; }
.emp-name-wrap { display: flex; align-items: center; gap: 0.35rem;
min-width: 0; flex: 1 1 auto; }
.btn-pencil { flex: 0 0 auto; display: inline-flex; align-items: center;
justify-content: center; min-width: 26px; min-height: 26px;
padding: 0; border: none; border-radius: 7px; background: none;
color: #5b6676; cursor: pointer; transition: color 0.15s, background 0.15s; }
.btn-pencil:hover { color: var(--cyan); background: rgba(0, 224, 255, 0.1); }
@media (max-width: 700px) {
.btn-pencil { min-width: 36px; min-height: 36px; }
}
.sh-emp-off { opacity: 0.45; }
.sh-newemp { margin-top: 0.8rem; }
.sh-newemp summary { list-style: none; display: inline-block; cursor: pointer; }
.sh-newemp .sh-emp-row { grid-template-columns: 1fr 1fr 7rem minmax(9rem, 1fr) auto;
margin-top: 0.6rem; }
@media (max-width: 700px) {
.sh-emp-row, .sh-newemp .sh-emp-row { grid-template-columns: 1fr 1fr; }
}
.sh-emp-actions { display: flex; gap: 0.6rem; margin-top: 0.9rem; flex-wrap: wrap; align-items: center; }
.sh-addform { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.sh-newinline { display: contents; }
.sh-newinline input { min-height: 38px; max-width: 11rem; }
.sh-opt-new { background: rgba(0, 230, 118, 0.22); color: var(--income, #00e676); font-weight: 600; }
.sh-newemp-top { margin: 0 0 0.8rem; }
.sh-addform select { min-height: 38px; flex: 1 1 14rem; min-width: 0; max-width: 100%; }
.emp-card { border: 1px solid #232b35; border-radius: 10px; padding: 0.5rem 0.6rem; }
.emp-card .sh-emp-row { display: flex; flex-wrap: wrap; align-items: center;
gap: 0.35rem 0.5rem; }
.emp-card .sh-emp-row > .btn, .emp-card .sh-emp-row > button { flex: 0 0 auto; }
.emp-proj-label { flex: 0 1 auto; min-width: 0; max-width: 22rem;
color: var(--dim);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emp-proj-label::after { content: " ·"; color: #39434f; }
.hist-list { list-style: none; display: flex; flex-direction: column;
gap: 0.35rem; font-size: 0.85rem; }
.hist-list li { display: flex; gap: 0.4rem; align-items: baseline;
color: var(--dim); }
.hist-list b { color: var(--text); }
.sh-emp-new { grid-template-columns: 1fr 1fr 7rem minmax(9rem, 1fr) auto; }
@media (max-width: 700px) {
.emp-card .sh-emp-row, .sh-emp-new { grid-template-columns: 1fr 1fr; }
}
.rate-dlg { border: 1px solid var(--cyan); border-radius: 12px; background: #0d1218;
color: var(--text); padding: 0; margin: auto;
width: min(24rem, calc(100vw - 2rem)); max-width: 24rem; }
.rate-dlg::backdrop { background: rgba(0, 0, 0, 0.6); }
.rate-dlg-box { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.rate-dlg-box h3 { font-size: 1rem; color: var(--cyan); }
.rate-dlg-box input[type="date"] { min-height: 44px; }
.emp-head { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.emp-proj { border-top: 1px dashed #232b35; margin-top: 0.5rem; padding-top: 0.5rem; }
.emp-addproj { margin-top: 0.6rem; }
.sh-emp-row-cal { grid-template-columns: minmax(9rem, 1.2fr) 7rem auto auto auto; }
@media (max-width: 700px) {
.emp-card .sh-emp-row, .sh-emp-row-cal { gap: 0.3rem 0.4rem; }
}
.sh-row-mps { display: inline-flex; gap: 0.25rem; }
.sh-row-mps .mp-chip { min-width: 34px; min-height: 28px; border-radius: 7px; }
.sh-row-mps .mp-chip .mpico { width: 16px; height: 16px; }
.sh-emp-row-cal { display: flex; flex-direction: column;
align-items: flex-start; gap: 0.5rem; }
.sh-emp-row-cal > * { max-width: 100%; min-width: 0; }
.sh-emp-row-cal .emp-row-actions .btn { max-width: 100%;
white-space: normal; }
.sh-emp-row-cal .sh-emp-name { flex: 0 1 auto; min-width: 0; max-width: 22rem; }
.sh-sum-free { color: var(--warn, #e5c07b); opacity: 1; }
.sh-free-tag { margin-left: 0.4rem; padding: 0.05rem 0.4rem; border-radius: 6px;
border: 1px solid rgba(229, 192, 123, 0.5); color: var(--warn, #e5c07b);
font-size: 0.7rem; letter-spacing: 0.04em; vertical-align: middle; }
.sh-slot .sh-sum { margin-left: auto; color: var(--text); font-size: 0.74rem;
flex: 0 0 auto; font-variant-numeric: tabular-nums; opacity: 0.85; }
.sh-day-total { border-top: 1px dashed rgba(0, 224, 255, 0.25);
margin-top: 0.35rem; padding-top: 0.3rem; font-size: 0.72rem; }
.sh-tot-row { display: flex; justify-content: space-between; gap: 0.4rem;
align-items: center; color: var(--dim); font-weight: 700; }
.sh-tot-row span { font-family: var(--font-logo); font-size: 0.5rem;
letter-spacing: 0.06em; text-transform: uppercase; }
.sh-tot-row b { font-weight: 700; font-variant-numeric: tabular-nums; }
.sh-tot-fine, .sh-tot-fine b { color: #ff6b6b; }
.sh-tot-bonus, .sh-tot-bonus b { color: var(--green, #00ff9c); }
.sh-tot-final { margin-top: 2px; padding: 1px 5px; border-radius: 6px;
background: rgba(0, 255, 156, 0.06); }
.sh-tot-final, .sh-tot-final b { color: var(--green, #00ff9c); }
.sh-tot-final b { text-shadow: 0 0 8px rgba(0, 255, 156, 0.5); }
.sh-tot-final.sh-amount-negative { background: rgba(255, 107, 107, 0.06); }
.sh-tot-final.sh-amount-negative, .sh-tot-final.sh-amount-negative b { color: #ff6b6b; }
.sh-tot-final.sh-amount-negative b { text-shadow: 0 0 8px rgba(255, 107, 107, 0.5); }
.sh-tot-final.sh-amount-zero { background: transparent; }
.sh-day-total .sh-tot-final:not(.sh-amount-negative):not(.sh-amount-zero) {
background: transparent; color: var(--dim); }
.sh-day-total .sh-tot-final:not(.sh-amount-negative):not(.sh-amount-zero) b {
color: var(--dim); text-shadow: none; }
.sh-day-total.sh-day-paid .sh-tot-row:first-child:not(.sh-amount-zero) b,
.sh-day-total.sh-day-paid .sh-tot-final:not(.sh-amount-negative):not(.sh-amount-zero) b {
color: var(--green, #00ff9c); text-shadow: 0 0 8px rgba(0, 255, 156, 0.5); }
.sh-tot-final.sh-amount-zero, .sh-tot-final.sh-amount-zero b { color: var(--dim); }
.sh-tot-final.sh-amount-zero b { text-shadow: none; }
.sh-note { color: #e5c07b; font-size: 0.72rem; margin-top: 0.2rem;
font-style: italic; overflow-wrap: break-word; }
.sh-mpico-row { display: inline-flex; gap: 0.22rem; flex: 0 0 auto;
width: 3.35rem; }
.sh-mpico-row .mpico { width: 15px; height: 15px; vertical-align: -2px; }
.sh-who-note { font-size: 0.66rem; line-height: 1.3; color: #e5c07b;
font-style: italic; margin: 1px 0 3px 8px; padding-left: 6px;
border-left: 2px solid rgba(229, 192, 123, 0.45);
overflow-wrap: anywhere; }
.sh-who-extra { display: flex; flex-wrap: wrap; gap: 0.25rem 0.3rem;
font-size: 0.66rem; line-height: 1.3; margin: 2px 0 3px 8px;
overflow-wrap: anywhere; }
.sh-x-fine, .sh-x-bonus {
display: inline-flex; align-items: center;
padding: 0 0.35rem; border-radius: 999px;
font-weight: 700; font-variant-numeric: tabular-nums; }
.sh-x-fine { color: #ff6b6b; background: rgba(255, 92, 92, 0.1);
border: 1px solid rgba(255, 92, 92, 0.4); }
.sh-x-bonus { color: var(--green, #00ff9c); background: rgba(0, 255, 156, 0.08);
border: 1px solid rgba(0, 255, 156, 0.4); }
.sh-x-note { color: #e5c07b; font-style: italic; }
.sh-free { opacity: 0.6; background: none;
border: 1px dashed rgba(57, 67, 79, 0.8); border-radius: 6px;
justify-content: flex-start; }
.sh-free .sh-empty { font-size: 0.66rem; letter-spacing: 0.04em; }
.sh-assign-bar { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
margin-bottom: 0.6rem; }
.sh-assign-active { border-color: #e5c07b !important; color: #e5c07b !important;
box-shadow: 0 0 10px rgba(229, 192, 123, 0.4); }
.sh-assign-chip, .sh-assign-inactive { display: inline-flex; align-items: center; gap: 0.35rem;
padding: 0.15rem 0.6rem 0.15rem 0.15rem; border: 1px solid #232b35;
border-radius: 999px; background: #121820; color: inherit;
font: inherit; font-size: 0.82rem; line-height: 1.2;
cursor: grab; touch-action: pan-y pinch-zoom; user-select: none;
-webkit-user-select: none; -webkit-touch-callout: none; }
.sh-assign-chip:hover { border-color: var(--cyan); }
.sh-assign-chip .ava-sm, .sh-assign-inactive .ava-sm { width: 26px; height: 26px; }
.sh-assign-inactive { opacity: .6; cursor: not-allowed; }
.sh-assign-without-photo { flex-basis: 100%; display: flex; flex-wrap: wrap;
align-items: center; gap: .4rem; }
.sh-assign-groups { flex-basis: 100%; display: flex; flex-wrap: wrap;
gap: .45rem 1rem; min-width: 0; margin-top: .25rem; }
.sh-assign-group { min-width: 0; max-width: 100%; }
.sh-assign-group[open] { flex-basis: 100%; }
.sh-assign-group > summary { width: fit-content; max-width: 100%; cursor: pointer;
padding: .35rem .15rem; color: var(--dim); font-size: .78rem; }
.sh-assign-group > summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sh-assign-group-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .35rem 0 .2rem; }
.sh-assign-group-chips > button { max-width: 100%; min-width: 0; }
.sh-assign-group-chips .sh-chip-name { overflow: hidden; text-overflow: ellipsis; }
.sh-assign-group-chips .ava { flex-shrink: 0; }
.sh-chip-name { white-space: nowrap; }
.sh-cal.sh-assign-on .sh-day:not(.sh-void) { border-color: #e5c07b;
box-shadow: inset 0 0 10px rgba(229, 192, 123, 0.12); cursor: copy; }
body.sh-drag-on { cursor: grabbing; user-select: none; }
.sh-cal.sh-dragging .sh-day[data-date] { cursor: grabbing; }
.sh-cal.sh-dragging .sh-day:hover { box-shadow: none; }
.sh-day.sh-drop { border: 2px dashed #e5c07b; background: rgba(229, 192, 123, 0.07);
box-shadow: inset 0 0 12px rgba(229, 192, 123, 0.1); }
.sh-day.sh-drop > *:not(.sh-num) { opacity: 0.4; transition: opacity 0.15s; }
.sh-day.sh-drop-hot { background: rgba(229, 192, 123, 0.2); border-color: #ffd479;
box-shadow: 0 0 14px rgba(229, 192, 123, 0.35),
inset 0 0 12px rgba(229, 192, 123, 0.18); }
.sh-day.sh-drop-hot > *:not(.sh-num) { opacity: 0.7; }
.sh-day.sh-drag-src { border-color: var(--cyan);
box-shadow: 0 0 12px rgba(0, 224, 255, 0.28); }
.sh-ghost { position: fixed; z-index: 60; margin: 0; pointer-events: none;
overflow: hidden; border: 1px solid var(--cyan); border-radius: 10px;
background: #0e141b; padding: 0.35rem;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 224, 255, 0.35);
transform-origin: center; opacity: 0.95;
transition: transform 0.18s ease, opacity 0.18s ease,
left 0.06s linear, top 0.06s linear; }
.sh-ghost-on { transform: translate(-50%, -50%) scale(0.55); opacity: 0.85; }
.sh-ghost-land { transition: transform 0.2s ease, opacity 0.2s ease,
left 0.2s ease, top 0.2s ease;
transform: translate(-50%, -50%) scale(0.18); opacity: 0; }
.sh-drag-hint { margin: 0 0 0.5rem; }
@media (prefers-reduced-motion: reduce) {
.sh-ghost, .sh-ghost-on, .sh-ghost-land { transition: left 0.06s linear, top 0.06s linear; }
}
.sh-rate-cur { white-space: nowrap; font-weight: 600; }
.rate-inline { flex: 0 0 auto; width: 6rem; min-height: 30px;
padding: 0.2rem 0.5rem; font-size: 0.82rem; text-align: right; }
@media (max-width: 700px) { .rate-inline { min-height: 36px; } }
.btn-xs { padding: 0.28rem 0.6rem; font-size: 0.76rem; line-height: 1.2;
min-height: 30px; }
.btn-xs.btn-danger { margin-left: 0.4rem; }
@media (max-width: 700px) {
.btn-xs { min-height: 36px; padding: 0.4rem 0.7rem; }
.btn-xs.btn-danger { margin-left: 0.6rem; }
}
.emp-head-actions { display: flex; gap: 0.35rem; flex: 0 0 auto; }
.emp-head { padding-bottom: 0.35rem; }
.emp-card .emp-proj { border-top: 1px dashed #232b35; margin-top: 0.35rem;
padding-top: 0.35rem; }
.emp-card .emp-addproj { margin-top: 0.4rem; display: flex; gap: 0.35rem;
align-items: center; }
.emp-card .emp-addproj select { flex: 0 1 16rem; min-height: 32px;
padding: 0.2rem 0.5rem; font-size: 0.78rem; }
#rate-dlg-rate { min-height: 44px; }
.sh-stats { margin-bottom: 1.25rem; }
.sh-stats-wrap { overflow-x: auto; }
.sh-stats { --st-pay-col: 30rem; --st-name-col: 13rem; --st-grid:
44px var(--st-name-col) minmax(7rem, 1fr)
minmax(8.5rem, 9.5rem) var(--st-pay-col); }
@media (max-width: 1250px) { .sh-stats { --st-pay-col: 27rem; --st-name-col: 10.5rem; } }
@media (max-width: 1050px) { .sh-stats { --st-pay-col: 22rem; --st-name-col: 9.5rem; } }
@media (max-width: 950px) { .sh-stats { --st-pay-col: 17rem; --st-name-col: 8.5rem;
--st-grid: 40px var(--st-name-col) minmax(5rem, 1fr)
minmax(7rem, 8rem) var(--st-pay-col); } }
.st-rows { display: flex; flex-direction: column; gap: 0.4rem; }
.st-head-row { display: grid; align-items: center; gap: 0.5rem 1rem;
grid-template-columns: var(--st-grid);
padding: 0 calc(0.85rem + 1px) 0.15rem calc(0.85rem + 3px);
font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em;
color: var(--dim); }
.st-head-row span:not(:first-child) { text-align: right; }
.st-head-row span:nth-child(5) { padding-right: 0.55rem; }
.st-head-row span:last-child { text-align: left; padding-right: 0; }
.st-row { display: grid; align-items: center; gap: 0.5rem 1rem;
grid-template-columns: var(--st-grid);
border: 1px solid #232b35; border-left: 3px solid #2b3440;
border-radius: 12px; padding: 0.6rem 0.85rem;
background: rgba(255, 255, 255, 0.015);
transition: background 0.15s, border-color 0.15s; }
.st-row:hover { background: rgba(0, 224, 255, 0.035); }
.st-c-name { display: flex; flex-direction: column; align-items: flex-start;
gap: 0.15rem; min-width: 0; }
.st-card-name { font-weight: 600; overflow: hidden;
text-overflow: ellipsis; white-space: nowrap; }
.st-card-days { font-size: 0.72rem; color: var(--dim);
display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.st-c-ava { display: flex; }
.st-ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
border: 2px solid rgba(0, 224, 255, 0.3); background: #141d27; }
.st-c-bar { min-width: 0; }
.st-bar-lbl { display: flex; justify-content: space-between; gap: 0.5rem;
font-size: 0.68rem; color: var(--dim); margin-bottom: 4px;
flex-wrap: wrap; white-space: normal; line-height: 1.4; }
.st-payment-line { flex: 1 1 100%; min-width: 0; }
.st-payment-line .st-fixed-status { white-space: nowrap; }
.st-bar { display: flex; height: 8px; border-radius: 6px; background: #0d141b;
border: 1px solid #232b35; overflow: hidden; }
.st-bar i { display: block; flex: 0 0 auto; height: 100%; border-radius: 0;
background: linear-gradient(90deg, var(--cyan), var(--green, #00ff9c));
transition: width 0.3s ease; }
.st-bar .st-bar-paid { background: var(--green, #00ff9c); }
.st-bar .st-bar-advance { background: #e5c07b; box-shadow: none; }
.st-bar-caption { margin-top: 3px; font-size: .62rem; line-height: 1.4; color: var(--muted); }
.st-payment-summary { display: flex; flex-wrap: wrap; justify-content: space-between;
gap: .25rem .65rem; margin-top: .35rem; font-size: .68rem; line-height: 1.4; }
.st-payment-selected { color: var(--dim); }
.st-payment-accounted { color: var(--text); font-weight: 600; }
.st-row-paid .st-bar i { box-shadow: 0 0 8px rgba(0, 255, 156, 0.4); }
.st-chip { font-size: 0.66rem; border: 1px solid #2b3440; border-radius: 6px;
padding: 0.03rem 0.32rem; white-space: nowrap; }
.st-chip.st-b { color: var(--green, #00ff9c); border-color: rgba(0, 255, 156, 0.4); }
.st-chip.st-f { color: #ff5c5c; border-color: rgba(255, 92, 92, 0.4); }
.st-earned { display: block; font-size: 0.66rem; color: var(--dim);
margin-top: 3px; white-space: normal; line-height: 1.15; }
.st-c-num { text-align: right; font-variant-numeric: tabular-nums;
font-size: 0.85rem; white-space: nowrap; }
.st-c-due { text-align: right; padding: 0.25rem 0.55rem; border-radius: 9px;
background: rgba(0, 224, 255, 0.06); }
.st-card-sum { font-family: var(--font-logo); font-size: 0.82rem;
color: var(--green, #00ff9c); text-shadow: 0 0 10px rgba(0, 255, 156, 0.35);
font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-zero .st-card-sum { color: var(--dim); text-shadow: none; }
.st-card-sum.sh-amount-negative { color: #ff6b6b; text-shadow: 0 0 10px rgba(255, 107, 107, 0.35); }
.st-card-sum.sh-amount-zero { color: var(--dim); text-shadow: none; }
.st-b { color: var(--green, #00ff9c); }
.st-f { color: #ff5c5c; }
.st-tag { font-size: 0.66rem; color: var(--dim); border: 1px solid #2b3440;
border-radius: 6px; padding: 0.03rem 0.3rem; flex: 0 0 auto; }
.st-card-note { font-size: 0.75rem; color: #39434f; }
.st-due-left, .st-overpaid { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem;
margin-top: 0.35rem; color: var(--dim); font-size: 0.76rem; line-height: 1.4; }
.st-due-left b, .st-overpaid b { color: var(--warn, #ffd75e); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-due-left[hidden], .st-overpaid[hidden] { display: none; }
.st-due-left b.sh-amount-negative { color: #ff6b6b; }
.st-due-left b.sh-amount-zero { color: var(--dim); }
.st-row { border-left-width: 4px; }
.st-row-unpaid { border-left-color: var(--warn, #ffd75e);
box-shadow: -3px 0 10px -4px rgba(255, 215, 94, 0.55); }
.st-row-half { border-left-color: var(--cyan);
box-shadow: -3px 0 10px -4px rgba(0, 224, 255, 0.55); }
.st-row-paid { border-left-color: var(--income, #00ff9c);
box-shadow: -3px 0 10px -4px rgba(0, 255, 156, 0.55); }
.st-row.st-zero { opacity: 0.5; }
.st-row-total { border-color: rgba(0, 224, 255, 0.35);
border-left-color: var(--cyan); background: rgba(0, 224, 255, 0.04);
margin-top: 0.2rem; }
.st-row-total .st-card-name { color: var(--cyan); }
.st-row-total .st-card-days { color: #e5c07b; }
@media (max-width: 820px) {
.st-head-row { display: none; }
.st-row { grid-template-columns: 40px minmax(0, 1fr) auto;
gap: 0.35rem 0.5rem; padding: 0.6rem 0.7rem; }
.st-c-ava  { grid-area: 1 / 1; }
.st-c-name { grid-area: 1 / 2; }
.st-c-due  { grid-area: 1 / 3; min-width: 0; max-width: 8rem;
text-align: right; padding: 0.15rem 0.3rem; }
.st-c-bar  { grid-area: 2 / 1 / auto / -1; }
.st-c-pay  { grid-area: 3 / 1 / auto / -1; align-self: stretch; }
.st-ava { width: 40px; height: 40px; }
.st-card-name { white-space: normal; overflow-wrap: break-word;
font-size: 0.86rem; line-height: 1.2; }
.st-card-days { font-size: 0.68rem; }
.st-card-sum { font-size: 0.76rem; }
.st-earned { font-size: 0.62rem; line-height: 1.35; }
@media (max-width: 430px) {
.st-c-due { max-width: 6.25rem; padding: 0.1rem 0.2rem; }
}
.st-bar-lbl { font-size: 0.66rem; }
.st-c-num { display: none; }
.st-paytoggle { width: 100%; gap: 0.28rem; }
.st-paylbl { flex: 0 0 100%; margin: 0 0 0.1rem; }
.st-tg { flex: 0 1 auto; min-width: 0; text-align: center; white-space: nowrap;
padding: 0.4rem 0.7rem; font-size: 0.68rem; }
@media (max-width: 560px) {
.st-tg { flex: 1 1 42%; padding: 0.4rem 0.25rem; }
}
.sh-half { display: flex; flex-wrap: wrap; max-width: 100%; gap: 0.28rem; }
.sh-half-btn { flex: 1 1 auto; font-size: 0.7rem; padding: 0.4rem 0.5rem; }
}
@media (max-width: 820px) {
.st-bar-lbl { flex-wrap: wrap; white-space: normal; row-gap: 2px; }
.st-bar-lbl > span { min-width: 0; }
.only-mobile { display: none; }
.st-adv { margin-left: 0; }
}
.st-adv { color: var(--warn, #ffd75e); margin-left: 0.5rem; white-space: nowrap; }
.st-note { margin-top: 0.8rem; }
.st-fine { color: #ff5c5c; }
.st-bonus { color: var(--green, #00ff9c); }
.st-acc { font-weight: 700; }
.st-dash { color: #39434f; }
.st-paid-ok { color: var(--green, #00ff9c); font-size: 0.8rem; }
.st-pay { text-align: right; }
.st-c-pay { display: flex; flex-direction: column; align-items: flex-start;
gap: 0.2rem; }
.st-paytoggle { display: inline-flex; flex-wrap: wrap; gap: 0.3rem;
align-items: center; max-width: 100%; }
.st-paylbl { color: var(--muted); font-size: 0.72rem; white-space: nowrap;
margin-right: 0.1rem; }
.st-tg { letter-spacing: 0.02em; border: 1px solid #39434f;
border-radius: 8px; color: var(--dim);
background: transparent; padding: 0.34rem 0.7rem; font-size: 0.72rem;
font-family: inherit; cursor: pointer; white-space: nowrap;
transition: background 0.15s, color 0.15s, border-color 0.15s; }
.st-tg:not(.st-tg-on) { border-color: #39434f; color: var(--dim);
background: transparent; }
.st-tg:hover:not(:disabled) { background: rgba(255, 255, 255, 0.06); }
.st-tg-no.st-tg-on { color: #e5c07b; border-color: rgba(229, 192, 123, 0.6);
background: rgba(229, 192, 123, 0.14); cursor: default; }
.st-part { font-size: 0.72rem; color: #e5c07b; margin-top: -0.2rem; }
.st-tg-half.st-tg-on { color: var(--cyan); border-color: rgba(0, 224, 255, 0.6);
background: rgba(0, 224, 255, 0.14); cursor: default; }
.st-tg-yes.st-tg-on { color: var(--green, #00ff9c); border-color: rgba(0, 255, 156, 0.6);
background: rgba(0, 255, 156, 0.14); cursor: default; }
.st-tg:disabled { opacity: 0.55; cursor: default; }
.st-tg.st-tg-on:disabled { opacity: 1; }
.st-fixed-advance { display: flex; flex-direction: column; align-items: flex-start;
gap: .4rem; width: 100%; max-width: 100%; margin-top: .45rem; }
.st-fixed-advance[hidden] { display: none; }
.st-pay-actions { display: inline-flex; gap: .3rem; max-width: 100%; }
.st-pay-actions .st-tg-part { min-width: 0; white-space: normal; line-height: 1.35; }
.st-pay-actions .st-advance-toggle { flex: 0 1 auto; min-width: 0;
white-space: normal; line-height: 1.35; }
.st-paytoggle > .st-tg-half { white-space: normal; line-height: 1.35; }
.st-c-pay > .st-tg { max-width: 100%; white-space: normal; }
.st-advance-toggle.st-tg-on { color: #e5c07b; border-color: rgba(229, 192, 123, .6);
background: rgba(229, 192, 123, .14); }
.st-advance-toggle.st-advance-expanded { outline: 1px solid var(--cyan); outline-offset: 2px; }
.st-bulk-controls { width: 100%; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.st-bulk-advance { min-width: 0; width: 100%; }
.st-bulk-advance > summary { display: flex; align-items: center; justify-content: center;
width: fit-content; max-width: 100%; white-space: normal; list-style: none; }
.st-bulk-advance > summary::-webkit-details-marker { display: none; }
.st-bulk-advance > summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.st-bulk-advance[open] > summary { border-color: var(--warn, #e5c07b); color: var(--warn, #e5c07b);
background: rgba(229, 192, 123, .12); }
.st-bulk-advance-form { display: flex; flex-direction: column; gap: .35rem; margin-top: .55rem; }
.st-bulk-advance-form > label { color: var(--dim); font-size: .72rem; }
.st-bulk-advance-input { display: flex; align-items: stretch; flex-wrap: wrap; gap: .35rem; }
.st-bulk-advance-input > input { flex: 1 1 7rem; min-width: 0; width: 7rem; max-width: 100%; }
.st-bulk-advance-input > button { flex: 0 1 auto; min-width: 0; white-space: normal; }
.st-bulk-advance-form .small { overflow-wrap: anywhere; }
.st-bulk-status { margin: .1rem 0; font-size: .72rem; line-height: 1.4; color: var(--warn, #e5c07b); }
.st-bulk-form[aria-busy="true"] { opacity: .65; }
.st-row.st-zero:has(.st-advance-toggle) { opacity: 1; }
@media (max-width: 560px) {
.st-paytoggle > .st-tg-half { flex: 1 1 100%; }
.st-pay-actions { width: 100%; }
.st-pay-actions .st-tg-part { flex: 1 1 auto; }
.st-pay-actions .st-advance-toggle { flex-basis: 7.5rem; flex-shrink: 0; }
}
@media (max-width: 820px), (pointer: coarse) {
.st-paytoggle .st-tg, .st-advance-toggle { min-height: 44px; }
.st-bulk-advance > summary, .st-bulk-advance-input > input, .st-bulk-advance-input > button { min-height: 44px; }
}
.st-advance-form { display: flex; flex-direction: column; align-items: stretch;
gap: .45rem; width: 100%; max-width: 25rem; }
.st-advance-form label { display: flex; flex-direction: column; gap: .25rem;
min-width: 0; font-size: .68rem; color: var(--dim); }
.st-advance-heading { font-size: .68rem; color: var(--dim); }
.st-advance-entries { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.st-advance-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px;
align-items: end; gap: .35rem; min-width: 0; }
.st-advance-entry .st-advance-amount { grid-column: 1; }
.st-advance-entry .st-advance-save { grid-column: 2; }
.st-advance-entry .st-advance-remove { grid-column: 3; }
.st-advance-form :is(select, input:not([type="hidden"])) { width: 100%; min-width: 0;
min-height: 34px; font-size: .85rem; padding: .3rem .5rem; }
.st-advance-form input:not([type="hidden"]) { border-color: rgba(229, 192, 123, .35); }
.st-advance-save { display: inline-flex; align-items: center; justify-content: center;
min-height: 34px; border: 1px solid #39434f;
border-radius: 8px; background: transparent; color: var(--dim);
font: inherit; font-size: .72rem; line-height: 1.4; padding: .34rem .7rem;
cursor: pointer; white-space: nowrap; }
.st-advance-save:hover { background: rgba(255, 255, 255, .06); }
.st-advance-save.st-advance-save-on { color: #e5c07b; border-color: rgba(229, 192, 123, .7);
background: rgba(229, 192, 123, .18); }
.st-advance-save.st-advance-save-on:hover { background: rgba(229, 192, 123, .25); }
.st-advance-save:disabled, .st-advance-remove:disabled, .st-advance-add:disabled { opacity: .5; cursor: default; }
.st-advance-save:focus-visible, .st-advance-remove:focus-visible, .st-advance-add:focus-visible, .st-advance-more:focus-visible {
outline: 2px solid var(--cyan); outline-offset: 3px; }
.st-advance-note { color: var(--muted); font-size: .64rem; line-height: 1.4; }
.st-advance-note:empty { display: none; }
.st-advance-remove { display: inline-flex; align-items: center; justify-content: center;
width: 44px; height: 44px; padding: 0; border: 1px solid rgba(184, 85, 102, .55);
border-radius: 8px; background: transparent; color: var(--burgundy);
font: inherit; font-size: 1.45rem; line-height: 1; cursor: pointer; }
.st-advance-remove:hover { color: #ff8b99; background: rgba(184, 85, 102, .12); }
.st-advance-add { align-self: flex-start; min-height: 44px; max-width: 100%; padding: .4rem .7rem;
border: 1px dashed var(--cyan); border-radius: 8px; background: transparent;
color: var(--cyan); font: inherit; font-size: .72rem; line-height: 1.35;
white-space: normal; cursor: pointer; }
.st-advance-add:hover:not(:disabled) { background: rgba(0, 224, 255, .07); }
.st-advance-list-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.st-advance-more { min-height: 44px; max-width: 100%; padding: .4rem .7rem;
border: 1px solid var(--border); border-radius: 8px; background: transparent;
color: var(--dim); font: inherit; font-size: .72rem; line-height: 1.35;
white-space: normal; cursor: pointer; }
.st-advance-more:hover { color: var(--cyan); border-color: var(--cyan); }
@media (max-width: 560px) {
.st-advance-entry { grid-template-columns: minmax(0, 1fr) 44px; }
.st-advance-entry .st-advance-remove { grid-column: 2; grid-row: 1; }
.st-advance-entry .st-advance-save { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
}
.st-advance-form[aria-busy="true"] { opacity: .85; }
.st-advance-summary { display: flex; flex-direction: column; gap: .15rem;
color: var(--dim); font-size: .68rem; line-height: 1.4; min-width: 0; }
.st-advance-summary b { font-variant-numeric: tabular-nums; font-weight: 600; }
.st-row.st-row-advance { border-left-color: #e5c07b; opacity: 1;
box-shadow: -3px 0 10px -4px rgba(229, 192, 123, .55); }
.st-row-advance :is(.st-fixed-status, .st-advance-total, .st-advance-excess) { color: #e5c07b; }
.st-row-advance .st-tg-yes.st-tg-on { color: #e5c07b;
border-color: rgba(229, 192, 123, .6); background: rgba(229, 192, 123, .14); }
.sh-slot.sh-slot-advance:not(:has(.sh-paid)) {
border-left-color: #e5c07b; background: rgba(229, 192, 123, .08); }
.sh-slot:has(.sh-paid) .sh-sum { color: var(--green, #00ff9c); }
.sh-fixed-advance { grid-column: 1 / -1; grid-row: 3; display: block;
color: #e5c07b; font-size: .63rem; line-height: 1.2; white-space: normal;
padding: .15rem .2rem; border-radius: 4px; background: rgba(229, 192, 123, .12); }
.sh-slot-sub .sh-fixed-advance { grid-row: 4; }
@media (max-width: 820px) {
.st-fixed-advance { width: 100%; margin-top: .4rem; }
.st-advance-form { max-width: none; }
.st-advance-form :is(select, input:not([type="hidden"])) { min-height: 44px; font-size: 1rem; }
.st-advance-save { min-height: 44px; }
.st-advance-summary { width: 100%; }
}
@media (max-width: 700px) {
.sh-fixed-advance { grid-row: 2; font-size: .52rem; padding: .1rem 0;
background: transparent; overflow-wrap: anywhere; }
.sh-slot-sub .sh-fixed-advance { grid-row: 5; }
}
@media (pointer: coarse) { .st-advance-save, .st-advance-remove { min-height: 44px; } }
.sh-stats-head { display: flex; flex-direction: row; align-items: center;
justify-content: space-between; flex-wrap: wrap;
gap: 0.55rem 1rem; margin-bottom: 0.8rem; }
.sh-stats-head h2 { margin: 0; }
.sh-horizon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
flex: 0 0 100%; gap: 4px; padding: 4px; border: 1px solid #2b3440;
border-radius: 10px; background: #0e1820; }
.sh-horizon-btn { min-height: 44px; padding: .45rem .7rem; border-radius: 7px;
border: 1px solid transparent; background: transparent; color: var(--muted);
font: inherit; font-size: .8rem; line-height: 1.3; cursor: pointer; }
.sh-horizon-btn:hover { color: var(--cyan); background: rgba(0,224,255,.05); }
.sh-horizon-btn.sh-horizon-on { color: var(--cyan); border-color: var(--cyan);
background: rgba(0,224,255,.10); box-shadow: 0 0 8px rgba(0,224,255,.12); }
.sh-horizon-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.sh-photo-filter { display: inline-flex; flex-wrap: wrap; align-items: center;
gap: .2rem; border: 1px solid var(--border); border-radius: 8px; padding: .2rem; }
.sh-photo-btn { border: 1px solid transparent; border-radius: 5px;
background: transparent; color: var(--muted); font: inherit; font-size: .7rem;
line-height: 1.4; padding: .3rem .5rem; cursor: pointer; }
.sh-photo-btn.sh-photo-on { border-color: var(--cyan); color: var(--cyan);
background: rgba(0, 224, 255, .1); }
.sh-stats-head .sh-half { margin-left: auto; }
.sh-half { display: inline-flex; gap: 0.3rem; }
.sh-half-btn { border: 1px solid var(--border); border-radius: 7px;
background: transparent; color: var(--muted); font-family: var(--font);
font-size: 0.72rem; padding: 0.25rem 0.6rem; cursor: pointer;
transition: background 0.15s, color 0.15s, border-color 0.15s;
white-space: nowrap; }
.sh-half-btn:hover { background: rgba(255, 255, 255, 0.05); }
.sh-half-btn.sh-half-on { border-color: var(--cyan); color: var(--cyan);
background: rgba(0, 224, 255, 0.1); cursor: default; }
.ava {
border-radius: 50%;
object-fit: cover;
background: #141d27;
flex: 0 0 auto;
vertical-align: middle;
}
.ava-xs { width: 18px; height: 18px; }
.ava-sm { width: 30px; height: 30px; }
.ava-lg { width: 52px; height: 52px; }
.ava-wrap { position: relative; display: inline-flex; flex: 0 0 auto; }
.emp-head .emp-name-wrap { margin-right: auto; }
.ava-form { display: inline-flex; }
.ava-dz { cursor: pointer; display: inline-flex; border-radius: 50%; }
.ava-dz .ava { transition: box-shadow 0.15s ease; }
.ava-dz:hover .ava, .ava-drag .ava {
box-shadow: 0 0 0 2px var(--cyan), 0 0 14px rgba(0, 224, 255, 0.35);
}
.ava-del-x { position: absolute; top: -5px; right: -5px; margin-left: 0; }
.day-emp .ava-xs { margin-right: 0.35rem; }
h2 .ava-sm { margin-right: 0.3rem; }
.emp-cal-line { display: flex; gap: 0.55rem; align-items: flex-start; }
.emp-cal-line > .sh-emp-row-cal { flex: 1; min-width: 0; }
.emp-name-2l { display: flex; flex-direction: column; line-height: 1.2;
white-space: normal; overflow-wrap: anywhere; hyphens: auto; }
.emp-name-2l .emp-ln { font-size: 0.84em; color: var(--muted); }
.emp-extra { display: flex; flex-direction: column; gap: 0.3rem;
margin: 0.1rem 0 0.35rem; }
.emp-contacts { display: flex; gap: 0.3rem 0.5rem; flex-wrap: wrap; }
.emp-tgid { flex-basis: 100%; font-size: 0.76rem; color: var(--muted); padding-left: 1.25rem; }
.emp-tglink a { color: var(--cyan); }
.emp-tglink .copy-tap { cursor: pointer; margin-left: 0.4rem; }
.emp-ct { display: inline-flex; align-items: center; gap: 0.25rem;
color: var(--muted); font-size: 0.78rem; flex: 1 1 100%; min-width: 0; }
.emp-ct input { flex: 1 1 auto; min-width: 0; width: 100%;
min-height: 28px; padding: 0.15rem 0.4rem; font-size: 0.78rem; }
.emp-docs { display: flex; flex-wrap: wrap; gap: 0.25rem;
align-items: center; }
.doc-chip { display: inline-flex; align-items: center; gap: 0.25rem;
max-width: 100%; border: 1px solid #232b35; border-radius: 6px;
padding: 0.12rem 0.4rem; font-size: 0.74rem; }
.doc-chip a { overflow: hidden; text-overflow: ellipsis;
white-space: nowrap; max-width: 11rem; }
.doc-del-x { margin-left: 0; }
.doc-form { width: 100%; }
.doc-dz { display: block; margin-top: 0.15rem; padding: 0.35rem 0.5rem;
font-size: 0.72rem; color: var(--muted); }
.emp-ct { align-items: center; }
.ct-ico { flex: 0 0 auto; opacity: 0.75; }
.ct-idlbl { flex: 0 0 auto; color: var(--muted); font-size: 0.8rem; }
.ct-view { display: inline-flex; align-items: center; gap: 0.3rem;
min-width: 0; flex: 1 1 auto; }
.ct-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
flex: 1 1 auto; min-width: 0; max-width: 100%; font-size: 0.8rem; }
.ct-view .btn-pencil, .ct-view .ct-del { flex: 0 0 auto; }
.ct-edit { display: inline-flex; align-items: center; gap: 0.3rem;
flex: 1 1 auto; min-width: 0; }
.ct-edit[hidden] { display: none; }
.ct-save { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 6px;
display: inline-flex; align-items: center; justify-content: center;
cursor: pointer; border: 1px solid rgba(74, 222, 128, 0.5);
background: rgba(74, 222, 128, 0.12); color: #4ade80;
transition: box-shadow 0.15s ease; }
.ct-save:hover { box-shadow: 0 0 8px rgba(74, 222, 128, 0.4); }
.ct-del { flex: 0 0 auto; margin-left: 0; }
.op-badges { display: inline-flex; flex-direction: column; align-items: flex-start;
gap: 0.22rem; max-width: 100%; vertical-align: middle; }
.op-badges:not(:empty) { margin-left: 0; }
.op-badges .op-shift-badge { margin-left: 0; }
.op-shift-badge { display: inline-block; margin-left: 0.3rem;
padding: 0.04rem 0.34rem; border: 1px solid rgba(0, 224, 255, 0.45);
border-radius: 5px; font-size: 0.62rem; letter-spacing: 0.06em;
color: var(--cyan); background: rgba(0, 224, 255, 0.07);
white-space: nowrap; vertical-align: middle; }
.op-bank-badge { color: var(--income, #00e676); border-color: rgba(0, 230, 118, 0.45); background: rgba(0, 230, 118, 0.07); }
.op-manual-badge { color: #cbb17d; border-color: rgba(203, 177, 125, 0.4);
background: rgba(203, 177, 125, 0.07); }
.op-manual-badge svg { vertical-align: -1px; margin-right: 0.05rem; opacity: 0.8; }
.op-check-badge { color: var(--text); border-color: rgba(215, 226, 236, 0.4);
background: rgba(215, 226, 236, 0.07); }
.op-check-badge svg { vertical-align: -1px; margin-right: 0.05rem; }
.op-check-ozon { color: #5b9dff; border-color: rgba(91, 157, 255, 0.5); background: rgba(91, 157, 255, 0.09); }
.op-check-wb { color: #b98bff; border-color: rgba(185, 139, 255, 0.5); background: rgba(185, 139, 255, 0.09); }
.op-check-badge .mpico { width: 14px; height: 14px; vertical-align: -3px; margin-left: 0.05rem; }
.doc-type-grid { display: flex; flex-wrap: wrap; gap: 0.3rem;
margin: 0.2rem 0 0.5rem; max-width: 28rem; }
.doc-type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.doc-type-opt .chip { cursor: pointer; font-size: 0.78rem; }
.doc-type-opt input:checked + .chip {
border-color: var(--cyan); color: var(--cyan);
background: rgba(0, 224, 255, 0.12);
box-shadow: 0 0 8px rgba(0, 224, 255, 0.28); }
.doc-chip-untyped { border-style: dashed; opacity: 0.85; }
.doc-chip .btn-pencil { flex: 0 0 auto; }
.pvz-tz { margin-left: 0.5rem; padding: 0.02rem 0.35rem;
border: 1px solid rgba(0, 224, 255, 0.35); border-radius: 5px;
font-size: 0.72rem; color: var(--cyan); white-space: nowrap; }
.st-tg-part.st-tg { border-style: dashed; }
.st-tg-part.st-tg-on { color: #ff9f43; border-style: solid;
border-color: rgba(255, 159, 67, 0.6); background: rgba(255, 159, 67, 0.14); }
body.pp-on .sh-day { cursor: default; }
body.pp-on .sh-day.pp-no { opacity: 0.28; pointer-events: none; }
body.pp-on .sh-day.pp-was { opacity: 0.4; pointer-events: none;
border-style: dashed; border-color: #33414f; background: transparent; }
body.pp-on .sh-day.pp-can { cursor: pointer; border-color: rgba(0, 224, 255, 0.45); }
body.pp-on .sh-day.pp-can:hover { border-color: var(--cyan);
box-shadow: 0 0 12px rgba(0, 224, 255, 0.3); }
body.pp-on .sh-day.pp-pick { border-color: var(--income); border-width: 2px;
background: rgba(0, 255, 156, 0.14);
box-shadow: 0 0 16px rgba(0, 255, 156, 0.45); }
body.pp-on .sh-day.pp-mixed { border-style: dashed; border-color: var(--warn, #e5c07b); }
body.pp-on .sh-day .sh-del-form { pointer-events: none; opacity: 0.4; }
.pp-bar { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%);
z-index: 60; display: flex; flex-direction: column; gap: 0.65rem;
width: min(calc(100vw - 2rem), 46rem); padding: 0.7rem 0.9rem;
background: var(--panel-2); border: 1px solid var(--cyan); border-radius: 12px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55), 0 0 18px rgba(0, 224, 255, 0.25); }
.pp-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; min-width: 0; }
.pp-who { color: var(--text); font-size: 0.82rem; overflow-wrap: anywhere; }
.pp-count { color: var(--text); font-size: 0.76rem; line-height: 1.4; overflow-wrap: anywhere; }
.pp-actions { display: flex; gap: 0.65rem; }
.pp-actions .btn { flex: 1 1 0; min-width: 0; min-height: 44px;
padding: 0.55rem 0.8rem; font-size: 0.83rem; font-weight: 600; }
.pp-actions .pp-cancel { color: var(--text); border-color: #587181; background: rgba(255, 255, 255, 0.035); }
.pp-actions .pp-cancel:hover { border-color: var(--cyan); background: rgba(0, 224, 255, 0.07); }
@media (max-width: 560px) {
.pp-bar { left: 0.5rem; right: 0.5rem; transform: none; max-width: none;
width: auto; bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px)); }
.pp-who { flex: 0 0 100%; font-size: 0.78rem; }
.pp-count { font-size: 0.74rem; }
}
.warn-box { border-color: var(--warn); color: var(--warn);
background: rgba(255, 215, 94, 0.08); margin-bottom: 1rem; }
.lord-owned { margin-bottom: 0.8rem; }
.lord-conditions { white-space: pre-wrap; margin: 0; font-size: 0.86rem; }
.lord-owned .chk { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.idx-block { display: flex; flex-direction: column; gap: 0.55rem;
border: 1px dashed var(--border); border-radius: 10px; padding: 0.7rem 0.85rem; }
.idx-row { display: flex; flex-wrap: wrap; gap: 0.45rem 0.6rem; align-items: center; min-width: 0; }
.idx-lbl { color: var(--muted); font-size: 0.86rem; flex: 0 0 auto; }
.idx-unit { color: var(--muted); font-size: 0.86rem; }
.form-grid .idx-row select, .form-grid .idx-row input,
.form-grid .idx-step select, .form-grid .idx-step input { width: auto; max-width: 100%; }
.idx-row .btn { white-space: normal; text-align: center; }
.form-grid .idx-num, .idx-num { width: 5.5rem; }
.form-grid .idx-money, .idx-money { width: 9rem; }
.idx-ways-list { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; }
label.chk.idx-way { min-width: 0; font-size: 0.88rem; }
.idx-steps { display: flex; flex-direction: column; gap: 0.35rem; }
.idx-step { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.idx-done { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
margin-top: 0.55rem; font-size: 0.88rem; }
.idx-done input { width: auto; max-width: 100%; padding: 0.28rem 0.5rem; font-size: 0.9rem; }
.idx-hist .inline-form { display: inline; margin-left: 0.3rem; }
.inet-kv .idx-hist dd span { display: block; }
.ev-list { display: flex; flex-direction: column; gap: 0.5rem; }
.ev-row { display: flex; gap: 0.9rem; align-items: flex-start; border: 1px solid var(--border);
border-radius: 10px; padding: 0.6rem 2.2rem 0.6rem 0.85rem; background: var(--panel-2);
position: relative; transition: opacity 0.2s ease, transform 0.2s ease; }
.ev-x-form { position: absolute; top: 0.4rem; right: 0.45rem; margin: 0; }
.ev-x { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem;
border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted);
cursor: pointer; padding: 0; }
.ev-x:hover, .ev-x:focus-visible { color: var(--text); background: var(--panel); border-color: var(--border); }
.ev-x:disabled { opacity: 0.5; cursor: default; }
.ev-row:has(.ev-restore) { padding-right: 6rem; }
.ev-gone { opacity: 0; transform: translateX(1.5rem); }
.ev-arch { color: var(--muted); font-size: 0.8rem; margin-top: 0.3rem; }
.ev-archived { border-style: dashed; }
.ev-layout { display: flex; flex-direction: column; }
.ev-main { min-width: 0; }
.ev-side { min-width: 0; }
@media (min-width: 1100px) {
.ev-layout.ev-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 34%); gap: 0 1rem;
align-items: start; }
.ev-layout.ev-two .ev-main { grid-column: 1; grid-row: 1; }
.ev-layout.ev-two .ev-side { grid-column: 2; grid-row: 1; position: sticky; top: 0.5rem; }
.ev-layout.ev-two .ev-side .ev-row { flex-direction: column; gap: 0.3rem; }
.ev-layout.ev-two .ev-side .ev-date { flex: none; flex-direction: row; gap: 0.6rem; align-items: baseline; }
}
.ev-date { flex: 0 0 6.5rem; font-variant-numeric: tabular-nums; font-weight: 600;
display: flex; flex-direction: column; gap: 0.2rem; }
.ev-late { color: var(--expense, #e5484d); font-size: 0.72rem; text-transform: uppercase;
letter-spacing: 0.06em; font-weight: 600; }
.ev-soon { border-color: rgba(255, 215, 94, 0.7); }
.ev-now { color: var(--cyan); font-size: 0.72rem; text-transform: uppercase;
letter-spacing: 0.06em; font-weight: 600; }
.ev-today { border-color: var(--cyan); }
.ev-body { min-width: 0; flex: 1; }
.ev-title { font-weight: 600; overflow-wrap: anywhere; }
.ev-detail { color: var(--muted); font-size: 0.88rem; margin-top: 0.15rem; overflow-wrap: anywhere; }
.ev-pvz { display: inline-block; margin-top: 0.3rem; font-size: 0.84rem; color: var(--cyan); }
.ev-overdue { border-color: var(--expense, #e5484d); }
.ev-prob-sum { display: flex; align-items: center; gap: 0.5rem; cursor: pointer;
font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
font-weight: 600; list-style: none; padding: 0.15rem 0; user-select: none; }
.ev-prob-sum::-webkit-details-marker { display: none; }
.ev-prob-sum:hover, .ev-prob-sum:focus-visible { color: var(--text); }
.ev-prob-chev { flex: none; transition: transform 0.15s ease; }
.ev-prob[open] .ev-prob-chev { transform: rotate(90deg); }
.ev-prob-n { margin-left: auto; font-variant-numeric: tabular-nums; letter-spacing: 0;
background: var(--panel-2); border: 1px solid var(--border); border-radius: 999px;
padding: 0 0.4rem; min-width: 1.4rem; text-align: center; }
.ev-prob[open] .ev-list { margin-top: 0.6rem; }
.ev-count { margin: 0 0 0.6rem; }
.mainnav .act-badge { margin-left: 0.4rem; }
.mainnav a { white-space: nowrap; flex: none; }
.lord-chk { min-width: 0; align-self: end; }
@media (max-width: 560px) {
.ev-row { flex-direction: column; gap: 0.3rem; }
.ev-date { flex: none; flex-direction: row; gap: 0.6rem; align-items: baseline; }
.ev-row:has(.ev-restore) { padding-right: 0.85rem; padding-bottom: 2.4rem; }
.ev-row .ev-x-form:has(.ev-restore) { top: auto; bottom: 0.45rem; }
}
@media (max-width: 560px) {
.form-grid .idx-row select, .form-grid .idx-row input[type="date"],
.form-grid .idx-step input[type="date"],
.idx-done input[type="date"] { flex: 1 1 100%; width: 100%; }
}
.rp-title { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.rp-title h1 { margin: 0; }
.rp-sync { display: inline-flex; margin: 0; }
.rp-refresh { min-height: 34px; padding: 0.3rem 0.5rem; color: var(--muted); }
.rp-refresh:hover { color: var(--cyan); }
.rp-refresh svg { display: block; }
.rp-tabs { margin: 0.25rem 0 0.6rem; align-items: center; }
.rp-tab-past { border-style: dashed; }
.rp-badge {
background: rgba(215, 226, 236, 0.12); color: var(--text);
border-color: rgba(215, 226, 236, 0.35); box-shadow: none;
}
.rp-badge-debt {
background: linear-gradient(180deg, #ff8f86, #e05252); color: #1a0d0d;
border-color: rgba(255, 143, 134, 0.7); box-shadow: 0 0 10px rgba(255, 102, 102, 0.45);
}
.rp-archive { margin: 0 0 1rem; }
.rp-archive summary { cursor: pointer; color: var(--muted); padding: 0.4rem 0.9rem; min-height: 36px;
border: 1px dashed var(--border); border-radius: 8px; display: inline-flex; align-items: center; gap: 0.3rem; list-style: none; }
.rp-archive summary::-webkit-details-marker { display: none; }
.rp-archive[open] summary { color: var(--text); }
.rp-archive-list { margin-top: 0.4rem; }
.rp-project { padding: 0.6rem 0.8rem 0.4rem; margin-bottom: 0.9rem; }
.rp-project-title { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--cyan); }
.rp-paid td { background: rgba(0, 255, 156, 0.05); }
.rp-ok { color: var(--income); font-weight: 600; }
.rp-due td { background: rgba(255, 79, 216, 0.04); }
.rp-payform { display: inline-flex; margin: 0; vertical-align: middle; }
.rp-sent { color: var(--warn); font-size: 0.78rem; white-space: nowrap; margin-right: 0.3rem; }
.pt-wrap { display: flex; flex-direction: column; gap: 0.3rem; }
.pt-label { color: var(--muted); font-size: 0.85rem; }
.pt-editor { min-height: 42px; padding: 0.5rem 0.6rem; border: 1px solid var(--border);
border-radius: 8px; background: var(--panel-2); color: var(--text); line-height: 1.7;
white-space: pre-wrap; word-break: break-word; cursor: text; }
.pt-editor:focus { outline: none; border-color: var(--cyan); }
.pt-chip { display: inline-block; padding: 0 0.5rem; margin: 0 0.05rem; border-radius: 999px;
border: 1px solid rgba(0, 224, 255, 0.5); background: rgba(0, 224, 255, 0.1); color: var(--cyan);
font-size: 0.72rem; letter-spacing: 0.06em; line-height: 1.6; vertical-align: baseline;
cursor: grab; user-select: none; -webkit-user-select: none; }
.pt-chip:active { cursor: grabbing; }
.pt-chip-sel { box-shadow: 0 0 0 2px rgba(0, 224, 255, 0.35); }
.pt-tools { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.pt-tools .btn-sm { min-height: 28px; padding: 0.1rem 0.5rem; }
.pt-preview { color: var(--text); }
.rp-purpose { margin-top: 0.15rem; max-width: 26rem; }
.rp-off td { opacity: 0.45; }
.rp-amount { width: 5.2rem; min-height: 30px; padding: 0.15rem 0.45rem; font-size: 0.8rem; margin-right: 0; }
.rp-table { width: 100%; }
.rp-table td.actions.rp-actions-cell { display: table-cell; text-align: right; }
.rp-table .rp-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; white-space: nowrap; }
.rp-actions form { display: inline-flex; margin: 0; }
@media (max-width: 700px) { .rp-actions-cell { text-align: left; width: auto;
white-space: normal; flex-wrap: wrap; } }
.rp-skip td { text-decoration: line-through; opacity: 0.5; }
.rp-skip td.rp-actions-cell { text-decoration: none; opacity: 1; }
.rp-skipform { display: inline-flex; margin: 0; }
.rp-archive-form { margin-top: 0.8rem; }
a.rp-purpose { display: block; color: var(--muted); text-decoration: none; }
a.rp-purpose:hover { color: var(--cyan); }
.rp-phonepay { white-space: nowrap; }
@media (min-width: 701px) {
.rp-table { table-layout: fixed; }
.rp-table th:nth-child(1) { width: 21%; }
.rp-table th:nth-child(2) { width: 17%; }
.rp-table th:nth-child(3) { width: 12%; }
.rp-table th:nth-child(4) { width: 9%; }
.rp-table th:nth-child(5) { width: 8%; }
.rp-table th:nth-child(6) { width: 14%; }
.rp-table th:nth-child(7) { width: 19%; }
.rp-table td { overflow-wrap: anywhere; }
.rp-table td.rp-actions-cell { overflow: visible; }
}
.rp-toast { cursor: pointer; max-width: 28rem; }
.rp-countdown { display: block; margin-top: 0.3rem; text-align: right; color: var(--muted);
white-space: normal; line-height: 1.25; font-size: 0.72rem; }
.rp-chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.08rem 0.55rem;
border-radius: 999px; border: 1px solid var(--border); font-size: 0.72rem; letter-spacing: 0.04em;
white-space: nowrap; color: var(--muted); background: rgba(215, 226, 236, 0.04); }
.rp-chip svg { flex: 0 0 auto; }
.rp-chip-ok { color: var(--income); border-color: rgba(0, 255, 156, 0.45); background: rgba(0, 255, 156, 0.08); font-weight: 600; }
.rp-chip-due { color: var(--expense); border-color: rgba(255, 79, 216, 0.45); background: rgba(255, 79, 216, 0.08); }
.rp-chip-wait { color: var(--text); border-color: rgba(215, 226, 236, 0.3); }
.rp-chip-off { opacity: 0.8; }
a.rp-purpose { display: block; margin-top: 0.4rem; padding: 0.3rem 0.5rem 0.4rem; max-width: 26rem;
border: 1px dashed rgba(0, 224, 255, 0.45); border-radius: 8px; background: rgba(0, 224, 255, 0.04);
color: var(--text); font-size: 0.74rem; line-height: 1.3; text-decoration: none; }
a.rp-purpose:hover { border-style: solid; color: var(--text); }
.rp-purpose-cap { display: block; margin-bottom: 0.15rem; font-size: 0.58rem; letter-spacing: 0.08em;
text-transform: uppercase; color: var(--cyan); }
.rp-purpose-pen { color: var(--muted); }
a.rp-purpose:hover .rp-purpose-pen { color: var(--cyan); }
div.rp-purpose { display: block; margin-top: 0.4rem; padding: 0.3rem 0.5rem 0.35rem; max-width: 26rem;
border: 1px solid rgba(0, 224, 255, 0.45); border-radius: 8px; background: rgba(0, 224, 255, 0.04); }
div.rp-purpose:focus-within { border-color: var(--cyan); }
.rp-purpose-cap { display: block; margin-bottom: 0.15rem; font-size: 0.58rem; letter-spacing: 0.08em;
text-transform: uppercase; color: var(--cyan); }
.rp-pt-editor { min-height: 0; padding: 0.1rem 0; border: none; background: transparent; border-radius: 0;
font-size: 0.74rem; line-height: 1.7; color: var(--text); }
.rp-pt-editor:focus { outline: none; }
.rp-pt-editor .pt-chip { font-size: 0.62rem; padding: 0 0.4rem; line-height: 1.5; }
.rp-pt-foot { display: flex; align-items: center; justify-content: flex-end; gap: 0.25rem; margin-top: 0.15rem; }
.rp-pt-foot .pt-status { margin-right: auto; font-size: 0.66rem; color: var(--muted); }
.rp-pt-foot .pt-status-err { color: var(--expense); }
.rp-pt-foot button { min-height: 20px; padding: 0 0.35rem; font-size: 0.62rem; line-height: 1.4;
border: 1px solid var(--border); border-radius: 5px; background: transparent; color: var(--muted); cursor: pointer; }
.rp-pt-foot button:hover { color: var(--cyan); border-color: var(--cyan); }
.rp-pay-btn.btn { border-radius: 999px; padding: 0.38rem 0.95rem; min-height: 0; font-size: 0.7rem;
font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #06110c; border: none;
background: linear-gradient(135deg, #00ff9c 0%, #00d9b8 100%);
box-shadow: 0 0 14px rgba(0, 255, 156, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.rp-pay-btn.btn:hover { filter: brightness(1.08); box-shadow: 0 0 20px rgba(0, 255, 156, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.rp-actions .btn-danger { width: 28px; height: 28px; min-height: 0; padding: 0; border-radius: 999px;
display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; opacity: 0.8; }
.rp-actions .btn-danger:hover { opacity: 1; }
.rp-chip-ok { gap: 0.4rem; padding: 0.12rem 0.65rem 0.12rem 0.2rem; color: #8dffd2; font-weight: 700;
letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.66rem;
border: 1px solid rgba(0, 255, 156, 0.55);
background: linear-gradient(90deg, rgba(0, 255, 156, 0.22), rgba(0, 255, 156, 0.05));
box-shadow: 0 0 10px rgba(0, 255, 156, 0.18); }
.rp-chip-ic { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px;
border-radius: 50%; background: var(--income); color: #06110c; flex: 0 0 auto; }
.rp-chip-wait { letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.64rem; }
.rp-chip-due { letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.64rem; box-shadow: 0 0 8px rgba(255, 79, 216, 0.15); }
.rp-mail-cell { overflow-wrap: anywhere; }
.rp-mail { display: block; color: var(--cyan); text-decoration: none; line-height: 1.35; }
.rp-mail:hover { text-decoration: underline; }
.rp-fab-wrap { display: flex; justify-content: center; margin: 0.1rem 0 1.1rem; }
.rp-fab {
width: 2.7rem; height: 2.7rem; border-radius: 50%;
border: 1px solid var(--income); background: var(--income); color: #04140c;
font: bold 1.55rem/1 var(--font); cursor: pointer; padding: 0 0 0.12rem;
display: inline-flex; align-items: center; justify-content: center;
box-shadow: 0 0 14px rgba(0, 255, 156, 0.3);
}
.rp-fab:hover { box-shadow: 0 0 22px rgba(0, 255, 156, 0.55); }
.fv-tip {
position: fixed; z-index: 120; max-width: min(20rem, calc(100vw - 1rem));
padding: 0.45rem 0.75rem; border-radius: 8px;
border: 1px solid rgba(255, 79, 216, 0.7); background: var(--panel); color: var(--expense);
font: 0.78rem/1.3 var(--font); letter-spacing: 0.02em;
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 0 14px rgba(255, 79, 216, 0.3);
animation: fv-in 0.18s ease-out; pointer-events: none;
}
.fv-tip::before {
content: ''; position: absolute; left: 0.9rem; top: -6px; width: 10px; height: 10px;
background: var(--panel); transform: rotate(45deg);
border-left: 1px solid rgba(255, 79, 216, 0.7); border-top: 1px solid rgba(255, 79, 216, 0.7);
}
.fv-tip-above::before { top: auto; bottom: -6px; transform: rotate(225deg); }
@keyframes fv-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.edo-steps { margin: 0.1rem 0 0.3rem 1.1rem; padding: 0; display: grid; gap: 0.4rem; line-height: 1.4; }
.edo-steps a { color: var(--cyan); }
.edo-docs { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.25rem; line-height: 1.35; }
.rp-expired { color: var(--warn) !important; opacity: 1; overflow-wrap: anywhere; }
.rp-extra .rp-project-title { color: var(--warn); }
.rp-in {
margin-left: 0.35rem; padding: 0.05rem 0.4rem; border-radius: 999px;
border: 1px solid rgba(0, 255, 156, 0.45); color: var(--income);
font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase;
}
@media (max-width: 700px) {
.emp-card-tm .emp-head { padding-right: 5rem; }
.sh-cal { padding: 0.4rem; overflow-x: hidden; }
.sh-grid { grid-template-columns: repeat(7, minmax(0, 1fr));
gap: 3px; min-width: 0; }
.sh-head-row div { font-size: 0.65rem; padding: 0; }
.sh-day { min-height: 62px; padding: 0.15rem; border-radius: 7px; }
.sh-num { font-size: 0.68rem; }
.sh-slot { padding: 0.1rem; gap: 0.15rem; }
.sh-slot:not(.sh-free) { grid-template-columns: auto 1fr;
grid-template-rows: auto; }
.sh-slot.sh-slot-advance:not(.sh-free) { min-width: 0; max-width: 100%;
grid-template-columns: minmax(0, 20px) minmax(0, 1fr); }
.sh-slot-advance .sh-fixed-advance { min-width: 0; max-width: 100%; width: 100%;
white-space: normal; overflow-wrap: anywhere; }
.sh-slot .sh-ava { width: 20px; height: 20px; }
.sh-slot .sh-mpico-row { grid-column: 2; grid-row: 1; min-width: 0;
flex-wrap: wrap; row-gap: 1px; }
.sh-slot .sh-mpico-row .mpico { width: 11px; height: 11px; }
.sh-slot.sh-slot-advance .sh-mpico-row { width: 100%; max-width: 100%;
min-width: 0; transform: none; justify-self: stretch; gap: 1px; }
.sh-slot.sh-slot-advance .sh-mpico-row .mpico { flex: 0 1 11px;
width: 11px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.sh-slot .sh-who, .sh-slot .sh-sum, .sh-slot .sh-del-form { display: none; }
.sh-slot-sub .sh-who { display: block; grid-column: 1 / -1; grid-row: 2;
font-size: 0.66rem; }
.sh-slot-sub .sh-sum { display: block; grid-column: 1 / -1; grid-row: 3;
justify-self: start; margin-left: 0; max-width: 100%; font-size: 0.6rem;
white-space: normal; overflow-wrap: anywhere; }
.sh-slot-sub .sh-sub-contacts { grid-row: 4; font-size: 0.6rem; }
.sh-who-note, .sh-who-extra { display: none; }
.sh-slot.sh-free .sh-empty { display: none; }
.sh-day-total { font-size: 0.62rem; margin-top: 0.2rem; padding-top: 0.2rem; }
.sh-day-total .sh-tot-row span { display: none; }
.sh-day-total { overflow: hidden; }
.sh-day-total .sh-tot-row b { font-size: 0.6rem; white-space: normal; overflow-wrap: anywhere; }
.sh-day-total:has(.sh-tot-final) .sh-tot-row:not(.sh-tot-final) { display: none; }
.sh-day-total .sh-tot-fine, .sh-day-total .sh-tot-bonus { display: none; }
.sh-day-all { max-height: 11rem; }
.sh-day-all:has(.sh-slot-sub) { max-height: none; }
.sh-pt-name { font-size: 0.6rem; }
}
.emp-card-tm { position: relative; }
.emp-navigation { width: 100%; max-width: 640px; min-width: 0;
margin: 0.7rem 0 1rem; }
.emp-tabs { display: flex; flex-wrap: wrap; gap: 26px;
border-bottom: 1px solid var(--border); }
.emp-tab { display: inline-flex; align-items: center; justify-content: center;
gap: 8px; min-width: 0; color: var(--muted); text-decoration: none;
transition: color .12s, background .12s; }
.emp-tab:hover { color: var(--text); }
.emp-tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.emp-tabs .emp-tab { min-height: 49px; padding: 9px 0 13px; gap: 9px; border: 0;
border-bottom: 3px solid transparent; border-radius: 0; background: transparent;
font-size: 14px; font-weight: 700; text-align: left; }
.emp-tab-label { min-width: 0; overflow-wrap: anywhere; }
.emp-tab-n { flex-shrink: 0; font-size: 12px; font-weight: 400;
font-variant-numeric: tabular-nums; }
.emp-tabs .emp-tab-n { color: var(--muted); }
.emp-tabs .emp-tab.on { color: var(--cyan); border-bottom-color: var(--cyan); }
.emp-tabs .emp-tab-black.on { color: var(--expense, #ff4f4f);
border-bottom-color: var(--expense, #ff4f4f); }
.emp-groups { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.emp-groups .emp-tab { min-height: 32px; padding: 6px 10px; gap: 9px;
border: 1px solid transparent; border-radius: 5px; background: var(--panel-2);
font-size: 12px; }
.emp-groups .emp-tab.on { color: var(--cyan); background: rgba(0, 224, 255, 0.08);
box-shadow: inset 0 0 0 1px var(--border); }
@media (max-width: 600px) {
.emp-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.emp-tabs .emp-tab { flex-direction: column; align-items: flex-start;
justify-content: flex-start; gap: 4px; min-height: 56px; font-size: 13px; }
.emp-groups .emp-tab { min-height: 44px; }
}
@media (pointer: coarse) {
.emp-tabs .emp-tab { min-height: 56px; }
.emp-groups .emp-tab { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .emp-tab { transition: none; } }
.emp-group-tag { display: inline-flex; margin-bottom: 0.45rem; padding: 0.2rem 0.45rem;
border: 1px solid var(--border, #232b35); border-radius: 6px; }
.emp-card-tm .emp-group-edit { display: none; }
.emp-card-tm.emp-card-edit .emp-group-edit { display: flex; flex-direction: column;
gap: 0.3rem; margin-bottom: 0.65rem; font-size: 0.8rem; }
.emp-group-field, .emp-project-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.emp-group-field legend, .emp-project-field legend { padding: 0; margin-bottom: 0.4rem; }
.emp-group-picker { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.4rem; }
.emp-group-picker .emp-group-option, .emp-project-picker .emp-project-option { position: relative; display: flex; flex: 1 1 9rem;
min-width: 0; margin: 0; cursor: pointer; }
.emp-group-option input, .emp-project-option input[type="radio"] { position: absolute; width: 1px; height: 1px; min-height: 0;
padding: 0; margin: 0; opacity: 0; }
.emp-group-option span, .emp-project-option span { display: flex; align-items: center; justify-content: center;
min-height: 44px; width: 100%; padding: 0.45rem 0.7rem; border-radius: 8px;
border: 1px solid var(--border, #232b35); color: var(--muted); text-align: center; overflow-wrap: anywhere; }
.emp-group-option input:checked + span, .emp-project-option input:checked + span { color: var(--cyan); border-color: var(--cyan);
background: rgba(0, 224, 255, 0.08); box-shadow: 0 0 8px rgba(0, 224, 255, 0.16); }
.emp-group-option input:focus-visible + span, .emp-project-option input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.emp-project-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 0.5rem; }
.emp-project-option span { height: 100%; font-size: 0.8rem; justify-content: flex-start; text-align: left; }
.emp-card-tm.emp-card-edit:has(.emp-group-edit) .emp-group-tag { display: none; }
.emp-group-actions { display: flex; flex: 1 1 100%; min-width: 0; }
.emp-name-wrap:has(.emp-group-actions) { flex-wrap: wrap; }
.emp-group-action { min-height: 32px; max-width: 100%; padding: 0.25rem 0.4rem;
font-size: 0.7rem; line-height: 1.25; white-space: normal; text-align: left; }
.emp-head:has(.emp-group-actions) { align-items: flex-start; }
.emp-tabs .emp-tab-black.on { color: var(--expense, #ff4f4f); }
.emp-tag-black { color: var(--expense, #ff4f4f) !important; }
.emp-card-tm.emp-drag { cursor: grab; touch-action: pan-y pinch-zoom;
user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
html.drag-lock, html.drag-lock body { touch-action: none;
overscroll-behavior: none; -webkit-user-select: none; user-select: none;
-webkit-touch-callout: none; }
.sh-ghost.sh-ghost { position: fixed; }
.emp-card-tm.emp-drag.emp-card-edit { cursor: default; }
.emp-card-sub { border-style: dashed; }
.emp-card-sub .ava-lg { opacity: 0.7; }
.emp-card-sub .emp-extra p { margin: 0.35rem 0 0; }
.sub-more { margin-top: 0.5rem; }
.sub-more summary { cursor: pointer; color: var(--cyan); font-size: 0.85rem; }
.sub-fields { display: grid; gap: 0.35rem; margin-top: 0.4rem; }
.sub-photo { display: block; text-align: center; }
#sub-dlg .rate-dlg-box { width: min(26rem, calc(100vw - 2rem));
max-height: calc(100vh - 3rem); overflow-y: auto; }
#fire-dlg {
width: min(34rem, calc(100vw - 1rem));
max-width: calc(100vw - 1rem);
max-height: calc(100vh - 1rem);
max-height: calc(100dvh - 1rem);
}
#fire-dlg .rate-dlg-box {
width: 100%; min-width: 0;
padding: min(1.1rem, 3vh) min(1.2rem, 4vw);
gap: min(0.7rem, 2vh);
}
#fire-dlg h3 { min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
#fire-dlg .form-actions {
display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
gap: min(0.75rem, 2vmin); align-items: stretch; min-width: 0;
}
#fire-dlg .form-actions .btn {
min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere;
padding-inline: min(1rem, 3vw); line-height: 1.3;
}
.emp-card-tm .emp-card-tools { position: absolute; top: 5px; right: 5px; z-index: 2;
display: inline-flex; align-items: center; gap: 0.1rem; }
.emp-card-tm .emp-fire:hover { color: var(--expense, #ff4f4f);
background: rgba(255, 79, 79, 0.12); }
.emp-card-tm .emp-hire:hover { color: var(--income, #00e676);
background: rgba(0, 230, 118, 0.12); }
.emp-card-tm .emp-head { padding-right: 3.8rem; }
.emp-card-tm .emp-name-edit,
.emp-card-tm .ct-edit,
.emp-card-tm .emp-card-save,
.emp-card-tm .emp-rate-set,
.emp-card-tm .emp-editonly,
.emp-card-tm .ava-del-x,
.emp-card-tm .rate-open,
.emp-card-tm .doc-type-open,
.emp-card-tm .doc-del-x { display: none; }
.emp-card-tm:not(.emp-card-edit) .emp-ct:not(.emp-ct-filled) { display: none; }
.emp-card-tm.emp-card-edit { border-color: rgba(0, 224, 255, 0.45);
box-shadow: 0 0 0 1px rgba(0, 224, 255, 0.2); }
.emp-card-tm.emp-card-edit .emp-edit-open { color: var(--cyan);
background: rgba(0, 224, 255, 0.12); }
.emp-card-tm.emp-card-edit .emp-head:has(.emp-name-edit) .sh-emp-name { display: none; }
.emp-card-tm.emp-card-edit .emp-name-edit { display: inline-flex; flex-wrap: wrap;
gap: 0.3rem; min-width: 0; }
.emp-card-tm.emp-card-edit .emp-name-edit input { min-height: 30px; min-width: 0;
flex: 1 1 7rem; padding: 0.15rem 0.4rem; font-size: 0.85rem; }
.emp-card-tm.emp-card-edit .emp-ct:has(.ct-edit) .ct-view { display: none; }
.emp-card-tm.emp-card-edit .ct-edit { display: inline-flex; }
.emp-card-tm.emp-card-edit .emp-rate-none { display: none; }
.emp-card-tm.emp-card-edit .emp-rate-hint.emp-editonly { display: block;
margin-top: 0.15rem; }
.emp-noproj-rate { margin-top: 0.25rem; }
.emp-card-tm.emp-card-edit .emp-rate-set { display: inline-flex; align-items: center;
flex-wrap: wrap; gap: 0.3rem; }
.emp-card-tm.emp-card-edit .doc-form { display: none; }
.emp-card-tm.emp-card-edit .emp-card-foot { display: none; }
.emp-card-tm.emp-card-edit .ava-del-x,
.emp-card-tm.emp-card-edit .rate-open,
.emp-card-tm.emp-card-edit .doc-type-open,
.emp-card-tm.emp-card-edit .doc-del-x { display: inline-flex; }
.emp-card-tm.emp-card-edit .emp-editonly { display: inline-flex; }
.emp-card-tm.emp-card-edit .emp-card-foot.emp-editonly { display: flex; gap: 0.4rem;
flex-wrap: wrap; }
.emp-card-tm.emp-card-edit .emp-card-save { display: flex; gap: 0.4rem;
flex-wrap: wrap; margin-top: 0.5rem; }
.emp-cardform, .emp-projform { display: none; }
.emp-proj-sel { flex: 1 1 12rem; min-width: 0; max-width: 22rem;
min-height: 30px; font-size: 0.82rem; }
.emp-mp-note { margin-top: 0.25rem; color: var(--warn, #e5c07b); }
.bb-guestbar { display: flex; align-items: center; justify-content: space-between;
gap: 0.6rem; margin-bottom: 0.8rem; }
.bb-guestbar .logo { text-decoration: none; order: 0; }
.bb-hero { display: flex; align-items: center; gap: 1.2rem; overflow: hidden;
position: relative;
background:
radial-gradient(120% 140% at 100% 0%, rgba(0, 224, 255, 0.12), transparent 60%),
radial-gradient(120% 140% at 0% 100%, rgba(0, 255, 156, 0.08), transparent 55%),
var(--panel); }
.bb-hero h1 { margin: 0 0 0.4rem; }
.bb-hero-txt { flex: 1 1 22rem; min-width: 0; }
.bb-hero-txt p { margin: 0.2rem 0; max-width: 46rem; }
.bb-when { color: var(--text); font-size: 0.85rem; display: flex;
align-items: baseline; gap: 0.45rem; }
.bb-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
background: var(--income); box-shadow: 0 0 10px rgba(0, 255, 156, 0.8);
animation: bb-pulse 2.4s ease-in-out infinite; }
@keyframes bb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.bb-hero-art { position: relative; width: 116px; height: 128px; flex: 0 0 auto; }
.bb-sheet { position: absolute; inset: 0; border-radius: 8px;
border: 1px solid var(--border); background: var(--panel-2);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); }
.bb-sheet-3 { transform: rotate(-13deg) translate(-16px, 8px); opacity: 0.5;
border-color: rgba(0, 224, 255, 0.18); }
.bb-sheet-2 { transform: rotate(-6deg) translate(-8px, 4px); opacity: 0.75;
border-color: rgba(0, 224, 255, 0.28); }
.bb-sheet-1 { display: flex; align-items: flex-end; justify-content: center;
padding-bottom: 0.9rem; border-color: rgba(0, 224, 255, 0.45);
background: linear-gradient(160deg, #17202a, #111820); }
.bb-sheet-1 b { color: var(--cyan); letter-spacing: 0.12em; font-size: 0.85rem; }
.bb-grid { display: grid; gap: 0.8rem; margin-top: 0.8rem;
grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
.bb-card { display: flex; flex-direction: column; gap: 0.5rem; position: relative;
overflow: hidden; transition: border-color 0.15s ease, transform 0.15s ease; }
.bb-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0;
height: 3px; background: var(--income); opacity: 0.85; }
.bb-card:hover { border-color: var(--income); transform: translateY(-2px); }
.bb-card-head { display: flex; align-items: center; gap: 0.6rem; }
.bb-card-head h2 { margin: 0; font-size: 0.98rem; line-height: 1.25; }
.bb-logo { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
display: inline-flex; align-items: center; justify-content: center;
background: var(--panel-2); border: 1px solid var(--border); }
.bb-logo .mpico { width: 24px; height: 24px; }
.bb-avito .bb-logo, .bb-cdek .bb-logo { width: 64px; }
.bb-avito .bb-logo .mpico, .bb-cdek .bb-logo .mpico {
width: 52px; height: auto; max-height: 26px; object-fit: contain; }
.bb-word { font-size: 0.62rem; letter-spacing: 0.02em;
color: var(--bb-accent, var(--cyan)); }
.bb-note { margin: 0; font-size: 0.82rem; line-height: 1.35; }
.bb-facts { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin: 0; }
.bb-facts > div { display: flex; flex-direction: column; }
.bb-facts dt { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.04em; }
.bb-facts dd { margin: 0; font-size: 0.88rem; white-space: nowrap; }
.bb-facts .bb-date { flex-basis: 100%; min-width: 0; gap: 0.25rem; margin-top: 0.45rem; }
.bb-date dt { font-size: 0.78rem; letter-spacing: 0; line-height: 1.45; }
.bb-date dd { white-space: normal; line-height: 1.4; }
.bb-pending { margin: 0; }
.bb-err { margin: 0; color: var(--warn); }
.bb-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto;
padding-top: 0.2rem; }
.bb-actions .btn { display: inline-flex; align-items: center; gap: 0.35rem; }
.bb-card-link { opacity: 0.92; }
.bb-card-link .bb-note { color: var(--muted); }
@media (max-width: 700px) {
.bb-hero-art { display: none; }
.bb-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
.bb-dot { animation: none; }
.bb-card:hover { transform: none; }
}
.rp-total { display: flex; flex-wrap: wrap; align-items: center;
justify-content: space-between; gap: 1rem 1.6rem; }
.rp-total-main { display: flex; flex-direction: column; gap: 0.15rem; }
.rp-total-cap { font-size: 0.82rem; color: var(--muted); }
.rp-total-sum { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.1;
font-variant-numeric: tabular-nums; }
.rp-total-red { color: var(--expense); }
.rp-total-side { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.rp-total-cell { display: flex; flex-direction: column; gap: 0.1rem;
min-width: 7.5rem; }
.rp-total-cell > span { font-size: 0.78rem; color: var(--muted); }
.rp-total-cell > b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.rp-total-due > b { color: var(--expense); }
.rp-total-ok > b { color: var(--income); }
@media (max-width: 700px) {
.rep-cards tbody {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
gap: 0.5rem;
}
.rep-cards tr { margin-bottom: 0; padding: 0.5rem 0.6rem; }
.rep-cards td {
flex-direction: column;
align-items: flex-start;
text-align: left;
gap: 0;
padding: 0.1rem 0;
}
.rep-cards td::before { font-size: 0.64rem; }
.rep-cards td[data-th="Файл"] { font-size: 0.8rem; }
.rep-cards td[data-th="Файл"] > a,
.rep-cards td[data-th="Файл"] { max-width: 100%; overflow: hidden;
text-overflow: ellipsis; white-space: nowrap; }
.rep-cards tr { position: relative; }
.rep-cards td.actions { flex-direction: row; align-items: center;
justify-content: flex-start; gap: 0.4rem; margin-top: 0.25rem; }
.rep-cards td.actions form { position: absolute; top: 0.4rem; right: 0.45rem;
margin: 0; }
.rep-cards td.actions .btn { padding-left: 0.5rem; padding-right: 0.5rem; }
}
@media (max-width: 700px) {
.sh-emps-2 { grid-template-columns: repeat(auto-fill, minmax(min(9rem, 100%), 1fr));
gap: 0.45rem; }
.sh-emps-2 .emp-card { padding: 0.5rem 0.55rem; }
.sh-emps-2 .emp-card-tm.emp-card-edit { grid-column: 1 / -1; }
.sh-emps-2 .ava-lg { width: 38px; height: 38px; }
.sh-emps-2 .emp-ct, .sh-emps-2 .ct-val, .sh-emps-2 .doc-chip { font-size: 0.66rem; }
.sh-emps-2 > *, .sh-emps-2 .emp-card > *, .sh-emps-2 .emp-proj,
.sh-emps-2 .emp-proj-row, .sh-emps-2 .emp-addproj, .sh-emps-2 .emp-extra { min-width: 0; }
.sh-emps-2 select, .sh-emps-2 .emp-proj-sel, .sh-emps-2 .emp-addproj-sel {
width: 100%; max-width: 100%; min-width: 0; }
.sh-emp-new, .sh-newemp .sh-emp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sh-emp-new > select, .sh-emp-new > input { min-width: 0; max-width: 100%; }
.sh-emps-2 .emp-head { flex-wrap: wrap; }
.sh-emps-2 .emp-name-wrap { flex: 1 0 100%; padding-right: 0; }
.sh-emps-2 .doc-dz { font-size: 0.64rem; }
.sh-emps-2 .sh-emp-name { font-size: 0.92rem; }
}
.dl-orig-btn { display: inline-flex; align-items: center; gap: 0.45rem;
min-height: 44px; padding: 0 0.9rem; border-radius: 10px; flex: none; }
.stat-file { overflow-wrap: break-word; }
.ico-btn { width: 44px; height: 44px; padding: 0; border-radius: 10px;
display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rep-head-actions { align-items: center; flex-wrap: wrap; }
.rep-head-icons { display: flex; align-items: center; gap: 0.4rem; margin-left: auto; }
.rep-head-icons form { margin: 0; }
.rep-title { white-space: nowrap; font-size: clamp(0.92rem, 4.2vw, 1.5rem); }
.pvz-mini { touch-action: pan-y; }
.pvz-head-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5rem;
margin-top: 0.2rem; }
.pvz-head-addr { margin-top: 0; }
@media (max-width: 700px) {
.pvz-head-meta { flex-direction: column; align-items: flex-start; gap: 0.6rem;
margin-top: 0.6rem; }
.pvz-head-meta .pvz-tz { order: -1; margin-left: 0; }
.pvz-head-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
align-items: stretch; gap: 0.5rem; width: 100%; margin-top: 0.9rem; }
.pvz-head-actions > *, .pvz-head-actions .inline-form { width: 100%; margin: 0; }
.pvz-head-actions .btn { width: 100%; justify-content: flex-start; }
}
.btn-ico { flex: none; margin-right: 0.4rem; opacity: 0.85; }
@media (max-width: 700px) {
label.chk { min-width: 0; flex: 0 1 auto; }
label.chk input { flex: none; }
.mp-row, .mp-row-wide { gap: 0.45rem 0.6rem; }
.mp-row .area-inp, .mp-row-wide .area-inp { flex: 1 1 100%; max-width: none; }
}
@media (max-width: 700px) {
.ozc-grid { grid-template-columns: repeat(auto-fill, minmax(min(9.5rem, 100%), 1fr));
gap: 0.6rem; }
.ozc-card { padding: 0.6rem 0.65rem; gap: 0.35rem; }
.ozc-ava-wrap { width: 100%; }
.ozc-ava { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 12px; }
.ozc-name { font-size: 0.92rem; }
.ozc-name b { overflow-wrap: break-word; }
.ozc-name .btn-pencil { margin-left: 0; padding: 0 0.2rem; min-width: 28px; min-height: 0; font-size: 0.82rem; }
.ozc-title, .ozc-company { font-size: 0.78rem; }
.ozc-props div { flex-direction: column; align-items: flex-start; gap: 0; }
.ozc-props dt { font-size: 0.68rem; }
.ozc-props dd { text-align: left; margin: 0; }
.ozc-props dd .copy-tap { white-space: nowrap; }
.ozc-props dd, .ozc-note { font-size: 0.8rem; }
.ozc-phone-note { font-size: 0.72rem; }
.ozc-grid > .ozc-card:has(.ozc-edit) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
.dl-orig-word { display: none; }
.dl-orig-btn { width: 44px; padding: 0; justify-content: center; }
}
.xls-wrap { padding: 0; max-width: 100%; }
.xls-table { font-size: 0.78rem; white-space: nowrap; }
.xls-table td { padding: 0.3rem 0.5rem; border-bottom: 1px solid var(--border);
max-width: 22rem; overflow: hidden; text-overflow: ellipsis; }
.xls-table .xls-head td { color: var(--text); font-weight: 600;
position: sticky; top: 0; background: var(--panel-2); }
.xls-tabs { margin: 0.6rem 0; }
.xls-file, .xls-note { margin: 0.5rem 0; }
.xls-modal {
position: fixed; inset: 0; z-index: 60;
display: flex; flex-direction: column;
background: var(--bg);
}
.xls-modal-head {
display: flex; align-items: center; gap: 0.6rem;
padding: 0.6rem 0.8rem;
border-bottom: 1px solid var(--border);
background: var(--panel);
}
.xls-modal-name {
flex: 1 1 auto; min-width: 0;
font-size: 0.85rem; color: var(--text);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xls-close { flex: none; }
.xls-modal-body {
flex: 1 1 auto; min-height: 0;
overflow: auto; overscroll-behavior: contain;
padding: 0.6rem 0.8rem 1.2rem;
}
.xls-modal .xls-tabs {
position: sticky; top: -0.6rem; z-index: 1;
margin: 0 0 0.6rem; padding: 0.2rem 0;
background: var(--bg);
}
@media (max-width: 700px) {
.inet-kv div { flex-direction: column; align-items: stretch; gap: 0.1rem; }
.inet-kv dd { text-align: left; }
.inet-kv dd, .inet-kv code { word-break: normal; overflow-wrap: break-word; }
.inet-card-edit .inet-kv dt { flex: none; }
}
.shot-x-form { position: absolute; top: 10px; right: 36px; z-index: 3; margin: 0; }
.shot-x {
display: grid; place-items: center;
width: 34px; height: 34px; padding: 0;
border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%;
background: rgba(10, 14, 18, 0.65); color: #fff;
cursor: pointer; backdrop-filter: blur(4px);
}
.shot-x:hover { background: rgba(184, 85, 102, 0.85); border-color: #ff7a8c; }
@media (max-width: 700px) {
.shot-x { width: 38px; height: 38px; }
}
.dt-group { margin: 1.4rem 0 0.2rem; font-size: 1rem; letter-spacing: 0.01em; }
.dt-grid { display: grid; gap: 0.8rem; margin-top: 0.6rem;
grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
.dt-card { display: flex; flex-direction: column; gap: 0.45rem; position: relative;
overflow: hidden; transition: border-color 0.15s ease, transform 0.15s ease; }
.dt-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0;
height: 3px; background: var(--income); opacity: 0.85; }
.dt-card-soon::before { background: var(--border); opacity: 1; }
.dt-card:hover { border-color: var(--income); transform: translateY(-2px); }
.dt-card h3 { margin: 0.15rem 0 0; font-size: 0.98rem; line-height: 1.3; }
.dt-note { margin: 0; font-size: 0.85rem; line-height: 1.4; }
.dt-main { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
margin-top: 0.2rem; }
.dt-dl { display: inline-flex; align-items: center; gap: 0.35rem; }
.dt-size { white-space: nowrap; }
.dt-fname { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dt-extra { list-style: none; margin: 0.15rem 0 0; padding: 0;
display: flex; flex-direction: column; gap: 0.3rem; }
.dt-extra li { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
font-size: 0.85rem; }
.dt-extra a { overflow: hidden; text-overflow: ellipsis; }
.dt-when { margin: 0.1rem 0 0; }
.dt-soon { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
margin: 0.2rem 0 0; }
.dt-btn-off { background: var(--panel-2); color: var(--muted);
border-color: var(--border); cursor: default; }
.dt-btn-off:hover { background: var(--panel-2); border-color: var(--border);
transform: none; }
.dt-up { margin-top: auto; padding-top: 0.35rem; }
.dt-del { display: inline; margin: 0; }
.dt-x { background: none; border: none; color: var(--muted); cursor: pointer;
font-size: 1.05rem; line-height: 1; padding: 0 0.15rem; }
.dt-x:hover { color: var(--expense); }
.dt-ph { font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 0.85em; color: var(--income); }
.dt-warn { margin: 0.8rem 0 0; }
@media (max-width: 620px) {
.dt-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
.dt-card:hover { transform: none; }
}
.tk-head { align-items: flex-start; gap: 1rem; }
.tk-head h1 { margin-bottom: 0.15rem; }
.tk-new-btn { flex: none; white-space: nowrap; }
.tk-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.9rem; }
.tk-tab { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.8rem;
border: 1px solid var(--border); border-radius: 999px; color: var(--muted); text-decoration: none;
font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; background: var(--panel); }
.tk-tab b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.tk-tab:hover { color: var(--text); border-color: var(--muted); }
.tk-tab-on { color: var(--income); border-color: var(--income);
box-shadow: 0 0 12px rgba(0, 255, 156, 0.25), inset 0 0 12px rgba(0, 255, 156, 0.08); }
.tk-tab-on b { color: var(--income); }
.tk-tab-pvz { text-transform: none; letter-spacing: 0; color: var(--cyan); border-color: rgba(0, 224, 255, 0.45); }
.tk-new { padding: 0; overflow: hidden; margin-bottom: 1rem; }
.tk-new:not([open]) { display: none; }
.tk-new-sum { cursor: pointer; padding: 0.75rem 1rem; color: var(--muted); font-size: 0.8rem;
text-transform: uppercase; letter-spacing: 0.08em; list-style: none; user-select: none; }
.tk-new-sum::-webkit-details-marker { display: none; }
.tk-new-sum::before { content: '＋'; color: var(--income); margin-right: 0.5rem; }
.tk-new[open] .tk-new-sum::before { content: '−'; }
.tk-new-sum:hover { color: var(--text); }
.tk-new .tk-form { padding: 0 1rem 1rem; border-top: 1px solid var(--border); padding-top: 0.9rem; }
.tk-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem 1rem; }
.tk-form label, .tk-form .fld { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; min-width: 0; }
.tk-form input, .tk-form select, .tk-form textarea { width: 100%; box-sizing: border-box; }
.tk-f-title, .tk-f-body, .tk-f-people, .tk-f-actions { grid-column: 1 / -1; }
.tk-f-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0; }
.tk-ava { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem;
border-radius: 50%; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; flex: none;
border: 1px solid transparent; }
.tk-ava-xs { width: 1.35rem; height: 1.35rem; font-size: 0.58rem; }
.tk-c0 { color: var(--income); background: rgba(0, 255, 156, 0.12); border-color: rgba(0, 255, 156, 0.4); }
.tk-c1 { color: var(--cyan); background: rgba(0, 224, 255, 0.12); border-color: rgba(0, 224, 255, 0.4); }
.tk-c2 { color: var(--warn); background: rgba(255, 215, 94, 0.12); border-color: rgba(255, 215, 94, 0.4); }
.tk-c3 { color: var(--expense); background: rgba(255, 79, 216, 0.12); border-color: rgba(255, 79, 216, 0.4); }
.tk-c4 { color: #c9a0ff; background: rgba(201, 160, 255, 0.12); border-color: rgba(201, 160, 255, 0.4); }
.tk-c5 { color: #ff9e64; background: rgba(255, 158, 100, 0.12); border-color: rgba(255, 158, 100, 0.4); }
.chip .tk-ava-xs { margin-right: 0.35rem; vertical-align: middle; }
.tk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.75rem; }
.tk-card { position: relative; display: flex; flex-direction: column; gap: 0.45rem; padding: 0.85rem 1rem 0.85rem 1.1rem;
background: var(--panel); border: 1px solid var(--border); border-radius: 12px; color: var(--text);
text-decoration: none; overflow: hidden; min-width: 0;
transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.tk-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
background: var(--cyan); opacity: 0.8; }
.tk-card:hover { transform: translateY(-2px); border-color: var(--muted); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.tk-card.tk-today::before { background: var(--warn); }
.tk-card.tk-overdue::before { background: var(--expense); }
.tk-card.tk-done { opacity: 0.72; }
.tk-card.tk-done::before { background: var(--income); }
.tk-card.tk-done .tk-card-title { text-decoration: line-through; text-decoration-color: rgba(215, 226, 236, 0.5); }
.tk-card.tk-unread { border-color: rgba(0, 255, 156, 0.45); }
.tk-dot { position: absolute; top: 0.7rem; right: 0.7rem; width: 0.55rem; height: 0.55rem; border-radius: 50%;
background: var(--income); box-shadow: 0 0 10px rgba(0, 255, 156, 0.9); animation: tk-pulse 1.8s ease-in-out infinite; }
@keyframes tk-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.7; } }
.tk-card-title { font-weight: 600; font-size: 1.02rem; line-height: 1.3; overflow-wrap: anywhere; padding-right: 1rem; }
.tk-card-body { color: var(--muted); font-size: 0.86rem; line-height: 1.35; overflow-wrap: anywhere;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; font-size: 0.82rem; color: var(--muted); margin-top: auto; }
.tk-who { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--text); min-width: 0; }
.tk-nobody { color: var(--muted); font-style: italic; }
.tk-due { color: var(--text); font-variant-numeric: tabular-nums; }
.tk-due-now { color: var(--warn); }
.tk-due-late { color: var(--expense); font-weight: 600; }
.tk-pvz { color: var(--cyan); text-decoration: none; overflow-wrap: anywhere; }
.tk-cnt { display: inline-flex; align-items: center; gap: 0.25rem; margin-left: auto; font-variant-numeric: tabular-nums; }
.tk-title-wrap { min-width: 0; }
.tk-back { display: inline-block; color: var(--muted); text-decoration: none; font-size: 0.85rem; margin-bottom: 0.3rem; }
.tk-back:hover { color: var(--text); }
.tk-title { margin: 0 0 0.25rem; overflow-wrap: anywhere; }
.tk-state { flex: none; align-self: flex-start; padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.78rem;
text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; border: 1px solid var(--border); }
.tk-state-open { color: var(--cyan); border-color: rgba(0, 224, 255, 0.5); box-shadow: 0 0 10px rgba(0, 224, 255, 0.2); }
.tk-state-late { color: var(--expense); border-color: rgba(255, 79, 216, 0.5); box-shadow: 0 0 10px rgba(255, 79, 216, 0.2); }
.tk-state-done { color: var(--income); border-color: rgba(0, 255, 156, 0.5); box-shadow: 0 0 10px rgba(0, 255, 156, 0.2); }
.tk-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.tk-side { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.tk-main { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
@media (min-width: 900px) {
.tk-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 32%); align-items: start; }
.tk-main { grid-column: 1; grid-row: 1; }
.tk-side { grid-column: 2; grid-row: 1; position: sticky; top: 0.5rem; }
}
.tk-panel { padding: 1rem; }
.tk-h3 { margin: 0 0 0.7rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
display: flex; align-items: center; gap: 0.5rem; }
.tk-n { font-variant-numeric: tabular-nums; letter-spacing: 0; background: var(--panel-2); border: 1px solid var(--border);
border-radius: 999px; padding: 0 0.4rem; min-width: 1.4rem; text-align: center; color: var(--text); }
.tk-status-form { margin: 0 0 0.9rem; }
.tk-status-btn { width: 100%; }
.tk-kv dt { min-width: 9.5rem; }
.tk-side-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.9rem; }
.tk-side-actions form { margin: 0; }
.tk-people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.tk-person { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.tk-person-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tk-rm-form { margin: 0; }
.tk-add-form { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.tk-add-form select { flex: 1; min-width: 0; }
.tk-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.tk-msgs { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.tk-msg { display: flex; gap: 0.6rem; align-items: flex-start; min-width: 0; }
.tk-msg-box { flex: 1; min-width: 0; background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px;
border-top-left-radius: 4px; padding: 0.55rem 0.8rem; }
.tk-msg-me .tk-msg-box { border-color: rgba(0, 255, 156, 0.35); }
.tk-msg-head { display: flex; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.2rem; font-size: 0.86rem; }
.tk-msg-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.tk-chat-empty { margin: 0 0 0.9rem; }
.tk-say { display: flex; gap: 0.6rem; align-items: flex-end; }
.tk-say textarea { flex: 1; min-width: 0; resize: vertical; }
.tk-tab-link .act-badge { margin-left: 0.4rem; }
@media (max-width: 700px) {
.tk-form { grid-template-columns: 1fr; }
.tk-grid { grid-template-columns: 1fr; }
.tk-say { flex-direction: column; align-items: stretch; }
.tk-head { flex-direction: column; }
.tk-new-btn { align-self: stretch; }
}
.bx-panel { margin-bottom: 0.9rem; }
.bx-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.bx-on { color: var(--income); }
.bx-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
margin-top: 0.6rem; }
.bx-panel .bx-auto { display: inline-flex; flex-direction: row; align-items: center;
gap: 0.4rem; justify-content: flex-start; flex-wrap: nowrap;
color: var(--muted); font-size: 0.9rem; }
.bx-panel .bx-auto input { flex: 0 0 auto; margin: 0; width: auto; }
.bx-connect > summary { display: inline-flex; align-items: center; gap: 0.45rem;
cursor: pointer; list-style: none; }
.bx-connect > summary::-webkit-details-marker { display: none; }
.bx-connect-btn svg { flex: 0 0 auto; }
.bx-connect[open] > summary { opacity: 0.85; }
.bx-steps { margin: 0.6rem 0; padding-left: 1.2rem; color: var(--muted);
font-size: 0.92rem; line-height: 1.5; }
.bx-steps code { overflow-wrap: anywhere; }
.bx-tariff { border-left: 2px solid var(--warn); padding-left: 0.55rem; margin: 0.5rem 0; }
.bx-panel .bank-check { overflow-wrap: anywhere; }
.bx-refresh { color: var(--income); }
.bx-refresh:hover { color: var(--income); background: rgba(0, 255, 156, 0.12); }
.bx-form { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.bx-input { flex: 1 1 22rem; min-width: 0; }
@media (max-width: 700px) {
.bx-input { flex-basis: 100%; }
.bx-actions { flex-direction: column; align-items: stretch; gap: 0.55rem; }
.bx-actions .inline-form { display: flex; }
.bx-actions .btn, .bx-actions .inline-form > .btn { width: 100%; }
.bx-refresh { width: auto; align-self: flex-start; }
.bx-auto { width: 100%; }
}
.sh-rate-diff { border-left: 2px solid var(--warn); border-radius: 0;
background: rgba(255, 215, 94, 0.07); padding: 0.55rem 0.7rem;
margin: 0.5rem 0 0.7rem; }
.sh-rate-diff-head { color: var(--warn); font-size: 0.92rem; line-height: 1.45;
overflow-wrap: anywhere; }
.sh-rate-diff p { margin: 0.35rem 0 0.5rem; }
.sh-rate-diff-acts { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.sh-rate-diff-acts .inline-form { margin-left: 0; }
.sh-rate-kept { margin: 0.2rem 0 0.6rem; }
.sh-num-diff { display: inline-flex; align-items: center; justify-content: center;
width: 14px; height: 14px; border-radius: 50%; font-size: 0.6rem;
font-weight: 700; line-height: 1; color: #1b1b0e; background: var(--warn);
vertical-align: text-top; }
.sh-rate-diff .btn { margin-top: 0.1rem; }
.emp-rates { margin: 0.6rem 0 0.2rem; padding-top: 0.5rem;
border-top: 1px solid rgba(255,255,255,0.07); }
.emp-rates-head { font-family: var(--font-logo); font-size: 0.6rem;
letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
margin-bottom: 0.35rem; }
.emp-rates-head .muted { text-transform: none; letter-spacing: 0; }
.emp-rates-list { list-style: none; margin: 0; padding: 0;
display: flex; flex-direction: column; gap: 0.25rem; }
.emp-rate-item { display: flex; align-items: center; gap: 0.4rem;
flex-wrap: wrap; padding: 0.25rem 0.4rem; border-radius: 8px;
background: rgba(255,255,255,0.03); }
.emp-rate-item .emp-rate-pvz { flex: 1 1 8rem; min-width: 0;
overflow-wrap: anywhere; }
.emp-rate-mpico { display: inline-flex; flex-direction: row; align-items: center;
gap: 2px; flex-wrap: wrap; flex: 0 0 auto; }
.emp-rate-item .emp-rate-sum { font-variant-numeric: tabular-nums;
color: var(--income); white-space: nowrap; }
.emp-rate-past { opacity: 0.55; }
.emp-rate-past .emp-rate-sum { color: var(--muted); }
.emp-rate-item .emp-rate-del { margin: 0; }
.emp-rates-none { margin: 0.1rem 0 0.3rem; }
.emp-rate-add { display: flex; align-items: center; gap: 0.4rem;
flex-wrap: wrap; margin-top: 0.45rem; }
.emp-rate-new .emp-rate-add { display: flex; }
.emp-card-tm.emp-card-edit .emp-rate-del.emp-editonly { display: inline-flex; }
.emp-rate-add .rate-inline { width: 6rem; }
.emp-rate-from-fld { display: inline-flex; flex-direction: column; gap: 2px; }
.emp-rate-add .btn, .emp-rate-add select, .emp-rate-add input { min-height: 40px; }
.emp-rate-item .emp-rate-del .btn-pencil { min-width: 40px; min-height: 40px; }
.emp-rate-add input[type="date"] { width: 9.5rem; }
@media (max-width: 700px) {
.emp-rate-add > * { flex: 1 1 100%; }
.emp-rate-add .rate-inline, .emp-rate-add input[type="date"] { width: 100%; }
.emp-rate-add .btn { min-height: 40px; }
.emp-rate-item .emp-rate-del .btn-pencil { min-width: 34px; min-height: 34px; }
}
.ask-rate { border-color: rgba(0, 255, 156, 0.45);
box-shadow: 0 0 0 1px rgba(0, 255, 156, 0.15); margin-bottom: 0.6rem; }
.ask-rate-head { font-weight: 700; color: var(--income); margin-bottom: 0.2rem; }
.ask-rate p { margin: 0.2rem 0 0.6rem; }
.ask-rate-form { display: flex; align-items: flex-end; gap: 0.5rem; flex-wrap: wrap; }
.ask-rate-fld { display: flex; flex-direction: column; gap: 2px; }
.ask-rate-form .rate-inline { width: 7rem; min-height: 40px; }
.ask-rate-form .btn { min-height: 40px; }
@media (max-width: 700px) {
.ask-rate-form > * { flex: 1 1 100%; }
.ask-rate-form .rate-inline { width: 100%; }
}
.emp-rate-new { margin-top: 0.45rem; }
.emp-rate-plus { width: 32px; height: 32px; border-radius: 10px;
display: inline-flex; align-items: center; justify-content: center;
cursor: pointer; list-style: none; color: var(--income);
border: 1px solid rgba(0, 255, 156, 0.7);
background: rgba(0, 255, 156, 0.14);
box-shadow: 0 0 10px rgba(0, 255, 156, 0.18), inset 0 0 10px rgba(0, 255, 156, 0.06);
transition: background 0.15s, border-color 0.15s, transform 0.1s; }
.emp-rate-plus::-webkit-details-marker { display: none; }
.emp-rate-plus:hover { background: rgba(0, 255, 156, 0.24);
border-color: var(--income);
box-shadow: 0 0 14px rgba(0, 255, 156, 0.3), inset 0 0 12px rgba(0, 255, 156, 0.1); }
.emp-rate-plus:active { transform: scale(0.96); }
.emp-rate-plus svg { width: 16px; height: 16px; transition: transform 0.15s; }
.emp-rate-new[open] .emp-rate-plus { color: var(--muted);
border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.04); }
.emp-rate-new[open] .emp-rate-plus svg { transform: rotate(45deg); }
.emp-skills { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
margin: 0.35rem 0 0.2rem; }
.emp-skills-head { white-space: nowrap; }
.emp-skills-head, .emp-skills-help { flex-basis: 100%; }
.emp-skills-help { font-size: 0.65rem; }
@media (max-width: 700px) {
.emp-rate-plus { width: 48px; height: 48px; border-radius: 15px; }
.emp-rate-plus svg { width: 24px; height: 24px; }
}
.emp-rates, .emp-rate-add, .emp-rate-item { min-width: 0; max-width: 100%; }
.emp-rate-add > * { min-width: 0; }
.emp-rate-add select { max-width: 100%; }
.doc-dz-over { border-color: var(--income); background: rgba(0, 255, 156, 0.06); }
.doc-dz-list { display: block; margin-top: 0.25rem; overflow-wrap: anywhere; }
@media (max-width: 700px) {
.emp-skills .mp-chip { min-width: 44px; min-height: 40px; }
.emp-rate-item .emp-rate-del .btn-pencil { min-width: 40px; min-height: 40px; }
.emp-rate-add .rate-inline, .emp-rate-add select,
.emp-rate-add input[type="date"] { min-height: 40px; font-size: 16px; }
}
.emp-first-rate-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.emp-first-rate-row > .emp-project-field, .emp-rate-add > .emp-project-field { flex: 1 1 100%; }
.emp-first-rate-row .emp-rate-mpset { flex: 1 1 100%; }
.emp-rate-amount { display: flex; flex-wrap: nowrap; align-items: center; gap: 0.5rem;
min-width: 0; max-width: 100%; }
.emp-rate-amount .rate-inline { flex: 0 1 7rem; width: 7rem; min-width: 0; min-height: 44px; }
.emp-rate-amount > span { flex: none; white-space: nowrap; }
.emp-rate-duration { flex-basis: 100%; }
.emp-upload { position: relative; display: flex; flex-direction: row; align-items: center;
flex-wrap: wrap; gap: 0.75rem; padding: 0.75rem; min-height: 70px;
border: 1px dashed var(--border); border-radius: 8px; cursor: pointer; }
.emp-upload:hover, .emp-upload:focus-within { border-color: var(--cyan); }
.emp-upload .emp-upload-input { position: absolute; inset: 0; opacity: 0; width: 100%;
height: 100%; min-height: 0; padding: 0; margin: 0; cursor: pointer; z-index: 1; }
.emp-upload-button { min-height: 44px; font: inherit; font-size: 0.85rem; }
.emp-upload-files { min-width: 0; overflow-wrap: anywhere; }
.emp-doc-type-picker { border: 0; min-width: 0; padding: 0; margin: 0.25rem 0 0.75rem; }
.emp-doc-type-picker legend { padding: 0; margin-bottom: 0.4rem; }
.emp-doc-type-picker .doc-type-grid { max-width: 100%; gap: 0.4rem; }
.emp-doc-type-picker .doc-type-opt { position: relative; min-width: 0; max-width: 100%; }
.emp-doc-type-picker .doc-type-opt input { width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; transform: none; }
.emp-doc-type-picker .chip { min-height: 44px; max-width: 100%; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
.emp-doc-type-picker input:focus-visible + .chip { outline: 2px solid var(--cyan); outline-offset: 2px; }
.emp-doc-type-picker #emp-doc-custom-field { margin: 0.5rem 0; }
@media (max-width: 700px) {
.emp-upload-field { grid-column: 1 / -1; }
.emp-rate-amount .rate-inline { font-size: 16px; }
.emp-groups .emp-tab { min-height: 44px; }
}
.pvz-claims-note { max-width: 72rem; line-height: 1.6; }
.pvz-claims-list { margin-bottom: 0; }
.pvz-claims-month { grid-column: 1 / -1; min-width: 0; margin: 1rem 0 0.25rem;
font-size: 0.95rem; overflow-wrap: anywhere; }
.pvz-claims-month:first-child { margin-top: 0.4rem; }
.pvz-claims-held { --claim-bar: var(--expense); }
.pvz-claims-cancelled { --claim-bar: var(--income); }
.pvz-claims-row .pb-bar { --dash: var(--claim-bar); }
.pvz-claims-row .pb-fill { background-color: var(--claim-bar); }
.pvz-claims-missing { display: block; margin-top: 0.15rem; font-weight: normal; }
@media (max-width: 640px) {
.pvz-claims-list { display: block; }
.pvz-claims-month { margin-top: 1.25rem; font-size: 0.9rem; }
.pvz-claims-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 0.35rem 0.6rem; align-items: center; margin-top: 0.65rem; }
.pvz-claims-row .pb-name { grid-row: 1; grid-column: 1; font-size: 0.8rem; }
.pvz-claims-row .pb-money { grid-row: 1; grid-column: 2; min-width: 0;
white-space: normal; overflow-wrap: anywhere; }
.pvz-claims-row .pb-bar { grid-row: 2; grid-column: 1 / -1; }
}
.employees-list-head { display: none; }
.emp-contact-details { display: contents; }
@media (min-width: 1200px) {
.employees-page { --employee-columns: minmax(0, 1.15fr) minmax(0, 1.05fr)
minmax(0, 1.1fr) minmax(0, 0.65fr) minmax(0, 1.85fr) 4.5rem; }
.employees-page .employees-list-head,
.employees-page .employees-list > .emp-card {
display: grid; grid-template-columns: var(--employee-columns);
gap: 0.7rem 0.9rem; align-items: start; padding: 0.85rem 0.6rem;
}
.employees-page .employees-list-head { color: var(--muted); font-size: 0.75rem;
border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.025);
border-radius: 7px 7px 0 0; }
.employees-page .employees-list-head > span { min-width: 0; overflow-wrap: anywhere; }
.employees-actions-heading { text-align: right; }
.employees-page .employees-list { display: block; }
.employees-page .employees-list > .emp-card { min-width: 0; border: 0;
border-bottom: 1px solid var(--border); border-radius: 0; }
.employees-page .employees-list > .emp-card:last-child { border-bottom: 0; }
.employees-page .employees-list > .emp-card.emp-card-edit {
background: rgba(0, 224, 255, 0.035); box-shadow: inset 3px 0 0 rgba(0, 224, 255, 0.55); }
.employees-page .emp-card > * { min-width: 0; max-width: 100%; }
.employees-page .emp-head-actions,
.employees-page .emp-groupform,
.employees-page .emp-cardform { display: none; }
.employees-page .emp-card > .emp-head { grid-column: 1; grid-row: 1;
align-items: flex-start; padding: 0; }
.employees-page .emp-card > .emp-extra { display: contents; }
.employees-page .emp-extra > .emp-contact-details { display: flex; flex-direction: column;
gap: 0.3rem; grid-column: 2; grid-row: 1; min-width: 0; max-width: 100%; }
.employees-page .emp-extra > .emp-docs { grid-column: 3; grid-row: 1;
min-width: 0; max-width: 100%; margin: 0; }
.employees-page .emp-card > .emp-skills { grid-column: 4; grid-row: 1;
margin: 0; padding: 0; border: 0; }
.employees-page .emp-card > .emp-rates { grid-column: 5; grid-row: 1;
margin: 0; padding: 0; border: 0; }
.employees-page .emp-card > .emp-card-tools { grid-column: 6; grid-row: 1;
position: static; justify-self: end; align-self: start; flex-wrap: wrap;
justify-content: flex-end; }
.employees-page .emp-card > .emp-card-save { grid-column: 1 / -1;
justify-content: flex-end; margin-top: 0.2rem; }
.employees-page .emp-name-wrap { flex: 1 1 0; min-width: 0; }
.employees-page .emp-card .emp-name-2l { min-width: 0; }
.employees-page .emp-card .emp-name-edit { width: 100%; }
.employees-page .emp-group-action { width: auto; }
.employees-page .emp-card .ct-view,
.employees-page .emp-card .ct-edit { min-width: 0; max-width: 100%; }
.employees-page .emp-card .ct-val { white-space: normal; overflow-wrap: anywhere; }
.employees-page .emp-skills-head { white-space: normal; }
.employees-page .emp-skills .sh-row-mps { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.employees-page .emp-card .doc-chip { min-width: 0; max-width: 100%; }
.employees-page .emp-card .doc-chip a { min-width: 0; white-space: normal;
overflow-wrap: anywhere; }
.employees-page .emp-card .emp-rate-item { align-items: flex-start; }
.employees-page .emp-card .emp-rate-from { flex-basis: 100%; }
.employees-page .emp-card .emp-project-picker { grid-template-columns: minmax(0, 1fr); }
}
.emp-group-action.btn-primary { width: auto; min-height: 22px; padding: 2px 8px;
font-size: 0.7rem; font-weight: 600; line-height: 1.15; cursor: pointer;
border-radius: 5px; align-self: flex-start;
color: #04140c; background: var(--income); border-color: var(--income);
overflow-wrap: anywhere; box-shadow: none; }
.emp-group-action.btn-primary:hover { filter: brightness(1.08);
box-shadow: 0 0 5px rgba(0, 255, 156, 0.25); }
.emp-group-action.btn-primary:focus-visible { outline: 2px solid var(--cyan);
outline-offset: 3px; }
.emp-group-action.btn-primary:active { filter: brightness(0.92);
box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.24); }
.emp-name-wrap:has(> .emp-note) { flex-wrap: wrap; }
.emp-name-wrap > .emp-note { display: none; flex: 1 1 100%; min-width: 0;
width: 100%; max-width: 100%; margin: 0; overflow-wrap: anywhere; }
.emp-name-wrap > .emp-note:has(> .emp-note-view) { display: block; }
.emp-card-edit:has(> .emp-note-editor-row) .emp-name-wrap > .emp-note { display: none; }
.emp-note-editor-row { min-width: 0; margin: 0.5rem 0 0; color: var(--muted); font-size: 0.8rem; }
.emp-card-edit .emp-note-editor-row { display: flex; flex-direction: column; gap: 0.4rem; }
.emp-note-editor-row textarea { min-height: 8rem; line-height: 1.5; color: var(--text); }
@media (min-width: 1200px) {
.employees-page .emp-card > .emp-note-editor-row { grid-column: 1 / -1; grid-row: 2; }
}
.employees-with-last-shift .emp-group-tag { display: none; }
.employees-with-last-shift .emp-last-shift { display: flex; flex-direction: column;
gap: 0.3rem; margin-top: 0.8rem; min-width: 0; overflow-wrap: anywhere; }
.employees-with-last-shift .emp-last-shift > time { color: var(--text); }
@media (min-width: 1200px) {
.employees-page.employees-with-last-shift { --employee-columns: minmax(0, 1.1fr)
minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 0.6fr) minmax(0, 1.7fr)
minmax(0, 0.85fr) 4.5rem; }
.employees-page.employees-with-last-shift .emp-card > .emp-last-shift {
grid-column: 6; grid-row: 1; margin: 0; font-size: 0.8rem; }
.employees-page.employees-with-last-shift .emp-card > .emp-card-tools { grid-column: 7; }
.employees-with-last-shift .emp-last-shift-heading { display: none; }
}