/* popla uses one fixed palette in both portals. Other stores retain their themes. */
html[data-store-id="popla"] {
  color-scheme: light;
  --ink:#333943; --muted:#626e7b; --brand:#d13d78; --brand-dark:#aa2b60;
  --accent:#2f73b5; --paper:#fff; --card:#fff; --wash:#f2f8ff;
  --soft:#fff1f7; --line:#dce7ef; --busy:#eef2f6; --danger:#b54848;
  --page-start:#edf7ff; --page-middle:#fff; --page-end:#f6faff;
  --shadow:0 14px 40px rgba(49,80,110,.08);
  --mint:#e7f8ed; --mint-line:#b9dfca; --mint-ink:#246344;
  --pink-fill:#edb3cb; --pink-fill-hover:#e7a3bf; --pink-fill-ink:#6f2a46;
}
/* Soften large filled controls while keeping their text and selected state clear. */
html[data-store-id="popla"] :is(.mark,.primary,.identity-register-action,.audience-btn.active,.day-tab.active,.admin-tab.active,.calendar-view-btn.active,.mobile-calendar-segment button.active,.menu-management-view-tabs button.active) {
  background:var(--pink-fill); color:var(--pink-fill-ink); border-color:var(--pink-fill);
}
html[data-store-id="popla"] :is(.primary,.identity-register-action):hover {
  background:var(--pink-fill-hover); color:var(--pink-fill-ink);
}
html[data-store-id="popla"] #customerThemeCard,
html[data-store-id="popla"] .theme-card { display:none!important; }
html[data-store-id="popla"] .card { background:var(--paper); }
html[data-store-id="popla"] .portal-badge { background:white; }
html[data-store-id="popla"] .identity-register-action { box-shadow:0 6px 16px rgba(209,61,120,.16); }
html[data-store-id="popla"] :is(button,a):focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
html[data-store-id="popla"] .primary:disabled,
html[data-store-id="popla"] .identity-register-action:disabled { opacity:.55; cursor:not-allowed; }
html[data-store-id="popla"] .my-booking { border-color:#e8b7cc; background:var(--soft); color:var(--ink); }
html[data-store-id="popla"] .my-booking small { color:var(--muted); }
html[data-store-id="popla"] .booking-flow-guide { background:var(--wash); color:var(--ink); }
html[data-store-id="popla"] .calendar-preview-placeholder { background:var(--wash); }
html[data-store-id="popla"] .duration-box { background:var(--wash); color:var(--ink); border:1px solid var(--line); }
html[data-store-id="popla"] .duration-box span { color:var(--muted); opacity:1; }
html[data-store-id="popla"] .duration-box strong { color:var(--brand-dark); }
html[data-store-id="popla"] :is(.day-tabs,.month-weekdays) { background:var(--wash); }
html[data-store-id="popla"] .slot.open { background:white; border-color:#4b9870; color:var(--mint-ink); }
html[data-store-id="popla"] .slot.open:hover { background:var(--mint); }
html[data-store-id="popla"] .slot.open.selected { background:var(--pink-fill); border-color:var(--pink-fill-ink); color:var(--pink-fill-ink); }
html[data-store-id="popla"] .slot.mine { background:var(--soft); border-color:var(--brand); color:var(--brand-dark); }
html[data-store-id="popla"] .dot.mine { background:var(--soft); border:1px solid var(--brand); }
html[data-store-id="popla"] .dot.open { background:var(--mint); border-color:#4b9870; }
html[data-store-id="popla"] .calendar-time-label { color:var(--muted); }
html[data-store-id="popla"] .admin-tabs-hint { background:linear-gradient(90deg,transparent,var(--wash) 65%); }
html[data-store-id="popla"] .customer-preview-frame-wrap { background:#e6eef5; }
html[data-store-id="popla"] #menuOverviewForm {
  --rule-frame:var(--accent); --rule-frame-text:#245a89;
  --rule-frame-bg:var(--wash); --rule-frame-line:#a8c8e3; --rule-neutral:#f5f8fb;
}
html[data-store-id="popla"] .menu-page-editor-footer { background:var(--wash); }
/* Match the reference conversation: pale blue surround, white customer, mint owner. */
html[data-store-id="popla"] #mypageBoard { background:var(--wash); }
html[data-store-id="popla"] .mypage-message.customer,
html[data-store-id="popla"] #mypageAdminPanel .mypage-timeline-event.customer {
  background:white; border:1px solid var(--line); color:var(--ink);
}
html[data-store-id="popla"] .mypage-message.admin,
html[data-store-id="popla"] #mypageAdminPanel .mypage-timeline-event.admin {
  background:var(--mint); border:1px solid var(--mint-line); border-left:4px solid #4b9870; color:var(--ink);
}
html[data-store-id="popla"] .mypage-message.system,
html[data-store-id="popla"] #mypageAdminPanel .mypage-timeline-event.system { background:#eaf2fb; }
html[data-store-id="popla"] .mypage-message small { opacity:1; color:var(--muted); }
html[data-store-id="popla"] .mypage-message.admin small,
html[data-store-id="popla"] #mypageAdminPanel .mypage-timeline-event.admin .mypage-timeline-sender { color:var(--mint-ink); }
html[data-store-id="popla"] .mypage-message.customer small { color:var(--brand-dark); }
html[data-store-id="popla"] #mypageBookingContext .mypage-booking-card { background:white; border-left:3px solid var(--brand); }
html[data-store-id="popla"] .mypage-thread-badge.unread { background:#e6f1ff; color:#245a89; }
html[data-store-id="popla"] .mypage-thread-badge.needs { background:var(--soft); color:var(--brand-dark); }
html[data-store-id="popla"] .mypage-thread-badge.done { background:var(--mint); color:var(--mint-ink); opacity:1; }
html[data-store-id="popla"] .mypage-badge { color:var(--brand-dark); }
html[data-store-id="popla"] .mypage-internal { border-color:#9aabbc; background:white; }
