/* business-dashboard.css */

/* Column clamp */
.post-list-table td.post-info {
  width: 220px;
  max-width: 220px;
  text-align: center;
  vertical-align: top;
}

/* Unified thumbnail rules for ALL post types */
.post-list-table td.post-info img.ll-thumb {
  display: block;
  max-width: 100%;
  height: auto !important;
  max-height: 120px;
  width: auto;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain !important;
  background: white;
}

/* Remove overlay title inside thumbnails */
.post-list-table td.post-info .ll-thumb-title {
  display: none !important;
}

/* Title below image */
.post-list-table td.post-info .ll-title {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  text-align: center;
  color: #111;
  word-break: break-word;
  text-decoration: none !important;
}

/* Hide “Business / Expires” lines in dashboard list */
.post-list-table td.post-info .ll-type,
.post-list-table td.post-info .ll-badges {
  display: none !important;
}

/* Middle column width & spacing */
.post-list-table.ll-post-list td.post-meta {
  vertical-align: top;
}

.post-list-table.ll-post-list td.post-meta .ll-news-meta {
  margin-bottom: 0;
}

.post-list-table.ll-post-list td.post-meta .ll-recurrence {
  font-weight: 400;
}

.post-list-table.ll-post-list td.post-meta .ll-when-venue strong {
  font-weight: 500;
}

/* Postcard Areas */

.ll-postcard-interest-status {
  transition: color 0.2s ease;
}

.ll-postcard-interest-status-saving {
  color: #555;
}

.ll-postcard-interest-status-success {
  color: #1d7f3f;
}

.ll-postcard-interest-status-error {
  color: #b32d2e;
}

.ll-postcard-interest-row.ll-postcard-row-saved {
  background-color: #e6ffed !important;
  transition: background-color 0.6s ease;
}

.ll-postcard-interest-table.ll-postcard-table-error {
  animation: ll-postcard-table-shake 0.3s;
}

@keyframes ll-postcard-table-shake {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-3px); }
  50%  { transform: translateX(3px); }
  75%  { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

.ll-postcard-name-highlight {
  color: #009245 !important;
  font-weight: 700 !important;
  transition: color 0.8s ease, font-weight 0.8s ease;
}

/* Remove horizontal lines & borders from table rows */
.ll-postcard-interest-table,
.ll-postcard-interest-table tr,
.ll-postcard-interest-table td {
  border: none !important;
  box-shadow: none !important;
}

/* Remove default WP striped background */
.ll-postcard-interest-table tr:nth-child(odd),
.ll-postcard-interest-table tr:nth-child(even) {
  background: transparent !important;
}

/* Wrapper: center the whole block */
.ll-postcard-interest-table-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Two-column layout container */
.ll-postcard-interest-columns {
  display: flex;
  justify-content: center;
  gap: 32px;
  width: 100%;
  max-width: 900px;
}

/* Each column */
.ll-postcard-interest-column {
  flex: 1 1 0;
}

/* Tables fill their column */
.ll-postcard-interest-table {
  width: 100% !important;
  max-width: none !important;
}

.ll-green-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.ll-green-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.6em;
}

.ll-green-list li::before {
  content: "\27A4";
  position: absolute;
  left: 0;
  top: 0.2em;
  font-size: 1.2em;
  font-weight: 900;
  color: #2f9e44;
  line-height: 1;
}

.ll-interest-label-active {
  color: #2f9e44;
  font-weight: 700;
}

/* Start Here link colors */
#start-here-content a {
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Reduce vertical spacing in postcard interest lists */
.ll-postcard-interest-table td {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  line-height: 1.1 !important;
}

.ll-postcard-interest-row td:first-child {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

.ll-postcard-interest-row {
  height: auto !important;
}

.post-list-table td.ll-row-wrap {
  padding: 0;
}

.post-list-table .ll-row-title {
  text-align: left;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  padding: 12px 12px;
}

.post-list-table .ll-row-title-link {
  text-decoration: none;
}

.post-list-table .ll-row-body {
  display: flex;
  gap: 16px;
  padding: 12px 12px;
  align-items: flex-start;
}

.post-list-table .ll-row-body .post-info {
  width: 220px;
  max-width: 220px;
  text-align: center;
}

.post-list-table .ll-right-col {
  flex: 1;
  min-width: 0;
}

/* Status toggle */

.ll-status-toggle-wrap,
.ll-status-toggle-wrap--dashboard {
  display: inline-flex;
  align-items: center;
}

.ll-status-pill-toggle {
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.ll-status-pill-toggle input.ll-status-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ll-status-pill-toggle__track {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 180px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #aeb4bb;
  background: linear-gradient(180deg, #eeeeee 0%, #d6d6d6 100%);
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.7),
    inset 0 -2px 3px rgba(0,0,0,0.08),
    0 1px 2px rgba(0,0,0,0.12);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.ll-status-pill-toggle__text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.ll-status-pill-toggle__text--inactive {
  right: 22px;
  color: #4b5563;
  opacity: 1;
}

.ll-status-pill-toggle__text--active {
  left: 22px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  opacity: 0;
}

.ll-status-pill-toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  z-index: 2;
  background:
    radial-gradient(circle at 35% 35%, #ffffff 0%, #f0f0f0 28%, #d8d8d8 68%, #bebebe 100%);
  box-shadow:
    0 2px 6px rgba(0,0,0,0.22),
    inset 0 1px 2px rgba(255,255,255,0.9),
    inset 0 -1px 2px rgba(0,0,0,0.14);
  transition: transform 0.22s ease;
  pointer-events: none;
}

.ll-status-pill-toggle input.ll-status-toggle:checked + .ll-status-pill-toggle__track {
  background: linear-gradient(180deg, #22e548 0%, #08c931 100%);
  border-color: #08b52c;
}

.ll-status-pill-toggle input.ll-status-toggle:checked + .ll-status-pill-toggle__track .ll-status-pill-toggle__knob {
  transform: translateX(132px);
}

.ll-status-pill-toggle input.ll-status-toggle:checked + .ll-status-pill-toggle__track .ll-status-pill-toggle__text--inactive {
  opacity: 0;
}

.ll-status-pill-toggle input.ll-status-toggle:checked + .ll-status-pill-toggle__track .ll-status-pill-toggle__text--active {
  opacity: 1;
}

.ll-status-pill-toggle input.ll-status-toggle:focus-visible + .ll-status-pill-toggle__track {
  outline: 3px solid rgba(59,130,246,0.45);
  outline-offset: 3px;
}

.ll-status-pill-toggle input.ll-status-toggle:disabled + .ll-status-pill-toggle__track {
  opacity: 0.65;
  cursor: not-allowed;
}

.ll-owner-publish-toggle-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
}

.ll-owner-publish-toggle-inner {
  display: flex;
  justify-content: center;
  width: 100%;
}

.ll-owner-publish-toggle-inner .ll-status-toggle-wrap,
.ll-owner-publish-toggle-inner .ll-status-toggle-wrap--dashboard {
  display: flex;
  justify-content: center;
  width: 100%;
}

.ll-owner-publish-toggle-inner .ll-status-pill-toggle {
  display: block;
  margin: 0 auto;
}

.ll-owner-publish-toggle-inner .ll-status-pill-toggle__track {
  display: block;
  margin: 0 auto;
}

.ll-row-title .ll-giveaway-drawing {
  font-size: 0.85em;
  font-weight: 400;
  opacity: 0.75;
  margin-left: 6px;
}

/* Interview input */

.ll-interview-input-row {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: flex-end;
  flex-wrap: nowrap;
}

.ll-interview-input-row .ll-interview-input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.35;
  border: 2px solid #111;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

.ll-interview-input-row .ll-interview-send {
  flex: 0 0 auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 0 16px;
  height: 46px;
}


.ll-promote-post--disabled,
.ll-promote-post:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: auto;
}

#ll-client-survey .ll-postcard-interested-businesses h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.35;
}

.ll-social-proof-note {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-left: 4px solid #075dcc;
  background: #f7faff;
  color: #334155;
  font-size: 20px;
}

.ll-business-required-notice {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 18px 22px;
}

.ll-business-required-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 5px solid #c62828;
  border-radius: 50%;
  color: #c62828;
  font-size: 34px;
  font-weight: 800;
  line-height: 44px;
  text-align: center;
  margin-top: 2px;
}

.ll-business-required-content h3 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.25;
}

.ll-business-required-content p {
  margin: 0 0 14px;
}

.ll-business-required-content p:last-child {
  margin-bottom: 0;
}

/* Sponsored Newsletter Ads */

.ll-newsletter-sponsorship-inline {
  max-width: 1100px;
  margin: 0 auto 2em;
}

.ll-newsletter-sponsorship-hero {
  margin-bottom: 24px;
}

.ll-newsletter-sponsorship-hero__image-wrap {
  position: relative;
  overflow: visible;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.05),
    0 10px 24px rgba(0, 0, 0, 0.10),
    0 24px 48px rgba(0, 0, 0, 0.08);
}

#ll-client-survey .ll-newsletter-sponsorship-hero__image,
.ll-newsletter-sponsorship-hero__image {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

#ll-client-survey .ll-community-card-hero__image.ll-newsletter-sponsorship-hero__image {
  max-height: none !important;
  height: auto !important;
  object-fit: contain !important;
}

.ll-newsletter-sponsorship-callout {
  position: absolute;
  top: 240px;
  right: -50px;
  max-width: 220px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #dc2626;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  z-index: 2;
}

.ll-ns-inline-composer {
  max-width: 800px;
  margin: 24px auto 0;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
}

/* Sponsored Newsletter Ads Calendar */

.ll-ns-inline-calendar-wrap {
  max-width: 900px;
  margin: 0 auto 22px;
  padding: 16px;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #fff;
}

.ll-ns-inline-calendar-wrap h3 {
  margin: 0 0 10px;
  text-align: center;
}

.ll-ns-inline-calendar-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
  font-size: 13px;
}

.ll-ns-inline-calendar-key {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  border-radius: 3px;
  vertical-align: -1px;
}

.ll-ns-inline-calendar-key--mine,
.ll-ns-inline-calendar-cell.is-paid-mine .ll-ns-inline-calendar-day {
  background: #0b72d9;
}

.ll-ns-inline-calendar-key--other,
.ll-ns-inline-calendar-cell.is-paid-other .ll-ns-inline-calendar-day {
  background: #f59e0b;
}

.ll-ns-inline-calendar-months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ll-ns-inline-calendar-month {
  border: 1px solid #d7e3ef;
  border-radius: 6px;
  overflow: visible;
}

.ll-ns-inline-calendar-month-title {
  padding: 8px;
  font-weight: 700;
  text-align: center;
  background: #f8fafc;
  border-bottom: 1px solid #d7e3ef;
}

.ll-ns-inline-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.ll-ns-inline-calendar-grid--days {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  background: #f1f5f9;
}

.ll-ns-inline-calendar-grid--days div {
  padding: 5px 2px;
}

.ll-ns-inline-calendar-cell {
  position: relative;
  min-height: 38px;
  padding: 5px;
  border-top: 1px solid #edf2f7;
  border-left: 1px solid #edf2f7;
  font-size: 12px;
}

.ll-ns-inline-calendar-cell.is-empty {
  background: #fafafa;
}

.ll-ns-inline-calendar-day {
  width: 100%;
  min-height: 28px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.ll-ns-inline-calendar-popover {
  display: none;
  position: absolute;
  z-index: 50;
  left: 50%;
  top: 34px;
  width: 300px;
  padding: 12px;
  transform: translateX(-50%);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
}

.ll-ns-inline-calendar-cell:hover .ll-ns-inline-calendar-popover,
.ll-ns-inline-calendar-cell:focus-within .ll-ns-inline-calendar-popover {
  display: block;
}

.ll-ns-inline-calendar-popover strong,
.ll-ns-inline-calendar-popover span,
.ll-ns-inline-calendar-popover em {
  display: block;
  margin-bottom: 5px;
}

.ll-ns-inline-calendar-preview {
  margin-top: 8px;
  max-height: 180px;
  overflow: auto;
}

.ll-ns-inline-calendar-preview img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Dashboard mobile card layout */

@media (max-width: 1200px) {
  .posts-container {
    width: 100%;
  }

  .post-list-table,
  .post-list-table tbody,
  .post-list-table tr,
  .post-list-table td {
    display: block;
    width: 100%;
  }

  .post-list-table.ll-post-list {
    border-collapse: separate;
    border-spacing: 0 14px;
  }

  .post-list-table .ll-dashboard-row {
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
  }

  .post-list-table td.ll-row-wrap {
    padding: 0;
  }

  .post-list-table .ll-row-title {
    font-size: 18px;
    line-height: 1.25;
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #edf2f7;
  }

  .post-list-table .ll-row-body {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .post-list-table .ll-left-col,
  .post-list-table .ll-middle-col,
  .post-list-table .ll-right-col {
    width: 100%;
    max-width: 100%;
  }

  .post-list-table .ll-row-body .post-info,
  .post-list-table td.post-info {
    width: 100%;
    max-width: 100%;
  }

  .post-list-table td.post-info img.ll-thumb,
  .post-list-table .post-info img.ll-thumb {
    max-height: 130px;
    max-width: 100%;
    margin: 0 auto;
  }

  .post-actions {
    width: 100%;
  }

  .ll-actions-line-1,
  .ll-actions-line-2 {
    width: 100%;
    justify-content: center;
  }

  .ll-actions-line-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: stretch !important;
  }

  .ll-actions-line-2 > * {
    width: 100%;
    margin: 0 !important;
  }

  .ll-actions-line-2 .ll-btn,
  .ll-actions-line-2 button,
  .ll-actions-line-2 a {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .ll-gbp-inline-actions {
    width: 100%;
  }

  .ll-google-score-btn {
    width: 100%;
  }

  .ll-status-pill-toggle__track {
    width: 120px;
    height: 38px;
  }

  .ll-status-pill-toggle__text {
    font-size: 11px;
  }

  .ll-status-pill-toggle__text--inactive {
    right: 14px;
  }

  .ll-status-pill-toggle__text--active {
    left: 14px;
  }

  .ll-status-pill-toggle__knob {
    width: 32px;
    height: 32px;
  }

  .ll-status-pill-toggle input.ll-status-toggle:checked
  + .ll-status-pill-toggle__track .ll-status-pill-toggle__knob {
    transform: translateX(82px);
  }

  .status-text {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 16px !important;
    line-height: 1.25;
  }
}

@media (max-width: 900px) {
  .ll-ns-inline-calendar-months {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .ll-newsletter-sponsorship-hero__image-wrap {
    padding: 6px;
  }

  .ll-newsletter-sponsorship-callout {
    position: static !important;
    display: block;
    max-width: 220px;
    margin: 10px auto 0;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
    transform: none !important;
  }
}

@media (max-width: 700px) {
  .ll-ns-inline-calendar-wrap {
    width: 100%;
    max-width: 100%;
    padding: 8px;
    box-sizing: border-box;
  }

  .ll-ns-inline-calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .ll-ns-inline-calendar-cell {
    min-width: 0;
    padding: 2px;
    box-sizing: border-box;
  }

  .ll-ns-inline-calendar-day {
    width: auto;
    min-width: 22px;
    max-width: 100%;
    min-height: 22px;
    padding: 0 2px;
    font-size: 10px;
    box-sizing: border-box;
  }
}
/* Premium Listing trial notices */
.ll-premium-trial-notices {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

.ll-premium-trial-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid #b8c7d9;
  border-left-width: 6px;
  border-radius: 10px;
  background: #f8fbff;
}

.ll-premium-trial-notice--info {
  border-left-color: #2271b1;
  background: #f4f9ff;
}

.ll-premium-trial-notice--attention {
  border-left-color: #dba617;
  background: #fff9e8;
}

.ll-premium-trial-notice--urgent {
  border-left-color: #b42318;
  background: #fff3f2;
}

.ll-premium-trial-notice--expired {
  border-left-color: #6b7280;
  background: #f6f7f7;
}

.ll-premium-trial-notice__content {
  flex: 1 1 auto;
  min-width: 0;
}

.ll-premium-trial-notice__content h2 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.25;
}

.ll-premium-trial-notice__content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.ll-premium-trial-notice__button {
  flex: 0 0 auto;
  min-width: 150px;
}

@media (max-width: 720px) {
  .ll-premium-trial-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .ll-premium-trial-notice__button {
    width: 100%;
  }
}

/* Business-specific Premium status belongs to its business row. */
.post-list-table .ll-premium-trial-notice--business-row {
  min-height: 96px;
  margin: 0 0 14px;
  border-right: 0;
  border-left-width: 5px;
  border-radius: 8px;
  box-sizing: border-box;
}

.post-list-table .ll-premium-trial-notice--business-row .ll-premium-trial-notice__content h2 {
  font-size: 18px;
}

.post-list-table .ll-premium-trial-notice--business-row .ll-premium-trial-notice__content p {
  font-size: 15px;
}

/* Keep the business identity visually dominant in recommended actions. */
.ll-next-step__subject-title {
  margin: 7px 0 3px;
  color: #172033;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.ll-next-step__task-title {
  margin: 0 0 5px;
  color: #334155;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .post-list-table .ll-premium-trial-notice--business-row {
    min-height: 0;
    margin-bottom: 12px;
  }
}

/* Business Authorization is evaluated and displayed for each business independently. */
.post-list-table .ll-dashboard-business-authorization-notice {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 14px;
    padding: 18px 20px;
    border: 1px solid #e0c36f;
    border-left: 5px solid #d97706;
    border-radius: 8px;
    background: #fff9e8;
    box-sizing: border-box;
}

.post-list-table .ll-dashboard-business-authorization-notice__content {
    flex: 1 1 auto;
    min-width: 0;
}

.post-list-table .ll-dashboard-business-authorization-notice__content h2 {
    margin: 0 0 5px;
    font-size: 18px;
    line-height: 1.25;
}

.post-list-table .ll-dashboard-business-authorization-notice__content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.post-list-table .ll-dashboard-business-authorization-notice__action {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    min-width: 240px;
}

.post-list-table .ll-dashboard-business-authorization-notice__action .ll-btn {
    width: 100%;
}

.post-list-table .ll-dashboard-business-authorization-notice__action .ll-dashboard-authorization-status {
    min-height: 18px;
    color: #7c2d12;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
}

@media (max-width: 720px) {
    .post-list-table .ll-dashboard-business-authorization-notice {
        align-items: stretch;
        min-height: 0;
        flex-direction: column;
        margin-bottom: 12px;
    }

    .post-list-table .ll-dashboard-business-authorization-notice__action {
        min-width: 0;
        width: 100%;
    }
}


.post-list-table .ll-dashboard-business-authorization-notice__action .ll-dashboard-authorization-status:empty {
    display: none;
}

/* Approved giveaways waiting for consolation-offer payment. */
.ll-dashboard-giveaway-payment-notices {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.ll-dashboard-giveaway-payment-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid #e0c36f;
  border-left: 5px solid #d97706;
  border-radius: 8px;
  background: #fff9e8;
  box-sizing: border-box;
}

.ll-dashboard-giveaway-payment-notice__content {
  flex: 1 1 auto;
  min-width: 0;
}

.ll-dashboard-giveaway-payment-notice__eyebrow {
  margin: 0 0 4px;
  color: #8a4b08;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ll-dashboard-giveaway-payment-notice__content h2 {
  margin: 0 0 5px;
  color: #172033;
  font-size: 20px;
  line-height: 1.3;
}

.ll-dashboard-giveaway-payment-notice__content p:last-child {
  margin: 0;
  color: #3f4654;
  font-size: 15px;
  line-height: 1.5;
}

.ll-dashboard-giveaway-payment-notice__action {
  flex: 0 0 auto;
}

.ll-dashboard-giveaway-payment-notice__action .ll-btn {
  min-width: 190px;
}

@media (max-width: 720px) {
  .ll-dashboard-giveaway-payment-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .ll-dashboard-giveaway-payment-notice__action .ll-btn {
    width: 100%;
  }
}


/* Dashboard FAQ */
.ll-dashboard-faq {
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid #d7dee8;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(23, 32, 51, 0.08);
}

.ll-dashboard-faq > .ll-dashboard-faq__toggle {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 20px 64px 20px 24px;
    background: linear-gradient(135deg, #f4fbf6 0%, #f7faff 100%);
    color: #172033;
    cursor: pointer;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    list-style: none;
}

.ll-dashboard-faq > .ll-dashboard-faq__toggle::-webkit-details-marker,
.ll-dashboard-faq__item > summary::-webkit-details-marker {
    display: none;
}

.ll-dashboard-faq > .ll-dashboard-faq__toggle::after,
.ll-dashboard-faq__item > summary::after {
    position: absolute;
    top: 50%;
    border: 1px solid #b8c4d1;
    border-radius: 50%;
    color: #237a3b;
    content: "+";
    font-weight: 500;
    text-align: center;
    transform: translateY(-50%);
}

.ll-dashboard-faq > .ll-dashboard-faq__toggle::after {
    right: 24px;
    width: 32px;
    height: 32px;
    font-size: 25px;
    line-height: 29px;
}

.ll-dashboard-faq[open] > .ll-dashboard-faq__toggle::after,
.ll-dashboard-faq__item[open] > summary::after {
    content: "\2212";
}

.ll-dashboard-faq > .ll-dashboard-faq__toggle:hover,
.ll-dashboard-faq[open] > .ll-dashboard-faq__toggle {
    background: linear-gradient(135deg, #edf8f0 0%, #f1f6fc 100%);
}

.ll-dashboard-faq > .ll-dashboard-faq__toggle:focus-visible,
.ll-dashboard-faq__item > summary:focus-visible {
    outline: 3px solid rgba(35, 122, 59, 0.35);
    outline-offset: -3px;
}

.ll-dashboard-faq__content {
    border-top: 1px solid #dfe6ee;
}

.ll-dashboard-faq__intro {
    margin: 0;
    padding: 20px 24px;
    background: #fbfdfb;
    color: #364152;
    font-size: 16px;
    line-height: 1.65;
}

.ll-dashboard-faq__item {
    margin: 0;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.ll-dashboard-faq__item > summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 56px 18px 24px;
    color: #172033;
    cursor: pointer;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.35;
    list-style: none;
}

.ll-dashboard-faq__item > summary::after {
    right: 24px;
    width: 28px;
    height: 28px;
    font-size: 22px;
    line-height: 25px;
}

.ll-dashboard-faq__item[open] > summary,
.ll-dashboard-faq__item > summary:hover {
    background: #f8fafc;
}

.ll-dashboard-faq__answer {
    padding: 0 24px 22px;
    color: #364152;
    font-size: 15px;
    line-height: 1.65;
}

.ll-dashboard-faq__answer p {
    margin: 0 0 14px;
}

.ll-dashboard-faq__answer p:last-child {
    margin-bottom: 0;
}

.ll-dashboard-faq__answer ul,
.ll-dashboard-faq__answer ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.ll-dashboard-faq__answer li {
    margin-bottom: 9px;
}

.ll-dashboard-faq__answer li:last-child {
    margin-bottom: 0;
}

@media (max-width: 720px) {
    .ll-dashboard-faq > .ll-dashboard-faq__toggle {
        min-height: 64px;
        padding: 17px 58px 17px 18px;
        font-size: 20px;
    }

    .ll-dashboard-faq > .ll-dashboard-faq__toggle::after {
        right: 18px;
    }

    .ll-dashboard-faq__intro {
        padding: 17px 18px;
        font-size: 15px;
    }

    .ll-dashboard-faq__item > summary {
        padding: 16px 52px 16px 18px;
        font-size: 16px;
    }

    .ll-dashboard-faq__item > summary::after {
        right: 18px;
    }

    .ll-dashboard-faq__answer {
        padding: 0 18px 19px;
    }
}

/* Personalized FAQ actions */
.ll-dashboard-faq__heading {
    display: inline;
}

.ll-dashboard-faq__hint {
    margin-left: 8px;
    color: #596579;
    font-size: 0.58em;
    font-weight: 650;
    white-space: nowrap;
}

.ll-dashboard-faq__hint--collapse {
    display: none;
}

.ll-dashboard-faq[open] .ll-dashboard-faq__hint--expand {
    display: none;
}

.ll-dashboard-faq[open] .ll-dashboard-faq__hint--collapse {
    display: inline;
}

.ll-dashboard-faq__actions {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #d7e1ec;
    border-radius: 9px;
    background: #f8fbff;
}

.ll-dashboard-faq__actions-title {
    margin: 0 0 11px !important;
    color: #172033;
    font-size: 15px;
    font-weight: 800;
}

.ll-dashboard-faq__actions-title--secondary {
    margin-top: 18px !important;
    padding-top: 16px;
    border-top: 1px solid #dbe4ee;
}

.ll-dashboard-faq__actions-empty {
    margin: 0 0 12px !important;
    color: #596579;
}

.ll-dashboard-faq__button-row,
.ll-dashboard-faq__action-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.ll-dashboard-faq__action-list {
    display: grid;
    gap: 9px;
}

.ll-dashboard-faq__action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 11px 12px;
    border: 1px solid #e0e7ef;
    border-radius: 7px;
    background: #ffffff;
}

.ll-dashboard-faq__action-label {
    min-width: 0;
    color: #263247;
    overflow-wrap: anywhere;
}

.ll-dashboard-faq__actions .ll-btn {
    margin: 0;
    white-space: normal;
    text-align: center;
}

@media (max-width: 720px) {
    .ll-dashboard-faq__heading {
        display: block;
        padding-right: 4px;
    }

    .ll-dashboard-faq__hint {
        display: block;
        margin: 4px 0 0;
        font-size: 0.66em;
    }

    .ll-dashboard-faq[open] .ll-dashboard-faq__hint--collapse {
        display: block;
    }

    .ll-dashboard-faq__actions {
        padding: 14px;
    }

    .ll-dashboard-faq__action-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .ll-dashboard-faq__button-row,
    .ll-dashboard-faq__action-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .ll-dashboard-faq__actions .ll-btn {
        width: 100%;
    }
}

/* Grow is a single-purpose dashboard tab, so center its one-word label. */
.tabs .tab.ll-grow-dashboard-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tabs .tab.ll-grow-dashboard-tab .ll-grow-dashboard-tab-label {
  display: block;
  font-weight: inherit;
  line-height: 1.15;
  text-align: center;
}


/* -------------------------------------------------------------------------
 * Business Owner Experience — guided dashboard IA
 * ------------------------------------------------------------------------- */

.ll-owner-dashboard {
  --ll-owner-border: #dce4ee;
  --ll-owner-muted: #5d6878;
  --ll-owner-soft: #f7f9fc;
  --ll-owner-good-bg: #eef9f2;
  --ll-owner-good-border: #b9dec5;
  --ll-owner-attention-bg: #fff8e8;
  --ll-owner-attention-border: #efd28b;
  --ll-owner-info-bg: #eef6ff;
  --ll-owner-info-border: #bdd6f0;
}

.ll-owner-dashboard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.ll-owner-dashboard-nav .tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.ll-owner-dashboard-nav .tab .tab-label {
  display: block;
  line-height: 1.15;
  text-align: center;
}

.ll-owner-home,
.ll-owner-section {
  display: grid;
  gap: 24px;
}

.ll-owner-home-hero,
.ll-owner-home-section,
.ll-owner-empty-card,
.ll-sales-card,
.ll-growth-card {
  border: 1px solid var(--ll-owner-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 38, 63, 0.06);
}

.ll-owner-home-hero {
  padding: 26px;
}

.ll-owner-home-hero__eyebrow,
.ll-owner-home-section__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #4e6077;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ll-owner-home-hero h2,
.ll-owner-home-section h2,
.ll-owner-section h2 {
  margin: 0 0 8px;
  color: #172033;
}

.ll-owner-home-hero p,
.ll-owner-home-section__heading p,
.ll-owner-section-heading p,
.ll-owner-empty-card p,
.ll-sales-card p,
.ll-growth-card p {
  color: var(--ll-owner-muted);
}

.ll-owner-home-hero__row,
.ll-owner-section-heading,
.ll-sales-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.ll-owner-home-hero__row > div,
.ll-owner-section-heading > div,
.ll-sales-card__heading > div {
  min-width: 0;
}

.ll-owner-section-heading--stack {
  display: block;
}

.ll-owner-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ll-owner-status-card {
  display: grid;
  gap: 5px;
  min-height: 132px;
  padding: 17px;
  border: 1px solid var(--ll-owner-border);
  border-radius: 12px;
  background: var(--ll-owner-soft);
}

.ll-owner-status-card--good {
  border-color: var(--ll-owner-good-border);
  background: var(--ll-owner-good-bg);
}

.ll-owner-status-card--attention {
  border-color: var(--ll-owner-attention-border);
  background: var(--ll-owner-attention-bg);
}

.ll-owner-status-card__title {
  color: #5c6776;
  font-size: 13px;
  font-weight: 700;
}

.ll-owner-status-card__value {
  color: #182234;
  font-size: 19px;
  line-height: 1.2;
}

.ll-owner-status-card__detail {
  color: #596678;
  font-size: 13px;
  line-height: 1.45;
}

.ll-owner-home-section {
  padding: 22px;
}

.ll-owner-home-section__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.ll-owner-home-section__heading h2,
.ll-owner-home-section__heading p {
  margin-top: 0;
}

.ll-owner-home-section__heading p {
  margin-bottom: 0;
}

.ll-owner-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

button.ll-owner-action-card {
  appearance: none;
  width: 100%;
  min-height: 132px;
  padding: 17px;
  border: 1px solid #cad7e5;
  border-radius: 12px;
  background: #fff;
  color: #182234;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

button.ll-owner-action-card:hover,
button.ll-owner-action-card:focus-visible {
  transform: translateY(-1px);
  border-color: #7fa8d2;
  box-shadow: 0 8px 18px rgba(20, 38, 63, 0.09);
}

button.ll-owner-action-card strong,
button.ll-owner-action-card span {
  display: block;
}

button.ll-owner-action-card strong {
  margin-bottom: 8px;
  font-size: 17px;
}

button.ll-owner-action-card span {
  color: var(--ll-owner-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ll-owner-recommendation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--ll-owner-info-border);
  border-radius: 12px;
  background: var(--ll-owner-info-bg);
}

.ll-owner-recommendation--attention,
.ll-owner-recommendation--urgent {
  border-color: var(--ll-owner-attention-border);
  background: var(--ll-owner-attention-bg);
}

.ll-owner-recommendation--standard {
  border-color: var(--ll-owner-border);
  background: var(--ll-owner-soft);
}

.ll-owner-recommendation__badge {
  display: inline-block;
  margin-bottom: 6px;
  color: #49617a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ll-owner-recommendation h3 {
  margin: 0 0 6px;
  color: #172033;
  font-size: 19px;
}

.ll-owner-recommendation p {
  margin: 0;
  color: var(--ll-owner-muted);
}

.ll-owner-recommendation__action .ll-btn {
  margin: 0;
  white-space: nowrap;
}

.ll-owner-section-heading {
  margin-bottom: 4px;
}

.ll-owner-section-heading--actions-only {
  justify-content: flex-end;
}

.ll-promote-managers {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.ll-promote-managers > h3 {
  margin: 6px 0 2px;
}

.ll-promote-manager {
  border: 1px solid var(--ll-owner-border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.ll-promote-manager > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  cursor: pointer;
  color: #1c293b;
  font-weight: 800;
  list-style: none;
}

.ll-promote-manager > summary::-webkit-details-marker {
  display: none;
}

.ll-promote-manager > summary::after {
  content: "+";
  margin-left: auto;
  color: #617186;
  font-size: 20px;
  line-height: 1;
}

.ll-promote-manager[open] > summary::after {
  content: "–";
}

.ll-promote-manager__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  margin-left: auto;
  padding: 0 8px;
  border-radius: 999px;
  background: #edf2f7;
  color: #4e5d70;
  font-size: 12px;
}

.ll-promote-manager__body {
  padding: 4px 16px 18px;
  border-top: 1px solid #edf1f5;
}

.ll-owner-empty-card,
.ll-sales-card,
.ll-growth-card {
  padding: 22px;
}

.ll-owner-empty-card h3,
.ll-sales-card h3,
.ll-growth-card h3 {
  margin-top: 0;
}

.ll-sales-card__status {
  display: inline-flex;
  align-items: center;
  max-width: 310px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #edf3f8;
  color: #40536a;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.ll-sales-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ll-owner-context-note {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  padding: 15px;
  border: 1px solid var(--ll-owner-info-border);
  border-radius: 10px;
  background: var(--ll-owner-info-bg);
}

.ll-owner-context-note span {
  color: var(--ll-owner-muted);
}

.ll-sales-card__footnote {
  margin: 20px 0 0 !important;
  padding-top: 15px;
  border-top: 1px solid #e7edf3;
  font-size: 13px;
  font-style: italic;
}

.ll-growth-recommendations {
  display: grid;
  gap: 16px;
}

.ll-growth-card .ll-ai-receptionist-dashboard-panel {
  margin-top: 16px;
}

@media (max-width: 960px) {
  .ll-owner-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ll-owner-dashboard-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ll-owner-status-grid {
    grid-template-columns: 1fr;
  }

  .ll-owner-home-hero__row,
  .ll-owner-home-section__heading,
  .ll-owner-section-heading,
  .ll-sales-card__heading,
  .ll-owner-recommendation {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .ll-owner-recommendation {
    display: grid;
  }

  .ll-owner-recommendation__action .ll-btn,
  .ll-owner-home-section__heading > .ll-btn,
  .ll-owner-section-heading > .ll-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .ll-owner-dashboard-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ll-owner-action-grid {
    grid-template-columns: 1fr;
  }

  .ll-owner-home-hero,
  .ll-owner-home-section,
  .ll-owner-empty-card,
  .ll-sales-card,
  .ll-growth-card {
    padding: 18px;
  }
}


/* -------------------------------------------------------------------------
 * Business Owner Experience — simplified shell (Phase 2)
 * ------------------------------------------------------------------------- */
.ll-owner-dashboard-summary {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 16px 18px;
  border: 1px solid var(--ll-owner-border);
  border-radius: 10px;
  background: #fff;
}

.ll-owner-dashboard-summary__business {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ll-owner-dashboard-summary__eyebrow,
.ll-owner-dashboard-summary__next-label {
  display: block;
  margin-bottom: 3px;
  color: #5b697a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ll-owner-dashboard-summary h1 {
  margin: 0;
  color: #172033;
  font-size: 22px;
  line-height: 1.2;
}

.ll-owner-dashboard-summary__business p {
  margin: 4px 0 0;
  color: var(--ll-owner-muted);
  font-size: 13px;
}

.ll-owner-dashboard-summary__listing-link {
  flex: 0 0 auto;
  font-weight: 700;
}

.ll-owner-dashboard-summary__next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--ll-owner-border);
  border-radius: 8px;
  background: var(--ll-owner-soft);
}

.ll-owner-dashboard-summary__next--attention,
.ll-owner-dashboard-summary__next--urgent {
  border-color: var(--ll-owner-attention-border);
  background: var(--ll-owner-attention-bg);
}

.ll-owner-dashboard-summary__next--primary,
.ll-owner-dashboard-summary__next--info {
  border-color: var(--ll-owner-info-border);
  background: var(--ll-owner-info-bg);
}

.ll-owner-dashboard-summary__next-copy {
  min-width: 0;
}

.ll-owner-dashboard-summary__next-copy strong,
.ll-owner-dashboard-summary__next-copy > span:last-child {
  display: block;
}

.ll-owner-dashboard-summary__next-copy strong {
  color: #172033;
  font-size: 15px;
}

.ll-owner-dashboard-summary__next-copy > span:last-child:not(.ll-owner-dashboard-summary__next-label) {
  margin-top: 2px;
  color: var(--ll-owner-muted);
  font-size: 12px;
}

.ll-owner-dashboard-summary__next-action {
  flex: 0 0 auto;
}

.ll-owner-dashboard-summary__next-action .ll-btn {
  margin: 0;
  white-space: nowrap;
}

.ll-owner-dashboard-nav {
  margin-bottom: 16px;
}

@media (max-width: 760px) {
  .ll-owner-dashboard-summary__business,
  .ll-owner-dashboard-summary__next {
    align-items: stretch;
    flex-direction: column;
  }

  .ll-owner-dashboard-summary__next-action .ll-btn {
    width: 100%;
  }
}
