.story-layout { padding-top: 0; overflow: hidden; } .layout.story-layout { width: min(1560px, calc(100% - 22px)); height: calc(100vh - 24px); min-height: calc(100vh - 24px); max-height: calc(100vh - 24px); padding: 12px 0; } .story-shell { display: grid; gap: 14px; height: 100%; min-height: 0; grid-template-rows: auto minmax(0, 1fr); } .story-toolbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 14px 18px; border-radius: 28px; } .story-nav { justify-self: center; display: inline-grid; grid-auto-flow: column; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); } .story-tab { min-height: 40px; padding: 0 16px; border: 0; border-radius: 14px; background: transparent; color: var(--muted-strong); font-weight: 700; letter-spacing: -0.02em; } .story-tab.is-active { background: linear-gradient(135deg, rgba(124, 215, 209, 0.18) 0%, rgba(124, 215, 209, 0.08) 100%); color: var(--text); box-shadow: inset 0 0 0 1px rgba(124, 215, 209, 0.18); } .story-actions { justify-self: end; } .page-viewport { position: relative; width: 100%; height: 100%; min-height: 0; overflow: hidden; } .page-track { display: flex; height: 100%; align-items: stretch; transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; } .page-slide { flex: 0 0 100%; width: 100%; min-width: 100%; max-width: 100%; height: 100%; min-height: 0; overflow: hidden; pointer-events: none; } .page-slide.is-active { pointer-events: auto; } body.planner-interacting, body.planner-interacting * { user-select: none !important; -webkit-user-select: none !important; } .page-home { display: grid; gap: 14px; grid-template-rows: minmax(244px, 31vh) minmax(0, 1fr); min-height: 0; height: 100%; } .hero-clock-card { position: relative; display: grid; place-items: center; padding: 26px 28px; overflow: hidden; } .hero-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.08); pointer-events: none; } .hero-orbit-a { width: 46vw; height: 46vw; max-width: 540px; max-height: 540px; top: -58%; left: -8%; opacity: 0.26; } .hero-orbit-b { width: 34vw; height: 34vw; max-width: 420px; max-height: 420px; right: -8%; bottom: -62%; opacity: 0.22; } .hero-clock-card .clock-wrap { position: relative; z-index: 1; } .hero-clock-card .clock-display { font-size: clamp(3.8rem, 8vw, 6.8rem); } .hero-clock-card .clock-meta { gap: 12px; } .board-section { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr); align-items: start; overflow: hidden; } .board-section > .section-header { display: none; } .board-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.96fr) minmax(0, 1fr); gap: 14px; height: 100%; min-height: 0; align-items: start; align-content: start; } .todo-column { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; padding: 18px; overflow: visible; border-radius: 28px; } .column-header { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; min-height: 60px; z-index: 10; } .column-header-copy { min-width: 0; } .column-title { margin: 8px 0 0; font-size: 1.6rem; letter-spacing: -0.05em; line-height: 1.02; } .column-actions { gap: 8px; justify-self: end; z-index: 30; } .task-list { display: flex; flex-direction: column; gap: 12px; min-height: 0; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; } .page-planner { min-height: 0; height: 100%; } .planner-shell { display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 10px; height: 100%; min-height: 0; padding: 18px; border-radius: 30px; overflow: hidden; } .planner-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; } .planner-head-copy h2 { margin: 4px 0 0; font-size: clamp(1.65rem, 2vw, 2.2rem); letter-spacing: -0.05em; } .planner-head-copy .section-note { margin-top: 6px; max-width: 720px; } .planner-controls { display: flex; align-items: center; gap: 8px; } .planner-date-picker { display: grid; gap: 6px; min-width: 188px; } .planner-date-picker span { color: var(--muted); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; } .planner-meta { display: flex; flex-wrap: wrap; gap: 8px; } .planner-meta span, .planner-count, .planner-task-category { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--muted-strong); font-size: 0.8rem; } .planner-layout { display: grid; grid-template-columns: minmax(0, 8.7fr) minmax(260px, 1.75fr); gap: 14px; min-height: 0; } .timeline-surface, .planner-sidebar, .card-surface-soft { border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.06); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%); backdrop-filter: blur(18px) saturate(125%); } .timeline-surface { padding: 12px; min-height: 0; } .timeline-scroll { height: 100%; min-height: 0; overflow: hidden; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.08) 100%); } .timeline-grid { position: relative; min-height: 0; height: 100%; } .timeline-axis-layer, .timeline-slot-layer, .timeline-canvas-layer, .timeline-drop-preview, .timeline-now-line { position: absolute; top: 0; bottom: auto; } .timeline-axis-layer { left: 0; width: var(--timeline-axis-width); } .timeline-slot-layer { left: var(--timeline-axis-width); width: var(--timeline-slot-width); } .timeline-canvas-layer, .timeline-drop-preview, .timeline-now-line { left: var(--timeline-canvas-left); right: 12px; } .timeline-week-header { position: absolute; top: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; z-index: 8; } .timeline-day-head { min-height: 54px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.08); background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%); color: var(--muted-strong); display: grid; place-items: center; gap: 2px; padding: 6px 4px; text-align: center; } .timeline-day-head strong { font-size: 0.84rem; } .timeline-day-head span { font-size: 0.7rem; color: var(--muted); } .timeline-day-head.is-selected { border-color: rgba(124, 215, 209, 0.4); background: linear-gradient(180deg, rgba(124, 215, 209, 0.18) 0%, rgba(124, 215, 209, 0.06) 100%); } .timeline-day-head.is-today { box-shadow: inset 0 0 0 1px rgba(174, 111, 72, 0.18); } .timeline-day-column, .timeline-day-divider { position: absolute; top: 0; bottom: 0; pointer-events: none; } .timeline-day-column { background: linear-gradient(180deg, rgba(255, 255, 255, 0.016) 0%, rgba(255, 255, 255, 0.004) 100%); } .timeline-day-column.is-selected { background: linear-gradient(180deg, rgba(124, 215, 209, 0.06) 0%, rgba(124, 215, 209, 0.01) 100%); } .timeline-day-divider { width: 1px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)); } .timeline-axis-rail { position: absolute; top: 0; bottom: 0; right: 12px; width: 1px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(124, 215, 209, 0.18), rgba(255, 255, 255, 0.05)); } .timeline-axis-tick { position: absolute; left: 0; right: 0; display: flex; align-items: center; justify-content: flex-end; gap: 10px; transform: translateY(-50%); padding-right: 18px; color: var(--muted); font-size: 0.74rem; font-variant-numeric: tabular-nums; } .timeline-axis-tick::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(124, 215, 209, 0.78); box-shadow: 0 0 0 5px rgba(124, 215, 209, 0.08); } .timeline-axis-tick.is-leading { transform: translateY(0); } .timeline-axis-tick.is-terminal { transform: translateY(-100%); } .timeline-slot-band { position: absolute; left: 6px; right: 8px; padding: 6px 9px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.04); display: grid; gap: 3px; } .timeline-slot-band strong { font-size: 0.74rem; } .timeline-slot-band span { color: var(--muted); font-size: 0.66rem; } .timeline-line { position: absolute; left: 0; right: 0; height: 1px; } .timeline-line.is-slot { background: rgba(255, 255, 255, 0.06); } .timeline-major-block { position: absolute; left: 0; right: 0; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.026) 0%, rgba(255, 255, 255, 0.008) 100%); pointer-events: none; } .timeline-major-block span { position: absolute; top: 10px; right: 14px; font-size: clamp(0.96rem, 1.2vw, 1.34rem); color: rgba(255, 255, 255, 0.14); font-weight: 800; letter-spacing: -0.05em; } .planner-event, .timeline-drop-preview { position: absolute; border-radius: 18px; padding: 10px 12px 12px; border: 1px solid rgba(255, 255, 255, 0.07); background: linear-gradient(180deg, rgba(15, 25, 34, 0.96) 0%, rgba(11, 19, 27, 0.92) 100%); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24); overflow: hidden; } .planner-event { touch-action: none; } .planner-event::before, .timeline-drop-preview::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: 18px 0 0 18px; background: var(--event-accent, var(--accent)); } .planner-event-top, .planner-event-meta { display: flex; justify-content: space-between; gap: 8px; } .planner-event-top strong { max-width: 100%; line-height: 1.18; font-size: 0.86rem; } .planner-event-meta { margin-top: 8px; color: var(--muted); font-size: 0.74rem; } .planner-course-stack { display: grid; gap: 3px; min-height: 100%; } .planner-course-title { margin: 0; font-size: 0.76rem; line-height: 1.12; letter-spacing: -0.02em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .planner-course-details { display: grid; gap: 1px; font-size: 0.58rem; line-height: 1.14; color: var(--muted-strong); } .planner-course-line { overflow-wrap: anywhere; } .planner-event-clear, .planner-task-clear { min-height: 28px; padding: 0 10px; border-radius: 999px; border: 0; background: rgba(196, 91, 87, 0.16); color: var(--danger); } .planner-event-resize { position: absolute; left: 8px; right: 8px; height: 8px; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(124, 215, 209, 0.92)); } .planner-event-resize-top { top: -1px; } .planner-event-resize-bottom { bottom: -1px; } .planner-event.is-dragging, .planner-task-card.is-dragging { opacity: 0.86; } .planner-event.is-dragging { z-index: 8; } .planner-event.is-conflict, .timeline-drop-preview.is-conflict { border-color: rgba(196, 91, 87, 0.72); } .planner-event.is-conflict::before, .timeline-drop-preview.is-conflict::before { background: var(--danger); } .course-event { padding: 8px 9px 9px 11px; } .planner-event.is-compact { padding: 7px 9px 8px; } .task-event.is-compact .planner-event-meta, .task-event.is-compact .planner-event-clear { display: none; } .course-event.is-compact .planner-course-details { font-size: 0.54rem; } .planner-event.is-tight { padding: 6px 8px; } .planner-event.is-tight .planner-event-meta, .planner-event.is-tight .planner-event-clear, .planner-event.is-tight .planner-event-time { display: none; } .course-event.is-tight .planner-course-details { display: none; } .course-event.is-tight .planner-course-title { font-size: 0.64rem; } .planner-sidebar { display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 12px; min-height: 0; padding: 16px; } .planner-sidebar-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; } .planner-sidebar-head h3 { margin: 6px 0 0; font-size: 1.4rem; line-height: 1.02; letter-spacing: -0.05em; } .planner-sidebar-note { display: grid; gap: 6px; font-size: 0.82rem; color: var(--muted); } .planner-task-pool { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow-y: auto; padding-right: 2px; } .planner-task-card { display: grid; gap: 12px; padding: 14px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.06); background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%); } .planner-task-card h4 { margin: 0; font-size: 0.98rem; line-height: 1.18; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .planner-task-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; } .planner-task-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .planner-task-tags span { min-height: 32px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; background: rgba(255, 255, 255, 0.05); color: var(--muted-strong); font-size: 0.76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .planner-task-tags span:last-child { grid-column: 1 / -1; } .card-surface-soft { background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%); } .timeline-drop-preview { display: none; gap: 4px; align-content: center; color: var(--muted-strong); border-style: dashed; background: rgba(124, 215, 209, 0.08); } .timeline-now-line { position: absolute; height: 2px; background: linear-gradient(90deg, rgba(196, 91, 87, 0.95), rgba(211, 155, 112, 0.72)); z-index: 6; pointer-events: none; } .timeline-now-line::before { content: ""; position: absolute; left: -6px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--danger); } .admin-layout-v2 { width: min(1540px, calc(100% - 28px)); } .admin-layout-v2 .admin-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 20px 26px; } .admin-layout-v2 .admin-hero > div:first-child { max-width: 760px; } .admin-layout-v2 .action-group { justify-self: end; } .admin-page-nav { display: inline-flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); justify-self: end; } .admin-page-tab { min-height: 40px; padding: 0 16px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted-strong); font-weight: 700; } .admin-page-tab.is-active { background: linear-gradient(135deg, rgba(124, 215, 209, 0.18) 0%, rgba(124, 215, 209, 0.08) 100%); color: var(--text); } .admin-section { margin-top: 24px; } .admin-grid-tight { gap: 18px; } .admin-stack { display: grid; gap: 16px; } .admin-row-card { padding: 20px 22px; } .admin-lists-grid { grid-template-columns: minmax(320px, 380px) minmax(0, 1fr); align-items: start; } .list-create-card, .course-editor-card, .schedule-form-card { position: sticky; top: 24px; } .list-row-card { border-radius: 28px; } .admin-row-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; } .admin-row-side { display: grid; gap: 10px; justify-items: end; } .course-management-grid { grid-template-columns: minmax(340px, 390px) minmax(0, 1fr); align-items: start; } .course-row-head { align-items: start; margin-bottom: 2px; } .course-row-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; } .course-list { gap: 12px; } .course-card { padding: 10px 12px; border-radius: 20px; } .course-card h2 { font-size: 1.1rem; } .course-card .admin-card-copy { margin: 1px 0 0; font-size: 0.78rem; line-height: 1.22; } .course-row-actions .secondary-button, .course-row-actions .danger-button, .course-row-actions .task-count { min-height: 34px; padding: 0 10px; font-size: 0.8rem; } .admin-schedule-grid { grid-template-columns: minmax(320px, 390px) minmax(0, 1fr); align-items: start; } .schedule-editor-card { padding: 22px; } .schedule-palette { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; } .schedule-palette-card { min-width: 220px; padding: 16px 18px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.08); background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%); display: grid; gap: 6px; cursor: grab; } .schedule-palette-card.class { box-shadow: inset 4px 0 0 rgba(124, 215, 209, 0.78); } .schedule-palette-card.break { box-shadow: inset 4px 0 0 rgba(211, 155, 112, 0.72); } .schedule-editor-shell { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; margin-top: 18px; } .schedule-editor-axis, .schedule-editor-track { position: relative; } .schedule-editor-axis { border-right: 1px solid rgba(255, 255, 255, 0.08); } .schedule-editor-track { border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%); border: 1px solid rgba(255, 255, 255, 0.06); overflow: hidden; } .schedule-editor-tick, .schedule-editor-line { position: absolute; } .schedule-editor-tick { left: 0; right: 0; transform: translateY(-50%); padding-right: 12px; text-align: right; color: var(--muted-strong); font-size: 0.86rem; font-variant-numeric: tabular-nums; } .schedule-editor-tick.is-leading { transform: translateY(0); } .schedule-editor-tick.is-terminal { transform: translateY(-100%); } .schedule-editor-line { left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, 0.07); } .schedule-editor-segment { position: absolute; left: 14px; right: 14px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: var(--shadow-sm); overflow: hidden; } .schedule-editor-segment.class { background: linear-gradient(180deg, rgba(124, 215, 209, 0.16) 0%, rgba(124, 215, 209, 0.06) 100%); } .schedule-editor-segment.break { background: linear-gradient(180deg, rgba(211, 155, 112, 0.14) 0%, rgba(211, 155, 112, 0.06) 100%); } .schedule-editor-segment-copy { padding: 12px 14px 18px; display: grid; gap: 6px; } .schedule-editor-segment-copy strong { font-size: 0.94rem; line-height: 1.12; } .schedule-editor-segment-copy span, .schedule-editor-segment-kind { color: var(--muted); font-size: 0.8rem; } .schedule-editor-segment-kind { position: absolute; top: 12px; right: 14px; } .schedule-editor-segment.is-compact .schedule-editor-segment-copy { padding: 9px 12px 15px; gap: 4px; } .schedule-editor-segment.is-compact .schedule-editor-segment-copy strong { font-size: 0.88rem; } .schedule-editor-segment.is-compact .schedule-editor-segment-kind { font-size: 0.72rem; } .schedule-editor-segment.is-compact .schedule-editor-delete { top: 10px; bottom: auto; } .schedule-editor-segment.is-tight .schedule-editor-segment-copy { padding: 7px 10px 12px; gap: 2px; } .schedule-editor-segment.is-tight .schedule-editor-segment-copy strong { font-size: 0.8rem; } .schedule-editor-segment.is-tight .schedule-editor-segment-copy span { font-size: 0.7rem; } .schedule-editor-segment.is-tight .schedule-editor-segment-kind, .schedule-editor-segment.is-tight .schedule-editor-delete { display: none; } .schedule-editor-segment.break.is-tight .schedule-editor-segment-copy span, .schedule-editor-segment.break.is-tight .schedule-editor-segment-copy strong { display: none; } .schedule-editor-delete { position: absolute; right: 14px; bottom: 18px; min-height: 28px; padding: 0 10px; border: 0; border-radius: 999px; background: rgba(196, 91, 87, 0.16); color: var(--danger); } .schedule-editor-resize { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 8px; border: 0; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(124, 215, 209, 0.92)); } .schedule-editor-dropzone { position: absolute; left: 14px; right: 14px; min-height: 72px; border-radius: 20px; border: 1px dashed rgba(124, 215, 209, 0.36); display: grid; place-items: center; padding: 14px; text-align: center; color: var(--muted); background: rgba(124, 215, 209, 0.05); pointer-events: none; } .schedule-editor-dropzone.is-active { border-color: rgba(124, 215, 209, 0.72); color: var(--muted-strong); } @media (max-width: 1280px) { .layout.story-layout { width: min(100% - 20px, 1560px); } .board-grid, .planner-layout, .admin-schedule-grid, .admin-lists-grid, .course-management-grid { grid-template-columns: 1fr; } .todo-column:nth-child(2), .todo-column:nth-child(3) { transform: none; } .admin-layout-v2 .admin-hero { grid-template-columns: 1fr; } .admin-layout-v2 .action-group, .admin-page-nav { justify-self: stretch; } } @media (max-width: 840px) { .layout.story-layout { height: auto; min-height: auto; max-height: none; } .story-shell, .page-track, .page-slide, .page-home, .page-planner, .planner-shell { height: auto; min-height: auto; } .story-toolbar, .planner-head { grid-template-columns: 1fr; } .story-nav { justify-self: stretch; grid-auto-flow: row; } .planner-head { align-items: start; } .schedule-editor-shell { grid-template-columns: 72px minmax(0, 1fr); } .admin-row-main { grid-template-columns: 1fr; } .admin-row-side, .course-row-actions { justify-items: start; justify-content: flex-start; } .planner-task-tags { grid-template-columns: 1fr; } .planner-task-tags span:last-child { grid-column: auto; } }