#operationCountsPage { padding: 28px 32px 36px; background: #f5f7fa; }
#operationCountsPage .operation-counts-header { margin-bottom: 8px; align-items: center; }
#operationCountsPage .operation-counts-header h2 { color: #172a40; font-size: 24px; letter-spacing: -.5px; }
#operationCountsPage .operation-counts-header p { font-size: 12px; color: #8995a5; margin-top: 8px; }
#operationCountsPage .operation-counts-header button { border-radius: 9px; color: #435b79; padding: 9px 16px; background: #fff; }
#operationCountsPage .operation-counts-page-summary { font-size: 11px; color: #8e9bac; padding: 4px 0 18px; }
#operationCountsPage .operation-counts-page-body { max-width: none; }
.counts-console { --cc-ink: #21354d; --cc-muted: #8d9aaa; --cc-blue: #447ae1; --cc-green: #129580; color: var(--cc-ink); min-width: 0; font-variant-numeric: tabular-nums; }
.cc-summary { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.cc-total { position: relative; display: grid; gap: 9px; background: #fff; border: 1px solid #e7ebf0; border-radius: 14px; padding: 22px 24px; box-shadow: 0 4px 14px #25374b03; }
.cc-total::after { content: ''; position: absolute; top: 24px; right: 24px; width: 9px; height: 9px; border-radius: 3px; background: #a0afc2; }
.cc-total--image::after { background: var(--cc-blue); box-shadow: 0 0 0 5px #eff4fe; }
.cc-total--write::after { background: var(--cc-green); box-shadow: 0 0 0 5px #eafbF5; }
.cc-eyebrow { display: block; font-size: 12px; font-weight: 500; color: #7d8da1; letter-spacing: .2px; }
.cc-total > strong { font-size: 34px; line-height: 1.1; font-weight: 720; letter-spacing: -.7px; }
.cc-total--image > strong { color: var(--cc-blue); }
.cc-total--write > strong { color: var(--cc-green); }
.cc-total small { color: #97a2af; font-size: 11px; }
.cc-workspace { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 20px; align-items: start; }
.cc-calendar, .cc-detail, .cc-comparison { border: 1px solid #e3e9f1; background: #fff; border-radius: 14px; min-width: 0; }
.cc-calendar { padding: 18px 14px 12px; }
.cc-calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 5px 16px; }
.cc-calendar-heading h3, .cc-detail-heading h3 { margin: 0; color: var(--cc-ink); font-size: 14px; }
.cc-calendar-heading > span { font-size: 10px; color: var(--cc-muted); }
.cc-month, .cc-date-input, .cc-search { height: 36px; border: 1px solid #e0e7ef; border-radius: 8px; background: #f9fbfd; color: #475e79; padding: 6px 10px; font: inherit; font-size: 12px; }
.cc-month { width: 100%; margin-bottom: 10px; }
.cc-jump { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--cc-muted); padding-bottom: 16px; border-bottom: 1px solid #eff2f6; }
.cc-date-input { min-width: 0; flex: 1; }
.cc-days { display: grid; gap: 7px; max-height: 438px; overflow-y: auto; padding: 12px 3px 4px; scrollbar-width: thin; scrollbar-color: #d9e1eb transparent; }
.cc-day { display: grid; gap: 10px; border: 1px solid transparent; padding: 12px; border-radius: 10px; background: transparent; text-align: left; color: #657990; cursor: pointer; }
.cc-day:hover { background: #f8faff; }
.cc-day.is-selected { background: #f0f5ff; border-color: #b7cef9; box-shadow: inset 3px 0 #5185e3; }
.cc-day-name, .cc-day-counts { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.cc-day-name strong { font-size: 14px; color: #455e7e; font-weight: 650; }
.cc-day.is-selected .cc-day-name strong { color: #376bc6; }
.cc-day-name > span { font-size: 11px; color: #98a5b5; }
.cc-day-counts { justify-content: flex-start; gap: 18px; font-size: 11px; }
.cc-image-text { color: var(--cc-blue); }
.cc-write-text { color: var(--cc-green); }
.cc-detail { padding: 22px; }
.cc-detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; }
.cc-detail-heading h3 { margin: 6px 0; font-size: 23px; letter-spacing: -.4px; }
.cc-detail-heading p { margin: 0; font-size: 11px; color: var(--cc-muted); }
.cc-search { width: 190px; max-width: 100%; }
.cc-day-summary { display: grid; grid-template-columns: 1fr 1fr 1fr; border-radius: 10px; background: #f8fafc; padding: 16px 0; margin-bottom: 19px; }
.cc-day-total { padding: 0 18px; border-right: 1px solid #e4eaf2; }
.cc-day-total:last-child { border: 0; }
.cc-day-total > span { display: block; font-size: 11px; color: #8696a8; margin-bottom: 7px; }
.cc-day-total > strong { font-size: 24px; font-weight: 700; }
.cc-day-total small { font-size: 10px; color: #a3acb7; margin-left: 6px; }
.cc-day-total--image strong { color: var(--cc-blue); }
.cc-day-total--write strong { color: var(--cc-green); }
.cc-table-wrap { overflow: auto; max-height: 480px; scrollbar-width: thin; scrollbar-color: #d9e1eb transparent; }
.cc-table, .cc-matrix { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; font-size: 12px; }
.cc-table { min-width: 520px; }
.cc-table thead th { position: sticky; top: 0; z-index: 1; padding: 11px 12px; font-size: 11px; color: #95a1b0; background: #fff; border-bottom: 1px solid #e8edf4; font-weight: 500; }
.cc-table tbody th, .cc-table tbody td { padding: 14px 12px; vertical-align: top; border-bottom: 1px solid #f0f3f7; }
.cc-table tbody th { min-width: 165px; font-weight: 500; }
.cc-table tbody tr:hover { background: #fcfdff; }
.cc-table th:not(:first-child), .cc-table td:not(:last-child) { text-align: right; }
.cc-table th:last-child, .cc-table td:last-child { text-align: right; }
.cc-function { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.cc-function strong { font-weight: 550; font-size: 12px; }
.cc-function-icon { display: grid; place-items: center; color: #8c9eb4; width: 27px; height: 27px; border-radius: 8px; background: #f1f5fa; font-size: 13px; flex-shrink: 0; }
.cc-number { display: inline-block; font-size: 15px; min-width: 36px; padding: 4px 0; font-weight: 620; }
.cc-number--image { color: var(--cc-blue); }
.cc-number--write { color: var(--cc-green); }
.cc-number.is-zero { color: #c6cdd7; font-weight: 400; }
.cc-history { min-width: 78px; text-align: right; padding-top: 6px; }
.cc-history > summary { color: #8b9aaf; cursor: pointer; font-size: 11px; }
.cc-history[open] > summary { color: var(--cc-blue); }
.cc-history-list { max-height: 220px; overflow: auto; margin-top: 10px; padding: 10px; border: 1px solid #e4ebf4; border-radius: 9px; text-align: left; background: #fafcff; }
.cc-history-list > div { display: grid; gap: 4px; border-bottom: 1px solid #edf1f7; padding: 6px 0; font-size: 11px; }
.cc-history-list strong { color: #687c95; font-weight: 500; }
.cc-note { color: #9aa5b4; font-size: 11px; line-height: 1.7; margin: 14px 0 0; }
.cc-empty { padding: 24px 10px; color: #9aa5b4; font-size: 12px; text-align: center; }
.cc-comparison { margin-top: 20px; }
.cc-comparison > summary { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; }
.cc-comparison > summary::-webkit-details-marker { display: none; }
.cc-comparison > summary strong { display: block; color: #48617c; font-size: 14px; margin-bottom: 5px; }
.cc-comparison > summary div > span { font-size: 11px; color: #95a2b3; }
.cc-expand { color: #698fc6; font-size: 11px; }
.cc-expand::before { content: '＋ '; }
.cc-comparison[open] .cc-expand::before { content: '− '; }
.cc-comparison-body { padding: 0 24px 22px; min-width: 0; }
.cc-comparison-body .cc-note { margin: 0 0 10px; }
.cc-matrix-wrap { overflow: auto; max-height: 480px; border: 1px solid #e8edf3; border-radius: 9px; }
.cc-matrix th, .cc-matrix td { white-space: nowrap; border-bottom: 1px solid #eef2f6; border-right: 1px solid #eef2f6; padding: 12px 16px; }
.cc-matrix th { background: #f8fafc; color: #7f90a5; font-weight: 500; }
.cc-matrix td > span { display: block; font-size: 11px; line-height: 1.9; }
.cc-matrix thead th { position: sticky; top: 0; z-index: 1; }
.cc-matrix th:first-child { position: sticky; left: 0; min-width: 150px; z-index: 2; }
.cc-matrix thead th:first-child { z-index: 3; }
.counts-console :is(button, select, input, summary):focus-visible { outline: 2px solid #80a8eb; outline-offset: 2px; }
@media (min-width: 1600px) { .cc-workspace { grid-template-columns: 290px minmax(0, 1fr); } .cc-days { max-height: 510px; } }
@media (max-width: 1000px) { #operationCountsPage { padding: 22px 16px; } .cc-workspace { grid-template-columns: 210px minmax(0, 1fr); gap: 12px; } .cc-detail { padding: 16px; } .cc-detail-heading { align-items: flex-start; flex-direction: column; } .cc-search { width: 100%; } .cc-summary { gap: 12px; } .cc-total { padding: 18px; } }
@media (max-width: 720px) { .cc-summary { grid-template-columns: 1fr; gap: 10px; } .cc-total { padding: 16px 20px; } .cc-total > strong { font-size: 28px; } .cc-workspace { grid-template-columns: 1fr; } .cc-days { max-height: 190px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } .cc-day-total { padding: 0 10px; } .cc-day-total > strong { font-size: 21px; } .cc-comparison > summary { padding: 16px; } .cc-comparison-body { padding: 0 14px 16px; } }
