/* Team Bride Business 0.3.0 · interfaz moka / café / ostra */
:root {
    --tbb-coffee-950: #2f211b;
    --tbb-coffee-900: #3f2a22;
    --tbb-coffee-800: #52382e;
    --tbb-coffee-700: #6d4f40;
    --tbb-moka-500: #a68e7c;
    --tbb-moka-300: #c8b5a6;
    --tbb-oyster-200: #e9dfd6;
    --tbb-oyster-100: #f2ebe4;
    --tbb-cream: #f8f4ef;
    --tbb-paper: #fffdf9;
    --tbb-ink: #30251f;
    --tbb-muted: #7b6b61;
    --tbb-line: #e2d6cc;
    --tbb-success: #49644d;
    --tbb-warning: #8a6439;
    --tbb-danger: #9a4a45;
    --tbb-radius-xl: 30px;
    --tbb-radius-lg: 22px;
    --tbb-radius-md: 16px;
    --tbb-shadow: 0 22px 70px rgba(63, 42, 34, .11);
    --tbb-soft-shadow: 0 12px 34px rgba(63, 42, 34, .07);
}

.tbb-stage,
.tbb-stage *,
.tbb-app,
.tbb-app * {
    box-sizing: border-box;
}

.tbb-stage {
    width: 100%;
    max-width: 1720px;
    margin: 0 auto 64px;
    padding: 0;
    color: var(--tbb-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}

.tbb-app {
    width: 100%;
    min-width: 0;
    min-height: 820px;
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--tbb-line);
    border-radius: var(--tbb-radius-xl);
    background: var(--tbb-cream);
    box-shadow: var(--tbb-shadow);
}

/* Sidebar */
.tbb-sidebar {
    min-width: 0;
    min-height: 820px;
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    color: #fff;
    background:
        radial-gradient(circle at 0 0, rgba(200,181,166,.18), transparent 34%),
        linear-gradient(175deg, var(--tbb-coffee-800) 0%, var(--tbb-coffee-950) 72%);
}

.tbb-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 9px 24px;
}

.tbb-brand-mark {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 15px;
    color: var(--tbb-coffee-900);
    background: var(--tbb-paper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.04em;
}

.tbb-brand-copy strong,
.tbb-brand-copy span {
    display: block;
}

.tbb-brand-copy strong {
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.tbb-brand-copy span {
    margin-top: 3px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tbb-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tbb-nav-item,
.tbb-sidebar-footer button,
.tbb-sidebar-footer a {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    border: 0;
    border-radius: 14px;
    color: rgba(255,255,255,.72) !important;
    background: transparent;
    box-shadow: none;
    text-decoration: none !important;
    font: inherit;
    font-size: 13px;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.tbb-nav-item:hover,
.tbb-nav-item.is-active,
.tbb-sidebar-footer button:hover,
.tbb-sidebar-footer a:hover {
    color: #fff !important;
    background: rgba(255,255,255,.11);
    transform: translateX(2px);
}

.tbb-nav-item.is-active {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}

.tbb-nav-item .dashicons,
.tbb-sidebar-footer .dashicons {
    width: 19px;
    height: 19px;
    font-size: 19px;
    color: var(--tbb-moka-300);
}

.tbb-sidebar-valentina {
    width: 100%;
    margin: auto 0 14px;
    padding: 13px;
    display: grid;
    grid-template-columns: 38px minmax(0,1fr) 16px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 17px;
    color: #fff;
    background: rgba(255,255,255,.08);
    box-shadow: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.tbb-sidebar-valentina:hover {
    background: rgba(255,255,255,.13);
    transform: translateY(-1px);
}

.tbb-sidebar-valentina-avatar,
.tbb-valentina-top-avatar,
.tbb-valentina-card-avatar,
.tbb-valentina-panel-avatar {
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    color: var(--tbb-coffee-900);
    background: var(--tbb-paper);
    background-position: center;
    background-size: cover;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.tbb-sidebar-valentina-avatar {
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255,255,255,.28);
}

.tbb-sidebar-valentina strong,
.tbb-sidebar-valentina small {
    display: block;
}

.tbb-sidebar-valentina strong {
    font-size: 12px;
}

.tbb-sidebar-valentina small {
    margin-top: 3px;
    color: rgba(255,255,255,.58);
    font-size: 9px;
}

.tbb-sidebar-valentina > .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: rgba(255,255,255,.48);
}

.tbb-sidebar-footer {
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.10);
}

/* Main */
.tbb-main {
    min-width: 0;
    background: var(--tbb-cream);
}

.tbb-topbar {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 28px;
    border-bottom: 1px solid var(--tbb-line);
    background: rgba(255,253,249,.72);
}

.tbb-topbar-left,
.tbb-topbar-actions,
.tbb-profile {
    display: flex;
    align-items: center;
}

.tbb-topbar-left {
    min-width: 0;
    gap: 12px;
}

.tbb-topbar-copy {
    min-width: 0;
}

.tbb-eyebrow,
.tbb-kicker,
.tbb-card-kicker,
.tbb-valentina-card-head span,
.tbb-teambride-zone-head > span,
.tbb-login-kicker {
    display: block;
    color: var(--tbb-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tbb-topbar-copy h1 {
    margin: 4px 0 0 !important;
    color: var(--tbb-ink) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(25px, 2.2vw, 34px) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: -.04em;
}

.tbb-topbar-actions {
    flex: 0 0 auto;
    gap: 9px;
}

.tbb-icon-button,
.tbb-mobile-menu,
.tbb-valentina-top {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--tbb-line);
    border-radius: 50%;
    color: var(--tbb-ink);
    background: var(--tbb-paper);
    box-shadow: none;
    cursor: pointer;
}

.tbb-mobile-menu {
    display: none;
}

.tbb-valentina-top {
    border-color: var(--tbb-moka-300);
    background: var(--tbb-oyster-100);
}

.tbb-valentina-top-avatar {
    width: 34px;
    height: 34px;
}

.tbb-profile {
    min-width: 0;
    gap: 10px;
    margin-left: 3px;
}

.tbb-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--tbb-line);
    border-radius: 50%;
    color: var(--tbb-coffee-900);
    background: var(--tbb-paper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 700;
}

.tbb-profile strong,
.tbb-profile span {
    display: block;
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbb-profile strong {
    color: var(--tbb-ink);
    font-size: 12px;
    line-height: 1.25;
}

.tbb-profile span {
    margin-top: 4px;
    color: var(--tbb-muted);
    font-size: 10px;
}

.tbb-content {
    padding: 24px 28px 34px;
}

.tbb-view {
    display: none;
}

.tbb-view.is-active {
    display: block;
    animation: tbb-fade .22s ease;
}

@keyframes tbb-fade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Home */
.tbb-home-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 16px;
}

.tbb-welcome-card,
.tbb-valentina-card,
.tbb-card,
.tbb-table-card,
.tbb-empty-module {
    border: 1px solid var(--tbb-line);
    border-radius: var(--tbb-radius-lg);
    box-shadow: var(--tbb-soft-shadow);
}

.tbb-welcome-card {
    min-height: 282px;
    padding: clamp(26px, 3.5vw, 46px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.92), transparent 34%),
        linear-gradient(135deg, #e7dbd0 0%, #f8f2ec 62%, #fffdf9 100%);
}

.tbb-welcome-card::after {
    content: "TB";
    position: absolute;
    right: -8px;
    bottom: -50px;
    color: rgba(82,56,46,.055);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(150px, 16vw, 260px);
    line-height: 1;
    pointer-events: none;
}

.tbb-welcome-card > * {
    position: relative;
    z-index: 1;
}

.tbb-welcome-card h2 {
    max-width: 700px;
    margin: 10px 0 12px !important;
    color: var(--tbb-ink) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 4vw, 62px) !important;
    font-weight: 500 !important;
    line-height: .98 !important;
    letter-spacing: -.055em;
}

.tbb-welcome-card p {
    max-width: 720px;
    margin: 0 !important;
    color: var(--tbb-muted) !important;
    font-size: 14px;
    line-height: 1.65;
}

.tbb-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.tbb-primary,
.tbb-secondary,
.tbb-button,
.tbb-soft-button,
.tbb-valentina-open {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 17px;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    text-decoration: none !important;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.tbb-primary,
.tbb-button {
    color: #fff !important;
    background: var(--tbb-coffee-800);
}

.tbb-primary:hover,
.tbb-button:hover,
.tbb-secondary:hover,
.tbb-soft-button:hover,
.tbb-valentina-open:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(63,42,34,.14);
}

.tbb-soft-button,
.tbb-secondary {
    color: var(--tbb-coffee-900) !important;
    background: var(--tbb-oyster-100);
}

.tbb-valentina-card {
    min-height: 282px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(200,181,166,.22), transparent 37%),
        linear-gradient(150deg, var(--tbb-coffee-700), var(--tbb-coffee-950));
}

.tbb-valentina-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tbb-valentina-card-avatar {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 2px solid rgba(255,255,255,.28);
    font-size: 20px;
}

.tbb-valentina-card-head span {
    color: rgba(255,255,255,.56);
}

.tbb-valentina-card-head h3 {
    margin: 4px 0 0 !important;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 29px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

.tbb-valentina-card > p {
    margin: 18px 0 15px !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 12px;
    line-height: 1.55;
}

.tbb-valentina-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tbb-valentina-prompts button {
    min-height: 31px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.08);
    box-shadow: none;
    font: inherit;
    font-size: 9px;
    cursor: pointer;
}

.tbb-valentina-open {
    width: 100%;
    margin-top: auto;
    color: var(--tbb-coffee-900) !important;
    background: var(--tbb-paper);
}

/* Metrics */
.tbb-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin: 16px 0;
}

.tbb-metric {
    min-width: 0;
    min-height: 112px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--tbb-line);
    border-radius: 18px;
    background: var(--tbb-paper);
    box-shadow: var(--tbb-soft-shadow);
}

.tbb-metric-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--tbb-coffee-700);
    background: var(--tbb-oyster-100);
}

.tbb-metric-icon .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.tbb-metric strong,
.tbb-metric span {
    display: block;
}

.tbb-metric strong {
    overflow: hidden;
    color: var(--tbb-ink);
    font-size: clamp(22px, 2.1vw, 30px);
    line-height: 1;
    letter-spacing: -.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbb-metric > div:last-child > span {
    margin-top: 7px;
    color: var(--tbb-muted);
    font-size: 10px;
    line-height: 1.2;
}

/* Cards and general sections */
.tbb-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tbb-card,
.tbb-table-card,
.tbb-empty-module {
    background: var(--tbb-paper);
}

.tbb-card {
    min-width: 0;
    padding: 22px;
}

.tbb-card-head,
.tbb-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.tbb-card-head {
    margin-bottom: 16px;
}

.tbb-card-head h3 {
    margin: 5px 0 0 !important;
    color: var(--tbb-ink) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
}

.tbb-section-head {
    margin: 1px 0 22px;
}

.tbb-section-head h2,
.tbb-teambride-zone-head h2,
.tbb-login h3 {
    margin: 7px 0 8px !important;
    color: var(--tbb-ink) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.2vw, 48px) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: -.045em;
}

.tbb-section-head p,
.tbb-teambride-zone-head p,
.tbb-login p {
    max-width: 720px;
    margin: 0 !important;
    color: var(--tbb-muted) !important;
    font-size: 13px;
    line-height: 1.6;
}

.tbb-link-button,
.tbb-danger-link {
    border: 0;
    background: transparent;
    box-shadow: none;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
    text-decoration: none !important;
}

.tbb-link-button {
    color: var(--tbb-coffee-700);
}

.tbb-danger-link {
    color: var(--tbb-danger) !important;
}

.tbb-toolbar {
    margin-bottom: 13px;
}

.tbb-search {
    width: min(520px, 100%);
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border: 1px solid var(--tbb-line);
    border-radius: 999px;
    background: var(--tbb-paper);
}

.tbb-search .dashicons {
    color: var(--tbb-moka-500);
}

.tbb-search input {
    width: 100%;
    min-height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    color: var(--tbb-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: 12px !important;
}

/* Lists */
.tbb-list,
.tbb-timeline,
.tbb-task-list,
.tbb-calendar-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.tbb-list-item,
.tbb-task-item,
.tbb-event-item,
.tbb-activity-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border: 1px solid var(--tbb-line);
    border-radius: 15px;
    background: #fff;
}

.tbb-list-item-icon,
.tbb-activity-icon,
.tbb-event-date {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--tbb-coffee-700);
    background: var(--tbb-oyster-100);
}

.tbb-list-item-copy,
.tbb-activity-copy,
.tbb-event-copy,
.tbb-task-copy {
    min-width: 0;
    flex: 1;
}

.tbb-list-item-copy strong,
.tbb-list-item-copy span,
.tbb-activity-copy strong,
.tbb-activity-copy span,
.tbb-event-copy strong,
.tbb-event-copy span,
.tbb-task-copy strong,
.tbb-task-copy span {
    display: block;
}

.tbb-list-item-copy strong,
.tbb-activity-copy strong,
.tbb-event-copy strong,
.tbb-task-copy strong {
    overflow: hidden;
    color: var(--tbb-ink);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbb-list-item-copy span,
.tbb-activity-copy span,
.tbb-event-copy span,
.tbb-task-copy span {
    margin-top: 4px;
    overflow: hidden;
    color: var(--tbb-muted);
    font-size: 9px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbb-event-date {
    height: 50px;
    text-align: center;
    font-size: 9px;
    line-height: 1.1;
}

.tbb-event-date strong {
    display: block;
    color: var(--tbb-coffee-900);
    font-size: 18px;
}

.tbb-task-check {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    border: 1px solid var(--tbb-moka-500);
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.tbb-task-item.is-done {
    opacity: .58;
}

.tbb-task-item.is-done .tbb-task-title {
    text-decoration: line-through;
}

.tbb-pill {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--tbb-coffee-800);
    background: var(--tbb-oyster-100);
    font-size: 9px;
    line-height: 1;
    white-space: nowrap;
}

.tbb-pill.is-success {
    color: var(--tbb-success);
    background: #edf3ed;
}

.tbb-pill.is-warning {
    color: var(--tbb-warning);
    background: #f9f0e3;
}

.tbb-pill.is-dark {
    color: #fff;
    background: var(--tbb-coffee-800);
}

/* Tables */
.tbb-table-card {
    overflow: hidden;
}

.tbb-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.tbb-table th,
.tbb-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--tbb-line);
    color: var(--tbb-ink);
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
    vertical-align: middle;
}

.tbb-table th {
    color: var(--tbb-muted);
    background: var(--tbb-oyster-100);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.tbb-table tbody tr:last-child td {
    border-bottom: 0;
}

.tbb-name-cell strong,
.tbb-name-cell span {
    display: block;
}

.tbb-name-cell strong {
    color: var(--tbb-ink);
    font-size: 11px;
}

.tbb-name-cell span {
    margin-top: 4px;
    color: var(--tbb-muted);
    font-size: 9px;
}

.tbb-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.tbb-row-action {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--tbb-line);
    border-radius: 50%;
    color: var(--tbb-coffee-800) !important;
    background: var(--tbb-paper);
    box-shadow: none;
    text-decoration: none !important;
    cursor: pointer;
}

.tbb-row-action .dashicons {
    width: 15px;
    height: 15px;
    font-size: 15px;
}

/* Kanban */
.tbb-kanban {
    display: grid;
    grid-template-columns: repeat(4, minmax(218px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.tbb-kanban-column {
    min-height: 355px;
    padding: 13px;
    border: 1px solid var(--tbb-line);
    border-radius: 18px;
    background: rgba(255,253,249,.62);
}

.tbb-kanban-column h3 {
    margin: 0 0 11px !important;
    color: var(--tbb-coffee-800) !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
}

.tbb-kanban-card {
    margin-bottom: 9px;
    padding: 13px;
    border: 1px solid var(--tbb-line);
    border-radius: 14px;
    background: var(--tbb-paper);
    box-shadow: 0 7px 18px rgba(63,42,34,.05);
}

.tbb-kanban-card strong,
.tbb-kanban-card span {
    display: block;
}

.tbb-kanban-card strong {
    color: var(--tbb-ink);
    font-size: 11px;
}

.tbb-kanban-card span {
    margin-top: 5px;
    color: var(--tbb-muted);
    font-size: 9px;
}

/* Empty states */
.tbb-empty,
.tbb-empty-module {
    color: var(--tbb-muted);
    text-align: center;
}

.tbb-empty {
    padding: 32px 18px;
    font-size: 12px;
}

.tbb-empty-module {
    padding: 64px 24px;
}

.tbb-empty-module .dashicons {
    width: 50px;
    height: 50px;
    color: var(--tbb-moka-300);
    font-size: 50px;
}

.tbb-empty-module h3 {
    margin: 15px 0 7px !important;
    color: var(--tbb-ink) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 24px !important;
    font-weight: 500 !important;
}

.tbb-empty-module p {
    margin: 0 auto !important;
    max-width: 620px;
    color: var(--tbb-muted) !important;
    font-size: 12px;
    line-height: 1.6;
}

/* Team Bride external area */
.tbb-teambride-zone {
    width: 100%;
    margin-top: 26px;
    padding: 30px;
    border: 1px solid var(--tbb-line);
    border-radius: var(--tbb-radius-xl);
    background: linear-gradient(145deg, #f1e7df, #fbf7f2);
    box-shadow: var(--tbb-soft-shadow);
    scroll-margin-top: 18px;
}

.tbb-teambride-zone-head {
    margin-bottom: 22px;
}

.tbb-teambride-legacy {
    min-width: 0;
    overflow: hidden;
}

.tbb-teambride-legacy > * + * {
    margin-top: 22px;
}

.tbb-membership-strip {
    margin-top: 22px;
    padding: 19px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--tbb-line);
    border-radius: 17px;
    background: var(--tbb-paper);
}

.tbb-membership-strip strong,
.tbb-membership-strip span {
    display: block;
}

.tbb-membership-strip strong {
    color: var(--tbb-ink);
    font-size: 12px;
}

.tbb-membership-strip span {
    margin-top: 5px;
    color: var(--tbb-muted);
    font-size: 10px;
}

.tbb-membership-strip-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Valentina panel */
.tbb-valentina {
    position: fixed;
    top: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    width: min(390px, calc(100vw - 36px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--tbb-line);
    border-radius: 26px;
    background: var(--tbb-paper);
    box-shadow: 0 30px 100px rgba(47,33,27,.24);
    transform: translateX(calc(100% + 46px));
    transition: transform .28s ease;
}

.tbb-valentina.is-open {
    transform: translateX(0);
}

.tbb-valentina-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--tbb-line);
    background: var(--tbb-oyster-100);
}

.tbb-valentina-identity {
    display: flex;
    align-items: center;
    gap: 11px;
}

.tbb-valentina-panel-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 2px solid var(--tbb-moka-300);
}

.tbb-valentina-head h3 {
    margin: 4px 0 0 !important;
    color: var(--tbb-ink) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 27px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

.tbb-close-valentina,
.tbb-modal-close {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--tbb-line);
    border-radius: 50%;
    color: var(--tbb-ink);
    background: var(--tbb-paper);
    box-shadow: none;
    cursor: pointer;
}

.tbb-valentina-body {
    flex: 1;
    overflow: auto;
    padding: 20px;
}

.tbb-valentina-message {
    padding: 16px;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(145deg, var(--tbb-coffee-700), var(--tbb-coffee-900));
}

.tbb-valentina-message strong {
    font-size: 12px;
}

.tbb-valentina-message p {
    margin: 7px 0 0 !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 11px;
    line-height: 1.55;
}

.tbb-suggestion-list {
    display: grid;
    gap: 8px;
    margin-top: 13px;
}

.tbb-suggestion-list button {
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--tbb-line);
    border-radius: 13px;
    color: var(--tbb-ink);
    background: #fff;
    box-shadow: none;
    font: inherit;
    font-size: 10px;
    text-align: left;
    cursor: pointer;
}

.tbb-valentina-compose {
    display: flex;
    gap: 8px;
    padding: 13px;
    border-top: 1px solid var(--tbb-line);
    background: var(--tbb-paper);
}

.tbb-valentina-compose textarea {
    min-width: 0;
    flex: 1;
    resize: none;
    padding: 10px 11px !important;
    border: 1px solid var(--tbb-line) !important;
    border-radius: 14px !important;
    color: var(--tbb-ink) !important;
    background: #fff !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: 11px !important;
}

.tbb-valentina-compose button {
    width: 42px;
    height: 42px;
    align-self: flex-end;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--tbb-coffee-800);
    box-shadow: none;
}

.tbb-valentina-limit {
    padding: 0 14px 13px;
    color: var(--tbb-muted);
    font-size: 9px;
    text-align: center;
}

/* Modal */
.tbb-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(47,33,27,.45);
    backdrop-filter: blur(6px);
}

.tbb-modal-backdrop[hidden] {
    display: none;
}

.tbb-modal {
    width: min(720px, 100%);
    max-height: 90vh;
    overflow: auto;
    position: relative;
    padding: 27px;
    border: 1px solid var(--tbb-line);
    border-radius: 25px;
    background: var(--tbb-paper);
    box-shadow: 0 30px 100px rgba(47,33,27,.28);
}

.tbb-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
}

.tbb-modal h2 {
    margin: 0 50px 20px 0 !important;
    color: var(--tbb-ink) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 30px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

.tbb-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.tbb-field-full {
    grid-column: 1 / -1;
}

.tbb-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--tbb-muted);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.tbb-field input,
.tbb-field select,
.tbb-field textarea {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px !important;
    border: 1px solid var(--tbb-line) !important;
    border-radius: 12px !important;
    color: var(--tbb-ink) !important;
    background: #fff !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: 11px !important;
}

.tbb-field textarea {
    min-height: 100px;
    resize: vertical;
}

.tbb-form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding-top: 7px;
}

.tbb-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 11px;
}

.tbb-quick-action {
    min-height: 118px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    border: 1px solid var(--tbb-line);
    border-radius: 17px;
    color: var(--tbb-ink);
    background: var(--tbb-oyster-100);
    box-shadow: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.tbb-quick-action:hover {
    transform: translateY(-2px);
    background: #efe4db;
}

.tbb-quick-action .dashicons {
    width: 28px;
    height: 28px;
    color: var(--tbb-coffee-700);
    font-size: 28px;
}

.tbb-quick-action strong {
    font-size: 11px;
}

/* Toast and mobile nav */
.tbb-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 100001;
    padding: 10px 15px;
    border-radius: 999px;
    color: #fff;
    background: var(--tbb-coffee-900);
    box-shadow: 0 12px 30px rgba(47,33,27,.2);
    font-size: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 18px);
    transition: .22s ease;
}

.tbb-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.tbb-mobile-nav {
    display: none;
}

.tbb-login {
    max-width: 600px;
    margin: 26px auto;
    padding: 34px;
    border: 1px solid var(--tbb-line);
    border-radius: var(--tbb-radius-lg);
    background: linear-gradient(145deg, #efe4da, #fffdf9);
    box-shadow: var(--tbb-soft-shadow);
    text-align: center;
}

/* Responsive */
@media (max-width: 1180px) {
    .tbb-app {
        grid-template-columns: 214px minmax(0, 1fr);
    }

    .tbb-home-lead {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    }

    .tbb-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tbb-profile > div:last-child {
        display: none;
    }
}

@media (max-width: 900px) {
    .tbb-stage {
        margin-bottom: 32px;
    }

    .tbb-app {
        display: block;
        min-height: 760px;
        border-radius: 22px;
    }

    .tbb-sidebar {
        width: 264px;
        min-height: 100vh;
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 99998;
        transform: translateX(-105%);
        transition: transform .24s ease;
    }

    .tbb-app.is-menu-open .tbb-sidebar {
        transform: translateX(0);
    }

    .tbb-mobile-menu {
        display: grid;
    }

    .tbb-topbar {
        min-height: 78px;
        padding: 14px 17px;
    }

    .tbb-topbar-copy h1 {
        font-size: 25px !important;
    }

    .tbb-eyebrow {
        display: none;
    }

    .tbb-content {
        padding: 18px 17px 98px;
    }

    .tbb-home-lead,
    .tbb-grid-two {
        grid-template-columns: 1fr;
    }

    .tbb-mobile-nav {
        min-height: 66px;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 99990;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        padding: 7px;
        border: 1px solid rgba(255,255,255,.11);
        border-radius: 21px;
        background: rgba(63,42,34,.96);
        box-shadow: 0 18px 50px rgba(47,33,27,.26);
        backdrop-filter: blur(14px);
    }

    .tbb-mobile-nav-item,
    .tbb-mobile-create {
        min-width: 0;
        min-height: 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 0;
        border: 0;
        color: rgba(255,255,255,.58);
        background: transparent;
        box-shadow: none;
        font: inherit;
        cursor: pointer;
    }

    .tbb-mobile-nav-item.is-active {
        color: #fff;
    }

    .tbb-mobile-nav-item small {
        font-size: 8px;
    }

    .tbb-mobile-create {
        width: 48px;
        height: 48px;
        justify-self: center;
        border-radius: 50%;
        color: var(--tbb-coffee-900);
        background: var(--tbb-paper);
    }

    .tbb-teambride-zone {
        padding: 23px 17px;
        border-radius: 22px;
    }
}

@media (max-width: 680px) {
    .tbb-topbar-actions .tbb-icon-button,
    .tbb-topbar-actions .tbb-valentina-top {
        display: none;
    }

    .tbb-welcome-card {
        min-height: 250px;
        padding: 25px 22px;
    }

    .tbb-welcome-card h2 {
        font-size: 39px !important;
    }

    .tbb-valentina-card {
        min-height: 260px;
    }

    .tbb-metrics {
        gap: 9px;
    }

    .tbb-metric {
        min-height: 103px;
        padding: 14px;
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .tbb-metric strong {
        font-size: 22px;
    }

    .tbb-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tbb-table-card {
        overflow-x: auto;
    }

    .tbb-table {
        min-width: 760px;
    }

    .tbb-form {
        grid-template-columns: 1fr;
    }

    .tbb-field-full,
    .tbb-form-actions {
        grid-column: auto;
    }

    .tbb-quick-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .tbb-membership-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .tbb-membership-strip-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .tbb-membership-strip-actions .tbb-danger-link {
        padding: 10px;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .tbb-stage {
        margin-left: 0;
        margin-right: 0;
    }

    .tbb-app,
    .tbb-teambride-zone {
        border-radius: 18px;
    }

    .tbb-profile {
        margin-left: 0;
    }

    .tbb-avatar {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .tbb-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .tbb-welcome-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .tbb-welcome-actions > * {
        width: 100%;
    }
}


/* ==========================================================================
   FASE 1 · ESPACIO TEAM BRIDE DEL PROVEEDOR
   ========================================================================== */

.tbb-provider-hub {
    margin: 0 0 34px;
    padding: clamp(26px, 4vw, 54px);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(82, 56, 46, .13);
    border-radius: 34px;
    background:
        radial-gradient(circle at 92% 8%, rgba(200,181,166,.38), transparent 28%),
        linear-gradient(135deg, #fffdf9 0%, #f5eee8 58%, #eadfd6 100%);
    box-shadow: 0 24px 72px rgba(63, 42, 34, .10);
}

.tbb-provider-welcome {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

.tbb-provider-kicker,
.tbb-business-heading > span,
.tbb-provider-membership-copy > span,
.tbb-provider-help-kicker {
    display: block;
    color: var(--tbb-coffee-700);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.tbb-provider-welcome h1 {
    margin: 10px 0 12px !important;
    color: var(--tbb-coffee-950) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 5vw, 66px) !important;
    font-weight: 400 !important;
    line-height: 1.02 !important;
    letter-spacing: -.05em !important;
}

.tbb-provider-welcome p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--tbb-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.55;
}

.tbb-provider-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tbb-provider-card {
    -webkit-appearance: none;
    appearance: none;
    min-width: 0;
    min-height: 410px;
    display: block;
    overflow: hidden;
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 26px;
    color: #fff !important;
    background: var(--tbb-coffee-900);
    box-shadow: 0 18px 46px rgba(63,42,34,.14);
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .28s ease, box-shadow .28s ease;
}

.tbb-provider-card-media,
.tbb-provider-card-shade {
    position: absolute;
    inset: 0;
}

.tbb-provider-card-media {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.01);
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}

.tbb-provider-card-shade {
    background:
        linear-gradient(180deg, rgba(31,21,17,.03) 0%, rgba(31,21,17,.06) 38%, rgba(31,21,17,.86) 100%),
        linear-gradient(135deg, rgba(91,63,49,.02), rgba(91,63,49,.18));
}

.tbb-provider-card-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 28px 26px 25px;
}

.tbb-provider-card-content small,
.tbb-provider-card-content strong,
.tbb-provider-card-content span,
.tbb-provider-card-content em {
    display: block;
}

.tbb-provider-card-content small {
    margin-bottom: 9px;
    color: rgba(255,255,255,.72);
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .19em;
}

.tbb-provider-card-content strong {
    margin: 0 0 8px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 2.4vw, 38px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.04em;
}

.tbb-provider-card-content span {
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.45;
}

.tbb-provider-card-content em {
    margin-top: 22px;
    color: #fff;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tbb-provider-card-content em::after {
    content: "";
    display: inline-block;
    width: 42px;
    height: 1px;
    margin-left: 12px;
    vertical-align: middle;
    background: rgba(255,255,255,.75);
    transition: width .28s ease;
}

@media (hover:hover) and (pointer:fine) {
    .tbb-provider-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 28px 66px rgba(63,42,34,.22);
    }

    .tbb-provider-card:hover .tbb-provider-card-media {
        transform: scale(1.055);
    }

    .tbb-provider-card:hover em::after {
        width: 62px;
    }
}

.tbb-provider-membership {
    margin-top: 18px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(82,56,46,.12);
    border-radius: 22px;
    background: rgba(255,253,249,.82);
    backdrop-filter: blur(12px);
}

.tbb-provider-membership-copy {
    max-width: 770px;
}

.tbb-provider-membership-copy strong {
    display: block;
    margin-top: 6px;
    color: var(--tbb-coffee-950);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 500;
}

.tbb-provider-membership-copy p {
    margin: 7px 0 0;
    color: var(--tbb-muted);
    font-size: 12px;
    line-height: 1.55;
}

.tbb-provider-membership-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tbb-cancel-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(154,74,69,.36);
    border-radius: 999px;
    color: var(--tbb-danger) !important;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
}

.tbb-cancel-button:hover {
    border-color: var(--tbb-danger);
    background: rgba(154,74,69,.06);
}

.tbb-business-heading {
    max-width: 980px;
    margin: 0 auto 22px;
    padding: 0 18px;
    text-align: center;
}

.tbb-business-heading h2 {
    margin: 8px 0 8px !important;
    color: var(--tbb-coffee-950) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 5vw, 58px) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: -.05em !important;
}

.tbb-business-heading p {
    margin: 0;
    color: var(--tbb-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.55;
}

.tbb-provider-help-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(47,33,27,.55);
    backdrop-filter: blur(8px);
}

.tbb-provider-help-overlay[hidden] {
    display: none !important;
}

.tbb-provider-help-modal {
    width: min(760px, 100%);
    max-height: 92vh;
    overflow: auto;
    position: relative;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--tbb-line);
    border-radius: 28px;
    background: var(--tbb-paper);
    box-shadow: 0 28px 100px rgba(47,33,27,.28);
}

.tbb-provider-help-modal h2 {
    margin: 8px 50px 8px 0 !important;
    color: var(--tbb-coffee-950) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 36px !important;
    font-weight: 400 !important;
}

.tbb-provider-help-modal > p {
    margin: 0 0 22px;
    color: var(--tbb-muted);
    line-height: 1.6;
}

.tbb-provider-help-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 0;
    border: 1px solid var(--tbb-line);
    border-radius: 50%;
    color: var(--tbb-ink);
    background: #fff;
    cursor: pointer;
}

.tbb-provider-help-form .wpforms-container {
    margin: 0 !important;
}

.tbb-provider-help-form input,
.tbb-provider-help-form textarea,
.tbb-provider-help-form select {
    border-color: var(--tbb-line) !important;
    border-radius: 13px !important;
}

.tbb-provider-help-form button[type="submit"] {
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--tbb-coffee-900) !important;
    color: #fff !important;
}

.tbb-provider-cancel-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(47,33,27,.55);
    backdrop-filter: blur(8px);
}

.tbb-provider-cancel-overlay[hidden] {
    display: none !important;
}

.tbb-provider-cancel-modal {
    width: min(760px, 100%);
    max-height: 92vh;
    overflow: auto;
    position: relative;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--tbb-line);
    border-radius: 28px;
    background: var(--tbb-paper);
    box-shadow: 0 28px 100px rgba(47,33,27,.28);
}

.tbb-provider-cancel-modal h2 {
    margin: 8px 50px 8px 0 !important;
    color: var(--tbb-coffee-950) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 36px !important;
    font-weight: 400 !important;
}

.tbb-provider-cancel-modal > p {
    margin: 0 0 22px;
    color: var(--tbb-muted);
    line-height: 1.6;
}

.tbb-provider-cancel-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 0;
    border: 1px solid var(--tbb-line);
    border-radius: 50%;
    color: var(--tbb-ink);
    background: #fff;
    cursor: pointer;
}

.tbb-provider-cancel-form .wpforms-container {
    margin: 0 !important;
}

.tbb-provider-cancel-form input,
.tbb-provider-cancel-form textarea,
.tbb-provider-cancel-form select {
    border-color: var(--tbb-line) !important;
    border-radius: 13px !important;
}

.tbb-provider-cancel-form button[type="submit"] {
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--tbb-coffee-900) !important;
    color: #fff !important;
}

.tbb-home-lead,
.tbb-sidebar-valentina,
.tbb-valentina-top,
.tbb-valentina {
    display: none !important;
}

@media (max-width: 900px) {
    .tbb-provider-hub {
        border-radius: 26px;
    }

    .tbb-provider-cards {
        grid-template-columns: 1fr;
    }

    .tbb-provider-card {
        min-height: 360px;
    }

    .tbb-provider-membership {
        align-items: stretch;
        flex-direction: column;
    }

    .tbb-provider-membership-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .tbb-provider-hub {
        padding: 24px 16px 20px;
    }

    .tbb-provider-welcome {
        margin-bottom: 22px;
    }

    .tbb-provider-welcome h1 {
        font-size: 38px !important;
    }

    .tbb-provider-card {
        min-height: 330px;
        border-radius: 22px;
    }

    .tbb-provider-card-content {
        padding: 24px 20px 21px;
    }

    .tbb-provider-membership {
        padding: 19px 17px;
    }

    .tbb-provider-membership-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tbb-provider-membership-actions .tbb-secondary,
    .tbb-provider-membership-actions .tbb-cancel-button {
        width: 100%;
    }
}


/* ==========================================================================
   0.4.2 · FORMULARIOS DESPLAZABLES Y FASE 1 MÓVIL TIPO APP
   ========================================================================== */

html.tbb-provider-modal-open,
body.tbb-provider-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

/*
 * No fijamos ni desplazamos el body. El modal tiene su propio scroll.
 * Así, al cerrarlo, la página nunca puede quedar desplazada o en blanco.
 */
body.tbb-provider-modal-open {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: auto !important;
}

/*
 * El overlay es el contenedor que se desplaza. De esta forma los formularios
 * largos siempre permiten llegar al botón Enviar, incluso si el tema bloquea
 * el scroll interno de WPForms.
 */
.tbb-provider-help-overlay,
.tbb-provider-cancel-overlay {
    display: block;
    overflow-x: hidden;
    overflow-y: auto !important;
    padding:
        max(22px, env(safe-area-inset-top))
        max(18px, env(safe-area-inset-right))
        max(28px, env(safe-area-inset-bottom))
        max(18px, env(safe-area-inset-left));
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.tbb-provider-help-overlay[hidden],
.tbb-provider-cancel-overlay[hidden] {
    display: none !important;
}

.tbb-provider-help-modal,
.tbb-provider-cancel-modal {
    width: min(760px, 100%);
    max-height: none !important;
    min-height: 0;
    overflow: visible !important;
    margin: clamp(12px, 5vh, 58px) auto;
}

.tbb-provider-help-form,
.tbb-provider-cancel-form,
.tbb-provider-help-form .wpforms-container,
.tbb-provider-cancel-form .wpforms-container,
.tbb-provider-help-form form,
.tbb-provider-cancel-form form {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.tbb-provider-help-form .wpforms-field-container,
.tbb-provider-cancel-form .wpforms-field-container {
    overflow: visible !important;
}

.tbb-provider-help-form .wpforms-submit-container,
.tbb-provider-cancel-form .wpforms-submit-container {
    position: static !important;
    display: block !important;
    margin-top: 20px !important;
    padding-bottom: 4px !important;
}

.tbb-provider-help-form button[type="submit"],
.tbb-provider-cancel-form button[type="submit"] {
    min-height: 48px !important;
    padding: 0 25px !important;
}

/* Evita que la burbuja global tape el botón final mientras se completa el formulario. */
body.tbb-provider-modal-open .tb-valentina-concierge,
body.tbb-provider-modal-open .tb-valentina-widget,
body.tbb-provider-modal-open [class*="valentina"][class*="float"],
body.tbb-provider-modal-open [id*="valentina"][style*="fixed"] {
    visibility: hidden !important;
    pointer-events: none !important;
}

/* --------------------------------------------------------------------------
   Móvil: la parte superior se comporta como una aplicación
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
    .tbb-provider-hub {
        margin: 0 0 22px;
        padding:
            22px
            max(14px, env(safe-area-inset-right))
            18px
            max(14px, env(safe-area-inset-left));
        border-radius: 24px;
        box-shadow: 0 18px 50px rgba(63, 42, 34, .10);
    }

    .tbb-provider-welcome {
        max-width: none;
        margin: 0 0 20px;
        padding: 2px 4px 0;
        text-align: left;
    }

    .tbb-provider-welcome h1 {
        margin-top: 7px !important;
        font-size: clamp(34px, 11vw, 45px) !important;
        line-height: .98 !important;
    }

    .tbb-provider-welcome p {
        margin: 0;
        font-size: 15px;
        line-height: 1.5;
    }

    .tbb-provider-cards {
        display: flex;
        grid-template-columns: none;
        gap: 12px;
        width: auto;
        margin-right: -14px;
        padding: 2px 14px 10px 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tbb-provider-cards::-webkit-scrollbar {
        display: none;
    }

    .tbb-provider-card {
        flex: 0 0 min(82vw, 340px);
        width: min(82vw, 340px);
        min-height: 410px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        border-radius: 24px;
    }

    .tbb-provider-card-content {
        padding: 25px 22px 23px;
    }

    .tbb-provider-card-content strong {
        font-size: 31px;
    }

    .tbb-provider-card-content span {
        font-size: 13px;
    }

    .tbb-provider-card-content em {
        margin-top: 18px;
    }

    .tbb-provider-membership {
        margin-top: 10px;
        padding: 18px 16px;
        border-radius: 20px;
    }

    .tbb-provider-membership-copy strong {
        font-size: 20px;
        line-height: 1.16;
    }

    .tbb-provider-membership-copy p {
        font-size: 12px;
    }

    .tbb-provider-membership-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        width: 100%;
    }

    .tbb-provider-membership-actions .tbb-secondary,
    .tbb-provider-membership-actions .tbb-cancel-button {
        width: 100%;
        min-height: 48px;
    }

    /*
     * Formularios como hoja nativa a pantalla completa.
     * El usuario puede desplazarse desde el título hasta Enviar.
     */
    .tbb-provider-help-overlay,
    .tbb-provider-cancel-overlay {
        padding: 0;
        background: var(--tbb-paper);
        backdrop-filter: none;
    }

    .tbb-provider-help-modal,
    .tbb-provider-cancel-modal {
        width: 100%;
        min-height: 100dvh;
        margin: 0;
        padding:
            max(70px, calc(env(safe-area-inset-top) + 54px))
            max(18px, env(safe-area-inset-right))
            max(32px, env(safe-area-inset-bottom))
            max(18px, env(safe-area-inset-left));
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .tbb-provider-help-close,
    .tbb-provider-cancel-close {
        position: fixed;
        z-index: 3;
        top: max(12px, env(safe-area-inset-top));
        right: max(12px, env(safe-area-inset-right));
        width: 46px;
        height: 46px;
        box-shadow: 0 8px 24px rgba(63,42,34,.12);
    }

    .tbb-provider-help-modal h2,
    .tbb-provider-cancel-modal h2 {
        margin-right: 0 !important;
        font-size: 34px !important;
        line-height: 1.02 !important;
    }

    .tbb-provider-help-modal > p,
    .tbb-provider-cancel-modal > p {
        font-size: 15px;
    }

    .tbb-provider-help-form input,
    .tbb-provider-help-form textarea,
    .tbb-provider-help-form select,
    .tbb-provider-cancel-form input,
    .tbb-provider-cancel-form textarea,
    .tbb-provider-cancel-form select {
        min-height: 50px !important;
        font-size: 16px !important; /* evita el zoom automático de iOS */
    }

    .tbb-provider-help-form textarea,
    .tbb-provider-cancel-form textarea {
        min-height: 150px !important;
    }

    .tbb-provider-help-form button[type="submit"],
    .tbb-provider-cancel-form button[type="submit"] {
        width: 100% !important;
        min-height: 52px !important;
        font-size: 15px !important;
    }
}


/* 0.4.3 · recuperación visual de seguridad */
.tbb-stage,
.tbb-provider-hub,
.tbb-business-heading,
.tbb-app {
    visibility: visible !important;
    opacity: 1 !important;
}

body:not(.tbb-provider-modal-open) .tbb-stage {
    transform: none !important;
}


/* ==========================================================================
   0.4.4 · MODALES FUERA DEL CONTENEDOR DEL TEMA
   ========================================================================== */

/*
 * Los overlays se mueven por JavaScript directamente a <body>.
 * Estas reglas los convierten en una capa real de ventana, independiente
 * de cualquier transform, overflow o stacking-context del tema.
 */
body > .tbb-provider-help-overlay,
body > .tbb-provider-cancel-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100vw !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding:
        max(16px, env(safe-area-inset-top))
        max(16px, env(safe-area-inset-right))
        max(16px, env(safe-area-inset-bottom))
        max(16px, env(safe-area-inset-left)) !important;

    overflow: hidden !important;
    background: rgba(47, 33, 27, .64) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

body > .tbb-provider-help-overlay[hidden],
body > .tbb-provider-cancel-overlay[hidden] {
    display: none !important;
}

body > .tbb-provider-help-overlay .tbb-provider-help-modal,
body > .tbb-provider-cancel-overlay .tbb-provider-cancel-modal {
    position: relative !important;

    width: min(780px, 100%) !important;
    max-width: 780px !important;
    max-height: calc(100dvh - 32px) !important;

    margin: 0 !important;
    padding: clamp(28px, 4vw, 44px) !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;

    border: 1px solid rgba(104, 76, 61, .20) !important;
    border-radius: 28px !important;
    background: #fffdfa !important;
    box-shadow: 0 32px 110px rgba(35, 23, 17, .34) !important;
    transform: none !important;
}

body > .tbb-provider-help-overlay .tbb-provider-help-close,
body > .tbb-provider-cancel-overlay .tbb-provider-cancel-close {
    position: sticky !important;
    top: 0 !important;
    z-index: 8 !important;

    float: right !important;
    margin: -8px -8px 4px 16px !important;

    background: #fff !important;
    box-shadow: 0 8px 24px rgba(63, 42, 34, .12) !important;
}

body > .tbb-provider-help-overlay .tbb-provider-help-form,
body > .tbb-provider-cancel-overlay .tbb-provider-cancel-form,
body > .tbb-provider-help-overlay .wpforms-container,
body > .tbb-provider-cancel-overlay .wpforms-container,
body > .tbb-provider-help-overlay form,
body > .tbb-provider-cancel-overlay form {
    position: static !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
}

body > .tbb-provider-help-overlay .wpforms-submit-container,
body > .tbb-provider-cancel-overlay .wpforms-submit-container {
    position: static !important;
    display: block !important;
    clear: both !important;
    margin: 24px 0 0 !important;
    padding: 0 0 6px !important;
}

body > .tbb-provider-help-overlay button[type="submit"],
body > .tbb-provider-cancel-overlay button[type="submit"] {
    position: static !important;
    min-height: 50px !important;
    padding: 0 28px !important;
}

/* La Valentina global no puede superponerse al formulario. */
body.tbb-provider-modal-open > [class*="valentina"],
body.tbb-provider-modal-open > [id*="valentina"] {
    pointer-events: none !important;
}

@media (max-width: 767px) {
    body > .tbb-provider-help-overlay,
    body > .tbb-provider-cancel-overlay {
        align-items: stretch !important;
        padding: 0 !important;
        background: #fffdfa !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body > .tbb-provider-help-overlay .tbb-provider-help-modal,
    body > .tbb-provider-cancel-overlay .tbb-provider-cancel-modal {
        width: 100% !important;
        max-width: none !important;
        height: 100dvh !important;
        max-height: 100dvh !important;

        padding:
            max(18px, env(safe-area-inset-top))
            max(18px, env(safe-area-inset-right))
            max(32px, env(safe-area-inset-bottom))
            max(18px, env(safe-area-inset-left)) !important;

        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body > .tbb-provider-help-overlay .tbb-provider-help-close,
    body > .tbb-provider-cancel-overlay .tbb-provider-cancel-close {
        top: max(10px, env(safe-area-inset-top)) !important;
        margin: 0 0 10px 14px !important;
    }

    body > .tbb-provider-help-overlay .tbb-provider-help-modal h2,
    body > .tbb-provider-cancel-overlay .tbb-provider-cancel-modal h2 {
        clear: both !important;
        padding-top: 8px !important;
    }

    body > .tbb-provider-help-overlay button[type="submit"],
    body > .tbb-provider-cancel-overlay button[type="submit"] {
        width: 100% !important;
        min-height: 54px !important;
    }
}

/* ==========================================================================
   0.5.0 · TEAM BRIDE BUSINESS CORE
   ========================================================================== */

.tbb-app-v2{--tbb-coffee:#4b3025;--tbb-mocha:#795847;--tbb-oyster:#eee5dc;--tbb-cream:#faf7f2;--tbb-paper:#fffdfa;--tbb-line-soft:rgba(86,58,44,.14)}
.tbb-app-v2 .tbb-content{background:radial-gradient(circle at 100% 0,rgba(194,167,146,.16),transparent 30%),var(--tbb-cream)}
.tbb-today-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:clamp(24px,4vw,42px);margin-bottom:18px;border:1px solid var(--tbb-line-soft);border-radius:26px;background:linear-gradient(135deg,rgba(255,253,250,.96),rgba(237,226,216,.88));overflow:hidden;position:relative}
.tbb-today-hero::after{content:"TB";position:absolute;right:3%;bottom:-30%;color:rgba(75,48,37,.045);font-family:Georgia,serif;font-size:clamp(130px,18vw,250px);line-height:1;pointer-events:none}
.tbb-today-hero>*{position:relative;z-index:1}.tbb-today-hero h2{margin:8px 0 10px!important;color:var(--tbb-coffee)!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(34px,4vw,58px)!important;font-weight:400!important;letter-spacing:-.045em}.tbb-today-hero p{margin:0;color:var(--tbb-muted)}
.tbb-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tbb-card-today{background:linear-gradient(145deg,#fffdfa,#f0e6dc)}
.tbb-list-button,.tbb-event-item{width:100%;font:inherit;text-align:left;cursor:pointer;transition:.2s ease}.tbb-list-button:hover,.tbb-event-item:hover{border-color:rgba(75,48,37,.28);transform:translateY(-1px)}
.tbb-empty-inline{padding:28px 16px;color:var(--tbb-muted);text-align:center}.tbb-commercial-summary{display:grid;gap:14px}.tbb-commercial-number{padding:18px;border-radius:18px;background:var(--tbb-oyster)}.tbb-commercial-number strong,.tbb-commercial-number span{display:block}.tbb-commercial-number strong{color:var(--tbb-coffee);font-size:32px;letter-spacing:-.04em}.tbb-commercial-number span{margin-top:4px;color:var(--tbb-muted);font-size:12px}.tbb-progress-row{display:flex;justify-content:space-between;gap:16px;padding:12px 2px;border-bottom:1px solid var(--tbb-line-soft)}.tbb-progress-row:last-child{border-bottom:0}
.tbb-toolbar-wrap{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.tbb-toolbar-wrap .tbb-search{flex:1 1 320px}.tbb-toolbar-wrap select{min-height:44px;padding:0 38px 0 14px;border:1px solid var(--tbb-line)!important;border-radius:999px!important;background:#fff!important;font:inherit;font-size:12px}.tbb-toolbar-wrap .tbb-secondary{min-height:44px}.tbb-contact-link{padding:0;border:0;color:var(--tbb-coffee);background:transparent;font:inherit;text-align:left;cursor:pointer}.tbb-contact-link:hover{text-decoration:underline}.tbb-muted-text{color:var(--tbb-muted);font-size:12px}
.tbb-kanban{display:flex;align-items:flex-start;gap:14px;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x proximity}.tbb-kanban-column{flex:0 0 275px;min-height:440px;padding:14px;scroll-snap-align:start;border:1px solid var(--tbb-line-soft);border-radius:20px;background:rgba(255,253,250,.72)}.tbb-kanban-column>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.tbb-kanban-column>header h3{margin:0;font-size:13px}.tbb-kanban-column>header span{min-width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--tbb-oyster);font-size:11px}.tbb-kanban-card{margin:0 0 10px;padding:15px;border:1px solid var(--tbb-line-soft);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(75,48,37,.05)}.tbb-kanban-card button{display:block;width:100%;padding:0;border:0;background:transparent;color:var(--tbb-coffee);font:inherit;text-align:left;cursor:pointer}.tbb-kanban-card strong,.tbb-kanban-card span{display:block}.tbb-kanban-card span{margin-top:5px;color:var(--tbb-muted);font-size:11px}.tbb-kanban-card .tbb-kanban-value{margin-top:10px}.tbb-kanban-card select{width:100%;margin-top:12px;padding:9px;border:1px solid var(--tbb-line-soft);border-radius:10px;background:var(--tbb-cream);font-size:11px}.tbb-kanban-empty{color:var(--tbb-muted);font-size:12px;text-align:center}
.tbb-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.tbb-calendar-toolbar h3{margin:0;color:var(--tbb-coffee);font-family:Georgia,serif;font-size:26px;font-weight:400;text-transform:capitalize}.tbb-calendar-nav{display:flex;gap:7px}.tbb-calendar-nav button{min-width:42px;min-height:42px;padding:0 13px;border:1px solid var(--tbb-line-soft);border-radius:999px;background:#fff;color:var(--tbb-coffee);cursor:pointer}.tbb-calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.tbb-month-calendar,.tbb-calendar-aside{border:1px solid var(--tbb-line-soft);border-radius:22px;background:#fffdfa}.tbb-month-calendar{overflow:hidden}.tbb-calendar-weekdays,.tbb-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.tbb-calendar-weekdays{padding:10px;border-bottom:1px solid var(--tbb-line-soft);background:var(--tbb-oyster)}.tbb-calendar-weekdays span{padding:7px;color:var(--tbb-muted);font-size:10px;font-weight:700;text-align:center;text-transform:uppercase;letter-spacing:.08em}.tbb-calendar-day{min-height:112px;padding:9px;border:0;border-right:1px solid var(--tbb-line-soft);border-bottom:1px solid var(--tbb-line-soft);background:#fffdfa;color:var(--tbb-coffee);text-align:left;cursor:pointer}.tbb-calendar-day:nth-child(7n){border-right:0}.tbb-calendar-day.is-outside{opacity:.38;background:#f9f5f0}.tbb-calendar-day.is-today>span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:var(--tbb-coffee);color:#fff}.tbb-calendar-day>span{display:block;margin-bottom:7px;font-size:11px;font-weight:700}.tbb-calendar-day em{display:block;overflow:hidden;margin:3px 0;padding:4px 6px;border-radius:6px;background:var(--tbb-oyster);color:var(--tbb-coffee);font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.tbb-calendar-day small{color:var(--tbb-muted);font-size:9px}.tbb-calendar-aside{padding:18px}.tbb-calendar-aside .tbb-card-kicker{margin-bottom:14px}
.tbb-segmented{display:inline-flex;gap:4px;margin-bottom:16px;padding:4px;border:1px solid var(--tbb-line-soft);border-radius:999px;background:#fff}.tbb-segmented button{padding:9px 15px;border:0;border-radius:999px;background:transparent;color:var(--tbb-muted);font:inherit;font-size:11px;cursor:pointer}.tbb-segmented button.is-active{background:var(--tbb-coffee);color:#fff}.tbb-task-item .tbb-row-actions{margin-left:10px}.tbb-task-check{display:grid;place-items:center;color:transparent}.tbb-task-item.is-done .tbb-task-check{color:#fff;border-color:var(--tbb-coffee);background:var(--tbb-coffee)}
.tbb-finance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.tbb-finance-metrics article{display:flex;align-items:center;gap:13px;min-height:105px;padding:18px;border:1px solid var(--tbb-line-soft);border-radius:18px;background:#fff}.tbb-finance-metrics article>span{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:var(--tbb-oyster);color:var(--tbb-mocha)}.tbb-finance-metrics strong,.tbb-finance-metrics small{display:block}.tbb-finance-metrics strong{color:var(--tbb-coffee);font-size:23px}.tbb-finance-metrics small{margin-top:5px;color:var(--tbb-muted)}
.tbb-modal{width:min(820px,100%)}.tbb-modal h2{color:var(--tbb-coffee)!important;font-family:Georgia,serif!important;font-weight:400!important}html.tbb-business-modal-open,body.tbb-business-modal-open{overflow:hidden!important}.tbb-quote-items{display:grid;gap:8px}.tbb-quote-line{display:grid;grid-template-columns:minmax(0,1fr) 90px 120px 38px;gap:8px}.tbb-quote-line input{min-width:0;border:1px solid var(--tbb-line)!important;border-radius:12px!important;padding:11px!important}.tbb-quote-line button{border:1px solid var(--tbb-line-soft);border-radius:12px;background:#fff;color:var(--tbb-danger);cursor:pointer}.tbb-add-line{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:9px 13px;border:1px dashed var(--tbb-mocha);border-radius:999px;background:transparent;color:var(--tbb-coffee);font:inherit;font-size:11px;cursor:pointer}.tbb-quote-total{display:flex;align-items:center;justify-content:space-between;padding:18px;border-radius:16px;background:var(--tbb-coffee);color:#fff}.tbb-quote-total strong{font-size:25px}
.tbb-detail-drawer{position:fixed;top:0;right:0;bottom:0;z-index:2147482500;width:min(480px,100vw);padding:32px 25px;overflow-y:auto;background:#fffdfa;box-shadow:-24px 0 70px rgba(47,33,27,.22);transform:translateX(105%);transition:transform .22s ease}.tbb-detail-drawer.is-open{transform:translateX(0)}.tbb-drawer-backdrop{position:fixed;inset:0;z-index:2147482400;background:rgba(47,33,27,.38);backdrop-filter:blur(4px)}.tbb-drawer-backdrop[hidden],.tbb-detail-drawer[hidden]{display:none!important}.tbb-drawer-close{position:sticky;top:0;float:right;width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--tbb-line-soft);border-radius:50%;background:#fff;cursor:pointer}.tbb-drawer-head h2{margin:8px 50px 10px 0;color:var(--tbb-coffee);font-family:Georgia,serif;font-size:38px;font-weight:400}.tbb-drawer-actions{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.tbb-drawer-actions a,.tbb-drawer-actions button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 13px;border:1px solid var(--tbb-line-soft);border-radius:999px;background:#fff;color:var(--tbb-coffee);font:inherit;font-size:11px;text-decoration:none;cursor:pointer}.tbb-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tbb-detail-grid>div{padding:13px;border-radius:14px;background:var(--tbb-cream)}.tbb-detail-grid span,.tbb-detail-grid strong{display:block}.tbb-detail-grid span{color:var(--tbb-muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.tbb-detail-grid strong{margin-top:5px;font-size:13px}.tbb-next-action,.tbb-detail-notes{margin-top:16px;padding:16px;border-radius:16px;background:var(--tbb-oyster)}.tbb-next-action span,.tbb-next-action strong,.tbb-next-action small{display:block}.tbb-next-action span,.tbb-detail-notes>span{color:var(--tbb-muted);font-size:9px;letter-spacing:.09em}.tbb-next-action strong{margin-top:7px;font-size:16px}.tbb-next-action small{margin-top:5px}.tbb-detail-notes p{margin:8px 0 0;line-height:1.6}.tbb-related{margin-top:22px}.tbb-related h3{margin:0 0 8px;font-family:Georgia,serif;font-size:21px;font-weight:400}.tbb-related>div{padding:9px 0;border-bottom:1px solid var(--tbb-line-soft);font-size:12px}.tbb-related p{color:var(--tbb-muted);font-size:12px}
@media(max-width:1100px){.tbb-calendar-layout{grid-template-columns:1fr}.tbb-calendar-aside{order:-1}.tbb-finance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.tbb-dashboard-grid{grid-template-columns:1fr}.tbb-today-hero{align-items:flex-start;flex-direction:column;padding:24px 20px}.tbb-today-hero h2{font-size:38px!important}.tbb-today-hero .tbb-primary{width:100%}.tbb-toolbar-wrap{align-items:stretch;flex-direction:column}.tbb-toolbar-wrap .tbb-search,.tbb-toolbar-wrap select,.tbb-toolbar-wrap .tbb-secondary{width:100%;max-width:none}.tbb-calendar-toolbar{align-items:flex-start;flex-direction:column-reverse}.tbb-month-calendar{overflow-x:auto}.tbb-calendar-weekdays,.tbb-calendar-days{min-width:720px}.tbb-calendar-day{min-height:95px}.tbb-finance-metrics{grid-template-columns:1fr 1fr;gap:9px}.tbb-finance-metrics article{min-height:100px;align-items:flex-start;flex-direction:column}.tbb-quote-line{grid-template-columns:minmax(0,1fr) 70px}.tbb-quote-line input:nth-child(3){grid-column:1/2}.tbb-quote-line button{grid-column:2;grid-row:2}.tbb-detail-grid{grid-template-columns:1fr}.tbb-detail-drawer{padding:22px 18px 100px}.tbb-modal-backdrop{padding:0!important;align-items:stretch!important}.tbb-modal{width:100%!important;min-height:100dvh;max-height:100dvh!important;margin:0!important;padding:70px 18px 110px!important;border-radius:0!important}.tbb-modal-close{position:fixed!important;top:max(12px,env(safe-area-inset-top))!important;right:max(12px,env(safe-area-inset-right))!important;z-index:3}.tbb-form{grid-template-columns:1fr!important}.tbb-form .tbb-field-full,.tbb-form-actions{grid-column:auto!important}.tbb-form-actions{flex-direction:column-reverse}.tbb-form-actions .tbb-primary,.tbb-form-actions .tbb-secondary{width:100%;min-height:50px}.tbb-kanban-column{flex-basis:82vw}}


/* ==========================================================================
   0.5.1 · PORTADA VISUAL, ONBOARDING Y CONSEJOS
   ========================================================================== */

.tbb-experience-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 16px;
    margin-bottom: 18px;
}

.tbb-next-project {
    min-height: 290px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 24px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 45px rgba(62, 41, 31, .14);
}

.tbb-next-project-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(44, 28, 21, .83) 0%, rgba(44, 28, 21, .55) 42%, rgba(44, 28, 21, .08) 78%),
        linear-gradient(0deg, rgba(44, 28, 21, .36), transparent 65%);
}

.tbb-next-project-copy {
    width: min(68%, 520px);
    position: relative;
    z-index: 1;
    padding: 30px;
    color: #fff;
}

.tbb-next-project-copy > span {
    display: block;
    margin-bottom: 9px;
    color: rgba(255,255,255,.72);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
}

.tbb-next-project-copy h3 {
    margin: 0 0 9px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.02;
}

.tbb-next-project-copy p {
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    line-height: 1.55;
}

.tbb-next-project-copy button {
    min-height: 42px;
    margin-top: 19px;
    padding: 0 17px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(9px);
    cursor: pointer;
}

.tbb-onboarding-card {
    padding: 23px;
    border: 1px solid var(--tbb-line-soft);
    border-radius: 24px;
    background: #fffdfa;
}

.tbb-onboarding-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.tbb-onboarding-card h3 {
    margin: 4px 0 0;
    color: var(--tbb-coffee);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
}

.tbb-onboarding-card header > strong {
    color: var(--tbb-mocha);
    font-size: 20px;
}

.tbb-onboarding-bar {
    height: 7px;
    overflow: hidden;
    margin: 17px 0 16px;
    border-radius: 999px;
    background: var(--tbb-oyster);
}

.tbb-onboarding-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--tbb-mocha), var(--tbb-coffee));
    transition: width .35s ease;
}

.tbb-onboarding-steps {
    display: grid;
    gap: 7px;
}

.tbb-onboarding-steps button {
    width: 100%;
    min-height: 39px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 5px;
    border: 0;
    border-bottom: 1px solid var(--tbb-line-soft);
    background: transparent;
    color: var(--tbb-coffee);
    font: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.tbb-onboarding-steps button:last-child {
    border-bottom: 0;
}

.tbb-onboarding-steps button > span {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border: 1px solid rgba(75,48,37,.3);
    border-radius: 50%;
    background: #fff;
}

.tbb-onboarding-steps button.is-complete {
    color: var(--tbb-muted);
    text-decoration: line-through;
}

.tbb-onboarding-steps button.is-complete > span {
    border-color: var(--tbb-coffee);
    background:
        radial-gradient(circle at center, #fff 0 23%, transparent 26%),
        var(--tbb-coffee);
}

.tbb-context-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: -8px 0 17px;
    padding: 14px 15px;
    border: 1px solid rgba(124,87,68,.16);
    border-radius: 16px;
    background: linear-gradient(100deg, #eee2d7, #faf6f1);
    color: var(--tbb-coffee);
}

.tbb-context-tip > .dashicons {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--tbb-mocha);
}

.tbb-context-tip p {
    flex: 1;
    margin: 0;
    color: var(--tbb-muted);
    font-size: 11px;
    line-height: 1.55;
}

.tbb-context-tip p strong {
    display: block;
    margin-bottom: 2px;
    color: var(--tbb-coffee);
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tbb-context-tip button {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tbb-muted);
    cursor: pointer;
}

.tbb-drawer-cover {
    height: 180px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin: -32px -25px 28px;
    padding: 18px 25px;
    background-position: center;
    background-size: cover;
}

.tbb-drawer-cover > span {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(42,27,20,.65), transparent 70%);
}

.tbb-drawer-cover small {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
}

@media (max-width: 1050px) {
    .tbb-experience-grid {
        grid-template-columns: 1fr;
    }

    .tbb-next-project {
        min-height: 330px;
    }
}

@media (max-width: 767px) {
    .tbb-experience-grid {
        gap: 11px;
    }

    .tbb-next-project {
        min-height: 360px;
        background-position: 61% center;
    }

    .tbb-next-project-overlay {
        background:
            linear-gradient(0deg, rgba(44,28,21,.88) 0%, rgba(44,28,21,.62) 48%, rgba(44,28,21,.05) 82%);
    }

    .tbb-next-project-copy {
        width: 100%;
        padding: 23px 20px;
    }

    .tbb-next-project-copy h3 {
        font-size: 34px;
    }

    .tbb-onboarding-card {
        padding: 20px 17px;
    }

    .tbb-context-tip {
        margin-top: -3px;
    }

    .tbb-drawer-cover {
        height: 160px;
        margin: -22px -18px 24px;
        padding: 16px 18px;
    }
}


/* ==========================================================================
   0.6.0 · PROTOTIPO EDITORIAL COMPLETO
   Todas las posiciones usan por ahora la misma imagen.
   ========================================================================== */

/* Gran entrada editorial a Team Bride Business */
.tbb-business-editorial-hero {
    width: min(1380px, calc(100% - 36px));
    min-height: clamp(430px, 58vw, 650px);
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin: 42px auto 22px;
    border-radius: 34px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 32px 90px rgba(55, 35, 26, .20);
}

.tbb-business-editorial-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(43, 26, 18, .88) 0%, rgba(43, 26, 18, .56) 43%, rgba(43, 26, 18, .07) 80%),
        linear-gradient(0deg, rgba(43, 26, 18, .48), transparent 58%);
}

.tbb-business-editorial-copy {
    width: min(690px, 72%);
    position: relative;
    z-index: 1;
    padding: clamp(34px, 6vw, 74px);
    color: #fff;
}

.tbb-business-editorial-copy > span {
    display: block;
    margin-bottom: 15px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
}

.tbb-business-editorial-copy h2 {
    margin: 0 0 18px !important;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(46px, 6.6vw, 88px) !important;
    font-weight: 400 !important;
    line-height: .94 !important;
    letter-spacing: -.055em;
}

.tbb-business-editorial-copy p {
    max-width: 610px;
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: clamp(15px, 1.5vw, 20px);
    line-height: 1.55;
}

.tbb-business-editorial-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.tbb-business-editorial-actions button {
    min-height: 52px;
    padding: 0 23px;
    border: 1px solid rgba(255,255,255,.50);
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.tbb-business-editorial-actions small {
    color: rgba(255,255,255,.68);
    font-size: 11px;
}

/* La aplicación deja de sentirse como un parche SaaS estrecho */
.tbb-app.tbb-app-v2 {
    width: min(1380px, calc(100% - 36px)) !important;
    max-width: 1380px !important;
    display: block !important;
    margin: 0 auto 50px !important;
    border-radius: 30px !important;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(55,35,26,.14) !important;
}

.tbb-app-v2 .tbb-sidebar {
    display: none !important;
}

.tbb-app-v2 .tbb-main {
    width: 100% !important;
    min-width: 0 !important;
}

.tbb-app-v2 .tbb-topbar {
    min-height: 96px;
    padding: 0 clamp(20px, 4vw, 46px) !important;
    border-bottom: 1px solid rgba(82,55,42,.12);
    background: rgba(255,253,250,.96);
}

.tbb-app-v2 .tbb-topbar-left {
    gap: 15px;
}

.tbb-app-v2 .tbb-topbar-copy h1 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 30px !important;
    font-weight: 400 !important;
}

.tbb-editorial-top-nav {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px clamp(18px, 4vw, 44px);
    overflow-x: auto;
    border-bottom: 1px solid rgba(82,55,42,.10);
    background: #f4ece4;
    scrollbar-width: none;
}

.tbb-editorial-top-nav::-webkit-scrollbar {
    display: none;
}

.tbb-top-nav-item {
    flex: 0 0 auto;
    min-height: 39px;
    padding: 0 16px;
    border: 1px solid rgba(82,55,42,.14);
    border-radius: 999px;
    background: rgba(255,253,250,.68);
    color: #684b3c;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.tbb-top-nav-item.is-active {
    border-color: #4b3025;
    background: #4b3025;
    color: #fff;
}

.tbb-app-v2 .tbb-content {
    padding: clamp(20px, 3.8vw, 46px) !important;
}

/* Entrada editorial de módulos */
.tbb-module-editorial-intro {
    max-width: 820px;
    margin: 0 auto 26px;
    text-align: center;
}

.tbb-module-editorial-intro > span,
.tbb-home-operational-title > span {
    display: block;
    color: #8a6a58;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .19em;
}

.tbb-module-editorial-intro h2,
.tbb-home-operational-title h2 {
    margin: 9px 0 10px !important;
    color: #4b3025 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 5vw, 62px) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: -.045em;
}

.tbb-module-editorial-intro p {
    margin: 0;
    color: #7b6b62;
    font-size: 14px;
    line-height: 1.6;
}

.tbb-editorial-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

.tbb-editorial-module-card {
    min-height: 390px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 25px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 44px rgba(55,35,26,.13);
    text-align: left;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease;
}

.tbb-editorial-module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 58px rgba(55,35,26,.20);
}

.tbb-editorial-module-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(40,24,17,.92) 0%, rgba(40,24,17,.52) 44%, rgba(40,24,17,.05) 78%),
        linear-gradient(90deg, rgba(40,24,17,.18), transparent);
}

.tbb-editorial-module-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 25px;
    color: #fff;
}

.tbb-editorial-module-copy small,
.tbb-editorial-module-copy strong,
.tbb-editorial-module-copy > span,
.tbb-editorial-module-copy em {
    display: block;
}

.tbb-editorial-module-copy small {
    margin-bottom: 10px;
    color: rgba(255,255,255,.68);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .16em;
}

.tbb-editorial-module-copy strong {
    max-width: 310px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 2.6vw, 40px);
    font-weight: 400;
    line-height: 1.02;
}

.tbb-editorial-module-copy > span {
    max-width: 320px;
    margin-top: 8px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.5;
}

.tbb-editorial-module-copy em {
    width: max-content;
    margin-top: 18px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,.64);
    color: #fff;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.tbb-home-operational-title {
    margin: 0 0 20px;
    text-align: center;
}

.tbb-home-operational-title h2 {
    font-size: clamp(34px, 4vw, 50px) !important;
}

/* Cabecera visual real dentro de cada módulo */
.tbb-module-photo-hero {
    min-height: 340px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-bottom: 17px;
    border-radius: 26px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 48px rgba(55,35,26,.14);
}

.tbb-module-photo-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(42,26,19,.90) 0%, rgba(42,26,19,.57) 48%, rgba(42,26,19,.04) 82%),
        linear-gradient(0deg, rgba(42,26,19,.38), transparent 70%);
}

.tbb-module-photo-copy {
    width: min(650px, 74%);
    position: relative;
    z-index: 1;
    padding: clamp(28px, 4vw, 48px);
    color: #fff;
}

.tbb-module-photo-copy > span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.68);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
}

.tbb-module-photo-copy h2 {
    margin: 0 0 10px !important;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(38px, 5vw, 64px) !important;
    font-weight: 400 !important;
    line-height: .98 !important;
    letter-spacing: -.045em;
}

.tbb-module-photo-copy p {
    max-width: 570px;
    margin: 0;
    color: rgba(255,255,255,.80);
    font-size: 13px;
    line-height: 1.55;
}

.tbb-module-photo-action {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

/* La zona operativa mantiene utilidad, pero con una capa más cálida */
.tbb-app-v2 .tbb-today-hero,
.tbb-app-v2 .tbb-card,
.tbb-app-v2 .tbb-table-card,
.tbb-app-v2 .tbb-month-calendar,
.tbb-app-v2 .tbb-calendar-aside,
.tbb-app-v2 .tbb-kanban-column,
.tbb-app-v2 .tbb-onboarding-card {
    border-color: rgba(89,60,45,.14) !important;
    box-shadow: 0 10px 30px rgba(68,43,31,.055);
}

.tbb-app-v2 .tbb-context-tip {
    margin-top: 0;
    border-left: 4px solid #8b6754;
    background: linear-gradient(100deg, #eadbcf, #faf4ee);
}

/* El antiguo menú lateral no deja espacio fantasma */
.tbb-app-v2 .tbb-sidebar + .tbb-main {
    margin-left: 0 !important;
}

@media (max-width: 1050px) {
    .tbb-editorial-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tbb-business-editorial-copy {
        width: 82%;
    }
}

@media (max-width: 767px) {
    .tbb-business-editorial-hero,
    .tbb-app.tbb-app-v2 {
        width: calc(100% - 18px) !important;
    }

    .tbb-business-editorial-hero {
        min-height: 610px;
        align-items: flex-end;
        margin-top: 18px;
        border-radius: 25px;
        background-position: 60% center;
    }

    .tbb-business-editorial-shade {
        background:
            linear-gradient(0deg, rgba(43,26,18,.93) 0%, rgba(43,26,18,.68) 48%, rgba(43,26,18,.10) 82%);
    }

    .tbb-business-editorial-copy {
        width: 100%;
        padding: 28px 22px;
    }

    .tbb-business-editorial-copy h2 {
        font-size: 48px !important;
    }

    .tbb-business-editorial-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .tbb-app-v2 .tbb-topbar {
        min-height: 78px;
        padding: 0 16px !important;
    }

    .tbb-app-v2 .tbb-profile > div:last-child {
        display: none;
    }

    .tbb-editorial-top-nav {
        padding: 10px 12px;
    }

    .tbb-app-v2 .tbb-content {
        padding: 18px 13px 100px !important;
    }

    .tbb-module-editorial-intro {
        text-align: left;
    }

    .tbb-module-editorial-intro h2 {
        font-size: 43px !important;
    }

    .tbb-editorial-module-grid {
        display: flex;
        gap: 12px;
        margin-right: -13px;
        padding: 0 13px 12px 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .tbb-editorial-module-grid::-webkit-scrollbar {
        display: none;
    }

    .tbb-editorial-module-card {
        flex: 0 0 82vw;
        min-height: 440px;
        scroll-snap-align: start;
    }

    .tbb-editorial-module-copy {
        padding: 23px 20px;
    }

    .tbb-editorial-module-copy strong {
        font-size: 36px;
    }

    .tbb-module-photo-hero {
        min-height: 470px;
        background-position: 60% center;
    }

    .tbb-module-photo-shade {
        background:
            linear-gradient(0deg, rgba(42,26,19,.94) 0%, rgba(42,26,19,.62) 50%, rgba(42,26,19,.05) 82%);
    }

    .tbb-module-photo-copy {
        width: 100%;
        padding: 24px 20px;
    }

    .tbb-module-photo-copy h2 {
        font-size: 45px !important;
    }

    .tbb-module-photo-action {
        width: 100%;
        justify-content: center;
    }

    .tbb-mobile-nav {
        display: flex !important;
    }
}


/* 0.6.3 · Blindaje de legibilidad para Próximo proyecto */
.tbb-app-v2 .tbb-next-project .tbb-next-project-copy,
.tbb-app-v2 .tbb-next-project .tbb-next-project-copy > span,
.tbb-app-v2 .tbb-next-project .tbb-next-project-copy h3,
.tbb-app-v2 .tbb-next-project .tbb-next-project-copy p,
.tbb-app-v2 .tbb-next-project .tbb-next-project-copy button {
    color: #fff !important;
}

.tbb-app-v2 .tbb-next-project .tbb-next-project-copy h3,
.tbb-app-v2 .tbb-next-project .tbb-next-project-copy h3 a {
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(20, 11, 7, .34);
}

.tbb-app-v2 .tbb-next-project .tbb-next-project-copy p {
    color: rgba(255,255,255,.88) !important;
    text-shadow: 0 1px 10px rgba(20, 11, 7, .25);
}

.tbb-app-v2 .tbb-next-project .tbb-next-project-copy > span {
    color: rgba(255,255,255,.78) !important;
}


/* ========================================================================== 
   0.7.0 · Núcleo funcional y presupuestos con marca
   ========================================================================== */
.tbb-profile{appearance:none;border:0;background:transparent;text-align:left;cursor:pointer}
.tbb-avatar{overflow:hidden}.tbb-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.tbb-modal-intro{margin:-7px 0 22px;color:#75675f;font-size:13px;line-height:1.55}
.tbb-company-logo-field{display:flex;align-items:center;gap:18px;padding:18px;border:1px solid var(--tbb-line);border-radius:18px;background:#faf6f2}
.tbb-company-logo-preview{width:96px;height:96px;flex:0 0 96px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--tbb-line);border-radius:18px;background:#fff;color:var(--tbb-coffee);font:38px Georgia,serif}
.tbb-company-logo-preview img{width:100%;height:100%;object-fit:contain;padding:8px}
.tbb-company-logo-field>div:last-child{display:flex;align-items:flex-start;flex-direction:column;gap:8px}
.tbb-company-logo-field small{color:#7b6b62;font-size:11px;line-height:1.45}
.tbb-upload-logo{display:inline-flex;align-items:center;gap:7px;padding:11px 15px;border-radius:999px;background:var(--tbb-coffee);color:#fff;font-family:Arial,sans-serif;font-size:11px;font-weight:700;cursor:pointer}
.tbb-upload-logo input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.tbb-quote-brand-note{display:flex;align-items:center;gap:12px;padding:15px 17px;border-radius:16px;background:#f0e4da;color:var(--tbb-coffee)}
.tbb-quote-brand-note>.dashicons{font-size:25px;width:25px;height:25px}.tbb-quote-brand-note>div{display:flex;flex:1;flex-direction:column}.tbb-quote-brand-note strong{font-family:Georgia,serif;font-size:17px;font-weight:400}.tbb-quote-brand-note small{margin-top:3px;color:#75675f;font-size:10px}.tbb-quote-brand-note button{border:0;border-bottom:1px solid;background:transparent;color:var(--tbb-coffee);font:700 10px Arial;cursor:pointer}
.tbb-empty-module .tbb-primary{margin-top:17px}
.tbb-calendar-day{position:relative;display:flex!important;align-items:stretch;flex-direction:column;text-align:left;cursor:pointer}
.tbb-calendar-day-head{display:flex;align-items:center;justify-content:space-between;gap:5px}
.tbb-calendar-add{width:27px;height:27px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:50%;background:transparent;color:#8b6754;opacity:0;cursor:pointer;transition:.18s}
.tbb-calendar-day:hover .tbb-calendar-add,.tbb-calendar-day:focus-within .tbb-calendar-add{opacity:1;border-color:rgba(75,48,37,.18);background:#fff}
.tbb-calendar-add .dashicons{font-size:16px;width:16px;height:16px}
.tbb-calendar-events{display:grid;gap:4px;margin-top:7px}
.tbb-calendar-event{width:100%;overflow:hidden;padding:5px 7px;border:0;border-radius:8px;background:#eadbcf;color:#4b3025;font:600 9px/1.2 Arial,sans-serif;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.tbb-calendar-event:hover{background:#4b3025;color:#fff}
.tbb-event-item{position:relative;display:flex!important;align-items:stretch;padding:0!important;overflow:hidden}
.tbb-event-main{min-width:0;flex:1;display:flex;align-items:center;gap:11px;padding:11px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.tbb-event-delete{align-self:center;margin-right:8px;flex:0 0 34px}
@media(max-width:767px){.tbb-company-logo-field{align-items:flex-start;flex-direction:column}.tbb-company-logo-preview{width:88px;height:88px}.tbb-calendar-add{opacity:1}.tbb-profile>div:last-child{display:none}}


/* ========================================================================== 
   0.7.1 · MODALES FUNCIONALES FUERA DEL CONTENEDOR DEL TEMA
   ========================================================================== */
html.tbb-business-modal-open,
body.tbb-business-modal-open {
    overflow: hidden !important;
}

body > .tbb-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483600 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: auto !important;
    overscroll-behavior: contain;
    padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)) !important;
    background: rgba(25, 20, 18, .36) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    isolation: isolate;
}

body > .tbb-modal-backdrop[hidden] {
    display: none !important;
}

body > .tbb-modal-backdrop > .tbb-modal {
    position: relative !important;
    inset: auto !important;
    width: min(880px, calc(100vw - 36px)) !important;
    max-width: 880px !important;
    max-height: calc(100dvh - 36px) !important;
    margin: auto !important;
    padding: 30px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid rgba(75, 48, 37, .15) !important;
    border-radius: 25px !important;
    background: #fffdfa !important;
    box-shadow: 0 34px 110px rgba(24, 17, 14, .32) !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-overflow-scrolling: touch;
}

body > .tbb-modal-backdrop > .tbb-modal > .tbb-modal-close {
    position: sticky !important;
    top: 0 !important;
    right: auto !important;
    z-index: 20 !important;
    float: right !important;
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    margin: -8px -8px 4px 12px !important;
    border: 1px solid rgba(75, 48, 37, .16) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #4b3025 !important;
    box-shadow: 0 8px 24px rgba(47,33,27,.10) !important;
    cursor: pointer !important;
}

body > .tbb-modal-backdrop #tbb-modal-content {
    min-width: 0 !important;
    clear: both;
}

body > .tbb-modal-backdrop .tbb-form-actions {
    position: sticky;
    bottom: -30px;
    z-index: 12;
    margin: 24px -30px -30px !important;
    padding: 16px 30px calc(16px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid rgba(75,48,37,.12);
    background: rgba(255,253,250,.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.tbb-business-modal-open > .tbvpf-widget,
body.tbb-business-modal-open > .tb-valentina-concierge,
body.tbb-business-modal-open > .tb-valentina-widget,
body.tbb-business-modal-open > [class*="valentina"][style*="fixed"],
body.tbb-business-modal-open > [id*="valentina"][style*="fixed"] {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body > .tbb-detail-drawer,
body > .tbb-drawer-backdrop {
    z-index: 2147483500 !important;
}

@media (max-width: 767px) {
    body > .tbb-modal-backdrop {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    body > .tbb-modal-backdrop > .tbb-modal {
        width: 100vw !important;
        max-width: none !important;
        height: min(92dvh, 920px) !important;
        min-height: 0 !important;
        max-height: 92dvh !important;
        margin: 0 !important;
        padding: 22px 17px 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        border-left: 0 !important;
        border-radius: 24px 24px 0 0 !important;
    }

    body > .tbb-modal-backdrop > .tbb-modal > .tbb-modal-close {
        top: 0 !important;
        margin: -6px -2px 4px 10px !important;
    }

    body > .tbb-modal-backdrop .tbb-form-actions {
        bottom: 0;
        margin: 22px -17px 0 !important;
        padding: 14px 17px calc(14px + env(safe-area-inset-bottom)) !important;
    }
}

/* =====================================================================
   0.8.0 · PROYECTO DE EJEMPLO GUIADO
   ===================================================================== */
.tbb-demo-guide[hidden]{display:none!important}
.tbb-demo-guide{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:22px;
  margin:0 0 36px;
  padding:24px 26px;
  border:1px solid rgba(75,48,37,.18);
  border-radius:24px;
  background:linear-gradient(115deg,#efe1d6 0%,#fffaf6 70%);
  box-shadow:0 16px 42px rgba(55,35,26,.09);
}
.tbb-demo-guide-icon{
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#4b3025;
  color:#fff;
}
.tbb-demo-guide-icon .dashicons{width:26px;height:26px;font-size:26px}
.tbb-demo-guide-copy>span{
  display:block;
  margin-bottom:6px;
  color:#8a6a58;
  font:700 9px/1.3 Arial,sans-serif;
  letter-spacing:.17em;
}
.tbb-demo-guide-copy h3{
  margin:0 0 7px!important;
  color:#4b3025!important;
  font:400 30px/1.05 Georgia,"Times New Roman",serif!important;
}
.tbb-demo-guide-copy p{
  max-width:760px;
  margin:0;
  color:#75675f;
  font-size:13px;
  line-height:1.55;
}
.tbb-demo-guide-actions{
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:9px;
}
.tbb-demo-delete{
  padding:4px 6px;
  border:0;
  background:transparent;
  color:#765d50;
  font:700 10px/1.2 Arial,sans-serif;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
.tbb-demo-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:20px;
  margin-left:6px;
  padding:3px 7px;
  border:1px solid rgba(75,48,37,.18);
  border-radius:999px;
  background:#ead8ca;
  color:#5c3d2f;
  font:700 8px/1 Arial,sans-serif;
  letter-spacing:.10em;
  vertical-align:middle;
}
.is-demo-row{background:rgba(241,227,216,.42)!important}
.tbb-kanban-card.is-demo-card{
  border-style:dashed!important;
  border-color:rgba(75,48,37,.28)!important;
  background:linear-gradient(145deg,#fffaf6,#f2e4da)!important;
}
.tbb-calendar-event.is-demo-event{
  border-style:dashed!important;
  background:#ead8ca!important;
  color:#4b3025!important;
}
.tbb-demo-metric-note{
  display:block;
  margin-top:10px;
  color:#8a6a58;
  font:600 10px/1.4 Arial,sans-serif;
}
.tbb-demo-detail{
  margin:18px 22px 0;
  padding:17px 18px;
  border:1px solid rgba(75,48,37,.16);
  border-radius:16px;
  background:linear-gradient(120deg,#ead9cc,#fffaf6);
}
.tbb-demo-detail strong{
  display:block;
  color:#4b3025;
  font:400 21px/1.15 Georgia,"Times New Roman",serif;
}
.tbb-demo-detail p{
  margin:7px 0 12px;
  color:#75675f;
  font-size:12px;
  line-height:1.5;
}
.tbb-demo-detail button{
  padding:0;
  border:0;
  background:transparent;
  color:#6b4c3d;
  font:700 10px/1.2 Arial,sans-serif;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
.tbb-demo-finance-note{
  margin:0 22px 18px;
  padding:10px 13px;
  border-radius:12px;
  background:#f6eee8;
  color:#806b60;
  font:600 10px/1.45 Arial,sans-serif;
}
@media(max-width:900px){
  .tbb-demo-guide{grid-template-columns:auto minmax(0,1fr)}
  .tbb-demo-guide-actions{grid-column:1/-1;align-items:stretch;flex-direction:row}
  .tbb-demo-guide-actions .tbb-primary{flex:1}
}
@media(max-width:640px){
  .tbb-demo-guide{grid-template-columns:1fr;padding:21px 18px;text-align:left}
  .tbb-demo-guide-icon{width:52px;height:52px}
  .tbb-demo-guide-copy h3{font-size:27px!important}
  .tbb-demo-guide-actions{grid-column:auto;display:grid;grid-template-columns:1fr}
  .tbb-demo-guide-actions .tbb-primary{width:100%}
  .tbb-demo-badge{margin-left:4px}
  .tbb-demo-detail{margin:14px 14px 0}
  .tbb-demo-finance-note{margin:0 14px 14px}
}
.tbb-finance-demo-note{
  grid-column:1/-1;
  margin:2px 0 0;
  padding:10px 13px;
  border-radius:12px;
  background:#f3e8df;
  color:#806b60;
  font:600 10px/1.45 Arial,sans-serif;
}


/* =====================================================================
   0.8.1 · FIX FICHA DE PROYECTO: CAPAS, FOCO Y BLOQUEO DE SCROLL
   ===================================================================== */
html.tbb-business-drawer-open,
body.tbb-business-drawer-open {
    overflow: hidden !important;
}

/* La capa oscura siempre debe quedar detrás de la ficha. */
body > .tbb-drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483600 !important;
    display: block;
    background: rgba(47, 33, 27, .38) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

body > .tbb-drawer-backdrop[hidden] {
    display: none !important;
}

/* La ficha queda por encima, nítida y operativa. */
body > .tbb-detail-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 2147483646 !important;
    width: min(520px, 100vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    isolation: isolate !important;
    opacity: 1 !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #fffdfa !important;
    pointer-events: auto !important;
    box-shadow: -24px 0 70px rgba(47, 33, 27, .24) !important;
}

body > .tbb-detail-drawer[hidden] {
    display: none !important;
}

body > .tbb-detail-drawer .tbb-drawer-close {
    position: sticky !important;
    top: 0 !important;
    z-index: 30 !important;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
    box-shadow: 0 8px 24px rgba(47, 33, 27, .12) !important;
}

body.tbb-business-drawer-open > .tbvpf-widget,
body.tbb-business-drawer-open > .tb-valentina-concierge,
body.tbb-business-drawer-open > .tb-valentina-widget,
body.tbb-business-drawer-open > [class*="valentina"][style*="fixed"],
body.tbb-business-drawer-open > [id*="valentina"][style*="fixed"] {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 767px) {
    body > .tbb-detail-drawer {
        width: 100vw !important;
        padding: 18px 17px calc(90px + env(safe-area-inset-bottom)) !important;
        border-radius: 0 !important;
    }
}


/* =====================================================================
   0.8.3 · CORREO UNIVERSAL Y LOCALIZACIÓN DEL EVENTO
   ===================================================================== */
.tbb-email-panel{
  margin:-8px 0 18px;
  padding:16px;
  border:1px solid var(--tbb-line-soft);
  border-radius:18px;
  background:linear-gradient(145deg,#fffdfa,#f7eee7);
  box-shadow:0 14px 35px rgba(47,33,27,.08);
}
.tbb-email-panel[hidden]{display:none!important}
.tbb-email-panel>div:first-child strong,.tbb-email-panel>div:first-child small{display:block}
.tbb-email-panel>div:first-child strong{font:400 18px/1.2 Georgia,serif;color:var(--tbb-coffee)}
.tbb-email-panel>div:first-child small{margin-top:4px;color:var(--tbb-muted);font-size:11px}
.tbb-email-provider-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}
.tbb-email-provider-grid button{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  padding:0 12px;
  border:1px solid var(--tbb-line-soft);
  border-radius:13px;
  background:#fff;
  color:var(--tbb-coffee);
  font:600 11px/1.2 Arial,sans-serif;
  cursor:pointer;
}
.tbb-email-provider-grid button:hover{border-color:var(--tbb-mocha);transform:translateY(-1px)}
.tbb-email-panel>p{margin:10px 0 0;color:var(--tbb-muted);font-size:10px;line-height:1.45}

.tbb-location-card{
  margin-top:16px;
  overflow:hidden;
  border:1px solid var(--tbb-line-soft);
  border-radius:20px;
  background:#f7efe9;
}
.tbb-location-copy{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  padding:15px;
}
.tbb-location-copy>.dashicons{
  width:38px;height:38px;display:grid;place-items:center;
  border-radius:50%;background:var(--tbb-coffee);color:#fff;
}
.tbb-location-copy small,.tbb-location-copy strong,.tbb-location-copy p{display:block;margin:0}
.tbb-location-copy small{color:var(--tbb-muted);font-size:8px;letter-spacing:.12em}
.tbb-location-copy strong{margin-top:4px;color:var(--tbb-coffee);font:400 17px/1.2 Georgia,serif}
.tbb-location-copy p{margin-top:4px;color:var(--tbb-muted);font-size:10px;line-height:1.4}
.tbb-location-copy a{
  padding:10px 12px;border:1px solid var(--tbb-line-soft);border-radius:999px;
  background:#fff;color:var(--tbb-coffee);font:700 9px/1 Arial,sans-serif;
  text-decoration:none;white-space:nowrap;
}
.tbb-map-frame{height:210px;background:#e9dfd7}
.tbb-map-frame iframe{display:block;width:100%;height:100%;border:0}

@media(max-width:560px){
  .tbb-email-provider-grid{grid-template-columns:1fr}
  .tbb-location-copy{grid-template-columns:38px minmax(0,1fr)}
  .tbb-location-copy a{grid-column:1/-1;text-align:center}
  .tbb-map-frame{height:190px}
}


/* =========================================================
   0.8.4 · LENGUAJE MÁS CLARO Y RESUMEN ECONÓMICO VISUAL
   ========================================================= */
.tbb-finance-overview{
    display:grid;
    gap:16px;
    margin-bottom:18px;
}
.tbb-finance-overview .tbb-finance-metrics{
    margin-bottom:0;
}
.tbb-finance-chart-card{
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);
    gap:28px;
    align-items:center;
    padding:28px 30px;
    border:1px solid var(--tbb-line-soft, #eadfd6);
    border-radius:24px;
    background:
        radial-gradient(circle at 100% 0, rgba(198,169,143,.18), transparent 38%),
        #fff;
    box-shadow:0 12px 34px rgba(63,42,34,.055);
}
.tbb-finance-chart-copy h3{
    margin:7px 0 8px;
    color:var(--tbb-coffee, #3f2a22);
    font-family:Georgia,"Times New Roman",serif;
    font-size:32px;
    font-weight:400;
    line-height:1.08;
}
.tbb-finance-chart-copy>p{
    max-width:520px;
    margin:0;
    color:var(--tbb-muted);
    font-size:14px;
    line-height:1.65;
}
.tbb-finance-category-help{
    display:block;
    max-width:530px;
    margin-top:16px;
    color:#8b7569;
    font-size:11px;
    line-height:1.5;
}
.tbb-finance-alert{
    display:flex;
    align-items:center;
    gap:8px;
    width:max-content;
    max-width:100%;
    margin-top:15px;
    padding:10px 13px;
    border-radius:12px;
    color:#81423e;
    background:#f8ebe8;
    font-size:12px;
}
.tbb-finance-chart-visual{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:28px;
    min-width:0;
}
.tbb-finance-donut{
    position:relative;
    width:206px;
    aspect-ratio:1;
    flex:0 0 206px;
    display:grid;
    place-items:center;
    border-radius:50%;
    box-shadow:inset 0 0 0 1px rgba(63,42,34,.04), 0 16px 32px rgba(63,42,34,.08);
}
.tbb-finance-donut::after{
    content:"";
    position:absolute;
    inset:30px;
    border-radius:50%;
    background:#fffdf9;
    box-shadow:inset 0 0 0 1px rgba(63,42,34,.06);
}
.tbb-finance-donut>div{
    position:relative;
    z-index:1;
    max-width:128px;
    text-align:center;
}
.tbb-finance-donut strong,
.tbb-finance-donut span{
    display:block;
}
.tbb-finance-donut strong{
    color:var(--tbb-coffee-900);
    font-family:Georgia,"Times New Roman",serif;
    font-size:24px;
    font-weight:400;
    line-height:1.05;
}
.tbb-finance-donut span{
    margin-top:6px;
    color:var(--tbb-muted);
    font-size:10px;
    letter-spacing:.08em;
    line-height:1.25;
    text-transform:uppercase;
}
.tbb-finance-donut.is-empty strong{
    color:#a9988d;
}
.tbb-finance-legend{
    min-width:185px;
    margin:0;
    padding:0;
    display:grid;
    gap:15px;
    list-style:none;
}
.tbb-finance-legend li{
    display:grid;
    grid-template-columns:12px minmax(0,1fr);
    gap:10px;
    align-items:start;
}
.tbb-finance-legend li>span{
    width:10px;
    height:10px;
    margin-top:4px;
    border-radius:50%;
    background:#4f6652;
}
.tbb-finance-legend li.is-expense>span{background:#9a735f}
.tbb-finance-legend li.is-investment>span{background:#c5a98f}
.tbb-finance-legend strong,
.tbb-finance-legend small{
    display:block;
}
.tbb-finance-legend strong{
    color:var(--tbb-coffee-900);
    font-size:13px;
}
.tbb-finance-legend small{
    margin-top:3px;
    color:var(--tbb-muted);
    font-size:11px;
}
@media(max-width:1050px){
    .tbb-finance-chart-card{grid-template-columns:1fr}
    .tbb-finance-chart-visual{justify-content:flex-start}
}
@media(max-width:620px){
    .tbb-finance-chart-card{padding:22px 18px}
    .tbb-finance-chart-copy h3{font-size:28px}
    .tbb-finance-chart-visual{align-items:center;flex-direction:column}
    .tbb-finance-donut{width:190px;flex-basis:190px}
    .tbb-finance-legend{width:100%;grid-template-columns:1fr}
}

/* =====================================================================
   TEAM BRIDE BUSINESS 1.0 · NÚCLEO OPERATIVO UNIFICADO
   ===================================================================== */
.tbb-mobile-project-list,
.tbb-mobile-quote-list,
.tbb-mobile-money-list{display:none}

.tbb-card-attention{border-color:rgba(154,74,69,.2);background:linear-gradient(145deg,#fff,#fff9f7)}
.tbb-attention-item{position:relative;border-left:3px solid var(--tbb-moka-500)}
.tbb-attention-item.is-high{border-left-color:var(--tbb-danger)}
.tbb-attention-item.is-medium{border-left-color:var(--tbb-warning)}
.tbb-attention-item>.dashicons{margin-left:auto;color:var(--tbb-moka-500)}

.tbb-project-progress{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:0;
    margin:4px 0 20px;
    padding:16px 12px;
    border:1px solid var(--tbb-line-soft,#eadfd6);
    border-radius:18px;
    background:#fffaf6;
}
.tbb-project-progress>div{position:relative;display:grid;justify-items:center;gap:6px;text-align:center}
.tbb-project-progress>div:not(:last-child)::after{content:"";position:absolute;top:14px;left:calc(50% + 17px);width:calc(100% - 34px);height:1px;background:#dccfc5}
.tbb-project-progress>div.is-complete:not(:last-child)::after{background:var(--tbb-success)}
.tbb-project-progress span{position:relative;z-index:1;width:29px;height:29px;display:grid;place-items:center;border:1px solid #d8c9be;border-radius:50%;background:#fff;color:#9b887b;font:700 11px Arial,sans-serif}
.tbb-project-progress .is-complete span{border-color:var(--tbb-success);background:var(--tbb-success);color:#fff}
.tbb-project-progress .is-current span{border-color:var(--tbb-coffee-800);background:var(--tbb-coffee-800);color:#fff;box-shadow:0 0 0 5px rgba(82,56,46,.1)}
.tbb-project-progress small{color:var(--tbb-muted);font:700 8px/1.2 Arial,sans-serif;text-transform:uppercase;letter-spacing:.06em}
.tbb-project-progress .is-current small,.tbb-project-progress .is-complete small{color:var(--tbb-coffee-900)}

.tbb-project-command{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    gap:10px;
    align-items:center;
    margin:16px 0;
    padding:17px;
    border-radius:19px;
    color:#fff;
    background:linear-gradient(135deg,var(--tbb-coffee-800),var(--tbb-coffee-950));
}
.tbb-project-command small,.tbb-project-command h3,.tbb-project-command p{display:block;margin:0}
.tbb-project-command small{color:rgba(255,255,255,.62);font-size:8px;letter-spacing:.14em}
.tbb-project-command h3{margin-top:5px;font:400 19px/1.15 Georgia,serif}
.tbb-project-command p{margin-top:5px;color:rgba(255,255,255,.68);font-size:10px}
.tbb-project-command>button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid rgba(255,255,255,.22);border-radius:999px;color:#fff;background:rgba(255,255,255,.1);font:700 9px Arial,sans-serif;cursor:pointer}
.tbb-project-command>button:hover{background:rgba(255,255,255,.18)}
.tbb-project-command .tbb-project-primary{color:var(--tbb-coffee-900);background:#fff}

.tbb-project-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 18px}
.tbb-project-quick-actions button{min-height:56px;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px;border:1px solid var(--tbb-line-soft);border-radius:14px;color:var(--tbb-coffee-900);background:#fff;font:700 9px/1.2 Arial,sans-serif;cursor:pointer}
.tbb-project-quick-actions button:hover{border-color:var(--tbb-moka-500);transform:translateY(-1px)}

.tbb-related button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border:0;border-bottom:1px solid var(--tbb-line-soft);color:var(--tbb-ink);background:transparent;text-align:left;cursor:pointer}
.tbb-related button:last-child{border-bottom:0}
.tbb-related button i{flex:0 0 auto;color:var(--tbb-moka-500);font-style:normal}

.tbb-row-action.is-confirm{color:#fff!important;background:var(--tbb-success)!important}

.tbb-import-box{display:grid;gap:16px}
.tbb-import-drop{min-height:170px;display:grid;place-items:center;align-content:center;gap:8px;padding:24px;border:1px dashed var(--tbb-moka-500);border-radius:20px;background:#fffaf6;color:var(--tbb-coffee-900);text-align:center;cursor:pointer}
.tbb-import-drop>.dashicons{width:38px;height:38px;font-size:38px;color:var(--tbb-moka-500)}
.tbb-import-drop strong{font:400 22px Georgia,serif}
.tbb-import-drop small{color:var(--tbb-muted);font-size:11px}
.tbb-import-drop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.tbb-import-preview{padding:15px;border:1px solid var(--tbb-line-soft);border-radius:15px;background:#fff}
.tbb-import-preview strong,.tbb-import-preview span{display:block}
.tbb-import-preview strong{color:var(--tbb-coffee-900)}
.tbb-import-preview span{margin-top:5px;color:var(--tbb-muted);font-size:11px;line-height:1.45}
.tbb-import-sample{margin-top:10px;padding-top:8px;border-top:1px solid var(--tbb-line-soft)}
.tbb-import-sample p{margin:5px 0;font-size:11px}

.tbb-workflow-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tbb-workflow-grid button{position:relative;min-height:112px;display:grid;justify-items:start;align-content:center;gap:6px;padding:18px;border:1px solid var(--tbb-line-soft);border-radius:18px;color:var(--tbb-coffee-900);background:#fff;text-align:left;cursor:pointer}
.tbb-workflow-grid button:hover,.tbb-workflow-grid button.is-recommended{border-color:var(--tbb-moka-500);background:#fffaf6;transform:translateY(-2px);box-shadow:var(--tbb-soft-shadow)}
.tbb-workflow-grid button.is-recommended::after{content:"RECOMENDADO";position:absolute;top:9px;right:9px;padding:5px 7px;border-radius:999px;color:#fff;background:var(--tbb-coffee-800);font:700 7px Arial,sans-serif;letter-spacing:.08em}
.tbb-workflow-grid .dashicons{color:var(--tbb-moka-500)}
.tbb-workflow-grid strong{font:400 17px Georgia,serif}
.tbb-workflow-grid small{color:var(--tbb-muted);font-size:10px}

.tbb-confirm-summary{display:grid;gap:5px;padding:18px;border-radius:17px;background:#f5ece5}
.tbb-confirm-summary small{color:var(--tbb-muted);font-size:8px;letter-spacing:.14em}
.tbb-confirm-summary strong{color:var(--tbb-coffee-900);font:400 23px Georgia,serif}
.tbb-confirm-summary span{color:var(--tbb-muted);font-size:11px}
.tbb-draft-restored{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;color:var(--tbb-success);background:#eef4ef;font-size:11px}

@media (max-width: 767px){
    html:has(.tbb-app),body:has(.tbb-app){overflow-x:hidden}
    .tbb-stage{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);margin-bottom:0;background:#f7f2ed}
    .tbb-provider-hub{padding:28px 16px 24px!important;border-radius:0!important}
    .tbb-provider-welcome h1{font-size:38px!important}
    .tbb-provider-cards{display:flex!important;gap:10px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;padding:0 2px 10px;scrollbar-width:none}
    .tbb-provider-cards::-webkit-scrollbar{display:none}
    .tbb-provider-card{min-width:82vw!important;min-height:185px!important;scroll-snap-align:center}
    .tbb-provider-membership{align-items:flex-start!important;flex-direction:column!important}
    .tbb-provider-membership-actions{width:100%;display:grid!important;grid-template-columns:1fr 1fr}
    .tbb-provider-membership-actions>*{justify-content:center!important}

    .tbb-business-editorial-hero{min-height:300px!important;margin:0!important;border-radius:0!important}
    .tbb-business-editorial-copy{padding:30px 20px 42px!important}
    .tbb-business-editorial-copy h2{max-width:360px!important;font-size:42px!important;line-height:.98!important}
    .tbb-business-editorial-copy p{max-width:340px!important;font-size:13px!important}

    .tbb-app{display:block!important;min-height:100dvh!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#f8f4ef!important}
    .tbb-sidebar,.tbb-editorial-top-nav{display:none!important}
    .tbb-main{width:100%!important;min-width:0!important}
    .tbb-topbar{position:sticky!important;top:0!important;z-index:120!important;min-height:68px!important;padding:max(10px,env(safe-area-inset-top)) 14px 10px!important;border-radius:0!important;background:rgba(255,253,249,.94)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
    .tbb-mobile-menu{display:none!important}
    .tbb-topbar-copy .tbb-eyebrow{display:none}
    .tbb-topbar-copy h1{font-size:26px!important}
    .tbb-profile{max-width:45px!important;padding:0!important;border:0!important;background:transparent!important}
    .tbb-profile>div:last-child{display:none!important}
    .tbb-avatar{width:42px!important;height:42px!important}
    .tbb-content{padding:12px 13px calc(102px + env(safe-area-inset-bottom))!important}

    .tbb-view[data-view="home"].is-active{display:flex!important;flex-direction:column}
    .tbb-view[data-view="home"] .tbb-demo-guide{order:0}
    .tbb-view[data-view="home"] .tbb-home-operational-title{order:1;margin-top:8px}
    .tbb-view[data-view="home"] .tbb-today-hero{order:2}
    .tbb-view[data-view="home"] .tbb-metrics{order:3}
    .tbb-view[data-view="home"] .tbb-dashboard-grid{order:4}
    .tbb-view[data-view="home"] .tbb-experience-grid{order:5}
    .tbb-view[data-view="home"] .tbb-module-editorial-intro{order:6;margin-top:28px;padding:0 4px;text-align:left}
    .tbb-view[data-view="home"] .tbb-editorial-module-grid{order:7;display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;gap:10px;padding-bottom:8px;scrollbar-width:none}
    .tbb-view[data-view="home"] .tbb-editorial-module-grid::-webkit-scrollbar{display:none}
    .tbb-editorial-module-card{min-width:80vw!important;min-height:220px!important;scroll-snap-align:center}
    .tbb-today-hero{border-radius:22px!important}
    .tbb-today-hero h2{font-size:36px!important}
    .tbb-metrics{grid-template-columns:1fr 1fr!important;gap:8px!important}
    .tbb-metric{min-height:102px!important;padding:15px!important;align-items:flex-start!important;flex-direction:column!important}
    .tbb-metric strong{font-size:22px!important}
    .tbb-dashboard-grid{grid-template-columns:1fr!important;gap:11px!important}
    .tbb-card{border-radius:20px!important;padding:18px!important}
    .tbb-experience-grid{grid-template-columns:1fr!important}
    .tbb-next-project{min-height:300px!important}
    .tbb-onboarding-card{padding:20px!important}

    .tbb-module-photo-hero{min-height:245px!important;margin:-12px -13px 16px!important;border-radius:0 0 24px 24px!important}
    .tbb-module-photo-copy{padding:28px 20px!important}
    .tbb-module-photo-copy h2{font-size:38px!important}
    .tbb-module-photo-copy p{font-size:12px!important}
    .tbb-module-photo-action{width:100%!important;justify-content:center!important}

    .tbb-desktop-table{display:none!important}
    .tbb-mobile-project-list,.tbb-mobile-quote-list,.tbb-mobile-money-list{display:grid!important;gap:11px}
    .tbb-table-card{border:0!important;background:transparent!important;box-shadow:none!important}
    .tbb-mobile-project-card,.tbb-mobile-quote-card,.tbb-mobile-money-card{overflow:hidden;border:1px solid var(--tbb-line-soft);border-radius:20px;background:#fff;box-shadow:0 9px 24px rgba(63,42,34,.055)}
    .tbb-mobile-project-card.is-demo-card,.tbb-mobile-quote-card.is-demo-card,.tbb-mobile-money-card.is-demo-card{border-style:dashed;background:#fffaf5}
    .tbb-mobile-project-main{width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:17px;border:0;background:transparent;text-align:left}
    .tbb-mobile-project-main small{display:block;color:var(--tbb-muted);font-size:8px;letter-spacing:.09em;text-transform:uppercase}
    .tbb-mobile-project-main h3{margin:6px 0 4px;color:var(--tbb-coffee-900);font:400 24px/1.05 Georgia,serif}
    .tbb-mobile-project-main p{margin:0;color:var(--tbb-muted);font-size:11px}
    .tbb-mobile-project-meta{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--tbb-line-soft);border-bottom:1px solid var(--tbb-line-soft)}
    .tbb-mobile-project-meta span{padding:12px 16px;color:var(--tbb-coffee-900);font-size:12px}
    .tbb-mobile-project-meta span+span{border-left:1px solid var(--tbb-line-soft)}
    .tbb-mobile-project-meta b{display:block;margin-bottom:4px;color:var(--tbb-muted);font-size:8px;text-transform:uppercase;letter-spacing:.08em}
    .tbb-mobile-next-action{width:calc(100% - 24px);display:flex;align-items:center;gap:10px;margin:12px;padding:11px;border:0;border-radius:13px;color:var(--tbb-coffee-900);background:#f5ece5;text-align:left}
    .tbb-mobile-next-action b,.tbb-mobile-next-action small{display:block}
    .tbb-mobile-next-action b{font-size:11px}.tbb-mobile-next-action small{margin-top:3px;color:var(--tbb-muted);font-size:9px}
    .tbb-mobile-project-actions,.tbb-mobile-money-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}
    .tbb-mobile-project-actions button,.tbb-mobile-money-actions button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--tbb-line-soft);border-radius:12px;color:var(--tbb-coffee-900);background:#fff;font:700 9px Arial,sans-serif}
    .tbb-mobile-project-actions button:last-child{color:#fff;background:var(--tbb-coffee-800)}

    .tbb-mobile-quote-card{padding:16px}
    .tbb-mobile-quote-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
    .tbb-mobile-quote-card small{color:var(--tbb-muted);font-size:8px}.tbb-mobile-quote-card h3{margin:5px 0;color:var(--tbb-coffee-900);font:400 21px Georgia,serif}.tbb-mobile-quote-card p{margin:0;color:var(--tbb-muted);font-size:10px}
    .tbb-mobile-quote-total{display:flex;align-items:end;justify-content:space-between;margin-top:15px;padding-top:14px;border-top:1px solid var(--tbb-line-soft)}
    .tbb-mobile-quote-total span{color:var(--tbb-muted);font-size:9px;text-transform:uppercase}.tbb-mobile-quote-total strong{color:var(--tbb-coffee-900);font:400 27px Georgia,serif}
    .tbb-mobile-quote-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:12px}

    .tbb-mobile-money-main{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;padding:16px}
    .tbb-money-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--tbb-success)}.tbb-money-icon.is-expense{background:var(--tbb-danger)}
    .tbb-mobile-money-main small{color:var(--tbb-muted);font-size:8px}.tbb-mobile-money-main h3{margin:4px 0;color:var(--tbb-coffee-900);font-size:13px}.tbb-mobile-money-main p{margin:0;color:var(--tbb-muted);font-size:9px}.tbb-mobile-money-main>strong{font:400 18px Georgia,serif;white-space:nowrap}

    .tbb-kanban{scroll-snap-type:x mandatory;padding-bottom:10px!important}
    .tbb-kanban-column{flex-basis:86vw!important;scroll-snap-align:center}
    .tbb-calendar-layout{display:flex!important;flex-direction:column!important}
    .tbb-calendar-aside{order:-1!important}
    .tbb-calendar-days,.tbb-calendar-weekdays{min-width:680px!important}

    .tbb-project-progress{margin:4px -3px 16px;padding:13px 4px}
    .tbb-project-progress small{font-size:6.5px}
    .tbb-project-progress span{width:26px;height:26px}
    .tbb-project-progress>div:not(:last-child)::after{top:13px;left:calc(50% + 14px);width:calc(100% - 28px)}
    .tbb-project-command{grid-template-columns:1fr;padding:16px}
    .tbb-project-command>button{width:100%}
    .tbb-project-quick-actions{grid-template-columns:1fr 1fr}
    .tbb-workflow-grid{grid-template-columns:1fr}

    body>.tbb-modal-backdrop{padding:0!important}
    body>.tbb-modal-backdrop .tbb-modal{display:flex!important;flex-direction:column!important;width:100vw!important;min-height:100dvh!important;max-height:100dvh!important;padding:64px 16px calc(98px + env(safe-area-inset-bottom))!important;border-radius:0!important}
    body>.tbb-modal-backdrop #tbb-modal-content{width:100%;max-width:none}
    body>.tbb-modal-backdrop .tbb-form-actions{position:sticky!important;bottom:calc(-82px - env(safe-area-inset-bottom));z-index:20;margin:18px -16px calc(-82px - env(safe-area-inset-bottom))!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important;border-top:1px solid var(--tbb-line-soft);background:rgba(255,253,249,.97);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}

    .tbb-mobile-nav{height:74px!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important;border-radius:22px 22px 0 0!important;background:rgba(47,33,27,.97)!important;box-shadow:0 -12px 35px rgba(47,33,27,.22)!important}
    .tbb-mobile-nav-item{color:rgba(255,255,255,.62)!important}.tbb-mobile-nav-item.is-active{color:#fff!important}.tbb-mobile-nav-item .dashicons{color:inherit!important}
    .tbb-mobile-create{width:52px!important;height:52px!important;margin-top:-25px!important;border:5px solid #f8f4ef!important;background:#fff!important;color:var(--tbb-coffee-900)!important;box-shadow:0 10px 24px rgba(47,33,27,.24)!important}
}

/* 1.0.0 · Cierre de estabilidad móvil */
@media (max-width: 767px) {
    body > .tbb-modal-backdrop > .tbb-modal {
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
        padding: 64px 16px 0 !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
    }

    body > .tbb-modal-backdrop .tbb-form-actions {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 40 !important;
        margin: 22px -16px 0 !important;
        padding: 13px 16px calc(13px + env(safe-area-inset-bottom)) !important;
        border-top: 1px solid var(--tbb-line-soft) !important;
        background: rgba(255,253,249,.98) !important;
        box-shadow: 0 -12px 30px rgba(47,33,27,.08) !important;
    }

    body > .tbb-modal-backdrop .tbb-form-actions .tbb-primary,
    body > .tbb-modal-backdrop .tbb-form-actions .tbb-secondary {
        min-height: 50px !important;
    }

    body > .tbb-detail-drawer {
        padding-top: max(18px, env(safe-area-inset-top)) !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .tbb-toolbar-wrap {
        gap: 8px !important;
    }

    .tbb-toolbar-wrap .tbb-primary,
    .tbb-toolbar-wrap .tbb-secondary,
    .tbb-toolbar-wrap select,
    .tbb-toolbar-wrap input {
        min-height: 46px !important;
    }
}

/* =========================================================
 * ACCESO EDITORIAL DE PROVEEDORES · 1.0.3
 * ======================================================= */
.tbb-access,
.tbb-access * {
    box-sizing: border-box;
}

.tbb-access {
    width: min(1320px, calc(100% - 32px));
    margin: 24px auto 64px;
    overflow: hidden;
    border: 1px solid rgba(82, 56, 46, .13);
    border-radius: 34px;
    color: var(--tbb-ink);
    background: #f6eee7;
    box-shadow: 0 28px 80px rgba(63, 42, 34, .13);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}

.tbb-access-shell {
    min-height: 670px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    align-items: stretch;
}

.tbb-access-copy {
    min-width: 0;
    padding: clamp(52px, 6vw, 92px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    background:
        radial-gradient(circle at 0 0, rgba(198, 171, 144, .25), transparent 36%),
        linear-gradient(145deg, #f4e9df 0%, #fffdfa 58%, #f7f0e9 100%);
}

.tbb-access-kicker {
    display: block;
    margin-bottom: 20px;
    color: #79685d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.tbb-access h1 {
    max-width: 620px;
    margin: 0 !important;
    color: #30221c !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(48px, 5.6vw, 78px) !important;
    font-weight: 500 !important;
    line-height: .98 !important;
    letter-spacing: -.052em;
}

.tbb-access-intro {
    max-width: 610px;
    margin: 26px 0 0 !important;
    color: #74645b !important;
    font-size: clamp(16px, 1.6vw, 19px) !important;
    line-height: 1.66 !important;
}

.tbb-access-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 235px));
    justify-content: start;
    gap: 14px;
    margin-top: 34px;
}

.tbb-access-primary,
.tbb-access-secondary,
.tbb-access-submit,
.tbb-access-back {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border-radius: 999px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.tbb-access-primary,
.tbb-access-submit {
    border: 1px solid #5b3b2f;
    color: #fff !important;
    background: #5b3b2f;
    box-shadow: 0 12px 28px rgba(76, 47, 36, .18);
}

.tbb-access-secondary {
    border: 1px solid #e0d4ca;
    color: #3d2b23 !important;
    background: rgba(255, 253, 249, .78);
}

.tbb-access-primary:hover,
.tbb-access-secondary:hover,
.tbb-access-submit:hover,
.tbb-access-back:hover {
    transform: translateY(-2px);
}

.tbb-access-form-wrap {
    width: 100%;
    max-width: 610px;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
}

.tbb-access-form-wrap.is-open {
    opacity: 1;
    transform: translateY(0);
}

.tbb-access-form-wrap[hidden] {
    display: none !important;
}

.tbb-access-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 36px 0 22px;
    color: #8b796e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tbb-access-divider::before,
.tbb-access-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(82, 56, 46, .15);
}

.tbb-access-form {
    padding: 28px;
    border: 1px solid rgba(82, 56, 46, .13);
    border-radius: 26px;
    background: rgba(255, 253, 250, .94);
    box-shadow: 0 16px 45px rgba(63, 42, 34, .08);
    text-align: left;
}

.tbb-access-error {
    margin: 0 0 14px;
    padding: 13px 16px;
    border: 1px solid rgba(154, 74, 69, .22);
    border-radius: 15px;
    color: #7c3935;
    background: rgba(154, 74, 69, .07);
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

.tbb-access-field {
    margin: 0 0 18px !important;
}

.tbb-access-field label {
    display: block;
    margin: 0 0 8px;
    color: #3a2a23;
    font-size: 14px;
    font-weight: 700;
}

.tbb-access-field input[type="text"],
.tbb-access-field input[type="password"] {
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #d9ccc2;
    border-radius: 15px;
    outline: none;
    color: #30251f;
    background: #fff;
    font: inherit;
    font-size: 16px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.tbb-access-field input:focus {
    border-color: #7a5848;
    box-shadow: 0 0 0 4px rgba(109, 79, 64, .10);
}

.tbb-access-password {
    position: relative;
    display: block;
}

.tbb-access-password input {
    padding-right: 76px !important;
}

.tbb-access-password button {
    position: absolute;
    top: 50%;
    right: 10px;
    min-width: 54px;
    padding: 7px 10px;
    border: 0;
    border-radius: 999px;
    color: #63483b;
    background: #f2e9e2;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transform: translateY(-50%);
}

.tbb-access-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -2px 0 20px;
    color: #74645b;
    font-size: 13px;
}

.tbb-access-form-row a {
    color: #5b3b2f !important;
    font-weight: 700;
    text-decoration: none !important;
}

.tbb-access-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.tbb-access-remember input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #5b3b2f;
}

.tbb-access-submit {
    width: 100%;
    border: 0;
}

.tbb-access-back {
    min-height: 42px;
    margin-top: 10px;
    padding: 0 18px;
    border: 0;
    color: #74645b;
    background: transparent;
    font-size: 13px;
}

.tbb-access-note {
    max-width: 600px;
    margin: 24px 0 0 !important;
    color: #8b796e !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.tbb-access-visual {
    position: relative;
    min-width: 0;
    min-height: 670px;
    overflow: hidden;
    background: #6c4c3d;
}

.tbb-access-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 54% center;
    transform: scale(1.015);
}

.tbb-access-visual-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(31, 18, 12, .05) 0%, rgba(31, 18, 12, .16) 48%, rgba(31, 18, 12, .72) 100%),
        linear-gradient(90deg, rgba(53, 34, 25, .16), transparent 38%);
}

.tbb-access-visual-copy {
    position: absolute;
    left: clamp(28px, 4vw, 58px);
    right: clamp(28px, 4vw, 58px);
    bottom: clamp(32px, 5vw, 64px);
    z-index: 2;
    color: #fff;
}

.tbb-access-visual-copy span {
    display: block;
    margin-bottom: 13px;
    color: rgba(255,255,255,.76);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .24em;
}

.tbb-access-visual-copy strong {
    display: block;
    max-width: 520px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(35px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -.035em;
    text-shadow: 0 4px 24px rgba(0,0,0,.30);
}

@media (max-width: 980px) {
    .tbb-access-shell {
        grid-template-columns: 1fr;
    }

    .tbb-access-visual {
        min-height: 360px;
        order: 1;
    }

    .tbb-access-copy {
        order: 2;
        padding: clamp(42px, 8vw, 72px);
    }
}

@media (max-width: 680px) {
    .tbb-access {
        width: calc(100% - 20px);
        margin: 14px auto 42px;
        border-radius: 26px;
    }

    .tbb-access-visual {
        min-height: 270px;
    }

    .tbb-access-copy {
        padding: 38px 20px 42px;
    }

    .tbb-access h1 {
        font-size: 46px !important;
    }

    .tbb-access-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tbb-access-primary,
    .tbb-access-secondary {
        width: 100%;
    }

    .tbb-access-form {
        padding: 20px 16px;
        border-radius: 21px;
    }

    .tbb-access-form-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .tbb-access-visual-copy strong {
        font-size: 34px;
    }
}



/* =========================================================
 * ACCESO PROVEEDORES · CLARIDAD DE ALTA · 1.0.5
 * ======================================================= */
.tbb-access-intro strong {
    color: #4f372d;
    font-weight: 750;
}

.tbb-access-existing {
    max-width: 610px;
    margin-top: 19px;
    padding-top: 18px;
    border-top: 1px solid rgba(82, 56, 46, .13);
    color: #8b796e;
    font-size: 13px;
    line-height: 1.55;
}

.tbb-access-existing span {
    display: inline;
}

.tbb-access-existing a {
    display: inline;
    margin-left: 5px;
    color: #5b3b2f !important;
    font-weight: 800;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(91, 59, 47, .35);
}

.tbb-access-existing a:hover {
    border-bottom-color: #5b3b2f;
}

@media (max-width: 680px) {
    .tbb-access-existing {
        margin-top: 16px;
        padding-top: 16px;
    }

    .tbb-access-existing span,
    .tbb-access-existing a {
        display: block;
        margin-left: 0;
    }

    .tbb-access-existing a {
        width: max-content;
        margin-top: 4px;
    }
}


/* =========================================================
 * ACCESO PROVEEDORES · SELECCIÓN Y ALTA · 1.0.6
 * ======================================================= */
.tbb-access-selection {
    width: 100%;
    max-width: 610px;
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(91, 59, 47, .13);
    border-radius: 18px;
    background: rgba(255, 253, 249, .62);
}

.tbb-access-selection-kicker {
    display: block;
    margin-bottom: 7px;
    color: #8a735f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tbb-access-selection p {
    margin: 0 !important;
    color: #6f5f56 !important;
    font-size: 13.5px !important;
    line-height: 1.58 !important;
}

.tbb-access-selection p strong {
    color: #493128;
    font-weight: 800;
}

.tbb-access-info {
    width: 100%;
    max-width: 610px;
    margin: 16px 0 0 !important;
    color: #7d6c62 !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
}

.tbb-access-info strong {
    color: #563b30;
    font-weight: 800;
}

@media (max-width: 680px) {
    .tbb-access-selection {
        margin-top: 18px;
        padding: 16px;
        border-radius: 16px;
    }

    .tbb-access-info {
        margin-top: 13px !important;
    }
}


/* =========================================================
 * ACCESO PROVEEDORES · CTA "QUIERO FORMAR PARTE" · 1.0.8
 * Solo evita el salto de línea del botón.
 * ======================================================= */
.tbb-access-actions .tbb-access-secondary{
    white-space: nowrap !important;
    min-width: 286px !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    text-align: center !important;
}

@media (max-width: 760px){
    .tbb-access-actions .tbb-access-secondary{
        min-width: 0 !important;
        width: 100% !important;
        white-space: nowrap !important;
    }
}


/* =========================================================
 * ACCESO PROVEEDORES · BOTONES 50/50 SIN SOLAPARSE · 1.0.9
 * ======================================================= */
.tbb-access-actions{
    display:flex !important;
    width:100% !important;
    max-width:610px !important;
    gap:16px !important;
    align-items:stretch !important;
}

.tbb-access-actions .tbb-access-primary,
.tbb-access-actions .tbb-access-secondary{
    flex:1 1 0 !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    box-sizing:border-box !important;
    padding-left:18px !important;
    padding-right:18px !important;
    white-space:nowrap !important;
    text-align:center !important;
    justify-content:center !important;
}

@media (max-width:680px){
    .tbb-access-actions{
        flex-direction:column !important;
        gap:12px !important;
    }

    .tbb-access-actions .tbb-access-primary,
    .tbb-access-actions .tbb-access-secondary{
        width:100% !important;
        flex:0 0 auto !important;
        white-space:nowrap !important;
    }
}

/* =========================================================
 * AGENDA PROFESIONAL · CONTACTOS · 1.1.0
 * ======================================================= */
.tbb-favorites-filter{display:inline-flex!important;align-items:center;gap:9px;padding:11px 15px;border:1px solid #e6ddd7;border-radius:999px;background:#fff;color:#644d43;font-size:13px;font-weight:700;white-space:nowrap}
.tbb-favorites-filter input{accent-color:#9b735f;width:16px;height:16px;margin:0}
.tbb-addressbook-list{display:grid;gap:26px;margin-top:24px}
.tbb-address-section{display:grid;gap:13px}
.tbb-address-section-head{display:flex;align-items:center;gap:10px;padding:0 3px;color:#7f6659;font-size:11px;font-weight:800;letter-spacing:.14em}
.tbb-address-section-head strong{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#eee3dc;color:#654a3e;font-size:11px;letter-spacing:0}
.tbb-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tbb-address-card{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr);gap:14px;min-height:174px;padding:22px;border:1px solid rgba(111,82,68,.13);border-radius:22px;background:linear-gradient(145deg,#fff 0%,#fbf7f4 100%);box-shadow:0 14px 34px rgba(70,43,31,.07);overflow:hidden}
.tbb-address-card.is-couple{background:linear-gradient(145deg,#fff 0%,#f6efeb 100%)}
.tbb-address-avatar{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#6d4c3f;color:#fff;font-family:Georgia,'Times New Roman',serif;font-size:23px;box-shadow:0 8px 18px rgba(80,51,39,.18)}
.tbb-address-avatar .dashicons{width:22px;height:22px;font-size:22px}
.tbb-address-copy{min-width:0;padding-right:28px}
.tbb-address-copy small{display:block;margin-bottom:5px;color:#9a7968;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.tbb-address-copy h3{margin:0 0 4px!important;color:#3f2c25!important;font-family:Georgia,'Times New Roman',serif!important;font-size:23px!important;font-weight:400!important;line-height:1.15!important}
.tbb-address-copy p{margin:0 0 8px!important;color:#77655b!important;font-size:13px!important}
.tbb-address-copy>a{display:block;width:max-content;max-width:100%;margin:3px 0;color:#573b30!important;font-size:13px!important;text-decoration:none!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tbb-address-copy>span{display:block;margin-top:8px;color:#8a786f;font-size:12px;line-height:1.45}
.tbb-address-actions{grid-column:1/-1;display:flex;gap:8px;padding-top:12px;border-top:1px solid rgba(108,78,63,.1)}
.tbb-address-actions a,.tbb-address-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 12px;border:1px solid #e7ddd7;border-radius:999px;background:#fff;color:#5e4338!important;font:inherit;text-decoration:none!important;cursor:pointer}
.tbb-address-actions small{font-size:11px;font-weight:800}
.tbb-address-actions .dashicons{width:16px;height:16px;font-size:16px}
.tbb-address-favorite,.tbb-address-delete{position:absolute;top:15px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:#c8b6ac;cursor:pointer}
.tbb-address-favorite{right:47px}.tbb-address-delete{right:12px;color:#c3aaa0}
.tbb-address-favorite.is-active{color:#b0834c;background:#fff7e9}
.tbb-favorite-check{display:flex!important;align-items:center;gap:12px;padding:15px!important;border:1px solid #e8ddd6;border-radius:16px;background:#fbf7f4}
.tbb-favorite-check input{width:18px;height:18px;accent-color:#9b735f}.tbb-favorite-check>.dashicons{color:#b0834c}
.tbb-favorite-check>span:last-child{display:grid;gap:2px}.tbb-favorite-check small{color:#8b7569;font-weight:400}
@media(max-width:900px){.tbb-address-grid{grid-template-columns:1fr}}
@media(max-width:560px){.tbb-address-card{grid-template-columns:46px minmax(0,1fr);padding:18px;border-radius:18px}.tbb-address-avatar{width:46px;height:46px;font-size:20px}.tbb-address-copy{padding-right:22px}.tbb-address-copy h3{font-size:20px!important}.tbb-address-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.tbb-address-actions a,.tbb-address-actions button{padding:8px}.tbb-address-favorite{right:42px}.tbb-address-delete{right:8px}}
