.login-brand-logo-shell {
  position: absolute;
  top: 52px;
  left: 7vw;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 264px;
  height: 76px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(0, 18, 43, 0.26);
}
.login-brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.mobile-logo-shell {
  display: flex;
  align-items: center;
  width: 230px;
  height: 64px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 43, 79, 0.08);
}
.mobile-logo-shell img,
.sidebar-logo-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.logo-row.app-logo-row {
  padding: 0 0 22px;
}
.sidebar-logo-shell {
  display: flex;
  align-items: center;
  width: 100%;
  height: 62px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 9px 24px rgba(0, 12, 30, 0.25);
}

.schedule-workspace {
  margin: 0 0 20px;
}
.schedule-workspace-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 0 12px;
}
.schedule-workspace-head h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.5px;
}
.schedule-workspace-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.schedule-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #718096;
  font-size: 9px;
}
.schedule-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.schedule-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(240px, 3fr);
  gap: 14px;
  align-items: start;
}
.schedule-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 4px 16px rgba(24, 48, 78, 0.035);
}
.schedule-calendar-card {
  overflow: hidden;
}
.schedule-calendar-toolbar {
  display: flex;
  align-items: center;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
}
.schedule-month-title {
  min-width: 132px;
  margin: 0 13px;
  font: 700 16px Inter;
  color: #26384d;
  text-align: center;
}
.schedule-nav-btn,
.schedule-today-btn {
  height: 32px;
  border: 1px solid var(--line);
  background: #fff;
  color: #5e6d80;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
}
.schedule-nav-btn {
  width: 32px;
  font-size: 17px;
}
.schedule-today-btn {
  padding: 0 12px;
  margin-left: 4px;
  font-weight: 700;
}
.schedule-calendar-note {
  margin-left: auto;
  color: #8d99a8;
  font-size: 9px;
}
.schedule-weekdays,
.schedule-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.schedule-weekdays {
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.schedule-weekdays span {
  padding: 9px 6px;
  color: #7c8998;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}
.schedule-weekdays span:first-child {
  color: #d65d5d;
}
.schedule-weekdays span:last-child {
  color: #3473ca;
}
.schedule-day {
  position: relative;
  min-height: 112px;
  padding: 7px;
  border: 1px solid transparent;
  border-right-color: #edf0f4;
  border-bottom-color: #edf0f4;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
.schedule-day:nth-child(7n) {
  border-right: 0;
}
.schedule-day.outside {
  background: #fafbfc;
  color: #b4bdc8;
}
.schedule-day.today {
  background: #f6f9ff;
  box-shadow: inset 0 0 0 1px #79a9ec;
}
.schedule-day:hover {
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px #c8daf2;
}
.schedule-day:focus-visible {
  z-index: 2;
  outline: 2px solid #4d8ee8;
  outline-offset: -2px;
}
.schedule-day.drop-target {
  z-index: 3;
  border-color: #1769e0 !important;
  background: #eaf3ff !important;
  box-shadow:
    inset 0 0 0 2px rgba(23, 105, 224, 0.18),
    0 5px 18px rgba(23, 105, 224, 0.13);
}
.schedule-day.drop-target::after {
  content: attr(data-drop-label) '에 놓기';
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  padding: 5px;
  border-radius: 5px;
  background: #1769e0;
  color: #fff;
  text-align: center;
  font-size: 8px;
  font-weight: 700;
  pointer-events: none;
}
body.schedule-drag-active .schedule-day {
  background-image: linear-gradient(rgba(23, 105, 224, 0.025), rgba(23, 105, 224, 0.025));
}
.schedule-day-number {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-bottom: 4px;
  border-radius: 50%;
  font: 600 10px Inter;
}
.schedule-day.today .schedule-day-number {
  background: var(--blue);
  color: #fff;
}
.schedule-day:nth-child(7n + 1) .schedule-day-number {
  color: #d65d5d;
}
.schedule-day:nth-child(7n) .schedule-day-number {
  color: #3473ca;
}
.schedule-day.today .schedule-day-number {
  color: #fff;
}
.schedule-event {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin: 3px 0 0;
  padding: 5px 6px;
  border: 0;
  border-left: 3px solid;
  border-radius: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  font-size: 8.5px;
  font-weight: 700;
  cursor: grab;
  transition:
    opacity 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}
.schedule-event > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.schedule-event:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(31, 65, 105, 0.12);
}
.schedule-event[draggable='false'] {
  cursor: pointer;
}
.schedule-drag-handle,
.schedule-task-handle {
  color: #8090a4;
  font-weight: 400;
  line-height: 1;
}
.schedule-dragging {
  opacity: 0.48 !important;
  cursor: grabbing !important;
  box-shadow: 0 8px 22px rgba(23, 105, 224, 0.18) !important;
}
.schedule-drag-preview {
  position: fixed;
  z-index: 300;
  max-width: 230px;
  padding: 8px 11px;
  border: 1px solid #9fc0ed;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(21, 67, 121, 0.2);
  color: #2b5f9f;
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.schedule-more {
  display: block;
  margin: 4px 2px 0;
  color: #65758a;
  font-size: 8px;
}
.schedule-status-scheduled {
  background: #edf4ff;
  color: #2f6eba;
  border-color: #4d8ee8;
}
.schedule-status-prepare {
  background: #fff6e9;
  color: #a96b23;
  border-color: #efb35e;
}
.schedule-status-imminent {
  background: #fff0df;
  color: #b85e12;
  border-color: #ed8a32;
}
.schedule-status-today {
  background: #ffead5;
  color: #a94d08;
  border-color: #e66f13;
  box-shadow: 0 0 0 1px rgba(230, 111, 19, 0.12);
}
.schedule-status-overdue {
  background: #fff0f0;
  color: #c34646;
  border-color: #e05252;
}
.schedule-status-completed {
  background: #eaf8f2;
  color: #19835a;
  border-color: #26a572;
  text-decoration: none;
}
.schedule-status-hold {
  background: #f0f2f5;
  color: #707b89;
  border-color: #949eaa;
}
.schedule-status-planned {
  background: #edf4ff;
  color: #2f6eba;
  border-color: #4d8ee8;
}
.schedule-status-dueSoon {
  background: #fff0df;
  color: #b85e12;
  border-color: #ed8a32;
}
.schedule-status-onHold {
  background: #f0f2f5;
  color: #707b89;
  border-color: #949eaa;
}

.schedule-task-panel {
  padding: 16px;
}
.schedule-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.schedule-panel-head h3 {
  margin: 0;
  font-size: 14px;
}
.schedule-panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
}
.schedule-panel-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.schedule-panel-actions button {
  height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #536275;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.schedule-panel-actions .add {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.schedule-task-list {
  display: grid;
  gap: 6px;
  max-height: 650px;
  overflow: auto;
  padding-right: 2px;
}
.schedule-task {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: grab;
  transition:
    border-color 0.15s,
    background 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}
.schedule-task:hover {
  border-color: #9fc0ed;
  background: #f9fbff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 65, 105, 0.07);
}
.schedule-task.disabled {
  opacity: 0.55;
  background: #f7f8fa;
}
.schedule-task.disabled {
  cursor: pointer;
}
.schedule-task:active {
  cursor: grabbing;
}
.schedule-task-handle {
  font-size: 13px;
}
.schedule-task-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #324255;
  font-size: 10px;
  font-weight: 700;
}
.schedule-task-meta {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 4px;
  color: #8a96a5;
  font-size: 8px;
}
.schedule-task-state {
  text-align: right;
}
.schedule-task-state b {
  display: block;
  font: 700 10px Inter;
}
.schedule-task-state small {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 6px;
  border-radius: 10px;
  font-size: 8px;
}
.schedule-task.no-date .schedule-task-state small {
  background: #f1f3f6;
  color: #7a8592;
}
.schedule-panel-empty {
  padding: 26px 10px;
  color: #8d99a8;
  text-align: center;
  font-size: 10px;
}

.schedule-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.schedule-form label {
  display: block;
  color: #4c5a6c;
  font-size: 10px;
  font-weight: 700;
}
.schedule-form label.full {
  grid-column: 1/-1;
}
.schedule-form input,
.schedule-form select,
.schedule-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 10px;
  border: 1px solid #dfe5ed;
  border-radius: 7px;
  background: #fff;
  outline: 0;
  font-size: 11px;
}
.schedule-form textarea {
  min-height: 76px;
  resize: vertical;
}
.schedule-form input:focus,
.schedule-form select:focus,
.schedule-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(23, 105, 224, 0.08);
}
.schedule-form-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.schedule-switch-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
}
.schedule-switch-line input {
  width: 16px;
  height: 16px;
  margin: 0;
}
.schedule-alert-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.schedule-alert-options label {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-size: 9px;
  cursor: pointer;
}
.schedule-alert-options input {
  width: 13px;
  height: 13px;
  margin: 0;
}
.schedule-form-help {
  display: block;
  margin-top: 5px;
  color: #8a96a5;
  font-size: 8.5px;
  font-weight: 400;
  line-height: 1.45;
}
.schedule-settings {
  min-width: 760px;
}
.schedule-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.schedule-settings-header button {
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.schedule-settings-table {
  width: 100%;
}
.schedule-settings-table th,
.schedule-settings-table td {
  padding: 10px;
  font-size: 9px;
}
.schedule-settings-table td:first-child {
  text-align: center;
}
.schedule-settings-table .schedule-edit-btn {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #536275;
  padding: 5px 8px;
  font-size: 8px;
  cursor: pointer;
}
.schedule-toggle {
  width: 15px;
  height: 15px;
}
.schedule-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 15px 0;
}
.schedule-detail-grid div {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
}
.schedule-detail-grid small,
.schedule-detail-grid b {
  display: block;
}
.schedule-detail-grid small {
  color: #8c98a7;
  font-size: 8px;
}
.schedule-detail-grid b {
  margin-top: 4px;
  color: #34465a;
  font-size: 10px;
}
.schedule-detail-note {
  padding: 12px;
  border-radius: 7px;
  background: #f6f8fb;
  color: #5e6e82;
  font-size: 10px;
  line-height: 1.6;
}
.schedule-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 17px;
}
.schedule-detail-actions button {
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #526174;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.schedule-detail-actions .complete {
  border-color: #1c9a68;
  background: #1c9a68;
  color: #fff;
}
.schedule-detail-actions .danger {
  border-color: #efcaca;
  color: #c64b4b;
}
.schedule-detail-actions .related {
  border-color: #bcd4f4;
  color: #2867b5;
  background: #f4f8ff;
}
.schedule-date-picker > label {
  display: grid;
  gap: 7px;
  color: #4c5a6c;
  font-size: 10px;
  font-weight: 700;
}
.schedule-date-picker select {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid #dfe5ed;
  border-radius: 7px;
  background: #fff;
  font-size: 11px;
  outline: 0;
}
.schedule-date-template-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 13px;
}
.schedule-date-template-list button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #42546a;
  text-align: left;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.schedule-date-template-list button:hover {
  border-color: #9fc0ed;
  background: #f7faff;
}
.schedule-date-template-list button span {
  color: var(--blue);
  font-size: 13px;
}
.schedule-date-picker-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}
.schedule-date-picker-actions > div {
  display: flex;
  gap: 7px;
}

.modal-card:has(.daily-detail-modal) {
  width: min(1080px, 90vw);
  height: min(84vh, 860px);
  max-height: 90vh;
  padding: 0;
  overflow: hidden;
}
.modal-card:has(.daily-detail-modal) > .modal-close {
  z-index: 4;
  top: 17px;
  right: 20px;
}
.daily-detail-modal {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f6f8fb;
}
.daily-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 54px 17px 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.daily-detail-header p {
  margin: 0 0 5px;
  color: #65758a;
  font-size: 10px;
  font-weight: 700;
}
.daily-detail-header h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.6px;
}
.daily-progress {
  display: grid;
  grid-template-columns: auto 190px;
  align-items: center;
  gap: 4px 11px;
  min-width: 260px;
}
.daily-progress b {
  grid-row: 1/3;
  font: 800 24px Inter;
  color: var(--blue);
}
.daily-progress span {
  color: #65758a;
  font-size: 9px;
}
.daily-progress i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #e9edf3;
}
.daily-progress em {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: var(--blue);
}
.daily-summary {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.daily-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fafbfd;
}
.daily-summary small {
  color: #778598;
  font-size: 9px;
}
.daily-summary b {
  font: 700 14px Inter;
}
.daily-summary .summary-planned b {
  color: #3473ca;
}
.daily-summary .summary-dueSoon b {
  color: #d8731f;
}
.daily-summary .summary-overdue b {
  color: #d24b4b;
}
.daily-summary .summary-completed b {
  color: #168b73;
}
.daily-summary .summary-onHold b {
  color: #707b89;
}
.daily-detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, 38fr) minmax(0, 62fr);
  flex: 1;
  min-height: 0;
  margin: 14px 14px 0;
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  background: #fff;
  overflow: hidden;
}
.daily-task-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid var(--line);
  background: #fbfcfe;
}
.daily-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 15px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.daily-column-head h3 {
  margin: 0;
  font-size: 13px;
}
.daily-column-head p {
  margin: 4px 0 0;
  color: #8a96a5;
  font-size: 8px;
}
.daily-column-head > button {
  height: 30px;
  padding: 0 9px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  cursor: pointer;
}
.daily-task-list {
  display: grid;
  align-content: start;
  gap: 7px;
  overflow: auto;
  padding: 10px;
}
.daily-task-card {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: center;
  border: 1px solid #e4e9ef;
  border-radius: 8px;
  background: #fff;
  transition: 0.15s;
}
.daily-task-card:hover {
  border-color: #9fc0ed;
}
.daily-task-card.selected {
  border-color: #6fa3e7;
  background: #f7faff;
  box-shadow: inset 3px 0 #1769e0;
}
.daily-task-check {
  width: 20px;
  height: 20px;
  margin-left: 8px;
  border: 1px solid #c7d1dd;
  border-radius: 50%;
  background: #fff;
  color: #8a98a8;
  font-size: 11px;
  cursor: pointer;
}
.daily-task-check.checked {
  border-color: #22a26f;
  background: #22a26f;
  color: #fff;
}
.daily-task-main {
  min-width: 0;
  padding: 10px 10px 10px 4px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.daily-task-main > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.daily-task-main b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #314255;
  font-size: 10px;
}
.daily-task-main em {
  color: #65758a;
  font: 700 9px Inter;
  white-space: nowrap;
}
.daily-task-main small {
  display: block;
  margin: 4px 0 6px;
  color: #8995a4;
  font-size: 8px;
}
.daily-task-main > i {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 10px;
  font-size: 8px;
  font-style: normal;
}
.daily-empty {
  padding: 44px 18px;
  text-align: center;
}
.daily-empty b {
  font-size: 11px;
}
.daily-empty p {
  margin: 8px 0 15px;
  color: #8c98a7;
  font-size: 9px;
  line-height: 1.6;
}
.daily-empty button {
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.daily-task-add-panel {
  margin: 10px 10px 0;
  padding: 11px;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  background: #f5f9ff;
}
.daily-task-add-panel > b {
  display: block;
  margin-bottom: 8px;
  color: #49627f;
  font-size: 9px;
}
.daily-task-add-panel > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  max-height: 155px;
  overflow: auto;
}
.daily-task-add-panel button {
  padding: 7px;
  border: 1px solid #dce6f2;
  border-radius: 5px;
  background: #fff;
  color: #4d6077;
  text-align: left;
  font-size: 8px;
  cursor: pointer;
}
.daily-task-add-panel button:hover {
  border-color: #8fb4e6;
  color: #1769e0;
}
.daily-task-add-panel .daily-custom-add {
  width: 100%;
  margin-top: 7px;
  border-color: #9fc0ed;
  color: #1769e0;
  text-align: center;
  font-weight: 700;
}
.daily-task-detail {
  min-width: 0;
  overflow: auto;
  padding: 20px;
  background: #fff;
}
.daily-detail-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.daily-detail-title small {
  color: #8b97a6;
  font-size: 8px;
}
.daily-detail-title h3 {
  margin: 4px 0 0;
  font-size: 17px;
}
.daily-detail-title > span {
  padding: 5px 9px;
  border-radius: 13px;
  font-size: 8px;
  font-weight: 700;
}
.daily-detail-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 7px 0 0;
}
.daily-detail-fields > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: start;
  padding: 10px 4px;
  border-bottom: 1px solid #eef1f4;
}
.daily-detail-fields > div.full {
  grid-column: 1/-1;
}
.daily-detail-fields dt {
  color: #8692a1;
  font-size: 8.5px;
}
.daily-detail-fields dd {
  margin: 0;
  color: #35475b;
  font-size: 9.5px;
  line-height: 1.55;
}
.future-date {
  display: inline-block;
  margin: 0 5px 3px 0;
  padding: 4px 7px;
  border-radius: 12px;
  background: #edf4ff;
  color: #3473ca;
  font-size: 8px;
}
.daily-reschedule {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  margin-top: 14px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
}
.daily-reschedule label {
  flex: 1;
  color: #68778a;
  font-size: 8px;
  font-weight: 700;
}
.daily-reschedule input {
  display: block;
  width: 100%;
  height: 33px;
  margin-top: 5px;
  padding: 0 9px;
  border: 1px solid #dce3eb;
  border-radius: 5px;
  background: #fff;
  font-size: 9px;
}
.daily-reschedule button {
  height: 33px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #536275;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}
.daily-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 14px;
}
.daily-detail-actions button,
.daily-inline-confirm button,
.daily-delete-options button {
  height: 33px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #526174;
  font-size: 8.5px;
  font-weight: 700;
  cursor: pointer;
}
.daily-detail-actions .complete,
.daily-inline-confirm .complete {
  border-color: #1c9a68;
  background: #1c9a68;
  color: #fff;
}
.daily-detail-actions .related {
  border-color: #bcd4f4;
  background: #f4f8ff;
  color: #2867b5;
}
.daily-detail-actions .danger,
.daily-delete-options .danger {
  border-color: #efcaca;
  color: #c64b4b;
}
.daily-inline-confirm,
.daily-delete-options {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  background: #f5f9ff;
}
.daily-inline-confirm > b,
.daily-delete-options > b {
  display: block;
  margin-bottom: 9px;
  color: #38516d;
  font-size: 10px;
}
.daily-inline-confirm label {
  display: block;
  color: #65758a;
  font-size: 8px;
}
.daily-inline-confirm input {
  width: 170px;
  height: 33px;
  margin: 5px 0 10px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.daily-inline-confirm > div,
.daily-delete-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.daily-delete-options > b {
  width: 100%;
}
.daily-detail-empty {
  display: grid;
  place-content: center;
  height: 100%;
  min-height: 260px;
  text-align: center;
}
.daily-detail-empty b {
  font-size: 12px;
}
.daily-detail-empty p {
  margin: 8px 0;
  color: #8b97a6;
  font-size: 9px;
}
.daily-note {
  margin: 0 14px 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #fff;
}
.daily-note > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.daily-note b {
  font-size: 10px;
}
.daily-note small {
  color: #97a1ae;
  font-size: 8px;
}
.daily-note textarea {
  display: block;
  width: 100%;
  min-height: 55px;
  padding: 9px 10px;
  border: 1px solid #dfe5ed;
  border-radius: 6px;
  background: #fbfcfe;
  resize: vertical;
  font-size: 9px;
  line-height: 1.55;
  outline: 0;
}
.daily-note textarea:focus {
  border-color: #1769e0;
  background: #fff;
}

.modal-card:has(.schedule-settings) {
  width: min(1040px, calc(100% - 32px));
}
@media (max-width: 900px) {
  .schedule-layout {
    grid-template-columns: 1fr;
  }
  .schedule-task-list {
    max-height: 360px;
  }
  .schedule-task-panel {
    order: 2;
  }
}
@media (max-width: 760px) {
  .login-brand-logo-shell {
    display: none;
  }
  .mobile-logo {
    margin-bottom: 46px;
  }
  .schedule-workspace-head {
    display: block;
  }
  .schedule-legend {
    margin-top: 9px;
  }
  .schedule-calendar-note {
    display: none;
  }
  .schedule-day {
    min-height: 92px;
    padding: 4px;
  }
  .schedule-event {
    padding: 4px;
    font-size: 7.5px;
  }
  .schedule-settings {
    min-width: 0;
  }
  .schedule-settings-table {
    min-width: 700px;
  }
  .schedule-settings {
    overflow-x: auto;
  }
  .schedule-form {
    grid-template-columns: 1fr;
  }
  .schedule-form label.full {
    grid-column: auto;
  }
  .schedule-detail-grid {
    grid-template-columns: 1fr;
  }
  .schedule-date-template-list {
    grid-template-columns: 1fr;
  }
  .schedule-date-picker-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .schedule-date-picker-actions > div {
    justify-content: flex-end;
  }
  .modal-card:has(.daily-detail-modal) {
    width: 94vw;
    height: 90vh;
  }
  .daily-detail-header {
    display: block;
    padding: 19px 45px 14px 17px;
  }
  .daily-progress {
    margin-top: 12px;
  }
  .daily-summary {
    grid-template-columns: repeat(3, 1fr);
    padding: 10px 14px;
  }
  .daily-detail-layout {
    display: block;
    overflow: auto;
  }
  .daily-task-column {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .daily-task-list {
    max-height: 285px;
  }
  .daily-task-detail {
    overflow: visible;
  }
  .daily-detail-fields {
    grid-template-columns: 1fr;
  }
  .daily-detail-fields > div,
  .daily-detail-fields > div.full {
    grid-column: auto;
  }
  .daily-note {
    margin-top: 0;
  }
  .daily-task-add-panel > div {
    grid-template-columns: 1fr;
  }
}
