.plan-switch { margin: .9rem 0; gap: .5rem; }
.plan-switch button[aria-pressed=true] { background: #29483a; color: #fff; }
.plan-fieldset { display: grid; gap: .5rem; border: 1px solid #d4dbd0; }
.task-people { display: flex; flex-wrap: wrap; column-gap: 1.2rem; row-gap: .5rem; max-height: 10rem; overflow-y: auto; }
.task-people .check { margin: 0; }
.task-search-group { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; }
.task-search-group > .check { padding-bottom: .65rem; white-space: nowrap; }
.task-lane-add { display: block; width: 100%; min-height: 44px; border: 1px dashed #aabeac; color: #4f6c5d; background: #f5f7f1; font-size: 1.2rem; opacity: .8; }
.task-lane-add:is(:hover,:focus-visible) { opacity: 1; background: #e8efe5; }
.decor-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(210px,300px); gap: 1rem; align-items: start; }
.decor-item,.timeline-template-row { padding: .65rem 0; border-top: 1px solid #dce4d7; }
.decor-item { display: flex; gap: .85rem; justify-content: space-between; align-items: start; }
.decor-item p { margin: .3rem 0; white-space: pre-wrap; }
.decor-tips details { padding: .55rem 0; border-top: 1px solid #dce4d7; }
.decor-tips summary { cursor: pointer; font-weight: 650; }
.plan-badge { display: inline-block; border-radius: 1rem; padding: .25rem .6rem; background: #efe6d3; color: #65491f; font-size: .75rem; white-space: nowrap; }
.plan-badge.is-approved { color: #254e3a; background: #dfeade; }
.timeline-options { margin: .75rem 0; }
.timeline-options label { min-width: min(13rem,100%); }
.timeline-day + .timeline-day { margin-top: 1rem; }
.timeline-day h2 { margin: 0; padding: .5rem 0 .75rem; }
.timeline-item { border-top: 1px solid #dce4d7; }
.timeline-item > summary { cursor: pointer; display: grid; grid-template-columns: minmax(8rem,10rem) minmax(0,1fr) auto; gap: .75rem; align-items: center; min-height: 54px; padding: .45rem .1rem; list-style: none; }
.timeline-item > summary::-webkit-details-marker { display: none; }
.timeline-item > summary:focus-visible { outline: 2px solid #446653; }
.timeline-item > summary .small { display: block; }
.timeline-time { color: #3d5f4d; font-weight: 650; font-variant-numeric: tabular-nums; }
.timeline-badges { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.timeline-detail { padding: .75rem .25rem 1rem; border-top: 1px solid #edf0e7; }
.timeline-detail > * + * { margin-top: .75rem; }
.timeline-rich { overflow-wrap: anywhere; }
.timeline-rich :is(p,div,ul,ol) { margin: .45rem 0; }
.timeline-comments { list-style: none; padding: 0; }
.timeline-comments li { padding: .65rem; margin: .4rem 0; background: #f0f4ed; border-radius: .45rem; }
.timeline-comments p { margin: .25rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.timeline-image { display: block; max-width: min(390px,100%); max-height: 240px; object-fit: contain; border-radius: .5rem; }
.timeline-reply { max-width: 37rem; }
.timeline-time-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; }
.timeline-format { flex-wrap: wrap; padding: .4rem 0; }
.timeline-format button { min-height: 36px; }
.timeline-rich-editor { background: #fff; border: 1px solid #c7d4c9; border-radius: .5rem; min-height: 106px; padding: .65rem; }
.timeline-rich-editor:focus-visible { outline: 2px solid #446653; }
.timeline-template-editor { margin-top: .75rem; }
.timeline-vendor-link { display: grid; gap: .35rem; padding: .5rem 0; border-top: 1px solid #dce4d7; }
.floor-seat-step { display: grid; grid-template-columns: auto minmax(3rem,1fr) auto; gap: .2rem; }
.floor-seat-step button { padding-inline: .42rem; }
.floor-svg:not(.is-locked) .floor-object { user-select: none; }
.floor-object.is-dance-floor .floor-shape { stroke-dasharray: none; rx: .06px; }
.floor-ceremony-row { padding-top: var(--seat-depth,0px); padding-bottom: 0; }
.floor-ceremony-row > div { gap: var(--seat-gap,.45rem); }
.playbook-timeline-check { min-height: 44px; padding: .3rem .6rem; border: 1px solid #d4dbd0; border-radius: .45rem; cursor: pointer; }
.playbook-timeline-check input { width: 1.25rem!important; height: 1.25rem!important; }
.vendor-timeline-page { background: #f6f6ed; color: #293c31; font: 16px/1.5 system-ui,sans-serif; margin: 0; }
.vendor-timeline-page main { max-width: 940px; padding: 1rem; margin: auto; }
.vendor-timeline-header { border-radius: .75rem; padding: 1.1rem 1.35rem; background: #29483a; color: #fffdf6; }
.vendor-timeline-header h1,.vendor-timeline-header p { margin: 0; }
.vendor-timeline-header h1,.vendor-timeline-page h2 { font-family: Georgia,serif; font-weight: 500; }
.vendor-timeline-page .panel { padding: .95rem; border-radius: .6rem; background: #fffdf8; border: 1px solid #d5ddce; }
.vendor-timeline-page textarea { display: block; width: min(100%,35rem); min-height: 3rem; border: 1px solid #aabda9; border-radius: .3rem; padding: .4rem; box-sizing: border-box; font: inherit; }
.vendor-timeline-page button { min-height: 44px; margin-top: .4rem; padding: .5rem .85rem; color: white; background: #29483a; border: 0; border-radius: .3rem; font: inherit; }
.vendor-timeline-page .small { font-size: .88rem; }
@media(max-width:760px) {
  .decor-grid { grid-template-columns: 1fr; }
  .timeline-item > summary { grid-template-columns: minmax(6rem,7rem) 1fr; gap: .35rem .6rem; }
  .timeline-badges { grid-column: 2; }
  .timeline-time-fields { grid-template-columns: 1fr; }
}
.notes-template-download { margin-top: 1rem; }
/* Guest Management email threads */
.guest-messages-list .guest-email-card {
  min-width: 0;
  border: 1px solid #d9e2d6;
  border-radius: .9rem;
  background: #fffefa;
  overflow: hidden;
}
.guest-email-thread-heading {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  min-height: 62px;
  padding: .8rem 1rem;
  list-style: none;
}
.guest-email-thread-heading::-webkit-details-marker { display: none; }
.guest-email-thread-heading::after {
  content: '';
  width: .5rem;
  height: .5rem;
  border-right: 2px solid #5c7461;
  border-bottom: 2px solid #5c7461;
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin-inline: .15rem .3rem;
}
details[open] > .guest-email-thread-heading::after { transform: rotate(225deg); }
.guest-email-thread-heading > span:first-child { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.guest-email-thread-meta { display: block; margin-top: .16rem; }
.guest-email-thread-meta,.guest-email-thread-status,.guest-email-day,.guest-email-meta,.guest-email-delivery {
  font-size: .8rem;
  color: #506357;
}
.guest-email-thread-status,.guest-email-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .55rem; }
.guest-email-thread-status { justify-content: end; text-align: right; }
.guest-email-unread {
  background: #e7efdf;
  color: #2c4b34;
  border-radius: 1rem;
  font-size: .74rem;
  font-weight: 650;
  padding: .13rem .45rem;
}
.guest-email-conversation {
  display: grid;
  gap: .75rem;
  padding: 1rem clamp(.7rem, 3.1vw, 2rem) 1.4rem;
  margin: 0;
  border-top: 1px solid #dfe6dc;
  background: linear-gradient(145deg,#f7f8f0,#fcfaf4 85%);
  list-style: none;
}
.guest-email-day { justify-self: center; font-weight: 650; padding: .15rem .65rem; }
.guest-email-turn { display: flex; min-width: 0; }
.guest-email-turn.is-outgoing { justify-content: flex-end; }
.guest-email-turn article { width: fit-content; max-width: min(85%,50rem); min-width: 0; }
.guest-email-meta { margin: 0 .35rem .28rem; overflow-wrap: anywhere; }
.guest-email-meta strong { color: #344f3c; }
.is-outgoing .guest-email-meta,.is-outgoing .guest-email-actions { justify-content: flex-end; }
.guest-email-bubble {
  border-radius: 1.05rem 1.05rem 1.05rem .25rem;
  padding: .68rem .88rem;
  background: #e9efe6;
  color: #202f24;
  line-height: 1.55;
}
.is-outgoing .guest-email-bubble {
  border-radius: 1.05rem 1.05rem .25rem 1.05rem;
  background: #315746;
  color: #fff;
}
.guest-email-bubble p { margin: 0; overflow-wrap: anywhere; }
.guest-email-bubble:empty { display: none; }
.guest-email-quote {
  margin: .35rem .25rem 0;
  font-size: .78rem;
  color: #506357;
}
.guest-email-quote p {
  border-left: 2px solid #c3d0c0;
  padding-inline-start: .65rem;
  margin: .4rem 0;
}
.guest-email-delivery { text-align: right; margin: .25rem .35rem 0; }
.guest-email-actions { display: flex; flex-wrap: wrap; gap: .12rem .42rem; margin-top: .22rem; }
.guest-email-actions button { min-height: 36px; font-size: .76rem; }
.guest-email-reply.is-targeted,.guest-email-reply:focus-visible { outline: 2px solid #9b763d; outline-offset: 4px; border-radius: .55rem; }
.guest-email-images { display: flex; flex-wrap: wrap; gap: .55rem; }
.guest-email-bubble p + .guest-email-images { margin-top: .6rem; }
.guest-email-images figure { margin: 0; min-width: 0; }
.guest-email-images img { display: block; width: min(280px, 100%); max-height: 320px; object-fit: contain; border-radius: .55rem; }
.guest-email-images a { display: block; width: fit-content; }
.guest-email-images figcaption { margin-top: .22rem; font-size: .76rem; overflow-wrap: anywhere; }
#guest-message-image-list:empty { display: none; }
@media (max-width: 600px) {
  .guest-email-turn article { max-width: 93%; }
  .guest-email-thread-status { flex-direction: column; align-items: flex-end; }
  .guest-email-thread-heading { gap: .48rem; padding-inline: .75rem; }
  .guest-email-actions button { min-height: 44px; }
}
.schedule-banner { padding: 1.1rem 1.25rem; border: 1px solid #d7decf; border-top: 3px solid #ad905c; border-radius: 12px 12px 0 0; background: linear-gradient(110deg,#edf1e7,#fdf9ef); }
.schedule-banner p { margin: .25rem 0 0; }
.schedule-tabs { padding: .35rem .6rem; border: 1px solid #d7decf; border-top: 0; background: #fffdf8; gap: .25rem; }
.schedule-tabs button { border: 0; background: transparent; border-radius: .35rem; min-height: 44px; }
.schedule-tabs button[aria-pressed=true] { background: #dce9de; color: #1c402d; box-shadow: inset 0 -2px #587b64; }
.schedule-workspace { display: grid; grid-template-columns: minmax(0,1fr) 15.5rem; gap: 1rem; align-items: start; }
.schedule-sheet { border: 1px solid #d7decf; border-radius: .65rem; overflow: hidden; background: #fffefa; }
.schedule-sheet h3 { font: 500 1.1rem Georgia,serif; color: #2e4b3a; background: #edf2e8; margin: 0; padding: .65rem 1rem; }
.schedule-header,.schedule-row-main { display: grid; grid-template-columns: clamp(7rem,17%,11rem) minmax(0,1fr) auto; gap: .75rem; align-items: start; padding: .55rem .8rem; }
.schedule-header { color: #607465; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #fbf8ef; }
.schedule-row { border-top: 1px solid #e1e6dc; position: relative; }
.schedule-row:nth-of-type(even) { background: #fafbf6; }
.schedule-title { overflow-wrap: anywhere; }
.schedule-meta,.schedule-notes { margin: .2rem 0 0; font-size: .88rem; }
.schedule-meta { color: #526758; overflow-wrap: anywhere; }
.schedule-notes { color: #38493d; }
.schedule-notes ul,.schedule-notes ol { padding-inline-start: 1.4rem; }
.schedule-row .timeline-image { margin-top: .5rem; max-height: 150px; }
.schedule-time { display: flex; align-items: baseline; gap: .3rem; font-size: .87rem; }
.schedule-grip { cursor: grab; display: inline-block; padding: .25rem .35rem; color: #586e60; touch-action: none; }
.schedule-row-actions { display: flex; justify-content: end; gap: .35rem; flex-wrap: wrap; }
.schedule-row-actions button { padding: .3rem .48rem; font-size: .8rem; min-height: 36px; }
.schedule-row-actions select { min-height: 36px; max-width: 8rem; font-size: .8rem; }
.schedule-discussion { padding: .35rem 1rem .75rem; margin-left: clamp(0rem,15%,11rem); }
.schedule-discussion textarea { width: 100%; }
.schedule-roster { position: sticky; top: 1rem; }
.schedule-roster h2 { margin-top: 0; }
.schedule-roster details { border-top: 1px solid #e0e7dd; padding: .55rem 0; }
.schedule-roster summary,.schedule-discussion summary { cursor: pointer; font-weight: 620; color: #2e4b3a; }
.schedule-person { margin: .3rem .25rem 0 0; cursor: grab; max-width: 100%; overflow-wrap: anywhere; touch-action: none; }
.schedule-person[aria-pressed=true] { background: #dce9de; outline: 2px solid #587b64; }
.schedule-row.is-drop-before { box-shadow: inset 0 3px #697e55; }
.schedule-row.is-drop-after { box-shadow: inset 0 -3px #697e55; }
.schedule-row.is-drop-person,.schedule-row:focus-visible { outline: 2px solid #a48959; outline-offset: -2px; }
.schedule-mentions { display: flex; flex-wrap: wrap; gap: .45rem; }
.schedule-mentions select { max-width: 100%; }
.schedule-preview { max-height: 50vh; overflow-y: auto; }
@media(max-width:950px) {
  .schedule-workspace { grid-template-columns: minmax(0,1fr) minmax(10rem,22%); gap: .5rem; }
  .schedule-row-main { grid-template-columns: 7.6rem minmax(0,1fr); gap: .3rem .55rem; }
  .schedule-row-actions { grid-column: 2; justify-content: start; }
}
@media(max-width:640px) {
  .schedule-workspace { display: flex; flex-direction: column; }
  .schedule-workspace > * { width: 100%; }
  .schedule-roster { position: static; order: -1; }
  .schedule-discussion { margin-left: 0; }
  .schedule-row-main { grid-template-columns: 6.4rem minmax(0,1fr); }
}
