:root {
    --bg: #efeae2;
    --panel: #fffdf9;
    --ink: #1c1916;
    --muted: #6f685f;
    --line: #e3dbd0;
    --side: #14121a;
    --accent: #5d2fe0;
    --magenta: #e1267f;
    --cyan: #0e9aa3;
    --yellow: #f0c93a;
    --ok: #e7f6df;
    --bad: #ffe3ea;
}
* { box-sizing: border-box; }
body {
    margin: 0; color: var(--ink); font: 15px/1.45 "Segoe UI", sans-serif;
    background:
        radial-gradient(900px 420px at 100% -8%, rgba(255, 47, 146, .18), transparent 60%),
        radial-gradient(760px 460px at -8% 10%, rgba(20, 215, 224, .2), transparent 55%),
        radial-gradient(680px 420px at 70% 110%, rgba(122, 69, 255, .14), transparent 50%),
        linear-gradient(180deg, #fbf6ee 0%, #f3ecf8 100%);
}
a { color: var(--accent); }
.bi { margin-right: .38rem; vertical-align: -.12em; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.15rem; height: 2.15rem; margin-bottom: .4rem; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #ff2f92, #7a45ff); }
.card .card-icon, .card-icon .bi { color: #fff; }
.card-icon .bi { margin: 0; font-size: 1.05rem; }
button.side-label .bi { color: #ff8ec4; }
aside a.is-on .bi { color: #061416; }
.alert-read .bi { margin-right: .25rem; }
button, .btn, input, select, textarea { font: inherit; }
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; transition: grid-template-columns .24s ease; }
aside .side-menu a { display: flex; align-items: center; }
@media (min-width: 761px) {
    html.side-collapsed .shell { grid-template-columns: 78px 1fr; }
    html.side-collapsed aside { padding-left: .4rem; padding-right: .4rem; }
    html.side-collapsed .side-text,
    html.side-collapsed .side-brand span,
    html.side-collapsed button.side-label { display: none; }
    html.side-collapsed .side-menu,
    html.side-collapsed .side-menu[hidden] { display: block !important; }
    html.side-collapsed .side-brand,
    html.side-collapsed aside .side-menu a,
    html.side-collapsed a.side-top { justify-content: center; padding-left: .35rem; padding-right: .35rem; }
    html.side-collapsed aside .bi { margin-right: 0; }
}
aside {
    background: linear-gradient(185deg, #3a1870 0%, #1a1030 42%, #120e18 100%);
    color: #f3efe8; padding: 1rem .8rem 2rem;
    box-shadow: inset -3px 0 0 #ff2f92;
}
.side-brand { display: flex; align-items: center; gap: .55rem; color: white; text-decoration: none; margin-bottom: 1rem; padding: .2rem .3rem; }
.side-brand img { height: 48px; width: auto; background: #fff; border-radius: 12px; padding: 3px; }
.side-brand span { font-weight: 800; letter-spacing: .03em; font-size: 1rem; text-transform: none; }
.side-brand em { font-style: normal; color: #d9c8ff; }
.side-group { margin-top: .35rem; }
button.side-label {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    margin: .45rem 0 .15rem; padding: .45rem .55rem; border: 0; border-radius: 8px;
    background: transparent; color: #c8c2d4; cursor: pointer;
    font: 700 .72rem/1 "Segoe UI", sans-serif; letter-spacing: .12em; text-transform: uppercase;
}
button.side-label::after {
    content: ""; width: .4rem; height: .4rem; border-right: 2px solid #c8c2d4; border-bottom: 2px solid #c8c2d4;
    transform: rotate(45deg); margin-right: .15rem;
    transition: transform .22s ease, margin-top .22s ease;
}
.side-group.is-open button.side-label::after { transform: rotate(-135deg); margin-top: .25rem; }
button.side-label:hover { background: rgba(255,255,255,.06); }
.side-menu[hidden] { display: none; }
html:not(.side-collapsed) .side-group.is-open .side-menu { animation: office-menu .26s ease; }
aside .side-menu a { padding-left: .85rem; }
aside a { display: block; color: #f6f3ee; text-decoration: none; padding: .38rem .55rem; border-radius: 8px; transition: background .2s ease, color .2s ease, translate .2s ease; }
aside a.is-on, aside a:hover { background: rgba(255,255,255,.08); }
aside a.is-on { background: #14d7e0; color: #061416; font-weight: 700; }
@media (min-width: 761px) {
    html:not(.side-collapsed) aside a:hover:not(.is-on) { translate: 4px 0; }
}
a.side-top { display: flex; align-items: center; margin: .15rem 0 .55rem; font-weight: 700; }
.main { min-width: 0; }
.top {
    display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; padding: .9rem 1.2rem; position: sticky; top: 0; z-index: 5;
    background: linear-gradient(#fffdfb, #fffdfb) padding-box, linear-gradient(90deg, #ff2f92, #14d7e0, #ffe14a, #7a45ff, #ff2f92) border-box;
    background-size: 100% 100%, 220% 100%;
    border-bottom: 4px solid transparent; color: #1c1916;
    animation: office-ink 16s linear infinite;
}
.top h1 { font-size: 1.25rem; margin: 0; flex: 1; }
.who { display: flex; align-items: center; gap: .7rem; color: var(--muted); }
.who button, .who a.who-link, .btn { border: 0; background: var(--ink); color: white; border-radius: 999px; padding: .45rem .8rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 18px rgba(80, 16, 110, .2); }
.btn:active:not(:disabled) { transform: translateY(0) scale(.98); }
.btn:disabled, .table-pager button:disabled { transform: none; box-shadow: none; }
.btn.ghost, .who button, .who a.who-link { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: var(--magenta); color: white; border: 0; }
.btn.good { background: linear-gradient(90deg, #6a33f4, #ff2f92); color: #fff; border: 0; }
.btn.pay { background: linear-gradient(90deg, #0e9aa3, #14d7e0); color: #062226; border: 0; }
.menu-btn { display: inline-flex; align-items: center; background: #fff; color: #16130f; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .75rem; cursor: pointer; font-weight: 700; }
.content { padding: 1.1rem 1.2rem 3rem; }
.content > * { animation: office-rise .46s cubic-bezier(.22, .8, .28, 1) backwards; }
.content > :nth-child(2) { animation-delay: .06s; }
.content > :nth-child(3) { animation-delay: .12s; }
.content > :nth-child(4) { animation-delay: .18s; }
.content > :nth-child(5) { animation-delay: .24s; }
.content > :nth-child(n + 6) { animation-delay: .3s; }
.cards > .card { animation: office-rise .44s cubic-bezier(.22, .8, .28, 1) backwards; }
.cards > .card:nth-child(2) { animation-delay: .06s; }
.cards > .card:nth-child(3) { animation-delay: .12s; }
.cards > .card:nth-child(4) { animation-delay: .18s; }
.desk-latest > .job-ticket,
.board > section,
.desk-board > .desk-block { animation: office-rise .44s cubic-bezier(.22, .8, .28, 1) backwards; }
.desk-latest > .job-ticket:nth-child(2),
.board > section:nth-child(2),
.desk-board > .desk-block:nth-child(2) { animation-delay: .05s; }
.desk-latest > .job-ticket:nth-child(3),
.board > section:nth-child(3),
.desk-board > .desk-block:nth-child(3) { animation-delay: .1s; }
.desk-board > .desk-block:nth-child(4) { animation-delay: .15s; }
.desk-board > .desk-block:nth-child(n + 5) { animation-delay: .2s; }
.flash { padding: .7rem .9rem; border-radius: 10px; margin-bottom: .9rem; animation: office-rise .4s ease backwards; }
.flash-ok { background: var(--ok); }
.flash-error { background: var(--bad); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1rem; }
.card, .panel, .table-wrap, .board article, .job-ticket, .emp-head, .login-card {
    transition: transform .28s ease, box-shadow .28s ease;
}
.card, .panel {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
    border: 1px solid rgba(106, 51, 244, .12); border-radius: 16px; padding: 1rem;
    box-shadow: 0 14px 28px rgba(80, 30, 120, .1);
}
.card:hover, .panel:hover, .emp-head:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 40px rgba(80, 20, 120, .18);
}
.board article:hover, .job-ticket:hover {
    transform: translateY(-6px);
    box-shadow: inset 3px 0 0 var(--desk, #6a33f4), 0 18px 30px rgba(80, 20, 120, .16);
}
.job-ticket.is-rush:hover { box-shadow: inset 3px 0 0 #ff2f92, 0 18px 30px rgba(80, 20, 120, .16); }
.table-wrap { box-shadow: 0 14px 28px rgba(80, 30, 120, .08); }
.table-wrap:hover { box-shadow: 0 18px 34px rgba(80, 20, 120, .14); }
.cards .card:nth-child(4n + 1) { background: linear-gradient(180deg, #ffe4f3 0%, #fffdf9 48%); }
.cards .card:nth-child(4n + 2) { background: linear-gradient(180deg, #d9f8fb 0%, #fffdf9 48%); }
.cards .card:nth-child(4n + 3) { background: linear-gradient(180deg, #fff6c9 0%, #fffdf9 48%); }
.cards .card:nth-child(4n + 4) { background: linear-gradient(180deg, #efe4ff 0%, #fffdf9 48%); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: #ff2f92; }
.card b { display: block; font-size: 1.5rem; }
.card span, .muted { color: var(--muted); }
.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.table-tools, .table-pager { display: flex; flex-wrap: wrap; gap: .6rem .8rem; align-items: end; padding: .75rem .85rem; background: linear-gradient(90deg, #fff1f8, #f3fbff); }
.table-tools { border-bottom: 1px solid var(--line); }
.table-pager { border-top: 1px solid var(--line); justify-content: space-between; }
.table-tools label, .table-pager span { font-size: .75rem; color: var(--muted); font-weight: 700; }
.table-search { min-width: min(240px, 70vw); }
.table-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.table-filters select, .table-size { min-width: 7rem; width: auto; }
.table-pager button { background: #fff; color: #16130f; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .7rem; cursor: pointer; }
.table-pager button:disabled { opacity: .4; cursor: default; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: #3d3458; background: linear-gradient(180deg, #f4ecff, #fffdf9); }
th.sortable { cursor: pointer; }
th.sort-asc::after { content: "  ↑"; color: #5b27d6; }
th.sort-desc::after { content: "  ↓"; color: #5b27d6; }
tbody tr:hover { background: linear-gradient(90deg, #fff4fa, #f4fbff); }
tr[hidden] { display: none; }
.table-wrap td {
    color: #16130f;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.table-wrap td .muted {
    color: #3f3a33;
    font-size: .82rem;
    font-weight: 600;
}
.table-wrap td a:not(.btn) {
    color: #3b1c96;
    font-weight: 800;
    letter-spacing: .01em;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid #ff2f92;
}
.table-wrap td a:not(.btn):hover {
    color: #9d1248;
    border-bottom-color: #6a33f4;
}
.table-wrap td a:not(.btn):focus-visible {
    outline: 2px solid #5d2fe0;
    outline-offset: 2px;
}
.table-empty { margin: 0; padding: .8rem; color: var(--muted); }
.pill { display: inline-block; border-radius: 999px; padding: .12rem .5rem; background: #eee7da; font-size: .78rem; }
.pill.reception, .pill.design_review { background: #fff1b8; }
.pill.design { background: #ffd6ea; }
.pill.print { background: #d5f8fb; }
.pill.press { background: #ffe0cc; }
.pill.tailor { background: #e4f6d4; }
.pill.dispatch { background: #e6e0ff; }
.pill.awaiting_payment { background: #ffd5e0; color: #4a1224; }
.pill.done { background: #e4f6d4; color: #17330c; }
.dispatch-clear { margin: 0; color: #1d6b32; font-weight: 700; }
.job-facts dd.is-clear { color: #1d6b32; font-weight: 800; }
.job-facts dd.is-due { color: #9d1248; font-weight: 800; }
.pill.cancelled, .pill.void, .pill.declined { background: #ffd5e0; }
.pill.paid, .pill.issued, .pill.active { background: #e4f6d4; color: #17330c; }
.pill.draft { background: #fff3c4; color: #3d3208; }
.pill.partial, .pill.sent, .pill.working { background: #d9f4ff; color: #08323d; }
.pill.overdue { background: #ffd5e0; color: #4a1224; }
.pill.invoiced { background: #e4f6d4; color: #17330c; }
.pill.inactive { background: #ffd5e0; color: #4a1224; }
.pill.pending, .pill.late { background: #fff3c4; color: #3d3208; }
.pill.approved, .pill.present { background: #e4f6d4; color: #17330c; }
.pill.rejected, .pill.absent, .pill.unpaid { background: #ffd5e0; color: #4a1224; }
.pill.half, .pill.leave { background: #d9f4ff; color: #08323d; }
.pill.withdrawn { background: #eee7da; color: #3f3a33; }
.stack-page { display: grid; gap: 1rem; }
.stack-page > .cards { margin-bottom: 0; }
.stack-page h3 { margin: .85rem 0 .35rem; font-size: 1rem; color: #24183a; }
.pay-empty { margin: .2rem 0 0; }
.pay-months { display: grid; gap: .65rem; }
.pay-month {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 1.2rem; align-items: center;
    text-decoration: none; color: #1c1916; padding: .85rem .95rem; border-radius: 16px;
    background: linear-gradient(180deg, #fff, #f7f3ff); border: 1px solid rgba(106, 51, 244, .14);
    box-shadow: 0 10px 22px rgba(80, 30, 120, .06); transition: transform .2s ease, box-shadow .2s ease;
}
.pay-month:hover { transform: translateY(-4px); box-shadow: 0 16px 28px rgba(80, 20, 120, .16); }
.pay-month strong { display: block; }
.pay-month span { color: #5c564e; }
.pay-month dl { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 0; }
.pay-month dt { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #5c564e; }
.pay-month dd { margin: 0; font-weight: 800; color: #16130f; }
.pay-month .is-net { color: #1d6b32; }
.pay-month .is-short { color: #9d1248; }
.pay-month:nth-child(4n + 1) { background: linear-gradient(180deg, #ffe4f3 0%, #fffdf9 72%); }
.pay-month:nth-child(4n + 2) { background: linear-gradient(180deg, #d9f8fb 0%, #fffdf9 72%); }
.pay-month:nth-child(4n + 3) { background: linear-gradient(180deg, #fff6c9 0%, #fffdf9 72%); }
.pay-month:nth-child(4n + 4) { background: linear-gradient(180deg, #efe4ff 0%, #fffdf9 72%); }
.leave-open, .pay-earn { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.leave-open li, .pay-earn li {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; align-items: center;
    padding: .75rem .85rem; border-radius: 14px; color: #1c1916;
    border: 1px solid rgba(106, 51, 244, .12);
}
.leave-open li:nth-child(4n + 1), .pay-earn li:nth-child(4n + 1) { background: linear-gradient(180deg, #ffe4f3 0%, #fffdf9 72%); }
.leave-open li:nth-child(4n + 2), .pay-earn li:nth-child(4n + 2) { background: linear-gradient(180deg, #d9f8fb 0%, #fffdf9 72%); }
.leave-open li:nth-child(4n + 3), .pay-earn li:nth-child(4n + 3) { background: linear-gradient(180deg, #fff6c9 0%, #fffdf9 72%); }
.leave-open li:nth-child(4n + 4), .pay-earn li:nth-child(4n + 4) { background: linear-gradient(180deg, #efe4ff 0%, #fffdf9 72%); }
.leave-open li.is-waiting { box-shadow: inset 3px 0 0 #ff2f92; }
.leave-open strong, .pay-earn strong { display: block; color: #16130f; }
.leave-open small, .pay-earn small { display: block; margin-top: .15rem; color: #3f3a33; font-size: .82rem; }
.leave-open b, .pay-earn b { margin: 0; text-align: right; font-size: 1.35rem; line-height: 1; color: #16130f; }
.leave-open b small, .pay-earn b small { margin-top: .2rem; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; color: #3f3a33; }
.leave-open b.is-short, .pay-earn b.is-short { color: #9d1248; }
.leave-open b.is-none, .pay-earn b.is-none { color: #5c564e; font-size: 1.05rem; }
.pay-earn b { font-size: 1.15rem; line-height: 1.15; }
.leave-requests { display: grid; gap: .65rem; }
.leave-request {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 1.2rem; align-items: center;
    padding: .85rem .95rem; border-radius: 16px; color: #1c1916;
    background: linear-gradient(180deg, #fff, #f7f3ff); border: 1px solid rgba(106, 51, 244, .14);
    box-shadow: 0 10px 22px rgba(80, 30, 120, .06); transition: transform .2s ease, box-shadow .2s ease;
}
.leave-request:hover { transform: translateY(-4px); box-shadow: 0 16px 28px rgba(80, 20, 120, .16); }
.leave-request strong { display: block; color: #16130f; }
.leave-request span, .leave-request p { color: #3f3a33; }
.leave-request p { margin: .25rem 0 0; }
.leave-request-side, .attend-day-side { display: grid; justify-items: end; gap: .35rem; }
.leave-request-side b, .attend-day-side b { color: #16130f; }
.attend-days { display: grid; gap: .65rem; }
.attend-day {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 1.2rem; align-items: center;
    padding: .85rem .95rem; border-radius: 16px; color: #1c1916;
    border: 1px solid rgba(106, 51, 244, .14);
    box-shadow: 0 10px 22px rgba(80, 30, 120, .06); transition: transform .2s ease, box-shadow .2s ease;
}
.attend-day:nth-child(4n + 1) { background: linear-gradient(180deg, #ffe4f3 0%, #fffdf9 72%); }
.attend-day:nth-child(4n + 2) { background: linear-gradient(180deg, #d9f8fb 0%, #fffdf9 72%); }
.attend-day:nth-child(4n + 3) { background: linear-gradient(180deg, #fff6c9 0%, #fffdf9 72%); }
.attend-day:nth-child(4n + 4) { background: linear-gradient(180deg, #efe4ff 0%, #fffdf9 72%); }
.attend-day:hover { transform: translateY(-4px); box-shadow: 0 16px 28px rgba(80, 20, 120, .16); }
.attend-day strong { display: block; color: #16130f; }
.attend-day span, .attend-day p { color: #3f3a33; }
.attend-day p { margin: .25rem 0 0; }
.attend-day b { margin: 0; text-align: right; font-size: 1.15rem; line-height: 1.15; color: #16130f; }
.attend-day b small { display: block; margin-top: .2rem; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; color: #3f3a33; }
.attend-day b.is-short { color: #9d1248; }
.attend-day b.is-extra { color: #1d6b32; }
.attend-day b.is-none { color: #5c564e; font-size: 1.05rem; }
.attend-register { display: grid; gap: .75rem; }
.attend-mark {
    display: grid; gap: .7rem; padding: .9rem 1rem; border-radius: 16px; color: #1c1916;
    border: 1px solid rgba(106, 51, 244, .14); box-shadow: 0 10px 22px rgba(80, 30, 120, .06);
}
.attend-mark:nth-child(4n + 1) { background: linear-gradient(180deg, #ffe4f3 0%, #fffdf9 72%); }
.attend-mark:nth-child(4n + 2) { background: linear-gradient(180deg, #d9f8fb 0%, #fffdf9 72%); }
.attend-mark:nth-child(4n + 3) { background: linear-gradient(180deg, #fff6c9 0%, #fffdf9 72%); }
.attend-mark:nth-child(4n + 4) { background: linear-gradient(180deg, #efe4ff 0%, #fffdf9 72%); }
.attend-mark-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.attend-mark-head strong { color: #16130f; }
.attend-mark-head p { margin: .15rem 0 0; color: #3f3a33; }
.attend-fields { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, .7fr); gap: .65rem; }
.attend-fields .attend-note { grid-column: 1 / -1; }
.attend-span { margin: 0; color: #3f3a33; font-weight: 700; }
.pill.unmarked { background: #eee7da; color: #3f3a33; }
.advance-requests { display: grid; gap: .65rem; }
.advance-request {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 1.2rem; align-items: center;
    padding: .85rem .95rem; border-radius: 16px; color: #1c1916;
    border: 1px solid rgba(106, 51, 244, .14);
    box-shadow: 0 10px 22px rgba(80, 30, 120, .06); transition: transform .2s ease, box-shadow .2s ease;
}
.advance-request:nth-child(4n + 1) { background: linear-gradient(180deg, #ffe4f3 0%, #fffdf9 72%); }
.advance-request:nth-child(4n + 2) { background: linear-gradient(180deg, #d9f8fb 0%, #fffdf9 72%); }
.advance-request:nth-child(4n + 3) { background: linear-gradient(180deg, #fff6c9 0%, #fffdf9 72%); }
.advance-request:nth-child(4n + 4) { background: linear-gradient(180deg, #efe4ff 0%, #fffdf9 72%); }
.advance-request:hover { transform: translateY(-4px); box-shadow: 0 16px 28px rgba(80, 20, 120, .16); }
.advance-request strong { display: block; color: #16130f; }
.advance-request p { margin: .25rem 0 0; color: #3f3a33; }
.advance-request-side { display: grid; justify-items: end; gap: .35rem; }
.advance-request b { margin: 0; text-align: right; font-size: 1.15rem; line-height: 1.15; color: #16130f; }
.advance-request b.is-wait { color: #9d1248; }
.advance-request b.is-yes { color: #1d6b32; }
.advance-request b.is-no { color: #5c564e; }
.advance-terms { color: #3f3a33; }
.advance-gap { color: #9d1248; font-weight: 700; margin: 0; }
.advance-desk { align-items: start; }
.advance-desk:hover { transform: none; box-shadow: 0 10px 22px rgba(80, 30, 120, .06); }
.advance-desk .advance-decide { grid-column: 1 / -1; min-width: 0; max-width: none; }
.advance-decide-fields { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: .65rem; }
.gallery-shots { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.gallery-shot {
    display: grid; gap: .55rem; padding: .75rem; border-radius: 16px; color: #1c1916;
    border: 1px solid rgba(106, 51, 244, .14); box-shadow: 0 10px 22px rgba(80, 30, 120, .06);
}
.gallery-shot:nth-child(4n + 1) { background: linear-gradient(180deg, #ffe4f3 0%, #fffdf9 72%); }
.gallery-shot:nth-child(4n + 2) { background: linear-gradient(180deg, #d9f8fb 0%, #fffdf9 72%); }
.gallery-shot:nth-child(4n + 3) { background: linear-gradient(180deg, #fff6c9 0%, #fffdf9 72%); }
.gallery-shot:nth-child(4n + 4) { background: linear-gradient(180deg, #efe4ff 0%, #fffdf9 72%); }
.gallery-shot img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; background: #fff; }
.gallery-shot strong { display: block; color: #16130f; }
.gallery-shot p { margin: .2rem 0 0; color: #3f3a33; }
.gallery-shot form { margin-top: .45rem; }
.advance-own { grid-column: 1 / -1; margin: 0; color: #3f3a33; }
.pill.countered { background: #efe4ff; color: #2a1458; }
.grid-2 > .btn, .grid-3 > .btn { align-self: end; }
.emp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.emp-head h2 { margin: .15rem 0; }
.emp-no { margin: 0; color: #5b27d6; font-weight: 800; letter-spacing: .08em; font-size: .78rem; }
.emp-sections { display: grid; gap: 1rem; }
.emp-sections ~ .panel { margin-top: 1rem; }
.emp-allow { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.emp-allow li { display: flex; align-items: center; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.emp-allow strong { margin-left: auto; }
.path-choice { display: flex; gap: .65rem; align-items: flex-start; padding: .8rem; border-radius: 14px; background: linear-gradient(180deg, #fff, #fff7fb); border: 1px solid rgba(255, 47, 146, .18); cursor: pointer; }
.path-choice input { width: auto; margin-top: .15rem; }
.path-choice:has(input:checked) { border-color: #ff2f92; box-shadow: inset 3px 0 0 #ff2f92; background: linear-gradient(180deg, #fff1f8, #fff); }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.job-path { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: .2rem 0 0; padding: 0; }
.job-path li { border-radius: 999px; padding: .28rem .7rem; background: #f4eeff; color: #2a1458; font-weight: 700; font-size: .82rem; }
.job-path li.is-off { display: none; }
.lookup-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; margin: 0; }
.lookup-bar label { min-width: 180px; }
.lookup-bar input { min-width: 160px; }
.path-choice b { display: block; color: #1c1916; }
.path-choice span { color: #3f3a33; }
.customer-pick { display: flex; flex-wrap: wrap; gap: .7rem; align-items: end; position: relative; }
.customer-pick > label { flex: 1; min-width: 240px; }
.customer-results { position: absolute; left: 0; right: 8rem; top: calc(100% - .2rem); z-index: 6; background: #fff; border: 1px solid rgba(106, 51, 244, .18); border-radius: 14px; box-shadow: 0 16px 32px rgba(40, 10, 70, .16); max-height: 260px; overflow: auto; }
.customer-results button { display: block; width: 100%; text-align: left; border: 0; background: #fff; color: #1c1916; padding: .65rem .8rem; cursor: pointer; }
.customer-results button strong { display: block; }
.customer-results button span { color: #5c564e; font-size: .85rem; }
.customer-results button.is-on, .customer-results button:hover { background: linear-gradient(90deg, #fff1f8, #f4fbff); }
.customer-results[hidden] { display: none; }
.new-customer-chip { margin: 0; padding: .45rem .7rem; border-radius: 999px; background: #efe4ff; color: #2a1458; font-weight: 700; }
.customer-modal, .entry-modal { border: 0; border-radius: 22px; padding: 1.25rem 1.3rem 1.2rem; width: min(640px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; color: #1c1916; box-shadow: 0 24px 50px rgba(40, 10, 70, .28); background: #fff; }
.entry-modal { width: min(760px, calc(100vw - 2rem)); }
.entry-modal.confirm-modal { width: min(460px, calc(100vw - 2rem)); }
.confirm-modal h2 { margin: 0 0 .4rem; }
.confirm-modal p { margin: 0; color: #3f3a33; }
.confirm-modal .modal-actions { margin-top: 1.15rem; }
.customer-modal::backdrop, .entry-modal::backdrop { background: rgba(16, 10, 28, .55); }
.customer-modal[open], .entry-modal[open] { animation: office-pop .32s cubic-bezier(.22, .8, .28, 1); }
.customer-modal[open]::backdrop, .entry-modal[open]::backdrop { animation: office-fade .24s ease; }
dialog.customer-modal:not([open]), dialog.entry-modal:not([open]) { display: none; }
.customer-modal h2 { margin: 0 0 .35rem; }
.customer-modal label { margin-top: .45rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .7rem; }
.entry-modal.pay-modal {
    background:
        linear-gradient(90deg, #ff2f92, #6a33f4, #12d3dc) top / 100% 5px no-repeat,
        #fff;
    padding-top: 1.45rem;
}
.pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.pay-head h2 { margin: .1rem 0 .25rem; }
.pay-kicker { margin: 0; color: #5b27d6; font-weight: 800; letter-spacing: .08em; font-size: .78rem; text-transform: uppercase; }
.pay-kicker .bi { margin-right: .25rem; }
.pay-balance { text-align: right; }
.pay-balance span { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #5c564e; }
.pay-balance b { display: block; margin-top: .1rem; font-size: 1.55rem; color: #9d1248; }
.pay-snapshot { margin: .15rem 0 .2rem; }
.pay-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: .7rem; }
.pay-amount input { font-size: 1.35rem; font-weight: 800; }
.pay-label { margin: .15rem 0 0; font-weight: 800; color: #24183a; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.pay-methods .path-choice b .bi { margin-right: .2rem; color: #6a33f4; }
.pay-warn { margin: 0; color: #8d123c; font-weight: 700; }
.pay-warn[hidden] { display: none; }
.modal-error { margin: 0; color: #8d123c; font-weight: 700; }
.pill.rush { background: var(--magenta); color: white; }
.toolbar { display: flex; justify-content: space-between; gap: .8rem; align-items: center; margin-bottom: .8rem; flex-wrap: wrap; }
form.stack, .stack { display: grid; gap: .75rem; }
.grid-2, .grid-3 { display: grid; gap: .75rem; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.chart-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; margin-bottom: 1rem; }
.chart-wide { grid-column: 1 / -1; }
.chart-card h2 { margin-top: 0; }
.chart { width: min(100%, 34rem); height: auto; display: block; margin-inline: auto; }
.chart.bars { width: min(100%, 32rem); }
.chart.donut { width: min(100%, 11.5rem); }
.chart.months, .chart.columns { width: min(100%, 28rem); }
.chart-label, .chart-value, .chart-axis, .chart-center, .chart-center-sub { fill: #1c1916; font-family: "Segoe UI", sans-serif; }
.chart-label { font-size: 13px; }
.chart-value, .chart-axis { font-size: 12px; fill: #5c564e; }
.chart-track, .chart-ring { fill: none; }
.chart-track { fill: #f3eef8; }
.chart-ring { stroke: #f3eef8; stroke-width: 16; }
.chart-slice { fill: none; stroke-width: 16; stroke-linecap: butt; }
.chart-gridline { stroke: #efe8df; stroke-width: 1; }
.chart-center { font-size: 20px; font-weight: 800; text-anchor: middle; }
.chart-center-sub { font-size: 11px; fill: #5c564e; text-anchor: middle; }
.chart-legend { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; list-style: none; margin: .7rem 0 0; padding: 0; color: #1c1916; }
.chart-legend i { display: inline-block; width: .7rem; height: .7rem; border-radius: 99px; margin-right: .35rem; vertical-align: -1px; }
.chart-note { margin: .55rem 0 0; }
.chart-band { margin: 0 0 1.35rem; }
.chart-band > h2 { margin: 0 0 .7rem; font-size: 1.15rem; color: #24183a; }
.chart-board .chart-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.chart-board .chart-grid.chart-shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chart-rings { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .75rem; align-items: start; }
.chart-rings figure { margin: 0; min-width: 0; }
.chart-rings figcaption { margin-top: .15rem; text-align: center; font-size: .82rem; font-weight: 700; color: #24183a; }
.chart-rings .chart-legend { justify-content: center; }
.chart-bar { transform-box: fill-box; transform-origin: left center; animation: chart-grow .62s cubic-bezier(.22, .8, .28, 1) backwards; }
.chart-col { transform-box: fill-box; transform-origin: center bottom; animation: chart-rise .62s cubic-bezier(.22, .8, .28, 1) backwards; }
.chart-slice { animation: chart-draw .85s cubic-bezier(.22, .8, .28, 1) backwards; }
@keyframes chart-grow { from { transform: scaleX(0); } }
@keyframes chart-rise { from { transform: scaleY(0); } }
@keyframes chart-draw { from { stroke-dasharray: 0 400; } }
@keyframes office-rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: none; } }
@keyframes office-pop { from { opacity: 0; translate: 0 12px; scale: .97; } to { opacity: 1; translate: none; scale: 1; } }
@keyframes office-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes office-menu { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: none; } }
@keyframes office-ink { to { background-position: 0 0, 100% 0; } }
@keyframes office-ink-bar { to { background-position: 100% 0; } }
@keyframes office-now { from { scale: .92; } to { scale: 1; } }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }
label { display: grid; gap: .25rem; font-size: .82rem; color: var(--muted); }
input, select, textarea { width: 100%; padding: .55rem .65rem; border-radius: 10px; border: 1px solid var(--line); background: white; color: var(--ink); }
textarea { min-height: 90px; }
.check { display: flex; align-items: center; gap: .45rem; color: var(--ink); }
.check input { width: auto; }
.line { display: grid; grid-template-columns: 1fr 1.4fr .5fr .6fr auto; gap: .45rem; align-items: end; margin-bottom: .45rem; }
.invoice-hero h2 { margin: .2rem 0 .35rem; }
.invoice-composer {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr);
    grid-template-areas: "customer money" "lines money";
    gap: 1rem;
    align-items: start;
}
.invoice-composer .invoice-customer { grid-area: customer; }
.invoice-composer .invoice-lines { grid-area: lines; }
.invoice-composer .invoice-side { grid-area: money; position: sticky; top: 5.2rem; align-self: start; color: #1c1916; }
.invoice-composer .invoice-side a:not(.btn) { display: inline; padding: 0; color: #5d2fe0; background: transparent; text-decoration: underline; font-weight: 700; }
.invoice-composer .invoice-side a:not(.btn):hover { background: transparent; color: #3b1c96; }
.invoice-composer h2 { color: #24183a; }
.invoice-side .doc-totals { width: 100%; margin-left: 0; margin-right: 0; }
.invoice-customer h3, .invoice-side h3, .invoice-lines h3 { margin: .85rem 0 0; font-size: 1rem; color: #24183a; }
.invoice-customer h3 .bi, .invoice-side h3 .bi, .invoice-lines h3 .bi { color: #5b27d6; }
.invoice-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.invoice-composer + .panel { margin-top: 1rem; }
.invoice-composer + .panel h3 { margin: .2rem 0 0; font-size: 1rem; color: #24183a; }
.invoice-record { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.2rem; margin-bottom: 1rem; background: linear-gradient(135deg, #ffffff 0%, #fff4fa 46%, #f3fbff 100%); }
.invoice-record h2 { margin: .15rem 0; }
.invoice-record-side { display: grid; justify-items: end; gap: .55rem; min-width: 240px; }
.invoice-pills { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }
td.is-due { color: #9d1248; font-weight: 800; }
td.is-clear { color: #1d6b32; font-weight: 700; }
.invoice-snapshot { display: grid; grid-template-columns: repeat(3, auto); gap: .15rem 1rem; margin: 0; }
.invoice-snapshot div { display: grid; gap: .05rem; }
.invoice-snapshot dt { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: #5c564e; }
.invoice-snapshot dd { margin: 0; font-weight: 800; font-size: 1.05rem; color: #16130f; }
.invoice-snapshot .is-due, .doc-totals .is-due { color: #9d1248; }
.invoice-snapshot .is-clear, .doc-totals .is-clear { color: #1d6b32; }
.invoice-who { margin: 0; line-height: 1.55; }
.job-pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.customer-record { display: grid; gap: 0; min-width: 0; max-width: 100%; }
.customer-record > * { min-width: 0; max-width: 100%; }
.customer-file-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; align-items: start; }
.customer-file h3 { margin: 0 0 .55rem; font-size: 1rem; color: #24183a; }
.customer-file h3 .bi { color: #5b27d6; }
.customer-file h3 .muted { margin-left: .35rem; font-weight: 700; }
.job-pill { display: grid; gap: .2rem; text-decoration: none; color: #1c1916; padding: .8rem .9rem; border-radius: 16px; background: linear-gradient(180deg, #fff, #f7f3ff); border: 1px solid rgba(106, 51, 244, .14); box-shadow: 0 10px 22px rgba(80, 30, 120, .06); transition: transform .2s ease, box-shadow .2s ease; }
.job-pill:hover { transform: translateY(-5px); box-shadow: 0 16px 28px rgba(80, 20, 120, .16); }
.job-pill span { color: #5c564e; }
.job-pill em { justify-self: start; font-style: normal; font-weight: 800; }
.remove-line { border: 1px solid #f0c3d4; background: #fff; color: #8d123c; border-radius: 999px; padding: .45rem .75rem; cursor: pointer; font-weight: 700; }
.invoice-composer .line { background: linear-gradient(180deg, #fff 0%, #fbf7ff 100%); border: 1px solid rgba(106, 51, 244, .14); border-radius: 16px; padding: .75rem; box-shadow: 0 10px 22px rgba(80, 30, 120, .06); }
.step { display: inline-grid; place-items: center; min-width: 1.8rem; height: 1.8rem; margin-right: .4rem; padding: 0 .35rem; border-radius: 8px; background: linear-gradient(135deg, #ff2f92, #7a45ff); color: #fff; font-size: .78rem; vertical-align: middle; }
.settings-desk { min-width: 0; max-width: 100%; }
.settings-desk > * { min-width: 0; max-width: 100%; }
.band-list { display: grid; gap: .75rem; }
.band-row { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; align-items: end; background: linear-gradient(180deg, #fff 0%, #fbf7ff 100%); border: 1px solid rgba(106, 51, 244, .14); border-radius: 16px; padding: .85rem; box-shadow: 0 10px 22px rgba(80, 30, 120, .06); }
.band-row .step { margin: 0 0 .15rem; }
.band-row.is-extra { background: #fff; }
.desk-jump { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 .85rem; }
.desk-jump a { display: inline-flex; align-items: center; gap: .15rem; text-decoration: none; color: #1c1916; font-weight: 700; background: #fff; border: 1px solid rgba(106, 51, 244, .16); border-radius: 999px; padding: .32rem .7rem; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.desk-jump a b { display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; margin-left: .25rem; border-radius: 999px; background: #1c1916; color: #fff; font-size: .75rem; }
.desk-jump a:hover { border-color: #ff2f92; transform: translateY(-2px); box-shadow: 0 8px 16px rgba(80, 20, 120, .12); }
.board { display: flex; gap: .7rem; align-items: stretch; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1.2rem; }
.board > section { flex: 1 0 230px; border-radius: 16px; padding: .55rem .5rem .35rem; min-height: 9rem; scroll-margin-top: 5.2rem; }
.board.is-focus { display: block; overflow: visible; }
.board.is-focus > section { min-height: 0; }
.board > section[data-desk="reception"] { background: linear-gradient(180deg, #ffe4f1, rgba(255,255,255,.5)); }
.board > section[data-desk="design"] { background: linear-gradient(180deg, #d7f7fb, rgba(255,255,255,.5)); }
.board > section[data-desk="design_review"] { background: linear-gradient(180deg, #efe4ff, rgba(255,255,255,.5)); }
.board > section[data-desk="print"] { background: linear-gradient(180deg, #fff6c9, rgba(255,255,255,.5)); }
.board > section[data-desk="press"] { background: linear-gradient(180deg, #ffe4d4, rgba(255,255,255,.5)); }
.board > section[data-desk="tailor"] { background: linear-gradient(180deg, #e5f6d8, rgba(255,255,255,.5)); }
.board > section[data-desk="dispatch"] { background: linear-gradient(180deg, #ece4ff, rgba(255,255,255,.5)); }
.board > section[data-desk="awaiting_payment"] { background: linear-gradient(180deg, #ffe4ee, rgba(255,255,255,.5)); }
.board > section[data-desk="closed_balance"] { background: linear-gradient(180deg, #fff3c4, rgba(255,255,255,.5)); }
.balance-notice { display: grid; gap: .55rem; color: #1c1916; }
.panel.balance-notice { margin-bottom: 1rem; background: linear-gradient(180deg, #fff, #fff5f8); border-color: rgba(255, 47, 146, .28); }
.balance-notice h2, .balance-notice h3 { margin: 0; color: #24183a; }
.balance-notice h3 { font-size: 1rem; }
.balance-notice p { margin: 0; color: #1c1916; }
.balance-notice a { white-space: nowrap; }
.balance-notice .owed { color: #9d1248; white-space: nowrap; }
#balance { scroll-margin-top: 5.2rem; }
.job-move .balance-notice { padding: .85rem .9rem; border-radius: 14px; background: linear-gradient(180deg, #fff, #fff5f8); border: 1px solid rgba(255, 47, 146, .28); }
.job-ticket.is-picked { outline: 2px solid #ff2f92; }
.job-due.is-clear { color: #1d6b32; font-weight: 800; }
.board article, .job-ticket { background: #fff; border: 1px solid rgba(106, 51, 244, .12); border-radius: 14px; padding: .75rem .75rem .75rem .85rem; box-shadow: inset 3px 0 0 var(--desk, #6a33f4); }
.job-ticket { display: grid; gap: .22rem; margin: 0; text-decoration: none; color: #1c1916; }
.job-ticket.is-rush { box-shadow: inset 3px 0 0 #ff2f92; }
.desk-jobs { display: grid; gap: .55rem; }
.board.is-focus .desk-jobs { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.board h2 { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin: .1rem .25rem .55rem; font-size: .95rem; color: #24183a; }
.board h2 .bi { color: #24183a; }
.desk-count { display: inline-grid; place-items: center; min-width: 1.45rem; height: 1.45rem; padding: 0 .35rem; border-radius: 999px; background: #1c1916; color: #fff; font-size: .78rem; }
.desk-empty { margin: .15rem .35rem .55rem; color: #5c564e; font-size: .88rem; }
.design-queue, .desk-queue { --desk: #0e9aa3; display: grid; align-content: start; gap: .65rem; }
.design-queue h2, .desk-queue h2 { margin-top: 0; }
.design-queue h2 .bi, .desk-queue h2 .bi { color: #24183a; }
.desk-brief { color: #5c564e; font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pill.returned { background: #efe4ff; color: #2a1458; }
.job-ticket-top { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.job-ticket-top strong { color: #5b27d6; }
.job-title { font-size: 1rem; }
.job-who { display: grid; color: #3f3a33; }
.job-who .muted { font-size: .82rem; }
.job-flags { display: flex; flex-wrap: wrap; gap: .28rem; }
.job-due { color: #5c564e; font-size: .85rem; }
.job-due.is-due { color: #9d1248; font-weight: 800; }
.job-due.is-today { color: #7a5a08; font-weight: 800; }
.board h3 { margin: .2rem 0; font-size: 1rem; }
.desk-board { display: grid; gap: .85rem; }
.desk-block {
    scroll-margin-top: 5.2rem;
    background: linear-gradient(180deg, #fff 0%, #fffdf9 100%);
    border: 1px solid rgba(106, 51, 244, .12);
    border-radius: 18px;
    padding: .9rem 1rem 1rem;
    box-shadow: inset 4px 0 0 var(--desk, #6a33f4), 0 12px 24px rgba(80, 30, 120, .07);
}
.desk-block.is-empty { padding-bottom: .75rem; }
.desk-block h2 { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin: 0 0 .55rem; font-size: 1.05rem; color: #24183a; }
.desk-block.is-empty h2 { margin-bottom: .2rem; }
.desk-block h2 .bi { color: #24183a; }
.desk-latest { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .7rem; }
.desk-latest .job-ticket { max-width: none; }
.job-meta { color: #5c564e; font-size: .8rem; }
.floor-page { display: grid; gap: 0; min-width: 0; max-width: 100%; }
.floor-page > * { min-width: 0; max-width: 100%; }
.floor-band { margin: 0 0 .25rem; color: #24183a; }
.floor-lead { margin: 0 0 .85rem; }
.floor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 1rem; align-items: start; margin-bottom: 1rem; }
.floor-rail { position: sticky; top: 5.2rem; align-self: start; }
.floor-rail:hover, .floor-closed:hover { transform: none; box-shadow: 0 14px 28px rgba(80, 30, 120, .1); }
.floor-rail h2 { margin: 0 0 .7rem; font-size: 1rem; color: #24183a; }
.floor-rail h2 .bi { color: #5b27d6; }
.floor-nav { display: grid; gap: .4rem; }
.floor-nav a {
    display: flex; align-items: center; justify-content: space-between; gap: .4rem;
    text-decoration: none; color: #1c1916; font-weight: 700;
    padding: .42rem .55rem; border-radius: 12px;
    border: 1px solid rgba(106, 51, 244, .12); background: #fff;
    box-shadow: inset 3px 0 0 var(--desk, #6a33f4);
}
.floor-nav a { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.floor-nav a:hover { border-color: #ff2f92; transform: translateY(-2px); box-shadow: 0 8px 16px rgba(80, 20, 120, .12); }
.floor-nav a b { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; border-radius: 999px; background: #1c1916; color: #fff; font-size: .75rem; }
.floor-rail .muted { margin: .75rem 0 .35rem; }
.floor-more { display: flex; align-items: center; justify-content: space-between; margin-top: .45rem; font-weight: 800; }
.floor-more b { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; margin-left: .35rem; border-radius: 999px; background: #1c1916; color: #fff; font-size: .75rem; }
.floor-closed { scroll-margin-top: 5.2rem; }
.floor-closed h2 { margin-top: 0; }
.desk-line { display: flex; align-items: center; gap: .35rem; margin: 0; scroll-margin-top: 5.2rem; color: #5c564e; }
.desk-line strong, .desk-line .bi { color: #24183a; }
.desk-rest { margin-top: .85rem; }
.desk-rest h3 { margin: 0 0 .2rem; font-size: 1rem; color: #24183a; }
.desk-rest td:nth-child(4), .desk-rest td:nth-child(5) { white-space: nowrap; }
.security-log td:first-child { white-space: nowrap; }
.security-page { display: grid; gap: 0; min-width: 0; max-width: 100%; }
.security-page > * { min-width: 0; max-width: 100%; }
.report-page { display: grid; gap: 0; min-width: 0; max-width: 100%; }
.report-page > * { min-width: 0; max-width: 100%; }
.report-switch { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.report-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .75rem; align-items: end; margin-top: .75rem; }
.report-filters .btn { justify-self: start; }
.report-page td.num, .report-page th.num, .doc-lines td.num, .doc-lines th.num { white-space: nowrap; text-align: right; }
.paper.report-print { max-width: min(820px, 100%); overflow-x: auto; }
.report-page .job-flags { margin-top: .28rem; }
.security-pauses { display: grid; gap: .55rem; }
.security-pause { display: grid; gap: .15rem; padding: .75rem .85rem; border-radius: 14px; background: #fff4f7; border: 1px solid #f0c3d4; color: #4a1224; }
.security-pause strong { color: #16130f; }
.password-card { max-width: 32rem; }
.desk-rest .muted { margin: 0 0 .55rem; }
.work-callout, .work-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem;
    margin: 0 0 1rem; padding: .9rem 1rem; background: #f3fbff; color: #1c1916;
    border: 1px solid rgba(14, 154, 163, .28); border-radius: 16px; box-shadow: inset 4px 0 0 #12d3dc;
}
.work-bar { justify-content: space-between; }
.work-callout { justify-content: flex-start; text-decoration: none; transition: transform .28s ease, box-shadow .28s ease; }
.work-callout:hover { transform: translateY(-3px); box-shadow: inset 4px 0 0 #12d3dc, 0 18px 30px rgba(80, 20, 120, .14); }
.work-callout span { display: grid; min-width: 0; }
.work-callout strong, .work-copy strong { color: #1c1916; }
.work-callout em, .work-copy p, .work-others { color: #5c564e; font-style: normal; }
.work-copy { min-width: min(100%, 16rem); flex: 1; }
.work-copy p { margin: .2rem 0 0; }
.work-copy .bi, .work-callout .bi { color: #0e7f86; }
.work-bar form { margin: 0; }
.work-others { flex-basis: 100%; margin: 0; padding: .15rem 0 0; list-style: none; }
.work-others li + li { margin-top: .2rem; }
.path { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.path span { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .7rem; border-radius: 999px; background: #f4eeff; color: #2a1458; font-weight: 700; font-size: .82rem; }
.path span .bi { color: inherit; }
.path span.is-done { background: #e7f6df; color: #17330c; }
.path span.is-due { background: #ffd5e0; color: #4a1224; }
.path span.is-now { background: linear-gradient(90deg, #6a33f4, #ff2f92); color: #fff; animation: office-now .45s ease; }
.path span.is-skip { background: #f3efe8; color: #8a8378; }
.job-sheet { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .82fr); grid-template-areas: "job move" "trail move"; gap: 1rem; align-items: start; }
.job-main { grid-area: job; }
.job-move { grid-area: move; position: sticky; top: 5.2rem; align-self: start; }
.job-trail-wrap { grid-area: trail; }
.job-sheet h2, .job-note h3 { margin-top: 0; }
.job-facts { display: grid; gap: .7rem; margin: 0; }
.job-facts div { display: grid; gap: .12rem; }
.job-facts dt { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #5c564e; }
.job-facts dd { display: flex; flex-wrap: wrap; gap: .35rem .55rem; align-items: center; margin: 0; color: #1c1916; }
.brief-field { display: grid; gap: .25rem; font-size: .82rem; color: var(--muted); }
.brief-editor { display: grid; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.brief-editor textarea { display: none; }
.brief-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; padding: .35rem; background: linear-gradient(90deg, #fff5fb, #f4f0ff 55%, #f3fcfd); border-bottom: 1px solid var(--line); }
.brief-tools button { display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; padding: 0; border-radius: 8px; border: 1px solid transparent; background: #fff; color: #24183a; cursor: pointer; }
.brief-tools button .bi { margin: 0; font-size: 1rem; color: inherit; }
.brief-tools button:hover { border-color: #c9b6ff; color: #3b1c96; }
.brief-tools button.is-on { background: #24183a; color: #fff; border-color: #24183a; }
.brief-tools button:focus-visible { outline: 2px solid #5d2fe0; outline-offset: 2px; }
.brief-gap { width: 1px; height: 1.4rem; background: #e0d6f4; }
.brief-area { min-height: 8.5rem; padding: .7rem .75rem; color: #16130f; font-weight: 500; line-height: 1.45; outline: none; }
.brief-area:focus { box-shadow: inset 0 0 0 2px #6a33f4; }
.brief-area.is-empty:before { content: attr(data-placeholder); color: #8a8378; font-weight: 500; }
.brief-area p, .brief-area div, .brief-read p, .brief-read div { margin: 0 0 .35rem; }
.brief-area ul, .brief-area ol, .brief-read ul, .brief-read ol { margin: .15rem 0 .45rem; padding-left: 1.25rem; }
.brief-area li, .brief-read li { margin: .12rem 0; }
.brief-read { margin: 0; color: #16130f; font-weight: 500; line-height: 1.45; }
.brief-read.is-plain { white-space: pre-wrap; }
.brief-read p:last-child, .brief-read div:last-child { margin-bottom: 0; }
.brief-area strong, .brief-area b, .brief-read strong, .brief-read b { font-weight: 800; }
.brief-area s, .brief-area strike, .brief-read s, .brief-read strike { text-decoration: line-through; }
.doc-notes .brief-read { font-weight: 500; }
.move-card { display: grid; gap: .55rem; padding: .8rem; border-radius: 14px; background: linear-gradient(180deg, #fff, #f7f3ff); border: 1px solid rgba(106, 51, 244, .14); }
.move-card.is-stop { background: linear-gradient(180deg, #fff, #fff5f8); border-color: rgba(255, 47, 146, .28); }
.move-card textarea { min-height: 68px; }
.move-card .btn { justify-content: center; }
.job-note { border-top: 1px solid var(--line); padding-top: .85rem; }
.job-note h3 { margin-bottom: .35rem; font-size: 1rem; color: #24183a; }
.job-trail { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.job-trail li { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: .15rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.job-trail li:last-child { border-bottom: 0; padding-bottom: 0; }
.job-trail time { color: #5c564e; font-size: .82rem; font-weight: 700; }
.job-trail strong { color: #1c1916; }
.job-trail p { margin: .2rem 0 0; white-space: pre-wrap; }
.invoice-snapshot .is-empty { color: #5c564e; font-weight: 700; }
.invoice-snapshot .is-today { color: #7a5a08; }
.login-body {
    min-height: 100vh; margin: 0; display: grid; place-items: center; color: #f6f2ea; padding: 2rem 1rem;
    background:
        radial-gradient(500px 280px at 15% 0%, rgba(255, 47, 146, .45), transparent 70%),
        radial-gradient(480px 300px at 90% 100%, rgba(20, 215, 224, .28), transparent 70%),
        linear-gradient(160deg, #1a1030, #070708 55%);
}
.login-bar { position: fixed; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, #ff2f92, #14d7e0, #ffe14a, #7a45ff, #ff2f92); background-size: 220% 100%; animation: office-ink-bar 14s linear infinite; }
.login-shell { width: min(440px, 100%); display: grid; gap: 1rem; }
.login-shell > * { animation: office-rise .5s cubic-bezier(.22, .8, .28, 1) backwards; }
.login-shell > :nth-child(2) { animation-delay: .08s; }
.login-shell > :nth-child(3) { animation-delay: .16s; }
.login-brand img, .side-brand img { animation: office-pop .5s cubic-bezier(.22, .8, .28, 1) backwards; }
.login-brand { display: flex; align-items: center; justify-content: center; gap: .7rem; color: #fff; text-decoration: none; }
.login-brand img { height: 64px; width: auto; background: #fff; border-radius: 14px; padding: 4px; }
.login-brand span { font-weight: 800; font-size: 1.7rem; letter-spacing: .04em; }
.login-brand em { font-style: normal; color: #d9c8ff; }
.login-card { background: #fffdf9; color: #1c1916; border-radius: 24px; padding: 1.35rem 1.3rem 1.25rem; box-shadow: 0 22px 50px rgba(0, 0, 0, .35); }
.login-card:hover { transform: translateY(-6px); box-shadow: 0 28px 54px rgba(40, 10, 70, .45); }
.login-kicker { margin: 0; letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; font-weight: 700; color: #5b27d6; }
.login-card h1 { margin: .15rem 0 .3rem; font-size: 2rem; color: #16130f; }
.login-lead { margin: 0; color: #3f3a33; }
.login-card label { color: #3f3a33; font-weight: 700; }
.login-card .btn { width: 100%; justify-content: center; background: #ff2f92; color: #fff; border: 0; padding: .8rem 1rem; font-weight: 700; }
.login-card .flash { color: #1c1916; }
.login-back { justify-self: center; color: #ffe56a; font-weight: 700; }
.alerts { position: relative; }
.alert-bell { background: #fff; color: #16130f; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .75rem; cursor: pointer; font-weight: 700; }
.alert-count { display: inline-grid; place-items: center; min-width: 1.2rem; height: 1.2rem; margin-left: .3rem; border-radius: 999px; background: #ff2f92; color: #fff; font-size: .75rem; }
.alert-panel { position: absolute; right: 0; top: calc(100% + .45rem); width: min(360px, 80vw); background: #fffdf9; color: #1c1916; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.16); z-index: 20; padding: .7rem; transform-origin: top right; }
.alert-panel:not([hidden]) { animation: office-pop .22s ease; }
.alert-count:not([hidden]) { animation: office-pop .28s ease; }
.alert-panel-bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .4rem; }
.alert-read { background: none; border: 0; color: #5b27d6; font-weight: 700; cursor: pointer; padding: 0; }
.alert-list { display: grid; gap: .35rem; max-height: 320px; overflow: auto; }
.alert-list a { display: block; text-decoration: none; color: #1c1916; border-radius: 10px; padding: .45rem .5rem; }
.alert-list a.unread { background: #f4eeff; }
.alert-list strong { display: block; }
.alert-list span { color: #5c564e; font-size: .82rem; }
.alert-permission { margin: 0 0 .4rem; color: #3f3a33; }
.alert-ask { display: flex; justify-content: space-between; gap: 1rem; align-items: center; background: linear-gradient(90deg, #2a1458, #7a1d68); color: #f6f2ea; border-radius: 16px; padding: .8rem 1rem; margin-bottom: .9rem; }
.alert-ask p { margin: 0; }
.alert-ask[hidden] { display: none; }
.paper { background: white; color: #16130f; max-width: 820px; margin: 1rem auto; padding: 1.6rem 1.7rem 1.3rem; }
.paper h1 { margin: 0; font-size: 2rem; color: #16130f; }
.letterhead { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.letter-brand { display: flex; align-items: center; gap: .75rem; }
.letter-brand img { height: 72px; width: auto; background: #fff; }
.letter-brand strong { display: block; font-size: 1.55rem; letter-spacing: .03em; }
.letter-brand em { font-style: normal; color: #6a33f4; }
.letter-brand span, .letter-contact { color: #3f3a33; font-style: normal; }
.letter-contact { text-align: right; line-height: 1.45; }
.letter-bar { height: 6px; margin: 1rem 0 1.1rem; border-radius: 999px; background: linear-gradient(90deg, #ff2f92 0 25%, #14d7e0 25% 50%, #ffe14a 50% 75%, #7a45ff 75%); }
.doc-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.1rem; }
.doc-kicker { margin: 0; letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; font-weight: 800; color: #6a33f4; }
.doc-status { margin: 0; padding: .35rem .7rem; border-radius: 999px; background: #f4eeff; color: #2a1458; font-weight: 800; }
.doc-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; margin-bottom: 1rem; }
.doc-grid h2, .doc-notes h2 { margin: 0 0 .3rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #6a33f4; }
.doc-grid p, .doc-notes p { margin: 0; }
.doc-amount { font-size: 1.8rem; font-weight: 800; }
.doc-lines { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.doc-lines th { text-align: left; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: #3d3458; border-bottom: 2px solid #16130f; background: transparent; }
.doc-lines td { border-bottom: 1px solid #e7e1d6; }
.doc-lines td:last-child, .doc-lines th:last-child { text-align: right; }
.doc-lines td:nth-child(n+2), .doc-lines th:nth-child(n+2) { white-space: nowrap; }
.invoice-lines { min-width: 0; overflow-x: auto; }
.doc-totals { margin: .8rem 0 0 auto; width: min(280px, 100%); }
.doc-totals div { display: flex; justify-content: space-between; gap: 1rem; padding: .28rem 0; }
.doc-totals dt { color: #3f3a33; }
.doc-totals dd { margin: 0; font-weight: 700; color: #16130f; }
.doc-totals .is-total { border-top: 2px solid #16130f; margin-top: .25rem; padding-top: .45rem; font-size: 1.15rem; }
.doc-notes { margin-top: 1rem; }
.letter-foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: .7rem; border-top: 1px solid #e7e1d6; color: #5c564e; font-size: .85rem; }
@media (prefers-reduced-motion: reduce) {
    .card, .panel, .board article, .job-ticket, .emp-head, .login-card, .btn, .job-pill, .pay-month, .leave-request, .attend-day, .advance-request, .chart-bar, .chart-col, .chart-slice, .work-callout, aside, aside a, button.side-label::after, .desk-jump a, .floor-nav a { transition: none; }
    .chart-bar, .chart-col, .chart-slice, .content > *, .cards > .card, .desk-latest > .job-ticket, .board > section, .desk-board > .desk-block, .flash, .login-shell > *, .login-brand img, .side-brand img, .login-bar, .top, .alert-panel, .alert-count, .customer-modal, .entry-modal, .customer-modal::backdrop, .entry-modal::backdrop, .path span.is-now, .side-menu, body.drawer-open::before { animation: none; }
    .card:hover, .panel:hover, .board article:hover, .job-ticket:hover, .emp-head:hover, .login-card:hover, .btn:hover, .btn:active, .job-pill:hover, .pay-month:hover, .leave-request:hover, .attend-day:hover, .advance-request:hover, .work-callout:hover, .desk-jump a:hover, .floor-nav a:hover, aside a:hover { transform: none; translate: none; }
}
@media print {
    aside, .top, .toolbar, .no-print { display: none !important; }
    .shell { display: block; }
    body, .content { background: white; padding: 0; }
    .content > *, .cards > .card, .flash, .top, .path span.is-now { animation: none !important; }
    .paper { max-width: none; margin: 0; box-shadow: none; }
    .letter-bar, .doc-status { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (max-width: 980px) {
    .cards, .grid-3, .chart-board .chart-grid.chart-shop { grid-template-columns: 1fr 1fr; }
    .line { grid-template-columns: 1fr 1fr; }
    .floor-layout { grid-template-columns: 1fr; }
    .floor-rail { position: static; order: -1; }
}
@media (max-width: 760px) {
    .shell { grid-template-columns: 1fr; }
    .top { z-index: 9; }
    aside { display: block; position: fixed; top: var(--office-top, 0px); bottom: 0; left: 0; width: min(280px, 86vw); z-index: 8; overflow: auto; translate: -110% 0; transition: translate .34s cubic-bezier(.22, .8, .28, 1); pointer-events: none; }
    aside.is-open { translate: 0 0; pointer-events: auto; }
    aside a:hover:not(.is-on) { translate: 4px 0; }
    body.drawer-open::before { content: ""; position: fixed; top: var(--office-top, 0px); right: 0; bottom: 0; left: 0; background: rgba(16, 10, 28, .45); z-index: 7; animation: office-fade .34s ease; }
    .menu-btn { display: inline-flex; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .7rem; }
    .cards, .grid-2, .grid-3, .invoice-composer, .chart-grid, .chart-board .chart-grid, .chart-board .chart-grid.chart-shop, .chart-rings { grid-template-columns: 1fr; }
    .board { display: grid; grid-template-columns: 1fr; overflow: visible; }
    .board > section { flex: none; min-height: 0; }
    .board.is-focus .desk-jobs { grid-template-columns: 1fr; }
    .desk-latest { grid-template-columns: 1fr; }
    .desk-latest .job-ticket { max-width: none; }
    .floor-layout { grid-template-columns: 1fr; }
    .floor-rail { position: static; order: -1; }
    .floor-page .cards, .report-page .cards { grid-template-columns: 1fr 1fr; }
    .report-print .doc-grid, .report-print .doc-title { grid-template-columns: 1fr; }
    .report-print .doc-title { display: grid; }
    .chart-wide { grid-column: auto; }
    .invoice-composer { grid-template-areas: "customer" "money" "lines"; }
    .invoice-composer .invoice-side { position: static; width: auto; overflow: visible; }
    .job-sheet { grid-template-columns: 1fr; grid-template-areas: "job" "move" "trail"; }
    .job-move { position: static; }
    .job-trail li { grid-template-columns: 1fr; }
    .choice-row, .pay-grid, .pay-methods { grid-template-columns: 1fr; }
    .pay-head { flex-direction: column; }
    .pay-balance { text-align: left; }
    .customer-file-grid { grid-template-columns: 1fr; }
    .settings-desk { grid-template-areas: "customer" "lines" "money"; }
    .band-row { grid-template-columns: 1fr; }
    .invoice-record { flex-direction: column; }
    .dash-hero { grid-template-columns: 1fr; }
    .invoice-record-side { justify-items: start; min-width: 0; }
    .invoice-pills { justify-content: flex-start; }
    .emp-head { flex-direction: column; }
    .pay-month, .leave-request, .attend-day, .advance-request { grid-template-columns: 1fr; }
    .attend-fields, .attend-mark-head, .advance-decide-fields, .gallery-shots { grid-template-columns: 1fr; display: grid; }
    .attend-mark-head { justify-items: start; }
    .leave-request-side, .attend-day-side, .advance-request-side { justify-items: start; }
    .top { align-items: flex-start; gap: .55rem; padding: .7rem .8rem; }
    .who { flex: 1 1 100%; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
    .who span { display: none; }
}
.dash-hero {
    display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 1.2rem; align-items: start;
    margin-bottom: 1rem; padding: 1.2rem 1.3rem 1.25rem; border: 0; overflow: hidden;
    background:
        radial-gradient(460px 180px at 0% 0%, rgba(255, 47, 146, .16), transparent 70%),
        radial-gradient(380px 180px at 100% 120%, rgba(18, 211, 220, .2), transparent 68%),
        linear-gradient(180deg, #fff 0%, #f7f2ff 100%);
}
.dash-hero h2, .dash-hr h2, .chart-band > h2 {
    display: inline-block; margin: .15rem 0 .7rem; padding-bottom: .35rem;
    background: linear-gradient(90deg, #ff2f92, #7a45ff 55%, #14d7e0) no-repeat 0 100% / 0 4px;
    animation: dash-line .7s cubic-bezier(.22, .8, .28, 1) .12s forwards;
}
.dash-hr {
    background:
        radial-gradient(420px 160px at 100% 0%, rgba(122, 69, 255, .14), transparent 70%),
        radial-gradient(360px 160px at 0% 100%, rgba(255, 225, 74, .2), transparent 68%),
        linear-gradient(180deg, #fff 0%, #f7f2ff 100%);
}
.dash-path h3 { margin: 0 0 .35rem; color: #24183a; }
.dash-path p { margin: 0 0 .45rem; color: #3f3a33; }
.dash-path p:last-child { margin-bottom: 0; }
.dash-hero:hover, .dash-hr:hover, .dash .chart-card:hover { transform: none; }
.dash .cards .card { position: relative; overflow: hidden; }
.dash .cards .card::before {
    content: ""; position: absolute; z-index: 1; left: 1rem; right: 1rem; top: 0; height: 4px; border-radius: 4px;
    background: linear-gradient(90deg, #ff2f92, #14d7e0 58%, #ffe14a); transform-origin: left center;
    animation: chart-grow .65s cubic-bezier(.22, .8, .28, 1) backwards;
}
.dash .cards .card:nth-child(2)::before { animation-delay: .08s; }
.dash .cards .card:nth-child(3)::before { animation-delay: .14s; }
.dash .cards .card:nth-child(4)::before { animation-delay: .2s; }
.dash .cards .card:nth-child(n + 5)::before { animation-delay: .26s; }
.dash .card b { font-size: 1.7rem; letter-spacing: -.02em; }
.chart-board .chart-grid > .chart-card:only-child { grid-column: 1 / -1; }
.dash .chart-grid > .panel { animation: office-rise .48s cubic-bezier(.22, .8, .28, 1) backwards; }
.dash .chart-grid > .panel:nth-child(2) { animation-delay: .07s; }
.dash .chart-grid > .panel:nth-child(3) { animation-delay: .14s; }
.dash .chart-grid > .panel:nth-child(4) { animation-delay: .2s; }
.dash .chart-grid > .panel:nth-child(n + 5) { animation-delay: .26s; }
.dash-hr ~ .invoice-composer .leave-request,
.dash-hr ~ .invoice-composer .advance-request { animation: office-rise .42s cubic-bezier(.22, .8, .28, 1) backwards; }
.dash-hr ~ .invoice-composer .leave-request:nth-child(2),
.dash-hr ~ .invoice-composer .advance-request:nth-child(2) { animation-delay: .06s; }
.dash-hr ~ .invoice-composer .leave-request:nth-child(3),
.dash-hr ~ .invoice-composer .advance-request:nth-child(3) { animation-delay: .12s; }
.dash-hr ~ .invoice-composer .leave-request:nth-child(n + 4),
.dash-hr ~ .invoice-composer .advance-request:nth-child(n + 4) { animation-delay: .18s; }
@keyframes dash-line { to { background-size: 100% 4px; } }
@media (prefers-reduced-motion: reduce) {
    .dash-hero h2, .dash-hr h2, .chart-band > h2 { animation: none; background-size: 100% 4px; }
    .dash .cards .card::before { animation: none; transform: scaleX(1); }
    .dash .chart-grid > .panel,
    .dash-hr ~ .invoice-composer .leave-request,
    .dash-hr ~ .invoice-composer .advance-request { animation: none; }
}
@media (max-width: 900px) {
    .dash-hero { grid-template-columns: 1fr; }
}
