/* ATO ERP module styles */
.atoerp-bars { display: flex; align-items: flex-end; gap: 14px; height: 200px; padding: 10px 4px 0; border-bottom: 1px solid var(--p-line); }
.atoerp-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.atoerp-bar-pair { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.atoerp-bar-pair span { width: 38%; max-width: 26px; border-radius: 5px 5px 0 0; min-height: 2px; transition: height .4s; }
.atoerp-bar-pair .rev, .atoerp-legend .rev { background: linear-gradient(180deg, var(--p-mint), var(--p-primary-2)); }
.atoerp-bar-pair .cost, .atoerp-legend .cost { background: var(--p-gold); }
.atoerp-bar-col small { margin-top: 6px; color: var(--p-muted); font-size: .74rem; padding-bottom: 6px; }
.atoerp-legend { display: flex; gap: 16px; margin-top: 10px; font-size: .8rem; color: var(--p-muted); }
.atoerp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.atoerp-quick-task { display: grid; grid-template-columns: 1fr 170px 150px auto; gap: 8px; margin-bottom: 14px; }
.atoerp-log-time { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 14px; background: var(--p-bg); border-radius: 10px; margin-bottom: 16px; }
.atoerp-log-time .atosp-field { margin: 0; min-width: 120px; }
.atoerp-log-time .atoerp-grow { flex: 1; min-width: 220px; }
.atoerp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.atoerp-lines input { padding: 7px 10px !important; }
.atoerp-lines td { vertical-align: middle; }
.atoerp-lines tfoot td { background: #fff; border-bottom: 0; padding-top: 6px; padding-bottom: 6px; }
.atoerp-lines tfoot tr:last-child td { font-size: 1.05rem; color: var(--p-primary); border-top: 2px solid var(--p-line); }
.atoerp-gst-table td { padding: 12px 20px; }
.atoerp-gst-table tfoot td { font-size: 1rem; }
.atoerp-section { background: #f7faf9; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--p-muted); }
.atoerp-board { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.atoerp-col { background: #eaf0ed; border-radius: 12px; padding: 10px; min-height: 260px; }
.atoerp-col-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 10px; font-weight: 800; font-size: .8rem; color: var(--p-ink); }
.atoerp-deal { display: block; background: #fff; border-radius: 10px; padding: 12px; margin-bottom: 8px; box-shadow: var(--p-shadow); color: inherit !important; border: 1px solid transparent; }
.atoerp-deal:hover { border-color: var(--p-mint); }
.atoerp-deal strong { display: block; color: var(--p-ink); font-size: .9rem; }
.atoerp-deal small { display: block; color: var(--p-muted); font-size: .78rem; }
.atoerp-deal b { display: block; margin-top: 6px; font-family: var(--p-head); color: var(--p-primary-2); }
@media (max-width: 900px) {
	.atoerp-quick-task, .atoerp-grid-3 { grid-template-columns: 1fr; }
	.atoerp-board { grid-template-columns: repeat(5, 240px); }
}
