.phase2-admin-shell {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 1.25rem;
  padding: 1.15rem 1.15rem 1.35rem;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}
.phase2-admin-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.phase2-admin-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}
.phase2-admin-head p {
  margin: 0.3rem 0 0;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 60rem;
}
.phase2-admin-pill {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-weight: 800;
  font-size: 0.76rem;
  white-space: nowrap;
  border: 1px solid #fed7aa;
}
.phase2-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.phase2-kpi {
  border: 1px solid #ede9e7;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff, #fbfbfa);
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.phase2-kpi span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #78716c;
}
.phase2-kpi strong {
  font-size: 1.35rem;
  color: #0f172a;
  line-height: 1.1;
}
.phase2-kpi small {
  font-size: 0.79rem;
  color: #6b7280;
  line-height: 1.45;
}
.phase2-admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.phase2-card {
  border: 1px solid #ede9e7;
  border-radius: 1.15rem;
  padding: 1rem;
  background: linear-gradient(180deg, #fff, #fcfcfb);
}
.phase2-card--public {
  padding: 1.05rem 1.05rem 1.15rem;
}
.phase2-card__head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.phase2-card__head strong {
  display: block;
  font-size: 0.98rem;
  color: #111827;
}
.phase2-card__head span {
  display: block;
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 0.22rem;
  line-height: 1.5;
}
.phase2-card__actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.phase2-public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.78fr);
  gap: 1rem;
  align-items: start;
}
.phase2-public-main {
  display: grid;
  gap: 1rem;
}
.phase2-public-side {
  position: sticky;
  top: 1rem;
}
.phase2-preview-card {
  border: 1px solid #ece7e3;
  border-radius: 1.05rem;
  background: #fff;
  padding: 0.9rem;
}
.phase2-preview-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  margin-bottom: 0.75rem;
}
.phase2-preview-card__head strong {
  font-size: 0.92rem;
  color: #111827;
}
.phase2-preview-card__head span {
  font-size: 0.78rem;
  color: #6b7280;
}
.phase2-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.phase2-form-grid--public {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.phase2-form-grid--stacked {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.phase2-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #6b7280;
  min-width: 0;
}
.phase2-field--span2 {
  grid-column: span 2;
}
.phase2-form-grid input,
.phase2-form-grid select {
  width: 100%;
  border: 1px solid #d6d3d1;
  border-radius: 0.9rem;
  padding: 0.75rem 0.82rem;
  background: #fff;
  color: #0f172a;
  font-size: 0.92rem;
  outline: none;
}
.phase2-form-grid input:focus,
.phase2-form-grid select:focus {
  border-color: #c86b3c;
  box-shadow: 0 0 0 3px rgba(200, 107, 60, 0.12);
}
.phase2-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: -0.1rem;
}
.phase2-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 0.76rem;
  border: 1px solid #ede9e7;
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  color: #44403c;
}
.phase2-btn {
  border: 1px solid #d6d3d1;
  border-radius: 0.86rem;
  background: #fff;
  padding: 0.68rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #374151;
  cursor: pointer;
}
.phase2-btn--primary {
  background: #c86b3c;
  border-color: #c86b3c;
  color: #fff;
  box-shadow: 0 10px 20px rgba(200, 107, 60, 0.16);
}
.phase2-summary {
  margin-top: 0.15rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: #111827;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.phase2-summary strong {
  font-size: 0.98rem;
}
.phase2-summary span {
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.8);
}
.phase2-public-linkhint {
  padding: 0.78rem 0.92rem;
  border-radius: 0.95rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  color: #475569;
  word-break: break-all;
}
.phase2-theme-picker {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem;
  border: 1px solid #efe8e3;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff, #fcfbfa);
}
.phase2-theme-picker__head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}
.phase2-theme-picker__head strong {
  font-size: 0.92rem;
  color: #111827;
}
.phase2-theme-picker__head span {
  font-size: 0.79rem;
  color: #6b7280;
}
.phase2-theme-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.phase2-theme-option {
  display: grid;
  gap: 0.5rem;
  padding: 0.8rem;
  border-radius: 1rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  text-align: left;
}
.phase2-theme-option.is-active {
  border-color: #c86b3c;
  box-shadow: 0 0 0 3px rgba(200, 107, 60, 0.12);
}
.phase2-theme-option strong {
  font-size: 0.84rem;
  color: #111827;
}
.phase2-theme-option small {
  font-size: 0.76rem;
  color: #6b7280;
  line-height: 1.45;
}
.phase2-theme-swatch {
  display: block;
  height: 58px;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--surface), #fff 58%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.phase2-theme-swatch::before,
.phase2-theme-swatch::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--tone);
}
.phase2-theme-swatch::before {
  width: 68px;
  height: 68px;
  right: -12px;
  top: -16px;
  opacity: 0.18;
}
.phase2-theme-swatch::after {
  width: 36px;
  height: 36px;
  left: 14px;
  bottom: 10px;
  opacity: 0.28;
}
.phase2-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.phase2-media-card {
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem;
  border: 1px solid #efe8e3;
  border-radius: 1rem;
  background: #fff;
}
.phase2-media-card__head strong {
  display: block;
  font-size: 0.9rem;
  color: #111827;
}
.phase2-media-card__head span {
  display: block;
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.45;
  margin-top: 0.18rem;
}
.phase2-media-preview {
  border: 1px dashed #d6d3d1;
  border-radius: 1rem;
  background: #fafaf9;
  min-height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.phase2-media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phase2-media-preview--logo {
  min-height: 132px;
  background: #fff;
}
.phase2-media-preview--logo img {
  object-fit: contain;
  padding: 1rem;
}
.phase2-media-placeholder {
  font-size: 0.82rem;
  color: #78716c;
  text-align: center;
  padding: 1rem;
}
.phase2-media-card__actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}
.phase2-media-card__actions input[type="file"] {
  max-width: 100%;
  font-size: 0.78rem;
  color: #6b7280;
}
.phase2-visual-preview {
  display: grid;
  gap: 0.75rem;
}
.phase2-preview-shell {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, #fff, var(--preview-surface));
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.phase2-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  align-items: center;
}
.phase2-preview-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.phase2-preview-brand > span,
.phase2-preview-brand img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--preview-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  object-fit: cover;
  flex-shrink: 0;
}
.phase2-preview-brand strong {
  display: block;
  font-size: 0.83rem;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 11rem;
}
.phase2-preview-brand small {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
  line-height: 1.35;
}
.phase2-preview-pill {
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  font-size: 0.7rem;
  font-weight: 800;
  color: #475569;
}
.phase2-preview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 0.7rem;
  align-items: stretch;
  padding: 0.78rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.phase2-preview-hero__copy {
  display: grid;
  gap: 0.28rem;
}
.phase2-preview-hero__copy small {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--preview-accent);
}
.phase2-preview-hero__copy strong {
  font-size: 1rem;
  color: #111827;
  line-height: 1.15;
}
.phase2-preview-hero__copy span {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
}
.phase2-preview-hero__media {
  border-radius: 0.9rem;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.04);
}
.phase2-preview-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phase2-preview-hero__placeholder {
  width: 100%;
  height: 100%;
  min-height: 92px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.6),
    rgba(0, 0, 0, 0.03)
  );
}
.phase2-preview-search {
  height: 36px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.8rem;
  background: #fff;
}
.phase2-preview-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.phase2-preview-chips span {
  width: 64px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.phase2-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}
.phase2-preview-grid article {
  height: 88px;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.phase2-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0.85rem 0 0;
}
.phase2-tabbar {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.phase2-tab {
  border: 1px solid #d6d3d1;
  border-radius: 999px;
  background: #fff;
  padding: 0.58rem 0.88rem;
  font-size: 0.79rem;
  font-weight: 800;
  color: #57534e;
  cursor: pointer;
}
.phase2-tab.is-active {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}
.phase2-tabpanel {
  display: none;
}
.phase2-tabpanel.is-active {
  display: block;
}
.phase2-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.2rem;
  max-height: 22rem;
  overflow: auto;
}
.phase2-list--tall {
  max-height: 24rem;
}
.phase2-list__row {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid #e7e5e4;
  border-radius: 0.95rem;
  background: #fff;
}
.phase2-list__row strong {
  display: block;
  color: #111827;
  font-size: 0.9rem;
}
.phase2-list__row small {
  display: block;
  margin-top: 0.2rem;
  color: #6b7280;
  font-size: 0.76rem;
  line-height: 1.4;
}
.phase2-list__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.phase2-status {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}
.phase2-status.is-on {
  background: #dcfce7;
  color: #166534;
}
.phase2-status.is-off {
  background: #f3f4f6;
  color: #6b7280;
}
.phase2-link {
  border: 0;
  background: transparent;
  color: #c86b3c;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}
.phase2-link.is-danger {
  color: #dc2626;
}
.phase2-empty {
  padding: 1rem;
  border: 1px dashed #d6d3d1;
  border-radius: 0.95rem;
  color: #78716c;
  font-size: 0.83rem;
  text-align: center;
  background: #fff;
}
@media (max-width: 1280px) {
  .phase2-form-grid--public {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .phase2-field--span2 {
    grid-column: auto;
  }
  .phase2-public-layout {
    grid-template-columns: 1fr;
  }
  .phase2-public-side {
    position: static;
  }
}
@media (max-width: 1100px) {
  .phase2-insights {
    grid-template-columns: 1fr;
  }
  .phase2-form-grid,
  .phase2-form-grid--public,
  .phase2-form-grid--stacked,
  .phase2-theme-options,
  .phase2-media-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .phase2-admin-head,
  .phase2-card__head {
    flex-direction: column;
  }
  .phase2-card__actions,
  .phase2-list__meta {
    justify-content: flex-start;
  }
  .phase2-list__row,
  .phase2-preview-top,
  .phase2-preview-hero {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .phase2-preview-grid {
    grid-template-columns: 1fr;
  }
}


/* Fase 2A + 2B · multicanal e vitrine digital */
.phase2-channel-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.phase2-channel-card .phase2-card__head { margin-bottom: 10px; }
.phase2-form-grid--channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.phase2-check-row--dense { gap: 10px; }
.phase2-tv-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.phase2-tv-slide-row { align-items: center; }
@media (max-width: 980px) {
  .phase2-channel-panels,
  .phase2-tv-layout { grid-template-columns: 1fr; }
}


.phase2-context-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
}
.phase2-dayparts-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.phase2-daypart-row{
  display:grid;
  grid-template-columns:160px 1.2fr .8fr .8fr auto;
  gap:10px;
  align-items:end;
  padding:12px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  background:#fff;
}
.phase2-daypart-row__title{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.phase2-daypart-row__title small{
  color:#64748b;
  font-size:12px;
}
.phase2-check-row--dense{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px 10px;
}
.phase2-channel-card{
  min-height:100%;
}
.phase2-tv-slide-row{
  align-items:center;
}
#phase2CampaignTvOnly.is-hidden{
  display:none;
}
@media (max-width: 1100px){
  .phase2-context-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width: 860px){
  .phase2-daypart-row{
    grid-template-columns:1fr 1fr;
  }
  .phase2-daypart-row__title{
    grid-column:1 / -1;
  }
  .phase2-check-row--dense{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
