.ops-daily-management-tabs { margin: 0 0 12px; }
.ops-daily-rules-panel { color: #273a5d; }
.ops-daily-rules-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.ops-daily-rules-heading h2 { margin: 0; font-size: 19px; color: #15264a; }
.ops-daily-rules-heading p, .ops-daily-rules-card header p { margin: 7px 0 0; color: #8090aa; font-size: 13px; line-height: 1.6; }
.ops-daily-rules-version, .ops-daily-rules-tag { flex: none; padding: 5px 10px; border-radius: 6px; background: #eff5ff; color: #597cab; font-size: 12px; white-space: nowrap; }
.ops-daily-rules-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.ops-daily-rules-card { min-width: 0; margin: 0 0 16px; padding: 20px; border: 1px solid #e3eaf6; border-radius: 10px; background: #fff; }
.ops-daily-rules-card > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.ops-daily-rules-card h3 { margin: 0; color: #223658; font-size: 15px; font-weight: 600; }
.ops-daily-rules-card header .btn { flex: none; }
.ops-daily-rules-panel select, .ops-daily-rules-panel input[type="date"], .ops-daily-rules-panel input[type="text"] { min-width: 0; min-height: 36px; padding: 7px 9px; border: 1px solid #dce5f3; border-radius: 6px; background: #fff; color: #304567; font: inherit; font-size: 13px; box-sizing: border-box; }
.ops-daily-calendar-year { display: flex; flex: none; align-items: center; gap: 8px; color: #65799d; font-size: 13px; }
.ops-daily-calendar-year select { min-width: 100px; }
.ops-daily-annual-status { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px; border: 1px solid #e2eaf7; border-radius: 10px; background: linear-gradient(110deg, #f4f8ff, #fcfdff); }
.ops-daily-annual-status.is-orange { border-color: #f6e4c8; background: linear-gradient(110deg, #fff8ec, #fffdf8); }
.ops-daily-annual-status.is-green { border-color: #cfeee0; background: linear-gradient(110deg, #effaf5, #fcfffd); }
.ops-daily-annual-status.is-red { border-color: #f6d8dd; background: #fff7f8; }
.ops-daily-annual-status-main { min-width: 0; }
.ops-daily-annual-status h3 { display: inline; margin: 0 0 0 8px; color: #1d3358; font-size: 16px; font-weight: 600; }
.ops-daily-annual-state { display: inline-block; padding: 4px 8px; border-radius: 5px; background: #e7eef9; color: #6a81a5; font-size: 12px; white-space: nowrap; }
.is-orange > .ops-daily-annual-status-main > .ops-daily-annual-state { background: #ffead1; color: #c47b18; }
.is-green > .ops-daily-annual-status-main > .ops-daily-annual-state { background: #dcf4e9; color: #24986c; }
.is-red > .ops-daily-annual-status-main > .ops-daily-annual-state { background: #ffe5e8; color: #cd5d70; }
.ops-daily-annual-status p { margin: 11px 0 7px; color: #607696; font-size: 13px; line-height: 1.7; }
.ops-daily-annual-status small { color: #8a98ac; font-size: 12px; line-height: 1.7; }
.ops-daily-annual-actions { display: flex; flex: none; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.ops-daily-annual-actions .btn { min-height: 38px; white-space: nowrap; }
.ops-daily-rules-panel .ops-daily-annual-actions .btn.primary { border-color: #ff962e; background: linear-gradient(110deg, #ff9c25, #ff831b); color: #fff; }
.ops-daily-rules-panel .ops-daily-annual-actions .btn.primary:hover:enabled { border-color: #f58215; background: #f78a18; }
.ops-daily-rules-panel .ops-daily-annual-actions .btn:disabled { opacity: .45; cursor: not-allowed; }
.ops-daily-source { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 13px 2px 20px; color: #8b99ae; font-size: 12px; line-height: 1.8; }
.ops-daily-source > div { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ops-daily-source b { color: #5d7497; font-weight: 400; }
.ops-daily-source a { color: #4180e5; text-decoration: none; }
.ops-daily-source > span { flex: none; }
.ops-daily-year-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.ops-daily-year-stats > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px; border: 1px solid #e8edf6; border-radius: 9px; background: #f8faff; color: #7184a1; font-size: 13px; }
.ops-daily-year-stats strong { color: #415f8e; font-size: 25px; font-weight: 600; white-space: nowrap; }
.ops-daily-year-stats strong small { margin-left: 5px; font-size: 12px; font-weight: 400; }
.ops-daily-year-stats .is-blue { background: #f0f6ff; border-color: #e3edff; }
.ops-daily-year-stats .is-blue strong { color: #397de4; }
.ops-daily-year-stats .is-green { background: #effaf5; border-color: #e0f2e9; }
.ops-daily-year-stats .is-green strong { color: #2da77a; }
.ops-daily-year-stats .is-orange { background: #fff8ed; border-color: #faedda; }
.ops-daily-year-stats .is-orange strong { color: #e38b24; }
.ops-daily-draft-label { margin-left: 10px; color: #d08a2b; font-size: 12px; font-weight: 400; }
.ops-daily-calendar-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: #8b9ab2; font-size: 12px; line-height: 1.5; }
.ops-daily-calendar-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.ops-daily-calendar-legend > span::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: #eef3fc; border: 1px solid #dce7f8; }
.ops-daily-calendar-legend > .is-exempt::before { background: #e6f6ee; border-color: #ccebdc; }
.ops-daily-calendar-legend > .is-holiday::before { background: #fff0d7; border-color: #f8dfb2; }
.ops-daily-calendar-legend > .is-makeup::before { background: #fff; border-color: #e6a14b; }
.ops-daily-annual-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ops-daily-month { min-width: 0; padding: 12px; border: 1px solid #e9eef7; border-radius: 8px; background: #fff; }
.ops-daily-month > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ops-daily-month h4 { margin: 0; color: #344f79; font-size: 14px; font-weight: 600; }
.ops-daily-month header > span { color: #96a4b8; font-size: 11px; }
.ops-daily-month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ops-daily-month-grid > span { display: flex; position: relative; align-items: center; justify-content: center; min-height: 25px; min-width: 0; color: #8596b1; font-size: 11px; line-height: 1; }
.ops-daily-month-grid > .is-weekend-label { color: #41a47e; }
.ops-daily-month-grid > .ops-daily-day { min-height: 28px; border-radius: 4px; font-size: 12px; }
.ops-daily-month-grid > .ops-daily-day.is-required { background: #f0f5fd; color: #6983ac; }
.ops-daily-month-grid > .ops-daily-day.is-exempt { background: #e9f7f0; color: #319b73; }
.ops-daily-month-grid > .ops-daily-day.is-holiday { background: #fff1db; color: #c38931; }
.ops-daily-month-grid > .ops-daily-day.is-makeup { box-shadow: inset 0 0 0 1px #e4b069; }
.ops-daily-day em { position: absolute; top: 1px; right: 1px; color: #c38732; font-size: 7px; font-style: normal; }
.ops-daily-month-grid > .ops-daily-day.is-today { outline: 2px solid #4a88ea; outline-offset: 0; }
.ops-daily-directory-tabs { display: flex; gap: 22px; border-bottom: 1px solid #e8eef7; }
.ops-daily-directory-tabs button { padding: 0 2px 11px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #8494b0; font: inherit; font-size: 13px; cursor: pointer; }
.ops-daily-directory-tabs button.is-active { border-bottom-color: #4383ed; color: #3e7ce1; font-weight: 500; }
.ops-daily-directory-table { overflow-x: auto; }
.ops-daily-directory-table table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.ops-daily-directory-table th { padding: 12px 10px; background: #f6f9ff; color: #8495b2; font-size: 12px; font-weight: 400; text-align: left; }
.ops-daily-directory-table td { padding: 10px; border-bottom: 1px solid #eef2f8; color: #607797; font-size: 13px; }
.ops-daily-rule-label { display: inline-block; padding: 3px 9px; border-radius: 4px; font-size: 12px; }
.ops-daily-rule-label.is-exempt { background: #eaf8f1; color: #2e9c73; }
.ops-daily-rule-label.is-required { background: #edf4ff; color: #487fcb; }
.ops-daily-directory-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; color: #8c9bb2; font-size: 12px; }
.ops-daily-directory-pagination > div { display: flex; align-items: center; gap: 10px; }
.ops-daily-directory-pagination .btn { padding: 5px 9px; font-size: 12px; }
.ops-daily-advanced { margin-top: 4px; border: 1px solid #e5ebf6; border-radius: 9px; background: #fbfcff; }
.ops-daily-advanced > summary { padding: 16px 18px; color: #52729d; font-size: 14px; cursor: pointer; }
.ops-daily-advanced > summary span { margin-left: 12px; color: #95a2b7; font-size: 12px; }
.ops-daily-advanced-body { padding: 3px 18px 18px; }
.ops-daily-rules-switches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 18px; border-top: 1px solid #edf1f7; }
.ops-daily-rules-switches label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.ops-daily-rules-switches input { margin-top: 3px; }
.ops-daily-rules-switches span { display: grid; gap: 5px; }
.ops-daily-rules-switches b { font-size: 14px; font-weight: 500; }
.ops-daily-rules-switches small { color: #8190a8; font-size: 12px; line-height: 1.6; }
.ops-daily-exception-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ops-daily-date-card.is-holidays { border-top: 3px solid #f6bd68; }
.ops-daily-date-card.is-workdays { border-top: 3px solid #64c5a0; }
.ops-daily-date-rows { display: grid; gap: 10px; max-height: 320px; overflow-y: auto; }
.ops-daily-date-row { display: grid; grid-template-columns: minmax(135px, .9fr) minmax(110px, 1.1fr) 30px; gap: 8px; align-items: end; }
.ops-daily-date-row label { display: grid; min-width: 0; gap: 5px; color: #7a8aa4; font-size: 12px; }
.ops-daily-date-row input { width: 100%; }
.ops-daily-date-remove { width: 30px; height: 36px; padding: 0; border: 0; border-radius: 6px; background: #fff1f2; color: #d96b77; font-size: 22px; cursor: pointer; }
.ops-daily-rules-empty { margin: 0; padding: 18px 8px; text-align: center; color: #95a1b6; font-size: 13px; }
.ops-daily-rules-priority { margin: 0 0 18px; color: #8090a7; font-size: 12px; line-height: 1.7; }
.ops-daily-rules-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0 3px; margin-top: 14px; border-top: 1px solid #e5ecf6; }
.ops-daily-rules-footer [data-daily-rules-status] { color: #60769b; font-size: 13px; }
.ops-daily-rules-footer p { margin: 6px 0 0; color: #8b98af; font-size: 12px; line-height: 1.7; }
.ops-daily-rules-error { margin: 13px 0 0; }
.ops-daily-rules-notice { margin: 13px 0 0; padding: 10px 12px; border-radius: 6px; background: #eefaf5; color: #29986f; font-size: 13px; }
.ops-daily-rules-panel :focus-visible { outline: 2px solid #4b88ef; outline-offset: 2px; }
@media (max-width: 1500px) { .ops-daily-annual-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ops-daily-annual-status { align-items: flex-start; } .ops-daily-annual-actions { flex-direction: column; } .ops-daily-year-stats > div { flex-wrap: wrap; } }
@media (max-width: 1250px) { .ops-daily-exception-grid { grid-template-columns: minmax(0, 1fr); gap: 0; } .ops-daily-full-calendar > header { flex-direction: column; } .ops-daily-date-row { grid-template-columns: minmax(145px, .7fr) minmax(160px, 1.3fr) 30px; } }
@media (max-width: 1000px) { .ops-daily-annual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ops-daily-rules-card { padding: 16px; } .ops-daily-annual-status { flex-direction: column; } .ops-daily-annual-actions { flex-direction: row; justify-content: flex-start; } .ops-daily-source { flex-direction: column; gap: 5px; } .ops-daily-year-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ops-daily-rules-switches { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .ops-daily-annual-grid { grid-template-columns: minmax(0, 1fr); } .ops-daily-rules-heading, .ops-daily-rules-card > header { flex-wrap: wrap; } .ops-daily-date-row { grid-template-columns: minmax(0, 1fr) 30px; } .ops-daily-date-row label:first-child { grid-column: 1 / -1; } .ops-daily-annual-actions, .ops-daily-annual-actions .btn { width: 100%; } .ops-daily-advanced > summary span { display: block; margin: 7px 0 0; } .ops-daily-directory-pagination { align-items: stretch; flex-direction: column; } }

.ops-daily-fixed-principle { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.ops-daily-fixed-principle span { padding: 8px 12px; border: 1px solid #e2eaf6; border-radius: 6px; background: #f5f8ff; color: #6a80a2; font-size: 13px; }

.ops-daily-stat-note { margin: -8px 2px 18px; color: #8e9cb2; font-size: 12px; line-height: 1.7; }
