.planning-page { padding-top: 18rpx; } .today-btn { display: flex; align-items: center; justify-content: center; width: 58rpx; min-width: 58rpx; max-width: 58rpx; height: 52rpx; min-height: 52rpx; padding: 0; border-radius: 999rpx; background: #e5eee9; color: #6f8f83; font-size: 24rpx; font-weight: 800; line-height: 52rpx; } .control-card { padding: 18rpx; animation: pageFadeIn 180ms ease both; } .calendar-error-card { display: flex; flex-direction: column; align-items: stretch; gap: 16rpx; margin-top: 18rpx; padding: 18rpx; border: 1rpx solid #f1d4c4; border-radius: 8px; background: #fff8f3; } .calendar-error-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 6rpx; } .calendar-error-title { color: #9b3d22; font-size: 26rpx; font-weight: 800; } .calendar-error-message { display: block; color: #b06a52; font-size: 22rpx; line-height: 1.5; word-break: break-word; } .calendar-error-action { display: flex; align-items: center; justify-content: center; align-self: flex-end; width: 96rpx; min-width: 96rpx; height: 52rpx; padding: 0; border-radius: 999rpx; background: #fffdf8; color: #8b4b35; font-size: 24rpx; font-weight: 800; line-height: 52rpx; } .date-row { display: flex; align-items: center; justify-content: space-between; gap: 12rpx; } .date-side { display: flex; align-items: center; width: 128rpx; } .date-tools { justify-content: flex-end; gap: 8rpx; } .icon-btn.small { width: 52rpx; min-width: 52rpx; max-width: 52rpx; height: 52rpx; min-height: 52rpx; font-size: 34rpx; } .date-center { display: flex; flex-direction: column; align-items: center; gap: 4rpx; } .date-main { color: #25211d; font-size: 32rpx; font-weight: 800; } .date-sub { color: #9a9288; font-size: 22rpx; } .segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8rpx; margin-top: 18rpx; padding: 8rpx; border-radius: 12px; background: #f1ece4; } .segment { display: flex; align-items: center; justify-content: center; height: 58rpx; border-radius: 10px; color: #7d756c; font-size: 24rpx; font-weight: 700; transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease; } .segment.active { background: #fffdf8; color: #2f2a25; box-shadow: 0 6rpx 14rpx rgba(58, 48, 34, 0.07); transform: translateY(-1rpx); } .artist-filter { display: flex; width: 100%; margin-top: 16rpx; white-space: nowrap; } .artist-chip { display: inline-flex; align-items: center; height: 52rpx; margin-right: 10rpx; padding: 0 16rpx; border-radius: 999rpx; background: #f4f0ea; color: #625b52; font-size: 24rpx; font-weight: 700; transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; } .artist-chip.active { background: #e5eee9; color: #4e7165; transform: translateY(-1rpx); } .chip-dot { width: 14rpx; height: 14rpx; margin-right: 8rpx; border-radius: 50%; } .chip-count { margin-left: 8rpx; color: #9a9288; } .day-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12rpx; } .summary-item { padding: 16rpx; } .summary-value { display: block; color: #26231f; font-size: 34rpx; font-weight: 800; } .summary-label { display: block; margin-top: 8rpx; color: #938c82; font-size: 22rpx; } .day-board { height: 820rpx; margin-top: 18rpx; overflow: hidden; } .timeline-wrap { position: relative; min-height: 720rpx; } .time-axis { position: absolute; top: 0; left: 0; z-index: 4; width: 92rpx; height: 100%; border-right: 1rpx solid #eee8df; background: #fffdf8; } .time-axis::before { display: block; height: 54rpx; content: ''; } .time-label { position: absolute; right: 12rpx; color: #9a9288; font-size: 20rpx; line-height: 1; white-space: nowrap; transform: translateY(-50%); } .lane-scroll { position: absolute; top: 0; right: 0; left: 104rpx; height: 100%; } .lanes { display: flex; } .artist-lane { position: relative; flex-shrink: 0; border-right: 1rpx solid #eee8df; background-image: linear-gradient(to bottom, rgba(214, 207, 197, 0.35) 1rpx, transparent 1rpx); background-size: 100% 60rpx; } .lane-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; height: 54rpx; padding: 0 14rpx; background: rgba(255, 253, 248, 0.92); color: #4d473f; font-size: 22rpx; font-weight: 700; } .appointment-block { position: absolute; right: 12rpx; left: 12rpx; display: flex; flex-direction: column; gap: 3rpx; overflow: hidden; padding: 11rpx 12rpx; border-left: 8rpx solid #7ba7c7; border-radius: 10px; background: #fff7ee; box-shadow: 0 8rpx 16rpx rgba(58, 48, 34, 0.08); transition: transform 160ms ease, box-shadow 160ms ease; } .appointment-block:active { transform: scale(0.98); box-shadow: 0 4rpx 10rpx rgba(58, 48, 34, 0.08); } .appointment-block.pending { background: #fff3f6; } .appointment-block.is-completed { background: #f5fff7; border-color: #c8ead1; } .appointment-block.is-cancelled { background: #fff5f6; border-color: #e8c7cc; } .appointment-block.is-completed::after, .appointment-block.is-cancelled::after, .week-day-card.is-completed::after, .week-day-card.is-cancelled::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-repeat: no-repeat; background-size: 100% 100%; pointer-events: none; } .appointment-block.is-completed::after, .week-day-card.is-completed::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%2345825b' stroke-opacity='.78' stroke-width='5' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); } .appointment-block.is-cancelled::after, .week-day-card.is-cancelled::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23c64e5b' stroke-opacity='.8' stroke-width='5' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); } .block-title { overflow: hidden; color: #2c2823; font-size: 24rpx; font-weight: 800; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; } .block-meta, .block-status { overflow: hidden; color: #7e756b; font-size: 20rpx; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; } .block-badges { display: flex; flex-wrap: nowrap; gap: 5rpx; max-width: 100%; overflow: hidden; } .block-badge { display: inline-flex; align-items: center; flex: 0 0 auto; height: 25rpx; padding: 0 7rpx; border-radius: 999rpx; background: rgba(255, 255, 255, 0.82); color: #7b5b46; font-size: 17rpx; font-weight: 800; line-height: 1; } .block-badge.removal { background: #fff0dc; color: #9a5f2d; } .block-badge.meituan { background: #eaf4ff; color: #49729d; } .block-badge.deposit { background: #edf7ef; color: #4f7d62; } .lane-empty { position: absolute; top: 76rpx; right: 18rpx; left: 18rpx; padding: 16rpx 0; border: 1rpx dashed #d8d1c8; border-radius: 10px; color: #aaa198; text-align: center; font-size: 22rpx; } .week-strip { width: 100%; white-space: nowrap; } .week-day-card { position: relative; display: inline-flex; flex-direction: column; width: 148rpx; min-height: 164rpx; margin-right: 12rpx; padding: 16rpx; } .week-day-card.is-completed { background: #f5fff7; border-color: #c8ead1; } .week-day-card.is-cancelled { background: #fff5f6; border-color: #e8c7cc; } .week-day-card.active { outline: 3rpx solid #8fb89a; } .week-name, .week-total { color: #8f877e; font-size: 22rpx; } .week-date { margin: 8rpx 0; color: #211e1a; font-size: 38rpx; font-weight: 800; } .week-bars { display: flex; flex-direction: column; gap: 6rpx; margin-top: 12rpx; min-height: 22rpx; } .week-bars.empty { min-height: 22rpx; } .week-bar { position: relative; height: 8rpx; border-radius: 999rpx; } .week-grid { margin-top: 18rpx; padding: 20rpx; } .week-grid-head, .week-line { display: flex; align-items: center; justify-content: space-between; } .week-grid-head { margin-bottom: 14rpx; font-weight: 800; } .week-line { min-height: 70rpx; border-top: 1rpx solid #eee8df; } .week-line-date { width: 132rpx; color: #6f675f; font-size: 24rpx; } .week-line-bars { flex: 1; display: flex; flex-direction: column; gap: 6rpx; min-height: 28rpx; } .week-line-bars.empty { min-height: 28rpx; } .week-count-bar { position: relative; display: flex; align-items: center; min-width: 58rpx; height: 28rpx; padding-left: 10rpx; border-radius: 7rpx; color: #fff; font-size: 18rpx; font-weight: 700; } .week-bar.is-completed::after, .week-bar.is-cancelled::after, .week-count-bar.is-completed::after, .week-count-bar.is-cancelled::after, .month-artist-bar.is-completed::after, .month-artist-bar.is-cancelled::after, .month-order-block.is-completed::after, .month-order-block.is-cancelled::after, .month-row-block.is-completed::after, .month-row-block.is-cancelled::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23ffffff' stroke-opacity='.92' stroke-width='3' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 100% 100%; pointer-events: none; } .week-bar.is-completed::before, .week-bar.is-cancelled::before, .week-count-bar.is-completed::before, .week-count-bar.is-cancelled::before, .month-artist-bar.is-completed::before, .month-artist-bar.is-cancelled::before, .month-order-block.is-completed::before, .month-order-block.is-cancelled::before, .month-row-block.is-completed::before, .month-row-block.is-cancelled::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; background-repeat: no-repeat; background-size: 100% 100%; pointer-events: none; } .week-bar.is-completed::before, .week-count-bar.is-completed::before, .month-artist-bar.is-completed::before, .month-order-block.is-completed::before, .month-row-block.is-completed::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%2345825b' stroke-opacity='.9' stroke-width='2' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); } .week-bar.is-cancelled::before, .week-count-bar.is-cancelled::before, .month-artist-bar.is-cancelled::before, .month-order-block.is-cancelled::before, .month-row-block.is-cancelled::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23c64e5b' stroke-opacity='.92' stroke-width='2' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); } .month-card { overflow: hidden; } .month-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8rpx; margin-bottom: 14rpx; padding: 0 4rpx; } .month-toolbar-title { color: #615a51; font-size: 24rpx; font-weight: 800; } .month-mode-switch { display: inline-flex; gap: 6rpx; padding: 6rpx; border-radius: 999rpx; background: #eee8df; } .month-mode { display: flex; align-items: center; justify-content: center; min-width: 68rpx; height: 44rpx; padding: 0 12rpx; border-radius: 999rpx; color: #766e65; font-size: 22rpx; font-weight: 800; transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease; } .month-mode.active { background: #fffdf8; color: #2f6f62; box-shadow: 0 4rpx 12rpx rgba(58, 48, 34, 0.07); transform: translateY(-1rpx); } .row-name-switch { display: inline-flex; align-items: center; gap: 8rpx; height: 44rpx; padding: 0 10rpx; border-radius: 999rpx; background: #f0ece5; color: #766e65; font-size: 21rpx; font-weight: 800; } .row-name-switch.active { color: #2f6f62; background: #e5eee9; } .switch-track { position: relative; width: 44rpx; height: 24rpx; border-radius: 999rpx; background: #d6d0c7; } .switch-thumb { position: absolute; top: 3rpx; left: 3rpx; width: 18rpx; height: 18rpx; border-radius: 50%; background: #fffdf8; box-shadow: 0 2rpx 6rpx rgba(58, 48, 34, 0.16); transition: transform 180ms ease; } .row-name-switch.active .switch-track { background: #6f8f83; } .row-name-switch.active .switch-thumb { transform: translateX(20rpx); } .month-week-head { display: grid; grid-template-columns: repeat(7, 1fr); height: 58rpx; align-items: center; border-bottom: 1rpx solid #ebe5dc; color: #726b62; font-size: 24rpx; font-weight: 800; text-align: center; } .month-grid { display: grid; grid-template-columns: repeat(7, 1fr); } .month-cell { min-height: 168rpx; padding: 8rpx 5rpx; border-right: 1rpx solid #eee8df; border-bottom: 1rpx solid #eee8df; background: #fffdf8; transition: background-color 180ms ease, transform 160ms ease; } .month-cell:active { transform: scale(0.985); } .month-cell:nth-child(7n) { border-right: 0; } .month-cell.out-month { background: #f7f3ed; } .month-cell.selected { background: #eef5f1; } .month-cell.action-target { background: #fbfff8; outline: 3rpx solid #6f8f83; outline-offset: -3rpx; } .month-cell.is-rest { background: #fff8f6; } .month-cell-head { display: flex; align-items: center; justify-content: space-between; min-height: 32rpx; } .month-day { color: #2c2824; font-size: 22rpx; font-weight: 800; } .out-month .month-day { color: #aba39a; } .day-mark { font-size: 17rpx; font-weight: 800; } .day-mark.full { color: #d98d8d; } .day-mark.rest { color: #8aaeca; } .month-bars { display: flex; flex-direction: column; gap: 5rpx; margin-top: 7rpx; } .month-artist-bar { position: relative; display: flex; align-items: center; justify-content: center; height: 24rpx; min-width: 0; overflow: hidden; border-radius: 6rpx; color: #fff; font-size: 17rpx; font-weight: 800; line-height: 1; white-space: nowrap; transition: transform 160ms ease; } .month-blocks { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5rpx; margin-top: 8rpx; } .month-order-block { position: relative; width: 22rpx; height: 12rpx; border-radius: 999rpx; box-shadow: inset 0 0 0 1rpx rgba(255, 255, 255, 0.24); } .month-row-block { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 12rpx; overflow: hidden; border-radius: 999rpx; color: #fff; font-size: 13rpx; font-weight: 900; line-height: 1; white-space: nowrap; text-shadow: 0 1rpx 3rpx rgba(37, 31, 24, 0.22); box-shadow: inset 0 0 0 1rpx rgba(255, 255, 255, 0.24); } .month-row-block.named { height: 20rpx; } .month-blocks .month-empty { width: 100%; } .month-empty { margin-top: 10rpx; color: #b5ada4; font-size: 20rpx; text-align: center; } .empty-date-mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 80; display: flex; align-items: flex-end; background: rgba(38, 35, 31, 0.36); } .empty-date-sheet { width: 100%; max-height: 88vh; padding: 22rpx 28rpx calc(28rpx + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: #fffdf8; box-shadow: 0 -18rpx 44rpx rgba(38, 35, 31, 0.18); overflow-y: auto; -webkit-overflow-scrolling: touch; animation: emptyDateSheetIn 180ms ease both; } .sheet-grabber { width: 84rpx; height: 8rpx; margin: 0 auto 22rpx; border-radius: 999rpx; background: #ded6cb; } .empty-date-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20rpx; } .empty-date-title-wrap { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 8rpx; } .empty-date-title { color: #25211d; font-size: 36rpx; font-weight: 900; line-height: 1.2; } .empty-date-subtitle { color: #8f877e; font-size: 24rpx; font-weight: 700; line-height: 1.35; } .empty-date-close { display: flex; align-items: center; justify-content: center; width: 60rpx; min-width: 60rpx; max-width: 60rpx; height: 60rpx; min-height: 60rpx; padding: 0; border-radius: 50%; background: #f0ece5; color: #5f5951; font-size: 38rpx; font-weight: 700; line-height: 60rpx; } .empty-date-actions { display: flex; flex-direction: column; gap: 18rpx; margin-top: 30rpx; } .empty-date-action { display: flex; align-items: center; justify-content: flex-start; box-sizing: border-box; width: 100%; min-width: 100%; max-width: 100%; min-height: 136rpx; margin: 0; padding: 22rpx; border-radius: 12px; text-align: left; } .empty-date-action.primary { background: #6f8f83; color: #fffdf8; box-shadow: 0 8rpx 18rpx rgba(111, 143, 131, 0.24); } .empty-date-action-icon { display: flex; align-items: center; justify-content: center; width: 80rpx; min-width: 80rpx; max-width: 80rpx; height: 80rpx; margin-right: 24rpx; border-radius: 12px; font-size: 38rpx; font-weight: 900; line-height: 1; } .empty-date-action.primary .empty-date-action-icon { background: rgba(255, 255, 255, 0.18); color: #fff; } .empty-date-action-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 8rpx; } .empty-date-action-title { font-size: 30rpx; font-weight: 900; line-height: 1.2; } .empty-date-action-desc { font-size: 24rpx; font-weight: 700; line-height: 1.35; opacity: 0.82; } .empty-date-special { display: flex; flex-direction: column; gap: 16rpx; margin-top: 26rpx; } .empty-date-section-title { color: #5d554d; font-size: 24rpx; font-weight: 900; } .empty-date-type-list { display: flex; flex-direction: column; gap: 14rpx; } .empty-date-type { display: flex; align-items: center; justify-content: flex-start; box-sizing: border-box; width: 100%; min-width: 100%; max-width: 100%; min-height: 124rpx; margin: 0; padding: 20rpx 22rpx; border: 1rpx solid #ede5dc; border-radius: 12px; background: #fffaf3; color: #665e55; text-align: left; } .empty-date-type.active { border-color: #d4b27e; background: #fff7e9; color: #5d4828; } .empty-date-type.rest.active { border-color: #f0d7d3; background: #fff8f6; color: #6a4743; } .empty-date-type.work.active { border-color: #c8dccf; background: #f5fbf6; color: #436447; } .empty-date-type.shift.active { border-color: #d9c8ee; background: #fbf7ff; color: #5a4770; } .empty-date-type.rest .empty-date-action-icon { background: #ffe9e5; color: #c56f6f; } .empty-date-type.work .empty-date-action-icon { background: #e6f3e8; color: #589060; } .empty-date-type.shift .empty-date-action-icon { background: #eee2fb; color: #7d63a8; } .empty-date-type-check { min-width: 64rpx; margin-left: 16rpx; color: #b38642; font-size: 22rpx; font-weight: 900; text-align: right; } .empty-date-time-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14rpx; } .empty-date-time-fields picker { min-width: 0; } .empty-date-time-field { display: flex; align-items: center; justify-content: space-between; min-height: 88rpx; padding: 0 22rpx; border: 1rpx solid #e8ded2; border-radius: 10px; background: #fffdf8; } .empty-date-time-label { color: #8f877e; font-size: 24rpx; font-weight: 800; } .empty-date-time-value { color: #2e2a25; font-size: 30rpx; font-weight: 900; } .empty-date-save { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-width: 100%; max-width: 100%; height: 88rpx; min-height: 88rpx; margin: 2rpx 0 0; padding: 0 24rpx; border-radius: 12px; background: #2d2a26; color: #fffdf8; font-size: 28rpx; font-weight: 900; line-height: 88rpx; } @keyframes pageFadeIn { from { opacity: 0; transform: translateY(8rpx); } to { opacity: 1; transform: translateY(0); } } @keyframes emptyDateSheetIn { from { opacity: 0; transform: translateY(24rpx); } to { opacity: 1; transform: translateY(0); } }