.dashboard-operations { width: 100%; min-width: 0; margin-bottom: 18px; }
.dashboard-operation-error { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; color: #ae4444; background: #fff3f1; border-radius: 6px; }
.dashboard-operation-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.dashboard-operation-tabs button { display: flex; gap: 18px; align-items: center; border: 1px solid #dce5ef; background: #fff; border-radius: 8px; padding: 12px 18px; color: #526b88; cursor: pointer; }
.dashboard-operation-tabs button[aria-pressed="true"] { color: #2563ad; border-color: #a6c6ef; background: #edf5ff; }
.dashboard-operation-tabs b { font-size: 20px; font-variant-numeric: tabular-nums; }
.dashboard-operation-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: start; margin-bottom: 12px; }
.dashboard-operation-search { display: grid; gap: 6px; color: #637b98; font-size: 12px; min-width: 240px; }
.dashboard-operation-toolbar input { border: 1px solid #dce5ef; border-radius: 6px; padding: 8px 10px; color: #334d6b; background: #fff; }
.dashboard-operation-rules { flex: 1; min-width: 220px; padding: 8px 0; color: #637b98; font-size: 12px; }
.dashboard-operation-rules summary { cursor: pointer; color: #356aaa; }
.dashboard-operation-rules form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 14px 0; }
.dashboard-operation-rules label { display: grid; gap: 6px; }
.dashboard-operation-rules input { width: 120px; }
.dashboard-operation-rules p,.dashboard-operation-caption { font-size: 12px; line-height: 1.7; color: #75879e; }
.dashboard-operation-table { width: 100%; min-width: 940px; border-collapse: collapse; table-layout: fixed; font-size: 12px; color: #526b88; }
.dashboard-operations .dashboard-ranking-scroll { max-height: 560px; overflow: auto; overscroll-behavior: contain; }
.dashboard-operation-table thead th { position: sticky; top: 0; z-index: 1; }
.dashboard-operation-table th { text-align: left; font-weight: 500; color: #7b8fa7; background: #f7f9fc; padding: 12px; }
.dashboard-operation-table th:nth-child(1) { width: 25%; }
.dashboard-operation-table th:nth-child(2) { width: 26%; }
.dashboard-operation-table th:nth-child(3) { width: 35%; }
.dashboard-operation-table th:nth-child(4) { width: 14%; }
.dashboard-operation-table td { padding: 16px 12px; vertical-align: top; border-bottom: 1px solid #edf1f7; overflow-wrap: anywhere; }
.dashboard-operation-table td > span,.dashboard-operation-table td > small,.dashboard-operation-table td > strong { display: block; margin-bottom: 6px; line-height: 1.6; }
.dashboard-operation-table small { color: #8494a8; font-size: 11px; }
.dashboard-operation-table p { line-height: 1.7; margin: 8px 0; }
.dashboard-operation-reason { display: inline-block; padding: 4px 7px; border-radius: 4px; color: #9b6920; background: #fff6e7; font-weight: 500; }
.dashboard-operation-reason.urgent { color: #ae4444; background: #fff0ef; }
.dashboard-operation-actions button { display: block; margin: 0 0 12px; text-align: left; }
.dashboard-operation-search-form { display: flex; align-items: end; gap: 8px; }
.dashboard-operation-search select { min-height: 34px; border: 1px solid #dce5ef; border-radius: 6px; padding: 6px; background: white; color: #334d6b; }
.dashboard-operation-work { display: block; margin-bottom: 6px; font-weight: 600; }
.dashboard-operation-note,.dashboard-operation-history p { white-space: pre-wrap; overflow-wrap: anywhere; }
.dashboard-operation-dialog { width: min(640px,calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; padding: 24px; border: 1px solid #dce5ef; border-radius: 12px; color: #334d6b; }
.dashboard-operation-dialog::backdrop { background: #20334d66; }
.dashboard-operation-dialog header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dashboard-operation-dialog h3 { margin: 0; }
.dashboard-operation-dialog form { display: grid; gap: 14px; }
.dashboard-operation-dialog label { display: grid; gap: 6px; font-size: 13px; }
.dashboard-operation-dialog input,.dashboard-operation-dialog select,.dashboard-operation-dialog textarea { width: 100%; border: 1px solid #cedbe9; border-radius: 5px; padding: 8px; font: inherit; }
.dashboard-operation-dialog textarea { resize: vertical; }
.dashboard-operation-history { padding-left: 20px; font-size: 13px; }
.dashboard-operation-history li { margin-bottom: 16px; }
.dashboard-operation-history small { display: block; color: #75879e; margin-top: 5px; }
.dashboard-operation-followup { background: #f3f7fc; padding: 12px; margin-top: 16px; font-size: 13px; }
@media (max-width:640px) { .dashboard-operation-search-form { width: 100%; } .dashboard-operation-search-form label { min-width: 0; flex: 1; } .dashboard-operation-tabs button { flex: 1 1 40%; } }
@media (max-width: 640px) { .dashboard-operation-tabs { gap: 6px; } .dashboard-operation-tabs button { flex: 1 1 40%; padding: 10px 8px; gap: 8px; justify-content: space-between; font-size: 12px; } .dashboard-operation-tabs b { font-size: 17px; } .dashboard-operation-search { width: 100%; } .dashboard-operation-rules { width: 100%; } }

.dashboard-operation-related { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.dashboard-operation-related small { flex-basis:100%; }
.dashboard-operation-evidence { width:min(860px,calc(100vw - 32px)); }
.dashboard-evidence-scroll { max-height:330px; overflow:auto; border:1px solid var(--border-color,#e2e8f0); border-radius:8px; margin:12px 0; }
.dashboard-evidence-scroll table { width:100%; border-collapse:collapse; font-size:13px; }
.dashboard-evidence-scroll th,.dashboard-evidence-scroll td { padding:8px 12px; text-align:left; white-space:nowrap; border-bottom:1px solid var(--border-color,#e2e8f0); }
.dashboard-evidence-scroll th { position:sticky; top:0; background:var(--card-bg,#fff); }
.dashboard-evidence-scroll caption { text-align:left; padding:10px 12px; font-weight:600; }
.dashboard-evidence-ads { margin:14px 0; }
.dashboard-evidence-ads summary { cursor:pointer; font-weight:600; }

.dashboard-operation-table .dashboard-operation-overdue { color:#b42318; font-weight:600; }

.dashboard-operation-dates { margin:10px 0 16px; font-size:12px; line-height:1.7; color:#637b98; }
.dashboard-operation-dates ul { max-height:220px; overflow:auto; padding-left:20px; }
.dashboard-today-priority { margin:16px 0 22px; padding:16px; border:1px solid #dce5ef; border-radius:8px; background:#f8fafc; }
.dashboard-today-priority h3 { margin:0 0 8px; font-size:14px; color:#304765; }
.dashboard-today-priority h3 small { margin-left:8px; color:#71839b; font-size:11px; font-weight:400; }
.dashboard-today-priority p { margin:6px 0; font-size:12px; color:#71839b; line-height:1.7; }
.dashboard-priority-list { padding-left:22px; margin:12px 0 0; }
.dashboard-priority-list li { padding:12px 0; border-top:1px solid #e4ebf3; }
.dashboard-priority-list strong,.dashboard-priority-list span,.dashboard-priority-list small { display:block; margin-bottom:5px; overflow-wrap:anywhere; line-height:1.6; }
.dashboard-priority-list strong { font-size:13px; color:#9d6120; }
.dashboard-priority-list span { font-size:13px; color:#334d6b; }
.dashboard-priority-list small { font-size:11px; color:#71839b; }
.dashboard-priority-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
@media(min-width:900px) { .dashboard-priority-list li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; } .dashboard-priority-actions { align-items:center; } }

.dashboard-priority-help { margin:8px 0; color:#71839b; font-size:12px; line-height:1.7; }
