#adminPageHome { background: #F2F3EE; }
.admin-layout.admin-home-design,
.admin-home-design .admin-content { background: #F2F3EE; }
#adminPageHome > .dashboard-page { flex: 0 0 auto; }
.dashboard-page { min-height: 100%; padding: 0 28px 40px; color: #353535; background: #F2F3EE; font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
.dashboard-page * { box-sizing: border-box; }
.dashboard-page a { color: inherit; text-decoration: none; }
.dashboard-page a:hover { text-decoration: none; }
.dashboard-page h2 { margin: 0; color: #353535; font-size: 14px; font-weight: 600; line-height: 1.3; }
.dashboard-topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; height: 52px; margin-bottom: 28px; border-bottom: 1px solid #c9c9c6; background: #F2F3EE; font-size: 18px; font-weight: 600; }
.dashboard-date-group { align-self: flex-start; margin-top: 2px; }
.dashboard-weekday { font-size: 16px; }
.dashboard-account { position: relative; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.dashboard-avatar { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #fff; font-size: 25px; }
.dashboard-account b,.dashboard-account small { display: block; }
.dashboard-account small { margin-top: 3px; color: #777; font-size: 11px; font-weight: 400; }
.dashboard-account > button { width: 28px; height: 32px; border: 0; background: transparent; color: #555; font-size: 20px; cursor: pointer; }
.dashboard-account-menu { position: absolute; top: 50px; right: 0; width: 140px; padding: 5px; border: 1px solid #e5e5e0; border-radius: 10px; background: #fff; box-shadow: 0 8px 20px #00000012; }
.dashboard-account-menu[hidden] { display: none; }
.dashboard-account-menu button { display: block; width: 100%; padding: 9px; border: 0; border-radius: 6px; background: transparent; text-align: left; cursor: pointer; }
.dashboard-account-menu button:hover { background: #EEF2E2; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(300px,1fr); gap: 24px; align-items: start; }
.dashboard-main,.dashboard-rail { display: grid; gap: 24px; min-width: 0; }
.dashboard-top-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.dashboard-top-cards { gap: 14px; }
.dashboard-kpi { padding-inline: 16px; }
.dashboard-kpi h2 { font-size: 14px; }
.dashboard-top-cards .dashboard-kpi:nth-child(2) h2 { font-size: 14px; letter-spacing: -.02em; white-space: nowrap; }
.dashboard-top-cards .dashboard-kpi:nth-child(2) .dashboard-card-head { gap: 6px; }
.dashboard-sales-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.dashboard-card { display: block; min-width: 0; padding: 20px 22px; border: 1px solid #f0f0ed; border-radius: 28px; background: #fff; transition: border-color 140ms ease,background-color 140ms ease; }
a.dashboard-card:hover { border-color: #d6dfcb; }
.dashboard-card-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.dashboard-arrow { display: inline-grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border: 1.5px solid #353535; border-radius: 50%; color: #353535; font-size: 16px; line-height: 1; }
.dashboard-kpi { display: flex; flex-direction: column; padding-bottom: 16px; }
.dashboard-top-cards .dashboard-kpi { padding-inline: 16px; }
.dashboard-kpi strong { display: block; margin: 18px 0 0; color: #676767; font-size: 30px; font-weight: 550; line-height: 1; font-variant-numeric: tabular-nums; }
.dashboard-kpi-footer { display: flex; align-items: center; gap: 15px; margin-top: 12px; color: #777; font-size: 12px; }
.dashboard-kpi-footer b { font-weight: 500; }
.dashboard-order { background: #FCD9FA; border-color: #FCD9FA; }
.dashboard-inventory { padding-bottom: 28px; }
.dashboard-inventory .dashboard-card-head,.dashboard-sales .dashboard-card-head,.dashboard-reservation .dashboard-card-head { padding-bottom: 18px; border-bottom: 1px solid #e9e9e7; }
.dashboard-inventory-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 22px; }
.dashboard-inventory-months { display: grid; gap: 20px; padding-right: 24px; border-right: 1px solid #e9e9e7; }
.dashboard-month-row > span,.dashboard-inventory-amount > span { color: #777; font-size: 12px; }
.dashboard-month-main { display: flex; align-items: center; gap: 20px; margin: 7px 0; }
.dashboard-month-main strong { flex: 0 1 auto; color: #676767; font-size: 30px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dashboard-progress { height: 8px; flex: 1; overflow: hidden; border-radius: 99px; background: #F2F2F2; }
.dashboard-progress i { display: block; height: 100%; border-radius: inherit; transition: width 280ms ease; }
.dashboard-progress .is-blue { background: #99BBFA; }
.dashboard-progress .is-yellow { background: #FFED8B; }
.dashboard-month-row small { color: #999; font-size: 12px; }
.dashboard-inventory-today { display: grid; align-content: space-around; gap: 14px; }
.dashboard-inventory-amount { display: grid; grid-template-columns: minmax(0,1fr) max-content 52px; align-items: baseline; gap: 12px; }
.dashboard-inventory-amount strong { color: #676767; font-size: 30px; font-weight: 500; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dashboard-trend { display: inline-flex; width: 52px; min-height: 22px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-size: 11px; line-height: 1; }
.dashboard-trend.is-up { border-color: #CE5B5B; background: #FCF0F0; color: #CE5B5B; }
.dashboard-trend.is-down { border-color: #4D9651; background: #EAF8EB; color: #4D9651; }
.dashboard-trend.is-empty { color: #999; }
.dashboard-attendance { padding-bottom: 16px; }
.dashboard-attendance-pills { display: flex; flex-wrap: wrap; gap: 8px 15px; margin: 18px 0 13px; }
.dashboard-attendance-pills span { padding: 3px 11px; border-radius: 99px; background: #224e4c; color: #fff; font-size: 12px; white-space: nowrap; }
.dashboard-leaves { padding-top: 10px; border-top: 1px solid #ecece9; }
.dashboard-leave { display: grid; grid-template-columns: minmax(42px,.8fr) minmax(82px,1.4fr) minmax(46px,.8fr) 42px; gap: 4px; padding: 6px 0; color: #777; font-size: 12px; }
.dashboard-leave span { min-width: 0; overflow-wrap: anywhere; }
.dashboard-leave span:last-child { text-align: right; }
.dashboard-empty { color: #888; font-size: 13px; }
.dashboard-reservation { min-height: 350px; }
.dashboard-reservation-rows { display: grid; gap: 12px; padding-top: 19px; }
.dashboard-reservation-row { display: grid; grid-template-columns: 44px minmax(0,1fr) 20px; align-items: center; gap: 10px; color: #888; font-size: 13px; font-variant-numeric: tabular-nums; }
.dashboard-reservation-row b { color: #353535; text-align: right; font-weight: 500; }
.dashboard-reservation-track { height: 7px; overflow: hidden; border-radius: 99px; background: #F2F2F2; }
.dashboard-reservation-track i { display: block; height: 100%; border-radius: inherit; background: #FF7E5F; transform-origin: left center; animation: dashboard-bar-enter 290ms ease both; transition: width 290ms ease; }
@keyframes dashboard-bar-enter { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dashboard-sales { min-height: 305px; }
.dashboard-sales-summary { display: flex; flex-wrap: nowrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 19px; color: #676767; font-variant-numeric: tabular-nums; }
.dashboard-sales-today,.dashboard-sales-total { display: flex; min-width: 0; align-items: baseline; gap: 6px; white-space: nowrap; }
.dashboard-sales-summary span { font-size: 13px; font-weight: 400; }
.dashboard-sales-value { color: #676767; font-size: 30px; font-weight: 500; }
.dashboard-sales-total { margin-left: auto; }
.dashboard-sales-total b { font-size: 12px; font-weight: 400; }
.dashboard-chart-wrap { position: relative; height: 148px; margin-top: 15px; border-bottom: 1px solid #eee; }
.dashboard-chart { display: block; width: 100%; height: 100%; }
.dashboard-chart-area { fill: var(--chart-fill); opacity: .85; }
.dashboard-chart-line { fill: none; stroke: #4D9651; stroke-width: .65; vector-effect: non-scaling-stroke; }
.dashboard-chart-dots { position: absolute; inset: 0; pointer-events: none; }
.dashboard-chart-point { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #4D9651; transform: translate(-50%,-50%); }
.dashboard-chart-dates { display: flex; justify-content: space-between; margin-top: 8px; color: #999; font-size: 12px; }
.dashboard-chart-empty { display: grid; height: 148px; place-items: center; color: #aaa; font-size: 13px; }
.dashboard-loading,.dashboard-error { padding: 28px; }
.dashboard-card[data-value].is-changing,[data-value].is-changing { animation: dashboard-number 280ms ease; }
@keyframes dashboard-number { 0% { opacity: .4; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }
.dashboard-card { animation: dashboard-card-enter 200ms ease both; }
.dashboard-top-cards .dashboard-card:nth-child(2),.dashboard-rail .dashboard-card:first-child { animation-delay: 20ms; }
.dashboard-top-cards .dashboard-card:nth-child(3) { animation-delay: 40ms; }
.dashboard-inventory,.dashboard-rail .dashboard-card:last-child { animation-delay: 60ms; }
@keyframes dashboard-card-enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 1300px) { .dashboard-page { padding-inline: 20px; } .dashboard-grid { gap: 16px; grid-template-columns: minmax(0,1.65fr) minmax(280px,1fr); } .dashboard-main,.dashboard-rail,.dashboard-top-cards,.dashboard-sales-grid { gap: 16px; } .dashboard-card { padding: 18px; border-radius: 24px; } }
@media (max-width: 1050px) { .dashboard-grid { grid-template-columns: 1fr; } .dashboard-rail { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .dashboard-page { padding: 0 14px 24px; } .dashboard-topbar { height: 64px; margin-bottom: 16px; font-size: 13px; } .dashboard-account { gap: 6px; } .dashboard-avatar { width: 30px; height: 30px; font-size: 18px; } .dashboard-account b { font-size: 12px; } .dashboard-account small { font-size: 10px; } .dashboard-top-cards,.dashboard-sales-grid,.dashboard-rail { grid-template-columns: 1fr; } .dashboard-inventory-body { grid-template-columns: 1fr; } .dashboard-inventory-months { padding: 0 0 17px; border-right: 0; border-bottom: 1px solid #eee; } .dashboard-card { border-radius: 22px; } .dashboard-reservation { min-height: 0; } }
@media (max-width: 390px) { .dashboard-page { padding-inline: 12px; } .dashboard-chart-dates { font-size: 11px; } .dashboard-leave { font-size: 11px; grid-template-columns: 44px minmax(0,1fr) 45px 37px; } }
@media (prefers-reduced-motion: reduce) { .dashboard-page * { animation: none !important; transition: none !important; transform: none !important; } }
