.work-layout {
display: grid;
grid-template-columns: 245px 1fr;
min-height: calc(100vh - 112px);
}
.sidebar {
background: #fff7fa;
border-right: 1px solid #edcfde;
padding: 1.3rem 1rem;
display: flex;
flex-direction: column;
gap: 1.3rem;
}
.sidebar nav {
display: grid;
gap: 0.3rem;
}
.nav-label {
font-size: 0.75rem;
letter-spacing: 0.11em;
color: #966f85;
margin: 0.5rem 0.8rem;
}
.nav-btn {
display: flex;
align-items: center;
gap: 0.8rem;
text-align: left;
width: 100%;
border: 0;
background: transparent;
border-radius: 13px;
padding: 0.8rem;
color: #6e4b60;
min-height: 48px;
font-weight: 700;
font-size: 0.94rem;
}
.nav-btn span {
font-size: 1.15rem;
}
.nav-btn.active {
background: #f9dce9;
color: #883355;
box-shadow: inset 3px 0 #b64277;
}
.nav-btn:hover {
background: #fce8f1;
}
.sidebar-help {
margin-top: auto;
background: #edf6eb;
border: 1px solid #cadfc5;
border-radius: 18px;
padding: 1rem;
font-size: 0.85rem;
}
.sidebar-help img {
width: 63px;
height: 63px;
object-fit: contain;
margin: auto;
}
.workspace {
padding: 2rem clamp(1.1rem, 3vw, 2.7rem) 4rem;
max-width: 1500px;
width: 100%;
margin: 0 auto;
min-width: 0;
}
.page-heading {
margin-bottom: 1.8rem;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.page-heading h1 {
font-size: 2.05rem;
color: #5f314d;
}
.page-heading p {
margin-top: 0.45rem;
}
.greeting {
display: grid;
grid-template-columns: 1fr 130px;
background: linear-gradient(110deg, #fce5f0, #fdf5f8);
border: 1.5px solid #edc2d5;
border-radius: 24px;
padding: 1.6rem 2rem;
align-items: center;
position: relative;
overflow: hidden;
}
.greeting h2 {
font-size: 1.85rem;
color: #84375d;
margin: 0.4rem 0 0.65rem;
}
.greeting img {
height: 125px;
width: 125px;
object-fit: contain;
}
.greeting .row {
margin-top: 1rem;
}
.kpis {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1rem;
margin-top: 1.2rem;
}
.kpi {
padding: 1.1rem 1.2rem;
border: 1.5px solid #ead3df;
background: #fff;
border-radius: 19px;
}
.kpi .label {
display: flex;
justify-content: space-between;
color: #76596b;
font-size: 0.875rem;
gap: 0.5rem;
}
.kpi strong {
display: block;
font-size: 1.8rem;
color: #693e57;
margin-top: 0.35rem;
letter-spacing: -0.035em;
}
.kpi.green strong {
color: #286649;
}
.kpi small {
color: #806776;
}
.today-grid {
display: grid;
grid-template-columns: 1.3fr 1fr;
gap: 1.3rem;
}
.order-row {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 0.85rem;
align-items: center;
padding: 0.9rem 0;
border-bottom: 1px dashed #e7d5df;
}
.order-row:last-child {
border-bottom: 0;
}
.thumb-icon {
display: grid;
place-items: center;
width: 47px;
height: 47px;
flex-shrink: 0;
background: #ffedf4;
border-radius: 14px;
font-size: 1.5rem;
}
.task-row {
display: flex;
gap: 0.75rem;
padding: 0.8rem 0;
border-bottom: 1px dashed #decbda;
align-items: flex-start;
}
.task-row:last-child {
border: 0;
}
.task-row input {
margin-top: 0.2rem;
}
.task-row.completed {
text-decoration: line-through;
opacity: 0.65;
}
.action-tile {
display: flex;
align-items: center;
gap: 0.9rem;
background: #fff;
border: 1.5px solid #e6cada;
border-radius: 18px;
padding: 1.1rem;
text-align: left;
color: #65425b;
min-height: 95px;
}
.action-tile .big-icon {
font-size: 2rem;
}
.action-tile strong {
display: block;
font-size: 1.05rem;
}
.material-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
}
.material-card h3 {
margin: 0.7rem 0 0.3rem;
}
.material-card .stock {
font-size: 1.7rem;
font-weight: 800;
color: #2a664e;
}
.material-card .location {
font-size: 0.85rem;
color: #86667b;
margin: 0.7rem 0;
}
.material-card progress {
width: 100%;
height: 8px;
accent-color: #599c72;
margin: 0.6rem 0;
}
.table-scroll {
overflow-x: auto;
}
table {
border-collapse: collapse;
width: 100%;
text-align: left;
font-size: 0.9rem;
}
th {
font-weight: 800;
color: #755468;
font-size: 0.83rem;
background: #fcf0f6;
}
td,
th {
padding: 0.85rem 0.7rem;
border-bottom: 1px solid #f0dce5;
vertical-align: top;
}
td .btn {
white-space: nowrap;
}
.status-step {
display: flex;
gap: 0.8rem;
padding: 1rem;
border: 1px solid #e3d0dc;
border-radius: 15px;
background: #fff;
align-items: center;
}
.status-step.done {
background: #edf8ed;
}
.step-no {
display: grid;
place-items: center;
width: 32px;
height: 32px;
border-radius: 50%;
background: #f9d7e8;
color: #8b3460;
flex-shrink: 0;
font-weight: 800;
}
.form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
}
.form-grid .wide {
grid-column: 1/-1;
}
.toolbar {
display: flex;
gap: 0.8rem;
align-items: center;
flex-wrap: wrap;
margin: 1rem 0;
}
.toolbar input {
flex: 1;
min-width: 180px;
}
.toolbar select {
width: auto;
}
.calc-result {
background: #eaf6ed;
border: 1.5px solid #b2d2bc;
border-radius: 22px;
padding: 1.4rem;
}
.calc-result .huge {
font-size: 2.8rem;
font-weight: 900;
color: #286448;
letter-spacing: -0.04em;
}
.money-row {
display: flex;
justify-content: space-between;
gap: 1rem;
padding: 0.55rem 0;
border-bottom: 1px dashed #cae1ce;
}
.money-row.total {
font-weight: 800;
font-size: 1.15rem;
border-bottom: 0;
}
.result-negative {
color: #aa294d !important;
}
.readonly-pill {
background: #fff6d8;
color: #6b5413;
border: 1px solid #f2d27a;
font-weight: 700;
}
body[data-readonly='yes']
:is(
[data-sale],
[data-edit],
[data-receive],
[data-adjust],
[data-expense],
[data-pay-expense],
[data-cash-open],
[data-cash-close],
[data-adopt],
[data-backup],
[data-export-finance],
#art-send,
#art-start,
#settings-form [type='submit']
) {
opacity: 0.5;
cursor: not-allowed;
filter: grayscale(0.35);
}
