/* Konekts UX hardening — 2026-09-12
   Escopo: dark mode, Vitrine, recados e checkout do link personalizado. */

.guest-message-guide{display:grid;gap:18px}
.guest-message-guide .panel-head{align-items:flex-start}
.guest-message-guide .panel-head h3{margin:5px 0 7px}
.guest-message-guide .panel-head p{max-width:900px;line-height:1.6}
.guest-message-purpose{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.guest-message-purpose>div{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;padding:13px 14px;border:1px solid var(--nova-line,var(--line));border-radius:14px;background:var(--nova-surface-soft,var(--surface-2,#faf8fd))}
.guest-message-purpose i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(124,58,237,.12);color:#6b2fc9;font-style:normal;font-weight:900}
.guest-message-purpose span{display:grid;gap:4px}
.guest-message-purpose b{font-size:.84rem}
.guest-message-purpose small{line-height:1.45;color:var(--nova-muted,var(--muted))}
.guest-message-guide .public-section-presets{grid-template-columns:repeat(4,minmax(0,1fr))}
.guest-message-guide .public-section-presets button{min-height:78px}

.showcase-featured-panel{display:grid!important;gap:16px!important;margin:18px 0!important;padding:22px!important;border:1px solid color-mix(in srgb,#8b5cf6 35%,var(--nova-line,var(--line)))!important;background:linear-gradient(145deg,color-mix(in srgb,#8b5cf6 7%,var(--nova-surface,#fff)),var(--nova-surface,#fff))!important}
.showcase-featured-head{display:flex;justify-content:space-between;align-items:flex-start;gap:22px}
.showcase-featured-head h3{margin:5px 0 7px;font-size:1.2rem}
.showcase-featured-head p{margin:0;max-width:800px;line-height:1.55}
.showcase-toggle{display:flex;align-items:center;gap:10px;flex:0 0 auto;padding:9px 11px;border:1px solid var(--nova-line,var(--line));border-radius:12px;background:var(--nova-surface,#fff);font-size:.78rem;font-weight:800}
.showcase-featured-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:2px}
.showcase-featured-actions small{color:var(--nova-muted,var(--muted))}
.showcase-featured-panel .showcase-select-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:2px}
.showcase-featured-panel .showcase-select-card>span{height:100%;background:var(--nova-surface,#fff);cursor:pointer;transition:.15s ease}
.showcase-featured-panel .showcase-select-card>span:hover{transform:translateY(-1px);border-color:#9b6be8}
.showcase-empty-state{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px;border:1px dashed color-mix(in srgb,#8b5cf6 42%,var(--nova-line,var(--line)));border-radius:15px;background:color-mix(in srgb,#8b5cf6 5%,var(--nova-surface,#fff))}
.showcase-empty-state>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(124,58,237,.12);font-size:23px}
.showcase-empty-state b{display:block;margin-bottom:4px}
.showcase-empty-state p{margin:0!important}
.showcase-shortcut-card{border-color:color-mix(in srgb,#8b5cf6 38%,var(--nova-line,var(--line)))!important;background:linear-gradient(145deg,color-mix(in srgb,#8b5cf6 7%,var(--nova-surface,#fff)),var(--nova-surface,#fff))!important}

.checkout-slug-card{display:grid;gap:8px;margin:4px 0;padding:17px 18px;border:1px solid color-mix(in srgb,#8b5cf6 40%,var(--nova-line,var(--line)));border-radius:16px;background:color-mix(in srgb,#8b5cf6 6%,var(--nova-surface,#fff))}
.checkout-slug-card h3{margin:0;font-size:1rem}
.checkout-slug-card code{display:block;width:100%;box-sizing:border-box;padding:12px 13px;border:1px solid var(--nova-line,var(--line));border-radius:11px;background:var(--nova-surface,#fff);font-size:.9rem;line-height:1.45;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.checkout-slug-card p{margin:0!important;line-height:1.5}
.checkout-confirm-card .checkout-quote{min-width:0}
.checkout-confirm-card .checkout-summary-grid>span{min-width:0}

/* Dark mode: todos os blocos interativos devem parecer ativos, legíveis e clicáveis. */
html[data-product-ux="pulso"][data-theme="dark"] .cf-ops-tabs{
  background:#111722!important;border-color:#2b3444!important;color:#f4f1fb!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important
}
html[data-product-ux="pulso"][data-theme="dark"] .cf-ops-tabs button{
  color:#c8c2d2!important;background:transparent!important;opacity:1!important
}
html[data-product-ux="pulso"][data-theme="dark"] .cf-ops-tabs button:hover,
html[data-product-ux="pulso"][data-theme="dark"] .cf-ops-tabs button:focus-visible{
  background:#1a2230!important;color:#fff!important
}
html[data-product-ux="pulso"][data-theme="dark"] .cf-ops-tabs button.active{
  background:#241936!important;color:#d9c2ff!important;box-shadow:inset 0 0 0 1px #6f49a7!important
}
html[data-product-ux="pulso"][data-theme="dark"] .cf-ops-tabs span{color:#b6a7cc!important;opacity:1!important}

html[data-product-ux="pulso"][data-theme="dark"] .nova36-message-composer,
html[data-product-ux="pulso"][data-theme="dark"] .nova36-select-all,
html[data-product-ux="pulso"][data-theme="dark"] .nova382-gift-suggestions-first,
html[data-product-ux="pulso"][data-theme="dark"] .public-section-presets button,
html[data-product-ux="pulso"][data-theme="dark"] .public-section-editor,
html[data-product-ux="pulso"][data-theme="dark"] .guest-message-purpose>div,
html[data-product-ux="pulso"][data-theme="dark"] .showcase-featured-panel,
html[data-product-ux="pulso"][data-theme="dark"] .showcase-toggle,
html[data-product-ux="pulso"][data-theme="dark"] .showcase-select-card>span,
html[data-product-ux="pulso"][data-theme="dark"] .showcase-empty-state,
html[data-product-ux="pulso"][data-theme="dark"] .showcase-shortcut-card,
html[data-product-ux="pulso"][data-theme="dark"] .checkout-slug-card,
html[data-product-ux="pulso"][data-theme="dark"] .checkout-summary-grid>span,
html[data-product-ux="pulso"][data-theme="dark"] .cf-metrics article,
html[data-product-ux="pulso"][data-theme="dark"] .cf-pref-list article,
html[data-product-ux="pulso"][data-theme="dark"] .cf-history article,
html[data-product-ux="pulso"][data-theme="dark"] .cf-checkin-list article,
html[data-product-ux="pulso"][data-theme="dark"] .cf-search,
html[data-product-ux="pulso"][data-theme="dark"] .cf-modal-card{
  background:#111722!important;color:#f4f1fb!important;border-color:#2b3444!important
}
html[data-product-ux="pulso"][data-theme="dark"] .showcase-featured-panel,
html[data-product-ux="pulso"][data-theme="dark"] .showcase-shortcut-card{
  background:linear-gradient(145deg,#181425,#111722)!important;border-color:#493667!important
}
html[data-product-ux="pulso"][data-theme="dark"] .showcase-empty-state{
  background:#151b28!important;border-color:#493667!important
}
html[data-product-ux="pulso"][data-theme="dark"] .checkout-slug-card{
  background:#151b28!important;border-color:#493667!important
}
html[data-product-ux="pulso"][data-theme="dark"] .checkout-slug-card code{
  background:#0d121c!important;color:#e5d5ff!important;border-color:#384256!important
}
html[data-product-ux="pulso"][data-theme="dark"] .nova36-message-composer textarea,
html[data-product-ux="pulso"][data-theme="dark"] .nova36-message-composer textarea:disabled{
  background:#0d121c!important;color:#f4f1fb!important;border-color:#384256!important;opacity:1!important
}
html[data-product-ux="pulso"][data-theme="dark"] .nova36-message-composer textarea:disabled{color:#9fa8b8!important}
html[data-product-ux="pulso"][data-theme="dark"] .nova36-access-options label small{
  color:#cdb1f5!important
}
html[data-product-ux="pulso"][data-theme="dark"] .guest-message-purpose i,
html[data-product-ux="pulso"][data-theme="dark"] .showcase-empty-state>span{
  background:#241936!important;color:#d7bfff!important
}
html[data-product-ux="pulso"][data-theme="dark"] .guest-message-purpose b,
html[data-product-ux="pulso"][data-theme="dark"] .showcase-featured-panel h3,
html[data-product-ux="pulso"][data-theme="dark"] .showcase-featured-panel b,
html[data-product-ux="pulso"][data-theme="dark"] .checkout-slug-card h3,
html[data-product-ux="pulso"][data-theme="dark"] .public-section-editor b,
html[data-product-ux="pulso"][data-theme="dark"] .cf-metrics b,
html[data-product-ux="pulso"][data-theme="dark"] .cf-pref-list b,
html[data-product-ux="pulso"][data-theme="dark"] .cf-history b,
html[data-product-ux="pulso"][data-theme="dark"] .cf-checkin-list b{
  color:#f4f1fb!important
}
html[data-product-ux="pulso"][data-theme="dark"] .guest-message-purpose small,
html[data-product-ux="pulso"][data-theme="dark"] .showcase-featured-panel p,
html[data-product-ux="pulso"][data-theme="dark"] .showcase-featured-panel small,
html[data-product-ux="pulso"][data-theme="dark"] .checkout-slug-card p,
html[data-product-ux="pulso"][data-theme="dark"] .cf-muted,
html[data-product-ux="pulso"][data-theme="dark"] .cf-metrics span,
html[data-product-ux="pulso"][data-theme="dark"] .cf-metrics small,
html[data-product-ux="pulso"][data-theme="dark"] .cf-pref-list small,
html[data-product-ux="pulso"][data-theme="dark"] .cf-history small,
html[data-product-ux="pulso"][data-theme="dark"] .cf-checkin-list small{
  color:#aaa2ba!important
}
html[data-product-ux="pulso"][data-theme="dark"] .kicker{color:#b98ff2!important}
html[data-product-ux="pulso"][data-theme="dark"] .tag.purple{background:#291d3d!important;color:#d7bfff!important;border-color:#4c376c!important}
html[data-product-ux="pulso"][data-theme="dark"] .tag.green{background:#153224!important;color:#8de1af!important;border-color:#28583d!important}

@media(max-width:1000px){
  .guest-message-guide .public-section-presets{grid-template-columns:repeat(2,minmax(0,1fr))}
  .showcase-featured-panel .showcase-select-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .guest-message-purpose{grid-template-columns:1fr}
  .showcase-featured-head{display:grid}
  .showcase-toggle{justify-content:space-between}
  .showcase-empty-state{grid-template-columns:auto minmax(0,1fr)}
  .showcase-empty-state .btn{grid-column:1/-1;width:100%}
}
@media(max-width:520px){
  .guest-message-guide .public-section-presets{grid-template-columns:1fr}
  .showcase-featured-panel{padding:17px!important}
  .showcase-featured-panel .showcase-select-grid{grid-template-columns:1fr}
  .checkout-slug-card{padding:14px}
}


/* Follow-up UX — Presentes, checklist, Calcula e Financeiro */
.task-checklist-panel .task-data-row{
  grid-template-columns:28px minmax(0,1fr) auto auto!important;
  gap:10px!important;
  align-items:center!important;
  min-height:58px;
}
.task-checklist-panel .task-check{
  width:20px!important;height:20px!important;min-width:20px!important;
  margin:0!important;padding:0!important;border-radius:6px!important;
  accent-color:#8b5cf6;justify-self:center;
}
.task-row-copy{min-width:0;display:grid;gap:4px}
.task-row-copy b{overflow-wrap:anywhere}
.task-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.task-row-actions .text-btn,.task-row-actions .task-resolve-action{min-height:34px!important;padding:6px 8px!important;white-space:nowrap}
.task-row-actions .task-resolve-action{border-radius:9px!important}

.calc-audience-explainer{
  display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start;
  margin-top:14px;padding:14px 15px;border:1px solid color-mix(in srgb,#8b5cf6 28%,var(--nova-line,var(--line)));
  border-radius:14px;background:color-mix(in srgb,#8b5cf6 5%,var(--nova-surface,#fff));
}
.calc-audience-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(124,58,237,.12);color:#6b2fc9;font-weight:900}
.calc-audience-explainer b{display:block;margin-bottom:4px}
.calc-audience-explainer p{margin:0!important;line-height:1.5}
.calc-audience-explainer small{display:block;margin-top:8px;line-height:1.45;color:var(--nova-muted,var(--muted))}
.calc-audience-explainer .text-btn{margin-top:4px;padding-left:0}

.finance-expense-card{max-width:760px!important;width:min(94vw,760px)!important}
.finance-expense-card .modal-intro{margin-bottom:16px}
.finance-modal-step{display:grid;gap:12px;margin:0 0 14px;padding:15px;border:1px solid var(--nova-line,var(--line));border-radius:15px;background:var(--nova-surface-soft,var(--surface-2,#faf8fd))}
.finance-modal-step-title{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:start}
.finance-modal-step-title>i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(124,58,237,.12);color:#6b2fc9;font-style:normal;font-weight:900}
.finance-modal-step-title>div{display:grid;gap:3px}
.finance-modal-step-title small{color:var(--nova-muted,var(--muted));line-height:1.4}
.finance-category-shortcuts{display:flex;gap:7px;flex-wrap:wrap}
.finance-category-chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:7px 10px;border:1px solid var(--nova-line,var(--line));border-radius:999px;background:var(--nova-surface,#fff);color:var(--nova-ink,var(--text));font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}
.finance-category-chip:hover,.finance-category-chip:focus-visible{border-color:#9b6be8;outline:none}
.finance-category-chip.active{background:color-mix(in srgb,#8b5cf6 10%,var(--nova-surface,#fff));border-color:#8b5cf6;color:#6233ad}
.finance-category-chip span{font-size:.9rem}
.finance-custom-category.hidden{display:none!important}
.finance-value-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.finance-notes-label{display:grid;gap:6px;margin-top:2px}
.finance-notes-label textarea{width:100%;box-sizing:border-box;margin-top:6px}
.finance-modal-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:16px}
.finance-modal-footer small{max-width:470px;color:var(--nova-muted,var(--muted));line-height:1.45}
.finance-modal-footer .btn{flex:0 0 auto}

html[data-product-ux="pulso"][data-theme="dark"] .calc-audience-explainer,
html[data-product-ux="pulso"][data-theme="dark"] .finance-modal-step{
  background:#151b28!important;border-color:#384256!important;color:#f4f1fb!important
}
html[data-product-ux="pulso"][data-theme="dark"] .calc-audience-icon,
html[data-product-ux="pulso"][data-theme="dark"] .finance-modal-step-title>i{
  background:#241936!important;color:#d7bfff!important
}
html[data-product-ux="pulso"][data-theme="dark"] .finance-category-chip{
  background:#111722!important;color:#e7e0f1!important;border-color:#384256!important
}
html[data-product-ux="pulso"][data-theme="dark"] .finance-category-chip.active{
  background:#241936!important;color:#dbc7ff!important;border-color:#7653aa!important
}
html[data-product-ux="pulso"][data-theme="dark"] .task-checklist-panel .task-data-row{
  border-color:#2b3444!important
}

@media(max-width:760px){
  .task-checklist-panel .task-data-row{
    grid-template-columns:24px minmax(0,1fr) auto!important;
    align-items:start!important;
  }
  .task-checklist-panel .task-data-row>.tag{grid-column:2/4!important;justify-self:start}
  .task-row-actions{grid-column:2/4!important;justify-content:flex-start}
  .task-checklist-panel .task-check{margin-top:2px!important}
  .finance-value-grid{grid-template-columns:1fr}
  .finance-modal-footer{display:grid}
  .finance-modal-footer .btn{width:100%}
}
