#dashboardPage,
.survey-page { min-height: calc(100vh - 72px); }
.survey-page .sales-list-card { overflow: visible; }
#surveyOutletListCards > .sales-list-card { border-radius: 18px; }

.apu-dashboard-realtime-date {
  font-size:clamp(1.05rem,2vw,1.35rem);
  line-height:1.25;
  font-weight:800;
}
body.apu-screen-dashboard #apuHeaderDateRow { display:none !important; }

.survey-status-badge {
  display:inline-flex; align-items:center; gap:5px; border-radius:999px;
  padding:5px 9px; font-size:10px; font-weight:800; white-space:nowrap;
}
.survey-status-waiting { background:#fef3c7; color:#92400e; }
.survey-status-soon { background:#ffedd5; color:#9a3412; }
.survey-status-done { background:#dcfce7; color:#166534; }

.survey-list-item { transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease; }
.survey-list-item:hover { transform:translateY(-1px); box-shadow:0 8px 20px rgba(15,23,42,.08); }

.survey-list-info { margin-top:12px; }
.survey-list-info-row { display:flex; align-items:flex-start; gap:11px; padding:8px 1px 10px; }
.survey-list-info-row-survey { border-top:1px solid #e2e8f0; padding-top:12px; padding-bottom:1px; }
.survey-list-info-icon {
  display:flex; align-items:center; justify-content:center; flex:0 0 35px; width:35px; height:35px;
  border-radius:12px;
}
.survey-list-info-icon svg { width:20px; height:20px; flex:none; }
.survey-list-info-icon-delivery-empty { background:#f1f5f9; color:#64748b; }
.survey-list-info-icon-delivery-previous { background:#fff7e6; color:#b7791f; }
.survey-list-info-icon-delivery-latest { background:#eaf8f1; color:#17805b; }
.survey-list-info-icon-survey { background:#edf5ff; color:#3674bc; }
.survey-list-info-body { flex:1; min-width:0; }
.survey-list-info-label { color:#64748b; font-size:9px; font-weight:800; line-height:1.3; text-transform:uppercase; letter-spacing:.055em; }
.survey-list-info-value { color:#0f172a; font-size:13px; font-weight:800; line-height:1.35; }
.survey-list-info-value-delivery { font-size:14px; }
.survey-list-delivered-check { color:#15803d; font-size:12px; margin-left:5px; }
.survey-list-info-body > .survey-list-info-value { margin-top:3px; }
.survey-list-info-detected { color:#15803d; }
.survey-list-info-note { color:#64748b; font-size:11px; line-height:1.4; margin-top:3px; }
.survey-list-info-note strong { color:#334155; font-weight:800; }
.survey-list-survey-meta { display:flex; align-items:baseline; flex-wrap:wrap; column-gap:7px; row-gap:1px; margin-top:4px; }
.survey-list-survey-meta .survey-list-info-value { white-space:nowrap; }
.survey-list-survey-separator { color:#94a3b8; font-size:11px; }
.survey-list-surveyor { color:#334155; font-size:13px; font-weight:700; line-height:1.35; overflow-wrap:anywhere; }

.survey-competitor-detail { background:#fff; border:1px solid #e2e8f0; border-radius:18px; padding:16px; }
.survey-competitor-name { color:#17243b; font-size:17px; font-weight:800; line-height:1.35; overflow-wrap:anywhere; }
.survey-competitor-products { border-top:1px solid #e2e8f0; margin-top:6px; padding-top:12px; display:grid; gap:10px; }
.survey-competitor-product { background:#fff; border:1px solid #e2e8f0; border-radius:14px; padding:12px; min-width:0; }
.survey-competitor-product-name { color:#334155; font-size:13px; font-weight:750; line-height:1.35; overflow-wrap:anywhere; }
.survey-competitor-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin-top:10px; }
.survey-competitor-metric { border-radius:12px; padding:10px 9px; min-width:0; }
.survey-competitor-metric-price { background:#eff8f5; color:#116b52; }
.survey-competitor-metric-promo { background:#fdf2f5; color:#a62f59; }
.survey-competitor-metric-display { background:#eff5fd; color:#2867ad; }
.survey-competitor-metric-heading { display:flex; align-items:center; gap:6px; font-size:10px; font-weight:750; line-height:1.2; }
.survey-competitor-metric-icon { display:flex; align-items:center; justify-content:center; flex:0 0 21px; width:21px; height:21px; border-radius:7px; background:rgba(255,255,255,.65); }
.survey-competitor-metric-icon svg { width:14px; height:14px; }
.survey-competitor-metric-value { color:#17243b; font-size:12px; font-weight:800; line-height:1.35; margin-top:8px; overflow-wrap:anywhere; }

.survey-product-card,.survey-competitor-card {
  background:rgba(226,232,240,.72); border:1px solid #cbd5e1; border-radius:16px; padding:14px; box-shadow: 0 4px 14px rgba(15,23,42,.06);
}
.card-shadow {
  box-shadow: 0 4px 14px rgba(15,23,42,.06);
}

.survey-warna {
  background-color: #eff5fd;
}

.survey-warna-harga {
  background-color: #eff8f5;
}

.survey-product-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; }
.survey-expiry-wrap { height:41px; background:#fff; border:1px solid rgba(148,163,184,.7); border-radius:.75rem; }
.survey-expiry-wrap .apu-fixed-date-display { padding:0 12px; font-size:16px; font-weight:700; color:#94a3b8; }
.survey-expiry-wrap.has-value .apu-fixed-date-display { color:#1e293b; }
.survey-expiry-wrap .apu-fixed-date-native { font-size:16px !important; }
.survey-expiry-wrap.has-value .apu-fixed-date-display::after { display:none; }
.survey-expiry-clear { position:absolute; right:4px; top:50%; transform:translateY(-50%); z-index:3; width:32px; height:32px; color:#f43f5e; font-size:16px; }
.survey-product-expiry { font-size:11px; font-weight:600; color:#94a3b8; margin:-3px 0 4px; }
.survey-product-expiry.is-side { align-self:flex-start; margin:9px 0 0; line-height:16px; white-space:nowrap; flex-shrink:0; }
.survey-setting-check { width:2.25rem; height:1.25rem; accent-color:#0ea5e9; }
.survey-sort-wrap { position:relative; }
.survey-sort-btn { display:flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:.6rem; background:#f1f5f9; color:#475569; font-size:14px; transition:background .15s; }
.survey-sort-btn:hover { background:#e2e8f0; }
.survey-sort-btn.is-active { background:#e0f2fe; color:#0284c7; }
.survey-sort-menu { position:absolute; right:0; top:calc(100% + 6px); z-index:30; min-width:11rem; padding:4px; background:#fff; border:1px solid #e2e8f0; border-radius:.75rem; box-shadow:0 10px 24px rgba(15,23,42,.12); }
.survey-sort-menu button { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:40px; padding:0 12px; border-radius:.5rem; font-size:13px; font-weight:700; color:#334155; text-align:left; }
.survey-sort-menu button:hover { background:#f1f5f9; }
.survey-sort-menu button i { color:#0284c7; visibility:hidden; }
.survey-sort-menu button.is-active { color:#0284c7; }
.survey-sort-menu button.is-active i { visibility:visible; }

.survey-detail-photo {
  width:100%; max-height:520px; object-fit:contain; background:#f8fafc;
  border:1px solid #e2e8f0; border-radius:16px;
}
.survey-detail-photo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:10px; }
.survey-photo-preview-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(135px,1fr)); gap:9px; }
.survey-photo-preview-card { border:1px solid #e2e8f0; border-radius:14px; padding:8px; background:#f8fafc; min-width:0; }
.survey-photo-preview-card img { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:10px; border:1px solid #e2e8f0; background:white; }
.survey-photo-placeholder { width:100%; aspect-ratio:1/1; border-radius:10px; border:1px dashed #cbd5e1; background:#fff; display:flex; align-items:center; justify-content:center; color:#94a3b8; font-size:20px; }

#surveyDateWrap { min-height:42px; }
#surveyDateWrap .apu-fixed-date-display { font-size:.875rem; font-weight:800; padding:.625rem .75rem; }
#surveyListDatePickerWrap { min-height:40px; }

#surveyListStatusFilter { display:block !important; width:100% !important; min-width:0 !important; height:42px !important; flex:1 1 auto !important; }
#surveyListDateWrap { width:100%; min-width:0; height:42px; }

.survey-loading-spinner { width:24px; height:24px; border:3px solid #fde68a; border-top-color:#d97706; border-radius:50%; animation:surveySpin .75s linear infinite; flex:0 0 auto; }
.survey-skeleton { position:relative; overflow:hidden; background:#e2e8f0; }
.survey-skeleton::after { content:""; position:absolute; inset:0; transform:translateX(-100%); background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent); animation:surveyShimmer 1.25s infinite; }
@keyframes surveySpin { to { transform:rotate(360deg); } }
@keyframes surveyShimmer { 100% { transform:translateX(100%); } }

body.apu-hide-sales-pwa-nav #pwaBottomNav { display:none !important; }
#surveyBottomNav { display:none; }

.survey-detail-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) minmax(150px,1.45fr); gap:8px; }
.survey-detail-action,.survey-detail-close {
  min-height:42px; border-radius:12px; font-size:14px; font-weight:800;
  display:flex; align-items:center; justify-content:center; gap:6px; border:1px solid #e2e8f0;
}
.survey-detail-action { background:#f8fafc; color:#475569; }
.survey-detail-action-danger { color:#be123c; background:#fff1f2; border-color:#fecdd3; }
.survey-detail-close { background:#334155; color:white; border-color:#334155; }

@media (max-width:640px) {
  .survey-product-card,.survey-competitor-card { padding:12px; }
  .survey-product-fields { grid-template-columns:1fr 1fr; }
  .survey-competitor-detail { padding:9px; }
  .survey-competitor-product { padding:10px; }
  .survey-competitor-metric { padding:9px 7px; }

  body.apu-survey-nav-visible #surveyBottomNav { display:grid !important; }
  body.apu-survey-nav-visible .survey-page:not(#surveyFormPage):not(#surveyDetailPage) { padding-bottom:78px !important; }
  body.apu-ios-pwa.apu-survey-nav-visible #surveyBottomNav {
    height:82px !important; min-height:82px !important; padding-bottom:18px !important;
  }

  body:not(.apu-pwa-standalone).apu-survey-nav-visible #surveyBottomNav {
    height:58px; min-height:58px; padding-bottom:0;
  }
  body:not(.apu-pwa-standalone).apu-survey-nav-visible #surveyBottomNav .apu-pwa-nav-item { min-height:58px; }
  body:not(.apu-pwa-standalone).apu-survey-nav-visible #surveyBottomNav .apu-pwa-nav-input {
    width:44px; height:44px; min-height:44px; align-self:center; justify-self:center;
    border-radius:13px; color:#fff; padding:0;
  }
  body:not(.apu-pwa-standalone).apu-survey-nav-visible #surveyBottomNav .apu-pwa-nav-input i { color:#fff; font-size:20px; }

  #surveyFormPage,#surveyDetailPage {
    position:fixed !important; inset:0 !important; z-index:50 !important; padding:0 !important;
    min-height:100dvh !important; height:100dvh !important; background:#fff !important; overflow:hidden !important;
  }
  #surveyFormPage > div,#surveyDetailPage > div {
    width:100% !important; max-width:none !important; height:100dvh !important; margin:0 !important; gap:0 !important;
  }
  #surveyFormPage .sales-list-card,#surveyDetailPage .sales-list-card {
    width:100% !important; height:100dvh !important; max-height:100dvh !important; border-radius:0 !important;
    border:0 !important; box-shadow:none !important; display:flex !important; flex-direction:column !important; overflow:hidden !important;
  }
  #surveyFormPage .sales-list-card > .bg-slate-800,#surveyDetailPage .sales-list-card > .bg-slate-800 { border-radius:0 !important; flex:0 0 auto; }
  #surveyFormBody,#surveyDetailContent { flex:1 1 auto; min-height:0; overflow-y:auto; -webkit-overflow-scrolling:touch; }
  #surveyFormBody { padding-bottom:104px !important; }
  #surveyDetailContent { padding-bottom:116px !important; }
  #surveyFormPage .apu-site-footer,#surveyDetailPage .apu-site-footer { display:none !important; }

  .survey-form-actions {
    position:fixed !important; left:0; right:0; bottom:0; z-index:54;
    border-radius:0 !important; padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px)) !important;
    background:rgba(255,255,255,.98) !important; display:grid !important; grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr);
  }
  .survey-form-actions button { min-height:44px; justify-content:center; }
  .survey-form-actions.apu-footer-inline {
    position:static !important;
    left:auto !important; right:auto !important; bottom:auto !important;
    margin-top:14px; box-shadow:none !important; border-top:1px solid #e2e8f0;
  }
  #surveyFormBody.apu-body-footer-inline { padding-bottom:16px !important; }

  .survey-detail-actions {
    position:fixed !important; left:0; right:0; bottom:0; z-index:54;
    grid-template-columns:repeat(3,minmax(0,1fr));
    padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px)) !important;
    background:rgba(255,255,255,.98) !important;
  }
  .survey-detail-action { min-height:42px; }
  .survey-detail-close { grid-column:1/-1; min-height:48px; font-size:12px; }
  .survey-photo-preview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (min-width:641px) {
  #surveyBottomNav { display:none !important; }
}

.survey-list-filter-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; }
#surveyListStatusFilter { font-size:11px !important; padding-left:9px !important; padding-right:24px !important; }
#surveyListDateWrap .apu-fixed-date-display { padding-right:2.25rem !important; }
.survey-list-date-clear {
  position:absolute; right:27px; top:50%; transform:translateY(-50%); z-index:5;
  width:24px; height:30px; align-items:center; justify-content:center;
  color:#94a3b8; border-radius:8px; background:rgba(248,250,252,.92);
  font-size:11px;
}
.survey-list-date-clear:not(.hidden) { display:flex; }
.survey-list-date-clear:hover { color:#e11d48; background:#fff1f2; }

#surveyListBackTop,#surveyOutletBackTop { display:flex !important; }

#surveyDateWrap { height:38px; min-height:38px; }
#surveyFormPage select {
  height:41px;
  min-height:41px;
  box-sizing:border-box;
  padding-top:0;
  padding-bottom:0;
}
#surveyDateWrap .apu-fixed-date-display {
  font-size:.75rem !important;
  font-weight:700 !important;
  padding:.625rem .75rem !important;
}

.survey-detail-mobile-menu-btn { display:none; }

@media (max-width:640px) {
  #surveyDateWrap { height:41px; min-height:41px; }
  #surveyDateWrap .apu-fixed-date-display { font-size:16px !important; }

  .survey-detail-mobile-menu-btn { display:flex !important; }
  #surveyDetailActions {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:8px !important;
  }
  #surveyDetailEditAction,#surveyDetailDeleteAction { display:none !important; }
  #surveyDetailStatusAction,#surveyDetailCloseAction {
    display:flex !important;
    grid-column:auto !important;
    min-height:48px !important;
    font-size:14px;
  }
  #surveyDetailCloseAction { background:#334155 !important; color:#fff !important; }
  #surveyDetailCloseAction:hover { background:#1e293b !important; color:#fff !important; }

  #surveyListStatusFilter { font-size:10px !important; }
  #surveyListDateWrap .apu-fixed-date-display { font-size:11px !important; padding-left:9px !important; }
}

.survey-list-filter-grid {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:8px !important;
  width:100% !important;
  min-width:0 !important;
}
.survey-list-filter-grid > .sales-list-date-control,
.survey-list-filter-grid > .survey-list-status-select {
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  height:42px !important;
  flex:none !important;
  box-sizing:border-box !important;
}
#surveyListDateWrap {
  width:100% !important;
  height:42px !important;
  min-width:0 !important;
  padding:0 !important;
}
#surveyListDateWrap .apu-fixed-date-display {
  width:100% !important;
  height:100% !important;
  padding:10px 58px 10px 12px !important;
  font-size:13px !important;
  font-weight:700 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
#surveyListDateWrap .apu-fixed-date-display::after {
  position:absolute;
  right:8px;
  margin:0 !important;
  padding:0 !important;
}
#surveyListDateClear {
  right:31px !important;
  top:50% !important;
  width:24px !important;
  height:28px !important;
  z-index:5 !important;
}
#surveyListStatusFilter {
  padding:0 12px !important;
  font-size:13px !important;
  background-color:#f8fafc !important;
}

.survey-owner-locked {
  opacity:.42 !important;
  cursor:not-allowed !important;
  filter:saturate(.45);
}
.survey-owner-locked:hover { transform:none !important; }

@media (min-width:641px) {
  body.apu-survey-desktop-modal-open { overflow:hidden !important; }
  #surveyDetailActions {
    position:static !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) minmax(150px,1.45fr) !important;
    gap:8px !important;
    padding:12px 16px !important;
  }
  #surveyDetailEditAction:not(.hidden),
  #surveyDetailDeleteAction:not(.hidden),
  #surveyDetailStatusAction,
  #surveyDetailCloseAction {
    display:flex !important;
    grid-column:auto !important;
    min-height:42px !important;
  }
  #surveyDetailCloseAction { background:#334155 !important; color:#fff !important; }
  #surveyDetailCloseAction:hover { background:#1e293b !important; color:#fff !important; }
  #surveyDetailPage:not(.hidden),
  #surveyFormPage:not(.hidden),
  #surveyOutletDetailPage:not(.hidden) {
    position:fixed !important;
    inset:0 !important;
    z-index:50 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:16px !important;
    background:rgba(15,23,42,.70) !important;
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
    overflow:hidden !important;
  }
  #surveyDetailPage > div,
  #surveyFormPage > div,
  #surveyOutletDetailPage > div {
    width:100% !important;
    margin:0 auto !important;
    gap:0 !important;
    max-height:96vh !important;
    max-height:96dvh !important;
  }
  #surveyDetailPage > div,
  #surveyFormPage > div { max-width:64rem !important; }
  #surveyOutletDetailPage > div { max-width:48rem !important; }
  #surveyDetailPage .sales-list-card,
  #surveyFormPage .sales-list-card,
  #surveyOutletDetailPage .sales-list-card {
    border-radius:24px !important;
    overflow:hidden !important;
    box-shadow:0 25px 65px rgba(15,23,42,.35) !important;
    max-height:96vh !important;
    max-height:96dvh !important;
    display:flex !important;
    flex-direction:column !important;
  }
  #surveyDetailPage .sales-list-card > .bg-slate-800,
  #surveyFormPage .sales-list-card > .bg-slate-800,
  #surveyOutletDetailPage .sales-list-card > .bg-slate-800 {
    border-radius:0 !important;
    flex:0 0 auto !important;
  }
  #surveyDetailContent,
  #surveyFormBody,
  #surveyOutletDetailContent {
    overflow-y:auto !important;
    min-height:0 !important;
    flex:1 1 auto !important;
  }
  #surveyDetailPage .apu-site-footer,
  #surveyFormPage .apu-site-footer,
  #surveyOutletDetailPage .apu-site-footer { display:none !important; }
}

@media (max-width:640px) {
  #surveyListDateWrap .apu-fixed-date-display { font-size:13px !important; }
  #surveyListStatusFilter { font-size:12px !important; }
}

.jarak-mt-survey {
  margin-top: 10px !important;
}

.apu-desktop-module-nav { display:none; }
@media (min-width:768px) {
  .apu-desktop-module-nav.is-visible {
    display:flex; align-items:center; gap:16px; margin-right:38px;
  }
  .apu-desktop-module-nav-btn {
    min-height:34px; padding:0 11px; border-radius:10px;
    color:#fff; font-size:13px; font-weight:800; display:flex; align-items:center;
    justify-content:center; gap:6px; white-space:nowrap; transition:background .15s ease, transform .15s ease;
  }
  /* .apu-desktop-module-nav-btn:hover { background:rgba(146,64,14,.58); }
  .apu-desktop-module-nav-btn:active { transform:scale(.98); } */
  .apu-module-page-back { display:none !important; }
}

@media (max-width:640px) {
  body.apu-survey-desktop-modal-open { overflow:hidden !important; }
  #surveyOutletDetailPage:not(.hidden) {
    position:fixed !important; inset:0 !important; z-index:50 !important; display:flex !important;
    align-items:center !important; justify-content:center !important; padding:14px !important;
    min-height:100dvh !important; height:100dvh !important; background:rgba(15,23,42,.70) !important;
    backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px); overflow:hidden !important;
  }
  #surveyOutletDetailPage > div {
    width:100% !important; max-width:32rem !important; max-height:90dvh !important; margin:0 auto !important; gap:0 !important;
  }
  #surveyOutletDetailPage .sales-list-card {
    width:100% !important; max-height:90dvh !important; border-radius:22px !important; overflow:hidden !important;
    box-shadow:0 24px 60px rgba(15,23,42,.40) !important; display:flex !important; flex-direction:column !important;
  }
  #surveyOutletDetailPage .sales-list-card > .bg-slate-800 { border-radius:0 !important; flex:0 0 auto !important; }
  #surveyOutletDetailContent { overflow-y:auto !important; min-height:0 !important; flex:1 1 auto !important; -webkit-overflow-scrolling:touch; }
  #surveyOutletDetailPage .apu-site-footer { display:none !important; }
}

body.apu-survey-theme .apu-app-header { background:#0ea5e9 !important; }
body.apu-survey-theme #apuHeaderDateRow { color:#e0f2fe !important; }
body.apu-survey-theme .apu-header-brand-badge { background:rgba(255,255,255,.20) !important; }
body.apu-survey-theme .apu-header-brand-icon { color:#e0f2fe !important; }
body.apu-survey-theme #userRoleBadge { color:#e0f2fe !important; }
body.apu-survey-theme #btnAdminConfig { background:#0284c7 !important; border-color:rgba(186,230,253,.45) !important; color:#f0f9ff !important; }
body.apu-survey-theme .apu-header-logout-btn { background:rgba(3,105,161,.58) !important; }
body.apu-survey-theme .apu-desktop-module-nav-btn:hover { background:rgba(3,105,161,.42) !important; }

@media (max-width:640px) {
  #surveyFormActions { grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; }
  #surveyFormActions > button { width:100% !important; padding-left:10px !important; padding-right:10px !important; }
}

.apu-dashboard-date-row {
  display:flex;
  align-items:center;
  gap:10px;
}
.apu-dashboard-date-pulse {
  position:relative;
  width:12px;
  height:12px;
  border-radius:999px;
  background:#10b981;
  flex:0 0 auto;
  box-shadow:0 0 0 0 rgba(16,185,129,.45);
  animation:apuDashboardPulse 1.8s ease-out infinite;
}
.apu-dashboard-date-pulse > span {
  position:absolute;
  inset:3px;
  border-radius:999px;
  background:#ecfdf5;
}
@keyframes apuDashboardPulse {
  0% { box-shadow:0 0 0 0 rgba(16,185,129,.48); }
  70%,100% { box-shadow:0 0 0 9px rgba(16,185,129,0); }
}
.apu-dashboard-footer { margin-top:18px; }

body.apu-survey-theme #surveyBottomNav .apu-pwa-nav-item.active { color:#0284c7 !important; }
body.apu-survey-theme #surveyBottomNav .apu-pwa-nav-input,
body.apu-survey-theme.apu-pwa-standalone #surveyBottomNav .apu-pwa-nav-input,
body.apu-survey-theme:not(.apu-pwa-standalone) #surveyBottomNav .apu-pwa-nav-input {
  background:#0ea5e9 !important;
  color:#fff !important;
  box-shadow:none !important;
}
body.apu-survey-theme #surveyBottomNav .apu-pwa-nav-input i { color:#fff !important; }
body.apu-survey-theme #surveyBottomNav .apu-pwa-nav-item:not(.apu-pwa-nav-input):active { color:#0284c7 !important; }

body.apu-ios-pwa #surveyFormPage input,
body.apu-ios-pwa #surveyFormPage textarea,
body.apu-ios-pwa #surveyListPage input,
body.apu-ios-pwa #surveyOutletListPage input {
  font-size:16px !important;
}
body.apu-ios-pwa #surveyFormPage select,
body.apu-ios-pwa #surveyListPage select,
body.apu-ios-pwa #surveyOutletListPage select {
  font-size:12px !important;
}
#surveyFormPage select[id^="surveyProd"][id$="Promo"],
#surveyFormPage select[id^="surveyComp"][id$="Promo"],
#surveyFormPage select[id^="surveyComp"][id$="Name"],
#surveyFormPage select[id^="surveyComp"][id$="Cond"],
#surveyFormPage #surveyOverallCondition,
#surveyFormPage #surveyStatus { font-size:16px !important; }
body.apu-ios-pwa #surveyListStatusFilter { font-size:12px !important; }
body.apu-ios-pwa #surveyListDateWrap .apu-fixed-date-display { font-size:13px !important; }
body.apu-ios-pwa #surveyFormPage input::placeholder,
body.apu-ios-pwa #surveyFormPage textarea::placeholder,
body.apu-ios-pwa #surveyListPage input::placeholder,
body.apu-ios-pwa #surveyOutletListPage input::placeholder {
  font-size:12px !important;
}
body.apu-ios-pwa #surveyInputOutlet::placeholder { font-size:14px !important; }

#surveyFormPage #surveyCompetitorCards input[type="text"],
#surveyFormPage #surveyNotes,
#surveyFormPage #surveyCompetitorCards input[type="text"]::placeholder,
#surveyFormPage #surveyNotes::placeholder { font-size:16px !important; }

#surveyProductCards input[type="text"],
#surveyCompetitorCards input[type="text"] {
  height:41px;
  min-height:41px;
  max-height:41px;
  box-sizing:border-box;
  padding-top:0;
  padding-bottom:0;
}
@media (max-width:640px) {
  #surveyProductCards input[type="text"] {
    height:41px !important;
    min-height:41px !important;
    box-sizing:border-box !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    font-size:16px !important;
    line-height:1.25rem !important;
  }
  #surveyInputOutlet {
    height:41px !important;
    min-height:41px !important;
    box-sizing:border-box !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
  }
}

body.apu-pwa-standalone #surveyProductCards input[type="text"] {
  height:41px !important;
  min-height:41px !important;
  box-sizing:border-box !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  font-size:16px !important;
  line-height:1.25rem !important;
}
body.apu-pwa-standalone #surveyInputOutlet {
  height:41px !important;
  min-height:41px !important;
  box-sizing:border-box !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}

@media (min-width:641px) {
  #surveyFormPage #surveyDateWrap { height:43px; min-height:43px; }
  #surveyFormPage #surveyDateWrap .apu-fixed-date-display { font-size:16px !important; }
  #surveyFormPage #surveyInputOutlet {
    height:43px !important;
    min-height:43px !important;
    box-sizing:border-box !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    font-size:16px !important;
  }
  #surveyFormPage #surveyInputOutlet::placeholder { font-size:14px !important; }
}

#btnSurveySaveStatus:disabled { opacity:.45; cursor:not-allowed; filter:saturate(.55); }

#surveyDetailContent .survey-status-badge { padding:5px 10px; font-size:11px; gap:6px; border:1px solid transparent; }
#surveyDetailContent .survey-status-waiting { border-color:#fde68a; }
#surveyDetailContent .survey-status-soon { border-color:#fed7aa; }
#surveyDetailContent .survey-status-done { border-color:#bbf7d0; }

.survey-list-show-all { flex: 0 0 auto; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.survey-list-show-all:hover { color: #334155; }
#modalSurveyCompetitorSettings .survey-spinner .fx-spinner { --fx: #0284c7; }
@media (min-width: 768px) {
  .survey-comp-settings-mobile { display: none !important; }
}
@media (max-width: 640px) {
  #modalSurveyCompetitorSettings { padding: 0; }
  #modalSurveyCompetitorSettings .survey-comp-settings-card { max-width: none; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
  #modalSurveyCompetitorSettings #surveyCompetitorSettingsBody { flex: 1 1 auto; }
}
#surveyFormPage .cash-photo-actions button.survey-photo-camera { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
#surveyFormPage .cash-photo-actions button.survey-photo-camera:hover { background: #fde68a; }
.survey-delivery-divider { border: 0; border-top: 1px solid #cbd5e1; margin: 2px 0; }
