/* A shared, chronological wedding-day plan with one source for song times. */
.project-timeline { color: var(--workspace-ink, #294334); padding-bottom: 30px; }
.tl-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; }
.tl-heading > div { display: grid; grid-template-columns: 52px 1fr; gap: 7px 15px; align-items: center; }
.tl-heading-icon { grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; background: #ed7446; color: white; box-shadow: inset 0 1px #ffffff50, 0 5px 14px #d75e3223; }
.tl-heading-icon .icon { width: 29px; height: 29px; }
.hub-shell #hubPanel .tl-heading h1 { color: var(--workspace-ink, #284735); font-family: var(--hub-font, 'DM Sans', sans-serif); font-size: clamp(29px, 3vw, 40px); font-weight: 650; letter-spacing: -.045em; line-height: 1.1; margin: 0; }
.tl-heading p { margin: 0; color: var(--workspace-muted, #607264); font-size: 12px; }
.tl-heading .primary { background: var(--workspace-accent,#c8ff00); color: var(--workspace-onAccent,#17230c); border-radius: 13px; min-height: 46px; padding: 12px 18px; font-size: 12px; }
.tl-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 12px; background: var(--workspace-surface, #fff); border: 1px solid var(--workspace-border, #d7e3da); border-radius: 20px; margin-bottom: 22px; }
.tl-days, .tl-views { display: flex; align-items: center; gap: 4px; }
.tl-days button, .tl-views button, .tl-refresh { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 10px 13px; border-radius: 12px; font-size: 12px; font-weight: 650; color: var(--workspace-muted, #5c7162); }
.tl-days button[aria-pressed=true] { background: var(--workspace-soft, #e5d7ff); color: var(--workspace-accentText, #64379f); }
.tl-views { background: var(--workspace-soft, #f0f6f1); border-radius: 12px; }
.tl-views button[aria-pressed=true] { background: var(--workspace-accent, #0d8057); color: var(--workspace-onAccent, white); }
.tl-views .icon, .tl-refresh .icon { width: 17px; height: 17px; }
.tl-refresh { border: 1px solid var(--workspace-border, #dae6dd); }
.tl-refresh:hover { color: #0d8057; background: #eaf7ef; }
.tl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: 22px; align-items: start; }
.tl-main { min-width: 0; }
.tl-focus { display: flex; align-items: center; gap: 17px; padding: 22px; background: linear-gradient(120deg, #d6f5e4, #c5f0dd); border: 1px solid #a5dbbe; border-radius: 23px; margin-bottom: 20px; }
.tl-focus > .icon-wrap { display: grid; place-items: center; flex: none; width: 45px; height: 45px; border-radius: 15px; background: #11875a; color: white; }
.tl-focus > div { min-width: 0; display: grid; gap: 7px; }
.tl-focus > div > small { color: #40745a; font-size: 10px; letter-spacing: .03em; font-weight: 700; }
.tl-focus strong { color: #1d5a3a; font-size: 20px; font-weight: 700; letter-spacing: -.025em; line-height: 1.3; }
.tl-focus p { margin: 0; color: #387250; font-size: 12px; }
.tl-date-stamp { margin-left: auto; display: grid; justify-items: center; align-content: center; width: 54px; height: 62px; background: #fff9; color: #175a35; border-radius: 16px; flex: none; }
.tl-date-stamp b { font-size: 26px; line-height: 1; }
.tl-date-stamp small { font-size: 11px; margin-top: 6px; }
.tl-events { position: relative; display: grid; gap: 14px; }
.tl-events::before { content: ''; position: absolute; top: 12px; bottom: 12px; left: 107px; width: 2px; background: #d2e2d7; }
.tl-event { --tl-color: #7952bb; --tl-tint: #f0e7ff; display: grid; grid-template-columns: 68px 42px minmax(0, 1fr) 36px; align-items: start; gap: 15px; position: relative; padding: 20px 18px; border-radius: 21px; border: 1px solid var(--workspace-border, #dce6df); background: var(--workspace-surface, white); box-shadow: 0 3px 13px #24412c04; }
.tl-event-time { padding-top: 5px; display: grid; gap: 7px; font-variant-numeric: tabular-nums; }
.tl-event-time strong { color: var(--workspace-ink, #304a38); font-size: 18px; font-weight: 700; }
.tl-event-time small { color: var(--workspace-muted, #6c7c70); font-size: 10px; }
.tl-event-icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--tl-color); color: white; box-shadow: inset 0 1px #ffffff40; }
.tl-event-icon .icon { width: 24px; height: 24px; }
.tl-event-body { min-width: 0; }
.tl-kind { display: inline-flex; color: var(--tl-color); background: var(--tl-tint); padding: 4px 7px; border-radius: 6px; font-size: 9px; font-weight: 700; }
.hub-shell #hubPanel .tl-event h3 { color: var(--workspace-ink, #284b34); font-family: var(--hub-font, 'DM Sans', sans-serif); font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.35; margin: 8px 0; overflow-wrap: anywhere; }
.tl-meta { display: flex; gap: 7px 14px; align-items: center; flex-wrap: wrap; color: var(--workspace-muted, #5c7363); font-size: 11px; margin-top: 10px; }
.tl-meta > span { display: inline-flex; gap: 5px; align-items: center; overflow-wrap: anywhere; }
.tl-meta .icon { width: 14px; height: 14px; }
.tl-event-note { color: var(--workspace-muted, #5a6d60); font-size: 12px; line-height: 1.7; margin: 13px 0 0; }
.tl-artist { color: var(--workspace-muted, #6b5f83); font-size: 12px; margin: 0; }
.tl-edit { display: inline-grid; place-items: center; width: 36px; height: 38px; border-radius: 12px; color: var(--workspace-accentText, #57715f); background: var(--workspace-raised, #f1f6f1); border: 1px solid var(--workspace-border, #dee9e0); padding: 0; flex: none; }
.tl-edit:hover { color: #167c53; background: #e4f6eb; }
.tl-edit .icon { width: 17px; height: 17px; }
.tl-arrival { --tl-color: #2c8cb1; --tl-tint: #e4f6ff; }
.tl-ceremony { --tl-color: #d35b8f; --tl-tint: #ffe5f1; }
.tl-photos { --tl-color: #8b4dc4; --tl-tint: #f3e5ff; }
.tl-meal { --tl-color: #c97525; --tl-tint: #fff0dc; }
.tl-speeches { --tl-color: #168667; --tl-tint: #e1f7ed; }
.tl-dance { --tl-color: #c65c43; --tl-tint: #ffe9e3; }
.tl-song { --tl-color: #6751c2; --tl-tint: #ebe5ff; background: var(--workspace-raised, #faf8ff); border-color: #ddd2f2; }
.tl-now-line { display: flex; align-items: center; gap: 12px; padding: 3px 0; color: #d05c3f; font-size: 11px; font-weight: 700; position: relative; z-index: 1; }
.tl-now-line::after { content: ''; flex: 1; height: 2px; background: #f2a38d; border-radius: 2px; }
.tl-now-line::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ed704d; }
.tl-empty { padding: 40px 25px; border-radius: 23px; background: var(--workspace-surface, #fff); border: 1px dashed var(--workspace-border, #c4daca); text-align: center; position: relative; }
.tl-empty > .icon-wrap { display: grid; place-items: center; width: 54px; height: 54px; background: #ffe1c9; color: #c97037; border-radius: 18px; margin: 0 auto 18px; }
.hub-shell #hubPanel .tl-empty h2 { color: var(--workspace-ink, #345440); font-family: var(--hub-font, 'DM Sans', sans-serif); font-size: 22px; font-weight: 650; margin: 0 0 12px; }
.tl-empty p { color: var(--workspace-muted, #657b6b); font-size: 13px; max-width: 350px; margin: 0 auto 20px; line-height: 1.7; }
.tl-empty .outline { background: #f3ebff; color: #7145ad; border-color: #d1b5ed; border-radius: 13px; font-size: 12px; }
.tl-untimed { margin-top: 25px; display: grid; gap: 13px; }
.hub-shell #hubPanel .tl-untimed h2 { font-family: var(--hub-font, 'DM Sans', sans-serif); font-weight: 650; font-size: 18px; color: var(--workspace-ink, #536a5a); margin: 0 0 3px; }
.tl-sidebar { display: grid; gap: 15px; }
.tl-sidebar > section { border: 1px solid var(--workspace-border, #d6e3da); background: var(--workspace-surface, #fff); padding: 23px; border-radius: 22px; min-width: 0; }
.tl-side-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #e1f4e8; color: #12875a; margin-bottom: 17px; }
.tl-side-icon .icon { width: 22px; height: 22px; }
.hub-shell #hubPanel .tl-sidebar h2 { font: 700 16px/1.3 var(--hub-font, 'DM Sans', sans-serif); color: var(--workspace-ink, #35543e); letter-spacing: -.02em; margin: 0 0 11px; }
.tl-sidebar p { font-size: 12px; color: var(--workspace-muted, #607866); line-height: 1.7; margin: 0 0 17px; }
.tl-team-note { background: #fff3d2; border-color: #e9d297; }
.tl-team-note .tl-side-icon { background: #f2c45e; color: #704d19; }
.hub-shell #hubPanel .tl-team-note h2 { color: #765424; }
.tl-team-note p { color: #7a653e; }
#timelineSync { color: #7e6946; font-size: 10px; line-height: 1.6; }
.tl-clock-card .tl-side-icon { background: #dcefff; color: #2873a5; }
#timelineClock { color: var(--workspace-ink, #396052); display: block; font-size: 13px; font-weight: 650; line-height: 1.8; overflow-wrap: anywhere; }
.tl-clock-card .text-button { color: var(--workspace-muted, #42685a); font-size: 11px; padding: 10px 0 0; }
.tl-music-card .tl-side-icon { background: #e9dfff; color: #7950b8; }
.tl-music-card .outline { background: #f2eaff; color: #6d42a4; border-color: #d5baef; border-radius: 12px; font-size: 11px; padding: 10px 12px; min-height: 42px; }
.tl-unscheduled { border-top: 1px solid var(--workspace-border, #e4daed); margin-top: 20px; padding-top: 13px; }
.tl-unscheduled summary { font-size: 11px; color: #7b6094; cursor: pointer; line-height: 1.6; }
.tl-unscheduled > button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 0; text-align: left; border-bottom: 1px solid #ece4f3; color: #5b417b; font-size: 12px; line-height: 1.4; }
.tl-unscheduled > button small { display: block; font-size: 10px; margin-top: 4px; color: #8a779f; }
.tl-unscheduled > button .icon { width: 17px; height: 17px; }
.tl-view-agenda .tl-events { gap: 0; border: 1px solid #d8e5dc; border-radius: 22px; overflow: hidden; background: var(--workspace-surface, white); }
.tl-view-agenda .tl-events::before { display: none; }
.tl-view-agenda .tl-events .tl-event { border: 0; border-bottom: 1px solid #e1e9e3; border-radius: 0; box-shadow: none; padding-block: 16px; }
.tl-view-agenda .tl-events .tl-event:last-child { border-bottom: 0; }
.tl-view-agenda .tl-now-line { padding: 12px 20px; background: #fff6ef; }
#timelineEditor { scroll-margin-top: 24px; }
.tl-form { border: 1px solid var(--workspace-border,#d5dece); padding: clamp(16px,2vw,22px); background: var(--workspace-surface, #fff); border-radius: 24px; margin-bottom: 23px; box-shadow: 0 8px 26px #69358b0b; }
.tl-form-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 16px; }
.hub-shell #hubPanel .tl-form-heading h2 { font: 650 24px/1.2 var(--hub-font, 'DM Sans', sans-serif); color: var(--workspace-ink,#304332); letter-spacing: -.035em; margin: 0; }
.tl-form-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); gap: 10px 14px; }
.planner-date-note{font:500 12px/1.45 var(--hub-font,sans-serif);color:var(--workspace-muted,#566450);margin:0 0 12px}.tl-optional{margin-top:10px;color:var(--workspace-muted,#53664f)}
.tl-optional summary{cursor:pointer;min-height:44px;align-content:center;font:600 13px/1.4 var(--hub-font,sans-serif)}
.tl-optional[open] .tl-form-grid{padding-top:6px}
.tl-form label { display: grid; gap: 4px; font-size: 12px; font-weight: 650; color: var(--workspace-ink,#314837); }
.tl-form .tl-wide { grid-column: 1 / -1; }
.tl-form :is(input, textarea, select) { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #ccdbd0; border-radius: 12px; background: var(--workspace-surface, white); color: var(--workspace-ink,#314837); padding: 9px 12px; font: 13px var(--hub-font, 'DM Sans', sans-serif); }
.tl-form textarea { resize: vertical; line-height: 1.6; }
.tl-form-note { color: #697c6d; font-size: 12px; line-height: 1.7; margin: 18px 0; }
.tl-form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.tl-form .primary { background: var(--workspace-accent,#c8ff00); color: var(--workspace-onAccent,#17230c); border-radius: 12px; padding: 12px 18px; min-height: 44px; font-size: 12px; }
.tl-form .text-button { min-height: 42px; color: #655473; font-size: 12px; }
.tl-form .tl-delete { color: #ac514e; margin-left: auto; }
.project-timeline :is(button, input, textarea, select, summary):focus-visible { outline: 3px solid #a86fe0; outline-offset: 3px; }
@media (max-width: 1100px) {
 .tl-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 16px; }
 .tl-sidebar > section { padding: 20px; }
 .tl-event { grid-template-columns: 58px 35px minmax(0, 1fr) 32px; gap: 12px; padding: 18px 15px; }
 .tl-event-icon { width: 35px; height: 37px; border-radius: 12px; }
 .tl-event-icon .icon { width: 21px; height: 21px; }
 .tl-event-time strong { font-size: 17px; }
 .tl-edit { width: 32px; }
 .tl-events::before { left: 91px; }
 .tl-refresh span:not(.icon-wrap) { display: none; }
}
@media (max-width: 820px) {
 .tl-layout { grid-template-columns: 1fr; }
 .tl-sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .tl-sidebar > section { padding: 20px; }
 .tl-sidebar h2 { font-size: 15px; }
 .tl-toolbar { gap: 8px; flex-wrap: wrap; }
 .tl-days button, .tl-views button { font-size: 11px; }
}
@media (max-width: 600px) {
 .tl-heading { padding: 22px 0; gap: 13px; align-items: flex-start; }
 .tl-heading > div { grid-template-columns: 42px 1fr; gap: 7px 11px; }
 .tl-heading-icon { width: 42px; height: 46px; border-radius: 15px; }
 .tl-heading-icon .icon { width: 24px; height: 24px; }
 .hub-shell #hubPanel .tl-heading h1 { font-size: 28px; }
 .tl-heading p { font-size: 11px; line-height: 1.5; grid-column: 1 / -1; }
 .tl-heading .primary { min-height: 44px; padding: 11px 12px; font-size: 11px; }
 .tl-heading .primary .icon { width: 16px; height: 16px; }
 .tl-toolbar { border-radius: 18px; padding: 10px; gap: 9px; }
 .tl-days { flex: 1; }
 .tl-days button { flex: 1; padding: 10px; }
 .tl-views { order: 3; flex-basis: 100%; }
 .tl-views button { flex: 1; }
 .tl-refresh { padding: 10px; }
 .tl-focus { padding: 20px 17px; gap: 12px; border-radius: 20px; }
 .tl-focus > .icon-wrap { width: 38px; height: 40px; border-radius: 13px; }
 .tl-focus strong { font-size: 17px; }
 .tl-date-stamp { width: 43px; height: 53px; border-radius: 13px; }
 .tl-date-stamp b { font-size: 23px; }
 .tl-date-stamp small { font-size: 10px; }
 .tl-event { grid-template-columns: minmax(54px,auto) 30px minmax(0, 1fr) 30px; gap: 9px; padding: 17px 13px; border-radius: 18px; }
 .tl-event-icon { width: 30px; height: 34px; border-radius: 11px; }
 .tl-event-icon .icon { width: 19px; height: 19px; }
 .tl-event-time strong { font-size: 14px; }
 .tl-event-time small { font-size: 9px; }
 .tl-edit { width: 30px; height: 34px; border-radius: 10px; }
 .tl-edit .icon { width: 15px; height: 15px; }
 .hub-shell #hubPanel .tl-event h3 { font-size: 15px; }
 .tl-kind { font-size: 8px; }
 .tl-meta { font-size: 10px; }
 .tl-event-note { font-size: 11px; line-height: 1.65; }
 .tl-events::before { left: 78px; }
 .tl-sidebar { grid-template-columns: 1fr; gap: 12px; }
 .tl-sidebar > section { padding: 21px; border-radius: 20px; }
 .tl-side-icon { float: left; margin: 0 15px 12px 0; }
 .tl-sidebar h2, .tl-sidebar p { margin-left: 53px !important; }
 #timelineSync { display: block; margin-left: 53px; }
 .tl-music-card .outline, .tl-clock-card .text-button, #timelineClock { margin-left: 53px; }
 .tl-unscheduled { clear: both; }
 .tl-form { padding: 15px; border-radius: 20px; }
 .tl-form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 .tl-form label { font-size: 11px; }
 .tl-form :is(input, textarea, select) { font-size: 16px; padding: 11px; }
 .tl-form .tl-delete { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
 #timelineEditor { scroll-behavior: auto; }
}
