:root{--atd-blue: #1677ff;--atd-blue-dark: #0958d9;--atd-bg: #f0f5ff;--atd-text: #1f1f1f;--atd-muted: #595959;--atd-ok: #52c41a;--atd-warn: #faad14;--atd-err: #ff4d4f}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%}body{background:var(--atd-bg);color:var(--atd-text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased}.atd-page{padding:20px}.atd-page-title{font-size:20px;font-weight:600;margin:0 0 16px;color:var(--atd-text)}.atd-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:16px}.atd-stat-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}.atd-stat-card{background:#fff;border-radius:12px;padding:18px 20px;box-shadow:0 4px 16px #1677ff14}.atd-stat-label{color:var(--atd-muted);font-size:13px}.atd-stat-value{font-size:28px;font-weight:700;color:var(--atd-blue);line-height:1.3}.atd-trend{background:#fff;border-radius:12px;padding:16px 20px}.atd-trend-row{display:flex;align-items:center;gap:12px;margin:8px 0;font-size:13px}.atd-bar{height:14px;border-radius:7px;background:linear-gradient(90deg,#69b1ff,#1677ff);min-width:4px}.atd-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.atd-calendar-head{text-align:center;font-size:13px;color:var(--atd-muted);padding:6px 0}.atd-calendar-cell{min-height:92px;background:#fff;border:1px solid #e6f0ff;border-radius:8px;padding:8px;font-size:12px;overflow:hidden}.atd-calendar-cell.is-today{border-color:var(--atd-blue);box-shadow:0 0 0 2px #1677ff1f}.atd-calendar-cell.is-empty{background:transparent;border:none}.atd-calendar-date{font-weight:600;margin-bottom:4px}.atd-shift-tag{display:block;margin-top:4px;padding:2px 6px;border-radius:4px;background:#e6f0ff;color:var(--atd-blue-dark);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.atd-punch-wrap{max-width:520px;margin:0 auto}.atd-punch-clock{font-size:44px;font-weight:700;color:var(--atd-blue);text-align:center;letter-spacing:2px}.atd-punch-btn{width:100%;height:56px;font-size:18px;font-weight:600;border-radius:28px}.atd-punch-status{text-align:center;color:var(--atd-muted);margin:12px 0 20px}.atd-sider-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:1000}@media(max-width:768px){.atd-page{padding:12px}.atd-stat-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.atd-stat-card{padding:14px}.atd-stat-value{font-size:22px}.atd-calendar-cell{min-height:68px;padding:4px}.atd-punch-clock{font-size:34px}}@media(min-width:1024px)and (orientation:landscape){.atd-page{padding:24px 32px}}.atd-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start}.atd-panel{background:#fff;border-radius:12px;padding:16px 18px;box-shadow:0 4px 16px #1677ff0f}.atd-panel-head{display:flex;align-items:center;gap:8px;font-weight:600;margin-bottom:12px}.atd-sub{color:#8c8c8c;font-weight:400;font-size:12px;margin-left:auto}.atd-dept-list{display:flex;flex-direction:column;gap:8px;max-height:calc(100vh - 240px);overflow:auto}.atd-dept-item{border:1px solid #e6f0ff;border-radius:10px;padding:10px 12px;cursor:pointer;transition:all .2s}.atd-dept-item:hover{border-color:#91caff;background:#f0f7ff}.atd-dept-item.is-active{border-color:#1677ff;background:#e6f0ff;box-shadow:inset 3px 0 #1677ff}.atd-dept-name{font-weight:600;display:flex;justify-content:space-between;gap:8px;font-size:14px}.atd-dept-store{font-weight:400;font-size:12px;color:#8c8c8c}.atd-dept-meta{font-size:12px;color:#595959;margin-top:4px}.atd-dept-tags{margin-top:6px}.atd-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.atd-detail-item{background:#f0f5ff;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:4px}.atd-detail-label{font-size:12px;color:#8c8c8c}.atd-detail-value{font-size:18px;font-weight:700;color:#1677ff}@media(max-width:991px){.atd-workspace{grid-template-columns:1fr}.atd-dept-list{max-height:none;flex-direction:row;overflow-x:auto;padding-bottom:4px}.atd-dept-item{min-width:200px}.atd-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.atd-people-list{max-height:calc(100vh - 300px);overflow:auto;display:flex;flex-direction:column;gap:12px}.atd-people-group-head{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;font-weight:600;color:#1677ff;padding:4px 2px 6px;border-bottom:1px dashed #e6f0ff;margin-bottom:6px}.atd-people-group-head em{font-style:normal;font-weight:400;color:#8c8c8c}.atd-person{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;border:1px solid transparent;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .2s ease}.atd-person:hover{background:#f0f7ff;transform:translate(2px)}.atd-person.is-active{background:#e6f0ff;border-color:#1677ff}.atd-person-avatar{background:linear-gradient(135deg,#1677ff,#36cfc9)!important;flex:0 0 auto}.atd-person-main{min-width:0}.atd-person-name{font-size:13.5px;font-weight:600;display:flex;align-items:center;gap:4px}.atd-person-meta{font-size:11.5px;color:#8c8c8c;margin-top:2px}@media(max-width:991px){.atd-people-list{max-height:320px}}.atd-dept-tree{background:transparent;font-size:13px}.atd-dept-tree .ant-tree-treenode{padding:1px 0}.atd-dept-tree .ant-tree-node-content-wrapper{border-radius:8px;padding:2px 6px;transition:background .2s ease}.atd-dept-tree .ant-tree-node-content-wrapper:hover{background:#f0f7ff}.atd-dept-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background:#e6f0ff}.atd-tree-dept{display:flex;align-items:center;gap:8px;font-weight:600}.atd-tree-count{font-size:10.5px;color:#1677ff;background:#e6f0ff;border-radius:999px;padding:0 7px;line-height:18px}.atd-tree-person{display:flex;align-items:center;gap:8px;padding:1px 0}.atd-tree-avatar{background:linear-gradient(135deg,#1677ff,#36cfc9)!important;font-size:11px!important;flex:0 0 auto}.atd-tree-name{font-size:12.5px}.atd-tree-no{font-size:10.5px;color:#8c8c8c}
