/* Surveys (employers?a=surveys, and the phone Tools drawer): the hero that says what a
   survey is, the three-up row under it, the list once there is one. markup from
   events_survey::display_surveys_home; the list under it keeps its inline table styles */

.svy_home { color: #16211f; }

/* ---- Create: the title row's right end on a desktop; on a phone the Tools drawer puts a +
   in its mchat_header instead (employer_tools::display_drawer) ---- */
.svy_create { flex: none; padding: 9px 18px; background: white; color: darkcyan; border: 1px solid darkcyan; border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.svy_create:hover { background: #eef7f7; }
.svy_create i { vertical-align: -1px; }

/* ---- hero: the title row across the top, then the copy on the left and the art on the right ---- */
.svy_hero { margin-top: 4px; padding: 30px clamp(26px, 3.5vw, 48px) 0; overflow: hidden; border: 1px solid #cfe9e8; border-radius: 20px; background: linear-gradient(110deg, #edfbfa 0%, #faffff 58%, #f5edfb 100%); box-shadow: 0 12px 30px rgba(16, 38, 52, .07); }
.svy_hero_top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.svy_intro_title { font-family: 'Alegreya Sans', sans-serif; font-weight: 500; font-size: clamp(2.1em, 3.2vw, 3em); line-height: 1.05; letter-spacing: -.01em; }
.svy_intro_title span { color: darkcyan; font-weight: 700; }
.svy_hero_body { display: grid; grid-template-columns: minmax(300px, .95fr) minmax(360px, 1.05fr); gap: 0 48px; align-items: center; margin-top: 4px; }
.svy_hero_copy { align-self: center; padding: 0 0 20px; }
.svy_hero_art_wrap { display: flex; justify-content: center; min-width: 0; padding: 50px 0; }
.svy_intro_art { display: block; width: 100%; max-width: 620px; height: auto; }
.svy_intro_text { max-width: 480px; color: #435b64; font-size: 1.05em; line-height: 1.6; margin-top: 0; }
.svy_intro_list { list-style: none; margin: 20px 0 0; padding: 0; }
.svy_intro_list li { display: flex; gap: 10px; align-items: center; color: #16211f; font-size: .95em; line-height: 1.4; margin-bottom: 9px; }
.svy_intro_list li i { flex: none; color: #0f7777; font-size: 1.1em; }
.svy_intro_buttons { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.svy_phone_only { display: none; }
.svy_intro_button { background: darkcyan; border: 1px solid darkcyan; color: white; border-radius: 4px; font-size: 15px; font-weight: 700; padding: 11px 34px; box-shadow: none; }
.svy_intro_button:hover, .svy_intro_button:focus { background: #007a7a; border-color: #007a7a; color: white; }
.svy_sample_button { background: white; border: 1px solid #c9d6d8; color: #16211f; border-radius: 4px; font-size: 15px; font-weight: 600; padding: 11px 22px; box-shadow: none; }
.svy_sample_button:hover, .svy_sample_button:focus { background: #f4f9f9; border-color: darkcyan; color: darkcyan; }

/* ---- three-up row under the hero: a card each, icon over a title and a paragraph ---- */
.svy_trust_row { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; margin: 15px 0 22px; border: 1px solid #dfe8ea; border-radius: 12px; background: white; }
.svy_trust_row > div { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px 22px; color: #58696b; font-size: .86em; line-height: 1.55; }
.svy_trust_row > div + div { border-left: 1px solid #dfe8ea; }
.svy_trust_row > div > i { flex: none; width: 38px; height: 38px; border-radius: 10px; background: #e3f1f2; color: #0f7777; font-size: 1.25em; display: flex; align-items: center; justify-content: center; }
.svy_trust_row b { display: block; color: #16211f; font-size: 1.08em; margin-bottom: 4px; }
.svy_trust_row p { margin: 0; }

/* ---- the list page, once a company has a survey: heading row, then a card a survey ---- */
.svy_list_top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 4px 0 16px; }
.svy_list_title { font-family: 'Alegreya Sans', sans-serif; font-weight: 500; font-size: 2.1em; line-height: 1.1; letter-spacing: -.01em; }
.svy_list_sub { margin-top: 2px; color: #6b7a7e; font-size: .92em; }
.svy_list_top .svy_create { margin-top: 6px; }
.svy_cards { display: flex; flex-direction: column; gap: 10px; }
.svy_card { display: grid; grid-template-columns: minmax(0, 1fr) 230px 20px; align-items: center; gap: 12px 28px; padding: 14px 18px; background: white; border: 1px solid #dfe8ea; border-radius: 12px; transition: border-color .12s, box-shadow .12s; }
.svy_card:hover { border-color: #b9dcdc; box-shadow: 0 4px 14px rgba(16, 38, 52, .06); }
.svy_card_main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.svy_card_icon { flex: none; width: 42px; height: 42px; border-radius: 10px; background: #e3f1f2; color: #0f7777; font-size: 1.3em; display: flex; align-items: center; justify-content: center; }
.svy_card_text { min-width: 0; }
.svy_card_name { font-weight: 700; font-size: 1.05em; color: #16211f; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; }
.svy_card_meta { margin-top: 3px; color: #6b7a7e; font-size: .84em; line-height: 1.5; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.svy_card_dot { color: #b9c6c9; }
.svy_card_event { color: darkcyan; font-weight: 600; text-decoration: none; }
.svy_card_event:hover { text-decoration: underline; color: #0f7777; }
.svy_card_event_gone { color: #9aa6aa; font-weight: 500; }
.svy_pill { display: inline-block; background: #e8f4f4; color: darkcyan; padding: 1px 9px; border-radius: 10px; font-size: .92em; font-weight: 700; }
.svy_card_responses { min-width: 0; }
.svy_card_count { display: flex; justify-content: space-between; gap: 8px; font-size: .86em; color: #46575b; font-weight: 600; white-space: nowrap; }
.svy_card_count span { color: #8a9a9f; font-weight: 700; }
.svy_bar { height: 7px; border-radius: 4px; background: #e6eeef; overflow: hidden; margin-top: 6px; }
.svy_bar > div { height: 100%; border-radius: 4px; background: #1db4b4; transition: width .3s; }
.svy_bar_full > div { background: #1a7f37; }
.svy_card { cursor: pointer; }
.svy_card_caret { color: #b9c6c9; font-size: 1.1em; padding-right: 2px; }
.svy_card:hover .svy_card_caret { color: darkcyan; }

/* medium: the art drops under the copy before the two columns squeeze each other (the employer
   rail takes 260px, so a laptop at 1200 has only ~900 for the page) */
@media (max-width: 1200px)
{
  .svy_hero_body { grid-template-columns: 1fr; gap: 0; }
  .svy_hero_copy { padding: 16px 0 10px; align-self: start; }
  .svy_intro_text { max-width: 560px; }
  .svy_hero_art_wrap { padding: 16px 0 0; }
  .svy_intro_art { width: auto; max-width: 100%; max-height: 340px; }
}
@media (max-width: 860px)
{
  /* the art leads on a phone: the hero becomes one column and the body's children join it */
  .svy_hero { display: flex; flex-direction: column; padding: 16px 16px 0; }
  .svy_hero_body { display: contents; }
  .svy_hero_art_wrap { order: -1; padding: 0 0 18px; }
  .svy_hero_top { padding: 0 8px; }
  .svy_hero_copy { padding: 14px 8px 28px; }
  .svy_intro_buttons { flex-wrap: nowrap; gap: 8px; }
  .svy_intro_button, .svy_sample_button { flex: 1 1 0; min-width: 0; padding-left: 8px; padding-right: 8px; white-space: nowrap; }
  .svy_wide_only { display: none; }
  .svy_phone_only { display: inline; }
  .svy_hero_create, .av_actions.svy_hero_create { display: none; }
  .svy_intro_art { width: 100%; max-height: none; aspect-ratio: 3 / 2; object-fit: contain; }
  .svy_trust_row { grid-template-columns: 1fr; }
  .svy_list_title { font-size: 1.8em; }
  .svy_wide_only_block { display: none; }
  .svy_card { grid-template-columns: minmax(0, 1fr) 16px; gap: 10px 12px; padding: 14px; }
  .svy_card_responses { grid-column: 1 / -1; }
  .svy_card_caret { grid-row: 1; grid-column: 2; }
  .svy_trust_row > div + div { border-left: 0; border-top: 1px solid #dfe8ea; }
}

/* ---- the Sample Survey drawer (class.sample_survey.php) on the process drawer frame ---- */
.sample_survey_container .pd_body { padding: 14px 16px 24px; }
.ss_progress { height: 6px; border-radius: 3px; background: #dbe4e6; overflow: hidden; margin-bottom: 18px; }
.ss_progress_bar { height: 100%; background: #007A85; border-radius: 3px; transition: width .35s ease; }
.ss_count { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #007A85; margin-bottom: 6px; }
.ss_count span { color: #8a9a9f; font-weight: 600; letter-spacing: 0; text-transform: none; }
.ss_step .pd_cards { margin-top: 14px; }
.ss_step.hide_me, .sample_survey_container .pd_foot_row.hide_me { display: none; }

/* the thank-you: the ring draws, the fill pops, the tick draws, six sparks fly */
.ss_done { text-align: center; padding: 26px 8px 10px; }
.ss_done_mark { position: relative; width: 120px; height: 120px; margin: 0 auto 18px; }
.ss_done_mark svg { width: 120px; height: 120px; display: block; }
.ss_done_ring { fill: none; stroke: #9fd3d8; stroke-width: 4; stroke-dasharray: 340; stroke-dashoffset: 340; }
.ss_done_fill { fill: #007A85; transform: scale(0); transform-origin: 60px 60px; }
.ss_done_tick { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; }
.ss_spark { position: absolute; left: 56px; top: 56px; width: 8px; height: 8px; border-radius: 50%; background: #c2367f; opacity: 0; }
.ss_spark_2 { background: #1db4b4; }.ss_spark_4 { background: #f5b942; }.ss_spark_6 { background: #1db4b4; }
.ss_play .ss_done_ring { animation: ss_draw .6s ease-out forwards; }
.ss_play .ss_done_fill { animation: ss_pop .45s cubic-bezier(.34, 1.56, .64, 1) .35s forwards; }
.ss_play .ss_done_tick { animation: ss_tick .4s ease-out .7s forwards; }
.ss_play .ss_spark { animation: ss_spark .8s ease-out .75s forwards; }
.ss_play .ss_spark_1 { --ss_x: -58px; --ss_y: -40px; }.ss_play .ss_spark_2 { --ss_x: 60px; --ss_y: -46px; }.ss_play .ss_spark_3 { --ss_x: -66px; --ss_y: 30px; }
.ss_play .ss_spark_4 { --ss_x: 64px; --ss_y: 36px; }.ss_play .ss_spark_5 { --ss_x: -6px; --ss_y: -70px; }.ss_play .ss_spark_6 { --ss_x: 8px; --ss_y: 68px; }
.ss_done_title { font-family: 'Alegreya Sans', sans-serif; font-weight: 700; font-size: 24px; color: #0F2044; opacity: 0; transform: translateY(8px); }
.ss_done_text { max-width: 340px; margin: 8px auto 0; color: #61727a; font-size: 14px; line-height: 1.5; opacity: 0; transform: translateY(8px); }
.ss_done_note { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; font-size: 12px; font-weight: 700; color: #8a6300; background: #fff4d6; border-radius: 10px; padding: 4px 10px; opacity: 0; }
.ss_play .ss_done_title { animation: ss_rise .4s ease-out .9s forwards; }
.ss_play .ss_done_text { animation: ss_rise .4s ease-out 1.05s forwards; }
.ss_play .ss_done_note { animation: ss_rise .4s ease-out 1.2s forwards; }
@keyframes ss_draw { to { stroke-dashoffset: 0; } }
@keyframes ss_pop { to { transform: scale(1); } }
@keyframes ss_tick { to { stroke-dashoffset: 0; } }
@keyframes ss_spark { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--ss_x), var(--ss_y)) scale(.3); } }
@keyframes ss_rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce)
{
  .ss_play .ss_done_ring, .ss_play .ss_done_fill, .ss_play .ss_done_tick, .ss_play .ss_done_title, .ss_play .ss_done_text, .ss_play .ss_done_note { animation-duration: .01s; animation-delay: 0s; }
  .ss_play .ss_spark { animation: none; }
}

/* ---- the results drawer (class.survey_results.php) ---- */
.survey_results_container .svr_body, .survey_delete_container .svr_body { padding: 16px 16px 24px; color: #16211f; }
.svr_meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: #6b7a7e; font-size: 13px; line-height: 1.5; }
.svr_message { margin-top: 12px; padding: 10px 12px; background: white; border: 1px solid #dfe8ea; border-radius: 10px; color: #46575b; font-size: 14px; line-height: 1.5; }
.svr_section { margin-top: 22px; }
.svr_section_head { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0f7777; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.svr_section_head span { color: #8a9a9f; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* the headline numbers and the one bar that sums them up */
.svr_tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.svr_tile { background: white; border: 1px solid #dfe8ea; border-radius: 10px; padding: 12px 10px 10px; text-align: center; }
.svr_tile b { display: block; font-family: 'Alegreya Sans', sans-serif; font-weight: 700; font-size: 28px; line-height: 1; color: #16211f; }
.svr_tile span { display: block; margin-top: 5px; font-size: 12px; color: #6b7a7e; font-weight: 600; }
.svr_tile em { font-style: normal; color: #9aa6aa; font-weight: 600; }
.svr_tile_full b { color: #1a7f37; }
.svr_funnel { position: relative; height: 10px; border-radius: 5px; background: #e6eeef; overflow: hidden; margin-top: 12px; }
.svr_funnel > div { position: absolute; left: 0; top: 0; height: 100%; border-radius: 5px; }
.svr_funnel_opened { background: #9fd3d8; }
.svr_funnel_done { background: #0f7777; }
.svr_funnel_key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12px; color: #6b7a7e; }
.svr_funnel_key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.svr_key_done { background: #0f7777; }.svr_key_opened { background: #9fd3d8; }.svr_key_sent { background: #e6eeef; }

/* a question: the number, the text, then a bar a choice */
.svr_question { background: white; border: 1px solid #dfe8ea; border-radius: 12px; padding: 14px 16px 14px; }
.svr_question + .svr_question { margin-top: 10px; }
.svr_question_head { display: flex; gap: 12px; align-items: flex-start; }
.svr_question_num { flex: none; width: 26px; height: 26px; border-radius: 13px; background: #e3f1f2; color: #0f7777; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.svr_question_text { font-weight: 700; font-size: 15px; line-height: 1.35; min-width: 0; }
.svr_question_sub { margin-top: 2px; font-size: 12px; color: #8a9a9f; font-weight: 600; }
.svr_question_sub span { color: #c5cfd2; }
.svr_bars { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.svr_bar_row { display: grid; grid-template-columns: minmax(70px, 34%) minmax(0, 1fr) 64px; align-items: center; gap: 10px; font-size: 13px; }
.svr_bar_label { color: #46575b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svr_bar_track { height: 12px; border-radius: 0 4px 4px 0; background: #eef3f4; overflow: hidden; }
.svr_bar_fill { height: 100%; border-radius: 0 4px 4px 0; background: #5ec4c4; min-width: 0; transition: width .3s; }
.svr_bar_lead .svr_bar_fill { background: #0f7777; }
.svr_bar_lead .svr_bar_label { color: #16211f; font-weight: 700; }
.svr_bar_value { text-align: right; font-weight: 700; color: #16211f; white-space: nowrap; }
.svr_bar_value span { color: #8a9a9f; font-weight: 600; font-size: 12px; margin-left: 3px; }
.svr_replies { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.svr_reply { background: #f5f8f8; border-radius: 8px; padding: 9px 12px; }
.svr_reply_text { font-size: 14px; line-height: 1.45; color: #16211f; }
.svr_reply_who { margin-top: 4px; font-size: 12px; color: #8a9a9f; font-weight: 600; }
.svr_none { color: #8a9a9f; font-size: 13px; padding: 8px 0 2px; }

/* who has answered */
.svr_people { background: white; border: 1px solid #dfe8ea; border-radius: 12px; overflow: hidden; }
.svr_person { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; border-bottom: 1px solid #f0f4f4; }
.svr_person:last-child { border-bottom: 0; }
.svr_state { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; border-radius: 10px; padding: 2px 9px; white-space: nowrap; }
.svr_state_done { background: #e6f4ea; color: #1a7f37; }
.svr_state_opened { background: #e3f1f2; color: #0f7777; }
.svr_state_sent { background: #f1f3f3; color: #8a9a9f; }

.svr_foot { flex: none; background: white; border-top: 1px solid #dfe8ea; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 8px; }
.svr_foot .btn { height: 46px; border-radius: 8px; font-size: 15px; font-weight: 700; box-shadow: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.svr_csv { flex: 1; background: white; border: 1px solid darkcyan; color: darkcyan; }
.svr_csv:hover, .svr_csv:focus { background: #eef7f7; color: #0f7777; }

/* the delete confirmation */
.svr_delete_mark { width: 64px; height: 64px; border-radius: 32px; background: #fdecec; color: #b42318; font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 18px auto 16px; }
.svr_delete_title { text-align: center; font-size: 19px; line-height: 1.35; }
.svr_delete_text { text-align: center; color: #6b7a7e; font-size: 14px; line-height: 1.5; margin: 10px auto 0; max-width: 340px; }
.svr_delete_confirm { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 12px 14px; background: white; border: 1px solid #dfe8ea; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.svr_delete_confirm input { width: 18px; height: 18px; margin: 0; accent-color: #b42318; }
.svr_delete_errors { margin-top: 12px; }
.svr_cancel { flex: none; background: white; border: 1px solid #dfe8ea; color: #16211f; padding: 0 18px; }
.svr_delete_submit { flex: 1; background: #b42318; border: 1px solid #b42318; color: white; }
.svr_delete_submit[disabled] { opacity: .4; }
.svr_delete_submit:hover:not([disabled]), .svr_delete_submit:focus:not([disabled]) { background: #8a1c1c; border-color: #8a1c1c; color: white; }

/* ---- Availability (company::display_staff_availability) borrows this page's shape; only the
   status pill and the two-button action group are its own ---- */
.av_actions { display: flex; gap: 8px; align-items: center; }
.av_settings_button { width: 38px; padding-left: 0; padding-right: 0; text-align: center; }
.av_settings_button i { font-size: 15px; }
.av_status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; border-radius: 12px; padding: 3px 11px; white-space: nowrap; }
.av_status_on { background: #e6f4ea; color: #1a7f37; }
.av_status_off { background: #fff4d6; color: #8a6300; }
.av_status_line { margin-bottom: 14px; }
.svy_list_sub .av_status { margin-top: 4px; }
.av_hero_nostaff { padding-top: 0; }
.av_hero_nostaff .svy_hero_copy { padding-top: 40px; }
.av_home .availability_calender_container { margin-top: 4px; }

/* ---- the Availability sample (calendar::display_availability_sample), on the meetups drawer ---- */
.avail_sample_notice { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #61727a; line-height: 1.45; background: #e6f3f4; border: 1px solid #c8e3e6; border-radius: 8px; padding: 9px 12px; margin-top: 14px; }
.avail_sample_notice i { color: #007A85; margin-top: 1px; }
.avail_sample_done { background: white; border: 1px solid #e2e7e8; border-radius: 12px; }
.avail_sample_done.hide_me, .avail_sample_drawer .avail_sample_notice.hide_me, .avail_sample_drawer .meetup_section.hide_me, .avail_sample_drawer .avail_submit_check.hide_me, .avail_sample_drawer .avail_submit_button.hide_me { display: none; }
.avail_sample_done_row { display: flex; gap: 8px; }
.avail_sample_drawer .avail_submit_button small { display: block; font-size: 11px; font-weight: 600; opacity: .85; margin-top: 2px; letter-spacing: .02em; }
.avail_sample_done_row { width: 100%; }
.avail_sample_done_row .meetup_primary_button { flex: 1 1 0; width: auto; min-width: 0; margin: 0; }
.avail_sample_done_row .avail_sample_again { flex: 0 0 auto; background: white; color: #16211f; border: 1px solid #dbe4e6; padding-left: 18px; padding-right: 18px; }
.avail_sample_done_row .avail_sample_again:hover { background: #f4f9f9; color: #0f7777; }

/* the sample's guided tour: the intro over the screen, the coach card pinned to the bottom of the
   body, the shaking target */
.avail_tour_intro { position: absolute; inset: 0; z-index: 5; background: rgba(22, 33, 31, .55); display: flex; align-items: center; justify-content: center; padding: 24px; }
.avail_tour_intro.hide_me { display: none; }
.avail_tour_intro_card { background: white; border-radius: 16px; padding: 26px 22px 20px; max-width: 340px; width: 100%; text-align: center; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.avail_tour_intro_icon { width: 56px; height: 56px; border-radius: 28px; background: #e3f1f2; color: #0f7777; font-size: 26px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.avail_tour_intro_title { font-family: 'Alegreya Sans', sans-serif; font-weight: 700; font-size: 22px; color: #16211f; }
.avail_tour_intro_copy { color: #61727a; font-size: 14px; line-height: 1.5; margin: 8px 0 18px; }
.avail_tour_intro_card .meetup_primary_button { width: 100%; padding: 12px; }
.avail_tour_skip_intro { display: block; width: 100%; margin-top: 10px; background: none; border: 0; color: #6b7a7e; font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px; }
.avail_tour_skip_intro:hover { color: #0f7777; }
.avail_tour_coach { position: sticky; bottom: 0; z-index: 4; margin-top: 14px; background: #16211f; color: white; border-radius: 12px; padding: 14px 16px 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.avail_tour_coach.hide_me, .avail_tour_step.hide_me { display: none; }
.avail_tour_step { position: relative; padding-right: 40px; }
.avail_tour_check { position: absolute; right: 0; top: 24px; width: 30px; height: 30px; border-radius: 15px; background: #1db4b4; color: white; font-size: 17px; display: flex; align-items: center; justify-content: center; transform: scale(0); opacity: 0; }
.avail_tour_done .avail_tour_check { animation: avail_tour_check .45s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.avail_tour_done .avail_tour_title, .avail_tour_done .avail_tour_copy { opacity: .55; transition: opacity .3s; }
.avail_tour_in { animation: avail_tour_in .35s ease-out; }
@keyframes avail_tour_check { to { transform: scale(1); opacity: 1; } }
@keyframes avail_tour_in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.avail_tour_count { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7fd6d6; }
.avail_tour_title { font-weight: 700; font-size: 15px; margin-top: 3px; }
.avail_tour_copy { font-size: 13.5px; line-height: 1.5; color: #d5e0e0; margin-top: 4px; }
.avail_tour_copy b { color: white; }
.avail_tour_skip { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: #9fb3b4; font-size: 12px; font-weight: 600; cursor: pointer; padding: 2px 4px; }
.avail_tour_skip:hover { color: white; }
.avail_tour_target { position: relative; z-index: 3; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1db4b4 !important; animation: avail_tour_halo 1.6s ease-in-out infinite; }
/* the target bulges out when its step arrives, then settles into the pulse */
.avail_tour_pop { animation: avail_tour_pop .7s cubic-bezier(.34, 1.56, .64, 1), avail_tour_halo 1.6s ease-in-out .7s infinite; }
.avail_tour_pop.avail_tour_shake { animation: avail_tour_pop .7s cubic-bezier(.34, 1.56, .64, 1), avail_tour_halo 1.6s ease-in-out .7s infinite, avail_tour_shake 1.6s ease-in-out .7s infinite; }
@keyframes avail_tour_pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
/* the pointer: a hand bouncing onto the target */
.avail_tour_pointer { position: absolute; right: -6px; top: -30px; z-index: 6; color: #c2367f; font-size: 26px; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); transform: rotate(-20deg); animation: avail_tour_point .9s ease-in-out infinite; pointer-events: none; }
.avail_tour_pointer.hide_me { display: none; }
.avail_sample_drawer .meetup_cal_day { position: relative; }
.meetup_cal_day .avail_tour_pointer { right: -8px; top: -26px; font-size: 22px; }
@keyframes avail_tour_point { 0%, 100% { transform: rotate(-20deg) translate(0, 0); } 50% { transform: rotate(-20deg) translate(-5px, 7px); } }
/* while a step waits, every other control is inert; the target and the days it asks for stay live */
.avail_tour_locked .avail_mode_button, .avail_tour_locked .avail_bulk_button, .avail_tour_locked .avail_submit_checkbox { pointer-events: none; opacity: .45; }
.avail_tour_locked .avail_month_cal .meetup_cal_day { pointer-events: none; }
.avail_tour_locked .avail_tour_target, .avail_tour_locked .avail_tour_target .meetup_cal_day { pointer-events: auto; opacity: 1; }
/* the leave prompt in the coach */
.avail_tour_leave.hide_me { display: none; }
.avail_tour_leave_buttons { display: flex; gap: 8px; margin-top: 12px; }
.avail_tour_stay, .avail_tour_leave_now { flex: 1; border-radius: 8px; padding: 9px 12px; font-weight: 700; font-size: 14px; cursor: pointer; }
.avail_tour_stay { background: #1db4b4; color: white; border: 0; }
.avail_tour_leave_now { background: transparent; color: #d5e0e0; border: 1px solid #4a5a5a; }
.avail_month_cal.avail_tour_target { border-radius: 12px; }
.avail_tour_shake { animation: avail_tour_halo 1.6s ease-in-out infinite, avail_tour_shake 1.6s ease-in-out infinite; }
@keyframes avail_tour_halo { 0%, 100% { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1db4b4; } 50% { box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgba(29, 180, 180, .35); } }
@keyframes avail_tour_shake { 0%, 60%, 100% { transform: translateX(0); } 66% { transform: translateX(-4px) rotate(-1deg); } 72% { transform: translateX(4px) rotate(1deg); } 78% { transform: translateX(-3px); } 84% { transform: translateX(3px); } 90% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .avail_tour_target, .avail_tour_shake, .avail_tour_in, .avail_tour_pop, .avail_tour_pointer { animation: none; } .avail_tour_done .avail_tour_check { animation-duration: .01s; } }
