
/* My Baldner pages using Baldner UI v0.1 — public alpha */
.my-baldner .bd-shell-main { background: linear-gradient(180deg, #fff 0%, #fff 44%, #fbfcfd 100%); }
.my-search { width: min(320px, 42vw); position: relative; display: flex; align-items: center; }
.my-search > span { position: absolute; left: 13px; color: var(--bd-color-muted-2); z-index: 1; }
.my-search .bd-input { padding-left: 36px; border-radius: 16px; }
.my-metrics { margin: 0 0 18px; }
.bd-metric-card { padding: 18px; }
.bd-metric-card strong { display: block; margin-top: 8px; color: var(--bd-color-ink); font-size: 30px; line-height: 1; letter-spacing: -0.05em; font-weight: 780; }
.bd-metric-card small { display: block; margin-top: 8px; color: var(--bd-color-muted); font-size: 12px; line-height: 1.35; }
.bd-label { display: inline-flex; color: var(--bd-color-primary-ink); font-size: 11px; font-weight: 860; letter-spacing: .1em; text-transform: uppercase; }
.my-dashboard-layout { margin-top: 20px; }
.my-section-card { margin-top: 18px; }
.my-list { display: grid; gap: 10px; }
.my-item,
.app-item,
.state-item,
.service-option,
.quote-item,
.quote-line,
.quote-detail-summary { border: 1px solid var(--bd-color-line); border-radius: 18px; background: #fff; padding: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--bd-color-ink); text-decoration: none; }
.my-item strong,
.app-item strong,
.state-item strong,
.service-option strong,
.quote-item strong,
.quote-detail-summary strong { display: block; color: var(--bd-color-ink); font-size: 14px; line-height: 1.25; }
.my-item small,
.app-item small,
.state-item small,
.service-option small,
.quote-item small,
.quote-detail-summary small { display: block; margin-top: 4px; color: var(--bd-color-muted); font-size: 12px; line-height: 1.35; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; width: fit-content; border-radius: 999px; padding: 6px 10px; font-size: 11px; line-height: 1; font-weight: 760; white-space: nowrap; background: #f2f4f7; color: #7c858f; }
.status-pill.active,
.status-pill.available,
.status-pill.connected,
.status-pill.accepted { background: var(--bd-color-success-soft); color: var(--bd-color-success); }
.status-pill.planned,
.status-pill.draft,
.status-pill.pending_contract,
.status-pill.pending_signature { background: var(--bd-color-primary-soft); color: var(--bd-color-primary-ink); }
.status-pill.cancelled,
.status-pill.expired { background: var(--bd-color-danger-soft); color: var(--bd-color-danger); }
.my-service-options { display: grid; gap: 10px; }
.service-option { width: 100%; cursor: pointer; text-align: left; }
.service-option:hover,
.service-option.selected { border-color: #bcd2ee; background: var(--bd-color-primary-soft); box-shadow: var(--bd-shadow-xs); }
.bd-w-100 { width: 100%; }
.my-hint { color: var(--bd-color-muted); font-size: 12px; line-height: 1.4; }
.my-quote-list { display: grid; gap: 12px; }
.quote-item { display: grid; align-items: stretch; }
.quote-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.quote-lines { display: grid; gap: 8px; margin-top: 10px; }
.quote-line { justify-content: flex-start; color: var(--bd-color-muted); font-size: 12px; }
.quote-action-row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.quote-detail-grid,
.my-summary-grid { margin-top: 14px; }
.quote-acceptance-note { border: 1px solid #d9e7fb; background: var(--bd-color-info-soft); color: #426caa; border-radius: 16px; padding: 12px 14px; font-size: 12px; line-height: 1.45; margin-top: 12px; }
.my-timeline { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.my-timeline-step { border: 1px solid var(--bd-color-line); border-radius: 18px; background: #fff; padding: 12px; min-height: 96px; display: grid; align-content: start; gap: 7px; }
.my-timeline-step span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: #f2f4f7; color: #6f7782; font-size: 12px; font-weight: 820; }
.my-timeline-step strong { color: var(--bd-color-ink); font-size: 13px; }
.my-timeline-step small { color: var(--bd-color-muted); font-size: 11px; line-height: 1.3; }
.my-timeline-step.done span,
.my-timeline-step.current span { background: var(--bd-color-primary); color: #fff; }
.my-timeline-step.current { border-color: #bcd2ee; background: var(--bd-color-primary-soft); }
.my-records { margin-top: 14px; }
.my-footer { margin-top: 30px; color: var(--bd-color-muted); font-size: 12px; line-height: 1.5; }
.is-hidden-by-search { display: none !important; }
@media (max-width: 980px) {
  .my-search { width: 100%; }
  .my-metrics,
  .bd-grid-4,
  .my-timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .my-metrics,
  .bd-grid-4,
  .my-timeline { grid-template-columns: 1fr; }
  .quote-item-head,
  .my-item,
  .app-item,
  .state-item,
  .service-option { align-items: flex-start; flex-direction: column; }
}

.my-home-hero { margin-top: 20px; }
.my-home-shortcuts { margin-top: 18px; }
.my-shortcut-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.my-shortcut-card { display: grid; gap: 8px; min-height: 150px; border: 1px solid var(--bd-color-line); border-radius: 22px; background: #fff; padding: 18px; text-decoration: none; color: inherit; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.my-shortcut-card:hover { transform: translateY(-1px); border-color: var(--bd-color-primary); box-shadow: 0 18px 48px rgba(71,118,184,.10); text-decoration: none; }
.my-shortcut-card span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 14px; background: var(--bd-color-primary-soft); color: var(--bd-color-primary-ink); font-weight: 850; }
.my-shortcut-card strong { color: var(--bd-color-ink); font-size: 15px; letter-spacing: -0.02em; }
.my-shortcut-card small { color: var(--bd-color-muted); font-size: 12px; line-height: 1.35; }
@media (max-width: 1100px) { .my-shortcut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .my-shortcut-grid { grid-template-columns: 1fr; } }

/* Patch 3 — shell/mobile polish */
.my-baldner .bd-shell-nav-link.is-active {
  background: var(--bd-color-primary-soft);
  color: var(--bd-color-primary-ink);
}

.bd-mobile-scrim {
  display: none;
}

@media (max-width: 860px) {
  .my-baldner .bd-shell-sidebar {
    transform: translateX(-110%);
    transition: transform .18s ease;
    z-index: 120;
  }

  body.my-shell-open .bd-shell-sidebar {
    transform: translateX(0);
  }

  body.my-shell-open .bd-mobile-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(24,24,24,.22);
    backdrop-filter: blur(5px);
  }
}

/* Patch 4 — solicitações page */
.my-request-hero { margin-top: 20px; }
.my-request-steps { margin: 18px 0 20px; }
.my-step-card { min-height: 142px; display: grid; gap: 8px; align-content: start; }
.my-step-card span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px; background: var(--bd-color-primary-soft); color: var(--bd-color-primary-ink); font-size: 12px; font-weight: 860; }
.my-step-card strong { color: var(--bd-color-ink); font-size: 15px; letter-spacing: -0.02em; }
.my-step-card small { color: var(--bd-color-muted); font-size: 12px; line-height: 1.45; }
.my-request-layout { align-items: stretch; }
.my-request-catalog .bd-area-body,
.my-request-builder .bd-area-body { display: grid; gap: 14px; }
.my-selected-service-card { border: 1px solid var(--bd-color-line); border-radius: 22px; background: #fff; padding: 16px; }
.my-selected-service-card .bd-title-3 { margin-top: 12px; }
.my-draft-block { border: 1px solid var(--bd-color-line); border-radius: 22px; background: #fbfcfd; padding: 16px; }
.my-request-actions { display: grid; gap: 10px; }
.my-request-guardrail { margin-top: 18px; }
@media (max-width: 860px) {
  .my-request-steps { grid-template-columns: 1fr; }
}

/* Patch 5 — orçamentos page */
.my-quotes-hero { margin-top: 20px; }
.my-quote-steps { margin: 18px 0 20px; }
.my-quotes-layout { align-items: stretch; }
.my-quotes-list-panel .bd-area-body,
.my-quotes-detail-panel .bd-area-body { display: grid; gap: 14px; }
.my-quote-guardrail { margin-top: 18px; }
.my-quotes-detail-panel .quote-detail-summary { align-items: flex-start; }
.my-quotes-detail-panel .quote-detail-grid { margin-top: 12px; }
.my-quotes-detail-panel .quote-action-row { justify-content: stretch; }
.my-quotes-detail-panel .quote-action-row .bd-btn { flex: 1; }
@media (max-width: 860px) {
  .my-quote-steps { grid-template-columns: 1fr; }
}

/* Patch 6 — contratos page */
.my-contracts-hero { margin-top: 20px; }
.my-contract-steps { margin: 18px 0 20px; }
.my-contracts-layout { align-items: stretch; }
.my-contracts-list-panel .bd-area-body,
.my-contracts-context-panel .bd-area-body { display: grid; gap: 14px; }
.my-contract-list .quote-detail-summary,
.my-contract-list .quote-line,
.my-contract-list .quote-item { align-items: flex-start; }
.my-context-list { display: grid; gap: 10px; }
.my-context-item { border: 1px solid var(--bd-color-line); border-radius: 18px; background: #fff; padding: 14px; display: grid; gap: 5px; }
.my-context-item strong { color: var(--bd-color-ink); font-size: 13px; letter-spacing: -0.01em; }
.my-context-item small { color: var(--bd-color-muted); font-size: 12px; line-height: 1.4; }
@media (max-width: 860px) {
  .my-contract-steps { grid-template-columns: 1fr; }
}

/* Patch 7 — faturas page */
.my-invoices-hero { margin-top: 20px; }
.my-invoice-steps { margin: 18px 0 20px; }
.my-invoices-layout { align-items: stretch; }
.my-invoices-list-panel .bd-area-body,
.my-invoices-context-panel .bd-area-body { display: grid; gap: 14px; }
.my-invoice-list .quote-detail-summary,
.my-invoice-list .quote-line,
.my-invoice-list .quote-item { align-items: flex-start; }
@media (max-width: 860px) {
  .my-invoice-steps { grid-template-columns: 1fr; }
}

/* Patch 8 — ciclo comercial page */
.my-cycle-hero { margin-top: 20px; }
.my-cycle-layout { margin-top: 18px; align-items: stretch; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); }
.my-cycle-main-panel .bd-area-body,
.my-cycle-records-panel .bd-area-body { display: grid; gap: 14px; }
.my-cycle-timeline { margin-bottom: 4px; }
.my-cycle-records-panel .quote-detail-summary,
.my-cycle-records-panel .quote-line,
.my-cycle-records-panel .quote-item { align-items: flex-start; }
.my-cycle-guardrail { margin-top: 18px; }
@media (max-width: 1040px) {
  .my-cycle-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .my-cycle-timeline { grid-template-columns: 1fr; }
}

/* Patch 9 — apps/ecossistema page */
.my-apps-hero { margin-top: 20px; }
.my-apps-steps { margin: 18px 0 20px; }
.my-apps-layout { align-items: stretch; }
.my-apps-list-panel .bd-area-body,
.my-apps-navigation-panel .bd-area-body { display: grid; gap: 14px; }
.my-app-list .quote-detail-summary,
.my-app-list .quote-line,
.my-app-list .quote-item,
.my-navigation-list .quote-detail-summary,
.my-navigation-list .quote-line,
.my-navigation-list .quote-item { align-items: flex-start; }
.my-apps-guardrail { margin-top: 18px; }
@media (max-width: 860px) {
  .my-apps-steps { grid-template-columns: 1fr; }
}

/* Patch 10 — configurações page */
.my-settings-hero { margin-top: 20px; }
.my-settings-steps { margin: 18px 0 20px; }
.my-settings-layout { align-items: stretch; }
.my-settings-account-panel .bd-area-body,
.my-settings-context-panel .bd-area-body { display: grid; gap: 14px; }
.my-settings-state-list .my-item { align-items: flex-start; }
.my-settings-actions { display: grid; gap: 10px; }
.my-settings-guardrail { margin-top: 18px; }
@media (max-width: 860px) {
  .my-settings-steps { grid-template-columns: 1fr; }
}

/* Patch 11 — auth callback */
.my-auth-callback {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.my-auth-callback-card {
  width: min(560px, 100%);
  display: grid;
  gap: 16px;
}

/* v0.7P UX2: prevent auth button flicker before session resolution */
.my-baldner #loginLink {
  visibility: hidden;
}

.my-baldner.my-auth-ready #loginLink {
  visibility: visible;
}


/* v0.7P UX3B: Chronos / Dashboard home tabs */
.my-home-mode-switch {
  display: flex;
  justify-content: center;
  margin: 6px 0 26px;
}

.my-segmented-tabs {
  display: inline-flex;
  align-items: center;
  width: min(360px, 100%);
  padding: 7px;
  border: 1px solid rgba(24,24,24,.12);
  border-radius: 999px;
  background: #f4f4f4;
  box-shadow: inset 0 1px 2px rgba(24,24,24,.06), 0 1px 0 rgba(255,255,255,.8);
}

.my-segmented-tab {
  flex: 1;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #181818;
  font: inherit;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 780;
  letter-spacing: -.04em;
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.my-segmented-tab.is-active {
  background: #fff;
  box-shadow: 0 1px 2px rgba(24,24,24,.10), 0 10px 24px rgba(24,24,24,.06);
}

.my-segmented-tab:focus-visible {
  outline: 3px solid rgba(71,118,184,.28);
  outline-offset: 3px;
}

.my-home-panel[hidden] {
  display: none !important;
}

.my-chronos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 18px;
  align-items: stretch;
}

.my-chronos-console,
.my-chronos-context {
  padding: clamp(18px, 3vw, 28px);
}

.my-chronos-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.my-chronos-dialog {
  display: grid;
  gap: 14px;
  min-height: 210px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(71,118,184,.14);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff 0%, #eef5ff 100%);
}

.my-chat-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.my-chat-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: #181818;
  color: #fff;
  font-weight: 780;
}

.my-chat-bubble {
  max-width: 720px;
  padding: 16px 18px;
  border: 1px solid rgba(24,24,24,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 40px rgba(24,24,24,.06);
}

.my-chat-bubble strong {
  display: block;
  margin-bottom: 6px;
  color: #181818;
  font-size: 20px;
  letter-spacing: -.03em;
}

.my-chat-bubble p {
  margin: 0;
  color: var(--bd-color-muted);
  line-height: 1.55;
}

.my-chronos-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.my-chronos-suggestions button {
  border: 1px solid rgba(24,24,24,.10);
  border-radius: 999px;
  background: #fff;
  color: #181818;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(24,24,24,.04);
}

.my-chronos-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.my-chronos-input textarea {
  min-height: 86px;
  resize: vertical;
}

.my-context-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.my-context-item {
  padding: 14px;
  border: 1px solid rgba(24,24,24,.08);
  border-radius: 18px;
  background: #fff;
}

.my-context-item strong {
  display: block;
  color: #181818;
  font-size: 14px;
}

.my-context-item small {
  display: block;
  margin-top: 4px;
  color: var(--bd-color-muted);
  line-height: 1.4;
}

@media (max-width: 860px) {
  .my-chronos-layout {
    grid-template-columns: 1fr;
  }

  .my-chronos-input {
    grid-template-columns: 1fr;
  }

  .my-segmented-tabs {
    width: min(320px, 100%);
  }

  .my-segmented-tab {
    min-height: 50px;
  }
}


/* v0.7P UX4: Chronos assistant start */
.my-home-panel-chronos {
  min-height: min(680px, calc(100vh - 230px));
}

.my-chronos-start {
  width: min(980px, 100%);
  margin: clamp(22px, 5vw, 58px) auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.my-chronos-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: #181818;
  color: #fff;
  font-weight: 780;
  box-shadow: 0 18px 38px rgba(24,24,24,.14);
}

.my-chronos-greeting {
  margin: 0;
  color: #181818;
  font-size: clamp(32px, 5vw, 54px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 790;
}

.my-chronos-lead {
  width: min(720px, 100%);
  margin: 16px auto 28px;
  color: var(--bd-color-muted);
  font-size: 17px;
  line-height: 1.55;
}

.my-chronos-composer {
  width: min(760px, 100%);
  padding: 14px 16px 12px;
  border: 1px solid rgba(24,24,24,.10);
  border-radius: 28px;
  background: #f7f7f7;
  box-shadow: 0 18px 44px rgba(24,24,24,.07);
  box-sizing: border-box;
}

.my-chronos-composer textarea {
  width: 100%;
  min-height: 62px;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: #181818;
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  box-sizing: border-box;
}

.my-chronos-composer textarea::placeholder {
  color: rgba(24,24,24,.42);
}

.my-chronos-composer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.my-chronos-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.my-chronos-tools button {
  border: 1px solid rgba(24,24,24,.08);
  border-radius: 999px;
  background: #fff;
  color: #181818;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 680;
  cursor: pointer;
}

.my-chronos-send {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #181818;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(24,24,24,.18);
}

.my-chronos-capabilities {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.my-chronos-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(24,24,24,.08);
  border-radius: 24px;
  background: #fff;
  color: #181818;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(24,24,24,.045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.my-chronos-card:hover {
  transform: translateY(-3px);
  border-color: rgba(71,118,184,.28);
  box-shadow: 0 18px 42px rgba(24,24,24,.075);
}

.my-chronos-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 1px solid rgba(24,24,24,.08);
  border-radius: 16px;
  background: #eef5ff;
  color: #181818;
}

.my-chronos-card strong {
  display: block;
  color: #181818;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.my-chronos-card small {
  display: block;
  margin-top: 7px;
  color: var(--bd-color-muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .my-chronos-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .my-home-mode-switch {
    margin-top: 0;
  }

  .my-chronos-start {
    margin-top: 26px;
  }

  .my-chronos-capabilities {
    grid-template-columns: 1fr;
  }

  .my-chronos-composer-bar {
    align-items: stretch;
  }

  .my-chronos-tools {
    flex: 1;
  }
}


/* v0.7P UX tab harmony: smaller segmented control */
.my-home-mode-switch {
  margin: 2px 0 24px;
}

.my-segmented-tabs {
  width: min(300px, 100%);
  padding: 5px;
}

.my-segmented-tab {
  min-height: 44px;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 720;
  letter-spacing: -.025em;
}

.my-segmented-tab.is-active {
  box-shadow: 0 1px 2px rgba(24,24,24,.09), 0 8px 18px rgba(24,24,24,.045);
}

@media (max-width: 640px) {
  .my-segmented-tabs {
    width: min(284px, 100%);
  }

  .my-segmented-tab {
    min-height: 42px;
    font-size: 15px;
  }
}


/* v0.7P UX5: dashboard title belongs inside dashboard tab */
.my-topbar-spacer {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
}

.my-dashboard-panel-intro {
  width: min(760px, 100%);
  margin: 0 0 24px;
}

.my-dashboard-panel-intro .bd-eyebrow {
  margin-bottom: 18px;
}

#homePanelDashboard .my-home-hero {
  margin-top: 0;
}

.my-home-mode-switch {
  margin-top: clamp(8px, 2vw, 18px);
}

@media (max-width: 760px) {
  .my-topbar-spacer {
    min-height: auto;
  }

  .my-dashboard-panel-intro {
    margin-top: 10px;
  }
}


/* v0.7P UX6: dashboard search/actions live inside dashboard tab */
.bd-topbar:has(.my-topbar-spacer) {
  min-height: 44px;
}

.my-dashboard-panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 20px;
}

.my-dashboard-panel-actions .my-search {
  min-width: min(360px, 100%);
}

@media (max-width: 760px) {
  .my-dashboard-panel-actions {
    align-items: stretch;
  }

  .my-dashboard-panel-actions .my-search {
    width: 100%;
  }
}


/* v0.7P UX7B: hard collapse empty home topbar */
.my-baldner[data-page="dashboard"] .bd-topbar:has(.my-topbar-spacer) {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.my-baldner[data-page="dashboard"] .my-home-mode-switch {
  margin-top: 0 !important;
}

@media (max-width: 640px) {
  .my-baldner[data-page="dashboard"] .bd-topbar:has(.my-topbar-spacer) {
    display: flex !important;
    height: auto !important;
    min-height: auto !important;
    margin-bottom: 14px !important;
    overflow: visible !important;
  }
}


/* v0.7R: Chronos gateway conversation surface */
.my-chronos-thread {
  width: min(760px, 100%);
  display: grid;
  gap: 12px;
  margin: 0 auto 16px;
  text-align: left;
}

.my-chronos-thread[hidden] {
  display: none !important;
}

.my-chronos-thread-message {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.my-chronos-thread-message.is-user {
  justify-content: flex-end;
}

.my-chronos-thread-bubble {
  max-width: min(620px, 88%);
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(24,24,24,.08);
  background: #fff;
  color: #181818;
  line-height: 1.48;
  box-shadow: 0 10px 26px rgba(24,24,24,.045);
}

.my-chronos-thread-message.is-user .my-chronos-thread-bubble {
  background: #181818;
  color: #fff;
  border-color: #181818;
}

.my-chronos-thread-bubble small {
  display: block;
  margin-bottom: 6px;
  color: inherit;
  opacity: .62;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.my-chronos-thread-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.my-chronos-thread-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(24,24,24,.10);
  background: #eef5ff;
  color: #181818;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
}

.my-chronos-composer.is-busy {
  opacity: .72;
  pointer-events: none;
}

@media (max-width: 640px) {
  .my-chronos-thread-bubble {
    max-width: 94%;
  }
}

/* v0.8E.13 — Files directory navigation, preview and menu fix */
.my-baldner .bd-card,
.my-baldner .bd-area,
.my-baldner .bd-hero,
.my-baldner .bd-hero-progress {
  overflow: hidden;
}

.my-baldner .bd-card {
  padding: clamp(20px, 2.2vw, 28px);
}

.my-baldner .bd-area {
  padding: 0;
}

.my-baldner .bd-area-header,
.my-baldner .bd-card-header {
  padding: clamp(20px, 2.2vw, 28px);
  margin: 0;
}

.my-baldner .bd-area-body,
.my-baldner .bd-card-body {
  padding: 0 clamp(20px, 2.2vw, 28px) clamp(20px, 2.2vw, 28px);
}

.my-baldner[data-page="files"].my-files-manager-page .bd-shell-content {
  max-width: 1380px;
}

.my-files-manager {
  display: grid;
  gap: 28px;
  position: relative;
}

.my-files-loading {
  position: absolute;
  z-index: 70;
  inset: 0;
  min-height: 70vh;
  display: none;
  place-items: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(3px);
}

.my-files-manager.is-loading .my-files-loading {
  display: grid;
}

.my-files-loading-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(71, 118, 184, 0.18);
  border-top-color: #4776b8;
  border-radius: 50%;
  animation: my-files-loading-spin 0.8s linear infinite;
}

@keyframes my-files-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .my-files-loading-spinner {
    animation-duration: 1.6s;
  }
}

.my-files-manager-topbar {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr);
  gap: 14px;
  align-items: center;
}

.my-files-search {
  min-height: 56px;
  border: 1px solid rgba(24, 24, 24, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 24, 24, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.my-files-search span {
  color: #667085;
  font-size: 22px;
}

.my-files-search .bd-input {
  border: 0;
  box-shadow: none;
  padding: 0;
  min-height: auto;
  font-size: 18px;
}

.my-files-action-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 18px;
}

.my-files-action-card {
  min-height: 104px;
  border: 1px solid rgba(24, 24, 24, 0.12);
  border-radius: 22px;
  background: #fff;
  color: #181818;
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: center;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(24, 24, 24, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.my-files-action-card:hover {
  transform: translateY(-1px);
  border-color: rgba(71, 118, 184, 0.28);
  box-shadow: 0 20px 44px rgba(24, 24, 24, 0.08);
}

.my-files-action-card.is-primary {
  background: #181818;
  border-color: #181818;
  color: #fff;
}

.my-files-action-card span {
  font-size: 25px;
  line-height: 1;
}

.my-files-action-card strong {
  font-size: 19px;
  letter-spacing: -0.03em;
}

.my-files-action-card small {
  color: inherit;
  opacity: 0.66;
}

.my-files-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
}

.my-files-heading-row .bd-title-1 {
  margin-top: 10px;
}

.my-files-heading-row .bd-description {
  margin-top: 8px;
}

.my-files-view-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.my-files-view-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(24, 24, 24, 0.10);
  border-radius: 14px;
  background: #fff;
  color: #181818;
  font: inherit;
  cursor: pointer;
}

.my-files-view-controls button.is-active {
  background: #181818;
  border-color: #181818;
  color: #fff;
}

.my-files-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.my-files-filter-row button,
.my-files-sort {
  min-height: 42px;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #181818;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 650;
}

.my-files-filter-row button {
  cursor: pointer;
}

.my-files-filter-row button.is-active {
  background: #eef5ff;
  color: #4776b8;
  border-color: rgba(71, 118, 184, 0.18);
}

.my-files-sort {
  margin-left: auto;
}

.my-files-sort button {
  width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.my-files-hidden-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.my-files-inline-upload {
  border: 1px solid rgba(71, 118, 184, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #eef5ff);
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(180px, 0.8fr) 150px auto;
  gap: 14px;
  align-items: end;
}

.my-files-inline-upload[hidden] {
  display: none;
}

.my-files-inline-upload label {
  display: grid;
  gap: 6px;
  color: #667085;
  font-size: 13px;
}

.my-files-inline-upload strong,
.my-files-inline-upload small {
  display: block;
}

.my-files-inline-upload small {
  color: #667085;
  margin-top: 4px;
}

.my-files-upload-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.my-files-manager-progress {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(24, 24, 24, 0.08);
}

.my-files-manager-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: #4776b8;
  transition: width 180ms ease;
}

.my-files-folder-section {
  display: grid;
  gap: 14px;
}

.my-files-folder-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.my-files-folder-header strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.my-files-folder-header small {
  color: #667085;
}

.my-files-folder-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 12px;
  scrollbar-width: thin;
}

.my-folder-card {
  flex: 0 0 220px;
  min-height: 96px;
  border: 1px solid rgba(24, 24, 24, 0.10);
  border-radius: 40px;
  background: #fff;
  color: #181818;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(24, 24, 24, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.my-folder-card:hover,
.my-folder-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(71, 118, 184, 0.34);
  box-shadow: 0 22px 48px rgba(24, 24, 24, 0.08);
}

.my-folder-card.is-drop-target {
  border-color: rgba(71, 118, 184, 0.72);
  background:
    radial-gradient(circle at 88% 18%, rgba(71, 118, 184, 0.16), transparent 34%),
    #eef5ff;
  box-shadow:
    0 0 0 4px rgba(71, 118, 184, 0.12),
    0 24px 58px rgba(24, 24, 24, 0.12);
  transform: translateY(-2px);
}

.my-folder-card.is-drop-target::after {
  content: "Soltar aqui";
  position: absolute;
  right: 18px;
  bottom: 14px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #181818;
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
}

.my-folder-card {
  position: relative;
}

.my-folder-card span {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #eef5ff;
  color: #4776b8;
  font-weight: 900;
}

.my-folder-card strong,
.my-folder-card small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-folder-card small {
  color: #667085;
}

.my-files-grid-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-bottom: 1px solid rgba(24, 24, 24, 0.08);
  padding-bottom: 12px;
}

.my-files-grid-header strong {
  font-size: 18px;
}

.my-files-grid-header span {
  color: #667085;
}

.my-files-browser-grid {
  display: grid;
  gap: 18px;
  overflow: visible;
}

.my-files-browser-grid.is-grid-view {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  align-items: start;
}

.my-files-browser-grid.is-list-view {
  grid-template-columns: 1fr;
  gap: 10px;
}

.my-file-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 22px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(24, 24, 24, 0.035);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  overflow: visible;
}

.my-file-card:hover,
.my-file-card.is-selected,
.my-file-row:hover,
.my-file-row.is-selected {
  border-color: rgba(71, 118, 184, 0.34);
  box-shadow: 0 18px 40px rgba(24, 24, 24, 0.07);
  transform: translateY(-1px);
}

.my-file-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.my-file-kind {
  display: inline-flex;
  min-height: 24px;
  padding: 0 8px;
  align-items: center;
  border-radius: 999px;
  background: #eef5ff;
  color: #4776b8;
  font-size: 11px;
  font-weight: 850;
}

.my-file-thumb {
  aspect-ratio: 1.42;
  border-radius: 16px;
  background:
    radial-gradient(circle at 76% 20%, rgba(71, 118, 184, 0.18), transparent 38%),
    #f6f8fb;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.my-file-thumb span {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #eef5ff;
  color: #4776b8;
  font-weight: 900;
  font-size: 12px;
}

.my-file-card-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.my-file-card-body strong,
.my-file-row-main strong {
  min-width: 0;
  color: #181818;
  font-size: 15px;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-file-card-body small,
.my-file-row-main small,
.my-file-row-folder,
.my-file-row-date {
  min-width: 0;
  color: #667085;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-file-row {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 22px;
  background: #fff;
  padding: 12px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(130px, 0.42fr) 120px 44px;
  gap: 14px;
  align-items: center;
  box-shadow: 0 12px 28px rgba(24, 24, 24, 0.035);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  overflow: visible;
  z-index: 1;
}

.my-file-row.is-menu-open,
.my-file-card.is-menu-open {
  z-index: 120;
}

.my-file-row-thumb {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 18%, rgba(71, 118, 184, 0.18), transparent 42%),
    #f6f8fb;
  display: grid;
  place-items: center;
}

.my-file-row-thumb span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef5ff;
  color: #4776b8;
  font-weight: 900;
  font-size: 11px;
}

.my-file-row-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.my-file-menu-wrap {
  position: relative;
  justify-self: end;
}

.my-file-menu-button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #181818;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.my-file-actions-menu {
  position: fixed;
  z-index: 9999;
  border: 1px solid rgba(24, 24, 24, 0.10);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(24, 24, 24, 0.18);
  padding: 8px;
  display: grid;
  gap: 4px;
}

.my-file-actions-menu button {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #181818;
  font: inherit;
  font-size: 14px;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
}

.my-file-actions-menu button:hover {
  background: #eef5ff;
  color: #4776b8;
}

.my-file-actions-menu button.is-danger:hover {
  background: rgba(200, 70, 70, 0.10);
  color: #a53d3d;
}

.my-files-public-link {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 18px;
  background: #f7f9fc;
  padding: 12px;
}

.my-files-public-link span {
  color: #667085;
  font-size: 13px;
}

.my-files-public-link div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.my-files-empty {
  grid-column: 1 / -1;
  min-height: 150px;
  border: 1px dashed rgba(24, 24, 24, 0.14);
  border-radius: 24px;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 4px;
  padding: 24px;
}

.my-files-empty small {
  color: #667085;
}

.my-files-activity-dock {
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 0;
}

.my-files-activity-dock small {
  display: block;
  color: #667085;
  margin-top: 4px;
}

.my-files-manager-log-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(24, 24, 24, 0.08);
  padding: 10px 12px;
}

.my-files-manager-log-item span {
  color: #98a2b3;
  font-size: 12px;
}

.my-files-manager-log-item p {
  margin: 0;
  color: #344054;
  font-size: 13px;
}

.my-files-manager-log-item.is-success p {
  color: #1f7a6f;
}

.my-files-manager-log-item.is-error p {
  color: #a53d3d;
}

.my-files-drag-overlay {
  position: fixed;
  z-index: 80;
  inset: 18px;
  border: 2px dashed rgba(71, 118, 184, 0.55);
  border-radius: 32px;
  background: rgba(238, 245, 255, 0.88);
  backdrop-filter: blur(10px);
  display: none;
  place-items: center;
  pointer-events: none;
}

body.is-files-dragging .my-files-drag-overlay {
  display: grid;
}

.my-files-drag-overlay div {
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(24, 24, 24, 0.12);
  padding: 28px 34px;
  text-align: center;
  display: grid;
  gap: 6px;
}

.my-files-drag-overlay strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.my-files-drag-overlay small {
  color: #667085;
}

.my-files-preview-modal[hidden] {
  display: none !important;
}

.my-files-preview-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(24, 24, 24, 0.34);
  backdrop-filter: blur(9px);
}

.my-files-preview-dialog {
  width: min(1280px, calc(100vw - 52px));
  height: min(860px, calc(100vh - 52px));
  border: 1px solid rgba(24, 24, 24, 0.10);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(24, 24, 24, 0.24);
  padding: 24px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  overflow: hidden;
}

.my-files-preview-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.my-files-preview-header h2 {
  max-width: 760px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-files-preview-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.my-files-preview-actions [data-files-preview-close] {
  width: 42px;
  padding: 0;
  font-size: 18px;
}

.my-files-preview-body {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 22px;
  background: #f7f9fc;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.my-files-preview-canvas {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f7f9fc;
}

.my-files-preview-media {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.my-files-preview-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

.my-files-preview-audio {
  width: min(720px, 90%);
}

.my-files-preview-text {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 22px;
  overflow: auto;
  background: #fff;
  color: #181818;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

body.is-files-preview-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .my-files-action-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }

  .my-files-inline-upload {
    grid-template-columns: 1fr 1fr;
  }

  .my-files-upload-actions {
    grid-column: 1 / -1;
  }

  .my-file-row {
    grid-template-columns: 54px minmax(0, 1fr) 44px;
  }

  .my-file-row-folder,
  .my-file-row-date {
    display: none;
  }
}

@media (max-width: 760px) {
  .my-files-manager-topbar,
  .my-files-heading-row,
  .my-files-inline-upload {
    grid-template-columns: 1fr;
  }

  .my-files-action-grid {
    grid-template-columns: 1fr 1fr;
  }

  .my-folder-card {
    flex-basis: 190px;
  }

  .my-files-sort {
    margin-left: 0;
  }

  .my-files-browser-grid.is-grid-view {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .my-files-preview-modal {
    padding: 12px;
  }

  .my-files-preview-dialog {
    width: calc(100vw - 24px);
    height: calc(100vh - 24px);
    border-radius: 22px;
    padding: 16px;
  }

  .my-files-preview-header {
    grid-template-columns: 1fr;
  }
}

/* v0.8E.14.1 — Files true directory navigation model fix */
.my-files-breadcrumb {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.my-files-breadcrumb button {
  min-height: 34px;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #667085;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.my-files-breadcrumb button.is-active {
  background: #eef5ff;
  color: #4776b8;
  border-color: rgba(71, 118, 184, 0.18);
}

.my-files-breadcrumb span {
  color: #98a2b3;
  font-weight: 800;
}

.my-folders-empty {
  flex: 0 0 280px;
  min-height: 96px;
  border: 1px dashed rgba(24, 24, 24, 0.14);
  border-radius: 40px;
  background: #fff;
  color: #181818;
  padding: 18px 22px;
  display: grid;
  align-content: center;
  gap: 4px;
}

.my-folders-empty small {
  color: #667085;
}

.my-folder-card.is-up span {
  background: #181818;
  color: #fff;
}

/* v0.8E.15 — Files upload target persistence fix */
.my-baldner[data-page="files"] .my-files-inline-upload [data-files-folder] {
  font-weight: 700;
}

.my-baldner[data-page="files"] .my-folder-card.is-drop-target strong,
.my-baldner[data-page="files"] .my-folder-card.is-drop-target small {
  color: #4776b8;
}

/* v0.8E.16 — Files folder drop target hardening */
.my-baldner[data-page="files"] .my-folder-card[data-drop-target-folder] {
  user-select: none;
}

.my-baldner[data-page="files"] .my-folder-card.is-drop-target {
  border-color: rgba(71, 118, 184, 0.78);
  background:
    radial-gradient(circle at 88% 18%, rgba(71, 118, 184, 0.18), transparent 34%),
    #eef5ff;
  box-shadow:
    0 0 0 5px rgba(71, 118, 184, 0.13),
    0 24px 58px rgba(24, 24, 24, 0.14);
  transform: translateY(-2px);
}

.my-baldner[data-page="files"] .my-folder-card.is-drop-target::after {
  content: "Upload aqui";
  position: absolute;
  right: 18px;
  bottom: 14px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #181818;
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
}

.my-baldner[data-page="files"] .my-files-inline-upload [data-files-folder] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 800;
}

/* v0.8E.17.2 — Files upload target real fix */
.my-baldner[data-page="files"] .my-folder-card[data-drop-target-folder] {
  user-select: none;
}

.my-baldner[data-page="files"] .my-folder-card.is-drop-target {
  border-color: rgba(71, 118, 184, 0.85);
  background:
    radial-gradient(circle at 88% 18%, rgba(71, 118, 184, 0.22), transparent 34%),
    #eef5ff;
  box-shadow:
    0 0 0 5px rgba(71, 118, 184, 0.16),
    0 24px 58px rgba(24, 24, 24, 0.14);
  transform: translateY(-2px);
}

.my-baldner[data-page="files"] .my-folder-card.is-drop-target::after {
  content: "Upload aqui";
  position: absolute;
  right: 18px;
  bottom: 14px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #181818;
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
}

.my-baldner[data-page="files"] .my-files-inline-upload [data-files-folder] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 800;
}


/* v0.8F.5A — Files menu/card cleanup CSS-only */
.my-file-card {
  position: relative;
  overflow: hidden;
}

.my-file-card .my-file-card-head {
  position: absolute !important;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: block !important;
}

.my-file-card .my-file-kind {
  display: none !important;
}

.my-file-card .my-file-card-head .my-file-menu-button {
  position: static !important;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.12);
}

.my-file-card .my-file-card-head .my-file-menu-button:hover {
  background: #fff;
}

.my-file-card .my-file-thumb {
  margin-top: 0 !important;
}


/* v0.8F.5C — Files system modal */
body.is-files-system-modal-open {
  overflow: hidden;
}

.my-files-system-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(24, 24, 24, 0.34);
  backdrop-filter: blur(6px);
}

.my-files-system-modal-dialog {
  width: min(440px, 100%);
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(24, 24, 24, 0.22);
  padding: 22px;
  display: grid;
  gap: 18px;
}

.my-files-system-modal-header {
  display: grid;
  gap: 6px;
}

.my-files-system-modal-header strong {
  color: var(--bd-color-ink);
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.my-files-system-modal-header small {
  color: var(--bd-color-muted);
  font-size: 13px;
  line-height: 1.45;
}

.my-files-system-modal-field {
  display: grid;
  gap: 8px;
}

.my-files-system-modal-field span {
  color: var(--bd-color-ink);
  font-size: 13px;
  font-weight: 760;
}

.my-files-system-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 560px) {
  .my-files-system-modal {
    align-items: end;
    padding: 14px;
  }

  .my-files-system-modal-dialog {
    border-radius: 24px;
  }

  .my-files-system-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}


/* v0.8F.5D — Files modal buttons and toast */
.my-files-system-modal-actions .bd-button {
  min-height: 42px;
  border: 1px solid rgba(24, 24, 24, 0.10);
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.my-files-system-modal-actions .bd-button:hover {
  transform: translateY(-1px);
}

.my-files-system-modal-actions .bd-button-ghost {
  background: #fff;
  color: var(--bd-color-ink);
}

.my-files-system-modal-actions .bd-button-ghost:hover {
  border-color: rgba(24, 24, 24, 0.20);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.08);
}

.my-files-system-modal-actions .bd-button-primary {
  border-color: #181818;
  background: #181818;
  color: #fff;
  box-shadow: 0 12px 28px rgba(24, 24, 24, 0.16);
}

.my-files-system-modal-actions .bd-button-primary:hover {
  box-shadow: 0 16px 34px rgba(24, 24, 24, 0.20);
}

.my-files-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1300;
  min-width: min(340px, calc(100vw - 32px));
  max-width: min(420px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 22px;
  background: #fff;
  color: var(--bd-color-ink);
  box-shadow: 0 20px 60px rgba(24, 24, 24, 0.18);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.my-files-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.my-files-toast span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--bd-color-primary-soft);
  color: var(--bd-color-primary-ink);
  font-size: 15px;
  font-weight: 860;
}

.my-files-toast strong {
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

@media (max-width: 560px) {
  .my-files-toast {
    right: 16px;
    bottom: 16px;
  }

  .my-files-system-modal-actions .bd-button {
    width: 100%;
  }
}


/* v0.8F.5G — Files top actions UX */
.my-files-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.my-files-top-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.my-files-top-action-icon,
.my-files-view-controls svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.my-files-view-controls-inline {
  margin-left: auto;
}

.my-files-view-controls button {
  display: grid;
  place-items: center;
}

.my-files-view-controls button svg {
  pointer-events: none;
}

@media (max-width: 760px) {
  .my-files-top-actions {
    justify-content: stretch;
  }

  .my-files-top-action {
    flex: 1 1 auto;
  }

  .my-files-view-controls-inline {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
}


/* v0.8F.6F — Files logical move drag-and-drop */
.my-file-card[draggable="true"],
.my-file-row[draggable="true"] {
  cursor: grab;
}

.my-file-card.is-file-dragging,
.my-file-row.is-file-dragging {
  opacity: .52;
  transform: scale(.985);
}

body.is-files-card-moving .my-folder-card[data-folder-move-target] {
  outline: 1px dashed rgba(24, 24, 24, .18);
  outline-offset: 4px;
}

body.is-files-card-moving .my-folder-card.is-drop-target {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(24, 24, 24, .12);
}

body.is-files-card-moving .my-files-drag-overlay {
  display: none !important;
}


/* v0.8F.7A — Canonical My shell menu icons and settings modal */
.my-baldner .bd-shell-nav-icon {
  width: 21px;
  height: 21px;
  min-width: 21px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  line-height: 1;
}

.my-baldner .bd-shell-nav-glyph {
  font-size: 18px;
  font-weight: 760;
}

.my-baldner .bd-shell-nav-svg {
  width: 21px;
  height: 21px;
  display: block;
  color: currentColor;
}

.my-baldner .bd-shell-nav-link {
  gap: 0;
}

.my-baldner .bd-shell-nav-link .bd-shell-nav-label {
  margin-left: 0;
}

.my-baldner .bd-shell-sidebar-footer {
  margin-top: auto;
  display: grid;
  place-items: center;
}

.my-baldner .bd-shell-settings {
  display: inline-grid;
  place-items: center;
}

.my-baldner .bd-shell-settings .bd-shell-nav-icon,
.my-baldner .bd-shell-settings .bd-shell-nav-svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
}

.my-baldner .my-shortcut-card .my-shortcut-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.my-baldner .my-shortcut-card .my-shortcut-icon .bd-shell-nav-svg {
  width: 28px;
  height: 28px;
}

.my-baldner .my-shortcut-card .my-shortcut-icon.bd-shell-nav-glyph,
.my-baldner .my-shortcut-card .my-shortcut-icon .bd-shell-nav-glyph {
  font-size: 24px;
}

#settingsModal #settingsDriveStorage.bd-modal-section {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(24, 24, 24, 0.045);
}

#settingsModal #settingsDriveStorage .bd-modal-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--bd-color-primary-soft);
  color: var(--bd-color-primary-ink);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .06em;
}

#settingsModal #settingsDriveStorage .bd-title-3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: -0.05em;
}

#settingsModal #settingsDriveStorage .bd-description {
  max-width: 720px;
  line-height: 1.55;
}

#settingsModal #settingsDriveStorage .bd-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

#settingsModal #settingsDriveStorage .bd-metric {
  min-width: 0;
  padding: 18px;
  border-radius: 20px;
}

#settingsModal #settingsDriveStorage .bd-metric-value {
  font-size: clamp(24px, 2vw, 32px);
  letter-spacing: -0.06em;
}

#settingsModal #settingsDriveStorage .bd-progress {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(24, 24, 24, 0.07);
}

#settingsModal #settingsDriveStorage .bd-progress-bar {
  display: block;
  height: 100%;
  border-radius: 999px;
}

@media (max-width: 760px) {
  #settingsModal #settingsDriveStorage.bd-modal-section {
    padding: 18px;
    border-radius: 22px;
  }

  #settingsModal #settingsDriveStorage .bd-metric-grid {
    grid-template-columns: 1fr;
  }
}


/* v0.8F.7B — Delicate sidebar icons and restored avatar */
.my-baldner .bd-shell-nav-icon {
  width: 19px;
  height: 19px;
  min-width: 19px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  line-height: 1;
}

.my-baldner .bd-shell-nav-svg {
  width: 19px;
  height: 19px;
  display: block;
  color: currentColor;
}

.my-baldner .bd-shell-nav-svg-line,
.my-baldner .bd-shell-nav-svg-line * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.my-baldner .bd-shell-nav-glyph {
  font-size: 17px;
  font-weight: 680;
}

.my-baldner .bd-shell-nav-link {
  color: rgba(17, 24, 39, .82);
}

.my-baldner .bd-shell-nav-link.is-active {
  color: var(--bd-color-primary-ink);
}

.my-baldner .bd-shell-sidebar-footer {
  margin-top: auto;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-bottom: 16px;
}

.my-baldner .bd-shell-settings {
  display: inline-grid;
  place-items: center;
}

.my-baldner .bd-shell-settings .bd-shell-nav-icon,
.my-baldner .bd-shell-settings .bd-shell-nav-svg {
  width: 17px;
  height: 17px;
  min-width: 17px;
}

.my-baldner .bd-shell-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  background: #111;
  color: #fff;
  font-weight: 760;
  font-size: 14px;
  letter-spacing: -0.03em;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .18);
}

.my-baldner .bd-shell-user-avatar:hover {
  transform: translateY(-1px);
}

.my-baldner .my-shortcut-card .my-shortcut-icon {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.my-baldner .my-shortcut-card .my-shortcut-icon .bd-shell-nav-icon,
.my-baldner .my-shortcut-card .my-shortcut-icon .bd-shell-nav-svg {
  width: 26px;
  height: 26px;
  min-width: 26px;
}

.my-baldner .my-shortcut-card .my-shortcut-icon.bd-shell-nav-glyph,
.my-baldner .my-shortcut-card .my-shortcut-icon .bd-shell-nav-glyph {
  font-size: 23px;
}


/* v0.8F.7C — Softer sidebar icon color */
.my-baldner .bd-shell-nav-link {
  color: rgba(31, 41, 55, .58);
}

.my-baldner .bd-shell-nav-link:hover {
  color: rgba(31, 41, 55, .74);
}

.my-baldner .bd-shell-nav-link .bd-shell-nav-icon,
.my-baldner .bd-shell-settings .bd-shell-nav-icon {
  opacity: .82;
}

.my-baldner .bd-shell-nav-link:hover .bd-shell-nav-icon,
.my-baldner .bd-shell-settings:hover .bd-shell-nav-icon {
  opacity: .96;
}

.my-baldner .bd-shell-nav-link.is-active {
  color: rgba(47, 105, 194, .86);
}

.my-baldner .bd-shell-nav-link.is-active .bd-shell-nav-icon {
  opacity: .95;
}

.my-baldner .bd-shell-settings {
  color: rgba(31, 41, 55, .54);
}

.my-baldner .bd-shell-settings:hover {
  color: rgba(31, 41, 55, .72);
}


/* v0.8F.7D — Exact sidebar icon color */
.my-baldner .bd-shell-nav-link .bd-shell-nav-icon,
.my-baldner .bd-shell-nav-link:hover .bd-shell-nav-icon,
.my-baldner .bd-shell-nav-link.is-active .bd-shell-nav-icon,
.my-baldner .bd-shell-settings .bd-shell-nav-icon,
.my-baldner .bd-shell-settings:hover .bd-shell-nav-icon {
  color: #353c47cc;
  opacity: 1;
}

.my-baldner .bd-shell-nav-svg,
.my-baldner .bd-shell-nav-svg-line,
.my-baldner .bd-shell-nav-svg-line * {
  color: #353c47cc;
  stroke: #353c47cc;
}

.my-baldner .bd-shell-nav-glyph {
  color: #353c47cc;
}


/* BALDNER_BILLING_UI_V0_9E2_CSS */
.my-billing-panel {
  margin: 18px 0 20px;
}

.my-billing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.my-billing-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.my-billing-card small {
  display: block;
  color: rgba(53, 60, 71, 0.72);
  font-size: 0.78rem;
  margin-bottom: 7px;
}

.my-billing-card strong {
  display: block;
  color: #111827;
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 7px;
}

.my-billing-card span {
  display: block;
  color: rgba(53, 60, 71, 0.82);
  font-size: 0.86rem;
  line-height: 1.35;
}

.my-billing-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.my-billing-flags span {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.78rem;
  background: rgba(15, 23, 42, 0.06);
  color: rgba(53, 60, 71, 0.86);
}

.my-billing-flags span.is-on {
  background: rgba(34, 197, 94, 0.12);
}

.my-billing-flags span.is-off {
  background: rgba(15, 23, 42, 0.06);
}

@media (max-width: 980px) {
  .my-billing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .my-billing-grid {
    grid-template-columns: 1fr;
  }
}



/* BALDNER_BILLING_UI_V0_9H_CSS */
.my-billing-panel .bd-area-header {
  padding: 26px 30px 22px;
}

.my-billing-body {
  padding: 18px 30px 24px;
}

.my-billing-body .my-billing-grid {
  margin-top: 0;
}

.my-billing-panel .my-billing-flags {
  padding: 0;
}

@media (max-width: 760px) {
  .my-billing-panel .bd-area-header {
    padding: 22px 20px 18px;
  }

  .my-billing-body {
    padding: 16px 20px 22px;
  }
}


/* BALDNER_FATURAS_PATTERN_LAYOUT_V0_9I8
   Product placeholder pages follow the existing /faturas/ page structure:
   bd-shell-main bd-aura > bd-shell-content > bd-topbar + bd-hero + bd-grid + bd-area-layout. */
.my-baldner .bd-shell-nav .bd-shell-nav-img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  opacity: .78;
}

.my-baldner .bd-shell-nav .bd-shell-nav-link:hover .bd-shell-nav-img,
.my-baldner .bd-shell-nav .bd-shell-nav-link.is-active .bd-shell-nav-img {
  opacity: .96;
}

.my-baldner .bd-shell-nav-space-glyph {
  font-size: 20px;
  font-weight: 760;
  line-height: 1;
}

.my-baldner .my-product-steps .my-step-card {
  min-height: 128px;
}

.my-baldner .my-product-steps .my-step-card .bd-btn {
  margin-top: 12px;
  align-self: flex-start;
}

.my-baldner .my-product-main-panel .bd-area-body,
.my-baldner .my-product-context-panel .bd-area-body {
  display: grid;
  gap: 14px;
}


/* BALDNER_BDNR_LINK_REFERENCE_ADAPTATION_V0_9J1
   /bdnr-link/ follows link_list.phtml organization inside Baldner UI:
   topbar, create card, metrics, compact list and sticky detail panel. */
.my-baldner[data-page="bdnr_link"] .bd-shell-content {
  padding-top: 34px;
}

.my-bdnr-create-card {
  margin-bottom: 18px;
}

.my-bdnr-url-composer {
  display: grid;
  gap: 14px;
}

.my-bdnr-field {
  display: grid;
  gap: 7px;
}

.my-bdnr-field span {
  font-size: 12px;
  font-weight: 760;
  color: #667085;
}

.my-bdnr-link-input {
  min-height: 52px;
  font-size: 18px;
  letter-spacing: -.015em;
}

.my-bdnr-field-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
}

.my-bdnr-composer-footer {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.my-bdnr-metrics {
  margin: 18px 0;
}

.my-bdnr-metric-label {
  font-size: 11px;
  color: #8b929b;
  font-weight: 720;
  margin-bottom: 8px;
}

.my-bdnr-metric-value {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #111827;
}

.my-bdnr-library-card {
  overflow: visible;
}

.my-bdnr-sort {
  width: auto;
  min-width: 150px;
}

.my-bdnr-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.my-bdnr-link-list-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  align-items: start;
}

.my-bdnr-compact-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.my-bdnr-compact-row {
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 18px;
  background: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.my-bdnr-compact-row.is-active,
.my-bdnr-compact-row:hover {
  border-color: #b9d2fb;
  box-shadow: 0 0 0 4px rgba(140,182,250,.13);
}

.my-bdnr-compact-row > div {
  min-width: 0;
}

.my-bdnr-compact-row strong,
.my-bdnr-compact-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-bdnr-compact-row strong {
  font-size: 14px;
  color: #111827;
}

.my-bdnr-compact-row span {
  margin-top: 4px;
  font-size: 12px;
  color: #6f87b0;
}

.my-bdnr-click-pill {
  border-radius: 999px;
  background: #eef5ff;
  color: #386eb5;
  font-size: 11px;
  font-weight: 760;
  padding: 5px 8px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.my-bdnr-empty-state {
  border: 1px dashed #d5dbe2;
  border-radius: 18px;
  background: #fbfcfd;
  padding: 18px;
  color: #667085;
}

.my-bdnr-empty-state strong {
  display: block;
  color: #303842;
  font-size: 14px;
  margin-bottom: 6px;
}

.my-bdnr-empty-state p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.my-bdnr-detail-panel {
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 24px;
  background: #fff;
  padding: 20px;
  min-height: 380px;
  box-shadow: 0 12px 40px rgba(24,24,24,.04);
  position: sticky;
  top: 24px;
}

.my-bdnr-detail-kicker {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b929b;
  margin-bottom: 6px;
}

.my-bdnr-detail-panel h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.035em;
  color: #111827;
}

.my-bdnr-qr-placeholder {
  height: 210px;
  border: 1px dashed #cfd7e1;
  border-radius: 18px;
  background: linear-gradient(135deg,#fff,#f7f9fc);
  display: grid;
  place-items: center;
  color: #8c949e;
  font-size: 28px;
  font-weight: 850;
  margin: 16px 0;
}

.my-bdnr-detail-section {
  border: 1px solid #eef0f2;
  border-radius: 18px;
  overflow: hidden;
}

.my-bdnr-detail-section div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef0f2;
}

.my-bdnr-detail-section div:last-child {
  border-bottom: 0;
}

.my-bdnr-detail-section span {
  color: #8b929b;
  font-size: 12px;
  font-weight: 720;
}

.my-bdnr-detail-section strong {
  color: #3f4650;
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
  word-break: break-word;
}

.my-bdnr-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .my-bdnr-field-grid,
  .my-bdnr-link-list-grid {
    grid-template-columns: 1fr;
  }

  .my-bdnr-detail-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .my-bdnr-composer-footer {
    align-items: stretch;
  }

  .my-bdnr-composer-footer .bd-btn {
    width: 100%;
  }

  .my-bdnr-compact-row {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* BALDNER_BDNR_LINK_GREENFIELD_CREATOR_V0_9J2 */
.my-baldner[data-page="bdnr_link"] .bd-shell-content {
  padding-top: 34px;
}

.my-bdnr-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  margin-bottom: 18px;
}

.my-bdnr-tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #667085;
  min-height: 34px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 780;
}

.my-bdnr-tab.is-active {
  background: #111827;
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .12);
}

.my-bdnr-create-panels,
.my-bdnr-create-panel,
.my-bdnr-url-composer {
  display: grid;
  gap: 14px;
}

.my-bdnr-create-panel[hidden],
.my-bdnr-file-preview[hidden],
.my-bdnr-result[hidden] {
  display: none !important;
}

.my-bdnr-field {
  display: grid;
  gap: 7px;
}

.my-bdnr-field span {
  font-size: 12px;
  font-weight: 760;
  color: #667085;
}

.my-bdnr-link-input {
  min-height: 52px;
  font-size: 18px;
  letter-spacing: -.015em;
}

.my-bdnr-field-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
}

.my-bdnr-upload-zone {
  border: 1px dashed #cbd5e1;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #f8fafc);
  min-height: 126px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.my-bdnr-upload-zone:hover,
.my-bdnr-upload-zone.is-dragover {
  border-color: #8cb6fa;
  box-shadow: 0 0 0 4px rgba(140,182,250,.14);
  transform: translateY(-1px);
}

.my-bdnr-upload-zone input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.my-bdnr-upload-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #eef5ff;
  color: #386eb5;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 850;
  flex: 0 0 auto;
}

.my-bdnr-upload-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.my-bdnr-upload-copy strong {
  font-size: 15px;
  color: #111827;
}

.my-bdnr-upload-copy small {
  color: #667085;
  line-height: 1.45;
}

.my-bdnr-file-preview {
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.my-bdnr-file-thumb {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #eef5ff;
  color: #386eb5;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 850;
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}

.my-bdnr-file-thumb.has-image {
  color: transparent;
}

.my-bdnr-file-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}

.my-bdnr-file-copy strong,
.my-bdnr-file-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-bdnr-file-copy strong {
  color: #111827;
  font-size: 14px;
}

.my-bdnr-file-copy small {
  color: #667085;
  font-size: 12px;
}

.my-bdnr-composer-footer,
.my-bdnr-result,
.my-bdnr-result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.my-bdnr-composer-footer,
.my-bdnr-result {
  justify-content: space-between;
  flex-wrap: wrap;
}

.my-bdnr-result {
  border: 1px solid #b9d2fb;
  border-radius: 20px;
  background: #eef5ff;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.my-bdnr-result strong {
  display: block;
  color: #386eb5;
  font-size: 12px;
  margin-bottom: 4px;
}

.my-bdnr-result a {
  color: #111827;
  font-size: 18px;
  font-weight: 780;
  text-decoration: none;
  word-break: break-all;
}

.my-bdnr-metrics {
  margin: 18px 0;
}

.my-bdnr-metric-label {
  font-size: 11px;
  color: #8b929b;
  font-weight: 720;
  margin-bottom: 8px;
}

.my-bdnr-metric-value {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #111827;
}

.my-bdnr-library-card {
  overflow: visible;
}

.my-bdnr-sort {
  width: auto;
  min-width: 150px;
}

.my-bdnr-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.my-bdnr-link-list-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  align-items: start;
}

.my-bdnr-compact-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.my-bdnr-compact-row {
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 18px;
  background: #fff;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.my-bdnr-compact-row.is-active,
.my-bdnr-compact-row:hover {
  border-color: #b9d2fb;
  box-shadow: 0 0 0 4px rgba(140,182,250,.13);
}

.my-bdnr-compact-row > div {
  min-width: 0;
}

.my-bdnr-compact-row strong,
.my-bdnr-compact-row span:not(.my-bdnr-target-badge):not(.my-bdnr-click-pill) {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-bdnr-compact-row strong {
  font-size: 14px;
  color: #111827;
}

.my-bdnr-compact-row span:not(.my-bdnr-target-badge):not(.my-bdnr-click-pill) {
  margin-top: 4px;
  font-size: 12px;
  color: #6f87b0;
}

.my-bdnr-target-badge,
.my-bdnr-click-pill {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  flex: 0 0 auto;
}

.my-bdnr-target-badge {
  min-width: 42px;
  text-align: center;
  background: #f2f4f7;
  color: #4b5563;
  padding: 6px 8px;
}

.my-bdnr-click-pill {
  background: #eef5ff;
  color: #386eb5;
  padding: 5px 8px;
}

.my-bdnr-detail-panel {
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 24px;
  background: #fff;
  padding: 20px;
  min-height: 380px;
  box-shadow: 0 12px 40px rgba(24,24,24,.04);
  position: sticky;
  top: 24px;
}

.my-bdnr-detail-kicker {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b929b;
  margin-bottom: 6px;
}

.my-bdnr-detail-panel h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.035em;
  color: #111827;
}

.my-bdnr-qr-placeholder {
  min-height: 220px;
  border: 1px dashed #cfd7e1;
  border-radius: 18px;
  background: linear-gradient(135deg,#fff,#f7f9fc);
  display: grid;
  place-items: center;
  color: #8c949e;
  margin: 16px 0;
  overflow: hidden;
}

.my-bdnr-qr-image {
  width: 220px;
  height: 220px;
  display: block;
}

.my-bdnr-detail-section {
  border: 1px solid #eef0f2;
  border-radius: 18px;
  overflow: hidden;
}

.my-bdnr-detail-section div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef0f2;
}

.my-bdnr-detail-section div:last-child {
  border-bottom: 0;
}

.my-bdnr-detail-section span {
  color: #8b929b;
  font-size: 12px;
  font-weight: 720;
}

.my-bdnr-detail-section strong {
  color: #3f4650;
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
  word-break: break-word;
}

.my-bdnr-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .my-bdnr-field-grid,
  .my-bdnr-link-list-grid {
    grid-template-columns: 1fr;
  }

  .my-bdnr-detail-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .my-bdnr-composer-footer,
  .my-bdnr-result {
    align-items: stretch;
  }

  .my-bdnr-composer-footer .bd-btn,
  .my-bdnr-result-actions,
  .my-bdnr-result-actions .bd-btn {
    width: 100%;
  }

  .my-bdnr-compact-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .my-bdnr-compact-row .my-bdnr-click-pill,
  .my-bdnr-compact-row .bd-btn {
    grid-column: 2;
    justify-self: start;
  }
}


/* BALDNER_BDNR_LINK_PIN_UX_V0_9J2A */
.my-bdnr-pin-group {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.my-bdnr-pin-group[hidden] {
  display: none !important;
}

.my-bdnr-pin-label {
  font-size: 12px;
  font-weight: 760;
  color: #667085;
}

.my-bdnr-pin-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.my-bdnr-pin-dot {
  width: 46px;
  height: 46px;
  padding: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 850;
  border-radius: 14px;
}

.my-bdnr-pin-dot:focus {
  border-color: #8cb6fa;
  box-shadow: 0 0 0 4px rgba(140,182,250,.14);
}

@media (max-width: 720px) {
  .my-bdnr-pin-inputs {
    gap: 7px;
  }

  .my-bdnr-pin-dot {
    width: 44px;
    height: 44px;
  }
}


/* BALDNER_BDNR_LINK_URL_METADATA_PREVIEW_V0_9J2C */
.my-bdnr-url-preview {
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.my-bdnr-url-preview[hidden] {
  display: none !important;
}

.my-bdnr-url-thumb {
  width: 72px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef5ff, #f8fafc);
  color: #386eb5;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 850;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border: 1px solid rgba(56,110,181,.12);
}

.my-bdnr-url-thumb.has-image {
  color: transparent;
}

.my-bdnr-url-preview-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.my-bdnr-url-preview-copy strong,
.my-bdnr-url-preview-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-bdnr-url-preview-copy strong {
  color: #111827;
  font-size: 14px;
  line-height: 1.25;
}

.my-bdnr-url-preview-copy small {
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
}

.my-bdnr-url-preview.is-loading {
  opacity: .76;
}

.my-bdnr-url-preview.is-error {
  border-color: rgba(201, 76, 76, .28);
  background: #fffafa;
}

.my-bdnr-url-preview.is-error .my-bdnr-url-thumb {
  background: #fff0f0;
  color: #c94c4c;
  border-color: rgba(201, 76, 76, .18);
}

@media (max-width: 720px) {
  .my-bdnr-url-preview {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .my-bdnr-url-preview .bd-pill {
    grid-column: 2;
    justify-self: start;
  }

  .my-bdnr-url-thumb {
    width: 58px;
    height: 48px;
  }
}
