/* Círculos — hub Roteiros (wizard, acervo, detalhe) */

.hub-roteiros-open {
  overflow: hidden;
}

.hub-roteiros-sheet .hub-roteiros-box {
  max-width: 42rem;
  width: 100%;
  max-height: min(92vh, 52rem);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.hub-roteiros-head {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(26, 35, 50, 0.08);
}

.hub-roteiros-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.hub-roteiros-head__sub {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #5c667a;
}

.hub-roteiros-back,
.hub-roteiros-close {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: #1a2332;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.hub-roteiros-head__text {
  flex: 1 1 auto;
  min-width: 0;
}

.hub-roteiros-lib-nav {
  display: flex;
  gap: 0.35rem;
  padding: 0.65rem 1rem 0;
}

.hub-roteiros-lib-tab {
  flex: 1;
  border: 1px solid rgba(102, 126, 234, 0.25);
  background: #fff;
  color: #4a5568;
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.hub-roteiros-lib-tab:hover,
.hub-roteiros-lib-tab:focus-visible {
  border-color: rgba(102, 126, 234, 0.45);
  color: #4c51bf;
}

.hub-roteiros-lib-tab.is-active {
  background: rgba(102, 126, 234, 0.12);
  color: #4c51bf;
  border-color: rgba(102, 126, 234, 0.45);
}

.hub-roteiros-body {
  overflow: auto;
  padding: 0.85rem 1rem 1.25rem;
  flex: 1 1 auto;
}

.hub-roteiros-search {
  width: 100%;
  border: 1px solid rgba(102, 126, 234, 0.28);
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.hub-roteiros-search:focus {
  outline: none;
  border-color: var(--cer-accent, #7c3aed);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.hub-roteiros-browse-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-roteiros-advanced {
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 0.65rem;
  background: rgba(124, 58, 237, 0.04);
}

.hub-roteiros-advanced-summary {
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5b21b6;
  cursor: pointer;
  list-style: none;
}

.hub-roteiros-advanced-summary::-webkit-details-marker {
  display: none;
}

.hub-roteiros-advanced-fields {
  display: grid;
  gap: 0.55rem;
  padding: 0 0.75rem 0.75rem;
}

.hub-roteiros-advanced-field {
  display: grid;
  gap: 0.2rem;
}

.hub-roteiros-advanced-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #5c667a;
}

.hub-roteiros-advanced-select {
  width: 100%;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 0.45rem;
  font: inherit;
  font-size: 0.82rem;
  background: #fff;
}

.hub-roteiros-browse-controls {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hub-roteiros-browse-sort {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hub-roteiros-browse-sort-label,
.hub-roteiros-browse-scope-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #5c667a;
}

.hub-roteiros-browse-sort-select {
  width: 100%;
  max-width: 16rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 0.45rem;
  font: inherit;
  font-size: 0.82rem;
  background: #fff;
}

.hub-roteiros-browse-scope {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.hub-roteiros-scope-chip {
  border: 1px solid rgba(124, 58, 237, 0.22);
  background: #fff;
  color: #4c1d95;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.hub-roteiros-scope-chip.is-active {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.45);
  font-weight: 600;
}

.hub-roteiros-browse {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hub-roteiros-grupo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hub-roteiros-grupo-chip {
  border: 1px solid rgba(124, 58, 237, 0.22);
  background: #fff;
  color: #4c1d95;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  line-height: 1.2;
  cursor: pointer;
}

.hub-roteiros-grupo-chip:hover,
.hub-roteiros-grupo-chip:focus-visible {
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.06);
}

.hub-roteiros-grupo-chip.is-active {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(124, 58, 237, 0.55);
  font-weight: 600;
}

.hub-roteiros-browse-count {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.hub-roteiros-browse .hub-roteiros-search {
  margin-bottom: 0;
}

.hub-roteiros-objetivos {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-roteiros-objetivo {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(102, 126, 234, 0.22);
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a2332;
  cursor: pointer;
}

.hub-roteiros-objetivo:hover,
.hub-roteiros-objetivo:focus-visible {
  border-color: rgba(102, 126, 234, 0.5);
  background: rgba(102, 126, 234, 0.06);
}

.hub-roteiros-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hub-roteiros-card-wrap {
  position: relative;
}

.hub-roteiros-card-wrap .hub-roteiros-card {
  padding-right: 2.85rem;
}

.hub-roteiros-card-wrap--pronta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hub-roteiros-card-wrap--pronta .hub-roteiros-card {
  padding-right: 2.85rem;
}

.hub-roteiros-card-pronta {
  display: block;
  width: 100%;
  border: none;
  border-radius: 0.75rem;
  padding: 0.65rem 0.9rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #667eea 0%, #8a61e9 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.28);
}

.hub-roteiros-card-pronta.is-active {
  background: rgba(39, 103, 73, 0.1);
  color: #276749;
  border: 1px solid rgba(39, 103, 73, 0.35);
  box-shadow: none;
}

.hub-roteiros-card-pronta:disabled {
  opacity: 0.65;
  cursor: wait;
}

.hub-roteiros-card-fav {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(102, 126, 234, 0.25);
  border-radius: 999px;
  background: #fff;
  color: #8a94a8;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(26, 35, 50, 0.06);
}

.hub-roteiros-card-fav:hover,
.hub-roteiros-card-fav:focus-visible {
  border-color: rgba(102, 126, 234, 0.55);
  color: #667eea;
}

.hub-roteiros-card-fav.is-active {
  background: rgba(102, 126, 234, 0.12);
  border-color: rgba(102, 126, 234, 0.55);
  color: #434190;
}

.hub-roteiros-card {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(26, 35, 50, 0.1);
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.85rem 0.95rem;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(26, 35, 50, 0.04);
}

.hub-roteiros-card:hover,
.hub-roteiros-card:focus-visible {
  border-color: rgba(102, 126, 234, 0.35);
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.1);
}

.hub-roteiros-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1a2332;
}

.hub-roteiros-card__meta {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  color: #667eea;
  font-weight: 600;
}

.hub-roteiros-card__excerpt {
  margin: 0;
  font-size: 0.84rem;
  color: #5c667a;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-roteiros-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.hub-roteiros-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #4c51bf;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.hub-roteiros-link-btn {
  display: inline-block;
  margin-top: 0.75rem;
  border: none;
  background: transparent;
  color: #667eea;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.hub-roteiros-link-btn + .hub-roteiros-link-btn {
  margin-left: 1rem;
}

.hub-roteiros-rodas-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hub-roteiros-roda-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(26, 35, 50, 0.1);
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.hub-roteiros-roda-item:hover,
.hub-roteiros-roda-item:focus-visible {
  border-color: rgba(102, 126, 234, 0.35);
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.08);
}

.hub-roteiros-roda-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.hub-roteiros-roda-item__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a2332;
  flex: 1 1 auto;
}

.hub-roteiros-roda-sync {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  line-height: 1.3;
}

.hub-roteiros-roda-sync--pending {
  color: #8a6d1f;
  background: rgba(234, 179, 8, 0.14);
}

.hub-roteiros-roda-sync--ok {
  color: #1f6b45;
  background: rgba(34, 197, 94, 0.14);
}

.hub-roteiros-roda-sync--error {
  color: #9b2c2c;
  background: rgba(239, 68, 68, 0.12);
}

.hub-roteiros-sync-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(234, 179, 8, 0.35);
  background: rgba(254, 243, 199, 0.45);
}

.hub-roteiros-sync-banner__text {
  margin: 0;
  font-size: 0.84rem;
  color: #6b5416;
  flex: 1 1 12rem;
}

.hub-roteiros-sync-banner__btn {
  flex: 0 0 auto;
}

.hub-roteiros-roda-item__meta {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: #5c667a;
}

.hub-roteiros-roda-item__excerpt {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #4a5568;
}

.hub-roteiros-usados-empty__hint,
.hub-roteiros-usados-local-hint {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #5c667a;
}

.hub-roteiros-library-empty {
  margin: 0.5rem 0 1rem;
  padding: 1rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(102, 126, 234, 0.06);
  border: 1px dashed rgba(102, 126, 234, 0.22);
}

.hub-roteiros-library-empty .hub-roteiros-empty {
  margin: 0 0 0.35rem;
}

.hub-roteiros-library-empty__hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #5c667a;
}

.hub-roteiros-usados-local-hint {
  margin-top: 0.85rem;
}

.hub-roteiros-roda-detail__meta {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  color: #5c667a;
}

.hub-roteiros-roda-detail__photo {
  margin: 0 0 1rem;
}

.hub-roteiros-roda-detail__photo img {
  display: block;
  width: 100%;
  max-height: 16rem;
  object-fit: cover;
  border-radius: 0.65rem;
  border: 1px solid rgba(26, 35, 50, 0.1);
}

.hub-roteiros-roda-detail__relato p {
  white-space: pre-wrap;
}

.hub-roteiros-roda-detail__empty {
  color: #6c757d;
  font-style: italic;
}

.hub-roteiros-roda-detail__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hub-roteiros-roda-detail__notas .hub-caderno-list--compact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-roteiros-roda-detail__notas .hub-caderno-item {
  width: 100%;
  margin-bottom: 0.35rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.86rem;
}

.hub-roteiros-roda-count {
  display: block;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(102, 126, 234, 0.28);
  border-radius: 0.55rem;
  background: rgba(102, 126, 234, 0.08);
  color: #4c51bf;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.hub-roteiros-roda-count:hover,
.hub-roteiros-roda-count:focus-visible {
  background: rgba(102, 126, 234, 0.14);
  border-color: rgba(102, 126, 234, 0.45);
}

.hub-roteiros-detail-meta {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  color: #5c667a;
}

.hub-roteiros-detail-meta strong {
  color: #1a2332;
}

.hub-roteiros-detail-block {
  margin-bottom: 1rem;
}

.hub-roteiros-detail-block h3 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
}

.hub-roteiros-detail-block p {
  margin: 0;
  font-size: 0.86rem;
  color: #4a5568;
  line-height: 1.5;
}

.hub-roteiros-etapas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hub-roteiros-etapa {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  background: rgba(102, 126, 234, 0.06);
  font-size: 0.84rem;
}

.hub-roteiros-etapa__num {
  flex: 0 0 auto;
  font-weight: 700;
  color: #667eea;
  font-size: 0.78rem;
}

.hub-roteiros-etapa__title {
  flex: 1 1 auto;
  min-width: 0;
  color: #1a2332;
}

.hub-roteiros-etapa__dur {
  flex: 0 0 auto;
  font-size: 0.75rem;
  color: #6c757d;
}

.hub-roteiros-empty,
.hub-roteiros-loading,
.hub-roteiros-error {
  text-align: center;
  padding: 2rem 0.5rem;
  color: #5c667a;
  font-size: 0.9rem;
}

.hub-roteiros-favoritos-empty__hint {
  margin: 0.35rem 0 0;
  text-align: center;
  color: rgba(92, 102, 122, 0.85);
  font-size: 0.85rem;
  line-height: 1.45;
}

.hub-roteiros-public-fav-count,
.hub-roteiros-card__public-fav {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-primary, #667eea);
}

.hub-roteiros-public-comments-count,
.hub-roteiros-card__public-comments {
  margin: 0.05rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-primary, #667eea);
}

.hub-roteiros-public-comments-count a {
  color: inherit;
  text-decoration: none;
}

.hub-roteiros-public-comments-count a:hover {
  text-decoration: underline;
}

.hub-roteiros-detail-block--comments {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(102, 126, 234, 0.14);
}

.hub-roteiros-comments-block__lead {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(92, 102, 122, 0.95);
}

.hub-roteiros-comments-block__status,
.hub-roteiros-comments-block__empty {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(92, 102, 122, 0.95);
}

.hub-roteiros-comments-block__status--error {
  color: #b42318;
}

.hub-roteiros-comments-block__list {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
}

.hub-roteiros-comment-preview {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(102, 126, 234, 0.06);
  border: 1px solid rgba(102, 126, 234, 0.12);
}

.hub-roteiros-comment-preview__meta {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(92, 102, 122, 0.95);
}

.hub-roteiros-comment-preview__body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--c-ink, #1f2937);
  white-space: pre-wrap;
}

.hub-roteiros-comment-preview__badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.3rem;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(0, 182, 184, 0.12);
  color: #007b7d;
  vertical-align: middle;
}

.hub-roteiros-comments-block__compose {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}

.hub-roteiros-comments-block__compose-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(92, 102, 122, 0.95);
}

.hub-roteiros-comments-block__compose textarea {
  width: 100%;
  min-height: 4.5rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.hub-roteiros-comments-block__compose-status {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(92, 102, 122, 0.95);
}

.hub-roteiros-comments-block__compose-status--error {
  color: #b42318;
}

.hub-roteiros-comments-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.65rem;
}

.hub-roteiros-comments-block__note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(92, 102, 122, 0.85);
}

.hub-roteiros-error button {
  margin-top: 0.75rem;
  border: none;
  background: #667eea;
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.hub-roteiros-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(26, 35, 50, 0.08);
}

.hub-roteiros-actions .hub-roteiros-btn {
  flex: 1 1 auto;
  min-width: 8rem;
  border: 1px solid rgba(102, 126, 234, 0.35);
  background: #fff;
  color: #4c51bf;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.hub-roteiros-actions .hub-roteiros-btn--primary {
  background: linear-gradient(135deg, #667eea 0%, #8a61e9 100%);
  color: #fff;
  border-color: transparent;
}

.hub-roteiros-actions--primary {
  margin-top: 1rem;
}

.hub-roteiros-actions--primary .hub-roteiros-btn {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 9rem;
}

.hub-roteiros-actions--secondary {
  margin-top: 0.55rem;
  padding-top: 0;
  border-top: none;
}

.hub-roteiros-actions--secondary .hub-roteiros-btn {
  font-size: 0.82rem;
  min-width: 6.5rem;
}

.hub-roteiros-actions-label {
  margin: 1rem 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #667eea;
}

.hub-roteiros-actions-label + .hub-roteiros-actions--primary {
  margin-top: 0.45rem;
}

.hub-roteiros-actions-label + .hub-roteiros-actions--secondary,
.hub-roteiros-actions-label + .hub-roteiros-actions--tertiary {
  margin-top: 0.35rem;
}

.hub-roteiros-actions-label--secondary {
  margin-top: 0.85rem;
  color: #718096;
}

.hub-roteiros-actions-label--tertiary {
  margin-top: 0.65rem;
  color: #a0aec0;
  font-weight: 600;
}

.hub-roteiros-actions--tertiary {
  margin-top: 0.35rem;
  padding-top: 0;
  border-top: none;
}

.hub-roteiros-actions--tertiary .hub-roteiros-btn {
  font-size: 0.78rem;
  min-width: 5.5rem;
  opacity: 0.92;
}

.hub-roteiros-btn--pronta.is-active {
  background: rgba(39, 103, 73, 0.12);
  color: #276749;
  border: 1px solid rgba(39, 103, 73, 0.35);
}

.hub-roteiros-actions .hub-roteiros-btn--realizada {
  border-color: rgba(39, 103, 73, 0.4);
  color: #276749;
  background: rgba(39, 103, 73, 0.06);
}

.hub-roteiros-actions .hub-roteiros-btn--realizada:hover {
  background: rgba(39, 103, 73, 0.12);
}

.hub-roteiros-actions .hub-roteiros-btn--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
}

.hub-roteiros-actions .hub-roteiros-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hub-roteiros-actions .hub-roteiros-btn--favorito.is-active {
  background: rgba(102, 126, 234, 0.12);
  border-color: rgba(102, 126, 234, 0.55);
  color: #434190;
}

.hub-roteiros-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.hub-roteiros-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: #4c51bf;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.hub-roteiros-detail-duracao {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: #667eea;
  font-weight: 600;
}

.hub-roteiros-detail-block--compact {
  margin-bottom: 0.75rem;
}

.hub-roteiros-detail-block--etapas h3 {
  margin: 0;
}

.hub-roteiros-etapas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.hub-roteiros-etapas-tools {
  display: flex;
  gap: 0.65rem;
}

.hub-roteiros-text-btn {
  border: none;
  background: transparent;
  color: #667eea;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.hub-roteiros-etapas-panels {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-roteiros-etapa-panel {
  border: 1px solid rgba(26, 35, 50, 0.1);
  border-radius: 0.65rem;
  background: #fff;
  overflow: hidden;
}

.hub-roteiros-etapa-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  list-style: none;
}

.hub-roteiros-etapa-summary::-webkit-details-marker {
  display: none;
}

.hub-roteiros-etapa-summary__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hub-roteiros-etapa__tipo {
  font-size: 0.72rem;
  color: #6c757d;
  font-weight: 500;
}

.hub-roteiros-etapa-body {
  padding: 0.75rem 0.85rem 0.85rem;
  border-top: 1px solid rgba(26, 35, 50, 0.06);
}

.hub-roteiros-etapa-section {
  margin-top: 0.75rem;
}

.hub-roteiros-etapa-section__label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4c51bf;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hub-roteiros-prose {
  font-size: 0.86rem;
  color: #4a5568;
  line-height: 1.55;
}

.hub-roteiros-prose p {
  margin: 0 0 0.65rem;
}

.hub-roteiros-prose p:last-child {
  margin-bottom: 0;
}

.hub-roteiros-prose strong,
.hub-roteiros-prose b {
  color: #1a2332;
}

.hub-roteiros-prose a {
  color: #667eea;
  word-break: break-word;
}

.hub-roteiros-prose hr {
  border: none;
  border-top: 1px solid rgba(26, 35, 50, 0.1);
  margin: 0.75rem 0;
}

.hub-roteiros-prose ul,
.hub-roteiros-prose ol {
  margin: 0.35rem 0 0.65rem;
  padding-left: 1.2rem;
}

.hub-roteiros-perguntas {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: #4a5568;
}

.hub-roteiros-perguntas li {
  margin-bottom: 0.35rem;
}

.hub-roteiros-dicas {
  margin: 0;
  font-size: 0.86rem;
  color: #4a5568;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* Modo facilitação (Play) */

body.roteiros-play-open {
  overflow: hidden;
}

.roteiros-play-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: linear-gradient(165deg, #f7f9fc 0%, #eef1f8 45%, #e8ecf6 100%);
  display: flex;
  flex-direction: column;
}

.roteiros-play-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 42rem;
  width: 100%;
  margin: 0 auto;
}

.roteiros-play-head {
  flex: 0 0 auto;
  padding: max(0.75rem, env(safe-area-inset-top)) 1rem 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(26, 35, 50, 0.08);
  backdrop-filter: blur(8px);
}

.roteiros-play-offline-banner {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.55rem 1rem;
  background: rgba(254, 243, 199, 0.72);
  border-bottom: 1px solid rgba(234, 179, 8, 0.28);
  color: #6b5416;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
}

.roteiros-play-offline-banner p {
  margin: 0;
}

.roteiros-play-blocked-overlay {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.45);
}

.roteiros-play-blocked {
  width: 100%;
  max-width: 28rem;
  padding: 1.25rem 1.25rem 1.5rem;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.14);
}

.roteiros-play-blocked h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #1a2332;
}

.roteiros-play-blocked__msg {
  margin: 0 0 0.65rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.45;
}

.roteiros-play-blocked__hint {
  margin: 0 0 1rem;
  color: #5c667a;
  font-size: 0.84rem;
  line-height: 1.45;
}

.roteiros-play-blocked__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.roteiros-play-blocked__actions .roteiros-play-btn {
  min-width: 7rem;
}

@media (min-width: 520px) {
  .roteiros-play-blocked-overlay {
    align-items: center;
  }

  .roteiros-play-blocked {
    border-radius: 16px;
  }
}

.roteiros-play-head__row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.roteiros-play-exit {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: #1a2332;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.roteiros-play-head__text {
  flex: 1 1 auto;
  min-width: 0;
}

.roteiros-play-head__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2332;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.roteiros-play-head__sub {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: #5c667a;
  line-height: 1.35;
}

.roteiros-play-timer {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #4c51bf;
  background: rgba(102, 126, 234, 0.12);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}

.roteiros-play-timer--low {
  color: #c05621;
  background: rgba(255, 150, 57, 0.15);
}

.roteiros-play-timer--done {
  color: #276749;
  background: rgba(72, 187, 120, 0.15);
}

.roteiros-play-progress {
  margin-top: 0.55rem;
  height: 4px;
  border-radius: 999px;
  background: rgba(102, 126, 234, 0.15);
  overflow: hidden;
}

.roteiros-play-progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #667eea, #8a61e9);
  border-radius: inherit;
  transition: width 0.25s ease;
}

.roteiros-play-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 1rem 1rem 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.roteiros-play-step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.roteiros-play-step-meta__tipo,
.roteiros-play-step-meta__dur {
  font-size: 0.72rem;
  font-weight: 600;
  color: #4c51bf;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
}

.roteiros-play-step-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #1a2332;
}

.roteiros-play-section {
  margin-top: 0.85rem;
}

.roteiros-play-section__label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #667eea;
}

.roteiros-play-section--dicas {
  margin-top: 1rem;
  padding: 0.75rem 0.85rem;
  background: rgba(102, 126, 234, 0.08);
  border-radius: 12px;
  border-left: 3px solid #667eea;
}

.roteiros-play-dicas {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4a5568;
  white-space: pre-wrap;
}

.roteiros-play-perguntas {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #4a5568;
}

.roteiros-play-perguntas li {
  margin-bottom: 0.35rem;
}

.roteiros-play-foot {
  flex: 0 0 auto;
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem 1rem max(0.85rem, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(26, 35, 50, 0.08);
}

.roteiros-play-btn {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid rgba(102, 126, 234, 0.35);
  background: #fff;
  color: #4c51bf;
  border-radius: 999px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.roteiros-play-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.roteiros-play-btn--primary {
  background: linear-gradient(135deg, #667eea 0%, #8a61e9 100%);
  color: #fff;
  border-color: transparent;
}

.roteiros-play-btn--timer {
  flex: 0 0 auto;
  min-width: 5.5rem;
}

.roteiros-play-complete {
  text-align: center;
  padding: 2rem 0.5rem 1rem;
}

.roteiros-play-complete__icon {
  margin: 0 0 0.75rem;
  font-size: 2.5rem;
  line-height: 1;
  color: #48bb78;
}

.roteiros-play-complete h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.roteiros-play-complete p {
  margin: 0 0 1.25rem;
  color: #5c667a;
  font-size: 0.9rem;
  line-height: 1.5;
}

.roteiros-play-complete .roteiros-play-btn {
  max-width: 16rem;
  margin: 0 auto;
}

.roteiros-play-complete .roteiros-play-btn + .roteiros-play-btn {
  margin-top: 0.65rem;
}

.roteiros-play-empty {
  color: #5c667a;
  text-align: center;
  padding: 2rem 0.5rem;
}

.roteiros-play-prep {
  margin: 0 0.75rem;
  border: 1px solid rgba(102, 126, 234, 0.22);
  border-radius: 0.55rem;
  background: rgba(102, 126, 234, 0.06);
  font-size: 0.84rem;
}

.roteiros-play-prep summary {
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  font-weight: 600;
  color: #4c51bf;
}

.roteiros-play-prep__body {
  padding: 0 0.75rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.roteiros-play-prep-item h4 {
  margin: 0 0 0.2rem;
  font-size: 0.86rem;
}

.roteiros-play-prep-item p {
  margin: 0;
  font-size: 0.82rem;
  color: #4a5568;
  line-height: 1.45;
  white-space: pre-wrap;
}

@media (min-width: 768px) {
  .roteiros-play-overlay {
    padding: 1rem;
  }

  .roteiros-play-shell {
    max-height: min(92vh, 52rem);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(26, 35, 50, 0.18);
    overflow: hidden;
  }
}

/* Share sheet (roteiros) */
.hub-roteiros-share-overlay {
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.hub-roteiros-share-sheet {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0));
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 32px rgba(26, 35, 50, 0.12);
}

.hub-roteiros-share-sheet h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.hub-roteiros-share-url {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #5c667a;
  word-break: break-all;
}

.hub-roteiros-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hub-roteiros-share-btn {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d8dee8;
  border-radius: 10px;
  background: #f8fafc;
  color: #1a2332;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}

.hub-roteiros-share-btn:hover,
.hub-roteiros-share-btn:focus-visible {
  border-color: #48bb78;
  background: #f0fff4;
  outline: none;
}

.hub-roteiros-share-close {
  width: 100%;
}

@media (min-width: 640px) {
  .hub-roteiros-share-overlay {
    align-items: center;
    padding: 1rem;
  }

  .hub-roteiros-share-sheet {
    border-radius: 16px;
    padding-bottom: 1.25rem;
  }

  .hub-roteiros-share-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hub-roteiros-feedback-overlay {
  z-index: 12050;
}

.hub-roteiros-feedback-sheet {
  width: 100%;
  max-width: 28rem;
  max-height: min(92vh, 42rem);
  overflow-y: auto;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1.5rem;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.12);
}

.hub-roteiros-feedback-sheet h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.hub-roteiros-feedback-sub {
  margin: 0 0 0.75rem;
  color: #5c667a;
  font-size: 0.9rem;
  line-height: 1.45;
}

.hub-roteiros-feedback-roteiro {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2d3748;
}

.hub-roteiros-feedback-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hub-roteiros-feedback-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #2d3748;
}

.hub-roteiros-feedback-field input[type="date"],
.hub-roteiros-feedback-field input[type="number"],
.hub-roteiros-feedback-field input[type="file"],
.hub-roteiros-feedback-field textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.hub-roteiros-feedback-field textarea {
  resize: vertical;
  min-height: 5rem;
}

.hub-roteiros-feedback-photo-preview {
  margin-top: 0.35rem;
}

.hub-roteiros-feedback-photo-preview img {
  display: block;
  max-width: 100%;
  max-height: 10rem;
  border-radius: 8px;
  object-fit: cover;
}

.hub-roteiros-feedback-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #4a5568;
}

.hub-roteiros-feedback-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.hub-roteiros-feedback-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.hub-roteiros-feedback-sheet--invite {
  border-top: 3px solid #f6d643;
  background: linear-gradient(180deg, #fffef8 0%, #fff 42%);
}

.hub-roteiros-feedback-invite__icon {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  line-height: 1;
  text-align: center;
}

.hub-roteiros-feedback-invite__label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #7a6200;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hub-roteiros-feedback-invite__preview {
  margin: 0 0 1rem;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(246, 214, 67, 0.45);
  background: #fff8dc;
  color: #4a5568;
  font-size: 0.84rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.hub-roteiros-btn--setembro {
  background: linear-gradient(135deg, #f6d643 0%, #e6c620 100%);
  border-color: #d4b800;
  color: #4a3d00;
}

.hub-roteiros-btn--setembro:hover {
  filter: brightness(0.98);
}

.hub-roteiros-btn--ghost {
  background: transparent;
  border-color: transparent;
  color: #718096;
}

.hub-roteiros-btn--ghost:hover {
  background: #f7fafc;
}

.hub-roteiros-personal-badge {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #5a4a00;
  background: #fff8d6;
  border: 1px solid rgba(246, 214, 67, 0.55);
}

.hub-roteiros-detail-block--notas p {
  white-space: pre-wrap;
}

.hub-roteiros-edit-open {
  overflow: hidden;
}

.hub-roteiros-edit-overlay {
  position: fixed;
  inset: 0;
  z-index: 12040;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(15, 23, 42, 0.45);
}

.hub-roteiros-edit-sheet {
  width: 100%;
  max-width: 32rem;
  max-height: min(92vh, 44rem);
  overflow-y: auto;
  margin: 0 auto;
  padding: 1.15rem 1.15rem 1.35rem;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.18);
}

.hub-roteiros-edit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.hub-roteiros-edit-head h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.hub-roteiros-edit-close {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
  color: #718096;
  cursor: pointer;
  padding: 0.1rem 0.25rem;
}

.hub-roteiros-edit-sub {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #718096;
}

.hub-roteiros-edit-notice {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #4a5568;
  background: rgba(102, 126, 234, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.18);
}

.hub-roteiros-edit-etapas-hint {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #718096;
}

.hub-roteiros-edit-etapa--compact {
  padding: 0.55rem 0.65rem;
}

.hub-roteiros-edit-etapa__head {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
}

.hub-roteiros-edit-etapa__num {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4c51bf;
  padding-bottom: 0.55rem;
}

.hub-roteiros-edit-field--grow {
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
}

.hub-roteiros-edit-field--dur {
  flex: 0 0 5.5rem;
  margin-bottom: 0;
}

.hub-roteiros-edit-field--dur input {
  width: 100%;
}

.hub-roteiros-edit-etapa__site {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
}

.hub-roteiros-edit-etapa__site a {
  color: #4c51bf;
  font-weight: 600;
  text-decoration: none;
}

.hub-roteiros-edit-etapa__site a:hover {
  text-decoration: underline;
}

.hub-roteiros-edit-site-link {
  margin: 0.65rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(26, 35, 50, 0.08);
  font-size: 0.82rem;
}

.hub-roteiros-edit-site-link a {
  color: #4c51bf;
  font-weight: 700;
  text-decoration: none;
}

.hub-roteiros-edit-site-link a:hover {
  text-decoration: underline;
}

.hub-roteiros-edit-site-link__hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #718096;
  font-weight: 400;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hub-roteiros-edit-field {
  display: block;
  margin-bottom: 0.75rem;
}

.hub-roteiros-edit-field span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4a5568;
}

.hub-roteiros-edit-field input,
.hub-roteiros-edit-field textarea {
  width: 100%;
  border: 1px solid rgba(26, 35, 50, 0.14);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  font-size: 0.88rem;
  color: #1a202c;
  background: #fff;
}

.hub-roteiros-edit-field input:focus,
.hub-roteiros-edit-field textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.hub-roteiros-edit-field--inline input {
  max-width: 6rem;
}

.hub-roteiros-edit-etapas h3 {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  color: #2d3748;
}

.hub-roteiros-edit-etapa {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: 12px;
  background: #f8fafc;
}

.hub-roteiros-edit-etapa legend {
  padding: 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4c51bf;
}

.hub-roteiros-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.hub-roteiros-edit-actions .hub-roteiros-btn {
  flex: 1 1 auto;
}

.hub-roteiros-btn--danger {
  color: #c53030;
  border-color: rgba(197, 48, 48, 0.35);
}

@media (min-width: 640px) {
  .hub-roteiros-edit-overlay {
    align-items: center;
    padding: 1rem;
  }

  .hub-roteiros-edit-sheet {
    border-radius: 16px;
  }
}

@media (min-width: 640px) {
  .hub-roteiros-feedback-overlay {
    align-items: center;
    padding: 1rem;
  }

  .hub-roteiros-feedback-sheet {
    border-radius: 16px;
  }
}

/* Hub — Minhas rodas */
.hub-minhas-rodas-open {
  overflow: hidden;
}

.hub-minhas-rodas-sheet .hub-minhas-rodas-box {
  max-width: 42rem;
  width: 100%;
  max-height: min(92vh, 52rem);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.hub-minhas-rodas-head {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(26, 35, 50, 0.08);
}

.hub-minhas-rodas-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.hub-minhas-rodas-head__sub {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #5c667a;
}

.hub-minhas-rodas-close {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: #1a2332;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.hub-minhas-rodas-head__text {
  flex: 1 1 auto;
  min-width: 0;
}

.hub-minhas-rodas-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 0.85rem 1rem 1.25rem;
}

.hub-minhas-rodas-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hub-minhas-rodas-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: 12px;
  background: #fff;
}

.hub-minhas-rodas-item__body {
  flex: 1 1 auto;
  min-width: 0;
}

.hub-minhas-rodas-item__title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
}

.hub-minhas-rodas-item__meta {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: #5c667a;
}

.hub-minhas-rodas-item__actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.hub-minhas-rodas-item__play,
.hub-minhas-rodas-item__detail {
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  white-space: nowrap;
}

.hub-minhas-rodas-item__play {
  background: var(--gradient-cta, linear-gradient(135deg, #667eea, #764ba2));
  color: #fff;
}

.hub-minhas-rodas-item__detail {
  background: transparent;
  color: #4c51bf;
  border: 1px solid rgba(102, 126, 234, 0.35);
}

.hub-minhas-rodas-empty__hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #5c667a;
}

.hub-roteiros-sync-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}

.hub-roteiros-sync-bar--ok {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.hub-roteiros-sync-bar--pending {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
}

.hub-roteiros-sync-bar--guest {
  background: rgba(102, 126, 234, 0.06);
}

.hub-roteiros-sync-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.hub-roteiros-rascunhos-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hub-roteiros-drafts-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hub-roteiros-draft-item {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #fff;
}

.hub-roteiros-draft-item__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.hub-roteiros-draft-item__meta,
.hub-roteiros-draft-item__clone,
.hub-roteiros-draft-item__sync {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: #5c667a;
}

.hub-roteiros-draft-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.hub-admin-comments-sheet {
  z-index: 12050;
}

.hub-admin-comments-box {
  width: min(100%, 42rem);
  max-height: min(92vh, 52rem);
  display: flex;
  flex-direction: column;
}

.hub-admin-comments-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.65rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.hub-admin-comments-head__text h2 {
  margin: 0;
  font-size: 1.15rem;
}

.hub-admin-comments-head__sub {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: #5c667a;
  line-height: 1.45;
}

.hub-admin-comments-close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: #5c667a;
  cursor: pointer;
  padding: 0.1rem 0.35rem;
}

.hub-admin-comments-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1.1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hub-admin-comments-filter {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #5c667a;
}

.hub-admin-comments-filter select {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font: inherit;
  background: #fff;
}

.hub-admin-comments-count {
  font-size: 0.82rem;
  color: #5c667a;
}

.hub-admin-comments-body {
  overflow: auto;
  padding: 0.85rem 1.1rem 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.hub-admin-comments-status-msg {
  margin: 0;
  color: #5c667a;
  font-size: 0.92rem;
}

.hub-admin-comments-item {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: #fff;
}

.hub-admin-comments-item__head {
  display: grid;
  gap: 0.35rem;
}

.hub-admin-comments-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  font-size: 0.78rem;
  color: #5c667a;
}

.hub-admin-comments-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hub-admin-comments-status--published {
  background: rgba(0, 182, 184, 0.12);
  color: #007b7d;
}

.hub-admin-comments-status--hidden {
  background: rgba(255, 150, 57, 0.14);
  color: #b45309;
}

.hub-admin-comments-item__roteiro {
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}

.hub-admin-comments-item__roteiro:hover {
  text-decoration: underline;
}

.hub-admin-comments-item__author {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: #5c667a;
}

.hub-admin-comments-item__body {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #1e293b;
  white-space: pre-wrap;
}

.hub-admin-comments-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.hub-admin-comments-more {
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
}

.app-menu-sheet__item--admin {
  color: #0f766e;
  font-weight: 600;
}
