/* 运营端电脑版样式 */
.ops-layout { display: flex; height: 100vh; }
.ops-sidebar { width: 200px; background: #fff; border-right: 1px solid var(--border-light); display: flex; flex-direction: column; flex-shrink: 0; }
.ops-logo { display: flex; align-items: center; gap: 8px; padding: 16px; border-bottom: 1px solid var(--border-light); }
.logo-icon { width: 32px; height: 32px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: #fff; }
.logo-text { font-size: 15px; font-weight: 700; }
.ops-nav { flex: 1; padding: 8px 0; overflow-y: auto; }
.ops-nav .nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 20px; cursor: pointer; font-size: 13px; color: var(--text-secondary); transition: all .2s; border-radius: 0; }
.ops-nav .nav-item:hover { background: var(--primary-bg); color: var(--primary); }
.ops-nav .nav-item.active { background: var(--primary-bg); color: var(--primary); font-weight: 600; border-right: 3px solid var(--primary); }
.ops-nav .nav-icon { font-size: 16px; width: 20px; text-align: center; }
.ops-user { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border-light); }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.user-info { flex: 1; }
.user-name { font-size: 13px; font-weight: 600; }
.user-role { font-size: 11px; color: var(--text-tertiary); }
.logout-btn { cursor: pointer; opacity: .6; font-size: 14px; }
.logout-btn:hover { opacity: 1; }

.ops-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.ops-header { height: 48px; background: #fff; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; flex-shrink: 0; }
.ops-title { font-size: 16px; font-weight: 700; }
.header-search { width: 280px; padding: 6px 12px; font-size: 13px; }
.header-time { font-size: 12px; color: var(--text-tertiary); }
.ops-content { flex: 1; overflow-y: auto; padding: 20px 24px; background: var(--bg-page); }

.login-mask { position: fixed; inset: 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.login-mask.hidden { display: none; }
.login-box { background: #fff; border-radius: 12px; padding: 36px; width: 340px; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.login-box-logo { width: 52px; height: 52px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: #fff; margin: 0 auto 12px; }
.login-box-title { text-align: center; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.login-box-sub { text-align: center; font-size: 12px; color: var(--text-tertiary); margin-bottom: 20px; }
.login-box .form-group { margin-bottom: 14px; }

/* 桌面日历 */
.desktop-calendar { background: #fff; border-radius: 8px; padding: 20px; }
.dc-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dc-month { font-size: 18px; font-weight: 700; }
.dc-nav { display: flex; gap: 8px; }
.dc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--border-light); border: 1px solid var(--border-light); }
.dc-cell { min-height: 100px; background: #fff; padding: 6px; cursor: pointer; transition: background .15s; }
.dc-cell:hover { background: var(--primary-bg); }
.dc-cell .dc-date { font-size: 13px; font-weight: 600; }
.dc-cell .dc-lunar { font-size: 10px; color: var(--text-tertiary); }
.dc-cell .dc-orders { margin-top: 4px; }
.dc-cell .dc-order { font-size: 11px; padding: 2px 4px; border-radius: 3px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.dc-cell.other-month { opacity: .3; }
.dc-cell.today { box-shadow: inset 0 0 0 2px var(--primary); }
.dc-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 12px; color: var(--text-tertiary); padding: 8px 0; background: var(--bg-gray); font-weight: 600; }

/* 桌面订单表格 */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.data-table th { background: var(--bg-gray); padding: 10px 12px; text-align: left; font-weight: 600; color: var(--text-secondary); border-bottom: 1px solid var(--border-light); }
.data-table td { padding: 10px 12px; border-bottom: 1px solid var(--border-light); }
.data-table tr:hover { background: var(--primary-bg); }
.table-panel { background: #fff; border-radius: 8px; padding: 16px; }
.table-toolbar { display: flex; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.table-toolbar .filters { display: flex; gap: 8px; flex: 1; }
.table-toolbar input, .table-toolbar select { width: auto; min-width: 140px; }
